Mini Shell

Direktori : /home/athamevents/public_html/admin/
Upload File :
Current File : /home/athamevents/public_html/admin/lives_view.php

<?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_lives.php"; 
               }
              </script>
             
              <script>
  
function myFunction(e) {
     if(e)
   

 var cn=e;
    if (confirm("Are you Want to Delete!") == true) {

        
        
		window.location.href = "lives_delete.php?pp1="+ cn;
	  
	 
	   funpicc_complet();
		
    } else {
       
    }
 
   
}
</script>

              
              
              
              
              
              
              
            <div class="row">
              <div class="col-lg-12">
                <div class="box">
                  <header class="dark">
                    <div class="icons">
                      <i class="fa fa-check"></i>
                    </div>
                    <h5>New Live Streaming Add</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">
                          
                         
<form class="form-horizontal" id="popup-validation" action="live_update.php" method="post" enctype="multipart/form-data">
                        
             <h1 align="center">Now Live Streaming</h1>
              
                        

  <style>
.city {
   float: center;
   margin-left:25%;
   padding: 10px;
   max-width: 500px;
}
</style>
                          
                           
                             
                          <?php
$youtube_link='';
$youtube_link_pass='';
$youtube_link_id='';
$youtube_link_name='';
$youtube_link_date='';                       
     $cli12=mysql_query("select * from nowlive where id='$id'  order by id desc");
    if($cli1fetch1=mysql_fetch_row($cli12))
{  

?>
                          <div class="city" >
                           
                         
                              <iframe class="img-responsive" src="https://www.youtube.com/embed/<?php echo $cli1fetch1[3];?>?rel=0&autoplay=1" autoplay=1 frameborder="0"   webkitallowfullscreen mozallowfullscreen allowfullscreen style="width:100%;"></iframe>
                              
                      
	   
                          
                           </div>
                          
                          
                            <?php 
 $youtube_link=$cli1fetch1[3];
 $youtube_link_pass=$cli1fetch1[4]; 
 $youtube_link_id=$cli1fetch1[0]; 
$youtube_link_name=$cli1fetch1[1];
$youtube_link_date=$cli1fetch1[2]; 
}  ?>
                          
                  

                      
                      
                      <br/>
                        
                      <div class="form-group">
                        <label class="control-label col-lg-4">Client Name</label>
                        <div class="col-lg-4">

<input type="name"  class="validate[required] form-control" name="name"  value="<?php echo $youtube_link_name; ?>"    required>
                      
                       </div>
                      </div>
                        
                         <div class="form-group">
                        <label class="control-label col-lg-4">Weddind Date</label>
                        <div class="col-lg-4">

<input type="date"  class="validate[required] form-control" name="date"  value="<?php echo $youtube_link_date; ?>"    required >
                      
                       </div>
                      </div>
                        
                     
                         
                    
                      <div class="form-group">
                        <label class="control-label col-lg-4">Youtube Video Link </label>
                        <div class="col-lg-4">

       <input type="text"  class="validate[required] form-control" name="youtubename" value="<?php echo $youtube_link; ?>"   required>
                      
                       </div>
                      </div>
                        
                        
                      <div class="form-group">
                        <label class="control-label col-lg-4">Password Set </label>
                        <div class="col-lg-4">

       <input type="text"  class="validate[required] form-control" name="pass" value="<?php echo $youtube_link_pass; ?>"   >
                      
                       </div>
                      </div>
                     
                       
       <input type="hidden"   name="id" value="<?php echo $youtube_link_id; ?>"   required>


            
                        
                        
             <input  type="hidden"  name="time"   required value="<?php echo date("h:i:sa"); ?>"/>

               
              
                    
                      
                      
                      <div class="form-actions no-margin-bottom" align="center">
                        <input type="submit" value="Update" class="btn btn-primary">
<input type="button" value="Delete" onclick="myFunction(this.id);" id="<?php echo $id;?>" class="btn btn-primary">
                         <input type="button" value="Back" onclick="back();" class="btn btn-primary">      
                      </div>
                    
             
                      
                        
                    </form>
                          
                          <br/><br/><br/>
                          
          
                          
                          
                  </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