feat: 后端全量更新 - 含所有本次需求
- Contract.php: 返回合约账户余额(balance_contract) - My.php: 地址管理增加BTC/ETH - AppContract.php: 一键平仓(closeall) - AppProxy.php: 代理专属注册链接 + 分级权限(L1/L2) - site.php: 手续费减半(0.018→0.009) - agent_permission_setup.sql: 代理权限SQL - crypto_news_crawler.py: 新闻自动采集脚本
This commit is contained in:
+91
@@ -0,0 +1,91 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
<meta name="renderer" content="webkit">
|
||||
<link href="<?php echo STATIC_PATH;?>images/common/favicon.ico" rel="Shortcut Icon">
|
||||
<link href="<?php echo STATIC_PATH;?>style/common.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet"/>
|
||||
<link href="./static/style/font-awesome/css/font-awesome.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet">
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_explorer.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/win10.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<title>File View</title>
|
||||
<!--[if IE 7]>
|
||||
<link rel="stylesheet" href="./static/style/font-awesome/css/font-awesome-ie7.css">
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
body{background: transparent;}
|
||||
.frame-main {top: 0;bottom: 0;}
|
||||
.show-code{width: 100%;left: 0;margin: 0;border: none;padding: 0;}
|
||||
.content-box{position: absolute;bottom: 0;top: 0;width: 100%;}
|
||||
.content-box iframe{width: 100%;height: 100%;}
|
||||
.content-box.markdown-preview {padding: 0;height: 100%;}
|
||||
.show-code,.show-code .ace_editor{height: 100%;}
|
||||
|
||||
.eidior-box{width:100%;height:100%;overflow: hidden;position: relative;}
|
||||
.eidior-content{position: absolute;top: 0;left: 0;bottom: 0;right: 0;}
|
||||
.eidior-content .ace_editor{height:100%;}
|
||||
.content-markdown {overflow: auto;height: 100%;padding: 0 20px;}
|
||||
|
||||
.context-menu-list.menu-zip-list-folder{display:none !important;}
|
||||
.menu-zip-list-file .context-menu-item.unzip-to,
|
||||
.menu-zip-list-file .context-menu-item.unzip-this,
|
||||
.menu-zip-list-file .context-menu-item.info,
|
||||
.menu-zip-list-file .context-menu-item.open-with,
|
||||
.menu-zip-list-file .context-menu-item.context-menu-separator{display:none !important;}
|
||||
|
||||
.ztree li a,.ztree li a:hover,
|
||||
.ztree li a.curSelectedNode, .ztree li span.name,
|
||||
.ztree li a.curDropTreeNode{height:30px;line-height:30px;}
|
||||
.ztree li span.tree_icon {height: 28px;width: 26px;}
|
||||
.ztree li span.tree_icon .x-item-file{width: 24px;height: 24px;}
|
||||
.zip-view-dialog .zip-view-content .ztree li a .menu-item-parent{width:30px;height:30px;line-height: 30px;}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div class="full-background"></div>
|
||||
<div class="init-loading"><div><img src="<?php echo STATIC_PATH;?>images/common/loading_simple.gif?v=<?php echo KOD_VERSION;?>"/></div></div>
|
||||
<div class="frame-main">
|
||||
<div class="bindary-box hidden">
|
||||
<div class="title"><div class="ico"></div></div>
|
||||
<div class="content-info">
|
||||
<div class="name"></div>
|
||||
<div class="size"><span></span><i class="share-time"></i></div>
|
||||
<div class="btn-group">
|
||||
<a type="button" class="btn btn-primary btn-download" href=""><?php echo LNG('download');?></a>
|
||||
</div>
|
||||
<div class="error-tips"><?php echo LNG('share_error_show_tips');?></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-box"></div>
|
||||
</div><!-- / frame-main end-->
|
||||
<script type="text/javascript" src="<?php echo STATIC_PATH;?>js/lib/seajs/sea.js?ver=<?php echo KOD_VERSION;?>"></script>
|
||||
<script type="text/javascript" src="./index.php?share/commonJs&st=api&act=view#id=<?php echo rand_string(4);?>"></script>
|
||||
|
||||
<?php
|
||||
$path = rawurldecode($_GET['path']);
|
||||
$name = get_path_this($path);
|
||||
if(isset($_GET['name'])){$name = rawurldecode($_GET['name']);}
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
G.shareInfo = {
|
||||
path:"<?php echo clear_html($path);?>",
|
||||
name:"<?php echo clear_html($name);?>",
|
||||
mtime:0,size:0
|
||||
}
|
||||
<?php if(ST.'.'.ACT == 'explorer.fileView'){echo "G.shareInfo.view = true;G.sharePage=undefined;";}?>
|
||||
G['accessToken'] = "<?php echo access_token_get();?>";
|
||||
seajs.config({
|
||||
base: "<?php echo STATIC_PATH;?>js/",
|
||||
preload: ["lib/jquery-1.8.0.min",'lib/ace/src-min-noconflict/ace'],
|
||||
map:[[/^(.*\.(?:css|js|html|htm|json|text))([\?|#].*)$/i,'$1$2?ver='+G.version]]
|
||||
});
|
||||
seajs.use("<?php echo STATIC_JS;?>/src/api/view/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_setting.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $config['user']['theme'];?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="body">
|
||||
<div class="app-menu-left menu-left">
|
||||
<h1><?php echo LNG('app');?></h1>
|
||||
<ul class='setting'>
|
||||
<a data-type="all"><i class="font-icon icon-reorder"></i><?php echo LNG('app_group_all');?></a>
|
||||
<?php foreach($config['settings']['appType'] as $item){?>
|
||||
<a data-type="<?php echo $item['type'];?>">
|
||||
<i class="font-icon <?php echo $item['class']?>"></i><?php echo LNG($item['name']);?></a>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='app-content main'>
|
||||
<div class="app-model">
|
||||
<?php if($GLOBALS['isRoot']){ ?><button class="btn btn-default create-app" action='createApp'><?php echo LNG('app_create');?></button><?php } ?>
|
||||
<div class='h1'><i class="font-icon icon-user"></i><?php echo LNG('app_group_all');?></div>
|
||||
<ul class="app-list"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include(TEMPLATE.'common/footerCommon.html');?>
|
||||
<script type="text/javascript">
|
||||
seajs.use('app/src/app/main');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,26 @@
|
||||
<div class="common-footer aero">
|
||||
<?php
|
||||
$settings = $GLOBALS['config']['settings'];
|
||||
$settingSystem = $GLOBALS['config']['settingSystem'];
|
||||
$copyrightInfo = LNG('copyright_info',APP_HOST);
|
||||
if(is_wap()){
|
||||
echo '<span class="pr-10"><a href="javascript:void(0);" forceWap="1">'.LNG('wap_page_phone').'</a> | '.
|
||||
'<a href="javascript:void(0);" forceWap="0">'.LNG('wap_page_pc').'</a></span> ';
|
||||
echo $copyrightInfo.' v'.KOD_VERSION;
|
||||
}else{
|
||||
echo '<span class="copyright-content">';
|
||||
if(isset($settings['copyright'])){
|
||||
echo $settings['copyright'];
|
||||
}else{
|
||||
echo LNG('copyright_pre').' v'.KOD_VERSION.' | '.$copyrightInfo;
|
||||
}
|
||||
echo '<a href="javascript:core.copyright();" class="icon-info-sign copyright-bottom pl-5"></a>';
|
||||
if(isset($settingSystem['globalIcp'])){
|
||||
echo " ".$settingSystem['globalIcp'];
|
||||
}
|
||||
echo '</span>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!-- https://getfirebug.com/firebuglite -->
|
||||
<?php include(TEMPLATE.'common/footerCommon.html');?>
|
||||
@@ -0,0 +1,44 @@
|
||||
<script type="text/javascript" src="<?php echo STATIC_PATH;?>js/lib/seajs/sea.js?ver=<?php echo KOD_VERSION;?>"></script>
|
||||
<?php
|
||||
//commonjs
|
||||
if(ST == 'share' || isset($GLOBALS['loadCommonJs'])){
|
||||
if(isset($_GET['user'])){
|
||||
$userInfo = '&user='.clear_html($_GET['user']).'&sid='.clear_html($_GET['sid']);
|
||||
}else{//login...
|
||||
$userInfo = "";
|
||||
}
|
||||
echo '<script type="text/javascript" src="./index.php?share/commonJs&st='.ST.'&act='.ACT.$userInfo.'#id='.rand_string(4).'"></script>';
|
||||
}else{
|
||||
echo '<script type="text/javascript" src="./index.php?user/commonJs&st='.ST.'&act='.ACT.'#id='.rand_string(4).'"></script>';
|
||||
}
|
||||
|
||||
$settings = $GLOBALS['config']['settings'];
|
||||
$settingSystem = $GLOBALS['config']['settingSystem'];
|
||||
if(isset($settings['globalJs'])){
|
||||
echo "\n ".'<script type="text/javascript" id="settings-global-js">'.$settings['globalJs'].'</script>';
|
||||
}
|
||||
if(isset($settings['globalCss'])){
|
||||
echo "\n ".'<style type="text/css" id="settings-global-css">'.$settings['globalCss'].'</style>';
|
||||
}
|
||||
if(isset($settingSystem['globalCss'])){
|
||||
echo "\n ".'<style type="text/css" id="setting-system-global-css">'.$settingSystem['globalCss'].'</style>';
|
||||
}
|
||||
if(isset($settingSystem['globalHtml'])){
|
||||
echo "\n ".$settingSystem['globalHtml']."\n";
|
||||
}
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
<?php
|
||||
if(defined('INSTALL_CHANNEL')){
|
||||
echo "var installChannel='".INSTALL_CHANNEL."';\n";
|
||||
}
|
||||
?>
|
||||
seajs.config({
|
||||
base: "<?php echo STATIC_PATH;?>js/",
|
||||
preload: ["lib/jquery-1.8.0.min"],
|
||||
map:[[/^(.*\.(?:css|js|html|htm|json|text))([\?|#].*)$/i,'$1$2?ver='+G.version]]
|
||||
});
|
||||
if(navigator.serviceWorker){navigator.serviceWorker.register('./?share/manifestJS');}
|
||||
</script>
|
||||
<?php Hook::trigger('templateCommonFooter');?>
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php Hook::trigger('templateCommonHeaderStart'); ?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript">
|
||||
<meta http-equiv="Cache-Control" content="no-transform">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="description" itemprop="description" content="<?php echo LNG('kod_meta_description');?>">
|
||||
<meta name="keywords" content="<?php echo LNG('kod_meta_keywords');?>" />
|
||||
<meta name="generator" content="<?php echo LNG('kod_meta_name').' '.KOD_VERSION;?>"/>
|
||||
<meta name="author" content="<?php echo LNG('kod_meta_name');?>" />
|
||||
<meta name="copyright" content="<?php echo LNG('kod_meta_copyright');?>" />
|
||||
<meta itemprop="image" content="<?php echo STATIC_PATH;?>images/common/ico.png?ver=<?php echo KOD_VERSION;?>" />
|
||||
<link href="<?php echo STATIC_PATH;?>images/common/ico.png?ver=<?php echo KOD_VERSION;?>" rel="Shortcut Icon" type="image/x-icon">
|
||||
<link href="<?php echo STATIC_PATH;?>images/common/ico.png?ver=<?php echo KOD_VERSION;?>" rel="icon" type="image/x-icon">
|
||||
<link href="<?php echo STATIC_PATH;?>style/common.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet"/>
|
||||
<link href="./static/style/font-awesome/css/font-awesome.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet">
|
||||
<link href="./?share/manifest" rel="manifest" />
|
||||
<!--[if IE 7]>
|
||||
<link rel="stylesheet" href="./static/style/font-awesome/css/font-awesome-ie7.css">
|
||||
<![endif]-->
|
||||
<?php
|
||||
Hook::trigger('templateCommonHeader');
|
||||
function pageBackground(){
|
||||
$arr = explode(',',$GLOBALS['config']['settingSystem']['wallpageLogin']);
|
||||
$background = $arr[mt_rand(0,count($arr)-1)];
|
||||
if(!$background){
|
||||
$background = 'linear-gradient(160deg, #5648c1, #6fe3e7)';
|
||||
}else if(!strstr($background,'/')){
|
||||
$background = "url('./static/images/wall_page/{$background}.jpg')";
|
||||
}else{
|
||||
$background = "url('{$background}')";
|
||||
}
|
||||
return "<style type='text/css'>.aero:before,.aero:after,.background{background-color:#bbb;background-image:{$background};}</style>\n";
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,118 @@
|
||||
<div class="full-background"></div>
|
||||
<div class="init-loading">
|
||||
<div><img src="<?php echo STATIC_PATH;?>images/common/loading_simple.gif?v=<?php echo KOD_VERSION;?>"/></div>
|
||||
</div>
|
||||
<div class="topbar aero">
|
||||
<div class="content">
|
||||
<button class="btn btn-wap-menu hidden"
|
||||
data-toggle="collapse" data-target="#top-menu-left"
|
||||
><i class="font-icon icon-reorder"></i></button>
|
||||
|
||||
<div class="top-left collapse" id="top-menu-left">
|
||||
<?php
|
||||
$config = $GLOBALS['config'];
|
||||
$html = '<a href="./" class="topbar-menu title">';
|
||||
$subMenu = '';
|
||||
$isWap = is_wap();
|
||||
if(substr(LNG('kod_name'),0,4) == '<img'){
|
||||
$html .= LNG('kod_name').'</a>';
|
||||
}else{
|
||||
$html .= '<i class="icon-cloud"></i>'.LNG('kod_name').'</a>';
|
||||
}
|
||||
foreach ($config['settingSystem']['menu'] as $key=>$value) {
|
||||
if ($value['use']!='1') continue;
|
||||
$has = ST==$value['name']?'this':'';
|
||||
$target = " target='_self'" ;
|
||||
if($value['target']=='1' || $value['target'] == '_blank'){
|
||||
$target = " target='_blank'" ;
|
||||
}
|
||||
$name = rawurldecode($value['name']);
|
||||
if(LNG('ui_'.$name) != 'ui_'.$name){
|
||||
$name = "<i class='font-icon menu-".$name."'></i><span>".LNG('ui_'.$name).'</span>';
|
||||
}else if($value['icon']){
|
||||
$name = $value['icon'].'<span>'.LNG($name).'</span>';
|
||||
}else if(!strstr($name,'<') && $value['subMenu']){
|
||||
$name = "<i class='font-icon words'><em>".$name."</em></i><span>".LNG($name).'</span>';
|
||||
}
|
||||
if($value['subMenu'] && !$isWap){
|
||||
$subMenu .= "<li><a class='topbar-menu-sub ".$has."' href='".urldecode($value['url'])."'"
|
||||
.$target.">".urldecode($name)."</a></li>";
|
||||
}else{
|
||||
$html .= "<a class='topbar-menu ".$has."' href='".urldecode($value['url'])."'"
|
||||
.$target.">".urldecode($name)."</a>";
|
||||
}
|
||||
}
|
||||
echo $html;
|
||||
?>
|
||||
|
||||
<?php if($subMenu){?>
|
||||
<div class="menu-group fl">
|
||||
<a class="topbar-menu" id="topbar-submenu"
|
||||
data-toggle="dropdown" href="#" title="<?php echo LNG('menu_sub_menu');?>">
|
||||
<i class="icon-th-large"></i>
|
||||
</a>
|
||||
<ul class="dropdown-menu topbar-submenu pull-left animated menuShow" role="menu" aria-labelledby="topbar-submenu">
|
||||
<?php echo $subMenu;?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="top-right">
|
||||
<?php if(!isset($config['settings']['language'])){ ?>
|
||||
<div class="menu-group">
|
||||
<a id='topbar-language' data-toggle="dropdown" href="#" class="topbar-menu">
|
||||
<i class='font-icon icon-flag'></i> <b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu topbar-language pull-right animated menuShow" role="menu" aria-labelledby="topbar-language">
|
||||
<?php
|
||||
$tpl = "";
|
||||
foreach ($config['settingAll']['language'] as $key => $value) {
|
||||
$name = $value[0];
|
||||
$select = I18n::getType() == $key ? "this":"";
|
||||
$tpl .= "<li><a href='javascript:core.language(\"{$key}\");' title=\"{$key}/{$value[1]}/{$value[2]}\" class='{$select}'><i class='lang-flag flag-{$key}'></i>{$name}</a></li>";
|
||||
}
|
||||
echo $tpl;
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- 全局设置语言则不再显示 -->
|
||||
|
||||
<div class="menu-group">
|
||||
<a href="#" id='topbar-user' data-toggle="dropdown" class="topbar-menu">
|
||||
<i class="font-icon icon-user"></i>
|
||||
<?php
|
||||
$user = $_SESSION['kodUser'];
|
||||
$name = $user['nickName']?$user['nickName']:$user['name'];
|
||||
echo clear_html($name);
|
||||
?>
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu menu-topbar-user pull-right animated menuShow" role="menu" aria-labelledby="topbar-user">
|
||||
<?php if($GLOBALS['isRoot']){ ?>
|
||||
<li class="menu-system-setting"><a href="#" onclick="core.setting('system');"><i class="font-icon icon-cog"></i><?php echo LNG('system_setting');?></a></li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($GLOBALS['isRoot'] || $GLOBALS['auth']['systemMember.get']){ ?>
|
||||
<li class="menu-system-group"><a href="#" onclick="core.setting('member');"><i class="font-icon icon-group"></i><?php echo LNG('setting_member');?></a></li>
|
||||
<?php } ?>
|
||||
<?php if($GLOBALS['isRoot'] || $GLOBALS['auth']['pluginApp.index']){ ?>
|
||||
<li class="menu-system-plugin">
|
||||
<a href="#" onclick="core.openWindowBig('./index.php?pluginApp/index','<?php echo LNG('PluginCenter');?>');"><i class="font-icon icon-puzzle-piece"></i><?php echo LNG('PluginCenter');?></a></li>
|
||||
<li role="presentation" class="divider"></li>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<li class="menu-system-user"><a href="#" onclick="core.setting('user');"><i class="font-icon icon-user"></i><?php echo LNG('setting_user');?></a></li>
|
||||
<li class="menu-system-theme"><a href="#" onclick="core.setting('theme');"><i class="font-icon icon-dashboard"></i><?php echo LNG('setting_theme');?></a></li>
|
||||
<li class="menu-system-full"><a href="#" onclick="core.fullScreen();"><i class="font-icon icon-fullscreen"></i><?php echo LNG('full_screen');?></a></li>
|
||||
<li class="menu-system-help"><a href="#" onclick="core.setting('help');"><i class="font-icon icon-question"></i><?php echo LNG('setting_help');?></a></li>
|
||||
<li class="menu-system-about"><a href="#" onclick="core.setting('about');"><i class="font-icon icon-info-sign"></i><?php echo LNG('setting_about');?></a></li>
|
||||
<li role="presentation" class="divider"></li>
|
||||
<li class="menu-system-logout"><a href="./index.php?user/logout"><i class="font-icon icon-signout"></i><?php echo LNG('ui_logout');?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,67 @@
|
||||
<div class="full-background"></div>
|
||||
<div class="init-loading"><div>
|
||||
<img src="<?php echo STATIC_PATH;?>images/common/loading_simple.gif?v=<?php echo KOD_VERSION;?>"/></div>
|
||||
</div>
|
||||
<div class="topbar share-page-topbar">
|
||||
<div class="content">
|
||||
<div class="top-left">
|
||||
<a href="./" class="topbar-menu title">
|
||||
<?php
|
||||
if(substr(LNG('kod_name'),0,4) == '<img'){
|
||||
echo LNG('kod_name');
|
||||
}else{
|
||||
echo '<i class="icon-cloud"></i>'.LNG('kod_name');
|
||||
}
|
||||
?>
|
||||
</a>
|
||||
<div class="share-info">
|
||||
<span class="share-title">
|
||||
<b class="share-title-info">
|
||||
<?php clear_html($shareInfo['showName']);?>
|
||||
</b>
|
||||
</span>
|
||||
<span class="size"></span>
|
||||
<span class="time"></span>
|
||||
</div>
|
||||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
<div class="top-right">
|
||||
<div class="share-info-user hidden menu-group" style="z-index:9999;">
|
||||
<span class="info"></span>
|
||||
<div class="btn-group">
|
||||
<a type="button" class="btn btn-primary btn-download" target="_blank" href=""><?php echo LNG('download');?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if(!isset($config['settings']['language'])){ ?>
|
||||
<div class="menu-group">
|
||||
<a id='topbar-language' data-toggle="dropdown" href="#" class="topbar-menu">
|
||||
<i class='font-icon icon-flag'></i> <b class="caret"></b>
|
||||
</a>
|
||||
<a href="#" onclick="core.qrcode(window.location.href);" title="<?php echo LNG('qrcode');?>" class="topbar-menu" style="padding: 0 15px;margin-left: -2px;">
|
||||
<i class="font-icon icon-qrcode"></i>
|
||||
</a>
|
||||
<ul class="dropdown-menu topbar-language pull-right animated menuShow" role="menu" aria-labelledby="topbar-language">
|
||||
<?php
|
||||
$tpl = "";
|
||||
foreach ($config['settingAll']['language'] as $key => $value) {
|
||||
$name = $value[0];
|
||||
$select = I18n::getType() == $key ? "this":"";
|
||||
$tpl .= "<li><a href='javascript:core.language(\"{$key}\");' title=\"{$key}/{$value[1]}/{$value[2]}\" class='{$select}'><i class='lang-flag flag-{$key}'></i>{$name}</a></li>";
|
||||
}
|
||||
echo $tpl;
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="menu-group">
|
||||
<a href="#" id='topbar-user' class="topbar-menu" data-toggle="dropdown"><i class="font-icon icon-user"></i><?php echo $_SESSION['kodUser']['name'];?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu menu-topbar-user pull-right animated menuShow" role="menu" aria-labelledby="topbar-user">
|
||||
<li><a href="#" onclick="core.fullScreen();"><i class="font-icon icon-fullscreen"></i><?php echo LNG('full_screen');?></a></li>
|
||||
<li class="version_vip_free"><a href="http://kodcloud.com" target="_blank"><i class="font-icon icon-code-fork"></i><?php echo LNG('ui_project_home');?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,103 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<link href="<?php echo STATIC_PATH;?>style/common.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet"/>
|
||||
<link href="./static/style/font-awesome/css/font-awesome.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet">
|
||||
<title><?php echo $title;?></title>
|
||||
<script type="text/javascript" src="<?php echo STATIC_PATH;?>js/lib/jquery-1.8.0.min.js?ver=<?php echo KOD_VERSION;?>"></script>
|
||||
<style type="text/css">
|
||||
body{
|
||||
background-color:#f0f2f5;
|
||||
font-family: Verdana,"Lantinghei SC","Hiragino Sans GB","Microsoft Yahei",Helvetica,arial,sans-serif;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
body a,body a:hover{color: #1890ff;}
|
||||
.body-panel{
|
||||
width:70%;margin:10% auto 5% auto;
|
||||
font-size: 13px;
|
||||
color:#666;
|
||||
background:#fff;border-radius:4px;
|
||||
padding-top:50px;padding-bottom:100px;
|
||||
box-shadow: 0 5px 20px rgba(0,0,0,0.05);
|
||||
}
|
||||
.body-panel .check-result{text-align: center;color:#000;}
|
||||
.body-panel .check-result .icon{width:70px;height:70px;line-height:70px;font-size:30px;}
|
||||
.check-result-title{font-size: 24px;line-height: 32px;margin:20px 0;}
|
||||
.check-result-desc{
|
||||
color: #333;
|
||||
margin: 0 0 20px 0;
|
||||
background: #fafafa;
|
||||
font-size: 16px;
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
border-radius: 2px;
|
||||
padding: 24px 40px;
|
||||
text-align: left;
|
||||
}
|
||||
.error-info{
|
||||
border-left: 5px solid #1890ff;
|
||||
display: block;
|
||||
padding: 5px 10px;
|
||||
background: #fcfcfc;
|
||||
color: #666;
|
||||
word-break: break-all;
|
||||
font-family: monospace;
|
||||
}
|
||||
.location-to{padding: 10px 0;color: #888;font-size: 13px;font-style: italic;}
|
||||
.icon{
|
||||
font-family: FontAwesome;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: rgba(0, 0, 0, 0.02);
|
||||
text-align: center;
|
||||
color: #666;
|
||||
border-radius: 50%;
|
||||
line-height: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.icon.icon-loading{
|
||||
-webkit-animation: moveCircleLoopRight 1.4s infinite linear;
|
||||
animation: moveCircleLoopRight 1.4s infinite linear;
|
||||
}
|
||||
.icon.icon-loading:before{content:"\f110";}
|
||||
.icon.icon-success{background:#52c41a;color:#fff;}
|
||||
.icon.icon-success:before{content:"\f00c";}
|
||||
.icon.icon-error{background:#f5222d;color:#fff;}
|
||||
.icon.icon-error:before{content:"\f00d";}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div class="body-panel">
|
||||
<div class="check-result">
|
||||
<!-- <div class="icon icon-error"></div> -->
|
||||
<div class="check-result-title"><?php echo $title;?></div>
|
||||
<div class="check-result-desc">
|
||||
<span class="error-info"><?php echo $message;?></span>
|
||||
<div class="location-to"><?php echo $info;?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if($url){ ?>
|
||||
<script>
|
||||
var timeout = parseInt("<?php echo $time;?>");
|
||||
var link = "<?php echo $url;?>";
|
||||
var loop = setInterval(function(){
|
||||
timeout --;
|
||||
var info = timeout + "s 后自动跳转, <a href='"+link+"'>立即跳转</a>";
|
||||
$('.location-to').html(info);
|
||||
if(timeout<=0){
|
||||
clearInterval(loop);
|
||||
window.location.href = link;
|
||||
}
|
||||
},1000);
|
||||
</script>
|
||||
<?php } ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,55 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo LNG('ui_desktop').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_desktop.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $config['user']['theme'];?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
<body style="overflow: hidden;" oncontextmenu="return core.contextmenu();" id="page-desktop">
|
||||
<?php echo '<style >.aero:before,.aero:after,.full-background-wall{background-image:url('.$wall.')}</style>';?>
|
||||
<div class="full-background-wall desktop"><img class="background" /></div>
|
||||
|
||||
<?php include(TEMPLATE.'common/navbar.html');?>
|
||||
<div class='bodymain drag-upload-box desktop'>
|
||||
<div class="file-continer file-list-icon hidden"></div>
|
||||
</div><!-- html5拖拽上传list -->
|
||||
|
||||
<a href="#" class="start"></a>
|
||||
<div id="taskbar" style="display:block;" class="">
|
||||
<div class="taskbar-background aero"></div>
|
||||
<div id="desktop"></div>
|
||||
</div>
|
||||
<div class="taskbar-right">
|
||||
<div class="copyright dropdown-toggle"><i class="icon-info-sign"></i></div>
|
||||
<div class="tab-hide-all"></div>
|
||||
</div>
|
||||
<div id="menuwin" class="aero">
|
||||
<div id="startmenu"></div>
|
||||
<ul id="programs">
|
||||
<li class='setting_help'><a href="#" onclick="core.setting('help');"><?php echo LNG('setting_help');?></a></li>
|
||||
<li><div id="leftspliter"></div></li>
|
||||
<li class='setting_about'><a href="#" onclick="core.setting('about');"><?php echo LNG('setting_about');?></a></li>
|
||||
<li class='setting_user'><a href="#" onclick="core.setting('user');"><?php echo LNG('setting_user');?></a></li>
|
||||
<li class='setting_homepage'><a href="#" onclick="core.openWindow('http://kodcloud.com','<?php echo $L['my_document'];?>');">kodCloud 主页</a></li>
|
||||
</ul>
|
||||
<ul id="links">
|
||||
<li class="icon"></li>
|
||||
<li><a href="#" onclick="core.explorer('<?php echo KOD_USER_SHARE.':'.$_SESSION['kodUser']['userID'].'/';?>','<?php echo LNG('my_share');?>');"><span><?php echo LNG('my_share');?></span></a></li>
|
||||
<li><a href="#" onclick="core.explorer('<?php echo MYHOME;?>/pictures','<?php echo LNG('my_picture');?>');"><span><?php echo LNG('my_picture');?></span></a></li>
|
||||
<li><a href="#" onclick="core.explorer('<?php echo MYHOME;?>/music','<?php echo LNG('my_music');?>');"><span><?php echo LNG('my_music');?></span></a></li>
|
||||
<li><a href="#" onclick="core.explorer('<?php echo MYHOME;?>/download','<?php echo LNG('download');?>');"><span><?php echo LNG('download');?></span></a></li>
|
||||
<li><div id="rightspliter"></div></li>
|
||||
<li><a href="#" onclick="core.setting('wall');"><span><?php echo LNG('setting_wall');?></span></a></li>
|
||||
<li><a href="#" onclick="core.setting('fav');"><span><?php echo LNG('setting_fav');?></span></a></li>
|
||||
<li><a href="#" onclick="core.setting('theme');"><span><?php echo LNG('setting_theme');?></span></a></li>
|
||||
<li><a href="./index.php?user/logout" style="margin-top:70px;"><span><?php echo LNG('ui_logout');?>></span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php include(TEMPLATE.'common/footerCommon.html');?>
|
||||
<script type="text/javascript">
|
||||
var desktopApps = <?php echo json_encode($desktopApps);?>;
|
||||
G.thisPath = G.myDesktop;
|
||||
seajs.use("app/src/desktop/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_code_edit.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $config['user']['theme'];?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
<body <?php echo $codeThemeBlack;?>>
|
||||
<div class="init-loading">
|
||||
<div><img src="<?php echo STATIC_PATH;?>images/common/loading_simple.gif?v=<?php echo KOD_VERSION;?>"/></div>
|
||||
</div>
|
||||
<div class="edit-main" style="height: 100%;" oncontextmenu="return core.contextmenu();">
|
||||
<div class="tools">
|
||||
<div class="left top-toolbar">
|
||||
<div class="disable-mask"></div>
|
||||
<a action="save" href="javascript:;" title="<?php echo LNG('button_save');?>(Ctrl-S)"><i class="font-icon icon-save"></i></a>
|
||||
<a action="saveall" href="javascript:;" title="<?php echo LNG('button_save_all');?>"><i class="font-icon icon-paste"></i></a>
|
||||
<span class="line"></span>
|
||||
<a href="javascript:;" id="editor-history-back" title="<?php echo LNG('history_back');?>(Ctrl -)"><i class="font-icon icon-chevron-left"></i></a>
|
||||
<a href="javascript:;" id="editor-history-next" title="<?php echo LNG('history_next');?>(Ctrl Shift -)"><i class="font-icon icon-chevron-right"></i></a>
|
||||
<span class="line"></span>
|
||||
<a action="undo" href="javascript:;" title="<?php echo LNG('undo');?>(Ctrl-Z)"><i class="font-icon icon-undo"></i></a>
|
||||
<a action="redo" href="javascript:;" title="<?php echo LNG('redo');?>(Ctrl-Y)"><i class="font-icon icon-repeat"></i></a>
|
||||
<a action="refresh" href="javascript:;" title="<?php echo LNG('refresh');?>(F5)"><i class="font-icon icon-refresh"></i></a>
|
||||
<span class="line"></span>
|
||||
<a href="javascript:;" class="toolbar-menu menu-view-goto-line" title="<?php echo LNG('gotoline');?>(Ctrl-L)"><i class="font-icon icon-pushpin"></i></a>
|
||||
<a action="search" href="javascript:;" title="<?php echo LNG('search');?>(Ctrl-F)"><i class="font-icon icon-search"></i></a>
|
||||
<a action="searchReplace" href="javascript:;" title="<?php echo LNG('replace');?>(Ctrl-F-F)"><i class="font-icon icon-random"></i></a>
|
||||
<span class="line"></span>
|
||||
<a action="font" class="toolbar-menu menu-view-font" href="javascript:;" title="<?php echo LNG('font_size');?>">
|
||||
<i class="font-icon icon-font"></i><i class="font-icon icon-caret-down"></i>
|
||||
</a>
|
||||
<span class="line"></span>
|
||||
<a class="toolbar-menu menu-view-theme" href="javascript:;" title="<?php echo LNG('code_theme');?>">
|
||||
<i class="font-icon icon-magic"></i><i class="font-icon icon-caret-down"></i>
|
||||
</a>
|
||||
<a class="toolbar-menu menu-view-setting" href="javascript:;">
|
||||
<i class="font-icon icon-cog"></i><i class="font-icon icon-caret-down"></i>
|
||||
</a>
|
||||
<a action="preview" href="javascript:;" title="<?php echo LNG('preview');?>(Ctrl-Shift-S)"><i class="font-icon icon-eye-open"></i></a>
|
||||
</div>
|
||||
<div class="right">
|
||||
|
||||
<button class="btn btn-xs btn-default btn-right" action="close" title="<?php echo LNG('close');?>"><i class="font-icon icon-remove"></i></button>
|
||||
<button class="btn btn-xs btn-default btn-left" action="fullscreen" title="<?php echo LNG('full_screen');?>"><i class="font-icon icon-resize-full"></i></button>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div><!-- end tools -->
|
||||
|
||||
<!-- 主体部分 -->
|
||||
<div class="frame-left">
|
||||
<div class="edit-tab">
|
||||
<div class="tabs">
|
||||
<a href="javascript:Editor.add()" class="add icon-plus"></a>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="edit-body">
|
||||
<div class="introduction hidden">
|
||||
<button class="btn btn-default font-icon icon-remove close-item"></button>
|
||||
<?php include(LANGUAGE_PATH.I18n::getType().'/edit.html');?>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
<div class="tabs"></div>
|
||||
<div class="bottom-toolbar hidden">
|
||||
<a class="toolbar-menu menu-view-goto-line editor_position" href="javascript:;">0:0</a>
|
||||
<a class="file-mode" href="javascript:;">text</a>
|
||||
<a class="toolbar-menu menu-view-file-charset " href="javascript:;">UTF-8</a>
|
||||
<a class="toolbar-menu menuViewTab config-tab" href="javascript:;">Tabs:4</a>
|
||||
<a class="toolbar-menu menu-view-setting config" href="javascript:;"><i class="font-icon icon-cog"></i></a>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-content hidden"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php include(TEMPLATE.'common/footerCommon.html');?>
|
||||
<script type="text/javascript">
|
||||
G.codeConfig = <?php echo $editorConfig;?>;
|
||||
G.codeThemeAll = "<?php echo $config['settingAll']['codethemeall']?>";
|
||||
G.codeFontAll = "<?php echo $config['settingAll']['codefontall']?>";
|
||||
seajs.config({
|
||||
preload: [
|
||||
"lib/jquery-1.8.0.min",
|
||||
'lib/ace/src-min-noconflict/ace'
|
||||
]
|
||||
});
|
||||
seajs.use("app/src/edit/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo LNG('ui_editor').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_editor.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $config['user']['theme'];?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
|
||||
<?php if(isset($_GET['project'])){?>
|
||||
<style>.topbar{display: none;}.frame-header{top:0;}.frame-main{top:0px;}</style>
|
||||
<?php } ?>
|
||||
|
||||
<body style="overflow:hidden;" oncontextmenu="return core.contextmenu();" id="page-editor">
|
||||
<?php include(TEMPLATE.'common/navbar.html');?>
|
||||
<div class="frame-main">
|
||||
<div class="tools-left">
|
||||
<a class="home" href="#" title='<?php echo LNG('root_path');?>'><i class="icon-home"></i></a>
|
||||
<a class="view" href="#" title='<?php echo LNG('manage_folder');?>'><i class="icon-laptop"></i></a>
|
||||
<a class="folder" href="#" title='<?php echo LNG('newfolder');?>'><i class="icon-folder-close-alt"></i></a>
|
||||
<a class="file" href="#" title='<?php echo LNG('newfile');?>'><i class="icon-file-alt"></i></a>
|
||||
<a class="refresh" href="#" title='<?php echo LNG('refresh');?>'><i class="icon-refresh"></i></a>
|
||||
</div>
|
||||
<div class='frame-left'>
|
||||
<ul id="folder-list-tree" class="ztree"></ul>
|
||||
</div><!-- / frame-left end-->
|
||||
<div class='frame-resize'></div>
|
||||
<div class='frame-right'>
|
||||
<div class="frame-right-main" style="height:100%;padding:0;margin:0;">
|
||||
<div class="resize-mask"></div>
|
||||
<div class="message-box"><div class="content"></div></div>
|
||||
<div class="menu-tree-root"></div>
|
||||
<div class="menu-tree-folder"></div>
|
||||
<div class="menu-tree-file"></div>
|
||||
<div class ='frame'>
|
||||
<iframe name="OpenopenEditor" src="./index.php?editor/edit" style="width:100%;height:100%;border:0;" frameborder=0></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- / frame-right end-->
|
||||
</div><!-- / frame-main end-->
|
||||
<?php include(TEMPLATE.'common/footerCommon.html');?>
|
||||
<script type="text/javascript">
|
||||
G.project = "<?php echo clear_html($_GET['project']) ;?>";
|
||||
seajs.use("app/src/editor/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,234 @@
|
||||
<div class="frame-main">
|
||||
<div class='frame-left'>
|
||||
<ul id="folder-list-tree" class="ztree"></ul>
|
||||
<div class="bottom-box">
|
||||
<div class="user-space-info"></div>
|
||||
<div class="box-content">
|
||||
<div class="cell menu-recycle-button"><i class="font-icon icon-trash"></i><span><?php echo LNG('recycle');?></span></div>
|
||||
<div class="cell menuShareButton"><i class="font-icon icon-share-sign"></i><span><?php echo LNG('my_share');?></span></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- / frame-left end-->
|
||||
|
||||
<div class='frame-resize'></div>
|
||||
<div class='frame-right'>
|
||||
<div class="frame-header">
|
||||
<div class="header-content">
|
||||
<div class="header-left">
|
||||
<div class="btn-group btn-group-sm">
|
||||
<button class="btn btn-default" id='btn-history-back' title='<?php echo LNG('history_back');?>' type="button">
|
||||
<i class="font-icon icon-angle-left"></i>
|
||||
</button>
|
||||
<button class="btn btn-default" id='btn-history-next' title='<?php echo LNG('history_next');?>' type="button">
|
||||
<i class="font-icon icon-angle-right"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div><!-- /header left -->
|
||||
|
||||
<div class='header-middle'>
|
||||
<button class="btn btn-default btn-left-radius ml-10" id='home' title='<?php echo LNG('root_path');?>'>
|
||||
<i class="font-icon icon-home"></i>
|
||||
</button>
|
||||
<div id='yarnball' title="<?php echo LNG('address_in_edit');?>"></div>
|
||||
<div id='yarnball-input'><input type="text" name="path" value="" class="path" id="path"/></div>
|
||||
|
||||
<button class="btn btn-default" id='fav' title='<?php echo LNG('add_to_fav');?>' type="button">
|
||||
<i class="font-icon icon-star"></i>
|
||||
</button>
|
||||
<!-- <button class="btn btn-default" id='refresh' title='<?php echo LNG('refresh_all');?>' type="button">
|
||||
<i class="font-icon icon-refresh"></i>
|
||||
</button> -->
|
||||
<button class="btn btn-default btn-right-radius" id='goto-father' title='<?php echo LNG('go_up');?>' type="button">
|
||||
<i class="font-icon icon-circle-arrow-up"></i>
|
||||
</button>
|
||||
<div class="path-tips" title="<?php echo LNG('only_read_desc');?>" title-timeout="0">
|
||||
<i class="icon-warning-sign"></i><span></span>
|
||||
</div>
|
||||
|
||||
<div class="role-label-box"></div>
|
||||
</div><!-- /header-middle end-->
|
||||
<div class='header-right'>
|
||||
<input type="text" name="seach" class="btn-left-radius"/>
|
||||
<button class="btn btn-default btn-right-radius" id='search' title='<?php echo LNG('search');?>' type="button">
|
||||
<i class="font-icon icon-search"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- / header end -->
|
||||
<div class="frame-right-main">
|
||||
<div class="tools">
|
||||
<div class="tools-left tools-left-share <?php if(ST!='share'){echo 'hidden';}?>">
|
||||
<!-- 文件功能 -->
|
||||
<div class="kod-toolbar kod-toolbar-path btn-group btn-group-sm">
|
||||
<button data-action='select-all' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-check"></i><?php echo LNG('selectAll');?>
|
||||
</button>
|
||||
<button data-action='upload' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-cloud-upload"></i><?php echo LNG('upload');?>
|
||||
</button>
|
||||
|
||||
<button data-action='download' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-download"></i><?php echo LNG('download');?>
|
||||
</button>
|
||||
</div>
|
||||
<span class='msg'><?php echo LNG('path_loading');?></span>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tools-left tools-left-explorer <?php if(ST=='share'){echo 'hidden';}?>">
|
||||
<!-- 回收站tool -->
|
||||
<div class="kod-toolbar kod-toolbar-recycle btn-group btn-group-sm hidden fl-left">
|
||||
<button data-action='recycle-clear' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-folder-close-alt"></i><?php echo LNG('recycle_clear');?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- 分享 tool -->
|
||||
<div class="kod-toolbar kod-toolbar-share hidden fl-left">
|
||||
<button data-action='refresh' class="btn btn-sm btn-default fl-left" type="button">
|
||||
<i class="font-icon icon-refresh"></i><?php echo LNG('refresh');?>
|
||||
</button>
|
||||
<div class="select-button-show-share btn-group btn-group-sm fl-left ml-10 mr-10 hidden">
|
||||
<button data-action='remove' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-remove"></i><?php echo LNG('share_remove');?>
|
||||
</button>
|
||||
<button data-action='shareEdit' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-edit"></i><?php echo LNG('share_edit');?>
|
||||
</button>
|
||||
<button data-action='shareOpenWindow' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-link"></i><?php echo LNG('share_open_page');?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 文件功能 -->
|
||||
<div class="kod-toolbar kod-toolbar-path fl-left">
|
||||
<div class="select-button-default btn-group btn-group-sm fl-left mr-10">
|
||||
<button data-action='newfolder' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-folder-close-alt"></i><?php echo LNG('newfolder');?>
|
||||
</button>
|
||||
<button data-action='newfile' class="btn btn-default tool-path-newfile" type="button">
|
||||
<i class="font-icon icon-caret-down"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="select-button-default btn-group btn-group-sm fl-left mr-10">
|
||||
<button data-action='upload' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-cloud-upload"></i><?php echo LNG('upload');?>
|
||||
</button>
|
||||
<button data-action='upload-more' class="btn btn-default tool-path-upload" type="button">
|
||||
<i class="font-icon icon-caret-down"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="select-button-show btn-group btn-group-sm fl-left ml-10 mr-10 hidden">
|
||||
<button data-action='share' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-share"></i><?php echo LNG('share');?>
|
||||
</button>
|
||||
<button data-action='download' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-download"></i><?php echo LNG('download');?>
|
||||
</button>
|
||||
<button data-action='remove' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-remove"></i><?php echo LNG('remove');?>
|
||||
</button>
|
||||
<button data-action='rname' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-rename"></i><?php echo LNG('rename');?>
|
||||
</button>
|
||||
|
||||
<button data-action='copy' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-copy"></i><?php echo LNG('copy');?>
|
||||
</button>
|
||||
<button data-action='cute' class="btn btn-default" type="button">
|
||||
<i class="font-icon icon-cute"></i><?php echo LNG('cute');?>
|
||||
</button>
|
||||
<button type="button" class="btn btn-default btn-sm toolbar-path-more fl-left mr-10">
|
||||
<i class="font-icon icon-ellipsis-horizontal"></i>
|
||||
<?php echo LNG('button_more');?> <span class="caret"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="group-space-use fl-left hidden"></div>
|
||||
<div class="admin-real-path hidden fl-left">
|
||||
<button type="button" class="btn btn-default btn-sm dialog-goto-path ml-10" title="<?php echo LNG('open_the_path');?>">
|
||||
<i class="font-icon icon-folder-open"></i>
|
||||
</button>
|
||||
</div>
|
||||
<span class='msg fl-left'><?php echo LNG('path_loading');?></span>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tools-right">
|
||||
<div class="btn-group btn-group-sm">
|
||||
<button data-action='set-icon' title="<?php echo LNG('list_icon');?>" type="button" class="btn btn-default">
|
||||
<i class="font-icon icon-th"></i>
|
||||
</button>
|
||||
<button data-action='set-list' title="<?php echo LNG('list_list');?>" type="button" class="btn btn-default">
|
||||
<i class="font-icon icon-list"></i>
|
||||
</button>
|
||||
<button data-action='set-split' title="<?php echo LNG('list_list_split');?>" type="button" class="btn btn-default">
|
||||
<i class="font-icon icon-columns"></i>
|
||||
</button>
|
||||
|
||||
<div class="btn-group btn-group-sm menu-theme-list">
|
||||
<button data-action="set-theme" title="<?php echo LNG('setting_theme');?>" type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
|
||||
<i class="font-icon icon-dashboard"></i> <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu pull-right dropdown-menu-theme animated menuShow">
|
||||
<?php
|
||||
$arr = explode(',',$config['settingAll']['themeall']);
|
||||
foreach ($arr as $value) {
|
||||
echo "<li class='list' theme='{$value}'><a href='javascript:void(0);'>".LNG('theme_'.$value)."</a></li>\n";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="set-icon-size">
|
||||
<span class="dropdown-toggle" data-toggle="dropdown">
|
||||
<i class="font-icon icon-zoom-in"></i>
|
||||
</span>
|
||||
<ul class="dropdown-menu set-icon-size-slider animated menuShow">
|
||||
<div class="slider-bg"></div>
|
||||
<div class="slider-handle"></div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div><!-- end tools -->
|
||||
<div id='list-type-header' class="hidden">
|
||||
<div id="main-title">
|
||||
<div class="filename" field="name"><?php echo LNG('name');?><span></span></div><div class="resize filename-resize"></div>
|
||||
<div class="filetype" field="ext"><?php echo LNG('type');?><span></span></div><div class="resize filetype-resize"></div>
|
||||
<div class="filesize" field="size"><?php echo LNG('size');?><span></span></div><div class="resize filesize-resize"></div>
|
||||
<div class="filetime" field="mtime"><?php echo LNG('modify_time');?><span></span></div><div class="resize filetime-resize"></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- list type 列表排序方式 -->
|
||||
|
||||
<div class='bodymain drag-upload-box menu-body-main'>
|
||||
<div class="line-split-box hidden">
|
||||
<div class="split-line"></div>
|
||||
<div class="split-line"></div>
|
||||
<div class="split-line"></div>
|
||||
<div class="split-line"></div>
|
||||
<div class="split-line"></div>
|
||||
<div class="split-line"></div>
|
||||
<div class="split-line"></div>
|
||||
<div class="split-line"></div>
|
||||
<div class="split-line"></div>
|
||||
<div class="split-line"></div>
|
||||
</div>
|
||||
<div class="file-continer"></div>
|
||||
<div class="file-continer-more"></div>
|
||||
</div><!-- html5拖拽上传list -->
|
||||
<div class="file-select-info">
|
||||
<span class="item-num"></span>
|
||||
<span class="item-select"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- / frame-right end-->
|
||||
</div><!-- / frame-main end-->
|
||||
|
||||
@@ -0,0 +1,147 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo LNG('ui_explorer').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link href="<?php echo STATIC_PATH;?>style/wap/app_explorer.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet"/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="init-loading"><div><img src="<?php echo STATIC_PATH;?>images/common/loading_simple.gif?v=<?php echo KOD_VERSION;?>"/></div></div>
|
||||
<div class="panel-menu">
|
||||
<div class="panel-hd">
|
||||
<span class="my-avator">
|
||||
<?php
|
||||
$avatar = STATIC_PATH.'images/common/pic.jpg';
|
||||
$name = $_SESSION['kodUser']['name'];
|
||||
if($_SESSION['kodUser']['avatar']){
|
||||
$avatar = $_SESSION['kodUser']['avatar'];
|
||||
}
|
||||
if($_SESSION['kodUser']['nickName']){
|
||||
$name = $_SESSION['kodUser']['nickName'];
|
||||
}
|
||||
echo '<img src="'.$avatar.'"/>';
|
||||
?>
|
||||
</span>
|
||||
<div><h3 class="name"><?php echo clear_html($name);?></h3></div>
|
||||
</div>
|
||||
<ul class="left-menu-path"></ul>
|
||||
</div>
|
||||
<div class="frame-main">
|
||||
<div class="panel-mask"></div>
|
||||
<div class="frame-header">
|
||||
<div class="tool tool-menu-left">
|
||||
<div class="menu"><i class="font-icon icon-reorder"></i></div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$config = $GLOBALS['config'];
|
||||
$subMenu = '';
|
||||
foreach ($config['settingSystem']['menu'] as $key=>$value) {
|
||||
if ($value['use']!='1') continue;
|
||||
$has = ST==$value['name']?'this':'';
|
||||
$target = " target='_self'" ;
|
||||
if($value['target']=='1' || $value['target'] == '_blank'){
|
||||
$target = " target='_blank'" ;
|
||||
}
|
||||
$name = $value['name'];
|
||||
if(LNG('ui_'.$name) != 'ui_'.$name){
|
||||
$name = "<i class='font-icon menu-".$value['name']."'></i><span>".LNG('ui_'.$name).'</span>';
|
||||
}
|
||||
if($value['icon']){
|
||||
$name = $value['icon'].'<span>'.LNG($value['name']).'</span>';
|
||||
}
|
||||
$subMenu .= "<li><a class='topbar-menu-sub ".$has."' href='".urldecode($value['url'])."'"
|
||||
.$target.">".urldecode($name)."</a></li>";
|
||||
}
|
||||
?>
|
||||
<?php if($subMenu){?>
|
||||
<div class="menu-group fl tool tool-submenu">
|
||||
<button class="topbar-menu" id="topbar-submenu" data-toggle="dropdown">
|
||||
<i class="icon-home"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu topbar-submenu pull-left animated menuShow" role="menu" aria-labelledby="topbar-submenu">
|
||||
<?php echo $subMenu;?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="title"><?php echo LNG('kod_name');?></div>
|
||||
<div class="menu-group">
|
||||
<div class="btn-list-icon"><i class="font-icon icon-home"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="address">
|
||||
<ul class="yarnball"></ul>
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
<div class='bodymain'>
|
||||
<div class="file-continer file-list-list"></div>
|
||||
</div>
|
||||
|
||||
<div class="file-menu">
|
||||
<div class="file-action-menu hidden">
|
||||
<div class="action-menu" data-action="action-copy">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-copy"></i><?php echo LNG('copy');?>
|
||||
</span>
|
||||
</div>
|
||||
<div class="action-menu" data-action="action-cute">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-cut"></i><?php echo LNG('cute');?>
|
||||
</span>
|
||||
</div>
|
||||
<div class='action-menu' data-action="action-share">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-share"></i><?php echo LNG('share');?>
|
||||
</span>
|
||||
</div>
|
||||
<div class='action-menu' data-action="action-rname">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-pencil"></i><?php echo LNG('rename');?>
|
||||
</span>
|
||||
</div>
|
||||
<div class='action-menu' data-action="action-download">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-cloud-download"></i><?php echo LNG('download');?>
|
||||
</span>
|
||||
</div>
|
||||
<div class='action-menu' data-action="action-info">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-info"></i><?php echo LNG('info');?>
|
||||
</span>
|
||||
</div>
|
||||
<div class="action-menu" data-action="action-remove">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-trash"></i><?php echo LNG('remove');?>
|
||||
</span>
|
||||
</div>
|
||||
<div class="menu-close">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-ellipsis-horizontal"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php include(TEMPLATE.'common/footer.html');?>
|
||||
</div><!-- / frame-main end-->
|
||||
|
||||
<div class="toolbar-menu">
|
||||
<button class="menu-plus tool tool-menu-right-btn" data-toggle="dropdown"></button>
|
||||
<ul class="dropdown-menu tool-menu-right pull-right animated menuShow" role="menu" >
|
||||
<li data-action="upload"><a href="javascript:void();">
|
||||
<i class="font-icon icon-cloud-upload"></i><?php echo LNG('upload');?></a></li>
|
||||
<li data-action="newfolder"><a href="javascript:void();">
|
||||
<i class="font-icon icon-folder-close-alt"></i><?php echo LNG('newfolder');?></a></li>
|
||||
<li data-action="newfile"><a href="javascript:void();">
|
||||
<i class="font-icon icon-file-text"></i><?php echo LNG('newfile');?></a></li>
|
||||
<li data-action="past"><a href="javascript:void();">
|
||||
<i class="font-icon icon-paste"></i><?php echo LNG('past');?></a></li>
|
||||
<li data-action="search"><a href="javascript:void();">
|
||||
<i class="font-icon icon-search"></i><?php echo LNG('search');?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<script type="text/javascript" >
|
||||
G.thisPath = "<?php echo clear_html($dir);?>";
|
||||
seajs.use("<?php echo STATIC_JS;?>/src/explorerWap/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo LNG('ui_explorer').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_explorer.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $config['user']['theme'];?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
|
||||
<style>
|
||||
<?php if(isset($_GET['type'])){?>
|
||||
.topbar,.common-footer,.bottom-box{display:none;}
|
||||
.frame-header{top:0;}
|
||||
.frame-main{top:0px;bottom:0px;}
|
||||
.frame-main .frame-left #folder-list-tree{bottom:0px !important;}
|
||||
<?php if($_GET['type']=="explorer"){?>
|
||||
.frame-header .header-content .header-left{display:none;}
|
||||
.frame-header .header-content .header-middle{left:12px;}
|
||||
.frame-main .frame-left,.frame-main .frame-resize{display:none;}
|
||||
.frame-main .frame-right{left:0px;}
|
||||
.task-tab{display:none;}
|
||||
<?php } ?>
|
||||
|
||||
<?php if($_GET['type']=="fileList"){?>
|
||||
.frame-header{display:none;}
|
||||
.frame-main .frame-left,.frame-main .frame-resize{display:none;}
|
||||
.frame-main .frame-right{left:0px;}
|
||||
.frame-main{top:0px;}
|
||||
.task-tab,#set_theme,#fav,#home{display:none !important;}
|
||||
.header-middle{top:3px;left:5px;right:140px;}
|
||||
#list-type-header{top:35px;}
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</style>
|
||||
|
||||
|
||||
<body style="overflow:hidden;" oncontextmenu="return core.contextmenu();" id="page-explorer">
|
||||
<?php include(TEMPLATE.'common/navbar.html');?>
|
||||
<?php include(TEMPLATE.'explorer/content.html');?>
|
||||
<?php include(TEMPLATE.'common/footer.html');?>
|
||||
<script type="text/javascript">
|
||||
G.thisPath = "<?php echo clear_html($dir);?>";
|
||||
seajs.use("app/src/explorer/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo LNG('PluginCenter').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_setting.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $config['user']['theme'];?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
<body oncontextmenu="return core.contextmenu();">
|
||||
<div id="body" class="plugin-page">
|
||||
<div class="app-menu-left menu-left">
|
||||
<div class="search">
|
||||
<div class="search-btn btn-search font-icon icon-search"></div>
|
||||
<div class="search-btn btn-close font-icon icon-remove hidden"></div>
|
||||
<input type="text" placeholder="<?php echo LNG('search');?>" />
|
||||
</div>
|
||||
<ul class='setting'>
|
||||
<a data-type="install"><i class="font-icon icon-download-alt"></i><?php echo LNG('PluginInstalled');?></a>
|
||||
<a data-type="update"><i class="font-icon icon-refresh"></i><?php echo LNG('PluginUpdate');?></a>
|
||||
</ul>
|
||||
|
||||
<div class="line"><?php echo LNG("PluginType");?></div>
|
||||
<ul class='setting'>
|
||||
<a data-type="all"><i class="font-icon icon-reorder"></i><?php echo LNG("PluginTypeAll");?></a>
|
||||
<a data-type="file"><i class="font-icon icon-folder-open-alt"></i><?php echo LNG("PluginTypeFile");?></la>
|
||||
<a data-type="safe"><i class="font-icon icon-book"></i><?php echo LNG("PluginTypeSafe");?></a>
|
||||
<a data-type="tools"><i class="font-icon icon-suitcase"></i><?php echo LNG("PluginTypeTools");?></a>
|
||||
<a data-type="media"><i class="font-icon icon-film"></i><?php echo LNG("PluginTypeMedia");?></a>
|
||||
<a data-type="others"><i class="font-icon icon-ellipsis-horizontal"></i><?php echo LNG("PluginTypeOthers");?></a>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='app-content main app-plugins'>
|
||||
<div class="app-model app-content-box">
|
||||
<div class='h1'></div>
|
||||
<ul class="app-list"></ul>
|
||||
</div>
|
||||
<div class="app-model app-descript can-select can-right-menu hidden"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include(TEMPLATE.'common/footerCommon.html');?>
|
||||
<script type="text/javascript">
|
||||
seajs.use('app/src/plugins/main');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_setting.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $config['user']['theme'];?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
<body class="setting-page" oncontextmenu="return core.contextmenu();">
|
||||
<div class="init-loading">
|
||||
<div><img src="<?php echo STATIC_PATH;?>images/common/loading_simple.gif?v=<?php echo KOD_VERSION;?>"/></div>
|
||||
</div>
|
||||
<div id="body">
|
||||
<div class="menu-left">
|
||||
<h1><?php echo LNG('setting_title');?></h1>
|
||||
<ul class='setting'>
|
||||
<a href="javascript:void(0);" id="system"><i class="font-icon icon-cog"></i><?php echo LNG('system_setting');?></a>
|
||||
<a href="javascript:void(0);" id="member"><i class="font-icon icon-group"></i><?php echo LNG('system_group');?></a>
|
||||
<a href="javascript:void(0);" id="user"><i class="font-icon icon-user"></i><?php echo LNG('setting_user');?></li>
|
||||
<a href="javascript:void(0);" id="theme"><i class="font-icon icon-dashboard"></i><?php echo LNG('setting_theme');?></a>
|
||||
<a href="javascript:void(0);" id="wall"><i class="font-icon icon-picture"></i><?php echo LNG('setting_wall');?></a>
|
||||
<a href="javascript:void(0);" id="fav"><i class="font-icon icon-star"></i><?php echo LNG('setting_fav');?></a>
|
||||
<a href="javascript:void(0);" id="help"><i class="font-icon icon-question"></i><?php echo LNG('setting_help');?></a>
|
||||
<a href="javascript:void(0);" id="about"><i class="font-icon icon-info-sign"></i><?php echo LNG('setting_about');?></a>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='main'></div>
|
||||
</div>
|
||||
<?php include(TEMPLATE.'common/footerCommon.html');?>
|
||||
<script type="text/javascript">
|
||||
seajs.use('app/src/setting/main');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,87 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo clear_html($shareInfo['name']).' - '.LNG('share_title').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_code_edit.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $configTheme;?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
<body <?php echo $codeThemeBlack;?>>
|
||||
<div class="edit-main" style="height: 100%;" oncontextmenu="return core.contextmenu();">
|
||||
<div class="tools">
|
||||
<div class="left top-toolbar">
|
||||
<div class="disable-mask"></div>
|
||||
<a action="save" href="javascript:;" title="<?php echo LNG('button_save');?>(Ctrl-S)"><i class="font-icon icon-save"></i></a>
|
||||
<a action="saveall" href="javascript:;" title="<?php echo LNG('button_save_all');?>"><i class="font-icon icon-paste"></i></a>
|
||||
<span class="line"></span>
|
||||
<a action="undo" href="javascript:;" title="<?php echo LNG('undo');?>(Ctrl-Z)"><i class="font-icon icon-undo"></i></a>
|
||||
<a action="redo" href="javascript:;" title="<?php echo LNG('redo');?>(Ctrl-Y)"><i class="font-icon icon-repeat"></i></a>
|
||||
<a action="refresh" href="javascript:;" title="<?php echo LNG('refresh');?>(F5)"><i class="font-icon icon-refresh"></i></a>
|
||||
<span class="line"></span>
|
||||
<a href="javascript:;" class="toolbar-menu menu-view-goto-line" title="<?php echo LNG('gotoline');?>(Ctrl-L)"><i class="font-icon icon-pushpin"></i></a>
|
||||
<a action="search" href="javascript:;" title="<?php echo LNG('search');?>(Ctrl-F)"><i class="font-icon icon-search"></i></a>
|
||||
<a action="searchReplace" href="javascript:;" title="<?php echo LNG('replace');?>(Ctrl-F-F)"><i class="font-icon icon-random"></i></a>
|
||||
<span class="line"></span>
|
||||
<a action="font" class="toolbar-menu menu-view-font" href="javascript:;" title="<?php echo LNG('font_size');?>">
|
||||
<i class="font-icon icon-font"></i><i class="font-icon icon-caret-down"></i>
|
||||
</a>
|
||||
<span class="line"></span>
|
||||
<a class="toolbar-menu menu-view-theme" href="javascript:;" title="<?php echo LNG('code_theme');?>">
|
||||
<i class="font-icon icon-magic"></i><i class="font-icon icon-caret-down"></i>
|
||||
</a>
|
||||
<a class="toolbar-menu menu-view-setting" href="javascript:;" title="<?php echo LNG('setting');?>">
|
||||
<i class="font-icon icon-cog"></i><i class="font-icon icon-caret-down"></i>
|
||||
</a>
|
||||
<a action="preview" href="javascript:;" title="<?php echo LNG('preview');?>(Ctrl-Shift-S)"><i class="font-icon icon-eye-open"></i></a>
|
||||
</div>
|
||||
<div class="right">
|
||||
<a action="fullscreen" href="javascript:;" title="<?php echo LNG('full_screen');?>"><i class="font-icon icon-resize-full"></i></a>
|
||||
<a action="close" href="javascript:;" title="<?php echo LNG('close');?>"><i class="font-icon icon-remove"></i></a>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div><!-- end tools -->
|
||||
|
||||
<!-- 主体部分 -->
|
||||
<div class="frame-left">
|
||||
<div class="edit-tab">
|
||||
<div class="tabs">
|
||||
<a href="javascript:Editor.add()" class="add icon-plus"></a>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="edit-body">
|
||||
<div class="introduction hidden">
|
||||
<?php include(LANGUAGE_PATH.I18n::getType().'/edit.html');?>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
<div class="tabs"></div>
|
||||
<div class="bottom-toolbar hidden">
|
||||
<a class="toolbar-menu menu-view-goto-line editor_position" href="javascript:;">0:0</a>
|
||||
<a class="file-mode" href="javascript:;">text</a>
|
||||
<a class="toolbar-menu menuViewTab config-tab" href="javascript:;">Tabs:4</a>
|
||||
<a class="toolbar-menu menu-view-setting config" href="javascript:;"><i class="font-icon icon-cog"></i></a>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-content hidden"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php include(TEMPLATE.'common/footerCommon.html');?>
|
||||
<script type="text/javascript">
|
||||
AUTH = {'explorer.fileDownload':<?php echo $canDownload;?>};
|
||||
G.fristFile = "<?php echo (isset($_GET['filename']) ? clear_html($_GET['filename']) :'') ;?>";
|
||||
G.codeConfig = <?php echo $editorConfig;?>;
|
||||
G.codeThemeAll = "<?php echo $config['settingAll']['codethemeall']?>";
|
||||
G.codeFontAll = "<?php echo $config['settingAll']['codefontall']?>";
|
||||
G.user = "<?php echo clear_html($_GET['user']);?>";
|
||||
G.sid = "<?php echo clear_html($_GET['sid']);?>";
|
||||
G.theme = "<?php echo $configTheme;?>";
|
||||
seajs.config({
|
||||
preload: [
|
||||
"lib/jquery-1.8.0.min",
|
||||
'lib/ace/src-min-noconflict/ace'
|
||||
]
|
||||
});
|
||||
seajs.use("app/src/edit/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo clear_html($shareInfo['name']).' - '.LNG('share_title').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_editor.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $configTheme;?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<?php if(isset($_GET['project'])){?>
|
||||
<style>
|
||||
.topbar{display: none;}
|
||||
.frame-header,.frame-main,.frame-main .frame-left{top:0;}
|
||||
.edit-content.markdown-full-page .edit-right-frame .markdown-preview {padding-top: 50px;}
|
||||
.edit-body {bottom: 30px;}
|
||||
</style>
|
||||
<?php } ?>
|
||||
|
||||
<?php if(isset($_GET['user'])){?>
|
||||
<style>
|
||||
.frame-main .frame-left{top:0;}
|
||||
.frame-main{bottom:0px;}
|
||||
</style>
|
||||
<?php } ?>
|
||||
|
||||
<body style="overflow:hidden;" oncontextmenu="return core.contextmenu();" id="page-editor">
|
||||
<?php include(TEMPLATE.'common/navbarShare.html');?>
|
||||
<div class="frame-main">
|
||||
<div class='frame-left'>
|
||||
<ul id="folder-list-tree" style="margin-top:10px;" class="ztree"></ul>
|
||||
</div><!-- / frame-left end-->
|
||||
<div class='frame-resize'></div>
|
||||
<div class='frame-right'>
|
||||
<div class="frame-right-main" style="height:100%;padding:0;margin:0;">
|
||||
<div class="resize-mask"></div>
|
||||
<div class="message-box"><div class="content"></div></div>
|
||||
<div class="menu-tree-root"></div>
|
||||
<div class="menu-tree-folder"></div>
|
||||
<div class="menu-tree-file"></div>
|
||||
<div class ='frame'>
|
||||
<iframe name="OpenopenEditor"
|
||||
src="./index.php?share/edit&user=<?php echo clear_html($_GET['user']);?>&sid=<?php echo clear_html($_GET['sid']);?>"
|
||||
style="width:100%;height:100%;border:0;" frameborder=0></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- / frame-right end-->
|
||||
</div><!-- / frame-main end-->
|
||||
<?php include(TEMPLATE.'common/footerCommon.html');?>
|
||||
<script type="text/javascript">
|
||||
AUTH = {'explorer.fileDownload':<?php echo $canDownload;?>};
|
||||
G.project = "<?php echo (isset($_GET['project'])?clear_html($_GET['project']):'') ;?>";
|
||||
G.user = "<?php echo clear_html($_GET['user']);?>";
|
||||
G.sid = "<?php echo clear_html($_GET['sid']);?>";
|
||||
G.shareInfo = <?php echo json_encode($shareInfo);?>;
|
||||
G.theme = "<?php echo $configTheme;?>";
|
||||
seajs.use("app/src/shareEditor/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo clear_html($shareInfo['name']).' - '.LNG('share_title').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_explorer.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $configTheme;?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
|
||||
<style>
|
||||
.frame-main .frame-left {bottom: 0px;}
|
||||
.frame-main .bottom-box{display:none !important;}
|
||||
.tools-right #set_theme{display:none !important;}
|
||||
#PV_rotate_Left,#PV_rotate_Right,#PV_Btn_Remove{display:none !important;}
|
||||
<?php if(isset($_GET['type'])){?>
|
||||
.topbar,.common-footer,.bottom-box{display:none;}
|
||||
.frame-header{top:0;}
|
||||
.frame-main{top:0px;bottom:0px;}
|
||||
.frame-main .frame-left #folder-list-tree{bottom:5px;}
|
||||
<?php if($_GET['type']=="explorer"){?>
|
||||
.frame-header .header-content .header-left{display:none;}
|
||||
.frame-header .header-content .header-middle{left:12px;}
|
||||
.frame-main .frame-left,.frame-main .frame-resize{display:none;}
|
||||
.frame-main .frame-right{left:0px;}
|
||||
.task-tab{display:none;}
|
||||
<?php } ?>
|
||||
|
||||
<?php if($_GET['type']=="fileList"){?>
|
||||
.frame-header{display:none;}
|
||||
.frame-main .frame-left,.frame-main .frame-resize{display:none;}
|
||||
.frame-main .frame-right{left:0px;}
|
||||
.frame-main{top:0px;}
|
||||
.task-tab,#set_theme,#fav,#home{display:none !important;}
|
||||
.header-middle{top:3px;left:5px;right:140px;}
|
||||
#list-type-header{top:35px;}
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</style>
|
||||
|
||||
|
||||
<body style="overflow:hidden;" oncontextmenu="return core.contextmenu();" id="page-explorer">
|
||||
<?php include(TEMPLATE.'common/navbarShare.html');?>
|
||||
<?php include(TEMPLATE.'explorer/content.html');?>
|
||||
<?php include(TEMPLATE.'common/footer.html');?>
|
||||
<script type="text/javascript" >
|
||||
AUTH = {'explorer.fileDownload':<?php echo clear_html($canDownload);?>};
|
||||
G.thisPath = "<?php echo clear_html($dir);?>";
|
||||
G.user = "<?php echo clear_html($_GET['user']);?>";
|
||||
G.sid = "<?php echo clear_html($_GET['sid']);?>";
|
||||
G.shareInfo = <?php echo json_encode($shareInfo);?>;
|
||||
G.theme = "<?php echo $configTheme;?>";
|
||||
seajs.use("app/src/shareExplorer/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo LNG('ui_explorer').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link href="<?php echo STATIC_PATH;?>style/wap/app_explorer.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet"/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="frame-main">
|
||||
<div class="frame-header">
|
||||
<div class="title"><?php echo clear_html($shareInfo['name']);?></div>
|
||||
<div class="menu-group">
|
||||
<div class="btn-list-icon"><i class="font-icon icon-home"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="address">
|
||||
<ul class="yarnball"></ul>
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
<div class='bodymain'>
|
||||
<div class="file-continer file-list-list"></div>
|
||||
</div>
|
||||
|
||||
<div class="file-menu">
|
||||
<div class="file-action-menu hidden">
|
||||
<div class='action-menu' data-action="action-download"><i class="font-icon icon-info"></i><?php echo LNG('download');?></div>
|
||||
<div class='action-menu' data-action="action-share-open">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-share"></i><?php echo LNG('open');?>
|
||||
</span>
|
||||
</div>
|
||||
<div class="menu-close"><i class="font-icon icon-ellipsis-horizontal"></i></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php include(TEMPLATE.'common/footer.html');?>
|
||||
</div><!-- / frame-main end-->
|
||||
<div class="toolbar-menu">
|
||||
<button class="menu-plus tool tool-menu-right-btn" data-toggle="dropdown"></button>
|
||||
<ul class="dropdown-menu tool-menu-right pull-right animated menuShow" role="menu" >
|
||||
<li data-action="upload"><a href="javascript:void();">
|
||||
<i class="font-icon icon-cloud-upload"></i><?php echo LNG('upload');?></a></li>
|
||||
<li data-action="newfolder"><a href="javascript:void();">
|
||||
<i class="font-icon icon-folder-close-alt"></i><?php echo LNG('newfolder');?></a></li>
|
||||
<li data-action="newfile"><a href="javascript:void();">
|
||||
<i class="font-icon icon-file-text"></i><?php echo LNG('newfile');?></a></li>
|
||||
<li data-action="past"><a href="javascript:void();">
|
||||
<i class="font-icon icon-paste"></i><?php echo LNG('past');?></a></li>
|
||||
<li data-action="search"><a href="javascript:void();">
|
||||
<i class="font-icon icon-search"></i><?php echo LNG('search');?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
G.thisPath = "<?php echo clear_html($dir);?>";
|
||||
G.user = "<?php echo clear_html($_GET['user']);?>";
|
||||
G.sid = "<?php echo clear_html($_GET['sid']);?>";
|
||||
G.shareInfo = <?php echo json_encode($shareInfo);?>;
|
||||
seajs.use("<?php echo STATIC_JS;?>/src/explorerWap/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo clear_html($shareInfo['name']).' - '.LNG('share_title').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_code_edit.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $configTheme;?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
<style type="text/css">
|
||||
.frame-main{bottom: 32px;}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<?php include(TEMPLATE.'common/navbarShare.html');?>
|
||||
<div class="frame-main share-page-main">
|
||||
<!-- bindary-box -->
|
||||
<div class="bindary-box hidden">
|
||||
<div class="title"><div class="ico"></div></div>
|
||||
<div class="content-info">
|
||||
<div class="name"></div>
|
||||
<div class="size"><span></span><i class="share-time"></i></div>
|
||||
<div class="btn-group">
|
||||
<a type="button" class="btn btn-primary btn-download" href=""><?php echo LNG('download');?></a>
|
||||
</div>
|
||||
<div class="error-tips"><?php echo LNG('share_error_show_tips');?></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-box"></div>
|
||||
</div><!-- / frame-main end-->
|
||||
<?php include(TEMPLATE.'common/footer.html');?>
|
||||
<script type="text/javascript">
|
||||
AUTH = {'explorer.fileDownload':<?php echo $canDownload;?>};
|
||||
G.user = "<?php echo clear_html($_GET['user']);?>";
|
||||
G.path = "<?php echo clear_html($_GET['path']);?>";
|
||||
G.sid = "<?php echo clear_html($_GET['sid']);?>";
|
||||
G.shareInfo = <?php echo json_encode($shareInfo);?>;
|
||||
G.theme = "<?php echo $configTheme;?>";
|
||||
seajs.config({
|
||||
preload: [
|
||||
"lib/jquery-1.8.0.min",
|
||||
'lib/ace/src-min-noconflict/ace'
|
||||
]
|
||||
});
|
||||
seajs.use("app/src/shareIndex/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title>tips - <?php echo LNG('share_title').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_code_edit.css?ver=<?php echo KOD_VERSION;?>"/>
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $configTheme;?>.css?ver=<?php echo KOD_VERSION;?>" id='link-theme-style'/>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="overflow:hidden;">
|
||||
<?php include(TEMPLATE.'common/navbarShare.html');?>
|
||||
<div class="frame-main">
|
||||
<?php if($msg=='password'){?>
|
||||
<div class="share-page-passowrd">
|
||||
<div class="title"><?php echo LNG('share_password');?></div>
|
||||
<input type="password" class="form-control"/>
|
||||
<a href="javascript:void(0);" class="btn btn-primary share-login"><?php echo LNG('button_ok');?></a>
|
||||
</div>
|
||||
<?php }else{?>
|
||||
<div class="share-page-error"><b>tips:</b><?php echo $msg;?></div>
|
||||
<?php }?>
|
||||
</div><!-- / frame-main end-->
|
||||
<?php include(TEMPLATE.'common/footer.html');?>
|
||||
<script type="text/javascript">
|
||||
seajs.use("app/src/shareIndex/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,63 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<link href="<?php echo STATIC_PATH;?>style/login.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet">
|
||||
<title><?php echo LNG('php_env_check').' - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php echo pageBackground();?>
|
||||
<div class="background"></div>
|
||||
<div class="loginbox box-install aero" >
|
||||
<div class="title">
|
||||
<div class="logo"><i class="icon-cloud"></i><?php echo strip_tags(LNG('kod_name'));?></div>
|
||||
<div class='info'><?php echo LNG('kod_name_desc');?></div>
|
||||
<div class="menu-group">
|
||||
<a id='footer-language' data-toggle="dropdown" href="javascript:void(0);" class="topbar-menu">
|
||||
<i class='font-icon icon-flag'></i>Language<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu footer-language pull-left animated menuShow" role="menu" aria-labelledby="footer-language">
|
||||
<?php
|
||||
$tpl = "";
|
||||
foreach ($config['settingAll']['language'] as $key => $value) {
|
||||
$name = $value[0];
|
||||
$select = I18n::getType() == $key ? "this":"";
|
||||
$tpl .= "<li><a href='javascript:core.language(\"{$key}\");' title=\"{$key}/{$value[1]}/{$value[2]}\" class='{$select}'><i class='lang-flag flag-{$key}'></i>{$name}</a></li>";
|
||||
}
|
||||
echo $tpl;
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form" style="padding: 10px 20px 40px 20px;">
|
||||
<h3><?php echo LNG('php_env_check');?></h3>
|
||||
<?php
|
||||
$error = php_env_check();
|
||||
$login = LNG('login');
|
||||
if ($error=='') {
|
||||
echo '<div class="success">';
|
||||
}else{
|
||||
echo '<div class="error"><h4>error:</h4>'.$error."<br/>";
|
||||
$login = LNG('php_env_error_ignore');
|
||||
}
|
||||
$login_info = str_replace(array("{0}","{1}","{2}"),array('admin','demo/demo','guest/guest'),LNG('install_user_default'));
|
||||
echo LNG('install_login'),'<br/>'.$login_info.'</div>';
|
||||
echo '<div class="inputs admin-password"><input type="password" placeholder="'.LNG('login_root_password').'"/></div><div class="inputs admin-password-repeat"><input type="password" placeholder="'.LNG('login_root_password_repeat').'"/></div>';
|
||||
echo '<div class="guest"><a href="javascript:void(0);" class="start">'.$login.'</a></div>';
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $GLOBALS['loadCommonJs'] = true;?>
|
||||
<?php include(TEMPLATE.'common/footer.html');?>
|
||||
<script type="text/javascript" >
|
||||
setTimeout(function(){
|
||||
if( typeof(seajs) == 'undefined' ||
|
||||
typeof(LNG) == 'undefined'
|
||||
){
|
||||
alert('js文件不完整,请查看浏览器控制台和服务器配置是否正常。或检查文件是否被修改(或咨询主机商压缩js导致文件损坏);[js load error!]');
|
||||
}
|
||||
},1000);
|
||||
seajs.use("<?php echo STATIC_JS;?>/src/user/main");
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo 'License Register - '.strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link href="<?php echo STATIC_PATH;?>style/login.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="license-page">
|
||||
<?php echo pageBackground();?>
|
||||
<div class="background"></div>
|
||||
<div class="loginbox aero" >
|
||||
<div class="title">
|
||||
<div class="logo">升级为商业版</div>
|
||||
<div class='info'><?php echo LNG('copyright_contact');?></div>
|
||||
</div>
|
||||
<div class="form" style="padding: 10px 20px;">
|
||||
<div class="inputs admin-password"><input type="text" placeholder="LICENSE KEY"/></div>
|
||||
<a href="javascript:void(0);" class="LICENSE_SUBMIT btn btn-primary">注册授权</a>
|
||||
<div class="links">
|
||||
<a href="./index.php?user/versionInstall&reset=1" class="btn btn-link license-use-free"><?php echo LNG('use_free');?></a>
|
||||
<a href="http://kodcloud.com/buy.html#<?php echo I18n::getType();?>" target="_blank" class="btn btn-link license-learn-more"><?php echo LNG('learn_more');?></a>
|
||||
</div>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
<?php $GLOBALS['loadCommonJs'] = true;?>
|
||||
<?php include(TEMPLATE.'common/footer.html');?>
|
||||
<script type="text/javascript" >
|
||||
seajs.use("<?php echo STATIC_JS;?>/src/user/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,91 @@
|
||||
<!--user login-->
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<title><?php echo strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
<link href="<?php echo STATIC_PATH;?>style/login.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php echo pageBackground();?>
|
||||
<div class="background"></div>
|
||||
<div class="init-loading"><div><img src="<?php echo STATIC_PATH;?>images/common/loading_simple.gif?v=<?php echo KOD_VERSION;?>"/></div></div>
|
||||
<div class="loginbox animated-500 fadeInDown aero" >
|
||||
<div class="title">
|
||||
<div class="logo"><i class="icon-cloud"></i><?php echo strip_tags(LNG('kod_name'));?></div>
|
||||
<div class='info'><?php echo LNG('kod_name_desc');?></div>
|
||||
<?php if(!isset($config['settings']['language'])){ ?>
|
||||
<div class="menu-group">
|
||||
<a id='footer-language' data-toggle="dropdown" href="javascript:void(0);" class="topbar-menu">
|
||||
<i class='font-icon icon-flag'></i>Language<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu footer-language pull-left animated menuShow" role="menu" aria-labelledby="footer-language">
|
||||
<?php
|
||||
$tpl = "";
|
||||
foreach ($config['settingAll']['language'] as $key => $value) {
|
||||
$name = $value[0];
|
||||
$select = I18n::getType() == $key ? "this":"";
|
||||
$tpl .= "<li><a href='javascript:core.language(\"{$key}\");' title=\"{$key}/{$value[1]}/{$value[2]}\" class='{$select}'><i class='lang-flag flag-{$key}'></i>{$name}</a></li>";
|
||||
}
|
||||
echo $tpl;
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="form">
|
||||
<form action="#">
|
||||
<div class="inputs">
|
||||
<div>
|
||||
<i class="font-icon icon-user"></i>
|
||||
<input id="username" name='name' type="text" placeholder="<?php echo LNG('username');?>"
|
||||
required autocomplete="on" disabled/>
|
||||
</div>
|
||||
<div>
|
||||
<i class="font-icon icon-key"></i>
|
||||
<input id="password" name='password' type="password" placeholder="<?php echo LNG('password');?>"
|
||||
required autocomplete="on" disabled/>
|
||||
<input type='hidden' name='csrfLogin' value="<?php echo $_SESSION['csrfLogin'];?>"/>
|
||||
</div>
|
||||
<?php if(need_check_code()){?>
|
||||
<div class='check-code'>
|
||||
<i class="font-icon icon-unlock-alt"></i>
|
||||
<input name='checkCode' class="check-code" type="text" placeholder="<?php echo LNG('login_code');?>" required/>
|
||||
<img src='./index.php?user/checkCode' onclick="this.src='./index.php?user/checkCode'" />
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<div class="actions">
|
||||
<label for='rm'>
|
||||
<input type="checkbox" class="checkbox" name="rememberPassword" id='rm'/>
|
||||
<?php echo LNG('login_rember_password');?>
|
||||
</label>
|
||||
<a href="javascript:void(0);" class="forget-password"><?php echo LNG('forget_password');?></a>
|
||||
<br/>
|
||||
<input type="submit" id="submit" value="<?php echo LNG('login');?>" />
|
||||
</div>
|
||||
|
||||
<div class="msg"><?php echo $msg;?></div>
|
||||
|
||||
<?php if ($this->config['settingSystem']['autoLogin'] == '1') {?>
|
||||
<div class='guest'>
|
||||
<a href="./index.php?user/loginSubmit&name=guest&password=guest"><?php echo LNG('guest_login');?><i class=' icon-arrow-right'></i></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $GLOBALS['loadCommonJs'] = true;?>
|
||||
<?php include(TEMPLATE.'common/footer.html');?>
|
||||
<script type="text/javascript" >
|
||||
setTimeout(function(){
|
||||
if( typeof(seajs) == 'undefined' ||
|
||||
typeof(LNG) == 'undefined'
|
||||
){
|
||||
alert('js文件不完整,请查看浏览器控制台和服务器配置是否正常。或检查文件是否被修改(或咨询主机商压缩js导致文件损坏);[js load error!]');
|
||||
}
|
||||
},1000);
|
||||
seajs.use("<?php echo STATIC_JS;?>/src/user/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,65 @@
|
||||
<!--user login-->
|
||||
<?php include(TEMPLATE.'common/header.html');?>
|
||||
<link href="<?php echo STATIC_PATH;?>style/wap/login.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet">
|
||||
<title><?php echo strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php echo pageBackground();?>
|
||||
<div class="background"></div>
|
||||
<div class="loginbox login-wap aero" >
|
||||
<div class="title">
|
||||
<div class="logo">
|
||||
<i class="icon-cloud"></i><?php echo strip_tags(LNG('kod_name'));?>
|
||||
</div>
|
||||
<div class='info'><?php echo LNG('kod_name_desc');?></div>
|
||||
</div>
|
||||
<div class="form">
|
||||
<form action="#">
|
||||
<div class="inputs">
|
||||
<div>
|
||||
<i class="font-icon icon-user"></i>
|
||||
<input id="username" name='name' type="text" placeholder="<?php echo LNG('username');?>"
|
||||
required disabled/>
|
||||
</div>
|
||||
<div>
|
||||
<i class="font-icon icon-key"></i>
|
||||
<input id="password" name='password' type="password" placeholder="<?php echo LNG('password');?>"
|
||||
required disabled/>
|
||||
<input type='hidden' name='csrfLogin' value="<?php echo $_SESSION['csrfLogin'];?>"/>
|
||||
</div>
|
||||
|
||||
<?php if(need_check_code()){?>
|
||||
<div class='check-code'>
|
||||
<i class="font-icon icon-unlock-alt"></i>
|
||||
<input name='checkCode' class="check-code" type="text" placeholder="<?php echo LNG('login_code');?>" required/>
|
||||
<img src='./index.php?user/checkCode' onclick="this.src='./index.php?user/checkCode'" />
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<label for='rm'>
|
||||
<input type="checkbox" class="checkbox" name="rememberPassword" id='rm'/>
|
||||
<?php echo LNG('login_rember_password');?>
|
||||
</label>
|
||||
<a href="javascript:void(0);" class="forget-password"><?php echo LNG('forget_password');?></a>
|
||||
<input type="submit" id="submit" value="<?php echo LNG('login');?>" />
|
||||
</div>
|
||||
<div class="msg"><?php echo $msg;?></div>
|
||||
|
||||
<?php if ($this->config['settingSystem']['autoLogin'] == '1') {?>
|
||||
<div class='guest'>
|
||||
<a href="./index.php?user/loginSubmit&name=guest&password=guest"><?php echo LNG('guest_login');?><i class=' icon-arrow-right'></i></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $GLOBALS['loadCommonJs'] = true;?>
|
||||
<?php include(TEMPLATE.'common/footer.html');?>
|
||||
<script type="text/javascript" >
|
||||
seajs.use("<?php echo STATIC_JS;?>/src/user/main");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user