<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="blue_show.aspx.cs" Inherits="Maticsoft.Web.blue_show" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head runat="server">
    <title>hsort报刊管理系统</title>
    <meta content="text/html; charset=gb2312" http-equiv="Content-Type">
    <meta name="GENERATOR" content="MSHTML 8.00.6001.18783">
    <meta content="blendTrans(duration=0.1)" http-equiv="Page-Enter">
    <meta content="blendTrans(duration=0.1)" http-equiv="Page-Exit">
    <link rel="stylesheet" type="text/css" href="Css/bluecss.css">

    <script src="js/Common.js" type="text/javascript"></script>

    <script type="text/javascript" src="js/png.js"></script>

    <script language="JavaScript" type="text/javascript" src="js/mp.js"></script>

    <script language="JavaScript" type="text/javascript" src="js/range.js"></script>

    <script src="js/Calendar.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
       function show()
		{
		document.getElementById('h_qiehuan').style.display='block';
		}
        function showNews(id)
	{
	var strUrl="newsInfo.aspx?url="+id+"&types=simp";	
	document.getElementById("hidden_NewsID").value=id;
		Ajaxs.GET(strUrl,showtypeexist);
			
	}
	   function showNewsMap(id)
	{
	
	var strUrl="newsInfo.aspx?url="+id+"&types=simp";	
	document.getElementById("hidden_NewsID").value=id;
		Ajaxs.GET(strUrl,showtypeexist);
		
		 return false;	
	}
	function showtypeexist(req)
	{
	var url=req.responseText;
	//document.getElementById("newDis").style.display="none";
	document.getElementById("pageDis").style.display="none";
		document.getElementById("div1").style.display="none";
		document.getElementById("div2").style.display="";
		document.getElementById("div2").innerHTML="<table class='tables'  width=\"530\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">"+
"  <tr><td width=\"131\" height=\"30\" class=\"ban1\">"+document.getElementById("hidden_pagenum").value+"</td><td width=\"94\" class=\"time\">"+document.getElementById("hidden_referdate").value
+"</td><td class=\"ban2\">"+document.getElementById("hidden_BName").value+"</td>"+
    "<td width=\"213\">&nbsp;</td></tr>"+ url;
    
    
	//	document.getElementById("change").innerHTML="<div><a  href=\"#\" onclick=\"dis()\"> <img src=\"images/ba_page01.gif\" width=\"24\" height=\"71\"> </a></div> <div class=\"ban_pv\"><a  href=\"#\" onclick=\"showNews1('per')\"><img src=\"images/pv_page01.gif\" width=\"24\" height=\"71\"></a></div><div><a  href=\"#\" onclick=\"showNews1('next')\"> <img src=\"images/ba_page01.gif\" width=\"24\" height=\"71\"></a>";
		document.getElementById("hidden_IsNews").value="true";
		document.getElementById("change").style.display="";
	
	
		}
		function dis()
		{
		document.getElementById("div2").style.display="none";
		document.getElementById("div1").style.display="";
//			document.getElementById("change").innerHTML=" <div class=\"ban_pv\"><a  href=\"#\" onclick=\"showNews1('per')\"><img src=\"images/ba_back01.gif\" width=\"24\" height=\"71\"></a></div><div><a  href=\"#\" onclick=\"showNews1('next')\"> <img src=\"images/ba_page01.gif\" width=\"24\" height=\"71\"></a>";
        document.getElementById("change").style.display="none";
                       document.getElementById("hidden_IsNews").value="false";
                     
  
		}
		
		 function showNews1(type)
	{

	var strUrl="newsInfo.aspx?type="+type+"&id="+escape(document.getElementById("hidden_NewsID").value)+"&paperName="+escape(document.getElementById("hidden_paperName").value)+
	"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&pagenum="+escape(document.getElementById("hidden_pagenum").value);	
	
		Ajaxs.GET(strUrl,showtypeexist1);	
	}
	function showtypeexist1(req)
	{
	    var url=req.responseText;
	   
	    if(url!=""){
	   document.getElementById("div2").innerHTML="<table class='tables'  width=\"530\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">"+
"  <tr><td width=\"131\" height=\"0\" class=\"ban1\">"+document.getElementById("hidden_pagenum").value+"</td><td width=\"94\" class=\"time\">"+document.getElementById("hidden_referdate").value
+"</td><td class=\"ban2\">"+document.getElementById("hidden_BName").value+"</td>"+
    "<td width=\"213\">&nbsp;</td></tr>"+"<tr> <td colspan=\"2\" align=\"right\"><img src=\"Images/line1.gif\" width=\"200\" height=\"13\" /></td>"+
    "<td width=\"122\" align=\"center\"><img src=\"Images/line2.gif\" width=\"122\" height=\"13\" /></td>"+
  "  <td><img src=\"Images/line3.gif\" width=\"186\" height=\"13\" /></td></tr><tr><td height=\"60\" colspan=\"4\" class=\"titles\">"+url.split("||")[1]+"</td></tr>"+
 " <tr><td colspan=\"4\" class=\"contents\">"+ url.split("||")[2]+"</td></tr></table>";
		
		document.getElementById("hidden_NewsID").value=url.split("||")[0];
		}else
		{
		alert("已是最后一篇或第一篇!");
		}
		document.getElementById("hidden_IsNews").value="true";

		
		}
		function showInfo(referdate,papername)
		{
		window.location="blue_show.aspx?referdate="+referdate+"&paperName="+papername+"";
		}
		function show()
		{
		document.getElementById('h_qiehuan').style.display='block';
		}
		 
 	
     function goPrePeriod()
{
window.location="blue_show.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&type=per";
}
 function pageInfo()
{
window.location="list.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value);
}
 function showFlash()
{

window.location="p.hsort.com";
}
function goNextPeriod()
{
window.location="blue_show.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&type=next";
}
function goPrePeriods()
{
window.location="blue_show.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&pagenum="+escape(document.getElementById("hidden_pagenum").value)+"&types=per";
}
function goNextPeriods()
{
window.location="blue_show.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&pagenum="+escape(document.getElementById("hidden_pagenum").value)+"&types=next";
}
function pagename()
{

window.location="blue_show.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value);
}
function loadIfream()
{
document.getElementById('date').src="test.aspx?paperName="+escape(document.getElementById("hidden_paperName").value);
}
function openDiv(type)
{
if(type=="1")
{
if(document.getElementById("pageDis").style.display=="none"){
document.getElementById("pageDis").style.display="";
}else
{

document.getElementById("pageDis").style.display="none";
}
}
}

 function pageInfo()
{
window.location="bluelist.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value);
}
    </script>

    <style>
        .head_c div
        {
            float: left;
            width: 373px;
            margin: 0 0 0 460px;
            padding: 40px 0 0 0;
            height: 49px;
        }
        .ban_t ul li.two
        {
            padding: 0px 0 0 15px;
            width: 110px;
        }
        .Calendar
        {
            font-family: Verdana;
            font-size: 12px;
            background-color: #e0ecf9;
            text-align: center;
            width: 200px;
            height: 160px;
            padding: 10px;
            line-height: 1.5em;
        }
        .Calendar a
        {
            color: red;
            text-decoration: underline;
        }
        .Calendar table
        {
            width: 100%;
            border: 0;
        }
        .Calendar table thead
        {
            color: #acacac;
        }
        .Calendar table td
        {
            font-size: 11px;
            padding: 1px;
        }
        #idCalendarPre
        {
            cursor: pointer;
            float: left;
            padding-right: 5px;
        }
        #idCalendarNext
        {
            cursor: pointer;
            float: right;
            padding-right: 5px;
        }
        #idCalendar td.onToday
        {
            font-weight: bold;
            color: #C60;
        }
        #idCalendar td.onSelect
        {
            font-weight: bold;
        }
    </style>
