yuesu/aspxadmin/Ztadd.aspx

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="Ztadd.aspx.cs" Inherits="Mvcb2b.aspxadmin.Ztadd" Title="专题添加" ValidateRequest="false" %>
<%@ MasterType VirtualPath="Admin.Master" %>
<%@ Register src="controls/UpallfilesMoban.ascx" tagname="UpallfilesMoban" tagprefix="uc1" %>
<%@ Register src="controls/Upsmall.ascx" tagname="Upsmall" tagprefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript">
    var editorpath = "<%=Fun.Webdirectory%>editors/";
function checkform()
{
    if (typeof (Page_ClientValidate) == 'function') {
        if (Page_ClientValidate('Haosubmit'))    //(Page_ClientValidate())
           {               
       
           } 
    }
}
function Win_open(link) {
    window.open(link, '', 'top=200,left=450,width=550,height=380,scrollbars=yes,resizable=yes');
}
</script>

<div class="path">当前位置: 系统管理 >>  专题管理</div>
<h3><asp:Literal  ID="Literal1" runat="server"></asp:Literal></h3>

<table width="92%" border="0" class="editor" align="center" style="background-color:#f5f5f5;" cellpadding="3" cellspacing="1">     
<tr><td  align="right" style="height: 23px"><span style="color: Red">*</span>标题 :</td><td style="height: 23px"><asp:TextBox ID="zttitle_txt" runat="server" Width="300px" ValidationGroup="Haosubmit"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator1"   runat="server" ErrorMessage="标题 不能为空"  Display="None" ControlToValidate="zttitle_txt" ValidationGroup="Haosubmit"></asp:RequiredFieldValidator></td></tr>  
<tr><td  align="right" style="height: 23px"><span style="color: Red">*</span>拼音或英文:</td>
<td ><asp:TextBox ID="ztpinyin_txt" runat="server" Width="100px" ValidationGroup="Haosubmit"></asp:TextBox>  <asp:RequiredFieldValidator ID="RequiredFieldValidator2"   runat="server" ErrorMessage="用于URL显示的英文或拼音不能为空"  Display="None" ControlToValidate="ztpinyin_txt" ValidationGroup="Haosubmit"></asp:RequiredFieldValidator> 
</td></tr> 
<tr><td  align="right" style="height: 23px">简介:</td>
<td style="height: 23px"><asp:TextBox ID="ztdes_txt" runat="server" Width="300px" Height="120px" TextMode="MultiLine" ValidationGroup="Haosubmit"></asp:TextBox>
</td></tr> 
<tr><td  align="right" style="height: 23px">转向网址:</td>
<td >
<asp:TextBox ID="referurl_txt" runat="server" Width="300px" ></asp:TextBox>
</td></tr> 
<tr id="picsmall_id">
  <td align="right">导图:</td>
  <td><uc3:Upsmall ID="Upsmall1" runat="server" />   <span style="color:#ccc;">规格最大为1080px*548px;</span> </td>
</tr>
<tr style="display:none"><td  align="right" style="height: 23px">首页模板:</td>
<td ><input type="text" value="meeting/index" name="mobanhome_txt" readonly="readonly" style="width:100px;"  id="mobanhome_txt"  />浏览服务器文件:<a class="browse" href="javascript:Win_open('FileBrowse.aspx?n=mobanhome_txt');" title="点击此处浏览已上传到服务器模板文件.."><span>浏览</span></a>
&nbsp;直接上传:<uc1:UpallfilesMoban ID="UpallfilesMoban1" runat="server" />
</td></tr> 
<tr style="display:none"><td  align="right" style="height: 23px">列表模板:</td>
<td ><input type="text" value="meeting/list" name="mobanlist_txt" readonly="readonly" style="width:100px;"  id="mobanlist_txt"  />浏览服务器文件:<a class="browse" href="javascript:Win_open('FileBrowse.aspx?n=mobanlist_txt');" title="点击此处浏览已上传到服务器模板文件.."><span>浏览</span></a> 
&nbsp;直接上传:<uc1:UpallfilesMoban ID="UpallfilesMoban2" runat="server" />
</td></tr> 
<tr style="display:none"><td  align="right" style="height: 23px">信息模板:</td>
<td ><input type="text" value="meeting/detail" name="mobanview_txt" readonly="readonly" style="width:100px;"  id="mobanview_txt"  />浏览服务器文件:<a class="browse" href="javascript:Win_open('FileBrowse.aspx?n=mobanview_txt');" title="点击此处浏览已上传到服务器模板文件.."><span>浏览</span></a>
&nbsp;直接上传:<uc1:UpallfilesMoban ID="UpallfilesMoban3" runat="server" />
</td></tr> 
<tr><td colspan="2" align="center" style="padding-top:10px;"><asp:HiddenField ID="action_txt" runat="server" /><asp:HiddenField ID="id_txt" runat="server" />
    <asp:Button ID="Add" runat="server" Text="添加" Width="58px"  ValidationGroup="Haosubmit" onclick="Add_Click" />&nbsp;<asp:Button ID="Edit" runat="server" Text="修改"  Width="58px" TabIndex="10" ValidationGroup="Haosubmit"   ></asp:Button>&nbsp;<asp:validationsummary id="ValidationSummary1"  runat="server" ShowMessageBox="True" ShowSummary="False"  ValidationGroup="Haosubmit"></asp:validationsummary> <input type="button" value="返回" name="go" style="width:58px;" onclick="javascript:history.go(-1);"  /></td></tr>
</table>

<div class="help">
        <h4>? 帮助</h4>
        <ul>        
       <!-- <li>1. 默认:首页模板为Index.aspx文件,列表模板为List.aspx文件,文章模板为Detail.aspx文件。新建模板文件时,如果复制或者选择错误模板文件,前台将会提示出错。</li>
后面还有 5 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。