source: aowow/templates/wowhead/main.tpl

Last change on this file was 170, checked in by maron, 16 years ago
  • Property svn:executable set to *
File size: 2.0 KB
Line 
1{config_load file="$conf_file"}
2<html>
3<head>
4 {include file='head.tpl'}
5 <style type="text/css">
6{literal}
7 .menu-buttons a { border-color: black }
8 .news { position: relative; text-align: left; width: 415px; height: 191px; margin: 30px auto 0 auto; background: url(templates/wowhead/images/mainpage-bg-news-{/literal}{$language}{literal}.jpg) no-repeat }
9 .news-list { padding: 26px 0 0 26px; margin: 0 }
10 .news-list li { line-height: 2em }
11 .news-img1 { position: absolute; left: 60px; top: 155px; width: 172px; height: 17px }
12 .news-img2 { position: absolute; left: 246px; top: 48px; width: 145px; height: 127px }
13 .news-talent { position: absolute; left: 240px; top: 29px; width: 152px; height: 146px }
14{/literal}
15 </style>
16</head>
17<body>
18 <div id="layers"></div>
19 <noscript><div id="noscript-bg"></div><div id="noscript-text"><b>{#js_err#}</div></noscript>
20 <div id="home">
21 <h1>{$title}</h1>
22 <span id="menu-buttons-generic" class="menu-buttons"></span>
23 <script type="text/javascript">
24 Menu.addButtons(ge('menu-buttons-generic'), mn_path);
25 </script>
26 <div class="pad"></div>
27
28 <div id="toplinks" class="toplinks">
29 {if $user}<a href="?user={$user.name}">{$user.name}</a>|<a href="?account=signout">{#Sign_out#}</a>{else}<a href="?account=signin">{#Sign_in#}</a>{/if}|<a href="javascript:;" id="language-changer">{#Language#} <small>&#9660;</small></a>
30 </div>
31
32 <script type="text/javascript">g_initLanguageChanger()</script>
33
34 <div class="pad"></div>
35
36 <form method="get" action="?" onsubmit="if(trim(this.elements[0].value) == '') return false">
37 <input type="text" name="search" size="38" id="search-generic" /><input type="submit" value="{#search#}" />
38 </form>
39
40{if $news}
41 <div class="news">
42 <div class="news-list text">
43 <ul>
44{foreach from=$news item=item}
45 <li><div>{$item.text}</div></li>
46{/foreach}
47 </ul>
48 </div>
49 </div>
50{/if}
51
52 <script type="text/javascript">
53 var _ = ge('search-generic');
54 LiveSearch.attach(_);
55 _.focus()
56 </script>
57</body>
58</html>
Note: See TracBrowser for help on using the repository browser.