<?php if(!defined('IN_SITETEAM')) {exit('Access Denied');}?> <?php include templates("header");?> <?php if($products_pic_num > 0){?> <script type="text/javascript"> lb_path = "<?=WEB_PATH?>/tool/lightbox/"; </script> <link rel="stylesheet" href="<?=WEB_PATH?>/tool/lightbox/css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="<?=WEB_PATH?>/tool/lightbox/js/prototype.js"></script> <script type="text/javascript" src="<?=WEB_PATH?>/tool/lightbox/js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="<?=WEB_PATH?>/tool/lightbox/js/lightbox.js"></script> <?php }?> <div id="main"> <?php if(!empty($products_banner) && !empty($products_banner_link)){?> <div class="types" style="margin-top:20px"> <a href="<?=$products_banner_link?>"><img border="0" width="927" height="150" style="border: 1px solid #CCCCCC;" src="<?=$products_banner?>" /></a> </div> <?php }?> <div class="content" id="content"> <div class="typesTable"> <div class="typesTableIco"><div class="title"> <h2><?=$name?><?php if(!empty($keywords)){?><strong>| <?=$keywords?></strong><?php }?></h2> </div></div> </div> <?php if($products_pic_num > 0 && (empty($pic_show) || $pic_show == "1")){?> <div class="types"> <div class="operation" style="width:655px"> <ul><marquee behavior="alternate" onmouseover="this.stop()" onmouseout="this.start()"> <?php foreach($products_pic as $k => $v) {if(empty($v))continue;?> <li id="tab_products_<?=$k?>"><a href="<?=$v?>" rel="lightbox[roadtrip]"><img width="118" height="70" src="<?=$v?>" alt="<?=$pname?>"></a></li> <?php }?></marquee> </ul> </div> </div> <?php }?> <div class="xtypesContent"> <?=$content?> </div> <?php if(!empty($pic_show) && $products_pic_num > 0 && $pic_show == "8"){?> <div class="types"> <div style="width:655px"> <ul> <?php foreach($products_pic as $k => $v) {if(empty($v))continue;?> <li><a href="<?=$v?>" rel="lightbox[roadtrip]"><img class="piclist" src="<?=$v?>" alt="<?=$pname?>"></a></li> <?php }?> </ul> </div> </div> <?php }?> </div> <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> <?php if(is_array($recent_links) && count($recent_links) > 0) {?> <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 foreach($recent_links as $k=>$v){?> <li><a href="<?=$v[1]?>" target="_blank"><?=$v[0]?></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> <?php }?> </div> </div> <script type="text/javascript"> //重新设置图片大小 防止撑破表格 function ImgZoom(Id){ var w = $(Id).width; var m = 655; if(w < m){ return; }else{ var h = $(Id).height; $(Id).height = parseInt(h*m/w); $(Id).width = m; } } window.onload = function(){ var Imgs = document.getElementById("content").getElementsByTagName("img"); var i=0; for(;i<Imgs.length;i++) { ImgZoom(Imgs[i]); } } </script> <?php include templates("footer");?>