Guest User

Untitled

a guest
Oct 13th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.12 KB | None | 0 0
  1. <?php
  2.  
  3. @include_once "langdoc.php";
  4. if(!isset($_COOKIE['lang'])) {
  5. setcookie("lang","en",2147485547);
  6. $lang = "en";
  7. } else $lang = $_COOKIE["lang"];
  8. $sitename = "WEBsite.com";
  9. $title = "Website.com";
  10. @include_once('set.php');
  11.  
  12.  
  13. require('steamauth/steamauth.php');
  14.  
  15. if(isset($_SESSION["steamid"])) {
  16. include_once('steamauth/userInfo.php');
  17. }
  18.  
  19. include 'adminlist.php'; //include AFTER session is started (session_start();)
  20. include 'chatfunctions.php';
  21. ?>
  22.  
  23. <!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  24.  
  25. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  26. <head> <title>Website.com - jackpot? ez right</title>
  27. <base > <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  28. <meta name="author" content="Website.com"/>
  29. <meta name="keywords" content="Your keywords">
  30. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
  31.  
  32. <link href='http://fonts.googleapis.com/css?family=Roboto:400,300,100&amp;subset=latin,cyrillic-ext,cyrillic,latin-ext' rel='stylesheet' type='text/css'>
  33.  
  34. <link type="text/css" rel="stylesheet" media="all" href="plugins/bootstrap-grid-12/css/bootstrap.min.css">
  35. <link type="text/css" rel="stylesheet" media="all" href="plugins/font-awesome/css/font-awesome.min.css">
  36. <link type="text/css" rel="stylesheet" media="all" href="plugins/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css">
  37. <link type="text/css" rel="stylesheet" media="all" href="plugins/pnotify/pnotify.custom.min.css">
  38. <link type="text/css" rel="stylesheet" media="all" href="plugins/scrollbar/jquery.mCustomScrollbar.css">
  39. <link type="text/css" rel="stylesheet" media="all" href="css/ranim.css">
  40. <link type="text/css" rel="stylesheet" media="all" href="css/animate.css">
  41. <script src="js/progressbar.js"></script>
  42. <script type="text/javascript">
  43.  
  44. function timedMsg(){
  45. var t=setTimeout("document.getElementById('systemalert').innerHTML='';",10000);
  46. }
  47.  
  48.  
  49. </script>
  50.  
  51.  
  52. <style type="text/css">
  53. #progressbar {
  54. background-color: white;
  55. border-radius: 4px; /* (height of inner div) / 2 + padding */
  56. padding: 1px;
  57. border:1px solid lightgray;
  58. }
  59.  
  60. #progressbar > div {
  61. background-color: #3E83BF;
  62. height: 6px;
  63. border-radius: 10px;
  64. }
  65. </style>
  66.  
  67. <link type="text/css" rel="stylesheet" media="all" href="frontend/css/animate.css">
  68. <link type="text/css" rel="stylesheet" media="all" href="frontend/css/front7f6fy.css?112">
  69.  
  70. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  71. <script type="text/javascript" src="js/noty/packaged/jquery.noty.packaged.min.js"></script>
  72. <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
  73.  
  74.  
  75.  
  76.  
  77. <script type="text/javascript" src="js/main.php"></script>
  78.  
  79. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="icon" href="favicon.ico" type="image/x-icon">
  80. <link rel="apple-touch-icon" sizes="57x57" href="apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="apple-icon-60x60.png">
  81. <link rel="apple-touch-icon" sizes="72x72" href="apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="apple-icon-76x76.png">
  82. <link rel="apple-touch-icon" sizes="114x114" href="apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="apple-icon-120x120.png">
  83. <link rel="apple-touch-icon" sizes="144x144" href="apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="apple-icon-152x152.png">
  84. <link rel="apple-touch-icon" sizes="180x180" href="apple-icon-180x180.png"> <link rel="icon" type="image/png" sizes="192x192" href="android-icon-192x192.png">
  85. <link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png"> <link rel="icon" type="image/png" sizes="96x96" href="favicon-96x96.png">
  86. <link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png"> <link rel="manifest" href="manifest.json">
  87. <meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileImage" content="ms-icon-144x144.png">
  88. <meta name="theme-color" content="#ffffff"> <meta property="og:title" content="PolskiJackpot">
  89. <meta property="og:site_name" content="PolskiJackpot.5v.pl"> <meta property="og:url" content="index.php">
  90. <meta property="og:description" content="your content">
  91. <meta property="og:image" content="steamlogo.png"> <meta property="og:type" content="website"> <meta property="og:locale" content="en_US">
  92.  
  93. <script language="javascript" type="text/javascript">
  94. <!--
  95. function popitup(url) {
  96. newwindow=window.open(url,'name','height=500,width=350');
  97. if (window.focus) {newwindow.focus()}
  98. return false;
  99. }
  100.  
  101. // -->
  102. </script>
  103. <script type="text/javascript">
  104. test();
  105.  
  106. function test()
  107. {
  108. $.ajax({
  109. type: "GET",
  110. url: "raffleanim.php",
  111. error: function(err) {
  112. console.log(err);
  113. },
  114. success: function(result) {
  115. $("section.rounditems").html(result);
  116. }
  117. });
  118.  
  119. setTimeout(test, 1000);
  120. }
  121. </script>
  122. <script src="js/nscript.js"></script>
  123. <script src="js/chat2.js"></script>
  124.  
  125. <script>
  126. function load_messes()
  127. {
  128. $.ajax({
  129. type: "POST",
  130. url: "chatread.php",
  131. data: "req=ok",
  132. success: function(test)
  133. {
  134. $("#mcaht").empty();
  135. $("#mcaht").append(test);
  136. $("#mcaht").scrollTop();
  137. }
  138. });
  139. }
  140. </script>
  141. <style type="text/css">
  142. .ava_top{
  143. height: 40px;
  144. border-radius: 32px;
  145. }
  146.  
  147. .caht-box {
  148. background: #fff;
  149. height: 600px;
  150. height: auto;
  151. padding: 5px;
  152. width: 320px;
  153. }
  154. .boxs {
  155. height: 20px;
  156. width: 100%;
  157. }
  158. .left-chat {
  159. font-size: 11px;
  160. height: 700px;
  161. overflow: auto;
  162. padding: 5px;
  163. position: relative;
  164. text-align: left;
  165. width: 344px;
  166. }
  167. .chat-btn:hover {
  168. background: #BB5D1E;
  169. }
  170. .chat-o span {
  171. color: #fff;
  172. }
  173. .chat-msg {
  174. height: auto;
  175. margin-top: 7px;
  176. overflow: hidden;
  177. bottom: 5px;
  178. display:block;
  179. word-wrap: break-word;
  180. font-weight: normal;
  181. font-size: 13px;
  182. }
  183. .chat-o {
  184. color: #EA7526;
  185. float: right;
  186. margin-right: 5px;
  187. }
  188. .caht-avat {
  189. /* Rounded avatars */
  190. float: left;
  191. margin-top: 1em;
  192. margin-right: 1em;
  193. position: relative;
  194.  
  195. -webkit-border-radius: 50%;
  196. -moz-border-radius: 50%;
  197. border-radius: 50%;
  198.  
  199. -webkit-box-shadow: 0 0 0 3px #fff, 0 0 0 4px #999, 0 2px 5px 4px rgba(0,0,0,.2);
  200. -moz-box-shadow: 0 0 0 3px #fff, 0 0 0 4px #999, 0 2px 5px 4px rgba(0,0,0,.2);
  201. box-shadow: 0 0 0 3px #fff, 0 0 0 4px #999, 0 2px 5px 4px rgba(0,0,0,.2);
  202.  
  203. }
  204. .caht-ava {
  205. -webkit-border-radius: 4px;
  206. -moz-border-radius: 4px;
  207. border-radius: 4px;
  208. margin-right:2px;
  209. }
  210. .caht-name {
  211. margin-top: 2px;
  212. display:inline !important;
  213. }
  214. .caht-dateid {
  215. color: #6C9FCE;
  216. float: left;
  217. font-size: 10px;
  218. height: 15px;
  219. margin-top: 3px;
  220. width: 140px;
  221. }
  222. .msg-text {
  223. float: left;
  224. margin-top: 2px;
  225. width: 100%;
  226. }
  227. .result {
  228. box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.75);
  229. color: #fff;
  230. display: none;
  231. font-weight: 400;
  232. height: 60;
  233. line-height: 55px;
  234. moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.75);
  235. position: absolute;
  236. text-align: center;
  237. text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
  238. webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.75);
  239. width: 100%;
  240. z-index: 999;
  241. }
  242. .error {
  243. background: #B83A26;
  244. }
  245. .success {
  246. background: #EA7526;
  247. }
  248. .cht-au {
  249. width: 100%;
  250. }
  251.  
  252. a .xtooltip {
  253. display: none;
  254. position: absolute;
  255. font: 300 11px/12px "Roboto","Arial",sans-serif ;
  256. color: #fff;
  257. bottom: 56px;
  258. left: 50%;
  259. margin: 0 0 0 -64px;
  260. width: 127px;
  261. padding: 5px 1px 4px 8px;
  262. background: #202124;
  263. border-bottom: 3px #282a2f solid;
  264. text-align: center;
  265. border-radius: 7px;
  266. z-index: 50;
  267. }
  268. a .xtooltip:after {
  269. content: '';
  270. display: block;
  271. position: absolute;
  272. width: 0px;
  273. height: 0px;
  274. border-left: 11px solid transparent;
  275. border-top: 12px solid #282a2f;
  276. border-right: 11px solid transparent;
  277. top: 100%;
  278. left: 50%;
  279. margin: 0 0 0 -11px;
  280. }
  281. a:hover .xtooltip {
  282. display: block;
  283. }
  284. </style>
  285. </head>
  286. <body>
  287. <div class="result success" id="success"></div>
  288. <div class="result error" id="error"></div>
  289.  
  290. <div id="left">
  291. <ul> <li class="logo">
  292. <a href="index.php" data-page="play"></a></li> <li class="active">
  293. <a href="index.php" class="play" data-page="play"><span></span>Play</a></li>
  294. <li class="separator"></li> <li><a href="en/winners.php" class="winners" data-page="winners"><span></span>Top players</a></li>
  295. <li class="separator"></li> <li><a href="history.php" class="history" data-page="history"><span></span>History</a></li>
  296. <?php if(!isset($_SESSION["steamid"])):?>
  297. <li class="separator"></li> <li class="mini"><a href="en/faq.php" class="faq" data-page="faq"><i class="fa fa-question-circle"></i>FAQ</a></li>
  298. <?php else: ?>
  299. <li class="separator"></li> <li><a href="settings.php" class="settings" data-page="settings"> <span> </span>Settings</a></li>
  300. <li class="separator"></li> <li class="mini"><a href="en/faq.php" class="faq" data-page="faq"><i class="fa fa-question-circle"></i>FAQ</a></li>
  301. <?php endif; ?>
  302. <li class="separator"></li> <li class="mini"><a href="en/rules.php" class="rules" data-page="rules"><i class="fa fa-shield"></i>Rules</a></li>
  303. <li class="separator"></li> <li class="mini"><a href="https://Website.com/support" class="support" target="_blank"><i class="fa fa-life-ring">
  304. </i>Support</a></li> </ul> </div> <div id="container"> <div id="content-hidden"> <div class="col-lg-offset-19 col-lg-5 bglayer"></div> </div> <div id="top">
  305. <a href="index.php" class="sitename transition" data-page="play">WEB<span class="transition">site</span>.com - your skins etc!</a><ul id="right-section">
  306.  
  307. <li class="el promo leadtext">Add <span>website.com</span> to your steam name and get <span>+6%</span> bonus<br/> to your winnings! (relog website)</li>
  308. <li class="el" id="sign-in">
  309. <?php
  310. if(!isset($_SESSION["steamid"])): ?>
  311. <?php steamlogin(); ?>
  312. <a href="?login" id="steam-login-url" rel="nofollow"></a> </li>
  313. <?php
  314. else: ?>
  315.  
  316. <li class="el" id="user-panel">
  317. <?php $timenow = time(); ?>
  318. <?php mysql_query("UPDATE users SET lastseen=".$timenow." WHERE steamid=".$_SESSION['steamid'].""); ?>
  319. <a href=<?php echo $steamprofile['profileurl']; ?> target="_blank" rel="nofollow"></a>
  320. <img src=<?php echo $steamprofile['avatar']; ?>>
  321. <div class="desc">
  322. <a class="name" href=<?php echo $steamprofile['profileurl']; ?> target="_blank" rel="nofollow"> <?php echo $steamprofile['personaname']; ?></a>
  323. <a class="deposit" href="https://steamcommunity.com/tradeoffer/new/?partner=186977716&token=imMw44Sx">Depozyt </a>
  324. <a class="logout" href="steamauth/logout.php">Wyloguj sie </a>
  325. </div>
  326. </li>
  327. <?php mysql_query("UPDATE users SET steamprofile='".$steamprofile['profileurl']."', name='".$steamprofile['personaname']."', avatar='".$steamprofile['avatarfull']."' WHERE steamid='".$_SESSION["steamid"]."'");?>
  328. <?php endif; ?>
  329. <li class="el" id="langs"> <div class="btn-group"> <button type="button" class="dropdown-toggle lang-en" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> EN <span class="caret"></span>
  330. </button> <ul class="dropdown-menu dropdown-menu-right"> <li class="ru"><a class="lang-ru" href="ru.php"></a></li>
  331. <li class="en"><a class="lang-en" href="en.php"></a></li>
  332. </ul> </div> </li> </ul> </div> <div id="top-bar">
  333. <center>
  334.  
  335.  
  336.  
  337. <div class="itemsdiv">
  338. <div class="hhdgfbd"></div>
  339. <div class="kjmhgd"></div>
  340. <section class="rounditems" style="margin: auto;">
  341. <?php include('raffleanim.php'); ?>
  342.  
  343. </section>
  344.  
  345. </div>
  346.  
  347.  
  348. </center>
  349.  
  350. <div id="spinner" class=" col-lg-13"> <div class="line"></div> <div class="spinner">
  351. <ul class="cont"> </ul> </div> </div> <div class="col-lg-13 col border-right col-spinner"> <div class="col-xs-12 col-sm-8 col-md-8 icon-col">
  352. <div class="users-online ico"> <div class="img"></div>
  353. <span id="users-online" class="h3"><?php
  354. $result = mysql_query("SELECT id FROM games WHERE `starttime` > ".(time()-86400));
  355. $result2 = mysql_query("SELECT id FROM users WHERE `lastseen` > ".(time()-86400));
  356. echo mysql_num_rows($result2);
  357. ?></span> <?php echo $msg[$lang]["ptd"]; ?> </div> </div> <div class="col-xs-12 col-sm-8 col-md-8 icon-col">
  358. <div class="games-today ico"> <div class="img"></div> <span id="games-today" class="h3"><?php
  359. $result2 = mysql_query("SELECT id FROM users WHERE `lastseen` > ".(time()-86400));
  360. echo mysql_num_rows($result); ?></span> <?php echo $msg[$lang]["gtd"]; ?> </div> </div> <div class="col-sm-8 col-md-8 icon-col hidden-xs"> <div class="biggest-win ico">
  361. <div class="img">
  362. </div> <span id="Naj Wygrana" class="h3">
  363. <?php /*
  364. $result = mysql_query("SELECT MAX(cost) AS cost FROM games");
  365. $row = mysql_fetch_assoc($result);
  366. $maxcost = $row["cost"];
  367. */
  368. $result = mysql_query("SELECT * FROM games ORDER BY cost*1 DESC LIMIT 1");
  369. $row = mysql_fetch_assoc($result);
  370. $maxcost = $row["cost"];
  371. ?>
  372. $<?php echo round($maxcost,2); ?></span> <?php echo $msg[$lang]["mwin"]; ?> </div>
  373. </div> </div>
  374. <div class="col-lg-6 col hidden-md hidden-xs hidden-sm">
  375. <div id="user-room-panel">
  376. <div class="ico"> </div>
  377. <ul> <li>NO SOUVENIR ITEMS! TO DEPOSIT YOU MUST HAVE STEAM AUTHENTICATOR ENABLED!</li> <li>Probably to win <span id="mychance">0%</span>. Min bet <span>$0.01</span></li> </ul> </div> </div>
  378. <div align="center" class="col-lg-5 border-left social col hidden-md hidden-xs hidden-sm">
  379. <br><br>Hello my friend</br>Change this bar to anything you want.
  380. </div> </div>
  381. <div id="content"> <div class="col-lg-9 affix-room "> <div id="affix-room" class="">
  382.  
  383.  
  384. <br/><br/> <div id="circle-container"> <div id="circle" class="">
  385. <script>/*
  386. var source = new EventSource('systemmessages.php');
  387. source.onmessage = function(e) {
  388. document.getElementById("systemalert").innerHTML = e.data;
  389. timedMsg();
  390. console.log('Data received from ssesystemmessages: '+e.data);
  391. };*/
  392. </script>
  393.  
  394. <span id="systemalert" style="text-align:center;">
  395.  
  396. </span>
  397. <span id="alert" style="text-align:center;">
  398. </span>
  399. <!--circleeeeeeeeeeeeeeeeeeeeeeeeee -->
  400. <div class="visual" style="float: left;">
  401. <p class="progressbar__label" style=" color: #008BFF;font-weight: 300; font-size: 42px;">0/50</p>
  402. <div id="prograsd" style="position: relative;">
  403.  
  404. <span id="money_round" class="bankbbas">$<span id="bank"><?php echo round(fetchinfo("cost","games","id",$lastgame),2); ?>
  405. </span></span> </div>
  406. </br>
  407. </br>
  408.  
  409. <?php
  410. if(!isset($_SESSION["steamid"])): ?>
  411. <?php steamlogin(); ?>
  412. <a class="btn btn-primary btn-lg" href="?login">Dodaj Itemy</a>
  413. <?php else: ?>
  414. <?php $token = fetchinfo("tlink","users","steamid",$_SESSION["steamid"]); ?>
  415. <?php if(strlen($token)<2): ?>
  416. <a class="btn btn-primary btn-lg" href="/settings.php" class="Ustawienia" data-page="Ustawienia">DODAJ TRADE URL</a>
  417. <?php else: ?>
  418.  
  419.  
  420. Czas do konca: <h4 id="countdown-timer"><span id="Czas do konca">0</span></h4>
  421. <a class="btn btn-primary btn-lg" style="text-decoration: none;" href="https://steamcommunity.com/tradeoffer/new/?partner=186977716&token=imMw44Sx" target="_blank" ><?php echo $msg[$lang]["ingame"]; ?> </a>
  422.  
  423. <?php endif; ?>
  424. <?php endif; ?>
  425. </div>
  426.  
  427.  
  428. <br>
  429.  
  430. </div> </div><h5 id="round-hash" class="hidden"><?php echo md5(3); ?></h5>
  431. <h6 id="room-id" class="hide"></h6> </div> </div>
  432.  
  433. <div class="col-lg-4 border-right border-left affix-items scrollbar" id="room-items">
  434.  
  435.  
  436. <div id="dropboxy">
  437. <?php
  438. ?>
  439. </div>
  440.  
  441. </div>
  442.  
  443. <div class="col-lg-6 affix-players" style="padding:10px;">
  444. <div id="playersdropboxy">
  445. <?php include_once("players.php"); ?>
  446. </div>
  447. <div id="affix-players" class="scrollbar">
  448. <div id="rooms"></div> </div> </div> <div class="col-lg-5 affix-right"> <div id="affix-right" class="border-left">
  449. <div class="col-xs-24 chat"> <div class="row chat-container">
  450.  
  451. <div class="row chat-buttons"> <div class="col-xs-24"> <div class="media-body"> <div class="input-group">
  452.  
  453. <input type="text" class="form-control chat-message" id="text-massage" style="margin-left:6px;" maxlength="300"> <span class="input-group-btn">
  454.  
  455. <?php if(isset($_SESSION['steamid'])) { ?>
  456. <button class="btn btn-primary" type="submit" data-loading-text="<i class='fa fa-spinner fa-spin'></i> WAIT..." id="send_massage" style="margin-right:6px;">SEND</button>
  457.  
  458. <div class="sml-bnt" id="smile"></div>
  459. <? }
  460. else { ?>
  461. <form method="get" action="index.php"><input type="hidden" name="login" value=""/><input type="submit" class="btn btn-primary" value="Log in to chat" style="margin-right:6px;"/></form>
  462.  
  463. <?php }
  464. ?>
  465.  
  466. </span> </div> </div> </div> </div>
  467. <div class="col-xs-24 messages messages-img" style="width:250px;">
  468. <?php if(isadmin($_SESSION['steamid'])){
  469. echo'Admin tools: [<a href="chatadm.php?do=clear" onclick="return popitup(\'chatadm.php?do=clear\');">clear chat</a>], [<a href="chatadm.php?do=toggle" onclick="return popitup(\'chatadm.php?do=toggle\');">turn '.(chaton() ? 'off' : 'on').'</a>]';
  470. } ?>
  471. <? include ('mini-chat.php'); ?>
  472. </div> </div>
  473. </div>
  474. <div id="raffle"><div class="col-xs-24 raffle"> <div class="cont"> <div class="circle"> <img id="raffle-img"> </div> <h4 class="name" id="raffle-name"></h4>
  475. <h4 id="countdown-raffle-timer" data-countdown="2020-08-08"></h4>
  476. <a class="btn btn-default" href="?login">LOG IN</a> </div> </div> </div> </div> </div> </div>
  477. <div class="site-overlay" onclick="system.menu.setHomepage()"></div>
  478. <div class="site winners col-xs-24 col-sm-18 col-md-14 col-lg-12">
  479. <?php
  480. $rs = mysql_query("SELECT * FROM `users` ORDER BY `won` DESC LIMIT 10");
  481. $i = 1;
  482. ?>
  483. <h2>Top players</h2>
  484. <table class="table table-condensed table-hover">
  485. <thead> <th>Rank</th> <th class="text-left">Nickname</th>
  486. <th class="hidden-xs">Total games</th> <th class="hidden-xs">Won ($)</th> </thead>
  487. <tbody id="top-players-tbody">
  488. <?php while($row=mysql_fetch_array($rs)): ?>
  489. <?php if ($i <= "3"):?>
  490. <tr class = "top">
  491. <td class = "number"><?php echo $i;?></td>
  492. <td class="text-left">
  493. <a rel="nofollow" target="_blank" href= <?php echo $row['steamprofile']; ?> class="img hidden-xs"> <img src=<?php echo $row['avatar']; ?>> </a>
  494. <a rel="nofollow" target="_blank" href=<?php echo $row['steamprofile']; ?> class="name"> <?php echo $row['name']; ?> </a>
  495. </td>
  496. <td class="hidden-xs" target="_blank"> <?php echo $row['games']; ?> </td>
  497. <td class="hidden-xs" target="_blank"> <?php echo $row['won']; ?> </td>
  498. <?php else: ?>
  499. <tr class="">
  500. <td class = "number"><?php echo $i;?></td>
  501. <td class="text-left">
  502. <a rel="nofollow" target="_blank" href= <?php echo $row['steamprofile']; ?> class="img hidden-xs"> <img src=<?php echo $row['avatar']; ?>> </a>
  503. <a rel="nofollow" target="_blank" href=<?php echo $row['steamprofile']; ?> class="name"> <?php echo $row['name']; ?> </a>
  504. </td>
  505. <td class="hidden-xs" target="_blank"> <?php echo $row['games']; ?> </td>
  506. <td class="hidden-xs" target="_blank"> <?php echo $row['won']; ?> </td>
  507. </tr>
  508. </tr>
  509. <?php endif; ?>
  510. <?php $i++;?>
  511. <?php endwhile; ?>
  512. </tbody> </table>
  513. <a class="close" data-page="play"></a> </div>
  514. <div class="site myhistory col-xs-24 col-sm-18 col-md-14 col-lg-12">
  515. <h2>Winners</h2> <table class="table"> <thead> <th>Rank</th> <th>Nickname</th> <th>Total wins</th> <th>Won</th> </thead>
  516. <tbody> <tr> <td>1</td> </tr> </tbody> </table> <a class="close" data-page="play"></a> </div>
  517. <div class="site history col-xs-24 col-sm-18 col-md-14 col-lg-12"> <h2>History</h2> <div id="Historja">
  518. <?php
  519. $gameid = fetchinfo("value", "info", "name", "current_game");
  520. $query = mysql_query("SELECT * FROM `games` WHERE `id` < $gameid ORDER BY `id` DESC LIMIT 10");
  521. while($rowd=mysql_fetch_array($query)):
  522. //define stuff
  523. $lastwinner=$rowd["userid"];
  524. $winnercos =$rowd['cost'];
  525. $winnerpercent = $rowd['percent'];
  526. $winneravatar=fetchinfo("avatar", "users", "steamid", $lastwinner);
  527. $winnername = fetchinfo("name", "users", "steamid", $lastwinner);
  528. $steamlink = fetchinfo("steamprofile", "users", "steamid", $lastwinner); ?>
  529. <div class="cont row">
  530. <div class="col-xs-24 header">
  531. </div>
  532. <div class="col-xs-24 body">
  533. <div class="col-xs-16 col-sm-16">
  534. <a rel="nofollow" target="_blank" href=<?php echo $steamlink; ?> class="img hidden-xs">
  535. <img src=<?php echo $winneravatar; ?> > </a>
  536. <a rel="nofollow" target="_blank" href=<?php echo $steamlink; ?> class="name"> <?php echo $winnername; ?> </a>
  537. </div>
  538. <div class="right text-right">
  539. <span class="win">
  540. Win: <span>$ <?php echo round($winnercos, 3); ?> </span></span>
  541. <span class="chance">
  542. Chance: <span><?php echo round($winnerpercent, 2); ?>% </span> </span> </div> </div>
  543. <div class="col-xs-24 footer">
  544. <!-- here I start with csgo items, so... another while -->
  545.  
  546. <?php
  547. $query2 = mysql_query("SELECT * FROM `game".$rowd["id"]."`");
  548. while($rowf = mysql_fetch_array($query2)):
  549. //define stuff x2
  550. $imglink = 'http://steamcommunity-a.akamaihd.net/economy/image/'.$rowf["image"].'/70fx58f';
  551. $wep = $rowf["item"].' - $'.$rowf["value"];
  552. ?>
  553. <a href="#">
  554. <img src=<?php echo $imglink; ?> width="46" height="40">
  555. <span class="xtooltip"><?php echo $wep; ?></span>
  556. </a>
  557. <?php endwhile; ?>
  558. </div>
  559.  
  560. </div>
  561. <?php endwhile; ?>
  562. </div>
  563. <a class="close" data-page="play"></a> </div>
  564. <div class="site settings col-xs-24 col-sm-18 col-md-14 col-lg-12"> <h2>Settings</h2> <div id="settings"></div>
  565. <div class="block-area trade-url-area">
  566. <div role="alert" class="AlertX alert-infoX alert-trade-url alert-dimissible fade in">
  567.  
  568. <div class="content">
  569. <div class="history_game">
  570. <form method="POST" action="./updatelink.php">
  571. <label for="link" style="color: #678098; font-size: 17pt;font-family: roboto;">Your Steam Trade URL: </label>
  572. <input type="text" name="link" class="form-control trade-url-input"style="" id="link" value="<?php echo fetchinfo("tlink","users","steamid",$_SESSION["steamid"]); ?>" placeholder="Link exchange">
  573. <p style="color: #678098; font-size: 14pt;font-family: roboto;">Fetch your Steam URL: <a href="http://steamcommunity.com/id/me/tradeoffers/privacy#trade_offer_access_url" target="_blank" style="color: #678098; font-size: 12pt;font-family: roboto;">http://steamcommunity.com/id/me/tradeoffers/privacy</a></p>
  574. <p style="color: #FF3F3F; font-size: 12pt;font-family: roboto;">Make sure your Steam URL is Valid!</p>
  575. <p style="color: #FF3F3F; font-size: 12pt;font-family: roboto;">Entering an invalid URL would prevent you from getting your winnings!</p>
  576. <input type="submit" class="btn btn-primary btn-lg" href="#" value="Save">
  577. </form>
  578. </div>
  579. </div>
  580. </div>
  581. </div>
  582. <a class="close" data-page="settings"></a></div>
  583.  
  584. <div class="site faq col-xs-24 col-sm-18 col-md-14 col-lg-12">
  585. <h2>Website - Rules/FAQ</h2> <h3>Evolve Your Skins!</h3>
  586. <h4>The LOWEST commission jackpot site!</h4>
  587. <h4>Mechanics are simple: More you contribute into the pool, Higher the chances you win the entire pool!</h4> - Login through Steam and connect your steam URL through Settings<br/>- Place your deposit!<br/>
  588. - The system calculates value for items that you deposited (valued by csgo.steamanalyst.com), for every dollar you get 100 points.<br/>
  589. - When the pot reaches 50 items or 90 seconds, the raffle begins. The bigger contribution percentage to the pool, the higher chance to win.<br/> -
  590. The jackpot winner will receive the jackpot VIA a steam offer. (MAX 15 minutes after chosen).<br/>
  591. <h4>Why use us?</h4> We run the lowest commission (4%) out of all jackpot sites. We consist of active, ready-to-help staff member at all times. We don't run any B.S like "if bot gets glitched, you don't get skins back."<br/><br/>We try to maintain the most legit and efficient way of CSGO Jackpotting!<br/>
  592. <h4>Requirements to join:</h4> -There's a 10 item limit per trade offer. Minimum of $0.5 value. <h4>Note That:</h4>
  593. - Your first deposit gives you a +5% win chance.<br/>- By adding "PolskiJackpot.5v.pl" to your steam name and re-logging the site, you get +6% extra on your winnings!<br/><h4>Current Promotions:</h4>
  594. 1. All entries have a chance to win a choice of Karambit Fade/Slaughter FN (ends sep 8)</br>2. Retweet/Share us on Facebook for an extra chance!<br/> <h4>Why did I not receive all the skins in the pool?</h4>
  595. - The site takes 10% commission (4% with Website.com) for upkeep, advertising, give-aways and site development.
  596. <h4>How long does it take for my winnings?</h4> - Within a minute. The bot should automatically send the winner their jackpot winnings! <h4>Your Privacy:</h4>
  597. - Logging in with Steam will never provide us with any information. Our Jackpot logs will NEVER be shared or sold.<br/>
  598. <br/>Questions and Inquires can be sent to: facebook.com<br/><br/> Deposit today and try your luck! Evolve Your Skins!<br/>
  599. -Website Team <a class="close" data-page="play"></a> </div> <div class="site rules col-xs-24 col-sm-18 col-md-14 col-lg-12">
  600. <h2>Terms of Service</h2>
  601. <h4>License of usage:</h4>
  602. By using our service or being on our website, you acknowledge and accept our terms and conditions in full and without reservation.
  603. You are bound to our terms as long as you are affiliating yourself with any aspects of Website.
  604. Any conflicts with our terms and conditions and parts of it is NOT allowed to affiliate themselves any further without discussion.
  605. Those who are under affiliation with Valve corporation, Steam or external Jackpot Sites are prohibited to affiliate themselves with this website/service and/or their owners.
  606. <br/><br/> You must the age of 18+ (21+ in some places) or older to use our website. By using this website you agree to these terms and conditions, you warrant that you are at least 18/21 years of age. Website.com has the right to request identification of age to prevent under-aged gambling while temporarily disabiling your account.
  607. <h4>Disclaimer:</h4>
  608. The use of our service is provided "AS IS" or "AS AVAILABLE". No guarantees are provided for ANY activity done on this site.<br/>
  609. We reserve the rights to have anything on Website or affiliated changed, whenever, without consent.<br/>
  610. <h4>License of service usage:</h4>
  611. Website and/or its owners own the intellectual property rights and originality that is published on Website (in any form). Subject to the license below, all these intellectual property rights are reserved. <h4>
  612. Accounts/Privacy:</h4> The account you authorize with us through Steam (https://steamcommunity.com) must be your own. Your privacy is kept 100% secure and will never be distributed externally.
  613. <h4>Fair Play</h4>
  614. We respect fair play. A MAXIMUM of 4% will be taken from jackpot winners with "Website.com" and up to 10% without for further website development, give-aways and upkeep. All users on this website are expected to be "legit" users of the community as we hold the right to freeze your account without warning if suspicion is raised.
  615. <h4>Missing Items</h4>
  616. If you are missing any items deposited or returned from Website.com, you have 30 days to claim your items through a support ticket. You will be notified after 30 days. Items will not be returned if put into the jackpot and lost. All jackpot betting are FINAL.
  617. <h4>Valuation:</h4> Website items are valued from SteamAnalyst's database backed up with the Steam Market. Prices are subjected to change any time without notice. <br/> All deposits are final after the user confirms them on the website, there will be no refunds, since the user agrees to enter the jackpot. Agrees he is liable to losing
  618. his skins to another user and agrees Website is not liable for losses of any kind.
  619. <h4>Responsible Gambling:</h4>
  620. We do not hold responsibility for any losses. Bet responsibly, know your limits. All bets are final as you have agreed to the ToS by being on this site.
  621. <h4>Skin Deposits:</h4> Website.com only allows items from game “Counter Strike: Global Offensive” (non-affiliated). These skins MUST be your own.Items from different games will be declined.
  622. <h4>Variation:</h4>
  623. Website.com may revise these terms and conditions at all time. Revised terms and conditions will apply to the use of this website from the date of the publication of the revised terms and conditions on this website. Please check this page regularly to ensure you are familiar with the current version.
  624. <h4>Termination of Account:</h4>
  625. Any violation of service will have your account terminated/frozen with any virtual assets on it.
  626. <h4>Third-Party Links:</h4>
  627. The third-party links that are shown outside Website.com is not our responsibility. We are unaffiliated unless mentioned. That includes the content, privacy, or practices of external parties.
  628. <h4>Indemnification:</h4>
  629. By BEING on the site, you agree to defend Website and any staff affiliated against all and any claims, losses, obligations, costs and expenses arisen from breaking any section of our terms or any claim that you have broken any section of our terms.
  630. <h4>Affiliation:</h4>
  631. We are NOT in any way, shape or form affiliated with Valve corporation, Steam, Any Counter-Strike franchise, other Jackpot sites or any other trademark of the Valve/Steam corporation.
  632. <h4>Law and jurisdiction:</h4>
  633. Our terms of service will be governed by and construed in accordance with the laws of Portugal, and any disputes relating to these terms and conditions will be subject to the exclusive jurisdiction of the courts of Portugal. <a class="close" data-page="rules"></a> </div> </div>
  634. <script id="user-room-panel-template" type="text/x-handlebars-template"> <div class="ico"></div>
  635. <ul> <li>You've deposited - <span>{{count_user_items}}</span> (of <span>{{room.max_user_items}}</span>) item(s).</li> <li>Probably to win <span>{{me.percent}}%</span>. Min bet <span>${{room.min_user_items_value}}</span></li> </ul> </script> <script id="room-template" type="text/x-handlebars-template"> <div id="r{{id}}" class="room active" data-id="{{id}}"></div> </script> <script id="room-user-template" type="text/x-handlebars-template"> <div class="item"> <div class="row u{{openid}}" data-openid="{{openid}}" data-count-additions="{{count_additions}}"> <a href="{{url}}" target="_blank"><img src="{{avatar}}"></a> <div class="desc"> <a class="name" href="{{url}}" target="_blank">{{name}}</a> <span class="skins"><span class="count_items">{{count_items}}</span> skin(s)</span> <span class="right" onclick="system.items.sort('.i{{openid}}', this)"> <span class="si">User Items</span> <span class="price_all">{{price_all}}</span> <span class="winner hide">0</span> </span> <span class="room-price hide"></span> <span class="number hide">{{sort}}</span> </div> <div class="progress progress-striped active"> <div class="progress-bar progress-bar-striped" role="progressbar" data-transitiongoal="0"></div> </div> </div> </div> </script> <script id="item-template" type="text/x-handlebars-template"> <div class="item i{{openid}}"> <div class="row"> <div class="col-lg-11 col-lg-offset-1 img"> <img src="https://steamcommunity-a.akamaihd.net/economy/image/class/730/{{classid}}/{{width}}fx{{height}}f"> </div> <div class="col-lg-11 desc"> <span class="price">${{price}}</span> <span class="name">{{name}}</span> <span class="number hide">{{sort}}</span> </div> </div> </div> </script> <script id="chat-msg-template" type="text/x-handlebars-template"> <div class="item{{#if pull_right}} in{{/if}} item-visible msg{{msg_id}}{{#if user.is_admin}} is_admin{{/if}}"> {{#if user.is_admin}} <div class="image"><span><img alt="{{user.steam_nickname}}" src="{{user.steam_avatar}}"></span></div> {{else}} <div class="image"><a href="{{user.steam_profileurl}}" target="_blank"><img alt="{{user.steam_nickname}}" src="{{user.steam_avatar}}"></a></div> {{/if}} <div class="text"> <div class="heading"> {{#if user.is_admin}} <span class="username"><i class="fa fa-star"></i> {{user.steam_nickname}}</span> {{else}} <a href="{{#if user.is_admin}}#{{else}}{{user.steam_profileurl}}{{/if}}" target="_blank" class="username">{{user.steam_nickname}}</a> {{/if}} {{#if admin_logged}} <span onclick="system.admin.banUser('{{user.openid}}')" class="btn btn-xs btn-danger">B</span> <span onclick="system.admin.unbanUser('{{user.openid}}')" class="btn btn-xs btn-primary">U</span> <span onclick="system.admin.deleteMsg('{{msg_id}}')" class="btn btn-xs btn-warning">D</span> {{/if}} </div> <span class="date hide">{{date}}</span> <span class="msg">{{msg}}</span> </div> </div> </script> <script id="history-template" type="text/x-handlebars-template"> <div class="cont row"> <div class="col-xs-24 header"> <span class="text-left col-xs-12">{{date_humanize}}</span> <span class="text-right col-xs-12">{{winner.count_items}} item(s)</span> </div> <div class="col-xs-24 body"> <div class="col-xs-16 col-sm-16"> <a rel="nofollow" target="_blank" href="{{winner.steam_profileurl}}" class="img hidden-xs"><img src="{{winner.steam_avatarfull}}"></a> <a rel="nofollow" target="_blank" href="{{winner.steam_profileurl}}" class="name">{{winner.steam_nickname}}</a> </div> <div class="right text-right"> <span class="win">Win: <span>${{price_all}}</span></span> <span class="chance">Chance: <span>{{winner.percent}}%</span></span> </div> </div> <div class="col-xs-24 footer"> <h5>Winning with the commission</h5> {{#list items}}{{/list}} </div> </div> </script> <script id="winner-row-template" type="text/x-handlebars-template"> <tr class="{{#if is_top}} top{{/if}}"> <td class="number">{{counter}}</td> <td class="text-left"> <a rel="nofollow" target="_blank" href="{{user.steam_profileurl}}" class="img hidden-xs"><img src="{{user.steam_avatarmedium}}"></a> <a rel="nofollow" target="_blank" href="{{user.steam_profileurl}}" class="name">{{user.steam_nickname}}</a> </td> <td class="hidden-xs">{{total_wins}}</td> <td class="hidden-xs">${{total_cash}}</td> <td class="hidden-xs">${{total_won}}</td> <td class="green">+ ${{total_diff}}</td> </tr> </script> <div class="modal fade" id="lobbyAcceptModal" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <form class="form-horizontal"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h4 class="modal-title">Deposit received</h4> </div> <div class="modal-body"> <span class="line1">You deposited <span class='items'></span> skins and they were evaluated at <span class='price'></span></span> <span class="line2">You have <span id='modal-timer'></span> seconds to reply.</span> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <div class="checkbox"> <label id="accept-label"> <input type="checkbox" id="accept-checkbox" value="1"> I agree with the ToS, accept the value of the skins that are beeing deposited and confirm that I'm at least 18 years old. </label> </div> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-primary btn-accept">Accept and Enter the Queue</button> <button type="button" class="btn btn-danger btn-deceline">Cancel Trade Request</button> </div> </form> </div> </div> </div> <script type="text/javascript" src="frontend/js/jquery-1.11.3.min.js"></script> <script type="text/javascript" src="frontend/js/socket.io-1.3.5.js"></script> <script type="text/javascript" src="plugins/bootstrap-progressbar/bootstrap-progressbar.min.js"></script> <script type="text/javascript" src="plugins/handlebars/handlebars-v3.0.3.js"></script> <script type="text/javascript" src="plugins/isotope/isotope.pkgd.min.js"></script> <script type="text/javascript" src="plugins/moment/moment.min.js"></script> <script type="text/javascript" src="plugins/moment/moment-with-locales.min.js"></script> <script type="text/javascript" src="plugins/countdown/src/countdown.js"></script> <script type="text/javascript" src="plugins/pnotify/pnotify.custom.min.js"></script> <script type="text/javascript" src="plugins/circle/dist/jquery.knob.min.js"></script> <script type="text/javascript" src="plugins/scrollbar/jquery.mCustomScrollbar.concat.min.js"></script> <script type="text/javascript" src="frontend/js/jquery.easing.compatibility.js"></script> <script type="text/javascript" src="frontend/js/front7f6f.js?112"></script> <script type="text/javascript"> $(function() { moment.locale('en'); system = init({ user: { logged: "", openid: "", hash: "", sid: "", steam_nickname: "", steam_profileurl: "", steam_avatar: "", steam_avatarmedium: "", steam_avatarfull: "", sounds_enabled: true }, admin: { logged: "" }, lang: {"user_items":"User items","success":"Success","error":"Error","your_trade_success":"Your Trade URL has been added correctly","your_items_success":"Your items have been successfully accepted","your_trade_error":"Your Trade URL is not valid","items_not_accepted":"Your items were not accepted","decelineoffer":{"1":"Unfortunately your items were not accepted","2":"Unfortunately your items were not accepted","3":"Unfortunately your items were not accepted","4":"Unfortunately your items were not accepted","5":"We're sorry but you can only send 10 items at once","6":"We're sorry but sending offers have been disabled by admins","7":"You did not accept in the time that was given","8":"Your items were not accepted","9":"Enter your Trade URL before sending trade offers","10":"You can only send CSGO items","11":"The sum of your items is less than the minimum amount","12":"Unfortunately your items were not accepted"}}, title: "Website - The Best CSGO Jackpot Gambling Only", preloader: false, websocket: "https://slave.Website.com" }); system.init(); }); </script> </body>
  636. </html>
Advertisement
Add Comment
Please, Sign In to add comment