⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mb_edit.asp

📁 很好的企业网站管理系统!可以适应各种不同的小型企业!
💻 ASP
字号:
<%Admin="InfoMb"%>
<!--#include file="check.asp"-->
<!--#include file="mdb_path_info.asp"-->
<%
'#################################################################
'#  晓宇听幽网站内容管理系统(xoYu CMS)
'# 
'#  版权所有: 晓宇听幽工作室
'#
'#  制作人  :  xoyu(晓宇)            
'#           
'#  主页地址: http://www.xoYu.com	    晓宇听幽工作室
'#  论坛地址: http://www.xoYu.com/bbs/	晓宇听幽讨论区
'#
'#【版权声明】
'#################################################################
'# 本软体为共享软体(shareware)提供个人网站免费使用,请勿非法修改,
'# 转载,散播,或用于其他图利行为,并请勿删除版权声明。
'# 如果您的网站正式起用了这个脚本,请您通知我们,以便我们能够知晓!
'# 如果可能,请在您的网站做上我们的链接,希望能给予合作。谢谢!
'#################################################################
'# 程序名称:晓宇听幽网站内容管理系统·网站内容管理系统
'# 英文名称:xoYu News 2004 Professional For xoYu CMS
'# 程序创建时间:2003-7-10
'# 程序完成时间:2003-9-11
'# 最后修改时间:2003-11-15
'#################################################################
'# 请您尊重我们的劳动和版权,不要删除以上的版权声明部分,谢谢合作
'# 如有任何问题请到我们的论坛(http://www.xoyu.com/bbs/)告诉我们。 
'#################################################################
set rs=server.CreateObject("ADODB.RecordSet")
sql="select * from mb where id="&request("id")&""
rs.open sql,conn,1,1
if rs.eof and rs.bof then 
response.write "<b>错误:</b>此ID号的模板已被删除或不是你添加的!" 
response.end
else
MbName=rs("MbName")
MbContent=rs("MbContent")
mbtype1=rs("MbType")
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%> 
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta copy="程序制作:xoyu(QQ:5964887)www.xoyu.com">
<title>晓宇听幽网站内容管理系统</title>
<link rel="stylesheet" href="admin.css" type="text/css">
<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 openscriphtml()
{
if (navigator.appName!="Microsoft Internet Explorer")
   alert("此功能 Netscape 用户不能使用!")
else
   {newwin=window.open('html_editor.htm','','width=544,height=294');
    newwin.focus();
   }
}
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">
<table width="95%" border="0" cellspacing="1" cellpadding="3"  align=center class="tableBorder">
<form name="form" onSubmit="return checkForm()" method="post" action="mb_editsave.asp?id=<%=request("id")%>">
  <tr>
    <th width="100%" colspan="2">
    <b>&nbsp;<font color="#000000"><%if mbtype1="1" then%></font>分类<% end if %>
      <%if mbtype1="2" then%>文章<% end if %>
      <%if mbtype1="3" then%>专题<% end if %>(HTML)页模板</b></th>
  </tr>
 <tr>
            <td width="100%" colspan="2" class="forumrow">&nbsp;<img border="0" src="images/ICO.gif"> 模板类型:
            <%if mbtype1="1" then%>分类模版<% end if %>
      <%if mbtype1="2" then%>文章模版<% end if %>
      <%if mbtype1="3" then%>专题模版<% end if %> </td>    
          </tr>  
          <tr>
            <td width="100%" colspan="2" class="forumrow">&nbsp;<img border="0" src="images/ICO.gif"> 模板名称:<input type="text" size=24 name="mbname" value=<%=mbname%>> </td>    
          </tr>  
