".$data2['weblink_cat_name']."\n"; } } echo "
".$locale['480']."
".$locale['481']."
', '');\"> ', '');\"> ', '');\"> Link');\"> ');\"> ', '');\"> ', '');\"> ', '');\"> ', '');\">
".$locale['482']."
".$locale['483']."
"; if ($step == "edit") echo " ".$locale['485']."

\n"; echo "
\n"; closetable(); tablebreak(); opentable($locale['500']); echo "\n"; $result = dbquery("SELECT * FROM ".$db_prefix."weblink_cats ORDER BY weblink_cat_name"); if (dbrows($result) != 0) { echo "\n"; while ($data = dbarray($result)) { if (!isset($weblink_cat_id)) $weblink_cat_id = ""; if ($data['weblink_cat_id'] == $weblink_cat_id) { $p_img = "off"; $div = ""; } else { $p_img = "on"; $div = "style='display:none'"; } echo "\n"; $result2 = dbquery("SELECT * FROM ".$db_prefix."weblinks WHERE weblink_cat='".$data['weblink_cat_id']."' ORDER BY weblink_name"); if (dbrows($result2) != 0) { echo "\n"; } else { echo "\n"; } } echo "
".$locale['501']." ".$locale['502']."
".$data['weblink_cat_name']."
\n"; while ($data2 = dbarray($result2)) { echo "\n"; } echo "
".$data2['weblink_name']." ".$locale['503']." - ".$locale['504']."
\n"; echo "\n"; } else { echo "
".$locale['506']."

".$locale['507']."

\n"; } closetable(); } else { opentable($locale['500']); echo "
".$locale['508']."
\n".$locale['509']."
\n
".$locale['510']."".$locale['511']."
\n"; closetable(); } echo "\n"; require_once BASEDIR."footer.php"; ?>