📄 index.tpl
字号:
<?xml version="1.0" encoding="{lang mkey='ENCODING'}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
{strip}
<head>
{if $title != '' }
<title>{$title} </title>
{elseif $config.site_title ne '' }
<title>{$config.site_title|stripslashes}</title>
{else}
<title>{lang mkey='title'}</title>
{/if}
<meta http-equiv="Content-Type" content="text/html; charset={lang mkey='ENCODING'}" />
<meta name="keywords" content="{$config.meta_keywords}" />
<meta name="description" content="{$config.meta_description}" />
<script type="text/javascript">
/* <![CDATA[ */
var loadingTag = "{lang mkey='loading'}";
var modeRewrite = "{$config.enable_mod_rewrite}";
var docRoot = "{$smarty.const.DOC_ROOT}";
var alphanumeric_chars = "{lang mkey='alphanumeric'}";
var alphanum_chars = "{lang mkey='alphanum'}";
var text_chars = "{lang mkey='text'}";
var full_chars = "{lang mkey='full_chars'}";
{if $config.use_popups == 'N'}
var use_popups = false;
{else}
var use_popups = true;
{/if}
{if $config.use_profilepopups == 'N'}
var use_profilepopups = false;
{else}
var use_profilepopups = true;
{/if}
/* ]]> */
</script>
<link href="{$css_path}default.css" rel="stylesheet" type="text/css" />
{include file="xhtml.css.tpl"}
{$addtional_css}
<script type="text/javascript" src="{$DOC_ROOT}javascript/functions.js"></script>
<script type="text/javascript" src="{$DOC_ROOT}javascript/check.js"></script>
<script type="text/javascript" src="{$DOC_ROOT}javascript/validate.js"></script>
<script type="text/javascript" src="{$DOC_ROOT}javascript/editor.js"></script>
{if $config.enable_shoutbox == 'Y' or $config.enable_shoutbox == '1'}
<script type="text/javascript" src="{$DOC_ROOT}javascript/shoutbox.js"></script>
{/if}
{$addtional_javascript}
<script type="text/javascript">
/* <![CDATA[ */
function insufficientPrivileges(){ldelim}
alert("{lang mkey='insufficientPrivileges'}");
return false;
{rdelim}
function newvalidateLogin(newform)
{ldelim}
if (newform.txtusername.value == '') {ldelim}
alert("{lang mkey='signup_js_errors' skey='username_noblank'}");
return false;
{rdelim}
if (newform.txtpassword.value == '') {ldelim}
alert("{lang mkey='signup_js_errors' skey='password_noblank'}");
return false;
{rdelim}
{rdelim}
/* ]]> */
</script>
</head>
<body dir="{lang mkey='DIRECTION'}" {if $google_map eq 'Y'}onload="load_map()"{/if}>
<center>
<!-- Header portion -->
<table class="main_outer_table" cellspacing="0" cellpadding="0" width="779" border="0" >
<tr>
<td width="100%">
<table width="779" border="0" cellpadding="0" cellspacing="0" class="headbg">
<tr>
{ if $config.site_logo != ''}
<td width="544" valign="bottom">
<img src="{$config.site_logo}" alt="" />
</td>
{else}
<td width="244" valign="bottom" >
<a href="index.php" class="main_title">{$config.site_name|stripslashes}</a>
</td>
<td width="300" valign="top" align="center">
<table width="344" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="{$image_dir}b_02.jpg" width="86" height="50" alt="" /></td>
<td>
<img src="{$image_dir}b_03.jpg" width="86" height="50" alt="" /></td>
<td>
<img src="{$image_dir}b_04.jpg" width="86" height="50" alt="" /></td>
<td>
<img src="{$image_dir}b_05.jpg" width="86" height="50" alt="" /></td>
</tr>
<tr>
<td>
<img src="{$image_dir}b_12.jpg" width="86" height="49" alt="" /></td>
<td>
<img src="{$image_dir}b_13.jpg" width="86" height="49" alt="" /></td>
<td>
<img src="{$image_dir}b_14.jpg" width="86" height="49" alt="" /></td>
<td>
<img src="{$image_dir}b_15.jpg" width="86" height="49" alt="" /></td>
</tr>
<tr>
<td>
<img src="{$image_dir}b_18.jpg" width="86" height="50" alt="" /></td>
<td>
<img src="{$image_dir}b_19.jpg" width="86" height="50" alt="" /></td>
<td>
<img src="{$image_dir}b_20.jpg" width="86" height="50" alt="" /></td>
<td>
<img src="{$image_dir}b_21.jpg" width="86" height="50" alt="" /></td>
</tr>
<tr>
<td>
<img src="{$image_dir}b_22.jpg" width="86" height="7" alt="" /></td>
<td>
<img src="{$image_dir}b_23.jpg" width="86" height="7" alt="" /></td>
<td>
<img src="{$image_dir}b_24.jpg" width="86" height="7" alt="" /></td>
<td>
<img src="{$image_dir}b_25.jpg" width="86" height="7" alt="" /></td>
</tr>
</table>
</td>
{/if}
<td width="230" valign="top">
<table width="230" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="{$image_dir}box_06.jpg" width="14" height="19" alt="" /></td>
<td>
<img src="{$image_dir}box_07.jpg" width="195" height="19" alt="" /></td>
<td>
<img src="{$image_dir}box_08.jpg" width="21" height="19" alt="" /></td>
</tr>
<tr>
<td>
<img src="{$image_dir}box_09.jpg" width="14" height="117" alt="" /></td>
<td align="center" class="headbgbox">
{include file="searchprofile.tpl"}
</td>
<td>
<img src="{$image_dir}box_11.jpg" width="21" height="117" alt="" /></td>
</tr>
<tr>
<td>
<img src="{$image_dir}box_22.jpg" width="14" height="20" alt="" /></td>
<td>
<img src="{$image_dir}box_23.jpg" width="195" height="20" alt="" /></td>
<td>
<img src="{$image_dir}box_24.jpg" width="21" height="20" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="779" border="0" cellpadding="0" cellspacing="0" class="loginbarbg">
<tr>
<td colspan="4"><img src="{$image_dir}menuline1.jpg" width="779" height="6" alt="" /></td>
</tr>
<tr>
<td height="35" width="154"><img src="{$image_dir}big_arrow.jpg" alt="" /></td>
<td height="33" width="575">
{if $smarty.session.UserId == ''}
<form name="frmLogin" method="post" action="midlogin.php" onsubmit="javascript: return newvalidateLogin(this);" >
<table width="100%" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" border="0">
<tr>
<td>
<b>{lang mkey='members_login'}</b>
<img src="{$image_dir}blue_box.gif" width="2" height="10" alt="" />
{lang mkey='signup_username'}
<input class="input" maxlength="25" name="txtusername" size="8" style='font-size:9pt;width:70px' />
{lang mkey='signup_password'}
<input class="input" type="password" name="txtpassword" size="8" style='font-size:9pt;width:70px' />
<input type="submit" value="{lang mkey='login_submit'}" class='formbutton' />
<a href='signup.php'>{lang mkey='register'}</a>
</td>
</tr>
</table>
</form>
{else}
<strong>{lang mkey='welcome'}, {$smarty.session.FullName|stripslashes} ({$smarty.session.UserName})</strong>
{/if}
</td>
<td height="33" width="40" align="right" valign="middle">
{if $smarty.session.security.extsearch == 1 and $smarty.session.expired != '1' and ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'Active') }
<a href="advsearch.php"><img src="{$image_dir}search_icon.gif" border="0" width="18" height="18" alt="" /></a>
{/if}
<a href="index.php"><img src="{$image_dir}homepage_icon.gif" border="0" width="18" height="18" alt="" /></a>
</td>
<td height="33" width="10"></td>
</tr>
</table>
<table width="779" border="0" cellpadding="0" cellspacing="5" bgcolor="#FFFFFF">
<tr>
<!-- Leftside Menu -->
<td width="178" valign="top">
{include file="leftcolumn.tpl"}
</td>
<!-- Rendered page -->
<td width="601" valign="top">
{$rendered_page}
<br />
{$modosdate_main}
<br />
</td>
</tr>
</table>
<!-- Footer -->
<table cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" width="779" border="0">
<tr>
<td width='100%' align='center' class="footer" height="25">
{if $smarty.session.UserId <= 0}
<a href='index.php?page=login' class='footerlink'>{lang mkey='site_links' skey='login'}</a> |
{/if}
{if $config.enable_mod_rewrite == 'Y'}
<a href='privacy.html' class='footerlink'>{lang mkey='site_links' skey='privacy'}</a> |
<a href='terms_of_use.html' class='footerlink'>{lang mkey='site_links' skey='terms_of_use'}</a> |
<a href='services.html' class='footerlink'>{lang mkey='site_links' skey='services'}</a> |
<a href='faq.html' class='footerlink'>{lang mkey='site_links' skey='faq'}</a> |
<a href='articles.html' class='footerlink'>{lang mkey='site_links' skey='articles'}</a> |
{else}
<a href='index.php?page=privacy' class='footerlink'>{lang mkey='site_links' skey='privacy'}</a> |
<a href='index.php?page=terms_of_use' class='footerlink'>{lang mkey='site_links' skey='terms_of_use'}</a> |
<a href='index.php?page=services' class='footerlink'>{lang mkey='site_links' skey='services'}</a> |
<a href='index.php?page=faq' class='footerlink'>{lang mkey='site_links' skey='faq'}</a> |
<a href='index.php?page=articles' class='footerlink'>{lang mkey='site_links' skey='articles'}</a> |
{/if}
<a href='affindex.php' class='footerlink'>{lang mkey='site_links' skey='affliates'}</a> |
{* <a href='javascript:launchTellFriend();' class='footerlink'>{lang mkey='site_links' skey='invite_a_friend'}</a> *}
<a href='tellafriend.php' class='footerlink'>{lang mkey='site_links' skey='invite_a_friend'}</a>
{* Feedback link depending on the option in global site settings *}
{if ( $config.feedback_info == 'Y' && $smarty.session.UserId != '') or $config.feedback_info == 'N'}
|
<a href='feedback.php' class='footerlink'>{lang mkey='site_links' skey='feedback'}</a>
{/if}
</td>
</tr>
<tr><td width='100%' align='center' height="3"></td></tr>
<tr>
<td width='100%' align='center'>
<a href="http://www.tufat.com/osdate.php" class='copyright' target="_blank">{$config.copyright}</a>
</td>
</tr>
<tr><td width='100%' align='center' height="3"></td></tr>
</table>
</td>
</tr>
</table>
</center>
{closedb}
</body>
</html>
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -