Advertisement
bueddl

Untitled

Sep 29th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 6.42 KB | None | 0 0
  1. $subtemplate = unserialize( str_replace('\\\'', '\'' ,'s:10:"admin/home";'));
  2. $games = unserialize( str_replace('\\\'', '\'' ,'a:6:{i:0;a:8:{s:2:"id";s:2:"22";s:4:"code";s:5:"HQ2MP";s:5:"state";s:9:"completed";s:10:"player_max";s:1:"2";s:12:"player_count";s:1:"0";s:5:"start";s:10:"1380348000";s:8:"duration";s:5:"43200";s:5:"admin";b:0;}i:1;a:8:{s:2:"id";s:2:"18";s:4:"code";s:5:"RKEQW";s:5:"state";s:9:"completed";s:10:"player_max";s:2:"10";s:12:"player_count";s:1:"2";s:5:"start";s:10:"1380286800";s:8:"duration";s:5:"19860";s:5:"admin";a:5:{s:2:"id";s:2:"22";s:7:"game_id";s:2:"18";s:10:"session_id";s:2:"27";s:4:"name";s:6:"Bueddl";s:8:"is_admin";s:1:"1";}}i:2;a:8:{s:2:"id";s:2:"20";s:4:"code";s:5:"U9G5N";s:5:"state";s:9:"completed";s:10:"player_max";s:1:"4";s:12:"player_count";s:1:"3";s:5:"start";s:10:"1380261600";s:8:"duration";s:5:"43200";s:5:"admin";a:5:{s:2:"id";s:2:"14";s:7:"game_id";s:2:"20";s:10:"session_id";s:2:"20";s:4:"name";s:9:"Hans Yolo";s:8:"is_admin";s:1:"1";}}i:3;a:8:{s:2:"id";s:2:"21";s:4:"code";s:5:"SXU8M";s:5:"state";s:9:"completed";s:10:"player_max";s:1:"2";s:12:"player_count";s:1:"2";s:5:"start";s:10:"1380261600";s:8:"duration";s:5:"43200";s:5:"admin";a:5:{s:2:"id";s:2:"20";s:7:"game_id";s:2:"21";s:10:"session_id";s:2:"26";s:4:"name";s:6:"Bueddl";s:8:"is_admin";s:1:"1";}}i:4;a:8:{s:2:"id";s:2:"19";s:4:"code";s:5:"QWR5C";s:5:"state";s:9:"completed";s:10:"player_max";s:1:"2";s:12:"player_count";s:1:"1";s:5:"start";s:10:"1380232800";s:8:"duration";s:5:"43200";s:5:"admin";a:5:{s:2:"id";s:2:"11";s:7:"game_id";s:2:"19";s:10:"session_id";s:2:"16";s:4:"name";s:6:"Bueddl";s:8:"is_admin";s:1:"1";}}i:5;a:8:{s:2:"id";s:1:"1";s:4:"code";s:5:"ABCDE";s:5:"state";s:6:"active";s:10:"player_max";s:1:"4";s:12:"player_count";s:1:"2";s:5:"start";s:10:"1380189600";s:8:"duration";s:6:"288000";s:5:"admin";a:5:{s:2:"id";s:1:"9";s:7:"game_id";s:1:"1";s:10:"session_id";s:2:"15";s:4:"name";s:9:"Hans Yolo";s:8:"is_admin";s:1:"1";}}}'));
  3. $tracks = unserialize( str_replace('\\\'', '\'' ,'a:6:{i:0;a:11:{s:2:"id";s:1:"1";s:4:"path";s:18:"/upload/Desert.jpg";s:6:"number";s:1:"1";s:10:"difficulty";s:1:"5";s:8:"max_trys";s:1:"7";s:6:"rating";s:6:"2.5000";s:9:"avg_tries";s:6:"3.0000";s:11:"description";s:856:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent elit magna, vehicula nec orci ac, pulvinar ultrices lectus. Fusce luctus ligula id velit vulputate tincidunt. Duis interdum ante quis risus luctus, volutpat cursus est eleifend. Donec venenatis ac arcu a ornare. Integer ornare massa et mauris imperdiet rhoncus. Praesent lacinia eros sit amet arcu iaculis elementum. Sed id nisi vulputate, malesuada felis in, scelerisque metus. Duis vitae tellus imperdiet, aliquam neque faucibus, ultrices diam. Phasellus felis ipsum, mollis id felis eu, pulvinar congue magna. Vivamus elementum non mauris ac bibendum. Vivamus eleifend ante eu tempor pretium. Mauris facilisis vehicula faucibus. Nunc ultrices blandit dapibus.                                                                                                                                ";s:6:"hinone";s:1:"1";s:8:"overelev";s:1:"0";s:7:"allhits";s:2:"12";}i:1;a:11:{s:2:"id";s:1:"7";s:4:"path";s:18:"/upload/Desert.jpg";s:6:"number";s:1:"2";s:10:"difficulty";s:1:"1";s:8:"max_trys";s:2:"10";s:6:"rating";N;s:9:"avg_tries";N;s:11:"description";s:6:"Penis.";s:6:"hinone";s:1:"0";s:8:"overelev";s:1:"0";s:7:"allhits";N;}i:2;a:11:{s:2:"id";s:1:"3";s:4:"path";s:35:"/upload/nature_heaven-1920x1080.jpg";s:6:"number";s:1:"3";s:10:"difficulty";s:1:"3";s:8:"max_trys";s:2:"11";s:6:"rating";N;s:9:"avg_tries";N;s:11:"description";s:48:"                                                ";s:6:"hinone";s:1:"0";s:8:"overelev";s:1:"0";s:7:"allhits";N;}i:3;a:11:{s:2:"id";s:1:"4";s:4:"path";s:21:"/upload/Jellyfish.jpg";s:6:"number";s:1:"4";s:10:"difficulty";s:1:"3";s:8:"max_trys";s:2:"11";s:6:"rating";N;s:9:"avg_tries";N;s:11:"description";s:16:"                ";s:6:"hinone";s:1:"0";s:8:"overelev";s:1:"0";s:7:"allhits";N;}i:4;a:11:{s:2:"id";s:1:"6";s:4:"path";s:20:"/upload/Penguins.jpg";s:6:"number";s:1:"5";s:10:"difficulty";s:1:"2";s:8:"max_trys";s:1:"7";s:6:"rating";N;s:9:"avg_tries";N;s:11:"description";s:16:"                ";s:6:"hinone";s:1:"0";s:8:"overelev";s:1:"0";s:7:"allhits";N;}i:5;a:11:{s:2:"id";s:1:"2";s:4:"path";s:18:"/upload/Tulips.jpg";s:6:"number";s:2:"10";s:10:"difficulty";s:1:"1";s:8:"max_trys";s:2:"27";s:6:"rating";N;s:9:"avg_tries";N;s:11:"description";s:48:"Das ist ein Test                                ";s:6:"hinone";s:1:"0";s:8:"overelev";s:1:"0";s:7:"allhits";N;}}'));
  4. ?><!doctype html>
  5.     <head>
  6.         <title><?= Template::withDefault($title, 'Start'); ?> | Administration</title>
  7.         <meta charset="utf8">
  8.         <link rel="stylesheet" type="text/css" href="/css/admin.css" />
  9.         <link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,300,300italic,400italic,700,700italic' rel='stylesheet' type='text/css'>
  10.         <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
  11.         <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  12.         <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
  13.         <script src="/js/timepicker.js"></script>
  14.         <link rel="stylsheet" type="text/css" href="http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.css" />
  15.     </head>
  16.  
  17.     <body>
  18.         <div id="container">
  19.             <div class='header'>
  20.                 <ul class='mainnav site-wrapper'>
  21.                     <li>Administration</li>
  22.                 </ul>
  23.             </div>
  24.             <div class='content'>
  25.                 <div class='site-wrapper'>
  26.                 <?php if (isset($flash_notice)) { ?>
  27.                     <p class='flash notice'><?= $flash_notice; ?></p>
  28.                 <?php } ?>
  29.                 <?php if (isset($flash_error)) { ?>
  30.                     <p class='flash error'><?= $flash_error; ?></p>
  31.                 <?php } ?>
  32.  
  33.                 <?php
  34.                if (!empty($subtemplate))
  35.                    include(Template::getInclude($subtemplate));
  36.                else
  37.                    echo 'No Template specified';
  38.                ?>
  39.                 </div>
  40.             </div>
  41.             <div class='footer'>
  42.                 <ul class='footernav site-wrapper inline-list'>
  43.                     <li class='static'>&copy; 2013 Captain Obvious</li>
  44.                 </ul>
  45.             </div>
  46.         </div>
  47.     </div>
  48.     </body>
  49.  
  50. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement