📄 readtpl.htm
字号:
<!--<?php
print <<<EOT
-->
<html>
<head>
<title>{$guide}{$set['name']}{$seotitle}</title>
<meta http-equiv="Content-Type" CONTENT="text/html;charset={$charset}">
<meta name="keywords" content="{$set['keywords']}">
<meta name="description" content="{$set['description']}">
<!--css--><style type="text/css">
body,table,select,ul,li{font-size:12px;line-height:20px;}
body{margin:0;background:#fff;}
form{margin:0;padding:0;}
input,bottom{font-size:12px;line-height:19px;}
td,input,select {FONT-SIZE: 12px}
A:link{color:#00007F}
A:visited{color:#00007F}
A:active{color:#00007F}
A:hover{color:#ff0000}
.l000,a.l000:link,a.l000:visited{color:#000}
.lfff,a.lfff:link,a.lfff:visited,.lggg,a.lggg:link,a.lggg:visited,.l000,a.l000:link,a.l000:visited {text-decoration:none}
a.lfff:hover,a.lggg:hover,a.l000:hover{text-decoration:underline}
.bolds{font-weight:bold;}
.mb5{margin-bottom:5px;border:1px solid #92C3F2;border-top:0px;background:#D3E8FD}
.mu6{margin-top:6px;}
.rbga{background:#F5F5F5;border-right:1px solid #A7A7A7}
.news{border:1px solid #fd9923;}
.bg1989d7{background:#1989d7;}
.tit,.adright{line-height:21px;}
.tit{color:white;border-bottom:2px solid #E3E3E3}
.tit1{font-size:14px}
.tit1,.tita{padding-left:10px;font-weight:bold;float:left;font-size:14px;}
.tit2,.titb{text-align:right;padding-right:5px;float:right;}
.lfff,a.lfff:link,a.lfff:visited{color:#fff;}
.lggg,a.lggg:link,a.lggg:visited{color:#000000;}
.p31{padding-left:4px;}
.p32 {padding-left:15px;}
.pt2{padding-top:2px;}
h2.t {font:bold 12px 宋体; text-align:center; border-bottom:2px solid #FF0000; padding:0px 0px 4px 5px; margin:5px 0px 6px;}
h2.t div {display:block; float:center; font:bold 14px 宋体;}
.bian {
border: 1px solid #02ACDB;
}
.style3 {color: #FF0000}
.a2 {FONT-SIZE: 14px; color: #000000; LINE-HEIGHT: 16px;TEXT-DECORATION: none; line-height: 20px;}
.xiaobian {
border-bottom-width: 3px;
border-bottom-style: solid;
border-bottom-color: #99D1E0;
}
.style4 {
border-bottom-width: 3px;
border-bottom-style: solid;
border-bottom-color: #99D1E0;
color: #FFFFFF;
font-size: 14px;
font-weight: bold;
}
A.hp_menu1:link {
color: #ffffff;
text-decoration: none;
font-size: 12px;
}
A.hp_menu1:visited {
color: #ffffff;
text-decoration: none;
font-size: 12px;
}
A.hp_menu1:active {
color: #FFFC00;
text-decoration: underline;
font-size: 12px;
}
A.hp_menu1:hover {
color: #FFFC00;
text-decoration: underline;
font-size: 12px;
}
.guidee{color: #ffffff;}
A.guidee:link {color: #ffffff;}
A.guidee:visited {color: #ffffff;}
A.guidee:active {color: #ffffff;}
A.guidee:hover {color: #ffffff;}
/* 以下为read.htm页面style */
.lefts {
FLOAT: left
}
.lblue {
COLOR: blue
}
A.lblue:link {
COLOR: blue
}
A.lblue:visited {
COLOR: blue
}
.lblue {
COLOR: red
}
A.lblue:hover {
COLOR: red
}
.lred {
COLOR: red
}
A.lred:link {
COLOR: red
}
A.lred:visited {
COLOR: red
}
.cntRtit {
FONT-WEIGHT: bold; BACKGROUND: #dfdfdf; WIDTH: 164px; COLOR: black; LINE-HEIGHT: 19px; PADDING-TOP: 2px; BORDER-BOTTOM: #a3a3a3 2px solid
}
.cntRtit A {
COLOR: white
}
.clr {
CLEAR: both; FONT-SIZE: 0px; VISIBILITY: hidden; WIDTH: 1px
}
#nowpsn {
CLEAR: both; BACKGROUND: #02a1fc; MARGIN: 0px auto; WIDTH: 750px; COLOR: #fff; HEIGHT: 22px
}
#nowpsn A {
COLOR: white
}
#nowpsn P#position {
PADDING-LEFT: 20px; FLOAT: left; WIDTH: 566px; LINE-HEIGHT: 22px; TEXT-ALIGN: left
}
#cntmain {
BACKGROUND: url({$imgpath}/readbg.gif) repeat-y; MARGIN: 0px auto; WIDTH: 750px; BORDER-BOTTOM: #a8a8a8 1px solid
}
#cntL {
FLOAT: left; WIDTH: 586px
}
#cntL #ArticleTit {
CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 22px; PADDING-BOTTOM: 15px; MARGIN: 0px auto; WIDTH: 550px; COLOR: black; PADDING-TOP: 15px; BORDER-BOTTOM: gray 1px solid
}
#cntL #ArticleFrom {
CLEAR: both; MARGIN: 5px auto 15px; WIDTH: 550px
}
#cntL #ArticlePageLinkA {
CLEAR: both; FONT-SIZE: 14px; MARGIN: 5px auto; WIDTH: 550px; TEXT-ALIGN: right
}
#cntL #ArticlePageLinkB {
CLEAR: both; FONT-SIZE: 14px; MARGIN: 5px auto; WIDTH: 550px
}
#cntL #ArticlePageLinkA A {
COLOR: blue
}
#cntL #ArticlePageLinkA A:hover {
COLOR: red
}
#cntL #ArticlePageLinkB A {
COLOR: blue
}
#cntL #ArticlePageLinkB A:hover {
COLOR: red
}
#cntL #ArticleCnt {
CLEAR: both; FONT-SIZE: 14px; MARGIN: 0px auto; WIDTH: 550px; WORD-BREAK: break-all; LINE-HEIGHT: 180%; TEXT-ALIGN: left; WORD-WRAP: break-word
}
#cntL #ArticleCnt A {
COLOR: blue; TEXT-DECORATION: none
}
#cntL #ArticleCnt A:hover {
COLOR: red; TEXT-DECORATION: underline
}
#cntL #PicInPic TD {
LINE-HEIGHT: 21px
}
#cntL #PicInPic A {
COLOR: blue; TEXT-DECORATION: none
}
#cntL #PicInPic A:hover {
COLOR: red; TEXT-DECORATION: underline
}
#cntL .next {
FONT-SIZE: 14px; WIDTH: 100px
}
#cntL .next A {
FONT-SIZE: 14px
}
#cntL #ArticleCnt P {
MARGIN: 12px 0px
}
#cntL #ArticleCnt TD {
LINE-HEIGHT: 20px
}
#cntL #ArticleTopic {
PADDING-LEFT: 100px; FONT-SIZE: 14px; MARGIN: 15px 0px; WIDTH: 450px; TEXT-ALIGN: left
}
#cntL #ArticleTopic A {
COLOR: blue
}
#cntL #ArticleInfo {
MARGIN: 4px auto; WIDTH: 550px; TEXT-ALIGN: right
}
#cntL #ArticleInAd {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 8px; MARGIN: 0px auto; WIDTH: 550px; PADDING-TOP: 8px; BORDER-BOTTOM: #7b8386 1px solid; TEXT-ALIGN: center
}
#cntL #ArticleInAd A {
FONT-SIZE: 14px
}
#cntL #ArticleInAd A:hover {
TEXT-DECORATION: underline
}
#cntR {
FLOAT: right; WIDTH: 164px
}
#TextLink {
MARGIN: 2px auto 0px; WIDTH: 164px
}
#TextLink .text {
PADDING-RIGHT: 0px; PADDING-LEFT: 6px; PADDING-BOTTOM: 2px; LINE-HEIGHT: 150%; PADDING-TOP: 2px; TEXT-ALIGN: left
}
#TextLink .text A {
COLOR: blue
}
#TextLink .text A:hover {
COLOR: red; TEXT-DECORATION: underline
}
div,form,img,ul,ol,li,dl,dt,dd {margin:0;padding:0;border:0;}
dt,dd{clear:both;}
body {
margin:0 auto;
padding:0;
color:black;
background-color:white;
font-size:12px;
text-align:center;
}
</style>
<!--css-->
</head>
<body bgcolor=#FFFFFF leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
<div align="center">
<center>
<table border="0" width="760" cellpadding="0" cellspacing="0" height="60">
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="60">
<tr>
<td align="center"><img width="180" valign="middle" height="60" src="{$imgpath}/{$set['logo']}"></td>
<td align="center"><img width="470" valign="middle" height="60" src="{$imgpath}/{$set['banner']}"></td>
<td width="110" valign="middle" align="center" height="60">
<table height="60" cellspacing="0" cellpadding="0" width="110" align="center" valign="middle" border="0">
<tbody>
<tr align="center">
<td valign="middle" width="35"><img height="16" src="$imgpath/home.gif" width="16" align="right"></td>
<td valign="middle" width="75" align="left"><a onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('{$set['url']}')" href="#">设为首页</a></td>
</tr>
<tr align="center">
<td valign="middle" width="35"><img height="17" src="$imgpath/email.gif" width="16" align="right"></td>
<td valign="middle" width="75" align="left"><a href="mailto:{$set['ceomail']}">联系站长</a></td>
</tr>
<tr align="center">
<td valign="middle" width="35"><img height="16" src="$imgpath/bookmark.gif" width="16" align="right"></td>
<td valign="middle" width="75" align="left"><a href="javascript:window.external.addFavorite('{$set['url']}','{$set['name']}')">加入收藏</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</center>
</div>
<!--
EOT;
if(!empty($sort)) {
$sortwidth=floor(760/(count($sort)+1));
$href_a=$set['ifhtml']=='1' ? "index.html" : "index.php";
print <<<EOT
-->
<div>
<center>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td height="28" style="text-align:right; color:#FFFFFF" bgcolor="#3168CD" background="{$imgpath}/top-bg.jpg">
<a href='{$href_a}' class="hp_menu1">首页</a>
<!--
EOT;
foreach($sort as $value) {
$href_b=$set['ifhtml']=='1' ? "list_{$value['id']}.html" : "{$value['more']}";
print <<<EOT
-->
| <a href='{$href_b}' class="hp_menu1">{$value['name']}</a>
<!--
EOT;
}
print <<<EOT
-->
</td>
</tr>
</table>
</center>
</div>
</tr>
</table>
</td>
</tr>
</table>
</center>
</div>
<!--
EOT;
}
print <<<EOT
-->
<div align="center">
<center>
<table border="0" width="760" height="2">
<tr>
<td></td>
</tr>
</table>
</center>
</div>
<script language="javascript">function T(n){document.getElementById("ArticleCnt").style.fontSize=n+"px";}</script>
<div id="nowpsn">
<p id="position">
<span class="lefts">您所在的位置:<a href="{$mainurl}">首页</a> > {$guidee}</span>
</p>
</div>
<div id="cntmain">
<div id="cntL">
<div id="ArticleTit">{$subject}</div>
<div id="ArticleFrom">
作者:<a href="members.php?do=showinfo" target="_blank">{$author}</a> {$date}
浏览:{$hits} <a target="_blank" class="lred" href="comment.php?id={$sid}">[发表评论]</a> 评论数:{$cnum}
<span class="lblue">来源:{$from}</span> 【<a href="javascript:T(16);" class="lblue">大</a> <a href="javascript:T(14);" class="lblue">中</a> <a href="javascript:T(12);" class="lblue">小</a>】
</div>
<div id="ArticleCnt"><P align=center>{$content}</P></div>
<div id="ArticleInfo">
<p align=right class="lblue">{$fenye}</p>
</div>
<div id="ArticleInfo">
【<a target="_blank" class="lred" href="comment.php?id={$sid}">发表评论</a>】【<a href="javascript:T(16);" class="lblue">大</a> <a href="javascript:T(14);" class="lblue">中</a> <a href="javascript:T(12);" class="lblue">小</a>】【<a href="javascript:window.close();" class="lblue">关闭</a>】</div>
</div>
<div id="cntR">
<div id="TextLink">
<dl>
<dt class="cntRtit">{$top_title}</dt>
<dd class="text">
<!--
EOT;
if(!empty($top_list)) {
foreach($top_list as $cate) {
$subject=substrs($cate['subject'],$set['read_right_length']);
$subject=empty($cate['title_color']) ? "{$subject}" : "<font color=\"{$cate['title_color']}\">{$subject}</font>";
$subject=empty($cate['title_extra']) ? "$subject" : "<{$cate['title_extra']}>$subject</{$cate['title_extra']}>";
$href_c=($set['ifhtml']=='1' && file_exists("{$sort[$j]['id']}_{$cate['aid']}.html")) ? "{$sort[$j]['id']}_{$cate['aid']}.html" : "read.php?id={$cate['aid']}";
print <<<EOT
-->
·<a href="{$href_c}" target="_blank">{$subject}</a><br>
<!--
EOT;
}
}
print <<<EOT
-->
</dd>
</dl>
</div><div id="TextLink">
<dl>
<dt class="cntRtit">{$botton_title}</dt>
<dd class="text">
<!--
EOT;
if(!empty($top_list)) {
foreach($top_list as $cate) {
$subject=substrs($cate['subject'],$set['read_right_length']);
$subject=empty($cate['title_color']) ? "{$subject}" : "<font color=\"{$cate['title_color']}\">{$subject}</font>";
$subject=empty($cate['title_extra']) ? "$subject" : "<{$cate['title_extra']}>$subject</{$cate['title_extra']}>";
$href_c=($set['ifhtml']=='1' && file_exists("{$sort[$j]['id']}_{$cate['aid']}.html")) ? "{$sort[$j]['id']}_{$cate['aid']}.html" : "read.php?id={$cate['aid']}";
print <<<EOT
-->
·<a href="{$href_c}" target="_blank">{$subject}</a><br>
<!--
EOT;
}
}
print <<<EOT
-->
</dd>
</dl>
</div>
</div>
</div>
<div align="center">
<center>
<table border="0" width="760" height="5">
<tr>
<td></td>
</tr>
</table>
</center>
</div>
<!--
EOT;
if($set['indexlink']==='1') {
include_once(R_P.'cache/link.php');
print <<<EOT
-->
<div>
<center>
<table border="0" width="760">
<tr>
<td align="center">
<h2 class="t"><div>友情链接</div></h2>
</td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="760">
<tr>
<td valign="middle" align="left">$link</td>
</tr>
</table>
</center>
</div>
<!--
EOT;
}
print <<<EOT
-->
<div>
<center>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="16"></td>
</tr>
<tr>
<td height="19" align="center"><span class=A07>关于{$set['name']}</span> | <span class=A07>联系我们</span> | <span class=A07>合作建议</span> | <a onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('{$set['url']}')" href="#" class=A07>设为首页</a> | <a class=A07 href="javascript:window.external.addFavorite('{$set['url']}','{$set['name']}')">加入收藏</a> | <a class=A07 href="login.php" target="_blank">管理登录</a></td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="3"></td>
</tr>
<tr>
<td height="19" align="center">Copyright© 2006 <a href="{$set['url']}">{$set['name']}</a></td>
<tr>
<td height="6"></td>
</tr>
</table>
<table width="759" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="center">Powered by <a href="http://www.duoxun.com" target="_blank">www.DuoXun.com</a> ver$duoxun_version</td>
</tr>
</table>
</center>
</div>
</body>
</html>
<!--
EOT;
?>
-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -