<?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(214);" style="color:#ff0000">帮助</a></li>
</div>
<div>
<?php foreach($arr_temp as $item){ ?>
	<div class="me_box1">
		<li class="x_pic1" style="padding:0px"><a href="<?php echo WEB_URL;?>/index.php?app=temp&id=<?php echo $item["temp_id"];?>" target="_blank"><img src="<?php echo $item['pic'];?>"></a></li>
		<li class="x_tit1"><?php echo $item["temp_title"]?></li>
		<li>状态：<?php echo $item["state"];?></li>
		<li><span style="float:left"><font color="#ff0000"><?php echo $item["temp_hits"];?></font> 浏览</span><span style="float:right"><font color="#ff0000"><?php echo $item["temp_price"];?></font> RMB&nbsp;</span></li>
		<li class="x_1"><span style="float:left"><input type="checkbox" name="tempid[]" value="<?php echo $item["temp_id"];?>"></span><span><span style="float:right" onmousedown="frmSet('id','<?php echo $item['temp_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 }?>
</span></li>
	</div>
<?php }?></div>
<div class="pPage">
<?php echo $page_split_page;?>
</div>
<div class="pFootAct">
<li><input type='checkbox' name='fzidall' value='1' onclick="admin_row_selall(this.form,'fzidall','fzid');">全选　<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';?>		
