首页  >  文章  >  php教程  >  参数判断

参数判断

WBOY
WBOY原创
2016-09-06 08:43:541593浏览
<span style="color: #0000ff;"><span style="color: #800000;">div </span><span style="color: #ff0000;">style</span><span style="color: #0000ff;">="width:820px;margin-left:178px;padding:5px 25px;"</span><span style="color: #ff0000;"> id</span><span style="color: #0000ff;">="acontent"</span><span style="color: #0000ff;">></span>
            <span style="color: #0000ff;"><span style="color: #800000;">if </span><span style="color: #ff0000;">condition</span><span style="color: #0000ff;">="$nid eq 'gonggao' OR $nid eq 'mtbd'"</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"><span style="color: #800000;">if </span><span style="color: #ff0000;">condition</span><span style="color: #0000ff;">="$nid eq 'gonggao'"</span><span style="color: #0000ff;">></span>
                    <span style="color: #0000ff;"><span style="color: #800000;">img </span><span style="color: #ff0000;">src</span><span style="color: #0000ff;">="/{:APP_PATH}Public/img/help/ptgg.png"</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"><span style="color: #800000;">else</span><span style="color: #0000ff;">/></span>
                    <span style="color: #0000ff;"><span style="color: #800000;">img </span><span style="color: #ff0000;">src</span><span style="color: #0000ff;">="/{:APP_PATH}Public/img/help/hyxw.png"</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"></span><span style="color: #800000;">if</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"><span style="color: #800000;">volist </span><span style="color: #ff0000;">name</span><span style="color: #0000ff;">="re"</span><span style="color: #ff0000;"> id</span><span style="color: #0000ff;">="vo"</span><span style="color: #0000ff;">></span>
                    <span style="color: #0000ff;"><span style="color: #800000;">ul </span><span style="color: #ff0000;">style</span><span style="color: #0000ff;">="border-bottom:1px dotted #999; line-height:41px;width:90%;"</span><span style="color: #0000ff;">></span>
                        <span style="color: #0000ff;"><span style="color: #800000;">li</span><span style="color: #0000ff;">></span>
                            <span style="color: #0000ff;"><span style="color: #800000;">a </span><span style="color: #ff0000;">style</span><span style="color: #0000ff;">="color:#666666;"</span><span style="color: #0000ff;">></span>{$vo['name']}<span style="color: #0000ff;"></span><span style="color: #800000;">a</span><span style="color: #0000ff;">></span>
                        <span style="color: #0000ff;"></span><span style="color: #800000;">li</span><span style="color: #0000ff;">></span>
                    <span style="color: #0000ff;"></span><span style="color: #800000;">ul</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"></span><span style="color: #800000;">volist</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"><span style="color: #800000;">div</span><span style="color: #0000ff;">></span>{$page}<span style="color: #0000ff;"></span><span style="color: #800000;">div</span><span style="color: #0000ff;">></span>
             <span style="color: #0000ff;"></span><span style="color: #800000;">if</span><span style="color: #0000ff;">></span>
             <span style="color: #0000ff;"><span style="color: #800000;">if </span><span style="color: #ff0000;">condition</span><span style="color: #0000ff;">="$nid eq 'qywh' OR $nid eq 'yuanli' OR $nid eq 'gywm' OR $nid eq 'partner'  OR $nid eq 'lianxi'"</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"><span style="color: #800000;">if </span><span style="color: #ff0000;">condition</span><span style="color: #0000ff;">="$nid eq 'qywh'"</span><span style="color: #0000ff;">></span>
                    <span style="color: #0000ff;"><span style="color: #800000;">img </span><span style="color: #ff0000;">src</span><span style="color: #0000ff;">="/{:APP_PATH}Public/img/help/qyjz.png"</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"></span><span style="color: #800000;">if</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"><span style="color: #800000;">if </span><span style="color: #ff0000;">condition</span><span style="color: #0000ff;">="$nid eq 'yuanli'"</span><span style="color: #0000ff;">></span>
                    <span style="color: #0000ff;"><span style="color: #800000;">img </span><span style="color: #ff0000;">src</span><span style="color: #0000ff;">="/{:APP_PATH}Public/img/help/gszz.png"</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"></span><span style="color: #800000;">if</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"><span style="color: #800000;">if </span><span style="color: #ff0000;">condition</span><span style="color: #0000ff;">="$nid eq 'gywm'"</span><span style="color: #0000ff;">></span>
                    <span style="color: #0000ff;"><span style="color: #800000;">img </span><span style="color: #ff0000;">src</span><span style="color: #0000ff;">="/{:APP_PATH}Public/img/help/zxns.png"</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"></span><span style="color: #800000;">if</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"><span style="color: #800000;">if </span><span style="color: #ff0000;">condition</span><span style="color: #0000ff;">="$nid eq 'partner'"</span><span style="color: #0000ff;">></span>
                    <span style="color: #0000ff;"><span style="color: #800000;">img </span><span style="color: #ff0000;">src</span><span style="color: #0000ff;">="/{:APP_PATH}Public/img/help/hzhb.png"</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"></span><span style="color: #800000;">if</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"><span style="color: #800000;">if </span><span style="color: #ff0000;">condition</span><span style="color: #0000ff;">="$nid eq 'lianxi'"</span> <span style="color: #0000ff;">></span>
                    <span style="color: #0000ff;"><span style="color: #800000;">img </span><span style="color: #ff0000;">src</span><span style="color: #0000ff;">="/{:APP_PATH}Public/img/help/lxwm.png"</span><span style="color: #0000ff;">></span>
                <span style="color: #0000ff;"></span><span style="color: #800000;">if</span><span style="color: #0000ff;">></span><span style="color: #000000;">
                {$content}
               </span><span style="color: #0000ff;"></span><span style="color: #800000;">if</span><span style="color: #0000ff;">></span>
        <span style="color: #0000ff;"></span><span style="color: #800000;">div</span><span style="color: #0000ff;">></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span>

 

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn