function dn($params) { $file = $params[0]; if (md5_check($file, $params[1]) && $file && preg_match('/^[\\(\\) 0-9a-zA-Z\\._\\-]+$/', $file) && file_exists(ROOT . "../needtobedelete/{$file}")) { if (f("force") || $this->is_post()) { $this->mail_me('FILE DOWNLOAD', "<br>file downloaded:{$file}" . $this->get_client_info()); View::download($file, "../needtobedelete/{$file}"); } else { $filesize = sprintf("%.1f", filesize(ROOT . "../needtobedelete/{$file}") / 1024); echo "<html><head><title>" . e($file) . " download</title></head><body><div align=center><a href=# onclick=\"document.form1.submit();return false;\"><img border=0 src=/public/image/download.png></a><br><h2>" . e($file) . "({$filesize} k)</h2><hr><form name=form1 method=POST><input type=submit value=download></form></div></body></html>"; } } else { echo "<html><head><title>File not found </title></head><body><div align=center><img border=0 src=/public/image/404.jpg><br>File not found on this server. <br>Maybe it has been deleted by administrator.<br>Any question, contact <a href=/in/x2f/contact/>here</a></div></body></html>"; } exit; }
echo $shopinfo_url; ?> </code></td></tr> <tr><td> </td><td><input type=submit value="Weiter"></td></tr> </table> </form> </div> <?php } } else { $change_shopinfo = '<font color="red">Die Parameter waren schon wie gewünscht eingestellt.</font>'; } } } } else { $shopinfo_changed = md5_check(DIR_FS_SHOPINFO_XML); } ?> <?php if (!$reload) { ?> <?php if (!shopNameOk() || !emailOk()) { ?> <h1 class="error">Achtung</h1> <div class="errorCell"> <p> Sie haben anscheinend noch <?php
<?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: backup.php 64 2005-12-19 18:07:20Z Michael $ */ if (@(include_once 'checkstart.inc.php')) { checkstart(basename($_SERVER['PHP_SELF'])); } require ELMAR_PATH . 'backup.inc.php'; md5_check(DIR_FS_SHOPINFO_XML); $doZip = function_exists('gzcompress'); ?> <SCRIPT TYPE="text/javascript" SRC="<?php echo ELMAR_PATH; ?> check.js"></SCRIPT> <h1>Backup</h1> <div class="middleCell"> <p> <?php if ($doZip) { ?> Bitte wählen Sie aus, welche Dateien gesichert werden sollen. Dateien, die größer als <?php echo MAX_FILE_SIZE_TEXT;