<?php
/**
 * 芋头CMS
 * ============================================================================
 * 版权所有 2016-2028 沅陵县乌托邦网络服务有限公司，并保留所有权利。
 * 网站地址: http://www.yutoucms.cn
 * ----------------------------------------------------------------------------
 * 如果商业用途务必到官方购买正版授权, 以免引起不必要的法律纠纷.
 * ============================================================================
 * Author: 芋头 <mxgsf@qq.com>
 * Date: 2026-5-20
 */
if (!defined('ROOT_PATH')) {
    define('ROOT_PATH', dirname(dirname(__DIR__)) . '/');
}

$premiumFile = ROOT_PATH . 'modules-premium/pro/order/public/pay.php';
if (is_file($premiumFile)) {
    require $premiumFile;
    return;
}

echo '<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>支付功能暂未开启</title><style>body{margin:0;font-family:"Microsoft YaHei","PingFang SC",sans-serif;background:#f8fafc;color:#334155}.wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.card{max-width:620px;width:100%;background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 20px 60px rgba(15,23,42,.08);padding:40px 32px;text-align:center}.title{font-size:30px;color:#0f172a;margin:0 0 10px}.desc{font-size:15px;line-height:1.9;color:#64748b;margin:0}.actions{margin-top:24px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 24px;border-radius:12px;text-decoration:none;font-weight:700}.btn-primary{background:linear-gradient(135deg,#16a34a 0%,#15803d 100%);color:#fff}.btn-secondary{background:#fff;color:#374151;border:1px solid #e5e7eb}</style></head><body><div class="wrap"><div class="card"><h1 class="title">支付功能暂未开启</h1><p class="desc">当前站点未安装订单支付模块，请联系管理员处理。</p><div class="actions"><a class="btn btn-primary" href="/public/index.php?m=index">返回首页</a></div></div></div></body></html>';
