⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uleft_tm.php

📁 六和投注系统
💻 PHP
📖 第 1 页 / 共 2 页
字号:
	$ty = $_GET['type'];
	if($ty=="sx"){
    if($plate=="A")
	{ $drop_rate=$rates;
	 $_SESSION["pnum"]=0;
	}
    if($plate=="B")
	{ $drop_rate=$rates-0.00;
	 $_SESSION["pnum"]=0.00;
	}
	if($plate=="C")
	{ $drop_rate=$rates-0.00;
	$_SESSION["pnum"]=0.00;
	}
	}else{
	 if($plate=="A")
	{ $drop_rate=$rates;
	 $_SESSION["pnum"]=0;
	}
    if($plate=="B")
	{ $drop_rate=$rates-0.02;
	 $_SESSION["pnum"]=0.02;
	}
	if($plate=="C")
	{ $drop_rate=$rates-0.04;
	$_SESSION["pnum"]=0.04;
	}
	}
	
	}elseif($gmenu=="bwav")
	{
	include("left_other_close.php");
	$drop_type=mysql_result($sqlf,0,"tp2");
    $drop_content=mysql_result($sqlf,0,"tp");
	$_SESSION["tps"]=2;//num sign
	$rates=$drop_rate;
    if($plate=="A")
	{ $drop_rate=$rates;
	$_SESSION["pnum"]=0;
	}
    if($plate=="B")
	{ $drop_rate=$rates-0.02;
	$_SESSION["pnum"]=0.02;
	}
	if($plate=="C")
	{ $drop_rate=$rates-0.04;
	$_SESSION["pnum"]=0.04;
	}
	}else
  {
 include("left_other_close.php");
  $drop_type="特码";
  $drop_content=mysql_result($sqlf,0,"tp");
  $_SESSION["tps"]=2;//num sign 红绿蓝 
   $rates=$drop_rate;
    if($plate=="A")
	{ $drop_rate=$rates;
	$_SESSION["pnum"]=0;
	}
    if($plate=="B")
	{ $drop_rate=$rates-0;
	$_SESSION["pnum"]=0;
	}
	if($plate=="C")
	{ $drop_rate=$rates-0;
	$_SESSION["pnum"]=0;
	}
 }
}else
{
 echo "<script language='javascript'>history.back(1);</script>";
}
$sqlm=mysql_query("select * from member_cut where user_account='$user' and sign='$cut_sign'",$conn);
$update_time=45;
$z_drop_low=$drop_lows;
$z_unit_low=@mysql_result($sqlm,0,"unit_limit");
$z_pour_low=@mysql_result($sqlm,0,"pour_limit");
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="refresh" content="<?=$update_time?>;URL=uleft.php">
<link href="../styles/css_g/css2.CSS" rel="stylesheet" type="text/css">
<title></title>
<style type="text/css">
<!--
body {
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(../images/order_ph31.gif);
}
-->
</style></head>
<script language="javascript">
function checkrate(form)
{
 if(form1.drop_money.value<<?=$z_drop_low?>) 
 {
  alert("<?=$pn_lowlimit?> <?=$z_drop_low?> ,<?=$pn_againinput?>!");
  form1.drop_money.focus();
  return false;

 }
 if(form1.drop_money.value><?=$z_pour_low?>) 
 {
  alert("<?=$pn_singlelimitis?> <?=$z_pour_low?> ,<?=$pn_againinput?>!");
  form1.drop_money.focus();
   return false;
 }
}
function win_money()
{
var rmb=this.form1.drop_money.value;
rmb=rmb*<?=$drop_rate?>-rmb;
winmoney.innerText=roundFun(rmb,2);
}
function Isnum(){
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
function roundFun(numberRound,roundDigit) //四舍五入,保留位数为roundDigit ,供计算时用
     {
         if (numberRound>=0)
         {
            var tempNumber = parseInt((numberRound * Math.pow(10,roundDigit)+0.5))/Math.pow(10,roundDigit);
            return tempNumber;
        }
        else 
         {
            numberRound1=-numberRound
            var tempNumber = parseInt((numberRound1 * Math.pow(10,roundDigit)+0.5))/Math.pow(10,roundDigit);
            return -tempNumber;
        }

     }
</script>
<body >
<table width="100%" height="100%"  border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr>
    <td valign="top"><table width="220" height="407"  border="0" align="center" cellpadding="0" cellspacing="1" class="t12">
      <tr>
        <td height="34" valign="middle" background="../images/left_up.jpg"><div align="center" class="fw12"><?=$drop_type?>
        <?=$pn_downpour?></div></td>
      </tr>
      <tr>
        <td height="322" valign="top" class="t20"><table width="91%" height="50"  border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="38%"><div align="right"><?=$pn_accountname?>:</div></td>
              <td width="62%" height="30"><div align="center">
                  <?=$user?>
              </div></td>
            </tr>
            <tr>
              <td><div align="right"><?=$pn_credit?>:</div></td>
              <td height="20"><div align="center"><span class="style3">
                  <?=rmb($credit)?>
              </span></div></td>
            </tr>
             <tr>
              <td><div align="right"><?=$blance?>:</div></td>
              <td height="20"><div align="center"><span class="style3">
                  <?=rmb($credit-$used)?>
              </span></div></td>
            </tr>
          </table>
            <script language="javascript">
function fs()
{ if(form1.drop_money.value<1)
{
alert('<?=$pn_inputpourmoney?>!');
}else
{
  form1.fsubmit.value="<?=$pn_waitting?>..";
  form1.fsubmit.disabled=true;
   form1.submit();
   }
}
      </script>
 
            <hr width="98%" size="1">
            <div align="center"><font color="blue"><strong><?=$pn_date?>
                    <?=$downdate?>
              </strong></font><br>
              <br>
              <span class="fred12"><strong>
              <?=$drop_type;?>
      &nbsp;
              <?=$drop_content?>
              </strong> </span> <span class="fat">@</span> <span class="fbred">
              <?=$drop_rate?>
              </span> <br>
              <br>
              <hr width="98%" size="1">
              <table width="95%" height="187"  border="0" align="center" cellpadding="0" cellspacing="0">
                <form name="form1" method="post" action="uleft_tm_check.php" onSubmit="return checkrate(this);">
                  <tr>
                    <td width="42%"><div align="right"><?=$pn_pourmoney?>:</div></td>
                    <td width="58%" height="20">
                      <div align="center">
                        <input name="drop_money" type="text" class="input" id="drop_money" ONKEYPRESS="event.returnValue=Isnum();" onKeyUp="win_money();" size="13" maxlength="5">
                    </div></td>
                  </tr>
                  <tr>
                    <td><div align="right"><?=$pn_winmoney?>:</div></td>
                    <td height="20"><div id="winmoney" class="fred12" align="right">0 </div></td>
                  </tr>
                  <tr>
                    <td><div align="right"><?=$pn_lowcredit?>:</div></td>
                    <td height="20"><div align="right">
                        <?=$z_drop_low?>
                    </div></td>
                  </tr>
                  <tr>
                    <td><div align="right"><?=$pn_pourcredit?>:</div></td>
                    <td height="20"><div align="right">
                        <?=$z_pour_low?>
                    </div></td>
                  </tr>
                  <tr>
                    <td><div align="right"><?=$pn_numberlimit?>:</div></td>
                    <td height="20"><div align="right">
                        <?=$z_unit_low?>
                    </div></td>
                  </tr>
                  <tr>
                    <td><div align="right"><?=$pn_usedcredit?>:</div></td>
                    <td height="20"><div align="right">
                        <?=rmb($used)?>
                    </div></td>
                  </tr>
                  <tr>
                    <td height="67" colspan="2"><div align="right"></div>
                        <div align="center"><span class="style3">
                          <hr width="98%" size="1">
                          <input name="drop_type" type="hidden" id="rate2" value="<?=$drop_type?>">
                          <input name="drop_cut" type="hidden" id="rate2" value="<?=$cut?>">
                          <input name="cut_sign" type="hidden" id="rate2" value="<?=$cut_sign?>">
                          <input name="drop_rate" type="hidden" id="rate2" value="<?=$drop_rate?>">
                          <input name="drop_content" type="hidden" id="drop_content" value="<?=$drop_content?>">
                          <input name="Submit" type="button" value="<?=$pn_cancelpour?>" onClick="javascript:window.location.href='uleft.php';">
                          <input name="fsubmit" type="submit" class="buttongmin" value="<?=$pn_confirm?>">
                          <br>
                          <br>
                      </span></div></td>
                  </tr>
                </form>
              </table>
          </div></td>
      </tr>
      <tr>
        <td height="24" valign="middle" class="t11"><div id="jump" align="center" class="fw12"></div></td>
      </tr>
      <script>
function countDown(secs)
{
var tv;
jump.innerText="<?=$pn_updatesec?>:"+secs+" <?=$pn_sec?>";
if(--secs>0)
tv=setTimeout("countDown("+secs+")",1000);
}
countDown(<?=$update_time?>);
    </script>
    </table></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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