<?php include 'header.tpl.php';?>
<div class="pMenu">
<li class="sel"><a href="javascript:frmExecute('');">管理</a></li>
<li><a href="javascript:frmExecute('add');">添加</a></li>
<li class="info"><a href="javascript:inc_show_help(203);" style="color:#ff0000">帮助</a></li>
</div>
<div>
<table class='pTable'>
<tr class='pTabTitRow'>
	<td class='pTabTitCol'></td><td class='pTabTitCol'>名称</td><td class='pTabTitCol'>收费(RMB)</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["vip_id"]?>" onmouseover="admin_row_mouseover(<?php echo $item["vip_id"];?>)" onmouseout="admin_row_mouseout(<?php echo $item["vip_id"];?>);">
	<td class='pTabCol' width="60"><input type='checkbox' name='vipid[]' value='<?php echo $item['vip_id'];?>' onclick="admin_row_sel(this.checked,<?php echo $item["vip_id"]?>);"></td><td class='pTabCol'><?php echo $item['vip_name'];?></td><td class='pTabCol'><?php echo $item['vip_price'];?></td><td class='pTabCol'><?php echo $item['vip_days'];?></td>
	<td class='pTabCol' onmousedown="frmSet('id','<?php echo $item['vip_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='vipidall' value='1' onclick="admin_row_selall(this.form,'vipidall','vipid');">全选　<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';?>		

