<?php $page_class = 'page-recruit'; include __DIR__ . '/_header.php'; ?>
<section class="banner-simple"><div class="container"><h1><?php echo htmlspecialchars(tplv($tplCurrent, 'title', '招聘中心')); ?></h1></div></section>
<?php if ($tplCurrent) { ?><section class="section-block"><div class="container split-layout"><div class="prose-block"><?php echo tplv($tplCurrent, 'content'); ?></div><aside class="meta-card"><h3>职位信息</h3><p>部门：<?php echo htmlspecialchars(tplv($tplCurrent, 'department')); ?></p><p>地区：<?php echo htmlspecialchars(tplv($tplCurrent, 'region')); ?></p><p>薪资：<?php echo htmlspecialchars(tplv($tplCurrent, 'salary')); ?></p><p>学历：<?php echo htmlspecialchars(tplv($tplCurrent, 'education')); ?></p></aside></div></section><?php } else { ?><section class="section-block"><div class="container card-grid cols-3"><?php foreach ($tplList as $row) { ?><article class="show-card"><div class="show-body"><h3><a href="<?php echo tpl_url('recruit', $row); ?>"><?php echo htmlspecialchars(tplv($row, 'title')); ?></a></h3><p><?php echo htmlspecialchars(tplv($row, 'salary')); ?> / <?php echo htmlspecialchars(tplv($row, 'region')); ?></p></div></article><?php } ?></div><div class="pagination-wrap"><?php echo $tplPager; ?></div></section><?php } ?>
<?php include __DIR__ . '/_footer.php'; ?>
