Mini Shell
<?php include'header.php'; ?>
<?php include'menu.php'; ?>
<?php
$id=$_REQUEST["pp1"];
?>
<!-- /#Start -->
<!-- /#Start -->
</div><!-- /#left -->
<div id="content">
<div class="outer">
<div class="inner bg-light lter">
<style>
.form-control.col-lg-6 {
width: 50% !important;
}
</style>
<script>
function back()
{
window.location.href="all_video.php";
}
</script>
<script>
function myFunction(e) {
if(e)
var cn=e;
if (confirm("Are you Want to Delete!") == true) {
window.location.href = "video_delete.php?pp1="+ cn;
funpicc_complet();
} else {
}
}
</script>
<div class="row">
<div class="col-lg-12">
<div class="box" style="auto">
<header class="dark">
<div class="icons">
<i class="fa fa-check"></i>
</div>
<h5>View Video Pic</h5>
<!-- .toolbar -->
<div class="toolbar">
<nav style="padding: 8px;">
<a href="javascript:;" class="btn btn-default btn-xs collapse-box">
<i class="fa fa-minus"></i>
</a>
<a href="javascript:;" class="btn btn-default btn-xs full-box">
<i class="fa fa-expand"></i>
</a>
<a href="javascript:;" class="btn btn-danger btn-xs close-box">
<i class="fa fa-times"></i>
</a>
</nav>
</div><!-- /.toolbar -->
</header>
<div id="collapse2" class="body">
<style>
.city {
float: center;
margin: 120px;
padding: 10px;
max-width: 500px;
height: 400px;
margin-top: 70px;
}
</style>
<style>
iframe {
width: 100%;
height: 500px;
}
@media (max-width:840px){
iframe
{
height: 310px;
}
}
</style>
<style>
@media (max-width:440px){
iframe
{
height: 200px;
}
}
</style>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<?php
$cli12=mysql_query("select * from video where id='$id' order by id desc");
while($cli1fetch1=mysql_fetch_row($cli12))
{
if($cli1fetch1[5]==1)
{
?>
<div class="city" >
<button class="btn-danger btn-delete" style="position:absolute;margin-top:10px; margin-left:170px;" onclick="myFunction(this.id);" id="<?php echo $cli1fetch1[0];?>" >X</button>
<iframe class="img-responsive" src="https://www.youtube.com/embed/<?php echo $cli1fetch1[3];?>" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen ></iframe>
</div>
<?php
}
if($cli1fetch1[5]==0)
{
?>
<style>
video {
width: 100%;
height: auto;
}
</style>
<div class="city" >
<button class="btn-danger btn-delete" style="position:absolute;margin-top:10px; margin-left:170px;" onclick="myFunction(this.id);" id="<?php echo $cli1fetch1[0];?>" >X</button>
<video width="400" controls>
<source src="video_pic/<?php echo $cli1fetch1[4];?>" type="video/mp4">
</video>
</div>
<?php
}
?>
<style>
</style>
<script>
$(document).ready(function(){
$(".btn-delete").fadeOut();
$(".img-work").mouseover(function(){
$(this).siblings().fadeIn();
});
$(".img-work").mouseout(function(){
$(this).siblings().fadeOut();
});
});
</script>
<div class="form-actions no-margin-bottom" align="center" style="margin-top:-210px;">
<input type="button" value="Delete" onclick="myFunction(this.id);" id="<?php echo $cli1fetch1[0];?>" class="btn btn-primary">
<input type="button" value="Back" onclick="back();" class="btn btn-primary">
</div>
<?php
}
?>
</div>
</div>
</div><!-- /.col-lg-12 -->
</div><!-- /.row -->
</div><!-- /.inner -->
</div><!-- /.outer -->
</div><!-- /#content -->
</div><!-- /#wrap -->
<?php include'footer.php'; ?>
Zerion Mini Shell 1.0