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: support_data.php
<?php //phpinfo(); //exit; $member_id = Session::get('member_id', SESSION_BACKEND); switch ($_GET['func']): case "update": $support_id = $_GET['id']; $strSQL = "SELECT * FROM support WHERE id = '$support_id'"; $arr_data = $db->Execute($strSQL); if ($db->Affected_Rows() < 1) { FuncSite::msg_box_error('ćĽçĄčłćďź'); Func::go_to(-1); exit; } $img = $arr_data[0]['img']; if ($_POST['flag'] == 'true') { foreach ($_POST as $kk => $vv) { $$kk = (trim($vv)); } $lang1 = $_POST['lang']; $lang_fin = implode(',', $lang1); $data = array( 'content_tw' => $content_tw, 'content_en' => $content_en, 'content_jp' => $content_jp, 'update_date' => date('Y-m-d H:i:s'), 'lang' => $lang_fin, ); $a = $db->update('support', $data, "id = '$support_id'"); // print_r($data); // exit; if (!$a) { FuncSite::msg_box('ć´ć°ćĺďź'); } else { FuncSite::msg_box_error('ć´ć°ĺ¤ąćďź'); } $tmp = ''; if (is_array($arg)) { foreach ($arg as $kk => $vv) { if ($kk != 'func' && $kk != 'id'): $tmp .= "{$kk}={$vv}&"; endif; } } Func::go_to($func_page . '.php?&' . $tmp); exit; } $data = array(); // array_push($data, array( // 'title' => 'čŞč¨ĺç¨č¨ĺŽ', // 'type' => 'checkbox', // 'name' => 'lang', // 'value' => $arr_data[0]['lang'], // 'help' => 'ä¸ćé č¨éĺă', // 'options' => $arr_lang, // ) // ); array_push($data, array( 'title' => 'ĺ稹', 'type' => 'text_show', 'name' => 'title', 'value' => $arr_data[0]['title'], ) );array_push($data, array( 'title' => 'ä¸ć', 'type' => 'more_title', ) ); array_push($data, array( 'title' => 'ĺ §ĺŽš', 'type' => 'html', 'name' => 'content_tw', 'value' => $arr_data[0]['content_tw'], 'height' => 800, 'css' => ['../css/style.css','../css/bootstrap.css'], "required" => true, ) ); array_push($data, array( 'title' => 'čąć', 'type' => 'more_title', ) ); array_push($data, array( 'title' => 'ĺ §ĺŽš', 'type' => 'html', 'name' => 'content_en', 'value' => $arr_data[0]['content_en'], 'height' => 800, 'css' => ['../css/style.css','../css/bootstrap.css'], "required" => true, ) ); array_push($data, array( 'title' => 'ćĽć', 'type' => 'more_title', ) ); array_push($data, array( 'title' => 'ĺ §ĺŽš', 'type' => 'html', 'name' => 'content_jp', 'value' => $arr_data[0]['content_jp'], 'height' => 800, 'css' => ['../css/style.css','../css/bootstrap.css'], "required" => true, ) ); $arr_form1 = array( "func" => 'update', "form_title" => 'ĺşćŹč¨ĺŽ', "form_name" => 'form1', "elements" => $data, ); $arr_date = array( "create_date" => $arr_data[0]['create_date'], "update_date" => $arr_data[0]['update_date'], ); break; default: $arr_data = array(); $andSQL = ''; $strSQL = "SELECT * FROM support WHERE 1 $andSQL"; // echo $strSQL; // exit; $rs = $db->Execute($strSQL); $rows = $db->Affected_Rows(); $curr_page = $_GET['curr_page']; $last_page = ceil($rows / __DATA_PER_PAGE); if ($curr_page > $last_page) { $curr_page = $last_page; } if ($curr_page < 1) { $curr_page = 1; } if ($last_page == 0) { $curr_page = 0; } $arr_data = $db->PageExecute($strSQL, __DATA_PER_PAGE, $curr_page); endswitch;
Upload File
Create Folder