PDF rausgenommen

This commit is contained in:
aschwarz
2023-01-23 11:03:31 +01:00
parent 82d562a322
commit a6523903eb
28078 changed files with 4247552 additions and 2 deletions

View File

@ -0,0 +1,320 @@
<?php
/* ----------------------------------------------------------------------
$Id: check.php,v 1.1 2007/06/13 16:41:17 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
File: install.php,v 1.7 2004/08/26 05:20:59 rcastley
----------------------------------------------------------------------
copyright (C) 2000 - 2004 Miro International Pty Ltd
license http://www.gnu.org/copyleft/gpl.html GNU/GPL
Mambo is Free Software
----------------------------------------------------------------------
Based on:
File: check.php,v 1.6 2002/02/04 18:51:32 voll
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Based on:
PHP-NUKE Web Portal System - http://phpnuke.org/
Thatware - http://thatware.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Gregor J. Rothfuss
Purpose of file: Provide checks for the installer.
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
function oosCheckPHP() {
global $currentlang;
$oos_root = dirname($_SERVER['PHP_SELF']) . '/';
$oos_root = str_replace('/install/','/',$oos_root);
$oos_core = oos_httpCoreDir();
$oos_core = str_replace('/install/','/',$oos_core);
$old_htaccess = @file_get_contents($oos_core . '.htaccess');
$fp = @fopen($oos_core . '.htaccess', 'w');
$oos_host = preg_replace('@^([^:]+):?.*$@', '\1', $_SERVER['HTTP_HOST']);
echo '<font class="oos-title">' . PHP_CHECK_1 . '</font><br />';
echo '<font class="oos-normal">' . PHP_CHECK_2. '</font><br />';
$check_php = true;
$rewrite = 'none';
?>
<table class="content">
<tr>
<td>PHP version >= 7.2.0</td>
<td align="left"><?php echo phpversion() < '7.2.0' ? '<b><font color="red">No</font></b>' : '<b><font color="green">Yes</font></b>';?></td>
</tr>
<tr>
<td>&nbsp; - MySQL support</td>
<td align="left"><?php echo extension_loaded( 'mysqli' ) ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>';?>
</td>
</tr>
<tr>
<td>&nbsp; - GD support</td>
<td align="left"><?php echo extension_loaded( 'gd' ) ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>';?>
</td>
</tr>
<tr>
<td>&nbsp; - cURL support</td>
<td align="left"><?php echo extension_loaded( 'curl' ) ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>';?>
</td>
</tr>
<tr>
<td>&nbsp; - OpenSSL support</td>
<td align="left"><?php echo extension_loaded( 'openssl' ) ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>';?>
</td>
</tr>
<tr>
<td>&nbsp; - zlib compression support</td>
<td align="left"><?php echo extension_loaded('zlib') ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>';?></td>
</tr>
<tr>
<td>&nbsp; - XML support</td>
<td align="left"><?php echo extension_loaded('xml') ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>';?>
</td>
</tr>
<tr>
<td>Session save path</td>
<td align="left">
<b><?php echo (($sp=ini_get('session.save_path'))?$sp:'Not set'); ?></b>,
<?php echo is_writable( $sp ) ? '<b><font color="green">Writeable</font></b>' : '<b><font color="red">Unwriteable</font></b>';?>
</td>
</tr>
</table>
<br />
<br />
<table class="content">
<tr>
<td class="toggle">Directive</td>
<td class="toggle">Recommended</td>
<td class="toggle">Actual</td>
</tr>
<tr>
<td>Safe Mode:</td>
<td class="toggle">OFF</td>
<td>
<?php
if ( oosGetPHPSetting('safe_mode') == 'OFF' ) {
?>
<font color="green"><b>
<?php
} else {
?>
<font color="red"><b>
<?php
}
echo oosGetPHPSetting('safe_mode');
?>
</b></font><td>
</tr>
<tr>
<td>Display Errors:</td>
<td class="toggle">OFF</td>
<td>
<?php
if ( oosGetPHPSetting('display_errors') == 'OFF' ) {
?>
<font color="green"><b>
<?php
} else {
?>
<font color="red" style="bold"><b>
<?php
}
echo oosGetPHPSetting('display_errors');
?>
</b></font></td>
</tr>
<tr>
<td>File Uploads:</td>
<td class="toggle">ON</td>
<td>
<?php
if ( oosGetPHPSetting('file_uploads') == 'ON' ) {
?>
<font color="green"><b>
<?php
} else {
?>
<font color="red" style="bold"><b>
<?php
}
echo oosGetPHPSetting('file_uploads');
?>
</b></font></td>
</tr>
<tr>
<td>Register Globals:
</td>
<td class="toggle">OFF</td>
<td>
<?php
if ( oosGetPHPSetting('register_globals') == 'OFF' ) {
?>
<font color="green"><b>
<?php
} else {
?>
<font color="red" style="bold"><b>
<?php
}
echo oosGetPHPSetting('register_globals');
?>
</b></font></td>
</tr>
<tr>
<td>Output Buffering:</td>
<td class="toggle">OFF</td>
<td>
<?php
if ( oosGetPHPSetting('output_buffering') == 'OFF' ) {
?>
<font color="green"><b>
<?php
} else {
?>
<font color="red" style="bold"><b>
<?php
}
echo oosGetPHPSetting('output_buffering');
?>
</b></font></td>
</tr>
<tr>
<td>Session auto start:</td>
<td class="toggle">OFF</td>
<td>
<?php
if ( oosGetPHPSetting('session.auto_start') == 'OFF' ) {
?>
<font color="green"><b>
<?php
} else {
//$check_php = false;
?>
<font color="red" style="bold"><b>
<?php
}
echo oosGetPHPSetting('session.auto_start');
?>
</b></font></td>
</tr>
</table>
<?php
if (!function_exists('imagetypes')) {
echo '<br /><font class="oos-error">' . PHP_CHECK_12 . '</font><br />';
echo '<font class="oos-title">' . PHP_CHECK_13 . '</font><br />';
$check_php = false;
} elseif (!function_exists('imagecreatetruecolor')) {
echo '<br /><font class="oos-error">' . PHP_CHECK_14 . '</font><br />';
echo '<font class="oos-title">' . PHP_CHECK_15 . '</font><br />';
}
if (!isset($_SERVER['PHP_SELF'])) {
echo '<br /><font class="oos-error">' . PHP_CHECK_16 . '</font><br />';
echo '<font class="oos-title">' . PHP_CHECK_17 . '</font><br /><br />';
$check_php = false;
}
if (!$fp) {
echo '<br />';
printf(HTACCESS_ERROR,
'<font class="oos-error"><b>chmod go+rwx ' . $oos_core . '</b></font>'
);
// $check_php = false;
} else {
fwrite($fp, 'ErrorDocument 404 ' . $oos_root . 'index.php');
fclose($fp);
// Do a request on a nonexistant file to see, if our htaccess allows ErrorDocument
$sock = @fsockopen($oos_host, $_SERVER['SERVER_PORT'], $errorno, $errorstring, 10);
$response = '';
if ($sock) {
fputs($sock, "GET {$oos_root}nonexistant HTTP/1.0\r\n");
fputs($sock, "Host: $oos_host\r\n");
fputs($sock, "User-Agent: OOS[OSIS Online Shop]/{OOS_VERSION}\r\n");
fputs($sock, "Connection: close\r\n\r\n");
while (!feof($sock) && strlen($response) < 4096) {
$response .= fgets($sock, 400);
}
fclose($sock);
}
if (preg_match('@^HTTP/\d\.\d 200@', $response)) {
$rewrite = 'errordocs';
}
if (!empty($old_htaccess)) {
$fp = @fopen($oos_core . '.htaccess', 'w');
fwrite($fp, $old_htaccess);
fclose($fp);
} else {
@unlink($oos_core . '.htaccess');
}
}
echo '<br /><br /><font class="oos-title">' . CHMOD_CHECK_1 . '</font><br /><br />';
echo '<font class="oos-normal">' . CHMOD_CHECK_2. '</font>';
$file = '../includes/configure.php';
if (is_writable($file)){
echo '<br /><br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font color="green">' . CHMOD_CHECK_3 . '</font><br />';
} else {
echo '<br /><br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . CHMOD_CHECK_4 . '</font><br />';
$check_php = false;
}
if ($check_php == true) {
echo '<br /><br /><font class="oos-normal">' . PHP_CHECK_OK . '</font><br />';
echo '<p><form action="step.php" method="post">';
echo '<input type="hidden" name="currentlang" value="' . $currentlang . '">';
echo '<input type="hidden" name="op" value="DBSubmit">';
echo '<input type="hidden" name="host_conf" value="' . $rewrite .'">';
echo '<center><input type="submit" value="' . BTN_CONTINUE . '"></center></form></p>';
} else {
echo '<p><form action="step.php" method="post">';
echo '<input type="hidden" name="currentlang" value="' . $currentlang . '">';
echo '<input type="hidden" name="op" value="PHP_Check">';
echo '<input type="hidden" name="agreecheck" value="ok">';
echo '<center><input type="submit" value="' . BTN_RECHECK . '"></center></form></p>';
}
}
function oosGetPHPSetting($val) {
$r = (ini_get($val) == '1' ? 1 : 0);
return $r ? 'ON' : 'OFF';
}

View File

@ -0,0 +1,510 @@
=== osis online shop ===
Basiert auf:
osCommerce 2.2 Milestone 1
Copyright (c) osCommerce 2003
osCommerce, Open Source E-Commerce Solutions
Copyright (c) 2003 osCommerce
http://www.oscommerce.com
Released under GNU General Public License (GPL)
Die Installation basiert auf:
POST-NUKE Content Management System
Copyright (C) 2001-2003 by the Post-Nuke Development Team.
http://www.postnuke.com/
Released under GNU General Public License (GPL)
OSC German Banktransfer
(http://www.oscommerce.com/community/contributions,826)
Contribution based on:
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
Maintainer: Dominik Guder <osc@guder.org> (dogu)
Extensioncode: Marcel Bossert-Schwab <info@wernich.de> (mbs)
Family Products V1.1
Chris Sullivan
http://www.Eclyptiq.com
Released under the GNU General Public License
osC Search enhancements
by Cheng
Released under the GNU General Public License
PDF Datasheet Creator
v1.1 2003/03/11 13:46:29 ip chilipepper.it
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
Erweiterungen zur Bercksichtigung der
DIRECTIVE 2000/31/EC OF THE EUROPEAN PARLIAMENT AND OF THE COUNCIL
Grundlage hierfr ist das europ?sche eCommerce Gesetz mit
seinen landesspezifischen Ausfhrungsgesetzen
Autor: Thomas Plänkers (webmaster@oscommerce.at)
Released under the GNU General Public License v2.0 (oder neuer)
BruttoAdmin V1.1 for OSC http://www.oscommerce.com
Released under the GNU General Public License
Copyright 2002 Henri Schmidhuber
mailto: info@in-solution.de http://www.in-solution.de
based on tep_snapshot-20020914.zip
check http://www.in-solution.org for updates and other free addons
This addon is based on "Nettopreisberechnung" of Matthias Hinsche http://www.gamesempire.de
OSC-SupportTicketSystem
Copyright (c) 2003 Henri Schmidhuber IN-Solution.de
Contribution based on:
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
OSC-Affiliate 1.0
Henri Schmidhuber IN-Solution http://www.in-solution.de
Steve Kemp Snowtech Services http://www.snowtech.com.au
Ron Seigel
Hubert Keil http://www.win-vermieter.de/osc/
Thomas Pl?kers TheMedia http://themedia.at
Contribution based on:
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 - 2003 osCommerce
Released under the GNU General Public License
Moneybookers.com
Paymentmodul for osCommerce PR2.2-CVS
Released under the GNU General Public License
Basiscode by: Guido Bunte (mailto:gbunte@info-tec.net)
WorldPay Payment Callback Module V4.0 Version 1.4
Paymentmodul for osCommerce 2.2 Milestone 1
Released under the GNU General Public License
Author : Graeme Conkie (mailto:graeme@conkie.net)
Downloads Controller
WebMakers.com Added: Downloads Controller
Written by Linda McGrath osCOMMERCE@WebMakers.com
http://www.thewebmakerscorner.com
Quantity Controller v5.0
WebMakers.com Added: Additional Functions
Written by Linda McGrath osCOMMERCE@WebMakers.com
http://www.thewebmakerscorner.com
Includes: Catagory Drop Down box option
by David Garcia Watkins <dgw@qlogic.net>
Modified as an option for normal category box or drop down and uses the Hidden Category
Includes: Category Tabs
by Paul Marshall <pmarshal@protelligence.com>
Includes: LoginBox by
Aubrey Kilian <aubrey@mycon.co.za>
Modified to work as both a Login and My Account box.
Includes: MO Pics Add-on -
combined work of: John Poynton, Richard Aspden, Brandon Sweet
Modified for easier insertion into product_info.php via include files
Google XML Sitemap Feed Cron Script
Copyright 2005 Bobby Easland
http://www.oscommerce-freelancers.com/
Released under the GNU General Public License
Images_resize Vs 1.3 for OSC http://www.oscommerce.com
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 - 2003 osCommerce
Released under the GNU General Public License
based on osCommerce 2.2MS1
check http://www.in-solution.org for updates and other free addons
Copyright 2003 Henri Schmidhuber
mailto: info@in-solution.de http://www.in-solution.de
New Header Pics
Any feedback or suggestions are welcome:
http://forums.oscommerce.com/profile.php?mode=viewprofile&u=1217
Vincent vom Kothen
Released under the GNU General Public License
Order Total Module: Netto-Betrag (net amount)
Autor: Stephan Hilchenbach (info@elcats.de)
Released under the GNU General Public License
Berechnung der Nachnahmegebühren
Dipl.-Ing. Thomas Plänkers TheMedia http://www.themedia.at
(osCommerce-Dev.-Team Member und Webmaster des deutschen Supportforums)
Released under the GNU General Public License
Paymentmodul: Cash (Barzahlung)
Dipl.-Ing. Thomas Plänkers TheMedia http://www.themedia.at
(osCommerce-Dev.-Team Member und Webmaster des deutschen Supportforums)
Released under the GNU General Public License
Paymentmodul: Invoice (Rechnung)
Dipl.-Ing. Thomas Plänkers TheMedia http://www.themedia.at
(osCommerce-Dev.-Team Member und Webmaster des deutschen Supportforums)
Released under the GNU General Public License
Shippingmodul: German Post (Deutsche Post WorldNet)
Dipl.-Ing. Thomas Plänkers TheMedia http://www.themedia.at
(osCommerce-Dev.-Team Member und Webmaster des deutschen Supportforums)
Released under the GNU General Public License
Shippingmodul: Die Schweizerische Post
Dipl.-Ing. Thomas Plänkers TheMedia http://www.themedia.at
(osCommerce-Dev.-Team Member und Webmaster des deutschen Supportforums)
Released under the GNU General Public License
Shippingmodul: Gewichtsabhängige Versandkosten
Fabian Lindhardt (FLindhardt@netBIT.de)
Dipl.-Ing. Thomas Plänkers TheMedia http://www.themedia.at
(osCommerce-Dev.-Team Member und Webmaster des deutschen Supportforums)
Released under the GNU General Public License
Shippingmodul: Austrian Post (Österreichische Post)
Dipl.-Ing. Thomas Plänkers TheMedia http://www.themedia.at
(osCommerce-Dev.-Team Member und Webmaster des deutschen Supportforums)
Released under the GNU General Public License
Shippingmodul: FedEx Express Europa
Dipl.-Ing. Thomas Plänkers TheMedia http://www.themedia.at
(osCommerce-Dev.-Team Member und Webmaster des deutschen Supportforums)
Released under the GNU General Public License
Category Descriptions contribution for osCommerce 2.2
Author: Brian Lowe <blowe@wpcusrgrp.org>
Date: September 2002 (version 1.1)
Released under the GNU General Public License
AutoLogon V1.03 2003/01/18
Contribution to OScommerce providing an automatic-login feature to returning customers
http://www.hmcs.nl
Copyright (c) 2003 HMCservices, Marcel van Lieshout
Released under the GNU General Public License
Credit Class GV/Discount Coupon v5
Ian C Wilson
http://www.phesis.org
Released under the GNU General Public License
Übersetzung Gutschein
Mario Schröder (Bully)<info@schroederedv.de>
http://www.schroederedv.de/
basic Wishlist mod.
benjamin@prosynergysales.com and at ICQ 161144104.
examples of my mods are on http://www.allthingsnewage.com
spg_manual_info
P&G Shipping Module Version 0.4 12/03/2002
osCommerce Shipping Management Module
Copyright (c) 2002 - Oliver Baelde
http://www.francecontacts.com
dev@francecontacts.com
- eCommerce Solutions development and integration -
Released under the GNU General Public License
Reset the counter of products viewed
Ulrich Schroeder (wozu@gmx.net)
Released under the GNU General Public License
File Upload module built on top of the Option Type Feature contribution
Changes for the FILE type are by Matt Fletcher <osc@iiinetworks.net>
Product Attributes - Option Type Feature
by Chandra Roukema <chandra@raaktechnologies.com>
modifications by Dominik Guder <osc@guder.org>
for osCommerce V2.2-MS2 (2003-07-17) (http://www.oscommerce.com)
Released under the GNU General Public License
Order Editor
(http://www.oscommerce.com/community/contributions,1435)
Contribution based on:
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
Original code by Jonathan Hilgeman.
Edited version: 28/06/2004 - v1.55 dspan modification by Alex Drako
v.1.55 NextGen modification done by Excubitor
ADMIN ACCESS with LEVEL
for osCommerce's Administration Tool
Zaenal Muttaqin <zaenal@paramartha.org>
Released under the GNU General Public License
SpiderKiller 1.2
Copyright (c) 2003 Henri Schmidhuber IN-Solution.de
Links Manager for osC(MS2) v1.01
Author: VJ <http://www.vjdom.com>
Released under the GNU General Public License
ErrorDocument 404 basiert auf:
POST-NUKE Content Management System
Copyright (C) 2001-2003 by the Post-Nuke Development Team.
http://www.postnuke.com/
Released under GNU General Public License (GPL)
HTTP Protocol Server/Request/Response utilities
Copyright (C) 2002 by the Xaraya Development Team.
http://www.xaraya.com
Released under GNU General Public License (GPL)
PHP-Barcode
Copyright (c) 2001,2002,2003 by Folke Ashberg <folke@ashberg.de>
The newest version can be found at http://www.ashberg.de/php-barcode/
Released under GNU Lesser General Public License.
PclZip
(c) Vincent Blavet - vincent@phpconcept.net
http://www.phpconcept.net
Released under GNU Lesser GPL library license.
FPDF Library for PHP4
by Olivier Plathey
http://www.fpdf.org
Released under Freeware
phpMailer Library for PHP4
(c) Brent R. Matzelle <bmatzelle@yahoo.com>
http://phpmailer.sourceforge.net
Released under GNU Lesser GPL library license.
Watermarking Photos with PHP
(c) 2002 by J Wynia
http://www.phpgeek.com/articles.php?content_id=6
Unsharp Mask for PHP - version 2.0
Unsharp mask algorithm by Torstein Hønsi 2003-06
http://vikjavev.no/
Image2swf
Autor: Michael Plies
kpa@see2b.de
Cross-browser tooltips
Copyright (c) 2002-2005 Walter Zorn. All rights reserved.
http://www.walterzorn.com )
Released under GNU Lesser General Public License.
SPAW Editor PHP Edition
SPAW PHP WYSIWYG editor control
Developed: Alan Mendelevich, alan@solmetra.lt
Copyright: Solmetra (c)2003 All rights reserved.
http://www.solmetra.com
Released under the GNU General Public License
SOLMETRA Maps
Developed: Alan Mendelevich, dev@solmetra.com
Martynas Majeris martynas@solmetra.com
Copyright: Solmetra (c)2006 All rights reserved.
http://www.solmetra.com
Released under the GNU General Public License
ADODB Library for PHP4
(c) 2000-2003 John Lim (jlim@natsoft.com.my)
http://php.weblogs.com/ADOdb
Released under both BSD and GNU Lesser GPL library license.
Smarty: the PHP compiling template engine
copyright 2001-2003 ispi of Lincoln, Inc. All rights reserved.
http://smarty.php.net/
Released under GNU Lesser General Public License.
Snoopy - the PHP net client
Monte Ohrt <monte@ispi.net>
Andrei Zmievski <andrei@ispi.net>
copyright 2001-2003 ispi of Lincoln, Inc. All rights reserved.
http://snoopy.sourceforge.net/
Released under GNU Lesser General Public License.
Yet Another Multicolum Layout
copyright by Dirk Jesse
http://www.yaml.de
Released under Creative Commons Lizenz
http://creativecommons.org/licenses/by/2.0/de/
rss Parser
Copyright (c) 2001-2003 Stefan Saasen <s@fase4.com>
Maintainer and initial developer:
Stefan Saasen <s@fase4.com>
Proxy and authentication methods added by:
Marco Kraus <marco.kraus@siemens.com>
http://www.fase4.com/rdf/
Released under Mozilla Public License http://www.mozilla.org/MPL/
FeedCreator
Copyright (c) Kai Blankenhorn
http://www.bitfolge.de
Released under GNU Lesser General Public License.
NuSOAP - Web Services Toolkit for PHP
Copyright (c) 2002 NuSphere Corporation
Dietrich Ayala
dietrich@ganx4.com
http://dietrich.ganx4.com/nusoap
NuSphere Corporation
http://www.nusphere.com
Released under GNU Lesser General Public License.
WebSearch
Author: VJ <http://www.vjdom.com>
Date: 2003-07-17
Modifier: chaicka
Date: 2004-07-02
Released under GPL
CAPTCHA class
Copyright (C): 2003, 2004 Pascal Rehfeldt
Pascal Rehfeldt
<Pascal@Pascal-Rehfeldt.com>
Released under GNU Lesser General Public License.
Hurry up!- Font (c) by Andi
http://www.1001fonts.com/font_details.html?font_id=2366
Freeware
Dutch translation:
Cor Bos
Email: info@ceboservice.nl
http://www.ceboservice.nl
Lightbox v2.02
by Lokesh Dhakar - http://www.huddletogether.com
3/31/06
For more information on this script, visit:
http://huddletogether.com/projects/lightbox2/
Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
Credit also due to those who have helped, inspired, and made their code available to the public.
Including: Scott Upton(uptonic.com), Peter-Paul Koch(quirksmode.org), Thomas Fuchs(mir.aculo.us), and others.
IXR - The Inutio XML-RPC Library - (c) Incutio Ltd 2002-2005
Version 1.7 (beta) - Simon Willison, 23rd May 2005
Site: http://scripts.incutio.com/xmlrpc/
Manual: http://scripts.incutio.com/xmlrpc/manual.php
Made available under the BSD License: http://www.opensource.org/licenses/bsd-license.php
Exifer
Extracts EXIF information from digital photos.
Copyright Jake Olefsky
http://www.offsky.com/software/exif/index.php
jake@olefsky.com
Released under GNU Lesser General Public License.
SIMPLEVIEWER v1.8
Created by Airtight Interactive.
www.airtightinteractive.com
SimpleViewer Felix Turner 2004. All rights reserved.
Diese Liste erhebt keinen Anspruch auf Vollständigkeit!
Sollten Sie der Meinung sein, auf diese Liste zu gehören,
kontaktieren Sie uns unter credits@r23.de
--------------------------------------------------

54
msd2/myoos/install/db.php Normal file
View File

@ -0,0 +1,54 @@
<?php
/* ----------------------------------------------------------------------
$Id: db.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
File: db.php,v 1.5 2002/02/05 00:16:22 proca
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Based on:
PHP-NUKE Web Portal System - http://phpnuke.org/
Thatware - http://thatware.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Gregor J. Rothfuss
Purpose of file: Provide common db functions for the installer.
---------------------------------------------------------------------- */
/*** Connect to Database ***/
function oosDBInit($dbhost, $dbuname, $dbpass, $dbname, $dbtype='mysql') {
global $db;
$db = ADONewConnection($dbtype);
$dbh = $db->Connect($dbhost, $dbuname, $dbpass, $dbname);
if (!$dbh) {
$dbpass = "";
die("$dbtype://$dbuname:$dbpass@$dbhost/$dbname failed to connect" . $db->ErrorMsg());
}
global $ADODB_FETCH_MODE;
$ADODB_FETCH_MODE = ADODB_FETCH_ASSOC;
return true;
}