<tr>
    <td width="25%" valign="top" class="forumrow">
    <%if mbtype1="1" then%>
    <img border="0" src="images/ICO.gif"> 
    网页标签:<br>
    网页标题(<font color="#FF0000">[TITLE]</font>)
              <br>
    分类位置(<font color="#FF0000">[xoYu_TYPE]</font>)    
              <br>
    终极分页列表(<font color="#FF0000">[xoYu_LB]</font>) <br>
    两栏分类列表(<font color="#FF0000">[xoYu_LIST]</font>) 
            <br>
    单栏分类列表(<font color="#FF0000">[xoYu_DANHANG]</font>)<br>
    文章搜索(<font color="#FF0000">[xoYu_SEARCH]</font>) 
            <br>
    本类图片(<font color="#FF0000">[xoYu_TYPEPIC]</font>) <br>
    本类横向图片(<font color="#FF0000">[xoYu_IMAGE]</font>) <br>
    本类纵向图片(<font color="#FF0000">[xoYu_PIC]</font>) 
    <br>
    本级分类名(<font color="#FF0000">[xoYu_NAME]</font>) <br>
    本级分类列表(<font color="#FF0000">[xoYu_BJlist]</font>) 
            <br>
    本类TOP10(<font color="#FF0000">[xoYu_BJtop]</font>)
    <%elseif mbtype1="2" then%> <br>
    <img border="0" src="images/ICO.gif"> 网页标签:<br>
    网页标题(<font color="#FF0000">[TITLE]</font>) <br>
    分类位置(<font color="#FF0000">[xoYu_TYPE]</font>) <br>
    本级分类名(<font color="#FF0000">[xoYu_NAME]</font>) <br>
    同级分类表(<font color="#ff0000">[xoYu_BJlist]</font>) <br>
    本类TOP(<font color="#FF0000">[xoYu_BJtop]</font>) <br>
    相关文章(<font color="#FF0000">[xoYu_ALIST] </font>
            ) <br>
    文章编号(<font color="#ff0000">[xoYu_ID]</font>)<br>
    文章标题(<font color="#FF0000">[xoYu_TITLE]</font>) 
            <br>
    文章搜索(<font color="#FF0000">[xoYu_SEARCH]</font>) <br>
    文章内容(<font color="#FF0000">[xoYu_content]</font>) <br>
    作者(<font color="#FF0000">[xoYu_WRITER]</font>) 
            <br>
    来自(<font color="#FF0000">[xoYu_FORM]</font>) <br>
    点击数(<font color="#FF0000">[xoYu_HITS]</font>)<br>
    加入时间(<font color="#FF0000">[xoYu_DATE]</font>) <br>
    文章页数(<font color="#FF0000">[xoYu_PAGE]</font>) 
            <br>
    文章评论(<font color="#FF0000">[xoYu_REPLY]</font>) <br>
    评论内容(<font color="#FF0000">[xoYu_RCONTENT]</font>)<br>
    <%elseif mbtype1="3" then%>
    <img border="0" src="images/ICO.gif"> 
    网页标签:<br>
    网页标题(<font color="#FF0000">[TITLE]</font>)
              <br>
    分类位置(<font color="#FF0000">[xoYu_TYPE]</font>)    
              <br>
    终极分页列表(<font color="#FF0000">[xoYu_LB]</font>) <br>
    两栏分类列表(<font color="#FF0000">[xoYu_LIST]</font>) 
            <br>
    单栏分类列表(<font color="#FF0000">[xoYu_DANHANG]</font>)<br>
    文章搜索(<font color="#FF0000">[xoYu_SEARCH]</font>) <br>
    本类图(<font color="#FF0000">[xoYu_TYPEPIC]</font>) <br>
    本类横向(<font color="#FF0000">[xoYu_IMAGE]</font>) <br>
    本类纵向图片(<font color="#FF0000">[xoYu_PIC]</font>) 
    <br>
    本级分类名(<font color="#FF0000">[xoYu_NAME]</font>) <br>
    本级分类列表(<font color="#FF0000">[xoYu_BJlist]</font>) 
            <br>
            <%end if%>
    </td>
    <td width="80%" class="forumrow">
    <textarea style="width:100%; height:300;" rows="25" name="MbContent" cols="102"><%=mbcontent%></textarea></td>
  </tr>
  <tr>
    <th width="100%" colspan="2">
    <p align="center">        
    <input type="submit" value=" 修 改 模 板 "
  name="cmdok" Class="unnamed5"> [<a title="html编辑器" href="javascript:openscriphtml()"><img border="0" src="images/htmleditor.gif"></a>]</th>
  </tr>
</form>
</table>
</body>    
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -