403Webshell
Server IP : 134.236.49.22  /  Your IP : 216.73.216.114
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/room/member/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/room/member/rigister.php
<?php
session_start();
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
date_default_timezone_set('Asia/Bangkok');
?>
<html>
<head>
<title>สมัครสมาชิก</title>
<form class="form-horizontal" role="form" name="formregister" method="post" action="check_r.php">
    <br /><div class="page-header" align="center"><h1>สมัครสมาชิก</h1></div>
<table align="center">
	<tr>
		<td >	
			<div class="form-group">
				<label class="col-sm-3 control-label no-padding-right" for="txtUsername"> ชื่อผู้ใช้ </label>
				<input type="text" name="txtUsername" id="txtUsername" placeholder="Username" 
				class="col-xs-10 col-sm-5" value="" required />&nbsp;&nbsp;&nbsp; 
				<label class="col-sm-3 control-label no-padding-right" for="txtPassword"> รหัสผ่าน </label>
				<input type="password" name="txtPassword" id="txtPassword" placeholder="Password" 
				class="col-xs-10 col-sm-5" value="" required />
			</div>
		</td>
	</tr>
	<tr>
		<td >	  
			<div class="form-group">
				<label class="col-sm-3 control-label no-padding-right" for="title"> คำนำหน้า </label>
				   <select name="title" id="title" >
						<option value="นาย">นาย</option>
						<option value="นางสาว">นางสาว</option>
						<option value="นาง">นาง</option>
				   </select>
			</div>
		</td>
	</tr>
	<tr>
		<td>
			<div class="form-group">
				<label class="col-sm-3 control-label no-padding-right" for="txtfirstname">
				&nbsp;&nbsp;&nbsp; ชื่อ </label>
				<input type="text"  name="txtfirstname" id="txtfirstname" placeholder="Firstname" 
				class="col-xs-10 col-sm-5" value="" required />
				<label class="col-sm-3 control-label no-padding-right" for="txtsurname"> นามสกุล </label>
				<input type="text"  name="txtsurname" id="txtsurname" placeholder="Surname" 
				class="col-xs-10 col-sm-5" value="" required />
			</div>
		</td>
	</tr>
	<tr>
		<td>  
			<div class="form-group">
				<label class="col-sm-3 control-label no-padding-right" for="position">ตำแหน่ง</label>
				<input type="text"  name="position" id="position" placeholder="Position" 
				class="col-xs-10 col-sm-5" value="" required />
				<label class="col-sm-3 control-label no-padding-right" for="phone">เบอร์โทรศัพท์</label>
				<input type="text"  name="phone" id="phone" placeholder="Phone" 
				class="col-xs-10 col-sm-5" value="" required />
			</div>
		</td>
	</tr>
	<tr>
		<td>
			<div class="form-group">
				<label class="col-sm-3 control-label no-padding-right" for="txtemail"> อีเมลล์ </label>
				&nbsp;&nbsp;&nbsp;<input type="text"  name="txtemail" id="txtemail" placeholder="Email" 
				class="col-xs-10 col-sm-5" value="" required />
			</div>
		</td>
	</tr>
	<tr>
		<td>   
				   <input type="hidden" name="status" id="status" value="user">
				   <input type="hidden" name="active" id="active" value="1">
		</td>
	</tr>
	<tr>
		<td align="center"><br />
		   
			<div class="clearfix form-actions">
				<div class="col-md-offset-3 col-md-9">
				<button class="btn btn-primary" type="submit">
				<i class="ace-icon fa fa-check bigger-110"></i>
				<input type="hidden"name="submit" id="submit" value="save">
					ยืนยัน
			</button>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; 
					&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;
			<button class="btn btn-warning" type="button" onClick="javascript: window.history.back();">
				<i class="ace-icon fa fa-undo bigger-110"></i>
					ยกเลิก
			</button>
				</div>
			</div>
</table>
</form>
<?	/*
		$create_date = date('Y-m-d H:i:s');
		$meSQL = "INSERT INTO tb_member (username,password,ntitle,firstname,surname,position,phone,email,status,active,create_date) VALUES ('".$_POST["txtUsername"]."','".$_POST["txtPassword"]."','".$_POST["title"]."','".$_POST["txtfirstname"]."','".$_POST["txtsurname"]."','".$_POST["position"]."','".$_POST["phone"]."','".$_POST["txtemail"]."','".$_POST["status"]."','".$_POST["active"]."','".$create_date."')";
		$meQuery = $conn->query($meSQL);		
		
		if ($meQuery == TRUE) {
			echo "<script>alert('สมัครเสร็จเรียบร้อยแล้ว'); window.location ='../index.php';</script>";
        } else {
			echo "<script>alert('มีปัญหาการบันทึกข้อมูล กรุณากลับไปบันทึกใหม่');history.back(-1);</script>";
			exit();
        }
	}		

$conn->close();*/
?>


Youez - 2016 - github.com/yon3zu
LinuXploit