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

\n"; echo "
\n"; closetable(); tablebreak(); opentable($locale['500']); echo "\n"; $result = dbquery("SELECT * FROM ".$db_prefix."download_cats ORDER BY download_cat_name"); if (dbrows($result) != 0) { echo "\n"; while ($data = dbarray($result)) { if (!isset($download_cat_id)) $download_cat_id = ""; if ($data['download_cat_id'] == $download_cat_id) { $p_img = "off"; $div = ""; } else { $p_img = "on"; $div = "style='display:none'"; } echo "\n"; $result2 = dbquery("SELECT * FROM ".$db_prefix."downloads WHERE download_cat='".$data['download_cat_id']."' ORDER BY download_title"); if (dbrows($result2) != 0) { echo "\n"; } else { echo "\n"; } } echo "
".$locale['501']." ".$locale['502']."
".$data['download_cat_name']."
\n"; while ($data2 = dbarray($result2)) { if (!strstr($data2['download_url'],"http://") && !strstr($data2['download_url'],"../")) { $download_url = BASEDIR.$data2['download_url']; } else { $download_url = $data2['download_url']; } echo "\n\n"; } echo "
".$data2['download_title']." ".$locale['503']." - ".$locale['504']."
\n"; echo "\n"; } else { echo "
".$locale['506']."

".$locale['507']."

\n"; } closetable(); } else { opentable($locale['500']); echo "
".$locale['508']."
".$locale['509']."

".$locale['510']."".$locale['511']."
\n"; closetable(); } echo "\n"; require_once BASEDIR."footer.php"; ?>