www.gusucode.com > 共享世纪内容管理系统 2.1 build 080704 全站开源版 > admin/mb_new.asp

    <%Admin="InfoMb"%>
<!--#include file="check.asp"-->
<!--#include file="mdb_path_info.asp"-->
<%
'==========================================
'
'  晓宇听幽新闻文章管理系统 2004
'
'  主页地址:http://www.xoYu.com
'
'==========================================
'程序名称:晓宇听幽新闻文章管理系统
'英文名称:xoYu News 2004 Professional
'程序创建时间:2003-7-10
'程序完成时间:2003-9-11
'最后修改时间:2003-10-10
'==========================================
if request("type")="1" then
title="分类模板"
elseif request("type")="2" then
title="文章模板"
elseif request("type")="3" then
title="专题模板"
end if
mbtype1=request("type") 
%> 
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta copy="WWW.2KY.CN 共享世纪">
<title>共享世纪新闻文章管理系统</title>
<link rel="stylesheet" href="admin.css" type="text/css">
<!--#include file="top.asp"-->
<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="form1" onSubmit="return checkForm()" method="post" action="mb_newsave.asp">
  <tr>
    <th width="100%" bgcolor="#99CCFF" colspan="2">
    <b>&nbsp;<img border="0" src="images/t_css.gif"><font color="#FFFFFF"><%=title%>(HTML)页模板</font></b></th>
  </tr>
 <tr>
            <td bgcolor="#FFFFFF" width="100%" colspan="2" class="forumrow">&nbsp;<img border="0" src="images/ICO.gif"> 模板类型:<%=title%>
            <input type=hidden Name=mbtype value=<%=mbtype1%>>
 </td>    
          </tr>  
          <tr>
            <td bgcolor="#FFFFFF" width="100%" colspan="2" class="forumrow">&nbsp;<img border="0" src="images/ICO.gif"> 模板名称:<input type="text" size=24 name="mbname"> </td>    
          </tr>  
  <tr>
    <td width="25%" valign="top" class="forumrow">
    <%if request("type")="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 request("type")="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 request("type")="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"></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>