<?php
@include(html("guide"));
?>
<!--
<?php
print <<<EOT
--> 
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/sp/list.css">
<div class="SpContainer">
	<div class="Main">
<!--
EOT;
foreach($listdb_moresort AS $key=>$rss){
$morelist="";
foreach($rss[article] AS $key1=>$rs){
$morelist.="<div class='list'>\r\n<dl>\r\n<dt><a href='showsp.php?fid=$rs[fid]&id=$rs[id]' title='$rs[full_title]'><span><img src='$rs[picurl]' onerror=\"this.src='$webdb[www_url]/images/default/noimg.jpg'\"/></span></a></dt>\r\n</dl>\r\n<div class='title'>$rs[title]</div>\r\n</div>\r\n";
}
print <<<EOT
-->
		<div class="sortBox">
			<div class="head"><span>$rss[name]</span><a href="listsp.php?fid=$rss[fid]">更多&gt;&gt;</a></div>
			<div class="cont">
				$morelist
			</div>
		</div>
<!--
EOT;
}
if($listdb){
$thislist="";
foreach($listdb AS $key=>$rs){
$thislist.="<dl>\r\n<dt><a href='showsp.php?fid=$rs[fid]&id=$rs[id]'><img src='$rs[picurl]' onerror=\"this.src='$webdb[www_url]/images/default/noimg.jpg'\"/></a></dt>\r\n<dd><div><a href='showsp.php?fid=$rs[fid]&id=$rs[id]'>$rs[title]</a></div><p>$rs[about]</p><span>{$rs[posttime]}</span></dd>\r\n</dl>\r\n";
}
$showpage=$showpage?"<div class='ShowPage'>".$showpage."</div>":"";
print <<<EOT
-->
		<div class="ListSp">
			<div class="head"><span>专题列表</span></div>
			<div class="cont">
				$thislist
			</div>
			$showpage
		</div>
<!--
EOT;
}print <<<EOT
-->
	</div>
	<div class="Side">
		<div class="SideBox">
			<div class="head"><span>热门专题</span></div>
			<div class="cont">
				<script src="$webdb[www_url]/do/jsspecial.php?fid=$fid&type=hot&rows=$webdb[JsListRows]&leng=$webdb[JsListLeng]"></script>
			</div>
		</div>
		<div class="SideBox">
			<div class="head"><span>推荐专题</span></div>
			<div class="cont">
				<script src="$webdb[www_url]/do/jsspecial.php?fid=$fid&type=com&rows=$webdb[JsListRows]&leng=$webdb[JsListLeng]"></script>
			</div>
		</div>
		<div class="SideAd">
			<a href="#"><img src="$webdb[www_url]/images/sp/ad.png"/></a>
		</div>
	</div>
</div>
<script type="text/javascript">
$('.Main img').hover(
	function(){
		$(this).animate({"max-width":"120%","max-height":"120%"},100);
	},
	function(){
		$(this).animate({"max-width":"100%","max-height":"100%"},100);
	}
);
</script>
<!--
EOT;
?>
-->