<?php if(!defined('IN_SITETEAM')) {exit('Access Denied');}?> <?php include templates("header");?> <div id="main"> <div class="sidebar"> <div class="typesTable" style="margin-top:5px"> <div class="typesTableIco"><h2>本栏推荐</h2></div> </div> <div class="groupFrame"> <div class="groupFrameTop"> <em><img src="skin/<?=$styleid?>/bg_frame_i01.jpg"></em> <span><img src="skin/<?=$styleid?>/bg_frame_i02.jpg"></span> </div> <div class="groupFrameMenu"> <ul id="nav"> <?php if(is_array($top_articles) && count($top_articles) > 0) foreach($top_articles as $k=>$v){?> <li><a href="<?=WEB_PATH?>/?<?=$category?>-<?=$v['key']?>.html"><?=str_sub($v['body_name'], 20)?></a></li> <?php } else {?> <li><a href="#"><?=$web_title?></a></li> <?php }?> </ul> </div> <div class="groupFrameDown"> <em><img src="skin/<?=$styleid?>/bg_frame_i03.jpg"></em> <span><img src="skin/<?=$styleid?>/bg_frame_i04.jpg"></span> </div> </div> <div class="typesTable" style="margin-top:5px"> <div class="typesTableIco"><h2>本篇导航</h2></div> </div> <div class="groupFrame"> <div class="groupFrameTop"> <em><img src="skin/<?=$styleid?>/bg_frame_i01.jpg"></em> <span><img src="skin/<?=$styleid?>/bg_frame_i02.jpg"></span> </div> <div class="groupFrameMenu"> <ul id="nav"> <?php if (is_array($navdir) && count($navdir) > 0) foreach ($navdir as $k => $v) {?> <li><a href="#<?=rawurlencode($v)?>"><?php (strlen($v)>20) ? print(str_sub($v, 20)) : print($v); ?></a></li> <?php } else {?> <li><a href="#"><?=$web_title?></a></li> <?php }?> </ul> </div> <div class="groupFrameDown"> <em><img src="skin/<?=$styleid?>/bg_frame_i03.jpg"></em> <span><img src="skin/<?=$styleid?>/bg_frame_i04.jpg"></span> </div> </div> <div class="typesTable" style="margin-top:5px"> <div class="typesTableIco"><h2>相关资料</h2></div> </div> <div class="groupFrame"> <div class="groupFrameTop"> <em><img src="skin/<?=$styleid?>/bg_frame_i01.jpg"></em> <span><img src="skin/<?=$styleid?>/bg_frame_i02.jpg"></span> </div> <div class="groupFrameMenu"> <ul id="nav"> <?php if(is_array($recent_links) && count($recent_links) > 0) foreach($recent_links as $k=>$v){?> <li><a href="<?=$v[1]?>" target="_blank"><?=$v[0]?></a></li> <?php } else {?> <li><a href="http://<?=$web_url?>"><?=$web_title?></a></li> <?php }?> </ul> </div> <div class="groupFrameDown"> <em><img src="skin/<?=$styleid?>/bg_frame_i03.jpg"></em> <span><img src="skin/<?=$styleid?>/bg_frame_i04.jpg"></span> </div> </div> </div> <div class="content"> <div class="typesTable"> <div class="typesTableIco"><div class="title"> <h2><?=$body_name?><strong> | <?=$body_title?></strong></h2> </div></div> </div> <div class="xtypesContent"> <?=$content?> </div> </div> </div> <?php include templates("footer");?>