<?php /* Das Elm@r-Modul fuer osCommerce Unterstuetzung des shopinfo.xml-Standards http://projekt.wifo.uni-mannheim.de/elmar/nav/osCommerce Copyright (c) 2004-2005 Dr. Stefan Kuhlins, http://kuhlins.de/ Released under the GNU General Public License $Id: backupfile.php 64 2005-12-19 18:07:20Z Michael $ */ if (@(include_once 'checkstart.inc.php')) { checkstart(basename('backup.php')); } require ELMAR_PATH . 'backup.inc.php'; require ELMAR_PATH . 'tools/zip.lib.php'; $zipfile = new zipfile(); $backupcounter = 0; for ($i = 0, $n = sizeof($files); $i < $n; $i++) { // entspricht PHP4: foreach($files as $file) $file = $files[$i]; $fn = $file->path . $file->name; if ($file->paramcheck && file_exists($fn)) { $fs = filesize($fn); if ($fs > MAX_FILE_SIZE) { error_log(date(PHP_DATE_TIME_FORMAT) . " Elm@r-osCommerce-Modul: Die Datei {$fn} ist mit {$fs} Bytes zu gross fuer ein On-the-fly-Backup.", 0); //trigger_error("Die Datei $fn ist mit $fs Bytes zu groß für ein On-the-fly-Backup.", E_USER_NOTICE); } else { $handle = fopen($fn, 'rb'); $data = fread($handle, $fs); fclose($handle); $fn = $file->path() . $file->name;
<?php /* Das Elm@r-Modul fuer osCommerce Unterstuetzung des shopinfo.xml-Standards http://projekt.wifo.uni-mannheim.de/elmar/nav/osCommerce Copyright (c) 2004-2005 Dr. Stefan Kuhlins, http://kuhlins.de/ Released under the GNU General Public License $Id: sysinfo.php 64 2005-12-19 18:07:20Z Michael $ */ if (@(include_once 'checkstart.inc.php')) { checkstart(basename($_SERVER['PHP_SELF'])); } ?> <h1>Systeminformationen</h1> <div class="middleCell" style="width:600px"> <p>Die aufgeführten Werte werden in der Konfigurationsdatei <code>php.ini</code> vom Adminstrator des Webservers eingestellt. Unter Umständen führen einige Einstellungen zu Beschränkungen in der Funktionalität des Elm@r-Moduls. Wenn der Webadmin nicht bereit ist, die Einstellungen zu ändern, müssen Sie mit diesen Beschränkungen leider leben. Soweit das technisch möglich ist, versucht das Elm@r-Modul die Probleme auf Kosten des Komforts zu umgehen.</p> <dl> <?php if (ini_get('safe_mode')) { ?> <dt><span class="error"><code>safe_mode</code> ist aktiv.</span></dt> <dd>Das Elm@r-Modul kann u. a. die Ausführungszeit seiner PHP-Skripten nicht verlängern, sofern dies bei großen Produktdateien erforderlich sein sollte.</dd> <?php } ?> <?php $max_execution_time = (int) ini_get('max_execution_time');
<?php /* Das Elm@r-Modul fuer osCommerce Unterstuetzung des shopinfo.xml-Standards http://projekt.wifo.uni-mannheim.de/elmar/nav/osCommerce Copyright (c) 2004-2005 Dr. Stefan Kuhlins, http://kuhlins.de/ Released under the GNU General Public License $Id: login.php 64 2005-12-19 18:07:20Z Michael $ */ if (@(include_once 'checkstart.inc.php')) { checkstart(basename('index.php')); } $elmar_password_time = isset($_REQUEST['elmar_password_time']) ? $_REQUEST['elmar_password_time'] : 0; if (isset($_REQUEST['elmar_password_input'])) { ?> <h1 class="error">Fehler</h1> <div class="errorCell"> <p>Das eingegebene Passwort stimmt nicht.</p> </div> <?php } ?> <SCRIPT TYPE="text/javascript" SRC="<?php echo ELMAR_PATH; ?> check.js"></SCRIPT> <h1>Login</h1> <div class="middleCell">