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

📄 publish_info.asp

📁 中国库存信息网 完整版 [已通过安全检测]Symantec AntiVirus 企业版 10.0.0.0.359 ║ ║ [病毒定义文件版本] 2006-5-5 rev.24 ║  ║ [已通
💻 ASP
字号:
<%@ codepage ="936" %>
<%
if id=session("id") then
session("pageid")="xxfb"
response.redirect "index.asp"
else
id=session("id")
%>
<!--#include file="dbconn2.asp"-->
<!--#include file="config.asp"-->
<!--#include file="hylb.asp"-->
<script LANGUAGE="JavaScript">
function check()
{
if (document.Form1.bighy.value =="")
{ 
alert("请选择行业类别!"); 
document.Form1.bighy.focus(); 
return (false); 
} 
if (document.Form1.lithy.value =="")
{ 
alert("请选择行业子类!"); 
document.Form1.lithy.focus(); 
return (false); 
} 
if (document.Form1.showname.value=="")
{
alert("信息标题不能为空")
document.Form1.showname.focus()
document.Form1.showname.select()
return
}
if (document.Form1.jgsm.value=="")
{
alert("价格说明不能为空")
document.Form1.jgsm.focus()
document.Form1.jgsm.select()
return
}
if (document.Form1.type.value =="") 
{ 
alert("请选择交易类别!"); 
document.Form1.type.focus(); 
return (false); 
} 
if (document.Form1.content.value=="")
{
alert("信息内容不能为空")
document.Form1.content.focus()
document.Form1.content.select() 
return
}
if (document.Form1.linkman.value=="")
{
alert("联系人不能为空")
document.Form1.linkman.focus()
document.Form1.linkman.select() 
return
}
if (document.Form1.phone.value=="")
{
alert("联系电话不能为空")
document.Form1.phone.focus()
document.Form1.phone.select() 
return
}
if (document.Form1.address.value=="")
{
alert("联系地址不能为空")
document.Form1.address.focus()
document.Form1.address.select() 
return
}
if (document.Form1.country.value=="")
{
alert("所在区域不能为空")
document.Form1.country.focus()
document.Form1.country.select() 
return
}
if (document.Form1.city.value=="")
{
alert("所在城市不能为空")
document.Form1.city.focus()
document.Form1.city.select() 
return
} 
if (document.Form1.email.value=="")
{
alert("电子邮件不能为空")
document.Form1.email.focus()
document.Form1.email.select() 
return
} 
document.Form1.submit()
}
</SCRIPT>
<script language="javascript">
function show_sader(mylink)
{
window.open(mylink,'','top=50,left=50,width=430,height=400,scrollbars=no')
}
</script>
<head>
<STYLE type=text/css>
TD {
COLOR: #000; FONT-FAMILY: 宋体; FONT-SIZE: 12px
}
.GR {
COLOR: #666
}
</STYLE>
</head>
<BODY text=#000000 leftMargin=0 topMargin=0 
marginheight="0" marginwidth="0">
<div align="center">
<center>
<TABLE cellSpacing=1 width="100%" bgColor=#ffffff border=0 style="border-collapse: collapse" bordercolor="#111111" height="460">
<TBODY>
<tr>
<TD width="100%" height="457">
<form method="POST" action="save_info.asp" name="Form1">
<center>
<table border="0" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" height="403"> 
<tr>
<td width="100%" height="12"></td>
</tr>
<tr>
<td width="100%" height="22">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3" height="20">
<tr>
<td width="23" bgColor="#96a5e2" style="color: #000; font-size: 12px; font-family: 宋体" height="20">
<img border="0" src="images/z3.gif"></td>
<td width="160" bgColor="#5298D1" style="color: #000; font-size: 12px; font-family: 宋体" height="20">
<b>&nbsp;</b><font color="#FFFFFF"><span style="font-size: 10.5pt"><b>信息所属分类</b></span></font></td>
<td style="color: #000; font-size: 12px; font-family: 宋体" height="20" width="12">
<img border="0" src="images/z4.gif"></td>
<td style="color: #000; font-size: 12px; font-family: 宋体" height="20" width="583">
<p align="right"><font color=#ff6600>【</font><font color="#FF6600">*</font><font color=#ff6600>为必填写】&nbsp;【<a style="text-decoration: none" href="javascript:show_sader(&quot;explanation1.asp&quot;)"><font color=#ff6600>发布须知</font></a>】&nbsp;&nbsp;&nbsp; </td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="12">
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5" height="36" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" cellpadding="0">
<tr>
<td width="131" align="center" height="33" bgcolor="#D7EFFB">
<p align="right">行业频道:</td> 
<td width="231" align="left" height="33" bgcolor="#D7EFFB">&nbsp;<select class=f11 name="bighy" onChange="MenuChange(this)" size="1">
<option>==选择行业分类==</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> 

</select><font color="#FF6600"> 
*</font></td>
<td width="135" height="33" bgcolor="#D7EFFB">
<p align="right">行业子类别:</td>
<td width="291" height="33" bgcolor="#D7EFFB">&nbsp;<select class=f11 name="lithy" size="1"> 
<option>==选择行业子类==</option></select><font color="#FF6600"> 
*</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="15"></td>
</tr>
<tr>
<td width="100%" height="22">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3" height="20">
<tr>
                        <td width="23" bgColor="#96a5e2" style="color: #000; font-size: 12px; font-family: 宋体" height="20"> 
                          <img src="images/z3.gif" width="23" height="22" border="0"></td>
<td width="160" bgColor="#5298D1" style="color: #000; font-size: 12px; font-family: 宋体" height="20">
<b>&nbsp;<font color="#FFFFFF"><span style="font-size: 10.5pt">要发布的信息</span></font></b></td>
                        <td style="color: #000; font-size: 12px; font-family: 宋体" height="20" width="12"> 
                          <img src="images/z4.gif" width="8" height="22" border="0"></td>
<td style="color: #000; font-size: 12px; font-family: 宋体" height="20" width="583">
<p align="right"><font color="#FF0000">注:请不要发布重复信息,谢谢合作&nbsp;&nbsp;&nbsp;&nbsp; 
</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" bgcolor="#D7EFFB" height="127">
<div align="center">
<center>
<table border="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" bordercolorlight="#FFFFFF" cellpadding="2" bordercolordark="#FFFFFF" height="98" cellspacing="1">
<tr>
<td width="15%" height="19">
<p align="right">信息主题:</td>
<td width="34%" height="19">
<input type="text" size="21" name="showname" style="border-style: solid; border-width: 1" value="<%=rs("showname")%>"><font color="#FF6600"> 
*</font></td>
<td width="51%" rowspan="4" valign="top" height="89">
<table border="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber4">
<tr>
<td width="100%">信息内容:<font color="#800000">(请详细描述您发布的供求信息)</font></td>
</tr>
<tr>
<td width="100%">
<textarea rows="7" cols="33" name="content" class="f11" style="border-style:solid; border-width:1; font-family: 宋体"><%=rs("content")%></textarea></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" height="19">
<p align="right">价格说明:</td>
<td width="34%" height="19">
<input type="text" size="21" name="jgsm" style="border-style: solid; border-width: 1" value="<%=rs("jgsm")%>"><font color="#FF6600"> 
*</font></td>
</tr>
<tr>
<td width="15%" height="19">
<p align="right">交易类别:</td>
<td width="34%" height="19">
<select size="1" name="type" class="f11" style="border-style: solid; border-width: 1">
                                <option>==请选择==</option>
                                <option value="采购">采购</option>
                                <option value="供应">供应</option>
                              </select><font color="#FF6600"> *</font></td>
</tr>
<tr>
<td width="15%" height="1">
<p align="right">有 效 期:</td>
<td width="34%" height="1">
<select size="1" name="period" class="f11" style="border-style: solid; border-width: 1"> 
<option value="一周">一周</option>
<option value="半月">半月</option>
<option value="一个月">一个月</option>
<option value="三个月">三个月</option>
<option value="六个月">六个月</option>
<option value="一年">一年</option>
<option value="长期">长期</option>
</select><font color="#FF6600"> *</font></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
<tr><td width="100%" height="2" bgcolor="#EAF7FD"></td></tr>
<tr><td width="100%" height="15"></td></tr>
<tr>
<td width="100%" height="22">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3" height="20">
<tr>
<td width="20" bgColor="#96a5e2" style="color: #000; font-size: 12px; font-family: 宋体" height="20">
<img border="0" src="images/z3.gif"></td>
<td width="160" bgColor="#5298D1" style="color: #000; font-size: 12px; font-family: 宋体" height="20">
<b>&nbsp;</b><font color="#FFFFFF" style="font-size: 10.5pt"><b>您的联系资料</b></font></td>
<td style="color: #000; font-size: 12px; font-family: 宋体" height="20">
<img border="0" src="images/z4.gif"></td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#F0F4F0" height="25">
<td width="100%" bgcolor="#D7EFFB" height="138">
 <div align="center">
<center>
<table border="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" bordercolorlight="#FFFFFF" cellpadding="2" bordercolordark="#FFFFFF" height="121">
<tr>
<td width="15%" valign="top" height="22">
<p align="right">联 系 人:</td>
<td width="34%" valign="top" height="22">
<input type="text" size="21" class="f11" name="linkman" value=<%=session("name")%>><font color="#FF6600"> 
*</font></td>
<td width="16%" valign="top" height="22">
<p align="right">联系电话:</td>
<td width="35%" valign="top" height="22">
<input type="text" size="21" name="phone" value=<%=session("phone")%> ><font color="#FF6600"> 
*</font></td>
</tr>
<tr>
<td width="15%" valign="top" height="19">
<p align="right">公司名称:</td>
<td width="34%" valign="top" height="19">
<input type="text" size="21" name="company" value=<%=session("qymc")%>></td>
<td width="16%" valign="top" height="19">
<p align="right">联系地址:</td>
<td width="35%" valign="top" height="19">
<input type="text" size="21" name="address" value=<%=session("address")%>><font color="#FF6600"> 
*</font></td>
</tr>
<tr>
<td width="15%" valign="top" height="22">
<p align="right">所在区域:</td>
<td width="34%" valign="top" height="22">
<input type="text" size="21" name="country" value=<%=session("sf")%>><font color="#FF6600"> 
*</font></td>
<td width="16%" valign="top" height="22">
<p align="right">所属城镇:</td>
<td width="35%" valign="top" height="22">
<input type="text" size="21" name="city" value=<%=session("city")%>><font color="#FF6600"> 
*</font></td>
</tr>
<tr>
<td width="15%" valign="top" height="19">
<p align="right">电子邮件:</td>
<td width="34%" valign="top" height="19">
<input type="text" size="21" name="email" value=<%=session("email")%>><font color="#FF6600"> 
*</font></td>
<td width="16%" valign="top" height="19">
<p align="right">邮政编码:</td>
<td width="35%" valign="top" height="19"><input type="text" size="16" name="postcode" value=<%=session("post")%>> <font color="#FF6600"> 
*</font></td>
</tr>
<tr>
<td width="15%" valign="top" height="19">
<p align="right">公司传真:</td>
<td width="34%" valign="top" height="19">
<input type="text" size="21" name="fax" value=<%=session("fax")%>></td>
<td width="16%" valign="top" height="19">
<p align="right">公司网址:</td>
<td width="35%" valign="top" height="19">
<input type="text" size="21" name="web" value=<%=session("web")%> ></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
<tr>
<td align="center" width="100%" bgcolor="#D7EFFB" height="45">
<br>
<input type="button" value="发 布" onclick="check()">&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="重 填"><br>
 </td>
</tr>
</table>
</form>
<%end if%> </TD>
</tr>
</TBODY></TABLE>
</center>
</div>

⌨️ 快捷键说明

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