發(fā)表日期:2019-09 文章編輯:小燈 瀏覽次數(shù):2995
????
增加 主要銷售區(qū)域 并在公司修改頁(yè)面調(diào)用
?
1、后臺(tái)管理
?? 后臺(tái)管理頁(yè)面在 module/member/admin/setting.inc.php
??? 對(duì)應(yīng)模板module/member/admin/template/setting.tpl.php? 打開(kāi)模板文件 找到經(jīng)營(yíng)模式行 在下邊增加一行后保存即可
<tr>
<td class="tl">主要銷售區(qū)域</td>
<td><input type="text" name="setting[com_salesArea]" style="width:98%;" value="<?php echo $com_salesArea;?>"/></td>
</tr>
修改好后填寫區(qū)域菜單保存即可(用 | 號(hào)隔開(kāi))。 ?? 不需要修改setting.inc.php,不需要更新緩存系統(tǒng)保存時(shí)直接寫到緩存文件里了。
2、在module/member/company_info.inc.php
??? $COM_MODE = explode('|', $MOD['com_mode']);? 大概106行
??? 后邊增加一行
??? $COM_salesArea = explode('|', $MOD['com_salesArea']);?? //取出來(lái)存入數(shù)組
3、在模板company_info.htm?? 用dselect函數(shù)調(diào)用
<tr>
<td class="tl">主要銷售區(qū)域</td>
???? <td class="tr">
?????????{dselect($COM_salesArea, 'post[salesArea]', '請(qǐng)選擇', $c_salesArea, 'id="salesArea" class="form-control w150"', 0)}
???? </td>
</tr>
?
10日期:2019-09 瀏覽次數(shù):3910
日期:2019-09 瀏覽次數(shù):3698
日期:2019-09 瀏覽次數(shù):3697
日期:2019-09 瀏覽次數(shù):3611
日期:2019-09 瀏覽次數(shù):3610
日期:2019-09 瀏覽次數(shù):3613
日期:2019-09 瀏覽次數(shù):3657
日期:2019-09 瀏覽次數(shù):3712
日期:2019-09 瀏覽次數(shù):4042
日期:2019-09 瀏覽次數(shù):3532
日期:2019-09 瀏覽次數(shù):3619
日期:2019-09 瀏覽次數(shù):3311
日期:2019-09 瀏覽次數(shù):3322
日期:2019-09 瀏覽次數(shù):2994
日期:2019-09 瀏覽次數(shù):3031
日期:2019-09 瀏覽次數(shù):3013
日期:2019-09 瀏覽次數(shù):2998
日期:2019-09 瀏覽次數(shù):3119
日期:2019-09 瀏覽次數(shù):3065
日期:2019-09 瀏覽次數(shù):3266
日期:2019-09 瀏覽次數(shù):3154
日期:2019-09 瀏覽次數(shù):3337
日期:2019-09 瀏覽次數(shù):3050
日期:2019-09 瀏覽次數(shù):3387
日期:2019-09 瀏覽次數(shù):3252
日期:2019-09 瀏覽次數(shù):3246
日期:2019-09 瀏覽次數(shù):3127
日期:2019-09 瀏覽次數(shù):3164
日期:2019-09 瀏覽次數(shù):3024
日期:2019-09 瀏覽次數(shù):2970
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.