Hi, is it possible to port this mod over to integramod? I think most of the members in my forum would like to play some sudoku too.
[url=http]Link here[/url]
Moderator: Integra Moderator
<?php /*************************************************************************** * db_update.php * ------------------- * * copyright ]http://sourceforge.net/projects/dbgenerator[/url] * Website : [url=http://freakingbooty.no-ip.com/]http://freakingbooty.no-ip.com/[/url] & [url=http://www.rapiddr3am.net]http://www.rapiddr3am.net[/url] * ***************************************************************************/ /*************************************************************************** * * 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. * ***************************************************************************/ define('IN_PHPBB', true); $phpbb_root_path = './'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); // // Start session management // $userdata = session_pagestart($user_ip, PAGE_INDEX); init_userprefs($userdata); // // End session management // if( !$userdata['session_logged_in'] ) { $header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: '; header($header_location . append_sid("login.$phpEx?redirect=db_update.$phpEx", true)); exit; } if( $userdata['user_level'] != ADMIN ) { message_die(GENERAL_MESSAGE, 'You are not authorised to access this page'); } $page_title = 'Updating the database'; include($phpbb_root_path . 'includes/page_header.'.$phpEx); echo '<table>'; echo '<tr><th>Updating the database</th></tr><tr><td><span><ul>'; $sql = array(); $sql[] = "UPDATE `" . $table_prefix . "config` SET `config_value` = '1.0.6' WHERE `config_name` = 'sudoku_version' LIMIT 1"; for( $i = 0; $i <count>sql_query ($sql[$i]) ) { $error = $db->sql_error(); echo '<li>' . $sql[$i] . '<br> +++ <font><b>Error:</b></font> ' . $error['message'] . '</li><br>'; } else { echo '<li>' . $sql[$i] . '<br> +++ <font><b>Successful</b></font></li><br>'; } } echo '</ul></span></td></tr><tr><td> </td></tr>'; echo '<tr><th>Installation Complete</th></tr><tr><td><span>Please be sure to delete this file now.<br>If you require any further assistance, please visit the <a>phpBBHacks.com Support Forums</a>.</span></td></tr>'; echo '<tr><td><span><a>Go back to your index page</a>.</span></td></table>'; include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ?>
##-----[ OPEN ]------------------------------------------#profilcp/def/def_userfuncs_viewonline.php##-----[ FIND ]------------------------------------------# case PAGE_FAQ]; $location_url = "faq.$phpEx"; break; ##-----[ AFTER, ADD ]------------------------------------------# // sudoku mod case PAGE_SUDOKU: $location = $lang['Sudoku']; $location_url = "sudoku.$phpEx"; break; // end sudoku mod
Registered users: Bing [Bot], Helter, Vendethiel