smarty中取得url参数

{foreach item=logclassname name=logclassname from=$logclassname}
   <li {if $smarty.foreach.logclassname.iteration % 2==0} style="color:#FF0000" {/if}>
    <A href=log.php?classid={$logclassname.logclassid}>
    {if $smarty.request.classid==$logclassname.logclassid}
     <font color=red>{$logclassname.logclassname}</font>
    {else}
     {$logclassname.logclassname}
    {/if}
    </A>
   </li>
  {/foreach}

$smarty.request.classid

    A+
发布日期:2009年12月03日  所属分类:未分类

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: