<?php
		include("header.tpl.php");
		include("bodytop.tpl.php"); 
		?>
		<div class="g_navigation">
		<a href="index.php">网站首页</a> >> <?php echo $surveyname?>
		</div>
	<div id="surveylist" class="bord">
      <div class="threadlist_head"><label><?php echo $surveyname?></label></div>
			<table class="surveytable">
				<tr>
					<th class="survey_title_label font_14">投票主题</th>
					<th class="survey_result_label font_14"> 结果</th>
					<th class="survey_ismulti_label font_14">选择</th>
					<th class="survey_count_label font_14">总票数</th>
					<th class="survey_subtime_label font_14"> 发布时间</th>
				</tr>

			<?php foreach($surveydisplays as $key => $surveydisplay){?>
			<tr>
				<td class="survey_title_label font_14">
				<a href="viewsurvey.php?get_id=<?php echo $surveydisplay['survey_id']?>">
				<?php echo $surveydisplay['survey_title']?>
				</a>
				</td >
				<td class="survey_result_label font_14">
					<?php echo $survey_result[$surveydisplay['showresult']]?>
				</td>
				<td class="survey_ismulti_label font_14">
					<?php echo $survey_mulit[$surveydisplay['multichecked']]?>
				</td >
				<td class="survey_count_label font_14">
					<?php echo $surveydisplay['survey_total_count']?>
				</td>
				<td class="survey_subtime_label font_14">
					<?php echo gmdate('Y-n-j',$surveydisplay['subtime']+3600*8)?>
				</td>
			    </tr>
				<?php }?>
				</table>
		
				<div class="pages_btns font_14">
				<?php echo $multipage?>
				</div>
	</div>
	<div class="clear"></div>

<?php
include("tail.tpl.php"); 
?>
