<?php if(!isset($pageTitle)) $pageTitle=$company['title']; if(!isset($pageDesc)) $pageDesc=$company['description']; ?>
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title><?php echo e($pageTitle); ?></title>
<meta name="keywords" content="<?php echo e($company['keywords']); ?>">
<meta name="description" content="<?php echo e($pageDesc); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="<?php echo e(site_url($_SERVER['REQUEST_URI'] ?? '')); ?>">
<link rel="stylesheet" href="/assets/css/style.css">
<link rel="stylesheet" href="/themes/<?php echo e($theme); ?>/assets/css/theme.css">
</head>
<body>
<header class="topbar">
  <div class="container nav">
    <a class="logo" href="/"><?php echo e($company['short_name']); ?></a>
    <nav>
      <?php if(($theme ?? '') === 'school'): ?>
      <a href="/">首页</a><a href="/about/">学校概况</a><a href="/product/">课程建设</a><a href="/case/">校园风采</a><a href="/news/">校园动态</a><a href="/faq/">招生问答</a><a href="/contact/">联系我们</a>
      <?php else: ?>
      <a href="/">首页</a><a href="/about/">关于我们</a><a href="/product/">产品服务</a><a href="/case/">客户案例</a><a href="/news/">新闻资讯</a><a href="/faq/">常见问题</a><a href="/contact/">联系我们</a>
      <?php endif; ?>
    </nav>
  </div>
</header>
