>  기사  >  백엔드 개발  >  社区(php&&mysql)四_PHP教程

社区(php&&mysql)四_PHP教程

WBOY
WBOY원래의
2016-07-21 16:05:59773검색

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 "
";

}
待续....... 

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/315604.htmlTechArticleecho br; echo TABLE width=85% border=0 cellPadding=0 cellSpacing=1 align=center bgcolor='#6CA6CD'; echo trtd; echo TABLE width=100% cellPadding=1 cellSpacing=1 bgcolor=white class='...
성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.