<%@ Page Language="C#" AutoEventWireup="true" Inherits="page" Codebehind="page.aspx.cs" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link rel="stylesheet" type="text/css" href="system/skins/css/main.css" />
    <link rel="stylesheet" type="text/css" href="system/skins/css/Sys.css" />
    <link rel="stylesheet" type="text/css" href="css/myWeb.css" />

    <script language="javascript" type="text/javascript" src="system/js/JFramework.js"></script>

    <script language="javascript" type="text/javascript" src="system/js/sys.js"></script>

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

    <title>
        <%
            string mid = Request.QueryString["menuid"];
            string table = Request.QueryString["tab"];
            string tabid = Request.QueryString["tabid"];
            
            
            Response.Write(tabPar["title"]);
        %>
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
    <div id="toolsDiv">
    </div>
    <div style="width: 100%; height: 95%; overflow: auto; padding: 5px;">
        <div style="text-align: center; font-size: 16px; height: 28px;">
            <%
                Response.Write(tabPar["title"]);
            %>
        </div>
        <%
            Response.Write(tabPar["content"]);
       
        %>
        <div style="width: 98%; height: 120px; margin-top: 10px;">
            <div style="background-color: #cfcfff; padding: 5px; margin-bottom: 5px;">
                回复
            </div>
            <form name='form1' id='form1' method='POST' action=''>
                <div style="text-align: center;">
                    <textarea name='rText' id='rText' cols="20" rows="2" style="width: 95%; height: 100px;"></textarea>
                    <div style="width: 100%; text-align: center;">
                        <input type="button" value="提交" onclick="saveReview($('form1'),0,'<% Response.Write(mid); %>','<% Response.Write(table); %> ','<% Response.Write(tabid); %>',null,1);alert('回复成功')" />
                    </div>
                </div>
            </form>
        </div>
        <div>
            <%  Response.Write(pageTime());%>
        </div>
    </div>

    <script language="javascript" type="text/javascript">
    var  sysPath="";
    
	function addTools(){
		var tools=new toolsClass();
		tools.add("","编辑","edit()","编辑这个文章")
		tools.create(toolsDiv)
	}
	addTools();
	
	function edit(){
		var menuid=urlPar("menuid");
		var asTab=urlPar("tab");
		var id=urlPar("tabid");
	    par="wNum=&pType=modi&menuid="+menuid+"&id="+id+"&asTab="+asTab
		parent.win.pCreate("p-createData",par,"编辑信息-");
	}
    </script>

</body>
</html>
