<!--#include file="Const.Asp"-->
<!--#include file="error.ini"-->
<link href="Images/Admin_Style.Css" rel="stylesheet" type="text/css">
<%
filename="../Js/Top.js"
if request("body")<>"" then
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set fout = fso.CreateTextFile(server.mappath(""&filename&""))
fout.Write request("body")
fout.close
set fout=nothing
set fso=nothing
mskrindex="ok"
end if

%>
<html>

<head>
<SCRIPT LANGUAGE="JavaScript">
helpstat = false;
stprompt = true;
basic = false;
function thelp(swtch){
	if (swtch == 1){
		basic = false;
		stprompt = false;
		helpstat = true;
	} else if (swtch == 0) {
		helpstat = false;
		stprompt = false;
		basic = true;
	} else if (swtch == 2) {
		helpstat = false;
		basic = false;
		stprompt = true;
	}
}

function AddText(NewCode) {
document.frmAnnounce.body.value+=NewCode
}

function runEx(){
//alert('请注意，按下确定将生成页面，按下后请稍后....');
var winEx = window.open("", "winEx", "width=300,height=200,status=yes,menubar=yes,scrollbars=yes,resizable=yes"); winEx.document.open("text/html", "replace"); 
winEx.document.write(unescape(event.srcElement.parentElement.children[2].value)); 
winEx.document.close(); 
}
</SCRIPT>
<script language="Javascript">
<!-- hide

function insertsmilie(smilieface){

	document.frmAnnounce.body.value+=smilieface;
}
// -->
</script>
</head>
<body topmargin="1" leftmargin="1">
<%if mskrindex="ok" then%>
<table border="0" cellspacing="0" style="border-collapse: collapse" width="100%" cellpadding="0">
  <tr>
    <td width="100%"><font color="#FF0000">·</font>成功生成网站顶部JS,时间<%=Now()%><br><font color="#FF0000">·</font><a target="_blank" href="<%=filename%>"><%=filename%></a></td>
  </tr>
</table>
<%else%>
<div align=center>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border" height="100%">
<form name="frmAnnounce" method="post" action="Js_Top.asp">
  <tr class="title">
    <td height="22" colspan="3" align="center"><strong>生成网站顶部JS&nbsp; 生成文件:<a class=JyDownSort target="_blank" href="<%=filename%>"><%=filename%></strong></td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#FFFFFF" height="100%"><textarea style="width:100%; height:100%;" rows="19" name="body" cols="102">
