Details:
exception 'FLEA_Db_Exception_SqlQuery' with message 'SQL Error Message: "MySQL server has gone away"
SQL : "SELECT `602195132_columns`.`col_id` FROM `602195132_columns` WHERE `602195132_columns`.`lang` = 'en' AND `602195132_columns`.`col_key` = 'about' ORDER BY sort_id ASC, col_id ASc LIMIT 1"
SQL Error code: "7335941".' in /www/web/ten-print_com/public_html/libs/FLEA/FLEA/Db/Driver/Mysql.php:126
Stack trace:
#0 /www/web/ten-print_com/public_html/libs/FLEA/FLEA/Db/Driver/Mysql.php(187): FLEA_Db_Driver_Mysql->execute('SELECT `602195...')
#1 /www/web/ten-print_com/public_html/libs/FLEA/FLEA/Db/TableDataGateway.php(456): FLEA_Db_Driver_Mysql->selectLimit('SELECT `602195...', 1, NULL)
#2 /www/web/ten-print_com/public_html/libs/FLEA/FLEA/Db/TableDataGateway.php(408): FLEA_Db_TableDataGateway->findAll(Array, 'sort_id ASC, co...', 1, 'col_id', true)
#3 /www/web/ten-print_com/public_html/apps/common/Model/Columns.php(78): FLEA_Db_TableDataGateway->find(Array, 'sort_id ASC, co...', 'col_id')
#4 /www/web/ten-print_com/public_html/apps/common/Model/Columns.php(104): Model_Columns->getColumnByKey('about', 'col_id')
#5 /www/web/ten-print_com/public_html/apps/front/WebControl/Columnlist.php(22): Model_Columns->getTree('about', '*')
#6 [internal function]: _ctlColumnlist(NULL, Array)
#7 /www/web/ten-print_com/public_html/libs/FLEA/FLEA/WebControls.php(100): call_user_func_array('_ctlColumnlist', Array)
#8 /www/web/ten-print_com/public_html/libs/FLEA/FLEA/View/SmartyHelper.php(113): FLEA_WebControls->control('columnlist', NULL, Array, true)
#9 /www/web/ten-print_com/public_html/cache/tmp/%%F1^F10^F10809F6%%head.html.php(216): FLEA_View_SmartyHelper->_pi_func_webcontrol(Array, Object(FLEA_View_Smarty))
#10 /www/web/ten-print_com/public_html/libs/Smarty/Smarty.class.php(1869): include('/www/web/ten-pr...')
#11 /www/web/ten-print_com/public_html/cache/tmp/%%16^163^1635A6B2%%product.html.php(7): Smarty->_smarty_include(Array)
#12 /www/web/ten-print_com/public_html/libs/Smarty/Smarty.class.php(1256): include('/www/web/ten-pr...')
#13 /www/web/ten-print_com/public_html/libs/Smarty/Smarty.class.php(1106): Smarty->fetch('/www/web/ten-pr...', NULL, NULL, true)
#14 /www/web/ten-print_com/public_html/libs/FLEA/FLEA/Controller/Action.php(206): Smarty->display('/www/web/ten-pr...')
#15 /www/web/ten-print_com/public_html/apps/front/Controller/Base.php(120): FLEA_Controller_Action->_executeView('/www/web/ten-pr...', Array)
#16 /www/web/ten-print_com/public_html/apps/front/Controller/Product.php(209): Controller_Base->_executeView('product.html', Array)
#17 /www/web/ten-print_com/public_html/libs/FLEA/FLEA/Dispatcher/Simple.php(120): Controller_Product->actionIndex()
#18 /www/web/ten-print_com/public_html/libs/FLEA/FLEA/Dispatcher/Simple.php(77): FLEA_Dispatcher_Simple->_executeAction('product', 'index', 'Controller_Prod...')
#19 /www/web/ten-print_com/public_html/libs/FLEA/FLEA.php(816): FLEA_Dispatcher_Simple->dispatching()
#20 /www/web/ten-print_com/public_html/apps/application.php(80): FLEA->runMVC()
#21 /www/web/ten-print_com/public_html/index.php(27): application->run()
#22 {main}
Array
(
[0] => SELECT `602195132_columns`.`col_id` FROM `602195132_columns` WHERE `602195132_columns`.`lang` = 'en' AND `602195132_columns`.`col_key` = 'about' ORDER BY sort_id ASC, col_id ASc LIMIT 1
)
SOURCE CODE: | 177 | if (!is_null($offset)) { |
| 178 | $sql .= " LIMIT " . (int)$offset; |
| 179 | if (!is_null($length)) { |
| 180 | $sql .= ', ' . (int)$length; |
| 181 | } else { |
| 182 | $sql .= ', 4294967294'; |
| 183 | } |
| 184 | } elseif (!is_null($length)) { |
| 185 | $sql .= " LIMIT " . (int)$length; |
| 186 | } |
| 187 | return $this->execute($sql); |
| 188 | } |
| 189 | |
| 190 | function metaColumns($table) |
| 191 | { |
| 192 | /** |
| 193 | * C CHAR 或 VARCHAR 类型字段 |
| 194 | * X TEXT 或 CLOB 类型字段 |
| 195 | * B 二进制数据(BLOB) |
| 196 | * N 数值或者浮点数 |
| 197 | * D 日期 |
Array
(
[0] => SELECT `602195132_columns`.`col_id` FROM `602195132_columns` WHERE `602195132_columns`.`lang` = 'en' AND `602195132_columns`.`col_key` = 'about' ORDER BY sort_id ASC, col_id ASc
[1] => 1
[2] =>
)
SOURCE CODE: | 446 | $fields = $this->dbo->qfields($fields, $this->fullTableName, $this->schema); |
| 447 | if ($enableLinks) { |
| 448 | // 当有关联需要处理时,必须获得主表的主键字段值 |
| 449 | $sql = "SELECT {$distinct} {$this->qpka}, {$fields} FROM {$this->qtableName} {$whereby} {$sortby}"; |
| 450 | } else { |
| 451 | $sql = "SELECT {$distinct} {$fields} FROM {$this->qtableName} {$whereby} {$sortby}"; |
| 452 | } |
| 453 | $GLOBALS['sql'][] = $sql; |
| 454 | // 根据 $length 和 $offset 参数决定是否使用限定结果集的查询 |
| 455 | if (null !== $length || null !== $offset) { |
| 456 | $result = $this->dbo->selectLimit($sql, $length, $offset); |
| 457 | } else { |
| 458 | $result = $this->dbo->execute($sql); |
| 459 | } |
| 460 | |
| 461 | if ($enableLinks) { |
| 462 | /** |
| 463 | * 查询时同时将主键值单独提取出来, |
| 464 | * 并且准备一个以主键值为键名的二维数组用于关联数据的装配 |
| 465 | */ |
| 466 | $pkvs = array(); |
Array
(
[0] => Array
(
[0] => Array
(
[0] => lang
[1] => en
)
[1] => Array
(
[0] => col_key
[1] => about
)
)
[1] => sort_id ASC, col_id ASc
[2] => 1
[3] => col_id
[4] => 1
)
SOURCE CODE: | 398 | * |
| 399 | * @param mixed $conditions |
| 400 | * @param string $sort |
| 401 | * @param mixed $fields |
| 402 | * @param mixed $queryLinks |
| 403 | * |
| 404 | * @return array |
| 405 | */ |
| 406 | function & find($conditions, $sort = null, $fields = '*', $queryLinks = true) |
| 407 | { |
| 408 | $rowset =& $this->findAll($conditions, $sort, 1, $fields, $queryLinks); |
| 409 | if (is_array($rowset)) { |
| 410 | $row = reset($rowset); |
| 411 | } else { |
| 412 | $row = false; |
| 413 | } |
| 414 | unset($rowset); |
| 415 | return $row; |
| 416 | } |
| 417 | |
| 418 | /** |
Array
(
[0] => Array
(
[0] => Array
(
[0] => lang
[1] => en
)
[1] => Array
(
[0] => col_key
[1] => about
)
)
[1] => sort_id ASC, col_id ASc
[2] => col_id
)
SOURCE CODE: | 68 | /** |
| 69 | * 读出数据 |
| 70 | */ |
| 71 | $column = $this->find( |
| 72 | array( |
| 73 | array('lang', getLanguage()), |
| 74 | array('col_key', $colKey) |
| 75 | ), |
| 76 | $orderby, |
| 77 | $fields |
| 78 | ); |
| 79 | |
| 80 | return $column; |
| 81 | |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * 获取栏目树 |
| 86 | * |
| 87 | * @param string $col_key |
| 88 | * @param string $fields |
Array
(
[0] => about
[1] => col_id
)
SOURCE CODE: | 94 | $fields = 'col_id, name, col_key, parent_id, module, sort_id', |
| 95 | $orderby = 'sort_id ASC, col_id ASC', |
| 96 | $limit=null |
| 97 | ) |
| 98 | { |
| 99 | /** |
| 100 | * 查询所有顶级栏目 |
| 101 | */ |
| 102 | $where[] = array('lang', getLanguage()); |
| 103 | if ($col_key) { |
| 104 | $parent = $this->getColumnByKey($col_key,'col_id'); |
| 105 | $parent = $parent['col_id']; |
| 106 | $where[] = array('parent_id', $parent); |
| 107 | |
| 108 | } |
| 109 | $columns = $this->findAll($where, $orderby, $limit=null, $fields); |
| 110 | |
| 111 | /** |
| 112 | * 将栏目平面数组转换为树状二维数组,即把相同父id归组 |
| 113 | */ |
| 114 | if (!function_exists('array_to_tree')) { |
Array
(
[0] => about
[1] => *
)
SOURCE CODE: | 12 | |
| 13 | if (!$data['fields']) { $data['fields'] = '*'; } |
| 14 | if (!$data['assign']) { $data['assign'] = 'assign'; } |
| 15 | if (!$name) { $name = 'columm'; } |
| 16 | if (!$data['col_key']) { $data['col_key'] = null; } |
| 17 | $cacheid = 'macro.cache.' . $name . implode('.',$data); |
| 18 | |
| 19 | if(!$render = isCache($cacheid)){ |
| 20 | |
| 21 | $model =& FLEA::getSingleton('Model_Columns'); |
| 22 | $render = $model->getTree($data['col_key'],$data['fields']); |
| 23 | |
| 24 | writeCache($cacheid,$render); |
| 25 | |
| 26 | } |
| 27 | for($i=0;$i<count($render);$i++){ |
| 28 | if($render[$i]['module']=="Single"){ |
| 29 | $render[$i]['module'] = 'page'; |
| 30 | }elseif($render[$i]['module']=='Information'){ |
| 31 | $render[$i]['module'] = 'info'; |
| 32 | }elseif($render[$i]['module']=='Picture'){ |
Array
(
[0] =>
[1] => Array
(
[col_key] => about
)
)
SOURCE CODE:
Array
(
[0] => _ctlColumnlist
[1] => Array
(
[name] =>
[attribs] => Array
(
[col_key] => about
)
)
)
SOURCE CODE: | 90 | if (file_exists($dir . DS . $extfilename)) { |
| 91 | require($dir . DS . $extfilename); |
| 92 | $this->_extends[$type] = true; |
| 93 | break; |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | if (isset($this->_extends[$type])) { |
| 99 | $__ctl_out = call_user_func_array($render, |
| 100 | array('name' => $name, 'attribs' => $attribs)); |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | if ($__ctl_out === false) { |
| 105 | $__ctl_out = "INVALID CONTROL TYPE \"{$type}\""; |
| 106 | } |
| 107 | |
| 108 | if ($return) { return $__ctl_out; } |
| 109 | echo $__ctl_out; |
| 110 | return ''; |
Array
(
[0] => columnlist
[1] =>
[2] => Array
(
[col_key] => about
)
[3] => 1
)
SOURCE CODE: | 103 | * 提供对 FleaPHP WebControls 的支持 |
| 104 | */ |
| 105 | function _pi_func_webcontrol($params) |
| 106 | { |
| 107 | $type = isset($params['t']) ? $params['t'] : 'page'; |
| 108 | unset($params['t']); |
| 109 | $name = isset($params['name']) ? $params['name'] : null; |
| 110 | unset($params['name']); |
| 111 | |
| 112 | $ui =& FLEA::initWebControls(); |
| 113 | return $ui->control($type, $name, $params, true); |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * 提供对 FleaPHP _T() 函数的支持 |
| 118 | */ |
| 119 | function _pi_func_t($params) |
| 120 | { |
| 121 | return _T($params['key'], isset($params['lang']) ? $params['lang'] : null); |
| 122 | } |
| 123 | |
Array
(
[0] => Array
(
[t] => columnlist
[col_key] => about
)
[1] => FLEA_View_Smarty Object
(
[template_dir] => /www/web/ten-print_com/public_html/themes/default
[compile_dir] => /www/web/ten-print_com/public_html/cache/tmp
[config_dir] => configs
[plugins_dir] => Array
(
[0] => plugins
)
[debugging] =>
[error_reporting] =>
[debug_tpl] =>
[debugging_ctrl] => NONE
[compile_check] => 1
[force_compile] =>
[caching] => 0
[cache_dir] => cache
[cache_lifetime] => 3600
[cache_modified_check] =>
[php_handling] => 0
[security] =>
[secure_dir] => Array
(
)
[security_settings] => Array
(
[PHP_HANDLING] =>
[IF_FUNCS] => Array
(
[0] => array
[1] => list
[2] => isset
[3] => empty
[4] => count
[5] => sizeof
[6] => in_array
[7] => is_array
[8] => true
[9] => false
[10] => null
)
[INCLUDE_ANY] =>
[PHP_TAGS] =>
[MODIFIER_FUNCS] => Array
(
[0] => count
)
[ALLOW_CONSTANTS] =>
[ALLOW_SUPER_GLOBALS] => 1
)
[trusted_dir] => Array
(
)
[left_delimiter] => {{
[right_delimiter] => }}
[request_vars_order] => EGPCS
[request_use_auto_globals] => 1
[compile_id] =>
[use_sub_dirs] =>
[default_modifiers] => Array
(
)
[default_resource_type] => file
[cache_handler_func] =>
[autoload_filters] => Array
(
)
[config_overwrite] => 1
[config_booleanize] => 1
[config_read_hidden] =>
[config_fix_newlines] => 1
[default_template_handler_func] =>
[compiler_file] => Smarty_Compiler.class.php
[compiler_class] => Smarty_Compiler
[config_class] => Config_File
[_tpl_vars] => Array
(
[SCRIPT_NAME] => /index.php
[row] => Array
(
[pro_id] => 1044
[cate_id] => 202
[col_key] => product
[lang] => en
[name] => TP-PAD-DL410 Drum unit
[pic] => 5fa80f63a89d2c43e4669a14f0ab079e.jpg
[memo] => <span style="font-size: small;"><span style="font-family: Arial;"><span lang="EN-US">OEM brand</span>:<span lang="EN-US">Pantum</span><span lang="EN-US"><br />
Type</span>:Drum unit<span lang="EN-US"><br />
OEM code</span>:DL-410<br />
<span lang="EN-US"> Color</span>:BK<span lang="EN-US"><br />
Page yield 5%</span>:<span lang="EN-US">12K</span><span lang="EN-US"><br />
For use in: Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/<br />
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FDW/M7300FDN/M7300FDW</span></span></span>
[price] => 0
[params] =>
[recommend] => 0
[seo_title] => TP-PAD-DL410 Drum unit
[keyword] => TP-PAD-DL410 Drum unit
Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FD
[description] =>
[sort_id] => 324
[created] => 1736735183
[updated] => 1781776422
[category] => Array
(
[cate_id] => 202
[name] => Drum units
[col_key] => product
)
)
[col_key] => product
[title] => Products
[sub_title] => Products Detail
[detail_title] => Products Detail
[extra_data] => Array
(
)
[seo_title] => Products Detail - Products
[seo] => Array
(
[row] => Array
(
[pro_id] => 1044
[cate_id] => 202
[col_key] => product
[lang] => en
[name] => TP-PAD-DL410 Drum unit
[pic] => 5fa80f63a89d2c43e4669a14f0ab079e.jpg
[memo] => <span style="font-size: small;"><span style="font-family: Arial;"><span lang="EN-US">OEM brand</span>:<span lang="EN-US">Pantum</span><span lang="EN-US"><br />
Type</span>:Drum unit<span lang="EN-US"><br />
OEM code</span>:DL-410<br />
<span lang="EN-US"> Color</span>:BK<span lang="EN-US"><br />
Page yield 5%</span>:<span lang="EN-US">12K</span><span lang="EN-US"><br />
For use in: Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/<br />
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FDW/M7300FDN/M7300FDW</span></span></span>
[price] => 0
[params] =>
[recommend] => 0
[seo_title] => TP-PAD-DL410 Drum unit
[keyword] => TP-PAD-DL410 Drum unit
Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FD
[description] =>
[sort_id] => 324
[created] => 1736735183
[updated] => 1781776422
[category] => Array
(
[cate_id] => 202
[name] => Drum units
[col_key] => product
)
)
[col_key] => product
[title] => Products
[sub_title] => Products Detail
[detail_title] => Products Detail
[extra_data] => Array
(
)
[seo_title] => TP-PAD-DL410 Drum unit
[pro_id] => 1044
[cate_id] => 202
[lang] => en
[name] => TP-PAD-DL410 Drum unit
[pic] => 5fa80f63a89d2c43e4669a14f0ab079e.jpg
[memo] => <span style="font-size: small;"><span style="font-family: Arial;"><span lang="EN-US">OEM brand</span>:<span lang="EN-US">Pantum</span><span lang="EN-US"><br />
Type</span>:Drum unit<span lang="EN-US"><br />
OEM code</span>:DL-410<br />
<span lang="EN-US"> Color</span>:BK<span lang="EN-US"><br />
Page yield 5%</span>:<span lang="EN-US">12K</span><span lang="EN-US"><br />
For use in: Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/<br />
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FDW/M7300FDN/M7300FDW</span></span></span>
[price] => 0
[params] =>
[recommend] => 0
[keyword] => TP-PAD-DL410 Drum unit
Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FD
[description] =>
[sort_id] => 324
[created] => 1736735183
[updated] => 1781776422
[category] => Array
(
[cate_id] => 202
[name] => Drum units
[col_key] => product
)
)
[keyword] =>
[foot] => <a href="/?lang=en">Home</a><span style="font-family:宋体"> > </span><a href="/?mod=product&col_key=product&lang=en">Products</a><span style="font-family:宋体"> > </span><a href="/?mod=product&col_key=product&cate_id=202&pro_id=1044&lang=en">Products Detail</a>
[theme] => ./themes/default
[lang] => en
[assign] => Array
(
[0] => Array
(
[pic_id] => 20
[cate_id] =>
[col_key] => logo
[lang] => en
[title] => logo
[pic] => 86aed0f346c471394626a509a2841fdf.png
[url] => N;
[seo_title] =>
[keyword] =>
[description] =>
[memo] =>
[sort_id] => 1
[created] => 1526368812
[updated] => 1702372771
)
)
[l] => Array
(
[pic_id] => 20
[cate_id] =>
[col_key] => logo
[lang] => en
[title] => logo
[pic] => 86aed0f346c471394626a509a2841fdf.png
[url] => N;
[seo_title] =>
[keyword] =>
[description] =>
[memo] =>
[sort_id] => 1
[created] => 1526368812
[updated] => 1702372771
)
)
[_smarty_vars] =>
[_sections] => Array
(
)
[_foreach] => Array
(
)
[_tag_stack] => Array
(
)
[_conf_obj] =>
[_config] => Array
(
[0] => Array
(
[vars] => Array
(
)
[files] => Array
(
)
)
[1] => Array
(
[vars] => Array
(
)
[files] => Array
(
)
)
)
[_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f
[_version] => 2.6.26
[_inclusion_depth] => 0
[_compile_id] =>
[_smarty_debug_id] => SMARTY_DEBUG
[_smarty_debug_info] => Array
(
)
[_cache_info] => Array
(
)
[_file_perms] => 420
[_dir_perms] => 505
[_reg_objects] => Array
(
)
[_plugins] => Array
(
[modifier] => Array
(
[parse_str] => Array
(
[0] => Array
(
[0] => FLEA_View_SmartyHelper Object
(
)
[1] => _pi_mod_parse_str
)
[1] =>
[2] =>
[3] =>
)
[to_hashmap] => Array
(
[0] => Array
(
[0] => FLEA_View_SmartyHelper Object
(
)
[1] => _pi_mod_to_hashmap
)
[1] =>
[2] =>
[3] =>
)
[col_values] => Array
(
[0] => Array
(
[0] => FLEA_View_SmartyHelper Object
(
)
[1] => _pi_mod_col_values
)
[1] =>
[2] =>
[3] =>
)
)
[function] => Array
(
[url] => Array
(
[0] => Array
(
[0] => FLEA_View_SmartyHelper Object
(
)
[1] => _pi_func_url
)
[1] => /www/web/ten-print_com/public_html/./themes/default/en/product.html
[2] => 17
[3] => 1
[4] => 1
[5] =>
)
[ctl] => Array
(
[0] => Array
(
[0] => FLEA_View_SmartyHelper Object
(
)
[1] => _pi_func_webcontrol
)
[1] => /www/web/ten-print_com/public_html/./themes/default/en/product.html
[2] => 29
[3] => 1
[4] => 1
[5] =>
)
[_t] => Array
(
[0] => Array
(
[0] => FLEA_View_SmartyHelper Object
(
)
[1] => _pi_func_t
)
[1] =>
[2] =>
[3] =>
[4] => 1
[5] =>
)
[get_app_inf] => Array
(
[0] => Array
(
[0] => FLEA_View_SmartyHelper Object
(
)
[1] => _pi_func_get_app_inf
)
[1] =>
[2] =>
[3] =>
[4] => 1
[5] =>
)
[dump_ajax_js] => Array
(
[0] => Array
(
[0] => FLEA_View_SmartyHelper Object
(
)
[1] => _pi_func_dump_ajax_js
)
[1] =>
[2] =>
[3] =>
[4] => 1
[5] =>
)
[option] => Array
(
[0] => Array
(
[0] => FLEA_View_SmartyHelper Object
(
)
[1] => _sh_func_option
)
[1] =>
[2] =>
[3] =>
[4] => 1
[5] =>
)
)
[block] => Array
(
)
[compiler] => Array
(
)
[prefilter] => Array
(
)
[postfilter] => Array
(
)
[outputfilter] => Array
(
)
[resource] => Array
(
)
[insert] => Array
(
)
)
[_cache_serials] => Array
(
)
[_cache_include] =>
[_cache_including] =>
)
)
SOURCE CODE: | 206 | #cssmenu ul ul li a{background: #288fe1; color:#ffffff;} |
| 207 | </style> |
| 208 | <div style=" z-index:99999;background: #288fe1; float: left;" id='cssmenu'> |
| 209 | <ul> |
| 210 | <li class="<?php if ($this->_tpl_vars['is_home']): ?>active <?php else: ?><?php endif; ?>"><a style="color:#ffffff;" href='<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('ctrl' => 'home'), $this);?> |
| 211 | '>Home</a></li> |
| 212 | <li class="<?php if ($_GET['col_key'] == company): ?>active has-sub<?php else: ?><?php endif; ?>"> |
| 213 | <a style="color:#ffffff;" href='<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('ctrl' => 'page','col_key' => 'company','column' => 'about'), $this);?> |
| 214 | '>About us</a> |
| 215 | <ul> |
| 216 | <?php echo $this->_plugins['function']['ctl'][0][0]->_pi_func_webcontrol(array('t' => 'columnlist','col_key' => 'about'), $this);?> |
| 217 | |
| 218 | <?php $_from = $this->_tpl_vars['assign']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): |
| 219 | foreach ($_from as $this->_tpl_vars['l']): |
| 220 | ?> |
| 221 | <li class='has-sub'><a style="color:#ffffff;" href='<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('ctrl' => $this->_tpl_vars['l']['module'],'col_key' => $this->_tpl_vars['l']['col_key'],'column' => 'about'), $this);?> |
| 222 | '><?php echo $this->_tpl_vars['l']['name']; ?> |
| 223 | </a> |
| 224 | |
| 225 | </li> |
| 226 | <?php endforeach; endif; unset($_from); ?> |
Array
(
[0] => /www/web/ten-print_com/public_html/cache/tmp/%%F1^F10^F10809F6%%head.html.php
)
SOURCE CODE: | 1859 | // config vars are treated as local, so push a copy of the |
| 1860 | // current ones onto the front of the stack |
| 1861 | array_unshift($this->_config, $this->_config[0]); |
| 1862 | |
| 1863 | $_smarty_compile_path = $this->_get_compile_path($params['smarty_include_tpl_file']); |
| 1864 | |
| 1865 | |
| 1866 | if ($this->_is_compiled($params['smarty_include_tpl_file'], $_smarty_compile_path) |
| 1867 | || $this->_compile_resource($params['smarty_include_tpl_file'], $_smarty_compile_path)) |
| 1868 | { |
| 1869 | include($_smarty_compile_path); |
| 1870 | } |
| 1871 | |
| 1872 | // pop the local vars off the front of the stack |
| 1873 | array_shift($this->_config); |
| 1874 | |
| 1875 | $this->_inclusion_depth--; |
| 1876 | |
| 1877 | if ($this->debugging) { |
| 1878 | // capture time for debugging info |
| 1879 | $_params = array(); |
Array
(
[0] => Array
(
[smarty_include_tpl_file] => en/head.html
[smarty_include_vars] => Array
(
)
)
)
SOURCE CODE: | 1 | <?php /* Smarty version 2.6.26, created on 2023-08-18 17:18:33 |
| 2 | compiled from /www/web/ten-print_com/public_html/./themes/default/en/product.html */ ?> |
| 3 | <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); |
| 4 | smarty_core_load_plugins(array('plugins' => array(array('function', 'url', '/www/web/ten-print_com/public_html/./themes/default/en/product.html', 17, false),array('function', 'ctl', '/www/web/ten-print_com/public_html/./themes/default/en/product.html', 29, false),)), $this); ?> |
| 5 | |
| 6 | <?php $_smarty_tpl_vars = $this->_tpl_vars; |
| 7 | $this->_smarty_include(array('smarty_include_tpl_file' => "en/head.html", 'smarty_include_vars' => array())); |
| 8 | $this->_tpl_vars = $_smarty_tpl_vars; |
| 9 | unset($_smarty_tpl_vars); |
| 10 | ?> |
| 11 | |
| 12 | <div class="clear"></div> |
| 13 | <div class="p_path"> |
| 14 | <div class="p_path_in"> |
| 15 | Location: |
| 16 | <?php echo $this->_tpl_vars['foot']; ?> |
| 17 | |
Array
(
[0] => /www/web/ten-print_com/public_html/cache/tmp/%%16^163^1635A6B2%%product.html.php
)
SOURCE CODE: | 1246 | $_smarty_compile_path = $this->_get_compile_path($resource_name); |
| 1247 | |
| 1248 | // if we just need to display the results, don't perform output |
| 1249 | // buffering - for speed |
| 1250 | $_cache_including = $this->_cache_including; |
| 1251 | $this->_cache_including = false; |
| 1252 | if ($display && !$this->caching && count($this->_plugins['outputfilter']) == 0) { |
| 1253 | if ($this->_is_compiled($resource_name, $_smarty_compile_path) |
| 1254 | || $this->_compile_resource($resource_name, $_smarty_compile_path)) |
| 1255 | { |
| 1256 | include($_smarty_compile_path); |
| 1257 | } |
| 1258 | } else { |
| 1259 | ob_start(); |
| 1260 | if ($this->_is_compiled($resource_name, $_smarty_compile_path) |
| 1261 | || $this->_compile_resource($resource_name, $_smarty_compile_path)) |
| 1262 | { |
| 1263 | include($_smarty_compile_path); |
| 1264 | } |
| 1265 | $_smarty_results = ob_get_contents(); |
| 1266 | ob_end_clean(); |
Array
(
[0] => /www/web/ten-print_com/public_html/./themes/default/en/product.html
[1] =>
[2] =>
[3] => 1
)
SOURCE CODE: | 1096 | |
| 1097 | /** |
| 1098 | * executes & displays the template results |
| 1099 | * |
| 1100 | * @param string $resource_name |
| 1101 | * @param string $cache_id |
| 1102 | * @param string $compile_id |
| 1103 | */ |
| 1104 | function display($resource_name, $cache_id = null, $compile_id = null) |
| 1105 | { |
| 1106 | $this->fetch($resource_name, $cache_id, $compile_id, true); |
| 1107 | } |
| 1108 | |
| 1109 | /** |
| 1110 | * executes & returns or displays the template results |
| 1111 | * |
| 1112 | * @param string $resource_name |
| 1113 | * @param string $cache_id |
| 1114 | * @param string $compile_id |
| 1115 | * @param boolean $display |
| 1116 | */ |
Array
(
[0] => /www/web/ten-print_com/public_html/./themes/default/en/product.html
)
SOURCE CODE: | 196 | call_user_func_array($callback, array(& $data, & $view)); |
| 197 | } |
| 198 | if (is_array($data)) { extract($data); } |
| 199 | include($__flea_internal_viewName); |
| 200 | } else { |
| 201 | $view =& $this->_getView(); |
| 202 | foreach ((array)$this->_renderCallbacks as $callback) { |
| 203 | call_user_func_array($callback, array(& $data, & $view)); |
| 204 | } |
| 205 | if (is_array($data)) { $view->assign($data); } |
| 206 | $view->display($__flea_internal_viewName); |
| 207 | |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | /** |
| 212 | * 判断 HTTP 请求是否是 POST 方法 |
| 213 | * |
| 214 | * @return boolean |
| 215 | */ |
| 216 | function _isPOST() |
Array
(
[0] => /www/web/ten-print_com/public_html/./themes/default/en/product.html
[1] => Array
(
[row] => Array
(
[pro_id] => 1044
[cate_id] => 202
[col_key] => product
[lang] => en
[name] => TP-PAD-DL410 Drum unit
[pic] => 5fa80f63a89d2c43e4669a14f0ab079e.jpg
[memo] => <span style="font-size: small;"><span style="font-family: Arial;"><span lang="EN-US">OEM brand</span>:<span lang="EN-US">Pantum</span><span lang="EN-US"><br />
Type</span>:Drum unit<span lang="EN-US"><br />
OEM code</span>:DL-410<br />
<span lang="EN-US"> Color</span>:BK<span lang="EN-US"><br />
Page yield 5%</span>:<span lang="EN-US">12K</span><span lang="EN-US"><br />
For use in: Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/<br />
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FDW/M7300FDN/M7300FDW</span></span></span>
[price] => 0
[params] =>
[recommend] => 0
[seo_title] => TP-PAD-DL410 Drum unit
[keyword] => TP-PAD-DL410 Drum unit
Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FD
[description] =>
[sort_id] => 324
[created] => 1736735183
[updated] => 1781776422
[category] => Array
(
[cate_id] => 202
[name] => Drum units
[col_key] => product
)
)
[col_key] => product
[title] => Products
[sub_title] => Products Detail
[detail_title] => Products Detail
[extra_data] => Array
(
)
[seo_title] => Products Detail - Products
[seo] => Array
(
[row] => Array
(
[pro_id] => 1044
[cate_id] => 202
[col_key] => product
[lang] => en
[name] => TP-PAD-DL410 Drum unit
[pic] => 5fa80f63a89d2c43e4669a14f0ab079e.jpg
[memo] => <span style="font-size: small;"><span style="font-family: Arial;"><span lang="EN-US">OEM brand</span>:<span lang="EN-US">Pantum</span><span lang="EN-US"><br />
Type</span>:Drum unit<span lang="EN-US"><br />
OEM code</span>:DL-410<br />
<span lang="EN-US"> Color</span>:BK<span lang="EN-US"><br />
Page yield 5%</span>:<span lang="EN-US">12K</span><span lang="EN-US"><br />
For use in: Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/<br />
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FDW/M7300FDN/M7300FDW</span></span></span>
[price] => 0
[params] =>
[recommend] => 0
[seo_title] => TP-PAD-DL410 Drum unit
[keyword] => TP-PAD-DL410 Drum unit
Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FD
[description] =>
[sort_id] => 324
[created] => 1736735183
[updated] => 1781776422
[category] => Array
(
[cate_id] => 202
[name] => Drum units
[col_key] => product
)
)
[col_key] => product
[title] => Products
[sub_title] => Products Detail
[detail_title] => Products Detail
[extra_data] => Array
(
)
[seo_title] => TP-PAD-DL410 Drum unit
[pro_id] => 1044
[cate_id] => 202
[lang] => en
[name] => TP-PAD-DL410 Drum unit
[pic] => 5fa80f63a89d2c43e4669a14f0ab079e.jpg
[memo] => <span style="font-size: small;"><span style="font-family: Arial;"><span lang="EN-US">OEM brand</span>:<span lang="EN-US">Pantum</span><span lang="EN-US"><br />
Type</span>:Drum unit<span lang="EN-US"><br />
OEM code</span>:DL-410<br />
<span lang="EN-US"> Color</span>:BK<span lang="EN-US"><br />
Page yield 5%</span>:<span lang="EN-US">12K</span><span lang="EN-US"><br />
For use in: Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/<br />
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FDW/M7300FDN/M7300FDW</span></span></span>
[price] => 0
[params] =>
[recommend] => 0
[keyword] => TP-PAD-DL410 Drum unit
Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FD
[description] =>
[sort_id] => 324
[created] => 1736735183
[updated] => 1781776422
[category] => Array
(
[cate_id] => 202
[name] => Drum units
[col_key] => product
)
)
[keyword] =>
[foot] => <a href="/?lang=en">Home</a><span style="font-family:宋体"> > </span><a href="/?mod=product&col_key=product&lang=en">Products</a><span style="font-family:宋体"> > </span><a href="/?mod=product&col_key=product&cate_id=202&pro_id=1044&lang=en">Products Detail</a>
[theme] => ./themes/default
[lang] => en
)
)
SOURCE CODE: | 110 | die('非法模版'); |
| 111 | } |
| 112 | |
| 113 | if(isMultiLang()){ |
| 114 | $viewdata['lang']=getLanguage(); |
| 115 | $tplname = ROOT_DIR . DS . $viewdata['theme'] . DS .$viewdata['lang'].DS.$tplname; |
| 116 | } |
| 117 | else{ |
| 118 | $tplname = ROOT_DIR . DS . $viewdata['theme'] . DS .$tplname; |
| 119 | } |
| 120 | parent::_executeView($tplname, $viewdata); |
| 121 | |
| 122 | } |
| 123 | |
| 124 | |
| 125 | } |
| 126 | |
| 127 | |
| 128 | /** |
| 129 | * 获取当前语言版本 |
| 130 | * |
Array
(
[0] => product.html
[1] => Array
(
[row] => Array
(
[pro_id] => 1044
[cate_id] => 202
[col_key] => product
[lang] => en
[name] => TP-PAD-DL410 Drum unit
[pic] => 5fa80f63a89d2c43e4669a14f0ab079e.jpg
[memo] => <span style="font-size: small;"><span style="font-family: Arial;"><span lang="EN-US">OEM brand</span>:<span lang="EN-US">Pantum</span><span lang="EN-US"><br />
Type</span>:Drum unit<span lang="EN-US"><br />
OEM code</span>:DL-410<br />
<span lang="EN-US"> Color</span>:BK<span lang="EN-US"><br />
Page yield 5%</span>:<span lang="EN-US">12K</span><span lang="EN-US"><br />
For use in: Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/<br />
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FDW/M7300FDN/M7300FDW</span></span></span>
[price] => 0
[params] =>
[recommend] => 0
[seo_title] => TP-PAD-DL410 Drum unit
[keyword] => TP-PAD-DL410 Drum unit
Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FD
[description] =>
[sort_id] => 324
[created] => 1736735183
[updated] => 1781776422
[category] => Array
(
[cate_id] => 202
[name] => Drum units
[col_key] => product
)
)
[col_key] => product
[title] => Products
[sub_title] => Products Detail
[detail_title] => Products Detail
[extra_data] => Array
(
)
[seo_title] => Products Detail - Products
[seo] => Array
(
[row] => Array
(
[pro_id] => 1044
[cate_id] => 202
[col_key] => product
[lang] => en
[name] => TP-PAD-DL410 Drum unit
[pic] => 5fa80f63a89d2c43e4669a14f0ab079e.jpg
[memo] => <span style="font-size: small;"><span style="font-family: Arial;"><span lang="EN-US">OEM brand</span>:<span lang="EN-US">Pantum</span><span lang="EN-US"><br />
Type</span>:Drum unit<span lang="EN-US"><br />
OEM code</span>:DL-410<br />
<span lang="EN-US"> Color</span>:BK<span lang="EN-US"><br />
Page yield 5%</span>:<span lang="EN-US">12K</span><span lang="EN-US"><br />
For use in: Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/<br />
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FDW/M7300FDN/M7300FDW</span></span></span>
[price] => 0
[params] =>
[recommend] => 0
[seo_title] => TP-PAD-DL410 Drum unit
[keyword] => TP-PAD-DL410 Drum unit
Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FD
[description] =>
[sort_id] => 324
[created] => 1736735183
[updated] => 1781776422
[category] => Array
(
[cate_id] => 202
[name] => Drum units
[col_key] => product
)
)
[col_key] => product
[title] => Products
[sub_title] => Products Detail
[detail_title] => Products Detail
[extra_data] => Array
(
)
[seo_title] => TP-PAD-DL410 Drum unit
[pro_id] => 1044
[cate_id] => 202
[lang] => en
[name] => TP-PAD-DL410 Drum unit
[pic] => 5fa80f63a89d2c43e4669a14f0ab079e.jpg
[memo] => <span style="font-size: small;"><span style="font-family: Arial;"><span lang="EN-US">OEM brand</span>:<span lang="EN-US">Pantum</span><span lang="EN-US"><br />
Type</span>:Drum unit<span lang="EN-US"><br />
OEM code</span>:DL-410<br />
<span lang="EN-US"> Color</span>:BK<span lang="EN-US"><br />
Page yield 5%</span>:<span lang="EN-US">12K</span><span lang="EN-US"><br />
For use in: Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/<br />
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FDW/M7300FDN/M7300FDW</span></span></span>
[price] => 0
[params] =>
[recommend] => 0
[keyword] => TP-PAD-DL410 Drum unit
Pantum P3010D/P3010DW/P3300DN/P3300DW/M6700D/M6700DW/
M7100DN/M7100DW/M6800FDW/M7200FD/M7200FDN/M7200FD
[description] =>
[sort_id] => 324
[created] => 1736735183
[updated] => 1781776422
[category] => Array
(
[cate_id] => 202
[name] => Drum units
[col_key] => product
)
)
[keyword] =>
[foot] => <a href="/?lang=en">Home</a><span style="font-family:宋体"> > </span><a href="/?mod=product&col_key=product&lang=en">Products</a><span style="font-family:宋体"> > </span><a href="/?mod=product&col_key=product&cate_id=202&pro_id=1044&lang=en">Products Detail</a>
)
)
SOURCE CODE: | 199 | $str=isset($_GET['t'])?'&t='.$_GET['t']:''; |
| 200 | $str.=isset($_GET['catname'])?'&catname='.$_GET['catname']:''; |
| 201 | $data['foot'] = getFoot( |
| 202 | array( |
| 203 | $data['title']=>_url('product'.'&col_key='.$data['col_key'].$str,currentAction()), |
| 204 | $data['sub_title']=>_url() |
| 205 | |
| 206 | ) |
| 207 | ); |
| 208 | |
| 209 | $this->_executeView('product.html', $data); |
| 210 | |
| 211 | } |
| 212 | |
| 213 | |
| 214 | /** |
| 215 | * 新品推荐视图 |
| 216 | * |
| 217 | * @access public |
| 218 | * @return void |
| 219 | */ |
Array ( )SOURCE CODE:
| 110 | } |
| 111 | if (method_exists($controller, '__setDispatcher')) { |
| 112 | $controller->__setDispatcher($this); |
| 113 | } |
| 114 | |
| 115 | // 调用 _beforeExecute() 方法 |
| 116 | if (method_exists($controller, '_beforeExecute')) { |
| 117 | $controller->_beforeExecute($actionMethod); |
| 118 | } |
| 119 | // 执行 action 方法 |
| 120 | $ret = $controller->{$actionMethod}(); |
| 121 | // 调用 _afterExecute() 方法 |
| 122 | if (method_exists($controller, '_afterExecute')) { |
| 123 | $controller->_afterExecute($actionMethod); |
| 124 | } |
| 125 | return $ret; |
| 126 | } while (false); |
| 127 | |
| 128 | if ($callback) { |
| 129 | // 检查是否调用应用程序设置的错误处理程序 |
| 130 | $args = array($controllerName, $actionName, $controllerClass); |
Array
(
[0] => product
[1] => index
[2] => Controller_Product
)
SOURCE CODE: | 67 | |
| 68 | /** |
| 69 | * 从请求中分析 Controller、Action 和 Package 名字,然后执行指定的 Action 方法 |
| 70 | * |
| 71 | * @return mixed |
| 72 | */ |
| 73 | function dispatching() |
| 74 | { |
| 75 | $controllerName = $this->getControllerName(); |
| 76 | $actionName = $this->getActionName(); |
| 77 | return $this->_executeAction($controllerName, $actionName, $this->getControllerClass($controllerName)); |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * 执行指定的 Action 方法 |
| 82 | * |
| 83 | * @param string $controllerName |
| 84 | * @param string $actionName |
| 85 | * @param string $controllerClass |
| 86 | * |
| 87 | * @return mixed |
Array ( )SOURCE CODE:
| 806 | require_once($MVCPackageFilename); |
| 807 | } |
| 808 | FLEA::init(); |
| 809 | |
| 810 | // 载入调度器并转发请求到控制器 |
| 811 | $dispatcherClass = FLEA::getAppInf('dispatcher'); |
| 812 | FLEA::loadClass($dispatcherClass); |
| 813 | |
| 814 | $dispatcher =& new $dispatcherClass($_GET); |
| 815 | FLEA::register($dispatcher, $dispatcherClass); |
| 816 | $dispatcher->dispatching(); |
| 817 | } |
| 818 | |
| 819 | /** |
| 820 | * 准备运行环境 |
| 821 | * |
| 822 | * @param boolean $loadMVC |
| 823 | */ |
| 824 | function init($loadMVC = false) |
| 825 | { |
| 826 | static $firstTime = true; |
Array ( )SOURCE CODE:
| 70 | return new application($app); |
| 71 | |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * 运行框架 |
| 76 | * |
| 77 | */ |
| 78 | function run() |
| 79 | { |
| 80 | FLEA::runMVC(); |
| 81 | |
| 82 | |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * 超时操作句柄 |
| 88 | * |
| 89 | * @access public |
| 90 | * @return void |
Array ( )SOURCE CODE:
| 17 | /** |
| 18 | * 载入应用入口 |
| 19 | */ |
| 20 | require_once './apps/application.php'; |
| 21 | /** |
| 22 | * 运行应用 |
| 23 | */ |
| 24 | |
| 25 | |
| 26 | |
| 27 | application::factory('front')->run(); |
| 28 | |
| 29 | |