<%@ Page Language="C#" MasterPageFile="../Shared/Main.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Mvcmode.E_eachedition>>" %>
<%@ 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/header.css" rel="stylesheet" type="text/css">
<link href="<%=ViewData["webd"]%>Content/themes/red/css/footer.css" rel="stylesheet" type="text/css">
<link href="<%=ViewData["webd"]%>Content/themes/red/css/body_main.css" rel="stylesheet" type="text/css">
<link href="<%=ViewData["webd"]%>Content/themes/red/css/calendar.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/swf.js"></script>
<%if (1 == 0)
  { %>
<link href="../../../Content/themes/red/css/reset.css" rel="stylesheet" type="text/css">
<link href="../../../Content/themes/red/css/header.css" rel="stylesheet" type="text/css">
<link href="../../../Content/themes/red/css/footer.css" rel="stylesheet" type="text/css">
<link href="../../../Content/themes/red/css/body_main.css" rel="stylesheet" type="text/css">
<link href="../../../Content/themes/red/css/calendar.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/swf.js"></script>
<%} %>
<script type="text/javascript">
    $(document).ready(function() {
        
    });
</script>
<style type="text/css">
.top1{width:937px;padding-left:50px;}
.top1 .logo{
	float:right;padding-right:50px;padding-left:0px;}
.navdate{
	margin:0;
	color:#004773;
	height:20px;
	width:877px;
	text-align: left;
	float:left;
	line-height: 20px;
	padding-top: 8px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 50px;
}
.otherqi{min-height:500px;height:auto!important;height:500px;}
.otherqi ul{width:974px;padding-left:11px;padding-top:6px;padding-bottom:6px;}
.otherqi li{
	width:144px;
	float:left;
	padding-top: 6px;
	padding-right:8px;
	padding-bottom:6px;
	padding-left:8px;
}

</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%E_eachedition eachban = ViewData["edition"] as E_eachedition;
E_eachqi eachqi2 = ViewData["eachqi"] as E_eachqi;%>
<div class="main  clearfix ">
<div class="b_right left clearfix" style="width:987px;padding-left:0px;">
<%--Html.RenderAction("Top", "Userinc", new {adsrc = "Content/themes/red/images/53bk.jpg", type = "0",ishome="1",idate=ViewData["issuedate"] }); --%>
<%

ViewData["adsrc"] = Fun.Webdirectory + "Content/themes/red/images/53bk.jpg";
ViewData["adtype"] = "0";
ViewData["ishome"] = "1";
%>
<%Html.RenderPartial("~/themes/red/userinc/Top.ascx");%>
<div class="navdate">
      <div style="float:left; width:50px;"><a href="<%=ViewData["webd"]%>review">往期回顾</a></div>
      <%Html.RenderAction("Calendarqi", "Userinc", new {idate=ViewData["issuedate"]}); %>
     <%-- <div class="path"><a href="<%=ViewData["webd"]%>" ><%=ViewData["Sitename"]%></a><%=ViewData["path"]%><strong>版面导航</strong></div>--%>
      <div class="nextqi">
      <% if (ViewData["preqihref"].ToString() != "")
         {%>
      <a href="<%=ViewData["preqihref"]%>" >&lt;&nbsp;上一期</a>
      <%}
         else {%>
         &lt;&nbsp;上一期
            <%} %>
      &nbsp;&nbsp;&nbsp;&nbsp;
      <% if (ViewData["nextqihref"].ToString() != "")
         {%>
      <a href="<%=ViewData["nextqihref"] %>" >下一期&nbsp;&gt;</a>
       <%}
       else {%>
         下一期&nbsp;&gt;
            <%} %>
      </div>
</div>
<%--<div class="mobilepaper" id="mobilepaper"></div>--%>

<div class="clear"><span></span></div>
<div style="width:100%;padding-top:9px;padding-bottom:5px;" class="clearfix">
<div class="otherqi clearfix" style="width:985px;">
<h3 style="width:985px;"><span style="width:973px;"><%=ViewData["eachqinname"]%>版面导航</span></h3>
<ul class="clearfix">
<% 
   string link = "";
   string linkname = "";
   string imgstr="";
   int isaddtxt = E_settingbll.Sitesetting.E_type;
   foreach (var edition in  Model)
   {
       link = ViewData["webd"].ToString()+Linkeachedition.eachedition(edition.Issuedate.ToString(), edition.Pagename, 0);
       if (isaddtxt == 0)
           linkname = "第" + edition.Pagename + "版 " + edition.Pagetitle;
       else
           linkname =  edition.Pagename + " " + edition.Pagetitle;
       
       imgstr=Linkurl.imgsrc(edition.Pagepic);  
%>
<li><div class="img clearfix"><a href="<%=link%>"><img src="<%=imgstr %>" alt="" /></a></div><div class="txt"><a href="<%=link%>"><%=linkname%></a></div></li>
<% }%>
</ul>
</div>
</div>

</div><!--b_right结束--> 
</div><!--main结束-->   
<%--Html.RenderAction("Foot", "Userinc"); --%>
<%Html.RenderPartial("~/themes/red/userinc/Foot.ascx");%>
</asp:Content>