熱門: 免費(fèi)試用, 常見問題, 內(nèi)容管理, 商品管理, 備案類型流程指導(dǎo), 如何安裝, 重新安裝, 如何更換模板 , 忘記網(wǎng)站密碼
內(nèi)頁模板布局主要分三部分,頁頭/頁中/頁底。

{template 'header.html'}招聘展示內(nèi)容頁其他調(diào)用項(xiàng)都與普通內(nèi)容頁雷同,區(qū)別在于多出了招聘自定義內(nèi)容字段部分。
內(nèi)容頁頁中調(diào)用可參考[ 查看 ]
{template 'footer.html'}內(nèi)容自定義字段可在后臺(tái),[ 自定義 ] - [ 內(nèi)容字段 ] 中設(shè)置,字段可全站使用,或單獨(dú)綁定某個(gè)欄目使用。
內(nèi)容自定義字段調(diào)用格式
{$archive['my_***']}其中my_***為字段名稱
內(nèi)容中自定義表單鏈接引用格式
{url('form/add/form/'.$t,false)}my_yingpin其中my_yingpin為表單名稱
<?php
$set_field=type::getpositionlink($data['typeid']);
$set_fields=array();
if(is_array($set_field))
foreach($set_field as $key => $value) {
$set_fields[]=$value['id'];
}
?>
//以上為自定義字段調(diào)用必須引用的代碼
<table class="table table-striped table-bordered">
<thead>
<tr>
<th colspan="4"><h4 style="font-weight:bold; color:#EC0000;">{$archive['title']}<small> {lang('jobdetails')}</small></h4></th>//內(nèi)容標(biāo)題
</tr>
<tr>
<th class="text-center" width="20%">{lang('jobtype')}:</th>
<td>{$archive['my_jobtype']}</td>//招聘部門
<th class="text-center" width="20%">{lang('jobtitle')}:</th>
<td>{$archive['my_jobtitle']}</td>//職稱要求
</tr>
<tr>
<th class="text-center">{lang('jobnumber')}:</th>
<td>{$archive['my_jobnumber']}</td>//招聘人數(shù)
<th class="text-center">{lang('recruitingdepartment')}:</th>
<td>{$archive['my_zhaopinbumen']}</td>
</tr>
<tr>
<th class="text-center">{lang('jobgender')}:</th>
<td>{$archive['my_jobgender']}</td>//性別要求
<th class="text-center">{lang('jobwork')}:</th>
<td>{$archive['my_jobwork']}</td>//工作經(jīng)驗(yàn)要求
</tr>
<tr>
<th class="text-center">{lang('jobacademic')}:</th>
<td>{$archive['my_jobacademic']}</td>//學(xué)歷要求
<th class="text-center">{lang('jobage')}:</th>
<td>{$archive['my_jobage']}</td>//年齡要求
</tr>
<tr>
<th class="text-center">{lang('jobworkareas')}:</th>
<td colspan="3">{$archive['my_jobworkareas']}</td>//工作地區(qū)
</tr>
<tr>
<th class="text-center" style="vertical-align:middle;">{lang('jobrequirements')}:</th>
<td colspan="3">{$archive['my_jobrequirements']}</td>//要求與待遇
</tr>
<tr>
<th colspan="4"><span style="font-weight:bold; color:#EC0000;">{lang('contactus')}</span></th>
</tr>
<tr>
<th class="text-center">{lang('contactname')}:</th>
<td>{$archive['my_contactname']}</td>//聯(lián)系人姓名
<th class="text-center">{lang('tel')}:</th>
<td>{get('tel')}</td>
</tr>
<tr>
<th class="text-center">{lang('fax')}:</th>
<td>{get('fax')}</td>
<th class="text-center">{lang('email')}:</th>
<td><a href="mailto:{get('email')}" class="aB">{get('email')}</a></td>
</tr>
<tr>
<th class="text-center">{lang('address')}:</th>
<td colspan="3">{get('address')}</td>
</tr>
</thead>
</table>
<a class="btn btn-primary" target="_blank" href="{url('form/add/form/'.$t,false)}my_yingpin">{lang('candidates')} <span class="badge">Job</span></a>//自定義表單鏈接用 CmsEasy 助您「輕松搭建」企業(yè)官網(wǎng)。