query("SELECT id,boardaddress,gfxaddress,description,width,height,ordinal,html,xml,bbcode,adresse FROM bb".$n."_linkus ORDER by `ordinal`"); $linkus = ''; $gfxno = 1; while ($row = $db->fetch_array($result)) { $linkus .= ' '; if($row["html"] == "1") { $linkus .= '
'; } if($row["xml"] == "1") { $linkus .= ' '; } if($row["bbcode"] == "1") { $linkus .= ' '; } if($row["adresse"] == "1") { $linkus .= ' '; } $linkus .= '
Link-Grafik Nr. '.$gfxno.'
'; if(eregi("http://", $row["gfxaddress"])) { $linkus .= ''; } else { $linkus .= $row["gfxaddress"]; } $linkus .= '
HTML-Code:
XML-Code:
BBCode:
Adresse:


'; $gfxno = $gfxno+1; } eval("\$tpl->output(\"".$tpl->get("linkus")."\");"); ?>