config root man

Current Path : /home/design/public_html/

Linux rs105.nsresponse.com 3.10.0-614.10.2.lve1.4.55.el7.x86_64 #1 SMP Tue Jun 20 08:59:12 EDT 2017 x86_64
Upload File :
Current File : /home/design/public_html/random5.php

<div style="font-family:'Courier New', Courier, monospace">
<?php

$sansa=12;
$numar_meciuri=1000;

$pierdere_meci_v1	= 127;
$pierdere_meci_v2	= 126;
$pierdere_meci_v3	= 124;
$pierdere_meci_v4	= 120;
$pierdere_meci_v5	= 112;

$i=0;
$p=0; //numara pierderile

echo "Sansa: 1 din ".$sansa."<br />Numar de meciuri: ".$numar_meciuri."<br /><br />";

$total_castiguri_v1=0; //castig total
$total_pierderi_v1=0; //pierdere total
$total_castiguri_v2=0; //castig total
$total_pierderi_v2=0; //pierdere total
$total_castiguri_v3=0; //castig total
$total_pierderi_v3=0; //pierdere total
$total_castiguri_v4=0; //castig total
$total_pierderi_v4=0; //pierdere total
$total_castiguri_v5=0; //castig total
$total_pierderi_v5=0; //pierdere total

while ($i<=$numar_meciuri) {
$rezultat_random=mt_rand(1,$sansa);	

if ($rezultat_random==$sansa) {
	//$pierdere_meci=14;
	//$pierdere_meci_v2=15;
	//$pierdere_meci_v3=16;
	echo "!!!!!!!!!!!! pierdere v1 (final 0-0): ".$pierdere_meci_v1."<br />";
	echo "!!!!!!!!!!!! pierdere v2 (final 0-0): ".$pierdere_meci_v2."<br />";
	echo "!!!!!!!!!!!! pierdere v3 (final 0-0): ".$pierdere_meci_v3."<br />";
	echo "!!!!!!!!!!!! pierdere v4 (final 0-0): ".$pierdere_meci_v4."<br />";
	echo "!!!!!!!!!!!! pierdere v5 (final 0-0): ".$pierdere_meci_v5."<br /><br />";
	$total_pierderi_v1=$total_pierderi_v1+$pierdere_meci_v1;
	$total_pierderi_v2=$total_pierderi_v2+$pierdere_meci_v2;
	$total_pierderi_v3=$total_pierderi_v3+$pierdere_meci_v3;
	$total_pierderi_v4=$total_pierderi_v4+$pierdere_meci_v4;
	$total_pierderi_v5=$total_pierderi_v5+$pierdere_meci_v5;
	$p++;
}

if ($rezultat_random!=$sansa) {
	$rezultat_random_interval=mt_rand(0,8);
	if ($rezultat_random_interval==0) { $investit_meci_v1=0; 	$castig_meci_v1=0;
										$investit_meci_v2=0; 	$castig_meci_v2=0;
										$investit_meci_v3=0; 	$castig_meci_v3=0;
										$investit_meci_v4=0; 	$castig_meci_v4=0;
										$investit_meci_v5=0; 	$castig_meci_v5=0; }
										
	if ($rezultat_random_interval==1) { $investit_meci_v1=0; 	$castig_meci_v1=0;
										$investit_meci_v2=0; 	$castig_meci_v2=0;
										$investit_meci_v3=0; 	$castig_meci_v3=0;
										$investit_meci_v4=0; 	$castig_meci_v4=0;
										$investit_meci_v5=0; 	$castig_meci_v5=0; }
										
	$cota_int_20=4;
	if ($rezultat_random_interval==2) { $investit_meci_v1=1;	$castig_meci_v1=$investit_meci_v1*$cota_int_20-1;
										$investit_meci_v2=0; 	$castig_meci_v2=0;
										$investit_meci_v3=0; 	$castig_meci_v3=0;
										$investit_meci_v4=0; 	$castig_meci_v4=0;
										$investit_meci_v5=0; 	$castig_meci_v5=0; }
	
	$cota_int_30=3.75;										
	if ($rezultat_random_interval==3) { $investit_meci_v1=2; 	$castig_meci_v1=$investit_meci_v1*$cota_int_30-3;
										$investit_meci_v2=2; 	$castig_meci_v2=$investit_meci_v2*$cota_int_30-2;
										$investit_meci_v3=0; 	$castig_meci_v3=0;
										$investit_meci_v4=0; 	$castig_meci_v4=0;
										$investit_meci_v5=0; 	$castig_meci_v5=0; }

	$cota_int_40=2.75;										
	if ($rezultat_random_interval==4) { $investit_meci_v1=4; 	$castig_meci_v1=$investit_meci_v1*$cota_int_40-7;
	 									$investit_meci_v2=4; 	$castig_meci_v2=$investit_meci_v2*$cota_int_40-6;
										$investit_meci_v3=4; 	$castig_meci_v3=$investit_meci_v3*$cota_int_40-4;
										$investit_meci_v4=0; 	$castig_meci_v4=0;
										$investit_meci_v5=0; 	$castig_meci_v5=0; }
										
	$cota_int_50=4;
	if ($rezultat_random_interval==5) { $investit_meci_v1=8; 	$castig_meci_v1=$investit_meci_v1*$cota_int_50-15;
	 									$investit_meci_v2=8; 	$castig_meci_v2=$investit_meci_v2*$cota_int_50-14;
										$investit_meci_v3=8; 	$castig_meci_v3=$investit_meci_v3*$cota_int_50-12;
										$investit_meci_v4=8; 	$castig_meci_v4=$investit_meci_v4*$cota_int_50-8;
										$investit_meci_v5=0; 	$castig_meci_v5=0; }
										
	$cota_int_60=4;
	if ($rezultat_random_interval==6) { $investit_meci_v1=16;	$castig_meci_v1=$investit_meci_v1*$cota_int_60-31;
						  				$investit_meci_v2=16; 	$castig_meci_v2=$investit_meci_v2*$cota_int_60-30;
										$investit_meci_v3=16; 	$castig_meci_v3=$investit_meci_v3*$cota_int_60-28;
										$investit_meci_v4=16; 	$castig_meci_v4=$investit_meci_v4*$cota_int_60-24;
										$investit_meci_v5=16; 	$castig_meci_v5=$investit_meci_v5*$cota_int_60-16; }
										
	$cota_int_70=3.75;
	if ($rezultat_random_interval==7) { $investit_meci_v1=32;	$castig_meci_v1=$investit_meci_v1*$cota_int_70-63;
						  				$investit_meci_v2=32; 	$castig_meci_v2=$investit_meci_v2*$cota_int_70-62;
										$investit_meci_v3=32; 	$castig_meci_v3=$investit_meci_v3*$cota_int_70-60;
										$investit_meci_v4=32; 	$castig_meci_v4=$investit_meci_v4*$cota_int_70-56;
										$investit_meci_v5=32; 	$castig_meci_v5=$investit_meci_v5*$cota_int_70-48; }
										
	$cota_int_80=2.75;
	if ($rezultat_random_interval==8) { $investit_meci_v1=64; 	$castig_meci_v1=$investit_meci_v1*$cota_int_80-$pierdere_meci_v1;
									 	$investit_meci_v2=64; 	$castig_meci_v2=$investit_meci_v2*$cota_int_80-$pierdere_meci_v2;
										$investit_meci_v3=64; 	$castig_meci_v3=$investit_meci_v3*$cota_int_80-$pierdere_meci_v3;
										$investit_meci_v4=64; 	$castig_meci_v4=$investit_meci_v4*$cota_int_80-$pierdere_meci_v4;
										$investit_meci_v5=64; 	$castig_meci_v5=$investit_meci_v5*$cota_int_80-$pierdere_meci_v5; }

	$total_castiguri_v1=$total_castiguri_v1+$castig_meci_v1;
	$total_castiguri_v2=$total_castiguri_v2+$castig_meci_v2;
	$total_castiguri_v3=$total_castiguri_v3+$castig_meci_v3;
	$total_castiguri_v4=$total_castiguri_v4+$castig_meci_v4;
	$total_castiguri_v5=$total_castiguri_v5+$castig_meci_v5;

	}
	echo "interval: ".$rezultat_random_interval."0<br />";
	
	echo "castig meci v1: ".$castig_meci_v1."<br />";
	echo "castig meci v2: ".$castig_meci_v2."<br />";
	echo "castig meci v3: ".$castig_meci_v3."<br />";
	echo "castig meci v4: ".$castig_meci_v4."<br />";
	echo "castig meci v5: ".$castig_meci_v5."<br /><br />";
$i++;
}
echo "<br /><br />TOTAL CASTIGURI v1: 	".$total_castiguri_v1."<br />";
echo "TOTAL CASTIGURI v2: 				".$total_castiguri_v2."<br />";
echo "TOTAL CASTIGURI v3: 				".$total_castiguri_v3."<br />";
echo "TOTAL CASTIGURI v4: 				".$total_castiguri_v4."<br />";
echo "TOTAL CASTIGURI v5: 				".$total_castiguri_v5."<br /><br />";

