Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.5.0.0
- * @ Author : DeZender
- * @ Release on : 22.06.2018
- * @ Official site : http://DeZender.Net
- *
- */
- require 'sec_inc.php';
- $time = time();
- $result = mysqli_query($dbcon, 'update ' . DB_PLAYERS . " set timetag = '" . ($time + 1) . "' where username = '" . $plyrname . "' and gID = '" . $gameID . "' ");
- $cq = mysqli_query($dbcon, 'select * from ' . DB_LIVECHAT . " where gameID = '" . $gameID . "' ");
- $cr = mysqli_fetch_array($cq);
- if ($time < $cr['updatescreen']) {
- $i = 1;
- for ($chat = '<div id="chatdiv" style="background:#000;padding:0 1px;height:90px;overflow:auto;box-shadow:0 0 5px #000;" class="chattxt">'; $i < 6; $i++) {
- $chat .= $cr['c' . $i];
- }
- $chat .= '</div>';
- echo "var chatxt = '";
- echo $chat;
- echo "';\ndocument.getElementById('chatbox').innerHTML = chatxt;\n";
- }
- $tpq = mysqli_query($dbcon, 'select p1name, p2name, p3name, p4name, p5name, p6name, p1pot, p2pot, p3pot, p4pot, p5pot, p6pot, p1bet, p2bet, p3bet, p4bet, p5bet, p6bet, hand, move, tabletype, pot, bet, tablelimit, tablelow, lastmove, lastbet, dealer from ' . DB_POKER . " where gameID = '" . $gameID . "' ");
- $tpr = mysqli_fetch_array($tpq);
- $hand = $tpr['hand'];
- $autoplayer = $tpr['move'];
- $autotimer = 0;
- $movetimer = MOVETIMER;
- $lmovetimer = KICKTIMER;
- $distimer = DISCONNECT;
- $kick = $time - $lmovetimer * 60;
- $timekick = $time - $distimer;
- $lastmove = $tpr['lastmove'];
- $diff = $time - $lastmove;
- $dealer = $tpr['dealer'];
- $tablepot = $tpr['pot'];
- $tabletype = $tpr['tabletype'];
- $tablelow = $tpr['tablelow'];
- $tablelimit = $tpr['tablelimit'];
- $tablebet = $tpr['bet'];
- $lastbet = $tpr['lastbet'];
- if ($autoplayer != '') {
- $nextup = nextplayer($autoplayer);
- if ($nextup == $autoplayer) {
- $end = true;
- }
- $autoname = $tpr['p' . $autoplayer . 'name'];
- $autopot = $tpr['p' . $autoplayer . 'pot'];
- $autobet = $tpr['p' . $autoplayer . 'bet'];
- $autofold = substr($autobet, 0, 1);
- $autostatus = 'live';
- if ($autopot == 0 && 0 < $autobet && 4 < $hand && $hand < 12) {
- $autostatus = 'allin';
- }
- if ($autofold == 'F' && 4 < $hand && $hand < 12) {
- $autostatus = 'fold';
- }
- if ($autopot == 0 && ($autobet == 0 || $autostatus == 'fold')) {
- $autostatus = 'bust';
- }
- $i = 1;
- $np = 0;
- $ai = 0;
- $fo = 0;
- $bu = 0;
- for ($testvalue = ''; $i < 7; $i++) {
- $usr = $tpr['p' . $i . 'name'];
- $upot = $tpr['p' . $i . 'pot'];
- $ubet = $tpr['p' . $i . 'bet'];
- $ufold = substr($ubet, 0, 1);
- if ($usr != '') {
- $np++;
- if ($upot == 0 && 0 < $ubet && $ufold != 'F' && 4 < $hand && $hand < 15) {
- ...............................................................................
- ............................................
- ...................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement