403Webshell
Server IP : 119.59.102.212  /  Your IP : 18.116.39.37
Web Server : Apache/2
System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64
User : yangkam ( 1022)
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/yangkam/domains/yangkam.go.th/private_html/coremain/module/member/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/private_html/coremain/module/member/member.php
<?php
$navig['member']="แก้ไขข้อมูลส่วนตัว";
navigator($navig);
echo "<br>";
bar_header("แก้ไขข้อมูลส่วนตัว"); // Bar_Header
fieldset_top("ข้อมูลส่วน");
$data_profile = select_query_object("*","cms_user_profile","id_user",$_SESSION[id_user_admin]);
$name_profile = $data_profile->name;
$surname_profile = $data_profile->surname;
$email_profile = $data_profile->email;
$address_profile = $data_profile->address;
$telephone_profile = $data_profile->telephone;
$picure_profile = $data_profile->picture;
$id_user = $data_profile->id_user;
$sex =  $data_profile->sex;
?>


<form name="edit_form" method="post" action="index.php?mod=member_edit_output&path=member" enctype="multipart/form-data" />
<table align="center" width="98%" border="0">

<table align="center" width="98%">

	<tr height="29">		<td width="10%">
			
		</td>
		<td width="25%">
		<?php print_arr1(); ?>
		 รูปภาพ
		</td>
		<td>
		<?php
			
			if (file_exists("$_SESSION[web_name]/users/$id_user/user_picture/$picure_profile"))
				echo "<img src='$_SESSION[web_name]/users/$id_user/user_picture/$picure_profile' />";
			else
				print_nopic();
		?>
		</td>
	</tr>

	<tr height="29">		<td width="10%">
			
		</td>
		<td width="25%">
		<?php print_arr1(); ?>
		 อัพรูปภาพใหม่
		</td>
		<td>
		<input name="picture_file" type="file" size="20">
		</td>
	</tr>
	
		<tr height="29">		<td width="10%">
		</td>
		<td width="25%">
		<?php print_arr1(); ?>
		 เพศ
		</td>
		<td width="100%" align="left">
			<select name="sex">
				<?php
					if($sex==M)
						echo "<option value='M' selected='selected'>ชาย</option>";
					else
						echo "<option value='M'>ชาย</option>";
						
					if($sex==F)
						echo "<option value='F' selected='selected'>หญิง</option>";
					else
						echo "<option value='F'>หญิง</option>";
				?>
			</select>
		</td>
	</tr>
	
	<tr height="29">		<td width="10%">
			
		</td>
		<td width="15%">
		<?php print_arr1(); ?>
		 ชื่อ
		</td>
		<td width="100%" align="left"> <input type="text" name="name" value="<?php echo $name_profile?>" />
		</td>
	</tr>
	
		<tr height='29'>
		<td>
			
		</td>
		<td>
		<?php print_arr1(); ?>
		 นามสกุล
		</td>
		<td> <input type="text" name="surname" value="<?php echo $surname_profile?>" />
		</td>
	</tr>
		<tr height='29'>		<td width="10%">
			
		</td>
		<td width="">
		<?php print_arr1(); ?>
		 อีเมลล์
		</td>
		<td> <input type="text" name="email" value="<?php echo $email_profile?>" />
		</td>
	</tr>
		<tr height='29'>		<td width="10%">
			
		</td>
		<td width="">
		<?php print_arr1(); ?>
		 ที่อยู่
		</td>
		<td> <input type="text" name="address" value="<?php echo $address_profile?>" />
		</td>
	</tr>
		<tr height='29'>		<td width="10%">
			
		</td>
		<td width="">
		<?php print_arr1(); ?>
		 เบอร์โทรศัพท์
		</td>
		<td> <input type="text" name="tel" value="<?php echo $telephone_profile?>" />
		</td>
	</tr>
	
	
	<tr height='29'>
		<td width="10%">	
		</td>
		<td>
		<?php print_arr1(); ?>
		 คลิกที่นี่เพื่อเปลี่ยนรหัสผ่าน
		</td>
		<td> <input type="checkbox" name="change_pass" onclick="enable_pass()"/>
		</td>
	</tr>
	
		</tr>
		
		<tr height='29'>		<td width="10%">
			
		</td>
		<td>
		<?php print_arr1(); ?>
		รหัสผ่านใหม่
		</td>
		<td> <input type="password" name="new_pass" disabled="disabled"/>
		</td>
	</tr>
	<tr height='29'>		<td width="10%">
			
		</td>
		<td>
		<?php print_arr1(); ?>
		ยืนยันรหัสผ่านใหม่
		</td>
		<td> <input type="password" name="new_pass2" disabled="disabled"/>
		</td>
	</tr>
	
		<tr height='29'>		<td width="10%">
			
		</td>
		<td width="">
		
		 
		</td>
		
		<td> <input type="submit" name="btn_submit" value="แก้ไขข้อมูล" onclick="return checkform();" />
		</td>
	</tr>
</table>

</form>
<?

?>
<script language="javascript">

	function checkform() {

		var form = document.edit_form;
	
		if(form.change_pass.checked.value!='')
		{
			
			return true;
			
		}
		return false;
	}


	function enable_pass(){	
			document.edit_form.new_pass.disabled = false;
			document.edit_form.new_pass2.disabled = false;
	}
	
</script>
<?
fieldset_down();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit