<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加在线投票 {#$LA_poweredby#} -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="{#$base_weburl#}/templates/adminsys/css/list.css" />
<script language=javascript src="/js/date/changedate.js"></script>
<script language="javascript">
function submitFun()
{
		var idvot_title 		= document.getElementById('vot_title');
		var idvot_starttime 			= document.getElementById('vot_starttime');
		var idvot_endtime 			= document.getElementById('vot_endtime');
		var idsuggestionInfo 	= document.getElementById('suggestionInfo');

		if(idvot_title.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：主题名称不能为空！请输入！';
			idvot_title.focus();
			return false;
		}else if(idvot_starttime.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：开始日期不能为空！请输入！';
			idvot_starttime.focus();
			return false;
		}else if(idvot_endtime.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：结束日期不能为空！请输入！';
			idvot_endtime.focus();
			return false;
		}
}
</script>
</head>
<body>

<table  cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr><td><table cellpadding="0" cellspacing="0" border="0" style="width:100%; color:#000000; font-weight:normal; background-color:#3EC3EF;"  >
  <tr>
    <td>&nbsp;<a href="{#$base_weburl#}/adminsys/index.php?load=vote&act=infolist" ><img src="{#$base_weburl#}/uploads/sys/h.gif"  width="15" border="0">在线投票</a> | 添加在线投票</td>
    <td>&nbsp;</td>
   <td align="right"><a href="http://help.gv32.com/type_vote-add.html" target="_blank"><img src="{#$base_weburl#}/images/sys/adminhelp.png"  width="21" border="0"></a>&nbsp;&nbsp;</td>
  </tr>
</table>
</td></tr>

<tr><td>
<div class="list">
<form action="{#$base_weburl#}/adminsys/index.php?load=vote&act=addinfo" method="post" onsubmit="return submitFun(this)" enctype="multipart/form-data" name="formSub">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<tr>
<th colspan="2">添加在线投票</th>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>主题名称：</strong></td>
<td class="tdd"><input name="vot_title" id="vot_title" value="" type="text"  style="width:250px;" ></td>
</tr>
<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>开始日期：</strong></td>
<td class="tdd"><input name="vot_starttime" id="vot_starttime" value="" type="text" style="width:250px;" onClick='popUpCalendar(this, this, "yyyy-mm-dd")' ></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>结束日期：</strong></td>
<td class="tdd"><input name="vot_endtime" id="vot_endtime" value="" type="text" style="width:250px;" onClick='popUpCalendar(this, this, "yyyy-mm-dd")' ></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>能否多选：</strong></td>
<td class="tdd"><input type="radio" name="vot_selecttype" value="1"  checked="true"  />多选方式&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="vot_selecttype" value="2"  />单选方式</td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"><div id="suggestionInfo">&nbsp;</div></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"> <input name="submit" id="submit" type="submit" value="添 加" ></td>
</tr>
</table>
</form>
</div>
</td></tr>
<tr><td></td></tr>
</table>


</body>
</html>