<!--#include file=inc/conn.asp-->
<!--#include file="inc/jle_sub.asp"-->
<!--#include file="inc/function.asp"-->
<%
if request("chk")="add" then
set rs=server.createobject("adodb.recordset")
sql = "select * from jle_114"
rs.open sql,conn,1,3
rs.addnew
rs("web")=HtmlEncode(trim(request("web")))
rs("url")=HtmlEncode(trim(request("url")))
rs("webabout")=HtmlEncode(trim(request("webabout")))
rs("yanz")=0
rs("jrsj")=now()
rs.update
rs.close
set rs=nothing
closedb
response.write "<script language=JavaScript>" & chr(13) & "alert('114服务信息申请成功，请等待管理员审核！')</script>"
response.write "<meta http-equiv=refresh content=""3;URL=index.asp"">"
response.end
else
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>申请114服务信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="Keywords"  content="<%=metakey%>" />
<meta name="Description" content="<%=metades%>" />
<link rel="icon" href="<%=web%>/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<%=web%>/favicon.ico" type="image/x-icon" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<SCRIPT language=javascript>
<!--
function CheckForm()
{
if(document.thisForm.web.value.length<1)
	{
	    alert("服务名称不能为空!");
	    return false;
	}
	if(document.thisForm.url.value.length<1)
	{
	    alert("电话不能为空!");
	    return false;
	}
			if(document.thisForm.webabout.value.length<1)
	{
	    alert("服务简介不能为空!");
	    return false;
	}
	


}

//-->
</SCRIPT>
<%call top()%><div id="Fmain">


<%
response.write "<div id=FFTit class=F12bold>申请114服务信息</div><div id=FFContent><div Class='FFdiv'>"
response.write "<table width=965><tr><td><table width=680>"
%>
<form method="POST" name="thisForm" action="?chk=add">
<%
response.write "<tr><td align=""center""><span style=""FONT-SIZE: 12px"">服务名称：</span></td><td>"
response.write "<input type=""text"" name=""web"" size=""16"" maxlength=""10""><font color=""#FF0000"">不要超过7个字如：xx空调维修*</font></td></tr><tr>"
response.write "<td align=""center"">服务电话：</td><td><input type=""text"" name=""url"" maxlength=""20"" size=""16"" value=""""><font color=""#FF0000"">如:010-9999999*</font></td>"
response.write "</td></tr><tr><td align=""center"">主营业务简介：</td><td>"
response.write "<input type=""text"" name=""webabout"" size=""60"" maxlength=""60""> <font color=""#FF0000"">不要超过40字*</font></td>"
response.write "</tr><tr><td vAlign=""top"" align=""center""colspan=""2""> "
%>
<input border="0"onclick="javascript:return CheckForm();" value="提交链接" name="I2" type="submit">
<%
response.write "</td></tr></form></table></td>"
response.write "<td></td></td></table></div></div><br>"
response.write "<div id=FFTit class=F12bold>友情合作网站</div><div id=FFContent><div Class='FFdiv'>"

call links()
response.write "</div></div>"
%>
<br style="clear:both;" />
<div id="footer">
<%call bottom()%></div></div><%end if%>
</body>
</html>