View File

@ -0,0 +1,52 @@
<?php
/* ----------------------------------------------------------------------
$Id: footer.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 - 2003 osCommerce
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
?>
</td>
</tr>
</table>
<!-- FOOTER -->
<br />
<br />
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="21"><a href="javascript:history.back()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('backlink','','images/back_up.png',1)"><img src="images/back.png" alt="<?php echo LINK_BACK; ?>" name="backlink" width="21" height="21" border="0"></a></td>
<td width="757" class="table_head_setuptitle">&nbsp;</td>
<td width="22"><a href="javascript:scroll(0,0)" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('toplink','','images/top_up.png',1)"><img src="images/top.png" alt="<?php echo LINK_TOP; ?>" name="toplink" width="21" height="21" border="0"></a></td>
</tr>
</table><br />
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50"><a href="https://www.oos-shop.de" target="_blank"><img src="images/logo_footer.png" alt="www.oos-shop.de" width="46" height="33" border="0" /></a></td>
<td class="footer"><?php echo FOOTER; ?></td>
</tr>
</table><br />
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</body>
</html>

210
msd2/myoos/install/gpl.html Normal file
View File

@ -0,0 +1,210 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
background: #F5F5F5;
color: #333333;
}
h2 {
font-family: arial, helvetica, sans serif;
font-size: 13px;
font-weight: bold;
}
h3 {
font-family: arial, helvetica, sans serif;
font-size: 12px;
font-weight: bold;
}
h4 {
font-family: arial, helvetica, sans serif;
font-size: 11px;
font-weight: bold;
}
li {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}
pre {
font-size: 11px;
}
a:link {
color: #CC0000;
}
a:visited {
color: #CC3333;
}
a:hover {
font-weight: bold;
color: #009933;
}
a:active {
color: #FF0000;
}
-->
</style>
</head>
<body>
<h2>Table of Contents</h2>
<ul>
<li><a href="gpl.html#SEC1" name="TOC1" id="TOC1">GNU GENERAL PUBLIC LICENSE</a>
<ul>
<li><a href="gpl.html#SEC2" name="TOC2" id="TOC2">Preamble</a> </li>
<li><a href="gpl.html#SEC3" name="TOC3" id="TOC3">TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</a> </li>
<li><a href="gpl.html#SEC4" name="TOC4" id="TOC4">How to Apply These Terms to Your New Programs</a> </li>
</ul>
</li>
</ul>
<p></p>
<hr />
<h2><a href="gpl.html#TOC1" name="SEC1" id="SEC1">GNU GENERAL PUBLIC LICENSE</a></h2>
<p> Version 2, June 1991 </p>
<pre>
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
</pre>
<h2><a href="gpl.html#TOC2" name="SEC2" id="SEC2">Preamble</a></h2>
<p> The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. </p>
<p> When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. </p>
<p> To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. </p>
<p> For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. </p>
<p> We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. </p>
<p> Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. </p>
<p> Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. </p>
<p> The precise terms and conditions for copying, distribution and modification follow. </p>
<h2><a href="gpl.html#TOC3" name="SEC3" id="SEC3">TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</a></h2>
<p> <strong>0.</strong> This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".</p>
<p> Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.</p>
<p> <strong>1.</strong> You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.</p>
<p> You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.</p>
<p> <strong>2.</strong> You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:</p>
<p></p>
<ul>
<li><strong>a)</strong> You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
<p>
</p>
</li>
<li><strong>b)</strong> You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
<p>
</p>
</li>
<li><strong>c)</strong> If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
</li>
</ul>
<p>These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
</p>
<p> Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
</p>
<p> In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
</p>
<p> <strong>3.</strong> You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
<!-- we use this doubled UL to get the sub-sections indented, -->
<!-- while making the bullets as unobvious as possible. -->
</p>
<ul>
<li><strong>a)</strong> Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
<p>
</p>
</li>
<li><strong>b)</strong> Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
<p>
</p>
</li>
<li><strong>c)</strong> Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
</li>
</ul>
<p>The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
</p>
<p> If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
</p>
<p> <strong>4.</strong> You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
</p>
<p> <strong>5.</strong> You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
</p>
<p> <strong>6.</strong> Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
</p>
<p> <strong>7.</strong> If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
</p>
<p> If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
</p>
<p> It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
</p>
<p> This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
</p>
<p> <strong>8.</strong> If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
</p>
<p> <strong>9.</strong> The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
</p>
<p> Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
</p>
<p> <strong>10.</strong> If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
</p>
<p><strong>NO WARRANTY</strong></p>
<p> <strong>11.</strong> BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
</p>
<p> <strong>12.</strong> IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
</p>
<p>
</p>
<h2>END OF TERMS AND CONDITIONS</h2>
<h2><a href="gpl.html#TOC4" name="SEC4" id="SEC4">How to Apply These Terms to Your New Programs</a></h2>
<p> If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. </p>
<p> To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. </p>
<pre>
<var>one line to give the program's name and an idea of what it does.</var>
Copyright (C) <var>yyyy</var> <var>name of author</var>
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.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
</pre>
<p> Also add information on how to contact you by electronic and paper mail. </p>
<p> If the program is interactive, make it output a short notice like this when it starts in an interactive mode: </p>
<pre>
Gnomovision version 69, Copyright (C) <var>year</var> <var>name of author</var>
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
type `show w'. This is free software, and you are welcome
to redistribute it under certain conditions; type `show c'
for details.
</pre>
<p> The hypothetical commands <samp>`show w'</samp> and <samp>`show c'</samp> should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than <samp>`show w'</samp> and <samp>`show c'</samp>; they could even be mouse-clicks or menu items--whatever suits your program. </p>
<p> You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: </p>
<pre>
Yoyodyne, Inc., hereby disclaims all copyright
interest in the program `Gnomovision'
(which makes passes at compilers) written
by James Hacker.
<var>signature of Ty Coon</var>, 1 April 1989
Ty Coon, President of Vice
</pre>
<p> This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the <a href="/licenses/lgpl.html">GNU Lesser General Public License</a> instead of this License.
</p>
<a href="gpl.html#TOC1">TOP</a>
</body>
</html>

789
msd2/myoos/install/gui.php Normal file
View File

@ -0,0 +1,789 @@
<?php
/* ----------------------------------------------------------------------
$Id: gui.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
File: gui.php,v 1.18.2.1 2002/04/03 21:03:19 jgm
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Based on:
PHP-NUKE Web Portal System - http://phpnuke.org/
Thatware - http://thatware.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Gregor J. Rothfuss
Purpose of file: Provide gui rendering functions for the installer.
---------------------------------------------------------------------- */
function oos_httpCoreDir() {
if (!empty($_SERVER['SCRIPT_FILENAME'])) {
return dirname($_SERVER['SCRIPT_FILENAME']) . '/';
}
return $_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['PHP_SELF']) . '/';
}
function oos_realpath($directory) {
return str_replace('\\', '/', realpath($directory));
}
function oos_guessInput($name, $values, $default='') {
$selection = '<select name="'. $name .'">';
foreach ($values as $k=>$v) {
$selection .= '<option value="' . $k . '"';
if ( $default == $k) {
$selection .= ' selected="selected"';
}
$selection .= '>'. $v . '</option> ';
}
$selection .= '</select>';
return $selection;
}
function print_CHMcheck() {
global $currentlang;
echo '<font class="oos-title">' . DBINFO . ':&nbsp;</font><br />' . "\n" .
'<font class="oos-normal">' . CHM_CHECK_1 . '</font><br /><br />' . "\n" .
'<form action="step.php" method="post"><center>' . "\n";
print_FormEditabletext(0);
echo '<input type="hidden" name="currentlang" value="' . $currentlang .'">' . "\n" .
'<input type="hidden" name="op" value="Submit"><br /><br />' . "\n" .
'<input type="submit" value="' . BTN_SUBMIT . '"></center></form>' . "\n";
}
function writeable_oosConfigure() {
if (file_exists(oos_realpath(dirname(__FILE__) . '/../includes') . '/configure.php') && !is_writeable(oos_realpath(dirname(__FILE__) . '/../includes') . '/configure.php')) {
@chmod(oos_realpath(dirname(__FILE__) . '/../includes') . '/configure.php', 0777);
}
}
/**
* This function prints the "This is your setting" area
*/
function print_FormText() {
global $dbhost, $dbuname, $dbpass, $dbname, $prefix_table, $dbtype;
echo '<table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align="left">' . DBHOST . '</td>' . "\n" .
' <td class="toggle">' . $dbhost . '</td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left">' . DBUNAME . '</td>' . "\n" .
' <td class="toggle">' . $dbuname . '</td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left">' . DBPASS . '</td>' . "\n" .
' <td class="toggle">' . $dbpass . '</td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left">' . DBNAME . '</td>' . "\n" .
' <td class="toggle">' . $dbname . '</td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left">' . DBPREFIX . '</td>' . "\n" .
' <td class="toggle">' . $prefix_table . '</td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left">' . DBTYPE . '</td>' . "\n" .
' <td class="toggle">' . $dbtype . '</td>' . "\n" .
' </tr>' . "\n" .
'</table>' . "\n";
}
function print_FormServer() {
echo '<table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">HTTPS SERVER</font></td>' . "\n" .
' <td><font class="oos-normal">' . $_POST['oos_ssl_server'] . '</font></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . VIRTUAL_7 . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . $_POST['oos_shop_dir'] . '</font></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . VIRTUAL_4 . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . $_POST['oos_root_path'] . '</font></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . VIRTUAL_5 . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . $_POST['oos_shop_path'] . '</font></td>' . "\n" .
' </tr>' . "\n" .
'</table>' . "\n";
}
function print_FormTmpServer() {
if ($_POST['tmpsession'] == 'file') {
$tmp_session = TMP_CONFIG_VIRTUAL_3;
} else {
$tmp_session = TMP_CONFIG_VIRTUAL_4;
}
if ($_POST['tmp_session_crypt'] == false) {
$session_crypt = NO;
} else {
$session_crypt = YES;
}
echo '<table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . TMP_VIRTUAL_1 . ':</font></td>' . "\n" .
' <td><font class="oos-normal">' . $tmp_session . '</font></td>' . "\n" .
' </tr>' . "\n";
if ($_POST['tmpsession'] == 'db') {
echo ' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . TMP_CONFIG_VIRTUAL_5 . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . $session_crypt . '</font></td>' . "\n" .
' </tr>' . "\n";
}
echo ' <tr>' . "\n" .
' <td colspan="2"><img src="images/trans.gif" border="0" alt="" width="1" height="10"></td>' . "\n" .
' </tr>' . "\n" .
'</table>' . "\n";
}
function print_FormEditabletext() {
global $dbhost, $dbuname, $dbpass, $dbname, $prefix_table;
echo '<table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBHOST . '<br /><font class="small">' . DBHOST_DESC . '</font></td>' . "\n" .
' <td><input type="text" name="dbhost" SIZE=30 maxlength=80 value="' . $dbhost . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBUNAME . '<br /><font class="small">' . DBUNAME_DESC . '</font></td>' . "\n" .
' <td><input type="text" name="dbuname" SIZE=30 maxlength=80 value="' . $dbuname . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBPASS . '<br /><font class="small">' . DBPASS_DESC . '</font></td>' . "\n" .
' <td><input type="text" name="dbpass" SIZE=30 maxlength=80 value="' . $dbpass . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBNAME . '<br /><font class="small">' . DBNAME_DESC . '</font></td>' . "\n" .
' <td><input type="text" name="dbname" SIZE=30 maxlength=80 value="' . $dbname . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBPREFIX . '<br /><font class="small">' . DBPREFIX_DESC . '</font></td>' . "\n" .
' <td><input type="text" name="prefix_table" SIZE=30 maxlength=80 value="' . $prefix_table .'"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBTYPE . '</font><br /><font class="small">' . DBTYPE_DESC . '</font></td>' . "\n" .
' <td><select name="dbtype"><option value="mysqli">&nbsp;MySQLi&nbsp;</option></select></td>' . "\n" .
' </tr>' . "\n" .
'</table>' . "\n";
}
/**
* This function prints the <input type=hidden> area
*/
function print_FormHidden() {
global $update;
reset($_POST);
foreach ($_POST as $key => $value) {
if ( (!is_array($_POST[$key])) && ($key != 'op') ) {
echo '<input type="hidden" name="'. $key . '" value="' . htmlspecialchars(stripslashes($value)) . '">' . "\n";
}
}
}
function print_DBHidden() {
echo '<input type="hidden" name="currentlang" value="' . $_POST['currentlang'] . '">' . "\n" .
'<input type="hidden" name="dbhost" value="' . $_POST['dbhost'] . '">' . "\n" .
'<input type="hidden" name="dbuname" value="' . $_POST['dbuname'] . '">' . "\n" .
'<input type="hidden" name="dbpass" value="' . $_POST['dbpass'] . '">' . "\n" .
'<input type="hidden" name="dbname" value="' . $_POST['dbname'] . '">' . "\n" .
'<input type="hidden" name="prefix_table" value="' . $_POST['prefix_table'] . '">' . "\n" .
'<input type="hidden" name="dbtype" value="' . $_POST['dbtype'] . '">' . "\n";
}
function print_ServerHidden() {
echo '<input type="hidden" name="host_conf" value="' . $_POST['host_conf'] . '">' . "\n" .
'<input type="hidden" name="oos_ssl_server" value="' . $_POST['oos_ssl_server'] . '">' . "\n" .
'<input type="hidden" name="oos_root_path" value="' . $_POST['oos_root_path'] . '">' . "\n" .
'<input type="hidden" name="oos_shop_path" value="' . $_POST['oos_shop_path'] . '">' . "\n" .
'<input type="hidden" name="oos_shop_dir" value="' . $_POST['oos_shop_dir'] . '">' . "\n";
}
function print_ConfigTmpServerInfo() {
echo '<br>';
echo '<table width="90%" align="center">' . "\n" .
' <tr>' . "\n" .
' <td align="center">' . "\n";
echo '<form name="admin" action="step.php" method="post">' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="Admin">' . "\n";
echo '<input type="submit" value="' . BTN_NEXT . '">' . "\n" .
'</form></td>' . "\n" .
' </tr>' . "\n" .
'</table></form>' . "\n";
}
function print_Admin() {
global $currentlang;
echo '<font class="oos-title">' . CONTINUE_1 . ':&nbsp;</font>' . "\n" .
'<font class="oos-normal">' . CONTINUE_2 . '</font>' . "\n" .
'<br /><br />' . "\n" .
'<center><form action="step.php" method="post"><table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_GENDER . '</font></td>' . "\n" .
' <td><font class="oos-normal"><input type="radio" name="gender" value="m" checked>&nbsp;' . MALE . '&nbsp;&nbsp;<input type="radio" name="gender" value="f">&nbsp;' . FEMALE . '&nbsp;</font></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_FIRSTNAME . '</font></td>' . "\n" .
' <td><input type="text" name="firstname" SIZE=30 maxlength=80 value=""></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_NAME . '</font></td>' . "\n" .
' <td><input type="text" name="name" SIZE=30 maxlength=80 value="Admin"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_PASS . '</font></td>' . "\n" .
' <td><input type="password" name="pwd" SIZE=30 maxlength=80 value=""></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_REPEATPASS . '</font></td>' . "\n" .
' <td><input type="password" name="repeatpwd" SIZE=30 maxlength=80 value=""></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_EMAIL . '</font></td>' . "\n" .
' <td><input type="text" name="email" SIZE=30 maxlength=80 value="none@myoos.de"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_PHONE . '</font></td>' . "\n" .
' <td><input type="text" name="phone" SIZE=30 maxlength=80 value=""></td>' . "\n" .
' </tr>' . "\n" .
'</table>' . "\n" .
'<br /><br />' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="Login">' . "\n" .
'<input type="submit" value="' . BTN_CONTINUE . '">' . "\n" .
'</form></center>' . "\n";
}
function print_ChangeLogin() {
global $currentlang, $gender, $firstname, $name, $pwd, $repeatpwd, $email, $phone, $root_path, $oos_url;
echo '<font class="oos-title">' . CONTINUE_1 . '</font>' . "\n";
if ($pwd == '') {
echo '<br /><font class="oos-error">' . ADMIN_ERROR . '&nbsp;' . ADMIN_PASSWORD_ERROR . '</font>' . "\n";
}
if ($email == '') {
echo '<br /><font class="oos-error">' . ADMIN_ERROR . '&nbsp;' . ADMIN_EMAIL_ERROR. '</font>' . "\n";
}
if ($pwd != $repeatpwd) {
echo '<br /><font class="oos-error">' . ADMIN_ERROR . '&nbsp;' . PASSWORD_ERROR . '</font>' . "\n";
}
if ($gender == 'm') {
$oos_radio_gender = '<input type="radio" name="gender" value="m" checked>&nbsp;' . MALE . '&nbsp;&nbsp;<input type="radio" name="gender" value="f">&nbsp;' . FEMALE . '&nbsp';
} else {
$oos_radio_gender = '<input type="radio" name="gender" value="m">&nbsp;' . MALE . '&nbsp;&nbsp;<input type="radio" name="gender" value="f" checked>&nbsp;' . FEMALE . '&nbsp';
}
echo '<br /><br />' . "\n" .
'<center><form action="step.php" method="post"><table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_GENDER . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . $oos_radio_gender . '</font></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_FIRSTNAME . '</font></td>' . "\n" .
' <td><input type="text" name="firstname" SIZE=30 maxlength=80 value="' . $firstname . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_NAME . '</font></td>' . "\n" .
' <td><input type="text" name="name" SIZE=30 maxlength=80 value="' . $name . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_PASS . '</font></td>' . "\n" .
' <td><input type="password" name="pwd" SIZE=30 maxlength=80 value="' . $pwd . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_REPEATPASS . '</font></td>' . "\n" .
' <td><input type="password" name="repeatpwd" SIZE=30 maxlength=80 value="' . $repeatpwd . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_EMAIL . '</font></td>' . "\n" .
' <td><input type="text" name="email" SIZE=30 maxlength=80 value="' . $email . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_PHONE . '</font></td>' . "\n" .
' <td><input type="text" name="phone" SIZE=30 maxlength=80 value="' . $phone . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left">&nbsp;</td>' . "\n" .
' <td>&nbsp;</td>' . "\n" .
' </tr>' . "\n" .
'</table>' . "\n";
print_DBHidden();
print_ServerHidden();
print_ServerTmpHidden();
echo '<input type="hidden" name="op" value="Login">' . "\n" .
'<input type="submit" value="' . BTN_SET_LOGIN . '">' . "\n" .
'</form></center>' . "\n";
}
function print_Login() {
global $currentlang, $gender, $firstname, $name, $pwd, $repeatpwd, $email, $phone, $root_path, $oos_url;
$oos_gender = ($gender == 'm') ? MALE : FEMALE;
echo '<font class="oos-title">' . CONTINUE_1 . ':&nbsp;</font>' . "\n" .
'<font class="oos-normal">' . CONTINUE_3 . '</font>' . "\n" .
'<br /><br />' . "\n" .
'<form name="change login" action="step.php" method="post"><table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_GENDER . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . $oos_gender . '</font></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_FIRSTNAME . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . $firstname . '</font></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_NAME . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . $name . '</font></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_PASS . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . PASSWORD_HIDDEN . '</font></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_REPEATPASS . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . PASSWORD_HIDDEN . '</td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_EMAIL . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . $email . '</font></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . ADMIN_PHONE . '</font></td>' . "\n" .
' <td><font class="oos-normal">' . $phone . '</font></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left">&nbsp;</td>' . "\n" .
' <td>&nbsp;</td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td>&nbsp;</td>' . "\n" .
' <td>' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="Change Login">' . "\n" .
'<input type="submit" value="' . BTN_CHANGE_INFO . '"><br />' . "\n" .
' </td>' . "\n" .
' </tr>' . "\n" .
'</table></form>' . "\n" .
'<font class="oos-normal">' . ADMIN_INSTALL . '</font>' . "\n" .
'<form name="login install" action="step.php" method="post"><table width="80%" border="0" align="right">' . "\n" .
' <tr>' . "\n" .
' <td align="right">' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="Set Login">' . "\n" .
'<input type="submit" value="' . BTN_LOGIN_SUBMIT . '">' . "\n" .
' </td>' . "\n" .
' </tr>' . "\n" .
'</table>' . "\n" .
'</form>' . "\n";
}
function print_SetLogin() {
global $update;
echo '<form action="step.php" method="post"><center><table width="50%">' . "\n";
print_FormHidden();
echo '<tr><td align=center><input type="hidden" name="op" value="Finish">' . "\n" .
'<input type="submit" value="' . BTN_FINISH . '"></td></tr></table></center></form>' . "\n";
}
function print_oosFinish() {
global $currentlang;
$root_path = str_replace("\\","/",getcwd()); // "
$root_path = str_replace("/install", "", $root_path);
echo '<font class="oos-title">' . FINISH_1 . '&nbsp;</font>';
echo '<font class="oos-normal">' . FINISH_2 . '<br /><br /><br />';
echo '<form action="step.php" method="post">';
echo '<center><textarea name="license" cols=50 rows=8>';
include("credits.txt");
echo '</textarea></form>';
echo '<br /><br />' . FINISH_3 . '<br /></font>';
echo '<br /><font class="oos-title">' . $root_path . '</font><font class="oos-error">/install</font>';
echo '<br /><br /><font class="oos-title"><a href="../admin/index.php">' . FINISH_4 . '</a></font>';
echo '</center><br /><br />';
}
function oosSuccess() {
echo '<font class="oos-title">' . SUCCESS_1 . '</font>' . "\n" .
'<font class="oos-normal">' . SUCCESS_2 . '<br /><br />' . "\n" .
'<form action="step.php" method="post"><center><table width="50%">' . "\n";
print_FormHidden();
echo '<tr><td align=center><input type="hidden" name="op" value="Finish">' . "\n" .
'<input type="submit" value="' . BTN_FINISH . '"></td>' . "\n" .
'</tr></table></center></form></font><br /><br />' . "\n";
}
function print_Submit() {
echo '<font class="oos-title">' . DBINFO . ':&nbsp;</font>' .
'<font class="oos-normal">' . SUBMIT_1 . '</font><br /><br />' . "\n" .
'<br /><center><font class="oos-normal">' . SUBMIT_2 . '</font><br /><br />';
print_FormText();
echo '<form name="change info" action="step.php" method="post">' . "\n";
print_FormHidden();
'<br />' . "\n" .
'<font class="oos-normal">' . SUBMIT_3 . '</font></center><br /><br />' . "\n" .
'<table width="50%" align="center">' . "\n" .
' <tr>' . "\n" .
' <td>' . "\n";
echo '<form name="new install" action="step.php" method="post">' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="Change_Info">' . "\n" .
'<input type="submit" value="' . BTN_CHANGE_INFO . '">' . "\n" .
'</form>' . "\n" .
' </td>' . "\n" .
' <td>' . "\n";
echo '<form name="update" action="step.php" method="post">' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="Upgrade">' . "\n" .
'<input type="submit" value="' . BTN_UPGARDE . '">' . "\n" .
'</form></td>' . "\n" .
' </tr>' . "\n" .
'</table></form>' . "\n";
}
function print_ConfigServerInfo() {
echo '<font class="oos-title">' . VIRTUAL_1 . ':&nbsp;</font><br />' . "\n";
echo '<br />';
echo '<br />';
echo '<br /><font class="oos-normal">' . CONFIG_VIRTUAL_2 . '</font><br /><br />' . "\n";
echo '<center>';
print_FormServer();
echo '<form name="ChangeServer" action="step.php" method="post">' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="ChangeServer">' . "\n" .
'<input type="submit" value="' . BTN_CHANGE_INFO . '"><br />' . "\n" .
'</form></center>' . "\n" .
'<br />' . "\n" .
'<font class="oos-normal">' . CONFIG_VIRTUAL_3 . '</font><br /><br />' . "\n" .
'<table width="90%" align="center">' . "\n" .
' <tr>' . "\n" .
' <td align="center">' . "\n";
echo '<form name="admin" action="step.php" method="post">' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="Admin">' . "\n" .
'<input type="submit" value="' . BTN_NEXT . '">' . "\n" .
'</form></td>' . "\n" .
' </tr>' . "\n" .
'</table></form>' . "\n";
}
function print_ChangeServer() {
global $oos_template_dir, $oos_ssl_server, $oos_root_path, $oos_shop_path, $oos_shop_dir, $oos_admin_dir;
echo '<font class="oos-title">' . VIRTUAL_1 . '</font>' . "\n";
echo '<br /><br />' . "\n" .
'<center><form action="step.php" method="post"><table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">HTTPS SERVER</font></td>' . "\n" .
' <td><input type="text" name="oos_ssl_server" SIZE=60 maxlength=180 value="' . $oos_ssl_server . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . VIRTUAL_4 . '</font></td>' . "\n" .
' <td><input type="text" name="oos_root_path" SIZE=60 maxlength=180 value="' . $oos_root_path .'"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . VIRTUAL_5 . '</font></td>' . "\n" .
' <td><input type="text" name="oos_shop_path" SIZE=60 maxlength=80 value="' . $oos_shop_path . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . VIRTUAL_7 . '</font></td>' . "\n" .
' <td><input type="test" name="oos_shop_dir" SIZE=60 maxlength=80 value="' . $oos_shop_dir . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left">&nbsp;</td>' . "\n" .
' <td>&nbsp;</td>' . "\n" .
' </tr>' . "\n" .
'</table>' . "\n";
print_DBHidden();
echo '<input type="hidden" name="host_conf" value="' . $_POST['host_conf'] . '">' . "\n" .
'<input type="hidden" name="op" value="ConfigServer">' . "\n" .
'<input type="submit" value="' . BTN_SET_LOGIN . '">' . "\n" .
'</form></center>' . "\n";
}
function print_Confirm() {
if (isset($_SERVER['REQUEST_URI']) && (empty($_SERVER['REQUEST_URI']) === false)) {
$shop_path = $_SERVER['REQUEST_URI'];
} else {
$shop_path = $_SERVER['PHP_SELF'];
}
$shop_path = substr($shop_path, 0, strpos($shop_path, 'install'));
$dir_fs_www_root = $_SERVER['DOCUMENT_ROOT']; // this replaced the foor loop
echo '<font class="oos-title">' . VIRTUAL_1 . ':&nbsp;</font>' . "\n" .
'<font class="oos-normal">' . VIRTUAL_2 . '</font>' . "\n" .
'<br /><br />' . "\n" .
'<center><form action="step.php" method="post"><table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">HTTPS SERVER</font></td>' . "\n" .
' <td><input type="text" name="oos_ssl_server" SIZE=60 maxlength=180 value="https://' . $_SERVER['HTTP_HOST'] .'"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . VIRTUAL_7 . '</font></td>' . "\n" .
' <td><input type="test" name="oos_shop_dir" SIZE=60 maxlength=80 value="' . $shop_path . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . VIRTUAL_4 . '</font></td>' . "\n" .
' <td><input type="text" name="oos_root_path" SIZE=60 maxlength=180 value="' . $dir_fs_www_root .'"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . VIRTUAL_5 . '</font></td>' . "\n" .
' <td><input type="text" name="oos_shop_path" SIZE=60 maxlength=180 value="' . $dir_fs_www_root . $shop_path . '"></td>' . "\n" .
' </tr>' . "\n" .
'</table>' . "\n" .
'<br /><br />' . "\n";
print_DBHidden();
echo '<input type="hidden" name="host_conf" value="' . $_POST['host_conf'] . '">' . "\n" .
'<input type="hidden" name="op" value="ConfigServer">' . "\n" .
'<input type="submit" value="' . BTN_CONTINUE . '">' . "\n" .
'</form></center>' . "\n";
}
function print_Start() {
echo '<form action="step.php" method="post"><table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align=center>' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="Confirm">' . "\n" .
'<input type="submit" value="' . BTN_CONTINUE . '"></td>' . "\n" .
' </tr>' . "\n" .
'</table></form>' . "\n";
}
function print_ServerTmpHidden() {
echo '<input type="hidden" name="tmpsession" value="' . $_POST['tmpsession'] . '">' . "\n" .
'<input type="hidden" name="tmp_session_crypt" value="' . $_POST['tmp_session_crypt'] . '">' . "\n";
}
function print_ChangeInfo() {
global $dbhost, $dbuname, $dbpass, $dbname, $prefix_table ;
echo '<font class="oos-title">' . CHANGE_INFO_1 . ':&nbsp;</font>' .
'&nbsp;<font class="oos-normal">' . CHANGE_INFO_2 . '<br /><br />' . "\n" .
'<form action="step.php" method="post"><center>' . "\n" .
'<table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBHOST . '</font></td>' . "\n" .
' <td><input type="text" name="dbhost" SIZE=30 maxlength=80 value="' . $dbhost . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBUNAME . '</font></td>' . "\n" .
' <td><input type="text" name="dbuname" SIZE=30 maxlength=80 value="' . $dbuname . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBPASS . '</font></td>' . "\n" .
' <td><input type="text" name="dbpass" SIZE=30 maxlength=80 value="' . $dbpass . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBNAME . '</font></td>' . "\n" .
' <td><input type="text" name="dbname" SIZE=30 maxlength=80 value="' . $dbname . '"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBPREFIX . '</font></td>' . "\n" .
' <td><input type="text" name="prefix_table" SIZE=30 maxlength=80 value="' . $prefix_table .'"></td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
' <td align="left"><font class="oos-normal">' . DBTYPE . '</font></td>' . "\n" .
' <td><select name="dbtype"><option value="mysqli">&nbsp;MySQLi&nbsp;</option></select></td>' . "\n" .
' </tr>' . "\n" .
'</table>' . "\n" .
'<br /><br />' . "\n" .
'<input type="hidden" name="host_conf" value="' . $_POST['host_conf'] . '">' . "\n" .
'<input type="hidden" name="currentlang" value="' . $_POST['currentlang'] . '">' . "\n" .
'<input type="hidden" name="op" value="New_Install">' . "\n" .
'<input type="submit" value="' . BTN_SUBMIT . '">' . "\n" .
'</center></form></font>' . "\n";
}
function print_NewInstall() {
echo '<font class="oos-title">' . DBINFO . '</font><br>' .
'<center><font class="oos-normal">&nbsp;' . SUBMIT_1 . '</font>' . "\n" .
'<br /><br />' . "\n";
print_FormText();
echo '<form name="change info" action="step.php" method="post">' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="Change_Info">' . "\n" .
'<input type="submit" value="' . BTN_CHANGE_INFO . '"><br />' . "\n" .
'</form>' . "\n" .
'<br /><font class="oos-normal">' . NEW_INSTALL_3 . '</font>' . "\n" .
'<form name="install" action="step.php" method="post"><table width="50%">' . "\n" .
' <tr>' . "\n" .
' <td align=center><font class="oos-normal">' . NEW_INSTALL_4 . '</font>' . "\n" .
' <br /><input type=checkbox name="dbmake"></td>' . "\n" .
' <td>';
print_FormHidden();
echo '<input type="hidden" name="op" value="Start">' . "\n" .
' <input type="submit" value="' . BTN_START . '">' . "\n" .
' </td>' . "\n" .
' </tr>' . "\n" .
'</table>' . "\n" .
'</form></font></center>' . "\n";
}
function print_DBSubmit() {
global $currentlang;
echo '<font class="oos-title">' . DBINFO . ':&nbsp;</font><br />' . "\n" .
'<font class="oos-normal">' . CHM_CHECK_1 . '</font><br /><br />' . "\n" .
'<form action="step.php" method="post"><center>' . "\n";
print_FormEditabletext(0);
echo '<input type="hidden" name="host_conf" value="' . $_POST['host_conf'] . '">' . "\n" .
'<input type="hidden" name="currentlang" value="' . $currentlang .'">' . "\n" .
'<input type="hidden" name="op" value="New_Install"><br /><br />' . "\n" .
'<input type="submit" value="' . BTN_SUBMIT . '"></center></form>' . "\n";
}
function print_oosUpgardeOrInstall() {
global $currentlang;
echo '<br /><center>' . "\n" .
'<font class="oos-normal">' . METHOD_1 . '</font><br /><br />' . "\n" .
'<table class="content">' . "\n" .
' <tr>' . "\n" .
' <td align="center">' . "\n";
echo '<form name="new install" action="step.php" method="post">' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="PHP_Check">' . "\n" .
'<input type="submit" value="' . BTN_NEW_INSTALL . '">' . "\n" .
'</form>' . "\n" .
' </td>' . "\n" .
' <td align="center">' . "\n";
echo '<form name="update" action="step.php" method="post">' . "\n";
print_FormHidden();
echo '<input type="hidden" name="op" value="Upgrade">' . "\n" .
'<input type="submit" value="' . BTN_UPGARDE . '">' . "\n" .
'</form></td>' . "\n" .
' </tr>' . "\n" .
'</table></center>' . "\n";
}
function print_oosDefault() {
global $currentlang;
echo '<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="21"><img src="images/step_2.png" alt="" width="21" height="21" /></td>
<td width="758" class="table_head_setuptitle">' . DEFAULT_1 . '</td>
<td width="21"><img src="images/table_head_right.png" alt="" width="21" height="21" /></td>
</tr>
</table>' . "\n";
echo '<br /><b>' . DEFAULT_2 . '</b><br /><br />';
echo '<form name="next" action="step.php" method="post">';
echo '<div class="license-form">
<div align="middle" class="form-block" style="padding: 0px;">
<iframe src="gpl.html" class="license" frameborder="0" scrolling="auto"></iframe>
</div>
</div>';
echo '<input type="hidden" name="currentlang" value="' . $currentlang . '">';
echo '<input type="hidden" name="op" value="PHP_Check">';
echo '<center>';
echo '<input type="checkbox" name="agreecheck"><font class="oos-normal">' . DEFAULT_3 . '</font><br />';
echo '<input type="submit" value="' . BTN_NEXT . '"><br />';
echo '</center>';
echo '</form>';
}
function print_select_language() {
echo '<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="21"><img src="images/step_1.png" alt="" width="21" height="21" /></td>
<td width="758" class="table_head_setuptitle">' . GREAT . '</td>
<td width="21"><img src="images/table_head_right.png" alt="" width="21" height="21" /></td>
</tr>
</table>' . "\n" .
'<p><img src="images/start.png" alt="Shop-Installation" hspace="12" vspace="4" align="right" />' . GREAT_1 . '</p>' . "\n" .
'<hr align="left" size="1" noshade="noshade" /> <img src="images/arrow_grey.png" alt="" width="11" height="11" align="middle" /><b class="oos-pageTitle"> ' . SELECT_LANGUAGE_1 . '</b>' . "\n" .
'<form action="step.php" method="post">' . "\n";
echo lang_dropdown();
echo '<input type="hidden" name="op" value="Set Language">' . "\n" .
'<input type="submit" value="' . BTN_SET_LANGUAGE . '">' . "\n" .
'</form>' . "\n";
}

