mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- consequentially prepended $WH to those functions (since i do have issues with regEx, some errors may occur) * simplified including required JS and CSS files per page * replaced old Menu-class with (almost) current version. Since it relies heavily on jQuery it is also loaded.
56 lines
2.3 KiB
Smarty
56 lines
2.3 KiB
Smarty
<html>
|
|
<head>
|
|
{include file='head.tpl'}
|
|
<style type="text/css">
|
|
{literal}
|
|
.menu-buttons a { border-color: black }
|
|
.news { position: relative; text-align: left; width: 415px; height: 191px; margin: 30px auto 0 auto; background: url(template/images/{/literal}{$user.language}{literal}/mainpage-bg-news.jpg) no-repeat }
|
|
.news-list { padding: 26px 0 0 26px; margin: 0 }
|
|
.news-list li { line-height: 2em }
|
|
.news-img1 { position: absolute; left: 60px; top: 155px; width: 172px; height: 17px }
|
|
.news-img2 { position: absolute; left: 246px; top: 48px; width: 145px; height: 127px }
|
|
.news-talent { position: absolute; left: 240px; top: 29px; width: 152px; height: 146px }
|
|
{/literal}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="layers"></div>
|
|
<div id="home">
|
|
<span id="menu_buttons-generic" class="menu-buttons"></span>
|
|
<script type="text/javascript">
|
|
Menu.addButtons($WH.ge('menu_buttons-generic'), mn_path);
|
|
</script>
|
|
|
|
<div class="pad"></div>
|
|
|
|
<form method="get" action="." onsubmit="if($WH.trim(this.elements[0].value) == '') return false">
|
|
<input type="text" name="search" size="38" id="livesearch-generic" /><input type="submit" value="{$lang.searchButton}" />
|
|
</form>
|
|
|
|
<script type="text/javascript">var _ = $WH.ge('livesearch-generic'); LiveSearch.attach(_); _.focus();</script>
|
|
|
|
{if isset($news)}
|
|
<div class="news">
|
|
<div class="news-list text">
|
|
<ul>
|
|
{foreach from=$news item=item}
|
|
<li><div>{$item.text}</div></li>
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
|
|
<div id="toplinks" class="toplinks">
|
|
{if $user.id}<a id="toptabs-menu-profiles">{$lang.profiles}</a>|<a id="toptabs-menu-user">{$user.name}</a>{else}<a href="?account=signin">{$lang.signIn}</a>{/if}
|
|
|<a href="javascript:;" id="toptabs-menu-language">{$lang.language} <small>▼</small></a>
|
|
<script type="text/javascript">g_initHeaderMenus()</script>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="footer">
|
|
</div>
|
|
<noscript><div id="noscript-bg"></div><div id="noscript-text"><b>{$lang.jsError}</div></noscript>
|
|
<script type="text/javascript">DomContentLoaded.now()</script>
|
|
</body>
|
|
</html> |