<?php  include("conn/conn.php");?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>投票资料查看</title>
</head>

<body>

<?php if($_GET[odd_id]==true){ ?>
<table width="300" height="300" border="0" cellpadding="0" cellspacing="0">
<?php  
	$query=mysql_query("select * from tb_vote_odd where tb_vote_id='$_GET[odd_id]'");
	$result=mysql_fetch_array($query);
?>
 <tr>
    <td width="86" align="center">投票主题：</td>
    <td width="214"><?php echo $result[tb_vote_subject];?></td>
  </tr>
  <tr>
    <td align="center">投票内容：</td>
    <td><?php echo $result[tb_vote_content];?></td>
  </tr>
  <tr>
    <td align="center">投票说明：</td>
    <td><?php echo $result[tb_vote_explain];?></td>
  </tr>
  <tr>
    <td align="center">投票次数：</td>
    <td><?php echo $result[tb_vote_counts];?></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>

<?php } 
if($_GET[more_id]==true){
?>
<table width="300" height="300" border="0" cellpadding="0" cellspacing="0">
<?php  
	$query=mysql_query("select * from tb_vote_more where tb_vote_id='$_GET[more_id]'");
	$result=mysql_fetch_array($query);
?>
 <tr>
    <td width="86" align="center">投票主题：</td>
    <td width="214"><?php echo $result[tb_vote_subject];?></td>
  </tr>
  <tr>
    <td align="center">投票内容：</td>
    <td><?php echo $result[tb_vote_content];?></td>
  </tr>
  <tr>
    <td align="center">投票说明：</td>
    <td><?php echo $result[tb_vote_explain];?></td>
  </tr>
  <tr>
    <td align="center">投票次数：</td>
    <td><?php echo $result[tb_vote_counts];?></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<?php }?>
</body>
</html>
