destoon采集论坛

 找回密码
 立即注册
查看: 104|回复: 1

[已解决]人才栏目 很多东西调用不出来

[复制链接]

14

主题

18

回帖

96

积分

注册会员

Rank: 2

积分
96
发表于 2011-11-25 14:52:28 | 显示全部楼层 |阅读模式
人才栏目首页很多东西调用不出来[ol]
  •                
  •                         
  •                        
  •                         姓名
  •                         求职意向
  •                         工作年限
  •                         性别
  •                         月薪要求
  •                      
  • {loop $tags $t}
  •                        
  •                         [url=]{$t[truename]}[/url]
  •                         {$t[catname]}
  •                         {if $experience}{$experience}年{else}无{/if}
  •                         {if $t[gender]==1}男{else}女{/if}
  •                         {if $t[minsalary] && $t[maxsalary]}
  •                         {$t[minsalary]}-{$t[maxsalary]}{$DT[money_unit]}/月
  •                 {elseif $t[minsalary]}
  •                         {$t[minsalary]}{$DT[money_unit]}/月以上
  •                 {elseif $t[maxsalary]}
  •                         {$t[maxsalary]}{$DT[money_unit]}/月以内
  •                 {else}
  •                         面议
  •                 {/if}
  •                      
  • {/loop}
  •                      
  •                
  •             
  •             
  •                     
    [img][/img]
  •                
  • '' and open=3 and level>0&areaid=$cityid&showcat=1&pagesize=".$MOD[page_iresume]."&length=20&order=edittime desc&template=null")}-->
  • {loop $tags $i $t}
  • [url=]
    [img][/img]
    [/url]
  • 姓名:[url=]{$t[truename]}[/url]
  • 性别:{if $t[gender]==1}男{else}女{/if}
  • 学历:{$EDUCATION[$education]}
  • 职位:{$t[catname]}
  • {/loop}[/ol]复制代码用此段代码无法调用出[ol]
  • {$EDUCATION[$education]}[/ol]复制代码学历[ol]
  • {if $experience}{$experience}年{else}无{/if}[/ol]复制代码工作年限
    其实工作年限写的是一年,但显示为无,用学历代码调用不出学历
    上图

    [ 本帖最后由 yangjie123 于 2011-11-25 15:16 编辑 ]
  • 回复

    使用道具 举报

    14

    主题

    18

    回帖

    96

    积分

    注册会员

    Rank: 2

    积分
    96
     楼主| 发表于 2011-11-25 15:16:29 | 显示全部楼层

    自己搞定,唉,问也没人,调用标签不一样,{if $experience}{$experience}年{else}无{/if}换成{if $t[experience]}{$t[experience]}年{else}无{/if}
    把{$EDUCATION[$education]}换成{$EDUCATION[$t[education]]}

    自己动手,丰衣足食。再也不问了,基本问了都得不到解决。
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|小黑屋|手机版|Archiver|destoon采集论坛

    GMT+8, 2025-11-23 11:10 , Processed in 0.016060 second(s), 21 queries .

    Powered by Discuz! X3.4

    © 2001-2023 Discuz! Team.

    快速回复 返回顶部 返回列表