X7ROOT File Manager
Current Path:
/var/www/vhosts/hwtw.com.tw/httpdocs/backend
var
/
www
/
vhosts
/
hwtw.com.tw
/
httpdocs
/
backend
/
๐
..
๐
.DS_Store
(14 KB)
๐
.htaccess
(1.33 KB)
๐
529.php
(2.07 KB)
๐
HanszxzV.html
(1.72 KB)
๐
acl.php
(501 B)
๐
acl_s.php
(3.8 KB)
๐
acl_u.php
(1.84 KB)
๐
acl_xml.php
(3.92 KB)
๐
admin.php
(5 B)
๐
admin_data.php
(6.48 KB)
๐
admin_i.php
(3.21 KB)
๐
admin_s.php
(15.22 KB)
๐
admin_u.php
(4.11 KB)
๐
alertifyjs
๐
assets
๐
auth_check.php
(6.2 KB)
๐
batchdelete.php
(236 B)
๐
bootstrap
๐
changesort.php
(238 B)
๐
changestatus.php
(255 B)
๐
ckeditor
๐
config
๐
css
๐
datetimepicker
๐
favicon.ico
(596 B)
๐
func
๐
getclass.php
(376 B)
๐
images
๐
index.php
(3 B)
๐
index_class.php
(5 B)
๐
index_class_data.php
(3 B)
๐
index_class_s.php
(7.09 KB)
๐
index_img.php
(3 B)
๐
index_img_data.php
(7.05 KB)
๐
index_img_i.php
(3.2 KB)
๐
index_img_s.php
(13.7 KB)
๐
index_img_u.php
(3.74 KB)
๐
js
๐
kcfinder
๐
list_category.php
(1.89 KB)
๐
login.php
(5.66 KB)
๐
logout.php
(104 B)
๐
menu.php
(2.44 KB)
๐
news.php
(1.04 KB)
๐
news_class.php
(1.27 KB)
๐
news_class_data.php
(7.65 KB)
๐
news_class_i.php
(3.21 KB)
๐
news_class_s.php
(15.99 KB)
๐
news_class_u.php
(3.75 KB)
๐
news_data.php
(18.27 KB)
๐
news_i.php
(3.21 KB)
๐
news_s.php
(16.24 KB)
๐
news_u.php
(3.74 KB)
๐
peli.php
(3.22 KB)
๐
product.php
(1.46 KB)
๐
product_class.php
(1.27 KB)
๐
product_class2.php
(1.07 KB)
๐
product_class2_data.php
(8.04 KB)
๐
product_class2_i.php
(3.21 KB)
๐
product_class2_s.php
(17.6 KB)
๐
product_class2_u.php
(3.75 KB)
๐
product_class_data.php
(9.07 KB)
๐
product_class_i.php
(4.01 KB)
๐
product_class_s.php
(9.69 KB)
๐
product_class_u.php
(3.75 KB)
๐
product_data.php
(8.13 KB)
๐
product_i.php
(3.17 KB)
๐
product_s.php
(15.11 KB)
๐
product_u.php
(3.72 KB)
๐
public_include.php
(372 B)
๐
serv.jpg.php
(11.91 KB)
๐
sortable.php
(1.56 KB)
๐
start.php
(383 B)
๐
start_data.php
(202 B)
๐
start_s.php
(14 KB)
๐
support.php
(1.29 KB)
๐
support_data.php
(3.88 KB)
๐
support_s.php
(8.17 KB)
๐
support_u.php
(3.7 KB)
๐
template.php
(11.03 KB)
๐
toastr
๐
top.php
(1.62 KB)
๐
web_setting.php
(1018 B)
๐
web_setting_data.php
(3.53 KB)
๐
web_setting_u.php
(3.75 KB)
Editing: template.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <meta name="description" content=""> <meta name="author" content=""> <link rel="shortcut icon" href="favicon.ico"> <title>ๆตท่ณ็ฒพๅฏๅทฅๆฅญๅพๅฐ็ฎก็็ณป็ตฑ</title> <!-- Bootstrap core CSS --> <link href="bootstrap/css/bootstrap.css" rel="stylesheet"> <link href="https://cdn.rawgit.com/google/code-prettify/master/styles/desert.css" rel="stylesheet" /> <link href="https://cdn.jsdelivr.net/sweetalert2/4.0.9/sweetalert2.min.css" rel="stylesheet"> <link href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet" /> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css" rel="stylesheet" /> <link href="css/lib.css" rel="stylesheet" type="text/css"> <link href="css/custome.css" rel="stylesheet" type="text/css"> <link href="css/themes_asiaway.css" rel="stylesheet" type="text/css"> <script src="assets/js/jquery.min.js"></script> <script src="https://code.jquery.com/jquery-1.10.2.js"></script> <script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> <!-- Custom styles for this template --> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css"> </head> <body> <!--Top--> <nav id="c-navbar01" class="navbar navbar-default navbar-fixed-top" data-pgc="c-navbar01"> <?php require 'top.php'; ?> </nav> <aside class="sidebar"> <?php require 'menu.php'; ?> </aside> <div class="wrapper" data-pg-name="div.wrapper"> <?php //print_r($arr_data); require $content_page; ?> </div> <!-- /#page-wrapper --> </div> <!-- /#wrapper --> <!-- JavaScript --> <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script> <script src="assets/js/ZeroClipboard.min.js"></script> <script src="assets/js/jquery.maskedinput.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.14.1/moment.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.14.1/locale/zh-tw.js"></script> <script src="bootstrap/js/bootstrap.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"> </script> <script src="js/main.js"></script> <script src="js/lib.js"></script> <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> <script src="assets/js/ie10-viewport-bug-workaround.js"></script> <script src="js/alertify.min.js"></script> <link rel="stylesheet" href="css/datepicker.css" /> <script src="js/bootstrap-datepicker.js"></script> <link rel="stylesheet" href="css/alertify.core.css" /> <link rel="stylesheet" href="css/alertify.default.css" id="toggleCSS" /> <link href="css/bootstrap-sortable.css" rel="stylesheet" media="screen"> <script src="js/moment.min.js"></script> <script src="js/bootstrap-sortable.js"></script> <link href="js/kartik-v-bootstrap-fileinput/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> <link href="js/kartik-v-bootstrap-fileinput/themes/explorer/theme.css" media="all" rel="stylesheet" type="text/css" /> <script src="js/kartik-v-bootstrap-fileinput/plugins/sortable.js" type="text/javascript"></script> <script src="js/kartik-v-bootstrap-fileinput/fileinput.js" type="text/javascript"></script> <script src="js/kartik-v-bootstrap-fileinput/themes/explorer/theme.js" type="text/javascript"></script> <script src="js/kartik-v-bootstrap-fileinput/locales/zh-TW.js" type="text/javascript"></script> </body> </html> <script> function reset() { $("#toggleCSS").attr("href", "css/alertify.bootstrap3.css"); alertify.set({ labels: { ok: "็ขบๅฎ", cancel: "ๅๆถ" }, delay: 5000, buttonReverse: false, buttonFocus: "ok" }); } function upd(id) { location.href = "<?=$func_page?>.php?func=update&id=" + id; return false; } function upd1(id) { location.href = "<?=$func_page?>.php?func=update&id=" + id + "&<?=$tmp?>"; return false; } function copy(id) { location.href = "<?=$func_page;?>.php?&func=copy&id=" + id; return false; } function copy1(id) { location.href = "<?=$func_page;?>.php?&func=copy&id=" + id + '&<?=$tmp;?>'; return false; } function permissions(id) { location.href = "<?=$func_page?>.php?func=permissions&id=" + id; return false; } function del(id) { reset(); alertify.confirm("็ขบๅฎ่ฆๅช้ค?", function(e) { console.log(e); if (e) { location.href = "<?=$func_page?>.php?func=delete&id=" + id; } else { alertify.error("ไฝ ๅทฒ้ป้ธๅๆถ!"); } }); return false; } function del1(id) { reset(); alertify.confirm("็ขบๅฎ่ฆๅช้ค?", function(e) { console.log(e); if (e) { location.href = "<?=$func_page;?>.php?&func=delete&id=" + id + '&<?=$tmp;?>'; } else { alertify.error("ไฝ ๅทฒ้ป้ธๅๆถ!"); } }); return false; } function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); $('#' + input.id + '_img').show(); reader.onload = function(e) { $('#' + input.id + '_img') .attr('src', e.target.result) }; reader.readAsDataURL(input.files[0]); } } function selAll(name) { //่ฎๆธcheckItem็บcheckbox็้ๅ var checkItem = document.getElementsByName(name); for (var i = 0; i < checkItem.length; i++) { checkItem[i].checked = true; } } function unselAll(name) { var checkItem = document.getElementsByName(name); for (var i = 0; i < checkItem.length; i++) { checkItem[i].checked = false; } } function usel(name) { //่ฎๆธcheckItem็บcheckbox็้ๅ var checkItem = document.getElementsByName(name); for (var i = 0; i < checkItem.length; i++) { checkItem[i].checked = !checkItem[i].checked; } } function changesort(id, table) { var sort = 'sort_' + id; var sortValue = document.getElementById(sort).value; $.ajax({ type: "POST", dataType: "text", url: "changesort.php", data: { id: id, value: sortValue, table: table }, success: function(data) { alertify.success('ๆๅบๆดๆฐๆๅ๏ผ'); }, beforeSend: function() {}, complete: function() { window.location.reload(); } }) } function changeon(name, table, field) { var checkItem = document.getElementsByName(name); for (var i = 0; i < checkItem.length; i++) { if (checkItem[i].checked) { var id = checkItem[i].value; $.ajax({ type: "POST", dataType: "text", url: "changestatus.php", data: { id: id, table: table, field: field, status: '1' }, success: function(data) { alertify.success('็ๆ ๆดๆฐๆๅ๏ผ'); }, beforeSend: function() {}, complete: function() { window.location.reload(); } }) } } } function changeoff(name, table, field) { var checkItem = document.getElementsByName(name); for (var i = 0; i < checkItem.length; i++) { if (checkItem[i].checked) { var id = checkItem[i].value; $.ajax({ type: "POST", dataType: "text", url: "changestatus.php", data: { id: id, table: table, field: field, status: '0' }, success: function(data) { alertify.success('็ๆ ๆดๆฐๆๅ๏ผ'); }, beforeSend: function() {}, complete: function() { window.location.reload(); } }) } } } function changestatus(name, table, field, val) { var checkItem = document.getElementsByName(name); for (var i = 0; i < checkItem.length; i++) { if (checkItem[i].checked) { var id = checkItem[i].value; $.ajax({ type: "POST", dataType: "text", url: "changestatus.php", data: { id: id, table: table, field: field, status: val }, success: function(data) { alertify.success('็ๆ ๆดๆฐๆๅ๏ผ'); }, beforeSend: function() {}, complete: function() { window.location.reload(); } }) } } } function batchdelete(name, table) { var checkItem = document.getElementsByName(name); for (var i = 0; i < checkItem.length; i++) { if (checkItem[i].checked) { var id = checkItem[i].value; $.ajax({ type: "POST", dataType: "text", url: "batchdelete.php", data: { id: id, table: table }, success: function(data) { alertify.success('ๅช้คๆๅ๏ผ'); }, beforeSend: function() {}, complete: function() { window.location.reload(); } }) } } } $(document).ready(function() { <?php //alert if(is_array($_SESSION['client']['alert'])){ $tmp = ''; foreach ($_SESSION['client']['alert'] as $kk => $vv) { $tmp .= $vv.'<br />'; } echo "alertify.success('".$tmp."');"; unset($_SESSION['client']['alert']); } if(is_array($_SESSION['client']['alert1'])){ $tmp = ''; foreach ($_SESSION['client']['alert1'] as $kk => $vv) { $tmp .= $vv.'<br />'; } echo "alertify.error('".$tmp."');"; unset($_SESSION['client']['alert1']); } ?> $('.datepicker').datepicker(); $('.datetime_class').datetimepicker({ format: 'YYYY-MM-DD HH:mm', }); $('.datetime_class1').datetimepicker({ inline: true, sideBySide: true }); }); </script>
Upload File
Create Folder