403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/hkosl.com/innoutstorage/webadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hkosl.com/innoutstorage/webadmin/customer_addform.php
<?php
	require_once('check_login.php');

	$customer_type_info = get_master_type_code("CUSTOMER_TYPE");
?>
<!DOCTYPE html>
<html>
<head>
	<?php require_once('html_head.php'); ?>
	<script type="text/javascript">
		function _customer_type(customer_type) {
			if (customer_type == "PERSONAL") {
				$("#companyname").hide();
			} else {
				$("#companyname").show();
			}
		}

		$(function () {
			if($("select[name='customer_type']").val() == "BUSINESS"){
				_customer_type('BUSINESS');
			}
		});
	</script>

	<style>
		table input[type='text'], table textarea {
			width: 95%;
		}

		.need_delivery_service {
			display: none;
		}
	</style>

</head>
<body>

<form action="customer_add.php" method="post" name="customer_add" enctype="multipart/form-data">
	<table width="900" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td height="70" align="right" valign="middle" class="icontxt">
				<table border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td width="50" align="center" style="font-size: 12px;">
							<input type="image" alt="submit" src="images/iconSave.png" width="32" height="32" border="0"><br>
							&nbsp;儲存&nbsp;&nbsp;</td>
						<td width="50" align="center">
							<a href="customer_index.php"><img src="images/iconCancel.png" alt="Cancel" width="32" height="32" border="0"><br>
								&nbsp;返回&nbsp;&nbsp;</a></td>
						<td>&nbsp;</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<span style="float:left;" class="pagetitletxt">
					&nbsp;&nbsp;<b><img src="images/iconList.jpg" width="48" height="48" align="absmiddle"/> 新增 客戶 </b></span>
			</td>
		</tr>
		<tr>
			<td align="left" valign="middle"><!-- Content -->
				<table style="width: 100%; margin-left: 10px;">

					<tr>
						<td style="width: 150px;">
							<p class="required">客戶類型: </p>
						</td>

						<td style="min-width: 400px;">
							<select name="customer_type" onchange="_customer_type($(this).val());">
								<?php
									foreach ($customer_type_info as $customer_type) {

										echo "<option value='" . $customer_type["code"] . "'>" . $customer_type["name_tc"] . "</option>";
									}
								?>
							</select> <br> <span class="msg">個人: 以身分證作認證 &nbsp;&nbsp;&nbsp; 商業: 以商業登記證作認證 </span>

						</td>
					</tr>

					<tr>
						<td>
							<p class="required">證明文件號碼: </p>
						</td>

						<td>
							<input type="text" name="identity_id" style="width: 150px;"/>

						</td>
					</tr>

					<tr>
						<td>
							<p class="required">頭銜: </p>
						</td>

						<td>
							<select name="title">
								<option value="Mr">先生</option>
								<option value="Mrs">女士</option>
								<option value="Ms">>小姐</option>
							</select>
						</td>
					</tr>

					<tr>
						<td>
							<p class="required">姓氏: </p>
						</td>

						<td>
							<input type="text" name="lastname" style="width: 300px;"/>
						</td>
					</tr>

					<tr>
						<td>
							<p class="required">名字: </p>
						</td>

						<td>
							<input type="text" name="firstname" style="width: 300px;"/>
						</td>
					</tr>

					<tr id="companyname" style="display: none;">
						<td>
							<p class="required">公司名稱: </p>
						</td>

						<td>
							<input type="text" name="companyname" style="width: 600px;"/>
						</td>
					</tr>

					<tr>
						<td>
							<p class="">聯絡電郵: </p>
						</td>

						<td>
							<input type="text" name="email" style="width: 300px;"/>
						</td>
					</tr>

					<tr>
						<td>
							<p class="required">聯絡電話: </p>
						</td>

						<td>
							<input type="text" name="tel" style="width: 300px;"/>
						</td>
					</tr>

					<tr>
						<td>
							<p class="required">聯絡地址: </p>
						</td>

						<td>
							<input type="text" name="address" style="width: 600px;"/>
						</td>
					</tr>

					<tr>
						<td></td>
						<td>
							<p class="red">* 必須填寫</p>
						</td>

					</tr>

				</table>

				<br><br>
			</td>
		</tr>
	</table>
</form>
</body>
</html>


Youez - 2016 - github.com/yon3zu
LinuXploit