欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

参数判断

程序员文章站 2022-03-10 12:17:48
...
div style="width:820px;margin-left:178px;padding:5px 25px;" id="acontent">
            if condition="$nid eq 'gonggao' OR $nid eq 'mtbd'">
                if condition="$nid eq 'gonggao'">
                    img src="/{:APP_PATH}Public/img/help/ptgg.png">
                else/>
                    img src="/{:APP_PATH}Public/img/help/hyxw.png">
                if>
                volist name="re" id="vo">
                    ul style="border-bottom:1px dotted #999; line-height:41px;width:90%;">
                        li>
                            a style="color:#666666;">{$vo['name']}a>
                        li>
                    ul>
                volist>
                div>{$page}div>
             if>
             if condition="$nid eq 'qywh' OR $nid eq 'yuanli' OR $nid eq 'gywm' OR $nid eq 'partner'  OR $nid eq 'lianxi'">
                if condition="$nid eq 'qywh'">
                    img src="/{:APP_PATH}Public/img/help/qyjz.png">
                if>
                if condition="$nid eq 'yuanli'">
                    img src="/{:APP_PATH}Public/img/help/gszz.png">
                if>
                if condition="$nid eq 'gywm'">
                    img src="/{:APP_PATH}Public/img/help/zxns.png">
                if>
                if condition="$nid eq 'partner'">
                    img src="/{:APP_PATH}Public/img/help/hzhb.png">
                if>
                if condition="$nid eq 'lianxi'" >
                    img src="/{:APP_PATH}Public/img/help/lxwm.png">
                if>
                {$content}
               if>
        div>

相关标签: 参数判断