0) $error = "The $server domain already has a link registered with us."; } if ($error == "OK") { dbQuery("INSERT INTO ".$m_DB_prefix."links SET URL='".$web_url."', email='".$web_email."', `desc`='".$web_desc."', title='".$web_title."', ". "added_to='".$web_categ."', linkback_on='".$web_recip."', linkback_act=1, visible=-1"); /* chdir("admin"); GenerateLinksPage($web_categ); chdir(".."); */ $error = "Done"; } } function GenerateCategoryListing($parent, $curText) { global $categories, $m_DB_prefix, $web_categ; $categs = dbQuery("SELECT id, title FROM ".$m_DB_prefix."category WHERE parent='".$parent."' ORDER BY title"); while ($row = dbFetch($categs)) { if ($row[0] != 1) $categories .= "