📄 publish_info.asp
字号:
<%@ codepage ="936" %>
<%
if id=session("id") then
session("pageid")="xxfb"
response.redirect "../../login/login1.asp"
else
id=session("id")
%>
<!--#include file="../../conn/dbconn2.asp"-->
<!--#include file="../../inc/config.asp"-->
<!--#include file="../../inc/hylb.asp"-->
<script LANGUAGE="JavaScript">
function check()
{
if (document.Form1.cat_sel_name.value == "")
{
alert("请选择行业类别!");
document.Form1.cat_sel_name.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>
<LINK href="../../css/Style.css" rel=stylesheet type=text/css>
<SCRIPT language=javascript>
function PopupCatSel()
{
var selProdWnd=window.open("select_sort.asp","new","resizable=yes,width=580,height=320,top=0,scrollbars=yes");
if(selProdWnd.opener== null)
selProdWnd.opener = self;
return (false);
}
</SCRIPT>
<SCRIPT language=javascript>
var upfile_obj;
function OnUpFile()
{
upfile_obj.src=upfile_obj.lowsrc;
upfile_obj.src=document.forms["form1"].upfile.value;
}
</SCRIPT>
<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> </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>为必填写】 【<a style="text-decoration: none" href="javascript:show_sader("explanation1.asp")"><font color=#ff6600>发布须知</font></a>】 </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="114" align="center" height="33" bgcolor="#D7EFFB">
<p align="right">行业类别:</td>
<td width="664" align="left" height="33" bgcolor="#D7EFFB">
<INPUT name=bighy type=hidden><INPUT name=lithy type=hidden>
<INPUT disabled name=cat_sel_name size=30>
<font color="#FF6600"> </font>
<INPUT name=cat onclick=return(PopupCatSel()) type=button value=请选择您的类别><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 border="0" src="../images/z3.gif"></td>
<td width="160" bgColor="#5298D1" style="color: #000; font-size: 12px; font-family: 宋体" height="20">
<b> <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 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="#FF0000">注:请不要发布重复信息,谢谢合作
</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"><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: 宋体"></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"><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 selected>==请选择==</option>
<option value="采购">采购</option>
<option value="供应">供应</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> </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()"> <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 + -