<?
define("DBName","11111111");
define("HostName","localhost");
define("UserName","1111111111");
define("Password","11111111111");
$db=@mysql_connect(HostName,UserName,Password);
@mysql_select_db(DBName);
if (!$db){
echo "<title>Ошибка!</title><center><h3>Ошибка!<br>Невозможно соеденится с сервером MySQL</h3></center>"; exit;}
##############################################################

#$time=time();
#$que=mysql_query ("INSERT INTO moment VALUES ($GAME_NUMBER, '', '', '', '', '', '', '', '')");

if ($QUERY_STRING) {
setcookie("pid",$QUERY_STRING);
$pid=$QUERY_STRING;
}
if (!$QUERY_STRING)
{
$pid=$HTTP_COOKIE_VARS['pid'];
}



if(empty($ip)){
if (getenv('HTTP_X_FORWARDED_FOR')){
$ip=getenv('HTTP_X_FORWARDED_FOR');}
else{
$ip=getenv('REMOTE_ADDR');}}
#######################################


?>
<html>
<head>
   <LINK media=all href="/css/casino.css" type=text/css rel=stylesheet>
<meta http-equiv="cache-control" content="no-cache">  
<META http-equiv=Content-Type content="text/html; charset=windows-1251">
<style>
    .aFilter { filter:Glow(Color=#FF0000,Strength=2,Enabled=0); cursor:hand }
</style>
<script>
function imover(im)
{
	im.filters.Glow.Enabled=true;
}

function imout(im)
{
	im.filters.Glow.Enabled=false;
}
</script>
</head>
<body  vLink=#073683 aLink=#0000c4 link=#0000c4  leftMargin=5 topMargin=5 bottomMargin=0  rightMargin=5 marginwidth="0" marginheight="0">
<table align=center cellSpacing=0 cellPadding=0 width="100%" border=0>
<tr><td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=* bgcolor=79A3CB colspan=2><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
</tr><tr>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=* bgcolor=ffffff colspan=2><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
</tr><tr>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=* height=70 valign=top colspan=2 class=gradient>
<table align=center cellSpacing=4 cellPadding=0 width="100%" border=0><tr><form action="https://merchant.webmoney.ru/lmi/payment.asp" method=post name=tri_tuza>
<td>
<u>Играть</u>
<br>
<br>
<center>Размер ставки : <select name="LMI_PAYMENT_AMOUNT" class=input style="WIDTH: 100">
	<option value="0.5">0.5 WMZ</option>
	<option value="1">1 WMZ</option>
	<option value="2">2 WMZ</option>
</select>
<input type="hidden" name="LMI_PAYMENT_DESC" value="Три Туза в Webmoney КАЗИНО">
<input type="hidden" name="LMI_PAYEE_PURSE" value="Z507131313608">
<input type=hidden name=karta value=>
<br>
<br>
<input type=image CLASS="aFilter" onclick="document.tri_tuza.karta.value=1;" onmouseover="imover(this)" onmouseout="imout(this)"  src="/img/karta_back.gif" width="78" height="107" alt="Выберете карту" border="0"><input type=image CLASS="aFilter" onclick="document.tri_tuza.karta.value=2;"  onmouseover="imover(this)" onmouseout="imout(this)"  src="/img/karta_back.gif" width="78" height="107" alt="Выберете карту" border="0"><input type=image CLASS="aFilter" onclick="document.tri_tuza.karta.value=3;"  onmouseover="imover(this)" onmouseout="imout(this)" src="/img/karta_back.gif" width="78" height="107" alt="Выберете карту" border="0">
</center></form>
</td></tr></table></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
</tr><tr>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=* bgcolor=ffffff colspan=2><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
</tr><tr>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=* bgcolor=79A3CB colspan=2><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
</tr></table>
<!-- Вставка -->
<table align=center cellSpacing=0 cellPadding=0 width="100%" border=0><tr><td><img src=/img/blank.gif width=1 height=5 border=0></td></tr></table>
<!-- Вставка -->
<table align=center cellSpacing=0 cellPadding=0 width="100%" border=0>
<tr><td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=* bgcolor=79A3CB colspan=2><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
</tr><tr>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=* bgcolor=ffffff colspan=2><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
</tr><tr>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=* height=70 valign=top colspan=2 class=gradient>
<table align=center cellSpacing=4 cellPadding=0 width="100%" border=0><tr><td>
<u>Правила игры</u><br><br>
Перед вами находятся 3 карты, вам нужно выбрать размер ставки и одну карту кликнув по ней мышью. После выбора карты вы попадёте на сайт Webmoney Transfer для произведения ставки, сразу после оплаты вы увидете результат. 
<br>
<br>
</td></tr></table></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
</tr><tr>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=* bgcolor=ffffff colspan=2><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=79A3CB><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
</tr><tr>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=* bgcolor=79A3CB colspan=2><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
<td width=1 bgcolor=ffffff><img src=/img/blank.gif width=1 height=1 border=0></td>
</tr></table>

</body>
</html>

