<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="/cms4j" prefix="cms4j" %>

<%@ page import = "cn.com.dekn.cms.util.*,cn.com.dekn.common.util.*" %>

<script src="../../js/validator.js"></script>


<% 
/***********************************
* TAG参数初始化
***********************************/
//指定显示哪一个专题
String VOTE_ID = ParamUtil.getStrParam(request,"VOTE_ID",""); 

//网站群节点ID
String NODE_ID = ParamUtil.getStrParam(request,"NODE_ID","root");

/***********************************
* CSS样式 参数初始化
***********************************/
//CSS样式：外面框架
String CSS_FRAME = ParamUtil.getStrParam(request,"CSS_FRAME","page_frame"); 

//CSS样式：整个内容区域
String CSS_CONTENT_AREA =  ParamUtil.getStrParam(request,"CSS_CONTENT_AREA","page_class_content_area"); 
//CSS样式：信息标题
String CSS_TITLE =  ParamUtil.getStrParam(request,"CSS_TITLE","article_title"); 

//CSS样式：内容
String CSS_CONTENT =  ParamUtil.getStrParam(request,"CSS_CONTENT","article_content");

//CSS样式：相关信息栏
String CSS_INFO_BAR =  ParamUtil.getStrParam(request,"CSS_INFO_BAR","article_info_bar"); 

%>


<!--BEGIN: 投票结果-->
<cms4j:vote_list id="<%=VOTE_ID%>" node_id="<%=NODE_ID%>">
<table width="100%" height="136" border="0" align="center" cellpadding="0" cellspacing="0" class="<%=CSS_FRAME%>">
  <tr>
    <td height="136" valign="top">
	<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="100%" valign="top">          <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td valign="top" class="<%=CSS_CONTENT_AREA%>">
			
			<table style="WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width=100% align=center border=0>
			  <!--投票主题-->
              <tr vAlign=center align=center>
                <td height=50 class="<%=CSS_TITLE%>" style="WORD-BREAK: break-all"><%=vote_info.getTITLE()%></td>
              </tr>
              <tr vAlign=center align=middle>
                <td style="WORD-BREAK: break-all"></td>
              </tr>
              <tr>
                <td class=<%=CSS_CONTENT%> id=fontzoom style="WORD-BREAK: break-all" vAlign=top>
				  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
                    <tr align="right">
                      <td colspan="3"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                        	<!--票数统计-->
                          <tr>
                            <td width="55%" align="left">&nbsp;</td>
                            <td width="45%" align="right">当前总票数: <strong><%=vote_info.getALL_ANSWER_COUNT()%></strong>&nbsp;&nbsp;</td>
                          </tr>
                      </table></td>
                    </tr>
					<!--BEGIN: 投票选项-->
                    <cms4j:vote_select>
                    <tr>
                      <td width="423" align="right"><div align="left"><%=voteselect_info.getSELECT()%></div></td>
                      <td width="193" align="right" valign="middle"><strong><%=voteselect_info.getPercent()%> %</strong> (<%=voteselect_info.getANSWER()%> 票)</td>
                      <td width="349" align="center" valign="middle"><div align="left"><img src="../../images/vote/option_<%=voteselect_info.getID()%>.gif" width="<%=voteselect_info.getPercent()%>%" height="14"></div></td>
                    </tr>
                    </cms4j:vote_select>
					<!--END: 投票选项-->
                  </table></td>
              </tr>
			  <!--投票信息栏-->
              <tr>
                <td height="20" align=right class="<%=CSS_INFO_BAR%>"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="58%" align="left"> </td>
                    <td width="42%" align="right">投票发起日期：<%=vote_info.getADD_DATE_FORMATED("yy-MM-dd")%>&nbsp;&nbsp;</td>
                  </tr>
                </table></td>
              </tr>
              <tr  align=right  height="4">
                <td height="4"></td>
              </tr>
            </table>
              </td>
          </tr>
          <tr>
            <td height="4"></td>
          </tr>
        </table>          </td>
      </tr>
    </table>
	</td>
  </tr>
</table>

</cms4j:vote_list> 
<!--END:投票结果-->