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. ******************************************** Coppermine version: 1.5.0 $HeadURL$ $Revision: $ $LastChangedBy: $ $Date: $ **********************************************/ define('IN_COPPERMINE', true); require 'include/init.inc.php'; if (isset($_POST['exportSubmit'])) { $_POST['exportType'] == 'html' ? initHTMLExport($_POST['album'], $_POST['directory']) : initPhotoCopy($_POST['album'], $_POST['directory']); } else { if (isset($_GET['album']) && isset($_GET['path']) && isset($_GET['page'])) { exportThumbnailPage(); } else { if (isset($_GET['id']) && isset($_GET['dir'])) { copyPhoto($_GET['id'], $_GET['dir']); } else { pageheader($section, $meta_keywords); starttable('60%', 'Chose an Album'); ?> <tr><td> </td></tr> <tr> <form action='<?php echo $_SERVER['PHP_SELF']; ?>
$URL$ $Revision: 4224 $ $LastChangedBy: gaugau $ $Date: 2008-01-26 12:42:00 +0100 (Sat, 26 Jan 2008) $ **********************************************/ define('IN_COPPERMINE', true); define('EXPORT_PHP', true); require 'include/init.inc.php'; js_include('js/jquery.js'); js_include('js/jquery.cluetip.js'); if (!GALLERY_ADMIN_MODE) { cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__); } pageheader($lang_export_php['export']); if ($superCage->post->keyExists('exportSubmit')) { $superCage->post->getAlpha('exportType') == 'html' ? initHTMLExport($superCage->post->getInt('album'), $superCage->post->getEscaped('directory')) : initPhotoCopy($superCage->post->getInt('album'), $superCage->post->getEscaped('directory')); } else { if ($superCage->get->keyExists('album') && $superCage->get->keyExists('path') && $superCage->get->keyExists('page')) { exportThumbnailPage($superCage->get->getInt('album'), $superCage->get->getInt('page'), $superCage->get->getEscaped('path')); } else { if ($superCage->get->keyExists('id') && $superCage->get->keyExists('dir')) { copyPhoto($superCage->get->getInt('id'), $superCage->get->getEscaped('dir')); } else { echo '<form action="export.php" method="POST">'; $options = ''; $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} ORDER BY `title`"); while ($album = mysql_fetch_assoc($result)) { $options .= "<option value=\"{$album['aid']}\">{$album['title']}</option>"; } starttable('-1', $lang_export_php['export'] . ' ' . cpg_display_help('f=export.htm&as=export&ae=export_end', '600', '450'), 2); echo <<<EOT