首页 > php教程 > php手册 > 社区(php&&mysql)四

社区(php&&mysql)四

WBOY
发布: 2016-06-13 12:41:18
原创
857 人浏览过

echo "
";
    echo "

";
      echo "
";
      echo "";
        echo "";
            echo "";
            echo "";
            echo "";
            echo "";
            echo "";
        echo "";
        $qsql="SELECT * from bbs_subj where id='$sid' ";
        $rs=mysql_db_query($sql['db'],$qsql);
        $row=mysql_fetch_array($rs);
            $id=$row['id'];
            $banner=$row['banner'];
            $poster=$row['poster'];
            $views=$row['views'];
            $wdate=sdatetime($row['wdate']);
            $docs=reAnum($id);
            echo "";
                echo "";
                echo "";
                echo "";
                echo "";
                echo "";
            echo "";
        $qsql="SELECT * from bbs_docs where sid='$sid' order by wdate";
        $rs=mysql_db_query($sql['db'],$qsql);     
        while($row=mysql_fetch_array($rs)) {

            $id=$row['id'];
            $banner=$row['banner'];
            $poster=$row['poster'];
            $views=$row['views'];
            $wdate=sdatetime($row['wdate']);
            $docs=reAnum($id);
            echo "";
                echo "";
                echo "";
                echo "";
                echo "";
                echo "";
            echo "";

        }
      echo "
夹肈祇癬莱ら戳
";
                    if($sid!=$rid) {
                    echo "";
                    echo $banner;
                    echo "
";
                    } else echo "$banner";
                echo "
";
                    echo $poster;
                echo "
";
                    echo $docs;
                echo "
";
                    echo $views;
                echo "
";
                    echo $wdate;
                echo "
";
                    if($sid!=$rid && $rid==$id) {
                        echo "  $banner";
                    } else {
                        echo "";
                        echo "  $banner";
                        echo "
";
                    }
                echo "
";
                    echo $poster;
                echo "
";
                    echo " ";
                echo "
";
                    echo $views;
                echo "
";
                    echo $wdate;
                echo "
";
    echo"
";
  } // ====

    echo "";
    if($type==1) {
        if(substr($rebanner,0,3)!="Re:")
            $rbanner="Re:".$rebanner;
        else $rbanner=$rebanner;
    }     
    echo "
";
    echo "";
    echo "";
    echo "";
    echo "";
        if($sid) {
            echo "";
            echo "";

            echo "";
        }

        echo "";
            echo "";
            echo "";
        echo "";
        echo "";
            echo "";
            echo "";
        echo "";
        echo "";
            echo "";
            echo "";
        echo "";
        echo "";
            echo "";
            echo "";
        echo "";
        echo "";
            echo "";
        echo "";
    echo "
";
                echo "癚阶硂杠肈";
            echo "
";
                echo "肈:";
            echo "
";
                echo "";
            echo "
";
                echo "祇ē:";
            echo "
";
                echo "";

            echo "
";
                echo "E-Mail:";

            echo "
";
                echo "";

            echo "
";
                echo "ず甧:";
            echo "
";
                echo "や穿禬硈挡ノ猭絛ㄒ:[www]http://www.jerry.com.tw[/www]
";
                echo "";
            echo "
";
                //echo "";
                //echo "滦";
                if($sid) {
                    $br="-----------------------------------------------------------";
                    $obody="まノ $poster ゅ彻n$brn".$body;
                    $obody.="n$brn滦癚阶ず甧:n";
                    echo "";
                    echo "";
                }

                echo "    ";
            echo "
";

}
待续....... 
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
热门推荐
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板