<input type="file" name="attach" rel="<?php echo $upkey; ?> " onchange="admin.upload('<?php echo $pk; ?> ',this)" urlquery='attach_type=feed_image&upload_type=image&thumb=1' style="width:350px;"></div> <div id='show_<?php echo $pk; ?> '> <?php if ($defaultS && is_numeric($defaultS)) { ?> <img src="<?php echo getimageurlbyattachid($defaultS); ?> " class="pic-size"> <?php } elseif (in_array($defaultS, array('level1.png', 'level2.png', 'level3.png', 'level4.png', 'level5.png', 'level6.png', 'level7.png', 'level8.png', 'level9.png', 'level10.png'))) { ?> <img src="__THEME__/image/level/<?php echo $defaultS; ?> " class="pic-size" /> <?php } ?> </div> <input name="<?php echo $pk;
<legend class="inter-txt">热门活动</legend> </fieldset> <ul class="adslist"> <?php if (is_array($user)) { $i = 0; $__LIST__ = $user; if (count($__LIST__) == 0) { echo ""; } else { foreach ($__LIST__ as $key => $vo) { ++$i; $mod = $i % 2; ?> <li><a href="<?php echo U('event/Index/eventDetail', 'id=' . $vo['id'] . '&uid=' . $vo['uid']); ?> "><img src="<?php echo getimageurlbyattachid($vo["coverId"]); ?> " /></a></li><?php } } } else { echo ""; } ?> </ul> </div> <script src="__APP__/login.js" type="text/javascript"></script>