Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
- "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
- <head profile="http://www.w3.org/1999/xhtml/vocab">
- <link rel="icon" href="http://mystcp.pw/images/favicon.ico">
- <link href="css/beta.css" rel="stylesheet" type="text/css"/>
- <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
- <title>MystCP - Beta</title>
- <noscript>
- <style>
- div { display:none; }
- </style>
- </noscript>
- <?php
- require 'config.php';
- $_mysql = mysqli_connect($strDBHost, $strDBUser, $strDBPass, $strDBName);
- if (!isset($_POST['login'])) {
- ?>
- <body class="login-body">
- <div class="login-container">
- <div id="login-form">
- <h3>Login</h3>
- <fieldset>
- <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
- <input name="username" type="text" maxlength="10" placeholder="Enter your username" required autofocus>
- <input name="password" type="password" maxlength="15" placeholder="Enter your password" required>
- <input type="submit" name="login" value="Login">
- </form>
- </fieldset>
- </div>
- </div>
- </body>
- <?php
- } else {
- $_username = $_POST['username'];
- $_password = md5($_POST['password']);
- if (!isset($_username) ||
- !isset($_password) ||
- !ctype_alnum($_username) ||
- strlen($_username) > 10 ||
- strlen($_username) <= 3 ||
- strlen($_password) > 15 ||
- strlen($_password) <= 3
- ) {
- header('Location: http://media1.mystcp.pw/');
- }
- $_username = mysqli_real_escape_string($_mysql, $_username);
- $_password = mysqli_real_escape_string($_mysql, $_password);
- $_username = addslashes($_username);
- $_password = addslashes($_password);
- $_beta_check = mysqli_query($_mysql, "SELECT * FROM users WHERE username='" . $_username . "';");
- $_result = mysqli_fetch_assoc($_beta_check);
- if ($_result['username'] == $_username && $_result['password'] == $_password) {
- ?>
- <?php
- require 'create.php';
- ?>
- <script type="text/rocketscript">
- //<![CDATA[
- try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:1458961017,byc:0,owlid:"cf",bag2:1,mirage2:0,oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok3v=1613a3a185/"},atok:"74010dc6e0b02d96e212ee253b095acb",petok:"1b543e38f9b17fb62e68474aeab4a9885222b9f5-1458961218-1800",zone:"mystcp.pw",rocket:"a",apps:{},sha2test:0}];document.write('<script type="text/javascript" src="//ajax.cloudflare.com/cdn-cgi/nexp/dok3v=e982913d31/cloudflare.min.js"><'+'\/script>');}}catch(e){};
- //]]>
- </script>
- <script type="text/rocketscript" data-rocketsrc='//clksite.com/adServe/banners?tid=116204_195677_10'></script>
- <script data-rocketsrc="http://mystcp.pw/js/jscolor.js" type="text/rocketscript"></script>
- <meta name="Generator" content="Drupal 7 (http://drupal.org)"/>
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
- <link href="css/bootstrap.css" rel="stylesheet"/>
- <link href="css/bootstrap-responsive.css" rel="stylesheet"/>
- <link type="text/css" rel="stylesheet" href="css/style.css" media="all"/>
- <link href="css/bootstrap.min.css" rel="stylesheet" />
- <style type="text/css">
- .spoilerbutton {
- display:none;
- background: #0280cd;
- background: -moz-linear-gradient(top, #0280cd 1%, #00529b 100%);
- background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#0280cd), color-stop(100%,#00529b));
- background: -webkit-linear-gradient(top, #0280cd 1%,#00529b 100%);
- background: -o-linear-gradient(top, #0280cd 1%,#00529b 100%);
- background: -ms-linear-gradient(top, #0280cd 1%,#00529b 100%);
- background: linear-gradient(to bottom, #0280cd 1%,#00529b 100%);
- border:none;
- font-family: Arial;
- color: #ffffff;
- font-size: 17px;
- padding:3px 6px 2px 7px;
- border-radius:3px;
- text-decoration: none;
- margin-bottom:4px;
- }
- .spoilerbutton:hover {
- background: #00529b;
- background: -moz-linear-gradient(top, #00529b 1%, #0280cd 100%);
- background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#00529b), color-stop(100%,#0280cd));
- background: -webkit-linear-gradient(top, #00529b 1%,#0280cd 100%);
- background: -o-linear-gradient(top, #00529b 1%,#0280cd 100%);
- background: -ms-linear-gradient(top, #00529b 1%,#0280cd 100%);
- background: linear-gradient(to bottom, #00529b 1%,#0280cd 100%);
- text-decoration: none;
- }
- .spoiler {overflow:hidden;}
- .spoiler > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.2s ease;}
- .spoilerbutton[value="Show Commands"] + .spoiler > div {margin-top:-100%;}
- .spoilerbutton[value="Hide Commands"] + .spoiler {padding:5px;}
- </style>
- <style>
- .alert {
- margin-bottom:600px;
- border:1px solid #000;
- border-radius:4px;
- position:absolute;
- bottom:0;
- right:21px;
- float:right;
- clear:right;
- background-color:#fff;
- padding:15px;
- }
- .alert-red {
- color:#fff;
- background-color:#da4453;
- }
- .alert-green {
- color:#fff;
- background-color:#37bc9b;
- }
- .alert-blue {
- color:#fff;
- background-color:#4a89dc;
- }
- .alert-yellow {
- color:#fff;
- background-color:#f6bb42;
- }
- .alert-orange {
- color:#fff;
- background-color:#e9573f;
- }
- .responstable {
- margin: 1em 0;
- width: 100%;
- background: #FFF;
- color: #024457;
- border-radius: 10px;
- border: 1px solid #167F92;
- overflow: hidden;
- }
- .responstable tr {
- border-top: 1px solid #167F92;
- border-bottom: 1px solid #167F92;
- }
- .responstable tr:nth-child(odd) {
- background-color: #EAF3F3;
- }
- .responstable th {
- display: none;
- border: 1px solid #FFF;
- background: #0280cd;
- background: -moz-linear-gradient(top, #0280cd 1%, #00529b 100%);
- background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#0280cd), color-stop(100%,#00529b));
- background: -webkit-linear-gradient(top, #0280cd 1%,#00529b 100%);
- background: -o-linear-gradient(top, #0280cd 1%,#00529b 100%);
- background: -ms-linear-gradient(top, #0280cd 1%,#00529b 100%);
- background: linear-gradient(to bottom, #0280cd 1%,#00529b 100%);
- color: #FFF;
- }
- .responstable td {
- display: block;
- }
- .responstable td:first-child {
- padding-top: .5em;
- }
- .responstable td:last-child {
- padding-bottom: .5em;
- }
- .responstable td:before {
- content: attr(data-th) ": ";
- font-weight: bold;
- width: 8em;
- display: inline-block;
- }
- @media (min-width: 480px) {
- .responstable td:before {
- display: none;
- }
- }
- @media (min-width: 480px) {
- .responstable td {
- border: 1px solid #D9E4E6;
- }
- }
- .responstable th,
- .responstable td {
- text-align: left;
- margin: .5em 1em;
- }
- @media (min-width: 480px) {
- .responstable th,
- .responstable td {
- display: table-cell;
- padding: 1em;
- }
- .responstable th:first-child,
- .responstable td:first-child {
- text-align: center;
- }
- }
- .oasis-prompts{z-index:10000;color:white;position:absolute;font-family:MyriadWebProRegular;text-align:center;}.oasis-prompts.blue_prompt_extra_large0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/prompts.png?fresh) 0 0 no-repeat;height:300px;width:420px;}.oasis-prompts.blue_prompt_large0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/prompts.png?fresh) -425px 0 no-repeat;height:243px;width:336px;}.oasis-prompts.blue_prompt_small0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/prompts.png?fresh) 0 -305px no-repeat;height:165px;width:336px;}.oasis-prompts.orange_prompt_extra_large0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/prompts.png?fresh) -341px -305px no-repeat;height:301px;width:419px;}.oasis-prompts.orange_prompt_large0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/prompts.png?fresh) 0 -611px no-repeat;height:243px;width:336px;}.oasis-prompts.orange_prompt_small0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/prompts.png?fresh) -341px -611px no-repeat;height:165px;width:336px;}.oasis-buttons.orange_button_extra_large0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) 0 0 no-repeat;height:53px;width:347px;}.oasis-buttons.orange_button_extra_large0000:hover{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) -352px 0 no-repeat;height:53px;width:347px;}.oasis-buttons.orange_button_extra_large0000:active{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) 0 -58px no-repeat;height:53px;width:347px;}.oasis-buttons.orange_button_large0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) -352px -58px no-repeat;height:53px;width:287px;}.oasis-buttons.orange_button_large0000:hover{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) 0 -116px no-repeat;height:53px;width:287px;}.oasis-buttons.orange_button_large0000:active{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) -292px -116px no-repeat;height:53px;width:287px;}.oasis-buttons.orange_button_medium0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) 0 -174px no-repeat;height:53px;width:202px;}.oasis-buttons.orange_button_medium0000:hover{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) -207px -174px no-repeat;height:53px;width:202px;}.oasis-buttons{line-height:22px;font-family:MyriadWebProBold;padding-top:14px;margin-top:15px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;}.oasis-buttons.orange_button_medium0000:active{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) -414px -174px no-repeat;height:53px;width:202px;}.oasis-buttons.orange_button_small0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) 0 -232px no-repeat;height:53px;width:165px;}.oasis-buttons.orange_button_small0000:hover{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) -170px -232px no-repeat;height:53px;width:165px;}.oasis-buttons.orange_button_small0000:active{background:url(//localhost/Oasis/Web/cdn/images/2.0/buttons.png) -340px -232px no-repeat;height:53px;width:165px;}.oasis-avatars{display:inline-block;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.oasis-avatars:hover{opacity:.8;}.oasis-avatars.avatar_card_large_10000{background:url(//localhost/Oasis/Web/cdn/images/2.0/avatars.png) -1px -1px no-repeat;height:313px;width:313px;}.oasis-avatars.avatar_card_large_20000{background:url(//localhost/Oasis/Web/cdn/images/2.0/avatars.png) -319px -1px no-repeat;height:312px;width:313px;}.oasis-avatars.avatar_card_small_10000{background:url(//localhost/Oasis/Web/cdn/images/2.0/avatars.png) -1px -319px no-repeat;height:155px;width:342px;}.oasis-avatars.avatar_card_small_20000{background:url(//localhost/Oasis/Web/cdn/images/2.0/avatars.png) -348px -319px no-repeat;height:155px;width:343px;}.oasis-icons{margin:10px;}.oasis-icons.promptIcon0000{background:url(//localhost/Oasis/Web/cdn/images/icon-assets.png) -1px -1px no-repeat;height:77px;width:78px;}.oasis-icons.promptIcon0001{background:url(//localhost/Oasis/Web/cdn/images/icon-assets.png) -80px -1px no-repeat;height:78px;width:78px;}.oasis-icons.promptIcon0002{background:url(//localhost/Oasis/Web/cdn/images/icon-assets.png) -159px -1px no-repeat;height:76px;width:79px;}.oasis-icons.promptIcon0003{background:url(//localhost/Oasis/Web/cdn/images/icon-assets.png) -1px -80px no-repeat;height:72px;width:72px;}.oasis-icons.promptIcon0004{background:url(//localhost/Oasis/Web/cdn/images/icon-assets.png) -74px -80px no-repeat;height:78px;width:79px;}.oasis-icons.promptIcon0005{background:url(//localhost/Oasis/Web/cdn/images/icon-assets.png) -154px -80px no-repeat;height:78px;width:77px;}.oasis-login{font-family:MyriadWebProRegular;color:white;}.oasis-login.login_save_password_checkbox0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/login.png) -1px -1px no-repeat;height:34px;width:33px;}.oasis-login.login_save_password_checkbox0001{background:url(//localhost/Oasis/Web/cdn/images/2.0/login.png) -39px -1px no-repeat;height:34px;width:33px;}.oasis-login.logincreate0000{background:url(//localhost/Oasis/Web/cdn/images/2.0/login.png) -77px -1px no-repeat;height:476px;width:854px;}@font-face{font-family:'MyriadWebProBold';src:url('//localhost/Oasis/Web/cdn/css/fonts/myriadpro2-webfont.eot');src:url('//localhost/Oasis/Web/cdn/css/fonts/myriadpro2-webfont.eot?#iefix') format('embedded-opentype'),url('//localhost/Oasis/Web/cdn/css/fonts/myriadpro2-webfont.woff') format('woff'),url('//localhost/Oasis/Web/cdn/css/fonts/myriadpro2-webfont.ttf') format('truetype'),url('//localhost/Oasis/Web/cdn/css/fonts/myriadpro2-webfont.svg#MyriadProBold') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'MyriadWebProItalic';src:url('//localhost/Oasis/Web/cdn/css/fonts/myriadproit2-webfont.eot');src:url('//localhost/Oasis/Web/cdn/css/fonts/myriadproit2-webfont.eot?#iefix') format('embedded-opentype'),url('//localhost/Oasis/Web/cdn/css/fonts/myriadproit2-webfont.woff') format('woff'),url('//localhost/Oasis/Web/cdn/css/fonts/myriadproit2-webfont.ttf') format('truetype'),url('//localhost/Oasis/Web/cdn/css/fonts/myriadproit2-webfont.svg#MyriadProItalic') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'MyriadWebProRegular';src:url('//localhost/Oasis/Web/cdn/css/fonts/myriad2-webfont.eot');src:url('//localhost/Oasis/Web/cdn/css/fonts/myriad2-webfont.eot?#iefix') format('embedded-opentype'),url('./fonts/myriad2-webfont.woff') format('woff'),url('//localhost/Oasis/Web/cdn/css/fonts/myriad2-webfont.ttf') format('truetype'),url('//localhost/Oasis/Web/cdn/css/fonts/myriad2-webfont.svg#Myriad-Regular') format('svg');font-weight:normal;font-style:normal;}.oasisPs-nav{background-image:url(//localhost/Oasis/Web/cdn/images/2.0/nav.png);background-repeat:repeat-x;width:100%;position:absolute;height:75px;margin:0;top:0;left:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}#nav-buttons a{color:white;font-family:'MyriadWebProRegular';font-weight:bold;font-size:15px;text-decoration:none;height:70px;padding:15px;position:relative;top:25px;}#nav-buttons a:hover{color:lightblue;}#oasisHeader{height:70px;font-family:MyriadWebProRegular;background-color:#007BD6;width:100%;position:absolute;top:70px;left:0;color:white;}#oasisHeader h1{color:#fff;font-weight:bold;line-height:40px;font-size:22px;padding:15px;margin:0;font-family:'MyriadWebProRegular',"Arial Black",Gadget,sans-serif;text-rendering:optimizelegibility;border:0;outline:0;}#oasisBackground{background-color:rgba(0,0,0,0.5);width:100%;height:100%;position:fixed;margin:0;left:0;z-index:5000;top:0;}#oasisLoader{background-image:url(//localhost/Oasis/Web/cdn/images/2.0/processing-icon.gif);background-repeat:no-repeat;background-position:center;background-color:rgba(0,0,0,0.5);width:100%;height:100%;position:absolute;margin:0;left:0;z-index:5000;top:0;}.loginBtn{display:inline-block;padding:3px 0 0 0;height:45px;width:343px;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;text-align:center;opacity:1;vertical-align:middle;line-height:45px;color:#ffffff;text-decoration:none;font-weight:bold;font-size:16px;font-family:'MyriadWebProRegular',sans-serif;border:none;background:url(//localhost/Oasis/Web/cdn/images/2.0/login-btn.png) 0 0 no-repeat;height:48px;}.loginBtn:hover{opacity:0.8;}.loginBtn:active{background-position:0 -50px;opacity:1;}.description{font-size:0.85em;}#penguinName{color:white;font-family:MyriadWebProRegular;font-weight:bolder;font-size:25px;}.login-different{font-family:'MyriadWebProBold',sans-serif;background:none;background-color:#0052af;padding:13px 90px 13px 90px;font-size:14px;color:#FFF;border-radius:8px;font-weight:bolder;opacity:0.7;display:inline-block;left:0px;width:70%;max-width:290px;padding:13px 15px;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.login-different:hover{opacity:1;}.login-different:active{opacity:1;}.shadow{background:url("//localhost/Oasis/Web/cdn/images/2.0/footer-hr.png") no-repeat scroll center top transparent;bottom:0;padding:30px 20px 20px;position:relative;width:880px;}.oasis-login input{border-radius:10px;border:3px solid #22a4f3;margin:8px 0px 0px;height:35px;padding:0 10px;width:70%;font-family:MyriadWebProRegular;font-size:15px;color:#999;outline:0;}.oasis-login input:focus{border:3px solid #0052af;color:#22a4f3;}.oasis-login.avatar_1_card0000{background:url(//localhost/Oasis/Web/cdn/images/login-assets.png) -1px -1px no-repeat;height:250px;width:247px;}.oasis-login.avatar_1_small_card0000{background:url(//localhost/Oasis/Web/cdn/images/login-assets.png) -248px -1px no-repeat;height:141px;width:247px;}.oasis-login.avatar_2_card0000{background:url(//localhost/Oasis/Web/cdn/images/login-assets.png) -1px -251px no-repeat;height:250px;width:247px;}#oasisLogin{font-family:MyriadWebProRegular;}.oasis-login.blue_btn0000{font-size:15px;border:none;background:url(//localhost/Oasis/Web/cdn/images/login-assets.png) -248px -251px no-repeat;height:57px;width:194px;}.oasis-login.blue_btn0000:focus{outline:0;}.oasis-login.blue_btn0000:hover{background:url(//localhost/Oasis/Web/cdn/images/login-assets.png) -195px -502px no-repeat;height:57px;width:194px;}.oasis-login.blue_btn0000:active{background:url(//localhost/Oasis/Web/cdn/images/login-assets.png) -1px -501px no-repeat;height:57px;width:194px;}.oasis-login.login_card0000{background:url(//localhost/Oasis/Web/cdn/images/login-assets.png) -1px -560px no-repeat;height:311px;width:427px;}
- .cpp-mod-tools{color:white;font-family:BurbankSmallBold;}.cpp-mod-tools.closeBtn0000{background:url(images/modp.png) 0 0 no-repeat;height:34px;width:34px;}.cpp-mod-tools.disableActions0000{background:url(images/modp.png) -34px 0 no-repeat;height:34px;width:34px;}.cpp-mod-tools.disableCommunication0000{background:url(images/modp.png) -68px 0 no-repeat;height:34px;width:34px;}.cpp-mod-tools.disableTransformations0000{background:url(images/modp.png) -102px 0 no-repeat;height:34px;width:34px;}.cpp-mod-tools.modTools0000{background:url(images/modp.png) 0 -34px no-repeat;height:416px;width:200px;}.cpp-mod-tools.moveUser0000{background:url(images/modp.png) -200px -34px no-repeat;height:41px;width:41px;}.cpp-mod-tools.orangeBtn0000{background:url(images/modp.png) 0 -450px no-repeat;height:53px;width:154px;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.cpp-mod-tools.orangeBtn0000:hover{background:url(images/modp.png) 0 -503px no-repeat;height:53px;width:154px;}.cpp-mod-tools.orangeBtn0000:active{background:url(/images/modp.png) 0 -556px no-repeat;height:53px;width:154px;}.cpp-mod-tools.smallBtn0000{background:url(images/modp.png) -154px -556px no-repeat;height:53px;width:75px;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.cpp-mod-tools.smallBtn0000:hover{background:url(images/modp.png) 0 -609px no-repeat;height:53px;width:75px;}.cpp-mod-tools.smallBtn0000:active{background:url(images/modp.png) -75px -609px no-repeat;height:53px;width:75px;}@font-face{font-family:BurbankSmallBold;src:url(font/cpBurbankSmallBold.ttf);}
- .oasis-prompts {
- z-index:10000;
- color:#FFF;
- position:absolute;
- font-family:MyriadWebProRegular;
- text-align:center;
- }
- .oasis-prompts.blue_prompt_extra_large0000 {
- background:url(images/2.0/prompts.png?fresh) 0 0 no-repeat;
- height:300px;
- width:420px;
- }
- .oasis-prompts.blue_prompt_large0000 {
- background:url(images/2.0/prompts.png?fresh) -425px 0 no-repeat;
- height:243px;
- width:336px;
- }
- .oasis-prompts.blue_prompt_small0000 {
- background:url(images/2.0/prompts.png?fresh) 0 -305px no-repeat;
- height:165px;
- width:336px;
- }
- .oasis-prompts.orange_prompt_extra_large0000 {
- background:url(images/2.0/prompts.png?fresh) -341px -305px no-repeat;
- height:301px;
- width:419px;
- }
- .oasis-prompts.orange_prompt_large0000 {
- background:url(images/2.0/prompts.png?fresh) 0 -611px no-repeat;
- height:243px;
- width:336px;
- }
- .oasis-prompts.orange_prompt_small0000 {
- background:url(images/2.0/prompts.png?fresh) -341px -611px no-repeat;
- height:165px;
- width:336px;
- }
- .oasis-buttons.orange_button_extra_large0000 {
- background:url(images/2.0/buttons.png) 0 0 no-repeat;
- height:53px;
- width:347px;
- }
- .oasis-buttons.orange_button_extra_large0000:hover {
- background:url(images/2.0/buttons.png) -352px 0 no-repeat;
- height:53px;
- width:347px;
- }
- .oasis-buttons.orange_button_extra_large0000:active {
- background:url(images/2.0/buttons.png) 0 -58px no-repeat;
- height:53px;
- width:347px;
- }
- .oasis-buttons.orange_button_large0000 {
- background:url(images/2.0/buttons.png) -352px -58px no-repeat;
- height:53px;
- width:287px;
- }
- .oasis-buttons.orange_button_large0000:hover {
- background:url(images/2.0/buttons.png) 0 -116px no-repeat;
- height:53px;
- width:287px;
- }
- .oasis-buttons.orange_button_large0000:active {
- background:url(images/2.0/buttons.png) -292px -116px no-repeat;
- height:53px;
- width:287px;
- }
- .oasis-buttons.orange_button_medium0000 {
- background:url(images/2.0/buttons.png) 0 -174px no-repeat;
- height:53px;
- width:202px;
- }
- .oasis-buttons.orange_button_medium0000:hover {
- background:url(images/2.0/buttons.png) -207px -174px no-repeat;
- height:53px;
- width:202px;
- }
- .oasis-buttons {
- line-height:22px;
- font-family:MyriadWebProBold;
- padding-top:14px;
- margin-top:15px;
- -webkit-touch-callout:none;
- -webkit-user-select:none;
- -khtml-user-select:none;
- -moz-user-select:none;
- -ms-user-select:none;
- user-select:none;
- cursor:pointer;
- }
- .oasis-buttons.orange_button_medium0000:active {
- background:url(images/2.0/buttons.png) -414px -174px no-repeat;
- height:53px;
- width:202px;
- }
- .oasis-buttons.orange_button_small0000 {
- background:url(images/2.0/buttons.png) 0 -232px no-repeat;
- height:53px;
- width:165px;
- }
- .oasis-buttons.orange_button_small0000:hover {
- background:url(images/2.0/buttons.png) -170px -232px no-repeat;
- height:53px;
- width:165px;
- }
- .oasis-buttons.orange_button_small0000:active {
- background:url(images/2.0/buttons.png) -340px -232px no-repeat;
- height:53px;
- width:165px;
- }
- .oasis-avatars {
- display:inline-block;
- cursor:pointer;
- -webkit-touch-callout:none;
- -webkit-user-select:none;
- -khtml-user-select:none;
- -moz-user-select:none;
- -ms-user-select:none;
- user-select:none;
- }
- .oasis-icons {
- margin:15px;
- }
- #externalSystem input[type=checkbox] {
- display:none;
- }
- #externalSystem input[type=checkbox]+label {
- background:url(images/2.0/checkbox.png) no-repeat scroll 0 0 transparent;
- height:27px;
- line-height:31px;
- display:block;
- color:#FFF;
- text-align:left;
- margin:5px 0 15px;
- padding:0 0 4px 40px;
- }
- #externalSystem input[type=checkbox]:checked+label {
- background:url(images/2.0/checkbox.png) no-repeat scroll 0 -31px transparent;
- }
- #externalSystem input[type=checkbox]:focus+label {
- background:url(images/2.0/checkbox.png) no-repeat scroll 0 -62px transparent;
- }
- .oasis-icons.promptIcon0000 {
- background:url(images/icon-assets.png) -1px -1px no-repeat;
- height:71px;
- width:70px;
- }
- .oasis-icons.promptIcon0001 {
- background:url(images/icon-assets.png) -72px -1px no-repeat;
- height:70px;
- width:70px;
- }
- .oasis-icons.promptIcon0002 {
- background:url(images/icon-assets.png) -143px -1px no-repeat;
- height:76px;
- width:79px;
- }
- .oasis-icons.promptIcon0003 {
- background:url(images/icon-assets.png) -1px -78px no-repeat;
- height:68px;
- width:68px;
- }
- .oasis-icons.promptIcon0004 {
- background:url(images/icon-assets.png) -70px -78px no-repeat;
- height:69px;
- width:76px;
- }
- .oasis-icons.promptIcon0005 {
- background:url(images/icon-assets.png) -147px -78px no-repeat;
- height:68px;
- width:67px;
- }
- .oasis-icons.promptIcon0006 {
- background:url(images/icon-assets.png) -1px -148px no-repeat;
- height:74px;
- width:74px;
- }
- .oasis-login {
- font-family:MyriadWebProRegular;
- color:#FFF;
- }
- .oasis-login.login_save_password_checkbox0000 {
- background:url(images/2.0/login.png) -1px -1px no-repeat;
- height:34px;
- width:33px;
- }
- .oasis-login.login_save_password_checkbox0001 {
- background:url(images/2.0/login.png) -39px -1px no-repeat;
- height:34px;
- width:33px;
- }
- .oasis-login.logincreate0000 {
- background:url(images/2.0/login.png) -77px -1px no-repeat;
- height:476px;
- width:854px;
- }
- @font-face {
- font-family:MyriadWebProRegular;
- src:url(font/myriad2-webfont.eot?#iefix) format(embedded-opentype),url(font/myriad2-webfont.woff) format(woff),url(fonts/myriad2-webfont.ttf) format(truetype),url(font/myriad2-webfont.svg#Myriad-Regular) format(svg);
- font-weight:400;
- font-style:normal;
- }
- .oasisPs-nav {
- background-image:url(//localhost/Oasis/Web/cdn/images/2.0/nav.png);
- background-repeat:repeat-x;
- width:100%;
- position:absolute;
- height:75px;
- top:0;
- left:0;
- -webkit-touch-callout:none;
- -webkit-user-select:none;
- -khtml-user-select:none;
- -moz-user-select:none;
- -ms-user-select:none;
- user-select:none;
- margin:0;
- }
- #nav-buttons a {
- color:#FFF;
- font-family:MyriadWebProRegular;
- font-weight:700;
- font-size:15px;
- text-decoration:none;
- height:70px;
- position:relative;
- top:25px;
- padding:15px;
- }
- #nav-buttons a:hover {
- color:#ADD8E6;
- }
- #oasisHeader {
- height:70px;
- font-family:MyriadWebProRegular;
- background-color:#007BD6;
- width:100%;
- position:absolute;
- top:70px;
- left:0;
- color:#FFF;
- }
- #oasisHeader h1 {
- color:#fff;
- font-weight:700;
- line-height:40px;
- font-size:22px;
- font-family:MyriadWebProRegular,"Arial Black",Gadget,sans-serif;
- text-rendering:optimizelegibility;
- border:0;
- outline:0;
- margin:0;
- padding:15px;
- }
- #oasisBackground {
- background-color:rgba(0,0,0,0.5);
- width:100%;
- height:100%;
- position:fixed;
- left:0;
- z-index:5000;
- top:0;
- margin:0;
- }
- #oasisLoader {
- background-image:url(images/2.0/processing-icon.gif);
- background-repeat:no-repeat;
- background-position:center;
- background-color:rgba(0,0,0,0.5);
- width:100%;
- height:100%;
- position:absolute;
- left:0;
- z-index:5000;
- top:0;
- margin:0;
- }
- .loginBtn {
- display:inline-block;
- width:343px;
- border-radius:0;
- -moz-border-radius:0;
- -webkit-border-radius:0;
- text-align:center;
- opacity:1;
- vertical-align:middle;
- line-height:45px;
- color:#fff;
- text-decoration:none;
- font-weight:700;
- font-size:16px;
- font-family:MyriadWebProRegular,sans-serif;
- border:none;
- background:url(images/2.0/login-btn.png) 0 0 no-repeat;
- height:48px;
- padding:3px 0 0;
- }
- .loginBtn:active {
- background-position:0 -50px;
- opacity:1;
- }
- .description {
- font-size:.85em;
- }
- #penguinName {
- color:#FFF;
- font-family:MyriadWebProRegular;
- font-weight:bolder;
- font-size:25px;
- }
- .login-different {
- font-family:MyriadWebProBold,sans-serif;
- background:none;
- background-color:#0052af;
- font-size:14px;
- color:#FFF;
- border-radius:8px;
- font-weight:bolder;
- display:inline-block;
- left:0;
- width:70%;
- max-width:290px;
- cursor:pointer;
- -webkit-touch-callout:none;
- -webkit-user-select:none;
- -khtml-user-select:none;
- -moz-user-select:none;
- -ms-user-select:none;
- user-select:none;
- padding:13px 15px;
- }
- .shadow {
- background:url(//localhost/Oasis/Web/cdn/images/2.0/footer-hr.png) no-repeat scroll center top transparent;
- bottom:0;
- position:relative;
- width:880px;
- padding:30px 20px 20px;
- }
- #externalSystem input {
- border-radius:10px;
- border:3px solid #22a4f3;
- height:35px;
- width:70%;
- font-family:MyriadWebProRegular;
- font-size:15px;
- color:#999;
- outline:0;
- margin:8px 0 0;
- padding:0 10px;
- }
- #externalSystem input:focus {
- border:3px solid #0052af;
- color:#22a4f3;
- }
- #oasisLogin {
- font-family:MyriadWebProRegular;
- }
- .oasis-login.blue_btn0000:hover {
- background: url(images/login-assets.png) -245px -250px no-repeat;
- height: 57px;
- width: 196px;
- }
- .oasis-login.blue_btn0000 {
- font-size: 15px;
- border: none;
- background: url(images/login-assets.png) -192px -501px no-repeat;
- height: 57px;
- width: 196px;
- }
- .oasis-login.blue_btn0000:active {
- background:url(images/login-assets.png) -555px -501px no-repeat;
- height:57px;
- width:194px;
- }
- .oasis-login.login_card0000{
- background:url(images/login-assets.png) -1px -561px no-repeat;
- height:312px;
- width:428px;
- }
- .oasis-login.blue_btn0000:focus,.oasis-server.normal_server_template0000 #joinBtn {
- outline:0;
- }
- button{
- margin-top:6px;
- }
- </style>
- <link href="css/search.css" rel="stylesheet" type="text/css"/>
- <script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/rocketscript"></script>
- <script data-rocketsrc="js/bootstrap-tabdrop.js+bootstrap-tab.js.pagespeed.jc.BijaGbvxB1.js" type="text/rocketscript"></script><script type="text/rocketscript">eval(mod_pagespeed_eEaR2vAikS);</script>
- <script type="text/rocketscript">eval(mod_pagespeed_XtSkLhVXwA);</script>
- <script type="text/rocketscript">
- function getMyPlayerNickname() {
- return document.getElementById("club_penguin").getMyPlayerNickname();
- }
- function changeParty() {
- var flashObj = document.getElementById('club_penguin');
- flashObj.changeParty(document.getElementById("selectParty").value);
- }
- function createCookie(name,value,days) {
- if (days) {
- var date = new Date();
- date.setTime(date.getTime()+(days*24*60*60*1000));
- var expires = "; expires="+date.toGMTString();
- }
- else var expires = "";
- document.cookie = name+"="+value+expires+"; path=/";
- }
- function getPlayerID() {
- return document.getElementById("club_penguin").getMyPlayerId();
- }
- function modTools(username, playerID){
- window.alert("Username:" + username + "");
- }
- function showSearchBox() {
- $("#search").toggle(function(e) {
- if ($(this).is(":visible")) {
- $("#search").show();
- $('.live-search-list').show();
- } else {
- $("#search").hide();
- $('.live-search-list').hide();
- };
- });
- }
- function loadParties(playerStrings) {
- var playerData = playerStrings.split('|');
- console.log(playerData[1] + " has connected to MystCP");
- swal({title: "Logged In", text: playerData[1] + " you have been connected to MystCP", timer: 1200, showConfirmButton: false});
- document.getElementById("gameMenu").style.display = "block";
- $('.spoilerbutton').show();
- var userName = document.getElementById("userName");
- userName.innerHTML = getMyPlayerNickname();
- createCookie('usrid', getPlayerID(), 7);
- var parties = {};
- parties["Default"] = {
- "Default rooms": "default",
- };
- parties[2006] = {
- "Lime Party": "Lime2006",
- "Cave Party": "Cave2006",
- "Halloween": "Halloween2006"
- };
- parties[2011] = {
- "The Fair": "Fair2011",
- "Holiday": "Holiday2011"
- };
- parties[2012] = {
- "April Fools": "AprilFools2012",
- "Marvel": "Marvel2012",
- "Holiday": "Holiday2012",
- "Medieval": "Medieval2012",
- "The Fair": "Fair2012",
- "Halloween": "Halloween2012",
- "Adventure Party": "Adventures2012",
- "Puffle Party": "Puffle2012"
- };
- parties[2013] = {
- "Card Jitsu": "CardJitsu2013",
- "Marvel Takeover": "Marvel2013"
- };
- parties[2014] = {
- "The Fair": "TheFair2014",
- "Hollywood": "Hollywood",
- "Frozen": "FrozenParty"
- };
- for (var t in parties) {
- document.getElementById("selectParty").innerHTML += '<optgroup label="' + t + '">';
- for (var n in parties[t]) {
- if (parties[t][n] == "default") document.getElementById("selectParty").innerHTML += '<option value="' + parties[t][n] + '" selected="selected">' + n + "</option>";
- else document.getElementById("selectParty").innerHTML += '<option value="' + parties[t][n] + '">' + n + "</option>"
- }
- document.getElementById("selectParty").innerHTML += "</optgroup>"
- }
- document.getElementById("selectParty").style.display = "inline";
- }
- function LoadModeratorScript(isAPAC2) {
- $.ajax({
- url: '//mystcp.pw/test-engine_v1/js/ModeratorTools.js',
- dataType: "script",
- success: function () {
- MyModerator.LoadModeratorTools();
- }
- });
- }
- </script>
- <script data-rocketsrc="js/playerMusic.js" type="text/rocketscript"></script><script type="text/rocketscript">eval(mod_pagespeed_tRDv2$m0ci);</script>
- <script type="text/rocketscript">eval(mod_pagespeed_afoootlQ4m);</script>
- <?php
- require 'adders/item_adder.php';
- require 'adders/furniture_adder.php';
- require 'adders/igloo_adder.php';
- require 'adders/bg_adder.php';
- require 'store/penguin_store.php';
- require 'manager.php';
- ?>
- <div id="skip-link">
- <a href="#main-content" class="element-invisible element-focusable">Skip to main content</a>
- </div>
- <div id="content" class="firstpage">
- <div id="gameMenu" style='display:block;'>
- <?php
- require 'templates/game_menu-temp.php';
- ?>
- </div>
- <div class="container">
- <div class="wrapper-row">
- <div id="ohsnap"></div>
- <div id="musicContainer" style="display: none;">
- <iframe id="musicFrame" width="0" height="0" src="" frameborder="0"></iframe>
- </div>
- <div style="position: absolute; left: -500px; right: 20px; top: -14px;">
- <div id="modTools" class="cpp-mod-tools modTools0000" style='position: absolute; z-index: 2000;left: 750px;top: 222.5px;display:none;'></div>
- <div id="externalSystem"></div>
- </div>
- <div class="main-content"></div>
- <script>
- jQuery(document).ready(function($){
- $('.live-search-list li').each(function(){
- $(this).attr('data-search-term', $(this).text().toLowerCase());
- });
- $('#search').on('keyup', function(){
- var searchTerm = $(this).val().toLowerCase();
- $('.live-search-list li').each(function(){
- if ($(this).filter('[data-search-term *= ' + searchTerm + ']').length > 0 || searchTerm.length < 0) {
- $(this).show();
- } else {
- $(this).hide();
- }
- });
- });
- });
- function showPlayerWidgetByID(playerID, playerName) {
- document.getElementById('club_penguin').openPlayerCard(playerID, playerName);
- // yet to implement
- //playerRank = playerData[16];
- //playerMood = playerData[24];
- //document.getElementById('club_penguin').openPlayerUI(playerID, playerName, playerMood, playerRank);
- }
- </script>
- <input id="search" type="search" placeholder="Enter a penguin name">
- <?php
- $mysql_con = mysqli_connect("127.0.0.1", "root", 'supersecretpa$$protectedaf', "Luna");
- $_query = mysqli_query($mysql_con, "SELECT username, ID FROM users ORDER BY ID");
- print "<ul class=\"live-search-list\">";
- while ($_result = mysqli_fetch_assoc($_query)) {
- $_ID = $_result['ID'];
- $_Username = $_result['username'];
- echo "<li onClick=\"showPlayerWidgetByID(" . $_ID . ", '" . $_Username . "');\">";
- echo "<img src=\"http://api.mystcp.pw/avatar/?id=" . $_ID . "\">";
- echo "<p>" . $_Username . "</p>";
- echo "</li>";
- }
- print "</ul>";
- ?>
- <object id="club_penguin" name="club_penguin" data="http://media1.mystcp.pw/LaLaLa.swf" width="100%" height="631" style="visibility: visible;">
- <param name="menu" value="false">
- <param name="wmode" value="transparent"/>
- <param name="quality" value="high">
- <param name="allowscriptaccess" value="always">
- <param name="flashvars" value="play=http://media1.mystcp.pw/play/v2/client=http://media1.mystcp.pw/play/v2/client/content=http://media1.mystcp.pw/play/v2/content/games=http://media1.mystcp.pw/play/v2/games/connectionID=cp22479&lang=en&a=0&p=1&phrasechat=http://swag/">
- </object>
- <br>
- <center>
- <input class="spoilerbutton" type="button" value="Show Commands" onclick="this.value=this.value=='Show Commands'?'Hide Commands':'Show Commands';">
- <div class="spoiler"><div>
- <table class="responstable">
- <tr>
- <th>Command</th>
- <th>Description</th>
- <th>Example</th>
- </tr>
- <tr>
- <td data-th="Command">!AC</td>
- <td data-th="Description">Add coins so you can buy things - limit is 10,000</td>
- <td data-th="Example">!AC 5000</td>
- </tr>
- <tr>
- <td data-th="Command">!AF</td>
- <td data-th="Description">Add a furniture item to your igloo inventory</td>
- <td data-th="Example">!AF 82</td>
- </tr>
- <tr>
- <td data-th="Command">!AIG</td>
- <td data-th="Description">Add an igloo</td>
- <td data-th="Example">!AIG 10</td>
- </tr>
- <tr>
- <td data-th="Command">!CIF</td>
- <td data-th="Description">Change the igloo flooring</td>
- <td data-th="Example">!CIF 2</td>
- </tr>
- <tr>
- <td data-th="Command">!CNICK</td>
- <td data-th="Description">Change your penguin nickname</td>
- <td data-th="Example">!CNICK Louis</td>
- </tr>
- <tr>
- <td data-th="Command">!PING</td>
- <td data-th="Description">Check if the server is alive or dead, bot responds "pong"</td>
- <td data-th="Example">!PING</td>
- </tr>
- <tr>
- <td data-th="Command">!STATS</td>
- <td data-th="Description">Check the server statistics</td>
- <td data-th="Example">!STATS</td>
- </tr>
- <tr>
- <td data-th="Command">!JR</td>
- <td data-th="Description">Teleport to another room</td>
- <td data-th="Example">!JR 100</td>
- </tr>
- <tr>
- <td data-th="Command">!CPC</td>
- <td data-th="Description">Makes your penguin naked</td>
- <td data-th="Example">!CPC</td>
- </tr>
- <tr>
- <td data-th="Command">!AAI</td>
- <td data-th="Description">Add's all items to your inventory instantly</td>
- <td data-th="Example">!AAI</td>
- </tr>
- <tr>
- <td data-th="Command">!FIND</td>
- <td data-th="Description">Find out the location of a user</td>
- <td data-th="Example">!FIND Henry</td>
- </tr>
- <tr>
- <td data-th="Command">!CLONE</td>
- <td data-th="Description">Clone a user by wearing their clothes</td>
- <td data-th="Example">!CLONE Trent</td>
- </tr>
- <tr>
- <td data-th="Command">!DEC</td>
- <td data-th="Description">Disable/Enable users from cloning you</td>
- <td data-th="Example">!DEC</td>
- </tr>
- <tr>
- <td data-th="Command">!GOTO</td>
- <td data-th="Description">Teleport to a user in another room</td>
- <td data-th="Example">!GOTO Acer</td>
- </tr>
- </table>
- </div></div>
- </center>
- </div><!--.container-->
- </div><!--#content-->
- </div><!--.row-->
- <!-- Begin Cookie Consent plugin by Silktide - http://silktide.com/cookieconsent -->
- <script type="text/javascript">
- window.cookieconsent_options = {"message":"This website uses cookies to ensure you get the best experience on our website","dismiss":"Got it!","learnMore":"More info","link":null,"theme":"dark-bottom"};
- </script>
- <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script>
- <!-- End Cookie Consent plugin -->
- <script type="text/javascript" src="http://mystcp.pw/node_modules/sweetalert/dist/sweetalert.min.js"></script>
- <link rel="stylesheet" type="text/css" href="http://mystcp.pw/node_modules/sweetalert/dist/sweetalert.css">
- </body>
- <?php
- } else {
- header('Location: http://media1.mystcp.pw/');
- }
- }
- ?>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement