您现在的位置是:首页 >

跳转页面的代码 PHP网络开发详解:页面代码设计[1]

火烧 2022-06-22 05:25:04 1069
PHP网络开发详解:页面代码设计[1] ——此文章摘自《完全手册PHP网络开发详解》定价 ¥ 特价 ¥ 详细 gt gt //track li ktech c /?m_id=da gda g am a

PHP网络开发详解:页面代码设计[1]  

    ——此文章摘自《完全手册PHP网络开发详解》定价 ¥ 特价 ¥ 详细>>//track linktech cn/?m_id=dangdang&a_id=A &l= &l_type = width= height= border= nosave>

    网站的首页HTML代码存放在模板文件中 代码如下所示     <! 模板文件 templates/default/index inc php >     <>     <head>     <title>欢迎<?php echo $_SESSION[ MM_Username ]; ?>使用     <?php echo $row_rs_config[ website_name ]; ?></title>     <meta equiv= Content Type content= text/; charset=gb >     <style type= text/css >     <!      style {         font size: px;         font weight: bold;     }      >     </style>     </head>     <body>     <div align= center >       <p class= style >欢迎<?php echo $_SESSION[ MM_Username ]; ?>使用       <?php echo $row_rs_config[ website_name ]; ?></p>       <HR>       <table width= border= cellspacing= cellpadding= >         <tr>           <td width= align= left valign= top ><?php do { ?>            <a href= list php?type_id=<?php echo $row_rs_types[ type_id ]; ?> >     <?php echo $row_rs_types[ type_name ]; ?></a><BR>           <?php } while ($row_rs_types = mysql_fetch_assoc($rs_types)); ?> </td>           <td width= align= left ><?php do { ?>             * <a href= show php?article_id=<?php echo $row_rs_articles [ article_     id ]; ?> >     <?php echo $row_rs_articles[ title ]; ?></a>(<?php echo $row_rs_articles     [ author ]; ?>|     <?php echo $row_rs_articles[ last_upt_time ]; ?>) <BR>           <?php } while ($row_rs_articles = mysql_fetch_assoc($rs_articles)); ?> </td>           <td width= valign= top >           <?php           if(!isset($_SESSION[ MM_Username ])) {            ?>   <form name= form method= POST action= <?php echo $loginFormAction; ?> >             <p align= center >登录</p>             <table width= border= cellspacing= cellpadding= >               <tr>                 <td>用户名</td>                 <td><input name= username type= text id= username ></td>               </tr>               <tr>                 <td>密码</td>                 <td><input name= password type= password id= password ></td>               </tr>             </table>             <p align= center >

跳转页面的代码 PHP网络开发详解:页面代码设计[1]
lishixinzhi/Article/program/PHP/201311/21409  
永远跟党走
  • 如果你觉得本站很棒,可以通过扫码支付打赏哦!

    • 微信收款码
    • 支付宝收款码