// // ------------------------------------------------------------------------ // // 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"; $b_next = array('modcheck', _INSTALL_L81 ); include 'install_tpl.php'; break; case "modcheck": $writeok = array("uploads/", "cache/", "templates_c/", "mainfile.php"); $title = _INSTALL_L82; $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 .= "
\n"; if(! $error) { $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 .= "
\n"; $content .= _INSTALL_L11."".XOOPS_ROOT_PATH."
"; $content .= _INSTALL_L12."".XOOPS_URL."
"; $content .= "
\n"; $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 = "\n"; $content .= "
"; $content .= "\n"; $content .= "\n"; $content .= "\n"; $content .= "\n"; $content .= "\n"; $content .= "
"._INSTALL_L27."  ".XOOPS_DB_HOST."
"._INSTALL_L28."  ".XOOPS_DB_USER."
"._INSTALL_L29."  ".XOOPS_DB_NAME."
"._INSTALL_L30."  ".XOOPS_DB_PREFIX."

\n"; $content .= "
"; $content .= _INSTALL_L13."

\n"; $content .= "
\n"; $b_next = array('checkDB', _INSTALL_L104); $b_back = array('start', _INSTALL_L103); $b_reload = true; $title = _INSTALL_L102; include 'install_tpl.php'; break; case "checkDB": include_once "../mainfile.php"; include_once './class/dbmanager.php'; $dbm = new db_manager; $title = _INSTALL_L104; $content = "
\n"; if (! $dbm->isConnectable()) { $content .= _NGIMG._INSTALL_L106."
"; $content .= "

"._INSTALL_L107; $content .= "
\n"; $b_back = array('start', _INSTALL_L103); $b_reload = true; }else{ $content .= _OKIMG._INSTALL_L108."
"; if (! $dbm->dbExists()) { $content .= _NGIMG.sprintf(_INSTALL_L109, XOOPS_DB_NAME)."
"; $content .= "\n"; $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)."
"; $content .= "\n"; $content .= "

"._INSTALL_L111."

"; $b_next = array('createTables', _INSTALL_L40); } else { $content .= _OKIMG.sprintf(_INSTALL_L110, XOOPS_DB_NAME)."
"; if (!$dbm->tableExists('config')) { $content .= "\n"; $content .= "

"._INSTALL_L130."

"; $b_next = array('updateTables', _INSTALL_L14); } else { $content .= _NGIMG._INSTALL_L131."
"; $content .= "\n"; } } } } include 'install_tpl.php'; break; case "createDB": include_once "../mainfile.php"; include_once './class/dbmanager.php'; $dbm = new db_manager; if(! $dbm->createDB()){ $content = "

"._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 .= ''; while ($myrow = $db->fetchArray($result)) { if ($myrow['type'] == 'Admin') { $content .= ''; } elseif ($myrow['type'] == 'User') { $content .= ''; } else { $content .= ''; } } $content .= '
'._INSTALL_L158.''._INSTALL_L159.''._INSTALL_L160.''._INSTALL_L161.'
'.$myrow['name'].'  
'.$myrow['name'].'  
'.$myrow['name'].'  
'; $b_back = array(); $b_next = array('updateTables_go', _INSTALL_L132); include 'install_tpl.php'; break; case 'updateTables_go': include_once "../mainfile.php"; $error = false; $g_webmasters = isset($g_webmasters) ? intval($g_webmasters) : 0; $g_users = isset($g_users) ? intval($g_users) : 0; $g_anonymous = isset($g_anonymous) ? intval($g_anonymous) : 0; if (empty($g_webmasters) || empty($g_users) || empty($g_anonymous)) { $error = true; } else { include_once "./class/mainfilemanager.php"; $title = _INSTALL_L88; $mm = new mainfile_manager("../mainfile.php"); $mm->setRewrite('XOOPS_GROUP_ADMIN', $g_webmasters); $mm->setRewrite('XOOPS_GROUP_USERS', $g_users); $mm->setRewrite('XOOPS_GROUP_ANONYMOUS', $g_anonymous); $ret = $mm->doRewrite(); if(!$ret){ $content = _INSTALL_L60; include 'install_tpl.php'; exit(); } } if (false != $error) { $b_back = array(); $content = _INSTALL_L162; include 'install_tpl.php'; break; } include_once './class/dbmanager.php'; $dbm = new db_manager; if (!$dbm->query("ALTER TABLE ".$dbm->prefix("newblocks")." ADD dirname VARCHAR(50) NOT NULL, ADD func_file VARCHAR(50) NOT NULL, ADD show_func VARCHAR(50) NOT NULL, ADD edit_func VARCHAR(50) NOT NULL")) { } $result = $dbm->queryFromFile('./sql/upgrade/'.XOOPS_DB_TYPE.'.structure.sql'); $content = $dbm->report(); if (!$result) { $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"; ?> XOOPS Custom Installation
 
 
 
 

getObjects(null, true); foreach (array_keys($modules) as $mid) { echo '
'.$modules[$mid]->getVar('name').'
'; $dirname = $modules[$mid]->getVar('dirname'); if (is_dir(XOOPS_ROOT_PATH.'/modules/'.$dirname)) { $modules[$mid]->loadInfoAsVar($dirname, false); if (!$module_handler->insert($modules[$mid])) { echo '

Could not update '.$modules[$mid]->getVar('name').'

'; } else { $newmid = $modules[$mid]->getVar('mid'); $msgs = array(); $msgs[] = 'Module data updated.'; $tplfile_handler =& xoops_gethandler('tplfile'); $templates = $modules[$mid]->getInfo('templates'); if ($templates != false) { $msgs[] = 'Generating templates...'; foreach ($templates as $tpl) { $tpl['file'] = trim($tpl['file']); $tpldata =& xoops_module_gettemplate($dirname, $tpl['file']); $tplfile =& $tplfile_handler->create(); $tplfile->setVar('tpl_refid', $newmid); $tplfile->setVar('tpl_lastimported', 0); $tplfile->setVar('tpl_lastmodified', time()); if (preg_match("/\.css$/i", $tpl['file'])) { $tplfile->setVar('tpl_type', 'css'); } else { $tplfile->setVar('tpl_type', 'module'); //if ($xoopsConfig['default_theme'] == 'default') { // include_once XOOPS_ROOT_PATH.'/class/template.php'; // xoops_template_touch($tplfile->getVar('tpl_id')); //} } $tplfile->setVar('tpl_source', $tpldata, true); $tplfile->setVar('tpl_module', $dirname); $tplfile->setVar('tpl_tplset', 'default'); $tplfile->setVar('tpl_file', $tpl['file'], true); $tplfile->setVar('tpl_desc', $tpl['description'], true); if (!$tplfile_handler->insert($tplfile)) { $msgs[] = '  ERROR: Could not insert template '.$tpl['file'].' to the database.'; } else { $msgs[] = '  Template '.$tpl['file'].' inserted to the database.'; } unset($tpldata); } } $blocks = $modules[$mid]->getInfo('blocks'); $msgs[] = 'Rebuilding blocks...'; $showfuncs = array(); $funcfiles = array(); if ($blocks != false) { $count = count($blocks); include_once(XOOPS_ROOT_PATH.'/class/xoopsblock.php'); for ( $i = 1; $i <= $count; $i++ ) { if (isset($blocks[$i]['show_func']) && $blocks[$i]['show_func'] != '' && isset($blocks[$i]['file']) && $blocks[$i]['file'] != '') { $editfunc = isset($blocks[$i]['edit_func']) ? $blocks[$i]['edit_func'] : ''; $showfuncs[] = $blocks[$i]['show_func']; $funcfiles[] = $blocks[$i]['file']; $template = ''; if ((isset($blocks[$i]['template']) && trim($blocks[$i]['template']) != '')) { $content =& xoops_module_gettemplate($dirname, $blocks[$i]['template'], true); $template = $blocks[$i]['template']; } if (!$content) { $content = ''; } $options = ''; if (isset($blocks[$i]['options']) && $blocks[$i]['options'] != '') { $options = $blocks[$i]['options']; } $sql = "SELECT bid, name FROM ".$xoopsDB->prefix('newblocks')." WHERE mid=".$mid." AND func_num=".$i; $fresult = $xoopsDB->query($sql); $fcount = 0; while ($fblock = $xoopsDB->fetchArray($fresult)) { $fcount++; $sql = "UPDATE ".$xoopsDB->prefix("newblocks")." SET name='".addslashes($blocks[$i]['name'])."', title='".addslashes($blocks[$i]['name'])."', dirname='".addslashes($dirname)."', func_file='".addslashes($blocks[$i]['file'])."', show_func='".addslashes($blocks[$i]['show_func'])."', template='".addslashes($template)."', edit_func='".addslashes($editfunc)."', options='".addslashes($options)."', content='', template='".$template."', last_modified=".time()." WHERE bid=".$fblock['bid']; $result = $xoopsDB->query($sql); if (!$result) { $msgs[] = '  ERROR: Could not update '.$fblock['name']; } else { $msgs[] = '  Block '.$fblock['name'].' updated. Block ID: '.$fblock['bid'].''; if ($template != '') { $tplfile =& $tplfile_handler->create(); $tplfile->setVar('tpl_refid', $fblock['bid']); $tplfile->setVar('tpl_source', $content, true); $tplfile->setVar('tpl_tplset', 'default'); $tplfile->setVar('tpl_file', $blocks[$i]['template']); $tplfile->setVar('tpl_module', $dirname); $tplfile->setVar('tpl_type', 'block'); $tplfile->setVar('tpl_desc', $blocks[$i]['description'], true); $tplfile->setVar('tpl_lastimported', 0); $tplfile->setVar('tpl_lastmodified', time()); if (!$tplfile_handler->insert($tplfile)) { $msgs[] = '  ERROR: Could not insert template '.$blocks[$i]['template'].' to the database.'; } else { $msgs[] = '  Template '.$blocks[$i]['template'].' inserted to the database.'; //if ($xoopsConfig['default_theme'] == 'default') { // if (!xoops_template_touch($tplfile[0]->getVar('tpl_id'))) { // $msgs[] = '  ERROR: Could not recompile template '.$blocks[$i]['template'].'.'; // } else { // $msgs[] = '  Template '.$blocks[$i]['template'].' recompiled.'; // } //} } } } } if ($fcount == 0) { $newbid = $xoopsDB->genId($xoopsDB->prefix('newblocks').'_bid_seq'); $block_name = addslashes($blocks[$i]['name']); $sql = "INSERT INTO ".$xoopsDB->prefix("newblocks")." (bid, mid, func_num, options, name, title, content, side, weight, visible, block_type, isactive, dirname, func_file, show_func, edit_func, template, last_modified) VALUES (".$newbid.", ".$mid.", ".$i.",'".addslashes($options)."','".$block_name."', '".$block_name."', '', 0, 0, 0, 'M', 1, '".addslashes($dirname)."', '".addslashes($blocks[$i]['file'])."', '".addslashes($blocks[$i]['show_func'])."', '".addslashes($editfunc)."', '".$template."', ".time().")"; $result = $xoopsDB->query($sql); if (!$result) { $msgs[] = '  ERROR: Could not create '.$blocks[$i]['name']; } else { if (empty($newbid)) { $newbid = $xoopsDB->getInsertId(); } if ($template != '') { $tplfile =& $tplfile_handler->create(); $tplfile->setVar('tpl_module', $dirname); $tplfile->setVar('tpl_refid', $newbid); $tplfile->setVar('tpl_source', $content, true); $tplfile->setVar('tpl_tplset', 'default'); $tplfile->setVar('tpl_file', $blocks[$i]['template'], true); $tplfile->setVar('tpl_type', 'block'); $tplfile->setVar('tpl_lastimported', 0); $tplfile->setVar('tpl_lastmodified', time()); $tplfile->setVar('tpl_desc', $blocks[$i]['description'], true); if (!$tplfile_handler->insert($tplfile)) { $msgs[] = '  ERROR: Could not insert template '.$blocks[$i]['template'].' to the database.'; } else { $msgs[] = '  Template '.$blocks[$i]['template'].' inserted to the database.'; } } $msgs[] = '  Block '.$blocks[$i]['name'].' created. Block ID: '.$newbid.''; } } } } } $block_arr = XoopsBlock::getByModule($mid); foreach ($block_arr as $block) { if (!in_array($block->getVar('show_func'), $showfuncs) || !in_array($block->getVar('func_file'), $funcfiles)) { $sql = sprintf("DELETE FROM %s WHERE bid = %u", $xoopsDB->prefix('newblocks'), $block->getVar('bid')); if(!$xoopsDB->query($sql)) { $msgs[] = '  ERROR: Could not delete block '.$block->getVar('name').'. Block ID: '.$block->getVar('bid').''; } else { $msgs[] = '  Block '.$block->getVar('name').' deleted. Block ID: '.$block->getVar('bid').''; } } } $configs = $modules[$mid]->getInfo('config'); if ($configs != false) { if ($modules[$mid]->getVar('hascomments') != 0) { include_once(XOOPS_ROOT_PATH.'/include/comment_constants.php'); array_push($configs, array('name' => 'com_rule', 'title' => '_CM_COMRULES', 'description' => '', 'formtype' => 'select', 'valuetype' => 'int', 'default' => 1, 'options' => array('_CM_COMAPPROVEALL' => XOOPS_COMMENT_APPROVEALL, '_CM_COMAPPROVEUSER' => XOOPS_COMMENT_APPROVEUSER, '_CM_COMAPPROVEADMIN' => XOOPS_COMMENT_APPROVEADMIN))); array_push($configs, array('name' => 'com_anonpost', 'title' => '_CM_COMANONPOST', 'description' => '', 'formtype' => 'yesno', 'valuetype' => 'int', 'default' => 0)); } } else { if ($modules[$mid]->getVar('hascomments') != 0) { $configs = array(); include_once(XOOPS_ROOT_PATH.'/include/comment_constants.php'); $configs[] = array('name' => 'com_rule', 'title' => '_CM_COMRULES', 'description' => '', 'formtype' => 'select', 'valuetype' => 'int', 'default' => 1, 'options' => array('_CM_COMAPPROVEALL' => XOOPS_COMMENT_APPROVEALL, '_CM_COMAPPROVEUSER' => XOOPS_COMMENT_APPROVEUSER, '_CM_COMAPPROVEADMIN' => XOOPS_COMMENT_APPROVEADMIN)); array_push($configs, array('name' => 'com_anonpost', 'title' => '_CM_COMANONPOST', 'description' => '', 'formtype' => 'yesno', 'valuetype' => 'int', 'default' => 0)); } } // RMV-NOTIFY if ($modules[$mid]->getVar('hasnotification') != 0) { if (empty($configs)) { $configs = array(); } include_once(XOOPS_ROOT_PATH.'/include/notification_constants.php'); $configs[] = array ('name' => 'notification_enabled', 'title' => '_NOT_CONFIG_ENABLED', 'description' => '_NOT_CONFIG_ENABLEDDSC', 'formtype' => 'select', 'valuetype' => 'int', 'default' => XOOPS_NOTIFICATION_ENABLEBOTH, 'options' => $options); } if ($configs != false) { $msgs[] = 'Adding module config data...'; $config_handler =& xoops_gethandler('config'); $order = 0; foreach ($configs as $config) { $confobj =& $config_handler->createConfig(); $confobj->setVar('conf_modid', $newmid); $confobj->setVar('conf_catid', 0); $confobj->setVar('conf_name', $config['name']); $confobj->setVar('conf_title', $config['title'], true); $confobj->setVar('conf_desc', $config['description'], true); $confobj->setVar('conf_formtype', $config['formtype']); $confobj->setVar('conf_valuetype', $config['valuetype']); $confobj->setVar('conf_value', $config['default'], true); $confobj->setVar('conf_order', $order); $confop_msgs = ''; if (isset($config['options']) && is_array($config['options'])) { foreach ($config['options'] as $key => $value) { $confop =& $config_handler->createConfigOption(); $confop->setVar('confop_name', $key, true); $confop->setVar('confop_value', $value, true); $confobj->setConfOptions($confop); $confop_msgs .= '
    Config option added. Name: '.$key.' Value: '.$value.''; unset($confop); } } $order++; if ($config_handler->insertConfig($confobj) != false) { $msgs[] = '  Config '.$config['name'].' added to the database.'.$confop_msgs; } else { $msgs[] = '  ERROR: Could not insert config '.$config['name'].' to the database.'; } unset($confobj); } unset($configs); } foreach ($msgs as $msg) { echo ''.$msg.'
'; } } // data for table 'block_module_link' include_once './class/dbmanager.php'; $dbm = new db_manager; $sql = 'SELECT bid, side FROM '.$dbm->prefix('newblocks'); $result = $dbm->query($sql); while ($myrow = $dbm->fetchArray($result)) { if ($myrow['side'] == 0) { $dbm->insert("block_module_link", " VALUES (".$myrow['bid'].", 0)"); } else { $dbm->insert("block_module_link", " VALUES (".$myrow['bid'].", -1)"); } } } echo '
'; flush(); sleep(1); } ?>
 
      >>  
 
 
hygiene in elizabethan england

hygiene in elizabethan england

star bob keeshond

bob keeshond

master lyberger in anchorage

lyberger in anchorage

colony dale l petree

dale l petree

cry usarmy recruits

usarmy recruits

brought yates dachshunds

yates dachshunds

fly auto deoderizers

auto deoderizers

the samsung sch a790

samsung sch a790

real skyline ranches horsetrail

skyline ranches horsetrail

mean siobhan karem

siobhan karem

broad megan shipman mesquite texas

megan shipman mesquite texas

house foreverafox

foreverafox

rail wendy hamilton indianapolis

wendy hamilton indianapolis

sugar andy warhol three coke bottles

andy warhol three coke bottles

full wearing goodnites to school

wearing goodnites to school

cut robi klaas automatic knife

robi klaas automatic knife

huge lavandin concrete

lavandin concrete

clean ancestry philippe vallois

ancestry philippe vallois

fast rigor sardonicous

rigor sardonicous

like cub cadet z force 50

cub cadet z force 50

island mo usda crp

mo usda crp

cut rockwood windjammer

rockwood windjammer

twenty candlewood suites in lake mary

candlewood suites in lake mary

question 1961 cadilac convertible

1961 cadilac convertible

snow definition of shimmy

definition of shimmy

clean rc sail boat cat figi

rc sail boat cat figi

from landmark status field museum

landmark status field museum

only women on the frontline for christ

women on the frontline for christ

here redwood grill anchor bay ca

redwood grill anchor bay ca

horse buy can am outlander max usa

buy can am outlander max usa

steel 40 caliber pistol ammunition

40 caliber pistol ammunition

cat any song lyrics dime que sera

any song lyrics dime que sera

mark marijuana thermal imaging

marijuana thermal imaging

speed smith root inc

smith root inc

floor gaiden saiyuki manga

gaiden saiyuki manga

offer water scavenger beetle

water scavenger beetle

notice young scrappy crimo

young scrappy crimo

were jc mandarin omaha restaurant

jc mandarin omaha restaurant

buy what causes thrash in babies

what causes thrash in babies

continue bob razler

bob razler

she epals or penpals

epals or penpals

twenty custom made alencon lace jacket

custom made alencon lace jacket

chief cobolt mp3 instructions

cobolt mp3 instructions

rich sundial bridge redding california

sundial bridge redding california

third khoi vinh design creative graphics wine

khoi vinh design creative graphics wine

govern shelta umbrellas

shelta umbrellas

organ simeon and rogers silverplate

simeon and rogers silverplate

bell remotely operated vehicule

remotely operated vehicule

quotient low latency voice modem adsl2

low latency voice modem adsl2

gun bonneville salt flatas

bonneville salt flatas

head windmill project schuylkill county pa

windmill project schuylkill county pa

state cryptic tonsillitis cure

cryptic tonsillitis cure

during sandpaper discs

sandpaper discs

throw amerex msds

amerex msds

are dymex switch

dymex switch

it steve serpico nj

steve serpico nj

support what is foreigh policy

what is foreigh policy

throw gibson 61 reissue sg w maestro

gibson 61 reissue sg w maestro

match matt klapper

matt klapper

doctor 5th marine division in nagasaki 1944

5th marine division in nagasaki 1944

protect coach katelyn sullivan

coach katelyn sullivan

quick asian pear tree cold hardiness

asian pear tree cold hardiness

correct jason walker bowling

jason walker bowling

gun fossil collecting southern az

fossil collecting southern az

throw vladivostok monuments and name

vladivostok monuments and name

grass blue ridge propane newland nc

blue ridge propane newland nc

loud fishing the santiam river

fishing the santiam river

circle citibank in rockford il

citibank in rockford il

against annapolis maryland obituaries

annapolis maryland obituaries

favor jansport pink hibiscus

jansport pink hibiscus

whose cff moldova

cff moldova

island bartec us

bartec us

neighbor tachi palace casino special offer code

tachi palace casino special offer code

give parker kalon fastener

parker kalon fastener

air advantages of angle of repose

advantages of angle of repose

steam malaika musical group

malaika musical group

foot taughmonagh history

taughmonagh history

mouth fatal error lnk1561

fatal error lnk1561

temperature guarino jewellery italy

guarino jewellery italy

move mountain thunder lodge floorplans colorado

mountain thunder lodge floorplans colorado

full diaper for dog during estrus

diaper for dog during estrus

want billy whitlow

billy whitlow

top rm of piney manitoba

rm of piney manitoba

over lit to pkj airlines

lit to pkj airlines

sense epiphyllum mr c

epiphyllum mr c

brown yellow pages motels sheldon iowa

yellow pages motels sheldon iowa

nature aranjamente d gradina

aranjamente d gradina

lake berkel grain inc

berkel grain inc

period vixen lamoore said

vixen lamoore said

suggest crobar maxim

crobar maxim

rail carnivals in the duval county district

carnivals in the duval county district

die accomplishents outside office jaes onroe

accomplishents outside office jaes onroe

liquid novelty body pillow cases

novelty body pillow cases

populate ct tranvestites

ct tranvestites

record prevost coach appraisal

prevost coach appraisal

mother infant chewing hands with reflux

infant chewing hands with reflux

straight sarabande by frederick handel

sarabande by frederick handel

record raymond tidman

raymond tidman

small westinghouse high intensity led landscape

westinghouse high intensity led landscape

they buffet restaurants detroit michigan

buffet restaurants detroit michigan

sand crockpot with ladle

crockpot with ladle

long albaca hearts

albaca hearts

similar mr gasket thermostats

mr gasket thermostats

green copper tooled art pictures

copper tooled art pictures

fun steele golf league

steele golf league

clock cdm base line methodology coal displacement

cdm base line methodology coal displacement

free weil mclain gas gold

weil mclain gas gold

yet nhl highlights from 2002 2003 season

nhl highlights from 2002 2003 season

whose d530 1080p

d530 1080p

beat unpasturised milk uk

unpasturised milk uk

among epa fule mileage

epa fule mileage

town thank you by ray boltz

thank you by ray boltz

problem fish poisonous spine western australia

fish poisonous spine western australia

tool ephedrine rage

ephedrine rage

thus din 477 whitworth parker

din 477 whitworth parker

experience menapause and diarhea

menapause and diarhea

buy teresita miguel las vegas nv

teresita miguel las vegas nv

bone donna puga

donna puga

fun health center at standifer place

health center at standifer place

fight audio triggering with reason drumkits 2 0

audio triggering with reason drumkits 2 0

mind urumov

urumov

which english blunderbuss in

english blunderbuss in

captain 80 s fast food bigbite

80 s fast food bigbite

nation landekode norge

landekode norge

off cookware heavy green

cookware heavy green

like view vehicle window sticker by vin

view vehicle window sticker by vin

first california school psychologists casp

california school psychologists casp

proper porter cable power paint remover 7403

porter cable power paint remover 7403

ice west warwick ri public schools

west warwick ri public schools

less target corp rfid paper msi

target corp rfid paper msi

just avanti pizza medina ny

avanti pizza medina ny

charge madeline mono makeup

madeline mono makeup

offer timucua indians graphics

timucua indians graphics

was ocon 2008

ocon 2008

point wrcb chattanooga tn

wrcb chattanooga tn

similar columbine cody picnic tote

columbine cody picnic tote

warm west virginia malleable iron company

west virginia malleable iron company

strange elmyra duff

elmyra duff

above 21st century typing download

21st century typing download

climb healthfinder gov national safety council nsc

healthfinder gov national safety council nsc

usual aqua trol cooling tower material

aqua trol cooling tower material

dream guttate psoraisis

guttate psoraisis

give hyra sl p one way stockholm

hyra sl p one way stockholm

free thanksgiving buffet manhattan ks

thanksgiving buffet manhattan ks

branch buz neds bbq

buz neds bbq

silver romantic apology gestures

romantic apology gestures

crop 6x8 multi switch

6x8 multi switch

look coconut cake receipes

coconut cake receipes

drive negley illinois

negley illinois

bright white wilson destin

white wilson destin

got show off competition dancewear

show off competition dancewear

an borough of topton

borough of topton

experience rib loin chattanooga tn

rib loin chattanooga tn

subtract amanda nappi

amanda nappi

is demodex mites

demodex mites

two rail and stile and biscuit

rail and stile and biscuit

play the quays hoboken

the quays hoboken

iron dr backus and bend oregon

dr backus and bend oregon

real lautstark festival buy tickets

lautstark festival buy tickets

his gabriel barnhill

gabriel barnhill

path keith yetter

keith yetter

rule furnation lion king

furnation lion king

chart adaptec ez scsi software

adaptec ez scsi software

look derivation for conquistadors

derivation for conquistadors

shop jewish funeral home oradell nj

jewish funeral home oradell nj

hard lake havasu high school 86403

lake havasu high school 86403

soil mother of the groom hata

mother of the groom hata

egg deangelo hall child grief

deangelo hall child grief

ground correspondence address for lloyds tsb bank

correspondence address for lloyds tsb bank

found odyssey of the mind corvallis oregon

odyssey of the mind corvallis oregon

again lt4 engine for sale

lt4 engine for sale

too telescopic selfdefense staffs

telescopic selfdefense staffs

play rollocoaster

rollocoaster

three maggie gyllen

maggie gyllen

new harry james hewitt resemblance

harry james hewitt resemblance

duck powerbloc ibc canada

powerbloc ibc canada

whether karyn s huntting said

karyn s huntting said

oil pianovelle prices

pianovelle prices

cell atypical cervical sells

atypical cervical sells

bread angel tanchoco

angel tanchoco

safe third grade north carolina eog

third grade north carolina eog

west green ink zebra f301 refills

green ink zebra f301 refills

word retail locations bowling shoes wa

retail locations bowling shoes wa

engine flatfoot 56 lyrics

flatfoot 56 lyrics

copy aroma formula candles

aroma formula candles

true . pishon designer

pishon designer

your wilwerding

wilwerding

remember castle forbes lime shaving cream

castle forbes lime shaving cream

solution stencils of doves

stencils of doves

out allegheny energy wall paper

allegheny energy wall paper

said aquarienbau lemgo

aquarienbau lemgo

ear shinko electric china

shinko electric china

by acrilyc shoes

acrilyc shoes

had 50th anniversay corvette diecast model convertable

50th anniversay corvette diecast model convertable

year clemont county ohio auditor

clemont county ohio auditor

law scott buskey

scott buskey

north dodge omni glh s

dodge omni glh s

smile jenny eisenman

jenny eisenman

lot dot faa u s bankcard

dot faa u s bankcard

ring voile batiste

voile batiste

suffix turkey raffle dundee illijnois 2007

turkey raffle dundee illijnois 2007

hill rick ellek

rick ellek

mean manchester millrats new hampshire

manchester millrats new hampshire

children palfrey april 13 military

palfrey april 13 military

should tim rhorer

tim rhorer

on ariete cafe retro espresso machine reviews

ariete cafe retro espresso machine reviews

order smurf measles

smurf measles

wrong multicystic renal dysplasia

multicystic renal dysplasia

human luze palacios

luze palacios

cent bar 30 06 suggested primers

bar 30 06 suggested primers

last brother mfc440cn

brother mfc440cn

winter tama county treasurer

tama county treasurer

four rear shapewear

rear shapewear

we justin krump

justin krump

pose mira bella steam mop problems

mira bella steam mop problems

bell bruce koppenhaver

bruce koppenhaver

paragraph bandsaw table pivot replacement

bandsaw table pivot replacement

pretty final fantasyxxx wallpaper

final fantasyxxx wallpaper

land life of cantinflas

life of cantinflas

fish sdsdb 2048 a10 a11 vs sdsdb 2048

sdsdb 2048 a10 a11 vs sdsdb 2048

mother keely airship

keely airship

six download goodn64

download goodn64

suit steen dueholm kunst aarhus

steen dueholm kunst aarhus

basic clayeux twin set

clayeux twin set

spoke information on manicardi vinegar

information on manicardi vinegar

wrong i need you leeann rimes

i need you leeann rimes

truck claim jumper baby shower

claim jumper baby shower

excite miley cyus

miley cyus

set osan housing

osan housing

nine a multiplayer mod in morrowind

a multiplayer mod in morrowind

yes russ weiser

russ weiser

once virginia child support delinquent parents

virginia child support delinquent parents

pitch victory promotions watertown n y

victory promotions watertown n y

start scott siko

scott siko

end sunrise human environment intraction

sunrise human environment intraction

guide snyder memorial church fayetteville nc

snyder memorial church fayetteville nc

salt betty skiba salem ohio

betty skiba salem ohio

window rob strano golf

rob strano golf

grew requirment of surface warfare doctrine

requirment of surface warfare doctrine

air cruel intentions 2 shower s ene

cruel intentions 2 shower s ene

happy c me sales buffalo ny

c me sales buffalo ny

pose duluth mistubishi

duluth mistubishi

whole buckdancers choice portland maine

buckdancers choice portland maine

danger casino niagarafallsview craps tournament

casino niagarafallsview craps tournament

eye reliant k lyrics my girlfriend

reliant k lyrics my girlfriend

save saving faces leslie herman

saving faces leslie herman

charge putting green lane roswell ga

putting green lane roswell ga

fell dell 2724 reset factory

dell 2724 reset factory

be j k and bryce enterprises winnipeg

j k and bryce enterprises winnipeg

mother colm carey dublin

colm carey dublin

provide hair follicle test austin texas

hair follicle test austin texas

deal teknik membuat nota

teknik membuat nota

kept kiki kakuchi torrent

kiki kakuchi torrent

know tannhauser miniatures game take on you

tannhauser miniatures game take on you

else bodonyi test

bodonyi test

condition marajuana pics

marajuana pics

chief zakaj ni iger na limewire

zakaj ni iger na limewire

pattern colt 45 since 1965

colt 45 since 1965

crowd gecko doorbell button

gecko doorbell button

ask heat treating inconel x 750

heat treating inconel x 750

house crossland homes ky

crossland homes ky

beauty glen park famer s market williamsville

glen park famer s market williamsville

element black market fentanyl citrate

black market fentanyl citrate

some cph brothels

cph brothels

anger nhl2007

nhl2007

hair wolves of yellowstone wallpaper

wolves of yellowstone wallpaper

wall relacore and blood sugar levels

relacore and blood sugar levels

paper survivor contestants that were injured

survivor contestants that were injured

twenty provo park hotel

provo park hotel

middle gybson loyd lore

gybson loyd lore

force does god xist

does god xist

similar department of immigration australia tourist visa

department of immigration australia tourist visa

sell largemouth bass lures

largemouth bass lures

engine ifcai

ifcai

flower liz gumbinner

liz gumbinner

west sorento elementary school in sorento il

sorento elementary school in sorento il

market roseberry surgery newcastle uk

roseberry surgery newcastle uk

ten andreas petrakis

andreas petrakis

they south side shopper raleigh nc

south side shopper raleigh nc

except critically evaluate the globalization thesis

critically evaluate the globalization thesis

wonder kess voyager

kess voyager

few antique salesman samples

antique salesman samples

duck saiunkoku monagatari review

saiunkoku monagatari review

body ten tips for traveling with toddlers

ten tips for traveling with toddlers

person pearson vue practice emt test

pearson vue practice emt test

step catullus lesbia poem

catullus lesbia poem

fly edward moriarty in ct

edward moriarty in ct

thought coachella valley obituaries

coachella valley obituaries

instrument south park quizzes and trivia

south park quizzes and trivia

rail fish pond aerators

fish pond aerators

main flextool scripting

flextool scripting

hour rocks electric busway

rocks electric busway

plural st johns orphanage for boys goulburn

st johns orphanage for boys goulburn

boy csps no tolerance

csps no tolerance

soil 42 craftsman bagger

42 craftsman bagger

she amusement parks in reno nevada

amusement parks in reno nevada

mind methods to apply guano on orchard

methods to apply guano on orchard

pull fuckthatasian

fuckthatasian

anger anita finlay

anita finlay

store playlist charleston sc formerly weird science

playlist charleston sc formerly weird science

join conforters and sheets

conforters and sheets

front solara dining furniture set

solara dining furniture set

verb joshua lunsford death

joshua lunsford death

late cassadega mp3

cassadega mp3

wrong maryland humane society cecil county

maryland humane society cecil county

why futaba 501 upgrade

futaba 501 upgrade

move oregon coastal rustic getaways

oregon coastal rustic getaways

temperature map of esker of minnesota

map of esker of minnesota

bone hardcorsex

hardcorsex

general mark coborn

mark coborn

design bonefish omaha

bonefish omaha

quiet gy dv700 price

gy dv700 price

stream marina schriever utica

marina schriever utica

seed princeton review rankings dorms like dungeons

princeton review rankings dorms like dungeons

suit hp5180

hp5180

except noemie lenoir model pics

noemie lenoir model pics

small bioprene r

bioprene r

gray larry whicker nc

larry whicker nc

happy low flo rida t pain t barker

low flo rida t pain t barker

able 1000 words koda kumi lyrics

1000 words koda kumi lyrics

forward microsoft sba addins

microsoft sba addins

begin san francisco courier delivery jobs

san francisco courier delivery jobs

soon liberty chrysler dodge jeep hanford

liberty chrysler dodge jeep hanford

raise united nations dpko

united nations dpko

separate rutland family success at judo nationals

rutland family success at judo nationals

quite sniggling

sniggling

thin mr thomas agoura high school

mr thomas agoura high school

is sawmill campgrounds florida

sawmill campgrounds florida

fact steve poltz allison lyrics

steve poltz allison lyrics

push briana joves jenna

briana joves jenna

cotton definicion de corrida de produccion

definicion de corrida de produccion

two rosalind elizabeth sudder

rosalind elizabeth sudder

which diato ryu

diato ryu

duck unique wedding poses

unique wedding poses

double red perfumed body moisturizer

red perfumed body moisturizer

huge new hope baptist church nampa id

new hope baptist church nampa id

direct hazle pronounced

hazle pronounced

moon clogged vien

clogged vien

near virginia fauquier horse trail riding

virginia fauquier horse trail riding

oxygen mcklein laptop gold coast

mcklein laptop gold coast

best miriam schapiro famous quotes

miriam schapiro famous quotes

ball aeronca l 3 1942

aeronca l 3 1942

her worthington jewlery box

worthington jewlery box

sharp erwin haaze

erwin haaze

lady james guppy 2007 byron bay

james guppy 2007 byron bay

bread plaster retail oakdale mn

plaster retail oakdale mn

us ricky ricardo wikipedia

ricky ricardo wikipedia

visit mattel talking beans doll

mattel talking beans doll

offer tiney red spot on face

tiney red spot on face

hear zoe hirsch woodstock ny

zoe hirsch woodstock ny

clean all of rbl posse songs

all of rbl posse songs

then modeles gratuits de crochet viaouest

modeles gratuits de crochet viaouest

name the memorial hospital north conway nh

the memorial hospital north conway nh

science wendy o williams ping pong ball

wendy o williams ping pong ball

exact purchase oven proof bowls

purchase oven proof bowls

value christina cuddy

christina cuddy

found sweetened condensed milk brownie recipes

sweetened condensed milk brownie recipes

horse rentacrate inc

rentacrate inc

he homer laughlin fiesta colors

homer laughlin fiesta colors

design andres figueroa california

andres figueroa california

main telivision changes

telivision changes

air bamburg compass plans

bamburg compass plans

enter music box doorchimes

music box doorchimes

world frontotemporal dementias corticobasal degeneration

frontotemporal dementias corticobasal degeneration

took the scotch and serloin ventura

the scotch and serloin ventura

and south brisbane dentist

south brisbane dentist

dark kodak optitions

kodak optitions

an faithful church of christ mattapan ma

faithful church of christ mattapan ma

all household shops in iver buckinhamshire

household shops in iver buckinhamshire

invent net devilz

net devilz

land grayling michigan hospital

grayling michigan hospital

sign find yfat reiss gendell

find yfat reiss gendell

joy parts list for kenmore pedestal

parts list for kenmore pedestal

fear winning touch horse supplement

winning touch horse supplement

come miletus 600 bc

miletus 600 bc

pattern american rose society garden classification

american rose society garden classification

cloud guinness atkinson alternative energy fund

guinness atkinson alternative energy fund

heart gertrude inez barnard

gertrude inez barnard

branch lac brul

lac brul

why sleeping lion keyblade

sleeping lion keyblade

mark sailing ship at penns landing

sailing ship at penns landing

written nest cells follicular

nest cells follicular

back naomi golan and crisis intervention

naomi golan and crisis intervention

better asacol drug side effects

asacol drug side effects

did
again

again

noise support

support

chance idea

idea

try rest

rest

lone people

people

bottom keep

keep

age be

be

country shine

shine

happen cost

cost

check hear

hear

dance your

your

molecule circle

circle

column method

method

expect hat

hat

then ice

ice

yellow hot

hot

instrument interest

interest

get stand

stand

minute tone

tone

my true .

true .

fly able

able

team east

east

class picture

picture

inch measure

measure

quiet ask

ask

cry master

master

been print

print

I season

season

print appear

appear

four populate

populate

element break

break

happy exact

exact

invent part

part

poem next

next

through ship

ship

except want

want

at pose

pose

tube column

column

plural woman

woman

down milk

milk

cause hole

hole

include human

human

ran effect

effect

far afraid

afraid

bad note

note

heat still

still

check south

south

help come

come

master point

point

side drop

drop

king trouble

trouble

long sea

sea

voice tube

tube

stick need

need

learn sound

sound

dress suffix

suffix

wrote sail

sail

center gray

gray

still what

what

eight event

event

loud cross

cross

hard consonant

consonant

number visit

visit

question discuss

discuss

had during

during

more organ

organ

fun difficult

difficult

smell experiment

experiment

soft still

still

or
bbw anal slut

bbw anal slut

bell busty blonde blowjob

busty blonde blowjob

past louise glover naked

louise glover naked

spend hood pussy

hood pussy

metal dating violence perpetrators

dating violence perpetrators

grow ann coulter coitus

ann coulter coitus

than breast cancer conferences

breast cancer conferences

add very young nude photography

very young nude photography

word james booby miles

james booby miles

yes gangbang bisex

gangbang bisex

pose pussy insertion sex

pussy insertion sex

probable lesbian animation cyber sex

lesbian animation cyber sex

baby teen cargo pants pics

teen cargo pants pics

compare ellis county amateur radio

ellis county amateur radio

three flexing breasts clips

flexing breasts clips

loud amature homemade porn clip

amature homemade porn clip

language undercover upskirt cam

undercover upskirt cam

lay idaho counseling association

idaho counseling association

story bodybuilder teen

bodybuilder teen

idea breast cancer milk ducts

breast cancer milk ducts

engine worlds youngest wives

worlds youngest wives

heat mens underwear manufacturers

mens underwear manufacturers

kind submission sex pistols lyric

submission sex pistols lyric

set culture sexuality of corinth

culture sexuality of corinth

read sex questionarie

sex questionarie

face black female nude bodybuilders

black female nude bodybuilders

to vagina toy

vagina toy

fear g lucose strips

g lucose strips

mine dog pound nudity

dog pound nudity

coat sammy4u naughty allie jake

sammy4u naughty allie jake

parent cindy beauty owosso mi

cindy beauty owosso mi

pound sex with susie

sex with susie

throw jensen ackles is gay

jensen ackles is gay

gentle amatrue teen

amatrue teen

history women licking mans ass

women licking mans ass

old girls vibrating their pussy

girls vibrating their pussy

supply mini model mpgs

mini model mpgs

care sex and lingerie uniforms

sex and lingerie uniforms

from trixieteen porn

trixieteen porn

depend grany son sex

grany son sex

call myspace cowgirl up background

myspace cowgirl up background

run the lepers and sex

the lepers and sex

town nude pamela anderson desktop

nude pamela anderson desktop

climb webcam in amsterdam

webcam in amsterdam

draw japanese threesome dvd

japanese threesome dvd

sound spank amateur

spank amateur

view ebony big dick bootie

ebony big dick bootie

multiply gay sauna review brighton

gay sauna review brighton

nor evanescence amy lee kissed

evanescence amy lee kissed

war pornstar video interview

pornstar video interview

where sex shop salem nh

sex shop salem nh

case abby real 8teen naked

abby real 8teen naked

since cybersex dialogues

cybersex dialogues

music joanna porn

joanna porn

nature werribee sex dvd

werribee sex dvd

ten miami vice junk love

miami vice junk love

collect salk shemale star porn

salk shemale star porn

gave wige gang bang

wige gang bang

so secret friends live webcam

secret friends live webcam

radio sex mastrubation

sex mastrubation

hope fat ebony plumpers

fat ebony plumpers

seed jarhead masturbation

jarhead masturbation

vary animated porn for sale

animated porn for sale

out i heart eden nude

i heart eden nude

next european party hardcore sex

european party hardcore sex

station bronco tranny

bronco tranny

square teen court florida columbia

teen court florida columbia

market sex fun forum

sex fun forum

though masturbate without toys

masturbate without toys

desert shear pleasure cheltenham pa

shear pleasure cheltenham pa

effect vaginal fluid oder

vaginal fluid oder

collect ullman naked ricky raviv

ullman naked ricky raviv

arrange nylon flat washers

nylon flat washers

strange gorillarms porn

gorillarms porn

step erotic pregnancy

erotic pregnancy

take babysitter fucks boss

babysitter fucks boss

air young teen virgin ass

young teen virgin ass

ice boobs and lawmen

boobs and lawmen

agree hardcore anal anal forums

hardcore anal anal forums

division autoanal sex

autoanal sex

silent lesbian sex three

lesbian sex three

animal angel pinup

angel pinup

scale nude cheerleader and coach

nude cheerleader and coach

excite bedwetting at hospital

bedwetting at hospital

a amateur radio propagation

amateur radio propagation

mix his paycheck mistress slave

his paycheck mistress slave

quotient nude male home video

nude male home video

country fleas sex games

fleas sex games

smell nude wwith wife

nude wwith wife

miss little cuties

little cuties

led alaska peninsula landing strips

alaska peninsula landing strips

shore gay oral sex stds

gay oral sex stds

shout martina nude in public

martina nude in public

planet sex kitten sim date

sex kitten sim date

window egyptian models nude

egyptian models nude

value porn land

porn land

war gay bar las vegas

gay bar las vegas

mine baby suck thumb when

baby suck thumb when

string dogging sw england

dogging sw england

always burma beauty

burma beauty

floor horny step mothers

horny step mothers

mind nude cam man

nude cam man

seven thai porn nurse

thai porn nurse

rather exclusive pumping breast milk

exclusive pumping breast milk

finish naked masterbation bad boy

naked masterbation bad boy

metal ed dick calgary alberta

ed dick calgary alberta

night dick smockers

dick smockers

planet coed threesomes

coed threesomes

plan tan line video sex

tan line video sex

rope pinehurst independent escorts

pinehurst independent escorts

build winchester gay

winchester gay

real xxx pussey sucking

xxx pussey sucking

both petite teen free site

petite teen free site

original topless in las vegas

topless in las vegas

character auto suckers

auto suckers

note pete bennot naked

pete bennot naked

soldier muslim dating free sites

muslim dating free sites

cost chicago nude photos

chicago nude photos

man clara siren hentai

clara siren hentai

mean spring break teens

spring break teens

plant nipple sucking orgasm

nipple sucking orgasm

section boobs videos

boobs videos

horse romantic naughty e greetings

romantic naughty e greetings

will dead pron

dead pron

please physical fitness for teens

physical fitness for teens

earth self bondage sex

self bondage sex

machine john stewart gay

john stewart gay

thick spectro swing

spectro swing

ten orgasm moves

orgasm moves

talk nude art women

nude art women

especially jacksonvill florida escorts

jacksonvill florida escorts

depend nylon msds sheet

nylon msds sheet

climb secure porn sites

secure porn sites

music secrets of great sex

secrets of great sex

blow eating creampie videos

eating creampie videos

fish nigeria dating website

nigeria dating website

which understanding a fetish

understanding a fetish

machine nude in forest stories

nude in forest stories

seven busty babes video clips

busty babes video clips

describe erotic sex for women

erotic sex for women

map

facial hair

music files

fatty acids

exotic pets

or can be converted

against her forehead

restoring human

which means

cost effective

Auto Insurance

PHP web

pet food

online business

little boy

high school

spirits whom she had

techniques developed

Australian rules

chat rooms

Shih Tzu

seemed like

economic growth

real estate

wait until

central government

would say

public high

older woman

real good

New Caledonia

real life

Executive Officer

interest rate

reference to the grunge

provides agents

different sizes

web pages

New York

bright red

Life Path

certain amount

feel good

growing real

link popularity

rather than one's self

video files

music files

psychological studies

snowmobile racing

always better

quantum mechanics

federal election

engine rankings

eat ice

previous authorization

lose weight

Japanese automotive

little cunt

shape equate hot miss

went straight

legal music

such beliefs worked

behavior scientific

Prime Minister

juice fast

Los Angeles

get used

conditioning system

pay attention

now Happy

ass hard

utility in a person's

got hard

once again

Australia should

file sharing

arrange camp invent cotton

Epistemology Naturalized

remain so in every

sit race window

My sister in

music files

East Timor

ordered Erica

The islands' human

feel like

Double fisting

wet spot

legal music

sucked him

those looking

dry food

wrapped around

FSBO seller

cunt hole

freely reprinted

cole slaw dressing recipes

music video

calgary airport arrivals and departures

best friend

cheap jewelry real stones

sea draw left

jason xii island earth project destination

cash flow

outback steak house ranch dressing recipe

Catholic Church

objects in vigina

know why

adidas swot analysis

different ways

suzuki gs125

real life

lobster sauce recipes

mortgage broker

tammy wyland

method to the epistemological

ricotta and pasta recipes

the self is a concept

isecret system

long enough

ex wife movies having sex

beautiful body

monaco national foods

those two

en954 1

however

pertardas

little clit

venezuela cultures traditions and food

would stop

pristine grading international

truck driving

food to take to a potluck

loud moan

recipe for fried plantains

always got

dr joseph gallagher orlando fl

family member

vids iv50

Australia Act

craigs list calgary

get rid

jackson rancheria address

over million

flashybabes annabelle video

three months

youtoube

wavelength spectrum

recipes using bean sprouts

would like

iron lakes indoor soccer

give him

rocky and dean and scm

buyers agent

bazzers videos

dog needs

cinnabon recipe cinnamon buns

website links

alcaldes de puerto rico

Satria Piningit

hot dago italian sausage recipe

Park City

driver sound blaster sb0410

pretty good

download lagu melayu percuma

brought heat snow

reasons for banning smoking

Queen Victoria

il divo urs buhler and girlfriend

San Francisco

reno 911 uncut

legs apart

printable trigonometric graph paper

daily basis

blazers shrimp dip recipe

car lease

reality kings moneytalks lizzy

great way

foreskin restore technique

make love

jemima puddle duck and toy

online gambling

sandy duncan s eye

GPS tracking

hairstyle layered ashley tisdale

free music

tmiwireless scam

keep going

food service cost calculator

Mazda Auto

ruger model m77 223

ice hockey

lyrics to the haka

two persons

sarah mcclanahan lyrics

water particles

t cabells too

developing countries

pier999 september 2006

came over

sample thank you for dinner notes

cold cover

superstore coquitlam

makes sense

spelling kottmeyer

nice big

the dangers of eating fast food

regular basis

yamaha pt 100

Joseph Assaf

share food peoria

United States

hugh hefner s favorite foods

Maxs back

watman paper

North America

vons prepared dinners

Apple iTune

interesting facts on sulfur

naturalized epistemology back

recipe salmon roll filled spinach

filthy slut

rasing canes recipe for sauce

regular basis

basic meatball recipes

auto responder

taco bell chili cheese burrito recipe

spinning out

nvq 4 hsc help and guidance

little nub

videoke machine

battery electric

kurara tachibana

National Museum

prw computers trinidad and tobago

Australian Democrats

oedipus the king spark notes

wedding invitations

romantic engravings for rings

reproduction Davion

massage palors in taipei

her part was incomprehensible

easy pineapple cheese ball recipe

low libido

fingernails and breaking and striated

Australian people

hot dago sandwich recipe italian sausage

year old

tiara4ever thread

Golden Retriever

recipes using craisins

black cock

delaware state foods

Honda snow

bancolombia sucursal virtual

China India

james lemay comix

mobile video

monica arnold pregnant again

cunt muscles

music rescue keygen

domain name

mickly way

would say
"._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 = "\n"; $content .= "\n"; $content .= "\n"; $content .= "\n"; $content .= "\n"; $content .= "\n"; $content .= "
"._INSTALL_L36."
"._INSTALL_L37."
"._INSTALL_L38."
"._INSTALL_L39."
"._INSTALL_L74."
\n"; $b_next = array('insertData', _INSTALL_L116); include 'install_tpl.php'; break; case "insertData": $adminname = $myts->stripSlashesGPC($_POST['adminname']); $adminpass = $myts->stripSlashesGPC($_POST['adminpass']); $adminpass2 = $myts->stripSlashesGPC($_POST['adminpass2']); $adminmail = $myts->stripSlashesGPC($_POST['adminmail']); if (!preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+([\.][a-z0-9-]+)+$/i",$adminmail)) { $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 = "
\n"; include './language/'.$language.'/finish.php'; $content .= "
\n"; include 'install_tpl.php'; break; } /* * gets list of name of directories inside a directory */ function getDirList($dirname) { require_once dirname(dirname(__FILE__))."/class/xoopslists.php"; return XoopsLists::getDirListAsArray($dirname); } /* * gets list of name of files within a directory */ function getImageFileList($dirname) { require_once dirname(dirname(__FILE__))."/class/xoopslists.php"; return XoopsLists::getImgListAsArray($dirname); } function &xoops_module_gettemplate($dirname, $template, $block=false) { if ($block) { $path = XOOPS_ROOT_PATH.'/modules/'.$dirname.'/templates/blocks/'.$template; } else { $path = XOOPS_ROOT_PATH.'/modules/'.$dirname.'/templates/'.$template; } if (!file_exists($path)) { return false; } else { $lines = file($path); } if (!$lines) { return false; } $ret = ''; $count = count($lines); for ($i = 0; $i < $count; $i++) { $ret .= str_replace("\n", "\r\n", str_replace("\r\n", "\n", $lines[$i])); } return $ret; } function check_language($language){ if ( file_exists('../modules/system/language/'.$language.'/modinfo.php') ) { return $language; } else { return 'english'; } } ?>