File: /www/wwwroot/mm.paycheckc.com/data/runtime/temp/6be9061e15e9cf87554d0f2b3af13b41.php
<?php /*a:2:{s:78:"/www/wwwroot/mm.paycheckc.com/public/themes/admin_default/admin/app/index.html";i:1746023948;s:75:"/www/wwwroot/mm.paycheckc.com/public/themes/admin_default/public/base5.html";i:1746023948;}*/ ?>
<!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">
<link href="/themes/admin_default/public/assets/themes/<?php echo cmf_get_admin_style('arcoadmin'); ?>/bootstrap5/bootstrap.min.css"
rel="stylesheet">
<link href="/themes/admin_default/public/assets/simpleboot/css/simplebootadmin.css" rel="stylesheet">
<link href="/themes/admin_default/public/assets/fontawesome/css/all.min.css" rel="stylesheet" type="text/css">
<link href="/themes/admin_default/public/assets/fontawesome/css/v4-shims.min.css" rel="stylesheet" type="text/css">
<link href="/themes/admin_default/public/assets/themes/<?php echo cmf_get_admin_style('arcoadmin'); ?>/simplebootadmin.css" rel="stylesheet">
<?php
$admin_id=cmf_get_current_admin_id();
$_is_mobile=cmf_is_mobile();
$_static_version='1.0.5';
$cmf_version=cmf_version();
if (preg_match("/^(8|6)\./",$cmf_version)) {
$_app=app()->http->getName();
}else{
$_app=request()->module();
}
?>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/",
WEB_ROOT: "/",
JS_ROOT: "static/js/",
API_ROOT: {api: '/api/'},
APP: '<?php echo $_app; ?>'/*当前应用名*/,
IS_MOBILE: <?php echo !empty($_is_mobile) ? 'true' : 'false'; ?>,
lang: function (langKey, params) {
var lang = {
LOGIN_INVALID_TIPS: "<?php echo lang('LOGIN_INVALID_TIPS'); ?>",
'Please select at least one': "<?php echo lang('Please select at least one'); ?>",
Close: "<?php echo lang('CLOSE'); ?>",
'You sure you want to delete it?': "<?php echo lang('You sure you want to delete it?'); ?>",
'OK': "<?php echo lang('OK'); ?>",
'Are you sure you want to do this?': "<?php echo lang('Are you sure you want to do this?'); ?>"
};
return typeof lang[langKey] === 'undefined' ? langKey : lang[langKey];
}
};
</script>
<script src="/themes/admin_default/public/assets/js/jquery-3.6.4.min.js"></script>
<script src="/themes/admin_default/public/assets/js/jquery-migrate-3.4.0.min.js"></script>
<script src="/themes/admin_default/public/assets/js/bootstrap5/popper.min.js"></script>
<script src="/themes/admin_default/public/assets/js/bootstrap5/bootstrap.min.js"></script>
<script src="/static/js/wind.js"></script>
<script>
Wind.alias({noty: '/themes/admin_default/public/assets/js/noty-2.4.1.js'})
</script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip({
container: 'body',
html: true,
});
$("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 class="<?php echo !empty($_is_mobile) ? 'mobile' : ''; ?>">
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" href="<?php echo url('admin/App/index'); ?>"><?php echo lang('ADMIN_APP_INDEX'); ?></a>
</li>
<?php if(class_exists('\app\admin\controller\AppStoreController')): ?>
<li class="nav-item">
<a class="nav-link " href="<?php echo url('AppStore/apps'); ?>"><?php echo lang('ADMIN_APPSTORE_APPS'); ?></a>
</li>
<?php endif; ?>
</ul>
<form method="post" class="js-ajax-form margin-top-20">
<?php
$status=array("1"=>lang('Enabled'),"0"=>lang('Disabled'),"3"=>lang('Not Installed'));
?>
<table class="table table-hover table-bordered">
<thead>
<tr>
<th><?php echo lang('NAME'); ?></th>
<th><?php echo lang('Key'); ?></th>
<th><?php echo lang('Description'); ?></th>
<th><?php echo lang('Author'); ?></th>
<th><?php echo lang('Version'); ?></th>
<th width="60"><?php echo lang('STATUS'); ?></th>
<th width="90"><?php echo lang('ACTIONS'); ?></th>
</tr>
</thead>
<tbody>
<?php if(is_array($apps) || $apps instanceof \think\Collection || $apps instanceof \think\Paginator): if( count($apps)==0 ) : echo "" ;else: foreach($apps as $key=>$vo): ?>
<tr>
<td><?php echo $vo['title']; ?></td>
<td><span class="badge text-bg-info"><?php echo $vo['name']; ?></span></td>
<td><?php echo $vo['description']; ?></td>
<td><?php echo $vo['author']; ?></td>
<td><span class="badge text-bg-success"><?php echo $vo['version']; ?></span></td>
<td>
<?php if(empty($vo['installed']) || (($vo['installed'] instanceof \think\Collection || $vo['installed'] instanceof \think\Paginator ) && $vo['installed']->isEmpty())): ?>
<span class="badge text-bg-warning"><?php echo lang('Not Installed'); ?></span>
<?php else: ?>
<span class="badge text-bg-success"><?php echo lang('Installed'); ?></span>
<?php endif; ?>
</td>
<td>
<?php if(empty($vo['installed']) || (($vo['installed'] instanceof \think\Collection || $vo['installed'] instanceof \think\Paginator ) && $vo['installed']->isEmpty())): ?>
<a class="btn btn-xs btn-primary js-ajax-dialog-btn"
href="javascript:void(0);"
data-href="admin/apps/<?php echo $vo['name']; ?>"
data-msg="<?php echo lang('INSTALL_APP_CONFIRM_MSG'); ?>"
title="<?php echo lang('Install'); ?>" data-toggle="tooltip">
<i class="fa fa-plus-circle fa-fw"></i>
</a>
<?php else: ?>
<a class="btn btn-xs btn-success js-ajax-dialog-btn"
href="javascript:void(0);"
data-href="admin/apps/<?php echo $vo['name']; ?>"
data-method="PUT"
data-msg="<?php echo lang('UPDATE_APP_CONFIRM_MSG'); ?>"
title="<?php echo lang('Update'); ?>" data-toggle="tooltip">
<i class="fa fa-refresh fa-fw"></i>
</a>
<a class="btn btn-xs btn-danger"
href="javascript:doOpenUninstallAppDialog('<?php echo $vo['name']; ?>')"
data-msg="<?php echo lang('INSTALL_APP_CONFIRM_MSG'); ?>"
title="<?php echo lang('Uninstall'); ?>" data-toggle="tooltip">
<i class="fa fa-trash fa-fw"></i>
</a>
<?php endif; ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
</form>
</div>
<script src="/static/js/admin.js?v=<?php echo $_static_version; ?>"></script>
<script>
function doOpenUninstallAppDialog(name) {
parent.openIframeLayer("<?php echo url('App/uninstall'); ?>?name=" + name, "<?php echo lang('App uninstall'); ?>", {
area: ['450px', '600px'],
end: function () {
window.location.reload();
}
})
}
</script>
</body>
</html>