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

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

/* header("Location: indexAlone.php?mode=mydistributions&msg=Successfully+deleted");*/
}





 $VideoPath = "uploads/live/";
$live_img = 'uploads/images/';
 $videouser = $_SESSION['euserid'];
 
 


		 


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

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

$record =6;

 













$result = $db->getmydistributions($page,$record,$content);
?>


<?php 

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


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

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




 

<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/mydis.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>&nbsp;</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 ?>&mode=mydistributions<?php  if (!empty($content)) 
  {
	echo "&content=$content";
  } ?>"><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 ?>&mode=mydistributions<?php  if (!empty($content)) 
  {
	echo "&content=$content";
  } ?>"><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 href="?mode=email"><img src="images/mycontent_09.png" width="82" height="73" alt="" /></a></td>-->
  </tr>
  <tr>
    <td width="82" height="77"><a href="index.php"><img src="images/mycontent_10.png" width="82" height="71" alt="" /></a></td>
  </tr>
  <!--<tr>
    <td width="82" height="73" ><a href="?mode=profilepicture"><img src="images/mycontent_11.png" width="82" height="75" alt="" /></a><a href="?mode=email"></a></td>
  </tr>-->
  <tr>
    <td width="82" height="71"><a href="index.php"></a></td>
  </tr>
  <tr>
    <td width="82" height="75"><a href="?mode=profilepicture"></a></td>
  </tr>
  <tr>
    <td width="82" height="98" ><a href="accountreporta.php?nani=<?php echo $widget;?>"></a></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) {
	      $id = stripslashes($val["id"]);
		   $myid = stripslashes($val["id"]);
	       $isdisplay = stripslashes($val["isdisplay"]);
	       
				$distribution = stripslashes($val["distribution"]); 
				$cataress = stripslashes($val["catalogid"]);    
	     $newsidC = stripslashes($val["newsid"]);
              ?>
           <?php
	 	
			$getcontent = $db->idtoreporta($distribution);
			     if (!empty($getcontent)) { 
	      while ( list($key,$val)=each($getcontent) ) {
	    $title = stripslashes($val["title"]);
		  $slug= stripslashes($val["slug"]);
		   $description= stripslashes($val["description"]);
		   $picture= stripslashes($val["picture"]);
	$original= stripslashes($val["original"]); 
	$catalogid= stripslashes($val["catalogid"]);
	      $newsid = stripslashes($val["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="870" 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="64" valign="middle"><img src="images/distributed2.png"/>
             </td>   
                      <td width="64" valign="middle"> 
                      
                      
                      
            
            <?php   
                $nameinfo9 = $db->getallprofilepic(); 
               while (list($key,$val)=each($nameinfo9)) {
		    $tempcatalogid9 = stripslashes($val["catalogid"]);
		    $picture = stripslashes($val["picture"]);
		     if ($cataress ==$tempcatalogid9){?>
             
             <img src="taswira.php?width=100&amp;height=60&amp;cropratio=1.666666666666667:1&amp;image=/photo/<?php echo $picture ?>" 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">  <?php   }
		 }
	    
				   ?>
                      
   </td>
            
      <td width="64" valign="middle">  
            </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); ?> 
               <?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 ($cataress==$tempcatalogid2){?>
		 
		 <span style="color:#F39;"> Delivered to </span><?php print " $catalogname"; ?>
		 <?php  }
		 
		 
		 else 
		 {?>
		 <?php }
		 }
		}
              
				 
					  
				   ?>
                   
                   
                   
                   
                   
                   
                   
                   
                   
                   
                       
                 <?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   
		 
		 }
		}
              
				 
					  
				   ?>    
                   
                   
                   
                   
                   
                   
                   
                   
                   
                   
                    </div> </td>
          
            
            
            
            
            
            
            
         
            
            
            
               <?php  
			 $myid = $db->base64url_encode($myid); ?>   
                 
                 
           
            <td width="54" valign="middle" >
                          <?php
                switch($isdisplay){
				
			 
              
				 case "2":
                ?>  
                   <img src="images/status/delivered.png" alt="Distributed"/>
<?php
                break;
                
                
                case "1":
                ?>  
                        <img src="images/status/distributed3.png" alt="Distributed"/>
<?php
                break;
                
                case "0":
                ?> 
                       <img src="images/status/declined.png"   alt="Distributed Successfully" />
                          <?php
                break;                
                }
                ?>
               </td>   
                 
                  
                 
                   <td width="30"> <a href="?mode=mydistributions&newsid=<?php print "$myid"; ?>&catid=<?php print "$catid"; ?>&distri=<?php print "$isdisplay"; ?>&delnews=yes" class="en_b style6 style6"><img src="images/declined.png" width="30"alt="delete" /></a></td>    
                  
                     
                  
              </tr></table>
                
                
                
             
                
                
                
                
                
        
        
        
        
        
        
        
			</td>
	</tr>
</table>
			
            
            
            	
				<?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>  </td></tr></table>