📄 index.htm
字号:
<!--
<?php
if($set['bbs_login']) {
print <<<EOT
-->
<div align="center">
<center>
<table class=bbs_login cellspacing=0 cellpadding=0 width=760 bgcolor=#FFFFFF border=0 height=22>
<tbody>
<tr>
<!--
EOT;
if($set['whichbbs']==='discuz') {
print <<<EOT
-->
<form method="post" name="login" action="{$set['bbsdir']}/logging.php?action=login">
<input type="hidden" name="formhash" value="242bdcad">
<input type="hidden" name="referer" value="{$set['bbsdir']}/index.php">
<td class=bbs_login valign=bottom align=middle width=70>论坛登入口:</td>
<td class=bbs_login valign=bottom align=middle width=60><input type="radio" name="loginfield" value="uid" onclick="document.login.username.focus();">UID:</td>
<td class=bbs_login valign=bottom align=middle width=70><input type="radio" name="loginfield" value="username" checked onclick="document.login.username.focus();">用户名:</td>
<td class=bbs_login valign=bottom align=middle width=80><input type="text" name="username" maxlength="40" tabindex=2" style="WIDTH: 55px; HEIGHT: 16px"></td>
<td class=bbs_login valign=bottom align=middle width=110>密码:<input type="password" name="password" size="25" tabindex="2" style="WIDTH: 55px; HEIGHT: 16px"></td>
<td valign=bottom width=39><input type="submit" name="loginsubmit" value="提交" style="WIDTH: 55px; HEIGHT: 20px"></td>
<td valign=bottom><input type="hidden" name="loginmode" value=""><input type="hidden" name="styleid" value="">
<input type="hidden" name="cookietime" value="2592000"><input type="hidden" name="questionid" value="0">
<input type="hidden" name="answer" value="" AUTOCOMPLETE="off"></td></form>
<td valign=bottom> <a href="{$set['bbsdir']}/index.php" target="_blank">浏览论坛</a> | <a href="{$set['bbsdir']}/register.php" target="_blank">立即注册</a> | <a href="{$set['bbsdir']}/logging.php?action=login" target="_blank">登录论坛</a> | <a href="{$set['bbsdir']}/member.php?action=lostpasswd" target="_blank">忘记密码</a></td>
<!--
EOT;
} elseif($set['whichbbs']==='phpwind') {
print <<<EOT
-->
<form method="post" name="login" action="{$set['bbsdir']}/login.php?">
<td class=bbs_login valign=bottom align=middle width=109>
用户名:<input type="text" maxlength="20" name="pwuser" tabindex="1" style="WIDTH: 55px; HEIGHT: 16px"></td>
<td class=bbs_login valign=bottom align=middle width=96>密码<input type="password" name="pwpwd" maxlength="20" tabindex="2" style="WIDTH: 55px; HEIGHT: 16px"></td>
<td valign=bottom width=39><input name="submit" type="submit" value="提交" tabindex="6" style="WIDTH: 55px; HEIGHT: 20px"></td>
<td valign=bottom><input type="hidden" name="hideid" value="0" tabindex="4">
<input type="hidden" name="cktime" value="31536000" tabindex="5"><input type="hidden" name="jumpurl" value="{$set['bbsdir']}/index.php">>
<input type="hidden" name="step" value="2"></td></form>
<td valign=bottom><a href="{$set['bbsdir']}/index.php" target="_blank">浏览论坛</a> | <a href="{$set['bbsdir']}/register.php" target="_blank">立即注册</a> | <a href="{$set['bbsdir']}/login.php" target="_blank">登录</a> | <a href="{$set['bbsdir']}/sendpwd.php" target="_blank">找回密码</a></td>
<!--
EOT;
} else {
print <<<EOT
-->
<td valign=bottom><font color="#FFFFFF">出现错误!请联系管理员!</font></td>
<!--
EOT;
}
print <<<EOT
-->
</tr>
</tbody>
</table>
</center>
</div>
<!--
EOT;
}
$href_a=($set['ifhtml']=='1' && file_exists("news.html")) ? "news.html" : "list.php?type=news";
print <<<EOT
-->
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="760" bgcolor="#FFFFFF">
<tr>
<td valign="middle" align="center" width="200" height="180">
<div align="center">
<table cellspacing=0 cellpadding=0 width="99%" border=0>
<tbody>
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%" valign="middle" align="center" height="155"><a href="javascript:void(null)" id="toppic_hlImg" onclick="javascript:pictarget();return false;"><img id="toppic_img" style="FILTER:revealtrans(duration=2.0,transition=12);VISIBILITY:hidden" height="155" width="100%" border="0" name="img"></a></td>
</tr>
<tr>
<td width="100%" valign="middle" align="center" height="25"><a onclick="javascript:pictarget();return false;" href="javascript:void(null)" style='font-family:Verdana,"宋体";position:relative;height:1;font-weight:bold;color:#0099ff;filter:DropShadow(color=#FFCCFF,OffX=-1,OffY=-1,Positive=1);text-decoration:none'><span id="toppic_lblTitle"></span></a></td>
</tr>
</table>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</td>
<td valign="middle" align="center" width="305" height="180">
<div align="center">
<table cellspacing=0 cellpadding=0 width="99%" border=0>
<tbody>
<tr>
<td>
<div align="center">
<table class=box border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%" valign="middle" align="center" height="27">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="27">
<tr>
<td width="11%" valign="middle" align="left" background="$imgpath/news2.gif" height="27"><img height="28" src="$imgpath/news1.gif" width="34" align="center"></td>
<td valign="middle" align="left" width="67%" background="$imgpath/news3.gif"><a href="{$href_a}" target="_blank"><strong class=bold><font color="#ffffff">{$set['news']}</font></strong></a></td>
<td align="right" width="22%" background="$imgpath/news3.gif"><a href="{$href_a}" target="_blank"><font color="#ffffff">更多>></font></a><img height="28" src="$imgpath/news4.gif" width="9" align="center"></td>
</tr>
</table>
</div>
</td>
</tr>
<tr align="left">
<td class=newstd bgcolor=#f7f7f7 width="100%" valign="middle" align="left" height="153">
<table height="100%" cellspacing=2 cellpadding=0 width="100%" align="center" border=0>
<tbody>
<!--
EOT;
if(!empty($news)) {
print <<<EOT
-->
<tr>
<td align="left" valign="top">
<!--
EOT;
foreach($news as $value) {
$href_b=($set['ifhtml']=='1' && file_exists("{$value['aid']}.html")) ? "{$value['aid']}.html" : "read.php?type=news&id={$value['aid']}";
$subject=substrs($value['subject'],$set['newslength']);
$subject=empty($value['title_color']) ? "{$subject}" : "<font color=\"{$value['title_color']}\">{$subject}</font>";
$subject=empty($value['title_extra']) ? "$subject" : "<{$value['title_extra']}>$subject</{$value['title_extra']}>";
print <<<EOT
-->
<span class=newsspan>·</span><a class=newsa href="{$href_b}" target="_blank">{$subject}</a><br>
<!--
EOT;
}
print <<<EOT
-->
</td>
</tr>
<!--
EOT;
} else {
print <<<EOT
-->
<tr>
<td align=center><b>暂无任何记录!</b></td>
</tr>
<!--
EOT;
}
print <<<EOT
-->
</tbody>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width="99%" align=center border=0>
<tbody>
<tr>
<td width=5><img height=5 src="$imgpath/bottom_left.gif" width=5 border=0></td>
<td width="100%" background="$imgpath/bottom_center.gif" height=5></td>
<td width=5><img height=5 src="$imgpath/bottom_right.gif" width=5 border=0></td>
</tr>
</tbody>
</table>
</div>
</td>
<td valign="middle" align="justify" width="140" height="180">
<div align="center">
<table class=box cellspacing=0 cellpadding=0 width="99%" border=0>
<tbody>
<tr>
<td width="100%" valign="middle" align="center" height="100%">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="185">
<tr>
<td width="100%" height="21" colspan="2" align="left" background="$imgpath/sobg.gif"><span class=bold1>文章搜索</span></td>
</tr>
<tr>
<td width="100%" height="143" valign="middle" align="center">
<form method=post action="search.php">
关键词 <input name="keywd" size="12" type="text"><br><br>
搜索方式 <select name="keym"><option value='subject'>文章标题</option>
<option value="author">文章作者</option></select><br><br>
搜索范围 <select name="keyw"><option value="all">所有栏目</option>{$sortcache}</select><br><br>
精确匹配 <input type="checkbox" name="keyt" value="1">
<input type="hidden" name="do" value="search">
<input type="submit" value="搜 索">
</form>
</td>
</tr>
<tr>
<td width="100%" height="21" colspan="2" align="left" background="$imgpath/sobg.gif"><marquee width="165" height="16" align="middle"><font color="red">{$set['name']}=>{$set['url']}</font></marquee></td>
</tr>
</table>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</td>
<td width="115" height="188">
<div align="center">
<table cellspacing=0 cellpadding=0 width="96%" height="5" align=center border=0>
<tbody>
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -