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

📄 拷贝于 umain.php

📁 六和投注系统
💻 PHP
📖 第 1 页 / 共 2 页
字号:
<?php
session_start();
include_once("../inc/conn.php");
include_once($_SESSION["inclanguage"]);
include_once("check.php");
$user=$_SESSION["user"];
include_once("ref_common.php");
include_once("tnum_close.php");
include("../inc/main.js.php");
unset($_SESSION["yesrate"]);
$menu=$pn_specnumber;
mysql_query("update online set title='$menu' where user_account='$user'",$conn);
$yesrate=$_SESSION["yesrate"];//移除变动记录
if($yesrate==1)  mysql_query("delete from drop_bill where user_name='$user' and yesrate='1'",$conn);   
if(!isset($_GET["menu"]))
	{
	$menus="ta";
    }else $menus=$_GET["menu"];
	if($menus=="ta")
	{
	$vm=$pn_specnumbera;
	$sm="../img/TM_B.gif";
	$sn="tb";
	$sign=1;
	}else
	{ $vm=$pn_specnumberb;
	$sm="../img/TM_A.gif";
	$sn="ta";
	$sign=0;
	}
$copy=$_SESSION["copyright"];
function vmember_cut($user,$sq,$sign)
{ global $conn;
  $sqlm=mysql_query("select $sq from member_cut where user_account='$user' and sign='$sign'",$conn);
  return mysql_result($sqlm,0,$sq);
}
$aunit=vmember_cut($user,'unit_limit',$sign);//单项限额
$apour=vmember_cut($user,'pour_limit',$sign);//单注限额
$vcredit=$_SESSION["credit"]-$_SESSION["used"];
//特码单双
$td_unit=vmember_cut($user,'unit_limit',2); 
$td_pour=vmember_cut($user,'pour_limit',2);
//大小
$tx_unit=vmember_cut($user,'unit_limit',3); 
$tx_pour=vmember_cut($user,'pour_limit',3);
//合单双
$th_unit=vmember_cut($user,'unit_limit',4); 
$th_pour=vmember_cut($user,'pour_limit',4);
//特尾大小
$th_unit_end=vmember_cut($user,'unit_limit',19); 
$th_pour_end=vmember_cut($user,'pour_limit',19);
//特小单小双大单大双
$th_unit_dxds=vmember_cut($user,'unit_limit',26); 
$th_pour_dxds=vmember_cut($user,'pour_limit',26);
//特码家禽野兽
$th_unit_jqys=vmember_cut($user,'unit_limit',27); 
$th_pour_jqys=vmember_cut($user,'pour_limit',27);
//色
$tc_unit=vmember_cut($user,'unit_limit',8); 
$tc_pour=vmember_cut($user,'pour_limit',8);
?>
<?php
//获取号码开封标志
function getNumCloseFlag($num){
	$sql = "select * from open_num where num=$num";
	$result = mysql_query($sql);
	$num_flag = mysql_result($result, 0, "num_flag");;
	return $num_flag ;
}

