AlexaMP

[host] iShort X

Feb 29th, 2020
793
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.02 KB | None | 0 0
  1. <?php
  2. $list_link = array(
  3.     "https://domain.co.id/ishortx.php",
  4.     "https://domain.com/ishortx.php"
  5. );
  6. ?>
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14. <html>
  15.     <head>
  16.         <title>iShort X</title>
  17.         <link rel='shortcut icon' href='https://image.flaticon.com/icons/svg/61/61353.svg'>
  18.         <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
  19.         <link href="https://fonts.googleapis.com/css?family=Roboto|Trade+Winds&display=swap" rel="stylesheet">
  20.         <style type='text/css'>
  21.             body{
  22.                 margin:0 auto;
  23.                 min-width:800px;
  24.                 height:100%;
  25.                 background:url(https://wallpaperaccess.com/full/428865.jpg)no-repeat;
  26.                 background-size:cover;
  27.                 background-attachment:fixed;
  28.                 font-family: 'Roboto' ;
  29.             }
  30.             form{
  31.                 margin:0 auto;
  32.                 font-family: 'Roboto' ;
  33.             }
  34.             .transparan{
  35.                 width:100%;
  36.                 height:100%;
  37.                 background-color:rgba(0,0,0,0.5);
  38.             }
  39.             .notify{
  40.                 padding:30px 50px;
  41.             }
  42.             .form{
  43.                 margin:0 auto;
  44.                 margin-top:200px;
  45.                 width:70%;
  46.                 font-family: 'Roboto' ;
  47.             }
  48.             .ses1{
  49.                 margin:0;
  50.                 display:inline-block;
  51.                 width:20%;
  52.             }
  53.             .ses2{
  54.                 margin:0;
  55.                 display:inline-block;
  56.                 width:70%;
  57.             }
  58.             .ses3{
  59.                 margin:0;
  60.                 display:inline-block;
  61.                 width:9%;
  62.             }
  63.             select{
  64.                 width:100%;
  65.                 padding:15px;
  66.                 font-size:15px;
  67.                 border:1px solid #fff;
  68.                 border-radius:10px 0px 0px 10px;
  69.             }
  70.             input{
  71.                 width:100%;
  72.                 padding:15px;
  73.                 font-size:15px;
  74.                 border:1px solid #fff;
  75.                 border-radius:0px 0px 0px 0px;
  76.                 font-family: 'Trade Winds', ;
  77.             }
  78.             button{
  79.                 width:100%;
  80.                 padding:15px;
  81.                 font-size:15px;
  82.                 border-radius:0px 10px 10px 0px;
  83.                 background:tomato;
  84.                 border:1px solid tomato;
  85.                 color:#fff;
  86.                 font-family: 'Trade Winds', ;
  87.             }
  88.         </style>
  89.     </head>
  90.     <body>
  91.         <div class='transparan'>
  92.             <div class='notify'>
  93.                 <h1 style="font-family:'Trade Winds';color:white;margin:0">
  94.                     iShort X
  95.                 </h1>
  96.             </div>
  97.             <form method='post' action=''>
  98.                 <div class='form'>
  99.                     <div class='ses1'><select name='protocol'><option>https://</option><option>http://</option></select></div>
  100.                     <div class='ses2'><input type='text' name='uri' placeholder='domain.com'></div>
  101.                     <div class='ses3'><button type='submit' name='submit' value='submit'>Go</button></div>
  102.                 </div>
  103.             </form>
  104.             <?php
  105.             if($_POST['submit']){
  106.                 if($_POST['uri']){
  107.                     ?>
  108.                 <div style="margin:0 auto;margin-top:30px;border-radius:10px;padding:15px;font-family: 'Roboto';width:70%;background:#fff;border:1px solid #fff;">
  109.                     <?php
  110.                     $coco = base64_encode("$_POST[protocol]$_POST[uri]");
  111.                     for($o=0;$o<=$i=count($list_link)-1;$o++){
  112.                         echo "<input type='text' value='$list_link[$o]?path=$coco' style='width:100%;padding:3px;margin-top:5px;margin-bottom:5px;background:#DEDEDE;border:1px solid #333' readonly'>";
  113.                     }
  114.                     ?>
  115.                 </div>
  116.                     <?php
  117.                 }
  118.             }
  119.             ?>
  120.         </div>
  121.     </body>
  122. </html>
Advertisement
Add Comment
Please, Sign In to add comment