<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<%@page import="com.letousky.lottery.delegate.WinMoneyManage"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%
 String lot1 = request.getParameter("lot")==null?"201":(String)request.getParameter("lot");
 WinMoneyManage text=new WinMoneyManage();
 List nr11 = text.getJingQiKaiJiangItems(new String[] {lot1}, "C0076");
 Object[] results = nr11.toArray();
%>
 
<style>
 .awardItem1{
    overflow: hidden;
    line-height:18px;
    width:250px;
    margin:1px auto;
}
ul{
  float:left;
 list-style-type:none;
}
.awardItem1 ul{
 float:left;
 width:100%;
 height:20px;
 text-align:center;
}
.awardItem1 li{
 float:left;
 width:65px;
 height:20px;
 line-height:20px;
}

 
</style>
 
<div style="width:252px;height:186px; border: 1px solid #B5D6FF; overflow: hidden; margin:0px auto">
	   <div  style="background:url('../img/nearOpenNum_tittle_bg.gif'); height:20px; border: 1px solid #CEE7FF; width:250px; text-align:left; font-weight:bold; color:#333333; line-height:20px">&nbsp;近期开奖号码</div>
      <div class="awardItem1">
                      <ul style="background:#E7EFFD;">
                              <li style="width: 39px; border-right:1px #ffffff solid">期号</li>
                              <li style="width: 149px; border-right:1px #ffffff solid">开奖号码</li>
                              <li style="width: 60px">开奖时间</li>
                       </ul>


             <% 
             for(int i=0;i<results.length;i++){
             String[] strAry1 = (String[])results[i];
             String num=text.replace(strAry1[1]);
  			 String time=text.string2time(strAry1[2]);
  			 
			 
    	%>
         <ul style="background: <%=((i%2==0)?"#FFFFFF":"#EFEFEF") %>">
       
         <li style="width: 39px; border-right:1px #ffffff solid"><font style="color:#333333;"><%=strAry1[0] %> </font> </li>
       <li style="width: 149px; border-right:1px #ffffff solid"><font  style="color:#FF7200;"> <%=num %> </font> </li>
         <li style="width: 60px"><font  style="color:#333333;"><%=time %> </font> </li>
    </ul>
    
   <%} %>
</div> 
</div>
