⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 view.inc

📁 groupoffice
💻 INC
字号:
<?php/*Copyright Intermesh 2003Author: Merijn Schering <mschering@intermesh.nl>Version: 1.0 Release date: 08 July 2003This program is free software; you can redistribute it and/or modify itunder the terms of the GNU General Public License as published by theFree Software Foundation; either version 2 of the License, or (at youroption) any later version.*/$cms_site_module = $GO_MODULES->get_module('cms');require_once($cms_site_module['class_path'].'cms.class.inc');require_once($cms_site_module['class_path'].'cms_site.class.inc');require_once($GO_LANGUAGE->get_language_file('cms'));if(!$cms_site = new cms_site()){  die('No site or invalid site requested');}if ($cms_site->site['acl_read'] > 0){  //authenticate the user  $GO_SECURITY->authenticate();  if (!$GO_SECURITY->has_permission($GO_SECURITY->user_id, $cms_site->site['acl_read']) &&       !$GO_SECURITY->has_permission($GO_SECURITY->user_id, $cms_site->site['acl_write']))  {    require_once($GO_THEME->theme_path."header.inc");    require_once($GO_CONFIG->root_path.'error_docs/403.inc');    require_once($GO_THEME->theme_path."footer.inc");    exit();  }}$publish_path = $GO_CONFIG->get_setting('cms_publish_path');if (isset($published) && $publish_path != '' && $cms_site->site['publish_style'] == '0'){  die($cms_site_offline);}header('Content-Type: text/html; charset='.$charset);echo $cms_site->generate_page();?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -