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/output_deposit_report_index.php
<?php
	require_once("check_login.php");

?>

<!DOCTYPE HTML>
<html>
<head>
	<?php require_once("html_head.php"); ?>

	<script type="text/javascript">

		function isValidDate(date) {
			var matches = /^(\d{4})[-\/](\d{2})[-\/](\d{2})$/.exec(date);
			if (matches == null) return false;
			var d = matches[3];
			var m = matches[2] - 1;
			var y = matches[1];
			var composedDate = new Date(y, m, d);
			return composedDate.getDate() == d &&
				composedDate.getMonth() == m &&
				composedDate.getFullYear() == y;
		}

		function output_deposit_report() {
			var startdate = $("#startdate").val();
			var enddate = $("#enddate").val();

			if (isValidDate(startdate) && isValidDate(enddate)) {
				location.href = "output_deposit_report.php?startdate=" + startdate + "&enddate=" + enddate;
			} else {
				alert("請輸入正確的開始日期和完結日期。");
			}
		}

		$(function () {
			$("#startdate").datepicker({dateFormat: 'yy-mm-dd'});
			$("#enddate").datepicker({dateFormat: 'yy-mm-dd'});
		});
	</script>

</head>

<body>

<table width="1000" height="600" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="200" align="left" valign="top">
			<table width="200" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td height="70" align="left" valign="middle">&nbsp;</td>
				</tr>
				<tr>
					<td width="200" align="left" valign="top"><!-- Main Menu -->
						<?php require("menu.php"); ?><!-- End Main Menu --></td>
				</tr>
			</table>
		</td>
		<td width="800" align="left" valign="top">

			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td height="70" align="right" valign="middle" class="icontxt">

					</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 height="25" align="left" valign="middle" class="msg"><?php if (isset($_GET["msg"])) echo $_GET['msg']; ?></td>
				</tr>
				<tr>
					<td align="left" valign="middle"><!-- Content -->
						<table width="100%" border="0" cellpadding="0" cellspacing="0">

							<tr>
								<td width="120" align="right" valign="top" class='content'>開始日期</td>
								<td class='content' valign="top">:&nbsp;</td>
								<td class='content'>
									<input type="text" class="content" name="startdate" id="startdate" style="width: 100px;"/>
									<br/><br/></td>
							</tr>

							<tr>
								<td width="100" align="right" valign="top" class='content'>完結日期</td>
								<td class='content' valign="top">:&nbsp;</td>
								<td class='content'>
									<input type="text" class="content" name="enddate" id="enddate" style="width: 100px;"/>
									<br/><br/></td>
							</tr>

							<tr>
								<td width="100" align="right" valign="top" class='content'></td>
								<td class='content' valign="top">&nbsp;</td>
								<td class='content'>
									<button type="button" onclick="output_deposit_report();">匯出</button>
									<br/><br/></td>
							</tr>

						</table>
						<!-- End Content --></td>
				</tr>
				<tr>
					<td align="left" valign="middle">&nbsp;</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</body>
</html>



Youez - 2016 - github.com/yon3zu
LinuXploit