Advertisement
Guest User

rowery

a guest
Sep 5th, 2015
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.40 KB | None | 0 0
  1. <?php
  2.     session_start();
  3.     if (!isset($_SESSION['zalogowany']))
  4.     {
  5.         header('Location: index.php');
  6.         exit();
  7.     }
  8. ?>
  9. <!DOCTYPE HTML>
  10. <html>
  11. <head>
  12.     <meta charset="utf-8" />
  13.     <title> Strona główna gry </title>
  14.     <meta name="description" content="Mechanic Simulator v Alpha"/>
  15.     <meta name="keywords" content="car, mechanic, simulator, download, gry, via, www, html, php, css, naprawa, samochodów, cars" />
  16.     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  17.    
  18.     <link rel="stylesheet" href="style.css" type="text/css" />
  19.     <link rel="stylesheet" href="css/radio.css" type="text/css" />
  20.     <link href='https://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'>
  21.     <link href='http://fonts.googleapis.com/css?family=Josefin+Sans' rel='stylesheet' type='text/css'>
  22.     <link href='http://fonts.googleapis.com/css?family=Lato|Josefin+Sans&subset=latin,latin-ext' rel='stylesheet' type='text/css'> 
  23. </head>
  24. <body>
  25.     <div id="container">
  26.         <div class="header">
  27.             <div class="logoMP">
  28.                 <a href="Mainpage" class="tileLink"> MechSim </a>
  29.             </div>
  30.             <div class="SideBar">
  31.                 <ol>
  32.                     <li>Sklep
  33.                         <ul>
  34.                             <li><a href="aukcje">Motoryzacyjny</a></li>
  35.                             <li><a href="sklepCzesci">Części</a></li>
  36.                         </ul>
  37.                     </li>
  38.                     <li><a href="bank">Bank</a></li>
  39.                     <li><a href="ranking">Ranking</a></li>
  40.                     <li>Profil
  41.                         <ul>
  42.                             <li><a href="licencje">Licencje</a></li>
  43.                             <li><a href="wiadomosci">Wiadomości</a></li>
  44.                             <li><a href="restart">Reset konta</a></li>
  45.                             <li><a href="usuwanie">Usuwanie konta</a></li>
  46.                         </ul>
  47.                     </li>
  48.                     <li><a href="warsztat">Warsztat</a></li>
  49.                     <li><a href="logout">Wyloguj się</a></li>
  50.                 </ol>
  51.             </div>
  52.         </div>
  53.         <div style="clear:both;"></div>
  54.        
  55.         <div class="medium">
  56.             <div id="chat">
  57.                 <div id="panel">
  58.                     <div id="title"> CZAT </div>
  59.                     <div id="content"> <?php include"shoutbox.php"; ?> </div>
  60.                 </div>
  61.             </div>
  62.            
  63.             <div class="ADmedium">
  64.                 <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  65.                 <!-- Baner Boczny Left -->
  66.                 <ins class="adsbygoogle"
  67.                      style="display:block"
  68.                      data-ad-client="ca-pub-7643567881998916"
  69.                      data-ad-slot="5896234384"
  70.                      data-ad-format="auto"></ins>
  71.                 <script>
  72.                 (adsbygoogle = window.adsbygoogle || []).push({});
  73.                 </script>
  74.             </div>
  75.            
  76.             <div id="zdjWarsztat">
  77.                 <?php
  78.                 if($_SESSION['zakupy'] == 20){
  79.                     ?>
  80.                 <form action="check.php" method="post">
  81.                     <?php $_SESSION['liczenie'] = 0; ?>
  82.                     <img src="captcha.php">
  83.                     <?php
  84.                      @$_SESSION['key'] = $_SESSION['captcha'];
  85.                     ?>
  86.                     <input type="text" name="kod" placeholder= "Przepisz captcha">
  87.                     <input type="submit" name="submit" value="Wyślij">
  88.                 </form>
  89.                 <?php
  90.                 }
  91.                 else{
  92.                     ?>
  93.                 <form action="zakupRower.php" method="post">
  94.                     Koszt zakupu roweru: 500zl. </br>
  95.                     Czy chcesz kupić ? </br>
  96.                     <input type="submit" id="tak" name="tak" value=""/>
  97.                     <input type="submit" id="nie" name="nie" value=""/>
  98.                 </form>
  99.                 <?php } ?>
  100.             </div>
  101.                
  102.             <div class="Profil">
  103.                 <?php
  104.                         include"refresh.php";
  105.                         include "kartka.php";
  106.                         include"blockadblocker.php";
  107.                 ?>
  108.             </div>
  109.         </div>
  110.         <div style="clear:both;"></div>
  111.        
  112.         <div class="rectangle"><p>Wszelkie prawa zastrzeżone &copy; kamillanger@gmail.com</p></div>
  113.     </div>
  114. </body>
  115. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement