// // http://www.chezgreg.net/coppermine/ // // ------------------------------------------------------------------------- // // Based on PHPhotoalbum by Henning Střverud // // http://www.stoverud.com/PHPhotoalbum/ // // ------------------------------------------------------------------------- // // This program is free software; you can redistribute it and/or modify // // it under the terms of the GNU General Public License as published by // // the Free Software Foundation; either version 2 of the License, or // // (at your option) any later version. // // ------------------------------------------------------------------------- // include("include/init.inc.php"); auth_needed(); pageheader("Update album"); starttable("100%"); $result = mysql_query("SELECT * from $CONFIG[TABLE_ALBUMS] WHERE aid='$id'"); $count = mysql_num_rows($result); if($count > 0){ $row = mysql_fetch_array($result); $title = stripslashes($row["title"]); $description = stripslashes($row["description"]); if ($row["uploads"] == "YES") { $yes_checked = "CHECKED"; } else { $no_checked = "CHECKED"; } echo <<

Update album

Title

Description
Allow user uploads
[ Help ]
Yes
No



EOT; } else { echo <<

Error accessing album


There was an error when trying to access the album !


BACK

EOT; } endtable(); pagefooter("100%"); ?>