<?php include 'header.tpl.php';?>
<style>
.me_main{float:left;width:90%}
.me_main .me_info{float:left;width:90%;text-align:left;padding-left:5px;margin-top:5px;font-weight:bold}
.me_main .me_beta{float:left;width:90%;text-align:left;padding-left:35px;margin-bottom:10px;margin-top:5px;color:#888888}
.me_main .me_content{float:left;width:90%;text-align:left;padding:8px 0px 5px 30px}
.me_main .me_act{float:left;width:90%;text-align:left;padding:8px;border-bottom:1px #cccccc solid}
.me_return{float:left;width:90%;text-align:left;padding:8px 0px 5px 0px}
.me_return .return_content{text-align:left;float:left;padding:5px 0px 0px 30px;width:90%;color:#ff0000}
.me_return .return_beta{width:90%;text-align:left;float:left;padding:5px 0px 0px 30px;color:#888888}
</style>
<script>
function me_return(){
	var id=document.frmMain.id.value;
	dialog_show("msgreturn","回复留言","?act=edit&id="+id,true);
}
</script>
<div class="pMenu">
<li  class="sel"><a href="javascript:frmExecute('');">管理</a></li>
<li class="info"><a href="javascript:inc_show_help(219);" style="color:#ff0000">帮助</a></li>
</div>

<div class='me_main'>
	<?php foreach($arr_msgbook as $item){ ?>
	<div class="me_info"><input type="checkbox" name="msgid[]" value="<?php echo $item["msg_id"];?>"> 姓名：<?php echo $item["msg_name"]?>　　来自：<?php echo $item["msg_area"]?>　　电话：<?php echo $item["msg_tel"]?></div>
	<div class="me_content"><?php echo $item["msg_msg"]?></div>
	<div class="me_beta">时间：<?php echo $item["msg_addtime"]?>　　IP：<?php echo $item["msg_ip"]?></div>
	<div class="me_return" id="id_return_<?php echo $item["msg_id"];?>">
	<?php if($item["msg_remsg"]!=""){?>
		<div class="return_content"><?php echo $item["msg_remsg"]?></div>
		<div class="return_beta">时间：<?php echo $item["msg_retime"]?></div>
	<?php }?>
	</div>
	<div class="me_act" onmousedown="frmSet('id','<?php echo $item['msg_id'];?>')"><a href="javascript:me_return();">回复</a>　<a href="javascript:frmExecute('del')">删除</a></div>
	<?php }?>
</div>
<div class="pPage">
<?php echo $page_split_page?>
</div>
<div class="pFootAct">
<li><input type='checkbox' name='msgidall' value='1' onclick="admin_row_selall(this.form,'msgidall','msgid');">全选　<select name="selact">
	<option value="">--操作--</option>
	<option value="del_sel">删除</option>
	</select>
	&nbsp;<input type="button" name="btnExe" value="执行" onclick="frmExecute(document.frmMain.selact.value);" class="pBtn"></li>
</div>

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