<%@ Page Language="C#" MasterPageFile="../Shared/Main.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Mvcmode.E_eachqi>>" %>
<%@ Import Namespace="Mvcmode"%>
<%@ Import Namespace="Mvcbll"%>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
<title><%=ViewData["Title"]%></title>
<meta name="Keywords" content="<%=ViewData["Keywords"] %>">
<meta name="Description" content="<%=ViewData["Description"] %>">
<link href="<%=ViewData["webd"]%>Content/themes/red/css/reset.css" rel="stylesheet" type="text/css">
<link href="<%=ViewData["webd"]%>Content/themes/red/css/all.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]> 
<script src="<%=ViewData["webd"]%>Comja/html5.js"></script> 
<![endif]-->
<script type="text/javascript" src="<%=ViewData["webd"]%>Comja/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="<%=ViewData["webd"]%>Comja/pub.js"></script>
<%if (1 == 0)
  { %>
<link href="../../../Content/themes/red/css/reset.css" rel="stylesheet" type="text/css">
<link href="../../../Content/themes/red/css/all.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../../Comja/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="../../../Comja/pub.js"></script>
<%} %>
<style type="text/css">
.bannav_con{margin-top:9px;margin-bottom:9px;width:980px;margin-left:auto;margin-right:auto;}
.bannav_con .txt{font-weight:bold;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%
ViewData["adsrc"] = Fun.Webdirectory + "Content/themes/red/images/53bk.jpg";
ViewData["adtype"] = "0";
ViewData["ishome"] = "1";
%>
<div class="w982">
<%Html.RenderPartial("~/themes/red/userinc/Topsub.ascx");%>
<div class="clear"><span></span></div>
<div class="bannav_con  clearfix">
<ul class="clearfix">
<% 
   string link = "";
   string linkname = "";
   string imgstr="";
   string totalqi = "";
   string idate="";
   foreach (var eachqi in  Model)
   {
       link = eachqi.Linkstr;
       /*
       double m = double.Parse(eachqi.Totalqi.ToString());
       Mvccom.Money money = new Mvccom.Money(m);
       totalqi=money.Convert();
        * 
        * */

       linkname = "第" + eachqi.Totalqi.ToString() + "期 ";
       ///linkname = linkname.Replace("第一十", "第十");
       imgstr = Linkurl.imgsrc(eachqi.Qipic);
       idate = eachqi.Issuedate.ToShortDateString().Replace("/",".");
%>
<li><div class="img"><a href="<%=link%>"><img src="<%=imgstr %>" width="150" height="225"  alt="" /></a></div>
<div class="txt"><a href="<%=link%>"><%=linkname%><br><%=idate%></a></div></li>
<% }%>
</ul>
<%=ViewData["pagemsg"]%>
</div>
</div>
<%Html.RenderPartial("~/themes/red/userinc/Foot.ascx");%>
</asp:Content>