<?php include 'header.tpl.php';?>
<div class="pMenu">
<li><a href="javascript:frmExecute('');">管理</a></li>
<?php if($get_act=="add"):?>
<li class="sel"><a href="javascript:frmExecute('add');">添加</a></li>
<?php else:?>
<li><a href="javascript:frmExecute('add');">添加</a></li>
<li class="sel"><a href="javascript:frmExecute('edit');">编辑</a></li>
<?php endif;?>
<li class="info"><a href="javascript:inc_show_help(221);" style="color:#ff0000">帮助</a></li>
</div>
<div class="pSearchDiv" id="objSearch" style="display:none">
<table class="sTab">
<tr><td>状态：<select name="s_state"></select>
　关键字：<input type="text" name="s_key" value="<?php echo $get_s_key?>">　<input type="button" name="s_btnok" value="查找" class="pBtn" onclick="frmExecute('')"> 　<input type="button" name="s_btnok" value="清空" class="pBtn" onclick="window.open('?','_self');"></td><tr>
</table>
</div>
<div>
<table class='pEditTable'>
<tr class='pTabTitRow'>
	<td class='pTabTitCol' colspan="2"></td></tr>
<tr><td class="pTabColName">标　题：</td><td class="pTabColVal"><input type="input" name="click_title" value="<?echo $arr_click["click_title"]?>" size=50></td></tr>
<tr><td class="pTabColName">监测时间：</td><td class="pTabColVal"><input type="text" name="click_starttime" value="<?php echo $arr_click["starttime"];?>" onfocus="setday(this);"> 到 <input type="text" name="click_endtime" value="<?php echo $arr_click["endtime"];?>" onfocus="setday(this);">&nbsp;&nbsp;&nbsp;&nbsp;<span class="pBetainfo">不限制的话可以为空</span></td></tr>
<tr><td class="pTabColName">状　态：</td><td class="pTabColVal">
<select name="click_state">
<?php
foreach($arr_state as $item=>$key){
	$str_sel="";
	if($key==$arr_click["click_state"]) $str_sel=" selected";
	echo "<option value='".$key."'".$str_sel.">".$item."</option>";
}
?>
</select>
</td>
</tr>
<tr><td class="pTabColName">跳转Url：</td><td class="pTabColVal"><input type="input" name="click_url" value="<?echo $arr_click["click_url"]?>" size=50>&nbsp;&nbsp;&nbsp;&nbsp;<span class="pBetainfo">页面监测不需要跳转URL可为空</span></td></tr>
<tr><td colspan=2 class="pTabSubmit"><input type="button" name="dosubmit" value="保存" class="pSubmit" onclick="frmExecute('save')"></td></tr>
</table>
</div>
<?php include 'footer.tpl.php';?>		