<%@ Page Language="C#" MasterPageFile="../Shared/Main.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ 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/lightblue/css/reset.css" rel="stylesheet" type="text/css" />
<link href="<%=ViewData["webd"]%>Content/themes/lightblue/css/header.css" rel="stylesheet" type="text/css" />
<link href="<%=ViewData["webd"]%>Content/themes/lightblue/css/footer.css" rel="stylesheet" type="text/css" />
<link href="<%=ViewData["webd"]%>Content/themes/lightblue/css/body_main.css" rel="stylesheet" type="text/css" />
<link href="<%=ViewData["webd"]%>Content/themes/lightblue/css/calendar.css" rel="stylesheet" type="text/css" />
<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>
<script src="<%=ViewData["webd"]%>Content/themes/lightblue/js/searchqi.js" type="text/javascript"></script>
<%if (1 == 0)
  { %>
<link href="../../../Content/themes/lightblue/css/reset.css" rel="stylesheet" type="text/css" />
<link href="../../../Content/themes/lightblue/css/header.css" rel="stylesheet" type="text/css" />
<link href="../../../Content/themes/lightblue/css/footer.css" rel="stylesheet" type="text/css" />
<link href="../../../Content/themes/lightblue/css/body_main.css" rel="stylesheet" type="text/css" />
<link href="../../../Content/themes/lightblue/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/pub.js"></script>
<script src="../../../Content/themes/lightblue/js/searchqi.js" type="text/javascript"></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;
}
.tt09{
	border:#EEF7FE 4px solid;
	width:919px;
	min-height:300px;
	height:auto!important;
	height:300px;
	font-size:14px;
	line-height:180%;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 15px;
	padding-right: 30px;
	padding-bottom: 15px;
	padding-left: 30px;
}
select#qi_sel{
	border: 1px solid #7E9DB9;
}
.tt09 td{ font-size:14px;text-align:left;line-height:180%}
.tt09_input01{ border:#7E9DB9 1px solid; height:19px; width:320px;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="main  clearfix ">
<div class="b_right left clearfix" style="width:987px;padding-left:0px;">
<%

ViewData["adsrc"] = Fun.Webdirectory + "Content/themes/lightblue/images/53bk.jpg";
ViewData["adtype"] = "0";
ViewData["ishome"] = "1";
%>
<%Html.RenderPartial("~/themes/lightblue/userinc/Topsub.ascx");%>
<div class="clear"><span></span></div>
<div style="width:100%;padding-top:9px;padding-bottom:5px;" class="clearfix">

<form action="<%=ViewData["webd"]%>search" method="post" name="search1" id="search1" >
<div class="tt09">
 <div style="padding-bottom:20px;"><img src="<%=ViewData["webd"]%>Content/themes/lightblue/images/p1_bkzz.gif" alt="" /></div>
 <div class="clear"><span></span></div>
 <table cellspacing="3" cellpadding="0" width="96%" border="0" style="margin-left:auto;margin-right:auto;">
     <tr>
       <td align="right">搜索关键词:</td>
       <td colspan="2">
   <input type="text" value=""  class="tt09_input01" id="key" name="key" />
   <input type="button" value="搜索"  onclick="document.getElementById('search1').submit();" /></td>
       </tr>
     <tr>
       <td align="right">排序字段：</td>
       <td width="103"><select size="1" name="sort" id="sort">
         <option   value="date" selected="selected">日期</option>
         <option   value="name">相关度</option>
         </select>       </td>
       <td width="556">
          <%string check="checked=\"checked\""; %>
         <label><input type="radio" value="up" name="order" id="order1" /> 升序</label>
         <label>  <input type="radio" <%=check%> value="down" name="order"  id="order2" /> 降序</label> </td>
     </tr>
     <tr>
       <td width="95" align="right" valign="top">  刊期选择：</td>
       <td colspan="2">       
       <script type="text/javascript">
		$(function () {
			var l = document.getElementById("date_qi");
			var yearurl = "<%=ViewData["webd"]%>jquery/Year";
			var monthurl = "<%=ViewData["webd"]%>jquery/Month";
			var qiurl = "<%=ViewData["webd"]%>jquery/Monthqi";        
			var selyear = document.getElementById("qi_year");
			var selmonth = document.getElementById("qi_month");
			var selqi = document.getElementById("qi_sel");
			var selpage=document.getElementById("eachpage");
			var nowyear = "";
			var nowmonth = "";
			var nowqi="";
			var isadd="";
			var isnews="";
			var initqi = new Startgetqi();
			//加载年份
			initqi.loadyear(selyear, nowyear, yearurl);
			//加载月份
			initqi.loadmonth(selmonth, nowyear, nowmonth, monthurl);
			//加载刊期       
    		initqi.loadqi(selqi, nowyear, nowmonth, nowqi, qiurl, isadd,isnews);
	
			$("#qi_year").change(function () {
				var tempy = this.options[this.selectedIndex].value;
				if (tempy != "") {
					//月份变化;  
					selmonth.options.length = 0;
					opt(selmonth, "月份", "", 0);
					initqi.loadmonth(selmonth, tempy, nowmonth, monthurl);
					//刊期变化
					selqi.options.length = 0;
					opt(selqi, "选择刊期", "", 0);
					initqi.loadqi(selqi, tempy, "", nowqi, qiurl, isadd,isnews);
				}
			});
			$("#qi_month").change(function () {
				var tempy = selyear.options[selyear.selectedIndex].value;
				var tempm = this.options[this.selectedIndex].value;
				if (tempy != "" && tempm != "") {
					//刊期变化;
					selqi.options.length = 0;
					opt(selqi, "选择刊期", "", 0);
					initqi.loadqi(selqi, tempy, tempm, nowqi, qiurl, isadd,isnews);
				}
			});
		});   
	</script>
       <div id="date_qi" style="float:left;">
        <select id="qi_year" name="qi_year">
        <option value="">年份</option>
        </select>
        <select id="qi_month" name="qi_month">
        <option value="">月份</option>
        </select>
        <select id="qi_sel" name="qi_sel">
        <option value="">选择刊期</option>
        </select>
       </div>
       </td>
     </tr>
     <tr>
       <td valign="top" align="right">&nbsp;</td>
       <td  colspan="2" style="text-align:right">&nbsp;</td>
     </tr>
 </table>
</div>
</form>

</div>

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