document.writeln("<script language=\"javascript\">kstatus();function kstatus(){self.status=\"<%=Description%>\";setTimeout(\"kstatus()\",0);}<\/script>");
document.writeln("<SCRIPT language=JavaScript><!-- ");
document.writeln("if (top.location != location) top.location.href = location.href;");
document.writeln("self.moveTo(0,0);");
document.writeln("self.resizeTo(screen.availWidth,screen.availHeight);");
document.writeln("\/\/ --><\/SCRIPT>");
document.writeln("<TABLE width=970 border=0 align=\"center\" cellPadding=0 cellSpacing=0>");
document.writeln("  <TBODY>");
document.writeln("  <TR>");
document.writeln("    <TD background=<%=url%>/images/skin2/Top/top1.gif height=23>");
document.writeln("      <TABLE cellSpacing=0 cellPadding=0 width=\"100%\" border=0>");
document.writeln("        <TBODY>");
document.writeln("        <TR>");
document.writeln("          <TD width=\"23%\">&nbsp;<\/TD>");
document.writeln("          <TD width=\"77%\">");
document.writeln("            <TABLE cellSpacing=0 cellPadding=0 width=\"100%\" border=0>");
document.writeln("              <TBODY>");
document.writeln("              <TR>");
document.writeln("                <TD width=\"80%\">");
document.writeln("                  <TABLE cellSpacing=0 cellPadding=0 border=0>");
document.writeln("                    <TBODY>");
document.writeln("                    <TR>");
document.writeln("                      <TD align=right width=430>");
document.writeln("                        <DIV ");
document.writeln("                        align=center>想每天免费观看最新电影、美女图片、幽默笑话、美图图酷吗？那就快<STRONG>→<\/STRONG><\/DIV><\/TD>");
document.writeln("                      <TD width=66>");
document.writeln("                        <DIV align=center><IMG height=9 src=\"<%=url%>/images/skin2/Top/top6.gif\" ");
document.writeln("                        width=7><A style=\"CURSOR: hand\" ");
document.writeln("                        onclick=\"var strHref=window.location.href;this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'<%=url%>\');\" ");
document.writeln("                        href=\"\/\"><FONT ");
document.writeln("                        color=#ff0000>设为首页<\/FONT><\/A><\/DIV><\/TD>");
document.writeln("                      <TD width=66>");
document.writeln("                        <DIV align=center><IMG height=9 src=\"<%=url%>/images/skin2/Top/top6.gif\" ");
document.writeln("                        width=7><A ");
document.writeln("                        href=\"javascript:window.external.AddFavorite(\'<%=url%>\',\'<%=homes%>\');\" ");
document.writeln("                        target=_self><FONT ");
document.writeln("                    color=#ff0000>加入收藏<\/FONT><\/A><\/DIV><\/TD><\/TR><\/TBODY><\/TABLE><\/TD>");
document.writeln("                <TD align=middle width=\"20%\">");
document.writeln("记得每天都要上喔！<\/TD><\/TR><\/TBODY><\/TABLE><\/TD><\/TR><\/TBODY><\/TABLE><\/TD><\/TR><\/TBODY><\/TABLE>");
document.writeln("<TABLE width=970 border=0 align=\"center\" cellPadding=0 cellSpacing=0>");
document.writeln("  <TBODY>");
document.writeln("  <TR>");
document.writeln("    <TD width=220><A href=\"<%=url%>\"><IMG ");
document.writeln("      height=55 src=\"<%=url%>/images/skin2/Top/LOGO.gif\" width=220 border=0><\/A><\/TD>");
document.writeln("    <TD height=55>");
document.writeln("<div class=\"top\" align=\"center\"><FONT color=#ff0000>公告：<%=talk%><\/FONT><\/div>");
document.writeln("      <TABLE height=21 cellSpacing=0 cellPadding=0 border=0>");
document.writeln("        <TBODY>");
document.writeln("          <TR>");
document.writeln("            <TD width=72 height=\"20\" align=middle vAlign=bottom background=\"<%=url%>/images/top/top_02_2.gif\"><div align=\"center\"><A href=\"<%=Class12%>\" ");
document.writeln("      alt=\"<%=Class11%>\" target=\"<%=Class13%>\"><%=Class11%><\/A><\/div><\/TD>");
document.writeln("            <TD width=72 height=\"20\" align=middle vAlign=bottom background=\"<%=url%>/images/top/top_01_1.gif\"><div align=\"center\"><A href=\"<%=Class22%>\" ");
document.writeln("      alt=\"<%=Class21%>\" target=\"<%=Class23%>\"><%=Class21%><\/A><\/div><\/TD>");
document.writeln("            <TD width=72 height=\"20\" align=middle vAlign=bottom background=\"<%=url%>/images/top/top_02_2.gif\"><div align=\"center\"><A href=\"<%=Class32%>\" ");
document.writeln("      alt=\"<%=Class31%>\" target=\"<%=Class33%>\"><%=Class31%><\/A><\/div><\/TD>");
document.writeln("            <TD width=72 height=\"20\" align=middle vAlign=bottom background=\"<%=url%>/images/top/top_02_2.gif\"><div align=\"center\"><A href=\"<%=Class42%>\" ");
document.writeln("      alt=\"<%=Class41%>\" target=\"<%=Class43%>\"><%=Class41%><\/A><\/div><\/TD>");
document.writeln("            <TD width=72 height=\"20\" align=middle vAlign=bottom background=\"<%=url%>/images/top/top_02_2.gif\"><div align=\"center\"><A href=\"<%=Class52%>\" ");
document.writeln("      alt=\"<%=Class51%>\" target=\"<%=Class53%>\"><%=Class51%><\/A><\/div><\/TD>");
document.writeln("            <TD width=72 height=\"20\" align=middle vAlign=bottom background=\"<%=url%>/images/top/top_02_2.gif\"><div align=\"center\"><A href=\"<%=Class62%>\" ");
document.writeln("      alt=\"<%=Class61%>\" target=\"<%=Class63%>\"><%=Class61%><\/A><\/div><\/TD>");
document.writeln("            <TD width=72 height=\"20\" align=middle vAlign=bottom background=\"<%=url%>/images/top/top_02_2.gif\"><div align=\"center\"><A href=\"<%=Class72%>\" ");
document.writeln("      alt=\"<%=Class71%>\" target=\"<%=Class73%>\"><%=Class71%><\/A><\/div><\/TD>");
document.writeln("            <TD width=72 height=\"20\" align=middle vAlign=bottom background=\"<%=url%>/images/top/top_02_2.gif\"><div align=\"center\"><A href=\"<%=Class82%>\" ");
document.writeln("      alt=\"<%=Class81%>\" target=\"<%=Class83%>\"><%=Class81%><\/A><\/div><\/TD>");
document.writeln("            <TD width=72 height=\"20\" align=middle vAlign=bottom background=\"<%=url%>/images/top/top_02_2.gif\"><div align=\"center\"><A href=\"<%=Class92%>\" ");
document.writeln("      alt=\"<%=Class91%>\" target=\"<%=Class93%>\"><%=Class91%><\/A><\/div><\/TD>");
document.writeln("            <TD width=72 height=\"20\" align=middle vAlign=bottom background=\"<%=url%>/images/top/top_02_2.gif\"><div align=\"center\"><A href=\"<%=Class02%>\" ");
document.writeln("      alt=\"<%=Class01%>\" target=\"<%=Class03%>\"><%=Class01%><\/A><\/div><\/TD>");
document.writeln("          <\/TR>");
document.writeln("        <\/TBODY>");
document.writeln("      <\/TABLE><\/TD><\/TR><\/TBODY><\/TABLE>");
    </textarea></td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#c6e3f7">
    <p align="center">        
    <input name="change" class=buttonface value="生成网站顶部(JS)" type='submit'> </td>
  </tr>
</form>
</table>
<%
end if
%>   
</body>    
</html>