View File

@ -0,0 +1,78 @@
<?php
/* ----------------------------------------------------------------------
$Id: header.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 - 2003 osCommerce
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html <?php echo HTML_PARAMS; ?>>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo INSTALLATION . ' Ver. ' . OOS_VERSION; ?></title>
<meta name="ROBOTS" content="NOFOLLOW">
<meta name="resource-type" content="document">
<meta http-equiv="expires" content="0">
<meta name="author" content="osis online shop">
<meta name="generator" content="OSIS Online Shop - http://www.oos-shop.de">
<link rel="StyleSheet" href="style/style.css" type="text/css">
<link href="style/rollover.js" type="text/javascript">
<script language="JavaScript" src="style/rollover.js"></script>
</head>
<body onload="MM_preloadImages('images/home_up.png','images/service_up.png','images/news_up.png','images/download_up.png','images/top_up.png','images/back_up.png')">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="135"><img src="images/hippoos_top.png" alt="" width="135" height="86" /></td>
<td>&nbsp;</td>
<td valign="middle"><h1><img src="images/arrow_green.png" alt="" width="11" height="11" align="middle" /> MyOOS [Shopsystem]</h1></td>
<td width="274" colspan="2" align="right" valign="middle"><a href="http://www.php.net/" target="_blank"><img src="images/powered_php.png" alt="" width="80" height="15" border="0" /></a><br />
<br />
<a href="http://www.mysql.org/" target="_blank"><img src="images/powered_mysql.png" alt="" width="93" height="15" border="0" /></a></td>
</tr>
<tr>
<td width="135"><img src="images/hippoos_buttom.png" alt="" width="135" height="52" /></td>
<td width="33" class="table_head_title"></td>
<td width="358" class="table_head_title">Version: MyOOS <?php echo OOS_VERSION; ?></td>
<td width="274" colspan="2" valign="top" class="table_head_title"><table width="274" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4"><img src="images/trans.gif" alt="" width="1" height="2" /></td>
</tr>
<tr>
<td><a href="index.htm" target="_self" onmouseover="MM_swapImage('home','','images/home_up.png',1)" onmouseout="MM_swapImgRestore()"><img src="images/home.png" alt="www.oos-shop.de [Home]" name="home" width="70" height="41" border="0" id="home" /></a></td>
<td><a href="http://foren.myoos.de/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('service','','images/service_up.png',1)"><img src="images/service.png" alt="www.oos-shop.de [Service]" name="service" width="68" height="41" border="0" id="service" /></a></td>
<td><a href="http://blog.myoos.de/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('news','','images/news_up.png',1)"><img src="images/news.png" alt="www.oos-shop.de [News]" name="news" width="68" height="41" border="0" id="news" /></a></td>
<td><a href="https://github.com/r23/MyOOS/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('download','','images/download_up.png',1)"><img src="images/download.png" alt="www.oos-shop.de [Download]" name="Download" width="69" height="41" border="0" id="download" /></a></td>
</tr>
</table> </td>
</tr>
<tr>
<td colspan="3" class="table_head_green"> &nbsp;<?php echo strftime(DATE_FORMAT_LONG); ?></td>
<td align="right" class="table_head_green"><b>MyOOS</b></td>
<td align="right" class="table_head_green"><img src="images/trans.gif" alt="" width="1" height="26" /></td>
</tr>
<tr>
<td colspan="5" class="table_head_schadow"><img src="images/table_head_schadow.png" alt="" width="12" height="12" /></td>
</tr>
</table>
<table width="800" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td>

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 B

View File

@ -0,0 +1,42 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>MyOOS [Shopsystem]</title>
<link rel="StyleSheet" href="style/stylesheet.css" type="text/css" />
</head>
<body>
<table width="797" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="790" height="100%" align="center" valign="middle" bgcolor="#F6F6F6">
<p>&nbsp;</p><p>&nbsp;</p>
<p><img src="images/logo_start.png" alt="" width="272" height="159" />
<br />
</p>
<hr align="center" width="80" size="1" noshade="noshade" />
<p><br />
</p></td>
<td width="7" class="schadow">&nbsp;</td>
</tr>
<td width="790" align="center" valign="middle" bgcolor="#F6F6F6"><p>&nbsp;</p>
<table width="154" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle"><a href="step.php"><img src="images/setup.png" alt=" SETUP " name="SETUP" width="49" height="18" border="0" id="SETUP" title=" SETUP " /></a></p></td>
<td>&nbsp;</td>
<td align="center" valign="middle"><a href="update.php"><img src="images/update.png" alt=" UPDATE " name="UPDATE" width="61" height="18" border="0" id="UPDATE" title=" UPDATE " /></a></p></td>
</tr>
</table>
<p><br />
</p></td>
<td width="7" class="schadow">&nbsp;</td>
</tr>
<tr>
<td class="schadow_buttom"></td>
<td class="schadow"><img src="images/schadow_buttom_right.png" width="7" height="7" /></td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,319 @@
<?php
/* ----------------------------------------------------------------------
$Id: lang_upgrade.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
global $db, $prefix_table;
$table = $prefix_table . 'block_info';
$result = $db->Execute("UPDATE " . $table . " SET block_language = '1' WHERE block_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET block_language = '2' WHERE block_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET block_language = '3' WHERE block_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET block_language = '4' WHERE block_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET block_language = '5' WHERE block_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET block_language = '6' WHERE block_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `block_language` `block_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'categories_description';
$result = $db->Execute("UPDATE " . $table . " SET categories_language = '1' WHERE categories_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET categories_language = '2' WHERE categories_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET categories_language = '3' WHERE categories_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET categories_language = '4' WHERE categories_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET categories_language = '5' WHERE categories_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET categories_language = '6' WHERE categories_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `categories_language` `categories_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'coupons_description';
$result = $db->Execute("UPDATE " . $table . " SET coupon_language = '1' WHERE coupon_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET coupon_language = '2' WHERE coupon_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET coupon_language = '3' WHERE coupon_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET coupon_language = '4' WHERE coupon_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET coupon_language = '5' WHERE coupon_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET coupon_language = '6' WHERE coupon_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `coupon_language` `coupon_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'customers_status';
$result = $db->Execute("UPDATE " . $table . " SET customers_status_language = '1' WHERE customers_status_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET customers_status_language = '2' WHERE customers_status_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET customers_status_language = '3' WHERE customers_status_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET customers_status_language = '4' WHERE customers_status_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET customers_status_language = '5' WHERE customers_status_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET customers_status_language = '6' WHERE customers_status_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `customers_status_language` `customers_status_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'link_categories_description';
$result = $db->Execute("UPDATE " . $table . " SET link_categories_language = '1' WHERE link_categories_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET link_categories_language = '2' WHERE link_categories_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET link_categories_language = '3' WHERE link_categories_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET link_categories_language = '4' WHERE link_categories_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET link_categories_language = '5' WHERE link_categories_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET link_categories_language = '6' WHERE link_categories_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `link_categories_language` `link_categories_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'links_description';
$result = $db->Execute("UPDATE " . $table . " SET links_language = '1' WHERE links_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET links_language = '2' WHERE links_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET links_language = '3' WHERE links_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET links_language = '4' WHERE links_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET links_language = '5' WHERE links_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET links_language = '6' WHERE links_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `links_language` `links_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'links_status';
$result = $db->Execute("UPDATE " . $table . " SET links_status_language = '1' WHERE links_status_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET links_status_language = '2' WHERE links_status_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET links_status_language = '3' WHERE links_status_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET links_status_language = '4' WHERE links_status_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET links_status_language = '5' WHERE links_status_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET links_status_language = '6' WHERE links_status_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `links_status_language` `links_status_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'manufacturers_info';
$result = $db->Execute("UPDATE " . $table . " SET manufacturers_language = '1' WHERE manufacturers_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET manufacturers_language = '2' WHERE manufacturers_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET manufacturers_language = '3' WHERE manufacturers_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET manufacturers_language = '4' WHERE manufacturers_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET manufacturers_language = '5' WHERE manufacturers_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET manufacturers_language = '6' WHERE manufacturers_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `manufacturers_language` `manufacturers_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'orders_status';
$result = $db->Execute("UPDATE " . $table . " SET orders_language = '1' WHERE orders_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET orders_language = '2' WHERE orders_language = 'eng'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `orders_language` `orders_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'page_type';
$result = $db->Execute("UPDATE " . $table . " SET page_type_language = '1' WHERE page_type_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET page_type_language = '2' WHERE page_type_language = 'eng'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `page_type_language` `page_type_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'products_description';
$result = $db->Execute("UPDATE " . $table . " SET products_language = '1' WHERE products_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET products_language = '2' WHERE products_language = 'eng'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `products_language` `products_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'products_options';
$result = $db->Execute("UPDATE " . $table . " SET products_options_language = '1' WHERE products_options_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_language = '2' WHERE products_options_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_language = '3' WHERE products_options_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_language = '4' WHERE products_options_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_language = '5' WHERE products_options_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_language = '6' WHERE products_options_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `products_options_language` `products_options_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'products_options_types';
$result = $db->Execute("UPDATE " . $table . " SET products_options_types_language = '1' WHERE products_options_types_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_types_language = '2' WHERE products_options_types_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_types_language = '3' WHERE products_options_types_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_types_language = '4' WHERE products_options_types_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_types_language = '5' WHERE products_options_types_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_types_language = '6' WHERE products_options_types_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `products_options_types_language` `products_options_types_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'products_options_values';
$result = $db->Execute("UPDATE " . $table . " SET products_options_values_language = '1' WHERE products_options_values_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_values_language = '2' WHERE products_options_values_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_values_language = '3' WHERE products_options_values_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_values_language = '4' WHERE products_options_values_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_values_language = '5' WHERE products_options_values_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET products_options_values_language = '6' WHERE products_options_values_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `products_options_values_language` `products_options_values_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'products_status';
$result = $db->Execute("UPDATE " . $table . " SET products_status_language = '1' WHERE products_status_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET products_status_language = '2' WHERE products_status_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET products_status_language = '3' WHERE products_status_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET products_status_language = '4' WHERE products_status_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET products_status_language = '5' WHERE products_status_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET products_status_language = '6' WHERE products_status_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `products_status_language` `products_status_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'reviews_description';
$result = $db->Execute("UPDATE " . $table . " SET reviews_language = '1' WHERE reviews_language = 'deu'");
$result = $db->Execute("UPDATE " . $table . " SET reviews_language = '2' WHERE reviews_language = 'eng'");
$result = $db->Execute("UPDATE " . $table . " SET reviews_language = '3' WHERE reviews_language = 'nld'");
$result = $db->Execute("UPDATE " . $table . " SET reviews_language = '4' WHERE reviews_language = 'pol'");
$result = $db->Execute("UPDATE " . $table . " SET reviews_language = '5' WHERE reviews_language = 'rus'");
$result = $db->Execute("UPDATE " . $table . " SET reviews_language = '6' WHERE reviews_language = 'spa'");
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `reviews_language` `reviews_languages_id` INT( 11 ) DEFAULT '1' NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
if (!function_exists('dosql')) {
function dosql($table, $flds) {
GLOBAL $db;
$dict = NewDataDictionary($db);
$taboptarray = array('mysql' => 'TYPE=MyISAM', 'REPLACE');
$sqlarray = $dict->CreateTableSQL($table, $flds, $taboptarray);
$dict->ExecuteSQLArray($sqlarray);
echo '<br><img src="images/yes.gif" alt="" border="0" align="absmiddle"> <font class="oos-title">' . $table . " " . MADE . '</font>';
}
}
if (!function_exists('idxsql')) {
function idxsql($idxname, $table, $idxflds) {
GLOBAL $db;
$dict = NewDataDictionary($db);
$sqlarray = $dict->CreateIndexSQL($idxname, $table, $idxflds);
$dict->ExecuteSQLArray($sqlarray);
}
}
$table = $prefix_table . 'languages';
$flds = "
languages_id I NOTNULL AUTO PRIMARY,
name C(32) NOTNULL,
iso_639_2 C(3) NOTNULL,
iso_639_1 C(2) NOTNULL,
status I1 DEFAULT '0',
sort_order I1 NOTNULL DEFAULT '0'
";
dosql($table, $flds);
$idxname = 'idx_name';
$idxflds = 'name';
idxsql($idxname, $table, $idxflds);
$result = $db->Execute("INSERT INTO " . $prefix_table . "languages (languages_id, name, iso_639_2, iso_639_1, status, sort_order) VALUES (1, 'Deutsch', 'deu', 'de', 1, 1)") or die ("<b>".NOTUPDATED . $prefix_table . "languages</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "languages (languages_id, name, iso_639_2, iso_639_1, status, sort_order) VALUES (2, 'English', 'eng', 'en', 1, 2)") or die ("<b>".NOTUPDATED . $prefix_table . "languages</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "languages (languages_id, name, iso_639_2, iso_639_1, status, sort_order) VALUES (3, 'Nederlands', 'nld', 'nl', 1, 3)") or die ("<b>".NOTUPDATED . $prefix_table . "languages</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "languages (languages_id, name, iso_639_2, iso_639_1, status, sort_order) VALUES (4, 'Polski', 'pol', 'pl', 0, 4)") or die ("<b>".NOTUPDATED . $prefix_table . "languages</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "languages (languages_id, name, iso_639_2, iso_639_1, status, sort_order) VALUES (5, 'Russian', 'rus', 'ru', 0, 5)") or die ("<b>".NOTUPDATED . $prefix_table . "languages</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "languages (languages_id, name, iso_639_2, iso_639_1, status, sort_order) VALUES (6, 'Spanish', 'spa', 'es', 0, 6)") or die ("<b>".NOTUPDATED . $prefix_table . "languages</b>");
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"> <font class="oos-title">' . $prefix_table . "languages " . UPDATED .'</font>';

View File

@ -0,0 +1,113 @@
<?php
/* ----------------------------------------------------------------------
$Id: language.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
File: language.php,v 1.4 2002/03/06 09:17:10 voll
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Based on:
PHP-NUKE Web Portal System - http://phpnuke.org/
Thatware - http://thatware.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Gregor J. Rothfuss
Purpose of file: Provide ML functionality for the installer.
---------------------------------------------------------------------- */
/** Loads the required language file for the installer **/
function installer_get_language() {
global $currentlang;
if (!isset($currentlang)) {
$currentlang = 'de_DE';
}
if (file_exists($file="locales/$currentlang.php")) {
@include $file;
}
}
// Make common language selection dropdown (from Tim Litwiller)
function lang_dropdown() {
global $currentlang;
$locale_dir = './locales/';
$lang = languagelist();
$langlist = array();
if (is_dir($locale_dir)) {
if ($dh = opendir($locale_dir)) {
while (($file = readdir($dh)) !== false) {
if ($file == '.' || $file == '..' || $file == 'CVS' || filetype($locale_dir . $file) == 'dir' ) continue;
$sContent = substr($file, 0, -4);
if (is_file($locale_dir . $file) && @$lang[$sContent]) {
$langlist[$sContent] = $lang[$sContent];
}
}
closedir($dh);
}
}
asort($langlist);
$selection = '<select name="alanguage" class="ow-text">';
foreach ($langlist as $k=>$v) {
$selection .= '<option value="' . $k . '"';
if ( $currentlang == $k) {
$selection .= ' selected';
}
$selection .= '>'. $v . '</option> ';
}
$selection .= '</select>';
return $selection;
}
// list of all availabe languages (from Patrick Kellum <webmaster@ctarl-ctarl.com>)
function languagelist() {
$lang['en_US'] = LANGUAGE_ENG . ' (en_US)'; // English
$lang['de_DE'] = LANGUAGE_DEU . ' (de_DE)'; // German
/*
$lang['nl_NL'] = LANGUAGE_NLD . ' (nl_NL)'; // Dutch
$lang['en_US'] = LANGUAGE_ENG . ' (en_US)'; // English
$lang['de_DE'] = LANGUAGE_DEU . ' (de_DE)'; // German
$lang['dan'] = LANGUAGE_DAN; // Danish
$lang['fin'] = LANGUAGE_FIN; // Finnish
$lang['fra'] = LANGUAGE_FRA; // French
$lang['ita'] = LANGUAGE_ITA; // Italian
$lang['nor'] = LANGUAGE_NOR; // Norwegian
$lang['por'] = LANGUAGE_POR; // Portuguese
$lang['pol'] = LANGUAGE_POL; // Polish
$lang['slv'] = LANGUAGE_SLV; // Slovenian
$lang['spa'] = LANGUAGE_SPA; // Spanish
$lang['swe'] = LANGUAGE_SWE; // Swedish
*/
// end of list
return $lang;
}

