Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse/atse_admin_panel007/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse/atse_admin_panel007/settings.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");
	}
	
	$edit_id	=	$_SESSION['current_admn_email'];
	
	if(isset($_GET['form_off']))
	{
	    $db->set_exam_form_off();
	}
	
	if(isset($_GET['form_on']))
	{
	    $db->set_exam_form_on();
	}
	
	if(isset($_GET['hall_ticket_off']))
	{
	    $db->set_hall_ticket_off();
	}
	
	if(isset($_GET['hall_ticket_on']))
	{
	    $db->set_hall_ticket_on();
	}
	
	if(isset($_GET['result_off']))
	{
	    $db->set_result_section_off();
	}
	
	if(isset($_GET['result_on']))
	{
	    $db->set_result_section_on();
	}
	
	if(isset($_GET['answer_sheet_off']))
	{
	    $db->set_answer_sheet_section_off();
	}
	
	if(isset($_GET['answer_sheet_on']))
	{
	    $db->set_answer_sheet_section_on();
	}
	if(isset($_GET['nikal_off']))
	{
	    $db->set_nikal_section_off();
	}
	
	if(isset($_GET['nikal_on']))
	{
	    $db->set_nikal_section_on();
	}
	if(isset($_GET['shera_off']))
	{
	    $db->set_shera_section_off();
	}
	
	if(isset($_GET['shera_on']))
	{
	    $db->set_shera_section_on();
	}
	
	
	$flag				=	0;
	$success_msg 		= 	0;
	$exam_date_error	=	"";

	$sub_maths_time_error	=	"";
	$sub_buddhimatta_english_time_error	=	"";
	$res_exam_date					=	"";
	$res_sub_maths_time				=	"";
	$res_buddhimatta_engilsh_time	=	"";
	
	if(isset($_POST['add_btn']))
	{
		$exam_date 						= 	$_POST['exam_date'];
		$exam_result_date				=	$_POST['exam_result_date'];
		$sub_maths_time_first_second	=	$_POST['sub_maths_time_first_second'];
		$sub_maths_time_third_to_seventh=	$_POST['sub_maths_time_third_to_seventh'];
		$sub_buddhimatta_english_time_first_second		=	$_POST['sub_buddhimatta_english_time_first_second'];
		$sub_buddhimatta_english_time_third_to_seventh	=	$_POST['sub_buddhimatta_english_time_third_to_seventh'];
				
		$db->update_settings_record($exam_date,$exam_result_date,$sub_maths_time_first_second,$sub_maths_time_third_to_seventh,$sub_buddhimatta_english_time_first_second,$sub_buddhimatta_english_time_third_to_seventh);
	}
	
	$setting_data	=	array();
	$setting_data	=	$db->get_setting_data();
	
	if(!empty($setting_data))
	{
		$res_exam_date  	    				            =	$setting_data[1];
		$res_exam_result_date					            =	$setting_data[2];
		$res_sub_maths_time_first_second				    =	$setting_data[3];
		$res_sub_maths_time_third_to_seventh	            =	$setting_data[4];
		$res_sub_buddhimatta_english_time_first_second      =	$setting_data[5];
		$res_sub_buddhimatta_english_time_third_to_seventh  =	$setting_data[6];
	}
	
	
?>
<html>
<head>
	<meta charset="UTF-8">
	<title>ATSE Vairag</title>
	
	<link rel="stylesheet" type="text/css" href="/css/stylesheet.css" />
	
</head>
<body>

<?php
	require_once('header.php');
