<?php include 'header.tpl.php';?>
<div class="pMenu">
<li class="sel"><a href="javascript:frmExecute('');">管理</a></li>
<li><a href="javascript:frmSet('id',0);frmExecute('edit');">添加</a></li>
<li class="info"><a href="javascript:inc_show_help(207);" style="color:#ff0000">帮助</a></li>
</div>
<div>
<table class='pTable'>
<tr class='pTabTitRow'>
	<td class='pTabTitCol'></td><td class='pTabTitCol'>企业</td><td class='pTabTitCol'>域名</td><td class='pTabTitCol'>有效期</td><td class='pTabTitCol'>状态</td><td class='pTabTitCol'>操作</td></tr>
	<?php foreach($arr_vip as $item){ ?>
	<tr class='pTabRow' id="id_row_<?php echo $item["domain_id"]?>" onmouseover="admin_row_mouseover(<?php echo $item["domain_id"];?>)" onmouseout="admin_row_mouseout(<?php echo $item["domain_id"];?>);">
	<td class='pTabCol' width="60"><input type='checkbox' name='domainid[]' value='<?php echo $item['domain_id'];?>' onclick="admin_row_sel(this.checked,<?php echo $item["domain_id"]?>);"></td><td class='pTabCol'><a href="<?php echo WEB_URL."/index.php?app=companyview&id=".$item["domain_source_id"];?>" target='_blank'><?php echo $arr_company["id_".$item["domain_source_id"]];?></a></td><td class='pTabCol'><a href="<?php echo $item["domain_url"];?>" target="_blank"><?php echo $item['domain_url'];?></a></td><td class='pTabCol'><?php echo $item['starttime']." - ".$item['endtime'];?></td><td class='pTabCol'><?php echo $item['state'];?></td>
	<td class='pTabCol' onmousedown="frmSet('id','<?php echo $item['domain_id'];?>')">
	<?php if($obj_ctl_limit->chk_act("edit")){?><img src="../images/b_edit.png" onclick="javascript:frmExecute('edit');" class="pImgbtn" title="编辑"><?php }?>
	<?php if($obj_ctl_limit->chk_act("del")){?>　<img src="../images/b_drop.png" onclick="javascript:frmExecute('del');" class="pImgbtn" title="删除"><?php }?>
	</td></tr>
	<?php }?>
</table>
</div>
<div class="pPage">
<?php echo $page_split_page;?>
</div>
<div class="pFootAct">
<li><input type='checkbox' name='domainidall' value='1' onclick="admin_row_selall(this.form,'domainidall','domainid');">全选　<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';?>		

