<!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><tpl>$vote_array['vote_title']</tpl> - <tpl>WEB_NAME</tpl></title>
<meta name="keywords" content="<tpl>WEB_KEYWORDS</tpl>" />
<meta name="description" content="<tpl>WEB_DESCRIPTION</tpl>" />

<link type="text/css" rel="stylesheet" href="<tpl>WEB_HOST</tpl>/templates/default/css/style.css" />
<link type="text/css" rel="stylesheet" href="<tpl>WEB_HOST</tpl>/templates/default/css/pages.css" />
<link type="text/css" rel="stylesheet" href="<tpl>WEB_HOST</tpl>/templates/default/css/ie.css" />
<script type="text/javascript" src="<tpl>WEB_HOST</tpl>/js/jquery/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$('.left-highlight h3').click(function(){
		if($(this).next('ul').css('display') == 'none'){
			$(this).removeClass('expand');
			$(this).next('ul').show();
		} else {
			$(this).addClass('expand');
			$(this).next('ul').hide();
		}
	});
});
</script>
</head>

<body>
<div id="container">
	<tpl>include header.html</tpl>
	<!-- end of header -->
    <div id="main">
    	<div class="right-main">
        	<h2><tpl>$other_poll</tpl><!--投票调查--></h2>
            <div class="clear"></div>
            <div id="whereUR">
            	<tpl>$common_location</tpl><!--您所在的位置-->：<a href="index.php"><tpl>$common_index</tpl><!--首页--></a> > <tpl>$other_poll</tpl><!--投票调查-->
            </div><!-- end of whereUR -->
            <div id="contentWrapper">
            	<div id="artiContent">
					<tpl>if $vote_array['vote_title']!='' and $option_array!=''</tpl>
                	<h1><tpl>$vote_array['vote_title']</tpl></h1>
                    <div id="artiInfo"> 
                        <span><tpl>$other_poll_start_time</tpl><!--发起时间-->：<tpl>$vote_array['vote_start_time']</tpl></span>
                        <span><tpl>$other_poll_end_time</tpl><!--截止时间-->：<tpl>$vote_array['vote_end_time']</tpl></span>
                        <span><tpl>$other_poll_num</tpl><!--投票总数-->：<tpl>$vote_array['vote_count']</tpl></span>
                    </div><!-- end of artiInfo -->
                    <table border="0" cellpadding="0" cellspacing="0" class="vote">
						<tpl>foreach $option_array as $v</tpl>
                    	<tr>
                        	<td class="textRight"><tpl>$v['vote_option']</tpl>：</td>
                            <td style="width:180px;">
                            	<div class="vbg"><div class="vbar" style="width:<tpl>floor($v['vote_num']/$vote_array['vote_count']*100)</tpl>%;"></div></div>
                            </td>
                            <td style="width:210px;"><tpl>$vote_array['vote_count']</tpl> <tpl>if $vote_array['vote_count']!=0</tpl>(<tpl>floor($v['vote_num']/$vote_array['vote_count']*100)</tpl>%)<tpl>/if</tpl></td>
                        </tr>
						<tpl>/foreach</tpl>
                    </table>
					<tpl>/if</tpl>
                    <!-- end of vote -->
                </div>
            	<!-- end of artiContent-->
                <div id="contentWrapperTop"></div>
                <div id="contentWrapperBottom"></div>
            </div><!-- end of contentWrapper -->
        </div><!-- end of right-main -->
        <div class="left-side">
            <div class="left-article">
            	<h3><tpl>$other_poll_new_article</tpl><!--最新文章--></h3>
            	<ul class="left-article-list">
					<tpl>foreach $new_art as $new_val</tpl>
                	<li><a href="index.php?ctl=article&act=front_article_content&article_id=<tpl>$new_val['article_id']</tpl>" target="_blank" title="<tpl>$new_val['article_title']</tpl>"><tpl>if $new_val['article_title_color']!=''</tpl><font color="<tpl>$new_val['article_title_color']</tpl>"><tpl>/if</tpl><tpl>$new_val['article_title']</tpl><tpl>if $new_val['article_title_color']!=''</tpl></font><tpl>/if</tpl></a></li>
					<tpl>/foreach</tpl>
                </ul><!-- end of left-article-list -->
            	<h3><tpl>$other_poll_hot_article</tpl><!--热门文章--></h3>
            	<ul class="left-article-list">
					<tpl>foreach $hot_art as $hot_val</tpl>
                	<li><a href="index.php?ctl=article&act=front_article_content&article_id=<tpl>$hot_val['article_id']</tpl>" target="_blank" title="<tpl>$hot_val['article_title']</tpl>"><tpl>if $hot_val['article_title_color']!=''</tpl><font color="<tpl>$hot_val['article_title_color']</tpl>"><tpl>/if</tpl><tpl>$hot_val['article_title']</tpl><tpl>if $hot_val['article_title_color']!=''</tpl></font><tpl>/if</tpl></a></li>
					<tpl>/foreach</tpl>
                </ul><!-- end of left-article-list -->
            </div><!-- end of left-article -->
        </div><!-- end of left-side -->
        <div class="clear"></div>
    </div><!-- end of main -->
    <div id="footer">
<tpl>include footer.html </tpl>
    </div><!-- end of footer -->
</div><!-- end of container -->
</body>
</html>
