root/branch/rev3/templates/index.tpl @ 245

Revision 245, 2.1 KB (checked in by exi, 13 years ago)

Fixed SQL Query caching.
Changed userportraits to use img/portraits.
Added JS code for IE/PNG-fix.

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
5<title>{$kb_title}</title>
6<link rel="stylesheet" type="text/css" href="{$style_url}/common.css">
7<link rel="stylesheet" type="text/css" href="{$style_url}/{$style}/style.css">
8{if $rss_feed}
9<link rel="alternate" type="application/rss+xml" title="RSS feed for watched kills" href="?a=rss" />
10{/if}
11<script language=javascript src="{$style_url}/generic.js"></script>
12<!--[if lt IE 7]>
13<script defer type="text/javascript" src="{$style_url}/generic.js"></script>
14<![endif]-->
15<style type="text/css">
16</style>
17</head>
18<body bgcolor="#222222" {$on_load} style="height: 100%">
19<div align="center" id="popup" style="display:none;
20        position:absolute;
21    top:217px; width:99%;
22        z-index:3;
23    padding: 5px;"></div>
24        <table class="main-table" height="100%" align="center" bgcolor="#111111" border="0" cellspacing="1" style="height: 100%">
25<tr style="height: 100%">
26<td valign="top" height="100%" style="height: 100%">
27<div id="header">
28{if $banner_link}
29<a href="{$banner_link}">
30<img src="{$img_url}/logo/{$banner}.jpg" border="0">
31</a>
32{else}
33<img src="{$img_url}/logo/{$banner}.jpg" border="0">
34{/if}
35</div>
36{include file="menu.tpl"}
37{if $message}
38<table class="navigation" width="100%" height="25" border="0" cellspacing="1">
39<tr class="kb-table-row-odd">
40<td align="center"><b>{$message}</b></td>
41</tr>
42</table>
43{/if}
44<div id="page-title">{$page_title}</div>
45<table cellpadding="0" cellspacing="0" width="100%" border="0">
46<tr><td valign="top"><div id="content">
47{$content_html}
48</div></td>
49{if $context_html}
50<td valign="top" align="right">
51<div id="context">{$context_html}</div>
52</td>
53{/if}
54</tr></table>
55{if $profile}
56<table class="kb-subtable" width="99%" border="0">
57<tr><td height="100%" align="right" valign="bottom">{$profile_sql} querys{if $profile_sql_cached} (+{$profile_sql_cached} cached) {/if} {$profile_time}s</td></tr>
58</table>
59{else}
60<!-- {$profile_time}s -->
61{/if}
62<div class="counter"></div>
63</td></tr></table>
64</body>
65</html>
Note: See TracBrowser for help on using the browser.