report.inc.php
上传用户:m68239277
上传日期:2014-10-12
资源大小:824k
文件大小:1k
源码类别:

Web服务器

开发平台:

PHP

  1. <?php
  2. $sql_report=mysql_query("select * from report where sign='1' order by time desc",$conn);
  3. $report_content=mysql_result($sql_report,0,"report_content");
  4. ?><style type="text/css">
  5. <!--
  6. body {
  7. margin-left: 0px;
  8. margin-top: 2px;
  9. margin-right: 0px;
  10. margin-bottom: 0px;
  11. }
  12. -->
  13. </style>
  14. <div >
  15.       <table width="560" border="0" align="left" cellpadding="0" cellspacing="0">
  16.         <tr>
  17.           <td width="560" height="20"><marquee id="affiche" align="left" behavior="scroll"  direction="left" scrollAmount=3 loop="-1" onMouseOut="this.start()" onMouseOver="this.stop()">
  18.             <a href="reports.php" class="ags">
  19.             <?=$report_content?></a>
  20.           </marquee></td>
  21.         </tr>
  22.   </table>
  23. </div>