?? addzp.asp
字號:
<!--#include file=cn.asp-->
<%if session("sheji")="" or session("user")="" then
response.Write "<script language='javascript'>alert('非法用戶!');window.location.replace('../login.asp');</script>"
response.End
end if%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>連云港裝飾網 設計師作品</title>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
<link href="../css/styles.css" rel="stylesheet" type="text/css" />
</head>
<body> <!--#include file=top.asp-->
<table cellspacing="0" cellpadding="3" width="760" align="center"
border="0">
<tr>
<td align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:5px ">
<tr align="right" bgcolor="#198fe5">
<td width="1461" colspan="3"><img src="../Knowledge/images/knowledge_17.gif" width="401" height="3" alt="" /></td>
</tr>
<tr>
<td colspan="3" background="images/line2.gif"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
</table>
<table width="757" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="120" valign="top"><img src="../images/img_001.gif" width="180" height="417" /></td>
<td valign="top"><table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><table height="24" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
<tr>
<td width="5"><img height="24" src="../images/sele_img01.gif" width="5" /></td>
<td class="menuTD_sele" style="WIDTH: 103px" align="center" width="103"><strong>家裝作品發布</strong></td>
<td width="15"><img height="24" src="../images/sele_img07.gif" width="15" /></td>
<td style="BORDER-BOTTOM: #9a9a9a 1px solid"> </td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
<form id="form1" name="form1" method="post" action="save_zp.asp?sid=<%=session("id")%>">
<tr>
<td style="BORDER-RIGHT: #9a9a9a 1px solid; BORDER-LEFT: #9a9a9a 1px solid; BORDER-BOTTOM: #9a9a9a 1px solid"
align="center"><div id="MemberCtl1_Step1Panel"> <font face="宋體"></font><font face="宋體"></font><font face="宋體"></font><font face="宋體"></font><font face="宋體"></font><font face="宋體"></font><font face="宋體"></font><font face="宋體"></font><font face="宋體"></font><br />
<table class="table_da" cellspacing="1" cellpadding="2" width="520" border="0">
<tr>
<td class="tdTitle" colspan="2"><strong>發布信息:</strong></td>
</tr>
<tr>
<td class="tdLeft_da" align="right" width="25%"><font face="宋體">作品名稱:</font></td>
<td align="left" class="tdSelect_da"><input name="xname" type="text" id="xname" size="20" />
<span class="STYLE1">*</span> </td>
</tr>
<tr>
<td class="tdLeft_da" align="right" width="25%">風格:</td>
<td align="left" class="tdSelect_da"><select id="WorksSearchBar1_ddl_F_Style" name="fengge">
<option >所有風格</option>
<option value="禪意風格">禪意風格</option>
<option value="新古典主義">新古典主義</option>
<option value="中西合璧">中西合璧</option>
<option value="童趣風格">童趣風格</option>
<option value="自然優雅">自然優雅</option>
<option value="后現代風格">后現代風格</option>
<option value="古典風格">古典風格</option>
<option value="簡約風格">簡約風格</option>
<option value="現代時尚">現代時尚</option>
<option value="中式簡約">中式簡約</option>
<option value="現代歐式">現代歐式</option>
<option value="意大利古典風格">意大利古典風格</option>
<option value="中式風格">中式風格</option>
<option value="波西米婭">波西米婭</option>
<option value="歐式風情">歐式風情</option>
<option value="路易十五">路易十五</option>
<option value="法式田園">法式田園</option>
<option value="英式鄉村">英式鄉村</option>
<option value="美國田園">美國田園</option>
<option value="西班牙復古風情">西班牙復古風情</option>
<option value="其它">其它</option>
</select>
<span class="STYLE1">*</span></td>
</tr>
<tr>
<td class="tdLeft_da" style="HEIGHT: 27px" align="right" width="25%">類型:</td>
<td align="left" class="tdSelect_da" style="HEIGHT: 27px"><select name="leixing" id="leixing">
<%set rs=server.CreateObject("adodb.recordset")
sql="select * from jzhlei "
rs.open sql,cn,1,3
for i= 1 to rs.recordcount
%>
<option value="<%=rs("title")%>"><%=rs("title")%></option>
<%
rs.movenext
if rs.eof then exit for
next
%>
</select>
</td>
</tr>
</table>
</div>
<table class="table_da" id="Table1" cellspacing="1" cellpadding="2" width="520" border="0">
<!--DWLayoutTable-->
<tr>
<td class="tdTitle" colspan="2"><strong>圖片信息:</strong></td>
</tr>
<tr>
<td class="tdLeft_da" align="right" width="25%">有效期:</td>
<td align="left" class="tdSelect_da"><span class="STYLE1">
<select name="ontime" id="ontime">
<option value="30">一個月</option>
<option value="60">兩個月</option>
<option value="90">三個月</option>
</select>
</span></td>
</tr>
<tr>
<td class="tdLeft_da" align="right" width="25%">圖片:</td>
<td align="left" class="tdSelect_da"><input name="pic" type="text" id="pic" size="30" />
<input type="button" name="Submit22" value="上傳圖片" onClick="window.open('jzh_pic/myupform.asp?formname=form1&editname=pic','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" /></td>
</tr>
<tr>
<td class="tdLeft_da" align="right" width="25%"><font face="宋體">介紹:</font></td>
<td align="left" class="tdSelect_da"><textarea name="inf" cols="40" rows="8" id="inf"></textarea></td>
</tr>
<tr>
<td class="tdTitle" colspan="2"><strong>聯系信息:</strong></td>
</tr>
</table>
</div>
<div id="MemberCtl1_Panel1"> <font face="宋體"><br />
</font>
<input type="image" name="pic" onClick="return check()" src="../images/registerButton.gif" alt="" border="0" />
<font face="宋體">
<input type="image" name="fh" id="fh" class="IMGINPUT" src="../images/back.gif" alt="" onclick="history.go(-1)"border="0" />
</font> </td>
</tr> </form>
</table>
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
<tr>
<td align="center"><img style="FILTER: chroma(color=#ffffff)" height="15" src="../images/sele_img2.gif"
width="100%" align="middle" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<%
rs.close
set rs=nothing
cn.close
set cn=nothing
%>
<script language="javascript">
function check()
{
if (document.form1.xname.value=="")
{
alert("項目名稱不能為空!")
form1.xname.focus()
return false
}
if (form1.hx.value=="")
{
alert("戶型不能為空!")
form1.hx.focus()
return false
}
if (form1.tel.value=="")
{
alert("聯系電話不能為空!")
form1.tel.focus()
return false
}
if (form1.cname.value=="")
{
alert("姓名或呢稱不能為空!")
form1.cname.focus()
return false
}
if (form1.tel.value=="")
{
alert("電話不能為空!")
form1.tel.focus()
return false
}
if (form1.fengge.value=="")
{
alert("風格不能為空!")
form1.fengge.focus()
return false
}
}
</script>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -