<?php defined('IN_DESTOON') or exit('Access Denied');?><?php include template('header', $template);?>
<div class="dsn" id="pos_show">您当前的位置：<a href="<?php echo $COM['linkurl'];?>">首页</a> &raquo; <a href="<?php echo $MENU[$menuid]['linkurl'];?>"><?php echo $MENU[$menuid]['name'];?></a><?php if($itemid) { ?> &raquo; <?php echo $title;?><?php } ?></div>
<div class="main_head"><div><strong><?php echo $MENU[$menuid]['name'];?></strong></div></div>
<div class="main_body">
<?php if($itemid) { ?>
<div class="title"><?php echo $title;?></div>
<div class="info">更新时间：<?php echo $editdate;?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;浏览次数：<?php echo $hits;?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php if($homepage) { ?><a href="<?php echo $homepage;?>" target="_blank">官方主页</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php } ?><a href="<?php echo $MENU[$menuid]['linkurl'];?>">返回列表</a></div>
<?php if($CP) { ?><?php include template('property', 'chip');?><?php } ?>
<div class="content" id="content"><div class="t_c"><img src="<?php echo $thumb;?>" style="border:#CCCCCC 1px solid;padding:2px;margin:8px 0 8px 0;" alt="" title="<?php echo $title;?>"/></div><?php echo $content;?></div>
<script type="text/javascript">
var content_id = 'content';
var img_max_width = 600;
</script>
<script type="text/javascript" src="<?php echo DT_PATH;?>file/script/content.js"></script>
</div>
<?php if($could_comment && in_array($moduleid, explode(',', get_module_setting(3, 'comment_module')))) { ?>
<div id="comment_div" style="display:;">
<div class="main_head"><div><span class="f_r px12">共<span id="comment_count">0</span>条&nbsp;&nbsp;</span><strong><span id="message_title">相关评论</span></strong></div></div>
<div class="main_body"><iframe src="<?php echo $MODULE['3']['linkurl'];?>comment.php?mid=<?php echo $moduleid;?>&itemid=<?php echo $itemid;?>" id="destoon_comment" style="width:100%;" scrolling="no" frameborder="0"></iframe>
</div>
</div>
<?php } ?>
<?php } else { ?>
<table cellpadding="0" cellspacing="0" width="100%">
<?php if(is_array($lists)) { foreach($lists as $k => $v) { ?>
<?php if($k%3==0) { ?><tr align="center"><?php } ?>
<td valign="top" width="33%" height="100">
<div class="thumb" onmouseover="this.className='thumb thumb_on';" onmouseout="this.className='thumb';">
<a href="<?php echo $v['linkurl'];?>"><img src="<?php echo imgurl($v['thumb'], 1);?>" width="180" height="60" alt="<?php echo $v['alt'];?>" title="<?php echo $v['alt'];?>"/></a>
<div><a href="<?php echo $v['linkurl'];?>" title="<?php echo $v['alt'];?>"><?php echo $v['title'];?></a></div>
</div>
</td>
<?php if($k%3==2) { ?></tr><?php } ?>
<?php } } ?>
</table>
<div class="pages"><?php echo $pages;?></div>
<?php } ?>
</div>
<?php include template('footer', $template);?>