|
From: Jon O. <jon...@us...> - 2005-05-06 06:48:18
|
Update of /cvsroot/mxbb/core27x/modules/mx_last_msg/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13016/modules/mx_last_msg/admin Added Files: admin_mx_last_msg.php index.htm Log Message: Initital core 2.7.x commit :-) --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: admin_mx_last_msg.php --- <?php /*************************************************************************** * admin_setting.php * ------------------- * begin : april, 2003 * copyright : (C) 2002 MX-System * email : su...@mx... * * $Id: admin_mx_last_msg.php,v 1.1 2005/05/06 06:48:06 jonohlsson Exp $ * ***************************************************************************/ /*************************************************************************** * * 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_PORTAL', 1); $mx_root_path = '../' ; global $db; if ( empty( $block_id ) ) { $sql = "SELECT * FROM " . BLOCK_TABLE . " WHERE block_title = 'Last Message' LIMIT 1"; if(!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, "Could not query Download module information", "", __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); $block_id = $row[block_id]; } if( !empty($setmodules) ) { $module['Portal_Last_Message']['General_Module_Settings'] = "admin/admin_mx_block.php?mode=setting&block_id=$block_id"; return; } ?> |