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"];
- @include_once('set.php');
- require('steamauth/steamauth.php');
- if(isset($_SESSION["steamid"])) {
- include_once('steamauth/userInfo.php');}
- ?>
- <?php
- $mysql_host = "localhost";
- $mysql_username = "jackpoty_you";
- $mysql_password = "192aa95Pqws";
- $mysql_database = "jackpoty_you";
- mysql_select_db($mysql_database, mysql_connect($mysql_host, $mysql_username, $mysql_password));
- $myip = $_SERVER["REMOTE_ADDR"];
- if(mysql_num_rows(mysql_query("SELECT ip FROM points WHERE ip = '$myip' LIMIT 1")) == 0) {
- $id = mysql_insert_id();
- mysql_query("INSERT INTO points VALUES('$id', '$myip', '0')");
- }
- $myaccount = mysql_fetch_array(mysql_query("SELECT * FROM points WHERE ip = '$myip' LIMIT 1"));
- $myid = $myaccount["id"];
- $mypoints = $myaccount["points"];
- if(isset($_GET["id"])) {
- $urlid = addslashes($_GET["id"]);
- if(mysql_num_rows(mysql_query("SELECT * FROM points WHERE id = '$urlid' LIMIT 1")) == 1 && mysql_num_rows(mysql_query("SELECT * FROM clicks WHERE id = '$urlid' AND ip = '$myip' LIMIT 1")) == 0 && mysql_num_rows(mysql_query("SELECT * FROM points WHERE id = '$urlid' AND id = '$myid' AND ip = '$myip' LIMIT 1")) == 0) {
- mysql_query("UPDATE points SET points = points + 1 WHERE id = '$urlid'");
- mysql_query("INSERT INTO clicks VALUES('$urlid', '$myip')");
- $mypoints++;
- }
- }
- function pointsNeeded($pnt) {
- global $mypoints;
- if($mypoints >= $pnt) {
- return '<div id="column33"><div id="game-status"><a onclick="javascript:window.location=\'support\';"><div id="status-button-unlocked"></div></a></div></div><div id="column44"><h1 class="game-clicks">'.$pnt.'/'.$pnt.'</h1></div>';
- } else {
- return '<div id="column33"><div id="game-status"><div id="status-button-locked"></div></div></div><div id="column44"><h1 class="game-clicks">'.$mypoints.'/'.$pnt.'</h1></div>';
- }
- }
- ?>
- <!DOCTYPE HTML>
- <html>
- <head>
- <!--[if lt IE 9]>
- <script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/r29/html5.js"></script>
- <![endif]-->
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <title>Jackpot4You.Net - Skin & Item Betting!</title>
- <meta property="og:title" content="Jackpot4You.Net - Skin & Item Betting!" />
- <meta property="og:description" content="Welcome to Jackpot4You, On our site, players deposit their items worth at least $0.1. If there are 2 or more participants, the countdown starts counting down from 120 seconds. The higher your deposit value is, the higher your chance to win. Participate now & win big! Good luck, have fun." />
- <meta name="keywords" content="csgo, bet, site, m4a1-s, free, skins, betting, steam, best, come, cheap, cs, jackpot, csgo:Jackpot, more, Jackpot4You, Skinarena, csgoraffling, csgoshuffle, csgopick, jackpot 4 you" />
- <meta property="og:url" content="http://jackpot4you.net" />
- <link rel="stylesheet" href="css/html5reset-1.6.1.css" type="text/css"/>
- <link rel="stylesheet" href="css/stylereferans.css" type="text/css"/>
- <link rel="stylesheet" href="css/stylereferans2.css" type="text/css"/>
- <!-- <link rel="stylesheet" href="css/social-traffic-pop.css" type="text/css"/> -->
- <script type="text/javascript" src="js/fload.js"></script>
- <script type="text/javascript" src="font/cufon-yui.js"></script>
- <script type="text/javascript" src="font/PF_Din_Text_Comp_Pro.font.js"></script>
- <script type="text/javascript" src="font/cufon_setting.js"></script>
- <!--<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>-->
- <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
- <!--<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>-->
- <script src="js/jquery.stp.min.js" type="text/javascript"></script>
- <!-- <script>
- $(document).ready(function(){
- $().socialTrafficPop({
- timeout: 15,
- title: "Riot Points Codes",
- message: 'Please share our site with one of the networks below before getting access to our website.',
- google_url: "http://urlhere.com",
- closeable: false,
- advancedClose: false,
- opacity: '0.45',
- twitter_method: "tweet",
- tweet_url: 'http://urlhere.com',
- tweet_text: 'Just got my code for League of Legends on riotpointscodes.info!'
- });
- });
- </script>-->
- </head>
- <header id="header">
- <div id="header-content">
- <div id="logo-holder">
- <a href="index.php"><div class="logo"></div></a>
- </div>
- <div id="header-effect"></div>
- </header>
- <body>
- <section id="wrapper">
- <center><a href="en.php"><img src="imgreferans/us.png"></a>  <a href="tr.php"><img src="imgreferans/tr.png"></a></center>
- <br>
- <div id="frame">
- <h1 class="title"><?php echo $msg[$lang]["referans1"]; ?></h1>
- </div>
- <div id="frame2">
- <div id="fb-root"></div>
- <h1 class="description"><?php echo $msg[$lang]["referans2"]; ?><br/>
- <?php echo $msg[$lang]["referans3"]; ?><br/>
- <?php echo $msg[$lang]["referans4"]; ?><br></h1>
- <center><div class="fb-like" data-href="http://www.facebook.com/jackpot4you" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true" data-colorscheme="dark"></div></center>
- </div>
- <div id="frame">
- <h1 class="title"><?php echo $msg[$lang]["referans5"]; ?></h1>
- </div>
- <div id="frame2" class="frame-extend">
- <h1 class="description"> <?php
- if(!isset($_SESSION["steamid"])) {
- steamlogin();
- echo '<a class="j4u-loginas" style="font-size: 12px;" href="/referral.php?login"><img src="/imgreferans/login.png"></a>';
- } else {
- echo '<article class="jfrs clearfix">
- <img src="'.$steamprofile['avatarfull'].'" height="74" width="74" alt="">
- <p>'.$steamprofile['personaname'].'<br><a href="steamauth/logout.php">LOGOUT</a></p>
- </article>';
- mysql_query("UPDATE users SET name='".$steamprofile['personaname']."', avatar='".$steamprofile['avatarfull']."' WHERE steamid='".$_SESSION["steamid"]."'");
- }
- ?></h1>
- <div id="form">
- <?php if(!isset($_SESSION["steamid"])):?>
- <?php else: ?>
- <input type="text" name="referral" value="<?php echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'].'?id='.$myid; ?>" class="referral" readonly>
- <?php endif; ?>
- </div>
- <div class="share-position">
- <script type="text/javascript">
- function newPopup(url) {
- popupWindow = window.open(
- url,'popUpWindow','height=450,width=650,left=10,top=10,resizable=yes,scrollbars=no,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
- }
- </script>
- <a href="JavaScript:newPopup('http://www.facebook.com/share.php?u=<?php echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'].'?id='.$myid; ?>');"><div id="share-button"></div></a>
- </div>
- </div>
- <div id="frame">
- <h1 class="title"><?php echo $msg[$lang]["referans7"]; ?></h1>
- </div>
- <div id="frame2">
- <h1 class="description"><br/>
- <?php echo $msg[$lang]["referans8"]; ?><br/>
- <?php if(!isset($_SESSION["steamid"])):?>
- <br>
- <?php echo $msg[$lang]["referans16"]; ?>
- <?php else: ?>
- <span class="count"><?php echo $mypoints; ?> <?php echo $msg[$lang]["referans17"]; ?></span>
- <?php endif; ?>
- </h1>
- </div>
- <center><br>
- </center><br>
- <div id="frame">
- <h1 class="title"><?php echo $msg[$lang]["referans9"]; ?></h1>
- </div>
- <div id="frame2" class="frame-extend2">
- <h1 class="description"><?php echo $msg[$lang]["referans10"]; ?></h1><br/>
- <section id="column-titles">
- <div id="column1">
- <h1 class="column-text"><?php echo $msg[$lang]["referans11"]; ?></h1>
- </div>
- <div id="column2">
- <h1 class="column-text"><?php echo $msg[$lang]["referans12"]; ?></h1>
- </div>
- <div id="column3">
- <h1 class="column-text"><?php echo $msg[$lang]["referans13"]; ?></h1>
- </div><div id="column4">
- <h1 class="column-text"><?php echo $msg[$lang]["referans14"]; ?></h1>
- </div>
- </section>
- <!---------------------------------------------------------------------------------------------- TITLES ENDS -->
- <section id="columns">
- <div id="column11">
- <div id="game-cover"><img src="imgreferans/dragon.png"/></div>
- </div>
- <div id="column22">
- <h1 class="game-title-1row">AWP | Dragon Lore</h1>
- </div>
- <?php echo pointsNeeded(500000); ?>
- </section>
- <!---------------------------------------------------------------------------------------------- GAME #1 ENDS -->
- <section id="columns">
- <div id="column11">
- <div id="game-cover"><img src="imgreferans/howl.png"/></div>
- </div>
- <div id="column22">
- <h1 class="game-title-1row">M4A4 | Howl</h1>
- </div>
- <?php echo pointsNeeded(400000); ?>
- </section>
- <!---------------------------------------------------------------------------------------------- GAME #2 ENDS -->
- <section id="columns">
- <div id="column11">
- <div id="game-cover"><img src="imgreferans/vulkan.png"/></div>
- </div>
- <div id="column22">
- <h1 class="game-title-1row">AK-47 | Vulcan</h1>
- </div>
- <?php echo pointsNeeded(250000); ?>
- </section>
- <!---------------------------------------------------------------------------------------------- GAME #3 ENDS -->
- <section id="columns">
- <div id="column11">
- <div id="game-cover"><img src="imgreferans/hidro.png"/></div>
- </div>
- <div id="column22">
- <h1 class="game-title-2rows">AK-47 | Hydroponic</h1>
- </div>
- <?php echo pointsNeeded(100000); ?>
- </section>
- <!---------------------------------------------------------------------------------------------- GAME #4 ENDS -->
- <h1 class="description"><?php echo $msg[$lang]["referans15"]; ?></h1>
- </div><!-- frame2 & frame-extend2 ENDS -->
- </section><!-- wrapper section ENDS -->
- <div class='push'>
- <!--Sticky Footer Push-->
- </div>
- <footer>
- <div id="copyrights"><center><h1 class="copy">© 2016 - <a href="index.php">Jackpot4You.NET</a> All rights reserved.</h1></center></div>
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement