📄 ads_join.php
字号:
<HTML>
<HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<title>我要链接!!! ☆1 比 24 文本付费广告网☆</title>
<style type="text/css">
<!--
.unnamed1 { font-size: 10.5pt; color: #0000FF; text-decoration: none; font-family: "新宋体"}
-->
</style>
</HEAD>
<BODY bgcolor="#FFFFFF" text="#0000FF" link="#0000FF" vlink="#0000FF" alink="#FF0033" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?php
require("yanet_ads_config_file_inc.php");
if ($submit) {
////////////////////////////////////////////// 处理输入
$user=chop($user);
$pass=chop($pass);
$pass1=chop($pass1);
$email=chop($email);
$webtype=chop($webtype);
$about=chop($about);
$web=chop($web);
$ggbt=chop($ggbt);
$name=chop($name);
$sex=chop($sex);
$adss=chop($adss);
$pos=chop($pos);
$idcard=chop($idcard);
$phone=chop($phone);
$corp=chop($corp);
$call=chop($call);
$all="$user$pass$email1$email2$webtype$about$web1$web2$ggbt$name$sex$old$adss$pos$idcard$phone$corp$call";
if(similar_text($SP_STR,$all)) dispmsg("填写错误:输入资料不能包含$SP_STR!!!");
if($pass!=$pass1) dispmsg("填写错误:重复密码错误!!!");
if($user==''||$pass==''||$email==''||$about==''||strlen($web)<8||$ggbt=='') dispmsg("填写错误:请您把表格填写完整");
$id = mysql_connect($MYSQL_HOST,$MYSQL_USER,$MYSQL_PASS);
mysql_select_db($DAT_NAME,$id);
$re=mysql_query("SELECT * FROM picdat WHERE user='$user'",$id);
if($myrow = mysql_fetch_array($re)) dispmsg("填写错误:用户名已经存在.");
/////////////////////////
if($sex=="显示")
$lll=mysql_query("INSERT INTO picdat (user,pass,email,webtype,about,web,ggbt,name,adss,pos,sex,odisped,userok,idcard,phone,corp,call) VALUES ('$user','$pass','$email','$webtype','$about','$web','$ggbt','$name','$adss','$pos','$sex','$ooo','$AUTO_USER','$idcard','$phone','$corp','$call')",$id);
else
$lll=mysql_query("INSERT INTO picdat (user,pass,email,webtype,about,web,ggbt,name,adss,pos,sex,oclicked,userok,idcard,phone,corp,call) VALUES ('$user','$pass','$email','$webtype','$about','$web','$ggbt','$name','$adss','$pos','$sex','$ooo','$AUTO_USER','$idcard','$phone','$corp','$call')",$id);
mysql_close($id);
/////////////////////////显示成功页面
?>
<table width="780" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFCC00" class="unnamed1">
<tr>
<td>
<CENTER><br><br>会员申请登记<br><br>
<A href="<?php echo $HOME_PAGE;?>">申请登记成功,请您等待处理。</a><br><br><br><?include 'copyright.php'?><br><br></center></td></tr></table>
<?php
////////////////////////////显示窗口结束
}
else{
//显示申请表格
?>
<table width="780" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFCC00" class="unnamed1">
<tr>
<td><center><br>图片广告投放申请<br></center>
<FORM method="post" action="<?php echo $PATH_INFO?>">
<table border="0" width="500" bordercolor="#000000" cellspacing="0" cellpadding="0"
style="border: 1px dotted" align="center" class="unnamed1">
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">登录帐号:</td>
<td width="50%" bgcolor="#CCCCCC" style="border-left: medium none" align="left"><p
align="left"><input name="user" maxlength="10" size="30" style="border: 1px dotted rgb(0,0,0)">** </td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">登录密码:</td>
<td width="50%" bgcolor="#CCCCCC" style="border-left: medium none" align="left"><input
name="pass" size="20" type="password" maxlength="10" style="border: 1px dotted rgb(0,0,0)">** </td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">确认密码:</td>
<td width="50%" bgcolor="#CCCCCC" style="border-left: medium none" align="left"><input
name="pass1" size="20" type="password" maxlength="10" style="border: 1px dotted rgb(0,0,0)">** </td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">联系EMAIL:</td>
<td width="50%" style="border-left: medium none" bgcolor="#CCCCCC" align="left"><input
name="email" size="20" style="border: 1px dotted rgb(0,0,0)">** </td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">网站类型:</td>
<td width="50%" style="border-left: medium none;font-size: 12" bgcolor="#CCCCCC" align="left"><select
name="webtype" size="1" style="border: 1px dotted">
<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>** </td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">网站简介:</td>
<td width="50%" style="border-left: medium none" bgcolor="#CCCCCC" align="left"><input
name="about" size="30" style="border: 1px dotted rgb(0,0,0)">** </td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">网站地址:</td>
<td width="50%" style="border-left: medium none" bgcolor="#CCCCCC" align="left"><input
name="web" size="27" value="http://" style="border: 1px dotted rgb(0,0,0)">** </td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">图片地址(468x60):</td>
<td width="50%" style="border-left: medium none" bgcolor="#CCCCCC" align="left"><input
name="ggbt" size="27" value="http://" style="border: 1px dotted rgb(0,0,0)">** </td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">真实姓名:</td>
<td width="50%" bgcolor="#CCCCCC" style="border-left: medium none" align="left"><input
name="name" size="20" style="border: 1px dotted rgb(0,0,0)">** </td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">地址:</td>
<td width="50%" bgcolor="#CCCCCC" style="border-left: medium none" align="left"><input
name="adss" size="30" style="border: 1px dotted rgb(0,0,0)">** </td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">邮编:</td>
<td width="50%" bgcolor="#CCCCCC" style="border-left: medium none" align="left"><input
name="pos" size="20" style="border: 1px dotted rgb(0,0,0)">** </td>
</tr> <tr bgcolor="#CCCCCC">
<td align=right width="50%">联系电话:</td>
<td align=left style="BORDER-LEFT: medium none"
width="50%">
<input maxlength=35 name=phone
style="BORDER-BOTTOM: rgb(0,0,0) 1px dotted; BORDER-LEFT: rgb(0,0,0) 1px dotted; BORDER-RIGHT: rgb(0,0,0) 1px dotted; BORDER-TOP: rgb(0,0,0) 1px dotted">
** </td>
</tr>
<tr bgcolor="#CCCCCC">
<td align=right width="50%">手机传呼:</td>
<td align=left style="BORDER-LEFT: medium none"
width="50%">
<input maxlength=35 name=call
style="BORDER-BOTTOM: rgb(0,0,0) 1px dotted; BORDER-LEFT: rgb(0,0,0) 1px dotted; BORDER-RIGHT: rgb(0,0,0) 1px dotted; BORDER-TOP: rgb(0,0,0) 1px dotted">
** </td>
</tr>
<tr bgcolor="#CCCCCC">
<td align=right width="50%">所在公司:</td>
<td align=left style="BORDER-LEFT: medium none"
width="50%">
<input maxlength=20 name=corp
style="BORDER-BOTTOM: rgb(0,0,0) 1px dotted; BORDER-LEFT: rgb(0,0,0) 1px dotted; BORDER-RIGHT: rgb(0,0,0) 1px dotted; BORDER-TOP: rgb(0,0,0) 1px dotted">
** </td>
</tr>
<tr bgcolor="#CCCCCC">
<td align=right width="50%">身份证号:</td>
<td align=left style="BORDER-LEFT: medium none"
width="50%">
<input maxlength=18 name=idcard
style="BORDER-BOTTOM: rgb(0,0,0) 1px dotted; BORDER-LEFT: rgb(0,0,0) 1px dotted; BORDER-RIGHT: rgb(0,0,0) 1px dotted; BORDER-TOP: rgb(0,0,0) 1px dotted">
** </td>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right"> </td>
<td width="50%" bgcolor="#CCCCCC" style="border-left: medium none" align="left"> </td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">发布类型:</td>
<td width="50%" bgcolor="#CCCCCC" style="border-left: medium none" align="left"><input
type="radio" value="显示" checked name="sex">按显示计算<input type="radio" value="点击"
name="sex">按点击计算</td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right">次数:</td>
<td width="50%" bgcolor="#CCCCCC" style="border-left: medium none" align="left"><input
name="ooo" size="20" style="border: 1px dotted rgb(0,0,0)"></td>
</tr>
<tr>
<td width="50%" bgcolor="#CCCCCC" align="right"> </td>
<td width="50%" bgcolor="#CCCCCC" style="border-left: medium none" align="left"> </td>
</tr>
<tr>
<td width="50%" bgcolor="#33cccc" align="right"><br><input type="submit"
value="提交申请" name="submit"
style="background-color: #33cccc; color: rgb(0,0,0); font-size: 12; border: 0px dotted"></td>
<td width="50%" bgcolor="#33cccc" style="border-left: medium none" align="left"><br><input
type="reset" value="重新填写" name="reset"
style="background-color: #33cccc; color: rgb(0,0,0); font-size: 12; border: 0px dotted"></td>
</tr>
</table></form>
<BR><center><?include 'copyright.php'?></center><br>
</td>
</tr>
</table>
<?php
}
?>
</body>
</html>
<!-//////////// -!>
<?php
function dispmsg($msg){
////////////////////////////显示窗口
?>
<table width="780" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFCC00" class="unnamed1">
<tr>
<td><center><br>图片广告投放申请<br><br>
<A href="javascript:history.go(-1)"><?php echo $msg; ?></a></center><BR><BR><BR><center><?include 'copyright.php'?></center><br>
</td>
</tr>
</table>
</center>
<?php
////////////////////////////显示窗口结束
exit;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -