Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $subtemplate = unserialize( str_replace('\\\'', '\'' ,'s:10:"admin/home";'));
- $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";}}}'));
- $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;}}'));
- ?><!doctype html>
- <head>
- <title><?= Template::withDefault($title, 'Start'); ?> | Administration</title>
- <meta charset="utf8">
- <link rel="stylesheet" type="text/css" href="/css/admin.css" />
- <link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,300,300italic,400italic,700,700italic' rel='stylesheet' type='text/css'>
- <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
- <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
- <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
- <script src="/js/timepicker.js"></script>
- <link rel="stylsheet" type="text/css" href="http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.css" />
- </head>
- <body>
- <div id="container">
- <div class='header'>
- <ul class='mainnav site-wrapper'>
- <li>Administration</li>
- </ul>
- </div>
- <div class='content'>
- <div class='site-wrapper'>
- <?php if (isset($flash_notice)) { ?>
- <p class='flash notice'><?= $flash_notice; ?></p>
- <?php } ?>
- <?php if (isset($flash_error)) { ?>
- <p class='flash error'><?= $flash_error; ?></p>
- <?php } ?>
- <?php
- if (!empty($subtemplate))
- include(Template::getInclude($subtemplate));
- else
- echo 'No Template specified';
- ?>
- </div>
- </div>
- <div class='footer'>
- <ul class='footernav site-wrapper inline-list'>
- <li class='static'>© 2013 Captain Obvious</li>
- </ul>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement