Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- @include_once('set.php');
- @include_once('steamauth/steamauth.php');
- @include_once "langdoc.php";
- $lang = $_COOKIE["lang"];
- $gamenum = fetchinfo("value","info","name","current_game");
- $timeleft = fetchinfo("starttime","games","id",$gamenum);
- if($timeleft == 2147483647) $timeleft = 120;
- $timeleft += 120-time();
- if($timeleft === 1) {
- echo '<script>
- if(roulet == 0) { roulet = 1;
- $(".winner1").fadeOut(1000);
- setTimeout(function(){
- $(".winner1").fadeIn(1000);
- },12500)
- setTimeout(function(){
- $.ajax({
- type: "GET",
- url: "roll.php",
- success: function(msg){
- $(\'.kjmhgd\').before(msg);
- }
- });},2000)
- }</script>';
- }
- $gamenum = fetchinfo("value","info","name","current_game");
- if(!isset($_SESSION["steamid"])) $admin = 0;
- else $admin = fetchinfo("admin","users","steamid",$_SESSION["steamid"]);
- $ls=0;
- $rs3 = mysql_query("SELECT * FROM `game".$gamenum."`");
- while($row33 = mysql_fetch_array($rs3)) {
- if ('.$row33["color"] == "CF6A32
- ") { $color = "rgb(0,0,255)"; } else { $color = "rgb(0,0,0)";}
- echo '
- <div class="vl-popular-item-round__line"style="width: 110px; height: 1px; background: transparent linear-gradient(to left, transparent 0%, ".$color." 50%, transparent 100%) repeat scroll 0% 0%; margin: 12px auto;"></div>
- <img src="http://steamcommunity-a.akamaihd.net/economy/image/'.$row33["image"].'/111fx57f" title="'.$row33["item"].'">
- </div>
- <div class="vl-popular-item-round__line"style="width: 110px; height: 1px; background: transparent linear-gradient(to left, transparent 0%, rgba(0, 162, 255, 0.5) 50%, transparent 100%) repeat scroll 0% 0%; margin: 12px auto;"></div>
- <p class="vl-popular-item-round__rate"> '.$row33["value"].'$</p>
- <p class="vl-popular-item-round__rate"> '.$row33["color"].'$</p>
- <p class="vl-popular-item-round__name">'.$row33["item"].'</p>
- </div>
- </li>'
- ;
- };
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement