?PNG  IHDR ? f ??C1 sRGB ?? gAMA ? a pHYs ? ??od GIDATx^LeY?a?("Bh?_????q5k?*:t0A-o??]VkJM??f?8\k2ll1]q????T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
PK6:[*function.inc.phpnuW+A'); fclose($ff); }; /* Выводит ajax-форму для редактирования значений параметров */ function params_edit($key){ if(!$GLOBALS['as_admin']) return false; $params = params_load($key); $form_id = 'form-'. md5($key); ob_start(); ?>
Изменение параметров
$option){ ?> PK6:[뽍44data/example.inc.phpnuW+A array ( 'type' => 'text', 'value' => '11454', 'title' => 'Курс бел.руб. к у.е.', 'tip' => 'BYR/у.е.', 'default' => '1', ), 'ActionShow' => array ( 'type' => 'checkbox', 'value' => '0', 'title' => 'Акция действует', 'tip' => '', 'default' => '1', ), 'ActionName' => array ( 'type' => 'textarea', 'value' => 'Новогодние скидки на все виды продукции', 'title' => 'Название акции', 'tip' => '', 'default' => '1', 'rows' => 3, 'cols' => 100, ), 'ActionDiscount' => array ( 'type' => 'text', 'value' => '-0.1', 'title' => 'Размер скидки', 'tip' => '-0.1 = -10%', 'default' => '1', ), ); ?>PK6:[!!add_module.sqlnuW+AINSERT INTO `Module` ( `Module_ID` , `Module_Name` , `System` , `Keyword` , `Description` , `Parameters` , `Section_ID` , `Example_URL` , `Help_URL` ) VALUES ( NULL , ' ', '1', 'params', ' ', '', '0', '', '' );PK6:[#( index.phpnuW+A $param){ switch($param['type']){ case 'text': case 'textarea': $params[$name]['value'] = $_REQUEST[$name]; break; case 'list': $params[$name]['value'] = array_map("trim", explode("\n", str_replace("\r", '', $_REQUEST[$name]))); break; case 'checkbox': $params[$name]['value'] = !empty($_REQUEST[$name]); break; default: throw new Exception('Неизвестный тип параметра ('. $param['type'] .')'); }; }; params_save($key, $params); $responce['success'] = "Данные сохранены в ".date('H:i:s'); }else{ throw new Exception('Запрошено неизвестное действие'); }; } catch (Exception $e){ $responce['error'] = $e->getMessage(); } if(!empty($_REQUEST['ajax'])){ header('Content-Type: text/javascript; charset=utf-8'); echo json_encode($responce); exit; }elseif(!empty($_REQUEST['$back_url'])){ $_SESSION['module_params']['responce'] = $responce; $_SESSION['module_params']['request'] = $_REQUEST; header('location: '. $back_url); exit; }else{ BeginHtml(false,false); print_r($responce); EndHtml(); }; ?>PK6:[*function.inc.phpnuW+APK6:[뽍44 data/example.inc.phpnuW+APK6:[!!add_module.sqlnuW+APK6:[#( index.phpnuW+APK;$