<?php if(!defined('IN_SITETEAM')) {exit('Access Denied');}?> <?php include templates("header");?> <div id="main"> <div class="sidebar"> <?php if(!empty($anonymity) && $anonymity == 1){?> <div class="typesTable"> <div class="typesTableIco"><h2>让更多的人找到你！</h2></div> </div> <div class="groupFrame"> <a href="post.php?action=products"><img src="skin/<?=$styleid?>/info.gif"></a> </div> <?php }?> <div class="typesTable"> <div class="typesTableIco"><h2><?=$sidebar_name?></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 foreach($products_category as $k=>$v){?> <li><a href="<?=WEB_PATH?>/?<?=$web_products_list_url?>-category_<?=$k?>.html"><?php (strlen($v['name'])>20) ? print(str_sub($v['name'], 18)) : print($v['name']); ?></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><?php if(!empty($category)){?><?=$products_category[$category]['name']?><?php }else{?><?=$body_name?><?php }?><strong>| <?=$body_title?></strong></h2> </div> </div> </div> <div class="products"> <div class="operation"> <ul> <?php if (is_array($products_list) && count($products_list) > 0) { ?> <table <?php if(count($products_list)>5){?>width="100%"<?php }?>border="0" cellspacing="2" cellpadding="0"> <tr> <?php foreach ($products_list as $k => $v) {?> <?php if($k>0 && $k%5 ==0){?></tr><tr><?php }?> <td <?php if($k%5 ==0){?>align="left"<?php }elseif($k%5 ==4){?>align="right"<?php }else{?>align="center"<?php }?> valign="top"><div><a href="<?=WEB_PATH?>/?<?=$web_products_url?>-<?=$v['category']?>-<?=$v['key']?>.html" title="<?=$v['name']?>"><img class="ptitle" alt="<?=$v['pname']?>" width="118" height="70" src="<?php if(!empty($v['ptitle'])){?><?=$v['ptitle']?><?php }else{?>skin/<?=$styleid?>/pic_commend_i01.gif<?php }?>"></a></div><div class="pname"><a href="<?=WEB_PATH?>/?<?=$web_products_url?>-<?=$v['category']?>-<?=$v['key']?>.html"><?=$v['name']?></a></div></td> <?php }?> </tr> </table> <?php }else{?> <li><img alt="还没有发布你的产品信息" width="118" height="70" src="skin/<?=$styleid?>/pic_commend_i01.gif"></li> <?php }?> </ul> </div> </div> <?php $m = $multipage;?> <?php $category_url = empty($category) ? '' : "category_{$category}-";?> <?php if($m['total_row'] > $limit) {?> <div class="pages_btns"> <div class="pages" style="margin-left: 5px;margin-top: 5px;"> <em>&nbsp;<?=$m['total_row']?>&nbsp;</em> <a href="<?=WEB_PATH?>/?<?=$web_products_list_url?>-<?=$category_url?><?=$category_url?>page_1.html" class="first">1 ...</a> <a href="<?=WEB_PATH?>/?<?=$web_products_list_url?>-<?=$category_url?><?=$category_url?>page_<?=$m['up_page']?>.html" class="prev">&lsaquo;&lsaquo;</a> <?php if(count($m['link']))foreach($m['link'] as $k => $n) {?> <?php if ($n != $m['current_page']){?> <a href="<?=WEB_PATH?>/?<?=$web_products_list_url?>-<?=$category_url?>page_<?=$n?>.html"> <?=$n?> </a> <?php }else{ ?> <strong> <?=$n?> </strong> <?php } ?> <?php } ?> <a href="<?=WEB_PATH?>/?<?=$web_products_list_url?>-<?=$category_url?>page_<?=$m['next_page']?>.html" class="next">&rsaquo;&rsaquo;</a> <a href="<?=WEB_PATH?>/?<?=$web_products_list_url?>-<?=$category_url?>page_<?=$m['total_page']?>.html" class="last">... <?=$m['total_page']?></a> </div> </div> <?php } ?> </div> </div> <?php include templates("footer");?>