</head>
<body onload="initMPPage();">
    <input type="hidden" id="hidden_pic" runat="server" />
    <input type="hidden" id="hidden_id" runat="server" />
    <input type="hidden" id="hidden_referdate" runat="server" />
    <input type="hidden" id="hidden_paperName" runat="server" />
    <input type="hidden" id="hidden_isEvaluate" runat="server" />
    <input type="hidden" id="hidden_Qnum" runat="server" />
    <input type="hidden" id="hidden_pagenum" runat="server" />
    <input type="hidden" id="hidden_show" runat="server" />
    <input type="hidden" id="hidden_NewsID" value="0" />
    <input type="hidden" id="hidden_BName" runat="server" />
    <input type="hidden" id="hidden_IsNews" runat="server" value="false" />
    <span id="leveldiv" title="点击查看内容" style="border-width: 0px; z-index: 100; left: 246px;
        width: 210px; position: absolute; top: 118px; height: 34px;"></span>
    <div class="content">
        <!--左侧版面图部分-->
        <div class="left_c">
            <div class="ban">
                <div class="ban_left">
                    &nbsp;</div>
                <div class="ban_center">
                    <div class="ban_center_top">
                        <img src="images/lj1_r1_c2.jpg" width="412" height="19"></div>
                    <div class="ban_center_middle">
                        <div style="position: absolute;">
                            <div id="level" title="点击放大" style="position: relative; left: 2px; top: 0px;">
                                <div style="position: relative;" id="FDJ">
                                    <a href="<%=getlargertUrl() %>" target="_blank">
                                        <img src="Images/FDJ.png" border="0" /></a></div>
                            </div>
                        </div>
                        <div class="pagepicture">
                            <div id="showDiv" runat="server">
                            </div>
                        </div>
                    </div>
                    <div class="ban_center_bottom">
                        <img src="images/jwb_red_r8_c2.jpg" width="412" height="7"></div>
                </div>
                <div class="ban_right">
                    <div class="ban_pv">
                        <a href="#" onclick="goPrePeriods()">
                            <img src="images/pv_page01.gif" width="24" height="71"></a></div>
                    <div>
                        <a href="#" onclick="goNextPeriods()">
                            <img src="images/ba_page01.gif" width="24" height="71"></a></div>
                </div>
            </div>
            <!--上一版下一版-->
            <div class="ban_t">
                <div align="right">
                    <ul>
                        <span style="float: left; width: 255px; text-align: left" id="downnews" runat="server">
                        </span>
                        <li>
                            <img src="images/d1.gif" width="7" height="11"><a href="#" onclick="goPrePeriod()">上一期</a>
                        </li>
                        <li><a href="#" onclick="goNextPeriod()">下一期</a>
                            <img src="images/d.gif" width="7" height="11"></li>
                    </ul>
                </div>
            </div>
        </div>
        <!--右侧目录部分-->
        <div class="right_c">
            <!--网站logo-->
            <div class="logo">
                <div class="logo_l">
                    <asp:Image ID="logo" runat="server" alt="" border="0" />
                </div>
                <div class="logo_r" id="info" runat="server">
                </div>
            </div>
            <!--导航-->
            <div class="menu">
                <div class="menu_left">
                    <a href="search.aspx" target="_blank">
                        <img src="images/js1.gif" width="69" height="21"></a></div>
                <div class="menu_right">
                    <ul>
                        <li><a href="#" onclick="dis()">
                            <img src="images/menu01.jpg" width="71" height="24"></a></li>
                        <li><a onmouseout="document.getElementById('pageDis').style.display='none'" onmousemove="document.getElementById('pageDis').style.display=''">
                            <img src="images/menu02.jpg" width="71" height="24"></a> </li>
                        <li><a href="#" onclick="pageInfo()">
                            <img src="images/menu03.jpg" width="71" height="24"></a></li>
                        <li onmouseover="show()" onmouseout="document.getElementById('h_qiehuan').style.display='none'">
                            <img src="images/menu04.jpg" width="71" height="24">
                            <div id="h_qiehuan" style="position: absolute; display: none; left: 800px; top: 110px;">
                                <div style="border: #b1c5dd 1px solid; background: #f3f6fa; position: absolute;">
                                    <div class="Calendar">
                                        <div id="idCalendarPre">
                                            &lt;&lt;</div>
                                        <div id="idCalendarNext">
                                            &gt;&gt;</div>
                                        <span id="idCalendarYear"></span>年 <span id="idCalendarMonth"></span>月
                                        <table cellspacing="0">
                                            <thead>
                                                <tr>
                                                    <td>
                                                        日
                                                    </td>
                                                    <td>
                                                        一
                                                    </td>
                                                    <td>
                                                        二
                                                    </td>
                                                    <td>
                                                        三
                                                    </td>
                                                    <td>
                                                        四
                                                    </td>
                                                    <td>
                                                        五
                                                    </td>
                                                    <td>
                                                        六
                                                    </td>
                                                </tr>
                                            </thead>
                                            <tbody id="idCalendar">
                                            </tbody>
                                        </table>
                                    </div>
                                    <input id="idCalendarPreYear" type="button" value="上一年" />
                                    <input id="idCalendarNow" type="button" value="当前月" />
                                    <input id="idCalendarNextYear" type="button" value="下一年" />

                                    <script src="js/Calendar.js" type="text/javascript"></script>

                                    <script language="JavaScript">
