Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include 'config.php';
- if(isset($_GET['host']))
- {
- $hosts = $_GET['host'];
- $host = array();
- $host[] = array('name' => 'Vultr', 'url' => 'Vultr/settings1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
- $host[] = array('name' => 'Linode', 'url' => 'Linode/settings_linode3.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
- $host[] = array('name' => 'Digital', 'url' => 'DigitalOcean/settings_do1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
- $host[] = array('name' => 'Kyup', 'url' => 'Kyup/settings_kyup4.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
- $host[] = array('name' => 'Conoha', 'url' => 'Conoha/index1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
- $host[] = array('name' => 'Zcloud', 'url' => 'ZCloud/index1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
- $host[] = array('name' => 'Google', 'url' => 'GoogleCloud/index1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
- $host[] = array('name' => 'CTL', 'url' => 'CTL/settings1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
- $host[] = array('name' => 'Scaleway', 'url' => 'ScalewayFinal/index.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
- $host[] = array('name' => 'Amazon', 'url' => 'Amazon/index.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
- foreach($host AS $provider)
- {
- $name = $provider['name'];
- $url = $provider['url'];
- $youtube = $provider['youtube'];
- if($name == $hosts)
- {
- $iframeURL = $url;
- $youtubeURL = $youtube;
- }
- }
- }
- ?>
- <?php
- if(isset($_COOKIE['login']))
- {
- if($_COOKIE['login'] != $username)
- {
- setcookie(
- "login",
- '',
- time()
- );
- }
- ?>
- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title>TheProxyGuru Proxy Creator</title>
- <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
- <style>
- @import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700);body,p{font-family:Poppins,sans-serif}#content,#sidebar,a,a:focus,a:hover{transition:all .3s}body,html{background-color:#000}.iframe-container{width:2000px;height:1000px;position:relative;left:20%}.iframe-handler{width:100%;height:100%;formborder:0;border:none;overflow:hidden}.iframe-video{width:560px;height:415px;position:absolute;left:30%;top:98px}.center-container{position:absolute;left:50%}a{font-size:18px}body{background:#060606}p{font-size:1.1em;font-weight:300;line-height:1.7em;color:#999}a,a:focus,a:hover{color:inherit;text-decoration:none}.navbar{padding:15px 10px;background:#fff;border:none;border-radius:0;margin-bottom:40px;box-shadow:1px 1px 3px rgba(0,0,0,.1)}.navbar-btn{box-shadow:none;outline:0!important;border:none}.line{width:100%;height:1px;border-bottom:1px dashed #ddd;margin:40px 0}.wrapper{display:flex;align-items:stretch}#sidebar{min-width:250px;max-width:250px;background:#050d12;color:#fff}#sidebar.active{margin-left:-250px}#sidebar .sidebar-header{padding:20px;background:#6d7fcc}#sidebar ul.components{padding:20px 0}#content,ul.CTAs{padding:20px}#sidebar ul p{color:#fff;padding:10px}#sidebar ul li a{padding:10px;font-size:1.1em;display:block}ul ul a,ul.CTAs a{font-size:.9em!important}#sidebar ul li a:hover{color:#7386D5;background:#fff}#sidebar ul li.active>a,a[aria-expanded=true]{color:#fff;background:#050d12}a[data-toggle=collapse]{position:relative}ul ul a{padding-left:30px!important;background:#050d12}ul.CTAs a{text-align:center;display:block;border-radius:5px;margin-bottom:5px}a.download{background:#fff;color:#7386D5}a.article,a.article:hover{background:#050d12!important;color:#fff!important}#content{min-height:100vh}@media (max-width:768px){#sidebar{margin-left:-250px}#sidebar.active{margin-left:0}#sidebarCollapse span{display:none}}
- </style>
- </head>
- <body>
- <div class="wrapper">
- <!-- Sidebar Holder -->
- <nav id="sidebar">
- <p style="text-align: center;"><img style="display: block; margin-left: auto; margin-right: auto; padding-top:40px;" src="https://i.imgur.com/d35fnHi.png" alt="" width="180" height="200" /></p>
- <ul class="list-unstyled components">
- <li>
- <a href="index.php"> <i style="padding-left: 10px; padding-right:10px;" class="fas fa-home"></i> Dashboard </a>
- </li>
- <li>
- <a href="index.php?host=Vultr"> <i style="padding-left: 10px; padding-right:10px;" class="fab fa-vuejs"></i> Vultr</a>
- </li>
- <li>
- <a href="index.php?host=Linode"> <i style="padding-left: 10px; padding-right:10px;" class="fab fa-linode"></i> Linode</a>
- </li>
- <li>
- <a href="index.php?host=Digital"> <i style="padding-left: 10px; padding-right:10px;"class="fab fa-digital-ocean"></i> Digital Ocean</a>
- </li>
- <li>
- <a href="index.php?host=Kyup"> <i style="padding-left: 12px; padding-right:12px;" class="fab fa-kickstarter-k"></i> Kyup</a>
- </li>
- <li>
- <a href="index.php?host=Conoha"><i style="padding-left: 10px; padding-right:10px;" class="far fa-copyright"></i> Conoha</a>
- </li>
- <li>
- <a href="index.php?host=Zcloud"><i style="padding-left: 10px; padding-right:10px;" class="fab fa-cloudversify"></i> Zcloud</a>
- </li>
- <li>
- <a href="index.php?host=Google"> <i style="padding-left: 10px; padding-right:10px;" class="fab fa-google"></i> Google Cloud</a>
- </li>
- <li>
- <a href="index.php?host=CTL"> <i style="padding-left: 10px; padding-right:10px;" class="fab fa-cuttlefish"></i> CTL</a>
- </li>
- <li>
- <a href="index.php?host=Scaleway"><i style="padding-left: 10px; padding-right:10px;" class="fas fa-balance-scale"></i> Scaleway</a>
- </li>
- <li>
- <a href="index.php?host=Amazon"> <i style="padding-left: 10px; padding-right:10px;" class="fab fa-aws"></i> Amazon</a>
- </li>
- <li>
- <!-- Link with dropdown items -->
- <a href="#setupSubmenu" data-toggle="collapse" aria-expanded="false"> Setup Instructions <i style="padding-left: 10px; padding-right:10px;" class="fas fa-caret-down"></i>
- </a>
- <ul class="collapse list-unstyled" id="setupSubmenu">
- <li><a href="https://gist.github.com/TheProxyGuru/183522ff8f38e219752c963e106d6e08" target="_blank">Read Before Setup</a></li>
- <li><a href="https://gist.github.com/TheProxyGuru/e1f3f3fa7ae90b3820d0bfc29d1aa653" target="_blank">How to change user and password</a></li>
- <li><a href="https://www.youtube.com/watch?v=e8dAMKE4zv8&feature=youtu.be" target="_blank">Vultr</a></li>
- <li><a href="https://www.youtube.com/watch?v=IaJ7Q6kdse0&feature=youtu.be" target="_blank">Linode</a></li>
- <li><a href="https://www.youtube.com/watch?v=_cmPKAcUZMk&feature=youtu.be" target="_blank">Digital Ocean</a></li>
- <li><a href="https://www.youtube.com/watch?v=hL1agkOe3cI&feature=youtu.be" target="_blank">Kyup</a></li>
- <li><a href="https://www.youtube.com/watch?v=8v-W4TK0WOA&feature=youtu.be" target="_blank">ZCloud</a></li>
- <li><a href="https://www.youtube.com/watch?v=8v-W4TK0WOA&feature=youtu.be" target="_blank">Conoha</a></li>
- <li><a href="https://www.youtube.com/watch?v=7EV67UOPLEI&feature=youtu.be" target="_blank">Google Cloud</a></li>
- <li><a href="https://www.youtube.com/watch?v=YNpMGbB8ods" target="_blank">CTL</a></li>
- <li><a href="https://www.youtube.com/watch?v=dhGrvyyJ53I&feature=youtu.be" target="_blank">Scaleway</a></li>
- <li><a href="https://www.youtube.com/watch?v=9X0rjuvICs4&feature=youtu.be" target="_blank">Amazon AWS</a></li>
- </ul>
- </li>
- <li>
- <!-- Link with dropdown items -->
- <a href="#helpMenu" data-toggle="collapse" aria-expanded="false"> Help <i style="padding-left: 10px; padding-right:10px;" class="fas fa-caret-down"></i>
- </a>
- <ul class="collapse list-unstyled" id="helpMenu">
- <li><a href="#">Supported Sites</a></li>
- <li><a href="index.php?page=Ports">Ports</a></li>
- <li><a href="index.php?page=Contact">Contact Us</a></li>
- <li><a href="#">FAQs</a></li>
- <li><a href="#">Update Notes V3</a></li>
- </ul>
- </li>
- <li>
- <a href="logout.php"> <i style="padding-left: 10px; padding-right:10px;" class="fas fa-sign-out-alt"></i> Logout</a>
- </li>
- </ul>
- </nav>
- <!-- Page Content Holder -->
- <div id="content">
- <?php
- if(!isset($_GET['page']))
- {
- if(!isset($_GET['host']))
- {
- ?>
- <style>
- .scroll-text{height:39px;width:1700px;font-size:26px;font-family:Verdana;font-weight:700;overflow:hidden;position:relative;margin:1px auto;color:#46158d}.scroll-text--inner{display:block;width:100%;margin:0;position:absolute;animation:scroll-text 10s linear infinite}.scroll-text--inner:hover{animation-play-state:paused}@keyframes scroll-text{0%{left:-10%}100%{left:43%}}
- </style>
- <?php
- include '../admin_config.php';
- ?>
- fsdfsdfsdfsdf
- <h1 style="text-align: center;"><span style="color: #ff6600;">fsdfsdfsdfsdf</span></h1>
- <p> </p>
- <p> </p>
- <h1 style="text-align: center;"><span style="color: #ff6600;">fsdfsdfsdfsdf</span></h1>
- <p> </p>
- <p> </p>
- <p> </p>
- <p style="text-align: left;"><img style="display: block;" src="https://i.imgur.com/d35fnHi.png" alt="" width="400" height="350" /></p>
- <p> </p>
- <div class="scroll-text">
- <div class="scroll-text--inner">
- <span>
- <?php echo $notificationText;?>
- </span>
- <span>
- <?php echo $notificationText;?>
- </span>
- </div>
- <?php
- }
- }
- ?>
- <?php
- if(empty($_GET['page']))
- {
- if(!empty($_GET['host']))
- {
- ?>
- <div class="iframe-container">
- <iframe class="iframe-handler" src="<?php echo $iframeURL;?>" scrolling="auto"></iframe>
- </div>
- <?php
- }
- }
- ?>
- <?php
- if(isset($_GET['page']))
- {
- $page = $_GET['page'];
- ?>
- <?php
- if($page == 'Contact')
- {
- ?>
- <div class="center-container">
- <h1 style="color: #11a32e;"> Contact Us </h1>
- ENTER YOUR CONTACT CONTENTS HERE
- </div>
- <?php
- }
- ?>
- <?php
- if($page == 'Ports')
- {
- ?>
- <div class="center-container">
- <h1 style="color: #11a32e;"> Ports </h1>
- ENTER YOUR PORT PAGE CONTENTS HERE
- </div>
- <?php
- }
- ?>
- <?php
- }
- ?>
- </div>
- </div>
- <!-- jQuery library -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
- <!-- Latest compiled JavaScript -->
- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function () {
- $('#sidebarCollapse').on('click', function () {
- $('#sidebar').toggleClass('active');
- });
- });
- </script>
- </body></html>
- <?php
- }
- else
- {
- ?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="robots" content="none">
- <title>TheProxyGuru - API Manager (Vultr)</title>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cyborg/bootstrap.min.css">
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
- <!--[if lt IE 9]>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
- <![endif]-->
- <style>
- * {
- }
- html {
- }
- body {
- padding-top: 50px;
- }
- a, a:link, a:active, a:hover {
- text-decoration: none;
- }
- </style>
- </head>
- <body>
- <!-- -->
- <div class="container-fluid" style="position: relative; left:40%; right:50%;">
- <div class="row">
- <div class="col-lg-3 text-center">
- <h6><a href=""></a></h6>
- <p style="text-align: center;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://i.imgur.com/d35fnHi.png" alt="" width="180" height="230" /></p>
- <h5 style="text-align: center;"><strong><span style="text-decoration: ;"><span style="color: #46158e; text-decoration: ;">PROXY CREATOR</span></span></strong></h5>
- <h5 style="text-align: center;"><strong><span style="text-decoration: ;"><span style="color: #46158e; text-decoration: ;">PLEASE LOGIN</span></span></strong></h5>
- <hr>
- <?php
- if(isset($_POST['loginBtn']))
- {
- include 'config.php';
- $username = $_POST['username'];
- $postedPassword = $_POST['password'];
- if($postedPassword == $password)
- {
- //Set the cookie
- setcookie(
- "login",
- $username,
- time() + (10 * 365 * 24 * 60 * 60)
- );
- echo '<div class="alert alert-success"> Login Successful.</div> <meta http-equiv="refresh" content="3;URL=" /> ';
- }
- else
- {
- echo "<div class='alert alert-danger'> Invalid Username and password.</div>";
- }
- }
- ?>
- </div>
- </div>
- </div>
- <div class="container-fluid" style="position: relative; left:40%; right:50%;">
- <div class="row">
- <div class="col-lg-3">
- <div class="panel panel-default">
- <div class="panel-heading">Login</div>
- <div class="panel-body">
- <form class="form" method="post">
- <div class="form-group">
- <input class="form-control" id="prefix" type="text" name="username" placeholder="Username">
- </div>
- <div class="form-group">
- <input class="form-control" id="prefix" type="text" name="password" placeholder="Password">
- </div>
- <button class="btn btn-primary btn-lg btn-block" id="list" type="submit" name="loginBtn">Login </button>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="container-fluid" style="position: relative; left:40%; right:50%;">
- <div class="row">
- <div class="col-lg-3 text-center">
- <hr>
- <p><small>© <?= date('Y') ?> <a href="https://TheProxyGuru.com" target="_blank">TheProxyGuru</a></small></p>
- </div>
- </div>
- </div>
- </body>
- </html>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement