//
// ------------------------------------------------------------------------ //
// 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. //
// //
// You may not change or alter any portion of this comment or credits //
// of supporting developers from this source code or any supporting //
// source code which is considered copyrighted (c) material of the //
// original comment or credit authors. //
// //
// 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 //
// ------------------------------------------------------------------------ //
error_reporting (E_ALL);
include_once './passwd.php';
if(INSTALL_USER != '' || INSTALL_PASSWD != ''){
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm="XOOPS Installer"');
header('HTTP/1.0 401 Unauthorized');
echo 'You can not access this XOOPS installer.';
exit;
} else {
if(INSTALL_USER != '' && $_SERVER['PHP_AUTH_USER'] != INSTALL_USER){
header('HTTP/1.0 401 Unauthorized');
echo 'You can not access this XOOPS installer.';
exit;
}
if(INSTALL_PASSWD != $_SERVER['PHP_AUTH_PW']){
header('HTTP/1.0 401 Unauthorized');
echo 'You can not access this XOOPS installer.';
exit;
}
}
}
include_once './class/textsanitizer.php';
$myts =& TextSanitizer::getInstance();
if ( isset($_POST) ) {
foreach ($_POST as $k=>$v) {
if (!is_array($v)) {
$$k = $myts->stripSlashesGPC($v);
}
}
}
$language = 'tchinese';
if ( !empty($_POST['lang']) ) {
$language = $_POST['lang'];
} else {
if (isset($_COOKIE['install_lang'])) {
$language = $_COOKIE['install_lang'];
} else {
//$_SERVER['HTTP_ACCEPT_LANGUAGE'] = 'ja,en-us;q=0.7,zh-TW;q=0.6';
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
$accept_langs = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
$language_array = array('en' => 'english', 'ja' => 'japanese', 'fr' => 'french', 'de' => 'german', 'nl' => 'dutch', 'es' => 'spanish', 'tw' => 'tchinese', 'cn' => 'schinese', 'ro' => 'romanian');
foreach ($accept_langs as $al) {
$al = strtolower($al);
$al_len = strlen($al);
if ($al_len > 2) {
if (preg_match("/([a-z]{2});q=[0-9.]+$/", $al, $al_match)) {
$al = $al_match[1];
} else {
continue;
}
}
if (isset($language_array[$al])) {
$language = $language_array[$al];
break;
}
}
}
}
}
$language = 'tchinese';
if ( file_exists("./language/".$language."/install.php") ) {
include_once "./language/".$language."/install.php";
} elseif ( file_exists("./language/english/install.php") ) {
include_once "./language/english/install.php";
$language = 'english';
} else {
echo 'no language file.';
exit();
}
setcookie("install_lang", $language);
//include './include/viewerrors.php';
//include './include/functions.php';
define('_OKIMG',"
");
define('_NGIMG',"
");
$b_back = '';
$b_reload = '';
$b_next = '';
// options for mainfile.php
$xoopsOption['nocommon'] = true;
define('XOOPS_INSTALL', 1);
if(!empty($_POST['op']))
$op = $_POST['op'];
elseif(!empty($_GET['op']))
$op = $_GET['op'];
else
$op = '';
///// main
switch ($op) {
default:
case "langselect":
$title = _INSTALL_L0;
if (!defined('_INSTALL_L128')) {
define('_INSTALL_L128', '請選擇安裝過程的語系');
}
$content = "
"._INSTALL_L128."
" .""; $b_next = array('start', _INSTALL_L80 ); include 'install_tpl.php'; break; case "start": $title = _INSTALL_L0; $content = "| \n"; include './language/'.$language.'/welcome.php'; $content .= " |
| \n";
$error = false;
foreach ($writeok as $wok) {
if (!is_dir("../".$wok)) {
if ( file_exists("../".$wok) ) {
@chmod("../".$wok, 0666);
if (! is_writeable("../".$wok)) {
$content .= _NGIMG.sprintf(_INSTALL_L83, $wok)." "; $error = true; }else{ $content .= _OKIMG.sprintf(_INSTALL_L84, $wok)." "; } } } else { @chmod("../".$wok, 0777); if (! is_writeable("../".$wok)) { $content .= _NGIMG.sprintf(_INSTALL_L85, $wok)." "; $error = true; }else{ $content .= _OKIMG.sprintf(_INSTALL_L86, $wok)." "; } } } $content .= " |
"._INSTALL_L87."
"; $b_next = array('dbform', _INSTALL_L89 ); }else{ $content .= ""._INSTALL_L46."
"; $b_reload = true; } include 'install_tpl.php'; break; case "dbform": include_once '../mainfile.php'; include_once 'class/settingmanager.php'; $sm = new setting_manager(); $sm->readConstant(); $content = $sm->editform(); $title = _INSTALL_L90; $b_next = array('dbconfirm',_INSTALL_L91); include 'install_tpl.php'; break; case "dbconfirm": include_once 'class/settingmanager.php'; $sm = new setting_manager(true); $content = $sm->checkData(); if (!empty($content)) { $content .= $sm->editform(); $b_next = array('dbconfirm',_INSTALL_L91); include 'install_tpl.php'; break; } $title = _INSTALL_L53; $content = $sm->confirmForm(); $b_next = array('dbsave',_INSTALL_L92 ); $b_back = array('', _INSTALL_L93 ); include 'install_tpl.php'; break; case "dbsave": include_once "./class/mainfilemanager.php"; $title = _INSTALL_L88; $mm = new mainfile_manager("../mainfile.php"); $ret = $mm->copyDistFile(); if(! $ret){ $content = _INSTALL_L60; include 'install_tpl.php'; exit(); } $mm->setRewrite('XOOPS_ROOT_PATH', trim($myts->stripSlashesGPC($_POST['root_path']))); $mm->setRewrite('XOOPS_URL', trim($myts->stripSlashesGPC($_POST['xoops_url']))); $mm->setRewrite('XOOPS_DB_TYPE', trim($myts->stripSlashesGPC($_POST['database']))); $mm->setRewrite('XOOPS_DB_PREFIX', trim($myts->stripSlashesGPC($_POST['prefix']))); $mm->setRewrite('XOOPS_DB_HOST', trim($myts->stripSlashesGPC($_POST['dbhost']))); $mm->setRewrite('XOOPS_DB_USER', trim($myts->stripSlashesGPC($_POST['dbuname']))); $mm->setRewrite('XOOPS_DB_PASS', trim($myts->stripSlashesGPC($_POST['dbpass']))); $mm->setRewrite('XOOPS_DB_NAME', trim($myts->stripSlashesGPC($_POST['dbname']))); $mm->setRewrite('XOOPS_DB_PCONNECT', intval($_POST['db_pconnect'])); $mm->setRewrite('XOOPS_GROUP_ADMIN', 1); $mm->setRewrite('XOOPS_GROUP_USERS', 2); $mm->setRewrite('XOOPS_GROUP_ANONYMOUS', 3); // Check if XOOPS_CHECK_PATH should be initially set or not $xoopsPathTrans = isset($_SERVER['PATH_TRANSLATED']) ? $_SERVER['PATH_TRANSLATED'] : $_SERVER['SCRIPT_FILENAME']; if ( DIRECTORY_SEPARATOR != '/' ) { // IIS6 doubles the \ chars $xoopsPathTrans = str_replace( strpos( $xoopsPathTrans, '\\\\', 2 ) ? '\\\\' : DIRECTORY_SEPARATOR, '/', $xoopsPathTrans); } $mm->setRewrite('XOOPS_CHECK_PATH', strcasecmp( substr($xoopsPathTrans, 0, strlen($myts->stripSlashesGPC($_POST['root_path']))), $_POST['root_path']) ? 0 : 1 ); $ret = $mm->doRewrite(); if(! $ret){ $content = _INSTALL_L60; include 'install_tpl.php'; exit(); } $content = $mm->report(); $content .= ""._INSTALL_L62."
\n"; $b_next = array('mainfile', _INSTALL_L94 ); include 'install_tpl.php'; break; case "mainfile": // checking XOOPS_ROOT_PATH and XOOPS_URL include_once "../mainfile.php"; $title = _INSTALL_L94; $content = "| \n";
$detected = str_replace("\\", "/", getcwd()); // "
$detected = str_replace("/install", "", $detected);
if ( substr($detected, -1) == "/" ) {
$detected = substr($detected, 0, -1);
}
if (empty($detected)){
$content .= _NGIMG._INSTALL_L95.' '; } elseif ( XOOPS_ROOT_PATH != $detected ) { $content .= _NGIMG.sprintf(_INSTALL_L96,$detected). ' '; }else { $content .= _OKIMG._INSTALL_L97.' '; } if(!is_dir(XOOPS_ROOT_PATH)){ $content .= _NGIMG._INSTALL_L99.' '; } if(preg_match('/^http[s]?:\/\/(.*)[^\/]+$/i',XOOPS_URL)){ $content .= _OKIMG._INSTALL_L100.' '; }else{ $content .= _NGIMG._INSTALL_L101.' '; } $content .= " |
| \n";
$content .= _INSTALL_L11."".XOOPS_ROOT_PATH." "; $content .= _INSTALL_L12."".XOOPS_URL." "; $content .= " |
"._INSTALL_L13."
\n"; $b_next = array('initial', _INSTALL_L102 ); $b_back = array('start', _INSTALL_L103 ); $b_reload = true; include 'install_tpl.php'; //mainfile_settings(); break; case "initial": // confirm database setting include_once "../mainfile.php"; $content = "";
$content .= "
\n"; $content .= " | ||||||||
| ";
$content .= _INSTALL_L13." \n"; $content .= " |
| \n";
if (! $dbm->isConnectable()) {
$content .= _NGIMG._INSTALL_L106." "; $content .= " "._INSTALL_L107; $content .= " |
"._INSTALL_L21."
"
."".XOOPS_DB_NAME."
"._INSTALL_L22."
"; $b_next = array('createDB', _INSTALL_L105); $b_back = array('start', _INSTALL_L103); $b_reload = true; }else{ if (!$dbm->tableExists('users')) { $content .= _OKIMG.sprintf(_INSTALL_L110, XOOPS_DB_NAME).""._INSTALL_L111."
"; $b_next = array('createTables', _INSTALL_L40); } else { $content .= _OKIMG.sprintf(_INSTALL_L110, XOOPS_DB_NAME).""._INSTALL_L130."
"; $b_next = array('updateTables', _INSTALL_L14); } else { $content .= _NGIMG._INSTALL_L131.""._INSTALL_L31."
"; $b_next = array('checkDB', _INSTALL_L104); $b_back = array('start', _INSTALL_L103); }else{ $content = "".sprintf(_INSTALL_L43, XOOPS_DB_NAME)."
"; $b_next = array('checkDB', _INSTALL_L104); } include 'install_tpl.php'; break; case "createTables": include_once "../mainfile.php"; include_once './class/dbmanager.php'; $dbm = new db_manager; //$content = "| \n";
$tables = array();
$result = $dbm->queryFromFile('./sql/'.XOOPS_DB_TYPE.'.structure.sql');
$content = $dbm->report();
if(! $result ){
//$deleted = $dbm->deleteTables($tables);
$content .= " "._INSTALL_L114." \n"; $b_back = array('start', _INSTALL_L103); }else{ $content .= ""._INSTALL_L115." \n"; $b_next = array('siteInit', _INSTALL_L112); } include 'install_tpl.php'; break; case 'updateTables': include_once "../mainfile.php"; include_once './class/dbmanager.php'; $db = new db_manager; $sql = 'SELECT * FROM '.$db->prefix('groups'); $result = $db->query($sql); $content = ''._INSTALL_L157.''; $content .= '
"._INSTALL_L135." \n"; $b_back = array(); } else { $content .= ""._INSTALL_L136." \n"; $b_next = array('updateConfig', _INSTALL_L14); } include 'install_tpl.php'; break; case 'updateConfig': $b_next = array('updateConfig_go', _INSTALL_L144); $content = ""._INSTALL_L143." \n"; include 'install_tpl.php'; break; case 'updateConfig_go': include_once "../mainfile.php"; $language = check_language($language); if ( file_exists("./language/".$language."/install2.php") ) { include_once "./language/".$language."/install2.php"; } elseif ( file_exists("./language/english/install2.php") ) { include_once "./language/english/install2.php"; $language = 'english'; } else { echo 'no language file (install2.php).'; exit(); } include_once './class/dbmanager.php'; $dbm = new db_manager; // default settings $xoopsConfig['sitename'] = 'XOOPS Site'; $xoopsConfig['slogan'] = 'Just use it!'; $xoopsConfig['adminmail'] = ''; $xoopsConfig['language'] = 'english'; $xoopsConfig['anonymous'] = 'Anonymous'; $xoopsConfig['minpass'] = 5; $xoopsConfig['anonpost'] = 0; $xoopsConfig['new_user_notify'] = 0; $xoopsConfig['new_user_notify_group'] = 1; $xoopsConfig['self_delete'] = 0; $xoopsConfig['gzip_compression'] = 0; $xoopsConfig['uname_test_level'] = 0; $xoopsConfig['usercookie'] = "xoops_user"; $xoopsConfig['sessioncookie'] = "xoops_session"; $xoopsConfig['sessionexpire'] = 4500; $xoopsConfig['server_TZ'] = 0; $xoopsConfig['default_TZ'] = 0; $xoopsConfig['banners'] = 1; $xoopsConfig['com_mode'] = "nest"; $xoopsConfig['com_order'] = 1; $xoopsConfig['my_ip'] = "127.0.0.1"; $xoopsConfig['avatar_allow_upload'] = 0; $xoopsConfig['avatar_width'] = 120; $xoopsConfig['avatar_height'] = 120; $xoopsConfig['avatar_maxsize'] = 15000; // override deafault with 1.3.x settings if any if (file_exists('../modules/system/cache/config.php')) { include_once('../modules/system/cache/config.php'); } $dbm->insert('config', " VALUES (1, 0, 1, 'sitename', '_MD_AM_SITENAME', '".addslashes($xoopsConfig['sitename'])."', '_MD_AM_SITENAMEDSC', 'textbox', 'text', 0)"); $dbm->insert('config', " VALUES (2, 0, 1, 'slogan', '_MD_AM_SLOGAN', '".addslashes($xoopsConfig['slogan'])."', '_MD_AM_SLOGANDSC', 'textbox', 'text', 2)"); $dbm->insert('config', " VALUES (3, 0, 1, 'language', '_MD_AM_LANGUAGE', '".$xoopsConfig['language']."', '_MD_AM_LANGUAGEDSC', 'language', 'other', 4)"); $dbm->insert('config', " VALUES (4, 0, 1, 'startpage', '_MD_AM_STARTPAGE', '--', '_MD_AM_STARTPAGEDSC', 'startpage', 'other', 6)"); $dbm->insert('config', " VALUES (5, 0, 1, 'server_TZ', '_MD_AM_SERVERTZ', '".addslashes($xoopsConfig['server_TZ'])."', '_MD_AM_SERVERTZDSC', 'timezone', 'float', 8)"); $dbm->insert('config', " VALUES (6, 0, 1, 'default_TZ', '_MD_AM_DEFAULTTZ', '".addslashes($xoopsConfig['default_TZ'])."', '_MD_AM_DEFAULTTZDSC', 'timezone', 'float', 10)"); $dbm->insert('config', " VALUES (7, 0, 1, 'theme_set', '_MD_AM_DTHEME', 'default', '_MD_AM_DTHEMEDSC', 'theme', 'other', 12)"); $dbm->insert('config', " VALUES (8, 0, 1, 'anonymous', '_MD_AM_ANONNAME', '".addslashes($xoopsConfig['anonymous'])."', '_MD_AM_ANONNAMEDSC', 'textbox', 'text', 15)"); $dbm->insert('config', " VALUES (9, 0, 1, 'gzip_compression', '_MD_AM_USEGZIP', '".intval($xoopsConfig['gzip_compression'])."', '_MD_AM_USEGZIPDSC', 'yesno', 'int', 16)"); $dbm->insert('config', " VALUES (10, 0, 1, 'usercookie', '_MD_AM_USERCOOKIE', '".addslashes($xoopsConfig['usercookie'])."', '_MD_AM_USERCOOKIEDSC', 'textbox', 'text', 18)"); $dbm->insert('config', " VALUES (11, 0, 1, 'session_expire', '_MD_AM_SESSEXPIRE', '15', '_MD_AM_SESSEXPIREDSC', 'textbox', 'int', 22)"); $dbm->insert('config', " VALUES (12, 0, 1, 'banners', '_MD_AM_BANNERS', '".intval($xoopsConfig['banners'])."', '_MD_AM_BANNERSDSC', 'yesno', 'int', 26)"); $dbm->insert('config', " VALUES (13, 0, 1, 'debug_mode', '_MD_AM_DEBUGMODE', '0', '_MD_AM_DEBUGMODEDSC', 'select', 'int', 24)"); $dbm->insert('config', " VALUES (14, 0, 1, 'my_ip', '_MD_AM_MYIP', '".addslashes($xoopsConfig['my_ip'])."', '_MD_AM_MYIPDSC', 'textbox', 'text', 29)"); $dbm->insert('config', " VALUES (15, 0, 1, 'use_ssl', '_MD_AM_USESSL', '0', '_MD_AM_USESSLDSC', 'yesno', 'int', 30)"); $dbm->insert('config', " VALUES (16, 0, 1, 'session_name', '_MD_AM_SESSNAME', 'xoops_session', '_MD_AM_SESSNAMEDSC', 'textbox', 'text', 20)"); $dbm->insert('config', " VALUES (17, 0, 2, 'minpass', '_MD_AM_MINPASS', '".intval($xoopsConfig['minpass'])."', '_MD_AM_MINPASSDSC', 'textbox', 'int', 1)"); $dbm->insert('config', " VALUES (18, 0, 2, 'minuname', '_MD_AM_MINUNAME', '5', '_MD_AM_MINUNAMEDSC', 'textbox', 'int', 2)"); $dbm->insert('config', " VALUES (19, 0, 2, 'new_user_notify', '_MD_AM_NEWUNOTIFY', '".intval($xoopsConfig['new_user_notify'])."', '_MD_AM_NEWUNOTIFYDSC', 'yesno', 'int', 4)"); $dbm->insert('config', " VALUES (20, 0, 2, 'new_user_notify_group', '_MD_AM_NOTIFYTO', ".intval($xoopsConfig['new_user_notify_group']).", '_MD_AM_NOTIFYTODSC', 'group', 'int', 6)"); $dbm->insert('config', " VALUES (21, 0, 2, 'activation_type', '_MD_AM_ACTVTYPE', '0', '_MD_AM_ACTVTYPEDSC', 'select', 'int', 8)"); $dbm->insert('config', " VALUES (22, 0, 2, 'activation_group', '_MD_AM_ACTVGROUP', ".XOOPS_GROUP_ADMIN.", '_MD_AM_ACTVGROUPDSC', 'group', 'int', 10)"); $dbm->insert('config', " VALUES (23, 0, 2, 'uname_test_level', '_MD_AM_UNAMELVL', '".intval($xoopsConfig['uname_test_level'])."', '_MD_AM_UNAMELVLDSC', 'select', 'int', 12)"); $dbm->insert('config', " VALUES (24, 0, 2, 'avatar_allow_upload', '_MD_AM_AVATARALLOW', '".intval($xoopsConfig['avatar_allow_upload'])."', '_MD_AM_AVATARALWDSC', 'yesno', 'int', 14)"); $dbm->insert('config', " VALUES (27, 0, 2, 'avatar_width', '_MD_AM_AVATARW', '".intval($xoopsConfig['avatar_width'])."', '_MD_AM_AVATARWDSC', 'textbox', 'int', 16)"); $dbm->insert('config', " VALUES (28, 0, 2, 'avatar_height', '_MD_AM_AVATARH', '".intval($xoopsConfig['avatar_height'])."', '_MD_AM_AVATARHDSC', 'textbox', 'int', 18)"); $dbm->insert('config', " VALUES (29, 0, 2, 'avatar_maxsize', '_MD_AM_AVATARMAX', '".intval($xoopsConfig['avatar_maxsize'])."', '_MD_AM_AVATARMAXDSC', 'textbox', 'int', 20)"); $dbm->insert('config', " VALUES (30, 0, 1, 'adminmail', '_MD_AM_ADMINML', '".addslashes($xoopsConfig['adminmail'])."', '_MD_AM_ADMINMLDSC', 'textbox', 'text', 3)"); $dbm->insert('config', " VALUES (31, 0, 2, 'self_delete', '_MD_AM_SELFDELETE', '".intval($xoopsConfig['self_delete'])."', '_MD_AM_SELFDELETEDSC', 'yesno', 'int', 22)"); $dbm->insert('config', " VALUES (32, 0, 1, 'com_mode', '_MD_AM_COMMODE', '".addslashes($xoopsConfig['com_mode'])."', '_MD_AM_COMMODEDSC', 'select', 'text', 34)"); $dbm->insert('config', " VALUES (33, 0, 1, 'com_order', '_MD_AM_COMORDER', '".intval($xoopsConfig['com_order'])."', '_MD_AM_COMORDERDSC', 'select', 'int', 36)"); $dbm->insert('config', " VALUES (34, 0, 2, 'bad_unames', '_MD_AM_BADUNAMES', '".addslashes(serialize(array('webmaster', '^xoops', '^admin')))."', '_MD_AM_BADUNAMESDSC', 'textarea', 'array', 24)"); $dbm->insert('config', " VALUES (35, 0, 2, 'bad_emails', '_MD_AM_BADEMAILS', '".addslashes(serialize(array('xoops.org$')))."', '_MD_AM_BADEMAILSDSC', 'textarea', 'array', 26)"); $dbm->insert('config', " VALUES (36, 0, 2, 'maxuname', '_MD_AM_MAXUNAME', '10', '_MD_AM_MAXUNAMEDSC', 'textbox', 'int', 3)"); $dbm->insert('config', " VALUES (37, 0, 1, 'bad_ips', '_MD_AM_BADIPS', '".addslashes(serialize(array('127.0.0.1')))."', '_MD_AM_BADIPSDSC', 'textarea', 'array', 42)"); $dbm->insert('config', " VALUES (38, 0, 3, 'meta_keywords', '_MD_AM_METAKEY', 'news, technology, headlines, xoops, xoop, nuke, myphpnuke, myphp-nuke, phpnuke, SE, geek, geeks, hacker, hackers, linux, software, download, downloads, free, community, mp3, forum, forums, bulletin, board, boards, bbs, php, survey, poll, polls, kernel, comment, comments, portal, odp, open, source, opensource, FreeSoftware, gnu, gpl, license, Unix, *nix, mysql, sql, database, databases, web site, weblog, guru, module, modules, theme, themes, cms, content management', '_MD_AM_METAKEYDSC', 'textarea', 'text', 0)"); $dbm->insert('config', " VALUES (39, 0, 3, 'footer', '_MD_AM_FOOTER', 'Powered by XOOPS 2.0 © 2001-" . date('Y', time()) . " The XOOPS Project', '_MD_AM_FOOTERDSC', 'textarea', 'text', 20)"); $dbm->insert('config', " VALUES (40, 0, 4, 'censor_enable', '_MD_AM_DOCENSOR', '0', '_MD_AM_DOCENSORDSC', 'yesno', 'int', 0)"); $dbm->insert('config', " VALUES (41, 0, 4, 'censor_words', '_MD_AM_CENSORWRD', '".addslashes(serialize(array('fuck', 'shit')))."', '_MD_AM_CENSORWRDDSC', 'textarea', 'array', 1)"); $dbm->insert('config', " VALUES (42, 0, 4, 'censor_replace', '_MD_AM_CENSORRPLC', '#OOPS#', '_MD_AM_CENSORRPLCDSC', 'textbox', 'text', 2)"); $dbm->insert('config', " VALUES (43, 0, 3, 'meta_robots', '_MD_AM_METAROBOTS', 'index,follow', '_MD_AM_METAROBOTSDSC', 'select', 'text', 2)"); $dbm->insert('config', " VALUES (44, 0, 5, 'enable_search', '_MD_AM_DOSEARCH', '1', '_MD_AM_DOSEARCHDSC', 'yesno', 'int', 0)"); $dbm->insert('config', " VALUES (45, 0, 5, 'keyword_min', '_MD_AM_MINSEARCH', '5', '_MD_AM_MINSEARCHDSC', 'textbox', 'int', 1)"); $dbm->insert('config', " VALUES (46, 0, 2, 'avatar_minposts', '_MD_AM_AVATARMP', '0', '_MD_AM_AVATARMPDSC', 'textbox', 'int', 15)"); $dbm->insert('config', " VALUES (47, 0, 1, 'enable_badips', '_MD_AM_DOBADIPS', '0', '_MD_AM_DOBADIPSDSC', 'yesno', 'int', 40)"); $dbm->insert('config', " VALUES (48, 0, 3, 'meta_rating', '_MD_AM_METARATING', 'general', '_MD_AM_METARATINGDSC', 'select', 'text', 4)"); $dbm->insert('config', " VALUES (49, 0, 3, 'meta_author', '_MD_AM_METAAUTHOR', 'XOOPS', '_MD_AM_METAAUTHORDSC', 'textbox', 'text', 6)"); $dbm->insert('config', " VALUES (50, 0, 3, 'meta_copyright', '_MD_AM_METACOPYR', 'Copyright © 2001-2003', '_MD_AM_METACOPYRDSC', 'textbox', 'text', 8)"); $dbm->insert('config', " VALUES (51, 0, 3, 'meta_description', '_MD_AM_METADESC', 'XOOPS is a dynamic Object Oriented based open source portal script written in PHP.', '_MD_AM_METADESCDSC', 'textarea', 'text', 1)"); $dbm->insert('config', " VALUES (52, 0, 2, 'allow_chgmail', '_MD_AM_ALLWCHGMAIL', '0', '_MD_AM_ALLWCHGMAILDSC', 'yesno', 'int', 3)"); $dbm->insert('config', " VALUES (53, 0, 1, 'use_mysession', '_MD_AM_USEMYSESS', '0', '_MD_AM_USEMYSESSDSC', 'yesno', 'int', 19)"); $dbm->insert('config', " VALUES (54, 0, 2, 'reg_dispdsclmr', '_MD_AM_DSPDSCLMR', 1, '_MD_AM_DSPDSCLMRDSC', 'yesno', 'int', 30)"); $dbm->insert('config', " VALUES (55, 0, 2, 'reg_disclaimer', '_MD_AM_REGDSCLMR', '".addslashes(_INSTALL_DISCLMR)."', '_MD_AM_REGDSCLMRDSC', 'textarea', 'text', 32)"); $dbm->insert('config', " VALUES (56, 0, 2, 'allow_register', '_MD_AM_ALLOWREG', 1, '_MD_AM_ALLOWREGDSC', 'yesno', 'int', 0)"); $dbm->insert('config', " VALUES (57, 0, 1, 'theme_fromfile', '_MD_AM_THEMEFILE', '0', '_MD_AM_THEMEFILEDSC', 'yesno', 'int', 13)"); $dbm->insert('config', " VALUES (58, 0, 1, 'closesite', '_MD_AM_CLOSESITE', '0', '_MD_AM_CLOSESITEDSC', 'yesno', 'int', 26)"); $dbm->insert('config', " VALUES (59, 0, 1, 'closesite_okgrp', '_MD_AM_CLOSESITEOK', '".addslashes(serialize(array('1')))."', '_MD_AM_CLOSESITEOKDSC', 'group_multi', 'array', 27)"); $dbm->insert('config', " VALUES (60, 0, 1, 'closesite_text', '_MD_AM_CLOSESITETXT', '"._INSTALL_L165."', '_MD_AM_CLOSESITETXTDSC', 'textarea', 'text', 28)"); $dbm->insert('config', " VALUES (61, 0, 1, 'sslpost_name', '_MD_AM_SSLPOST', 'xoops_ssl', '_MD_AM_SSLPOSTDSC', 'textbox', 'text', 31)"); $dbm->insert('config', " VALUES (62, 0, 1, 'module_cache', '_MD_AM_MODCACHE', '', '_MD_AM_MODCACHEDSC', 'module_cache', 'array', 50)"); $dbm->insert('config', " VALUES (63, 0, 1, 'template_set', '_MD_AM_DTPLSET', 'default', '_MD_AM_DTPLSETDSC', 'tplset', 'other', 14)"); $dbm->insert('config', " VALUES (64,0,6,'mailmethod','_MD_AM_MAILERMETHOD','mail','_MD_AM_MAILERMETHODDESC','select','text',4)"); $dbm->insert('config', " VALUES (65,0,6,'smtphost','_MD_AM_SMTPHOST','a:1:{i:0;s:0:\"\";}', '_MD_AM_SMTPHOSTDESC','textarea','array',6)"); $dbm->insert('config', " VALUES (66,0,6,'smtpuser','_MD_AM_SMTPUSER','','_MD_AM_SMTPUSERDESC','textbox','text',7)"); $dbm->insert('config', " VALUES (67,0,6,'smtppass','_MD_AM_SMTPPASS','','_MD_AM_SMTPPASSDESC','password','text',8)"); $dbm->insert('config', " VALUES (68,0,6,'sendmailpath','_MD_AM_SENDMAILPATH','/usr/sbin/sendmail','_MD_AM_SENDMAILPATHDESC','textbox','text',5)"); $dbm->insert('config', " VALUES (69,0,6,'from','_MD_AM_MAILFROM','','_MD_AM_MAILFROMDESC','textbox','text',1)"); $dbm->insert('config', " VALUES (70,0,6,'fromname','_MD_AM_MAILFROMNAME','','_MD_AM_MAILFROMNAMEDESC','textbox','text',2)"); $dbm->insert('config', " VALUES (71, 0, 1, 'sslloginlink', '_MD_AM_SSLLINK', 'https://', '_MD_AM_SSLLINKDSC', 'textbox', 'text', 33)"); $dbm->insert('config', " VALUES (72, 0, 1, 'theme_set_allowed', '_MD_AM_THEMEOK', '".serialize(array('default'))."', '_MD_AM_THEMEOKDSC', 'theme_multi', 'array', 13)"); $dbm->insert('config', " VALUES (73,0,6,'fromuid','_MD_AM_MAILFROMUID','1','_MD_AM_MAILFROMUIDDESC','user','int',3)"); $dbm->insert('config', " VALUES (74,0,7,'auth_method','_MD_AM_AUTHMETHOD','xoops','_MD_AM_AUTHMETHODDESC','select','text',1)"); $dbm->insert('config', " VALUES (75,0,7,'ldap_port','_MD_AM_LDAP_PORT','389','_MD_AM_LDAP_PORT','textbox','int',2)"); $dbm->insert('config', " VALUES (76,0,7,'ldap_server','_MD_AM_LDAP_SERVER','your directory server','_MD_AM_LDAP_SERVER_DESC','textbox','text',3)"); $dbm->insert('config', " VALUES (77,0,7,'ldap_base_dn','_MD_AM_LDAP_BASE_DN','dc=xoops,dc=org','_MD_AM_LDAP_BASE_DN_DESC','textbox','text',4)"); $dbm->insert('config', " VALUES (78,0,7,'ldap_manager_dn','_MD_AM_LDAP_MANAGER_DN','manager_dn','_MD_AM_LDAP_MANAGER_DN_DESC','textbox','text',5)"); $dbm->insert('config', " VALUES (79,0,7,'ldap_manager_pass','_MD_AM_LDAP_MANAGER_PASS','manager_pass','_MD_AM_LDAP_MANAGER_PASS_DESC','password','text',6)"); $dbm->insert('config', " VALUES (80,0,7,'ldap_version','_MD_AM_LDAP_VERSION','3','_MD_AM_LDAP_VERSION_DESC','textbox','text', 7)"); $dbm->insert('config', " VALUES (81,0,7,'ldap_users_bypass','_MD_AM_LDAP_USERS_BYPASS','".serialize(array('admin'))."','_MD_AM_LDAP_USERS_BYPASS_DESC','textarea','array',8)"); $dbm->insert('config', " VALUES (82,0,7,'ldap_loginname_asdn','_MD_AM_LDAP_LOGINNAME_ASDN','uid_asdn','_MD_AM_LDAP_LOGINNAME_ASDN_D','yesno','int',9)"); $dbm->insert('config', " VALUES (83,0,7,'ldap_loginldap_attr', '_MD_AM_LDAP_LOGINLDAP_ATTR', 'uid', '_MD_AM_LDAP_LOGINLDAP_ATTR_D', 'textbox', 'text', 10)"); $dbm->insert('config', " VALUES (84,0,7,'ldap_filter_person','_MD_AM_LDAP_FILTER_PERSON','','_MD_AM_LDAP_FILTER_PERSON_DESC','textbox','text',11)"); $dbm->insert('config', " VALUES (85,0,7,'ldap_domain_name','_MD_AM_LDAP_DOMAIN_NAME','mydomain','_MD_AM_LDAP_DOMAIN_NAME_DESC','textbox','text',12)"); $dbm->insert('config', " VALUES (86,0,7,'ldap_provisionning','_MD_AM_LDAP_PROVIS','0','_MD_AM_LDAP_PROVIS_DESC','yesno','int',13)"); $dbm->insert('config', " VALUES (87,0,7,'ldap_provisionning_group','_MD_AM_LDAP_PROVIS_GROUP','a:1:{i:0;s:1:\"2\";}','_MD_AM_LDAP_PROVIS_GROUP_DSC','group_multi','array',14)"); // default the default theme $time = time(); $dbm->insert('tplset', " VALUES (1, 'default', 'XOOPS Default Theme', '', ".$time.")"); // include_once './class/cachemanager.php'; // $cm = new cache_manager; // $skinfiles = array('1' => 'skin.html', '2' => 'style.css' // , '3' => 'styleNN.css','4' => 'styleMAC.css' // , '5' => 'skin_blockleft.html', '6' => 'skin_blockright.html' // , '7' => 'skin_blockcenter_l.html', '8' => 'skin_blockcenter_c.html' // , '9' => 'skin_blockcenter_r.html'); // foreach ($skinfiles as $key => $skinfile) { // if(preg_match('/\.css$/', $skinfile)) { // $type = 'css'; // }else{ // $type = 'skin'; // } // $dbm->insert('tplfile', " VALUES ($key, 0, '', 'default', '$skinfile', '', $time, $time, '$type')"); // $fp = fopen('./templates/default_skin/'.$skinfile, 'r'); // $skinsource = fread($fp, filesize('./templates/default_skin/'.$skinfile)); // fclose($fp); // $dbm->insert('tplsource', " (tpl_id, tpl_source) VALUES ($key, '".addslashes($skinsource)."')"); // if(preg_match('/\.css$/',$skinfile)) { // $cm->write($skinfile, $skinsource); // } // } $dbm->query("INSERT INTO ".$dbm->prefix('group_permission')." (gperm_groupid, gperm_itemid) SELECT groupid, block_id FROM ".$dbm->prefix('groups_blocks_link')); $dbm->query("UPDATE ".$dbm->prefix('group_permission')." SET gperm_name = 'block_read'"); $dbm->query("INSERT INTO ".$dbm->prefix('group_permission')." (gperm_groupid, gperm_itemid) SELECT groupid, mid FROM ".$dbm->prefix('groups_modules_link') ." WHERE type='A'"); $dbm->query("UPDATE ".$dbm->prefix('group_permission')." SET gperm_name = 'module_admin' WHERE gperm_name = ''"); $dbm->query("INSERT INTO ".$dbm->prefix('group_permission')." (gperm_groupid, gperm_itemid) SELECT groupid, mid FROM ".$dbm->prefix('groups_modules_link')." WHERE type='R'"); $dbm->query("UPDATE ".$dbm->prefix('group_permission')." SET gperm_name = 'module_read' WHERE gperm_name = ''"); $dbm->query("UPDATE ".$dbm->prefix('group_permission')." SET gperm_modid = 1"); $dbm->query('DROP TABLE '.$dbm->prefix('groups_blocks_link')); $dbm->query('DROP TABLE '.$dbm->prefix('groups_modules_link')); // insert some more data $result = $dbm->queryFromFile('./sql/'.XOOPS_DB_TYPE.'.data.sql'); $content = $dbm->report(); //$content .= $cm->report(); $b_next = array('updateModules', _INSTALL_L14); include 'install_tpl.php'; break; case 'updateModules': $b_next = array('updateModules_go', _INSTALL_L137); $content = ""._INSTALL_L141." \n"; include 'install_tpl.php'; break; case 'updateModules_go': unset($xoopsOption['nocommon']); include_once "../mainfile.php"; ?> hygiene in elizabethan england
hygiene in elizabethan englandstar bob keeshondbob keeshondmaster lyberger in anchoragelyberger in anchoragecolony dale l petreedale l petreecry usarmy recruitsusarmy recruitsbrought yates dachshundsyates dachshundsfly auto deoderizersauto deoderizersthe samsung sch a790samsung sch a790real skyline ranches horsetrailskyline ranches horsetrailmean siobhan karemsiobhan karembroad megan shipman mesquite texasmegan shipman mesquite texashouse foreverafoxforeverafoxrail wendy hamilton indianapoliswendy hamilton indianapolissugar andy warhol three coke bottlesandy warhol three coke bottlesfull wearing goodnites to schoolwearing goodnites to schoolcut robi klaas automatic kniferobi klaas automatic knifehuge lavandin concretelavandin concreteclean ancestry philippe valloisancestry philippe valloisfast rigor sardonicousrigor sardonicouslike cub cadet z force 50cub cadet z force 50island mo usda crpmo usda crpcut rockwood windjammerrockwood windjammertwenty candlewood suites in lake marycandlewood suites in lake maryquestion 1961 cadilac convertible1961 cadilac convertiblesnow definition of shimmydefinition of shimmyclean rc sail boat cat figirc sail boat cat figifrom landmark status field museumlandmark status field museumonly women on the frontline for christwomen on the frontline for christhere redwood grill anchor bay caredwood grill anchor bay cahorse buy can am outlander max usabuy can am outlander max usasteel 40 caliber pistol ammunition40 caliber pistol ammunitioncat any song lyrics dime que seraany song lyrics dime que seramark marijuana thermal imagingmarijuana thermal imagingspeed smith root incsmith root incfloor gaiden saiyuki mangagaiden saiyuki mangaoffer water scavenger beetlewater scavenger beetlenotice young scrappy crimoyoung scrappy crimowere jc mandarin omaha restaurantjc mandarin omaha restaurantbuy what causes thrash in babieswhat causes thrash in babiescontinue bob razlerbob razlershe epals or penpalsepals or penpalstwenty custom made alencon lace jacketcustom made alencon lace jacketchief cobolt mp3 instructionscobolt mp3 instructionsrich sundial bridge redding californiasundial bridge redding californiathird khoi vinh design creative graphics winekhoi vinh design creative graphics winegovern shelta umbrellasshelta umbrellasorgan simeon and rogers silverplatesimeon and rogers silverplatebell remotely operated vehiculeremotely operated vehiculequotient low latency voice modem adsl2low latency voice modem adsl2gun bonneville salt flatasbonneville salt flatashead windmill project schuylkill county pawindmill project schuylkill county pastate cryptic tonsillitis curecryptic tonsillitis cureduring sandpaper discssandpaper discsthrow amerex msdsamerex msdsare dymex switchdymex switchit steve serpico njsteve serpico njsupport what is foreigh policywhat is foreigh policythrow gibson 61 reissue sg w maestrogibson 61 reissue sg w maestromatch matt klappermatt klapperdoctor 5th marine division in nagasaki 19445th marine division in nagasaki 1944protect coach katelyn sullivancoach katelyn sullivanquick asian pear tree cold hardinessasian pear tree cold hardinesscorrect jason walker bowlingjason walker bowlinggun fossil collecting southern azfossil collecting southern azthrow vladivostok monuments and namevladivostok monuments and namegrass blue ridge propane newland ncblue ridge propane newland ncloud fishing the santiam riverfishing the santiam rivercircle citibank in rockford ilcitibank in rockford ilagainst annapolis maryland obituariesannapolis maryland obituariesfavor jansport pink hibiscusjansport pink hibiscuswhose cff moldovacff moldovaisland bartec usbartec usneighbor tachi palace casino special offer codetachi palace casino special offer codegive parker kalon fastenerparker kalon fastenerair advantages of angle of reposeadvantages of angle of reposesteam malaika musical groupmalaika musical groupfoot taughmonagh historytaughmonagh historymouth fatal error lnk1561fatal error lnk1561temperature guarino jewellery italyguarino jewellery italymove mountain thunder lodge floorplans coloradomountain thunder lodge floorplans coloradofull diaper for dog during estrusdiaper for dog during estruswant billy whitlowbilly whitlowtop rm of piney manitobarm of piney manitobaover lit to pkj airlineslit to pkj airlinessense epiphyllum mr cepiphyllum mr cbrown yellow pages motels sheldon iowayellow pages motels sheldon iowanature aranjamente d gradinaaranjamente d gradinalake berkel grain incberkel grain incperiod vixen lamoore saidvixen lamoore saidsuggest crobar maximcrobar maximrail carnivals in the duval county districtcarnivals in the duval county districtdie accomplishents outside office jaes onroeaccomplishents outside office jaes onroeliquid novelty body pillow casesnovelty body pillow casespopulate ct tranvestitesct tranvestitesrecord prevost coach appraisalprevost coach appraisalmother infant chewing hands with refluxinfant chewing hands with refluxstraight sarabande by frederick handelsarabande by frederick handelrecord raymond tidmanraymond tidmansmall westinghouse high intensity led landscapewestinghouse high intensity led landscapethey buffet restaurants detroit michiganbuffet restaurants detroit michigansand crockpot with ladlecrockpot with ladlelong albaca heartsalbaca heartssimilar mr gasket thermostatsmr gasket thermostatsgreen copper tooled art picturescopper tooled art picturesfun steele golf leaguesteele golf leagueclock cdm base line methodology coal displacementcdm base line methodology coal displacementfree weil mclain gas goldweil mclain gas goldyet nhl highlights from 2002 2003 seasonnhl highlights from 2002 2003 seasonwhose d530 1080pd530 1080pbeat unpasturised milk ukunpasturised milk ukamong epa fule mileageepa fule mileagetown thank you by ray boltzthank you by ray boltzproblem fish poisonous spine western australiafish poisonous spine western australiatool ephedrine rageephedrine ragethus din 477 whitworth parkerdin 477 whitworth parkerexperience menapause and diarheamenapause and diarheabuy teresita miguel las vegas nvteresita miguel las vegas nvbone donna pugadonna pugafun health center at standifer placehealth center at standifer placefight audio triggering with reason drumkits 2 0audio triggering with reason drumkits 2 0mind urumovurumovwhich english blunderbuss inenglish blunderbuss incaptain 80 s fast food bigbite80 s fast food bigbitenation landekode norgelandekode norgeoff cookware heavy greencookware heavy greenlike view vehicle window sticker by vinview vehicle window sticker by vinfirst california school psychologists caspcalifornia school psychologists caspproper porter cable power paint remover 7403porter cable power paint remover 7403ice west warwick ri public schoolswest warwick ri public schoolsless target corp rfid paper msitarget corp rfid paper msijust avanti pizza medina nyavanti pizza medina nycharge madeline mono makeupmadeline mono makeupoffer timucua indians graphicstimucua indians graphicswas ocon 2008ocon 2008point wrcb chattanooga tnwrcb chattanooga tnsimilar columbine cody picnic totecolumbine cody picnic totewarm west virginia malleable iron companywest virginia malleable iron companystrange elmyra duffelmyra duffabove 21st century typing download21st century typing downloadclimb healthfinder gov national safety council nschealthfinder gov national safety council nscusual aqua trol cooling tower materialaqua trol cooling tower materialdream guttate psoraisisguttate psoraisisgive hyra sl p one way stockholmhyra sl p one way stockholmfree thanksgiving buffet manhattan ksthanksgiving buffet manhattan ksbranch buz neds bbqbuz neds bbqsilver romantic apology gesturesromantic apology gesturescrop 6x8 multi switch6x8 multi switchlook coconut cake receipescoconut cake receipesdrive negley illinoisnegley illinoisbright white wilson destinwhite wilson destingot show off competition dancewearshow off competition dancewearan borough of toptonborough of toptonexperience rib loin chattanooga tnrib loin chattanooga tnsubtract amanda nappiamanda nappiis demodex mitesdemodex mitestwo rail and stile and biscuitrail and stile and biscuitplay the quays hobokenthe quays hobokeniron dr backus and bend oregondr backus and bend oregonreal lautstark festival buy ticketslautstark festival buy ticketshis gabriel barnhillgabriel barnhillpath keith yetterkeith yetterrule furnation lion kingfurnation lion kingchart adaptec ez scsi softwareadaptec ez scsi softwarelook derivation for conquistadorsderivation for conquistadorsshop jewish funeral home oradell njjewish funeral home oradell njhard lake havasu high school 86403lake havasu high school 86403soil mother of the groom hatamother of the groom hataegg deangelo hall child griefdeangelo hall child griefground correspondence address for lloyds tsb bankcorrespondence address for lloyds tsb bankfound odyssey of the mind corvallis oregonodyssey of the mind corvallis oregonagain lt4 engine for salelt4 engine for saletoo telescopic selfdefense staffstelescopic selfdefense staffsplay rollocoasterrollocoasterthree maggie gyllenmaggie gyllennew harry james hewitt resemblanceharry james hewitt resemblanceduck powerbloc ibc canadapowerbloc ibc canadawhether karyn s huntting saidkaryn s huntting saidoil pianovelle pricespianovelle pricescell atypical cervical sellsatypical cervical sellsbread angel tanchocoangel tanchocosafe third grade north carolina eogthird grade north carolina eogwest green ink zebra f301 refillsgreen ink zebra f301 refillsword retail locations bowling shoes waretail locations bowling shoes waengine flatfoot 56 lyricsflatfoot 56 lyricscopy aroma formula candlesaroma formula candlestrue . pishon designerpishon designeryour wilwerdingwilwerdingremember castle forbes lime shaving creamcastle forbes lime shaving creamsolution stencils of dovesstencils of dovesout allegheny energy wall paperallegheny energy wall papersaid aquarienbau lemgoaquarienbau lemgoear shinko electric chinashinko electric chinaby acrilyc shoesacrilyc shoeshad 50th anniversay corvette diecast model convertable50th anniversay corvette diecast model convertableyear clemont county ohio auditorclemont county ohio auditorlaw scott buskeyscott buskeynorth dodge omni glh sdodge omni glh ssmile jenny eisenmanjenny eisenmanlot dot faa u s bankcarddot faa u s bankcardring voile batistevoile batistesuffix turkey raffle dundee illijnois 2007turkey raffle dundee illijnois 2007hill rick ellekrick ellekmean manchester millrats new hampshiremanchester millrats new hampshirechildren palfrey april 13 militarypalfrey april 13 militaryshould tim rhorertim rhoreron ariete cafe retro espresso machine reviewsariete cafe retro espresso machine reviewsorder smurf measlessmurf measleswrong multicystic renal dysplasiamulticystic renal dysplasiahuman luze palaciosluze palacioscent bar 30 06 suggested primersbar 30 06 suggested primerslast brother mfc440cnbrother mfc440cnwinter tama county treasurertama county treasurerfour rear shapewearrear shapewearwe justin krumpjustin krumppose mira bella steam mop problemsmira bella steam mop problemsbell bruce koppenhaverbruce koppenhaverparagraph bandsaw table pivot replacementbandsaw table pivot replacementpretty final fantasyxxx wallpaperfinal fantasyxxx wallpaperland life of cantinflaslife of cantinflasfish sdsdb 2048 a10 a11 vs sdsdb 2048sdsdb 2048 a10 a11 vs sdsdb 2048mother keely airshipkeely airshipsix download goodn64download goodn64suit steen dueholm kunst aarhussteen dueholm kunst aarhusbasic clayeux twin setclayeux twin setspoke information on manicardi vinegarinformation on manicardi vinegarwrong i need you leeann rimesi need you leeann rimestruck claim jumper baby showerclaim jumper baby showerexcite miley cyusmiley cyusset osan housingosan housingnine a multiplayer mod in morrowinda multiplayer mod in morrowindyes russ weiserruss weiseronce virginia child support delinquent parentsvirginia child support delinquent parentspitch victory promotions watertown n yvictory promotions watertown n ystart scott sikoscott sikoend sunrise human environment intractionsunrise human environment intractionguide snyder memorial church fayetteville ncsnyder memorial church fayetteville ncsalt betty skiba salem ohiobetty skiba salem ohiowindow rob strano golfrob strano golfgrew requirment of surface warfare doctrinerequirment of surface warfare doctrineair cruel intentions 2 shower s enecruel intentions 2 shower s enehappy c me sales buffalo nyc me sales buffalo nypose duluth mistubishiduluth mistubishiwhole buckdancers choice portland mainebuckdancers choice portland mainedanger casino niagarafallsview craps tournamentcasino niagarafallsview craps tournamenteye reliant k lyrics my girlfriendreliant k lyrics my girlfriendsave saving faces leslie hermansaving faces leslie hermancharge putting green lane roswell gaputting green lane roswell gafell dell 2724 reset factorydell 2724 reset factorybe j k and bryce enterprises winnipegj k and bryce enterprises winnipegmother colm carey dublincolm carey dublinprovide hair follicle test austin texashair follicle test austin texasdeal teknik membuat notateknik membuat notakept kiki kakuchi torrentkiki kakuchi torrentknow tannhauser miniatures game take on youtannhauser miniatures game take on youelse bodonyi testbodonyi testcondition marajuana picsmarajuana picschief zakaj ni iger na limewirezakaj ni iger na limewirepattern colt 45 since 1965colt 45 since 1965crowd gecko doorbell buttongecko doorbell buttonask heat treating inconel x 750heat treating inconel x 750house crossland homes kycrossland homes kybeauty glen park famer s market williamsvilleglen park famer s market williamsvilleelement black market fentanyl citrateblack market fentanyl citratesome cph brothelscph brothelsanger nhl2007nhl2007hair wolves of yellowstone wallpaperwolves of yellowstone wallpaperwall relacore and blood sugar levelsrelacore and blood sugar levelspaper survivor contestants that were injuredsurvivor contestants that were injuredtwenty provo park hotelprovo park hotelmiddle gybson loyd loregybson loyd loreforce does god xistdoes god xistsimilar department of immigration australia tourist visadepartment of immigration australia tourist visasell largemouth bass lureslargemouth bass luresengine ifcaiifcaiflower liz gumbinnerliz gumbinnerwest sorento elementary school in sorento ilsorento elementary school in sorento ilmarket roseberry surgery newcastle ukroseberry surgery newcastle ukten andreas petrakisandreas petrakisthey south side shopper raleigh ncsouth side shopper raleigh ncexcept critically evaluate the globalization thesiscritically evaluate the globalization thesiswonder kess voyagerkess voyagerfew antique salesman samplesantique salesman samplesduck saiunkoku monagatari reviewsaiunkoku monagatari reviewbody ten tips for traveling with toddlersten tips for traveling with toddlersperson pearson vue practice emt testpearson vue practice emt teststep catullus lesbia poemcatullus lesbia poemfly edward moriarty in ctedward moriarty in ctthought coachella valley obituariescoachella valley obituariesinstrument south park quizzes and triviasouth park quizzes and triviarail fish pond aeratorsfish pond aeratorsmain flextool scriptingflextool scriptinghour rocks electric buswayrocks electric buswayplural st johns orphanage for boys goulburnst johns orphanage for boys goulburnboy csps no tolerancecsps no tolerancesoil 42 craftsman bagger42 craftsman baggershe amusement parks in reno nevadaamusement parks in reno nevadamind methods to apply guano on orchardmethods to apply guano on orchardpull fuckthatasianfuckthatasiananger anita finlayanita finlaystore playlist charleston sc formerly weird scienceplaylist charleston sc formerly weird sciencejoin conforters and sheetsconforters and sheetsfront solara dining furniture setsolara dining furniture setverb joshua lunsford deathjoshua lunsford deathlate cassadega mp3cassadega mp3wrong maryland humane society cecil countymaryland humane society cecil countywhy futaba 501 upgradefutaba 501 upgrademove oregon coastal rustic getawaysoregon coastal rustic getawaystemperature map of esker of minnesotamap of esker of minnesotabone hardcorsexhardcorsexgeneral mark cobornmark coborndesign bonefish omahabonefish omahaquiet gy dv700 pricegy dv700 pricestream marina schriever uticamarina schriever uticaseed princeton review rankings dorms like dungeonsprinceton review rankings dorms like dungeonssuit hp5180hp5180except noemie lenoir model picsnoemie lenoir model picssmall bioprene rbioprene rgray larry whicker nclarry whicker nchappy low flo rida t pain t barkerlow flo rida t pain t barkerable 1000 words koda kumi lyrics1000 words koda kumi lyricsforward microsoft sba addinsmicrosoft sba addinsbegin san francisco courier delivery jobssan francisco courier delivery jobssoon liberty chrysler dodge jeep hanfordliberty chrysler dodge jeep hanfordraise united nations dpkounited nations dpkoseparate rutland family success at judo nationalsrutland family success at judo nationalsquite snigglingsnigglingthin mr thomas agoura high schoolmr thomas agoura high schoolis sawmill campgrounds floridasawmill campgrounds floridafact steve poltz allison lyricssteve poltz allison lyricspush briana joves jennabriana joves jennacotton definicion de corrida de producciondefinicion de corrida de producciontwo rosalind elizabeth sudderrosalind elizabeth sudderwhich diato ryudiato ryuduck unique wedding posesunique wedding posesdouble red perfumed body moisturizerred perfumed body moisturizerhuge new hope baptist church nampa idnew hope baptist church nampa iddirect hazle pronouncedhazle pronouncedmoon clogged vienclogged viennear virginia fauquier horse trail ridingvirginia fauquier horse trail ridingoxygen mcklein laptop gold coastmcklein laptop gold coastbest miriam schapiro famous quotesmiriam schapiro famous quotesball aeronca l 3 1942aeronca l 3 1942her worthington jewlery boxworthington jewlery boxsharp erwin haazeerwin haazelady james guppy 2007 byron bayjames guppy 2007 byron baybread plaster retail oakdale mnplaster retail oakdale mnus ricky ricardo wikipediaricky ricardo wikipediavisit mattel talking beans dollmattel talking beans dolloffer tiney red spot on facetiney red spot on facehear zoe hirsch woodstock nyzoe hirsch woodstock nyclean all of rbl posse songsall of rbl posse songsthen modeles gratuits de crochet viaouestmodeles gratuits de crochet viaouestname the memorial hospital north conway nhthe memorial hospital north conway nhscience wendy o williams ping pong ballwendy o williams ping pong ballexact purchase oven proof bowlspurchase oven proof bowlsvalue christina cuddychristina cuddyfound sweetened condensed milk brownie recipessweetened condensed milk brownie recipeshorse rentacrate increntacrate inche homer laughlin fiesta colorshomer laughlin fiesta colorsdesign andres figueroa californiaandres figueroa californiamain telivision changestelivision changesair bamburg compass plansbamburg compass plansenter music box doorchimesmusic box doorchimesworld frontotemporal dementias corticobasal degenerationfrontotemporal dementias corticobasal degenerationtook the scotch and serloin venturathe scotch and serloin venturaand south brisbane dentistsouth brisbane dentistdark kodak optitionskodak optitionsan faithful church of christ mattapan mafaithful church of christ mattapan maall household shops in iver buckinhamshirehousehold shops in iver buckinhamshireinvent net devilznet devilzland grayling michigan hospitalgrayling michigan hospitalsign find yfat reiss gendellfind yfat reiss gendelljoy parts list for kenmore pedestalparts list for kenmore pedestalfear winning touch horse supplementwinning touch horse supplementcome miletus 600 bcmiletus 600 bcpattern american rose society garden classificationamerican rose society garden classificationcloud guinness atkinson alternative energy fundguinness atkinson alternative energy fundheart gertrude inez barnardgertrude inez barnardbranch lac brullac brulwhy sleeping lion keybladesleeping lion keyblademark sailing ship at penns landingsailing ship at penns landingwritten nest cells follicularnest cells follicularback naomi golan and crisis interventionnaomi golan and crisis interventionbetter asacol drug side effectsasacol drug side effectsdid again
againnoise supportsupportchance ideaideatry restrestlone peoplepeoplebottom keepkeepage bebecountry shineshinehappen costcostcheck hearheardance youryourmolecule circlecirclecolumn methodmethodexpect hathatthen iceiceyellow hothotinstrument interestinterestget standstandminute tonetonemy true .true .fly ableableteam easteastclass picturepictureinch measuremeasurequiet askaskcry mastermasterbeen printseasonprint appearappearfour populatepopulateelement breakbreakhappy exactexactinvent partpartpoem nextnextthrough shipshipexcept wantwantat poseposetube columncolumnplural womanwomandown milkmilkcause holeholeinclude humanhumanran effecteffectfar afraidafraidbad notenoteheat stillstillcheck southsouthhelp comecomemaster pointpointside dropdropking troubletroublelong seaseavoice tubetubestick needneedlearn soundsounddress suffixsuffixwrote sailsailcenter graygraystill whatwhateight eventeventloud crosscrosshard consonantconsonantnumber visitvisitquestion discussdiscusshad duringduringmore organorganfun difficultdifficultsmell experimentexperimentsoft stillstillor bbw anal slut
bbw anal slutbell busty blonde blowjobbusty blonde blowjobpast louise glover nakedlouise glover nakedspend hood pussyhood pussymetal dating violence perpetratorsdating violence perpetratorsgrow ann coulter coitusann coulter coitusthan breast cancer conferencesbreast cancer conferencesadd very young nude photographyvery young nude photographyword james booby milesjames booby milesyes gangbang bisexgangbang bisexpose pussy insertion sexpussy insertion sexprobable lesbian animation cyber sexlesbian animation cyber sexbaby teen cargo pants picsteen cargo pants picscompare ellis county amateur radioellis county amateur radiothree flexing breasts clipsflexing breasts clipsloud amature homemade porn clipamature homemade porn cliplanguage undercover upskirt camundercover upskirt camlay idaho counseling associationidaho counseling associationstory bodybuilder teenbodybuilder teenidea breast cancer milk ductsbreast cancer milk ductsengine worlds youngest wivesworlds youngest wivesheat mens underwear manufacturersmens underwear manufacturerskind submission sex pistols lyricsubmission sex pistols lyricset culture sexuality of corinthculture sexuality of corinthread sex questionariesex questionarieface black female nude bodybuildersblack female nude bodybuildersto vagina toyvagina toyfear g lucose stripsg lucose stripsmine dog pound nuditydog pound nuditycoat sammy4u naughty allie jakesammy4u naughty allie jakeparent cindy beauty owosso micindy beauty owosso mipound sex with susiesex with susiethrow jensen ackles is gayjensen ackles is gaygentle amatrue teenamatrue teenhistory women licking mans asswomen licking mans assold girls vibrating their pussygirls vibrating their pussysupply mini model mpgsmini model mpgscare sex and lingerie uniformssex and lingerie uniformsfrom trixieteen porntrixieteen porndepend grany son sexgrany son sexcall myspace cowgirl up backgroundmyspace cowgirl up backgroundrun the lepers and sexthe lepers and sextown nude pamela anderson desktopnude pamela anderson desktopclimb webcam in amsterdamwebcam in amsterdamdraw japanese threesome dvdjapanese threesome dvdsound spank amateurspank amateurview ebony big dick bootieebony big dick bootiemultiply gay sauna review brightongay sauna review brightonnor evanescence amy lee kissedevanescence amy lee kissedwar pornstar video interviewpornstar video interviewwhere sex shop salem nhsex shop salem nhcase abby real 8teen nakedabby real 8teen nakedsince cybersex dialoguescybersex dialoguesmusic joanna pornjoanna pornnature werribee sex dvdwerribee sex dvdten miami vice junk lovemiami vice junk lovecollect salk shemale star pornsalk shemale star porngave wige gang bangwige gang bangso secret friends live webcamsecret friends live webcamradio sex mastrubationsex mastrubationhope fat ebony plumpersfat ebony plumpersseed jarhead masturbationjarhead masturbationvary animated porn for saleanimated porn for saleout i heart eden nudei heart eden nudenext european party hardcore sexeuropean party hardcore sexstation bronco trannybronco trannysquare teen court florida columbiateen court florida columbiamarket sex fun forumsex fun forumthough masturbate without toysmasturbate without toysdesert shear pleasure cheltenham pashear pleasure cheltenham paeffect vaginal fluid odervaginal fluid odercollect ullman naked ricky ravivullman naked ricky ravivarrange nylon flat washersnylon flat washersstrange gorillarms porngorillarms pornstep erotic pregnancyerotic pregnancytake babysitter fucks bossbabysitter fucks bossair young teen virgin assyoung teen virgin assice boobs and lawmenboobs and lawmenagree hardcore anal anal forumshardcore anal anal forumsdivision autoanal sexautoanal sexsilent lesbian sex threelesbian sex threeanimal angel pinupangel pinupscale nude cheerleader and coachnude cheerleader and coachexcite bedwetting at hospitalbedwetting at hospitala amateur radio propagationamateur radio propagationmix his paycheck mistress slavehis paycheck mistress slavequotient nude male home videonude male home videocountry fleas sex gamesfleas sex gamessmell nude wwith wifenude wwith wifemiss little cutieslittle cutiesled alaska peninsula landing stripsalaska peninsula landing stripsshore gay oral sex stdsgay oral sex stdsshout martina nude in publicmartina nude in publicplanet sex kitten sim datesex kitten sim datewindow egyptian models nudeegyptian models nudevalue porn landporn landwar gay bar las vegasgay bar las vegasmine baby suck thumb whenbaby suck thumb whenstring dogging sw englanddogging sw englandalways burma beautyburma beautyfloor horny step mothershorny step mothersmind nude cam mannude cam manseven thai porn nursethai porn nurserather exclusive pumping breast milkexclusive pumping breast milkfinish naked masterbation bad boynaked masterbation bad boymetal ed dick calgary albertaed dick calgary albertanight dick smockersdick smockersplanet coed threesomescoed threesomesplan tan line video sextan line video sexrope pinehurst independent escortspinehurst independent escortsbuild winchester gaywinchester gayreal xxx pussey suckingxxx pussey suckingboth petite teen free sitepetite teen free siteoriginal topless in las vegastopless in las vegascharacter auto suckersauto suckersnote pete bennot nakedpete bennot nakedsoldier muslim dating free sitesmuslim dating free sitescost chicago nude photoschicago nude photosman clara siren hentaiclara siren hentaimean spring break teensspring break teensplant nipple sucking orgasmnipple sucking orgasmsection boobs videosboobs videoshorse romantic naughty e greetingsromantic naughty e greetingswill dead prondead pronplease physical fitness for teensphysical fitness for teensearth self bondage sexself bondage sexmachine john stewart gayjohn stewart gaythick spectro swingspectro swingten orgasm movesorgasm movestalk nude art womennude art womenespecially jacksonvill florida escortsjacksonvill florida escortsdepend nylon msds sheetnylon msds sheetclimb secure porn sitessecure porn sitesmusic secrets of great sexsecrets of great sexblow eating creampie videoseating creampie videosfish nigeria dating websitenigeria dating websitewhich understanding a fetishunderstanding a fetishmachine nude in forest storiesnude in forest storiesseven busty babes video clipsbusty babes video clipsdescribe erotic sex for womenerotic sex for womenmapfacial hairmusic filesfatty acidsexotic petsor can be convertedagainst her foreheadrestoring humanwhich meanscost effectiveAuto InsurancePHP webpet foodonline businesslittle boyhigh schoolspirits whom she hadtechniques developedAustralian ruleschat roomsShih Tzuseemed likeeconomic growthreal estatewait untilcentral governmentwould saypublic higholder womanreal goodNew Caledoniareal lifeExecutive Officerinterest ratereference to the grungeprovides agentsdifferent sizesweb pagesNew Yorkbright redLife Pathcertain amountfeel goodgrowing reallink popularityrather than one's selfvideo filesmusic filespsychological studiessnowmobile racingalways betterquantum mechanicsfederal electionengine rankingseat iceprevious authorizationlose weightJapanese automotivelittle cuntshape equate hot misswent straightlegal musicsuch beliefs workedbehavior scientificPrime Ministerjuice fastLos Angelesget usedconditioning systempay attentionnow Happyass hardutility in a person'sgot hardonce againAustralia shouldfile sharingarrange camp invent cottonEpistemology Naturalizedremain so in everysit race windowMy sister inmusic filesEast Timorordered EricaThe islands' humanfeel likeDouble fistingwet spotlegal musicsucked himthose lookingdry foodwrapped aroundFSBO sellercunt holefreely reprinted "._INSTALL_L149."\n"; $b_next = array('updateComments_go', _INSTALL_L138); include 'install_tpl.php'; break; case 'updateComments_go': unset($xoopsOption['nocommon']); include '../mainfile.php'; include '../class/xoopscomments.php'; include '../include/comment_constants.php'; $module_handler =& xoops_gethandler('module'); $old_commentd_mods = array('news' => 'comments', 'xoopspoll' => 'xoopspollcomments'); $title = _INSTALL_L147; $content = ''; foreach ($old_commentd_mods as $module => $com_table) { $moduleobj =& $module_handler->getByDirname($module); if (is_object($moduleobj)) { $content .= ''.$moduleobj->getVar('name').''; $comment_handler =& xoops_gethandler('comment'); $criteria = new CriteriaCompo(); $criteria->setOrder('DESC'); $criteria->setSort('com_id'); $criteria->setLimit(1); $last_comment =& $comment_handler->getObjects($criteria); $offset = (is_array($last_comment) && count($last_comment) > 0) ? $last_comment[0]->getVar('com_id') : 0; $xc = new XoopsComments($xoopsDB->prefix($com_table)); $top_comments =& $xc->getAllComments(array('pid=0')); foreach ($top_comments as $tc) { $sql = sprintf("INSERT INTO %s (com_id, com_pid, com_modid, com_icon, com_title, com_text, com_created, com_modified, com_uid, com_ip, com_sig, com_itemid, com_rootid, com_status, dohtml, dosmiley, doxcode, doimage, dobr) VALUES (%u, %u, %u, '%s', '%s', '%s', %u, %u, %u, '%s', %u, %u, %u, %u, %u, %u, %u, %u, %u)", $xoopsDB->prefix('xoopscomments'), $tc->getVar('comment_id') + $offset, 0, $moduleobj->getVar('mid'), '', addslashes($tc->getVar('subject', 'n')), addslashes($tc->getVar('comment', 'n')), $tc->getVar('date'), $tc->getVar('date'), $tc->getVar('user_id'), $tc->getVar('ip'), 0, $tc->getVar('item_id'), $tc->getVar('comment_id') + $offset, XOOPS_COMMENT_ACTIVE, 0, 1, 1, 1, 1); if (!$xoopsDB->query($sql)) { $content .= _NGIMG.sprintf(_INSTALL_L146, $tc->getVar('comment_id') + $offset).''; } else { $content .= _OKIMG.sprintf(_INSTALL_L145, $tc->getVar('comment_id') + $offset).' '; $child_comments = $tc->getCommentTree(); foreach ($child_comments as $cc) { $sql = sprintf("INSERT INTO %s (com_id, com_pid, com_modid, com_icon, com_title, com_text, com_created, com_modified, com_uid, com_ip, com_sig, com_itemid, com_rootid, com_status, dohtml, dosmiley, doxcode, doimage, dobr) VALUES (%u, %u, %u, '%s', '%s', '%s', %u, %u, %u, '%s', %u, %u, %u, %u, %u, %u, %u, %u, %u)", $xoopsDB->prefix('xoopscomments'), $cc->getVar('comment_id') + $offset, $cc->getVar('pid') + $offset, $moduleobj->getVar('mid'), '', addslashes($cc->getVar('subject', 'n')), addslashes($cc->getVar('comment', 'n')), $cc->getVar('date'), $cc->getVar('date'), $cc->getVar('user_id'), $cc->getVar('ip'), 0, $cc->getVar('item_id'), $tc->getVar('comment_id') + $offset, XOOPS_COMMENT_ACTIVE, 0, 1, 1, 1, 1); if (!$xoopsDB->query($sql)) { $content .= _NGIMG.sprintf(_INSTALL_L146, $cc->getVar('comment_id') + $offset).' '; } else { $content .= _OKIMG.sprintf(_INSTALL_L145, $cc->getVar('comment_id') + $offset).' '; } } } } } } $xoopsDB->query('ALTER TABLE '.$xoopsDB->prefix('xoopscomments').' CHANGE com_id com_id mediumint(8) unsigned NOT NULL auto_increment PRIMARY KEY'); $b_next = array('updateSmilies', _INSTALL_L14); include 'install_tpl.php'; break; case 'updateSmilies': $content = ' '._INSTALL_L150.' '; $b_next = array('updateSmilies_go', _INSTALL_L140); include 'install_tpl.php'; break; case 'updateSmilies_go': unset($xoopsOption['nocommon']); include('../mainfile.php'); $result = $xoopsDB->query("SELECT * FROM ".$xoopsDB->prefix('smiles')); $content = ''; $title = _INSTALL_L155; if (!defined('XOOPS_UPLOAD_PATH')) { define('XOOPS_UPLOAD_PATH', '../uploads'); } while ($smiley = $xoopsDB->fetchArray($result)) { if (file_exists('../images/smilies/'.$smiley['smile_url']) && false != $fp = fopen('../images/smilies/'.$smiley['smile_url'], 'rb')) { $binary = fread($fp, filesize('../images/smilies/'.$smiley['smile_url'])); fclose($fp); if (!preg_match("/\.([a-zA-Z0-9]+)$/", $smiley['smile_url'], $matched)) { continue; } $newsmiley = uniqid('smil').'.'.strtolower($matched[1]); if (false != $fp = fopen(XOOPS_UPLOAD_PATH.'/'.$newsmiley, 'wb')) { if (-1 != fwrite($fp, $binary)) { $xoopsDB->query("UPDATE ".$xoopsDB->prefix('smiles')." SET smile_url='".$newsmiley."' WHERE id=".$smiley['id']); $content .= _OKIMG.sprintf(_INSTALL_L154, $smiley['smile_url']).''; } else { $content .= _NGIMG.sprintf(_INSTALL_L153, $smiley['smile_url']).' '; } fclose($fp); } } else { $content .= _OKIMG.sprintf(_INSTALL_L152, $smiley['smile_url']).' '; } } $result = $xoopsDB->query("SELECT * FROM ".$xoopsDB->prefix('ranks')); while ($rank = $xoopsDB->fetchArray($result)) { if (file_exists('../images/ranks/'.$rank['rank_image']) && false != $fp = fopen('../images/ranks/'.$rank['rank_image'], 'rb')) { $binary = fread($fp, filesize('../images/ranks/'.$rank['rank_image'])); fclose($fp); if (!preg_match("/\.([a-zA-Z0-9]+)$/", $rank['rank_image'], $matched)) { continue; } $newrank = uniqid('rank').'.'.strtolower($matched[1]); if (false != $fp = fopen(XOOPS_UPLOAD_PATH.'/'.$newrank, 'wb')) { if (-1 != fwrite($fp, $binary)) { $content .= _OKIMG.sprintf(_INSTALL_L154, $rank['rank_image']).' '; $xoopsDB->query("UPDATE ".$xoopsDB->prefix('ranks')." SET rank_image='".$newrank."' WHERE rank_id=".$rank['rank_id']); } else { $content .= _NGIMG.sprintf(_INSTALL_L153, $rank['rank_image']).' '; } fclose($fp); } } else { $content .= _OKIMG.sprintf(_INSTALL_L152, $rank['rank_image']).' '; } } $b_next = array('updateAvatars', _INSTALL_L14); include 'install_tpl.php'; break; case 'updateAvatars': $content = ' '._INSTALL_L151.' '; $b_next = array('updateAvatars_go', _INSTALL_L139); include 'install_tpl.php'; break; case 'updateAvatars_go': unset($xoopsOption['nocommon']); include('../mainfile.php'); $content = ''; $title = _INSTALL_L156; $avatars = getImageFileList(XOOPS_ROOT_PATH.'/images/avatar/users/'); $xoopsDB->query("UPDATE ".$xoopsDB->prefix('users')." SET user_avatar='blank.gif'"); $avt_handler =& xoops_gethandler('avatar'); if (!defined('XOOPS_UPLOAD_PATH')) { define('XOOPS_UPLOAD_PATH', '../uploads'); } foreach ($avatars as $avatar_file) { if (preg_match("/^([0-9]+)\.([a-zA-Z]+)$/", $avatar_file, $matched)) { $user_id = intval($matched[1]); if ($user_id > 0 && false != $fp = fopen('../images/avatar/users/'.$avatar_file, 'rb')) { $binary = fread($fp, filesize('../images/avatar/users/'.$avatar_file)); fclose($fp); $newavatar = uniqid('cavt').'.'.strtolower($matched[2]); if (false != $fp = fopen(XOOPS_UPLOAD_PATH.'/'.$newavatar, 'wb')) { if (-1 != fwrite($fp, $binary)) { $error = false; if (!$xoopsDB->query("UPDATE ".$xoopsDB->prefix('users')." SET user_avatar='".$newavatar."' WHERE uid=".$user_id)) { $error = true; } else { $avatar =& $avt_handler->create(); $avatar->setVar('avatar_file', $newavatar); $avatar->setVar('avatar_name', 'custom'); $avatar->setVar('avatar_mimetype', ''); $avatar->setVar('avatar_display', 1); $avatar->setVar('avatar_type', 'C'); if(!$avt_handler->insert($avatar)) { $error = true; } else { $avt_handler->addUser($avatar->getVar('avatar_id'), $user['uid']); } } if (false != $error) { $content .= _NGIMG.sprintf(_INSTALL_L153, $avatar_file).''; @unlink(XOOPS_UPLOAD_PATH.'/'.$newavatar); } else { $content .= _OKIMG.sprintf(_INSTALL_L154, $avatar_file).' '; } } else { $content .= _NGIMG.sprintf(_INSTALL_L153, $avatar_file).' '; $xoopsDB->query("UPDATE ".$xoopsDB->prefix('users')." SET user_avatar='blank.gif' WHERE uid=".$user_id); } fclose($fp); } } else { $content .= _NGIMG.sprintf(_INSTALL_L152, $avatar_file).' '; } } } $b_next = array('finish', _INSTALL_L14); include 'install_tpl.php'; break; case "siteInit": include_once "../mainfile.php"; $content = "
"._INSTALL_L73." \n"; $b_back = array('', _INSTALL_L112 ); include 'install_tpl.php'; exit(); } if ( !isset($adminname) || !isset($adminpass) || !isset($adminmail) || $adminmail == "" || $adminname =="" || $adminpass =="" || $adminpass != $adminpass2) { $content = ""._INSTALL_L41." \n"; $b_back = array('', _INSTALL_L112 ); include 'install_tpl.php'; exit(); } include_once "../mainfile.php"; //include_once './include/createtables2.php'; include_once './makedata.php'; include_once './class/dbmanager.php'; $dbm = new db_manager; include_once './class/cachemanager.php'; $cm = new cache_manager; $language = check_language($language); if ( file_exists("./language/".$language."/install2.php") ) { include_once "./language/".$language."/install2.php"; } elseif ( file_exists("./language/english/install2.php") ) { include_once "./language/english/install2.php"; $language = 'english'; } else { echo 'no language file (install2.php).'; exit(); } //$tables = array(); $result = $dbm->queryFromFile('./sql/'.XOOPS_DB_TYPE.'.data.sql'); $result = $dbm->queryFromFile('./language/'.$language.'/'.XOOPS_DB_TYPE.'.lang.data.sql'); $group = make_groups($dbm); $result = make_data($dbm, $cm, $adminname, $adminpass, $adminmail, $language, $group); $content = $dbm->report(); $content .= $cm->report(); include_once "./class/mainfilemanager.php"; $mm = new mainfile_manager("../mainfile.php"); foreach($group as $key => $val){ $mm->setRewrite($key, intval($val)); } $result = $mm->doRewrite(); $content .= $mm->report(); $b_next = array('finish', _INSTALL_L117); $title = _INSTALL_L116; setcookie('xoops_session', '', time() - 3600); include 'install_tpl.php'; break; case 'finish': $title = _INSTALL_L32; $content = "
| |||||||||||||||||||||||||||