作者 郭鑫

upload

正在显示 37 个修改的文件 包含 3628 行增加4 行删除
... ... @@ -3,10 +3,7 @@
.project
.settings
.idea
composer.lock
/data
/public/plugins/
composer.lockpublic/plugins/
/public/static/
/public/themes/
/public/upload/
... ...
<?php
/**
* 配置文件
*/
return [
// 数据库类型
'type' => 'mysql',
// 服务器地址
'hostname' => '127.0.0.1',
// 数据库名
'database' => 'candy',
// 用户名
'username' => 'root',
// 密码
'password' => '',
// 端口
'hostport' => '3306',
// 数据库编码默认采用utf8
'charset' => 'utf8mb4',
// 数据库表前缀
'prefix' => 'cmf_',
"authcode" => 'aDYhcMSMYycKVO2qwZ',
//#COOKIE_PREFIX#
];
... ...
<?php return array (
);
\ No newline at end of file
... ...
<?php
return array (
'ADMIN_HOOK_INDEX' => '钩子管理',
'ADMIN_HOOK_PLUGINLISTORDER' => '钩子插件排序',
'ADMIN_HOOK_PLUGINS' => '钩子插件管理',
'ADMIN_HOOK_SYNC' => '同步钩子',
'ADMIN_LINK_ADD' => '添加友情链接',
'ADMIN_LINK_ADDPOST' => '添加友情链接提交保存',
'ADMIN_LINK_DELETE' => '删除友情链接',
'ADMIN_LINK_EDIT' => '编辑友情链接',
'ADMIN_LINK_EDITPOST' => '编辑友情链接提交保存',
'ADMIN_LINK_INDEX' => '友情链接',
'ADMIN_LINK_LISTORDER' => '友情链接排序',
'ADMIN_LINK_TOGGLE' => '友情链接显示隐藏',
'ADMIN_MAILER_INDEX' => '邮箱配置',
'ADMIN_MAILER_INDEXPOST' => '邮箱配置提交保存',
'ADMIN_MAILER_TEMPLATE' => '邮件模板',
'ADMIN_MAILER_TEMPLATEPOST' => '邮件模板提交',
'ADMIN_MAILER_TEST' => '邮件发送测试',
'ADMIN_MENU_ADD' => '后台菜单添加',
'ADMIN_MENU_ADDPOST' => '后台菜单添加提交保存',
'ADMIN_MENU_DELETE' => '后台菜单删除',
'ADMIN_MENU_EDIT' => '后台菜单编辑',
'ADMIN_MENU_EDITPOST' => '后台菜单编辑提交保存',
'ADMIN_MENU_GETACTIONS' => '导入新后台菜单',
'ADMIN_MENU_INDEX' => '后台菜单',
'ADMIN_MENU_LISTORDER' => '后台菜单排序',
'ADMIN_MENU_LISTS' => '所有菜单',
'ADMIN_NAV_ADD' => '添加导航',
'ADMIN_NAV_ADDPOST' => '添加导航提交保存',
'ADMIN_NAV_DELETE' => '删除导航',
'ADMIN_NAV_EDIT' => '编辑导航',
'ADMIN_NAV_EDITPOST' => '编辑导航提交保存',
'ADMIN_NAV_INDEX' => '导航管理',
'ADMIN_NAVMENU_ADD' => '添加导航菜单',
'ADMIN_NAVMENU_ADDPOST' => '添加导航菜单提交保存',
'ADMIN_NAVMENU_DELETE' => '删除导航菜单',
'ADMIN_NAVMENU_EDIT' => '编辑导航菜单',
'ADMIN_NAVMENU_EDITPOST' => '编辑导航菜单提交保存',
'ADMIN_NAVMENU_INDEX' => '导航菜单',
'ADMIN_NAVMENU_LISTORDER' => '导航菜单排序',
'ADMIN_PLUGIN_DEFAULT' => '插件中心',
'ADMIN_PLUGIN_INDEX' => '插件列表',
'ADMIN_PLUGIN_INSTALL' => '插件安装',
'ADMIN_PLUGIN_SETTING' => '插件设置',
'ADMIN_PLUGIN_SETTINGPOST' => '插件设置提交',
'ADMIN_PLUGIN_TOGGLE' => '插件启用禁用',
'ADMIN_PLUGIN_UNINSTALL' => '卸载插件',
'ADMIN_PLUGIN_UPDATE' => '插件更新',
'ADMIN_RBAC_AUTHORIZE' => '设置角色权限',
'ADMIN_RBAC_AUTHORIZEPOST' => '角色授权提交',
'ADMIN_RBAC_INDEX' => '角色管理',
'ADMIN_RBAC_ROLEADD' => '添加角色',
'ADMIN_RBAC_ROLEADDPOST' => '添加角色提交',
'ADMIN_RBAC_ROLEDELETE' => '删除角色',
'ADMIN_RBAC_ROLEEDIT' => '编辑角色',
'ADMIN_RBAC_ROLEEDITPOST' => '编辑角色提交',
'ADMIN_RECYCLEBIN_DELETE' => '回收站彻底删除',
'ADMIN_RECYCLEBIN_INDEX' => '回收站',
'ADMIN_RECYCLEBIN_RESTORE' => '回收站还原',
'ADMIN_ROUTE_ADD' => '添加路由规则',
'ADMIN_ROUTE_ADDPOST' => '添加路由规则提交',
'ADMIN_ROUTE_BAN' => '路由规则禁用',
'ADMIN_ROUTE_DELETE' => '路由规则删除',
'ADMIN_ROUTE_EDIT' => '路由规则编辑',
'ADMIN_ROUTE_EDITPOST' => '路由规则编辑提交',
'ADMIN_ROUTE_INDEX' => 'URL美化',
'ADMIN_ROUTE_LISTORDER' => '路由规则排序',
'ADMIN_ROUTE_OPEN' => '路由规则启用',
'ADMIN_ROUTE_SELECT' => '选择URL',
'ADMIN_SETTING_CLEARCACHE' => '清除缓存',
'ADMIN_SETTING_DEFAULT' => '设置',
'ADMIN_SETTING_PASSWORD' => '密码修改',
'ADMIN_SETTING_PASSWORDPOST' => '密码修改提交',
'ADMIN_SETTING_SITE' => '网站信息',
'ADMIN_SETTING_SITEPOST' => '网站信息设置提交',
'ADMIN_SETTING_UPLOAD' => '上传设置',
'ADMIN_SETTING_UPLOADPOST' => '上传设置提交',
'ADMIN_SLIDE_ADD' => '添加幻灯片',
'ADMIN_SLIDE_ADDPOST' => '添加幻灯片提交',
'ADMIN_SLIDE_DELETE' => '删除幻灯片',
'ADMIN_SLIDE_EDIT' => '编辑幻灯片',
'ADMIN_SLIDE_EDITPOST' => '编辑幻灯片提交',
'ADMIN_SLIDE_INDEX' => '幻灯片管理',
'ADMIN_SLIDEITEM_ADD' => '幻灯片页面添加',
'ADMIN_SLIDEITEM_ADDPOST' => '幻灯片页面添加提交',
'ADMIN_SLIDEITEM_BAN' => '幻灯片页面隐藏',
'ADMIN_SLIDEITEM_CANCELBAN' => '幻灯片页面显示',
'ADMIN_SLIDEITEM_DELETE' => '幻灯片页面删除',
'ADMIN_SLIDEITEM_EDIT' => '幻灯片页面编辑',
'ADMIN_SLIDEITEM_EDITPOST' => '幻灯片页面编辑提交',
'ADMIN_SLIDEITEM_INDEX' => '幻灯片页面列表',
'ADMIN_SLIDEITEM_LISTORDER' => '幻灯片页面排序',
'ADMIN_STORAGE_INDEX' => '文件存储',
'ADMIN_STORAGE_SETTINGPOST' => '文件存储设置提交',
'ADMIN_THEME_ACTIVE' => '启用模板',
'ADMIN_THEME_DATASOURCE' => '模板文件设置数据源',
'ADMIN_THEME_FILEARRAYDATA' => '模板文件数组数据列表',
'ADMIN_THEME_FILEARRAYDATADELETE' => '模板文件数组数据删除',
'ADMIN_THEME_FILEARRAYDATAEDIT' => '模板文件数组数据添加编辑',
'ADMIN_THEME_FILEARRAYDATAEDITPOST' => '模板文件数组数据添加编辑提交保存',
'ADMIN_THEME_FILES' => '模板文件列表',
'ADMIN_THEME_FILESETTING' => '模板文件设置',
'ADMIN_THEME_INDEX' => '模板管理',
'ADMIN_THEME_INSTALL' => '安装模板',
'ADMIN_THEME_INSTALLTHEME' => '模板安装',
'ADMIN_THEME_SETTINGPOST' => '模板文件编辑提交保存',
'ADMIN_THEME_UNINSTALL' => '卸载模板',
'ADMIN_THEME_UPDATE' => '模板更新',
'ADMIN_USER_ADD' => '管理员添加',
'ADMIN_USER_ADDPOST' => '管理员添加提交',
'ADMIN_USER_BAN' => '停用管理员',
'ADMIN_USER_CANCELBAN' => '启用管理员',
'ADMIN_USER_DEFAULT' => '管理组',
'ADMIN_USER_DELETE' => '管理员删除',
'ADMIN_USER_EDIT' => '管理员编辑',
'ADMIN_USER_EDITPOST' => '管理员编辑提交',
'ADMIN_USER_INDEX' => '管理员',
'ADMIN_USER_USERINFO' => '个人信息',
'ADMIN_USER_USERINFOPOST' => '管理员个人信息修改提交',
'PORTAL_ADMINARTICLE_ADD' => '添加文章',
'PORTAL_ADMINARTICLE_ADDPOST' => '添加文章提交',
'PORTAL_ADMINARTICLE_DELETE' => '文章删除',
'PORTAL_ADMINARTICLE_EDIT' => '编辑文章',
'PORTAL_ADMINARTICLE_EDITPOST' => '编辑文章提交',
'PORTAL_ADMINARTICLE_INDEX' => '文章管理',
'PORTAL_ADMINARTICLE_LISTORDER' => '文章排序',
'PORTAL_ADMINARTICLE_PUBLISH' => '文章发布',
'PORTAL_ADMINARTICLE_RECOMMEND' => '文章推荐',
'PORTAL_ADMINARTICLE_TOP' => '文章置顶',
'PORTAL_ADMINCATEGORY_ADD' => '添加文章分类',
'PORTAL_ADMINCATEGORY_ADDPOST' => '添加文章分类提交',
'PORTAL_ADMINCATEGORY_DELETE' => '删除文章分类',
'PORTAL_ADMINCATEGORY_EDIT' => '编辑文章分类',
'PORTAL_ADMINCATEGORY_EDITPOST' => '编辑文章分类提交',
'PORTAL_ADMINCATEGORY_INDEX' => '分类管理',
'PORTAL_ADMINCATEGORY_LISTORDER' => '文章分类排序',
'PORTAL_ADMINCATEGORY_SELECT' => '文章分类选择对话框',
'PORTAL_ADMININDEX_DEFAULT' => '门户管理',
'PORTAL_ADMINPAGE_ADD' => '添加页面',
'PORTAL_ADMINPAGE_ADDPOST' => '添加页面提交',
'PORTAL_ADMINPAGE_DELETE' => '删除页面',
'PORTAL_ADMINPAGE_EDIT' => '编辑页面',
'PORTAL_ADMINPAGE_EDITPOST' => '编辑页面提交',
'PORTAL_ADMINPAGE_INDEX' => '页面管理',
'PORTAL_ADMINPIC_POSTER' => '海报图',
'PORTAL_ADMINPIC_SCORE' => '赠送积分设置',
'PORTAL_ADMINTAG_ADD' => '添加文章标签',
'PORTAL_ADMINTAG_ADDPOST' => '添加文章标签提交',
'PORTAL_ADMINTAG_DELETE' => '删除文章标签',
'PORTAL_ADMINTAG_INDEX' => '文章标签',
'PORTAL_ADMINTAG_UPSTATUS' => '更新标签状态',
'USER_ADMINASSET_DELETE' => '删除文件',
'USER_ADMINASSET_INDEX' => '资源管理',
'USER_ADMININDEX_BAN' => '本站用户拉黑',
'USER_ADMININDEX_CANCELBAN' => '本站用户启用',
'USER_ADMININDEX_DEFAULT' => '用户管理',
'USER_ADMININDEX_DEFAULT1' => '用户组',
'USER_ADMININDEX_INDEX' => '本站用户',
'USER_ADMINOAUTH_DELETE' => '删除第三方用户绑定',
'USER_ADMINOAUTH_INDEX' => '第三方用户',
'USER_ADMINUSERACTION_EDIT' => '编辑用户操作',
'USER_ADMINUSERACTION_EDITPOST' => '编辑用户操作提交',
'USER_ADMINUSERACTION_INDEX' => '用户操作管理',
'USER_ADMINUSERACTION_SYNC' => '同步用户操作',
);
\ No newline at end of file
... ...
<?php
//000000000000
exit();?>
s:84:"D:\wamp\www\candy\public/../data/runtime/cache\c3\0b008a754ac7f1eeef085057ee3106.php";
\ No newline at end of file
... ...
<?php
//000000000000
exit();?>
a:4:{s:9:"site_name";s:26:"ThinkCMF内容管理框架";s:14:"site_seo_title";s:26:"ThinkCMF内容管理框架";s:17:"site_seo_keywords";s:71:"ThinkCMF,php,内容管理框架,cmf,cms,简约风, simplewind,framework";s:20:"site_seo_description";s:86:"ThinkCMF是简约风网络科技发布的一款用于快速开发的内容管理框架";}
\ No newline at end of file
... ...
<?php
//000000000000
exit();?>
a:8:{i:0;a:2:{s:4:"name";s:6:"CmfHub";s:9:"is_system";i:1;}i:1;a:2:{s:4:"name";s:16:"MainContributors";s:9:"is_system";i:1;}i:2;a:2:{s:4:"name";s:7:"Custom5";s:9:"is_system";i:1;}i:3;a:2:{s:4:"name";s:7:"Custom1";s:9:"is_system";i:1;}i:4;a:2:{s:4:"name";s:7:"Custom2";s:9:"is_system";i:1;}i:5;a:2:{s:4:"name";s:7:"Custom3";s:9:"is_system";i:1;}i:6;a:2:{s:4:"name";s:7:"Custom4";s:9:"is_system";i:1;}i:7;a:2:{s:4:"name";s:12:"Contributors";s:9:"is_system";i:1;}}
\ No newline at end of file
... ...
<?php
//000000000000
exit();?>
a:2:{s:7:"109user";a:7:{s:4:"icon";s:5:"group";s:2:"id";s:7:"109user";s:4:"name";s:12:"用户管理";s:6:"parent";s:0:"";s:3:"url";s:43:"/candy/public/user/admin_index/default.html";s:4:"lang";s:23:"USER_ADMININDEX_DEFAULT";s:5:"items";a:1:{s:7:"152user";a:7:{s:4:"icon";s:0:"";s:2:"id";s:7:"152user";s:4:"name";s:9:"用户组";s:6:"parent";i:109;s:3:"url";s:44:"/candy/public/user/admin_index/default1.html";s:4:"lang";s:24:"USER_ADMININDEX_DEFAULT1";s:5:"items";a:1:{s:7:"156user";a:6:{s:4:"icon";s:0:"";s:2:"id";s:7:"156user";s:4:"name";s:15:"第三方用户";s:6:"parent";i:152;s:3:"url";s:41:"/candy/public/user/admin_oauth/index.html";s:4:"lang";s:21:"USER_ADMINOAUTH_INDEX";}}}}}s:9:"120portal";a:7:{s:4:"icon";s:2:"th";s:2:"id";s:9:"120portal";s:4:"name";s:12:"门户管理";s:6:"parent";s:0:"";s:3:"url";s:45:"/candy/public/portal/admin_index/default.html";s:4:"lang";s:25:"PORTAL_ADMININDEX_DEFAULT";s:5:"items";a:2:{s:9:"162portal";a:6:{s:4:"icon";s:0:"";s:2:"id";s:9:"162portal";s:4:"name";s:9:"海报图";s:6:"parent";i:120;s:3:"url";s:42:"/candy/public/portal/admin_pic/poster.html";s:4:"lang";s:22:"PORTAL_ADMINPIC_POSTER";}s:9:"164portal";a:6:{s:4:"icon";s:0:"";s:2:"id";s:9:"164portal";s:4:"name";s:18:"赠送积分设置";s:6:"parent";i:120;s:3:"url";s:41:"/candy/public/portal/admin_pic/score.html";s:4:"lang";s:21:"PORTAL_ADMINPIC_SCORE";}}}}
\ No newline at end of file
... ...
此 diff 太大无法显示。
此 diff 太大无法显示。
此 diff 太大无法显示。
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:52:"themes/admin_simpleboot3/user\admin_asset\index.html";i:1516676889;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="<?php echo url('AdminAsset/index'); ?>">资源列表</a></li>
</ul>
<?php $status=['不可用', '可用']; ?>
<table class="table table-hover table-bordered margin-top-20">
<thead>
<tr>
<th width="50">ID</th>
<th>用户</th>
<th>文件大小</th>
<th>文件名</th>
<th>图像</th>
<th>文件路径</th>
<th>状态</th>
<th width="160"><?php echo lang('ACTIONS'); ?></th>
</tr>
</thead>
<tbody>
<?php
$asset_img_suffixes=['bmp','jpg','jpeg','png','gif','tiff'];/*TODO ADD MORE*/
if(is_array($assets) || $assets instanceof \think\Collection || $assets instanceof \think\Paginator): if( count($assets)==0 ) : echo "" ;else: foreach($assets as $key=>$vo): ?>
<tr>
<td><?php echo $vo['id']; ?></td>
<td>
用户ID:<?php echo $vo['user_id']; ?> <?php echo $vo['user_login']; ?> <?php echo $vo['user_nickname']; ?>
</td>
<td><?php echo round($vo['file_size']/1024); ?>KB</td>
<td><?php echo $vo['filename']; ?></td>
<td>
<?php if(in_array(strtolower($vo['suffix']),$asset_img_suffixes)): ?>
<a href="javascript:parent.imagePreviewDialog('<?php echo cmf_get_image_preview_url($vo['file_path']); ?>');">
<i class="fa fa-photo fa-fw"></i>
</a>
<?php endif; ?>
</td>
<td>
<?php echo $vo['file_path']; if(!file_exists('upload/'.$vo['file_path'])): ?>
<span style='color:red;'>&nbsp;&nbsp(文件丢失)</span>
<?php endif; ?>
</td>
<td><?php echo $status[$vo['status']]; ?></td>
<td>
<a href="<?php echo url('AdminAsset/delete',array('id'=>$vo['id'])); ?>" class="js-ajax-delete"><?php echo lang('DELETE'); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<div class="pagination"><?php echo (isset($page) && ($page !== '')?$page:''); ?></div>
</div>
<script src="/candy/public/static/js/admin.js"></script>
</body>
</html>
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:53:"themes/admin_simpleboot3/admin\recycle_bin\index.html";i:1516676889;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="javascript:void(0)">回收站列表</a></li>
</ul>
<table class="table table-hover table-bordered margin-top-20">
<thead>
<tr>
<th width="50">ID</th>
<th>内容名称</th>
<th>内容类型</th>
<th>删除时间</th>
<th>操作人</th>
<th width="130"><?php echo lang('ACTIONS'); ?></th>
</tr>
</thead>
<tbody>
<?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): if( count($list)==0 ) : echo "" ;else: foreach($list as $key=>$vo): ?>
<tr>
<td><?php echo $vo['id']; ?></td>
<td><?php echo $vo['name']; ?></td>
<td>
<?php echo lang('TABLE_'.strtoupper($vo['table_name'])); ?>
</td>
<td> <?php echo date('Y-m-d H:i:s',$vo['create_time']); ?></td>
<td> <?php echo $vo['user']['user_login']; ?></td>
<td>
<a href="<?php echo url('RecycleBin/restore',array('id'=>$vo['id'])); ?>" class="js-ajax-dialog-btn" data-msg="确定要还原吗?">还原</a>
<a href="<?php echo url('RecycleBin/delete',array('id'=>$vo['id'])); ?>" class="js-ajax-delete"><?php echo lang('DELETE'); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<div class="pagination"><?php echo $page; ?></div>
</div>
<script src="/candy/public/static/js/admin.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:46:"themes/admin_simpleboot3/admin\main\index.html";i:1516676889;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<?php function _get_system_widget($name){ switch($name): case "CmfHub": ?>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">交流方式</h3>
</div>
<div class="panel-body home-info">
<ul class="list-unstyled">
<li>
<em>官网</em> <span><a href="http://www.thinkcmf.com" target="_blank">www.thinkcmf.com</a></span>
</li>
<li><em>QQ 群</em> <span>100828313,316669417</span></li>
<li><em>联系邮箱</em> <span>catman@thinkcmf.com</span></li>
</ul>
</div>
</div>
<?php break; case "MainContributors": ?>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">主要贡献者</h3>
</div>
<div class="panel-body home-info">
<ul class="list-inline">
<li>老猫</li>
<li>Sam</li>
<li>Tuolaji</li>
<li>睡不醒的猪</li>
<li>小夏</li>
<li>Powerless</li>
<li>WelKinVan</li>
<li>Kane</li>
<li>iYting</li>
<li>pl125</li>
<li>五五</li>
</ul>
</div>
</div>
<?php break; case "Contributors": ?>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">贡献者</h3>
</div>
<div class="panel-body home-info">
<ul class="list-inline">
<li>Kin Ho</li>
<li><a href="http://wzx.thinkcmf.com" target="_blank">Powerless</a></li>
<li>Jess</li>
<li>木兰情</li>
<li><a href="http://www.91freeweb.com/" target="_blank">Labulaka</a></li>
<li><a href="http://www.syousoft.com/" target="_blank">WelKinVan</a></li>
<li><a href="http://blog.sina.com.cn/u/1918098881" target="_blank">Jeson</a></li>
<li>Yim</li>
<li><a href="http://www.jamlee.cn/" target="_blank">Jamlee</a></li>
<li><a>香香咸蛋黄</a></li>
<li><a href="http://www.xdmeng.cn" target="_blank">小凯</a></li>
<li><a href="https://www.devmsg.com" target="_blank">Co</a></li>
<li>Rainfer</li>
<li><a href="http://www.yaoweixiu.cn/" target="_blank">Kane</a></li>
<li><a href="http://www.wuwenfu.cn/" target="_blank">北岸的云</a></li>
<li>pl125</li>
<li><a href="http://www.wuwuseo.com/" target="_blank">五五</a></li>
</ul>
</div>
</div>
<?php break; endswitch; } ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
<style>
.home-info li em {
float: left;
width: 120px;
font-style: normal;
font-weight: bold;
}
.home-info ul {
padding: 0;
margin: 0;
}
.panel {
margin-bottom: 0;
}
.grid-sizer {
width: 10%;
}
.grid-item {
margin-bottom: 5px;
padding: 5px;
}
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
padding-left: 5px;
padding-right: 5px;
float: none;
}
</style>
<?php
\think\Hook::listen('admin_before_head_end',$temp5b456fbe48030,null,false);
?>
</head>
<body>
<div class="wrap">
<?php if(empty($has_smtp_setting) || (($has_smtp_setting instanceof \think\Collection || $has_smtp_setting instanceof \think\Paginator ) && $has_smtp_setting->isEmpty())): ?>
<div class="grid-item col-md-12">
<div class="alert alert-danger alert-dismissible fade in" role="alert" style="margin-bottom: 0;">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<strong>提示!</strong> 邮箱配置未完成,无法进行邮件发送!
<a href="#" data-dismiss="alert" aria-label="Close"
onclick="parent.openapp('<?php echo url('Mailer/index'); ?>','admin_mailer_index','邮箱配置');">现在设置</a>
</div>
</div>
<?php endif; if(!extension_loaded('fileinfo')): ?>
<div class="grid-item col-md-12">
<div class="alert alert-danger alert-dismissible fade in" role="alert" style="margin-bottom: 0;">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<strong>提示!</strong> php_fileinfo扩展没有开启,无法正常上传文件!
</div>
</div>
<?php endif; ?>
<div class="grid-item col-md-12" id="thinkcmf-notices-grid" style="display:none;">
<div class="dashboard-box">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo lang('SYSTEM_NOTIFICATIONS'); ?></h3>
</div>
<div class="panel-body home-info">
<ul id="thinkcmf-notices" class="list-unstyled">
<li>
<img src="/candy/public/themes/admin_simpleboot3/public/assets/images/loading.gif" style="vertical-align: middle;"/>
<span style="display: inline-block; vertical-align: middle;">加载中...</span>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="home-grid">
<!-- width of .grid-sizer used for columnWidth -->
<div class="grid-sizer"></div>
<?php if(is_array($dashboard_widgets) || $dashboard_widgets instanceof \think\Collection || $dashboard_widgets instanceof \think\Paginator): if( count($dashboard_widgets)==0 ) : echo "" ;else: foreach($dashboard_widgets as $key=>$vo): if($vo['is_system']): ?>
<div class="grid-item col-md-12" data-system="1" data-widget="<?php echo $vo['name']; ?>">
<div class="dashboard-box"><?php echo _get_system_widget($vo['name']); ?></div>
</div>
<?php else: if(isset($dashboard_widget_plugins[$vo['name']])): ?>
<div class="grid-item col-md-<?php echo $dashboard_widget_plugins[$vo['name']]['width']; ?>" data-system="0"
data-widget="<?php echo $vo['name']; ?>">
<div class="dashboard-box"><?php echo $dashboard_widget_plugins[$vo['name']]['view']; ?></div>
</div>
<?php endif; endif; endforeach; endif; else: echo "" ;endif; ?>
</div>
</div>
<script src="/candy/public/static/js/admin.js"></script>
<?php
$lang_set=defined('LANG_SET')?LANG_SET:'';
$thinkcmf_version=defined('THINKCMF_VERSION')?THINKCMF_VERSION:'';
?>
<script>
Wind.css('dragula');
Wind.use('masonry', 'imagesloaded', 'dragula', function () {
var $homeGrid = $('.home-grid').masonry({
// set itemSelector so .grid-sizer is not used in layout
itemSelector: '.grid-item',
// use element for option
columnWidth: '.grid-sizer',
percentPosition: true,
horizontalOrder: false,
transitionDuration: 0
});
$homeGrid.masonry('on', 'layoutComplete', function (event, laidOutItems) {
});
$homeGrid.masonry();
var containers = [];
$('.home-grid .grid-item').each(function () {
containers.push(this);
});
dragula(containers, {
isContainer: function (el) {
return false; // only elements in drake.containers will be taken into account
},
moves: function (el, source, handle, sibling) {
return true; // elements are always draggable by default
},
accepts: function (el, target, source, sibling) {
return true; // elements can be dropped in any of the `containers` by default
},
invalid: function (el, handle) {
return false; // don't prevent any drags from initiating by default
},
direction: 'vertical', // Y axis is considered when determining where an element would be dropped
copy: false, // elements are moved by default, not copied
copySortSource: false, // elements in copy-source containers can be reordered
revertOnSpill: false, // spilling will put the element back where it was dragged from, if this is true
removeOnSpill: false, // spilling will `.remove` the element, if this is true
mirrorContainer: document.body, // set the element that gets mirror elements appended
ignoreInputTextSelection: true // allows users to select input text, see details below
}).on('drop', function (el, target, source, sibling) {
var $target = $(target);
var targetClasses = $target.attr('class');
var targetDataWidget = $target.data('widget');
var targetDataSystem = $target.data('system');
var $source = $(source);
var sourceClasses = $source.attr('class');
var sourceDataWidget = $source.data('widget');
var sourceDataSystem = $source.data('system');
$(source).append($(target).find('.dashboard-box').not('.gu-transit'));
$(target).append(el);
$target.attr('class', sourceClasses);
$target.data('widget', sourceDataWidget);
$target.data('system', sourceDataSystem);
$source.attr('class', targetClasses);
$source.data('widget', targetDataWidget);
$source.data('system', targetDataSystem);
$homeGrid.masonry();
_widgetSort();
}).on('shadow', function (el, container, source) {
$homeGrid.masonry();
});
});
function _widgetSort() {
var widgets = [];
$('.home-grid .grid-item').each(function () {
var $this = $(this);
widgets.push({
name: $this.data('widget'),
is_system: $this.data('system')
});
});
$.ajax({
url: "<?php echo url('main/dashboardWidget'); ?>",
type: 'post',
dataType: 'json',
data: {widgets: widgets},
success: function (data) {
},
error: function () {
},
complete: function () {
}
});
}
//获取官方通知
$.getJSON("//www.thinkcmf.com/service/sms_jsonp.php?lang=<?php echo $lang_set; ?>&v=<?php echo $thinkcmf_version; ?>&callback=?",
function (data) {
var tpl = '<li><em class="title"></em><span class="content"></span></li>';
var $notices = $("#thinkcmf-notices");
$notices.empty();
if (data.length > 0) {
$('#thinkcmf-notices-grid').show();
$.each(data, function (i, n) {
var $tpl = $(tpl);
$(".title", $tpl).html(n.title);
$(".content", $tpl).html(n.content);
$notices.append($tpl);
});
} else {
$notices.append("<li>^_^,<?php echo lang('NO_NOTICE'); ?>~~</li>");
}
});
</script>
<?php
\think\Hook::listen('admin_before_body_end',$temp5b456fbe48030,null,false);
?>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:52:"themes/admin_simpleboot3/user\admin_oauth\index.html";i:1531186770;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap">
<form class="well form-inline margin-top-20" method="post" action="<?php echo url('AdminOauth/index'); ?>">
时间:
<input type="text" class="form-control js-bootstrap-datetime start_time" name="start_time"
value="<?php echo (isset($start_time) && ($start_time !== '')?$start_time:''); ?>"
style="width: 140px;" autocomplete="off">-
<input type="text" class="form-control js-bootstrap-datetime end_time" name="end_time"
value="<?php echo (isset($end_time) && ($end_time !== '')?$end_time:''); ?>"
style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;
姓名:
<input type="text" class="form-control name" name="name" style="width: 200px;"
value="<?php echo (isset($name) && ($name !== '')?$name:''); ?>">
手机号:
<input type="text" class="form-control tel" name="tel" style="width: 200px;"
value="<?php echo (isset($tel) && ($tel !== '')?$tel:''); ?>">
<input type="submit" class="btn btn-primary" value="搜索"/>
<a class="btn btn-danger" href=" <?php echo url('AdminOauth/index'); ?>">清空</a>
<span class="btn out btn-success">导出excel</span>
</form>
<ul class="nav nav-tabs">
<li class="active"><a><?php echo lang('USER_OAUTHADMIN_INDEX'); ?></a></li>
</ul>
<form method="post" class="js-ajax-form margin-top-20">
<table class="table table-hover table-bordered">
<thead>
<tr>
<th>ID</th>
<th>姓名</th>
<th>电话</th>
<th>微信</th>
<th>钱包地址</th>
<th>上级id</th>
<th>上级姓名</th>
<th>积分</th>
<th align="center" style="width: 15%;">会员信息</th>
<th align="center" style="width: 11%;">查看下线</th>
</tr>
</thead>
<tbody>
<?php if(is_array($lists) || $lists instanceof \think\Collection || $lists instanceof \think\Paginator): if( count($lists)==0 ) : echo "" ;else: foreach($lists as $key=>$vo): ?>
<td><?php echo $vo['id']; ?></td>
<td><?php echo $vo['name']; ?></td>
<td><?php echo $vo['tel']; ?></td>
<td><?php echo $vo['wx']; ?></td>
<td><?php echo $vo['wallet']; ?></td>
<td><?php echo $vo['parent_id']; ?></td>
<td><?php echo $vo['parent_name']; ?></td>
<td><?php echo $vo['score']; ?></td>
<td style="text-align: center;">
<a href="<?php echo url('adminOauth/edit',array('id'=>$vo['id'])); ?>">修改</a>&nbsp;&nbsp;
<a href="<?php echo url('adminOauth/score',array('id'=>$vo['id'])); ?>">查看积分明细</a>&nbsp;&nbsp;
</td>
<td>
<a href="<?php echo url('adminOauth/down',array('pid'=>$vo['parent_id'],'id'=>$vo['id'],'type'=>2)); ?>" >查看下线</a>&nbsp;&nbsp;&nbsp;
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<ul class="pagination"><?php echo $page; ?></ul>
</form>
</div>
<script src="/candy/public/static/js/admin.js"></script>
<script>
var start_time = $('.start_time').val();
var end_time = $('.end_time').val();
var name = $('.name').val();
var tel = $('.tel').val();
$('.out').click(function () {
var data = {
"start_time":start_time,
"end_time":end_time,
"name":name,
"tel":tel
};
console.log(data);
var url1 = "<?php echo url('user/adminOauth/choose'); ?>";
var url2 = url1.split('.',5);
var url3 = '';
if(start_time.length != 0){
url3 += "/start_time/"+start_time;
}
if(end_time.length != 0){
url3 += "/end_time/"+end_time;
}
if(name.length != 0){
url3 += "/name/"+name;
}
if(tel.length != 0){
url3 += "/tel/"+tel;
}
var url = url2[0]+url3+'.html';
window.location.href = url;
})
</script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:40:"themes/simpleboot3/portal\\register.html";i:1530942036;}*/ ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="/candy/public/themes/simpleboot3/public/assets/css/style.css">
<script type="text/javascript" src="/candy/public/themes/simpleboot3/public/assets/js/fontsize.js"></script>
<title>注册</title>
</head>
<body>
<div class="re_item">
<div class="item">
<div class="item_name">姓名</div>
<div class="item_input"><input type="text" placeholder="请填写姓名" class="name"></div>
<div class="item_must">必填</div>
</div>
<div class="item">
<div class="item_name">微信</div>
<div class="item_input"><input type="text" placeholder="请输入您的微信号" class="wx"></div>
<div class="item_must">必填</div>
</div>
<div class="item">
<div class="item_name">钱包地址</div>
<div class="item_input"><input type="text" placeholder="请输入您的钱包地址" class="play"></div>
<div class="item_must">必填</div>
</div>
</div>
<div class="re_txt"><span class="iconfont icon-tishi"></span>注意:手机号和钱包地址一旦填写不能修改,钱包地址
涉及到转账使用,最好填写完整。</div>
<div class="re_btn">注册</div>
<div id="toast" style="display: none;">
<div class="weui-mask_transparent"></div>
<div class="weui-toast">
<i class="weui-icon-success-no-circle weui-icon_toast"></i>
<p class="weui-toast__content">已完成</p>
</div>
</div>
</body>
<script src="/candy/public/themes/simpleboot3/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="/candy/public/themes/simpleboot3/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
<script>
var AuglyTest_phone=/^1(3|4|5|7|8)\d{9}$/;
$('.re_btn').click(function () {
var name = $(".name").val();
var wx = $(".wx").val();
var wallet = $(".play").val();
var uid = "<?php echo \think\Request::instance()->param('uid'); ?>";
$.ajax({
type:"POST",
url:"<?php echo url('portal/Index/register'); ?>",
data:{
"name":name,
"wx":wx,
"wallet":wallet,
"id":uid,
},
success:function (data) {
if(data.code == 1){
alert(data.msg);
window.location.href = "<?php echo url('portal/Index/poster'); ?>";
}
else {
alert(data.msg);
}
},
error:function () {
alert("网络错误");
}
})
})
$(".name").focus(function(){
$(this).parents(".item").find(".item_must").css("color","#fff");
});
$(".wx").focus(function(){
$(this).parents(".item").find(".item_must").css("color","#fff");
});
$(".play").focus(function(){
$(this).parents(".item").find(".item_must").css("color","#fff");
});
/***禁止滑动***/
function stop() {
document.body.style.overflow = 'hidden';
// document.addEventListener("touchmove", mo, false); //禁止页面滑动
$("body").on("touchmove",function(event){
event.preventDefault();
}, false)
}
/***取消滑动限制***/
function move() {
document.body.style.overflow = ''; //出现滚动条
// document.removeEventListener("touchmove", mo, false);
$("body").off("touchmove");
}
function toast(that) {
var $toast = $('#toast');
stop()
$toast.find(".weui-toast__content").html(that)
if ($toast.css('display') != 'none') return;
$toast.fadeIn(100);
setTimeout(function () {
$toast.fadeOut(100);
move()
}, 2000);
}
</script>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:54:"themes/admin_simpleboot3/admin\setting\clearcache.html";i:1516676889;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap">
<div class="row">
<div class="col-md-offset-3 col-md-6">
<div class="panel panel-default" style="margin-top: 10%">
<div class="panel-heading">
<h3 class="panel-title"><?php echo lang('CACHE_CLEARED'); ?></h3>
</div>
<div class="panel-body">
<div style="line-height: 60px;">
<?php echo lang('CACHE_CLEARED'); ?>
</div>
<div>
<a href="javascript:close_app();" class="btn btn-primary pull-right"><?php echo lang('CLOSE'); ?></a>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="/candy/public/static/js/admin.js"></script>
<script>
var closeTimeout = setTimeout(function () {
parent.close_current_app();
}, 3000);
function close_app() {
clearTimeout(closeTimeout);
parent.close_current_app();
}
</script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:46:"themes/admin_simpleboot3/admin\menu\index.html";i:1516676889;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="<?php echo url('Menu/index'); ?>">后台菜单</a></li>
<li><a href="<?php echo url('Menu/add'); ?>">添加菜单</a></li>
<li><a href="<?php echo url('Menu/lists'); ?>">所有菜单</a></li>
</ul>
<form class="js-ajax-form" action="<?php echo url('Menu/listOrder'); ?>" method="post">
<div class="table-actions">
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"><?php echo lang('SORT'); ?></button>
</div>
<table class="table table-hover table-bordered table-list" id="menus-table">
<thead>
<tr>
<th width="80"><?php echo lang('SORT'); ?></th>
<th width="50">ID</th>
<th><?php echo lang('NAME'); ?></th>
<th>操作</th>
<th width="80"><?php echo lang('STATUS'); ?></th>
<th width="180"><?php echo lang('ACTIONS'); ?></th>
</tr>
</thead>
<tbody>
<?php echo $category; ?>
</tbody>
<tfoot>
<tr>
<th width="80"><?php echo lang('SORT'); ?></th>
<th width="50">ID</th>
<th><?php echo lang('NAME'); ?></th>
<th>操作</th>
<th width="80"><?php echo lang('STATUS'); ?></th>
<th width="180"><?php echo lang('ACTIONS'); ?></th>
</tr>
</tfoot>
</table>
<div class="table-actions">
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"><?php echo lang('SORT'); ?></button>
</div>
</form>
</div>
<script src="/candy/public/static/js/admin.js"></script>
<script>
$(document).ready(function() {
Wind.css('treeTable');
Wind.use('treeTable', function() {
$("#menus-table").treeTable({
indent : 20
});
});
});
</script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:42:"themes/admin_simpleboot3/admin\\login.html";i:1516676889;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>ThinkCMF <?php echo lang('ADMIN_CENTER'); ?></title>
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge"/>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta name="robots" content="noindex,nofollow">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/login.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
if (window.parent !== window.self) {
document.write = '';
window.parent.location.href = window.self.location.href;
setTimeout(function () {
document.body.innerHTML = '';
}, 0);
}
</script>
</head>
<body>
<div class="wrap">
<div class="container">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<h1 class="text-center">ThinkCMF</h1>
<form class="js-ajax-form" action="<?php echo url('public/doLogin'); ?>" method="post">
<div class="form-group">
<input type="text" id="input_username" class="form-control" name="username"
placeholder="<?php echo lang('USERNAME_OR_EMAIL'); ?>" title="<?php echo lang('USERNAME_OR_EMAIL'); ?>"
value="<?php echo cookie('admin_username'); ?>" data-rule-required="true" data-msg-required="">
</div>
<div class="form-group">
<input type="password" id="input_password" class="form-control" name="password"
placeholder="<?php echo lang('PASSWORD'); ?>" title="<?php echo lang('PASSWORD'); ?>" data-rule-required="true"
data-msg-required="">
</div>
<div class="form-group">
<div style="position: relative;">
<input type="text" name="captcha" placeholder="验证码" class="form-control captcha">
<?php $__CAPTCHA_SRC=url('/captcha/new').'?height=32&width=150&font_size=18'; ?>
<img src="<?php echo $__CAPTCHA_SRC; ?>" onclick="this.src='<?php echo $__CAPTCHA_SRC; ?>&time='+Math.random();" title="换一张" class="captcha captcha-img verify_img" style="cursor: pointer;position:absolute;right:1px;top:1px;"/>
<input type="hidden" name="_captcha_id" value="">
</div>
</div>
<div class="form-group">
<input type="hidden" name="redirect" value="">
<button class="btn btn-primary btn-block js-ajax-submit" type="submit" style="margin-left: 0px"
data-loadingmsg="<?php echo lang('LOADING'); ?>">
<?php echo lang('LOGIN'); ?>
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: ''/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/static/js/admin.js"></script>
<script>
(function () {
document.getElementById('input_username').focus();
})();
</script>
</body>
</html>
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:38:"themes/simpleboot3/portal\\myinfo.html";i:1530944237;}*/ ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="/candy/public/themes/simpleboot3/public/assets/css/style.css">
<script type="text/javascript" src="/candy/public/themes/simpleboot3/public/assets/js/fontsize.js"></script>
<title>个人中心</title>
</head>
<body>
<div class="re_item myinfo">
<div class="item myinfo_item">
<div class="item_name">姓名</div>
<div class="item_input"><input type="text" readonly="readonly" value="<?php echo $list['name']; ?>" style="color: #B2B2B2;"></div>
</div>
<div class="item myinfo_item">
<div class="item_name">手机号</div>
<div class="item_input"><input type="text" readonly="readonly" value="<?php echo $list['tel']; ?>" style="color: #B2B2B2;"></div>
</div>
<div class="item myinfo_item">
<div class="item_name">微信</div>
<div class="item_input"><input type="text" readonly="readonly" value="<?php echo $list['wx']; ?>" style="color: #B2B2B2;"></div>
</div>
<div class="item myinfo_item">
<div class="item_name">钱包地址</div>
<div class="item_input"><input type="text" readonly="readonly" value="<?php echo $list['wallet']; ?>" style="color: #B2B2B2;"></div>
</div>
</div>
<a class="re_btn myinfo_btn" href="<?php echo url('Index/changeUser'); ?>">修改</a>
<div class="nav_bottom">
<a class="bottom_item " href="<?php echo url('Index/poster'); ?>">
<div class="bottom_icon"><span class="iconfont icon-haibao"></span></div>
<div>海报</div>
</a>
<a class="bottom_item" href="<?php echo url('Index/wxPic'); ?>">
<div class="bottom_icon"><span class="iconfont icon-saomiaoerweima"></span></div>
<div>群二维码</div>
</a>
<a class="bottom_item" href="<?php echo url('Index/score'); ?>">
<div class="bottom_icon"><span class="iconfont icon-jifen"></span></div>
<div>积分明细</div>
</a>
<a class="bottom_item po_activity" href="<?php echo url('Index/user'); ?>">
<div class="bottom_icon"><span class="iconfont icon-wode-"></span></div>
<div>个人中心</div>
</a>
</div>
</body>
<script src="/candy/public/themes/simpleboot3/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="/candy/public/themes/simpleboot3/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:37:"themes/simpleboot3/portal\\login.html";i:1531292843;}*/ ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="/candy/public/themes/simpleboot3/public/assets/css/style.css">
<script type="text/javascript" src="/candy/public/themes/simpleboot3/public/assets/js/fontsize.js"></script>
<title>登陆</title>
</head>
<body style="background-color: #fff">
<div class="login_top">
<div class="top_img">
<img src="/candy/public/themes/simpleboot3/public/assets/images/logo@2x.png" alt="">
</div>
</div>
<div class="login_item">
<div class="lo_item">
<div class="lo_item_name">手机号</div>
<div class="lo_item_input"><input type="text" placeholder="请填写手机号码" class="tel"></div>
</div>
<div class="lo_item">
<div class="lo_item_name">验证码</div>
<div class="lo_item_input border_r"><input type="text" class="code" placeholder="请输入"></div>
<div class="lo_code" ><input type="button" id="btn" value="获取验证码" onclick="settime(this)" class="lo_code" /></div>
</div>
</div>
<div class="re_btn">登录</div>
<div id="toast" style="display: none;">
<div class="weui-mask_transparent"></div>
<div class="weui-toast">
<i class="weui-icon-success-no-circle weui-icon_toast"></i>
<p class="weui-toast__content">已完成</p>
</div>
</div>
</body>
<script src="/candy/public/themes/simpleboot3/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="/candy/public/themes/simpleboot3/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
<script>
/***禁止滑动***/
function stop() {
document.body.style.overflow = 'hidden';
// document.addEventListener("touchmove", mo, false); //禁止页面滑动
$("body").on("touchmove",function(event){
event.preventDefault();
}, false)
}
/***取消滑动限制***/
function move() {
document.body.style.overflow = ''; //出现滚动条
// document.removeEventListener("touchmove", mo, false);
$("body").off("touchmove");
}
function toast(that) {
var $toast = $('#toast');
stop()
$toast.find(".weui-toast__content").html(that)
if ($toast.css('display') != 'none') return;
$toast.fadeIn(100);
setTimeout(function () {
$toast.fadeOut(100);
move()
}, 2000);
}
$('#btn').click(function () {
$(".tel").blur(function(){
if( !AuglyTest_phone.test($('.tel').val()) ){
toast("请输入正确的电话号码!")
}
});
var tel = $('.tel').val();
console.log(tel)
$.ajax({
type : 'POST',
url : "<?php echo url('portal/Index/sendSms'); ?>",
data : {
'tel':tel,
},
success:function (data) {
console.log(data)
},
error:function () {
alert('网络错误');
}
})
})
var countdown=60;
function settime(val) {
if (countdown == 0) {
val.removeAttribute("disabled");
val.value="获取验证码";
countdown = 60;
} else {
var AuglyTest_phone=/^1(3|4|5|7|8)\d{9}$/;
val.setAttribute("disabled", true);
val.value= countdown +"s";
countdown--;
setTimeout(function() {
settime(val)
},1000)
}
}
// $('.re_btn').click(function () {
// window.location.href="poster.html";
// })
// 提交表单
$('.re_btn').click(function () {
var tel = $('.tel').val();
var pid = "<?php echo \think\Request::instance()->param('pid'); ?>";
var code = $('.code').val();
console.log(code)
$.ajax({
type:"POST",
url: "<?php echo url('portal/Index/index'); ?>",
data:{
"tel":tel,
"pid":pid,
"code":code,
},
success:function (data) {
if(data.code == 1){
var url = "<?php echo url('portal/Index/poster',array('is_login'=>1)); ?>";
window.location.href = url;
alert(data.msg);
}
else if(data.code == 2) {
// var uid = data.data;
// var url1 = "<?php echo url('portal/Index/poster'); ?>";
// var url2 = url1.split(".",5)
// var url3 = "/is_login/2/uid/"+uid+'.html';
// var url = url2[0]+url3;
var url = "<?php echo url('portal/Index/poster',array('is_login'=>2)); ?>";
// console.log(url)
window.location.href = url;
alert(data.msg);
}else{
alert(data.msg);
}
},
error:function () {
alert("网络错误");
}
})
})
</script>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:49:"themes/admin_simpleboot3/admin\user\userinfo.html";i:1516676889;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="<?php echo url('user/userInfo'); ?>"><?php echo lang('ADMIN_USER_USERINFO'); ?></a></li>
<li><a href="<?php echo url('setting/password'); ?>"><?php echo lang('ADMIN_SETTING_PASSWORD'); ?></a></li>
</ul>
<form class="form-horizontal js-ajax-form margin-top-20" role="form" method="post" action="<?php echo url('User/userinfoPost'); ?>">
<div class="form-group">
<label for="input-user-nickname" class="col-sm-2 control-label"><?php echo lang('NICKNAME'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-user-nickname" name="user_nickname" value="<?php echo $user_nickname; ?>">
</div>
</div>
<div class="form-group">
<label for="input-gender" class="col-sm-2 control-label"><?php echo lang('GENDER'); ?></label>
<div class="col-md-6 col-sm-10">
<select class="form-control" name="sex" id="input-gender">
<?php $sexs=array("0"=>lang('GENDER_SECRECY'),"1"=>lang('MALE'),"2"=>lang('FEMALE')); if(is_array($sexs) || $sexs instanceof \think\Collection || $sexs instanceof \think\Paginator): if( count($sexs)==0 ) : echo "" ;else: foreach($sexs as $key=>$vo): $sexselected=$key==$sex?"selected":""; ?>
<option value="<?php echo $key; ?>" <?php echo $sexselected; ?>><?php echo $vo; ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</div>
</div>
<div class="form-group">
<label for="input-birthday" class="col-sm-2 control-label"><?php echo lang('BIRTHDAY'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control js-bootstrap-date" id="input-birthday" name="birthday" value="<?php echo date('Y-m-d',$birthday); ?>" placeholder="2013-01-04">
</div>
</div>
<div class="form-group">
<label for="input-user_url" class="col-sm-2 control-label"><?php echo lang('WEBSITE'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-user_url" name="user_url" value="<?php echo $user_url; ?>" placeholder="http://thinkcmf.com">
</div>
</div>
<div class="form-group">
<label for="input-signature" class="col-sm-2 control-label"><?php echo lang('SIGNATURE'); ?></label>
<div class="col-md-6 col-sm-10">
<textarea class="form-control" id="input-signature" name="signature" placeholder="<?php echo lang('SIGNATURE'); ?>"><?php echo $signature; ?></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</form>
</div>
<script src="/candy/public/static/js/admin.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:47:"themes/admin_simpleboot3/admin\index\index.html";i:1531287598;}*/ ?>
<!DOCTYPE html>
<html lang="zh_CN" style="overflow: hidden;">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta charset="utf-8">
<title>ThinkCMF <?php echo lang('ADMIN_CENTER'); ?></title>
<meta name="description" content="This is page-header (.page-header &gt; h1)">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css?page=index" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/simplebootadminindex.min.css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
/*-----------------导航hack--------------------*/
.nav-list > li.open {
position: relative;
}
.nav-list > li.open .back {
display: none;
}
.nav-list > li.open .normal {
display: inline-block !important;
}
.nav-list > li.open a {
padding-left: 7px;
}
.nav-list > li .submenu > li > a {
background: #fff;
}
.nav-list > li .submenu > li a > [class*="fa-"]:first-child {
left: 20px;
}
.nav-list > li ul.submenu ul.submenu > li a > [class*="fa-"]:first-child {
left: 30px;
}
/*----------------导航hack--------------------*/
</style>
<script>
//全局变量
var GV = {
HOST: "<?php echo $_SERVER['HTTP_HOST']; ?>",
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/"
};
</script>
<?php $submenus=$menus; function getsubmenu($submenus){ if(!(empty($submenus) || (($submenus instanceof \think\Collection || $submenus instanceof \think\Paginator ) && $submenus->isEmpty()))): foreach($submenus as $menu){ ?>
<li>
<?php
$menu_name=lang($menu['lang']);
$menu_name=$menu['lang']==$menu_name?$menu['name']:$menu_name;
if(empty($menu['items'])){ ?>
<a href="javascript:openapp('<?php echo $menu['url']; ?>','<?php echo $menu['id']; ?>','<?php echo $menu_name; ?>',true);">
<i class="fa fa-<?php echo (isset($menu['icon']) && ($menu['icon'] !== '')?$menu['icon']:'desktop'); ?>"></i>
<span class="menu-text"> <?php echo $menu_name; ?> </span>
</a>
<?php }else{ ?>
<a href="#" class="dropdown-toggle">
<i class="fa fa-<?php echo (isset($menu['icon']) && ($menu['icon'] !== '')?$menu['icon']:'desktop'); ?> normal"></i>
<span class="menu-text normal"> <?php echo $menu_name; ?> </span>
<b class="arrow fa fa-angle-right normal"></b>
<i class="fa fa-reply back"></i>
<span class="menu-text back">返回</span>
</a>
<ul class="submenu">
<?php getsubmenu1($menu['items']) ?>
</ul>
<?php } ?>
</li>
<?php } endif; } function getsubmenu1($submenus){ foreach($submenus as $menu){ ?>
<li>
<?php
$menu_name=lang($menu['lang']);
$menu_name=$menu['lang']==$menu_name?$menu['name']:$menu_name;
if(empty($menu['items'])){ ?>
<a href="javascript:openapp('<?php echo $menu['url']; ?>','<?php echo $menu['id']; ?>','<?php echo $menu_name; ?>',true);">
<i class="fa fa-caret-right"></i>
<span class="menu-text">
<?php echo $menu_name; ?>
</span>
</a>
<?php }else{ ?>
<a href="#" class="dropdown-toggle">
<i class="fa fa-caret-right"></i>
<span class="menu-text">
<?php echo $menu_name; ?>
</span>
<b class="arrow fa fa-angle-right"></b>
</a>
<ul class="submenu">
<?php getsubmenu2($menu['items']) ?>
</ul>
<?php } ?>
</li>
<?php } } function getsubmenu2($submenus){ foreach($submenus as $menu){ ?>
<li>
<?php
$menu_name=lang($menu['lang']);
$menu_name=$menu['lang']==$menu_name?$menu['name']:$menu_name;
?>
<a href="javascript:openapp('<?php echo $menu['url']; ?>','<?php echo $menu['id']; ?>','<?php echo $menu_name; ?>',true);">
&nbsp;<i class="fa fa-angle-double-right"></i>
<span class="menu-text">
<?php echo $menu_name; ?>
</span>
</a>
</li>
<?php } } if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
left: 0 !important;
right: initial !important;
}
</style>
<?php endif; ?>
</head>
<body style="min-width:900px;overflow: hidden;">
<div id="loading"><i class="loadingicon"></i><span><?php echo lang('LOADING'); ?></span></div>
<div id="right-tools-wrapper">
<!--<span id="right_tools_clearcache" title="清除缓存" onclick="javascript:openapp('<?php echo url('admin/Setting/clearcache'); ?>','right_tool_clearcache','清除缓存');"><i class="fa fa-trash-o right_tool_icon"></i></span>-->
<!--<span id="refresh-wrapper" title="<?php echo lang('REFRESH_CURRENT_PAGE'); ?>"><i-->
<!--class="fa fa-refresh right_tool_icon"></i></span>-->
</div>
<div class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a href="<?php echo url('admin/index/index'); ?>" class="navbar-brand" style="min-width: 200px;text-align: center;">ThinkCMF</a>
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse" id="navbar-main">
<div class="pull-left" style="position: relative;">
<a id="task-pre" class="task-changebt"><i class="fa fa-chevron-left"></i></a>
<div id="task-content">
<ul class="nav navbar-nav cmf-component-tab" id="task-content-inner">
<li class="cmf-component-tabitem noclose" app-id="0" app-url="<?php echo url('main/index'); ?>"
app-name="首页">
<a class="cmf-tabs-item-text"><?php echo lang('HOME'); ?></a>
</li>
</ul>
<div style="clear:both;"></div>
</div>
<a id="task-next" class="task-changebt"><i class="fa fa-chevron-right"></i></a>
</div>
<ul class="nav navbar-nav navbar-right simplewind-nav">
<li class="light-blue" style="border-left:none;display: none;" id="close-all-tabs-btn">
<a id="close-wrapper" href="javacript:void(0);" title="<?php echo lang('CLOSE_TOP_MENU'); ?>" style="color:#fff;font-size: 16px">
<i class="fa fa-times right_tool_icon"></i>
</a>
</li>
<li class="light-blue" style="border-left:none;">
<a id="refresh-wrapper" href="javacript:void(0);" title="<?php echo lang('REFRESH_CURRENT_PAGE'); ?>" style="color:#fff;font-size: 16px">
<i class="fa fa-refresh right_tool_icon"></i>
</a>
</li>
<li class="light-blue dropdown" style="border-left:none;">
<a data-toggle="dropdown" href="#" class="dropdown-toggle">
<?php if(isset($admin['avatar']) && $admin['avatar']): ?>
<img class="nav-user-photo" width="30" height="30"
src="<?php echo cmf_get_user_avatar_url($admin['avatar']); ?>" alt="<?php echo $admin['user_login']; ?>">
<?php else: ?>
<img class="nav-user-photo" width="30" height="30"
src="/candy/public/themes/admin_simpleboot3/public/assets/images/logo-18.png" alt="<?php echo (isset($admin['user_login']) && ($admin['user_login'] !== '')?$admin['user_login']:''); ?>">
<?php endif; ?>
<span class="user-info">
<?php echo lang('WELCOME_USER',array('user_nickname' => empty($admin['user_nickname'] )? $admin['user_login'] : $admin['user_nickname'])); ?>
</span>
<i class="fa fa-caret-down"></i>
</a>
<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-closer">
<?php if(cmf_auth_check(cmf_get_current_admin_id(),'admin/user/userinfo')): ?>
<li>
<a href="javascript:openapp('<?php echo url('user/userinfo'); ?>','index_userinfo','<?php echo lang('ADMIN_USER_USERINFO'); ?>');"><i
class="fa fa-user"></i> <?php echo lang('ADMIN_USER_USERINFO'); ?></a></li>
<?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'admin/Setting/password')): ?>
<li>
<a href="javascript:openapp('<?php echo url('setting/password'); ?>','index_password','<?php echo lang('ADMIN_SETTING_PASSWORD'); ?>');"><i
class="fa fa-lock"></i> <?php echo lang('ADMIN_SETTING_PASSWORD'); ?></a></li>
<?php endif; ?>
<li><a href="<?php echo url('Public/logout'); ?>"><i class="fa fa-sign-out"></i> <?php echo lang('LOGOUT'); ?></a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<div class="main-container container-fluid">
<div class="sidebar" id="sidebar">
<div class="sidebar-shortcuts" id="sidebar-shortcuts">
<a class="btn btn-sm btn-warning" href="/candy/public/"
title="<?php echo lang('WEBSITE_HOME_PAGE'); ?>"
target="_blank"
data-toggle="tooltip">
<i class="fa fa-home"></i>
</a>
<!--
<?php if(cmf_auth_check(cmf_get_current_admin_id(),'portal/AdminCategory/index')): ?>
<a class="btn btn-sm btn-success" href="javascript:openapp('<?php echo url('portal/AdminCategory/index'); ?>','index_termlist','文章分类管理');" title="文章分类管理">
<i class="fa fa-th"></i>
</a>
<?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'portal/AdminArticle/index')): ?>
<a class="btn btn-sm btn-info" href="javascript:openapp('<?php echo url('portal/AdminArticle/index'); ?>','index_postlist','文章管理');" title="文章管理">
<i class="fa fa-pencil"></i>
</a>
<?php endif; ?>
-->
<!--<?php if(cmf_auth_check(cmf_get_current_admin_id(),'user/AdminAsset/index')): ?>-->
<!--<a class="btn btn-sm btn-info"-->
<!--href="javascript:openapp('<?php echo url('user/AdminAsset/index'); ?>','userAdminAssetindex','资源管理',true);"-->
<!--title="资源管理"-->
<!--data-toggle="tooltip">-->
<!--<i class="fa fa-file"></i>-->
<!--</a>-->
<!--<?php endif; ?>-->
<?php if(cmf_auth_check(cmf_get_current_admin_id(),'admin/Setting/clearcache')): ?>
<a class="btn btn-sm btn-danger"
href="javascript:openapp('<?php echo url('admin/Setting/clearcache'); ?>','index_clearcache','<?php echo lang('ADMIN_SETTING_CLEARCACHE'); ?>',true);"
title="<?php echo lang('ADMIN_SETTING_CLEARCACHE'); ?>"
data-toggle="tooltip">
<i class="fa fa-trash-o"></i>
</a>
<?php endif; ?>
<!--<?php if(cmf_auth_check(cmf_get_current_admin_id(),'admin/RecycleBin/index')): ?>-->
<!--<a class="btn btn-sm btn-danger"-->
<!--href="javascript:openapp('<?php echo url('admin/RecycleBin/index'); ?>','index_recycle','回收站',true);"-->
<!--title="回收站"-->
<!--data-toggle="tooltip">-->
<!--<i class="fa fa-recycle"></i>-->
<!--</a>-->
<!--<?php endif; ?>-->
<!--<?php if(APP_DEBUG): ?>-->
<!--<a class="btn btn-sm btn-default"-->
<!--href="javascript:openapp('<?php echo url('admin/Menu/index'); ?>','index_menu','<?php echo lang('ADMIN_MENU_INDEX'); ?>',true);"-->
<!--title="<?php echo lang('ADMIN_MENU_INDEX'); ?>"-->
<!--data-toggle="tooltip">-->
<!--<i class="fa fa-list"></i>-->
<!--</a>-->
<!--<?php endif; ?>-->
</div>
<div id="nav-wrapper">
<ul class="nav nav-list">
<?php echo getsubmenu($submenus); ?>
</ul>
</div>
</div>
<div class="main-content">
<div class="page-content" id="content">
<iframe src="<?php echo url('user/AdminOauth/index'); ?>" style="width:100%;height: 100%;" frameborder="0" id="appiframe-0"
class="appiframe"></iframe>
</div>
</div>
</div>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script src="/candy/public/static/js/admin.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/js/adminindex.js"></script>
<script>
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
var ismenumin = $("#sidebar").hasClass("menu-min");
$(".nav-list").on("click", function (event) {
var closest_a = $(event.target).closest("a");
if (!closest_a || closest_a.length == 0) {
return
}
if (!closest_a.hasClass("dropdown-toggle")) {
if (ismenumin && "click" == "tap" && closest_a.get(0).parentNode.parentNode == this) {
var closest_a_menu_text = closest_a.find(".menu-text").get(0);
if (event.target != closest_a_menu_text && !$.contains(closest_a_menu_text, event.target)) {
return false
}
}
return
}
var closest_a_next = closest_a.next().get(0);
if (!$(closest_a_next).is(":visible")) {
var closest_ul = $(closest_a_next.parentNode).closest("ul");
if (ismenumin && closest_ul.hasClass("nav-list")) {
return
}
closest_ul.find("> .open > .submenu").each(function () {
if (this != closest_a_next && !$(this.parentNode).hasClass("active")) {
$(this).slideUp(150).parent().removeClass("open")
}
});
}
if (ismenumin && $(closest_a_next.parentNode.parentNode).hasClass("nav-list")) {
return false;
}
$(closest_a_next).slideToggle(150).parent().toggleClass("open");
return false;
});
</script>
</body>
</html>
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:48:"themes/admin_simpleboot3/admin\setting\site.html";i:1516676889;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="#A" data-toggle="tab"><?php echo lang('WEB_SITE_INFOS'); ?></a></li>
<li><a href="#B" data-toggle="tab"><?php echo lang('SEO_SETTING'); ?></a></li>
<!--<li><a href="#C" data-toggle="tab"><?php echo lang('URL_SETTING'); ?></a></li>-->
<!--<li><a href="#E" data-toggle="tab"><?php echo lang('COMMENT_SETTING'); ?></a></li>-->
<li><a href="#F" data-toggle="tab">用户注册设置</a></li>
<li><a href="#G" data-toggle="tab">CDN设置</a></li>
</ul>
<form class="form-horizontal js-ajax-form margin-top-20" role="form" action="<?php echo url('setting/sitePost'); ?>" method="post">
<fieldset>
<div class="tabbable">
<div class="tab-content">
<div class="tab-pane active" id="A">
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label"><span class="form-required">*</span><?php echo lang('WEBSITE_NAME'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-site-name" name="options[site_name]" value="<?php echo (isset($site_name) && ($site_name !== '')?$site_name:''); ?>">
</div>
</div>
<div class="form-group">
<label for="input-admin_url_password" class="col-sm-2 control-label">后台加密码</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-admin_url_password" name="admin_settings[admin_password]" value="<?php echo (isset($admin_settings['admin_password']) && ($admin_settings['admin_password'] !== '')?$admin_settings['admin_password']:''); ?>" id="js-site-admin-url-password">
<p class="help-block">英文字母数字,不能为纯数字</p>
<?php if(!empty($admin_settings['admin_password'])): ?>
<p class="help-block" style="color: red;">设置加密码后必须通过以下地址访问后台,请劳记此地址,为了安全,您也可以定期更换此加密码!</p>
<?php
$site_admin_url_password =config("SP_SITE_ADMIN_URL_PASSWORD");
$root=cmf_get_root();
$root=empty($root)?'':'/'.$root;
$site_domain = cmf_get_domain().$root;
?>
<p class="help-block">后台登录地址:<span id="js-site-admin-url"><?php echo $site_domain; ?>/<?php echo $admin_settings['admin_password']; ?></span></p>
<?php endif; ?>
</div>
</div>
<!--
<div class="form-group">
<label for="input-mobile_tpl_enabled" class="col-sm-2 control-label"><?php echo lang('ENABLE_MOBILE_THEME'); ?></label>
<div class="col-md-6 col-sm-10">
<?php $mobile_tpl_enabled_checked=empty($mobile_tpl_enabled)?'':'checked'; ?>
<div class="checkbox">
<label><input type="checkbox" name="options[mobile_tpl_enabled]" value="1" id="input-mobile_tpl_enabled" <?php echo $mobile_tpl_enabled_checked; ?>></label>
</div>
</div>
</div>
-->
<div class="form-group">
<label for="input-site_adminstyle" class="col-sm-2 control-label"><?php echo lang('WEBSITE_ADMIN_THEME'); ?></label>
<div class="col-md-6 col-sm-10">
<?php $site_admin_style=empty($admin_settings['admin_style'])?'':$admin_settings['admin_style']; ?>
<select class="form-control" name="admin_settings[admin_style]" id="input-site_adminstyle">
<?php if(is_array($admin_styles) || $admin_styles instanceof \think\Collection || $admin_styles instanceof \think\Paginator): if( count($admin_styles)==0 ) : echo "" ;else: foreach($admin_styles as $key=>$vo): $admin_style_selected = $site_admin_style == $vo ? "selected" : ""; ?>
<option value="<?php echo $vo; ?>" <?php echo $admin_style_selected; ?>><?php echo $vo; ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</div>
</div>
<!--
<div class="form-group">
<label for="input-html_cache_on" class="col-sm-2 control-label"><?php echo lang('HTML_CACHE'); ?></label>
<div class="col-md-6 col-sm-10">
<?php $html_cache_on_checked=empty($html_cache_on)?'':'checked'; ?>
<div class="checkbox">
<label><input type="checkbox" name="options[mobile_tpl_enabled]" value="1" id="input-html_cache_on" <?php echo $html_cache_on_checked; ?>></label>
</div>
</div>
</div>
-->
<div class="form-group">
<label for="input-site_icp" class="col-sm-2 control-label"><?php echo lang('WEBSITE_ICP'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-site_icp" name="options[site_icp]" value="<?php echo (isset($site_icp) && ($site_icp !== '')?$site_icp:''); ?>">
</div>
</div>
<div class="form-group">
<label for="input-site_admin_email" class="col-sm-2 control-label"><?php echo lang('WEBMASTER_EMAIL'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-site_admin_email" name="options[site_admin_email]" value="<?php echo (isset($site_admin_email) && ($site_admin_email !== '')?$site_admin_email:''); ?>">
</div>
</div>
<div class="form-group">
<label for="input-site_analytics" class="col-sm-2 control-label"><?php echo lang('WEBSITE_STATISTICAL_CODE'); ?></label>
<div class="col-md-6 col-sm-10">
<textarea class="form-control" id="input-site_analytics" name="options[site_analytics]"><?php echo (isset($site_analytics) && ($site_analytics !== '')?$site_analytics:''); ?></textarea>
</div>
</div>
<!--<div class="form-group">-->
<!--<label for="input-site_copyright" class="col-sm-2 control-label"><?php echo lang('WEBSITE_COPYRIGHT_INFOMATION'); ?></label>-->
<!--<div class="col-md-6 col-sm-10">-->
<!--<input type="text" class="form-control" id="input-site_copyright" name="options[site_copyright]" value="<?php echo (isset($site_copyright) && ($site_copyright !== '')?$site_copyright:''); ?>">-->
<!--</div>-->
<!--</div>-->
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="1"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</div>
<div class="tab-pane" id="B">
<div class="form-group">
<label for="input-site_seo_title" class="col-sm-2 control-label"><?php echo lang('WEBSITE_SEO_TITLE'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-site_seo_title" name="options[site_seo_title]" value="<?php echo (isset($site_seo_title) && ($site_seo_title !== '')?$site_seo_title:''); ?>">
</div>
</div>
<div class="form-group">
<label for="input-site_seo_keywords" class="col-sm-2 control-label"><?php echo lang('WEBSITE_SEO_KEYWORDS'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-site_seo_keywords" name="options[site_seo_keywords]" value="<?php echo (isset($site_seo_keywords) && ($site_seo_keywords !== '')?$site_seo_keywords:''); ?>">
</div>
</div>
<div class="form-group">
<label for="input-site_seo_description" class="col-sm-2 control-label"><?php echo lang('WEBSITE_SEO_DESCRIPTION'); ?></label>
<div class="col-md-6 col-sm-10">
<textarea class="form-control" id="input-site_seo_description" name="options[site_seo_description]"><?php echo (isset($site_seo_description) && ($site_seo_description !== '')?$site_seo_description:''); ?></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</div>
<div class="tab-pane" id="C">
<div class="form-group">
<label for="input-urlmode" class="col-sm-2 control-label"><?php echo lang('URL_MODE'); ?></label>
<div class="col-md-6 col-sm-10">
<?php $url_modes=array( "1"=>lang('URL_PATHINFO_MODE'), "2"=>lang('URL_REWRITE_MODE')); ?>
<select class="form-control" name="options[urlmode]" id="input-urlmode">
<?php if(is_array($url_modes) || $url_modes instanceof \think\Collection || $url_modes instanceof \think\Paginator): if( count($url_modes)==0 ) : echo "" ;else: foreach($url_modes as $key=>$vo): $url_mode_selected=isset($urlmode)&&$key==$urlmode?"selected":""; ?>
<option value="<?php echo $key; ?>" <?php echo $url_mode_selected; ?>><?php echo $vo; ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</div>
</div>
<div class="form-group">
<label for="input-html_suffix" class="col-sm-2 control-label"><?php echo lang('URL_REWRITE_SUFFIX'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-html_suffix" name="options[html_suffix]" value="<?php echo (isset($html_suffix) && ($html_suffix !== '')?$html_suffix:''); ?>">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</div>
<!--
<div class="tab-pane" id="E">
<div class="form-group">
<label class="col-sm-2 control-label"><?php echo lang('COMMENT_CHECK'); ?></label>
<div class="col-md-6 col-sm-10">
<?php $comment_need_checked=empty($comment_need_check)?"":"checked"; ?>
<div class="checkbox">
<label><input type="checkbox" name="options[comment_need_check]" value="1" <?php echo $comment_need_checked; ?>></label>
</div>
</div>
</div>
<div class="form-group">
<label for="input-comment_time_interval" class="col-sm-2 control-label"><?php echo lang('COMMENT_TIME_INTERVAL'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-comment_time_interval" name="options[comment_time_interval]" value="<?php echo (isset($comment_time_interval) && ($comment_time_interval !== '')?$comment_time_interval:60); ?>">
<p class="help-block">单位秒</p>
</div>
</div>
</div>
-->
<div class="tab-pane" id="F">
<div class="form-group">
<label for="input-banned_usernames" class="col-sm-2 control-label">是否开放注册</label>
<div class="col-md-6 col-sm-10">
<select class="form-control" name="cmf_settings[open_registration]">
<option value="0"></option>
<?php $open_registration_selected = empty($cmf_settings['open_registration'])?'':'selected'; ?>
<option value="1" <?php echo $open_registration_selected; ?>></option>
</select>
</div>
</div>
<div class="form-group">
<label for="input-banned_usernames" class="col-sm-2 control-label"><?php echo lang('SPECAIL_USERNAME'); ?></label>
<div class="col-md-6 col-sm-10">
<textarea class="form-control" id="input-banned_usernames" name="cmf_settings[banned_usernames]"><?php echo $cmf_settings['banned_usernames']; ?></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</div>
<div class="tab-pane" id="G">
<div class="form-group">
<label for="input-cdn_static_root" class="col-sm-2 control-label">静态资源cdn地址</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-cdn_static_root" name="cdn_settings[cdn_static_root]" value="<?php echo (isset($cdn_settings['cdn_static_root']) && ($cdn_settings['cdn_static_root'] !== '')?$cdn_settings['cdn_static_root']:''); ?>">
<p class="help-block">
不能以/结尾;设置这个地址后,请将ThinkCMF下的静态资源文件放在其下面;<br>
ThinkCMF下的静态资源文件大致包含以下(如果你自定义后,请自行增加):<br>
themes/admin_simplebootx/public/assets<br>
static<br>
themes/simplebootx/public/assets<br>
例如未设置cdn前:jquery的访问地址是/static/js/jquery.js, <br>
设置cdn是后它的访问地址就是:静态资源cdn地址/static/js/jquery.js
</p>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</form>
</div>
<script type="text/javascript" src="/candy/public/static/js/admin.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:52:"themes/admin_simpleboot3/admin\setting\password.html";i:1516676889;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li><a href="<?php echo url('user/userInfo'); ?>"><?php echo lang('ADMIN_USER_USERINFO'); ?></a></li>
<li class="active"><a href="<?php echo url('setting/password'); ?>"><?php echo lang('ADMIN_SETTING_PASSWORD'); ?></a></li>
</ul>
<form class="form-horizontal js-ajax-form margin-top-20" method="post" action="<?php echo url('setting/passwordPost'); ?>">
<div class="form-group">
<label for="input-old-password" class="col-sm-2 control-label"><?php echo lang('OLD_PASSWORD'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="password" class="form-control" id="input-old-password" name="old_password">
</div>
</div>
<div class="form-group">
<label for="input-password" class="col-sm-2 control-label"><?php echo lang('NEW_PASSWORD'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="password" class="form-control" id="input-password" name="password">
</div>
</div>
<div class="form-group">
<label for="input-repassword" class="col-sm-2 control-label"><?php echo lang('CONFIRM_PASSWORD'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="password" class="form-control" id="input-repassword" name="re_password">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</form>
</div>
<script src="/candy/public/static/js/admin.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:38:"themes/simpleboot3/portal\\poster.html";i:1530942817;}*/ ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="/candy/public/themes/simpleboot3/public/assets/css/style.css">
<script type="text/javascript" src="/candy/public/themes/simpleboot3/public/assets/js/fontsize.js"></script>
<title>海报</title>
</head>
<body style="background-color: #fff">
<div class="join_img">
<?php if(empty($pic['pic']) || (($pic['pic'] instanceof \think\Collection || $pic['pic'] instanceof \think\Paginator ) && $pic['pic']->isEmpty())): ?>
<img src="/candy/public/themes/simpleboot3/public/assets/images/bg@2x.png" alt="">
<?php else: ?>
<img src="<?php echo $pic['pic']; ?>" alt="">
<?php endif; ?>
</div>
<div class="nav_bottom">
<a class="bottom_item po_activity" href="<?php echo url('Index/poster'); ?>">
<div class="bottom_icon"><span class="iconfont icon-haibao"></span></div>
<div>海报</div>
</a>
<a class="bottom_item" href="<?php echo url('Index/wxPic'); ?>">
<div class="bottom_icon"><span class="iconfont icon-saomiaoerweima"></span></div>
<div>群二维码</div>
</a>
<a class="bottom_item" href="<?php echo url('Index/score'); ?>">
<div class="bottom_icon"><span class="iconfont icon-jifen"></span></div>
<div>积分明细</div>
</a>
<a class="bottom_item" href="<?php echo url('Index/user'); ?>">
<div class="bottom_icon"><span class="iconfont icon-wode-"></span></div>
<div>个人中心</div>
</a>
</div>
<!--<div class="mold choose" style="display: none;" >-->
<div class="mold choose" >
<div class="all" >
<div class="all_title">您还未注册</div>
<div class="all_content">请前往注册界面进行注册</div>
<div class="all_yes">确定</div>
</div>
</div>
</body>
<script src="/candy/public/themes/simpleboot3/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="/candy/public/themes/simpleboot3/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
<script>
var is_join = "<?php echo \think\Request::instance()->param('is_login'); ?>";
if(is_join == 2){
$('.choose').css('display','block');
$('.all_yes').click(function () {
// var uid = "<?php echo \think\Request::instance()->param('uid'); ?>";
// var url1 = "<?php echo url('portal/Index/register'); ?>";
// var url2 = url1.split(".",5)
// var url3 = "/uid/"+uid+'.html';
// var url = url2[0]+url3;
window.location.href = "<?php echo url('portal/Index/register'); ?>";
})
}else{
$('.choose').css('display','none');
}
</script>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:41:"themes/simpleboot3/portal\\deit_info.html";i:1530944207;}*/ ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="/candy/public/themes/simpleboot3/public/assets/css/style.css">
<script type="text/javascript" src="/candy/public/themes/simpleboot3/public/assets/js/fontsize.js"></script>
<title>修改个人资料</title>
</head>
<body>
<div class="deit_top">
修改个人信息
</div>
<div class="re_item deit_infoitem">
<div class="item myinfo_item">
<div class="item_name">姓名</div>
<div class="item_input"><input type="text" value="<?php echo $list['name']; ?>" placeholder="请填写姓名" class="name"></div>
</div>
<div class="item myinfo_item">
<div class="item_name">手机号</div>
<div class="item_input" style="color: #B2B2B2;"><input type="text" value="<?php echo $list['tel']; ?>" class="tel" readonly style="color: #B2B2B2;"></div>
</div>
<div class="item myinfo_item">
<div class="item_name">微信</div>
<div class="item_input"><input type="text" value="<?php echo $list['wx']; ?>" placeholder="请输入您的微信号" class="wx"></div>
</div>
<div class="item myinfo_item">
<div class="item_name">钱包地址</div>
<div class="item_input" ><input type="text" value="<?php echo $list['wallet']; ?>" readonly class="play" style="color: #B2B2B2;"></div>
</div>
</div>
<div class="re_btn myinfo_btn btn_yes">完成</div>
<div class="re_btn myinfo_btn btn_return">返回</div>
<div id="toast" style="display: none;">
<div class="weui-mask_transparent"></div>
<div class="weui-toast">
<i class="weui-icon-success-no-circle weui-icon_toast"></i>
<p class="weui-toast__content">已完成</p>
</div>
</div>
<script src="/candy/public/themes/simpleboot3/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="/candy/public/themes/simpleboot3/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
</body>
<script>
$('.btn_yes').click(function () {
var name = $(".name").val();
var wx = $(".wx").val();
var user_id = "<?php echo \think\Session::get('user_id'); ?>";
$.ajax({
type: "POST",
url: "<?php echo url('Index/changeUser'); ?>",
data: {
"name": name,
"wx": wx,
"id": user_id,
},
success: function (data) {
console.log(data)
if (data.code == 1) {
alert(data.msg);
location.href = "<?php echo url('Index/user'); ?>";
}
else {
alert(data.msg);
}
},
error: function () {
alert("网络错误");
}
})
})
$('.btn_return').click(function () {
var url ="<?php echo url('Index/user'); ?>";
location.href = url;
})
</script>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:36:"themes/simpleboot3/portal\\join.html";i:1530784147;}*/ ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="/candy/public/themes/simpleboot3/public/assets/css/style.css">
<script type="text/javascript" src="/candy/public/themes/simpleboot3/public/assets/js/fontsize.js"></script>
<title>加入微信群</title>
</head>
<body style="background-color: #fff">
<div class="join_img">
<?php if(empty($pic['pic']) || (($pic['pic'] instanceof \think\Collection || $pic['pic'] instanceof \think\Paginator ) && $pic['pic']->isEmpty())): ?>
<img src="/candy/public/themes/simpleboot3/public/assets/images/bg_y@2x_52.png" alt="">
<?php else: ?>
<img src="<?php echo $pic['pic']; ?>" alt="">
<?php endif; ?>
</div>
<div class="nav_bottom">
<a class="bottom_item " href="<?php echo url('Index/poster'); ?>">
<div class="bottom_icon"><span class="iconfont icon-haibao"></span></div>
<div>海报</div>
</a>
<a class="bottom_item po_activity" href="<?php echo url('Index/wxPic'); ?>">
<div class="bottom_icon"><span class="iconfont icon-saomiaoerweima"></span></div>
<div>群二维码</div>
</a>
<a class="bottom_item" href="<?php echo url('Index/score'); ?>">
<div class="bottom_icon"><span class="iconfont icon-jifen"></span></div>
<div>积分明细</div>
</a>
<a class="bottom_item" href="<?php echo url('Index/user'); ?>">
<div class="bottom_icon"><span class="iconfont icon-wode-"></span></div>
<div>个人中心</div>
</a>
</div>
<script src="/candy/public/themes/simpleboot3/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="/candy/public/themes/simpleboot3/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:58:"themes/admin_simpleboot3/portal\admin_pic\posterIndex.html";i:1530692697;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="<?php echo url('AdminPic/poster'); ?>">图片列表</a></li>
<li><a href="<?php echo url('AdminPic/posterAdd'); ?>">添加图片</a></li>
</ul>
<!--<form class="well form-inline margin-top-20" method="post" action="<?php echo url('AdminPic/poster'); ?>">-->
<!--标题:-->
<!--<input type="text" class="form-control" name="keyword" style="width: 200px;"-->
<!--value="<?php echo (isset($keyword) && ($keyword !== '')?$keyword:''); ?>" placeholder="请输入关键字">-->
<!--<button class="btn btn-primary">搜索</button>-->
<!--</form>-->
<form class="js-ajax-form" method="post">
<div class="table-actions">
<button class="btn btn-danger btn-sm js-ajax-submit" type="submit" data-action="<?php echo url('AdminPic/posterDel'); ?>"
data-subcheck="true" data-msg="<?php echo lang('DELETE_CONFIRM_MESSAGE'); ?>"><?php echo lang('DELETE'); ?>
</button>
</div>
<table class="table table-hover table-bordered table-list">
<thead>
<tr>
<th width="16">
<label>
<input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
</label>
</th>
<th width="100">ID</th>
<th>类型</th>
<th>图片</th>
<th>发布时间</th>
<th>更新时间</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<?php if(is_array($pic) || $pic instanceof \think\Collection || $pic instanceof \think\Paginator): if( count($pic)==0 ) : echo "" ;else: foreach($pic as $key=>$vo): ?>
<tr>
<td>
<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
value="<?php echo $vo['id']; ?>">
</td>
<td><?php echo $vo['id']; ?></td>
<td>
<?php if($vo['type'] == '1'): ?>
海报图
<?php endif; if($vo['type'] == '2'): ?>
微信群图
<?php endif; ?>
</td>
<td><img src="<?php echo $vo['pic']; ?>" height="100px"/></td>
<td><?php echo date('Y-m-d H:i',$vo['create_time']); ?>
</td>
<td><?php echo date('Y-m-d H:i',$vo['update_time']); ?>
</td>
<td>
<?php if($vo['status'] == '1'): ?>
正常
<?php endif; ?>
</td>
<td>
<a href="<?php echo url('AdminPic/posterAdd',array('id'=>$vo['id'])); ?>"><?php echo lang('EDIT'); ?></a>
<a href="<?php echo url('AdminPic/posterDel',array('id'=>$vo['id'])); ?>" class="js-ajax-delete"><?php echo lang('DELETE'); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</table>
</form>
</div>
<script src="/candy/public/static/js/admin.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:51:"themes/admin_simpleboot3/user\admin_oauth\edit.html";i:1530948114;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<!--<li><a href="<?php echo url('AdminPage/index'); ?>">所有页面</a></li>-->
<!--<li><a href="<?php echo url('AdminPage/add'); ?>">添加页面</a></li>-->
<li class="active"><a href="#">编辑页面</a></li>
</ul>
<form action="<?php echo url('AdminOauth/edit'); ?>" method="post" class="form-horizontal js-ajax-form margin-top-20">
<div class="row">
<div class="col-md-9">
<table class="table table-bordered">
<tr>
<th width="100">姓名<span class="form-required">*</span></th>
<td>
<input type="hidden" name="id" value="<?php echo $post['id']; ?>">
<input class="form-control" type="text" style="width: 400px;" name="name"
required
value="<?php echo $post['name']; ?>" placeholder="请输入姓名"/>
</td>
</tr>
<tr>
<th width="100">电话</th>
<td>
<input class="form-control" type="text" style="width: 400px;" name="tel"
value="<?php echo $post['tel']; ?>" placeholder="请输入电话"/>
</td>
</tr>
<tr>
<th width="100">微信</th>
<td>
<input class="form-control" type="text" style="width: 400px;" name="wx"
value="<?php echo $post['wx']; ?>" placeholder="请输入微信"/>
</td>
</tr>
<tr>
<th width="100">钱包地址</th>
<td>
<input class="form-control" type="text" style="width: 400px;" name="wallet"
value="<?php echo $post['wallet']; ?>" placeholder="请输入钱包地址"/>
</td>
</tr>
<tr>
<th width="100">上级id</th>
<td>
<input class="form-control" type="text" style="width: 400px;" name="parent_id"
value="<?php echo $post['parent_id']; ?>" placeholder="请输入上级id"/>
</td>
</tr>
<tr>
<th width="100">积分</th>
<td>
<input class="form-control" type="text" style="width: 400px;" name="score"
value="<?php echo $post['score']; ?>" placeholder="请输入积分"/>
</td>
</tr>
</tbody>
</table>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit"><?php echo lang('SAVE'); ?></button>
<a class="btn btn-default" href="<?php echo url('AdminOauth/index'); ?>"><?php echo lang('BACK'); ?></a>
</div>
</div>
</div>
<div class="col-md-3">
</div>
</div>
</form>
</div>
<script type="text/javascript" src="/candy/public/static/js/admin.js"></script>
<script type="text/javascript">
//编辑器路径定义
var editorURL = GV.WEB_ROOT;
</script>
<script type="text/javascript" src="/candy/public/static/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/candy/public/static/js/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
$(function () {
editorcontent = new baidu.editor.ui.Editor();
editorcontent.render('content');
try {
editorcontent.sync();
} catch (err) {
}
$('#more-template-select').val("<?php echo (isset($post['more']['template']) && ($post['more']['template'] !== '')?$post['more']['template']:''); ?>");
});
</script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:57:"themes/admin_simpleboot3/portal\admin_pic\scoreIndex.html";i:1530694047;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="<?php echo url('AdminPic/score'); ?>">图片列表</a></li>
<li><a href="<?php echo url('AdminPic/scoreAdd'); ?>">添加图片</a></li>
</ul>
<!--<form class="well form-inline margin-top-20" method="post" action="<?php echo url('AdminPic/poster'); ?>">-->
<!--标题:-->
<!--<input type="text" class="form-control" name="keyword" style="width: 200px;"-->
<!--value="<?php echo (isset($keyword) && ($keyword !== '')?$keyword:''); ?>" placeholder="请输入关键字">-->
<!--<button class="btn btn-primary">搜索</button>-->
<!--</form>-->
<form class="js-ajax-form" method="post">
<div class="table-actions">
<button class="btn btn-danger btn-sm js-ajax-submit" type="submit" data-action="<?php echo url('AdminPic/scoreDel'); ?>"
data-subcheck="true" data-msg="<?php echo lang('DELETE_CONFIRM_MESSAGE'); ?>"><?php echo lang('DELETE'); ?>
</button>
</div>
<table class="table table-hover table-bordered table-list">
<thead>
<tr>
<th width="16">
<label>
<input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
</label>
</th>
<th width="100">ID</th>
<th>类型</th>
<th>赠送积分金额</th>
<th>发布时间</th>
<th>更新时间</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<?php if(is_array($pic) || $pic instanceof \think\Collection || $pic instanceof \think\Paginator): if( count($pic)==0 ) : echo "" ;else: foreach($pic as $key=>$vo): ?>
<tr>
<td>
<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
value="<?php echo $vo['id']; ?>">
</td>
<td><?php echo $vo['id']; ?></td>
<td>
<?php if($vo['type'] == '1'): ?>
注册赠送积分
<?php endif; if($vo['type'] == '2'): ?>
分享赠送积分
<?php endif; ?>
</td>
<td><?php echo $vo['money']; ?></td>
<td><?php echo date('Y-m-d H:i',$vo['create_time']); ?>
</td>
<td><?php echo date('Y-m-d H:i',$vo['update_time']); ?>
</td>
<td>
<?php if($vo['status'] == '1'): ?>
正常
<?php endif; ?>
</td>
<td>
<a href="<?php echo url('AdminPic/scoreAdd',array('id'=>$vo['id'])); ?>"><?php echo lang('EDIT'); ?></a>
<a href="<?php echo url('AdminPic/scoreDel',array('id'=>$vo['id'])); ?>" class="js-ajax-delete"><?php echo lang('DELETE'); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</table>
</form>
</div>
<script src="/candy/public/static/js/admin.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:52:"themes/admin_simpleboot3/user\admin_oauth\score.html";i:1530955174;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap">
<!--<form class="well form-inline margin-top-20" method="post" action="<?php echo url('AdminGoods/index'); ?>">-->
<!--分类:-->
<!--<select class="form-control" name="cate_id" style="width: 140px;">-->
<!--<option value='0'>全部</option>-->
<!--</select> &nbsp;&nbsp;-->
<!--时间:-->
<!--<input type="text" class="form-control js-bootstrap-datetime" name="start_time"-->
<!--value="<?php echo (isset($start_time) && ($start_time !== '')?$start_time:''); ?>"-->
<!--style="width: 140px;" autocomplete="off">- -->
<!--<input type="text" class="form-control js-bootstrap-datetime" name="end_time"-->
<!--value="<?php echo (isset($end_time) && ($end_time !== '')?$end_time:''); ?>"-->
<!--style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;-->
<!--商品名称:-->
<!--<input type="text" class="form-control" name="keyword" style="width: 200px;"-->
<!--value="<?php echo (isset($keyword) && ($keyword !== '')?$keyword:''); ?>">-->
<!--<input type="submit" class="btn btn-primary" value="搜索"/>-->
<!--<a class="btn btn-danger" href=" 'AdminGoods/index')}">清空</a>-->
<!--</form>-->
<ul class="nav nav-tabs">
<li class="active"><a>积分明细</a></li>
</ul>
<form method="post" class="js-ajax-form margin-top-20">
<div>
<p style="font-size: 30px;">姓名:<span><?php echo $list['name']; ?></span></p>
<p style="font-size: 30px;">总积分:<span><?php echo $list['all_score']; ?></span></p>
</div>
<table class="table table-hover table-bordered">
<thead>
<tr>
<th>ID</th>
<th>积分内容</th>
<th>获得积分</th>
<th align="center" style="width: 15%;">创建时间</th>
<th align="center" style="width: 15%;">更新时间</th>
</tr>
</thead>
<tbody>
<?php if(is_array($list['detail']) || $list['detail'] instanceof \think\Collection || $list['detail'] instanceof \think\Paginator): if( count($list['detail'])==0 ) : echo "" ;else: foreach($list['detail'] as $key=>$vo): ?>
<tr>
<td><?php echo $vo['id']; ?></td>
<td><?php echo $vo['title']; ?></td>
<td><?php echo $vo['score']; ?></td>
<td><?php echo $vo['create_time']; ?></td>
<td><?php echo $vo['update_time']; ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<a class="btn btn-default" href="<?php echo url('AdminOauth/index'); ?>"><?php echo lang('BACK'); ?></a>
</form>
</div>
<script src="/candy/public/static/js/admin.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:45:"themes/admin_simpleboot3/admin\menu\edit.html";i:1516676889;s:68:"D:\wamp\www\candy\public\themes\admin_simpleboot3\public\header.html";i:1516676889;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/candy/public/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="/candy/public/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="/candy/public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/candy/public/",
WEB_ROOT: "/candy/public/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/candy/public/static/js/wind.js"></script>
<script src="/candy/public/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li><a href="<?php echo url('Menu/index'); ?>">后台菜单</a></li>
<li><a href="<?php echo url('Menu/add'); ?>">添加菜单</a></li>
<li><a href="<?php echo url('Menu/lists'); ?>">所有菜单</a></li>
<li class="active"><a>编辑菜单</a></li>
</ul>
<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="<?php echo url('menu/editPost'); ?>">
<div class="form-group">
<label for="input-parent_id" class="col-sm-2 control-label"><span class="form-required">*</span>上级</label>
<div class="col-md-6 col-sm-10">
<select class="form-control" name="parent_id" id="input-parent_id">
<option value="0">作为一级菜单</option><?php echo $select_category; ?>
</select>
</div>
</div>
<div class="form-group">
<label for="input-name" class="col-sm-2 control-label"><span class="form-required">*</span>名称</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-name" name="name" value="<?php echo $data['name']; ?>">
</div>
</div>
<div class="form-group">
<label for="input-app" class="col-sm-2 control-label"><span class="form-required">*</span>应用</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-app" name="app" value="<?php echo $data['app']; ?>">
</div>
</div>
<div class="form-group">
<label for="input-controller" class="col-sm-2 control-label"><span class="form-required">*</span>控制器</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-controller" name="controller" value="<?php echo $data['controller']; ?>">
</div>
</div>
<div class="form-group">
<label for="input-action" class="col-sm-2 control-label"><span class="form-required">*</span>方法</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-action" name="action" value="<?php echo $data['action']; ?>">
</div>
</div>
<div class="form-group">
<label for="input-param" class="col-sm-2 control-label">参数</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-param" name="param" value="<?php echo $data['param']; ?>">
<p class="help-block">例:id=3&amp;p=3</p>
</div>
</div>
<div class="form-group">
<label for="input-icon" class="col-sm-2 control-label">图标</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-icon" name="icon" value="<?php echo $data['icon']; ?>">
<p class="help-block">
<a href="http://www.thinkcmf.com/font/font_awesome/icons.html" target="_blank">选择图标</a> 不带前缀fa-,如fa-user => user
</p>
</div>
</div>
<div class="form-group">
<label for="input-remark" class="col-sm-2 control-label">备注</label>
<div class="col-md-6 col-sm-10">
<textarea class="form-control" id="input-remark" name="remark"><?php echo $data['remark']; ?></textarea>
</div>
</div>
<div class="form-group">
<label for="input-status" class="col-sm-2 control-label">状态</label>
<div class="col-md-6 col-sm-10" id="input-status">
<select class="form-control" name="status">
<option value="1">在左侧菜单显示</option>
<?php $status_selected=empty($data['status'])?"selected":""; ?>
<option value="0" <?php echo $status_selected; ?>>在左侧菜单隐藏</option>
</select>
</div>
</div>
<div class="form-group">
<label for="input-type" class="col-sm-2 control-label">类型</label>
<div class="col-md-6 col-sm-10">
<select class="form-control" name="type" id="input-type">
<option value="1">有界面可访问菜单</option>
<?php $type2_selected=$data['type']==2?"selected":""; ?>
<option value="2" <?php echo $type2_selected; ?>>无界面可访问菜单</option>
<?php $type_selected=$data['type']==0?"selected":""; ?>
<option value="0" <?php echo $type_selected; ?>>只作为菜单</option>
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<input type="hidden" name="id" value="<?php echo $data['id']; ?>" />
<button type="submit" class="btn btn-primary js-ajax-submit"><?php echo lang('SAVE'); ?></button>
<a class="btn btn-default" href="<?php echo url('menu/index'); ?>"><?php echo lang('BACK'); ?></a>
</div>
</div>
</form>
</div>
<script src="/candy/public/static/js/admin.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:37:"themes/simpleboot3/portal\\point.html";i:1530943798;}*/ ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="/candy/public/themes/simpleboot3/public/assets/css/style.css">
<script type="text/javascript" src="/candy/public/themes/simpleboot3/public/assets/js/fontsize.js"></script>
<title>积分明细</title>
</head>
<body>
<div class="po_top">
<div class="po_title">我的积分</div>
<div class="po_num"><?php echo $list['all_score']; ?></div>
</div>
<div class="po_itembox">
<?php if(is_array($list['detail']) || $list['detail'] instanceof \think\Collection || $list['detail'] instanceof \think\Paginator): $i = 0; $__LIST__ = $list['detail'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<div class="po_item">
<div class="po_left">
<div><?php echo $vo['title']; ?></div>
<div class="po_time"><?php echo date('Y-m-d H:i',$vo['create_time']); ?></div>
</div>
<div class="po_right">
+<?php echo $vo['score']; ?>
</div>
</div>
<?php endforeach; endif; else: echo "" ;endif; ?>
</div>
<div class="nav_bottom">
<a class="bottom_item " href="<?php echo url('Index/poster'); ?>">
<div class="bottom_icon"><span class="iconfont icon-haibao"></span></div>
<div>海报</div>
</a>
<a class="bottom_item" href="<?php echo url('Index/wxPic'); ?>">
<div class="bottom_icon"><span class="iconfont icon-saomiaoerweima"></span></div>
<div>群二维码</div>
</a>
<a class="bottom_item po_activity" href="<?php echo url('Index/score'); ?>">
<div class="bottom_icon"><span class="iconfont icon-jifen"></span></div>
<div>积分明细</div>
</a>
<a class="bottom_item" href="<?php echo url('Index/user'); ?>">
<div class="bottom_icon"><span class="iconfont icon-wode-"></span></div>
<div>个人中心</div>
</a>
</div>
<script src="/candy/public/themes/simpleboot3/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="/candy/public/themes/simpleboot3/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
\ No newline at end of file
... ...