页面模板内容:
<select onchange="window.open(this.options[selectedIndex].value,'','');" class="selink" name='friendsite'> [!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--] </select>
列表内容模板:
<option value='[!--titleurl--]'>[!--title--]</option>
对应页面调用:
[ecmsinfo]'select lname as title,lurl as titleurl,lid as id from [!db.pre!]enewslink where classid=1 order by lid limit 50',0,50,0,24,14,0[/ecmsinfo](14是模板标签 第一个50是数量)
效果如下所示:
猜你喜欢 八大奇迹有哪些 八大奇迹简单介绍 冷冻虾尾上的黄是什么东西 冷冻虾尾头部黄黄的 欧石竹会越长越多吗 欧石竹的生长周期 温度计破了水银流出来了会中毒吗 温度计破了水银流出来了会中毒吗还能用吗 衣服上的陈旧石榴汁怎么清洗 衣服石榴汁怎么洗掉 2022哈尔滨端午节哪里适合露营 2022哈尔滨端午节哪里适合露营活动 薯条冷冻后粘在一起可以炸吗 炸薯条冻完粘一起了 面包可以放冰箱保鲜吗 面包可以放冰箱保鲜吗多久 2017年爱情惊悚《恐怖理发店》HD国语中字