• 每日博客5.26


    <?php
    session_start();
    include_once 'conn.php';
    $id=$_GET["id"];
    mysql_query("update xinwentongzhi set dianjilv=dianjilv+1 where id=$id");
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

    <HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>

    <TITLE>化妆品销售网站</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=gb2312">
    <LINK href="qtimages/style.css" type=text/css rel=stylesheet>
    <META content="MSHTML 6.00.2900.6058" name=GENERATOR></HEAD>



    <BODY>
    <?php include_once 'qttop.php';?>
    <TABLE cellSpacing=0 cellPadding=0 width=1120 align=center bgColor=#ffffff
    border=0>
    <TBODY>
    <TR>
    <TD width=5>&nbsp;</TD>
    <TD vAlign=top width=230>
    <?php include_once 'qtleft.php';?>
    </TD>
    <TD vAlign=top width=10>&nbsp;</TD>
    <TD vAlign=top>
    <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
    <TBODY>
    <TR>
    <TD vAlign=bottom height=40>
    <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
    <TBODY>
    <TR>
    <TD width=44 height=40><IMG height=35
    src="qtimages/B0039.gif"
    width=30></TD>
    <TD width=11>&nbsp;</TD>
    <TD width=209><span class="red"><strong>内容详细</strong></span></TD>
    <TD vAlign=bottom align=right width=50></TD>
    <TD vAlign=bottom align=right width=45>&nbsp;</TD>
    <TD align=left width=291>&nbsp;&nbsp;</TD>
    </TR></TBODY></TABLE></TD></TR>
    <TR>
    <TD bgColor=#dadada height=1></TD></TR>
    <TR>
    <TD bgColor=#f6f6f6 height=4></TD></TR>
    <TR>
    <TD bgColor=#ffffff height=6>



    <?php
    $sql="select * from xinwentongzhi where id=".$id;
    $query=mysql_query($sql);
    $rowscount=mysql_num_rows($query);
    if($rowscount==0)
    {}
    else
    {
    ?>
    <table width="97%" border="0" align="center" cellpadding="3" cellspacing="1" bordercolor="#B8D8E8" class="newsline" style="border-collapse:collapse">
    <tr>
    <td height="33" align="center"><span class="STYLE2"><?php echo mysql_result($query,0,"biaoti"); ?> (被点击<?php echo mysql_result($query,0,"dianjilv"); ?>次)</span></td>
    </tr>
    <tr>
    <td height="104"><?php echo mysql_result($query,0,"neirong");?></td>
    </tr>
    <tr>
    <td align="right"><a onClick="javascript:history.back();" style="cursor:pointer;">返回</a></td>
    </tr>
    </table>
    <?php
    }
    ?>




    </TD>
    </TR></TBODY></TABLE>
    </TD>
    <TD width=5>&nbsp;</TD></TR></TBODY></TABLE>
    <?php include_once 'qtdown.php';?></BODY></HTML>
  • 相关阅读:
    cookie 和 session 和 session id
    getMasterRequest VS getCurrentRequest?
    drupal 7 watchdog 记录debug信息
    刷环境
    再进一步
    7zip 不见 .git
    为什么我记不住密码
    www / publish
    behat debug / class property
    drupal 网站Log
  • 原文地址:https://www.cnblogs.com/wanghaoning/p/14914886.html
Copyright © 2020-2023  润新知