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

📄 pay_join.php

📁 广告交换系统,详细的内容,请参见代码,没有加密的!
💻 PHP
字号:
<html>
<head>
<title>我要链接!!! 广告投放统计</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.unnamed1 {  font-family: "新宋体"; font-size: 10pt; color: #0000FF; text-decoration: none}
-->
</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);
$all="$user$pass$email1$webtype$about$web1$web2$ggbt$name$sex$pass1$adss$idcard";

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 ggdat WHERE user='$user'",$id);

if($myrow = mysql_fetch_array($re)) 	dispmsg("填写错误:该用户名已经存在!");

/////////////////////////
if($sex=="显示")
		$lll=mysql_query("INSERT INTO ggdat (user,pass,email,webtype,about,web,ggbt,name,adss,pos,sex,odisped,userok,phone,idcard) VALUES ('$user','$pass','$email','$webtype','$about','$web','$ggbt','$name','$adss','$pos','$sex','$ooo','$AUTO_USER','$phone','$idcard')",$id);
else
		$lll=mysql_query("INSERT INTO ggdat (user,pass,email,webtype,about,web,ggbt,name,adss,pos,sex,oclicked,userok,phone,idcard) VALUES ('$user','$pass','$email','$webtype','$about','$web','$ggbt','$name','$adss','$pos','$sex','$ooo','$AUTO_USER','$phone','$idcard')",$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 height="75"> 
      <div align="center"> <br>
        商家文本广告投放申请表<br>
        <br>
        <form method="post" action="<?php echo $PATH_INFO?>">
          <table border="0" width="500" bordercolor="#000000" cellspacing="0" cellpadding="0"
style="border: 1px dotted" class="unnamed1">
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">登录帐号:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <p
    align="left"> 
                  <input name="user"  maxlength="19" size="20" style="border: 1px dotted rgb(0,0,0)">
                  ** 
              </td>
            </tr>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">登录密码:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <input
    name="pass" size="20"  type="password" maxlength="19" style="border: 1px dotted rgb(0,0,0)">
                ** </td>
            </tr>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">确认密码:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <input
    name="pass1" size="20" type="password" maxlength="19" style="border: 1px dotted rgb(0,0,0)">
                ** </td>
            </tr>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">联系EMAIL:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <input
    name="email" size="20" style="border: 1px dotted rgb(0,0,0)" maxlength="100">
                ** </td>
            </tr>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">网站类型:</td>
              <td width="50%" style="border-left: medium none;font-size: 12" align="left"> 
                <select
    name="webtype" size="1" style="border: 1px dotted">
                  <option value="综合性网站" selected> 综 合 性 网 站 </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 bgcolor="#CCCCCC"> 
              <td width="50%" align="right">网站简介:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <input
    name="about" size="30" style="border: 1px dotted rgb(0,0,0)" maxlength="250">
                ** </td>
            </tr>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">网站地址:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <input
    name="web" size="27" value="http://" style="border: 1px dotted rgb(0,0,0)" maxlength="100">
                ** </td>
            </tr>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">网站标题:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <input
    name="ggbt" size="27"  maxlength="12" style="border: 1px dotted rgb(0,0,0)">
                ** </td>
            </tr>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">真实姓名:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <input
    name="name" size="20" style="border: 1px dotted rgb(0,0,0)" maxlength="6">
                ** </td>
            </tr>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">地址:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <input
    name="adss" size="30" style="border: 1px dotted rgb(0,0,0)" maxlength="250">
                ** </td>
            </tr>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">邮编:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <input
    name="pos" size="20" style="border: 1px dotted rgb(0,0,0)" maxlength="6">
                ** </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=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>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">投放类型:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <input
    type="radio" value="显示" checked name="sex">
                按显示计算 
                <input type="radio" value="点击"
    name="sex">
                按点击计算 ** </td>
            </tr>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right">估计次数:</td>
              <td width="50%" style="border-left: medium none" align="left"> 
                <input
    name="ooo" size="20" style="border: 1px dotted rgb(0,0,0)" maxlength="20">
                次 ** </td>
            </tr>
            <tr bgcolor="#CCCCCC"> 
              <td width="50%" align="right"> </td>
              <td width="50%" style="border-left: medium none" align="left"> </td>
            </tr>
            <tr bgcolor="#33CCCC"> 
              <td width="50%" align="right"> <BR>
                <input type="submit"
    value="提交申请" name="submit"
    style="background-color: #33cccc; color: #000000; font-size: 12; border: 0px dotted">
              </td>
              <td width="50%" style="border-left: medium none" align="left">  <BR>
                <input
    type="reset" value="重新填写" name="reset"
    style="background-color:  #33cccc; color: #000000; font-size: 12; border: 0px dotted">
              </td>
            </tr>
          </table>
        </form>
        <br>
        <?include 'copyright.php'?><br>
        <br>
      </div>
    </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 > 
	<br>
<P align="center">会员申请登记<br><br><a href="javascript:history.go(-1)"><?php echo $msg; ?></a><br><br><?include 'copyright.php'?><br><br>

</td>
</tr>
</table>
</center>
<?php
	////////////////////////////显示窗口结束
	exit;
}

⌨️ 快捷键说明

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