'operate_delete.htm'; break; case 'operate_move': $pre .= $default_pre .= 'operate_move.htm'; break; case '404': $pre .= $default_pre .= '404.htm'; break; case 'read_404': $pre .= $default_pre .= 'read_404.htm'; break; case 'list_404': $pre .= $default_pre .= 'list_404.htm'; break; default: $pre .= $default_pre .= theme_mode_pre(); break; } if ($config['theme']) { $conffile = APP_PATH . 'view/template/' . $config['theme'] . '/conf.json'; $json = is_file($conffile) ? xn_json_decode(file_get_contents($conffile)) : array(); } !empty($json['installed']) and $path_file = APP_PATH . 'view/template/' . $config['theme'] . '/htm/' . ($id ? $id . '_' : '') . $pre; (empty($path_file) || !is_file($path_file)) and $path_file = APP_PATH . 'view/template/' . $config['theme'] . '/htm/' . $pre; if (!empty($config['theme_child']) && is_array($config['theme_child'])) { foreach ($config['theme_child'] as $theme) { if (empty($theme) || is_array($theme)) continue; $path_file = APP_PATH . 'view/template/' . $theme . '/htm/' . ($id ? $id . '_' : '') . $pre; !is_file($path_file) and $path_file = APP_PATH . 'view/template/' . $theme . '/htm/' . $pre; } } !is_file($path_file) and $path_file = APP_PATH . ($dir ? 'plugin/' . $dir . '/view/htm/' : 'view/htm/') . $default_pre; return $path_file; } function theme_mode_pre($type = 0) { global $config; $mode = $config['setting']['website_mode']; $pre = ''; if (1 == $mode) { $pre .= 2 == $type ? 'portal_category.htm' : 'portal.htm'; } elseif (2 == $mode) { $pre .= 2 == $type ? 'flat_category.htm' : 'flat.htm'; } else { $pre .= 2 == $type ? 'index_category.htm' : 'index.htm'; } return $pre; } ?>解决方法

MYSQL重装时需要旧密码解决方法

方法1:重装了Mysql,在配置的时候,老是需要指示输入旧的Mysql的root用户的密码!不然就会出现 Nt. 1045 的数据库错误。只有强硬删除原来的数据文件了&

7月前710

系统安装无法创建新的系统分区的解决方法

在安装Windows7时,想必有很多人都安碰到这样的情况吧!在安装界面里选择安装时,却出现“安装程序无法创建新的系统分区,也无法定位现有系统分区”安装程序无法创建新的系统分区

7月前1040

重装系统后硬盘消失?这里有几种有效的解决方法

重装系统后硬盘消失?这里有几种有效的解决方法 在重装电脑系统的过程中,一些用户可能会遇到一个令人困惑的问题:硬盘似乎“消失”了。这不仅会导致数据丢失的风险,还可能影响系统的正常运行。本文将详细介绍几种解决重装系统后硬盘消失问题的方法,帮助

7月前1230

重装anaconda遇到的问题及解决方法

第一个问题,重装anaconda之后,点开anaconda prompt显示系统找不到指定路径;开始界面里的图标也会变成下图那样。 原因是之前的anaconda有文件残留如下

7月前670