仰望星辰工作室

better-staridc-MNBT

Z zfhsh first commit 2 个月前
1<?php
2/**
3 * zjmfmanager_reserve 用户端 - 公共布局
4 */
5if (!defined('IN_CRONLITE')) {
6 exit;
7}
8$current_user = $current_user ?? null;
9$page_title = $page_title ?? '魔方财务分销';
10$content = $content ?? '';
11?>
12<!DOCTYPE html>
13<html lang="zh-CN">
14<head>
15<meta charset="UTF-8">
16<meta name="viewport" content="width=device-width, initial-scale=1.0">
17<title><?= htmlspecialchars($page_title) ?> - 魔方财务分销</title>
18<link rel="stylesheet" href="<?= mnbt_asset_url('layui/css/layui.css') ?>">
19<link rel="stylesheet" href="<?= zjmf_asset_url('style.css') ?>">
20</head>
21<body>
22
23<div class="zj-nav">
24 <div class="zj-nav-inner">
25 <a class="zj-nav-brand" href="<?= zjmf_url('reserve/shop') ?>">魔方财务分销</a>
26 <div class="zj-nav-links">
27 <?php if ($current_user): ?>
28 <a href="<?= zjmf_url('reserve/shop') ?>">商品</a>
29 <a href="<?= zjmf_url('reserve/hosts') ?>">我的主机</a>
30 <a href="<?= zjmf_url('reserve/orders') ?>">订单</a>
31 <a href="<?= zjmf_url('balance') ?>">余额</a>
32 <a href="<?= zjmf_url('account/profile') ?>">个人信息</a>
33 <a href="<?= zjmf_url('account/logout') ?>">退出</a>
34 <?php else: ?>
35 <a href="<?= zjmf_url('account/login') ?>">登录</a>
36 <a href="<?= zjmf_url('account/register') ?>">注册</a>
37 <?php endif; ?>
38 </div>
39 </div>
40</div>
41
42<div class="zj-page"><?= $content ?></div>
43
44<script src="<?= mnbt_asset_url('layui/layui.js') ?>"></script>
45</body>
46</html>