'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; } ?>机中

Linux下vmware虚拟机中永久激活Windows7

简述 vmware 可以指定一个外部文件作为其虚拟机的BIOS ,那么就可以通过把品牌机的SLIC2.1 的信息写到这个BIOS 文件中来激活Windows 7.  只要能够生成这个BIOS 文件&#xff0c

2024-10-5580

虚拟机中安装win10系统

1.在虚拟机中安装win10系统前,我们需要先准备好win10系统的镜像。 点击后可下载win10镜像,提取码:ah70 2.安装win10系统 点击虚拟机左上角文件并点击新

2024-10-5320

在VMware虚拟机中安装Win10操作系统

一、安装前的准备工作 1.首先需要安装VMware,请大家自行百度查找,我会在后续的文章中加入虚拟机的安装方法。 以下文章中的内容中所使用的VMware版本为:VMware Workstatio

2024-10-5460

VMware虚拟机中安装win10操作系统

引言 本篇文章将会详细讲解如何在创建好的虚拟机文件中安装操作系统,可以是Windows、Linux、Dos等各种系统,本篇文章以win10系统为例。 工具 win10系统文件&#xff

2024-10-4870

VMware虚拟机中安装Win10系统

首先我们要有两个软件: 1,VMware Workstation Pro虚拟机软件:详见教程http:t.csdng7VEm(VMware下载安装步骤) 2&

2024-10-4480

windows访问虚拟机DNS服务器,windows虚拟机中DNS服务配置

在linux虚拟机中进行DNS服务配置并进行正向解析反向解析我博客中已经写过,下面 我来介绍一下在windows虚拟机中DNS服务的配置使用。 1.打开一台windows虚拟机中服务器管理器——角色———添加角色 2.

2024-10-4540

玩转手机中的linux系统termux并搭建java开发环境

目标 春节在家,偶尔要出门在外。出门在外的时候,没有电脑可以写代码。那么代码瘾上来了怎么办呢?我在想能不能在手机上写代码呢? 手机远程电脑是一种方式

2024-10-41490

虚拟机中的Windows重置系统密码

概述 相信大家不管是在企业还是个人都或多或少接触过虚拟机,在安装操作系统的时候,有的需要密码,而且默认有时总是提示需要更改密码,导致忘记密码&#

2024-10-4440