include "../../../../connect.php";
include "../../../../func.inc.php";
if ($_GET["type"] == "download") {
$res = mysql_query("SELECT download_cat, download_name FROM ".$tblprefix."tbldownloads ORDER BY download_cat, download_name");
while ($geg = mysql_fetch_array($res)) {
echo "document.write(\"\");\n";
}
} else {
$res = mysql_query("SELECT content_label, content_txtid FROM ".$tblprefix."tblcontent ORDER BY content_label");
while ($geg = mysql_fetch_array($res)) {
echo "document.write(\"\");\n";
}
}
?>