( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/tmpr/..//tmpr/../tmpr/../pages/updateDistribution.php
<?php

$VideoPath = "uploads/live/";
$live_img = 'uploads/images/';	


 
 $newsid = $db->base64url_decode($newsid);

$result = $db->getdistributionbyid($newsid);
$catalogid = $result[0]["catalogid"];
$title = $result[0]["title"];
$overall = ($result[0]["originality"] + $result[0]["quality"] + $result[0]["sound"] + $result[0]["creativity"])/4;
 $original = $result[0]["original"];
  $type = $result[0]["type"];
 $content = $result[0]["content"];
$viewnum = $result[0]["viewnum"];
$rating = $result[0]["rating"];
$picture = $result[0]["picture"];
$ratenum = $result[0]["ratenum"];
$episodeid = $result[0]["episodeid"];
$slug = $result[0]["slug"];
$keywords = $result[0]["keywords"];
$isdisplay = $result[0]["isdisplay"];
$description = $result[0]["description"];
$vcat = $result[0]["vcat"];
$summary = $result[0]["summary"];
$video = $result[0]["video"];
$thumb= $result[0]["thumb"];
$type= $result[0]["type"];
$newsid= $result[0]["newsid"];   
$picturemeY=$db->Profile_Pic($catalogid);	 
?>
 <form action="indexAlone.php?mode=ziqi&min=yes" name="myform" id="myform" method="POST" >
<table width="100%" border="0">
  <tr>
    <td width="62%" valign="top"> <h2 style="margin-top:0px" class="post-title">Add Title & Details</h2> </td>
    <td width="38%" align="right" valign="top">
    
    
    
    <input name="editnewsr2" value="Save " type="submit"  class="btn-lg btn-info pull-right  " style=" margin-top:2px;border:0px;width:105px; margin-right:20px; background-color:#F2B601"  >
    
    
     
    </td>
  </tr>
  
   
</table>

<br />
 
  <link rel="stylesheet" type="text/css" media="all" href="pages/ziqi/initaudioplayer.css" />
<?php if($type=="jpg" || $type=="png" || $type=="gif" ) {?><img src="<?php echo $siteaddress;?>taswira.php?width=600&amp;cropratio=1.666666666666667:1&amp;image=/v/uploads/distribution/<?php echo $picture ?>" alt="edit thumb" title="Published: 2014-03-24" style=" width:100%"><?php } ?>
<?php if($type=="mp3" || $type=="avi" || $type=="ogg") {?>



<script type='text/javascript' src='pages/ziqi/OnaTVaudioplayer.js'></script>


 <div id="OnaAudioPlayer" style="display:block;position:relative;width:100%;height:300px;margin:0px auto 0px;">
          <ul class="OnaTVaudioplayer-audios" style="display:none;">
          
           <li data-artist="<?php 
					  
                $nameinfo2 = $db->getallugccatalogname(); 
                if (!empty($nameinfo2)){
	            while (list($key,$val)=each($nameinfo2)) {
		    $tempcatalogid2 = stripslashes($val["catalogid"]);
		    $catalogname = stripslashes($val["catalogname"]);
			$slug = stripslashes($val["slug"]);
		    if ($catalogid==$tempcatalogid2){   print " $catalogname";  }
		 
		 		 }
		}
              ?>" data-title="<?php echo $title ?>" data-album="<?php 
					  
                $nameinfo2 = $db->getallugccatalogname(); 
                if (!empty($nameinfo2)){
	            while (list($key,$val)=each($nameinfo2)) {
		    $tempcatalogid2 = stripslashes($val["catalogid"]);
		    $user_name = stripslashes($val["user_name"]);
			$slug = stripslashes($val["slug"]);
		    if ($catalogid==$tempcatalogid2){   print " $user_name";  }
		 
		 		 }
		}
              ?>" data-info="ggggggg" data-image="<?php   if(!empty($pichaC)) { ?><?php echo $siteaddress3 ?>taswira.php?quality=70<?php /*?>&nocache=1<?php */?>&width=100&height=100&cropratio=1:1&image=/v/uploads/gthumbs/<?php echo $pichaC;?><?php } else {?><?php echo $siteaddress3 ?>taswira.php?quality=70<?php /*?>&nocache=1<?php */?>&width=100&height=100&cropratio=1:1&image=/images/user.png<?php } ?>" data-duration="137">
              <div class="OnaTVaudioplayer-source" data-src="v/uploads/distribution/<?php echo $original ?>" data-type="audio/mpeg" />
              <?php /*?><div class="OnaTVaudioplayer-source" data-src="Inspiring Ideas into Motion.ogg" data-type="audio/ogg" /><?php */?>
            </li>
            
            </ul>
         
        </div>
        <script src="pages/ziqi/initaudioplayer.js"></script> 
      
      <!-- #content --> 
    
    <!-- #primary --> 
    
 

<?php } ?>
<?php if($type=="mp4" || $type=="mov") {?>

	<style type="text/css">
		

/* Reset CSS */
.mejs-inner,
.mejs-inner div,
.mejs-inner a,
.mejs-inner span,
.mejs-inner button {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}

/* Video Container / General Styles */
.mejs-container {
	position: relative;
	background: #000000;
}

.mejs-inner {
	position: relative;
	width: inherit;
	height: inherit;
}

.me-plugin { position: absolute; }

.mejs-container-fullscreen .mejs-mediaelement,
.mejs-container-fullscreen video,
.mejs-embed,
.mejs-embed body,
.mejs-mediaelement {
	width: 100%;
	height: 100%;
}

.mejs-embed,
.mejs-embed body {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.mejs-container-fullscreen {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	z-index: 1000;

}

.mejs-poster img { display: block; }

.mejs-background,
.mejs-mediaelement,
.mejs-poster,
.mejs-overlay {
	position: absolute;
	top: 0;
	left: 0;
}

.mejs-overlay-play { cursor: pointer; }

.mejs-inner .mejs-overlay-button {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 63px;
	height: 56px;
	margin: -25px 0 0 -25px;
	background: url(images/play.png) no-repeat;
}

/* Controls Container */
.mejs-container .mejs-controls {
	position: absolute;
	width: 100%;
	height: 34px;
	left: 0;
	bottom: 0;
	/*background: rgb(0,0,0); *//* IE8- */
/*	background: rgba(0,0,0, .7);*/
}

/* Controls Buttons */
.mejs-controls .mejs-button button {
	display: block;
	cursor: pointer;
	width: 16px;
	height: 16px;
	background: transparent url(images/controls.png);
}

/* Play & Pause Button */
.mejs-controls div.mejs-playpause-button {
	position: absolute;
	top: 12px;
	left: 15px;
}

.mejs-controls .mejs-play button,
.mejs-controls .mejs-pause button {
	width: 12px;
	height: 12px;
	background-position: 0 0;
}

.mejs-controls .mejs-pause button { background-position: 0 -12px; }

/* Mute & Unmute */
.mejs-controls div.mejs-volume-button {
	position: absolute;
	top: 12px;
	left: 45px;
}

.mejs-controls .mejs-mute button,
.mejs-controls .mejs-unmute button {
	width: 14px;
	height: 12px;
	background-position: -12px 0;
}

.mejs-controls .mejs-unmute button { background-position: -12px -12px; }

/* Full-Screen Button */
.mejs-controls div.mejs-fullscreen-button {
	position: absolute;
	top: 7px;
	right: 7px;
	display:none
}

.mejs-controls .mejs-fullscreen-button button,
.mejs-controls .mejs-unfullscreen button {
	width: 27px;
	height: 22px;
	background-position: -26px 0;
}

.mejs-controls .mejs-unfullscreen button { background-position: -26px -22px; }

/* Volume Slider */
.mejs-controls div.mejs-horizontal-volume-slider {
	position: absolute;
	cursor: pointer;
	top: 15px;
	left: 65px;
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
	width: 60px;
	background: #d6d6d6;
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	position: absolute;
	width: 0;
	top: 0;
	left: 0;
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	height: 4px;

	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

/* Progress Bar */
.mejs-controls div.mejs-time-rail {
	position: absolute;
	width: 100%;
	left: 0;
	top: -10px;
}

.mejs-controls .mejs-time-rail span {
	position: absolute;
	display: block;
	cursor: pointer;
	width: 100%;
	height: 10px;
	top: 0;
	left: 0;
}

.mejs-controls .mejs-time-rail .mejs-time-total {
	
	
		background: transparent url(images/buffertunnel.png);
		background-repeat:repeat-x;
	
}

.mejs-controls .mejs-time-rail .mejs-time-loaded {

}

.mejs-controls .mejs-time-rail .mejs-time-current { width: 0; }

/* Progress Bar Handle */
.mejs-controls .mejs-time-rail .mejs-time-handle {
	position: absolute;
	cursor: pointer;
	width: 16px;
	height: 18px;
	top: -3px;
	background: url(images/handle.png);
}

/* Progress Bar Time Tooltip */
.mejs-controls .mejs-time-rail .mejs-time-float {
	position: absolute;
	display: none;
	width: 33px;
	height: 23px;
	top: -26px;
	margin-left: -17px;
	background: url(images/tooltip.png);
}

.mejs-controls .mejs-time-rail .mejs-time-float-current {
	position: absolute;
	display: block;
	left: 0;
	top: 4px;

	font-family: Helvetica, Arial, sans-serif;
	font-size: 10px;
	font-weight: bold;
	color: #666666;
	text-align: center;
}

.mejs-controls .mejs-time-rail .mejs-time-float-corner { display: none; }

/* Green Gradient (for progress and volume bar) */
.mejs-controls .mejs-time-rail .mejs-time-current,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
		background: transparent url(images/buffer.png);

		background-repeat:repeat-x;/*background:  #82d344;*/
	/*
	background: -webkit-linear-gradient(top, #82d344 0%, #51af34 100%);
	background: -moz-linear-gradient(top, #82d344 0%, #51af34 100%);
	background: -o-linear-gradient(top, #82d344 0%, #51af34 100%);
	background: -ms-linear-gradient(top, #82d344 0%, #51af34 100%);
	background: linear-gradient(top, #82d344 0%, #51af34 100%);*/
}


/* Green Gradient (for progress and volume bar) */

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	background:  #82d344;

	background: -webkit-linear-gradient(top, #82d344 0%, #51af34 100%);
	background: -moz-linear-gradient(top, #82d344 0%, #51af34 100%);
	background: -o-linear-gradient(top, #82d344 0%, #51af34 100%);
	background: -ms-linear-gradient(top, #82d344 0%, #51af34 100%);
	background: linear-gradient(top, #82d344 0%, #51af34 100%);
}
    </style>

 
<script src="<?php echo $siteaddress;?>js/mediaelement-and-player.min.js"></script>
 

 

<div id="OnaAudioPlayer" style="display:block;position:relative;width:100%;height:100%;margin:0px auto 0px;">

	<video width="100%" height="500"  poster="<?php echo $siteaddress ?>taswira.php?width=100&amp;height=100&amp;cropratio=1:1&amp;image=/v/uploads/gthumbs/<?php echo $picturemeY  ?>">
		<source src="<?php echo $siteaddress ?>v/uploads/distribution/<?php echo $original ?>" type="video/mp4">
	</video>
</div>
	<script>
	$(document).ready(function() {
		$('video').mediaelementplayer({
			alwaysShowControls: false,
			videoVolume: 'horizontal',
			features: ['playpause','progress','volume','fullscreen']
		});
	});
	</script>








<?php } ?>
  
 

 


<li  class="list-group-item<?php  if ($isdisplay ==3 ){ ?> bg-light dker  <?php } ?><?php  if ($isdisplay ==5 ){ ?> bg-light lter  <?php } ?><?php  if ($isdisplay ==4 ){ ?>  <?php } ?>"> 
       
        <table cellspacing="0" cellpadding="0" style="font-size:20px">
         
          <tr >
                
 
             
		            <td width="64" valign="middle"> 
		              
		              
		              
		        
		              <img src="<?php echo $siteaddress;?>taswira.php?width=100&amp;height=60&amp;cropratio=1.666666666666667:1&amp;image=/v/uploads/gthumbs/<?php echo $pictureme  ?>" alt="edit thumb" title="Published: 2014-03-24" style=" margin-left:2px;-moz-border-radius : 3px 3px 3px 3px:-webkit-border-radius : 3px 3px 3px 3px;border-radius : 3px 3px 3px 3px;" height="60" width="100">
		              
		              </td>
            <td width="100%" valign="middle" > 
             
            
       
                  
    <a class="btn btn-default m-l-lg">    <span class="text"><?php print text_limit($title,8); ?> 
		              
		              
		              
		              
		              
		              
		              
		              
		              
		              
		              
		              
		              <?php 
					 
                $nameinfoC = $db->getallcategoriesC($newsidC); 
                if (!empty($nameinfoC)){
	            while (list($key,$val)=each($nameinfoC)) {
		    $tempcatalogid2 = stripslashes($val["catalogid"]);
		    $catalogname = stripslashes($val["catalogname"]);
			$slug = stripslashes($val["slug"]);
		 ?>
		              
		              <span style="color:#fff;"> ( <?php print "$catalogname"; ?> )</span>
		              <?php   
		 
		 }
		}
              
				 
					  
				   ?>     </span>    </a> 
                  
                     
          
        
        
        
     
            </td>
          
      
            
                         
              
             
                   <td width="18">  
                   
                      <a href="v/uploads/distribution/<?php echo $original ?>" target="_blank" class="btn btn-white pull-right " > <span class="text-muted"> <i class="icon-download text-muted"></i>  </span>  Download</a>
                      
                     
                   
             </td>
                      
                  
                  </tr></table>
       
<br />

          
                   <input type="hidden" name="catalogid" value="<? echo $_SESSION['euserid'];?>">
                              <input type="hidden" size="65" name="viewnum" value="<?php print "$viewnum"; ?>">
                              <input type="hidden" size="65" name="rating" value="<?php print "$rating"; ?>">
                              <input type="hidden" size="65" name="ratenum" value="<?php print "$ratenum"; ?>">
                              
                              
                              <input type="hidden" name="newsid" value="<?php print "$newsid"; ?>">
                  <input type="hidden" name="catid" value="<?php print "$catid"; ?>">
                   <div class="form-group" style="width:70%">
            
              <div class="input-group m-b"> <span class="input-group-addon lt  no-border  bg-info dk"> Title</span>
                    
                      <input name="mytitle"  type="text" placeholder="Caption" class="form-control input-lg"  id="mytitle" maxlength="300" value="<?php  print "$title"; ?>"></div>
          </div>
          
          
                 
                
                 <textarea name="content" id="content"   class="form-control input-lg" rows="5" style="height:300px" placeholder="Describe Content e.g describe song/video/picture, collaboration information etc" ><?php  print "$content"; ?></textarea>
    
    
     <?php include("rate2.php");?>
    
        </li>

  
                
                
          
                       
        </form>