var cale = new Calendar("idCalendar",document.getElementById("hidden_paperName").value,{
	SelectDay: new Date().setDate(10),
	onSelectDay: function(o){ o.className = "onSelect";this.paperName=document.getElementById("hidden_paperName").value;},
	onToday: function(o){ o.className = "onToday"; },
	onFinish: function(){

	}
});

$("idCalendarPre").onclick = function(){ cale.PreMonth(); }
$("idCalendarNext").onclick = function(){ cale.NextMonth(); }

$("idCalendarPreYear").onclick = function(){ cale.PreYear(); }
$("idCalendarNextYear").onclick = function(){ cale.NextYear(); }

$("idCalendarNow").onclick = function(){ cale.NowMonth(); }

                                    </script>

                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
                <div style="position: absolute;">
                    <div id="pageDis" onmouseout="document.getElementById('pageDis').style.display='none'"
                        style="display: none; position: relative; left: 320px; top: 30px;" runat="server"
                        onmousemove="document.getElementById('pageDis').style.display=''">
                    </div>
                </div>
            </div>
            <!--新闻-->
            <div class="list" id="div1">
                <!--本版新闻-->
                <div class="list_l">
                    <div class="l_title">
                        <img src="images/btdh.jpg" width="305" height="42"></div>
                    <div class="l_center">
                        <div class="l_content">
                            <div id="titleList" runat="server">
                            </div>
                        </div>
                    </div>
                    <div class="l_bottom">
                        <img src="images/btdh_bottom.jpg" width="305" height="24"></div>
                </div>
                <!--版面目录-->
                <div class="list_r">
                    <div class="r_title">
                        <img src="images/bmml.jpg" width="220" height="42"></div>
                    <div class="r_center">
                        <div class="r_content">
                            <div id="pageList" runat="server">
                            </div>
                        </div>
                    </div>
                    <div class="r_bottom">
                        <img src="images/bmml_bottom.jpg" width="220" height="24"></div>
                </div>
            </div>
            <!--新闻内容-->
            <div style="display: none;" id="change">
                <a href="#" onclick="showNews1('per')"><span style="font-family: webdings; font-size: 12px">
                    3</span> 上一篇</a>&nbsp;&nbsp;<a href="#" onclick="showNews1('next')">下一篇 <span style="font-family: webdings;
                        font-size: 12px">4</span></a></div>
            <div style="background: #FFF; border: #666 solid 1px; min-height: 420px; padding: 10px;
                display: none" class="news" id="div2">
            </div>
        </div>
    </div>
    <table style="margin-top: 15px" border="0" cellspacing="0" cellpadding="0" width="100%"
        align="center">
        <tbody>
            <tr>
                <td height="30" align="center">
                    <div id="detail" align="center" runat="server">
                    </div>
                </td>
            </tr>
        </tbody>
    </table>
    <div style="display: none;" id="title" runat="server">
    </div>
</body>
</html>
