Rumah  >  Artikel  >  php教程  >  参数判断

参数判断

WBOY
WBOYasal
2016-09-06 08:43:541593semak imbas
<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>

 

Kenyataan:
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Artikel sebelumnya:文件记录网页访问量Artikel seterusnya:剖析ajax