<?php
/**
 * 芋头CMS
 * ============================================================================
 * 版权所有 2016-2028 沅陵县乌托邦网络服务有限公司，并保留所有权利。
 * 网站地址: http://www.yutoucms.cn
 * ----------------------------------------------------------------------------
 * 如果商业用途务必到官方购买正版授权, 以免引起不必要的法律纠纷。
 * ============================================================================
 * Author: 芋头 <mxgsf@qq.com>
 * Date: 2026-5-30
 */
if (!defined('ROOT_PATH')) { exit('Access Denied'); }
if (!isset($recruit) && isset($id) && $id > 0) {
    $recruit = $db->fetch("SELECT r.*, c.channel_name FROM {$db->table('recruit')} r LEFT JOIN {$db->table('channel')} c ON r.channel_id=c.id WHERE r.id=? AND r.status=1", [$id]);
}
$pageTitle = htmlspecialchars($recruit['title'] ?? '招聘详情');
require_once __DIR__ . '/_header.php';
?>
<div class="bannern c" style="background:url(<?php echo $site['template_dir']; ?>static/upload/image/20220801/1659354277651388.jpg) no-repeat center;"></div>
<div class="n_cont c">
  <div class="jz c">
    <div class="ny_nav" id="my_sticky">
      <div class="wjssbt c">人才招聘</div>
      <ul class="wjsndh c"></ul>
      <div class="search_l">
        <form method="get" action="<?php echo getUrl('search'); ?>">
          <input type="hidden" name="m" value="search">
          <input type="text" class="ip" name="keyword" placeholder="请输入关键字">
          <input type="submit" class="btn" value="搜索">
        </form>
      </div>
    </div>
    <div class="ny_zqw ny_zqw_chb">
      <div class="nw_top"><span class="top_tzbt l"><?php echo htmlspecialchars($recruit['title'] ?? ''); ?></span><span class="top_mbx r am-icon-home">您的位置： <a href="<?php echo getUrl('home'); ?>">首页</a> >> <a href="javascript:history.back();">招聘详情</a></span></div>
      <div class="h20"></div>
      <div class="bjbld"><div class="xqxq" id="maximg"><?php echo $recruit['content'] ?? ''; ?></div></div>
    </div>
  </div>
</div>
<?php require_once __DIR__ . '/_footer.php'; ?>
