ref_fast.php

来自「六和投注系统」· PHP 代码 · 共 64 行

PHP
64
字号
<?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;
    }
}
else
{
    while ( $_GET['menu'] == "ta" && ( $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;
}
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<!--<meta http-equiv=\"refresh\" content=\"5;URL=\">-->\r\n<input name=\"cc\" type='hidden' value=\"y9kkkkkkkkkkkkpo\">\r\n";
$a = 1;
for ( ; $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]."'>";
}
echo "\r\n\r\n";
?>

⌨️ 快捷键说明

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