无为清净楼资源网 Design By www.qnjia.com
function cook_cooloff(){
global $PHP_SELF,$aid,$pgno;
setcookie("OPEN_LIST",0,time()+ 31536000);
Header("Location:$PHP_SELF?aid=$aid&pgno=$pgno");
exit;
}
//===============================================================
function cook_coolon(){
global $PHP_SELF,$aid,$pgno;
setcookie("OPEN_LIST",1,time()+ 31536000);
Header("Location:$PHP_SELF?aid=$aid&pgno=$pgno");
exit;
}
function check_mail($semail)
{
$str=strchr($semail,'@');
if ($str=="") return false;
$str=strchr($semail,".");
if ($str=="") return false;
return true;
}
//================================================================
function addhitviews($sid,$rid) {
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
if($sid==$rid) $qsql="SELECT * from bbs_subj where id='$rid'";
else $qsql="SELECT * from bbs_docs where id='$rid'";
$rs=mysql_db_query($sql['db'],$qsql);
$row=mysql_fetch_array($rs);
$views=$row['views'];
$views++;
if($sid==$rid) $qsql="UPDATE bbs_subj SET views='$views' where id='$rid'";
else $qsql="UPDATE bbs_docs SET views='$views' where id='$rid'";
mysql_db_query($sql['db'],$qsql);
}
//===============================================================
function mail_list(){
global $PHP_SELF,$HTTP_HOST,$email;
global $aid,$sid,$rid;
global $way1,$way2;
if(check_mail($email)) {
$mailtype=0; //璹綷
if(strlen($way2)) $mailtype=1;//
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
if($mailtype==0) { //璹綷
$qsql="SELECT * from bbs_sml where sid='$sid' AND email='$email'";
$rs=mysql_db_query($sql['db'],$qsql);
if(mysql_num_rows($rs)==0) { //临⊿
$qsql="INSERT INTO bbs_sml (sid,email) values('$sid','$email')";
$rs=mysql_db_query($sql['db'],$qsql);
} else {
echo "
<script language=javascript>
alert('竒,ぃ惠狡');
</script>
";
}
} else { //璹綷
$qsql="SELECT * from bbs_sml where sid='$sid' AND email='$email'";
$rs=mysql_db_query($sql['db'],$qsql);
if(mysql_num_rows($rs) > 0) { //虫
$qsql="DELETE FROM bbs_sml where sid='$sid' AND email='$email'";
$rs=mysql_db_query($sql['db'],$qsql);
} else {
echo "
<script language=javascript>
alert('﹟ゼ虫ず!');
</script>
";
}
}
} else {
echo "
<script language=javascript>
alert('E-mailΑ岿粇');
</script>
";
}
echo "
<script language=javascript>
document.location='$PHP_SELF?proc=view&aid=$aid&sid=$sid&rid=$rid'
</script>
";
}
//===============================================================
function Send_the_doc_to_mail_list($aid,$sid,$rid){
global $PHP_SELF,$HTTP_HOST;
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
if($sid==$rid) $qsql="SELECT * from bbs_subj where id='$sid'";
else $qsql="SELECT * from bbs_docs where id='$rid'";
$rs=mysql_db_query($sql['db'],$qsql);
$row=mysql_fetch_array($rs);
$poster=$row['poster'];
$banner=$row['banner'];
$body=$row['body'];
$subj=$c_poster."ㄓ璹綷ゅ彻";
$message=":$poster\n";
$message.="ゅ彻夹肈:$banner\n";
$message.="ゅ彻ず甧:$body\n";
$message.="\nㄤ闽ゅ彻叫 http://$HTTP_HOST$PHP_SELF?proc=view&aid=$aid&sid=$sid&rid=$rid\n";
$message.="<<舧\n";
$mailfrom="From:Magic Jerry";
$qsql="SELECT * from bbs_sml where sid='$sid'";
$rs=mysql_db_query($sql['db'],$qsql);
while($row=mysql_fetch_array($rs)) { //mail_list
$email=$row['email'];
mail($email,$subj,$message,$mailfrom);
echo $email;
}
//盚倒恨瞶
$qsql="SELECT * from bbs_area where id='$aid'";
$rs=mysql_db_query($sql['db'],$qsql);
$row=mysql_fetch_array($rs);
$email=$row['email'];
$banner=$row['banner'];
mail($email,"$banner 穝秈ゅ彻",$message,$mailfrom);
}
//===============================================================
function mail_friend(){
global $PHP_SELF,$HTTP_HOST,$c_email,$c_poster,$frmail;
global $aid,$sid,$rid;
if(check_mail($frmail)) {
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
if($sid==$rid) {
$qsql="SELECT * from bbs_subj where id='$rid' ";
} else {
$qsql="SELECT * from bbs_docs where id='$rid' ";
}
$rs=mysql_db_query($sql['db'],$qsql);
$row=mysql_fetch_array($rs);
$banner=$row['banner'];
$body=$row['body'];
$subj=$c_poster."ざ残ゅ彻";
$message="狟ね: $c_poster ざ残硂ゅ彻\n";
$message.="ゅ彻夹肈:$banner\n";
$message.="ゅ彻ず甧:$body\n";
$message.="\nㄤ闽ゅ彻叫 http://$HTTP_HOST$PHP_SELF?proc=view&sid=$sid&aid=$aid&rid=$rid\n";
$message.="<<舧\n";
$mailfrom="From:".$c_email;
mail($frmail,$subj,$message,$mailfrom);
}else {
echo "
<script language=javascript>
alert('E-mailΑ岿粇');
</script>
";
}
//echo "rid=$rid a=$aid s=$sid p=$pgno";
echo "
<script language=javascript>
document.location='$PHP_SELF?proc=view&aid=$aid&sid=$sid&rid=$rid'
</script>
";
}
待续......
global $PHP_SELF,$aid,$pgno;
setcookie("OPEN_LIST",0,time()+ 31536000);
Header("Location:$PHP_SELF?aid=$aid&pgno=$pgno");
exit;
}
//===============================================================
function cook_coolon(){
global $PHP_SELF,$aid,$pgno;
setcookie("OPEN_LIST",1,time()+ 31536000);
Header("Location:$PHP_SELF?aid=$aid&pgno=$pgno");
exit;
}
function check_mail($semail)
{
$str=strchr($semail,'@');
if ($str=="") return false;
$str=strchr($semail,".");
if ($str=="") return false;
return true;
}
//================================================================
function addhitviews($sid,$rid) {
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
if($sid==$rid) $qsql="SELECT * from bbs_subj where id='$rid'";
else $qsql="SELECT * from bbs_docs where id='$rid'";
$rs=mysql_db_query($sql['db'],$qsql);
$row=mysql_fetch_array($rs);
$views=$row['views'];
$views++;
if($sid==$rid) $qsql="UPDATE bbs_subj SET views='$views' where id='$rid'";
else $qsql="UPDATE bbs_docs SET views='$views' where id='$rid'";
mysql_db_query($sql['db'],$qsql);
}
//===============================================================
function mail_list(){
global $PHP_SELF,$HTTP_HOST,$email;
global $aid,$sid,$rid;
global $way1,$way2;
if(check_mail($email)) {
$mailtype=0; //璹綷
if(strlen($way2)) $mailtype=1;//
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
if($mailtype==0) { //璹綷
$qsql="SELECT * from bbs_sml where sid='$sid' AND email='$email'";
$rs=mysql_db_query($sql['db'],$qsql);
if(mysql_num_rows($rs)==0) { //临⊿
$qsql="INSERT INTO bbs_sml (sid,email) values('$sid','$email')";
$rs=mysql_db_query($sql['db'],$qsql);
} else {
echo "
<script language=javascript>
alert('竒,ぃ惠狡');
</script>
";
}
} else { //璹綷
$qsql="SELECT * from bbs_sml where sid='$sid' AND email='$email'";
$rs=mysql_db_query($sql['db'],$qsql);
if(mysql_num_rows($rs) > 0) { //虫
$qsql="DELETE FROM bbs_sml where sid='$sid' AND email='$email'";
$rs=mysql_db_query($sql['db'],$qsql);
} else {
echo "
<script language=javascript>
alert('﹟ゼ虫ず!');
</script>
";
}
}
} else {
echo "
<script language=javascript>
alert('E-mailΑ岿粇');
</script>
";
}
echo "
<script language=javascript>
document.location='$PHP_SELF?proc=view&aid=$aid&sid=$sid&rid=$rid'
</script>
";
}
//===============================================================
function Send_the_doc_to_mail_list($aid,$sid,$rid){
global $PHP_SELF,$HTTP_HOST;
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
if($sid==$rid) $qsql="SELECT * from bbs_subj where id='$sid'";
else $qsql="SELECT * from bbs_docs where id='$rid'";
$rs=mysql_db_query($sql['db'],$qsql);
$row=mysql_fetch_array($rs);
$poster=$row['poster'];
$banner=$row['banner'];
$body=$row['body'];
$subj=$c_poster."ㄓ璹綷ゅ彻";
$message=":$poster\n";
$message.="ゅ彻夹肈:$banner\n";
$message.="ゅ彻ず甧:$body\n";
$message.="\nㄤ闽ゅ彻叫 http://$HTTP_HOST$PHP_SELF?proc=view&aid=$aid&sid=$sid&rid=$rid\n";
$message.="<<舧\n";
$mailfrom="From:Magic Jerry";
$qsql="SELECT * from bbs_sml where sid='$sid'";
$rs=mysql_db_query($sql['db'],$qsql);
while($row=mysql_fetch_array($rs)) { //mail_list
$email=$row['email'];
mail($email,$subj,$message,$mailfrom);
echo $email;
}
//盚倒恨瞶
$qsql="SELECT * from bbs_area where id='$aid'";
$rs=mysql_db_query($sql['db'],$qsql);
$row=mysql_fetch_array($rs);
$email=$row['email'];
$banner=$row['banner'];
mail($email,"$banner 穝秈ゅ彻",$message,$mailfrom);
}
//===============================================================
function mail_friend(){
global $PHP_SELF,$HTTP_HOST,$c_email,$c_poster,$frmail;
global $aid,$sid,$rid;
if(check_mail($frmail)) {
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
if($sid==$rid) {
$qsql="SELECT * from bbs_subj where id='$rid' ";
} else {
$qsql="SELECT * from bbs_docs where id='$rid' ";
}
$rs=mysql_db_query($sql['db'],$qsql);
$row=mysql_fetch_array($rs);
$banner=$row['banner'];
$body=$row['body'];
$subj=$c_poster."ざ残ゅ彻";
$message="狟ね: $c_poster ざ残硂ゅ彻\n";
$message.="ゅ彻夹肈:$banner\n";
$message.="ゅ彻ず甧:$body\n";
$message.="\nㄤ闽ゅ彻叫 http://$HTTP_HOST$PHP_SELF?proc=view&sid=$sid&aid=$aid&rid=$rid\n";
$message.="<<舧\n";
$mailfrom="From:".$c_email;
mail($frmail,$subj,$message,$mailfrom);
}else {
echo "
<script language=javascript>
alert('E-mailΑ岿粇');
</script>
";
}
//echo "rid=$rid a=$aid s=$sid p=$pgno";
echo "
<script language=javascript>
document.location='$PHP_SELF?proc=view&aid=$aid&sid=$sid&rid=$rid'
</script>
";
}
待续......
无为清净楼资源网 Design By www.qnjia.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
无为清净楼资源网 Design By www.qnjia.com
暂无评论...
更新日志
2024年11月15日
2024年11月15日
- Ayaneo3游戏掌机预热:旗舰定位、造型圆润自带底键
- 动力火车.1999-背叛情歌【上华】【WAV+CUE】
- 刘力扬.2019-Neon.Lit虹【摩登天空】【FLAC分轨】
- 群星.2002-恋爱物语情歌对唱精选2CD(引进版)【滚石】【WAV+CUE】
- 群星《闽南情24K德国HD金碟》2CD[WAV+CUE]
- 周传雄《恋人创世纪》环球唱片[WAV+CUE]
- 关淑怡-《真假情话K2HD》(日本压制)【WAV+CUE】
- 王菲 -《Faye Wong》雨果LPCD45 [WAV+分轨][1G]
- 陈百强《世纪10星·永恒篇》环球[WAV+CUE][1G]
- 陈奕迅《黑·白·灰》台湾版[WAV+CUE][400M]
- 张尕怂.2024-甘肃娃娃【FLAC分轨】
- 张惠妹.2011-A.MEI.ACOUSTIC.BEST.2CD【丰华】【WAV+CUE】
- ZEN.1996-珍惜所有【华纳】【WAV+CUE】
- 群星《环球国语元素》香港首版[WAV+CUE][1G]
- 周慧敏《玉女天后》原音母版1:1直刻[WAV+CUE][1G]