Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/public_html/lbpmsolapur.org/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/lbpmsolapur.org/view-subject-wise-pdf.php

<!--
	Powered By - Dream Technology, Solapur.
	Contact No : +91 9595775120
	Email ID - dream.technology@outlook.com
-->
<?php
	require_once("admin/lib/functions.php");
	$db = new login_function();
	
?>	

<DOCTYPE html>
<html>
<head>
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
    
	<title>Laxmibai Bhaurao Patil Mahila Mahavidyalaya</title>
	<link rel="stylesheet" type="text/css" href="css/stylesheet.css"/>
	<style>

	.tab_data
	{
		background:#E91546;
		font-weight:bold;
		font-size:16px;
		color:white;
		border-right:1px solid black;
	}
	tr td
	{
		padding:10px;
		border:1px solid black;
		text-align:center;
	}
	th 
	{
		padding:10px;
	}
	</style>
	
</head>
<body>	
	
	<?php
		require_once("lib/header.php");
		if(isset($_GET['subject']))
		{
			$subject			=$_GET['subject'];
			$_SESSION['subject']=$subject;
		}
		if(isset($_SESSION['subject']))
		{
			$subject			=$_SESSION['subject'];
			
		}
	?>
		
	<div name="tab_container">
		<div class="main_container" style="min-height:1000px;">
		
		<div class="page_highlighter" style=" text-align:center; color:white; background-color:green; font-size:20px;">Subject:-<?php echo $subject; ?></div>
			
			<?php
				require_once("highlights.php");
				
			?>
			<div class="data_container" style="margin-top:10px; min-height:700px;">
				<div>
	<?php
		
	?>
	
<table cellspacing='0' style="margin:0px;width:100%" > <!-- cellspacing='0' is important, must stay -->

	<!-- Table Header -->
	<thead>
		<tr style="background:#E91546">
			<th width="20" class="tab_data">Sr.No</th>
			<th width="100" class="tab_data" >Title</th>
			<th width="30" class="tab_data">View</th>
			
		</tr>
	</thead>
	<!-- Table Header -->

	<!-- Table Body -->
	<tbody>
<?php
		
		$report_details = $db->get_pdf_details_by_subject($subject);
		if(!empty($report_details))
			{
				$counter =0;
				foreach($report_details as $record)
				{
					$id				=	$report_details[$counter][0];
					$sequence_no	=	$report_details[$counter][1];
					$subject		=	$report_details[$counter][2];
					$title			=	$report_details[$counter][3];
					$image			=	$report_details[$counter][4];
	?>
		<tr>
				<td><?php echo $counter+1; ?></td>
				
				
				<td style="text-align:left"><?php echo $title; ?></td>
				<?php
				if($image != "")
				{
					list($txt, $ext) = explode(".", $image);
					if($ext=="pdf")
					{
			
				?>
				<td><a href="/downloads/<?php echo $image; ?>" target="_blank"><img src="/images/pdfimg.jpg" height="50px" width="50px" title="view"></a></td>

				<?php
				}
				else
				{
				?>
				<td> <a href="/downloads/<?php echo $image; ?>" target="_blank"><img src="/downloads/<?php echo $image; ?>" height="50px" width="50px" title="view"></a></td>

				<?php
				}
				?>											
				<?php
				}
				else
				{
				?>
				<td><img src="/images/no_image_available.png" style="height:90px;width:90px;" /></td>

				<?php
				}
				?>
				
			</tr>			
<?php
$counter++;
}

}
else
{
?>				
<tr>
<td colspan="3">No data to list</td>
</tr>
<?php
}				
?>		
</tbody>
	<!-- Table Body -->
</table>


</div>	
	</div></div>	
				
			</div>
			<?php
		require_once("lib/footer.php");
	?>
</body>
</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4