( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ 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/../tmpr/../mycontentm.php
<?php

$widget = $catalogid5;  
 
if($_GET["recsnorep"]) {
 
 $recsnorep=$_GET["recsnorep"];
$data=trim($recsnorep);
$videouser = $_SESSION['euserid'];
$ex=explode(" ",$data);
$size=sizeof($ex);
for($i=0;$i<$size;$i++) {
	$id=trim($ex[$i]);
	$db->delnewsrep($id,$VideoPath);

} 
 
 
 }
 



 $VideoPath = "uploads/live/";
$live_img = 'uploads/images/';
 $videouser = $_SESSION['euserid'];
 
 
 if($_GET["recsno"]) {
 
 $recsno=$_GET["recsno"];
 
$data=trim($recsno);
$videouser = $_SESSION['euserid'];
$ex=explode(" ",$data);
$size=sizeof($ex);
for($i=0;$i<$size;$i++) {
	$id=trim($ex[$i]);
	$db->delAllReport($id,$VideoPath);

} 
 
 header("Location: ./index.php?msg=Successfully+deleted");
 }

		 
 function sizeinput($input, $len){
        (int)$len;
  	 (string)$input;
  	 $n = substr($input, 0,$len);
	 $ret = trim($n);
 	 $out = htmlentities($ret, ENT_QUOTES);
 	 return $out;
}

 
 function checkfile($input){
    $ext = array('mpg', 'wma', 'mov', 'flv', 'mp4', 'm4v', 'avi', 'qt', 'wmv', 'rm', '3gp', 'mpeg', 'divx', 'moov', 'asf', 'swf', 'vob');
    $extfile = substr($input['name'],-4); 
    $extfile = explode('.',$extfile);
    $good = array();
    $extfile = $extfile[1];
    if(in_array($extfile, $ext)){
          $good['safe'] = true;
 		 $good['ext'] = $extfile;
    }else{
          $good['safe'] = false;
   }
     return $good;
 }
 


//no error reporting
//@error_reporting(0);

if (empty($page)){
$page = 0;
}

$record =6;

 


  // generate paging here
	

$delnews = $_GET["delnews"]; 
if ($delnews=="yes") {
 $newsid = $db->base64url_decode($newsid); 
$db->delnews($newsid,$VideoPath);

 header("Location: ./index.php?msg=Successfully+deleted");
}





 if (!empty($editthumb)) {
      
   $tempuserfile = $_FILES['userfile']['tmp_name'];
   $tempuserfile_name = $_FILES['userfile']['name'];
   
   if ((!empty($tempuserfile)) && (!empty($tempuserfile_name))) {
   $userfile = $tempuserfile;
   $userfile_name = $tempuserfile_name;
   }
   
   if ((!empty($userfile)) && (!empty($userfile_name))) { 
   
  $videouser = $_SESSION['euserid'];
   $userfile_name = preg_replace('/[\ ]/', '-', $userfile_name);
   $userfile_name = $videouser.rand(455,78787).$userfile_name;
   
   $dest1 = $live_img.$userfile_name;
   copy($userfile, $dest1);
   
   
     $starting_image = imagecreatefromjpeg("$live_img$userfile_name");
$width = imagesx($starting_image);
$height = imagesy($starting_image);
$thumb_width = 130;
$thumb_height = 80;
$thumb_image = imagecreatetruecolor($thumb_width, $thumb_height);
imagecopyresampled($thumb_image, $starting_image, 0, 0, 0, 0, $thumb_width, $thumb_height, $width, $height);
imagejpeg($thumb_image, "$live_img$userfile_name");
   
   
   $db->addThumb($newsid,$userfile_name,$live_img);
   }} 


if (!empty($addnews)) {
$_POST = filter($_POST);
$title = mysqli_real_escape_string($link,$title);
$content = mysqli_real_escape_string($link,$content);
$description = mysqli_real_escape_string($link,$description);
$keywords = mysqli_real_escape_string($link,$keywords);
$newsid = $db->updateContent($title,$content,$keywords,$isdisplay,$description,$vcat,$slug,$episodeid);
				
								
}

if (!empty($editnewsr)) {
$_POST = filter($_POST);
$mytitle = mysqli_real_escape_string($link,$mytitle);
$content = mysqli_real_escape_string($link,$content);
$description = mysqli_real_escape_string($link,$description);
$keywords = mysqli_real_escape_string($link,$keywords);
 
 
$db->editnewsr($catalogid,$mytitle,$content,$keywords,$isdisplay,$description,$vcat,$summary,$thumb,$newsid,$slug,$episodeid);
 
		$db->editslugr($newsid,$slug,$mytitle,$str);
 	
	 



    header("Location: index.php?msg=content+edited+Successfully!");
   
}


if (!empty($editnewdsr2)) {
$_POST = filter($_POST);
$mytitle = mysqli_real_escape_string($link,$mytitle);
$content = mysqli_real_escape_string($link,$content);
$description = mysqli_real_escape_string($link,$description);
$keywords = mysqli_real_escape_string($link,$keywords);
 
 
$db->editnewsr2($catalogid,$mytitle,$content,$keywords,$isdisplay,$description,$vcat,$summary,$thumb,$newsid,$slug,$episodeid);
 
		$db->editslugr($newsid,$slug,$mytitle,$str);
 	
	 



    header("Location: index.php?msg=content+edited+Successfully!");
   
}


if (!empty($editmyreport)) {
$_POST = filter($_POST);
$mytitle = mysqli_real_escape_string($link,$mytitle);
$content = mysqli_real_escape_string($link,$content);
$description = mysqli_real_escape_string($link,$description);
$keywords = mysqli_real_escape_string($link,$keywords);
 
 
$db->editmyreport($catalogid,$mytitle,$content,$keywords,$newsid);
 
		$db->editslugr($newsid,$slug,$mytitle,$str);
 	 

    header("Location: index.php?msg=Content+Edited+Successfully!");
   
}













if (!empty($DP1)) {
   $db->del_Video($newsid,$VideoPath);
}




















$result = $db->getcatalognewsreport($page,$record,$catid);


	 
?>
  <?php
              if (!empty($result)) {?>
              
			  <script type="text/javascript">
$(function() {

$(".delbutton").click(function(){
var del_id = element.attr("id");
var info = 'id=' + del_id;
if(confirm("Sure you want to delete this update? There is NO undo!"))
{
$.ajax({
type: "POST",
url: "ezikiframework.php",
data: info,
success: function(){
}
});
$(this).parents(".record").animate({ backgroundColor: "#fbc7c7" }, "fast")
.animate({ opacity: "hide" }, "slow");
}
return false;
});
});
</script>

 <script type="text/javascript" src="v/scripts/multiplereporta.js"> </script>           
<div id="insert_response5" style=" color:#4d90b4;font:Arial, Helvetica, sans-serif; font-size:11px;"></div>  <div id="insert_response66" style=" color:#4d90b4;font:Arial, Helvetica, sans-serif; font-size:11px;"></div>
<?php } ?>


<?php 

$page_limit = $record ; 
$pagenext = $page+1;
$result1 = $db->getcatalognewsreport($pagenext,$record,$catid);
		
		
if (!isset($_GET['page']) )
{ $start=0; } else
{ $start = ($_GET['page'] - 1) * $page_limit; }


$rs_all = mysqli_query("select count(*) as total_all from reporta where yanani=$videouser") or die(mysql_error());

 list($allvids) = mysql_fetch_row($rs_all);?>




 <form action="" method="post"> 

 

<table id="Table_01" width="100%" height="537" border="0" cellpadding="0" cellspacing="0" style="  background-position:bottom; background-repeat:no-repeat; "  >
	<tr>
		<td>
        
         
     

<table id="Table_01" width="100%" height="537" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="3">
			<img src="images/mycontent_01.png" width="235" height="54" alt=""></td>
	  <td  width="678" height="54" align="center" background="images/mycontent_07.png">
	    <table width="678" border="0">
  <tr>
    <td align="center" style="color:#FFF">
    
    
    
	
  <?php  $piciko = $db->getallprofilepictures($page,$record);
 
  if (empty($piciko))
   {?>
You need to upload your Profile Picture or Logo to Continue <a href="?mode=profilepicture"> Click  here </a><?php }
    ?>
   
   
   
    <?php   if (!empty($piciko))
   {?>

<?php if (empty($row_settings['tel']) || empty($row_settings['description']))
	 {  ?>
Upload your bio and social media detail to maximise on your content and distribution <a href="?mode=details"> Click  here </a>
 
	<?php }
    ?>

<?php }
    ?>
     
     
      <?php if (!empty($row_settings['tel']) || !empty($row_settings['description']))
	 {  ?>
 
 
 <?php if ($row_settings['admin'] == 20 ) 
	 {
		 
		 ?>
 
 Your Profile is Private. Only those with your valid email address can send you content. Make your profile public to receive content from more providers <a href="?mode=details"> Click  here </a>
 
	<?php }
    ?> 
	
    
    	



<?php }
    ?>
    
    

    
    
    
    
    
    
    </td>
    <td width="100" align="right"> 
 
     <?php /*if ($allvids > $page_limit)
	  {
	   $total_pages = ceil($allvids/$page_limit);
	   echo " ";
	  $i = 0;
	  
		while ($i < $total_pages) 
		{
				$page_no = $i+1;?>
                
            <a href="<?php echo $PHP_SELF ?>?page=<?php echo $page_no ?>">
			
			<?php 
			if ($page == $page_no) {?> <span style="color:#F09"><?php echo $page_no ?></span><?php  } else { echo $page_no;  } ?></a> 
				<?php $i++;
		}
	  echo "";
	  } echo $allvids;*/?>
    
    
    
    
    
     </td>
  </tr>
</table>

             
             
             </td>
		<td width="50" height="54" >
			   <?php
         
		if ($page!=0)
		{
		$pagepre = $page-1;		
		?>
			
		<a href="<?php echo $PHP_SELF ?>?page=<?php echo $pagepre ?>&catid=<?php echo $catid ?>"><img src="images/mycontent_03.png" width="50" height="54" alt=""></a> 
		<?php }else
		
		{?>
			<img src="images/mycontent_03b.png" width="50" height="54" alt="">
		<?php } ?>
		
		 
	  
	   
        
        
        </td>
		<td width="51" height="54" >
			  <?php
	  
		if (!empty($result1))
		{?>
		<a href="<?php echo $PHP_SELF ?>?page=<?php echo $pagenext ?>&catid=<?php echo $catid ?>"><img src="images/mycontent_04.png" width="51" height="54" alt=""></a>
		<?php }
		
		
		else
		
		{?>
			<img src="images/mycontent_04b.png" width="51" height="54" alt="">
		<?php }
		?> 
        </td>
	</tr>
	<tr>
		<td valign="top" width="82">
        
        
        
        
        
        
        
        
<?php
              if (!empty($result)) {?>
         
        
        <table width="100%" border="0">
  <tr>
    <td width="82" height="88" ><a onClick="selectall();"><img src="images/mycontent_05.png" width="82" height="88" alt="" /></a></td>
  </tr>
  <tr>
    <td width="82" height="77"><a href="javascript:goDelx()"> <img src="images/mycontent_08.png" width="82" height="77" alt="" /></a></td>
  </tr>
 
  <tr>
    <td width="82" height="71"><a href="index.php"> <img src="images/mycontent_10.png" width="82" height="71" alt="" /></a></td>
  </tr>
  <tr>
    <td width="82" height="75"><a href="?mode=profilepicture" ><img src="images/mycontent_11.png" width="82" height="75" alt="" /></a></td>
  </tr>
  <tr>
    <td width="82" height="98" >
    
    
    
    
    
    
    
    
    
    
    
    </td>
  </tr>
</table>







 <?php } ?>








</td>
		<td valign="top">
			<img src="images/mycontent_06.png" width="13" height="482" alt=""></td>
		<td colspan="4" width="919" height="482" valign="top" align="center" >
        
        
        
        
          <?php foreach ($result as $key => $val) {
	        $newsid = stripslashes($val["newsid"]);
	        $catalogid = stripslashes($val["catalogid"]);
	        $title = stripslashes($val["title"]);
			   $original = stripslashes($val["original"]);
			   $viewnum = stripslashes($val["viewnum"]);
			   $isdisplay = stripslashes($val["isdisplay"]);	
			   $adddate = stripslashes($val["adddate"]);  
			    $content = stripslashes($val["content"]); 
				$type = stripslashes($val["type"]); 
				$adddate = stripslashes($val["adddate"]);    
	        $cataname = $db->getcatalognamebyid($catalogid);
			$newsid2 = $newsid;
              ?>
      
      
        
        <table id="Table_01" width="896" height="76" border="0" cellpadding="0" cellspacing="0" style="background-image:url(images/base.png); background-repeat:no-repeat; margin-bottom:5px; margin-top:5px">
	<tr>
		<td  width="896" height="76" style="padding:5px">
        
        
        
        
        
        
        
        
        
        
        <table width="700" cellspacing="0" cellpadding="0">
         
          <tr >
           
            <td width="64" valign="middle"> 
            
            
            
            
            
            
            
            
            <img src="taswira.php?width=100&height=60&cropratio=1.666666666666667:1&image=/v/uploads/raw/<?php print "$original"; ?>" alt="edit thumb"  title="Published: <?php echo $adddate ?>"  width="100" height="60" style=" margin-left:2px;-moz-border-radius : 3px 3px 3px 3px:-webkit-border-radius : 3px 3px 3px 3px;border-radius : 3px 3px 3px 3px;"/></td>
            <td width="100%" valign="middle"><div align="left" style=" padding-left:10px; color:#FFF; font-size:14px"  title="Published: <?php echo $adddate ?>" ><?php print text_limit($title,8); ?>...</div></td>
          
             <td width="40" valign="middle"><div align="left" style=" padding-right:10px; color:#FFF; font-size:14px"  title="Published: <?php echo $adddate ?>" > <?php

$resultC = mysqli_query("select count(*) as total from distributions where distribution=$newsid2");
while($rowC = mysql_fetch_assoc($resultC))
{?>
	
 <a href="?mode=mydistributions&content=<?php echo $newsid2 ?>" > <?php  echo $icountC = $rowC['total'];?></a>
 
<?php }
?></div></td>   <td width="40" style=" padding-right:30px; padding-left:15px">
            
            <a href="<?php echo $siteaddress ?>v/uploads/raw/<?php print "$original"; ?>" ><img src="images/dl.png" width="30" /></a>
            
            
            
            </td>
            
               <td width="40" style=" padding-right:15px">
                          <?php
                switch($type){
				
				 case "jpg":
                ?>  
                          <a href="taswira.php?width=900&image=/v/uploads/raw/<?php print "$original"; ?>" class="albumpix" rel="albumpix"> <img src="images/photo.png" width="40" /></a>
<?php
                break;
                
				
				 case "gif":
                ?>  
                    <a href="taswira.php?width=900&image=/v/uploads/raw/<?php print "$original"; ?>" class="albumpix" rel="albumpix">  <img src="images/photo.png" width="40" /></a>
<?php
                break;
                
                
                case "png":
                ?>  
                   <a href="taswira.php?width=900&image=/v/uploads/raw/<?php print "$original"; ?>" class="albumpix" rel="albumpix">  <img src="images/photo.png" width="40" /></a>
<?php
                break;   
				
				case "mp3":
                ?>  
                     <img src="images/mp3.png" width="40" />
<?php
                break;
				
					case "pdf":
                ?>  
                     <a href="<?php echo $siteaddress ?>v/uploads/raw/<?php print "$original"; ?>" ><img src="images/pdf.png" width="40" /></a>
<?php
                break;
				
				  case "flv":
                ?>  
                    <a href="<?php echo $siteaddress ?>v/uploads/raw/<?php print "$original"; ?>" ><img src="images/vida.png" width="40" /></a>
<?php
                break;
				
				
				 case "avi":
                ?>  
                    <a href="<?php echo $siteaddress ?>v/uploads/raw/<?php print "$original"; ?>" ><img src="images/vida.png" width="40" /></a>
<?php
                break;
				
				
				
                 case "wma":
                ?> 
                     <a href="<?php echo $siteaddress ?>v/uploads/raw/<?php print "$original"; ?>" >
                     <img src="images/mp3.png" border="0" width="40" /></a>
                          <?php
                break;                
                
                case "mp4":
                ?> 
                     <a href="addrivenhtml5Mobile.php?picha=<?php echo $newsid2; ?>" >
                     <img src="images/vida.png" border="0" width="40" /></a>
                          <?php
                break;                
                }
                ?> 
               </td>  
             
            <?php 
			
			
			$newsid = $db->base64url_encode($newsid); ?>   
                 
                  
           
           <!-- <td width="54" valign="middle" >
                          <?php
                switch($isdisplay){
				
				 case "3":
                ?>  
                          <img src="images/distributed.png" width="40"  alt="Pending Distribution" />
<?php
                break;
                
				
				 case "2":
                ?>  
                   <img src="images/distributionpending.png" width="40"  alt="New  Distribution Added But Pending" />
<?php
                break;
                
                
                case "1":
                ?>  
                        <img src="images/distribute.png" width="40"  alt="Distributed"/>
<?php
                break;
                
                case "0":
                ?> 
                       <img src="no.png" alt="not featured" />  
                          <?php
                break;                
                }
                ?>
               </td>  --> 
                 
                 
                 
                 
               
             
                 
                 
                 
                 
                 
              
                   <td  width="40"  valign="middle" ><a href="?mode=updateReport&newsid=<?php print "$newsid"; ?>"> <img src="images/edit.png" width="40" alt="Edit" hspace="10" /></a> </td>
               
             
                      <td width="30"> <a href="index.php?newsid=<?php print "$newsid"; ?>&catid=<?php print "$catid"; ?>&delnews=yes" class="en_b style6 style6"><img src="images/declined.png" width="30" hspace="10" alt="delete" /></a></td>    
                  
                 
                  
                      <td width="104" style="padding-left:2px"> 
                      
                      
                      
               <?php  if (empty($content) ) { ?>  <a href="?mode=distributions&newsid=<?php print "$newsid"; ?>" id="<?php print "$newsid"; ?>" class="delbutton"><IMG src="images/status/distribute4.png" name="Video_<?php echo $nnewsid; ?>" width="78" height="30"   id="Video_<?php echo $nnewsid; ?>" ></a><?php /*?><a href="?mode=updateReport&newsid=<?php print "$newsid"; ?>"> <IMG src="images/status/distribute3.png" name="Video_<?php echo $nnewsid; ?>" width="78" height="30"   id="Video_<?php echo $nnewsid; ?>" ></a><?php */?> <?php } 
			   
			   
			   else {?>
               
               
               
               
               
               
               
               
      <?php if (empty($row_settings['tel']))
	 {  ?>
     <a href="?mode=details&msg=<?php echo urlencode("Upload your bio and social media detail to maximise on your content and distribution")?>"><IMG src="images/status/distribute4.png"  width="78" height="30"   id="Video_<?php echo $nnewsid; ?>" ></a>  
       
 
 
	<?php }
	
	else
	{?>
      <a href="?mode=distributions&newsid=<?php print "$newsid"; ?>" id="<?php print "$newsid"; ?>" class="delbutton"><IMG src="images/status/distribute4.png" name="Video_<?php echo $nnewsid; ?>" width="78" height="30"   id="Video_<?php echo $nnewsid; ?>" ></a>
	  
	  
	  
	  <?php  }  ?>  
    <?php }
    ?>         
               
               
               
               
               
               
               
               
               
               
                      
                      
                      
                      
                      
                      
                      
                     </td><td width="20" style="padding-left:10px"><input name="<?php print "$newsid"; ?>" type="checkbox" class="check  style9"></td>  
                  
              </tr></table>
                
                
                
             
                
                
                
                
                
        
        
        
        
        
        
        
			</td>
	</tr>
</table>
			
            
            
            	
				<?php
           
              }
			  
			  
			  
			  
			  
			  
			  
			   if (empty($result)) {?>

            <img src="images/notfound.png" width="170" height="41" style="margin-top:100px" /><br /><br />

 <a href="?mode=upload"><img src="images/upload.png" width="155" height="58" /></a>            <?php }
			  
			  
			  
			  
              ?>
        
         

            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
 
    
            
            
            
            
            
            
            
            
            
      </td>
	</tr>
	<tr>
		<td>
			<img src="images/spacer.gif" width="82" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="13" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="140" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="678" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="50" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="51" height="1" alt=""></td>
	</tr>
</table></form>   </td></tr></table>