echo "(".$p.")</br />";
echo "TOTAL PIERDERI v1:&nbsp;&nbsp;".$total_pierderi_v1."<br />";
echo "TOTAL PIERDERI v2:&nbsp;&nbsp;".$total_pierderi_v2."<br />";
echo "TOTAL PIERDERI v3:&nbsp;&nbsp;".$total_pierderi_v3."<br />";
echo "TOTAL PIERDERI v4:&nbsp;&nbsp;".$total_pierderi_v4."<br />";
echo "TOTAL PIERDERI v5:&nbsp;&nbsp;".$total_pierderi_v5."<br /><br />";

$total_final_v1=$total_castiguri_v1-$total_pierderi_v1;
$total_final_v2=$total_castiguri_v2-$total_pierderi_v2;
$total_final_v3=$total_castiguri_v3-$total_pierderi_v3;
$total_final_v4=$total_castiguri_v4-$total_pierderi_v4;
$total_final_v5=$total_castiguri_v5-$total_pierderi_v5;

echo "TOTAL v1 :&nbsp;&nbsp;".$total_final_v1."<br />";
echo "TOTAL v2 :&nbsp;&nbsp;".$total_final_v2."<br />";
echo "TOTAL v3 :&nbsp;&nbsp;".$total_final_v3."<br />";
echo "TOTAL v4 :&nbsp;&nbsp;".$total_final_v4."<br />";
echo "TOTAL v5 :&nbsp;&nbsp;".$total_final_v5."<br />";

?>
</div>

Man Man