<!--
<?php
$unsetdb[]=$rsdb[photourl];	//不需要再显示

$no_pics="<span>没有图集</span>";
$backdb[picurl]=$backdb[picurl]?tempdir($backdb[picurl]):"";
$nextdb[picurl]=$nextdb[picurl]?tempdir($nextdb[picurl]):"";
$backPic="<a href='bencandy.php?fid=$backdb[fid]&id=$backdb[aid]' title='上一图集:$backdb[title]'><img src='$backdb[picurl]' height='90'/></a></dd>";
$nextPic="<a href='bencandy.php?fid=$nextdb[fid]&id=$nextdb[aid]' title='下一图集:$nextdb[title]'><img src='$nextdb[picurl]' height='90'></a>";
$backPic=$backdb[subject]?$backPic:$no_pics;
$nextPic=$nextdb[subject]?$nextPic:$no_pics;

$bigpichtml='';
$sidepichtml='';
$pic_title=$Mrsdb[photourl][name];
$pic_nums=count($Mrsdb[photourl][url]);
$i=0;
foreach($Mrsdb[photourl][url] AS $key=>$url){
	$i++;
	$bigpichtml.="		<li><h3>$pic_title[$key]<span>(<em>$i</em>/$pic_nums)</span></h3><a href='$url' target='_blank'><img src=\"$url\"/></a></li>\n";
    $sidepichtml.="		<li><div><span><img src=\"$url\" height='80'/></span></div></li>\n";
}
print <<<EOT
-->
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/blue/bencandy_pic.css">
<div class="ShowBigPic">
	<div class="pre" onclick="up_show_pic()"></div>
    <div class="next" onclick="down_show_pic()"></div>
    <ul class="slidePic">
        $bigpichtml
    </ul>
</div>
<div class="ShowInFo">发布时间:<span>{$rsdb[posttime]}</span> 浏览:<span>{$rsdb[hits]}</span>次 评论:<span>{$rsdb[comments]}</span>条</div>
<div class="ListMorePic">
	<ul class="slideTxt">
        $sidepichtml
    </ul>
    <div class="Up_atc"><a href="javascript:;up_show_pic()">上一张</a></div>
    <div class="Down_atc"><a href="javascript:;down_show_pic()">下一张</a></div>
    <div class="back">$backPic</div>
    <div class="next">$nextPic</div>
</div>
<SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/blue/show_pic.js"></SCRIPT> 
<div class="AboutContent">
	<h3>{$fidDB[M_alias]}介绍</h3>
    <div class="cont">{$rsdb[content]}</div>
</div>
<div class="ListHotPic">
	<div class="head"><div class="tag">热图排行</div></div>
    <div class="cont">
<!--
EOT;
$ListHots=fetch_article($fid,"hot",5,46);
foreach($ListHots AS $key=>$rs){
print <<<EOT
-->
		<dl>
        	<dt><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" title='$rs[full_title]'><img src="$rs[picurl]" height="100"/></a></dt>
            <dd><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" title='$rs[full_title]'>$rs[title]</a></dd>
        </dl>
<!--
EOT;
}
print <<<EOT
-->
    </div>
</div>
<!--include
EOT;
//评论调用代码
if($webdb[showComment] && $fidDB[allowcomment] && !$rsdb[forbidcomment]){
	//if( $webdb[allowGuestComment] || (!$webdb[allowGuestComment]&&$lfjid) || (!$webdb[allowGuestComment]&&$id_array) ){
		@include(html("bencandy_tpl/comment"));
	//}
}print <<<EOT
include-->
<!--
EOT;
?>
-->
