Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $list_link = array(
- "https://domain.co.id/ishortx.php",
- "https://domain.com/ishortx.php"
- );
- ?>
- <html>
- <head>
- <title>iShort X</title>
- <link rel='shortcut icon' href='https://image.flaticon.com/icons/svg/61/61353.svg'>
- <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Roboto|Trade+Winds&display=swap" rel="stylesheet">
- <style type='text/css'>
- body{
- margin:0 auto;
- min-width:800px;
- height:100%;
- background:url(https://wallpaperaccess.com/full/428865.jpg)no-repeat;
- background-size:cover;
- background-attachment:fixed;
- font-family: 'Roboto' ;
- }
- form{
- margin:0 auto;
- font-family: 'Roboto' ;
- }
- .transparan{
- width:100%;
- height:100%;
- background-color:rgba(0,0,0,0.5);
- }
- .notify{
- padding:30px 50px;
- }
- .form{
- margin:0 auto;
- margin-top:200px;
- width:70%;
- font-family: 'Roboto' ;
- }
- .ses1{
- margin:0;
- display:inline-block;
- width:20%;
- }
- .ses2{
- margin:0;
- display:inline-block;
- width:70%;
- }
- .ses3{
- margin:0;
- display:inline-block;
- width:9%;
- }
- select{
- width:100%;
- padding:15px;
- font-size:15px;
- border:1px solid #fff;
- border-radius:10px 0px 0px 10px;
- }
- input{
- width:100%;
- padding:15px;
- font-size:15px;
- border:1px solid #fff;
- border-radius:0px 0px 0px 0px;
- font-family: 'Trade Winds', ;
- }
- button{
- width:100%;
- padding:15px;
- font-size:15px;
- border-radius:0px 10px 10px 0px;
- background:tomato;
- border:1px solid tomato;
- color:#fff;
- font-family: 'Trade Winds', ;
- }
- </style>
- </head>
- <body>
- <div class='transparan'>
- <div class='notify'>
- <h1 style="font-family:'Trade Winds';color:white;margin:0">
- iShort X
- </h1>
- </div>
- <form method='post' action=''>
- <div class='form'>
- <div class='ses1'><select name='protocol'><option>https://</option><option>http://</option></select></div>
- <div class='ses2'><input type='text' name='uri' placeholder='domain.com'></div>
- <div class='ses3'><button type='submit' name='submit' value='submit'>Go</button></div>
- </div>
- </form>
- <?php
- if($_POST['submit']){
- if($_POST['uri']){
- ?>
- <div style="margin:0 auto;margin-top:30px;border-radius:10px;padding:15px;font-family: 'Roboto';width:70%;background:#fff;border:1px solid #fff;">
- <?php
- $coco = base64_encode("$_POST[protocol]$_POST[uri]");
- for($o=0;$o<=$i=count($list_link)-1;$o++){
- 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'>";
- }
- ?>
- </div>
- <?php
- }
- }
- ?>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment