<?php defined('IN_DESTOON') or exit('Access Denied');?> <div class="photo">
<?php $tags=tag("moduleid=12&condition=status>2 and username='$username'&pagesize=".$main_num[$HM]."&order=addtime desc&fields=itemid,title,linkurl,thumb,addtime,items,open&template=null");?>
<?php if(is_array($tags)) { foreach($tags as $i => $t) { ?>
<?php if($i%4==0) { ?><?php } ?>
<div class="thumb" onmouseover="this.className='thumb thumb_on';" onmouseout="this.className='thumb';">
<a href="<?php if($homeurl) { ?><?php echo $t['linkurl'];?><?php } else { ?><?php echo userurl($username, 'file=photo&itemid='.$t['itemid'], $domain);?><?php } ?>"><img src="<?php echo $t['thumb'];?>" width="150" height="225" alt="<?php echo $t['alt'];?>" title="<?php echo $t['alt'];?>"/></a>

</div>
<?php if($i%4==3) { ?><?php } ?>
<?php } } ?>
</div>
   <div class="top"></div>
   <div class="liance"><?php echo $COM['shengjmys'];?></div>
</div>