zoukankan      html  css  js  c++  java
  • 每日博客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>
  • 相关阅读:
    学习笔记9(必做)
    团队作业(四):描述设计
    改进ls的实现(课下作业)
    stat命令的实现-mysate(必做)
    反汇编测试
    学习笔记8(必做)
    初次使用git上传代码到码云
    团队作业(三):确定分工
    学习笔记7(必做)
    缓冲区溢出漏洞实验
  • 原文地址:https://www.cnblogs.com/wanghaoning/p/14914886.html
Copyright © 2011-2022 走看看