代码如下:
01 | {dede:field name='keywords' runphp='yes' } |
02 | if(!empty(@me)) |
03 | { |
04 | $kws = explode(',',@me); |
05 | @me = ""; |
06 | foreach($kws as $k) |
07 | { |
08 | @me .= "< a href = '/plus/search.php?keyword=".urlencode($k)."' target = _blank >$k</ a > "; |
09 | } |
10 | } |
11 | {/dede:field} |