Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. <?php
  2. @include_once('set.php');
  3. @include_once('steamauth/steamauth.php');
  4. @include_once "langdoc.php";
  5. $lang = $_COOKIE["lang"];
  6. $gamenum = fetchinfo("value","info","name","current_game");
  7. $timeleft = fetchinfo("starttime","games","id",$gamenum);
  8. if($timeleft == 2147483647) $timeleft = 120;
  9. $timeleft += 120-time();
  10.  
  11.  
  12. if($timeleft === 1) {
  13. echo '<script>
  14. if(roulet == 0) { roulet = 1;
  15. $(".winner1").fadeOut(1000);
  16. setTimeout(function(){
  17. $(".winner1").fadeIn(1000);
  18. },12500)
  19. setTimeout(function(){
  20. $.ajax({
  21. type: "GET",
  22. url: "roll.php",
  23. success: function(msg){
  24. $(\'.kjmhgd\').before(msg);
  25. }
  26. });},2000)
  27. }</script>';
  28. }
  29. $gamenum = fetchinfo("value","info","name","current_game");
  30.  
  31. if(!isset($_SESSION["steamid"])) $admin = 0;
  32. else $admin = fetchinfo("admin","users","steamid",$_SESSION["steamid"]);
  33. $ls=0;
  34. $rs3 = mysql_query("SELECT * FROM `game".$gamenum."`");
  35. while($row33 = mysql_fetch_array($rs3)) {
  36.  
  37. if ('.$row33["color"] == "CF6A32
  38. ") { $color = "rgb(0,0,255)"; } else { $color = "rgb(0,0,0)";}
  39.  
  40. echo '
  41.  
  42.  
  43. <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>
  44.  
  45. <img src="http://steamcommunity-a.akamaihd.net/economy/image/'.$row33["image"].'/111fx57f" title="'.$row33["item"].'">
  46. </div>
  47. <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>
  48. <p class="vl-popular-item-round__rate"> '.$row33["value"].'$</p>
  49.  
  50. <p class="vl-popular-item-round__rate"> '.$row33["color"].'$</p>
  51. <p class="vl-popular-item-round__name">'.$row33["item"].'</p>
  52. </div>
  53. </li>'
  54.  
  55.  
  56.  
  57. ;
  58. };
  59. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement