mirror of
https://github.com/DzzXH/DzzOffice.git
synced 2026-01-23 03:05:20 +08:00
23 lines
862 B
PHP
23 lines
862 B
PHP
<?php
|
|
/* @authorcode codestrings
|
|
* @copyright Leyun internet Technology(Shanghai)Co.,Ltd
|
|
* @license http://www.dzzoffice.com/licenses/license.txt
|
|
* @package DzzOffice
|
|
* @link http://www.dzzoffice.com
|
|
* @author qchlian(3580164@qq.com)
|
|
*/
|
|
if(!defined('IN_DZZ')) {
|
|
exit('Access Denied');
|
|
}
|
|
$navtitle=lang('后台管理');
|
|
$appdata=DB::fetch_all("select appname,appico,appurl,identifier from %t where `group`=3 and isshow>0 and `available`>0",array('app_market'));
|
|
$data=array();
|
|
foreach($appdata as $k => $v){
|
|
if( $v["identifier"]=="appmanagement") continue;
|
|
if ($v['appico'] != 'dzz/images/default/icodefault.png' && !preg_match("/^(http|ftp|https|mms)\:\/\/(.+?)/i", $v['appico'])) {
|
|
$v['appico'] = $_G['setting']['attachurl'] . $v['appico'];
|
|
}
|
|
$v['url']=replace_canshu($v['appurl']);
|
|
$data[]=$v;
|
|
}
|
|
include template('main'); |