<?php require_once('../../include/class.inc.php'); 
$VoteID=$_GET["VoteID"];
$result=$my->data_select('voteclass','VoteID='.$VoteID,'VoteID','','');
$rs=mysql_fetch_array($result);
?>
<!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=gb2312" />
<link rel="stylesheet" href="../inc/css.css" type="text/css" />
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE5 {color: #FFFFFF; font-weight: bold; }
.STYLE6 {color: #FF0000}
-->
</style>
</head>

<body>
<form method="post" action="classup_save.php?VoteID=<?php echo $rs["VoteID"];?>">
  <table width="1052" border="0" align="center" cellpadding="2" cellspacing="1" bordercolor="#799AE1" class="tableBorder">
    <tbody>
      <tr bgcolor="#CCCCCC">
        <td height="20" colspan="2" bgcolor="#4455aa"><div align="center" class="STYLE5">
            <div align="left">修改投票分类</div>
        </div></td>
      </tr>
      <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow"><div align="center">主题</div></td>
        <td align="center" class="txlrow"><div align="left">
            <input name="VoteName" type="text" id="VoteName" value="<?php echo $rs["VoteName"];?>" size="40" />
            <span class="STYLE6">*</span></div></td>
      </tr>
      <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow"><div align="center">选项</div></td>
        <td width="943" align="center" class="txlrow"><div align="left">
	<input name="class" type="radio" id="radio" value="radio" <?php if($rs["class"]=="radio"){echo "checked=checked";}?>/>单选
	<input name="class" type="radio" id="radio" value="checkbox" <?php if($rs["class"]=="checkbox"){echo "checked=checked";}?>/>多选 
	</div></td>
      </tr>

      <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow">&nbsp;</td>
        <td align="center" class="txlrow"><div align="left">
            <input type="submit" name="button2" id="button2" value="提交" />
            <input type="reset" name="button" id="button" value="重置" />
        </div></td>
      </tr>
    </tbody>
  </table>
</form>

</body>
</html>
