<?php include 'header.tpl.php';?>
<style>
.me_model{float:left;width:300px;padding:10px 0px 0px 10px}
.me_model .pic{float:left;width:80px}
.me_model .tit{float:left;width:210px;text-align:left;color:#0000ff}
.me_model .intro{float:left;width:210px;text-align:left;color:#555555}
.me_model .act{float:left;width:190px;text-align:left;padding-left:20px}
</style>
<div class="pMenu">
<?php foreach($arr_model as $item){?>
<li <?php if($item["model_id"]==$get_model_id) echo 'class="sel"';?>><a href="javascript:frmSet('model_id','<?php echo $item["model_id"];?>');frmExecute('');"><?php echo $item["model_name"];?></a></li>
<?php }?>
<li class="info"><a href="javascript:inc_show_help(200);" 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></tr>
	<?php foreach($arr_page as $item){ ?>
	<tr class='pTabRow' id="id_row_<?php echo $item["page_id"]?>" onmouseover="admin_row_mouseover(<?php echo $item["page_id"];?>)" onmouseout="admin_row_mouseout(<?php echo $item["page_id"];?>);">
	<td class='pTabCol' width="60"><input type='checkbox' name='pageid[]' value='<?php echo $item['page_id'];?>' onclick="admin_row_sel(this.checked,<?php echo $item["page_id"]?>);"></td><td class='pTabCol'><?php echo $item['model_name'];?></td><td class='pTabCol'><?php echo $item['page_name'];?></td>
	<td class='pTabCol'><?php echo $item['page_url'];?></td>
	<td class='pTabCol' onmousedown="frmSet('id','<?php echo $item['page_id'];?>')">
	<?php if($obj_ctl_limit->chk_act("sort")){?>
	<img src="../images/up_1.gif" onclick="javascript:frmExecute('sort_up');" class="pImgbtn" title="向上">　
	<img src="../images/down_1.gif" onclick="javascript:frmExecute('sort_down');" class="pImgbtn" title="向下">　
	<?php }?>
	<?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='pageidall' value='1' onclick="admin_row_selall(this.form,'pageidall','pageid');">全选　<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">&nbsp;<input type="button" name="btnExe" value="添加" onclick="frmExecute('add');" class="pBtn"></li>
</div>

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