Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- @include_once "langdoc.php";
- if(!isset($_COOKIE['lang'])) {
- setcookie("lang","en",2147485547);
- $lang = "en";
- } else $lang = $_COOKIE["lang"];
- $sitename = "CSGOEarth.com";
- $title = "$sitename - PLAY LOW, WIN BIG!";
- @include_once('set.php');
- require('steamauth/steamauth.php');
- if(isset($_SESSION["steamid"])) {
- include_once('steamauth/userInfo.php');}
- include_once('adminlist.php'); //include AFTER session is started (session_start();)
- include_once('chatfunctions.php');
- ?>
- <html lang="en">
- <head>
- <title><?php echo $title ?></title>
- <link rel="stylesheet" href="css/style.css">
- <link rel="stylesheet" href="simple-line-icons.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="js/noty/packaged/jquery.noty.packaged.min.js"></script>
- <script src="js/progressbar.js"></script>
- <script src="js/main.js"></script>
- <!-- Start of csgoearth Zendesk Widget script -->
- <script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(c){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("//assets.zendesk.com/embeddable_framework/main.js","csgoearth.zendesk.com");/*]]>*/</script>
- <!-- End of csgoearth Zendesk Widget script -->
- </head>
- <body>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width">
- <title><?php echo $title ?></title>
- <link rel="stylesheet" href="css/style.css">
- <link rel="stylesheet" href="simple-line-icons.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="js/noty/packaged/jquery.noty.packaged.min.js"></script>
- <script src="https://cdn.rawgit.com/kimmobrunfeldt/progressbar.js/0.5.6/dist/progressbar.js"></script>
- <script src="js/main.js"></script>
- </head>
- <html lang="en">
- <head>
- <title><?php echo $title ?></title>
- <link rel="stylesheet" href="css/style.css">
- <link rel="stylesheet" href="css/simple-line-icons.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="js/noty/packaged/jquery.noty.packaged.min.js"></script>
- <script src="js/progressbar.js"></script>
- <script src="js/main.js"></script>
- </head>
- <body>
- <div id="header">
- <img style="float:left;" src="images/logo.png" width="250" height="58">
- <div id="button">
- <div class="buttons">
- <a style="float:right;" href="?login"><img style="margin-right:20px; margin-top:4.2px;" src="images/steamlogon.png" width="130" height="22"> </a>
- <a style="float:right;" href="#">ABOUT</a>
- <a style="float:right;" href="#">RULES</a>
- <a style="float:right;" href="#">GIVEAWAY</a>
- <a style="float:right;" href="#">TOP PLAYERS</a>
- <a style="float:right;" href="#">GAMES HISTORY</a>
- <a style="float:right;" href="#">PLAY</a>
- </div>
- </div></div>
- <div id="qinfo">
- <img style="margin-left:150px; margin-top:20px;" src="images/qinfo.jpg">
- <div class="qinfostyle">
- <div><p><i class="icon-info ic_padd3" style="margin:0; color:#464646;"></i><a style="font-family:Arial; color:#464646; font-style:italic;"> Involved make skins, upon reaching a predetermined maximum number of randomly selected winner, who will receive all skins.</p></a></div>
- <div><p><i class="icon-info ic_padd3" style="margin:0; color:#464646;"></i><a style="font-family:Arial; color:#464646; font-style:italic;"> Add <a style="color:#ff5400;font-weight:bold; font-style:italic; font-family:Arial;">"CSGOEarth.com"</a><a style="font-family:Arial; color:#464646; font-style:italic;"> to your Steam nickname and get -2% rake!</p></a></div>
- <div><p><i class="icon-info ic_padd3" style="margin:0; color:#464646;"></i><a style="font-family:Arial; color:#464646; font-style:italic;"> First player receive +5% chance to win.</p></a></div>
- <div><p><i class="icon-info ic_padd3" style="margin:0; color:#464646;"></i><a style="font-family:Arial; color:#464646; font-style:italic;"> Currently working Jackpot lottery.</p></a></div>
- <div><p><a style="font-family:Arial; color:#464646; font-style:italic; margin-left:40px;"> Find more info on "About"-tab.</p></a></div>
- </div></div></div>
- <div id="latestwinner">
- <div class="barbbbb" style="text-align: center;"><img style="margin-top:12px; margin-left:-15px;" src="images/latestw.jpg"></div>
- <br>
- <?php
- $lastgame = fetchinfo("value","info","name","current_game");
- $lastwinner = fetchinfo("userid","games","id",$lastgame-1);
- $winnercost = fetchinfo("cost","games","id",$lastgame-1);
- $winnerpercent = round(fetchinfo("percent","games","id",$lastgame-1),1);
- $winneravatar = fetchinfo("avatar","users","steamid",$lastwinner);
- $winnername = fetchinfo("name","users","steamid",$lastwinner);
- ?>
- <div class="visual">
- <img style="margin-left:18px;" src="<?php echo $winneravatar ?>" alt="image description" width="90" height="90">
- <div style="margin-top:-85px;">
- <div class="lwinfo"><span style="color:#6AC1DE; margin-top:-30px;"><?php echo $winnername ?></span>
- <br>
- <span style="font-size:20px; color:#201f1f;" class="val">Won:</span>
- <span class="price" style="color:#ff5400;font-size:20px;">$<?php echo round($winnercost,2); ?></span>
- <br>
- <span style="font-size:20px; color:#201f1f;" class="val">Chance:</span>
- <span class="price" style="color:#ff5400;font-size:20px;"><?php echo $winnerpercent ?>%</span>
- <br>
- <span class="lot_current_game_id" style="font-size:20px; color:#201f1f;">Game number: </span><span style="color:#ff5400;font-size:20px;";>#<?php echo $lastgame; ?></span></p>
- </div> </div> </div> </div></div> </ul> <div id="progbar">
- <div class="progress">
- <div class="visual" style="float: right; margin-right:20%; margin-top:-15.5%">
- <div id="prograsd" style="position: relative;"><p class="progressbar__label" style="position: absolute; top: 45%; left: 50%; padding: 0px; margin: 0px; transform: translate(-50%, -50%); color: #ff5400;font: 500 40px/40px roboto,sans-serif;">0/100</p><span id="money_round" class="bankbbas">$<span id="bank"><?php echo round(fetchinfo("cost","games","id",$lastgame),2); ?></span></span></div></div></div>
- <div class="stuffs promo-cover">
- <ul id="game-sts" style="display: block;">
- <div class=rounditems><?php
- include "items.php";
- ?><?php
- include "loadr.php";
- ?></div>
- </div></div>
- <div id="footer"><p>
- <a style="font-size:20px; color:#fff; opacity:5.0;">
- © 2015 CSGOEarth.com - Powered by Steam, a registered trademark of Valve Corporation.</a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement