<!--
<?php
$backdb[subject] || ($backdb[subject]="没有了") && ($backdb[click]="return false;");
$nextdb[subject] || ($nextdb[subject]="没有了") && ($nextdb[click]="return false;");
print <<<EOT
--> 
<link rel="stylesheet" type="text/css" href="$Mdomain/images/$STYLE/bencandy.css">
<div class="MainContainer">
    <div class="main">
    	<div class="basecont">
        	<div class="main_title">$rsdb[title]</div>
<!--
EOT;
if($rsdb[subhead]){print <<<EOT
-->
        	<div class="fit_title">$rsdb[subhead]</div>
<!--
EOT;
}print <<<EOT
-->
            <div class="top_about">
            	<a editurl='$Mdomain/job.php?job=bencandy&fid=$fid&id=$id&&type=$jobs&act=do'>{$rsdb[posttime]}</a> 
               来源:<a href="$rsdb[copyfromurl]" target="_blank">{$rsdb[copyfrom]}</a> 
               作者:{$rsdb[author]} 【<a href="javascript:doZoom(18)">大</a> <a href="javascript:doZoom(14)">中</a> <a href="javascript:doZoom(12)">小</a>】 
               浏览:<span id="hits">{$rsdb[hits]}</span>次 评论:<span id="commnetsnum">{$rsdb[comments]}</span>条 
            </div>
            <table class="content" width="100%" cellspacing="0" cellpadding="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word' align="center">
              <tr> 
                <td align="left" class="content_word" id="read_tpc"><font id="zoom" face="宋体"><span id="post1">
                  <div style="float:left;">{$AD_label['article_content']}</div>
                  $rsdb[content]</span></font></td>
              </tr>
            </table>
            <div class="tag_username">
            	<div class="Tags">Tags：$rsdb[keywords]</div>
                <div class="other">责任编辑：<a href="$webdb[www_url]/member/homepage.php?uid=$rsdb[uid]" target="_blank">{$rsdb[username]}</a></div>
            </div>
            <div class="morelink">
            	<a href="bencandy.php?fid=$backdb[fid]&id=$backdb[aid]" onclick="$backdb[click]"><span>上一篇</span></a>：<a href="bencandy.php?fid=$backdb[fid]&id=$backdb[aid]" onclick="$backdb[click]" title="$backdb[title]">$backdb[subject]</a><br/>
                <a href="bencandy.php?fid=$nextdb[fid]&id=$nextdb[aid]" onclick="$nextdb[click]"><span>下一篇</span></a>：<a href="bencandy.php?fid=$nextdb[fid]&id=$nextdb[aid]" onclick="$nextdb[click]" title="$nextdb[title]">$nextdb[subject]</a>
            </div>
<!--
EOT;
if($webdb[UseArticleDigg]){print <<<EOT
-->
            <div class="diggcont">
            	<div class="number" id="DiggNum_$id">$rsdb[digg_num]</div>
                <div class="title" id="DiggDo_$id"><A HREF="$Mdomain/job.php?job=digg&type=vote&id=$id" target="DiggIframe_$id">顶一下</A></div>
                <div style="display:none;"><iframe src="$Mdomain/job.php?job=digg&type=getnum&id=$id" width=0 height=0 name="DiggIframe_$id" id="DiggIframe_$id"></iframe></div>
            </div>
<!--
EOT;
}if($webdb[UseArticleHeart]){print <<<EOT
-->			<table border="0" cellspacing="0" cellpadding="0" class="heartcont">
              <tr> 
                <td>
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write('<div id="article_heart"></div>');
document.write('<div style="display:none;"><iframe name="iframe_article_heart" id="iframe_article_heart" src="$Mdomain/job.php?job=heart&id=$id" width=0 height=0></iframe></div>');
document.write('<SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/default/cookie.js"><\/SCRIPT>');
function vote_heart(vt){
	if(getCookie('heart__'+'$id')){
		alert('^_^,你不是表过态了嘛?');
		return ;
	}
	setCookie('heart__'+'$id',1);
	window.open("$Mdomain/job.php?job=heart&id=$id&type=vote&Vtitle="+vt,"iframe_article_heart");
}
//-->
</SCRIPT>
                  </td>
                </tr> 
              </table>
<!--
EOT;
}if($showpage){print <<<EOT
-->
			<div class="page">$showpage</div>
<!--
EOT;
}print <<<EOT
-->
			<div class="maction">
               <SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/default/bencandy.js"></SCRIPT>
              【<a href="javascript:doZoom(18)">大</a> <a href="javascript:doZoom(14)">中</a> <a  href="javascript:doZoom(12)">小</a>】
              【<a href="javascript:doPrint()">打印</a>】 
              <input type=hidden value=1 name="h1" id="h1">
              【<a href="javascript:ft(1)" id="Maiweb1">繁体</a>】
              【<a href="$webdb[www_url]/member/?main=$Murl/member/post.php?job=postnew&fid=$fid" target=_blank>投稿</a>】
              【<a href="$Mdomain/job.php?job=collect&fid=$fid&id=$id">收藏</a>】 
              【<a href="$Mdomain/job.php?job=recommend&fid=$fid&id=$id" target="_blank">推荐</a>】
              【<a href="$Mdomain/job.php?job=report&fid=$fid&id=$id" target=_blank>举报</a>】
              【<a href="$Mdomain/comment.php?fid=$fid&id=$id" target=_blank>评论</a>】 
              【<a href="javascript:window.close()">关闭</a>】 
              【<a href="javascript:window.close()"></a><a href="#">返回顶部</a>】
            </div>            
        </div> 
<!--include
EOT;
//评论调用代码
if($webdb[showComment] && $fidDB[allowcomment] && !$rsdb[forbidcomment]){
		@include(getTpl("bencandy_comment"));
}print <<<EOT
include--> 
		<div class="morecont mt10">
        	<div class="head"><div class="tag">{$label[blue_nbencandyh1]}</div></div>
            <div class="cont1">
            	{$label[blue_nbencandyt1]}
            </div>
            <div class="head"><div class="tag">{$label[blue_nbencandyh2]}</div></div>
            <div class="cont2">
            	{$label[blue_nbencandyt2]}
            </div>
        </div>  	
    </div>
    <div class="side">
    	<div class="showsort mt10">
<!--
EOT;
$array=is_array($Fid_db[$fid])?$Fid_db[$fid]:$Fid_db[$fidDB[fup]];
foreach($array AS $key=>$value){
	$array[$key]=array($key,$value);
}
$i=0;
foreach($array AS $key=>$rs){
$i++;
$float = $i%2 ==0 ? " class=\"fr\"":"";
$thisfid = $key==$fid ? " style=\"color:red;\"" : "";
print <<<EOT
-->
			<div class="listsort"><a href="list.php?fid=$rs[0]"{$float}{$thisfid }>{$rs[1]}</a></div>
<!--
EOT;
}print <<<EOT
-->
			<div style="clear:both"></div>
		</div>
        <div class="sidecont1 mt10">
        	<div class="head"><div class="tag">{$label[blue_nbencandyh3]}</div></div>
            <div class="cont1">
            	{$label[blue_nbencandyt3]}
            </div>
        </div>
        <div class="sideadr mt10">{$label[blue_nbencandyad1]}</div>
        <div class="sidecont1 mt10">
        	<div class="head"><div class="tag">{$label[blue_nbencandyh4]}</div></div>
            <div class="cont2">
                <div class="h">
                    {$label[blue_nbencandysth1]}            	
                </div>
                <div id="Tab1" class="c">{$label[blue_nbencandyst1]}</div>
                <div id="Tab2" class="c">{$label[blue_nbencandyst2]}</div>
                <div id="Tab3" class="c">{$label[blue_nbencandyst3]}</div>
                <div id="Tab4" class="c">{$label[blue_nbencandyst4]}</div>
                <SCRIPT LANGUAGE="JavaScript">ShowTab(1,1,5);</SCRIPT>
            </div>
        </div>
        <div class="sidecont1 mt10">
        	<div class="head"><div class="tag">{$label[blue_nbencandyh5]}</div></div>
            <div class="cont3">{$label[blue_nbencandyt51]}</div>
            <div class="cont4">{$label[blue_nbencandyt52]}</div>
        </div>
        <div class="sidecont1 mt10">
        	<div class="head"><div class="tag">{$label[blue_nbencandyh6]}</div></div>
            <div class="cont5">{$label[blue_nbencandyt6]}</div>
        </div>
        <div class="mt10">{$label[blue_nbencandyad2]}</div>
    </div>    
    <div style="clear:both"></div>
</div>
<!--
EOT;
?>
-->
