📄 admin_makehtml.aspx
字号:
<%@ Page Language="c#" Inherits="AyNews.WebUI.Admin_MakeHTML" Codebehind="Admin_MakeHtml.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head runat="Server">
<title>生成页面</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript">
function ShowTable(which)
{
var Tarr = new Array("Base","Main","Show","Class","Special");;
for(i=0;i<Tarr.length;i++)
{
var T = eval("document.all." + Tarr[i]);
if(T)T.style.display = "none";
}
var CurT = eval("document.all." + which);
if(CurT)CurT.style.display = "";
ChangeStyle(which);
document.all.initStyle.value = which;
}
function ChangeStyle(which){
var arr = new Array("Base","Main","Show","Class","Special");;
for (i=0;i<arr.length;i++)
{
var TD = eval("document.all.TD" + arr[i]);
if(TD)
{
TD.style.borderLeft="1 solid #CCCCCC";
TD.style.borderRight="1 solid #CCCCCC";
TD.style.borderTop="1 solid #CCCCCC";
TD.style.background="#EEEEEE";
}
}
var CurTD = eval("document.all.TD" + which);
if(CurTD)
{
CurTD.style.border="none";
CurTD.style.background="#FFFFFF";
}
}
function init()
{
ShowTable(document.all.initStyle.value);
}
window.onload = init;
</script>
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<input type="hidden" id="initStyle" value="Base" runat="server">
<TABLE width="98%" height="40" border="0" align="center" cellPadding="0" cellSpacing="0">
<tr>
<td class="sys_title_left" align="center"> <font class="font_title">生成页面</font> </td>
</tr>
</TABLE>
<table width="98%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr bgcolor="#FFFFFF">
<td id="TDBase" height="25"><div align="center"><strong><a href="javascript:ShowTable('Base')">生成常用文件</a></strong></div></td>
<td id="TDMain" ><div align="center"><strong><a href="javascript:ShowTable('Main')">生成文章首页</a></strong></div></td>
<td id="TDShow" ><div align="center"><strong><a href="javascript:ShowTable('Show')">生成文章浏览页</a></strong></div></td>
<td id="TDClass" ><div align="center"><strong><a href="javascript:ShowTable('Class')">生成文章栏目页</a></strong></div></td>
<td id="TDSpecial" ><div align="center"><strong><a href="javascript:ShowTable('Special')">生成专题栏目页</a></strong></div></td>
</tr>
</table>
<table width="98%" border=0 cellpadding=2 cellspacing=1 bgcolor="#ffffff" id="Base" style="display:none;border:1 solid #CCCCCC" align="center">
<tr bgcolor="efefef">
<td height=30 align=center colspan="2"><font color=#993333> <strong>
生成常用文件</strong></font><font color=#000000> </font></td>
</tr>
<tr bgcolor="#f7f7f7">
<td width="30%" align="right">生成网页底部JS</td>
<td><asp:CheckBox ID="chk_Foot" runat="server" Checked="true" /></td>
</tr>
<tr bgcolor="#f7f7f7">
<td width="30%" align="right">生成站内统计JS</td>
<td><asp:CheckBox ID="chk_Count" runat="server" Checked="true" /></td>
</tr>
<tr bgcolor="#f7f7f7">
<td width="30%" align="right">生成投票调查JS</td>
<td><asp:CheckBox ID="chk_Vote" runat="server" Checked="true" /></td>
</tr>
<tr bgcolor="#f7f7f7">
<td width="30%" align="right">生成友情链接JS</td>
<td><asp:CheckBox ID="chk_Link" runat="server" Checked="true" /></td>
</tr>
<tr bgcolor="#f7f7f7">
<td width="30%" align="right">生成网站公告JS</td>
<td><asp:CheckBox ID="chk_Note" runat="server" Checked="true" /></td>
</tr>
<tr bgcolor="#f7f7f7">
<td width="30%" align="right">生成网页菜单JS</td>
<td><asp:CheckBox ID="chk_Menu" runat="server" Checked="true" /></td>
</tr>
<tr bgcolor="#f7f7f7">
<td width="30%" align="right">生成搜索工具JS</td>
<td><asp:CheckBox ID="chk_SearchForm" runat="server" Checked="true" /></td>
</tr>
<tr bgcolor="#f7f7f7">
<td width="30%" align="right">生成前台风格JS</td>
<td>
<select id="ddl_Skin" runat="server">
<option value="11">默认风格</option>
<option value="1">动漫人生</option>
<option value="2">黄色魅力</option>
<option value="3">粉红诱惑</option>
<option value="4">生命绿色</option>
<option value="5">安源风格</option>
<option value="6">金黄高贵</option>
<option value="7">浅灰时代</option>
<option value="8">花之仙子</option>
<option value="9">蓝色风暴</option>
<option value="10">墨蓝深远</option>
<option value="11">新闻风格</option>
<option value="12">动网风格</option>
<option value="13">透明风格</option>
<option value="14">清新剔透</option>
<option value="15">海天一色</option>
</select>
</td>
</tr>
<tr bgcolor="#f7f7f7">
<td> </td>
<td><asp:Button ID="btn_Base" runat="server" OnClick="btn_Base_Click" Text="生成常用文件" CssClass="htc_btn" /></td>
</tr>
</table>
<table width="98%" border=0 cellpadding=0 cellspacing=1 bgcolor="#ffffff" id="Main" style="display:none;border:1 solid #CCCCCC" align="center">
<tr bgcolor="efefef">
<td height=30 align=center colspan="2"><font color=#993333> <strong>
生成文章首页</strong></font><font color=#000000> </font></td>
</tr>
<TR bgcolor="#f7f7f7">
<TD width="30%" align="right">选择显示栏目:</TD>
<TD><asp:CheckBoxList ID="chk_IndexClassID" Runat="server" RepeatColumns="8" RepeatDirection="Horizontal" RepeatLayout="Flow"
CellSpacing="0" CellPadding="2"></asp:CheckBoxList>
</TD>
</TR>
<TR bgcolor="#f7f7f7">
<TD align="right" >标题长度: </TD>
<TD><asp:TextBox CssClass="htc_txt" id="tbx_IndexClass_TitleLen" runat="server" Text="24" Width="60px"></asp:TextBox></TD>
</TR>
<TR bgcolor="#f7f7f7">
<TD align="right">显示文章数目: </TD>
<TD ><asp:TextBox CssClass="htc_txt" id="tbx_IndexClass_Num" runat="server" Text="10" Width="60px"></asp:TextBox></TD>
</TR>
<TR bgcolor="#f7f7f7">
<TD align="right" >是否显示分类: </TD>
<TD><asp:CheckBox id="chk_ClassName" runat="server"></asp:CheckBox></TD>
</TR>
<TR bgcolor="#f7f7f7">
<TD align="right">是否显示更新时间: </TD>
<TD><asp:CheckBox id="chk_Class_DT" runat="server"></asp:CheckBox></TD>
</TR>
<tr bgcolor="#f7f7f7">
<td> </td>
<td><strong>生成最新文章JS</strong></td>
</tr>
<TR bgcolor="#f7f7f7">
<TD align="right" >标题长度: </TD>
<TD><asp:TextBox CssClass="htc_txt" id="tbx_IndexTitleLen" runat="server" Text="24" Width="60px"></asp:TextBox></TD>
</TR>
<TR bgcolor="#f7f7f7">
<TD align="right" width="30%">显示文章数目: </TD>
<TD><asp:TextBox CssClass="htc_txt" id="tbx_IndexNum" runat="server" Text="8" Width="60px"></asp:TextBox></TD>
</TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -