代码如下: <form id="form1" name="form1" method="post" action=""> <label for="FRIEND LINK ">友情链接:</label> <select onchange="window.open(this.options[selectedIndex].value,'','');" name="FRIEND LINK" size="1" id="FRIEND LINK"> [e:loop={'select * from [!db.pre!]enewslink where checked=1 order by lid',20,24,0}] <option value="<?=$bqr[lurl]?>"> <?=$bqr[lname]?> </option> [/e:loop] </select> </form>
|