<!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>
<title><?php echo $this->_var['cfg']['webtitle']; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="author" content="俏迅问卷调查管理系统">
<meta name="description" content="俏迅问卷调查管理系统" />
<link href="images/index.css" rel="stylesheet" type="text/css">
<script src="js/check.js"></script>
</head>
<body>

<table cellSpacing=0 cellPadding=0 align=center width="960px">
  <tr>
    <td colSpan=3 id="banner"><?php echo $this->_var['cfg']['webtitle']; ?></td>
  </tr>
</table>
<table width="960px" align="center" bgcolor="#FAFAFA">
<form id="form1" name="fm" method="post" action="?action=index&do=vote_add" onsubmit="return checkForm(this)"> 
 <tr>
  <td id="info" colspan="6"></td>
 </tr>
 <tr>
  
 </tr>

 <tr onMouseOver="this.bgColor='#BBFFBB'" onMouseOut="this.bgColor='#BBFFBB'">
  <td colspan="4"><table width="98%" cellpadding="0" cellspacing="5" align="center">
    <tr>
      <td><b> <?php
						$sql="select * from votetitle";
						$rs=mysql_query($sql);
						$row=mysql_fetch_assoc($rs);
						echo $row["votetitle"];
	          ?>	
			 </b></td>
    </tr>
	<tr></tr><tr></tr>
	<?php $_from = $this->_var['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'row');if (count($_from)):
    foreach ($_from AS $this->_var['row']):
?>
    <tr>
	
      <td>
	  <input id='voteItem1i0311' type='radio' name="itm" value="<?php echo $this->_var['row']['id']; ?>"/>  <?php echo $this->_var['row']['item']; ?> </td>
    </tr>
	<tr></tr><tr></tr>
	 <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
   </table>
  </td>
 </tr>
<tr></tr><tr></tr>
  <tr>
    <td colspan="5" align="right">
	<input type="submit" name="Submit" value="submit"/>  <input class='memberRegBtn g_ibutton' onclick="location.href='?action=index&do=vote_result'"  type='button' value='result'>
	<input name="rsCount" type="hidden" id="rsCount" value="" /></td>
  </tr>
  <tr>
    <td colspan="5" align="center"></td>
  </tr>

</form>
</table>

<table cellSpacing=0 cellPadding=0 align=center background="images/qbj.jpg" width="960px">
  <tr>
    <td height=60 align="center"><a href="http://www.dehome.net/" target="_blank">俏迅</a> </td>
  </tr>
</table>

</body>
</html>