View File

@ -0,0 +1,278 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS

View File

@ -0,0 +1,247 @@
<?php
/* ----------------------------------------------------------------------
$Id: global.php 216 2013-04-02 08:24:45Z r23 $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2013 by the MyOOS Development Team.
----------------------------------------------------------------------
Based on:
File: global.php,v 1.17.2.1 2002/04/03 21:03:19 jgm
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Original Author of file: Gregor J. Rothfuss
Purpose of file: Installer language defines.
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
if (strstr($_ENV["OS"],"Win")) {
@setlocale(LC_TIME, 'ge');
} else {
@setlocale(LC_TIME, 'de_DE');
}
define('DATE_FORMAT_LONG', '%A, %d. %B %Y'); // this is used for strftime()
define('DATE_TIME_FORMAT', DATE_FORMAT_LONG . ' %H:%M:%S');
define('HTML_PARAMS','dir="LTR" lang="de"');
define('CHARSET', 'UTF-8');
define('INSTALLATION', 'MyOOS [Shopsystem] Installation');
define('BTN_CONTINUE', 'Weiter');
define('BTN_NEXT' ,'Weiter');
define('BTN_RECHECK', 'wiederholen');
define('BTN_SET_LANGUAGE', 'Sprache festlegen');
define('BTN_START','Start');
define('BTN_SUBMIT','bestätigen');
define('BTN_NEW_INSTALL', 'Neue Installation');
define('BTN_UPGARDE', 'Upgrade');
define('BTN_CHANGE_INFO', 'Info ändern');
define('BTN_LOGIN_SUBMIT','Admin installieren');
define('BTN_SET_LOGIN', 'Weiter');
define('BTN_FINISH', 'Beenden');
define('GREAT', 'Willkommen bei MyOOS [Shopsystem]!');
define('GREAT_1', 'Der MyOOS [Shopsystem] ist eine umfassende Internet-Shopping-Lösung. Diese besticht durch ein besonders hohes Ma&szlig; an Anpassungsfähigkeit, Schnelligkeit und hohe Performance. Die OOS [OSIS Online-Shop] Standard Software ist mit allen Grundfunktionen für Online- Verkauf, Bestellung, Bezahlung, Statistik und Administration ausgestattet. Die Wartung der Produktdatenbank kann jederzeit online vorgenommen werden. So ist gewährleistet, dass den Kunden stets das aktuellste Online-Angebot präsentiert wird.');
define('SELECT_LANGUAGE_1', 'Auswahl Ihrer Sprache.');
define('SELECT_LANGUAGE_2', 'Sprachen: ');
define('DEFAULT_1', 'GNU/GPL License:');
define('DEFAULT_2', 'MyOOS [Shopsystem] ist freie Software.');
define('DEFAULT_3', 'Ich akzeptiere die GPL License');
define('METHOD_1', 'Bitte wählen Sie <b>Neue Installation</b> oder <b>Upgrade</b>');
define('PHP_CHECK_1', 'PHP Diagnose');
define('PHP_CHECK_2', 'Hier prüfen wir die Konfigurationseinstellungen Ihrer PHP Installation. <a href=\'phpinfo.php\' target=\'_blank\'>PHP Info</a>');
define('PHP_CHECK_3', 'Ihre PHP Version ist ');
define('PHP_CHECK_4', 'Bitte installieren Sie eine aktuelle PHP Version - <a href=\'http://www.php.net\' target=\'_blank\'>http://www.php.net</a>');
define('PHP_CHECK_OK', 'Es sind uns keine Probleme mit Ihrer PHP Version in Verbindung mit MyOOS [Shopsystem] bekannt.');
define('PHP_CHECK_6', 'magic_quotes_gpc is Off.');
define('PHP_CHECK_7', 'Tragen Sie in Ihre .htaccess Datei folgende Zeile ein:<br />php_flag magic_quotes_gpc On');
define('PHP_CHECK_8', 'magic_quotes_gpc is ON.');
define('PHP_CHECK_9', 'magic_quotes_runtime is On.');
define('PHP_CHECK_10', 'Tragen Sie in Ihre .htaccess Datei folgende Zeile ein:<br />php_flag magic_quotes_runtime Off');
define('PHP_CHECK_11', 'magic_quotes_runtime is Off.');
define('PHP_CHECK_12', 'keine Grafik-Funktionen');
define('PHP_CHECK_13', 'Für die Grafik-Funktionen benötigen Sie die GD-Bibliothek gd-lib (empfohlen Version 2.0 oder höher) <br />verfügbar unter - <a href=\'http://www.boutell.com/gd/\' target=\'_blank\'>http://www.boutell.com/gd/</a>');
define('PHP_CHECK_14', 'keine truecolor Grafik-Funktionen');
define('PHP_CHECK_15', 'Für die Grafik-Funktionen im MyOOS [Shopsystem] empfehlen wir Ihnen die <br />GD-Bibliothek gd-lib Version 2.0 oder höher - <a href=\'http://www.boutell.com/gd/\' target=\'_blank\'>http://www.boutell.com/gd/</a>');
define('PHP_CHECK_16', 'PHP_SELF');
define('PHP_CHECK_17', 'Der Dateiname des gerade ausgeführten Skripts, relativ zum Wurzel-Verzeichnis des Dokuments ist nicht verfügbar.');
define('CHMOD_CHECK_1', 'Schreibrechte (CHMOD Check)');
define('CHMOD_CHECK_2', 'Es wird überprüft, ob die Schreibrechte (CHMOD) von configure.php korrekt gesetzt sind, ansonsten wird dieses Skript nicht in der Lage sein, die Datenbank-Informationen zu verschlüsseln. Die Verschlüsselung der Datenbank-Informationen ist eine zusätzliche Sicherheit.');
define('CHMOD_CHECK_3', 'CHMOD ~/includes/configure.php ist 666 -- RICHTIG');
define('CHMOD_CHECK_4', 'Bitte ändern Sie die Zugriffsrechte (CHMOD 666) der Datei ~/includes/configure.php ');
define('CHMOD_CHECK_7', 'CHMOD ~/includes/configure-old.php ist 666 -- RICHTIG');
define('CHM_CHECK_1', 'Bitte die Datenbank-Informationen eingeben. <br />Falls kein Root-Zugriff auf die Datenbank besteht, können keine neuen Datenbanken angelegt werden - in diesem Fall die Datenbank angeben, in die das Skript die erforderlichen Tabellen anlegen soll');
define('DBINFO', 'Datenbank Information');
define('DBHOST', 'Datenbank - Servername');
define('DBHOST_DESC', 'Datenbank - Servername');
define('DBNAME', 'Datenbankname');
define('DBNAME_DESC', 'Name der Datenbank');
define('DBPASS', 'Datenbank Passwort');
define('DBPASS_DESC', 'Passwort des Datenbank-Benutzers');
define('DBPREFIX', 'Datenbank-Präfix');
define('DBPREFIX_DESC', 'Tabellenpräfix (für Table-Sharing)');
define('DBTYPE', 'Datenbanktyp');
define('DBTYPE_DESC', 'Datenbanktyp');
define('DBUNAME', 'Name des Datenbank-Benutzers');
define('DBUNAME_DESC', 'Name des Datenbank-Benutzers');
define('SUBMIT_1', 'Bitte die folgenden Informationen auf Korrektheit überprüfen.');
define('SUBMIT_2', 'Folgende Informationen wurden eingegeben:');
define('SUBMIT_3', '<b>Neue Installation</b> oder <b>Upgrade</b> wählen bzw. mit <b>Info ändern</b> die Angaben korrigieren.');
define('CHANGE_INFO_1', 'DB Zugangsdaten ändern');
define('CHANGE_INFO_2', 'Bitte korrigieren Sie Ihre Datenbank Zugangsdaten');
define('NEW_INSTALL_1', 'Neuinstallation.');
define('NEW_INSTALL_2', 'Es wurde <b>Neuinstallation</b> gewählt.<br />Bitte die folgenden Informationen überprüfen.');
define('NEW_INSTALL_3', 'Hinweis: <b>neue Datenbank anlegen</b> nur anwählen, falls Root-Zugriff auf die Datenbank besteht -<br />andernfalls wird das Skript die Tabellen in der angebenen Datenbank anlegen.');
define('NEW_INSTALL_4', 'neue Datenbank anlegen');
define('UPGRADE_1', 'Uprade');
define('UPGRADE_2', 'Die MyOOS [Shopsystem] Datenbank wird mit folgenden Zugangsdaten erstellt:');
define('UPGRADE_3', 'Bitte wählen Sie die Shop Version, die Sie verwenden:');
define('UPGRADE_INFO', 'HINWEIS: Vor dem Upgrade sollte auf <b>jeden Fall eine Datensicherung</b> vorgenommen werden. Es besteht keine Gewährleistung für die Funktion des Upgrades.');
define('OOSUPGRADE_1', 'MyOOS [Shopsystem]');
define('OOSUPGRADE_2', 'Wenn Sie den MyOOS [Shopsystem] 1.0.1 verwenden, klicken Sie bitte auf <samp>OOS 1.0.1</samp>');
define('OOSUPGRADE_3', 'MyOOS [Shopsystem]');
define('OOSUPGRADE_4', 'Wenn Sie den MyOOS [Shopsystem] 1.0.2 verwenden, klicken Sie bitte auf <samp>OOS 1.0.2</samp>');
define('OOSUPGRADE_5', 'Ihre MyOOS [Shopsystem] Version können Sie in der Datei <samp>~/shop/includes/oos_version.php</samp> ersehen.');
define('MADE', ' erstellt.');
define('MAKE_DB_1', 'Datenbank konnte nicht erstellt werden');
define('MAKE_DB_2', 'wurde angelegt.');
define('MAKE_DB_3', 'Keine Datenbank erstellt.');
define('MODIFY_FILE_1', 'Error: unable to open for read:');
define('MODIFY_FILE_2', 'Error: unable to open for write:');
define('MODIFY_FILE_3', 'Error: lines changed, did nothing');
define('SHOW_ERROR_INFO', 'Fehler:</b> MyOOS [Shopsystem] Installation konnte nicht in die \'configure.php\' Datei schreiben. <br /> Sie können mit einem EditOR diese Datei selbst ändern. <br />Hier die Informationen die Sie eintragen sollten:');
define('VIRTUAL_1', 'Web Server');
define('VIRTUAL_2', 'Legen Sie nun die WebServer Umgebung für MyOOS [Shopsystem] fest.');
define('VIRTUAL_3', 'SSL-Verschlüsselung aktivieren');
define('VIRTUAL_4', 'Webserver Root Directory');
define('VIRTUAL_5', 'Webserver Shop Directory');
define('VIRTUAL_7', 'WWW Shop Directory');
define('VIRTUAL_9', 'Template Directory');
define('CONFIG_VIRTUAL_1', 'SSL-Verschlüsselung');
define('CONFIG_VIRTUAL_2', 'Bitte kontrollieren Sie Ihre Angaben:');
define('CONFIG_VIRTUAL_3', 'Sind die Angaben korrekt, klicken Sie bitte auf <code>weiter</code>');
define('INSTALL_WRITE_FILE', 'Probiere die Datei %s zu erstellen...');
define('ERROR_TEMPLATE_FILE', 'Die Templatedatei konnte nicht geöffnet werden! Bitte Prfen Sie die Pfade und/oder Leserechte');
define('FILE_WRITE_ERROR', 'Datei %s kann nicht geschrieben werden.');
define('COPY_CODE_BELOW', '<br />* Kopieren Sie den folgenden Code in die Datei %s des %s Verzeichnisses:<b><pre>%s</pre></b>' . "\n");
define('DONE', 'Fertig');
define('ERROR_NO_HTTPS_SERVER', 'Fehler: Server %s existiert nicht.');
define('ERROR_NO_DIRECTORY', 'Fehler: Verzeichnis %s existiert nicht.');
define('ERROR_NO_INFO', 'Notwendige Angaben fehlen!<br/>Bitte richtig ausfüllen.<br/><br/>');
define('INSTALL_REWRITE', 'URL-Formung');
define('INSTALL_REWRITE_DESC', 'Wählen Sie die Methode zur Erzeugung der URLs. Wenn diese aktiviert werden, können sprechende Namen für jeden Artikel verwendet werden und somit besser von Suchmaschinen indiziert. Der Webserver muss entweder mod_rewrite oder die "AllowOverride All"-Direktive unterstützen. Der Standardwert wird automagisch bestimmt');
define('HTACCESS_ERROR', 'Um die Webserverkonfiguration zu testen benötigt MyOOS [Shopsystem] die Möglichkeit, die Datei ".htaccess" zu erstellen. Dies war aufgrund von Rechteproblemen nicht möglich. Bitte passen Sie die Rechte wie folgt an: <br />&nbsp;&nbsp;%s<br />und laden Sie diese Seite neu.');
define('TMP_VIRTUAL_1', 'Session Einstellungen');
define('TMP_VIRTUAL_2', 'Die Unterstützung von Sessions im MyOOS [Shopsystem] bietet die Möglichkeit, bestimmte Daten während einer Folge von Aufrufen Ihres Shop\'s festzuhalten. Sie können zwischen der standardmä&szlig;igen files Prozedur und der Speicherung der Session-Daten in Ihre Datenbank wählen. Bei der Speicherung in Ihre Datenbank können Sie zusätzlich noch festlegen, ob die Daten verschlüsselt in diese geschrieben werden sollen.');
define('TMP_VIRTUAL_3', 'Die Session in Files speichern - aktivieren:');
define('TMP_VIRTUAL_4', 'Die Session in Ihre Datenbank speichern - aktivieren:');
define('TMP_VIRTUAL_5', 'Session soll verschlüsselt in die Datenbank geschrieben werden - aktivieren:');
define('TMP_CONFIG_VIRTUAL_2', 'Bitte kontrollieren Sie Ihre Angaben:');
define('TMP_CONFIG_VIRTUAL_3', 'Die Session werden in Dateien gespeichert.');
define('TMP_CONFIG_VIRTUAL_4', 'Die Session wird in die Datenbank gespeichert.');
define('TMP_CONFIG_VIRTUAL_5', 'Verschlüsselung der Session-Daten:');
define('TMP_SESSION_NON_EXISTENT', 'Warnung: Das Verzeichnis für die Sessions existiert nicht: ' . session_save_path() . '. Die Sessions werden nicht funktionieren bis das Verzeichnis erstellt wurde!');
define('TMP_SESSION_DIRECTORY_NOT_WRITEABLE', 'Warnung: MyOOS [Shopsystem] kann nicht in das Sessions Verzeichnis schreiben: ' . session_save_path() . '. Die Sessions werden nicht funktionieren bis die richtigen Benutzerberechtigungen gesetzt wurden!');
define('TMP_ADODB_DIRECTORY', 'Fehler: Das Datenbankabstraktions Layer Verzeichnis ist nicht vorhanden.');
define('TMP_ADODB_DIRECTORY_NOT_WRITEABLE', 'Fehler: Das Datenbankabstraktions Layer Verzeichnis ist schreibgeschützt.');
define('TMP_ADODB_FILE', 'Fehler: Die Log Datei existiert nicht: Die Datenbank Fehlerbehandlung wird im MyOOS [Shopsystem] nicht funktionieren bis die Datei erstellt wurde!');
define('TMP_ADODB_FILE_NOT_WRITEABLE', 'Fehler: Die Log Datei ist schreibgeschützt.');
define('YES', 'aktiviert');
define('NO', 'deaktiviert');
define('NOTMADE', ' nicht erstellt');
define('NOTUPDATED', '<img src="images/no.gif" alt="FEHLER" border="0" align="absmiddle"> FEHLER ');
define('UPDATED', 'aktualisiert');
define('NOW_104', 'Ihre MyOOS [Shopsystem] Datenbank wurde erfolgreich aktualisiert!');
define('CONTINUE_1', 'Shop Administrator');
define('CONTINUE_2', 'Legen Sie nun den Administrator-Account für MyOOS [Shopsystem] fest. Sie können später mit der Email - Adresse und dem Passwort Ihren MyOOS [Shopsystem] konfigurieren.');
define('CONTINUE_3', 'Bitte kontrollieren Sie Ihre Angaben. Eine Änderung ist später nicht mehr möglich!');
define('ADMIN_GENDER', 'Admin Anrede');
define('MALE', 'Herr');
define('FEMALE', 'Frau');
define('ADMIN_FIRSTNAME', 'Admin Vorname');
define('ADMIN_NAME', 'Admin Name');
define('ADMIN_EMAIL','Admin E-Mail');
define('ADMIN_PHONE', 'Admin Telefon');
define('ADMIN_PASS','Admin Passwort');
define('ADMIN_REPEATPASS','Passwort bestätigen');
define('PASSWORD_HIDDEN', '--VERSTECKT--');
define('OWP_URL', 'Virtual Path (URL)');
define('ROOT_DIR', 'Webserver Root Directory');
define('ADMIN_INSTALL', 'Sind die Angaben korrekt, klicken Sie bitte auf <code>Admin installieren</code>');
define('PASSWORD_ERROR', 'Das \'Passwort\' und die \'Bestätigung\' müssen übereinstimmen!');
define('ADMIN_ERROR', 'Fehler:');
define('ADMIN_PASSWORD_ERROR', 'Bitte geben Sie ein \'Passwort\' ein!');
define('ADMIN_EMAIL_ERROR', 'Bitte geben Sie Ihre \'E-Mail Adresse\' ein!');
define('INPUT_DATA', 'Daten für MyOOS [Shopsystem] ');
define('FINISH_1', 'Danksagung');
define('FINISH_2', 'Bei dieser Gelegenheit möchten wir allen danken, die zur Entwicklung von MyOOS [Shopsystem] beigetragen haben. Unser spezieller Dank gebührt den Entwicklern von PHP. ');
define('FINISH_3', 'Sie haben MyOOS [Shopsystem] erfolgreich installiert. Bitte löschen Sie nun das Installations Verzeichnis');
define('FINISH_4', 'MyOOS [Shopsystem] Admin');
// All entries use ISO 639-2/T
// http://www.loc.gov/standards/iso639-2/langcodes.html
define('LANGUAGE_DAN', 'Danish');
define('LANGUAGE_NLD', 'Dutch');
define('LANGUAGE_ENG', 'English');
define('LANGUAGE_FIN', 'Finnish');
define('LANGUAGE_FRA', 'French');
define('LANGUAGE_DEU', 'Deutsch');
define('LANGUAGE_ITA', 'Italian');
define('LANGUAGE_NOR', 'Norwegian');
define('LANGUAGE_POR', 'Portuguese');
define('LANGUAGE_RUS', 'Russian');
define('LANGUAGE_SLV', 'Slovenian');
define('LANGUAGE_SPA', 'Spanish');
define('LANGUAGE_SWE', 'Swedish');
define('FOOTER', 'Diese WebSite wurde mit <a target="_blank" href="https://www.oos-shop.de">MyOOS [Shopsystem]</a> erstellt. <br /><a target="_blank" href="https://www.oos-shop.de">MyOOS [Shopsystem]</a> ist als freie Software unter der <a target="_blank" href="http://www.gnu.org/">GNU/GPL Lizenz</a> erhätlich.');
define('STEP_1', 'Willkommen');
define('STEP_2', 'License');
define('STEP_3', 'Diagnose');
define('STEP_4', 'Datenbank');
define('STEP_5', 'Configuration');
define('STEP_6', 'Session');
define('STEP_7', 'Administrator');
define('STEP_8', 'Fertig');
define('LINK_BACK', 'Zurück');
define('LINK_TOP', 'Nach Oben');

View File

@ -0,0 +1,238 @@
<?php
/* ----------------------------------------------------------------------
$Id: global.php 216 2013-04-02 08:24:45Z r23 $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2013 by the MyOOS Development Team.
----------------------------------------------------------------------
Based on:
File: global.php,v 1.17.2.1 2002/04/03 21:03:19 jgm
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Original Author of file: Gregor J. Rothfuss
Purpose of file: Installer language defines.
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
@setlocale(LC_TIME, 'en_US');
define('DATE_FORMAT_LONG', '%A, %d. %B %Y'); // this is used for strftime()
define('DATE_TIME_FORMAT', DATE_FORMAT_LONG . ' %H:%M:%S');
define('HTML_PARAMS','dir="LTR" lang="en"');
define('CHARSET', 'iso-8859-15');
define('INSTALLATION', 'MyOOS [Shopsystem] Installation');
define('BTN_CONTINUE', 'Further');
define('BTN_NEXT' ,'Further');
define('BTN_RECHECK', 'repeat');
define('BTN_SET_LANGUAGE', 'Language specify');
define('BTN_START','Start');
define('BTN_SUBMIT','confirm');
define('BTN_NEW_INSTALL', 'New installation');
define('BTN_UPGARDE', 'Upgrade');
define('BTN_CHANGE_INFO', 'Change info');
define('BTN_LOGIN_SUBMIT','Admin install');
define('BTN_SET_LOGIN', 'Further');
define('BTN_FINISH', 'Finish');
define('GREAT', 'Welcome to MyOOS [Shopsystem]!');
define('GREAT_1', 'The MyOOS [Shopsystem] is a comprehensive Internet-Shopping-Solution. This captivates by a particularly high Measure to Adaptability, Speed and high Performance. The MyOOS [Shopsystem] Standard Software is equipped with all basic functions for Online Sales, Order, Payment, Statistics and Administration. Maintenance of the Product data base can be made at any time online. Like that it is ensured that the Customers the most current Online-Offer is always presented.');
define('SELECT_LANGUAGE_1', 'Select your language.');
define('SELECT_LANGUAGE_2', 'Languages: ');
define('DEFAULT_1', 'GNU/GPL License:');
define('DEFAULT_2', 'MyOOS [Shopsystem] is free Software.');
define('DEFAULT_3', 'I Accept the GPL License');
define('METHOD_1', 'To begin the installation, please choose your installation method:');
define('PHP_CHECK_1', 'PHP Diagnosis');
define('PHP_CHECK_2', 'Here we examine the configuration attitudes of its PHP installation. <a href=\'phpinfo.php\' target=\'_blank\'>PHP Info</a>');
define('PHP_CHECK_3', 'Its PHP version is ');
define('PHP_CHECK_4', 'Please install a current PHP version - <a href=\'http://www.php.net\' target=\'_blank\'>http://www.php.net</a>');
define('PHP_CHECK_OK', 'There is not us Problems with its PHP Version Shop Online in connection with OSIS well-known.');
define('PHP_CHECK_6', 'magic_quotes_gpc is Off.');
define('PHP_CHECK_7', 'Insert into its .htaccess file the Following line:<br />php_flag magic_quotes_gpc On');
define('PHP_CHECK_8', 'magic_quotes_gpc is On.');
define('PHP_CHECK_9', 'magic_quotes_runtime is On.');
define('PHP_CHECK_10', 'Insert into its .htaccess file the Following line:<br />php_flag magic_quotes_runtime Off');
define('PHP_CHECK_11', 'magic_quotes_runtime is Off.');
define('PHP_CHECK_12', 'no Graphic-Functions');
define('PHP_CHECK_13', 'For Graphic-Functions you need the GD-Library gd-lib (recommended version 2.0 or more highly) <br />available under - <a href=\'http://www.boutell.com/gd/\' target=\'_blank\'>http://www.boutell.com/gd/</a>');
define('PHP_CHECK_14', 'no truecolor Graphic-Functions');
define('PHP_CHECK_15', 'For Graphic-Functions in MyOOS [Shopsystem] we recommended <br />GD-Library gd-lib Version 2.0 or higher - <a href=\'http://www.boutell.com/gd/\' target=\'_blank\'>http://www.boutell.com/gd/</a>');
define('PHP_CHECK_16', 'PHP_SELF');
define('PHP_CHECK_17', 'The File name straight implemented Scripts, relative to the root listing of the document is not available.');
define('CHMOD_CHECK_1', 'Write rights (CHMOD Check)');
define('CHMOD_CHECK_2', 'It examined, whether the Write rights (CHMOD) are correctly set of configure.php, otherwise this Script able will not be to code the Database information. The Coding of the Database information is an additional Security.');
define('CHMOD_CHECK_3', 'CHMOD ~/includes/configure.php is 666 -- RIGHT');
define('CHMOD_CHECK_4', 'Please change Rights of Access (CHMOD 666) for file ~/includes/configure.php ');
define('CHM_CHECK_1', 'Enter please the Database-Information. <br />If no Root Access insists on the Database, no new Databases cannot to be put on - in this case the Database to indicate, into which the Script is to put on the necessary tables');
define('DBINFO', 'Database Information');
define('DBHOST', 'Database - host');
define('DBHOST_DESC', 'The hostname for your database');
define('DBNAME', 'Name of Database');
define('DBNAME_DESC', 'The name of your database');
define('DBPASS', 'Password of Database-User');
define('DBPASS_DESC', 'The password matching the above username');
define('DBPREFIX', 'Database table prefix');
define('DBPREFIX_DESC', 'Table prefix (for Table sharing)');
define('DBTYPE', 'Type of Database');
define('DBTYPE_DESC', 'Database type');
define('DBUNAME', 'Name of Database-User');
define('DBUNAME_DESC', 'The username used to connect to your database');
define('SUBMIT_1', 'Examine please the following information for correctness.');
define('SUBMIT_2', 'The following information was entered:');
define('SUBMIT_3', '<b>New installation</b> or <b>Upgrade</b> selects and/or with <b>changes Info</b> the Data corrects.');
define('CHANGE_INFO_1', 'DB Entrance data change');
define('CHANGE_INFO_2', 'Please correct their ?tabase Entrance data');
define('NEW_INSTALL_1', 'New installation.');
define('NEW_INSTALL_2', 'It became <b>New installation</b> select. <br />Please the following information to examine.');
define('NEW_INSTALL_3', 'Note: <b>new Database</b> put on only select, if root access insists on the Database <br />otherwise the Script the Tables in the existing Database will put on.');
define('NEW_INSTALL_4', 'new Database put on');
define('UPGRADE_1', 'Upgrade');
define('UPGRADE_2', 'The MyOOS [Shopsystem] Database is provided with the following Entrance data:');
define('UPGRADE_3', 'Please select the Shop Version, which you use:');
define('UPGRADE_INFO', 'NOTE: Before the Upgrade an in any case Data protection should be made. There is not a Guarantee for the Function of the Upgrades.');
define('OOSUPGRADE_1', 'MyOOS [Shopsystem]');
define('OOSUPGRADE_2', 'If you use the MyOOS [Shopsystem] 1.0.1, click please up <samp>OOS 1.0.1</samp>');
define('OOSUPGRADE_3', 'MyOOS [Shopsystem]');
define('OOSUPGRADE_4', 'If you use the MyOOS [Shopsystem] 1.0.2, click please up <samp>OOS 1.0.2</samp>');
define('OOSUPGRADE_5', 'Its MyOOS [Shopsystem] Version can see you in the File <samp>~/shop/includes/oos_version.php</samp>.');
define('MADE', ' provided.');
define('MAKE_DB_1', 'Database could not be provided');
define('MAKE_DB_2', 'one put on.');
define('MAKE_DB_3', 'No Database provides.');
define('MODIFY_FILE_1', 'Error: unable to open for read:');
define('MODIFY_FILE_2', 'Error: unable to open for write:');
define('MODIFY_FILE_3', 'Error: lines changed, did nothing');
define('SHOW_ERROR_INFO', 'Error:</b> MyOOS [Shopsystem] Installation could not into the \'configure.php\' File write. <br /> They can change this File with an Editor. <br />Here the information you to register should:');
define('VIRTUAL_1', 'Web Server');
define('VIRTUAL_2', 'Specify now the Web servers environment for MyOOS [Shopsystem].');
define('VIRTUAL_3', 'SSL-Coding activate');
define('VIRTUAL_4', 'Webserver Root Directory');
define('VIRTUAL_5', 'Webserver Shop Directory');
define('VIRTUAL_7', 'WWW Shop Directory');
define('VIRTUAL_9', 'Template Directory');
define('CONFIG_VIRTUAL_1', 'SSL-Coding');
define('CONFIG_VIRTUAL_2', 'Please control your data:');
define('CONFIG_VIRTUAL_3', 'If the data are correct, click please on <code>further</code>');
define('INSTALL_WRITE_FILE', 'Attemping to write %s file...');
define('ERROR_TEMPLATE_FILE', 'Unable to open template file!');
define('FILE_WRITE_ERROR', 'Can\'t write to file %s.');
define('COPY_CODE_BELOW', '<br />* Just copy the code below and place it in %s in your %s folder:<b><pre>%s</pre></b>' . "\n");
define('DONE', 'Done');
define('ERROR_NO_HTTPS_SERVER', 'Error: Server %s does not exist');
define('ERROR_NO_DIRECTORY', 'Error: Directory %s does not exist');
define('ERROR_NO_INFO', 'Errors have occured during the process of your form!\nPlease make the following corrections:\n\n');
define('INSTALL_REWRITE', 'URL Rewriting');
define('INSTALL_REWRITE_DESC', 'Select which rules you wish to use when generating URLs. Enabling rewrite rules will make pretty URLs for your blog and make it better indexable for spiders like google. The webserver needs to support either mod_rewrite or "AllowOverride All" for your OOS dir. The default setting is auto-detected');
define('HTACCESS_ERROR', 'To check your local webserver installation, serendipity needs to be able to write the file ".htaccess". This was not possible because of permission errors. Please adjust the permissions like this: <br />&nbsp;&nbsp;%s<br />and reload this page.');
define('TMP_VIRTUAL_1', 'Session Attitudes');
define('TMP_VIRTUAL_2', 'The Support of Sessions in the MyOOS [Shopsystem] offers the Marketing to hold certain Data during a consequence of calls of your Shop\'s. They cannot between the standard physical files Procedure and the Storage of the Session-Data into your Database select. During Storage into Your Database you cannot additionally still specify whether the Data are to be written coded into these.');
define('TMP_VIRTUAL_3', 'The Session in Files store - activate:');
define('TMP_VIRTUAL_4', 'The Session into Your Database store - activate:');
define('TMP_VIRTUAL_5', 'Session is to be written coded into the Database - to activate:');
define('TMP_CONFIG_VIRTUAL_2', 'Please control Your Data:');
define('TMP_CONFIG_VIRTUAL_3', 'The Session in Files are stored.');
define('TMP_CONFIG_VIRTUAL_4', 'The Session is stored into the Database.');
define('TMP_CONFIG_VIRTUAL_5', 'Coding of the Session-Data:');
define('TMP_SESSION_NON_EXISTENT', 'Warning: The Directory for the Sessions does not exist: ' . session_save_path() . '. The Sessions will not Function to the Directory were provided!');
define('TMP_SESSION_DIRECTORY_NOT_WRITEABLE', 'Warning: MyOOS [Shopsystem] cannot write into Sessions Directory: ' . session_save_path() . '. The Sessions will not function to the correct user Authorizations were set!');
define('TMP_ADODB_DIRECTORY', 'Error: Database abstraction the Layer Directory is missing.');
define('TMP_ADODB_DIRECTORY_NOT_WRITEABLE', 'Error: The logs file is not writeable.');
define('TMP_ADODB_FILE', 'Error: The Logs File does not exist: The Database Error handling will not function in the MyOOS [Shopsystem] to the File was provided!');
define('TMP_ADODB_FILE_NOT_WRITEABLE', 'Error: The logs file is not writeable.');
define('YES', 'activated');
define('NO', 'deactivated');
define('NOTMADE', ' does not provide');
define('NOTUPDATED', '<img src="images/no.gif" alt="ERROR" border="0" align="absmiddle"> ERROR ');
define('UPDATED', 'updated');
define('NOW_104', 'Its MyOOS [Shopsystem] Database was successfully updated!');
define('CONTINUE_1', 'Shop Administrator');
define('CONTINUE_2', 'Specify now the administrator account for MyOOS [Shopsystem]. They can configure later with the email-address and the password its MyOOS [Shopsystem].');
define('CONTINUE_3', 'Please you control your data. A change is later no longer possible!');
define('ADMIN_GENDER', 'Admin Gender');
define('MALE', 'Male');
define('FEMALE', 'Female');
define('ADMIN_FIRSTNAME', 'Admin Firstname');
define('ADMIN_NAME', 'Admin Name');
define('ADMIN_EMAIL','Admin E-Mail');
define('ADMIN_PHONE', 'Admin Phone');
define('ADMIN_PASS','Admin Password');
define('ADMIN_REPEATPASS','Password Repeat');
define('PASSWORD_HIDDEN', '--HIDDEN--');
define('OWP_URL', 'Virtual Path (URL)');
define('ROOT_DIR', 'Webserver Root Directory');
define('ADMIN_INSTALL', 'If the Data are correct, click please on <code>Admin install</code>');
define('PASSWORD_ERROR', 'The \'Admin Password\' and the \'Password Repeat\' must Agree!');
define('ADMIN_ERROR', 'Error:');
define('ADMIN_PASSWORD_ERROR', 'Please give You a \'Admin Password\' !');
define('ADMIN_EMAIL_ERROR', 'Please give You a \'Admin E-Mail\' !');
define('INPUT_DATA', 'Data for MyOOS [Shopsystem] ');
define('FINISH_1', 'Thank saying');
define('FINISH_2', 'On this occasion we would like to thank all, which contributed to the development of MyOOS [Shopsystem]. Our special thanks are entitled to the developers of PHP. ');
define('FINISH_3', 'They successfully installed MyOOS [Shopsystem]. Please delete now installations Directories');
define('FINISH_4', 'MyOOS [Shopsystem] Admin');
// All entries use ISO 639-2/T
// http://www.loc.gov/standards/iso639-2/langcodes.html
define('LANGUAGE_DAN', 'Danish');
define('LANGUAGE_NLD', 'Dutch');
define('LANGUAGE_ENG', 'English');
define('LANGUAGE_FIN', 'Finnish');
define('LANGUAGE_FRA', 'French');
define('LANGUAGE_DEU', 'Deutsch');
define('LANGUAGE_ITA', 'Italian');
define('LANGUAGE_NOR', 'Norwegian');
define('LANGUAGE_POR', 'Portuguese');
define('LANGUAGE_SLV', 'Slovenian');
define('LANGUAGE_SPA', 'Spanish');
define('LANGUAGE_SWE', 'Swedish');
define('FOOTER', 'Diese WebSite wurde mit <a target="_blank" href="https://www.oos-shop.de">MyOOS [Shopsystem]</a> erstellt. <br /><a target="_blank" href="https://www.oos-shop.de">MyOOS [Shopsystem]</a> ist als freie Software unter der <a target="_blank" href="http://www.gnu.org/">GNU/GPL Lizenz</a> erh?tlich.');
define('STEP_1', 'Welcome');
define('STEP_2', 'License');
define('STEP_3', 'Diagnose');
define('STEP_4', 'Datenbank');
define('STEP_5', 'Configuration');
define('STEP_6', 'Session');
define('STEP_7', 'Administrator');
define('STEP_8', 'Finishied');
define('LINK_BACK', 'Back');
define('LINK_TOP', 'Top');

View File

@ -0,0 +1,157 @@
<?php
/* ----------------------------------------------------------------------
$Id: modify_configure.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
File: modify_configure.php,v 1.13 2002/03/16 15:24:37 johnnyrocket
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Based on:
PHP-NUKE Web Portal System - http://phpnuke.org/
Thatware - http://thatware.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Scott Kirkwood (scott_kirkwood@bigfoot.com)
Purpose of file: Routines to modify the configure.php file.
General routine modify_file() is useful in it's own right.
---------------------------------------------------------------------- */
// mod_file is general, give it a source file a destination.
// an array of search patterns (Perl style) and replacement patterns
// Returns a string which starts with "Err" if there's an error
function modify_file($src, $reg_src, $reg_rep) {
$in = @fopen($src, "r");
if (!$in) {
return MODIFY_FILE_1. " $src";
}
$i = 0;
while (!feof($in)) {
$file_buff1[$i++] = fgets($in, 4096);
}
fclose($in);
$lines = 0; // Keep track of the number of lines changed
foreach ($file_buff1 as $bline_num => $buffer) {
$new = preg_replace($reg_src, $reg_rep, $buffer);
if ($new != $buffer) {
$lines++;
}
$file_buff2[$bline_num] = $new;
}
if ($lines == 0) {
// Skip the rest - no lines changed
return MODIFY_FILE_3;
}
reset($file_buff1);
reset($file_buff2);
$out_original = fopen($src, "w");
if (! $out_original) {
return MODIFY_FILE_2. " $src";
}
foreach ($file_buff2 as $bline_num => $buffer) {
fputs($out_original,$buffer);
}
fclose($out_original);
// Success!
return "$src updated with $lines lines of changes, backup is called $dest";
}
// Two global arrays
$reg_src = array();
$reg_rep = array();
// Setup various searches and replaces
// Scott Kirkwood
function add_src_rep($key, $rep) {
global $reg_src, $reg_rep;
$reg_src[] = "/(define\()([\"'])(".$key.")\\2,\s*([\"'])(.*?)\\4\s*\)/";
$reg_rep[] = "define('".$key."', '".$rep."')";
}
function show_error_shop_info() {
global $dbhost, $dbuname, $dbpass, $dbname, $prefix_table, $dbtype;
global $oos_ssl_server, $oos_root_path, $oos_shop_path, $oos_shop_dir;
echo '<br /><br /><b>'. SHOW_ERROR_INFO . ' <b>~/includes/configure.php</b><br /><br />';
echo <<< EOT
<table><tr><td><font class="oos-normal">
define('OOS_HTTPS_SERVER', '$oos_ssl_server');<br />
define('OOS_SHOP', '$oos_shop_dir');<br />
define('OOS_ABSOLUTE_PATH', '$oos_root_path$oos_shop_dir');<br />
define('OOS_DB_TYPE', '$dbtype');<br />
define('OOS_DB_SERVER', '$dbhost');<br />
define('OOS_DB_USERNAME', '$dbuname');<br />
define('OOS_DB_PASSWORD', '$dbpass');<br />
define('OOS_DB_DATABASE', '$dbname');<br />
define('OOS_DB_PREFIX', '$prefix_table');<br />
define('OOS_ENCODED', '0');<br />
</b></td></tr></table>
EOT;
}
// Update the configure.php file with the database information.
function oosUpdateConfigShop($db_prefs = false) {
global $reg_src, $reg_rep;
global $dbhost, $dbuname, $dbpass, $dbname, $prefix_table, $dbtype;
global $oos_ssl_server, $oos_root_path, $oos_shop_path, $oos_shop_dir;
add_src_rep("OOS_HTTPS_SERVER", $oos_ssl_server);
add_src_rep("OOS_SHOP", $oos_shop_dir);
add_src_rep("OOS_ABSOLUTE_PATH", $oos_root_path . $oos_shop_dir);
add_src_rep("OOS_DB_TYPE", $dbtype);
add_src_rep("OOS_DB_SERVER", $dbhost);
add_src_rep("OOS_DB_USERNAME", base64_encode($dbuname));
add_src_rep("OOS_DB_PASSWORD", base64_encode($dbpass));
add_src_rep("OOS_DB_DATABASE", $dbname);
add_src_rep("OOS_DB_PREFIX", $prefix_table);
if (strstr($HTTP_ENV_VARS["OS"],"Win")) {
add_src_rep("OOS_SYSTEM", '1');
} else {
add_src_rep("OOS_SYSTEM", '0');
}
add_src_rep("OOS_ENCODED", '1');
$ret = modify_file("../includes/configure.php", $reg_src, $reg_rep);
if (preg_match("/Error/", $ret)) {
show_error_shop_info();
}
}

