帝王谷资源网 Design By www.wdxyy.com
function prev_subj($id){
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
$qstr="select id,aid from bbs_subj where id='$id'";
$rs=mysql_db_query($sql['db'],$qstr);
$row=mysql_fetch_array($rs);
$aid=$row['aid'];
$qstr="select id from bbs_subj where aid='$aid' order by wdate DESC";
$rs=mysql_db_query($sql['db'],$qstr);
$pid=$id;
while($row=mysql_fetch_array($rs)){
$tid=$row['id'];
if($id==$tid) break;
$pid=$tid;
}
return $pid;
}
// 絞
function next_subj($id){
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
$qstr="select id,aid from bbs_subj where id='$id'";
$rs=mysql_db_query($sql['db'],$qstr);
$row=mysql_fetch_array($rs);
$aid=$row['aid'];
$qstr="select id from bbs_subj where aid='$aid' order by wdate DESC";
$rs=mysql_db_query($sql['db'],$qstr);
$pid=$id;
while($row=mysql_fetch_array($rs)){
$pid=$row['id'];
if($id==$pid) break;
}
if($row=mysql_fetch_array($rs)) {
$pid=$row['id'];
}
return $pid;
}
//======================================================================
function viewbar() {
global $pgno;
global $PHP_SELF;
global $aid,$sid;
//global $OPEN_LIST;
echo "<TABLE width=85% border=0 cellPadding=0 cellSpacing=1 align=center align=center class='num'>";
echo "<tr><td align=center>";
$nextid=next_subj($sid);
$previd=prev_subj($sid);
echo "<a href=$PHP_SELF?aid=$aid&sid=$sid>[夹肈跋]</a>";
echo "<a href=#re>[莱セ絞]</a>";
echo "<a href=$PHP_SELF?proc=view&aid=$aid>[祇穝ゅ彻]</a>";
echo "<a href=$PHP_SELF?proc=view&aid=$aid&sid=$nextid&rid=$nextid>[絞]</a>";
echo "<a href=$PHP_SELF?proc=view&aid=$aid&sid=$previd&rid=$previd>[絞]</a>";
//echo "<a href=$PHP_SELF?proc=view&pgno=$pgno&aid=$aid&sid=$previd&rid=$previd>[程絞]</a>";
echo "</td>";
echo "</tr></table>";
}
//======================================================================
function view() {
global $PHP_SELF,$aid,$sid,$rid;
global $c_poster,$c_email;
//echo "$PHP_SELF,$aid,$sid,$rid,$pgno";
$type=0; //秨穝杠肈
if($sid && $rid) {
addhitviews($sid,$rid);
$type=1; //莱
$db_table="bbs_subj";
if($sid!=$rid) $db_table="bbs_docs";
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
$qstr="select banner from bbs_area where id='$aid'";
$rs=mysql_db_query($sql['db'],$qstr);
echo mysql_error();
$row=mysql_fetch_array($rs);
$abanner=$row['banner'];
$qsql="SELECT * from $db_table where id='$rid' ";
$rs=mysql_db_query($sql['db'],$qsql);
$row=mysql_fetch_array($rs);
$poster=$row['poster'];
$pip=$row['pip'];
$wdate=$row['wdate'];
$rebanner=$banner=$row['banner'];
$body=$row['body'];
$body=htmlspecialchars($body);
$pbody=ereg_replace("n","<br>",$body);
$pbody =preg_replace( "/[www *]([\x0-\xff]*?)[/www *]/", '<a href="\1" target="_blank">\1</a>', $pbody );
$pbody =preg_replace( "/[www +([a-zA-Z0-9.:/_-]+)]([\x0-\xff]*?)[/www *]/", '<a href="\1" target="_blank">\2</a>', $pbody );
echo "<center>";
echo "<font color=GREEN size=5><b>[$abanner]<br>";
echo "$banner</b></font></center>";
echo "<TABLE BORDER=0 width=95% align=center cellPadding=1 cellSpacing=0 class='tablefont'>";
echo "<TR><TD >";
viewbar();
echo "</td></tr>";
echo "<TR><TD>";
//====ゅ彻==============
echo "<TABLE BORDER=0 width=100% align=center cellPadding=1 cellSpacing=0 class='tablefont'>";
echo "<TR>";
echo "<TD width='120' align='right'>";
echo ":";
echo "</TD>";
echo "<TD align='left'>";
echo $poster;
echo "</TD>";
echo "</TR>";
echo "<TR>";
echo "<TD width='120' align='right'>";
echo "ㄓ:";
echo "</TD>";
echo "<TD align='left'>";
echo $pip;
echo "</TD>";
echo "</TR>";
echo "<TR>";
echo "<TD width='120' align='right' valign='top'>";
echo "ゅ彻ず甧:";
echo "</TD>";
echo "<TD valign='top' class='bodycolor' align='left'>";
echo $pbody;
echo "<hr size=1>";
echo "</TD>";
echo "</TR>";
echo "</TD></TR>";
echo "</TABLE>";
echo "<TR><TD >";
//=======籔狟ねだㄉ===============
echo "<TABLE BORDER=0 width=100% align=center cellPadding=3 cellSpacing=0 class='menufont'>";
echo "<FORM name=mtab ENCTYPE=multipart/form-data METHOD=POST ACTION=$PHP_SELF?proc=mail_friend>";
echo "<input type='hidden' name=sid value='$sid'>";
echo "<input type='hidden' name=aid value='$aid'>";
echo "<input type='hidden' name=rid value='$rid'>";
echo "<input type='hidden' name=poster value='$c_poster'>";
echo "<input type='hidden' name=email value='$c_email'>";
echo "<TR>";
echo "<TD align='right' width=250>";
echo "籔狟ねだㄉ硂絞ゅ彻:";
echo "</TD>";
echo "<TD>";
echo "<INPUT TYPE='TEXT' NAME='frmail' size=25 value='ねE-mail'>";
echo "<INPUT TYPE='Submit'value='癳'>";
echo "</TD>";
echo "</TR>";
echo "</FORM>";
echo "</TABLE>";
echo "</td></tr>";
echo "<TR><TD >";
//=======mail List===============
echo "<TABLE BORDER=0 width=100% align=center cellPadding=3 cellSpacing=0 class='menufont'>";
echo "<FORM name=mtab ENCTYPE=multipart/form-data METHOD=POST ACTION=$PHP_SELF?proc=mail_list>";
echo "<input type='hidden' name=sid value='$sid'>";
echo "<input type='hidden' name=aid value='$aid'>";
echo "<input type='hidden' name=rid value='$rid'>";
echo "<input type='hidden' name=poster value='$c_poster'>";
echo "<input type='hidden' name=email value='$c_email'>";
echo "<TR >";
echo "<TD align='right' width=250>";
echo "璹境o肈尿癚阶:";
echo "</TD>";
echo "<TD>";
if(strlen($c_email)) $addmail=$c_email;
else $addmail="E-mail";
echo "<INPUT TYPE='TEXT' NAME='email' size=25 value='$addmail'>";
echo "<INPUT TYPE='Submit' name='way1' value='璹?>";
echo "<INPUT TYPE='Submit' name='way2' value='璹?>";
$qsql="SELECT id from bbs_sml where sid='$sid'";
$rs=mysql_db_query($sql['db'],$qsql);
$nums=mysql_num_rows($rs);
echo "<br>硂肈ヘ玡璹兢H计:$nums";
echo "</TD>";
echo "</TR>";
echo "</FORM>";
echo "</TABLE>";
echo "</td></tr>";
echo "<TR><TD >";
viewbar();
echo "</td></tr>";
echo "</TABLE>";
待续........
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
$qstr="select id,aid from bbs_subj where id='$id'";
$rs=mysql_db_query($sql['db'],$qstr);
$row=mysql_fetch_array($rs);
$aid=$row['aid'];
$qstr="select id from bbs_subj where aid='$aid' order by wdate DESC";
$rs=mysql_db_query($sql['db'],$qstr);
$pid=$id;
while($row=mysql_fetch_array($rs)){
$tid=$row['id'];
if($id==$tid) break;
$pid=$tid;
}
return $pid;
}
// 絞
function next_subj($id){
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
$qstr="select id,aid from bbs_subj where id='$id'";
$rs=mysql_db_query($sql['db'],$qstr);
$row=mysql_fetch_array($rs);
$aid=$row['aid'];
$qstr="select id from bbs_subj where aid='$aid' order by wdate DESC";
$rs=mysql_db_query($sql['db'],$qstr);
$pid=$id;
while($row=mysql_fetch_array($rs)){
$pid=$row['id'];
if($id==$pid) break;
}
if($row=mysql_fetch_array($rs)) {
$pid=$row['id'];
}
return $pid;
}
//======================================================================
function viewbar() {
global $pgno;
global $PHP_SELF;
global $aid,$sid;
//global $OPEN_LIST;
echo "<TABLE width=85% border=0 cellPadding=0 cellSpacing=1 align=center align=center class='num'>";
echo "<tr><td align=center>";
$nextid=next_subj($sid);
$previd=prev_subj($sid);
echo "<a href=$PHP_SELF?aid=$aid&sid=$sid>[夹肈跋]</a>";
echo "<a href=#re>[莱セ絞]</a>";
echo "<a href=$PHP_SELF?proc=view&aid=$aid>[祇穝ゅ彻]</a>";
echo "<a href=$PHP_SELF?proc=view&aid=$aid&sid=$nextid&rid=$nextid>[絞]</a>";
echo "<a href=$PHP_SELF?proc=view&aid=$aid&sid=$previd&rid=$previd>[絞]</a>";
//echo "<a href=$PHP_SELF?proc=view&pgno=$pgno&aid=$aid&sid=$previd&rid=$previd>[程絞]</a>";
echo "</td>";
echo "</tr></table>";
}
//======================================================================
function view() {
global $PHP_SELF,$aid,$sid,$rid;
global $c_poster,$c_email;
//echo "$PHP_SELF,$aid,$sid,$rid,$pgno";
$type=0; //秨穝杠肈
if($sid && $rid) {
addhitviews($sid,$rid);
$type=1; //莱
$db_table="bbs_subj";
if($sid!=$rid) $db_table="bbs_docs";
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
$qstr="select banner from bbs_area where id='$aid'";
$rs=mysql_db_query($sql['db'],$qstr);
echo mysql_error();
$row=mysql_fetch_array($rs);
$abanner=$row['banner'];
$qsql="SELECT * from $db_table where id='$rid' ";
$rs=mysql_db_query($sql['db'],$qsql);
$row=mysql_fetch_array($rs);
$poster=$row['poster'];
$pip=$row['pip'];
$wdate=$row['wdate'];
$rebanner=$banner=$row['banner'];
$body=$row['body'];
$body=htmlspecialchars($body);
$pbody=ereg_replace("n","<br>",$body);
$pbody =preg_replace( "/[www *]([\x0-\xff]*?)[/www *]/", '<a href="\1" target="_blank">\1</a>', $pbody );
$pbody =preg_replace( "/[www +([a-zA-Z0-9.:/_-]+)]([\x0-\xff]*?)[/www *]/", '<a href="\1" target="_blank">\2</a>', $pbody );
echo "<center>";
echo "<font color=GREEN size=5><b>[$abanner]<br>";
echo "$banner</b></font></center>";
echo "<TABLE BORDER=0 width=95% align=center cellPadding=1 cellSpacing=0 class='tablefont'>";
echo "<TR><TD >";
viewbar();
echo "</td></tr>";
echo "<TR><TD>";
//====ゅ彻==============
echo "<TABLE BORDER=0 width=100% align=center cellPadding=1 cellSpacing=0 class='tablefont'>";
echo "<TR>";
echo "<TD width='120' align='right'>";
echo ":";
echo "</TD>";
echo "<TD align='left'>";
echo $poster;
echo "</TD>";
echo "</TR>";
echo "<TR>";
echo "<TD width='120' align='right'>";
echo "ㄓ:";
echo "</TD>";
echo "<TD align='left'>";
echo $pip;
echo "</TD>";
echo "</TR>";
echo "<TR>";
echo "<TD width='120' align='right' valign='top'>";
echo "ゅ彻ず甧:";
echo "</TD>";
echo "<TD valign='top' class='bodycolor' align='left'>";
echo $pbody;
echo "<hr size=1>";
echo "</TD>";
echo "</TR>";
echo "</TD></TR>";
echo "</TABLE>";
echo "<TR><TD >";
//=======籔狟ねだㄉ===============
echo "<TABLE BORDER=0 width=100% align=center cellPadding=3 cellSpacing=0 class='menufont'>";
echo "<FORM name=mtab ENCTYPE=multipart/form-data METHOD=POST ACTION=$PHP_SELF?proc=mail_friend>";
echo "<input type='hidden' name=sid value='$sid'>";
echo "<input type='hidden' name=aid value='$aid'>";
echo "<input type='hidden' name=rid value='$rid'>";
echo "<input type='hidden' name=poster value='$c_poster'>";
echo "<input type='hidden' name=email value='$c_email'>";
echo "<TR>";
echo "<TD align='right' width=250>";
echo "籔狟ねだㄉ硂絞ゅ彻:";
echo "</TD>";
echo "<TD>";
echo "<INPUT TYPE='TEXT' NAME='frmail' size=25 value='ねE-mail'>";
echo "<INPUT TYPE='Submit'value='癳'>";
echo "</TD>";
echo "</TR>";
echo "</FORM>";
echo "</TABLE>";
echo "</td></tr>";
echo "<TR><TD >";
//=======mail List===============
echo "<TABLE BORDER=0 width=100% align=center cellPadding=3 cellSpacing=0 class='menufont'>";
echo "<FORM name=mtab ENCTYPE=multipart/form-data METHOD=POST ACTION=$PHP_SELF?proc=mail_list>";
echo "<input type='hidden' name=sid value='$sid'>";
echo "<input type='hidden' name=aid value='$aid'>";
echo "<input type='hidden' name=rid value='$rid'>";
echo "<input type='hidden' name=poster value='$c_poster'>";
echo "<input type='hidden' name=email value='$c_email'>";
echo "<TR >";
echo "<TD align='right' width=250>";
echo "璹境o肈尿癚阶:";
echo "</TD>";
echo "<TD>";
if(strlen($c_email)) $addmail=$c_email;
else $addmail="E-mail";
echo "<INPUT TYPE='TEXT' NAME='email' size=25 value='$addmail'>";
echo "<INPUT TYPE='Submit' name='way1' value='璹?>";
echo "<INPUT TYPE='Submit' name='way2' value='璹?>";
$qsql="SELECT id from bbs_sml where sid='$sid'";
$rs=mysql_db_query($sql['db'],$qsql);
$nums=mysql_num_rows($rs);
echo "<br>硂肈ヘ玡璹兢H计:$nums";
echo "</TD>";
echo "</TR>";
echo "</FORM>";
echo "</TABLE>";
echo "</td></tr>";
echo "<TR><TD >";
viewbar();
echo "</td></tr>";
echo "</TABLE>";
待续........
帝王谷资源网 Design By www.wdxyy.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
帝王谷资源网 Design By www.wdxyy.com
暂无评论...
P70系列延期,华为新旗舰将在下月发布
3月20日消息,近期博主@数码闲聊站 透露,原定三月份发布的华为新旗舰P70系列延期发布,预计4月份上市。
而博主@定焦数码 爆料,华为的P70系列在定位上已经超过了Mate60,成为了重要的旗舰系列之一。它肩负着重返影像领域顶尖的使命。那么这次P70会带来哪些令人惊艳的创新呢?
根据目前爆料的消息来看,华为P70系列将推出三个版本,其中P70和P70 Pro采用了三角形的摄像头模组设计,而P70 Art则采用了与上一代P60 Art相似的不规则形状设计。这样的外观是否好看见仁见智,但辨识度绝对拉满。
更新日志
2025年01月02日
2025年01月02日
- 小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE]
- 群星《欢迎来到我身边 电影原声专辑》[320K/MP3][105.02MB]
- 群星《欢迎来到我身边 电影原声专辑》[FLAC/分轨][480.9MB]
- 雷婷《梦里蓝天HQⅡ》 2023头版限量编号低速原抓[WAV+CUE][463M]
- 群星《2024好听新歌42》AI调整音效【WAV分轨】
- 王思雨-《思念陪着鸿雁飞》WAV
- 王思雨《喜马拉雅HQ》头版限量编号[WAV+CUE]
- 李健《无时无刻》[WAV+CUE][590M]
- 陈奕迅《酝酿》[WAV分轨][502M]
- 卓依婷《化蝶》2CD[WAV+CUE][1.1G]
- 群星《吉他王(黑胶CD)》[WAV+CUE]
- 齐秦《穿乐(穿越)》[WAV+CUE]
- 发烧珍品《数位CD音响测试-动向效果(九)》【WAV+CUE】
- 邝美云《邝美云精装歌集》[DSF][1.6G]
- 吕方《爱一回伤一回》[WAV+CUE][454M]