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: web_setting_data.php
<?php //phpinfo(); //exit; $member_id = Session::get('member_id', SESSION_BACKEND); switch ($_GET['func']): default: $web_setting_id = 1; $strSQL = "select * from web_setting where id = '$web_setting_id'"; $arr_data = $db->Execute($strSQL); if ($db->Affected_Rows() < 1) { FuncSite::msg_box_error('ๆฅ็ก่ณๆ๏ผ'); Func::go_to(-1); exit; } if ($_POST['flag'] == 'true') { foreach ($_POST as $kk => $vv) { $$kk = (trim($vv)); } $update_date = time(); $data = array( 'update_date' => date('Y-m-d H:i:s'), 'title' => $title, 'keyword' => $keyword, 'description' => $description, 'address_tw' => $address_tw, 'address_en' => $address_en, 'address_jp' => $address_jp, 'tel' => $tel, // 'fax'=>$fax, 'mail' => $mail, 'fb' => $fb, ); // print_r($data); // exit; $a = $db->update('web_setting', $data, "id = '$web_setting_id'"); if (!$a) { FuncSite::msg_box('ๆดๆฐๆๅ๏ผ'); } else { FuncSite::msg_box_error('ๆดๆฐๅคฑๆ๏ผ'); } Func::go_to($func_page . '.php'); exit; } $data = array(); array_push($data, array( 'title' => '็ถฒ็ซๆจ้ก', 'type' => 'text', 'name' => 'title', 'value' => $arr_data[0]['title'], "required" => true, ) ); array_push($data, array( 'title' => '็ถฒ็ซ้้ตๅญ', 'type' => 'text', 'name' => 'keyword', 'value' => $arr_data[0]['keyword'], 'help' => '้้ตๅญ่ซ็จ , ๅๅ้ใ', "required" => true, ) ); array_push($data, array( 'title' => '็ถฒ็ซๆ่ฟฐ', 'type' => 'text', 'name' => 'description', 'value' => $arr_data[0]['description'], "required" => true, ) ); array_push($data, array( 'title' => '่ฏ็ตกๆนๅผ่จญๅฎ', 'type' => 'more_title', ) ); array_push($data, array( 'title' => 'ๅฐๅ-ไธญๆ', 'type' => 'text', 'name' => 'address_tw', 'value' => $arr_data[0]['address_tw'], "required" => true, ) ); array_push($data, array( 'title' => 'ๅฐๅ-่ฑๆ', 'type' => 'text', 'name' => 'address_en', 'value' => $arr_data[0]['address_en'], "required" => true, ) ); array_push($data, array( 'title' => 'ๅฐๅ-ๆฅๆ', 'type' => 'text', 'name' => 'address_jp', 'value' => $arr_data[0]['address_jp'], "required" => true, ) ); array_push($data, array( 'title' => '่ฏ็ตก้ป่ฉฑ', 'type' => 'text', 'name' => 'tel', 'value' => $arr_data[0]['tel'], "required" => true, ) ); // array_push($data, array( // 'title' => 'ๅณ็', // 'type' => 'text', // 'name' => 'fax', // 'value' => $arr_data[0]['fax'], // "required" => true // ) // ); array_push($data, array( 'title' => '้ปๅญ้ตไปถ', 'type' => 'text', 'name' => 'mail', 'value' => $arr_data[0]['mail'], "required" => true, ) ); $arr_form1 = array( "func" => 'update', "form_title" => 'ๅบๆฌ่จญๅฎ', "form_name" => 'form1', "elements" => $data, ); $arr_date = array( "update_date" => $arr_data[0]['update_date'], ); endswitch;
Upload File
Create Folder