?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../styles_g/css2.CSS" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	margin-left: 5px;
	margin-top: 5px;
	background-image: url(../styles/nimg_g/main.gif);
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<script language="javascript">
function rs()
{
 myform.reset();
}
function vpps()
{
sum=0;
for(i=0;i<65;i++)  //document.all.tags("input").length
{
 var tss=document.all.tags("input")[i].value;
 if(tss==""||isNaN(tss)) tss=0;
if(i<51)
{
 if(tss><?=$apour?>)
 { 
  document.all.tags("input")[i].value="";
  sum-=tss;
  alert('<?=$pn_singlepourmoneynomax?> <?=$apour?>');
  }
 } 
  sum+=parseFloat(tss);
 }
  chs();
  vmoneys.innerText=sum;
 myform.money_num.value=sum;
}
function chs()
{
var ds1=myform.d1.value;//特单双
var ds2=myform.d2.value;
 if(ds1><?=$td_pour?>)
 {
  myform.d1.value="";
  alert('<?=$pn_specsingle?> <?=$pn_singlepourmoneynomax?> <?=$td_pour?>'); 
 }
 if(ds2><?=$td_pour?>)
 {
  myform.d2.value="";
  alert('<?=$pn_specdoubble?> <?=$pn_singlepourmoneynomax?> <?=$td_pour?>'); 
 }
var ds3=myform.d3.value;//特大小
var ds4=myform.d4.value;
if(ds3><?=$tx_pour?>)
 {
  myform.d3.value="";
  alert('<?=$pn_specmax?> <?=$pn_singlepourmoneynomax?> <?=$tx_pour?>'); 
 }
 if(ds4><?=$tx_pour?>)
 {
  myform.d4.value="";
  alert('<?=$pn_specmin?> <?=$pn_singlepourmoneynomax?> <?=$tx_pour?>'); 
 }
var ds5=myform.d5.value;//特大小
var ds6=myform.d6.value;
if(ds5><?=$th_pour?>)
 {
  myform.d5.value="";
  alert('<?=$pn_addsingle?> <?=$pn_singlepourmoneynomax?> <?=$th_pour?>'); 
 }
 if(ds6><?=$th_pour?>)
 {
  myform.d6.value="";
  alert('<?=$pn_adddoubble?> <?=$pn_singlepourmoneynomax?> <?=$th_pour?>'); 
 }

var ds11=myform.d11.value;//特尾大小
var ds12=myform.d12.value;
if(ds11><?=$th_pour_end?>)
 {
  myform.d11.value="";
  alert('<?=$pn_tmendmax?> <?=$pn_singlepourmoneynomax?> <?=$th_pour_end?>'); 
 }
 if(ds12><?=$th_pour_end?>)
 {
  myform.d12.value="";
  alert('<?=$pn_tmendmin?> <?=$pn_singlepourmoneynomax?> <?=$th_pour_end?>'); 
 }
var ds13=myform.d13.value;//特小单小双大单大双
var ds14=myform.d14.value;
var ds15=myform.d15.value;
var ds16=myform.d16.value;
if(ds13><?=$th_pour_dxds?>)
 {
  myform.d13.value="";
  alert('<?=$pn_tmxiaodan?> <?=$pn_singlepourmoneynomax?> <?=$th_pour_dxds?>'); 
 }
 if(ds14><?=$th_pour_dxds?>)
 {
  myform.d14.value="";
  alert('<?=$pn_tmxiaoshuang?> <?=$pn_singlepourmoneynomax?> <?=$th_pour_dxds?>'); 
 }
 if(ds15><?=$th_pour_dxds?>)
 {
  myform.d15.value="";
  alert('<?=$pn_tmdadan?> <?=$pn_singlepourmoneynomax?> <?=$th_pour_dxds?>'); 
 }
 if(ds16><?=$th_pour_dxds?>)
 {
  myform.d16.value="";
  alert('<?=$pn_tmdashuang?> <?=$pn_singlepourmoneynomax?> <?=$th_pour_dxds?>'); 
 } 
 
var ds17=myform.d17.value;//特码家禽野兽
var ds18=myform.d18.value;
if(ds17><?=$th_pour_jqys?>)
 {
  myform.d17.value="";
  alert('<?=$pn_jq?> <?=$pn_singlepourmoneynomax?> <?=$th_pour_jqys?>'); 
 }
 if(ds18><?=$th_pour_jqys?>)
 {
  myform.d18.value="";
  alert('<?=$pn_ys?> <?=$pn_singlepourmoneynomax?> <?=$th_pour_jqys?>'); 
 }
var c1=myform.c1.value;//色波
var c2=myform.c2.value;
var c3=myform.c3.value;
if(c1><?=$tc_pour?>)
 {
  myform.c1.value="";
  alert('<?=$pn_red?> <?=$pn_singlepourmoneynomax?> <?=$tc_pour?>'); 
 }
 if(c2><?=$tc_pour?>)
 {
  myform.c2.value="";
  alert('<?=$pn_blue?> <?=$pn_singlepourmoneynomax?> <?=$tc_pour?>'); 
 }
 if(c3><?=$tc_pour?>)
 {
  myform.c3.value="";
  alert('<?=$pn_green?> <?=$pn_singlepourmoneynomax?> <?=$tc_pour?>'); 
 }
}
function checks()
{
  if(myform.money_num.value<myform.jcredit.value)
  {
   return false;
   alert('<?=$pn_youcreditnopour?> <?=vcredit?> <?=$pn_nothispour?>');
  }
}
function fs()
{
 myform.fsubmit.value="<?=$pn_waitting?>..";
 myform.fsubmit.disabled=true;
}
</script>
<script language="javascript" src="../inc/umain.js"></script>
<script language="javascript">
function fs()
{
 myform.fsubmit.value="<?=$pn_waitting?>..";
 myform.fsubmit.disabled=true;
 myform.submit();
}
</script>
<SCRIPT LANGUAGE="JavaScript"> 
<!-- Hide 
function killErrors() { 
return true; 
} 
window.onerror = killErrors; 
// --> 
</SCRIPT>
<body onLoad="show5();">

⌨️ 快捷键说明

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