Файл: transformerss/pages/account/_aliko.php
Строк: 450
<body onload="setInterval('alikostats();alikoblc()', 1000);"></body>
<?
$usid = $_SESSION["user_id"];
$refid = $_SESSION["referer_id"];
$usname = $_SESSION["user"];
?>
<div class="s-bk-lf">
<div class="acc-title">Алкаш Алик</div>
</div>
<div class="silver-bk2">
<style type="text/css">
.tooltip {
background:#fff;
border:1px solid #ccc;
font-size:11px;
color:#323232;
padding:2px 2px;
position:absolute;
}
</style>
<script type="text/javascript" src="/alikoimg/jquery-1.9.1.js"></script>
<script type="text/javascript">//<![CDATA[
$(window).load(function(){
jQuery(document).ready(function ($) {
function l_tooltip(target_items, name) {
$(target_items).each(function (i) {
$("body").append("<div></div>");
var tooltip = $("#" + name + i);
if ($(this).attr("title") != "" && $(this).attr("title") != "undefined") {
$(this).removeAttr("title").mouseover(function () {
tooltip.css({
opacity: 1,
display: "none"
}).fadeIn(30);
}).mousemove(function (kmouse) {
tooltip.css({
left: kmouse.pageX + -370,
top: kmouse.pageY + -112
});
}).mouseout(function () {
tooltip.fadeOut(10);
});
}
});
}
l_tooltip(".ttp_lnk a","tooltip");
});
});//]]>
</script>
<center>На поле из 25 ячеек спрятаны 12 жизненно важных для</center>
<center>Алика вещей: 4 бутылки водки, 4 бутылки пива и 4 сигареты.</center>
<center>В одной из ячеек прячется жена. Алик не очень рад её видеть.</center>
<center>А остальные 12 ячейки пустые и при их открытия вы проитраете.</center>
<center><div class="ttp_lnk">При выигрыше ставка умножается в соответствии с коэффициентом [<a><img style="cursor:pointer;" src="/miniruletka/esimayaxper.png" align="center" height="23"></a>] !</div></center>
<center><p> </p></center>
<div class="tooltip" id="tooltip0" style="display: none;">
<img src="/alikoimg/kofe.png">
</div>
<script>
function fun(){
test=document.getElementById('test');
if(btn.value=='100'){
test2.innerHTML='';
test3.innerHTML='';
test4.innerHTML='';
test5.innerHTML='';
test.innerHTML='<div class="silver-knopka"><img onclick="aliko1();" style="cursor: pointer;" src="/alikoimg/btner.png"></div>';
// btn.value='exit';
}
}
</script>
<script>
function fun2(){
test2=document.getElementById('test2');
if(btn2.value=='250'){
test.innerHTML='';
test3.innerHTML='';
test4.innerHTML='';
test5.innerHTML='';
test2.innerHTML='<div class="silver-knopka"><img onclick="aliko2();" style="cursor: pointer;" src="/alikoimg/btner.png"></div>';
// btn2.value='exit';
}
}
</script>
<script>
function fun3(){
test3=document.getElementById('test3');
if(btn3.value=='500'){
test.innerHTML='';
test2.innerHTML='';
test4.innerHTML='';
test5.innerHTML='';
test3.innerHTML='<div class="silver-knopka"><img onclick="aliko3();" style="cursor: pointer;" src="/alikoimg/btner.png"></div>';
// btn3.value='exit';
}
}
</script>
<script>
function fun4(){
test4=document.getElementById('test4');
if(btn4.value=='1000'){
test.innerHTML='';
test3.innerHTML='';
test2.innerHTML='';
test5.innerHTML='';
test4.innerHTML='<div class="silver-knopka"><img onclick="aliko4();" style="cursor: pointer;" src="/alikoimg/btner.png"></div>';
// btn4.value='exit';
}
}
</script>
<script>
function fun5(){
test5=document.getElementById('test5');
if(btn5.value=='2000'){
test.innerHTML='';
test3.innerHTML='';
test4.innerHTML='';
test2.innerHTML='';
test5.innerHTML='<div class="silver-knopka"><img onclick="aliko5();" style="cursor: pointer;" src="/alikoimg/btner.png"></div>';
// btn5.value='exit';
}
}
</script>
<script type="text/javascript">
function aliko1()
{
//Получаем параметры
var text = $('#text').val()
// Отсылаем паметры
$.ajax({
type: "POST",
url: "/aliko1.php",
data: "text="+text,
//При удачном завершение запроса - выводим то, что нам вернул PHP
success: function(html) {
//предварительно очищаем нужный элемент страницы
$("#response").empty();
//и выводим ответ php скрипта
$("#response").append(html);
}
});
}
function aliko2()
{
//Получаем параметры
var text = $('#text').val()
// Отсылаем паметры
$.ajax({
type: "POST",
url: "/aliko2.php",
data: "text="+text,
//При удачном завершение запроса - выводим то, что нам вернул PHP
success: function(html) {
//предварительно очищаем нужный элемент страницы
$("#response").empty();
//и выводим ответ php скрипта
$("#response").append(html);
}
});
}
function aliko3()
{
//Получаем параметры
var text = $('#text').val()
// Отсылаем паметры
$.ajax({
type: "POST",
url: "/aliko3.php",
data: "text="+text,
//При удачном завершение запроса - выводим то, что нам вернул PHP
success: function(html) {
//предварительно очищаем нужный элемент страницы
$("#response").empty();
//и выводим ответ php скрипта
$("#response").append(html);
}
});
}
function aliko4()
{
//Получаем параметры
var text = $('#text').val()
// Отсылаем паметры
$.ajax({
type: "POST",
url: "/aliko4.php",
data: "text="+text,
//При удачном завершение запроса - выводим то, что нам вернул PHP
success: function(html) {
//предварительно очищаем нужный элемент страницы
$("#response").empty();
//и выводим ответ php скрипта
$("#response").append(html);
}
});
}
function aliko5()
{
//Получаем параметры
var text = $('#text').val()
// Отсылаем паметры
$.ajax({
type: "POST",
url: "/aliko5.php",
data: "text="+text,
//При удачном завершение запроса - выводим то, что нам вернул PHP
success: function(html) {
//предварительно очищаем нужный элемент страницы
$("#response").empty();
//и выводим ответ php скрипта
$("#response").append(html);
}
});
}
//--------------------------------
{
//Получаем параметры
var text = $('#text').val()
// Отсылаем паметры
$.ajax({
type: "POST",
url: "/alikostop.php",
data: "text="+text,
//При удачном завершение запроса - выводим то, что нам вернул PHP
success: function(html) {
//предварительно очищаем нужный элемент страницы
$("#response").empty();
//и выводим ответ php скрипта
$("#response").append(html);
}
});
}
</script>
<style>
.silver-knopka {
background: #f7f7f7;
border: 1px solid #B3D3B1;
width: 235px;
border-radius: 0px;
color: #7ea57b;
font-weight: bold;
text-shadow: #fff 0 2px 9px;
height: 235px;
margin-top: -10px;
}
.silver-knopkasdf {
background: #f7f7f7;
border: 3px solid #6BAF7C;
width: 530px;
border-radius: 0px;
color: #7ea57b;
font-weight: bold;
text-shadow: #fff 0 2px 9px;
}
.silver-knopkasdfsdfsdf {
background: #6BAF7C;
border: 3px solid #6BAF7C;
width: 471px;
border-radius: 0px;
color: #7ea57b;
font-weight: bold;
text-shadow: #fff 0 2px 9px;
margin-top: 22px;
height: 46px;
}
.silver-alkash {
background: #f7f7f7;
border: 1px solid #6BAF7C;
width: 235px;
border-radius: 0px;
color: #7ea57b;
font-weight: bold;
text-shadow: #fff 0 2px 9px;
height: 235px;
margin-top: -10px;
}
.silver-sfdsd415s4545dssd5s5f5s5fs655555 {
background: #E4F7D9;
border: 1px solid #dddddd;
width: 510px;
border-radius: 0px;
padding: 1px 12px 1px 12px;
color: #7ea57b;
font-weight: bold;
text-shadow: #fff 0 2px 9px;
margin-top: 5px;
height: 50px;
}
.line2144444 {
font-size: 20px;
margin: 9px 5px 11px 10px;
}
.dropdownyan {
width: 69px;
margin: 0px 10px 0px 0px;
text-decoration: none;
background: -webkit-gradient( linear, center bottom, center top, from(rgba(64, 195, 51, 0.39)), to(rgba(150, 236, 141, 0.23)) );
border-radius: 10px;
height: 27px;
color: #77AF1B;
font-weight: bold;
font-size: 18px;
border: 1px;
}
.dropdownyan:active {
margin: 0px 10px 0px 0px;
text-decoration: none;
background: -webkit-gradient( linear, center bottom, center top, from(rgba(21, 44, 8, 0.1)), to(rgba(224, 233, 223, 0.1)) );
border-radius: 10px;
cursor: pointer;
height: 27px;
border: 1px;
}
.dropdownyan:hover {
margin: 0px 10px 0px 0px;
text-decoration: none;
background: -webkit-gradient( linear, center bottom, center top, from(rgba(64, 195, 51, 0.63)), to(rgba(163, 222, 157, 0.24)) );
border-radius: 10px;
cursor: pointer;
height: 27px;
border: 1px;
}
.dropdownyan:disabled {
margin: 0px 10px 0px 0px;
text-decoration: none;
background: -webkit-gradient( linear, center bottom, center top, from(rgba(7, 100, 6, 0.19)), to(rgba(182, 233, 155, 0.17)) );
border-radius: 10px;
cursor: not-allowed;
height: 27px;
color: rgba(169, 188, 137, 1);
border: 1px;
}
.alertstart2 {
padding: 0px 0px 11px 0px;
margin-bottom: 8px;
text-shadow: -1 1px 0 rgba(255, 255, 255, 0.5);
background-color: #E4F7D9;
border: 1px solid #D8F1BC;
-webkit-border-radius: 2px;
-moz-border-radius: 4px;
border-radius: 1px;
width: 532px;
}
.silver-sfdsd415s4545dssd5s5f5s5fs655555sss {
background: #E4F7D9;
border: 1px solid #dddddd;
width: 534px;
border-radius: 0px;
color: #7ea57b;
font-weight: bold;
text-shadow: #fff 0 2px 9px;
margin-top: 0px;
height: 50px;
}
</style>
<center>
<div class="silver-sfdsd415s4545dssd5s5f5s5fs655555">
<table align="center">
<tr>
<td>
<div class="line2144444"><font color="#328426"><b>Ставка:</b></font></div>
</td>
<td>
<input type="button" id="btn" class="dropdownyan" disabled="" name="btn" value="100" onClick="fun();this.disabled=true;btn2.disabled=false;btn3.disabled=false;btn4.disabled=false;btn5.disabled=false;"/>
</td>
<td>
<input type="button" id="btn2" class="dropdownyan" name="btn2" value="250" onClick="fun2();this.disabled=true;btn.disabled=false;btn3.disabled=false;btn4.disabled=false;btn5.disabled=false;"/>
</td>
<td>
<input type="button" id="btn3" class="dropdownyan" name="btn3" value="500" onClick="fun3();this.disabled=true;btn2.disabled=false;btn.disabled=false;btn4.disabled=false;btn5.disabled=false;"/>
</td>
<td>
<input type="button" id="btn4" class="dropdownyan" name="btn4" value="1000" onClick="fun4();this.disabled=true;btn2.disabled=false;btn3.disabled=false;btn.disabled=false;btn5.disabled=false;"/>
</td>
<td>
<input type="button" id="btn5" class="dropdownyan" name="btn5" value="2000" onClick="fun5();this.disabled=true;btn2.disabled=false;btn3.disabled=false;btn4.disabled=false;btn.disabled=false;"/>
</td>
</tr>
</table>
</div>
<div class="silver-knopkasdf">
<div class="silver-knopkasdfsdfsdf">
<center>
<script>
var about_sigaret = "<font style='color: rgb(205, 255, 215); font-size: 21px; font-weight: bold;'>Там оказался <img style='margin-top: 2px; border: 1px solid #6BAF7C; border-radius: 45px;' src='/alikoimg/cigarette.gif' width='40' height='40' align='center' /> вы выиграли !</font>";
var about_piva = "<font style='color: rgb(205, 255, 215); font-size: 21px; font-weight: bold;'>Там оказался <img style='margin-top: 2px; border: 1px solid #6BAF7C; border-radius: 45px;' src='/alikoimg/beer.gif' width='40' height='40' align='center' /> вы выиграли !</font>";
var about_arax = "<font style='color: rgb(205, 255, 215); font-size: 21px; font-weight: bold;'>Там оказался <img style='margin-top: 2px; border: 1px solid #6BAF7C; border-radius: 45px;' src='/alikoimg/vodka.gif' width='40' height='40' align='center' /> вы выиграли !</font>";
var about_knik = "<font style='color: rgba(17, 0, 207, 0.54); font-size: 21px; font-weight: bold;'>Там оказался <img style='margin-top: 2px; border: 1px solid #6BAF7C; border-radius: 45px;' src='/alikoimg/wife.gif' width='40' height='40' align='center' /> ваша ставка возвращена !</font>";
var about_progr = "<font style='color: rgba(207, 0, 0, 0.54); font-size: 21px; font-weight: bold;'>Там оказался <img style='margin-top: 2px; border: 1px solid #6BAF7C; border-radius: 45px;' src='/alikoimg/blank.gif' width='40' height='40' align='center' /> вы проиграли !</font>";
var about_netdeneg = "<div style='margin-top: 10px;'><font style='color: rgba(158, 18, 18, 1); font-size: 21px; font-weight: bold;'>Недостаточно средств на балансе !</font></div>";
var about_start = "<div style='margin-top: 8px;'><font style='color: rgba(255, 255, 255, 1); font-size: 21px; font-weight: bold;'>Начинайте искать в ячейках !</font></div>";
</script>
</center>
<center>
<center><div id="div_for_insertbarik"><div style='margin-top: 8px;'><font style='color: rgba(255, 255, 255, 1); font-size: 21px; font-weight: bold;'>Начинайте искать в ячейках !</font></div></div></center>
</center>
</div>
<center></br></center>
<input id="text" value="<?=$usid; ?>" name="user" type="hidden">
<table>
<tr>
<td>
<div id="test"><div class="silver-knopka"><img onclick="aliko1();" style="cursor: pointer;" src="/alikoimg/btner.png"></div></div>
<div id="test2"></div>
<div id="test3"></div>
<div id="test4"></div>
<div id="test5"></div>
</td>
<td>
<div class="silver-alkash">
<div id="response"></div>
</div>
</td>
</tr>
</table>
<center></br></center>
</div>
<div class="silver-sfdsd415s4545dssd5s5f5s5fs655555sss">
<center>
<div class="alertstart2">
<div id="alikoblc">
<script>
//--------------------------------
//------------Баланс--------------
//--------------------------------
function alikoblc()
{
//Получаем параметры
var text = $('#text').val()
// Отсылаем паметры
$.ajax({
type: "POST",
url: "/alikoblc.php",
data: "text="+text,
//При удачном завершение запроса - выводим то, что нам вернул PHP
success: function(html) {
//предварительно очищаем нужный элемент страницы
$("#alikoblc").empty();
//и выводим ответ php скрипта
$("#alikoblc").append(html);
}
});
}
//--------------------------------
{
//Получаем параметры
var text = $('#text').val()
// Отсылаем паметры
$.ajax({
type: "POST",
url: "/alikoblc.php",
data: "text="+text,
//При удачном завершение запроса - выводим то, что нам вернул PHP
success: function(html) {
//предварительно очищаем нужный элемент страницы
$("#alikoblc").empty();
//и выводим ответ php скрипта
$("#alikoblc").append(html);
}
});
}
</script>
</div>
</div>
</center>
</div>
</center>
<center>
<center></br></center>
<div id="alikostats">
<script>
//--------------------------------
//------------alikostats--------------
//--------------------------------
function alikostats()
{
//Получаем параметры
var text = $('#text').val()
// Отсылаем паметры
$.ajax({
type: "POST",
url: "/alikostats.php",
data: "text="+text,
//При удачном завершение запроса - выводим то, что нам вернул PHP
success: function(html) {
//предварительно очищаем нужный элемент страницы
$("#alikostats").empty();
//и выводим ответ php скрипта
$("#alikostats").append(html);
}
});
}
//--------------------------------
{
//Получаем параметры
var text = $('#text').val()
// Отсылаем паметры
$.ajax({
type: "POST",
url: "/alikostats.php",
data: "text="+text,
//При удачном завершение запроса - выводим то, что нам вернул PHP
success: function(html) {
//предварительно очищаем нужный элемент страницы
$("#alikostats").empty();
//и выводим ответ php скрипта
$("#alikostats").append(html);
}
});
}
</script>
</div>
</center>
<div class="clr"></div>
</div>
<div class="clr"></div>