你的位置:友情链接
图片链接 |
||||
$db->query("select * from links where type=1 and chk=1"); $i=0; while($db->next_record()){ $i++; ?> " target="_blank" style=" margin:10px 5px 0px 10px ;display:block; float:left; border:1px solid #CCC; padding:3px;">" width="88" height="31" alt=" $db->p("title")?>" /> }?> | ||||
文字链接 | ||||
$db->query("select * from links where type=2 and chk=1"); while($db->next_record()){ ?> " target="_blank" style=" margin:10px 5px 0px 10px ;display:block; float:left; padding:3px; width:97px; height:30px; line-height:30px; overflow:hidden;"> $db->p("title")?> }?> |