View File

@ -0,0 +1,246 @@
<?php
/* ----------------------------------------------------------------------
$Id: new_zones.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 - 2003 osCommerce
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
#Belgium
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',21,'AN','Antwerpen')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',21,'BW','Brabant Wallon')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',21,'HA','Hainaut')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',21,'LG','Liege')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',21,'LM','Limburg')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',21,'LX','Luxembourg')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',21,'NM','Namur')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',21,'OV','Oost-Vlaanderen')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',21,'VB','Vlaams Brabant')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',21,'WV','West-Vlaanderen')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
#Denmark
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'AR','Arhus')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'BO','Bornholm')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'FR','Frederiksborg')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'FY','Fyn')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'KO','Kobenhavn')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'NO','Nordjylland')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'RI','Ribe')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'RK','Ringkobing')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'RO','Roskilde')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'SO','Sonderjylland')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'ST','Storstrom')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'VE','Vejle')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'VJ','Vestj�land')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',57,'VI','Viborg')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
#Greece
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'AI','Aitolia kai Akarnania')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'AK','Akhaia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'AG','Argolis')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'AD','Arkadhia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'AR','Arta')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'AT','Attiki')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'AY','Ayion Oros (Mt. Athos)')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'DH','Dhodhekanisos')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'DR','Drama')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'ET','Evritania')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'ES','Evros')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'EV','Evvoia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'FL','Florina')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'FO','Fokis')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'FT','Fthiotis')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'GR','Grevena')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'IL','Ilia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'IM','Imathia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'IO','Ioannina')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'IR','Irakleion')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KA','Kardhitsa')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KS','Kastoria')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KV','Kavala')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KE','Kefallinia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KR','Kerkyra')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KH','Khalkidhiki')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KN','Khania')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KI','Khios')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KK','Kikladhes')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KL','Kilkis')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KO','Korinthia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'KZ','Kozani')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'LA','Lakonia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'LR','Larisa')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'LS','Lasithi')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'LE','Lesvos')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'LV','Levkas')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'MA','Magnisia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'ME','Messinia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'PE','Pella')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'PI','Pieria')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'PR','Preveza')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'RE','Rethimni')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'RO','Rodhopi')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'SA','Samos')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'SE','Serrai')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'TH','Thesprotia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'TS','Thessaloniki')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'TR','Trikala')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'VO','Voiotia')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'XA','Xanthi')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',84,'ZA','Zakinthos')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
#Luxembourg
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',124,'DI','Diekirch')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',124,'GR','Grevenmacher')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',124,'LU','Luxembourg')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
#Poland
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'DO','Dolnoslaskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'KM','Kujawsko-Pomorskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'LO','Lodzkie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'LE','Lubelskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'LU','Lubuskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'ML','Malopolskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'MZ','Mazowieckie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'OP','Opolskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'PK','Podkarpackie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'PL','Podlaskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'PM','Pomorskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'SL','Slaskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'SW','Swietokrzyskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'WM','Warminsko-Mazurskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'WI','Wielkopolskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',170,'ZA','Zachodniopomorskie')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
#Portugal
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'AC','Acores (Azores)')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'AV','Aveiro')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'BE','Beja')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'BR','Braga')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'BA','Braganca')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'CB','Castelo Branco')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'CO','Coimbra')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'EV','Evora')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'FA','Faro')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'GU','Guarda')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'LE','Leiria')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'LI','Lisboa')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'ME','Madeira')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'PO','Portalegre')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'PR','Porto')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'SA','Santarem')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'SE','Setubal')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'VC','Viana do Castelo')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'VR','Vila Real')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',171,'VI','Viseu')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
#Russian Federation
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'AB','Abakan')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'AG','Aginskoye')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'AN','Anadyr')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'AR','Arkahangelsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'AS','Astrakhan')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'BA','Barnaul')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'BE','Belgorod')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'BI','Birobidzhan')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'BL','Blagoveshchensk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'BR','Bryansk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'CH','Cheboksary')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'CL','Chelyabinsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'CR','Cherkessk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'CI','Chita')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'DU','Dudinka')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'EL','Elista')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'GO','Gomo-Altaysk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'GA','Gorno-Altaysk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'GR','Groznyy')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'IR','Irkutsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'IV','Ivanovo')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'IZ','Izhevsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KA','Kalinigrad')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KL','Kaluga')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KS','Kasnodar')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KZ','Kazan')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KE','Kemerovo')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KH','Khabarovsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KM','Khanty-Mansiysk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KO','Kostroma')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KR','Krasnodar')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KN','Krasnoyarsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KU','Kudymkar')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KG','Kurgan')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KK','Kursk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'KY','Kyzyl')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'LI','Lipetsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'MA','Magadan')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'MK','Makhachkala')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'MY','Maykop')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'MO','Moscow')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'MU','Murmansk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'NA','Nalchik')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'NR','Naryan Mar')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'NZ','Nazran')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'NI','Nizhniy Novgorod')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'NO','Novgorod')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'NV','Novosibirsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'OM','Omsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'OR','Orel')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'OE','Orenburg')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'PA','Palana')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'PE','Penza')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'PR','Perm')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'PK','Petropavlovsk-Kamchatskiy')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'PT','Petrozavodsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'PS','Pskov')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'RO','Rostov-na-Donu')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'RY','Ryazan')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'SL','Salekhard')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'SA','Samara')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'SR','Saransk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'SV','Saratov')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'SM','Smolensk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'SP','St. Petersburg')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'ST','Stavropol')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'SY','Syktyvkar')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'TA','Tambov')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'TO','Tomsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'TU','Tula')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'TR','Tura')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'TV','Tver')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'TY','Tyumen')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'UF','Ufa')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'UL','Ul\'yanovsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'UU','Ulan-Ude')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'US','Ust\'-Ordynskiy')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'VL','Vladikavkaz')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'VA','Vladimir')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'VV','Vladivostok')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'VG','Volgograd')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'VD','Vologda')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'VO','Voronezh')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'VY','Vyatka')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'YA','Yakutsk')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'YR','Yaroslavl')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'YE','Yekaterinburg')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "zones (zone_id, zone_country_id, zone_code, zone_name ) VALUES ('',176,'YO','Yoshkar-Ola')") or die ("<b>".NOTUPDATED . $prefix_table . "zones</b>");
$table = $prefix_table . 'zones';
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
}
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"><font class="oos-title">' . $table . ' ' . UPDATED .'</font>';

View File

@ -0,0 +1,320 @@
<?php
/* ----------------------------------------------------------------------
$Id: newconfigdata.php,v 1.4 2009/01/16 13:37:39 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
File: oscommerce.sql,v 1.71 2003/02/14 05:58:35 hpdl
----------------------------------------------------------------------
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
----------------------------------------------------------------------
File: newdata.php,v 1.73.2.4 2002/05/14 18:18:05 byronmhome
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Based on:
PHP-NUKE Web Portal System - http://phpnuke.org/
Thatware - http://thatware.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file:
Purpose of file:
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_NAME', 'osis online shop', 1, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_LOGO', '', 1, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SITE_ICONS', '', 12, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_OWNER', '', 1, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_OWNER_EMAIL_ADDRESS', 'root@localhost', 1, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_OWNER_VAT_ID', '', 1, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_ADDRESS_STREET', 'Street', 1, 6, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_ADDRESS_POSTCODE', 'Postcode', 1, 7, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_ADDRESS_CITY', 'City', 1, 8, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_COUNTRY', '81', 1, 9, NULL, " . $db->DBTimeStamp($today) . ", 'oos_cfg_get_country_name', 'oos_cfg_pull_down_country_list(')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_ZONE', '88', 1, 10, NULL, " . $db->DBTimeStamp($today) . ", 'oos_cfg_get_zone_name', 'oos_cfg_pull_down_zone_list(')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_ADDRESS_TELEPHONE_NUMBER', '+0 (000) 000-00-00', 1, 11, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_ADDRESS_EMAIL', 'service@localhost', 1, 12, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EXPECTED_PRODUCTS_SORT', 'desc', 1, 13, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'asc\', \'desc\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EXPECTED_PRODUCTS_FIELD', 'date_expected', 1, 14, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'products_name\', \'date_expected\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ADVANCED_SEARCH_DEFAULT_OPERATOR', 'and', 1, 15, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'and\', \'or\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('TAX_DECIMAL_PLACES', '2', 1, 16, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DISPLAY_PRICE_WITH_TAX', 'true', 1, 17, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('BASE_PRICE', 'false', 1, 18, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('PRODUCTS_OPTIONS_SORT_BY_PRICE', 'true', 1, 19, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//2
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_FIRST_NAME_MIN_LENGTH', '2', 2, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_LAST_NAME_MIN_LENGTH', '2', 2, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_DOB_MIN_LENGTH', '10', 2, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_EMAIL_ADDRESS_MIN_LENGTH', '6', 2, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_STREET_ADDRESS_MIN_LENGTH', '5', 2, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_COMPANY_LENGTH', '2', 2, 6, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_POSTCODE_MIN_LENGTH', '4', 2, 7, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_CITY_MIN_LENGTH', '3', 2, 8, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_STATE_MIN_LENGTH', '2', 2, 9, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_PASSWORD_MIN_LENGTH', '7', 2, 10, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MIN_DISPLAY_BESTSELLERS', '1', 2, 11, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MIN_DISPLAY_ALSO_PURCHASED', '1', 2, 12, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MIN_DISPLAY_XSELL_PRODUCTS', '1', 2, 13, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//3
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_ADDRESS_BOOK_ENTRIES', '5', 3, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_SEARCH_RESULTS', '20', 3, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_PAGE_LINKS', '5', 3, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_NEW_PRODUCTS', '4', 3, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_UPCOMING_PRODUCTS', '10', 3, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_RANDOM_SELECT_NEW', '10', 3, 6, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_PRODUCTS_NEW', '10', 3, 7, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_BESTSELLERS', '10', 3, 16, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_ALSO_PURCHASED', '6', 3, 17, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_ORDER_HISTORY', '10', 3, 19, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_XSELL_PRODUCTS', '6', 3, 21, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_WISHLIST_PRODUCTS', '6', 3, 22, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_PRODUCTS_IN_PRODUCTS_HISTORY_BOX', '3', 3, 27, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//4
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SUBCATEGORY_IMAGE_WIDTH', '100', 4, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SUBCATEGORY_IMAGE_HEIGHT', '57', 4, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMALL_IMAGE_WIDTH', '110', 4, 7, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMALL_IMAGE_HEIGHT', '110', 4, 8, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_BIGIMAGE_WIDTH', '600', 4, 9, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_BIGIMAGE_HEIGHT', '600', 4, 10, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('IMAGE_ZOOM', 'mouseover', 4, 11, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'mouseover\', \'grab\',\'click\', \'toggle\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ZOOM_BUTTON', 'bottom-right', 4, 12, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'bottom-right\', \'bottom-left\',\'top-right\', \'top-left\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//5
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('CUSTOMER_NOT_LOGIN', 'false', 5, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SEND_CUSTOMER_EDIT_EMAILS', 'true', 5, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DEFAULT_MAX_ORDER', '5800.00', 5, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ACCOUNT_GENDER', 'false', 5, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ACCOUNT_DOB', 'false', 5, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ACCOUNT_COMPANY', 'false', 5, 6, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ACCOUNT_OWNER', 'false', 5, 7, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ACCOUNT_VAT_ID', 'false', 5, 8, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ACCOUNT_STATE', 'false', 5, 9, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ACCOUNT_TELEPHONE', 'false', 5, 10, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('NEWSLETTER', 'false', 5, 11, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('PRODUCTS_NOTIFICATIONS', 'false', 5, 12, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//6
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SMALL_IMAGE_WIDTH', '', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SMALL_IMAGE_HEIGHT', '', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_INSTALLED', 'cod.php;moneyorder.php;cash.php', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_INSTALLED', 'ot_subtotal.php;ot_tax.php;ot_shipping.php;ot_cod_fee.php;ot_total.php', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_INSTALLED', 'dp.php;selfpickup.php', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_COD_STATUS', 'true', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_COD_ZONE', '0', 6, 2, NULL, " . $db->DBTimeStamp($today) . ", 'oos_cfg_get_zone_class_title', 'oos_cfg_pull_down_zone_classes(')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_COD_SORT_ORDER', '0', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_COD_ORDER_STATUS_ID', '0', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", 'oos_cfg_get_order_status_name', 'oos_cfg_pull_down_order_statuses(')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_MONEYORDER_STATUS', 'true', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_MONEYORDER_PAYTO', '', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_MONEYORDER_SORT_ORDER', '0', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_MONEYORDER_ZONE', '0', 6, 2, NULL, " . $db->DBTimeStamp($today) . ", 'oos_cfg_get_zone_class_title', 'oos_cfg_pull_down_zone_classes(')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_MONEYORDER_ORDER_STATUS_ID', '0', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", 'oos_cfg_get_order_status_name', 'oos_cfg_pull_down_order_statuses(')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DEFAULT_CURRENCY', 'EUR', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DEFAULT_LANGUAGE', 'deu', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DEFAULT_LANGUAGE_ID', '1', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DEFAULT_LANGUAGE_CODE', 'de', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DEFAULT_LANGUAGE_NAME', 'deutsch', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DEFAULT_ORDERS_STATUS_ID', '1', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DEFAULT_PRODUTS_STATUS_ID', '3', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DEFAULT_CUSTOMERS_STATUS_ID', '2', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DEFAULT_PRODUCTS_UNITS_ID', '10', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_GV_STATUS', 'false', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('CATEGORYINDICATORS', 'false' , 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('PRODUCTS_OPTIONS_TYPE_SELECT', '1', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('PRODUCTS_OPTIONS_TYPE_CHECKBOX', '2', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('PRODUCTS_OPTIONS_TYPE_RADIO', '3', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('PRODUCTS_OPTIONS_TYPE_TEXT', '4', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('PRODUCTS_OPTIONS_TYPE_FILE', '5', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('PRODUCTS_OPTIONS_VALUE_TEXT_ID', '0', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('UPLOAD_PREFIX', 'upload_', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('TEXT_PREFIX', 'txt_', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_STATUS', 'true', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_HANDLING', '0', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_TAX_CLASS', '0', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", 'oos_cfg_get_tax_class_title', 'oos_cfg_pull_down_tax_classes(')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_ZONE', '0', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", 'oos_cfg_get_zone_class_title', 'oos_cfg_pull_down_zone_classes(')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_SORT_ORDER', '0', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COUNTRIES_1', 'AD,AT,BE,CZ,DK,FO,FI,FR,GR,GL,IE,IT,LI,LU,MC,NL,PL,PT,SM,SK,SE,CH,VA,GB,SP', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COST_1', '5:17.00,10:22.00,20:32.00', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COUNTRIES_2', 'AL,AM,AZ,BY,BA,BG,HR,CY,GE,GI,HU,IS,KZ,LT,MK,MT,MD,NO,SI,UA,TR,YU,RU,RO,LV,EE', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COST_2', '5:30.00,10:35.00,20:45.00', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COUNTRIES_3', 'DZ,BH,CA,EG,IR,IQ,IL,JO,KW,LB,LY,OM,SA,SY,US,AE,YE,MA,QA,TN,PM', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COST_3', '5:32.00,10:42.00,20:62.00', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COUNTRIES_4', 'AF,AS,AO,AI,AG,AR,AW,AU,BS,BD,BB,BZ,BJ,BM,BT,BO,BW,BR,IO,BN,BF,BI,KH,CM,CV,KY,CF,TD,CL,CN,CC,CO,KM,CG,CR,CI,CU,DM,DO,EC,SV,ER,ET,FK,FJ,GF,PF,GA,GM,GH,GD,GP,GT,GN,GW,GY,HT,HN,HK,IN,ID,JM,JP,KE,KI,KG,KP,KR,LA,LS', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COST_4', '5:37.00,10:52.00,20:82.00', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COUNTRIES_5', 'MO,MG,MW,MY,MV,ML,MQ,MR,MU,MX,MN,MS,MZ,MM,NA,NR,NP,AN,NC,NZ,NI,NE,NG,PK,PA,PG,PY,PE,PH,PN,RE,KN,LC,VC,SN,SC,SL,SO,LK,SR,SZ,ZA,SG,TG,TH,TZ,TT,TO,TM,TV,VN,WF,VE,UG,UZ,UY,ST,SH,SD,TW,GQ,LR,DJ,CG,RW,ZM,ZW', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COST_5', '5:37.00,10:52.00,20:82.00', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COUNTRIES_6', 'DE', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_SHIPPING_DP_COST_6', '5:7.00,10:10.50,20:14.00', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_SUBTOTAL_STATUS', 'true', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_SUBTOTAL_SORT_ORDER', '1', 6, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_TAX_STATUS', 'true', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_TAX_SORT_ORDER', '2', 6, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_SHIPPING_STATUS', 'true', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_SHIPPING_SORT_ORDER', '3', 6, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING', 'false', 6, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER', '50', 6, 4, NULL, " . $db->DBTimeStamp($today) . ", 'currencies->format', NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_SHIPPING_DESTINATION', 'national', 6, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'national\', \'international\', \'both\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_COD_STATUS', 'true', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_COD_SORT_ORDER', '4', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_COD_FEE_FLAT', 'AT:3.50,DE:2.00,00:9.99', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_COD_FEE_ITEM', 'AT:3.50,DE:2.00,00:9.99', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_COD_FEE_TABLE', 'AT:3.50,DE:2.00,00:9.99', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_COD_FEE_ZONES', 'DE:2.00,00:9.99', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_COD_FEE_AP', 'AT:3.50,00:9.99', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_COD_FEE_DP', 'DE:2.00,00:9.99', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_COD_TAX_CLASS', '0', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", 'oos_cfg_get_tax_class_title', 'oos_cfg_pull_down_tax_classes(')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_TOTAL_STATUS', 'true', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_ORDER_TOTAL_TOTAL_SORT_ORDER', '5', 6, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_TRANSPORT', 'mail', 6, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'mail\', \'sendmail\', \'smtp\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_USE_HTML', 'true', 6, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_EMAIL_ADDRESS_CHECK', 'false', 6, 6, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMTPAUTH', 'false', 6, 7, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMTPUSER', '', 6, 8, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMTPPASS', '', 6, 9, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMTPHOST', '', 6, 10, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SENDMAIL', '', 6, 11, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_RANDOM_SELECT_REVIEWS', '10', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_NEW_REVIEWS', '6', 6, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('REVIEW_TEXT_MIN_LENGTH', '50', 6, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MIN_DISPLAY_NEW_SPEZILAS', '1', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_NEW_SPEZILAS', '4', 6, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_RANDOM_SELECT_SPECIALS', '10', 6, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_SPECIAL_PRODUCTS', '9', 6, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_FEATURED_PRODUCTS', '6', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_MANUFACTURERS_IN_A_LIST', '0', 6, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_MANUFACTURERS_LIST', '1', 6, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MAX_DISPLAY_MANUFACTURER_NAME_LEN', '15', 6, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PLUGIN_EVENT_INSTALLED', 'category_path;breadcrumb;mail;specials;featured;reviews;manufacturers;', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//7
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_ORIGIN_COUNTRY', 'DE', 7, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_ORIGIN_ZIP', '58135', 7, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SHIPPING_MAX_WEIGHT', '20', 7, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SHIPPING_BOX_WEIGHT', '3', 7, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SHIPPING_BOX_PADDING', '10', 7, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//8
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STOCK_CHECK', 'false', 8, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STOCK_LIMITED', 'false', 8, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STOCK_ALLOW_CHECKOUT', 'true', 8, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STOCK_MARK_PRODUCT_OUT_OF_STOCK', '***', 8, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STOCK_REORDER_LEVEL', '5', 8, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//9
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DOWNLOAD_ENABLED', 'false', 9, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DOWNLOAD_BY_REDIRECT', 'false', 9, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DOWNLOAD_MAX_DAYS', '7', 9, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, '')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DOWNLOAD_MAX_COUNT', '5', 9, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, '')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DOWNLOADS_CONTROLLER_ORDERS_STATUS', '2', 9, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, '')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//10
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SECURITY_CODE_LENGTH', '24', 10, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('NEW_SIGNUP_GIFT_VOUCHER_AMOUNT', '10', 10, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('NEW_SIGNUP_DISCOUNT_COUPON', '3', 10, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//11
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_TEMPLATES', 'phoenix', 11, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SHOW_DATE_ADDED_AVAILABLE', 'true', 11, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SHOW_COUNTS', 'true', 11, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DISPLAY_CART', 'false', 11, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('USE_CACHE', 'false', 11, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//12
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_META_TITLE', '', 12, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_META_DESCRIPTION', '', 12, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_META_AUTHOR', 'MyOOS [Shopsystem]', 12, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_META_COPYRIGHT', 'MyOOS [Shopsystem]', 12, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
//13
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('FACEBOOK_URL', '', 13, 1, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SKYPE_URL', '', 13, 2, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('LINKEDIN_URL', '', 13, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('PINTEREST_URL', '', 13, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('TWITTER_URL', '', 13, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DRIBBBLE_URL', '', 13, 6, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"> <font class="oos-title">' . $prefix_table . "configuration " . UPDATED .'</font>';
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (1, 1, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (2, 2, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (3, 3, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (4, 4, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (5, 5, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (6, 6, 0)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (7, 7, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (8, 8, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (9, 9, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (10, 10, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (11, 11, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (12, 12, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "configuration_group (configuration_group_id, sort_order, visible) VALUES (13, 13, 1)") OR die ("<b>".NOTUPDATED . $prefix_table . "configuration_group</b>");
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"> <font class="oos-title">' . $prefix_table . "configuration_group " . UPDATED .'</font>';

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,193 @@
<?php
/* ----------------------------------------------------------------------
$Id: newinstall.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
File: newinstall.php,v 1.5 2002/02/09 12:50:40
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Based on:
PHP-NUKE Web Portal System - http://phpnuke.org/
Thatware - http://thatware.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Gregor J. Rothfuss
Purpose of file: Provide functions for a new install.
---------------------------------------------------------------------- */
/**
* This function creates the DB on new installs
*/
function make_db($dbhost, $dbuname, $dbpass, $dbname, $prefix_table, $dbtype, $dbmake) {
global $db;
echo '<font class="oos-title">' . INPUT_DATA . '</font>';
echo '<table align="center"><tr><td align="left">';
if ($dbmake) {
$db = NewADOConnection($dbtype);
$dbh = $db->Connect($dbhost, $dbuname, $dbpass);
if (!$dbh) {
$dbpass = "";
die("$dbtype://$dbuname:$dbpass@$dbhost failed to connect" . $db->ErrorMsg());
}
$dict = NewDataDictionary($db);
$sqlarray = $dict->CreateDatabase($dbname);
$dict->ExecuteSQLArray($sqlarray);
}
oosDBInit($dbhost, $dbuname, $dbpass, $dbname, $dbtype);
if (!$prefix_table == '') $prefix_table = $prefix_table . '_';
include('newtables.php');
echo '</td></tr></table>';
}
/**
* This function inserts the default data on new installs
*/
function oosInputData($gender, $firstname, $name, $pwd, $repeatpwd, $email, $phone, $prefix_table, $update) {
global $currentlang, $db, $update;
echo '<font class="oos-title">' . INPUT_DATA . '</font>';
echo '<table align="center"><tr><td align="left">';
if (!$prefix_table == '') $prefix_table = $prefix_table . '_';
// Put basic information in first
$today = date("Y-m-d H:i:s");
require('newdata.php');
$owp_pwd = oos_encrypt_password($pwd);
include_once 'newconfigdata.php';
$admin_groups_id = '1';
$sql = "INSERT INTO ". $prefix_table . "admin
(admin_groups_id,
admin_gender,
admin_firstname,
admin_lastname,
admin_email_address,
admin_telephone,
admin_password,
admin_created)
VALUES (" . $db->qstr($admin_groups_id) . ','
. $db->qstr($gender) . ','
. $db->qstr($firstname) . ','
. $db->qstr($name) . ','
. $db->qstr($email) . ','
. $db->qstr($phone) . ','
. $db->qstr($owp_pwd) . ','
. $db->DBTimeStamp($today) . ")";
$result = $db->Execute($sql);
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"> <font class="oos-title">' . $prefix_table . 'admin&nbsp;'. UPDATED . '</font>';
}
$login = '1';
$status = '1';
$max_order = '800';
$default_address = '1';
$logs = 0;
$sTime = time();
$wishlist_link_id = '';
for ($x=3;$x<10;$x++) {
$wishlist_link_id .= substr($sTime,$x,1) . oos_create_random_value(1, $type = 'chars');
}
$sql = "INSERT INTO ". $prefix_table . "customers
(customers_gender,
customers_firstname,
customers_lastname,
customers_email_address,
customers_telephone,
customers_status,
customers_login,
customers_max_order,
customers_password,
customers_wishlist_link_id,
customers_default_address_id)
VALUES (" . $db->qstr($gender) . ','
. $db->qstr($firstname) . ','
. $db->qstr($name) . ','
. $db->qstr($email) . ','
. $db->qstr($phone) . ','
. $db->qstr($status) . ','
. $db->qstr($login) . ','
. $db->qstr($max_order) . ','
. $db->qstr($owp_pwd) . ','
. $db->qstr($wishlist_link_id) . ','
. $db->qstr($default_address) . ")";
$result = $db->Execute($sql);
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"> <font class="oos-title">' . $prefix_table . 'customers&nbsp;'. UPDATED . '</font>';
}
$customer_id = $db->Insert_ID();
$book_id = 1;
$country = 81;
$sql = "INSERT INTO ". $prefix_table . "address_book
(customers_id,
address_book_id,
entry_firstname,
entry_lastname,
entry_country_id)
VALUES (" . $db->qstr($customer_id) . ','
. $db->qstr($book_id) . ','
. $db->qstr($firstname) . ','
. $db->qstr($name) . ','
. $db->qstr($country) . ")";
$result = $db->Execute($sql);
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"> <font class="oos-title">' . $prefix_table . 'address_book&nbsp;'. UPDATED . '</font>';
}
$sql = "INSERT INTO ". $prefix_table . "customers_info
(customers_info_id,
customers_info_number_of_logons,
customers_info_date_account_created) VALUES (" . $db->qstr($customer_id) . ','
. $db->qstr($logs) . ','
. $db->DBTimeStamp($today) . ")";
$result = $db->Execute($sql);
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle"><font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"> <font class="oos-title">' . $prefix_table . 'customers_info&nbsp;'. UPDATED . '</font>';
}
echo '</td></tr></table>';
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,273 @@
<?php
/* ----------------------------------------------------------------------
$Id: oos160.php,v 1.3 2009/01/13 21:29:21 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
File: pn64.php,v 1.45 2002/03/16 15:24:37 johnnyrocket
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 - 2003 osCommerce
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
global $db, $prefix_table, $currentlang;
if (!$prefix_table == '') $prefix_table = $prefix_table . '_';
$table = $prefix_table . 'sessions';
$result = $db->Execute("DROP TABLE " . $table . "");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
}
include_once 'oostables160.php';
$table = $prefix_table . 'configuration';
$aKeys = array('EMAIL_FROM',
'SEND_EMAILS',
'SEND_EXTRA_ORDER_EMAILS_TO',
'SEND_BANKINFO_TO_ADMIN',
'EMAIL_TRANSPORT',
'EMAIL_LINEFEED',
'EMAIL_USE_HTML',
'ENTRY_EMAIL_ADDRESS_CHECK',
'OOS_META_LANGUAGE',
'OOS_META_DETAILS',
'ENTRY_TELEPHONE_MIN_LENGTH',
'DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE',
'DOWNLOADS_CONTROLLER_ON_HOLD_MSG',
'WEB_PRINTER',
'WEB_PRINTER_EMAIL',
'WEB_PRINTER_FTP',
'WEB_PRINTER_XML',
'PRINTER_EMAIL',
'OOS_PRINTER_TEMP',
'PRINTER_DELETE_FILE',
'PRINTER_STORE_NAME',
'PRINTER_STORE_STREET_ADDRESS',
'PRINTER_STORE_STREET_POSTCODE',
'PRINTER_STORE_STREET_CITY',
'PRINTER_STORE_COUNTRY',
'MAX_DISPLAY_PRODUCTS_IN_ORDER_HISTORY_BOX',
'MAX_DISPLAY_MANUFACTURERS_IN_A_LIST',
'MAX_MANUFACTURERS_LIST',
'MAX_DISPLAY_WISHLIST_BOX',
'MAX_DISPLAY_MANUFACTURER_NAME_LEN');
$db->Execute("DELETE FROM " . $table . " WHERE configuration_key in ('" . implode("', '", $aKeys) . "')");
$table = $prefix_table . 'admin_files';
$result = $db->Execute("DELETE FROM " . $table . " WHERE admin_files_name = 'backup'");
// products_units.php
$result = $db->Execute("INSERT INTO " . $prefix_table . "admin_files (admin_files_name, admin_files_is_boxes, admin_files_to_boxes, admin_groups_id) VALUES ('products_units', 0, 3, 1)") or die ("<b>".NOTUPDATED . $prefix_table . "admin_files</b>");
// products_attributes_add.php
$result = $db->Execute("INSERT INTO " . $prefix_table . "admin_files (admin_files_name, admin_files_is_boxes, admin_files_to_boxes, admin_groups_id) VALUES ('products_attributes_add', 0, 3, 1)") or die ("<b>".NOTUPDATED . $prefix_table . "admin_files</b>");
// excel.php
$result = $db->Execute("INSERT INTO " . $prefix_table . "admin_files (admin_files_name, admin_files_is_boxes, admin_files_to_boxes, admin_groups_id) VALUES ('export_excel', 0, 3, 1)") or die ("<b>".NOTUPDATED . $prefix_table . "admin_files</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "admin_files (admin_files_name, admin_files_is_boxes, admin_files_to_boxes, admin_groups_id) VALUES ('import_excel', 0, 3, 1)") or die ("<b>".NOTUPDATED . $prefix_table . "admin_files</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block (block_id, block_side, block_status, block_file, block_cache, block_type, block_sort_order, block_login_flag, date_added, last_modified, set_function) VALUES (33, 'left', 1, 'skype', 'system', 1, 33, 0, " . $db->DBTimeStamp($today) . ", NULL, 'oos_block_select_option(array(\'left\', \'right\',),')") or die ("<b>".NOTUPDATED . $prefix_table . "block</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block (block_id, block_side, block_status, block_file, block_cache, block_type, block_sort_order, block_login_flag, date_added, last_modified, set_function) VALUES (34, 'left', 1, 'ads', '', 1, 34, 0, " . $db->DBTimeStamp($today) . ", NULL, 'oos_block_select_option(array(\'left\', \'right\',),')") or die ("<b>".NOTUPDATED . $prefix_table . "block</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block (block_id, block_side, block_status, block_file, block_cache, block_type, block_sort_order, block_login_flag, date_added, last_modified, set_function) VALUES (35, 'left', 1, 'myworld', '', 1, 35, 0, " . $db->DBTimeStamp($today) . ", NULL, 'oos_block_select_option(array(\'left\', \'right\',),')") or die ("<b>".NOTUPDATED . $prefix_table . "block</b>");
$table = $prefix_table . 'block';
$result = $db->Execute("ALTER TABLE " . $table . " ADD `block_author_name` VARCHAR(32) NOT NULL AFTER `block_login_flag`");
$result = $db->Execute("ALTER TABLE " . $table . " ADD `block_author_www` VARCHAR( 255 ) NOT NULL AFTER `block_author_name`");
$result = $db->Execute("ALTER TABLE " . $table . " ADD `block_modules_group` VARCHAR( 32 ) DEFAULT 'block' NOT NULL AFTER `block_author_www`");
$table = $prefix_table . 'block';
$result = $db->Execute("UPDATE " . $table . " SET block_author_name = 'MyOOS [Shopsystem]' WHERE block_author_name = ''");
$result = $db->Execute("UPDATE " . $table . " SET block_author_www = 'http://www.oos-shop.de' WHERE block_author_www = ''");
$result = $db->Execute("UPDATE " . $table . " SET block_modules_group = 'block' WHERE block_modules_group = ''");
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $prefix_table . 'block ' . UPDATED .'</font>';
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (33, 1, 'Skype')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (33, 2, 'Skype')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (33, 3, 'Skype')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (33, 6, 'Skype')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (34, 1, 'Werbung')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (34, 2, 'ads')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (34, 3, 'ads')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (34, 6, 'ads')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (35, 1, 'My World')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (35, 2, 'My World')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (35, 3, 'My World')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_info (block_id, block_languages_id, block_name) VALUES (35, 6, 'My World')") or die ("<b>".NOTUPDATED . $prefix_table . "block_info</b>");
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $prefix_table . 'block_info ' . UPDATED .'</font>';
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (33, 1)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (33, 2)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (33, 3)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (33, 4)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (33, 5)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (33, 6)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (33, 7)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (33, 8)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (34, 1)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (34, 2)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (34, 3)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (34, 4)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (34, 5)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (34, 6)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (34, 7)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (34, 8)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (35, 1)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (35, 2)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "block_to_page_type (block_id, page_type_id) VALUES (35, 5)") or die ("<b>".NOTUPDATED . $prefix_table . "block_to_page_type</b>");
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $prefix_table . "block_to_page_type " . UPDATED .'</font>';
$table = $prefix_table . 'categories';
$result = $db->Execute("ALTER TABLE " . $table . " ADD `access` INT( 11 ) DEFAULT '0' NOT NULL AFTER `parent_id`");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$result = $db->Execute("INSERT INTO " . $prefix_table . "customers_status (customers_status_languages_id, customers_status_name, customers_status_image, customers_status_ot_discount_flag, customers_status_ot_discount, customers_status_ot_minimum, customers_status_public, customers_status_show_price, customers_status_show_price_tax, customers_status_qty_discounts, customers_status_payment) VALUES (1, 1, 'Admin', 'smile-yellow.gif', '0', '0.00', '0.00', '0', '1', '1', '1', '')") or die ("<b>".NOTUPDATED . $prefix_table . "customers_status</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "customers_status (customers_status_languages_id, customers_status_name, customers_status_image, customers_status_ot_discount_flag, customers_status_ot_discount, customers_status_ot_minimum, customers_status_public, customers_status_show_price, customers_status_show_price_tax, customers_status_qty_discounts, customers_status_payment) VALUES (1, 2, 'Admin', 'smile-yellow.gif', '0', '0.00', '0.00', '0', '1', '1', '1', '')") or die ("<b>".NOTUPDATED . $prefix_table . "customers_status</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "customers_status (customers_status_languages_id, customers_status_name, customers_status_image, customers_status_ot_discount_flag, customers_status_ot_discount, customers_status_ot_minimum, customers_status_public, customers_status_show_price, customers_status_show_price_tax, customers_status_qty_discounts, customers_status_payment) VALUES (1, 3, 'Admin', 'smile-yellow.gif', '0', '0.00', '0.00', '0', '1', '1', '1', '')") or die ("<b>".NOTUPDATED . $prefix_table . "customers_status</b>");
$result = $db->Execute("INSERT INTO " . $prefix_table . "customers_status (customers_status_languages_id, customers_status_name, customers_status_image, customers_status_ot_discount_flag, customers_status_ot_discount, customers_status_ot_minimum, customers_status_public, customers_status_show_price, customers_status_show_price_tax, customers_status_qty_discounts, customers_status_payment) VALUES (1, 6, 'Admin', 'smile-yellow.gif', '0', '0.00', '0.00', '0', '1', '1', '1', '')") or die ("<b>".NOTUPDATED . $prefix_table . "customers_status</b>");
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $prefix_table . "customers_status " . UPDATED .'</font>';
$table = $prefix_table . 'configuration';
$result = $db->Execute("INSERT INTO " . $table . " (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SKYPE_ME', '', 1, 19, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") or die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $table . " (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('DEFAULT_PRODUCTS_UNITS_ID', '1', 6, 0, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") or die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $table . " (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('PRODUCT_LIST_UVP', '0', 8, 5, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") or die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $table . " (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ACCOUNT_VAT_ID', 'true', 5, 9, NULL, " . $db->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')") or die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $table . " (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('STORE_OWNER_VAT_ID', '', 1, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") or die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $table . " (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMALL_IMAGE_WIDTH', '110', 21, 3, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") or die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$result = $db->Execute("INSERT INTO " . $table . " (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMALL_IMAGE_HEIGHT', '110', 21, 4, NULL, " . $db->DBTimeStamp($today) . ", NULL, NULL)") or die ("<b>".NOTUPDATED . $prefix_table . "configuration</b>");
$table = $prefix_table . 'customers';
$result = $db->Execute("ALTER TABLE " . $table . " ADD `customers_language` VARCHAR(3) AFTER `customers_login`");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$result = $db->Execute("ALTER TABLE " . $table . " ADD `customers_vat_id` VARCHAR(20) AFTER `customers_default_address_id`");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$result = $db->Execute("ALTER TABLE " . $table . " ADD `customers_vat_id_status` TINYINT DEFAULT '0' NOTNULL AFTER `customers_vat_id`");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'languages';
$result = $db->Execute("ALTER TABLE " . $table . " ADD `iso_3166_1` VARCHAR(2) NOT NULL AFTER `iso_639_1`");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'information';
$result = $db->Execute("ALTER TABLE " . $table . " DROP `information_name`");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$result = $db->Execute("ALTER TABLE " . $table . " ADD `products_units_id` INT( 11 ) DEFAULT '0' NOT NULL AFTER `products_tax_class_id`");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
}
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `products_quantity_order_min` `products_quantity_order_min` DECIMAL( 10, 2 ) DEFAULT '1' NOT NULL ");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
}
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `products_discount1_qty` `products_discount1_qty` DECIMAL( 10, 2 ) DEFAULT '0' NOT NULL ");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
}
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `products_discount2_qty` `products_discount2_qty` DECIMAL( 10, 2 ) DEFAULT '0' NOT NULL ");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
}
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `products_discount3_qty` `products_discount3_qty` DECIMAL( 10, 2 ) DEFAULT '0' NOT NULL ");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
}
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `products_discount4_qty` `products_discount4_qty` DECIMAL( 10, 2 ) DEFAULT '0' NOT NULL ");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$result = $db->Execute("ALTER TABLE " . $table . " ADD `permissions` TINYINT DEFAULT '0' NOTNULL AFTER `manufacturers_id`");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
}
$table = $prefix_table . 'customers_basket';
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `customers_basket_quantity` `customers_basket_quantity` DECIMAL( 10, 2 ) NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
$table = $prefix_table . 'orders_products';
$result = $db->Execute("ALTER TABLE " . $table . " CHANGE `products_quantity` `products_quantity` DECIMAL( 10, 2 ) NOT NULL");
if ($result === false) {
echo '<br /><img src="images/no.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-error">' . $db->ErrorMsg() . NOTMADE . '</font>';
} else {
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle">&nbsp;<font class="oos-title">' . $table . ' ' . UPDATED .'</font>';
}
require 'configuration_upgrade.php';

View File

@ -0,0 +1,66 @@
<?php
/* ----------------------------------------------------------------------
$Id: oostables160.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 - 2003 osCommerce
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
function dosql($table, $flds) {
GLOBAL $db;
$dict = NewDataDictionary($db);
$taboptarray = array('mysql' => 'TYPE=MyISAM', 'REPLACE');
$sqlarray = $dict->CreateTableSQL($table, $flds, $taboptarray);
$dict->ExecuteSQLArray($sqlarray);
echo '<br /><img src="images/yes.gif" alt="" border="0" align="absmiddle"> <font class="oos-title">' . $table . " " . MADE . '</font>';
}
function idxsql($idxname, $table, $idxflds) {
GLOBAL $db;
$dict = NewDataDictionary($db);
$sqlarray = $dict->CreateIndexSQL($idxname, $table, $idxflds);
$dict->ExecuteSQLArray($sqlarray);
}
$table = $prefix_table . 'products_units';
$flds = "
products_units_id I DEFAULT '0' NOTNULL PRIMARY,
languages_id I NOTNULL DEFAULT '1' PRIMARY,
products_unit_name C(60) NOTNULL
";
dosql($table, $flds);
$table = $prefix_table . 'sessions';
$flds = "
SESSKEY C(64) NOTNULL PRIMARY,
EXPIRY D NOTNULL,
EXPIREREF C(250),
CREATED T NOTNULL,
MODIFIED T NOTNULL,
SESSDATA XL
";
dosql($table, $flds);

View File

@ -0,0 +1,14 @@
<?php
/* ----------------------------------------------------------------------
$Id: phpinfo.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
phpinfo ();

209
msd2/myoos/install/step.php Normal file
View File

@ -0,0 +1,209 @@
<?php
/* ----------------------------------------------------------------------
$Id: step.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
File: install.php,v 1.91 2002/02/05 11:09:04 jgm
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Based on:
PHP-NUKE Web Portal System - http://phpnuke.org/
Thatware - http://thatware.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file:
Purpose of file:
---------------------------------------------------------------------- */
/**
* PostNuke Install Script.
*
* This script will set the database up, and do the basic configurations of the script.
* Once this script has run, please delete this file from your root directory.
* There is a security risk if you keep this file around.
*
* This module of the PostNuke project was inspired by the myPHPNuke project.
*
* The PostNuke project is free software released under the GNU License.
* Please read the credits file for more information on who has made this project possible.
*/
// Set the level of error reporting
error_reporting(E_ALL & ~E_NOTICE);
/**
* Test to make sure that MyOOS is running on PHP 5.5.9 or newer. Once you are
* sure that your environment is compatible with MyOOS, you can comment this
* line out. When running an application on a new server, uncomment this line
* to check the PHP version quickly.
*/
if (version_compare(PHP_VERSION, '7.2.0', '<')) {
header('Content-type: text/html; charset=utf-8', true, 503);
echo '<h2>Fehler</h2>';
echo 'Auf Ihrem Server läuft PHP version ' . PHP_VERSION . ', MyOOS benötigt mindestens PHP 7.2.0';
echo '<h2>Error</h2>';
echo 'Your server is running PHP version ' . PHP_VERSION . ' but MyOOS requires at least PHP 7.2.0';
return;
}
define('OOS_VALID_MOD', true);
// Version information
define('OOS_VERSION', '2.3.1 -dev');
require_once '../includes/functions/function_global.php';
require_once '../includes/functions/function_kernel.php';
require_once '../includes/lib/phpass/PasswordHash.php';
require_once '../includes/functions/function_password.php';
require_once '../includes/lib/adodb/adodb.inc.php';
include_once 'modify_configure.php';
include_once 'upgrade.php';
include_once 'newinstall.php';
include_once 'gui.php';
include_once 'db.php';
include_once 'check.php';
include_once 'language.php';
if (isset($_POST)) {
foreach ($_POST as $k=>$v) {
$$k = oos_prepare_input($v);
}
}
if (isset($alanguage)) {
$currentlang = $alanguage;
}
if (isset($aupdate)) {
$update = $aupdate;
}
if (!empty($encoded)) {
$dbuname = base64_decode($dbuname);
$dbpass = base64_decode($dbpass);
}
installer_get_language();
include_once 'header.php';
/* This starts the switch statement that filters through the form options.
* the @ is in front of $op to suppress error messages if $op is unset and E_ALL
* is on
*/
switch (@$op) {
case "Finish":
print_oosFinish();
break;
case 'Set Login':
oosDBInit($dbhost, $dbuname, $dbpass, $dbname, $dbtype);
oosInputData($gender, $firstname, $name, $pwd, $repeatpwd, $email, $phone, $prefix_table, $update);
oosUpdateConfigShop(true); // Scott - added
print_SetLogin();
break;
case 'Change Login':
print_ChangeLogin();
break;
case 'Login':
if ( ($pwd == '') || ($email == '') || ($pwd != $repeatpwd) ) {
print_ChangeLogin();
} else {
print_Login();
}
break;
case 'Start':
make_db($dbhost, $dbuname, $dbpass, $dbname, $prefix_table, $dbtype, $dbmake);
print_Start();
break;
case 'Admin':
print_Admin();
break;
case 'Submit':
print_Submit();
break;
case 'CHM_check':
print_CHMcheck();
break;
case 'ChangeServer':
print_ChangeServer();
break;
case 'ConfigServer':
print_ConfigServerInfo();
break;
case 'Confirm':
print_Confirm();
break;
case 'Change_Info':
print_ChangeInfo();
break;
case 'New_Install':
print_NewInstall();
break;
case 'DBSubmit':
print_DBSubmit();
break;
case 'PHP_Check':
if ($_POST['agreecheck'] == false) {
print_select_language();
} else {
writeable_oosConfigure();
oosCheckPHP();
}
break;
case 'UpgardeOrInstall':
print_oosUpgardeOrInstall();
break;
case 'Set Language':
print_oosDefault();
break;
default:
print_select_language();
break;
}
include_once 'footer.php';

View File

View File

@ -0,0 +1,24 @@
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

View File

@ -0,0 +1,259 @@
/* ----------------------------------------------------------------------
$Id: style.css,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2014 by the MyOOS Development Team.
----------------------------------------------------------------------
Based on:
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
/* Side Settings */
body {
background-color: #fff;
color: #333333;
margin: auto;
padding: 7px;
width: auto;
text-align: justify;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: normal;
}
/* Link Settings */
A {
color: #000000;
text-decoration: none
}
A:link {
color: #CC0000;
text-decoration: none
}
A:active {
color: #CC3333;
text-decoration: none
}
A:visited {
color: #CC6666;
text-decoration: none
}
A:hover {
color: #009933;
text-decoration: underline
}
.oos-pageTitle {
color: #CC0000;
FONT-SIZE: 12px;
FONT-WEIGHT: bold;
text-decoration: none
}
.oos-bigTitle {
color: #000000;
FONT-SIZE: 18px;
FONT-WEIGHT: bold;
text-decoration: none
}
.oos-pageGreat {
color: #000000;
FONT-SIZE: 14px;
FONT-WEIGHT: bold;
text-decoration: none
}
.oos-title {
color: #009933;
FONT-WEIGHT: bold;
text-decoration: none;
font-size: 14px;
text-indent: 2px;
}
.oos-error {
color: #EA0000;
FONT-WEIGHT: bold;
text-decoration: none
}
.oos-main {
color: #666666;
text-decoration: none
}
.oos-normal {
color: #000000;
text-decoration: none
}
.oos-sub {
color: #000000;
FONT-SIZE: 9px;
text-decoration: none
}
CHECKBOX, INPUT, RADIO, SELECT, TEXTAREA {
font-size : 11px;
}
.infoBox {
background: #000000;
}
.infoBoxContents {
background: #f8f8f9;
font-size: 10px;
}
.block_content {
margin-top: 0.5em;
margin-bottom: 0.5em;
margin-left: 0.7em;
padding-left: 0.7em;
}
TD.smallText, SPAN.smallText, P.smallText {
font-size: 10px;
}
.small {
font-size: 10px;
color: #999999;
letter-spacing: 1px;
}
.block_head {
font-weight: bold;
color: #009900;
background-image: url(../images/bg.png);
background-repeat: repeat;
}
.block_head_background {
font-weight: bold;
color: #009900;
background-image: url(../images/tbl_head_background.png);
background-repeat: repeat;
}
.block_content_backgr_left {
background-image: url(../images/tbl_inh_backgrd_left.png);
background-repeat: repeat;
background-position: left top;
}
.block_content_backgr_right {
background-image: url(../images/tbl_inh_backgrd_right.png);
background-repeat: repeat;
background-position: right top;
}
.licensetext {
text-align: left;
}
.license {
padding: 0px;
width: 580px;
height: 260px;
}
.license-form {
float: left;
}
.form-block {
border: 1px solid #cccccc;
background: #E9ECEF;
padding-top: 5px;
padding-left: 5px;
padding-bottom: 5px;
padding-right: 5px;
}
.ctr {
text-align: center;
}
.table.content {
width: 80%;
}
.table.content td {
color : #333333;
font-size: 12px;
width: 50%;
}
.table_head_title {
background-image: url(../images/table_head_title.png);
background-repeat: repeat;
font-size: 10px;
font-weight: bold;
color: #FFFFFF;
letter-spacing: 2px;
}
h1 {
font-size: 18px;
font-weight: bold;
color: #CC0000;
letter-spacing: 1px;
font-family: Arial, Helvetica, sans-serif;
}
.table_head_green {
background-image: url(../images/table_head_green.png);
background-repeat: repeat;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-weight: normal;
color: #FFFFFF;
}
.table_head_schadow {
background-image: url(../images/table_head_schadow.png);
background-repeat: repeat;
}
.table_head_setuptitle {
background-image: url(../images/table_head_backgrnd.png);
background-repeat: repeat;
font-size: 12px;
font-weight: bold;
color: #009933;
}
.footer {
font-size: 10px;
color: #999999;
letter-spacing: 1px;
}
.setup_backrnd_aktiv {
font-weight: bold;
color: #009933;
background-image: url(../images/step_backrnd_aktiv.png);
background-repeat: repeat;
}
.setup_backrnd_inaktiv {
font-weight: bold;
color: #CCCCCC;
background-image: url(../images/step_backrnd_inaktiv.png);
background-repeat: repeat;
}

View File

@ -0,0 +1,57 @@
body {
font-family : Tahoma, "MS Serif", Arial;
font-size : 11px;
font-weight : normal;
color : #666666;
background-color : #F6F6F6;
margin : 0px;
background-image : url(../images/back_lin.png);
background-repeat : repeat;
}
a {
text-decoration : none;
}
hr {
color : #CCCCCC;
}
.schadow {
background-image : url(../images/schadow.png);
background-repeat : repeat;
background-position : left;
}
.schadow_buttom {
background-image : url(../images/schadow_buttom.png);
background-repeat : repeat;
}
.upper {
text-transform: uppercase;
}
a:link {
color: #999999;
}
a:visited {
color: #999999;
}
a:hover {
color: #CC0000;
text-decoration: underline;
}
a:active {
color: #999999;
}
.ico_activ {
font-weight: bold;
color: #CC0000;
vertical-align: middle;
}
.title {
font-size: 12px;
font-weight: bold;
color: #000000;
text-transform: uppercase;
}
.footer {
background-image: url(images/back_lin.png);
background-repeat: repeat;
}

View File

@ -0,0 +1,143 @@
<?php
/* ----------------------------------------------------------------------
$Id: update.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
File: install.php,v 1.91 2002/02/05 11:09:04 jgm
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Based on:
PHP-NUKE Web Portal System - http://phpnuke.org/
Thatware - http://thatware.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file:
Purpose of file:
---------------------------------------------------------------------- */
/**
* PostNuke Install Script.
*
* This script will set the database up, and do the basic configurations of the script.
* Once this script has run, please delete this file from your root directory.
* There is a security risk if you keep this file around.
*
* This module of the PostNuke project was inspired by the myPHPNuke project.
*
* The PostNuke project is free software released under the GNU License.
* Please read the credits file for more information on who has made this project possible.
*/
// Set the level of error reporting
error_reporting(E_ALL & ~E_NOTICE);
define('OOS_VALID_MOD', true);
// Set the local configuration parameters - mainly for developers
if (is_readable('../includes/local/configure.php')) {
require_once '../includes/local/configure.php';
} else {
require_once '../includes/configure.php';
}
if (OOS_DB_TYPE == '') {
$server = $_SERVER['HTTP_HOST'];
$path = $_SERVER['SCRIPT_NAME'];
$path = dirname($path);
$url = trim('http://' . $server . $path .'/');
header('Location: ' . $url);
exit;
}
echo 'Es steht kein Update zur Verfügung!<br>There is no update available!';
exit;
if(!defined('MYOOS_INCLUDE_PATH')) {
define('MYOOS_INCLUDE_PATH', OOS_ABSOLUTE_PATH);
}
$autoloader = require_once MYOOS_INCLUDE_PATH . '/vendor/autoload.php';
require_once '../includes/functions/function_kernel.php';
// require the database functions
require_once '../includes/lib/adodb/adodb-errorhandler.inc.php';
require_once '../includes/lib/adodb/adodb.inc.php';
require_once '../includes/classes/class_template.php';
require 'modify_configure.php';
require 'upgrade.php';
require 'gui.php';
require 'db.php';
require 'language.php';
$dbtype = OOS_DB_TYPE;
$dbhost = OOS_DB_SERVER;
$dbname = OOS_DB_DATABASE;
$prefix_table = OOS_DB_PREFIX;
// Decode encoded DB parameters
if (OOS_ENCODED == '1') {
$dbuname = base64_decode(OOS_DB_USERNAME);
$dbpass = base64_decode(OOS_DB_PASSWORD);
} else {
$dbuname = OOS_DB_USERNAME;
$dbpass = OOS_DB_PASSWORD;
}
installer_get_language();
require 'header.php';
/* This starts the switch statement that filters through the form options.
* the @ is in front of $op to suppress error messages if $op is unset and E_ALL
* is on
*/
switch (@$op) {
case "Finish":
print_oosFinish();
break;
case "OOS 1.6.0":
oosDBInit($dbhost, $dbuname, $dbpass, $dbname, $dbtype);
oosDoUpgrade160($dbhost, $dbuname, $dbpass, $dbname, $prefix_table, $dbtype);
print_Next();
break;
default:
$smarty = new myOOS_Smarty();
$smarty->force_compile = TRUE;
$smarty->clearAllCache();
$smarty->clearCompiledTemplate();
print_SelectOOS();
break;
}
require 'footer.php';

View File

@ -0,0 +1,79 @@
<?php
/* ----------------------------------------------------------------------
$Id: upgrade.php,v 1.1 2007/06/13 16:41:18 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team
----------------------------------------------------------------------
Based on:
File: upgrade.php,v 1.3 2002/03/07 09:56:00 lothrien
----------------------------------------------------------------------
POST-NUKE Content Management System
Copyright (C) 2001 by the Post-Nuke Development Team.
http://www.postnuke.com/
----------------------------------------------------------------------
Based on:
PHP-NUKE Web Portal System - http://phpnuke.org/
Thatware - http://thatware.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Gregor J. Rothfuss
Purpose of file: Provide upgrade functions for installer.
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
defined( 'OOS_VALID_MOD' ) or die( 'Direct Access to this location is not allowed.' );
function oosDoUpgrade160 ($dbhost, $dbuname, $dbpass, $dbname, $prefix_table, $dbtype) {
global $db, $currentlang, $update;
include("oos160.php");
}
function print_SelectOOS() {
global $update;
echo '<font class="oos-title">' . OOSUPGRADE_1 . ':</font><br /><br />' . "\n" .
'<font class="oos-error">' . UPGRADE_INFO . '</font><br /><br />' . "\n" .
'<form name="oos updrade" action="update.php" method="post">' . "\n" .
'<input type="hidden" name="aupdate" value="oos160">' . "\n";
print_FormHidden();
echo '<table width="50%" align="center">' . "\n" .
' <tr>' . "\n" .
' <td><input type="submit" name ="op" value="OOS 1.6.0"></td>' . "\n" .
'</tr></table></form>' . "\n" .
'<font class="oos-normal">' . OOSUPGRADE_5 . '</font><br /><br />' . "\n";
}
function print_Next() {
global $update;
echo '<form action="update.php" method="post"><center><table width="50%">' . "\n";
echo '<tr><td align=center><input type="hidden" name="op" value="Finish">' . "\n" .
'<input type="submit" value="' . BTN_FINISH . '"></td></tr></table></center></form>' . "\n";
}