From 07253dc75c69cf585ad39a218f3f2cf97b773987 Mon Sep 17 00:00:00 2001 From: jhunkeler Date: Sat, 26 Dec 2009 20:02:05 +0000 Subject: commit before joe fucks shit git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@401 c5b2fb0a-d05d-0410-98c8-828840a80ff6 --- modules/download/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/download') diff --git a/modules/download/index.php b/modules/download/index.php index 1fa99e5..300bd46 100644 --- a/modules/download/index.php +++ b/modules/download/index.php @@ -26,13 +26,13 @@ $download = NULL; $download_relative_path = "modules/" . basename(dirname(__FILE__)) . "/files/"; $download_absolute_path = dirname(__FILE__) . "/files/"; -$result = $db->Query("SELECT uid, name, description, filename FROM bayonet_downloads"); +$result = $db->Query("SELECT `file_id`, `name`, `description`, `filename` FROM `bayonet_downloads`"); while(($row = $db->Fetch($result)) !== false) { $download[] = $row; } -OpenTable(); +OpenContent(); echo "
Downloads
"; echo "
"; foreach($download as $file) @@ -59,7 +59,7 @@ decho($download); echo "
"; -CloseTable(); +CloseContent(); ?> \ No newline at end of file -- cgit