<?php include mayi_tpl('inc_header');?><script language="javascript" src="template/javascript.js"></script></head><body class="blue"><div class="container"><div id="main" class="main section-setting"><div class="clearfix main-inner"><div class="content"><div class="clearfix content-inner"><div class='location'><?=$location?></div><div class="content-main"><div class="content-main-inner"><div class="pwrap"><div class="pbody"><div class="cleafix pagetab-wrap"><ul class="pagetab"><li><a href="?m=info&l=normal&catid=<?=$catid?>" <?php if($l == 'normal'){?>class="current"<?php }?>><span>我发布的<?php echo $catname ? $catname : '信息'?></span></a></li><li><a href="?m=info&l=inormal&catid=<?=$catid?>" <?php if($l == 'inormal'){?>class="current"<?php }?>><span>审核中</span></a></li><li><a href="?m=info&l=tuiguang&catid=<?=$catid?>" <?php if($l == 'tuiguang'){?>class="current"<?php }?>><span>推广中</span></a></li>
<li><a class="addnew" href="<?=$mymps_global['SiteUrl']?>/<?=$mymps_global['cfg_postfile']?>?catid=<?=$catid?>" target="_blank"><span>发布<?php echo $catname ? $catname : '信息'?></span></a></li>
</ul></div><div id="msg_success"></div><div id="msg_error"></div><div id="msg_alert"></div><form method="post" action="?m=<?=$m?>&l=<?=$l?>&page=<?=$page?>" name="form1"><div class="datatablewrap"><div class="xinxi-guanli-box"><?php 
if($rows_num > 0){
$i=1; 
foreach($list as $art){
?><table width="100%" border="0" cellspacing="0" cellpadding="0" class="xinfabu prico"><tr class="xintit"><td colspan="3"><span class="czfr"><?php if($art['info_level'] > '0'){?><a title="<?php echo $art['info_level']==2?'取消':'设置'?>成交" class="dealme" href="?m=info&ac=deal&id=<?php echo $art['id']; ?>&info_level=<?php echo $art['info_level']; ?>&l=<?php echo $l;?>&page=<?php echo $page;?>" onClick="if(!confirm('<?php if($art['info_level']==1){?>确定要设置成交吗？联系方式将关闭。<?php }else{?>确定要取消成交吗？联系方式将恢复正常。<?php }?>'))return false;">&nbsp;</a> <a title="编辑" class="editme" href="<?=Rewrite('post',array('action'=>'edit','id'=>$art['id'],'cityid'=>$art['cityid']))?>" target="_blank">&nbsp;</a><?php }?><a title="删除" class="delme" href="?m=info&ac=del&id=<?php echo $art['id']; ?>&l=<?php echo $l;?>&page=<?php echo $page;?>" onClick="if(!confirm('您确定要删除这条信息吗?一旦删除将不可恢复'))return false;">&nbsp;</a>

</span><span class="xthpic"></span><span><b style="color:black;"><?=$art[cityname]?></b> 发布时间:<?php echo $art['begintime'];?></span><span><?php echo get_info_life_time($art['endtime']); ?></span><span>编号:<?php echo $art['id']; ?></span><span><!--浏览 <?php echo $art['hit']?> 次--></span></td></tr><tr><td class="t"><div class="title"><a href="<?=$art['uri']?>" target="_blank" class="img"><img src="<?php echo $art['img_path'] ? $art['img_path'] : '../images/nophoto.gif'?>" /></a><a href="<?=$art['uri']?>" target="_blank" style="float:left;" title="<?=$art['title']?>"><?=cutstr($art['title'],52)?></a><br><?php if(mgetcookie('refreshed'.$art['id']) == 1) echo '<span class="refreshed">已刷新</span>'; ?><?php if($art['ifred'] == 1) echo '<span class="fred">已套红</span>'; ?><?php if($art['ifbold'] == 1) echo '<span class="fbold">已加粗</span>'; ?> <?php echo $art['catname']?></div></td><td><?php if(empty($art['info_level'])){?><span class="examine"></span><b class="f14 red_f6">审核中</b><br /><p class="xsitxt">您知道吗？充值成为会员可加速通过审核哦^_^</p><?php }elseif($art['info_level']==2){?><span class="examine"></span><b class="f14 red_f6">已成交</b><?php if($art['endtime']){?><br /><p class="xsitxt" >信息成交于<?php echo GetTime($art['endtime']);?></p><?php }?><?php }elseif($art['endtime'] < $timestamp && $art['endtime'] && $mymps_global['cfg_info_if_gq'] != 1){?><span class="examine"></span><b class="f14 red_f6">显示中</b><br /><p class="xsitxt" >信息联系方式关闭，可使用刷新功能重新发布。</p><?php }else{?><span class="xianshi"></span><b class="f14 green">显示中</b><br /><?php if($art['upgrade_type_index']==2){?><span class="examine"></span><b class="f14 red_f6">首页置顶<?php if($art['upgrade_time_index'] != 0){ echo '至'.date("Y-m-d",$art['upgrade_time_index']);}?></b><br /><?php }?><?php if($art['upgrade_type']==2){?><span class="examine"></span><b class="f14 red_f6">大类置顶<?php if($art['upgrade_time'] != 0){ echo '至'.date("Y-m-d",$art['upgrade_time']);}?></b><br /><?php }?><?php if($art['upgrade_type_list']==2){?><span class="examine"></span><b class="f14 red_f6">小类置顶<?php if($art['upgrade_time_list'] != 0){ echo '至'.date("Y-m-d",$art['upgrade_time_list']);}?></b><br /><?php }?><?php }?></td>
<td class="w1"><?php if($art['info_level'] > 0){?>
<span class="refresh">
 <?php if($refreshtime >= $group['perday_fr_refresh']){?>
 <a onClick="alert('您今天的<?php echo $group['perday_fr_refresh']; ?>次免费刷新机会已经用完，刷新该信息将扣除<?php echo $mymps_global['cfg_member_info_refresh']; ?>个金币');" href="?m=info&ac=refresh&id=<?=$art[id]?>">刷新</a>
 <?php }else{ ?>
 <a onClick="<?php if($mymps_global['cfg_member_info_refresh']>0){?>if(!confirm('您今天还有<?php echo ($group['perday_fr_refresh']-$refreshtime);?>次免费刷新机会。'))return false;<?php }?>" title='刷新后信息靠前显示，相当于新发一条。' href="?m=info&ac=refresh&id=<?=$art[id]?>">刷新</a>
 <?php }?>
 </span>
 <span class="extension" ><a <?php if($art['ifbold'] == 1){?>onClick="alert('该信息的信息标题已被加粗过了，不能重复加粗。');return false;"<?php }else{?> onClick="if(!confirm('您当前拥有金币<?php echo $money_own; ?>个，加粗该信息标题将扣除您<?php echo $mymps_global['cfg_member_info_bold']; ?>个金币'))return false;" <?php }?>href="?m=info&ac=bold&id=<?=$art[id]?>&page=<?=$page?>">加粗</a></span>
<br /><span class="sticky" ><a title='置顶信息可使效率提示数倍' href="?m=info&ac=upgrade&id=<?=$art[id]?>">置顶</a></span><span class="extension precision" ><a class="on" <?php if($art['ifred'] == 1){?>onClick="alert('该信息的信息标题已被套红过了，不能重复套红。');return false;"<?php }else{?>onClick="if(!confirm('您当前拥有金币<?php echo $money_own; ?>个，套红该信息标题将扣除您<?php echo $mymps_global['cfg_member_info_red']; ?>个金币'))return false;"<?php }?> title='套红信息标题更吸引人们关注' href="?m=info&ac=red&id=<?=$art[id]?>&page=<?=$page?>">套红</a></span><?php }?>
<?php if($art['info_level'] > 0){?>
<br />
<?php if($art['baidued']!=1){?>
<span style="margin-left:-10px;" class="stickyBaidu" ><a title='将该信息URL推送给百度' href="?m=info&ac=baidu_post&id=<?=$art[id]?>&page=<?=$page?>">推送百度</a></span>
<?php }else{?>
<span style="margin-left:0px;" title='已推送给百度' class="stickyBaidued" >已推百度</span>
<?php }?>
<?php }?>
</td>
</tr><tr class="infotdno"><td colspan="3"></td></tr></table><?php 
}}
?></div><?php if($rows_num > 0){?><div class="clearfix datacontrol"><div class="dataaction"></div><div class="pagination"><?php echo page2(); ?></div></div><?php }else{?><div class="nodata">暂无记录</div><?php }?></div></form></div><div class="pfoot"><p><b>-</b></p></div></div></div></div></div></div></div></div><?php include mayi_tpl('inc_foot');?></div></body></html>