<?php include 'header.tpl.php';?>
<style>
.me_box1{float:left;width:160px;text-align:left;padding:0px 0px 0px 0px;overflow:hidden;border:1px #C0C0C0 solid;margin:10px 5px 0px 5px;color:#636768}
.me_box1 .x_pic1{width:160px;padding:0px}
.me_box1 .x_pic1 img{width:160px;height:135px;}
.me_box1 .x_tit1{font-weight:bold;color:#333333}
.me_box1 li{float:left;width:150px;padding:5px 0px 3px 10px}
.me_box1 .x_1{background:#E8E8E8}
img{border:0px}
</style>
<div class="pMenu">
<li class="sel"><a href="javascript:frmExecute('');">管理</a></li>
<?php if($obj_ctl_limit->chk_act("edit")){?><li><a href="javascript:frmSet('id',0);frmExecute('edit');">添加</a></li><?php }?>
<li class="info"><a href="javascript:inc_show_help(215);" style="color:#ff0000">帮助</a></li>
</div>
<div>
<?php foreach($arr_site as $item){ ?>
	<div class="me_box1">
		<li class="x_pic1" style="padding:0px"><a href="<?php echo WEB_URL;?>/index.php?app=site&id=<?php echo $item["site_id"];?>" target="_blank"><img src="<?php echo $arr_temp["id_".$item['site_temp_id']]["temp_pic"];?>"></a></li>
		<li class="x_tit1"><?php echo $arr_company["id_".$item["site_user_id"]]["company_name"];?></li>
		<li>状态：<?php echo ($item["site_issel"]==1)? "启用":"<font color='#ff000'>未启用</font>";?></li>
		<li class="x_1"><span style="float:left"><input type="checkbox" name="siteid[]" value="<?php echo $item["site_id"];?>"></span><span><span style="float:right" onmousedown="frmSet('id','<?php echo $item['site_id'];?>')">
		<?php if($obj_ctl_limit->chk_act("cfg")){?><a href="javascript:frmExecute('cfg');">配置</a>&nbsp;<?php }?>
		<?php if($obj_ctl_limit->chk_act("edit")){?><img src="../images/b_edit.png" onclick="frmExecute('edit');" class="pImgbtn" title="编辑"><?php }?>
		<?php if($obj_ctl_limit->chk_act("del")){?>　<img src="../images/b_drop.png" onclick="frmExecute('del');" class="pImgbtn" title="删除"><?php }?>
</span></li>
	</div>
<?php }?></div>
<div class="pPage">
<?php echo $page_split_page;?>
</div>
<div class="pFootAct">
<li><input type='checkbox' name='siteidall' value='1' onclick="admin_row_selall(this.form,'siteidall','siteid');">全选　<select name="selact">
	<option value="">--操作--</option>
	<?php if($obj_ctl_limit->chk_act("del")){?><option value="del_sel">删除</option><?php }?>
	</select>
	&nbsp;<input type="button" name="btnExe" value="执行" onclick="frmExecute(document.frmMain.selact.value);" class="pBtn"></li>
</div>

<?php include 'footer.tpl.php';?>		