?>
	
	<div style="min-height:700px;">
		<div class="admin-mid-section" style="min-height:700px;">
			<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
			
			<br />
			<center><strong>सेटीन्ग्स</strong></center>
			<hr />
			
			<div class="add_centre_container" style="float:left; margin-left:25px;">
			
			<?php
				if($success_msg=="1")
				{
			?>
				<div class="add_centre_success">
					सेटीन्ग्स माहिती अपडेट झाली आहे 
				</div>
			<?php
				}
			?>
			<strong>परीक्षा दिनांक:</strong>
			<input type="text" name="exam_date" id="exam_date" class="txtflds" placeholder="परीक्षा दिनांक" value="<?php echo $res_exam_date; ?>"  />
			<span class="error_indicator" style="margin:0px;"><?php echo $exam_date_error; ?></span><br /><br />
			
            <strong>परीक्षेचा निकाल दिनांक :</strong>
			<input type="text" name="exam_result_date" id="exam_result_date" class="txtflds" placeholder="परीक्षेचा निकाल दिनांक" value="<?php echo $res_exam_result_date; ?>"  />
			<span class="error_indicator" style="margin:0px;"><?php echo $exam_date_error; ?></span><br /><br />

			<strong>भाषा+गणित परीक्षेची वेळ  (पहिली आणि दुसरी) :</strong>
			<input type="text" name="sub_maths_time_first_second" id="sub_maths_time_first_second" class="txtflds" placeholder="भाषा गणित टाइम " value="<?php echo $res_sub_maths_time_first_second; ?>" required />
			<span class="error_indicator"><?php echo $sub_maths_time_error; ?></span><br /><br />
			
			<strong>भाषा+गणित परीक्षेची वेळ  (तिसरी ते सातवी) :</strong>
			<input type="text" name="sub_maths_time_third_to_seventh" id="sub_maths_time_third_to_seventh" class="txtflds" placeholder="भाषा गणित टाइम " value="<?php echo $res_sub_maths_time_third_to_seventh; ?>" required />
			<span class="error_indicator"><?php echo $sub_maths_time_error; ?></span><br /><br />
			
   			<strong>इंग्रजी+बुद्धिमत्ता परीक्षेची वेळ (पहिली आणि दुसरी) :</strong>
			<input type="text" name="sub_buddhimatta_english_time_first_second" id="sub_buddhimatta_english_time_first_second" class="txtflds" placeholder="भाषा बुद्धिमत्ता इंग्लिश टाइम " value="<?php echo $res_sub_buddhimatta_english_time_first_second; ?>" required />
			<span class="error_indicator"><?php echo $sub_buddhimatta_english_time_error; ?></span><br />

   			<strong>इंग्रजी+बुद्धिमत्ता परीक्षेची वेळ  (तिसरी ते सातवी) :</strong>
			<input type="text" name="sub_buddhimatta_english_time_third_to_seventh" id="sub_buddhimatta_english_time_third_to_seventh" class="txtflds" placeholder="भाषा बुद्धिमत्ता इंग्लिश टाइम " value="<?php echo $res_sub_buddhimatta_english_time_third_to_seventh; ?>" required />
			<span class="error_indicator"><?php echo $sub_buddhimatta_english_time_error; ?></span>

			<br />
			
			<center><input type="submit" name="add_btn" value="सेटीन्ग्स रेकॉर्ड अपडेट करा" id="send_form" class="reg_btn_form" style="width:200px;" /></center>
			
			</div>
			</form>
			
			<style>
			    .setting
			    {
			        font-size:15px;
			        display:inline-table;
			        margin-left:25px;
			    }
			    .setting_on_link
			    {
			        color:#228B22;
			    }
			    .setting_off_link
			    {
			        color:#FF0000;
			    }
			    .txt_status
			    {
			        font-size:20px;
			        color:#333333;
			        margin-left:10px;
			    }
			</style>
			<div class="add_centre_container" style="float:left; margin-left:25px; width:450px; color:#1E90FF;">
			    <br /><br />
			    <?php 
			        $form_status = $db->get_pariksha_form_status();
			    ?>
                <strong>परीक्षा फॉर्म सेटिंग :<label class="txt_status"><?php echo $form_status; ?></label><strong>
		        <?php
    			        if($form_status=="on")
    			        {
    			 ?>
    			 <a href="<?php echo $_SERVER['PHP_SELF']."?form_off"; ?>" class="setting setting_off_link"> ->परीक्षा फॉर्म बंद करा</a>
    			 <?php
    			        }
    			        else
    			        {
    			 ?>
    			  <a href="<?php echo $_SERVER['PHP_SELF']."?form_on"; ?>" class="setting setting_on_link"> -> परीक्षा फॉर्म चालू करा</a>
    			 <?php           
    			        }
			       ?>
			       
			       
			       <br /><br />
			    <?php 
			        $form_status = $db->get_hall_ticket_status();
			    ?>
                <strong>हॉल तिकिट सेटिंग :<label class="txt_status"><?php echo $form_status; ?></label><strong>
		        <?php
    			        if($form_status=="on")
    			        {
    			 ?>
    			 <a href="<?php echo $_SERVER['PHP_SELF']."?hall_ticket_off"; ?>" class="setting setting_off_link"> -> हॉल तिकिट बंद करा</a>
    			 <?php
    			        }
    			        else
    			        {
    			 ?>
    			  <a href="<?php echo $_SERVER['PHP_SELF']."?hall_ticket_on"; ?>" class="setting setting_on_link"> -> हॉल तिकिट चालू करा</a>
    			 <?php           
    			        }
			       ?>
			       
			       <br /><br />
			    <?php 
			        $form_status = $db->get_result_status();
			    ?>
                <strong>वैयक्तिक  निकाल  सेटिंग :<label class="txt_status"><?php echo $form_status; ?></label><strong>
		        <?php
    			        if($form_status=="on")
    			        {
    			 ?>
    			 <a href="<?php echo $_SERVER['PHP_SELF']."?result_off"; ?>" class="setting setting_off_link"> -> वैयक्तिक निकाल  बंद करा</a>
    			 <?php
    			        }
    			        else
    			        {
    			 ?>
    			  <a href="<?php echo $_SERVER['PHP_SELF']."?result_on"; ?>" class="setting setting_on_link"> -> वैयक्तिक निकाल  चालू करा</a>
    			 <?php           
    			        }
			       ?>
			       
		        <br /><br />
			       <?php 
			        $form_status = $db->get_marklist_status();
			    ?>
                <strong> गुणवत्ता निकाल यादी    सेटिंग :<label class="txt_status"><?php echo $form_status; ?></label><strong>
		        <?php
    			        if($form_status=="on")
    			        {
    			 ?>
    			 <a href="<?php echo $_SERVER['PHP_SELF']."?nikal_off"; ?>" class="setting setting_off_link"> -> गुणवत्ता  निकाल यादी   बंद करा</a>
    			 <?php
    			        }
    			        else
    			        {
    			 ?>
    			  <a href="<?php echo $_SERVER['PHP_SELF']."?nikal_on"; ?>" class="setting setting_on_link"> ->  गुणवत्ता निकाल यादी   चालू करा</a>
    			 <?php           
    			        }
			       ?> 
				   <br /><br />
				<?php 
			        $form_status = $db->get_shrera_status();
			    ?>
                <strong> गुणवत्ता शेरा  यादी    सेटिंग :<label class="txt_status"><?php echo $form_status; ?></label><strong>
		        <?php
    			        if($form_status=="on")
    			        {
    			 ?>
    			 <a href="<?php echo $_SERVER['PHP_SELF']."?shera_off"; ?>" class="setting setting_off_link"> -> गुणवत्ता  शेरा  यादी   बंद करा</a>
    			 <?php
    			        }
    			        else
    			        {
    			 ?>
    			  <a href="<?php echo $_SERVER['PHP_SELF']."?shera_on"; ?>" class="setting setting_on_link"> ->  गुणवत्ता शेरा  यादी   चालू करा</a>
    			 <?php           
    			        }
			       ?> 
				   <br /><br />
			    <?php 
			        $form_status = $db->get_uttarsuchi_status();
			    ?>
                <strong>उत्तर सूची सेकशन :<label class="txt_status"><?php echo $form_status; ?></label><strong>
		        <?php
    			        if($form_status=="on")
    			        {
    			 ?>
    			 <a href="<?php echo $_SERVER['PHP_SELF']."?answer_sheet_off"; ?>" class="setting setting_off_link"> -> उत्तर सूची सेकशन बंद करा</a>
    			 <?php
    			        }
    			        else
    			        {
    			 ?>
    			  <a href="<?php echo $_SERVER['PHP_SELF']."?answer_sheet_on"; ?>" class="setting setting_on_link"> -> उत्तर सूची सेकशन चालू करा</a>
    			 <?php           
    			        }
			       ?>
			       
			</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