| Server IP : 103.82.32.14 / Your IP : 216.73.217.55 Web Server : Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 System : Linux cloud.lonmanhoabinh.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : lonmakmf ( 524) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/bumphmxd/public_html/photo/ |
Upload File : |
<?php
?>
<!DOCTYPE html>
<html>
<head>
<title>Google Photo</title>
<link rel="shortcut icon" href="https://images.vexels.com/media/users/3/137425/isolated/preview/f2ea1ded4d037633f687ee389a571086-logotipo-de-youtube-icono-by-vexels.png" type="image/x-icon" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.0/sweetalert.min.js"></script>
<script type="text/javascript" src="assets/js/apicodes.min.js"></script>
</head>
<body>
<div class="container">
<div class="jumbotron mt-3">
<center><a href="https://ibb.co/gRec5d"><img src="https://image.ibb.co/b1BBTd/youtube_certified.png" alt="youtube_certified" border="0"></a></center>
</div>
<form id="action-form" action="action.php" method="POST" accept-charset="utf-8">
<div class="form-group">
<label class="font-weight-bold">URL:</label>
<input type="text" name="link" class="form-control" placeholder="Ex: https://photos.google.com/share/AF1QipPsU5wF954O4FwAaLp1YiTmCBv1c2cHg2dpu53fpVFggA_Ba8N9V0yH2mo7mcEHEQ/photo/AF1QipN2p_PrQiRRKgeg5flVmTaS-NSVbhTsfp1b15cf?key=NU81ZkxmY09NMWp0M01QNlY3Mng5OVA5VXNzUjJn" onclick="this.select()" required>
</div>
<div class="row">
<div class="col-md-11" id="sub">
<div id="sub-block">
<div class="row">
<div class="col-md-7">
<div class="form-group">
<label class="font-weight-bold">Subtitle</label>
<input type="text" class="form-control" name="sub[0]" placeholder="Ex: https://demo.com/the.boss.baby.srt (optional)" onclick="this.select()">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="form-group">
<label class="font-weight-bold">Poster</label>
<input type="text" name="poster" class="form-control" placeholder="Ex: https://demo.com/the-boss-baby-poster.jpg (optional)" onclick="this.select()">
</div>
<div class="form-group">
<button type="submit" id="action-submit" class="btn btn-lg btn-primary btn-block"> <span id="fa-loading"><i class="fa fa-arrow-circle-right"></i></span> Generate</button>
</div>
</form>
<div class="form-group">
<label class="font-weight-bold">URL Encoding</label>
<input type="text" id="url-encode" class="form-control" placeholder="URL after encoding will display here..." onclick="this.select()">
</div>
<div class="form-group">
<label class="font-weight-bold">Iframe Encoding</label>
<textarea rows="5" class="form-control" id="iframe-encode" placeholder="URL with iframe after encoding will display here..." onclick="this.select()"></textarea>
</div>
<?php $domainServer = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://" . $_SERVER['SERVER_NAME'] . dirname($_SERVER['PHP_SELF']); ?>
<script type="text/javascript">
jQuery(function ($) {
$('#action-form').submit(function(e) {
e.preventDefault();
$('#action-submit').prop('disabled', !0);
$('#fa-loading').html('<i class="fa fa-spinner fa-spin"></i>');
var b = $(this).serializeArray(), c = $(this).attr('action');
$.ajax({
type: 'POST',
dataType: 'text',
url: c,
data: b,
error: function (result) {
alert("Something went wrong. Please try again!");
$('#fa-loading').html('<i class="fa fa-arrow-circle-right"></i>');
$('#action-submit').removeAttr('disabled');
},
success: function (result) {
$('#url-encode').val('<?php echo $domainServer . '/embed.php?data=' ?>'+result+'');
$('#iframe-encode').html('<iframe src="<?php echo $domainServer . '/embed.php?data=' ?>'+result+'" width="100%" height="100%" frameborder="0" allowfullscreen></iframe>');
$('#fa-loading').html('<i class="fa fa-arrow-circle-right"></i>');
$('#action-submit').removeAttr('disabled');
}
});
});
});
</script>
<hr>
<footer class="footer">
</footer>
</div><!-- /.container -->
</body>
</html>