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

📄 ad_softadd.asp

📁 该软件是帮助大学生更好的生活
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<%@language=vbscript codepage=936 %>
<%
option explicit
response.buffer=true	
Const PurviewLevel=2
Const CheckChannelID=3
Const PurviewLevel_Soft=3
%>
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="Ad_ChkPurview.asp"-->
<!--#include file="inc/func.asp"-->
<!--#include file="inc/ad_code_soft.asp"-->
<%
dim ClassID,SpecialID
dim SkinID,LayoutID,SkinCount,LayoutCount,ClassMaster,BrowsePurview,AddPurview
ClassID=session("ClassID_Soft")
SpecialID=session("SpecialID_Soft")
if ClassID="" then
	ClassID=0
else
	ClassID=Clng(ClassID)
end if
if SpecialID="" then
	SpecialID=0
else
	SpecialID=Clng(SpecialID)
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>添加软件</title>
<link rel="stylesheet" type="text/css" href="ad_Style.css">
<script language = "JavaScript">
function CheckForm()
{
  if (document.myform.ClassID.value=="")
  {
    alert("软件所属栏目不能指定为含有子栏目的栏目!");
	document.myform.ClassID.focus();
	return false;
  }
  if (document.myform.ClassID.value==0)
  {
    alert("软件所属栏目不能指定为外部栏目!");
	document.myform.ClassID.focus();
	return false;
  }

  if (document.myform.SoftName.value=="")
  {
    alert("软件名称不能为空!");
	document.myform.SoftName.focus();
	return false;
  }
  if (document.myform.SoftVersion.value=="")
  {
    alert("软件版本不能为空!");
	document.myform.SoftVersion.focus();
	return false;
  }
  if (document.myform.Author.value=="")
  {
    alert("软件作者/开发商不能为空!");
	document.myform.SoftVersion.focus();
	return false;
  }
  if (document.myform.OperatingSystem.value=="")
  {
    alert("系统平台不能为空!");
	document.myform.SoftVersion.focus();
	return false;
  }
  if (document.myform.Keyword.value=="")
  {
    alert("关键字不能为空!");
	document.myform.Keyword.focus();
	return false;
  }
  if (document.myform.SoftIntro.value=="")
  {
    alert("软件简介不能为空!");
	document.myform.SoftIntro.focus();
	return false;
  }
  if (document.myform.DownloadUrl1.value=="")
  {
    alert("软件下载地址1不能为空!");
	document.myform.DownloadUrl1.focus();
	return false;
  }
}
function ToSystem(addTitle)
{ 
	document.myform.OperatingSystem.value=document.myform.OperatingSystem.value+addTitle;
	document.myform.OperatingSystem.focus(); 
	return; 
}
</script>
</head>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
<form method="POST" name="myform" onSubmit="return CheckForm();" action="ad_SoftSave.asp" target="_self">
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="border">
    <tr class="title">
      <td height="22" align="center"><b>添 加 软 件</b></td>
    </tr>
    <tr align="center">
      <td>
	<table width="100%" border="0" cellpadding="2" cellspacing="1">
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>所属栏目:</strong></td>
            <td colspan="3">              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><select name='ClassID'>
                    <%call Admin_ShowClass_Option(3,ClassID)%>
                  </select></td>
                  <td><%response.write "<font color='#FF0000'><strong>注意:</strong></font><font color='#0000FF'>1、不能指定为含有子栏目的栏目,或者外部栏目"
			if AdminPurview=2 and AdminPurview_Article=3 then
              response.write "<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2、你只能在<font color='#FF0000'>红色栏目</font>及其子栏目中发表文章</font>"
			end if%>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>软件名称:</strong></td>
            <td colspan="2"><input name="SoftName" type="text" id="SoftName" value="" size="50" maxlength="255"> 
              <font color="#FF0000">*</font></td>
            <td><strong>软件版本:</strong> <input name="SoftVersion" type="text" id="SoftVersion3" size="30" maxlength="100"> 
              <font color="#FF0000">*</font></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>软件类别:</strong></td>
            <td><select name="SoftType" id="SoftType">
                <option value="1" selected>国产软件</option>
                <option value="2">国外软件</option>
                <option value="3">汉化补丁</option>
                <option value="4">程序源码</option>
                <option value="5">电影下载</option>
                <option value="6">FLASH动画</option>
                <option value="7">其他</option>
              </select> <font color="#FF0000">*</font></td>
            <td><strong>软件语言:</strong> <select name="SoftLanguage" id="SoftLanguage">
                <option value="1">英文</option>
                <option value="2" selected>简体中文</option>
                <option value="3">繁体中文</option>
                <option value="4">简繁中文</option>
                <option value="5">多国语言</option>
                <option value="6">其他语言</option>
              </select> <font color="#FF0000">*</font></td>
            <td><strong>授权形式:</strong> <select name="CopyrightType" id="CopyrightType">
                <option value="1">免费版</option>
                <option value="2" selected>共享版</option>
                <option value="3">试用版</option>
                <option value="4">演示版</option>
                <option value="5">注册版</option>
                <option value="6">破解版</option>

⌨️ 快捷键说明

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