Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2018
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.75 KB | None | 0 0
  1. <?php
  2. include 'config.php';
  3. if(isset($_GET['host']))
  4. {
  5. $hosts = $_GET['host'];
  6. $host = array();
  7. $host[] = array('name' => 'Vultr', 'url' => 'Vultr/settings1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
  8. $host[] = array('name' => 'Linode', 'url' => 'Linode/settings_linode3.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
  9. $host[] = array('name' => 'Digital', 'url' => 'DigitalOcean/settings_do1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
  10. $host[] = array('name' => 'Kyup', 'url' => 'Kyup/settings_kyup4.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
  11. $host[] = array('name' => 'Conoha', 'url' => 'Conoha/index1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
  12. $host[] = array('name' => 'Zcloud', 'url' => 'ZCloud/index1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
  13. $host[] = array('name' => 'Google', 'url' => 'GoogleCloud/index1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
  14. $host[] = array('name' => 'CTL', 'url' => 'CTL/settings1.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
  15. $host[] = array('name' => 'Scaleway', 'url' => 'ScalewayFinal/index.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
  16. $host[] = array('name' => 'Amazon', 'url' => 'Amazon/index.php', 'youtube' => 'https://www.youtube.com/embed/e8dAMKE4zv8');
  17.  
  18. foreach($host AS $provider)
  19. {
  20. $name = $provider['name'];
  21. $url = $provider['url'];
  22. $youtube = $provider['youtube'];
  23.  
  24. if($name == $hosts)
  25. {
  26. $iframeURL = $url;
  27. $youtubeURL = $youtube;
  28. }
  29.  
  30. }
  31. }
  32. ?>
  33.  
  34. <?php
  35.  
  36. if(isset($_COOKIE['login']))
  37. {
  38.  
  39. if($_COOKIE['login'] != $username)
  40. {
  41. setcookie(
  42. "login",
  43. '',
  44. time()
  45. );
  46. }
  47. ?>
  48. <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  49.  
  50. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  51. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  52.  
  53. <title>TheProxyGuru Proxy Creator</title>
  54. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
  55.  
  56. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  57.  
  58.  
  59. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
  60.  
  61. <style>
  62.  
  63. @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}}
  64. </style>
  65. </head>
  66. <body>
  67.  
  68.  
  69.  
  70. <div class="wrapper">
  71. <!-- Sidebar Holder -->
  72. <nav id="sidebar">
  73. <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>
  74. <ul class="list-unstyled components">
  75.  
  76. <li>
  77. <a href="index.php"> <i style="padding-left: 10px; padding-right:10px;" class="fas fa-home"></i> Dashboard </a>
  78. </li>
  79.  
  80. <li>
  81. <a href="index.php?host=Vultr"> <i style="padding-left: 10px; padding-right:10px;" class="fab fa-vuejs"></i> Vultr</a>
  82. </li>
  83. <li>
  84. <a href="index.php?host=Linode"> <i style="padding-left: 10px; padding-right:10px;" class="fab fa-linode"></i> Linode</a>
  85. </li>
  86. <li>
  87. <a href="index.php?host=Digital"> <i style="padding-left: 10px; padding-right:10px;"class="fab fa-digital-ocean"></i> Digital Ocean</a>
  88. </li>
  89. <li>
  90. <a href="index.php?host=Kyup"> <i style="padding-left: 12px; padding-right:12px;" class="fab fa-kickstarter-k"></i> Kyup</a>
  91. </li>
  92. <li>
  93. <a href="index.php?host=Conoha"><i style="padding-left: 10px; padding-right:10px;" class="far fa-copyright"></i> Conoha</a>
  94. </li>
  95. <li>
  96. <a href="index.php?host=Zcloud"><i style="padding-left: 10px; padding-right:10px;" class="fab fa-cloudversify"></i> Zcloud</a>
  97. </li>
  98. <li>
  99. <a href="index.php?host=Google"> <i style="padding-left: 10px; padding-right:10px;" class="fab fa-google"></i> Google Cloud</a>
  100. </li>
  101. <li>
  102. <a href="index.php?host=CTL"> <i style="padding-left: 10px; padding-right:10px;" class="fab fa-cuttlefish"></i> CTL</a>
  103. </li>
  104. <li>
  105. <a href="index.php?host=Scaleway"><i style="padding-left: 10px; padding-right:10px;" class="fas fa-balance-scale"></i> Scaleway</a>
  106. </li>
  107. <li>
  108. <a href="index.php?host=Amazon"> <i style="padding-left: 10px; padding-right:10px;" class="fab fa-aws"></i> Amazon</a>
  109. </li>
  110.  
  111. <li>
  112. <!-- Link with dropdown items -->
  113. <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>
  114.  
  115. </a>
  116. <ul class="collapse list-unstyled" id="setupSubmenu">
  117. <li><a href="https://gist.github.com/TheProxyGuru/183522ff8f38e219752c963e106d6e08" target="_blank">Read Before Setup</a></li>
  118. <li><a href="https://gist.github.com/TheProxyGuru/e1f3f3fa7ae90b3820d0bfc29d1aa653" target="_blank">How to change user and password</a></li>
  119. <li><a href="https://www.youtube.com/watch?v=e8dAMKE4zv8&feature=youtu.be" target="_blank">Vultr</a></li>
  120. <li><a href="https://www.youtube.com/watch?v=IaJ7Q6kdse0&feature=youtu.be" target="_blank">Linode</a></li>
  121. <li><a href="https://www.youtube.com/watch?v=_cmPKAcUZMk&feature=youtu.be" target="_blank">Digital Ocean</a></li>
  122. <li><a href="https://www.youtube.com/watch?v=hL1agkOe3cI&feature=youtu.be" target="_blank">Kyup</a></li>
  123. <li><a href="https://www.youtube.com/watch?v=8v-W4TK0WOA&feature=youtu.be" target="_blank">ZCloud</a></li>
  124. <li><a href="https://www.youtube.com/watch?v=8v-W4TK0WOA&feature=youtu.be" target="_blank">Conoha</a></li>
  125. <li><a href="https://www.youtube.com/watch?v=7EV67UOPLEI&feature=youtu.be" target="_blank">Google Cloud</a></li>
  126. <li><a href="https://www.youtube.com/watch?v=YNpMGbB8ods" target="_blank">CTL</a></li>
  127. <li><a href="https://www.youtube.com/watch?v=dhGrvyyJ53I&feature=youtu.be" target="_blank">Scaleway</a></li>
  128. <li><a href="https://www.youtube.com/watch?v=9X0rjuvICs4&feature=youtu.be" target="_blank">Amazon AWS</a></li>
  129. </ul>
  130. </li>
  131.  
  132. <li>
  133. <!-- Link with dropdown items -->
  134. <a href="#helpMenu" data-toggle="collapse" aria-expanded="false"> Help <i style="padding-left: 10px; padding-right:10px;" class="fas fa-caret-down"></i>
  135.  
  136. </a>
  137. <ul class="collapse list-unstyled" id="helpMenu">
  138. <li><a href="#">Supported Sites</a></li>
  139. <li><a href="index.php?page=Ports">Ports</a></li>
  140. <li><a href="index.php?page=Contact">Contact Us</a></li>
  141. <li><a href="#">FAQs</a></li>
  142. <li><a href="#">Update Notes V3</a></li>
  143.  
  144. </ul>
  145. </li>
  146.  
  147.  
  148.  
  149.  
  150. <li>
  151. <a href="logout.php"> <i style="padding-left: 10px; padding-right:10px;" class="fas fa-sign-out-alt"></i> Logout</a>
  152. </li>
  153.  
  154. </ul>
  155.  
  156.  
  157. </nav>
  158.  
  159. <!-- Page Content Holder -->
  160. <div id="content">
  161.  
  162. <?php
  163. if(!isset($_GET['page']))
  164. {
  165. if(!isset($_GET['host']))
  166. {
  167. ?>
  168. <style>
  169. .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%}}
  170. </style>
  171. <?php
  172. include '../admin_config.php';
  173. ?>
  174.  
  175. fsdfsdfsdfsdf
  176. <h1 style="text-align: center;"><span style="color: #ff6600;">fsdfsdfsdfsdf</span></h1>
  177. <p>&nbsp;</p>
  178. <p>&nbsp;</p>
  179. <h1 style="text-align: center;"><span style="color: #ff6600;">fsdfsdfsdfsdf</span></h1>
  180. <p>&nbsp;</p>
  181. <p>&nbsp;</p>
  182. <p>&nbsp;</p>
  183.  
  184. <p style="text-align: left;"><img style="display: block;" src="https://i.imgur.com/d35fnHi.png" alt="" width="400" height="350" /></p>
  185.  
  186. <p>&nbsp;</p>
  187.  
  188.  
  189.  
  190.  
  191. <div class="scroll-text">
  192. <div class="scroll-text--inner">
  193. <span>
  194. <?php echo $notificationText;?>&nbsp;&nbsp;
  195. </span>
  196. <span>
  197. <?php echo $notificationText;?>
  198. </span>
  199.  
  200. </div>
  201.  
  202. <?php
  203.  
  204.  
  205.  
  206. }
  207. }
  208. ?>
  209.  
  210.  
  211. <?php
  212. if(empty($_GET['page']))
  213. {
  214. if(!empty($_GET['host']))
  215. {
  216. ?>
  217. <div class="iframe-container">
  218.  
  219. <iframe class="iframe-handler" src="<?php echo $iframeURL;?>" scrolling="auto"></iframe>
  220.  
  221. </div>
  222.  
  223.  
  224.  
  225.  
  226. <?php
  227. }
  228. }
  229. ?>
  230.  
  231.  
  232. <?php
  233. if(isset($_GET['page']))
  234. {
  235. $page = $_GET['page'];
  236. ?>
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244. <?php
  245. if($page == 'Contact')
  246. {
  247. ?>
  248. <div class="center-container">
  249. <h1 style="color: #11a32e;"> Contact Us </h1>
  250.  
  251. ENTER YOUR CONTACT CONTENTS HERE
  252.  
  253. </div>
  254. <?php
  255. }
  256. ?>
  257.  
  258.  
  259. <?php
  260. if($page == 'Ports')
  261. {
  262. ?>
  263. <div class="center-container">
  264. <h1 style="color: #11a32e;"> Ports </h1>
  265.  
  266. ENTER YOUR PORT PAGE CONTENTS HERE
  267.  
  268. </div>
  269. <?php
  270. }
  271. ?>
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324. <?php
  325. }
  326. ?>
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335. </div>
  336. </div>
  337.  
  338.  
  339.  
  340.  
  341.  
  342. <!-- jQuery library -->
  343. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  344. <!-- Latest compiled JavaScript -->
  345. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  346.  
  347. <script type="text/javascript">
  348. $(document).ready(function () {
  349. $('#sidebarCollapse').on('click', function () {
  350. $('#sidebar').toggleClass('active');
  351. });
  352. });
  353. </script>
  354.  
  355.  
  356. </body></html>
  357.  
  358. <?php
  359. }
  360. else
  361. {
  362. ?>
  363.  
  364. <!DOCTYPE html>
  365. <html lang="en">
  366. <head>
  367. <meta charset="utf-8">
  368. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  369. <meta name="viewport" content="width=device-width, initial-scale=1">
  370. <meta name="robots" content="none">
  371. <title>TheProxyGuru - API Manager (Vultr)</title>
  372. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
  373. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cyborg/bootstrap.min.css">
  374. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
  375. <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
  376. <!--[if lt IE 9]>
  377. <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
  378. <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
  379. <![endif]-->
  380. <style>
  381. * {
  382.  
  383. }
  384. html {
  385.  
  386. }
  387. body {
  388. padding-top: 50px;
  389. }
  390. a, a:link, a:active, a:hover {
  391. text-decoration: none;
  392. }
  393. </style>
  394. </head>
  395. <body>
  396. <!-- -->
  397.  
  398. <div class="container-fluid" style="position: relative; left:40%; right:50%;">
  399.  
  400. <div class="row">
  401. <div class="col-lg-3 text-center">
  402.  
  403. <h6><a href=""></a></h6>
  404. <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>
  405. <h5 style="text-align: center;"><strong><span style="text-decoration: ;"><span style="color: #46158e; text-decoration: ;">PROXY CREATOR</span></span></strong></h5>
  406. <h5 style="text-align: center;"><strong><span style="text-decoration: ;"><span style="color: #46158e; text-decoration: ;">PLEASE LOGIN</span></span></strong></h5>
  407. <hr>
  408.  
  409. <?php
  410. if(isset($_POST['loginBtn']))
  411. {
  412. include 'config.php';
  413. $username = $_POST['username'];
  414. $postedPassword = $_POST['password'];
  415. if($postedPassword == $password)
  416. {
  417. //Set the cookie
  418. setcookie(
  419. "login",
  420. $username,
  421. time() + (10 * 365 * 24 * 60 * 60)
  422. );
  423.  
  424. echo '<div class="alert alert-success"> Login Successful.</div> <meta http-equiv="refresh" content="3;URL=" /> ';
  425. }
  426. else
  427. {
  428. echo "<div class='alert alert-danger'> Invalid Username and password.</div>";
  429. }
  430. }
  431. ?>
  432. </div>
  433. </div>
  434. </div>
  435.  
  436.  
  437.  
  438. <div class="container-fluid" style="position: relative; left:40%; right:50%;">
  439. <div class="row">
  440. <div class="col-lg-3">
  441. <div class="panel panel-default">
  442. <div class="panel-heading">Login</div>
  443. <div class="panel-body">
  444. <form class="form" method="post">
  445.  
  446. <div class="form-group">
  447. <input class="form-control" id="prefix" type="text" name="username" placeholder="Username">
  448. </div>
  449.  
  450.  
  451. <div class="form-group">
  452. <input class="form-control" id="prefix" type="text" name="password" placeholder="Password">
  453. </div>
  454. <button class="btn btn-primary btn-lg btn-block" id="list" type="submit" name="loginBtn">Login </button>
  455. </form>
  456. </div>
  457. </div>
  458. </div>
  459. </div>
  460. </div>
  461.  
  462. <div class="container-fluid" style="position: relative; left:40%; right:50%;">
  463. <div class="row">
  464. <div class="col-lg-3 text-center">
  465. <hr>
  466. <p><small>&copy; <?= date('Y') ?> <a href="https://TheProxyGuru.com" target="_blank">TheProxyGuru</a></small></p>
  467. </div>
  468. </div>
  469. </div>
  470. </body>
  471. </html>
  472. <?php
  473. }
  474. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement