ref_fast.php

来自「程序脚本为PHP+MYSQL」· PHP 代码 · 共 63 行

PHP
63
字号
<?php
include("../inc/conn.php");
$sql=mysql_query("select * from num where sign='1' order by id asc",$conn);
$i=1;
if(@$_GET["menu"]=="tb")
{
 while($row=mysql_fetch_array($sql))
   {
    $rate[$i]=$row["rate"]+5;
    $id[$i]=$row["ID"];
    $m[$i]=$row["m"];
   $i++;
   }
}elseif(@$_GET["menu"]=="ta")
{
 while($row=mysql_fetch_array($sql))
   {
    $rate[$i]=$row["rate"];
    $id[$i]=$row["ID"];
    $m[$i]=$row["m"];
    $i++;
   }
}
$sqls=mysql_query("select * from num where sign='2' order by id asc",$conn);  //特单,双,大,小
$s=50;
while($rows=mysql_fetch_array($sqls))
   {
    $rate[$s]=$rows["rate"];
    $id[$s]=$rows["ID"];
    $m[$s]=$rows["m"];
    $s++;
   }
$sqlc=mysql_query("select * from num where sign='7' order by id asc",$conn);  //特码色波
 $c=60;
 while($rowc=mysql_fetch_array($sqlc))
   {
   $rate[$c]=$rowc["rate"];
   $id[$c]=$rowc["ID"];
   $m[$c]=$rowc["m"];
   $c++;
   }
$sqla=mysql_query("select * from num where sign='6' order by id asc",$conn);   //特码生肖
$a=63;
 while($rowa=mysql_fetch_array($sqla))
   {
   $rate[$a]=$rowa["rate"];
   $id[$a]=$rowa["ID"];
   $m[$a]=$rowa["m"];
   $a++;
   }
?>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--<meta http-equiv="refresh" content="5;URL=">-->
<input name="cc" type='hidden' value="y9kkkkkkkkkkkkpo">
<?php
 for($a=1;$a<=74;$a++)
 {
  echo "<input name='id".$a."' type='hidden' value='".$id[$a]."'>";
  echo "<input name='m".$a."' type='hidden' value='".$m[$a]."'>";
  echo "<input name='z".$a."' type='hidden' value='".$rate[$a]."'>";
 }
 ?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?