From ca749d32d9423c93cb3ae1b24a526dd45e0f9a5a Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Thu, 23 Dec 2004 01:12:03 +0000 Subject: [PATCH] make use of the new constants of the config file for db connection and base path --- admin/addAppNote.php | 4 +--- admin/addAppVersion.php | 2 +- admin/adminMaintainers.php | 4 ++-- admin/deleteAny.php | 2 +- admin/editAppFamily.php | 6 ++---- admin/editAppNote.php | 5 +---- appbrowse.php | 4 ++-- appview.php | 22 +++++++++------------- bugs.php | 9 +-------- help/index.php | 5 ++--- include/banner.php | 5 ++--- include/comments.php | 3 +-- include/header.php | 8 ++++---- include/html.php | 23 ++++++++++------------- include/menu.php | 13 +++++-------- include/query_users.php | 2 +- include/rating.php | 14 ++++++-------- include/sidebar.php | 25 +++++++++++-------------- include/sidebar_admin.php | 20 +++++++++----------- include/sidebar_login.php | 12 +++++------- include/util.php | 16 ++++++---------- include/vote.php | 5 ++--- index.php | 30 +++++++++++++++--------------- noteview.php | 5 +---- vendorview.php | 2 -- 25 files changed, 100 insertions(+), 146 deletions(-) diff --git a/admin/addAppNote.php b/admin/addAppNote.php index 449539a..c4bd82b 100644 --- a/admin/addAppNote.php +++ b/admin/addAppNote.php @@ -7,8 +7,6 @@ include("path.php"); include(BASE."include/"."incl.php"); require(BASE."include/"."application.php"); -global $apidb_root; - //check for admin privs if(!loggedin() || (!havepriv("admin") && !$_SESSION['current']->is_maintainer($appId,$versionId)) ) { @@ -101,7 +99,7 @@ else echo html_table_end(); echo html_frame_end(); - echo html_back_link(1,$apidb_root."appview.php?appId=$appId".$versionLink); + echo html_back_link(1,BASE."appview.php?appId=$appId".$versionLink); apidb_footer(); } diff --git a/admin/addAppVersion.php b/admin/addAppVersion.php index 9ce6af5..7bf964c 100644 --- a/admin/addAppVersion.php +++ b/admin/addAppVersion.php @@ -41,7 +41,7 @@ else $t->create($query, $table, "versionId"); } -echo html_back_link(1,$apidb_root."appview.php?appId=$appId"); +echo html_back_link(1,BASE."appview.php?appId=$appId"); apidb_footer(); diff --git a/admin/adminMaintainers.php b/admin/adminMaintainers.php index 2e7c690..d9c7be7 100644 --- a/admin/adminMaintainers.php +++ b/admin/adminMaintainers.php @@ -86,13 +86,13 @@ if ($sub) if($ob->superMaintainer) { - echo " ".appIdToName($ob->appId)."\n"; + echo " ".appIdToName($ob->appId)."\n"; echo " ".versionIdToName($ob->versionId)." \n"; echo " Yes\n"; } else { echo " ".appIdToName($ob->appId)."\n"; - echo " ".versionIdToName($ob->versionId)." \n"; + echo " ".versionIdToName($ob->versionId)." \n"; echo " No\n"; } diff --git a/admin/deleteAny.php b/admin/deleteAny.php index b8aa407..f263207 100644 --- a/admin/deleteAny.php +++ b/admin/deleteAny.php @@ -92,7 +92,7 @@ if($what) } //FIXME need to redirect to the page before the confirmation page - redirect($apidb_root."appbrowse.php"); + redirect(BASE."appbrowse.php"); } diff --git a/admin/editAppFamily.php b/admin/editAppFamily.php index 27a0261..bca28b2 100644 --- a/admin/editAppFamily.php +++ b/admin/editAppFamily.php @@ -6,15 +6,13 @@ include(BASE."include/"."incl.php"); include(BASE."include/"."tableve.php"); include(BASE."include/"."qclass.php"); -global $apidb_root; - if(!loggedin() || (!havepriv("admin") && !$_SESSION['current']->ownsApp($appId)) ) { errorpage("Insufficient Privileges!"); exit; } -if($HTTP_POST_VARS) +if($_POST) { $statusMessage = ''; // commit changes of form to database @@ -204,7 +202,7 @@ if($HTTP_POST_VARS) echo '',"\n"; echo html_frame_end(); - echo html_back_link(1,$apidb_root."appview.php?appId=$appId"); + echo html_back_link(1,BASE."appview.php?appId=$appId"); } diff --git a/admin/editAppNote.php b/admin/editAppNote.php index 863a92e..1b5a269 100644 --- a/admin/editAppNote.php +++ b/admin/editAppNote.php @@ -7,9 +7,6 @@ include("path.php"); include(BASE."include/"."incl.php"); require(BASE."include/"."application.php"); -global $apidb_root; - - //check for admin privs if(!loggedin() || (!havepriv("admin") && !$_SESSION['current']->is_maintainer($appId,$versionId)) ) { @@ -164,7 +161,7 @@ else echo html_table_end(); echo html_frame_end(); - echo html_back_link(1,$apidb_root."appview.php?appId=$appId".$versionLink); + echo html_back_link(1,BASE."appview.php?appId=$appId".$versionLink); } diff --git a/appbrowse.php b/appbrowse.php index bb1797c..dea72f1 100644 --- a/appbrowse.php +++ b/appbrowse.php @@ -15,8 +15,8 @@ function admin_menu() else $catId=""; $m = new htmlmenu("Admin"); - $m->add("Edit this Category", $apidb_root."admin/editCategory.php?catId=$catId"); - $url = $apidb_root."admin/deleteAny.php?what=category&catId=$catId&confirmed=yes"; + $m->add("Edit this Category", BASE."admin/editCategory.php?catId=$catId"); + $url = BASE."admin/deleteAny.php?what=category&catId=$catId&confirmed=yes"; $m->add("Delete this Category", "javascript:deleteURL(\"Are you sure?\", \"".$url."\")"); diff --git a/appview.php b/appview.php index bd56c82..08148b9 100644 --- a/appview.php +++ b/appview.php @@ -23,32 +23,30 @@ require(BASE."include/"."maintainer.php"); // NOTE: app Owners will see this menu too, make sure we don't show admin-only options function admin_menu() { - global $apidb_root; - $m = new htmlmenu("Admin"); if($_REQUEST['versionId']) { - $m->add("Add Note", $apidb_root."admin/addAppNote.php?appId=$appId&versionId=".$_REQUEST['versionId']); + $m->add("Add Note", BASE."admin/addAppNote.php?appId=$appId&versionId=".$_REQUEST['versionId']); $m->addmisc(" "); - $m->add("Edit Version", $apidb_root."admin/editAppVersion.php?appId=$appId&versionId=".$_REQUEST['versionId']); + $m->add("Edit Version", BASE."admin/editAppVersion.php?appId=$appId&versionId=".$_REQUEST['versionId']); - $url = $apidb_root."admin/deleteAny.php?what=appVersion&versionId=".$_REQUEST['versionId']."&confirmed=yes"; + $url = BASE."admin/deleteAny.php?what=appVersion&versionId=".$_REQUEST['versionId']."&confirmed=yes"; $m->add("Delete Version", "javascript:deleteURL(\"Are you sure?\", \"".$url."\")"); } else { - $m->add("Add Version", $apidb_root."admin/addAppVersion.php?appId=".$_REQUEST['appId']); + $m->add("Add Version", BASE."admin/addAppVersion.php?appId=".$_REQUEST['appId']); $m->addmisc(" "); - $m->add("Edit App", $apidb_root."admin/editAppFamily.php?appId=".$_REQUEST['appId']); + $m->add("Edit App", BASE."admin/editAppFamily.php?appId=".$_REQUEST['appId']); // global admin options if(havepriv("admin")) { - $url = $apidb_root."admin/deleteAny.php?what=appFamily&appId=".$_REQUEST['appId']."&confirmed=yes"; + $url = BASE."admin/deleteAny.php?what=appFamily&appId=".$_REQUEST['appId']."&confirmed=yes"; $m->add("Delete App", "javascript:deleteURL(\"Are you sure?\", \"".$url."\")"); $m->addmisc(" "); - $m->add("Edit Owners", $apidb_root."admin/editAppOwners.php?appId=".$_REQUEST['appId']); - $m->add("Edit Bundle", $apidb_root."admin/editBundle.php?bundleId=".$_REQUEST['appId']); + $m->add("Edit Owners", BASE."admin/editAppOwners.php?appId=".$_REQUEST['appId']); + $m->add("Edit Bundle", BASE."admin/editBundle.php?bundleId=".$_REQUEST['appId']); } } @@ -62,8 +60,6 @@ function admin_menu() */ function get_screenshot_img($appId, $versionId="") { - global $apidb_root; - if($versionId) { $result = mysql_query("SELECT *, RAND() AS rand FROM appData WHERE appId = $appId AND versionId = $versionId AND type = 'image' ORDER BY rand"); @@ -74,7 +70,7 @@ function get_screenshot_img($appId, $versionId="") if(!$result || !mysql_num_rows($result)) { - $imgFile = "No Screenshot"; + $imgFile = "No Screenshot"; } else { diff --git a/bugs.php b/bugs.php index e9c3122..ef7194e 100644 --- a/bugs.php +++ b/bugs.php @@ -13,15 +13,9 @@ require(BASE."include/"."appdb.php"); require(BASE."include/"."rating.php"); require(BASE."include/"."category.php"); -global $apidb_root; - - - function get_screenshot_img($appId, $versionId) { - global $apidb_root; - if(!$versionId) $versionId = 0; @@ -29,7 +23,7 @@ function get_screenshot_img($appId, $versionId) if(!$result || !mysql_num_rows($result)) { - $imgFile = "No Screenshot"; + $imgFile = "No Screenshot"; } else { @@ -248,4 +242,3 @@ echo p(); apidb_footer(); ?> - diff --git a/help/index.php b/help/index.php index 5baec56..d97ee43 100644 --- a/help/index.php +++ b/help/index.php @@ -6,7 +6,7 @@ include("path.php"); include(BASE."include/"."incl.php"); -$help_path = $apidb_root."/help"; +$help_path = BASE."/help"; if($_GET['topic']) { @@ -18,7 +18,6 @@ if($_GET['topic']) function display_index () { global $help_path; - global $apidb_root; apidb_header("Documentation Index"); @@ -47,7 +46,7 @@ function display_index () $id = $arr[1]; $title = get_help_title("$help_path/$file"); - echo "
  • $title

  • \n"; + echo "
  • $title

  • \n"; } echo "
    \n"; diff --git a/include/banner.php b/include/banner.php index 88927de..0553f48 100644 --- a/include/banner.php +++ b/include/banner.php @@ -11,9 +11,8 @@ function banner_display () { // import banner paths from config - global $apidb_root; - $banner_path_468x60 = $apidb_root."banner/468x60/"; - $banner_path_xml = $apidb_root."banner/xml/"; + $banner_path_468x60 = BASE."banner/468x60/"; + $banner_path_xml = BASE."banner/xml/"; // opening html $banner = ""; diff --git a/include/comments.php b/include/comments.php index 9b767ae..4c9a503 100644 --- a/include/comments.php +++ b/include/comments.php @@ -33,7 +33,6 @@ function forum_lookup_user ($userid) */ function view_app_comment($ob) { - global $apidb_root; echo html_frame_start('','98%'); echo '',"\n"; @@ -67,7 +66,7 @@ function view_app_comment($ob) if(havepriv("admin") || $_SESSION['current']->is_maintainer($ob->appId, $ob->versionId)) { echo ""; - echo "","\n"; diff --git a/include/header.php b/include/header.php index 45fe888..b05700e 100644 --- a/include/header.php +++ b/include/header.php @@ -13,8 +13,8 @@ - - + + @@ -24,9 +24,9 @@
    \n"; + echo "
    \n"; echo "commentId\" />"; echo "appId\" />"; echo "versionId\" /> - + @@ -56,14 +55,12 @@ class htmlmenu { function done($form = null) { - global $apidb_root; - echo '
    Wine HQWine HQ - + diff --git a/include/html.php b/include/html.php index 577c010..89cc8e9 100644 --- a/include/html.php +++ b/include/html.php @@ -193,8 +193,6 @@ function html_imagebutton($text, $url, $extra = "") function html_frame_start($title = "", $width = "", $extra = "", $innerPad = 5) { - global $apidb_root; - if ($width) { $width = 'width="'.$width.'"'; } $str = ''."\n"; @@ -206,19 +204,19 @@ $str .= ' @@ -228,7 +226,7 @@ $str .= ' $str .= ' - + - +
    - - + + - - + + - - + + - - + +
    '.$title.'
    --
    @@ -239,13 +237,12 @@ $str .= ' function html_frame_end($text = "") { - global $apidb_root; $str = '
    --

    diff --git a/include/menu.php b/include/menu.php index e365d08..a90b422 100644 --- a/include/menu.php +++ b/include/menu.php @@ -3,7 +3,6 @@ class htmlmenu { function htmlmenu($name, $form = null) { - global $apidb_root; if ($form) echo "
    \n"; @@ -16,14 +15,14 @@ class htmlmenu { - - + + - + - +
      '.$name.'
    - - + - diff --git a/include/query_users.php b/include/query_users.php index 8b00f30..7d5a499 100644 --- a/include/query_users.php +++ b/include/query_users.php @@ -8,7 +8,7 @@ echo html_frame_start("List Users","400","",0) - + diff --git a/include/rating.php b/include/rating.php index 125a51f..da6f881 100644 --- a/include/rating.php +++ b/include/rating.php @@ -27,10 +27,9 @@ function rating_current_for_user($versionId, $system) */ function rating_menu() { - global $apidb_root; - $s = 's1'; - $n = 's0'; + $s = 's1'; + $n = 's0'; $j = new htmlmenu("Compatibility Rating","updaterating.php"); @@ -68,7 +67,7 @@ function rating_menu() $j->addmisc("","center"); $j->addmisc(""); - $j->add("Rating Help", $apidb_root."help/?topic=ratings"); + $j->add("Rating Help", BASE."help/?topic=ratings"); $j->done(1); } @@ -97,13 +96,12 @@ function rating_for_version($versionId, $system) */ function rating_stars_for_version($versionId, $system) { - global $apidb_root; $r = rating_for_version($versionId, $system); - $s = 's1'; - $n = 's0'; - $h = 's2'; + $s = 's1'; + $n = 's0'; + $h = 's2'; if ($system == "fake") { diff --git a/include/sidebar.php b/include/sidebar.php index 667a28d..527ee06 100644 --- a/include/sidebar.php +++ b/include/sidebar.php @@ -5,24 +5,22 @@ function global_sidebar_menu() { - global $apidb_root, $q; - - $g = new htmlmenu("WineHQ Menu"); - $g->add("Back to WineHQ", "http://www.winehq.org/"); + $g = new htmlmenu(APPDB_OWNER." Menu"); + $g->add("Back to ".APPDB_OWNER, APPDB_OWNER_URL); $g->done(); $g = new htmlmenu("App DB"); - $g->add("AppDB Home", $apidb_root); - $g->add("Browse Apps", $apidb_root."appbrowse.php"); - $g->add("Top 25", $apidb_root."votestats.php"); - $g->add("Submit App", $apidb_root."appsubmit.php"); - $g->add("Documentation", $apidb_root."help/"); - $g->add("Help & Support", $apidb_root."support.php"); - $g->add("Appdb Stats", $apidb_root."appdbStats.php"); + $g->add("AppDB Home", BASE); + $g->add("Browse Apps", BASE."appbrowse.php"); + $g->add("Top 25", BASE."votestats.php"); + $g->add("Submit App", BASE."appsubmit.php"); + $g->add("Documentation", BASE."help/"); + $g->add("Help & Support", BASE."support.php"); + $g->add("Appdb Stats", BASE."appdbStats.php"); $g->done(); $g = new htmlmenu("Search"); - $g->addmisc(app_search_box($q)); + $g->addmisc(app_search_box($_REQUEST['q'])); $g->done(); } @@ -30,8 +28,7 @@ function global_sidebar_menu() { function app_search_box($q = '') { - global $apidb_root; - $str = "\n"; + $str = "\n"; $str .= ""; $str .= "\n"; $str .= "\n"; diff --git a/include/sidebar_admin.php b/include/sidebar_admin.php index 6fee026..ce90db3 100644 --- a/include/sidebar_admin.php +++ b/include/sidebar_admin.php @@ -5,23 +5,21 @@ function global_admin_menu() { - global $apidb_root; - $g = new htmlmenu("Global Admin"); - $g->add("Add Category", $apidb_root."admin/addCategory.php"); - $g->add("Add Application", $apidb_root."admin/addAppFamily.php?catId=0"); - $g->add("Add Vendor", $apidb_root."admin/addVendor.php"); + $g->add("Add Category", BASE."admin/addCategory.php"); + $g->add("Add Application", BASE."admin/addAppFamily.php?catId=0"); + $g->add("Add Vendor", BASE."admin/addVendor.php"); $g->addmisc(" "); - $g->add("List Users", $apidb_root."admin/"); - $g->add("View App Queue (".getQueuedAppCount().")", $apidb_root."admin/adminAppQueue.php"); - $g->add("View App Data Queue (".getQueuedAppDataCount().")", $apidb_root."admin/adminAppDataQueue.php"); - $g->add("View Maintainer Queue (".getQueuedMaintainerCount().")", $apidb_root."admin/adminMaintainerQueue.php"); - $g->add("View Maintainers (".getMaintainerCount().")", $apidb_root."admin/adminMaintainers.php"); + $g->add("List Users", BASE."admin/"); + $g->add("View App Queue (".getQueuedAppCount().")", BASE."admin/adminAppQueue.php"); + $g->add("View App Data Queue (".getQueuedAppDataCount().")", BASE."admin/adminAppDataQueue.php"); + $g->add("View Maintainer Queue (".getQueuedMaintainerCount().")", BASE."admin/adminMaintainerQueue.php"); + $g->add("View Maintainers (".getMaintainerCount().")", BASE."admin/adminMaintainers.php"); $g->addmisc(" "); - $g->add("Comment manager", $apidb_root."admin/adminCommentView.php"); + $g->add("Comment manager", BASE."admin/adminCommentView.php"); $g->done(); } diff --git a/include/sidebar_login.php b/include/sidebar_login.php index f9e8601..635fd86 100644 --- a/include/sidebar_login.php +++ b/include/sidebar_login.php @@ -9,15 +9,13 @@ require_once(BASE."include/"."category.php"); function global_sidebar_login() { - global $apidb_root; - $g = new htmlmenu("User Menu"); if(loggedin()) { - $g->add("Logout", $apidb_root."account.php?cmd=logout"); - $g->add("Preferences", $apidb_root."preferences.php"); + $g->add("Logout", BASE."account.php?cmd=logout"); + $g->add("Preferences", BASE."preferences.php"); /* if this user maintains any applications list them */ /* in their sidebar */ @@ -29,15 +27,15 @@ function global_sidebar_login() { while(list($index, list($appId, $versionId, $superMaintainer)) = each($apps_user_maintains)) { if($superMaintainer) - $g->addmisc("".appIdToName($appId)."*", "center"); + $g->addmisc("".appIdToName($appId)."*", "center"); else - $g->addmisc("".appIdToName($appId)." ".versionIdToName($versionId)."", "center"); + $g->addmisc("".appIdToName($appId)." ".versionIdToName($versionId)."", "center"); } } } else { - $g->add("Login", $apidb_root."account.php?cmd=login"); + $g->add("Login", BASE."account.php?cmd=login"); } $g->done(); diff --git a/include/util.php b/include/util.php index ca79444..aefc4d6 100644 --- a/include/util.php +++ b/include/util.php @@ -5,7 +5,6 @@ $dbref = 0; function opendb() { - global $apidb_dbuser, $apidb_dbpass, $apidb_dbhost, $apidb_db; global $dbcon, $dbref; $dbref++; @@ -13,13 +12,13 @@ function opendb() if($dbcon) return $dbcon; - $dbcon = mysql_connect($apidb_dbhost, $apidb_dbuser, $apidb_dbpass); + $dbcon = mysql_connect(APPS_DBHOST, APPS_DBUSER, APPS_DBPASS); if(!$dbcon) { echo "An error occurred: ".mysql_error()."

    \n"; exit; } - mysql_select_db($apidb_db); + mysql_select_db(APPS_DB); return $dbcon; } @@ -175,7 +174,6 @@ function get_xml_tag ($file, $mode = null) function openbugzilladb() { - global $bugzilla_dbuser, $bugzilla_dbpass, $bugzilla_dbhost, $bugzilla_db, $bugzilla_product_id; global $dbcon, $dbref; $dbref++; @@ -183,13 +181,13 @@ function openbugzilladb() if($dbcon) return $dbcon; - $dbcon = mysql_connect($bugzilla_dbhost, $bugzilla_dbuser, $bugzilla_dbpass); + $dbcon = mysql_connect(BUGZILLA_DBHOST, BUGZILLA_DBUSER, BUGZILLA_DBPASS); if(!$dbcon) { echo "An error occurred: ".mysql_error()."

    \n"; exit; } - mysql_select_db($bugzilla_db); + mysql_select_db(BUGZILLA_DB); return $dbcon; } @@ -205,10 +203,8 @@ function closebugzilladb() function make_bugzilla_version_list($varname, $cvalue) { - global $bugzilla_db, $bugzilla_product_id; - - $table = $bugzilla_db.".versions"; - $where = "WHERE product_id=".$bugzilla_product_id; + $table = BUGZILLA_DB.".versions"; + $where = "WHERE product_id=".BUGZILLA_PRODUCT_ID; $query = "SELECT value FROM $table $where ORDER BY value"; openbugzilladb(); diff --git a/include/vote.php b/include/vote.php index 945517a..b9dd8c8 100644 --- a/include/vote.php +++ b/include/vote.php @@ -112,7 +112,6 @@ function vote_get_user_votes($userId = null) function vote_menu() { global $appId; - global $apidb_root; $m = new htmlmenu("Votes","updatevote.php"); @@ -149,8 +148,8 @@ function vote_menu() $m->addmisc(""); - $m->add("View Results", $apidb_root."votestats.php"); - $m->add("Voting Help", $apidb_root."help/?topic=voting"); + $m->add("View Results", BASE."votestats.php"); + $m->add("Voting Help", BASE."help/?topic=voting"); $m->done(1); } diff --git a/index.php b/index.php index 83010f0..17fe7eb 100644 --- a/index.php +++ b/index.php @@ -81,7 +81,7 @@ direct formatting related flames to Dimitrie O

    Acrobat Reader"; + echo ""; ?> @@ -92,7 +92,7 @@ direct formatting related flames to Dimitrie O WS-FTP LE"; + echo ""; ?> @@ -103,7 +103,7 @@ direct formatting related flames to Dimitrie O mIRC"; + echo ""; ?> @@ -114,7 +114,7 @@ direct formatting related flames to Dimitrie O Putty"; + echo ""; ?> @@ -125,7 +125,7 @@ direct formatting related flames to Dimitrie O FTP Commander"; + echo ""; ?> @@ -136,7 +136,7 @@ direct formatting related flames to Dimitrie O Pegasus Mail"; + echo ""; ?> @@ -147,7 +147,7 @@ direct formatting related flames to Dimitrie O 12Ghosts Zip"; + echo ""; ?> @@ -158,7 +158,7 @@ direct formatting related flames to Dimitrie O WinMerge"; + echo ""; ?> @@ -169,7 +169,7 @@ direct formatting related flames to Dimitrie O FileZilla"; + echo ""; ?> @@ -189,7 +189,7 @@ direct formatting related flames to Dimitrie O WinZip"; +echo ""; ?> @@ -202,7 +202,7 @@ echo ""; ICQ"; +echo ""; ?> @@ -217,7 +217,7 @@ echo ""; Winamp"; +echo ""; ?> WinRAR"; +echo ""; ?> @@ -246,7 +246,7 @@ echo ""; WinMX"; +echo ""; ?> @@ -259,7 +259,7 @@ echo ""; SnagIt"; + echo ""; ?> diff --git a/noteview.php b/noteview.php index 3826cef..a348d94 100644 --- a/noteview.php +++ b/noteview.php @@ -6,15 +6,12 @@ include("path.php"); require(BASE."include/"."incl.php"); -global $apidb_root; - function admin_menu() { global $noteId; - global $apidb_root; $m = new htmlmenu("Admin"); - $m->add("Edit this Note", $apidb_root."admin/editAppNote.php?noteId=$noteId"); + $m->add("Edit this Note", BASE."admin/editAppNote.php?noteId=$noteId"); $m->done(); } diff --git a/vendorview.php b/vendorview.php index 833fbe5..4c1da71 100644 --- a/vendorview.php +++ b/vendorview.php @@ -8,8 +8,6 @@ require(BASE."include/"."incl.php"); require(BASE."include/"."application.php"); require(BASE."include/"."comments.php"); -global $apidb_root; - $vendorId = $_REQUEST['vendorId']; //exit with error if no vendor
    Acrobat Reader5.0.5 This is the solution to your PDF troubles.
    WS-FTP LE5.08 A great application that allows remote file edits, chmods on UNIX boxes and file moves.
    mIRC6.03 This is a popular IRC client.
    Putty0.52 Simple Telnet/SSH client & console.
    FTP Commander5.58 A remote file management and command-line FTP client.
    Pegasus Mail4.02 E-mail client of choice for many beginner and advanced users.
    12Ghosts ZipXP/31 This is a fast compression utility.
    WinMerge2.1.4 A visual text file differencing and merging tool for Win32 platforms.
    FileZilla2.2.2 FileZilla is a fast FTP client for Windows with a lot of features.
    WinZip8.1 The most popular compression utility for Windows just got better.WinZip
    ICQ2002a The new and improved ICQ is here with all the great features you've come to expect -- plus a whole new set!ICQ
    Winamp3.0 This program has so many possibilities and offers such a wide @@ -230,7 +230,7 @@ range of interfaces, you'll need no other player.
    WinRAR3.00 This is a version of the popular RAR compression format, offering significantly improved compression ratios.WinRAR
    WinMX3.22 Take file sharing to a new level.WinMX
    SnagIt6.1.1 Use this to capture and manage images, text, and video.