📄 get_password.php
字号:
<?php
require("yanet_ads_config_file_inc.php");
if($email){
$id = mysql_connect($MYSQL_HOST,$MYSQL_USER,$MYSQL_PASS);
mysql_select_db($DAT_NAME,$id);
$re=mysql_query("SELECT * FROM userdat WHERE email1='$email' or email2='$email'",$id);
if($user_dat = mysql_fetch_array($re)){
mail("$email",$GETPASS_MSG,"$MESS_GETPASS:\n您的登录用户名是:$user_dat[0]\n您的登录密码是:$user_dat[1]\n欢迎您再次访问\"我要链接广告网\"!\nhttp://www.51links.net\n本站提供1 比24 文本广告投放,并支持付费广告,图形投放广告!\nhttp://www.51links.net/51ads/51ads.gif","这是您的帐号密码,请您注册保留,欢迎再次访问本站!");
$msg="您的注册资料已经被发送到您的邮箱:$email 中,请注意查收。";
window($msg);
}
else{
window("输入的邮件地址无效或不存在。");
}
mysql_close($id);
}
else{
window("<br>请输入您的信箱然后取回您的密码!");
}
?>
<?php
function window($msg){
?>
<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="#0000FF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="780" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFCC00" align="center" class="unnamed1">
<tr>
<td colspan="2">
<div align="center"> </div>
<div align="center">
<center><BR>
<?php echo $msg; ?>
<form method="post" action="<?php echo $PATH_INFO?>">
<table border="0" width="500" cellspacing="0" cellpadding="0" class="unnamed1">
<tr bgcolor="#CCCCCC">
<td width="50%"
style="border-left: 1px dotted rgb(0,0,0); border-top: 1px dotted rgb(0,0,0)">
<BR> <p
align="right">输入申请帐号时的邮件地址: <BR>
</td>
<td width="50%"
style="border-right: 1px dotted rgb(0,0,0); border-top: 1px dotted rgb(0,0,0)">
<BR> <input
type="text" name="email" size="20" style="background-color: #CCCCCC; color: rgb(0,0,0); font-size: 12; border: 0px dotted rgb(255,255,255);border-bottom: 1px dotted rgb(0,0,0)"><br>
</td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="50%"
style="border-left: 1px dotted rgb(0,0,0); border-bottom: 1px dotted rgb(0,0,0)">
<p align="right">
<BR> <input type="submit" value="提交数据" name="submit"
style="background-color: #CCCCCC; color: rgb(0,0,0); font-size: 12; border: 0px dotted rgb(255,255,255)"><BR><BR>
</td>
<td width="50%"
style="border-right: 1px dotted rgb(0,0,0); border-bottom: 1px dotted rgb(0,0,0)">
<BR> <input type="reset" value="重新填写" name="reset"
style="background-color: #CCCCCC; color: rgb(0,0,0); font-size: 12; border: 0px dotted rgb(255,255,255)"><BR><BR>
</td>
</tr>
</table>
</form>
</center>
</div>
<div align="center"><br>
<?include 'copyright.php'?><br><BR>
</div>
</table>
</body>
</html>
<?php
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -