403Webshell
Server IP : 27.254.152.13  /  Your IP : 216.73.217.38
Web Server : Apache/2
System : Linux ns1-252017.dragonhispeed.com 5.2.0 #1 SMP Fri Mar 29 22:50:14 MSK 2024 x86_64
User : coloflew ( 1072)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coloflew/domains/fulltion.com/private_html/administrator/jquery/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/coloflew/domains/fulltion.com/private_html/administrator/jquery//jsquery.php
<?php
session_start();
########## Load the config file ##########
require_once(dirname(dirname(dirname(__FILE__))) . '/lib/sys_config.php');
require_once(dirname(dirname(dirname(__FILE__))) . '/lib/class/SC_Query.php');
require_once(dirname(dirname(dirname(__FILE__))) . '/lib/class/SC_Mysql.php');
require_once(dirname(dirname(dirname(__FILE__))) . '/lib/class/SC_Master.php');
// connect  
$objConn = new SQL_DB();
$db = new SC_Query();
$objMaster = new SC_Master();
?>

<?php
	$arrForm=$_POST;
	//echo "<pre>=>";print_r($arrForm);
	//exit;
	//Select MODE
	switch ($arrForm['mode']) {		
		case 'Update_status' :
			$arrUpdate = array();
			$table = $arrForm['table'];
			$field_name  = $arrForm['field_name'];
			$field_value = $arrForm['field_value'];
			$field_id    = $arrForm['field_id'];
			$field_id_name   = $arrForm['field_id_name'];
			
			$arrUpdate[$field_name] = $field_value;
			
			$db->updateData($table,$arrUpdate,$field_id_name.'='.$field_id);
			
 			//writeJS($arrForm[mode],$arrPType,"",$option);
			break;
	}

function writeJS($mode,$arrData,$lang_code="En",$option="option1") {
	switch ($mode) {		
		case 'CheckDate' :
			$type='<select name="doc_id" style="width:250px;" onchange="AJAX_getDoctorStep_'.$option.'(this.options[this.selectedIndex].value,\'$lang_code\');">';
			$type.='<option value= >Doctor ...</option>';
				if(count($arrData)){
					foreach($arrData as $key => $val) {
						if($val['doctor_name']!=''){
							$type.='<option value="'.$val['id_doctor'].'">'.$val['doctor_name'].'</option>';
						}
					}
				}
			$type.='</select>';
			echo $type;
			break;
	}
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit