<%@ Page Language="C#" AutoEventWireup="true"  CodeBehind="Votes_0.aspx.cs" Inherits="Vote.vote.Votes_0" %>

<!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 runat="server">
    <title></title> 
      <!-- develop by 启明星工作室    http://www.dotnetcms.org  -->
    <style>
    body{ margin:0px; 
          padding:0px; 
          background: url(../Style2/vote_bg.jpg) repeat-x;
          width:1004px;
           margin-left:auto;
           margin-right:auto;
           font-size:13px;
           font-family:Verdana;
          }
          
          
          .intro 
          {
              color:red
}
      .p14B{ font-weight:bold}

.law {
line-height: 26px;
font-size: 14px;
}
a{ color:#000;   }

    </style>







		
		<style>
		
 

.red{ color:red}

.item_box 
{
    width:240px; 
    height:300px; 
    text-align:center; 
    vertical-align:middle; 
    background-color:#ffffff; 
    float:left; 
    border-bottom:dotted 1px #a1a3ad; 
    margin-top:20px; 
  }
.item
{
    padding-left:4px;
    padding-top:10px;
    width:165px;
    height:181px;
  
   }

.item img 
{
    border:solid 1px #ffffff
 }

   .fb14{ font-size:14px;}
    

</style>
  

   <script src="../javascript/jquery-1.9.1.min.js"></script>
   <script src="../javascript/layer/layer.js"></script>
   <script type="text/javascript" src="../highslide/highslide.js"></script> 
   <link rel="stylesheet" type="text/css" href="../highslide/highslide.css" />
    <script src="../javascript/common.js"></script>

<script type="text/javascript">
    hs.graphicsDir = '../highslide/graphics/';
    hs.wrapperClassName = 'wide-border';
</script>



</head>
<body>
    <form id="form1" runat="server">
    <div style=" background:#ffffff; width:1004px; margin:0 auto; min-height:600px;">
       
       <div style=" background:url(../Style2/banner.png) no-repeat; width:1004px; font-family:微软雅黑;text-shadow: 3px 3px 7px #111; height:150px; font-size:45px; color:#ffffff; letter-spacing:4px; text-align:center; padding-top:80px; ">
                    <asp:Literal runat="server" ID="lt_title"></asp:Literal>
 
        </div>


 


       <div  >

        <table width="1004" border="0" align="center" cellpadding="0" cellspacing="5" background="../Style0/list_news_bg.gif"   class="intro">
  <tbody><tr valign="top">
    <td width="165" height="23" align="center" valign="middle" class="p14B">活动简介</td>
    <td align="right" valign="middle" class="red12B">活动时间：始&nbsp;
    <asp:Literal runat="server" ID="lt_s"></asp:Literal>
    &nbsp;—&nbsp;<asp:Literal runat="server" ID="lt_e"></asp:Literal>&nbsp;止</td> 
    
  </tr>
</tbody></table>
 
<table width="1004" border="0" align="center" cellpadding="15" cellspacing="5" >
  <tbody><tr valign="top">
    <td align="left" class="law"><dd>
    
     <asp:Label runat="server" ID="lt_intro"></asp:Label>
    
     <br></dd></td>
  </tr>
</tbody></table>





 <table width="1004" border="0" align="center" cellpadding="0" cellspacing="5" background="../Style0/list_news_bg.gif"   class="intro">
  <tbody><tr valign="top">
    <td width="165" height="23" align="center" valign="middle" class="p14B">候选人员</td>
    <td align="right" valign="middle" class="red12B"> 
    
    <a href="Result_2.aspx?sid=<%=sid %>" style="color:#000; text-align:none">实时结果</a>
    </td>
  </tr>
</tbody></table>






        
                   
          <div style=" width:1004px; padding-left:30px;">
             	
                <asp:repeater  runat="server" ID="dl_staff">
				<ItemTemplate>
				
				
				<div  class="item_box">
				
				<div class="item">  
			        <a href=<%#Eval("image_big") %>  class="highslide" onclick="return hs.expand(this)">	
            	        <img src=<%#Eval("image_small") %>  height="200"   >
                     </a>
		
                    <div class="fb14">
				       <%#Eval("username") %>  
			        </div>


                   <div style=" margin-top:5px">
                    
                    得票数：<span class="red"><%#Eval("polling") %> </span>  
                    </div>

                      <div style=" margin-top:10px">
                   <a href="#"  onclick="openpoll(<%#Eval("id") %>,<%#Eval("sid") %>); return false;"  >
                  
                      <img src="../Style0/vote1.gif" border=0/></a>
                      
                       &nbsp;&nbsp; 
                       <a href="#" onclick="openuser(<%#Eval("id") %>,<%#Eval("sid") %>); return false; ">
                      <img src="../Style0/vote.gif" border=0 /></a>
                  </div>   


		           </div>
                  
                 
				
			   </div>	

               

				</ItemTemplate>
				
    
				</asp:repeater>	
			 
            		

        </div>













            





        <div style=" clear:both"></div>

        <div style=" background:#368bcb; width:1004px; height:5px;"> 
        
        </div>

        <br /><br />
        <div style="width:1004px; text-align:center; line-height:30px; font-size:13px; margin:10px;">
         <a href="http://www.dotnetcms.org" target="_blank">启明星工作室 投票系统 V12.0</a> <br />
                      <asp:Label runat="server" ID="status"></asp:Label>
        </div>


        <br /><br />





</div>





    </div>















         <style>
            .hdbody {
             overflow:hidden;
            }
        </style>

        <script>

            function disablescroll() {
                $("body").addClass("hdbody");
                // document.body.style.position = "fixed";
            }

            function enablescroll() {
                $("body").removeClass("hdbody");
            }


            function openpoll(id, sid) {

                url = "poll_2.aspx?id=" + id + "&sid=" + sid;

                layer.open({
                    type: 2,
                    title: "查看资料",
                    area: ['450px', '350px'],
                    fix: false, //不固定
                    maxmin: true,
                    content: url,

                    cancel: function (index) {


                    }



                });


            }




            function openuser(id, sid) {
                url = "intro_2.aspx?id=" + id + "&sid=" + sid;
                disablescroll();
                layer.open({
                    type: 2,
                    title: "查看资料",
                    area: ['950px', '600px'],
                    fix: false, //不固定
                    maxmin: true,
                    content: url,

                    cancel: function (index) {
                        enablescroll();

                    }



                });


            } 

        </script>

        
    <SCRIPT language="JavaScript">
        setTimeout('top.moveTo(0,0)', 50);
        setTimeout('top.resizeTo(screen.availWidth,screen.availHeight)', 50);
	 </SCRIPT>

    </form>
</body>
</html>
