<?php
declare(strict_types=1);
require '/home/amomherbskiosk/.amom-herbs/core.php';ah_headers();ah_session();header('Cache-Control: no-store');header('X-Robots-Tag: noindex,nofollow');
$u=ah_user();if(!$u||$u['must_change']){header('Location: admin/');exit;}
$_SESSION['last']=time();
$tools=['customer-profiles.html'=>'Customer profiles / 客户档案','follow-up-dashboard.html'=>'Follow-up / 随访','sales-dashboard.html'=>'Sales / 销售','receipt-history.html'=>'Receipts / 收据','data-center.html'=>'Local data / 本地数据','inventory-manager.html'=>'Kiosk inventory / 展台库存','admin-control.html'=>'Local backup / 本地备份'];
$tool=(string)($_GET['tool']??'');
if(isset($tools[$tool])){readfile(ah_state().'/legacy/'.$tool);exit;}
?><!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>AMOM AURA · Workspace</title><link rel="stylesheet" href="assets/aura.css"></head><body><main class="aura-shell"><section class="aura-hero"><h1>员工工作台</h1><p>客户和收据保留在当前 kiosk 浏览器；产品后台的目录由服务器统一管理。</p><p>Customer and receipt records remain in this kiosk browser. The product catalog is shared through the server.</p><div class="aura-tiles"><?php foreach($tools as $file=>$label): ?><a class="aura-tile" href="staff.php?tool=<?=htmlspecialchars($file,ENT_QUOTES)?>"><h2><?=htmlspecialchars($label,ENT_QUOTES)?></h2><span>↗</span></a><?php endforeach;?></div><p><a class="aura-btn" href="admin/">产品管理</a> <a class="aura-btn outline" href="index.html">首页</a></p></section></main></body></html>

