phpmp-commits Mailing List for phpMyPublications (Page 19)
Status: Pre-Alpha
Brought to you by:
heimidal
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(69) |
May
(1) |
Jun
|
Jul
(53) |
Aug
(27) |
Sep
|
Oct
|
Nov
(35) |
Dec
(71) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(5) |
Feb
(65) |
Mar
|
Apr
(15) |
May
(40) |
Jun
(72) |
Jul
|
Aug
(2) |
Sep
(95) |
Oct
(37) |
Nov
|
Dec
|
2005 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Brian R. <hei...@us...> - 2002-08-14 06:24:26
|
Update of /cvsroot/phpmp/phpMP/modules In directory usw-pr-cvs1:/tmp/cvs-serv6721/modules Modified Files: online_users_side.php usercp.php Log Message: Re-added page title support. One extra line in all directly-accessible files...no biggie. Fixed my idiotic mistake in online_users_side.php regarding the fetching of non-expired sessions. Should now work correctly (but not quite perfectly). Index: online_users_side.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules/online_users_side.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** online_users_side.php 29 Jul 2002 11:13:04 -0000 1.2 --- online_users_side.php 14 Aug 2002 06:24:24 -0000 1.3 *************** *** 8,13 **** $five_min_mark = time() - 300; ! $anon_qry = $DBA->query("SELECT user_id FROM " . $MPCONF['DB']['table_prefix'] . "sessions WHERE user_id = '1' AND time_started > " . $five_min_mark); ! $mem_qry = $DBA->query("SELECT user_id FROM " . $MPCONF['DB']['table_prefix'] . "sessions WHERE user_id != '1' AND time_started > " . $five_min_mark); $anon_num = $DBA->num_rows($anon_qry); --- 8,13 ---- $five_min_mark = time() - 300; ! $anon_qry = $DBA->query("SELECT user_id FROM " . $MPCONF['DB']['table_prefix'] . "sessions WHERE user_id = '1' AND expiretime > " . $five_min_mark); ! $mem_qry = $DBA->query("SELECT user_id FROM " . $MPCONF['DB']['table_prefix'] . "sessions WHERE user_id != '1' AND expiretime > " . $five_min_mark); $anon_num = $DBA->num_rows($anon_qry); Index: usercp.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules/usercp.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** usercp.php 10 Aug 2002 21:39:51 -0000 1.9 --- usercp.php 14 Aug 2002 06:24:24 -0000 1.10 *************** *** 5,8 **** --- 5,9 ---- class Module { + var $module_title; var $module_content; *************** *** 12,15 **** --- 13,18 ---- function MakeContent() { global $MPCONF, $Language; + + $this->module_title = $Language->lang['l_user_panel']; $this->module_content .= '<table width="100%" cellspacing="0" cellpadding="0">' . "\n"; |
From: Brian R. <hei...@us...> - 2002-08-14 06:24:26
|
Update of /cvsroot/phpmp/phpMP In directory usw-pr-cvs1:/tmp/cvs-serv6721 Modified Files: index.php modules.php profile.php Log Message: Re-added page title support. One extra line in all directly-accessible files...no biggie. Fixed my idiotic mistake in online_users_side.php regarding the fetching of non-expired sessions. Should now work correctly (but not quite perfectly). Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/index.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** index.php 12 Aug 2002 01:08:29 -0000 1.20 --- index.php 14 Aug 2002 06:24:23 -0000 1.21 *************** *** 49,52 **** --- 49,53 ---- $PHPMP->Init(); + $Template->assign( 'page_title', $Language->lang['l_home'] ); $Template->display_template('index.tpl'); Index: modules.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** modules.php 12 Aug 2002 01:08:29 -0000 1.11 --- modules.php 14 Aug 2002 06:24:23 -0000 1.12 *************** *** 102,107 **** } $Template->assign( 'module_content', $Module->module_content ); - $Template->display_template('modules.tpl'); --- 102,107 ---- } + $Template->assign( 'page_title', $Module->module_title ); $Template->assign( 'module_content', $Module->module_content ); $Template->display_template('modules.tpl'); Index: profile.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/profile.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** profile.php 12 Aug 2002 01:08:29 -0000 1.3 --- profile.php 14 Aug 2002 06:24:23 -0000 1.4 *************** *** 69,72 **** --- 69,73 ---- mail($_POST['r_email'], $Language->lang['l_fin_register_subject'], $temp_message); + $Template->assign( 'page_title', $Language->lang['l_register'] ); $Template->assign( "general_subject", $Language->lang['l_register'] ); $Template->assign( "general_message", $Language->lang['l_register_fin'] ); *************** *** 87,91 **** } else { ! $Template->display_template('register.tpl'); --- 88,93 ---- } else { ! ! $Template->assign( 'page_title', $Language->lang['l_register'] ); $Template->display_template('register.tpl'); *************** *** 100,103 **** --- 102,106 ---- $DBA->query($sql); + $Template->assign( 'page_title', $Language->lang['l_register'] ); $Template->assign( "general_subject", $Language->lang['l_register'] ); $Template->assign( "general_message", $Language->lang['l_activated'] ); |
Update of /cvsroot/phpmp/phpMP/templates/TealMP In directory usw-pr-cvs1:/tmp/cvs-serv19943/templates/TealMP Modified Files: block_left.tpl block_right.tpl index.tpl overall_footer.tpl overall_header.tpl register.tpl register_fin.tpl Added Files: general.tpl Log Message: Auth a little better. Added verification. I keep updating that whole language thing, too. --- NEW FILE: general.tpl --- {* phpMP Template - TealMP - register_fin.tpl *} {include file=overall_header.tpl} <table width="100%" bgcolor="#9fc2c6" cellspacing="0" cellpadding="2"> <tr> {include file=block_left.tpl} <td valign="top"> <table width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="20" class="tabletitle"> <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}templates/{$tpl_name}/images/navbg.gif"> <tr> <td width="100%" class="tabletitle" bordercolor=black> <font color=white><small>.:: {$site_name} :: {$general_subject} ::.</small></font> </td> </tr> </table> </td> </tr> <tr> <td> <table width="100%" class="tableborder" bordercolor=black> <tr> <td> {$general_message} </td> </tr> </table> </td> </tr> </table> </td> {include file=block_right.tpl} {include file=overall_footer.tpl} Index: block_left.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/block_left.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** block_left.tpl 29 Jul 2002 12:46:40 -0000 1.2 --- block_left.tpl 12 Aug 2002 01:08:29 -0000 1.3 *************** *** 1 **** ! <td valign="top" width="150"> {foreach from=$left_side item=item key=key} <table width="150" cellspacing="0" cellpadding="0"> <tr> <td height="20" class="tabletitle"> <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}/templates/{$tpl_name}/images/navbg.gif"><tr><td width="100%" class="tabletitle" bordercolor=black> <font color=white><small>{$key}</small></font> </td> </tr> </table> </td> </tr> <tr> <td> <table width="100%" class="tableborder" bordercolor=black><tr><td> {$item} </td> </tr> </table> </td> </tr> </table> {/foreach} </td> \ No newline at end of file --- 1 ---- ! <td valign="top" width="150"> {foreach from=$left_side item=item key=key} <table width="150" cellspacing="0" cellpadding="0"> <tr> <td height="20" class="tabletitle"> <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}templates/{$tpl_name}/images/navbg.gif"><tr><td width="100%" class="tabletitle" bordercolor=black> <font color=white><small>{$key}</small></font> </td> </tr> </table> </td> </tr> <tr> <td> <table width="100%" class="tableborder" bordercolor=black><tr><td> {$item} </td> </tr> </table> </td> </tr> </table> {/foreach} </td> \ No newline at end of file Index: block_right.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/block_right.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** block_right.tpl 29 Jul 2002 12:46:40 -0000 1.2 --- block_right.tpl 12 Aug 2002 01:08:29 -0000 1.3 *************** *** 1 **** ! <td valign="top" width="150"> {foreach from=$right_side item=item key=key} <table width="150" cellspacing="0" cellpadding="0"> <tr> <td height="20" class="tabletitle"> <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}/templates/{$tpl_name}/images/navbg.gif"><tr><td width="100%" class="tabletitle" bordercolor=black> <font color=white><small>{$key}</small></font> </td> </tr> </table> </td> </tr> <tr> <td> <table width="100%" class="tableborder" bordercolor=black><tr><td> {$item} </td> </tr> </table> </td> </tr> </table> {/foreach} </td> \ No newline at end of file --- 1 ---- ! <td valign="top" width="150"> {foreach from=$right_side item=item key=key} <table width="150" cellspacing="0" cellpadding="0"> <tr> <td height="20" class="tabletitle"> <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}templates/{$tpl_name}/images/navbg.gif"><tr><td width="100%" class="tabletitle" bordercolor=black> <font color=white><small>{$key}</small></font> </td> </tr> </table> </td> </tr> <tr> <td> <table width="100%" class="tableborder" bordercolor=black><tr><td> {$item} </td> </tr> </table> </td> </tr> </table> {/foreach} </td> \ No newline at end of file Index: index.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/index.tpl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** index.tpl 29 Jul 2002 12:22:12 -0000 1.8 --- index.tpl 12 Aug 2002 01:08:29 -0000 1.9 *************** *** 14,18 **** <tr> <td height="20" class="tabletitle"> ! <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}/templates/{$tpl_name}/images/navbg.gif"> <tr> <td width="100%" class="tabletitle" bordercolor=black> --- 14,18 ---- <tr> <td height="20" class="tabletitle"> ! <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}templates/{$tpl_name}/images/navbg.gif"> <tr> <td width="100%" class="tabletitle" bordercolor=black> *************** *** 31,35 **** phpMP is (another) portal project, similar to the likes of PHPNuke, PostNuke, and many others. What sets apart phpMP is that, instead of focusing on the wants and desires of the people creating the portal, the phpMP team is doing whatever possible to ensure that all users will see a reason to use this software.<br /><br /> Instead of just providing article management and news posting functionality, phpMP is fully modular and customizable. If, for example, you dislike our news script, simply drop in your own or another written by someone else. Think the administration panel needs a few extra features? Simply drop in a souped-up version written by another user.<br /><br /> ! To find out more about phpMP and the team behind it, visit the <a href="{$mpuri}/about.php">about page</a>.<br /><br /> If you encounter any error whatsoever, please <b>don't</b> let us know. This web site is home of the currently-developed code, meaning it is constantly changing and can be considered pre-alpha quality.</font><br /> </td> --- 31,35 ---- phpMP is (another) portal project, similar to the likes of PHPNuke, PostNuke, and many others. What sets apart phpMP is that, instead of focusing on the wants and desires of the people creating the portal, the phpMP team is doing whatever possible to ensure that all users will see a reason to use this software.<br /><br /> Instead of just providing article management and news posting functionality, phpMP is fully modular and customizable. If, for example, you dislike our news script, simply drop in your own or another written by someone else. Think the administration panel needs a few extra features? Simply drop in a souped-up version written by another user.<br /><br /> ! To find out more about phpMP and the team behind it, visit the <a href="{$mpuri}about.php">about page</a>.<br /><br /> If you encounter any error whatsoever, please <b>don't</b> let us know. This web site is home of the currently-developed code, meaning it is constantly changing and can be considered pre-alpha quality.</font><br /> </td> Index: overall_footer.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/overall_footer.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** overall_footer.tpl 29 Jul 2002 12:22:12 -0000 1.3 --- overall_footer.tpl 12 Aug 2002 01:08:29 -0000 1.4 *************** *** 5,9 **** <table class="header" width="100%" cellpadding="0" cellspacing="0"> <tr> ! <td width="100%" bgcolor=black colspan="2"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> </tr> <tr> --- 5,9 ---- <table class="header" width="100%" cellpadding="0" cellspacing="0"> <tr> ! <td width="100%" bgcolor=black colspan="2"><img src="{$mpuri}templates/{$tpl_name}/images/pixel.gif" /></td> </tr> <tr> *************** *** 15,19 **** </tr> <tr> ! <td width="100%" bgcolor=black colspan="2"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> </tr> </table> --- 15,19 ---- </tr> <tr> ! <td width="100%" bgcolor=black colspan="2"><img src="{$mpuri}templates/{$tpl_name}/images/pixel.gif" /></td> </tr> </table> *************** *** 21,25 **** <table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolor=black align="center"> <tr> ! <td height="25" width="100%" background="{$mpuri}/templates/{$tpl_name}/images/footer_bottom.gif" bgcolor="#000000;"></td> </tr> <tr> --- 21,25 ---- <table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolor=black align="center"> <tr> ! <td height="25" width="100%" background="{$mpuri}templates/{$tpl_name}/images/footer_bottom.gif" bgcolor="#000000;"></td> </tr> <tr> *************** *** 30,38 **** <table border="0" cellspacing="0" width="100%" cellpadding="0"> <tr> ! <td width="100" align="left" background="{$mpuri}/templates/{$tpl_name}/images/footer_left.gif"> </td> <td width="*" align="center"><font size="-2">{$l_powered_by}<br />{$l_copyright}<br />{$debug_info}</font> </td> ! <td width="100" align="right" background="{$mpuri}/templates/{$tpl_name}/images/footer_right.gif"> </td> </tr> --- 30,38 ---- <table border="0" cellspacing="0" width="100%" cellpadding="0"> <tr> ! <td width="100" align="left" background="{$mpuri}templates/{$tpl_name}/images/footer_left.gif"> </td> <td width="*" align="center"><font size="-2">{$l_powered_by}<br />{$l_copyright}<br />{$debug_info}</font> </td> ! <td width="100" align="right" background="{$mpuri}templates/{$tpl_name}/images/footer_right.gif"> </td> </tr> *************** *** 45,49 **** </tr> <tr> ! <td height="25" width="100%" background="{$mpuri}/templates/{$tpl_name}/images/footer_top.gif" bgcolor="#000000;"> </td> </tr> --- 45,49 ---- </tr> <tr> ! <td height="25" width="100%" background="{$mpuri}templates/{$tpl_name}/images/footer_top.gif" bgcolor="#000000;"> </td> </tr> Index: overall_header.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/overall_header.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** overall_header.tpl 10 Aug 2002 21:39:51 -0000 1.3 --- overall_header.tpl 12 Aug 2002 01:08:29 -0000 1.4 *************** *** 1 **** ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>.:: {$site_name} ::.</title> <script src="{$mpuri}/templates/{$tpl_name}/js/fade.js" language="Javascript"></script> <link rel="stylesheet" href="{$mpuri}/templates/{$tpl_name}/css/tpl_style.css" type="text/css" /> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table class="header" width="100%" bgcolor="#0f9fbc" cellpadding="0" cellspacing="0"> <tr> <td width="300" align="left"><img src="{$mpuri}/templates/{$tpl_name}/images/logo.jpg" /></td> <td width="100%" align="center" background="{$mpuri}/templates/{$tpl_name}/images/topbg.jpg"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /> </td> <td width="25" align="right" background="{$mpuri}/templates/{$tpl_name}/images/grad_ld_lr.gif"><img src="{$mpuri}/templates/{$tpl_name}/images/grad_ld_lr.gif" /> </td> </tr> <tr> <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> </tr> <tr> <td width="100%" colspan="5" align="center" bgcolor="#C0C0C0"><font size="2"> {$l_nav_bar} </font> </td> </tr> <tr> <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> </tr> </table> \ No newline at end of file --- 1 ---- ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>.:: {$site_name} ::.</title> <script src="{$mpuri}templates/{$tpl_name}/js/fade.js" language="Javascript"></script> <link rel="stylesheet" href="{$mpuri}templates/{$tpl_name}/css/tpl_style.css" type="text/css" /> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table class="header" width="100%" bgcolor="#0f9fbc" cellpadding="0" cellspacing="0"> <tr> <td width="300" align="left"><img src="{$mpuri}templates/{$tpl_name}/images/logo.jpg" /></td> <td width="100%" align="center" background="{$mpuri}templates/{$tpl_name}/images/topbg.jpg"><img src="{$mpuri}templates/{$tpl_name}/images/pixel.gif" /> </td> <td width="25" align="right" background="{$mpuri}templates/{$tpl_name}/images/grad_ld_lr.gif"><img src="{$mpuri}templates/{$tpl_name}/images/grad_ld_lr.gif" /> </td> </tr> <tr> <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}templates/{$tpl_name}/images/pixel.gif" /></td> </tr> <tr> <td width="100%" colspan="5" align="center" bgcolor="#C0C0C0"><font size="2"> {$l_nav_bar} </font> </td> </tr> <tr> <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}templates/{$tpl_name}/images/pixel.gif" /></td> </tr> </table> \ No newline at end of file Index: register.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/register.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** register.tpl 10 Aug 2002 21:39:51 -0000 1.2 --- register.tpl 12 Aug 2002 01:08:29 -0000 1.3 *************** *** 14,18 **** <tr> <td height="20" class="tabletitle"> ! <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}/templates/{$tpl_name}/images/navbg.gif"> <tr> <td width="100%" class="tabletitle" bordercolor=black> --- 14,18 ---- <tr> <td height="20" class="tabletitle"> ! <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}templates/{$tpl_name}/images/navbg.gif"> <tr> <td width="100%" class="tabletitle" bordercolor=black> *************** *** 28,32 **** <tr> <td> ! <form method="post" action="profile.php?mode=register&action=submit"> <table align="center"> <tr><td>{$l_username}: * </td><td><input type="text" name="r_username" maxlength="24"></td></tr> --- 28,32 ---- <tr> <td> ! <form method="post" action="{$mpuri}profile.php?mode=register&action=submit"> <table align="center"> <tr><td>{$l_username}: * </td><td><input type="text" name="r_username" maxlength="24"></td></tr> Index: register_fin.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/register_fin.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** register_fin.tpl 10 Aug 2002 20:41:33 -0000 1.1 --- register_fin.tpl 12 Aug 2002 01:08:29 -0000 1.2 *************** *** 14,18 **** <tr> <td height="20" class="tabletitle"> ! <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}/templates/{$tpl_name}/images/navbg.gif"> <tr> <td width="100%" class="tabletitle" bordercolor=black> --- 14,18 ---- <tr> <td height="20" class="tabletitle"> ! <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}templates/{$tpl_name}/images/navbg.gif"> <tr> <td width="100%" class="tabletitle" bordercolor=black> *************** *** 28,32 **** <tr> <td> ! Your registration has been proccessed. You may now log in. </td> </tr> --- 28,32 ---- <tr> <td> ! Your registration has been proccessed. Please check your e-mail for a explaining how to activate your new account. </td> </tr> |
From: Brian R. <hei...@us...> - 2002-08-12 01:08:33
|
Update of /cvsroot/phpmp/phpMP/modules In directory usw-pr-cvs1:/tmp/cvs-serv19943/modules Modified Files: menu_side.php user_side.php Log Message: Auth a little better. Added verification. I keep updating that whole language thing, too. Index: menu_side.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules/menu_side.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** menu_side.php 10 Aug 2002 21:39:51 -0000 1.5 --- menu_side.php 12 Aug 2002 01:08:29 -0000 1.6 *************** *** 9,18 **** $use_name = $Language->lang["$lng_name"]; ! $link_html = ' <a href="' . $MPCONF['GEN']['uri'] . '/modules.php?module=' . $unixname . '">' . $use_name . '</a><br>' . "\n"; return $link_html; } global $MPCONF, $Language; ! $content .= ' <a href="' . $MPCONF['GEN']['uri'] . '/index.php">' . $Language->lang['l_home'] . '</a><br>' . "\n"; $result = $DBA->query("SELECT name,unixname FROM " . $MPCONF['DB']['table_prefix'] . "modules WHERE active='1' ORDER BY name"); --- 9,18 ---- $use_name = $Language->lang["$lng_name"]; ! $link_html = ' <a href="' . $MPCONF['GEN']['uri'] . 'modules.php?module=' . $unixname . '">' . $use_name . '</a><br>' . "\n"; return $link_html; } global $MPCONF, $Language; ! $content .= ' <a href="' . $MPCONF['GEN']['uri'] . 'index.php">' . $Language->lang['l_home'] . '</a><br>' . "\n"; $result = $DBA->query("SELECT name,unixname FROM " . $MPCONF['DB']['table_prefix'] . "modules WHERE active='1' ORDER BY name"); Index: user_side.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules/user_side.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** user_side.php 10 Aug 2002 21:39:51 -0000 1.11 --- user_side.php 12 Aug 2002 01:08:29 -0000 1.12 *************** *** 9,19 **** $content .= "<font size='1'>" . $Language->lang['l_welcome'] . ", " . $MPCONF['USR']['username'] . "!</font><br />\n"; $content .= "<br />\n"; ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/members/profile.php?action=edit'>" . $Language->lang['l_edit_profile'] . "</a></font><br />\n"; if($MPCONF['USR']['isadmin'] == 1) { ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/admin/index.php'>" . $Language->lang['l_admin_area'] . "</a></font>\n"; } ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/index.php?logout=true'>" . $Language->lang['l_logout'] . "</a></font>\n"; } else { --- 9,19 ---- $content .= "<font size='1'>" . $Language->lang['l_welcome'] . ", " . $MPCONF['USR']['username'] . "!</font><br />\n"; $content .= "<br />\n"; ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "members/profile.php?action=edit'>" . $Language->lang['l_edit_profile'] . "</a></font><br />\n"; if($MPCONF['USR']['isadmin'] == 1) { ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "admin/index.php'>" . $Language->lang['l_admin_area'] . "</a></font>\n"; } ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "index.php?logout=true'>" . $Language->lang['l_logout'] . "</a></font>\n"; } else { *************** *** 40,47 **** $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/email_passwd.php'>" . $Language->lang['l_forgot_password'] . "</a></font></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/profile.php?mode=register'>" . $Language->lang['l_register_name'] . "</a></font></td>\n"; $content .= " </tr>\n"; $content .= "</table>\n"; --- 40,47 ---- $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "email_passwd.php'>" . $Language->lang['l_forgot_password'] . "</a></font></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "profile.php?mode=register'>" . $Language->lang['l_register_name'] . "</a></font></td>\n"; $content .= " </tr>\n"; $content .= "</table>\n"; |
From: Brian R. <hei...@us...> - 2002-08-12 01:08:32
|
Update of /cvsroot/phpmp/phpMP In directory usw-pr-cvs1:/tmp/cvs-serv19943 Modified Files: index.php modules.php profile.php Log Message: Auth a little better. Added verification. I keep updating that whole language thing, too. Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/index.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** index.php 29 Jul 2002 12:22:12 -0000 1.19 --- index.php 12 Aug 2002 01:08:29 -0000 1.20 *************** *** 32,36 **** // Include The Main Configuration File ! include("config.php"); if(!defined("PHPMP_INSTALLED")) { --- 32,36 ---- // Include The Main Configuration File ! include("./config.php"); if(!defined("PHPMP_INSTALLED")) { *************** *** 38,42 **** } ! // Include The Main Core File include($MPCONF['GEN']['abs_path'] . "/includes/core.php"); --- 38,43 ---- } ! define('IN_PHPMP', true); ! include($MPCONF['GEN']['abs_path'] . "/includes/core.php"); Index: modules.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** modules.php 29 Jul 2002 12:49:28 -0000 1.10 --- modules.php 12 Aug 2002 01:08:29 -0000 1.11 *************** *** 31,40 **** ******************************************************************************/ ! // Include The Main Configuration File ! include("config.php"); ! if(!defined("PHPMP_INSTALLED")) { ! header('Location: ./install.php'); ! } include($MPCONF['GEN']['abs_path'] . "/includes/core.php"); --- 31,37 ---- ******************************************************************************/ ! include("./config.php"); ! define('IN_PHPMP', true); include($MPCONF['GEN']['abs_path'] . "/includes/core.php"); Index: profile.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/profile.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** profile.php 10 Aug 2002 21:39:50 -0000 1.2 --- profile.php 12 Aug 2002 01:08:29 -0000 1.3 *************** *** 31,40 **** ******************************************************************************/ ! // Include The Main Configuration File ! include("config.php"); ! if(!defined("PHPMP_INSTALLED")) { ! header('Location: ./install.php'); ! } // Include The Main Core File --- 31,37 ---- ******************************************************************************/ ! include("./config.php"); ! define('IN_PHPMP', true); // Include The Main Core File *************** *** 60,68 **** if(($DBA->num_rows($qry) == 0) && ($_POST['r_password'] == $_POST['r_password_conf'])) { ! $sql = "INSERT INTO " . $MPCONF['DB']['table_prefix'] . "users (username, password, realname, email, location) VALUES('" . $_POST['r_username'] . "', MD5('" . $_POST['r_password'] . "'), '" . $_POST['r_realname'] . "', '" . $_POST['r_email'] . "', '" . $_POST['r_location'] . "')"; $DBA->query($sql); ! $Template->display_template('register_fin.tpl'); } else { --- 57,76 ---- if(($DBA->num_rows($qry) == 0) && ($_POST['r_password'] == $_POST['r_password_conf'])) { ! $act_code = $_POST['r_username'] . md5( $_POST['r_email'] ); ! ! $sql = "INSERT INTO " . $MPCONF['DB']['table_prefix'] . "users (username, password, realname, email, location, act_code) VALUES('" . $_POST['r_username'] . "', MD5('" . $_POST['r_password'] . "'), '" . $_POST['r_realname'] . "', '" . $_POST['r_email'] . "', '" . $_POST['r_location'] . "', '" . $act_code . "')"; $DBA->query($sql); + + $url_for_act = $MPCONF['GEN']['address'] . $MPCONF['GEN']['uri'] . 'profile.php?mode=activate&u=' . $_POST['r_username'] . '&c=' . $act_code; + + eval( $Language->lang['l_fin_register_message'] ); + + mail($_POST['r_email'], $Language->lang['l_fin_register_subject'], $temp_message); ! $Template->assign( "general_subject", $Language->lang['l_register'] ); ! $Template->assign( "general_message", $Language->lang['l_register_fin'] ); ! ! $Template->display_template('general.tpl'); } else { *************** *** 84,87 **** --- 92,110 ---- } + } elseif($_GET['mode'] == 'activate') { + + if( ($_GET['u'] != '') && ($_GET['c'] != '') ) { + + $sql = "UPDATE " . $MPCONF['DB']['table_prefix'] . "users SET active=1 WHERE username='" . $_GET['u'] . "' AND act_code='" . $_GET['c'] . "'"; + + $DBA->query($sql); + + $Template->assign( "general_subject", $Language->lang['l_register'] ); + $Template->assign( "general_message", $Language->lang['l_activated'] ); + + $Template->display_template('general.tpl'); + + } + } |
From: Brian R. <hei...@us...> - 2002-08-12 01:08:32
|
Update of /cvsroot/phpmp/phpMP/includes In directory usw-pr-cvs1:/tmp/cvs-serv19943/includes Modified Files: core.php Log Message: Auth a little better. Added verification. I keep updating that whole language thing, too. Index: core.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/core.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** core.php 27 Jul 2002 12:16:00 -0000 1.19 --- core.php 12 Aug 2002 01:08:29 -0000 1.20 *************** *** 40,43 **** --- 40,49 ---- ******************************************************************************/ + if( !defined('IN_PHPMP') ) { + + die("Hacking attempt."); + + } + class Debug { //Taken from InvisionBoard and modified lightly. Will replace eventually. |
From: Brian R. <hei...@us...> - 2002-08-12 01:08:32
|
Update of /cvsroot/phpmp/phpMP/languages/english In directory usw-pr-cvs1:/tmp/cvs-serv19943/languages/english Modified Files: lang_main.php Log Message: Auth a little better. Added verification. I keep updating that whole language thing, too. Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/english/lang_main.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** lang_main.php 10 Aug 2002 21:39:51 -0000 1.3 --- lang_main.php 12 Aug 2002 01:08:29 -0000 1.4 *************** *** 40,44 **** $this->lang['l_home'] = 'Home'; ! $this->lang['l_nav_bar'] = '<a href="' . $MPCONF['GEN']['uri'] . '/index.php">home</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/features.php">features</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/forums/index.php">forums</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/downloads.php">downloads</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/support.php">support</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/about.php">about</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/team.php">team</a> <font color="#0a4a67">•</font> <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpmp/phpMP/">cvs</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/devworld/modules/index.php?action=list">modules</a> <font color="#0a4a67">•</font> <a href="http://www.sourceforge.net/">sourceforge</a>'; $this->lang['l_username'] = 'Username'; --- 40,44 ---- $this->lang['l_home'] = 'Home'; ! $this->lang['l_nav_bar'] = '<a href="' . $MPCONF['GEN']['uri'] . 'index.php">home</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . 'features.php">features</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . 'forums/index.php">forums</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . 'downloads.php">downloads</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . 'support.php">support</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . 'about.php">about</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . 'team.php">team</a> <font color="#0a4a67">•</font> <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpmp/phpMP/">cvs</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . 'devworld/modules/index.php?action=list">modules</a> <font color="#0a4a67">•</font> <a href="http://www.sourceforge.net/">sourceforge</a>'; $this->lang['l_username'] = 'Username'; *************** *** 51,54 **** --- 51,65 ---- $this->lang['l_location'] = 'Location'; $this->lang['l_required_field'] = 'Denotes a Requires Field'; + $this->lang['l_register_fin'] = 'Your registration has been proccessed. Please check your e-mail for a message explaining how to activate your new account.'; + $this->lang['l_fin_register_subject'] = 'Welcome to ' . $MPCONF['TPL']['sitename'] . '!'; + $this->lang['l_fin_register_message'] = ' + $temp_message = "Welcome to {$MPCONF[\'TPL\'][\'sitename\']}! + + To complete your registration, please click on the link below. You will be unable to log in until you do so. + + $url_for_act + + Thank you for registering with us.";'; + $this->lang['l_activated'] = 'Your account has been activated. You may now log in.'; $this->lang['l_login'] = 'Login'; |
From: Brian R. <hei...@us...> - 2002-08-10 21:41:04
|
Update of /cvsroot/phpmp/phpMP/languages/spanish In directory usw-pr-cvs1:/tmp/cvs-serv12737 Added Files: lang_main.php Log Message: Added support for spanish. This isn't a very good translation since I used BabelFish to do it, but it does prove that language support works. --- NEW FILE: lang_main.php --- <? /****************************************************************************** ******************************************************************************* phpMP - The World's Greatest Modular Portal *********************************************** Are you MPowered? Copyright (C) 2002 phpMP Development Group All rights reserved. Lead Programmer: Brian Rose Lead Designer: Trevor Joynson Filename: /languages/spanish/lang_main.php Usage & Function: Main Spanish Language File Create Date: July 25, 2002 $Id: lang_main.php,v 1.1 2002/08/10 21:41:01 heimidal Exp $ ******************************************************************************* ******************************************************************************* This software is provided under the GPL software license. A copy of the license should have been included with this software, located in the Docs folder. Feel free to redistribute and/or modify it according to the regulations stated in the license. ******************************************************************************* ******************************************************************************/ class Language { var $lang; function Language() { global $MPCONF; $this->lang['l_home'] = 'Casero'; $this->lang['l_nav_bar'] = '<a href="' . $MPCONF['GEN']['uri'] . '/index.php">casero</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/features.php">características</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/forums/index.php">foros</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/downloads.php">transferencias directas</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/support.php">ayuda</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/about.php">sobre</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/team.php">equipo</a> <font color="#0a4a67">•</font> <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpmp/phpMP/">cvs</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/devworld/modules/index.php?action=list">módulos</a> <font color="#0a4a67">•</font> <a href="http://www.sourceforge.net/">fragua de la fuente</a>'; $this->lang['l_username'] = 'Nombre'; $this->lang['l_user_panel'] = 'Panel De Control Del Usuario'; $this->lang['l_user_panel_short'] = 'Panel De Control Del Usuario'; $this->lang['l_email'] = 'Correo'; $this->lang['l_password'] = 'Contraseña'; $this->lang['l_confirm_password'] = 'Confirme'; $this->lang['l_realname'] = 'Nombre Verdadero'; $this->lang['l_location'] = 'Localización'; $this->lang['l_required_field'] = 'Denota un Campo Requerido'; $this->lang['l_login'] = 'Conexión'; $this->lang['l_logout'] = 'Registro Hacia Fuera'; $this->lang['l_forgot_password'] = '¿Se Olvidó De Su Contraseña?'; $this->lang['l_register'] = 'Registro'; $this->lang['l_welcome'] = 'Recepción'; $this->lang['l_edit_profile'] = 'Corrija El Perfil De Usuario'; $this->lang['l_admin_area'] = 'Área De la Administración'; $this->lang['l_register_name'] = 'Coloque Un Nombre'; $this->lang['l_not_logged_in'] = 'Le no entran.'; $this->lang['l_powered_by'] = 'accionado cerca phpMP ' . $MPCONF['GEN']['version'] . ' © 2002 <a href="http://phpmp.sourceforge.net/">grupo del desarrollo del phpMP</a>.'; $this->lang['l_copyright'] = 'Todo el contenido es característica de su dueño respectivo. Todos los derechos reservados.'; } } ?> |
From: Brian R. <hei...@us...> - 2002-08-10 21:40:08
|
Update of /cvsroot/phpmp/phpMP/languages/spanish In directory usw-pr-cvs1:/tmp/cvs-serv12626/spanish Log Message: Directory /cvsroot/phpmp/phpMP/languages/spanish added to the repository |
From: Brian R. <hei...@us...> - 2002-08-10 21:39:53
|
Update of /cvsroot/phpmp/phpMP/templates/TealMP In directory usw-pr-cvs1:/tmp/cvs-serv12160/templates/TealMP Modified Files: overall_header.tpl register.tpl Log Message: Added more support for languages. Everything in the core (not all modules) is now covered by the language packs (I hope). Index: overall_header.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/overall_header.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** overall_header.tpl 29 Jul 2002 12:22:12 -0000 1.2 --- overall_header.tpl 10 Aug 2002 21:39:51 -0000 1.3 *************** *** 1 **** ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>.:: {$site_name} :: {$l_home} ::.</title> <script src="{$mpuri}/templates/{$tpl_name}/js/fade.js" language="Javascript"></script> <link rel="stylesheet" href="{$mpuri}/templates/{$tpl_name}/css/tpl_style.css" type="text/css" /> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table class="header" width="100%" bgcolor="#0f9fbc" cellpadding="0" cellspacing="0"> <tr> <td width="300" align="left"><img src="{$mpuri}/templates/{$tpl_name}/images/logo.jpg" /></td> <td width="100%" align="center" background="{$mpuri}/templates/{$tpl_name}/images/topbg.jpg"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /> </td> <td width="25" align="right" background="{$mpuri}/templates/{$tpl_name}/images/grad_ld_lr.gif"><img src="{$mpuri}/templates/{$tpl_name}/images/grad_ld_lr.gif" /> </td> </tr> <tr> <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> </tr> <tr> <td width="100%" colspan="5" align="center" bgcolor="#C0C0C0"><font size="2"> {$l_nav_bar} </font> </td> </tr> <tr> <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> </tr> </table> \ No newline at end of file --- 1 ---- ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>.:: {$site_name} ::.</title> <script src="{$mpuri}/templates/{$tpl_name}/js/fade.js" language="Javascript"></script> <link rel="stylesheet" href="{$mpuri}/templates/{$tpl_name}/css/tpl_style.css" type="text/css" /> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table class="header" width="100%" bgcolor="#0f9fbc" cellpadding="0" cellspacing="0"> <tr> <td width="300" align="left"><img src="{$mpuri}/templates/{$tpl_name}/images/logo.jpg" /></td> <td width="100%" align="center" background="{$mpuri}/templates/{$tpl_name}/images/topbg.jpg"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /> </td> <td width="25" align="right" background="{$mpuri}/templates/{$tpl_name}/images/grad_ld_lr.gif"><img src="{$mpuri}/templates/{$tpl_name}/images/grad_ld_lr.gif" /> </td> </tr> <tr> <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> </tr> <tr> <td width="100%" colspan="5" align="center" bgcolor="#C0C0C0"><font size="2"> {$l_nav_bar} </font> </td> </tr> <tr> <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> </tr> </table> \ No newline at end of file Index: register.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/register.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** register.tpl 10 Aug 2002 20:41:33 -0000 1.1 --- register.tpl 10 Aug 2002 21:39:51 -0000 1.2 *************** *** 30,42 **** <form method="post" action="profile.php?mode=register&action=submit"> <table align="center"> ! <tr><td>Username: * </td><td><input type="text" name="r_username" maxlength="24"></td></tr> ! <tr><td>E-mail: * </td><td><input type="text" name="r_email" maxlength="75"></td></tr> ! <tr><td>Password: * </td><td><input type="password" name="r_password" maxlength="16"></td></tr> ! <tr><td>Confirm: * </td><td><input type="password" name="r_password_conf" maxlength="16"></td></tr> ! <tr><td>Real Name: </td><td><input type="text" name="r_realname" maxlength="75"></td></tr> ! <tr><td>Location: </td><td><input type="text" name="r_location" maxlength="75"></td></tr> ! <tr><td></td><td><input type="submit" value="Register"></td></tr> <tr><td colspan="2"><font size="-2"> </font></td></tr> ! <tr><td colspan="2"><font size="-2">* Denotes a Requires Field</font></td></tr> </table> </form> --- 30,42 ---- <form method="post" action="profile.php?mode=register&action=submit"> <table align="center"> ! <tr><td>{$l_username}: * </td><td><input type="text" name="r_username" maxlength="24"></td></tr> ! <tr><td>{$l_email}: * </td><td><input type="text" name="r_email" maxlength="75"></td></tr> ! <tr><td>{$l_password}: * </td><td><input type="password" name="r_password" maxlength="16"></td></tr> ! <tr><td>{$l_confirm_password}: * </td><td><input type="password" name="r_password_conf" maxlength="16"></td></tr> ! <tr><td>{$l_realname}: </td><td><input type="text" name="r_realname" maxlength="75"></td></tr> ! <tr><td>{$l_location}: </td><td><input type="text" name="r_location" maxlength="75"></td></tr> ! <tr><td></td><td><input type="submit" value="{$l_register}"></td></tr> <tr><td colspan="2"><font size="-2"> </font></td></tr> ! <tr><td colspan="2"><font size="-2">* {$l_required_field}</font></td></tr> </table> </form> |
From: Brian R. <hei...@us...> - 2002-08-10 21:39:53
|
Update of /cvsroot/phpmp/phpMP/languages/english In directory usw-pr-cvs1:/tmp/cvs-serv12160/languages/english Modified Files: lang_main.php Log Message: Added more support for languages. Everything in the core (not all modules) is now covered by the language packs (I hope). Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/english/lang_main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** lang_main.php 26 Jul 2002 05:25:07 -0000 1.2 --- lang_main.php 10 Aug 2002 21:39:51 -0000 1.3 *************** *** 43,50 **** $this->lang['l_username'] = 'Username'; $this->lang['l_password'] = 'Password'; $this->lang['l_login'] = 'Login'; ! $this->lang['l_forgot_passwd'] = 'Forgot Your Password?'; ! $this->lang['l_register'] = 'Register A Username'; $this->lang['l_not_logged_in'] = 'You are not logged in.'; --- 43,65 ---- $this->lang['l_username'] = 'Username'; + $this->lang['l_user_panel'] = 'User Control Panel'; + $this->lang['l_user_panel_short'] = 'User CP'; + $this->lang['l_email'] = 'E-mail'; $this->lang['l_password'] = 'Password'; + $this->lang['l_confirm_password'] = 'Confirm'; + $this->lang['l_realname'] = 'Real Name'; + $this->lang['l_location'] = 'Location'; + $this->lang['l_required_field'] = 'Denotes a Requires Field'; + $this->lang['l_login'] = 'Login'; ! $this->lang['l_logout'] = 'Logout'; ! $this->lang['l_forgot_password'] = 'Forgot Your Password?'; ! $this->lang['l_register'] = 'Register'; ! ! $this->lang['l_welcome'] = 'Welcome'; ! $this->lang['l_edit_profile'] = 'Edit User Profile'; ! $this->lang['l_admin_area'] = 'Administration Area'; ! ! $this->lang['l_register_name'] = 'Register A Username'; $this->lang['l_not_logged_in'] = 'You are not logged in.'; |
From: Brian R. <hei...@us...> - 2002-08-10 21:39:53
|
Update of /cvsroot/phpmp/phpMP In directory usw-pr-cvs1:/tmp/cvs-serv12160 Modified Files: profile.php Log Message: Added more support for languages. Everything in the core (not all modules) is now covered by the language packs (I hope). Index: profile.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/profile.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** profile.php 10 Aug 2002 20:41:33 -0000 1.1 --- profile.php 10 Aug 2002 21:39:50 -0000 1.2 *************** *** 14,19 **** Lead Designer: Trevor Joynson ! Filename: /index.php ! Usage & Function: The file that makes it all happen! Create Date: March 31, 2002 --- 14,19 ---- Lead Designer: Trevor Joynson ! Filename: /profile.php ! Usage & Function: Profile/registration functions. Create Date: March 31, 2002 |
From: Brian R. <hei...@us...> - 2002-08-10 21:39:53
|
Update of /cvsroot/phpmp/phpMP/modules In directory usw-pr-cvs1:/tmp/cvs-serv12160/modules Modified Files: menu_side.php user_side.php usercp.php Log Message: Added more support for languages. Everything in the core (not all modules) is now covered by the language packs (I hope). Index: menu_side.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules/menu_side.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** menu_side.php 11 Apr 2002 05:40:15 -0000 1.4 --- menu_side.php 10 Aug 2002 21:39:51 -0000 1.5 *************** *** 4,14 **** function makeLink($name, $unixname) { ! global $MPCONF; ! $link_html = $MPCONF['TPL']['bullet_html'] . ' <a href="' . $MPCONF['GEN']['uri'] . '/modules.php?module=' . $unixname . '">' . $name . '</a><br>' . "\n"; return $link_html; } ! $content .= $MPCONF['TPL']['bullet_html'] . ' <a href="' . $MPCONF['GEN']['uri'] . '/index.php">Home</a><br>' . "\n"; $result = $DBA->query("SELECT name,unixname FROM " . $MPCONF['DB']['table_prefix'] . "modules WHERE active='1' ORDER BY name"); --- 4,18 ---- function makeLink($name, $unixname) { ! global $MPCONF, $Language; ! $lng_name = 'l_' . strtolower($name); ! $use_name = $Language->lang["$lng_name"]; ! ! $link_html = ' <a href="' . $MPCONF['GEN']['uri'] . '/modules.php?module=' . $unixname . '">' . $use_name . '</a><br>' . "\n"; return $link_html; } ! global $MPCONF, $Language; ! $content .= ' <a href="' . $MPCONF['GEN']['uri'] . '/index.php">' . $Language->lang['l_home'] . '</a><br>' . "\n"; $result = $DBA->query("SELECT name,unixname FROM " . $MPCONF['DB']['table_prefix'] . "modules WHERE active='1' ORDER BY name"); Index: user_side.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules/user_side.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** user_side.php 10 Aug 2002 20:41:33 -0000 1.10 --- user_side.php 10 Aug 2002 21:39:51 -0000 1.11 *************** *** 2,29 **** $identFile = "user_side.php"; ! global $REQUEST_URI, $content; if($MPCONF['USR']['username'] != "Anonymous") { ! $blockname = "Welcome\n"; ! $content .= "<font size='1'>Welcome, " . $MPCONF['USR']['username'] . "!</font><br />\n"; $content .= "<br />\n"; ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/members/profile.php?action=edit'>Edit User Profile</a></font><br />\n"; if($MPCONF['USR']['isadmin'] == 1) { ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/admin/index.php'>Administration Area</a></font>\n"; } ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/index.php?logout=true'>Logout</a></font>\n"; } else { ! $blockname = "Login"; $content .= "<form action='" . $REQUEST_URI . "' method='post'>\n"; $content .= "<table>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'>You are not logged in.</font></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='2'>Username:</font></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; --- 2,29 ---- $identFile = "user_side.php"; ! global $REQUEST_URI, $Language, $content; if($MPCONF['USR']['username'] != "Anonymous") { ! $blockname = $Language->lang['l_welcome']; ! $content .= "<font size='1'>" . $Language->lang['l_welcome'] . ", " . $MPCONF['USR']['username'] . "!</font><br />\n"; $content .= "<br />\n"; ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/members/profile.php?action=edit'>" . $Language->lang['l_edit_profile'] . "</a></font><br />\n"; if($MPCONF['USR']['isadmin'] == 1) { ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/admin/index.php'>" . $Language->lang['l_admin_area'] . "</a></font>\n"; } ! $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/index.php?logout=true'>" . $Language->lang['l_logout'] . "</a></font>\n"; } else { ! $blockname = $Language->lang['l_login']; $content .= "<form action='" . $REQUEST_URI . "' method='post'>\n"; $content .= "<table>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'>" . $Language->lang['l_not_logged_in'] . "</font></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='2'>" . $Language->lang['l_username'] . ":</font></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; *************** *** 31,35 **** $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='2'>Password:</font></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; --- 31,35 ---- $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='2'>" . $Language->lang['l_password'] . ":</font></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; *************** *** 37,47 **** $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td align='right'><input type='submit' value='Login' /> </form></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/email_passwd.php'>Forgot Your Password?</a></font></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/profile.php?mode=register'>Register A Username</a></font></td>\n"; $content .= " </tr>\n"; $content .= "</table>\n"; --- 37,47 ---- $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td align='right'><input type='submit' value='" . $Language->lang['l_login'] . "' /> </form></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/email_passwd.php'>" . $Language->lang['l_forgot_password'] . "</a></font></td>\n"; $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/profile.php?mode=register'>" . $Language->lang['l_register_name'] . "</a></font></td>\n"; $content .= " </tr>\n"; $content .= "</table>\n"; Index: usercp.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules/usercp.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** usercp.php 27 Jul 2002 05:35:59 -0000 1.8 --- usercp.php 10 Aug 2002 21:39:51 -0000 1.9 *************** *** 11,15 **** function MakeContent() { ! global $MPCONF; $this->module_content .= '<table width="100%" cellspacing="0" cellpadding="0">' . "\n"; --- 11,15 ---- function MakeContent() { ! global $MPCONF, $Language; $this->module_content .= '<table width="100%" cellspacing="0" cellpadding="0">' . "\n"; *************** *** 19,23 **** $this->module_content .= ' <tr>' . "\n"; $this->module_content .= ' <td width="100%" class="tabletitle" bordercolor=black>' . "\n"; ! $this->module_content .= " <font color=white><small>.:: {$MPCONF['TPL']['sitename']} :: User Control Panel ::.</small></font>" . "\n"; $this->module_content .= ' </td>' . "\n"; $this->module_content .= ' </tr>' . "\n"; --- 19,23 ---- $this->module_content .= ' <tr>' . "\n"; $this->module_content .= ' <td width="100%" class="tabletitle" bordercolor=black>' . "\n"; ! $this->module_content .= " <font color=white><small>.:: {$MPCONF['TPL']['sitename']} :: {$Language->lang['l_user_panel']} ::.</small></font>" . "\n"; $this->module_content .= ' </td>' . "\n"; $this->module_content .= ' </tr>' . "\n"; |
From: Brian R. <hei...@us...> - 2002-08-10 20:41:36
|
Update of /cvsroot/phpmp/phpMP/templates/TealMP In directory usw-pr-cvs1:/tmp/cvs-serv26894/templates/TealMP Added Files: register.tpl register_fin.tpl Log Message: Added a very primitive registration process. Needs a LOT of enhancing. --- NEW FILE: register.tpl --- {* phpMP Template - TealMP - register.tpl *} {include file=overall_header.tpl} <table width="100%" bgcolor="#9fc2c6" cellspacing="0" cellpadding="2"> <tr> {include file=block_left.tpl} <td valign="top"> <table width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="20" class="tabletitle"> <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}/templates/{$tpl_name}/images/navbg.gif"> <tr> <td width="100%" class="tabletitle" bordercolor=black> <font color=white><small>.:: {$site_name} :: {$l_register} ::.</small></font> </td> </tr> </table> </td> </tr> <tr> <td> <table width="100%" class="tableborder" bordercolor=black> <tr> <td> <form method="post" action="profile.php?mode=register&action=submit"> <table align="center"> <tr><td>Username: * </td><td><input type="text" name="r_username" maxlength="24"></td></tr> <tr><td>E-mail: * </td><td><input type="text" name="r_email" maxlength="75"></td></tr> <tr><td>Password: * </td><td><input type="password" name="r_password" maxlength="16"></td></tr> <tr><td>Confirm: * </td><td><input type="password" name="r_password_conf" maxlength="16"></td></tr> <tr><td>Real Name: </td><td><input type="text" name="r_realname" maxlength="75"></td></tr> <tr><td>Location: </td><td><input type="text" name="r_location" maxlength="75"></td></tr> <tr><td></td><td><input type="submit" value="Register"></td></tr> <tr><td colspan="2"><font size="-2"> </font></td></tr> <tr><td colspan="2"><font size="-2">* Denotes a Requires Field</font></td></tr> </table> </form> </td> </tr> </table> </td> </tr> </table> </td> {include file=block_right.tpl} {include file=overall_footer.tpl} --- NEW FILE: register_fin.tpl --- {* phpMP Template - TealMP - register_fin.tpl *} {include file=overall_header.tpl} <table width="100%" bgcolor="#9fc2c6" cellspacing="0" cellpadding="2"> <tr> {include file=block_left.tpl} <td valign="top"> <table width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="20" class="tabletitle"> <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}/templates/{$tpl_name}/images/navbg.gif"> <tr> <td width="100%" class="tabletitle" bordercolor=black> <font color=white><small>.:: {$site_name} :: {$l_register} ::.</small></font> </td> </tr> </table> </td> </tr> <tr> <td> <table width="100%" class="tableborder" bordercolor=black> <tr> <td> Your registration has been proccessed. You may now log in. </td> </tr> </table> </td> </tr> </table> </td> {include file=block_right.tpl} {include file=overall_footer.tpl} |
From: Brian R. <hei...@us...> - 2002-08-10 20:41:36
|
Update of /cvsroot/phpmp/phpMP/dba/sql In directory usw-pr-cvs1:/tmp/cvs-serv26894/dba/sql Modified Files: mysql_default_values.sql Log Message: Added a very primitive registration process. Needs a LOT of enhancing. Index: mysql_default_values.sql =================================================================== RCS file: /cvsroot/phpmp/phpMP/dba/sql/mysql_default_values.sql,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** mysql_default_values.sql 31 Jul 2002 17:51:49 -0000 1.2 --- mysql_default_values.sql 10 Aug 2002 20:41:33 -0000 1.3 *************** *** 46,50 **** INSERT INTO phpmp_users VALUES (1, 'Anonymous', '', 'Anonymous', 'anonymous@127.0.0.1', '', '', '', 20020402174305, 0, 0); ! INSERT INTO phpmp_users VALUES (2, 'Administrator', '21232f297a57a5a743894a0e4a801fc3', '', '', '', 'english', '', 20020727042113, 1, 1); ! ! \ No newline at end of file --- 46,48 ---- INSERT INTO phpmp_users VALUES (1, 'Anonymous', '', 'Anonymous', 'anonymous@127.0.0.1', '', '', '', 20020402174305, 0, 0); ! INSERT INTO phpmp_users VALUES (2, 'Administrator', '21232f297a57a5a743894a0e4a801fc3', '', '', '', 'english', '', 20020727042113, 1, 1); \ No newline at end of file |
From: Brian R. <hei...@us...> - 2002-08-10 20:41:36
|
Update of /cvsroot/phpmp/phpMP In directory usw-pr-cvs1:/tmp/cvs-serv26894 Added Files: profile.php Log Message: Added a very primitive registration process. Needs a LOT of enhancing. --- NEW FILE: profile.php --- <? /****************************************************************************** ******************************************************************************* phpMP - The World's Greatest Modular Portal *********************************************** Are you MPowered? Copyright (C) 2002 phpMP Development Group All rights reserved. Lead Programmer: Brian Rose Lead Designer: Trevor Joynson Filename: /index.php Usage & Function: The file that makes it all happen! Create Date: March 31, 2002 $Id: profile.php,v 1.1 2002/08/10 20:41:33 heimidal Exp $ ******************************************************************************* ******************************************************************************* This software is provided under the GPL software license. A copy of the license should have been included with this software, located in the Docs folder. Feel free to redistribute and/or modify it according to the regulations stated in the license. ******************************************************************************* ******************************************************************************/ // Include The Main Configuration File include("config.php"); if(!defined("PHPMP_INSTALLED")) { header('Location: ./install.php'); } // Include The Main Core File include($MPCONF['GEN']['abs_path'] . "/includes/core.php"); global $PHPMP; // Start phpMP $PHPMP = new PHPMP(); $PHPMP->Init(); if($_GET['mode'] == 'register') { if($_GET['action'] == 'submit') { $sql = "SELECT user_id FROM " . $MPCONF['DB']['table_prefix'] . "users WHERE username='" . $_POST['r_username'] . "' OR email='" . $_POST['r_email'] . "'"; $qry = $DBA->query($sql); if((!empty($_POST['r_username'])) && (!empty($_POST['r_password'])) && (!empty($_POST['r_password_conf'])) && (!empty($_POST['r_email']))) { if(($DBA->num_rows($qry) == 0) && ($_POST['r_password'] == $_POST['r_password_conf'])) { $sql = "INSERT INTO " . $MPCONF['DB']['table_prefix'] . "users (username, password, realname, email, location) VALUES('" . $_POST['r_username'] . "', MD5('" . $_POST['r_password'] . "'), '" . $_POST['r_realname'] . "', '" . $_POST['r_email'] . "', '" . $_POST['r_location'] . "')"; $DBA->query($sql); $Template->display_template('register_fin.tpl'); } else { header("Location: error.php?ecode=registration"); } } else { header("Location: error.php?ecode=registration"); } } else { $Template->display_template('register.tpl'); } } ?> |
From: Brian R. <hei...@us...> - 2002-08-10 20:41:36
|
Update of /cvsroot/phpmp/phpMP/modules In directory usw-pr-cvs1:/tmp/cvs-serv26894/modules Modified Files: user_side.php Log Message: Added a very primitive registration process. Needs a LOT of enhancing. Index: user_side.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules/user_side.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** user_side.php 27 Jul 2002 05:35:59 -0000 1.9 --- user_side.php 10 Aug 2002 20:41:33 -0000 1.10 *************** *** 7,11 **** $blockname = "Welcome\n"; ! $content .= "<font size='1'>Welcome back,<br> " . $MPCONF['USR']['username'] . "!</font><br />\n"; $content .= "<br />\n"; $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/members/profile.php?action=edit'>Edit User Profile</a></font><br />\n"; --- 7,11 ---- $blockname = "Welcome\n"; ! $content .= "<font size='1'>Welcome, " . $MPCONF['USR']['username'] . "!</font><br />\n"; $content .= "<br />\n"; $content .= "<font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/members/profile.php?action=edit'>Edit User Profile</a></font><br />\n"; *************** *** 43,47 **** $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/register.php'>Register A Username</a></font></td>\n"; $content .= " </tr>\n"; $content .= "</table>\n"; --- 43,47 ---- $content .= " </tr>\n"; $content .= " <tr>\n"; ! $content .= " <td><font size='1'><a href='" . $MPCONF['GEN']['uri'] . "/profile.php?mode=register'>Register A Username</a></font></td>\n"; $content .= " </tr>\n"; $content .= "</table>\n"; |
From: Brian R. <hei...@us...> - 2002-08-10 20:41:36
|
Update of /cvsroot/phpmp/phpMP/includes In directory usw-pr-cvs1:/tmp/cvs-serv26894/includes Modified Files: auth.php Log Message: Added a very primitive registration process. Needs a LOT of enhancing. Index: auth.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/auth.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** auth.php 31 Jul 2002 17:48:38 -0000 1.17 --- auth.php 10 Aug 2002 20:41:33 -0000 1.18 *************** *** 48,52 **** $rand_val = rand(0, 10); ! if($rand_val > 8) { $result = $DBA->query("DELETE FROM " . $MPCONF['DB']['table_prefix'] . "sessions WHERE expiretime < " . time()); --- 48,52 ---- $rand_val = rand(0, 10); ! if($rand_val >= 9) { $result = $DBA->query("DELETE FROM " . $MPCONF['DB']['table_prefix'] . "sessions WHERE expiretime < " . time()); *************** *** 69,73 **** if (empty($_REQUEST['PHPSESSID'])) { ! SetCookie("PHPSESSID", session_id(), (time() + (315360000)), "", "", 0); } --- 69,73 ---- if (empty($_REQUEST['PHPSESSID'])) { ! SetCookie("PHPSESSID", session_id(), (time() + $MPCONF['SES']['session_length']), "", "", 0); } *************** *** 86,93 **** $MPCONF['USR'] = $user_array; ! unset($_SESSION['user_array']); ! $_SESSION['user_array'] = $user_array; ! $this->AuthAdmin(); } else { --- 86,101 ---- $MPCONF['USR'] = $user_array; ! if($MPCONF['USR']['active'] == 1) { ! unset($_SESSION['user_array']); ! $_SESSION['user_array'] = $user_array; ! ! $this->AuthAdmin(); ! ! } else { ! ! header("Location: " . $MPCONF['GEN']['uri'] . "/error.php?ecode=auth"); ! ! } } else { |
From: Brian R. <hei...@us...> - 2002-07-31 17:51:52
|
Update of /cvsroot/phpmp/phpMP/dba/sql In directory usw-pr-cvs1:/tmp/cvs-serv6745 Modified Files: mysql.sql mysql_default_values.sql Log Message: Oops. Extra line. Index: mysql.sql =================================================================== RCS file: /cvsroot/phpmp/phpMP/dba/sql/mysql.sql,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** mysql.sql 31 Jul 2002 17:48:38 -0000 1.4 --- mysql.sql 31 Jul 2002 17:51:49 -0000 1.5 *************** *** 1,3 **** - Database phpmp running on mysql.sourceforge.net # phpMyAdmin MySQL-Dump # version 2.2.5 --- 1,2 ---- Index: mysql_default_values.sql =================================================================== RCS file: /cvsroot/phpmp/phpMP/dba/sql/mysql_default_values.sql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** mysql_default_values.sql 31 Jul 2002 17:50:07 -0000 1.1 --- mysql_default_values.sql 31 Jul 2002 17:51:49 -0000 1.2 *************** *** 1,3 **** - Database phpmp running on mysql.sourceforge.net # phpMyAdmin MySQL-Dump # version 2.2.5 --- 1,2 ---- |
From: Brian R. <hei...@us...> - 2002-07-31 17:50:12
|
Update of /cvsroot/phpmp/phpMP/dba/sql In directory usw-pr-cvs1:/tmp/cvs-serv5987 Added Files: mysql_default_values.sql Log Message: Added the defaults for a MySQL database initial insert. These were removed from the (now) structure-only file mysql.sql. --- NEW FILE: mysql_default_values.sql --- Database phpmp running on mysql.sourceforge.net # phpMyAdmin MySQL-Dump # version 2.2.5 # http://phpwizard.net/phpMyAdmin/ # http://phpmyadmin.sourceforge.net/ (download page) # # Host: mysql.sourceforge.net # Generation Time: Jul 31, 2002 at 09:13 AM # Server version: 3.23.36 # PHP Version: 4.1.2 # Database : `phpmp` # # Dumping data for table `phpmp_blocking` # INSERT INTO phpmp_blocking VALUES ('User', 'right', 1, '', 1, 'user_side.php'); INSERT INTO phpmp_blocking VALUES ('Main Menu', 'left', 1, '', 1, 'menu_side.php'); INSERT INTO phpmp_blocking VALUES ('Online Users', 'left', 4, '', 1, 'online_users_side.php'); # # Dumping data for table `phpmp_config` # INSERT INTO phpmp_config VALUES ('TPL', 'tpl_name', 'TealMP'); INSERT INTO phpmp_config VALUES ('GEN', 'address', 'http://phpmp.sourceforge.net'); INSERT INTO phpmp_config VALUES ('GEN', 'uri', ''); INSERT INTO phpmp_config VALUES ('GEN', 'version', '0.1'); INSERT INTO phpmp_config VALUES ('SES', 'session_length', '3600'); INSERT INTO phpmp_config VALUES ('SES', 'extcookie', 'phpMPextend'); INSERT INTO phpmp_config VALUES ('SES', 'normcookie', 'phpMPcookie'); INSERT INTO phpmp_config VALUES ('TPL', 'sitename', 'phpMP'); INSERT INTO phpmp_config VALUES ('TPL', 'default_lang', 'english'); INSERT INTO phpmp_config VALUES ('GEN', 'time_offset', '+8'); INSERT INTO phpmp_config VALUES ('GEN', 'timezone_default', 'GMT'); # # Dumping data for table `phpmp_modules` # INSERT INTO phpmp_modules VALUES ('User CP', 'usercp', 'USERCP', 1, 'usercp.php', '', ''); INSERT INTO phpmp_modules VALUES ('News', 'news', 'NEWS', 1, 'simple_news.php', '', ''); # # Dumping data for table `phpmp_users` # INSERT INTO phpmp_users VALUES (1, 'Anonymous', '', 'Anonymous', 'anonymous@127.0.0.1', '', '', '', 20020402174305, 0, 0); INSERT INTO phpmp_users VALUES (2, 'Administrator', '21232f297a57a5a743894a0e4a801fc3', '', '', '', 'english', '', 20020727042113, 1, 1); |
From: Brian R. <hei...@us...> - 2002-07-31 17:48:41
|
Update of /cvsroot/phpmp/phpMP/includes In directory usw-pr-cvs1:/tmp/cvs-serv5237/includes Modified Files: auth.php sessions.php Log Message: Updated MySQL database structure. Fixed session cleanup problem (by adding an extra function that should work fine). Index: auth.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/auth.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** auth.php 29 Jul 2002 11:13:04 -0000 1.16 --- auth.php 31 Jul 2002 17:48:38 -0000 1.17 *************** *** 43,49 **** --- 43,66 ---- var $mpcookie; + function session_cleanup() { + + global $MPCONF, $DBA; + + $rand_val = rand(0, 10); + if($rand_val > 8) { + + $result = $DBA->query("DELETE FROM " . $MPCONF['DB']['table_prefix'] . "sessions WHERE expiretime < " . time()); + + return $DBA->affected_rows(); + + } + + } + function AuthUser() { global $MPCONF, $Functions, $DBA, $HTTP_POST_VARS; + + $this->session_cleanup(); if(empty($HTTP_POST_VARS['username'])) { Index: sessions.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/sessions.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** sessions.php 27 Jul 2002 12:16:00 -0000 1.3 --- sessions.php 31 Jul 2002 17:48:38 -0000 1.4 *************** *** 85,89 **** global $MPCONF, $DBA; ! $retval = mysql_query("DELETE FROM " . $MPCONF['DB']['table_prefix'] . "sessions WHERE expiretime < " . time()); return $DBA->affected_rows(); --- 85,89 ---- global $MPCONF, $DBA; ! $retval = $DBA->query("DELETE FROM " . $MPCONF['DB']['table_prefix'] . "sessions WHERE expiretime < " . time()); return $DBA->affected_rows(); |
From: Brian R. <hei...@us...> - 2002-07-31 17:48:41
|
Update of /cvsroot/phpmp/phpMP/dba/sql In directory usw-pr-cvs1:/tmp/cvs-serv5237/dba/sql Modified Files: mysql.sql Log Message: Updated MySQL database structure. Fixed session cleanup problem (by adding an extra function that should work fine). Index: mysql.sql =================================================================== RCS file: /cvsroot/phpmp/phpMP/dba/sql/mysql.sql,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** mysql.sql 11 Apr 2002 06:30:11 -0000 1.3 --- mysql.sql 31 Jul 2002 17:48:38 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + Database phpmp running on mysql.sourceforge.net # phpMyAdmin MySQL-Dump # version 2.2.5 *************** *** 5,11 **** # # Host: mysql.sourceforge.net ! # Generation Time: Apr 10, 2002 at 11:19 PM # Server version: 3.23.36 ! # PHP Version: 4.0.6 # Database : `phpmp` # -------------------------------------------------------- --- 6,12 ---- # # Host: mysql.sourceforge.net ! # Generation Time: Jul 31, 2002 at 09:09 AM # Server version: 3.23.36 ! # PHP Version: 4.1.2 # Database : `phpmp` # -------------------------------------------------------- *************** *** 24,34 **** KEY side (side) ) TYPE=MyISAM; - - # - # Dumping data for table `phpmp_blocking` - # - - INSERT INTO phpmp_blocking VALUES ('Main Menu', 'left', 1, '', 1, 'menu_side.php'); - INSERT INTO phpmp_blocking VALUES ('User', 'right', 1, '', 1, 'user_side.php'); # -------------------------------------------------------- --- 25,28 ---- *************** *** 42,58 **** value char(255) NOT NULL default '' ) TYPE=MyISAM; - - # - # Dumping data for table `phpmp_config` - # - - INSERT INTO phpmp_config VALUES ('TPL', 'tpl_name', 'TealMP'); - INSERT INTO phpmp_config VALUES ('GEN', 'address', ''); - INSERT INTO phpmp_config VALUES ('GEN', 'uri', ''); - INSERT INTO phpmp_config VALUES ('GEN', 'version', '0.9 alpha'); - INSERT INTO phpmp_config VALUES ('SES', 'session_length', '3600'); - INSERT INTO phpmp_config VALUES ('SES', 'extcookie', 'phpMPextend'); - INSERT INTO phpmp_config VALUES ('TPL', 'bullet_html', '•'); - INSERT INTO phpmp_config VALUES ('SES', 'normcookie', 'phpMPcookie'); # -------------------------------------------------------- --- 36,39 ---- *************** *** 62,78 **** CREATE TABLE phpmp_modules ( ! name char(40) NOT NULL default '', ! unixname char(24) NOT NULL default '', active tinyint(1) NOT NULL default '0', ! filename char(255) NOT NULL default '', PRIMARY KEY (unixname) ) TYPE=MyISAM; - - # - # Dumping data for table `phpmp_modules` - # - - INSERT INTO phpmp_modules VALUES ('News', 'news', 1, 'simple_news.php'); - INSERT INTO phpmp_modules VALUES ('User CP', 'usercp', 1, 'usercp.php'); # -------------------------------------------------------- --- 43,55 ---- CREATE TABLE phpmp_modules ( ! name varchar(40) NOT NULL default '', ! unixname varchar(24) NOT NULL default '', ! mod_id varchar(24) NOT NULL default '', active tinyint(1) NOT NULL default '0', ! filename varchar(255) NOT NULL default '', ! data text NOT NULL, ! link varchar(250) NOT NULL default '', PRIMARY KEY (unixname) ) TYPE=MyISAM; # -------------------------------------------------------- *************** *** 90,99 **** PRIMARY KEY (id) ) TYPE=MyISAM; - - # - # Dumping data for table `phpmp_news` - # - - INSERT INTO phpmp_news VALUES (1, 'index', 'phpMP Simple News Test', 'This is a simple test of the news posting engine here on phpMP. The news posting engine is a module and can therefore be removed using the Administrative Area. Please do not remove the file before removing the MPLink.', 1018475688, 0); # -------------------------------------------------------- --- 67,70 ---- *************** *** 103,116 **** CREATE TABLE phpmp_sessions ( ! sesskey varchar(24) NOT NULL default '', ! expiretime int(11) unsigned NOT NULL default '0', ! username varchar(24) NOT NULL default '', ! PRIMARY KEY (sesskey) ) TYPE=MyISAM; - - # - # Dumping data for table `phpmp_sessions` - # - # -------------------------------------------------------- --- 74,85 ---- CREATE TABLE phpmp_sessions ( ! sesskey varchar(32) NOT NULL default '', ! user_id tinyint(11) NOT NULL default '0', ! time_started int(14) NOT NULL default '0', ! expiretime int(14) NOT NULL default '0', ! data text NOT NULL, ! PRIMARY KEY (sesskey), ! KEY time_started (time_started) ) TYPE=MyISAM; # -------------------------------------------------------- *************** *** 126,129 **** --- 95,99 ---- email char(75) NOT NULL default '', location char(75) NOT NULL default '', + language char(40) NOT NULL default '', usr_tpl char(255) NOT NULL default '', joindate timestamp(14) NOT NULL, *************** *** 132,140 **** PRIMARY KEY (user_id), KEY username (username) ! ) TYPE=MyISAM; ! ! # ! # Dumping data for table `phpmp_users` ! # ! ! INSERT INTO phpmp_users VALUES (1, 'Anonymous', '', 'Anonymous', 'anonymous@127.0.0.1', '', '', 20020402174305, 0, 0); \ No newline at end of file --- 102,104 ---- PRIMARY KEY (user_id), KEY username (username) ! ) TYPE=MyISAM; \ No newline at end of file |
From: Brian R. <hei...@us...> - 2002-07-29 12:49:31
|
Update of /cvsroot/phpmp/phpMP In directory usw-pr-cvs1:/tmp/cvs-serv17145 Modified Files: modules.php Log Message: Changed the way the auto-detect install works. One-liner. :-P Index: modules.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** modules.php 25 Jul 2002 20:50:07 -0000 1.9 --- modules.php 29 Jul 2002 12:49:28 -0000 1.10 *************** *** 31,38 **** ******************************************************************************/ include("config.php"); if(!defined("PHPMP_INSTALLED")) { ! die('You have not <a href="install.php">installed phpMP</a>. Please do so before attempting to use this software.'); } --- 31,39 ---- ******************************************************************************/ + // Include The Main Configuration File include("config.php"); if(!defined("PHPMP_INSTALLED")) { ! header('Location: ./install.php'); } |
From: Brian R. <hei...@us...> - 2002-07-29 12:46:43
|
Update of /cvsroot/phpmp/phpMP/templates/TealMP In directory usw-pr-cvs1:/tmp/cvs-serv16447/templates/TealMP Modified Files: block_left.tpl block_right.tpl Log Message: More code cleanup! Index: block_left.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/block_left.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** block_left.tpl 25 Jul 2002 20:50:07 -0000 1.1 --- block_left.tpl 29 Jul 2002 12:46:40 -0000 1.2 *************** *** 1,22 **** ! <td valign="top" width="150"> ! ! {foreach from=$left_side item=item key=key} ! <table width="150" cellspacing="0" cellpadding="0"> ! <tr> ! <td height="20" class="tabletitle"> ! <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}/templates/{$tpl_name}/images/navbg.gif"><tr><td width="100%" class="tabletitle" bordercolor=black> ! <font color=white><small>{$key}</small></font> ! </td></tr></table> ! </td> ! </tr> ! <tr> ! <td> ! <table width="100%" class="tableborder" bordercolor=black><tr><td> ! {$item} ! </td></tr></table> ! </td> ! </tr> ! </table> ! {/foreach} ! ! </td> \ No newline at end of file --- 1 ---- ! <td valign="top" width="150"> {foreach from=$left_side item=item key=key} <table width="150" cellspacing="0" cellpadding="0"> <tr> <td height="20" class="tabletitle"> <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}/templates/{$tpl_name}/images/navbg.gif"><tr><td width="100%" class="tabletitle" bordercolor=black> <font color=white><small>{$key}</small></font> </td> </tr> </table> </td> </tr> <tr> <td> <table width="100%" class="tableborder" bordercolor=black><tr><td> {$item} </td> </tr> </table> </td> </tr> </table> {/foreach} </td> \ No newline at end of file Index: block_right.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/block_right.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** block_right.tpl 25 Jul 2002 20:50:07 -0000 1.1 --- block_right.tpl 29 Jul 2002 12:46:40 -0000 1.2 *************** *** 1,22 **** ! <td valign="top" width="150"> ! ! {foreach from=$right_side item=item key=key} ! <table width="150" cellspacing="0" cellpadding="0"> ! <tr> ! <td height="20" class="tabletitle"> ! <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}/templates/{$tpl_name}/images/navbg.gif"><tr><td width="100%" class="tabletitle" bordercolor=black> ! <font color=white><small>{$key}</small></font> ! </td></tr></table> ! </td> ! </tr> ! <tr> ! <td> ! <table width="100%" class="tableborder" bordercolor=black><tr><td> ! {$item} ! </td></tr></table> ! </td> ! </tr> ! </table> ! {/foreach} ! ! </td> \ No newline at end of file --- 1 ---- ! <td valign="top" width="150"> {foreach from=$right_side item=item key=key} <table width="150" cellspacing="0" cellpadding="0"> <tr> <td height="20" class="tabletitle"> <table width="100%" class="tabletitle" bordercolor=black background="{$mpuri}/templates/{$tpl_name}/images/navbg.gif"><tr><td width="100%" class="tabletitle" bordercolor=black> <font color=white><small>{$key}</small></font> </td> </tr> </table> </td> </tr> <tr> <td> <table width="100%" class="tableborder" bordercolor=black><tr><td> {$item} </td> </tr> </table> </td> </tr> </table> {/foreach} </td> \ No newline at end of file |
From: Brian R. <hei...@us...> - 2002-07-29 12:22:15
|
Update of /cvsroot/phpmp/phpMP/templates/TealMP In directory usw-pr-cvs1:/tmp/cvs-serv8796/templates/TealMP Modified Files: index.tpl modules.tpl overall_footer.tpl overall_header.tpl Log Message: More and more code cleanup. Changed how the install-detect is handled. Index: index.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/index.tpl,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** index.tpl 29 Jul 2002 11:13:04 -0000 1.7 --- index.tpl 29 Jul 2002 12:22:12 -0000 1.8 *************** *** 17,21 **** <tr> <td width="100%" class="tabletitle" bordercolor=black> ! <font color=white><small>|| {$site_name} || {$l_home} ||</small></font> </td> </tr> --- 17,21 ---- <tr> <td width="100%" class="tabletitle" bordercolor=black> ! <font color=white><small>.:: {$site_name} :: {$l_home} ::.</small></font> </td> </tr> Index: modules.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/modules.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** modules.tpl 25 Jul 2002 20:50:07 -0000 1.1 --- modules.tpl 29 Jul 2002 12:22:12 -0000 1.2 *************** *** 1,21 **** ! {* phpMP Template - TealMP - modules.tpl *} ! ! {include file=overall_header.tpl} ! ! <table width="100%" bgcolor="#9fc2c6" cellspacing="0" cellpadding="2"> ! <tr> ! ! ! {include file=block_left.tpl} ! ! ! <td valign="top"> ! ! {$module_content} ! ! </td> ! ! ! {include file=block_right.tpl} ! ! {include file=overall_footer.tpl} \ No newline at end of file --- 1 ---- ! {* phpMP Template - TealMP - modules.tpl *} {include file=overall_header.tpl} <table width="100%" bgcolor="#9fc2c6" cellspacing="0" cellpadding="2"> <tr> {include file=block_left.tpl} <td valign="top"> {$module_content} </td> {include file=block_right.tpl} {include file=overall_footer.tpl} \ No newline at end of file Index: overall_footer.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/overall_footer.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** overall_footer.tpl 27 Jul 2002 05:35:59 -0000 1.2 --- overall_footer.tpl 29 Jul 2002 12:22:12 -0000 1.3 *************** *** 1,52 **** ! <table width="100%" cellpadding="0" cellspacing="0"> ! <tr> ! <td> ! ! <table class="header" width="100%" cellpadding="0" cellspacing="0"> ! <tr> ! <td width="100%" bgcolor=black colspan="2"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> ! </tr> ! <tr> ! <td width="100%" colspan="2" align="center" bgcolor="#C0C0C0"> ! <font size="2"> {$l_nav_bar} </font> ! </td> ! </tr> ! <tr> ! <td width="100%" bgcolor=black colspan="2"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> ! </tr> ! </table> ! ! <table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolor=black align="center"> ! <tr> ! <td height="25" width="100%" background="{$mpuri}/templates/{$tpl_name}/images/footer_bottom.gif" bgcolor="#000000;"></td> ! </tr> ! <tr> ! <td height="1" bgcolor="#000000;"></td> ! </tr> ! <tr> ! <table border="0" cellspacing="0" width="100%" cellpadding="0"> ! <tr> ! <td width="100" align="left" background="{$mpuri}/templates/{$tpl_name}/images/footer_left.gif"></td> ! <td width="*" align="center"><font size="-2">{$l_powered_by}<br />{$l_copyright}<br />{$debug_info}</font></td> ! <td width="100" align="right" background="{$mpuri}/templates/{$tpl_name}/images/footer_right.gif"></td> ! </tr> ! </table> ! </tr> ! <tr> ! <td height="1" bgcolor="#000000;"></td> ! </tr> ! <tr> ! <td height="25" width="100%" background="{$mpuri}/templates/{$tpl_name}/images/footer_top.gif" bgcolor="#000000;"></td> ! </tr> ! </table> ! </td> ! </tr> ! </td> ! </tr> </table> </body> ! </html> \ No newline at end of file --- 1,61 ---- ! <table width="100%" cellpadding="0" cellspacing="0"> ! <tr> ! <td> ! ! <table class="header" width="100%" cellpadding="0" cellspacing="0"> ! <tr> ! <td width="100%" bgcolor=black colspan="2"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> ! </tr> ! <tr> ! <td width="100%" colspan="2" align="center" bgcolor="#C0C0C0"> ! <font size="2"> {$l_nav_bar} </font> ! </td> ! </tr> ! <tr> ! <td width="100%" bgcolor=black colspan="2"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> ! </tr> ! </table> ! ! <table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolor=black align="center"> ! <tr> ! <td height="25" width="100%" background="{$mpuri}/templates/{$tpl_name}/images/footer_bottom.gif" bgcolor="#000000;"></td> ! </tr> ! <tr> ! <td height="1" bgcolor="#000000;"></td> ! </tr> ! <tr> ! ! <table border="0" cellspacing="0" width="100%" cellpadding="0"> ! <tr> ! <td width="100" align="left" background="{$mpuri}/templates/{$tpl_name}/images/footer_left.gif"> ! </td> ! <td width="*" align="center"><font size="-2">{$l_powered_by}<br />{$l_copyright}<br />{$debug_info}</font> ! </td> ! <td width="100" align="right" background="{$mpuri}/templates/{$tpl_name}/images/footer_right.gif"> ! </td> ! </tr> ! </table> ! </tr> ! <tr> ! <td height="1" bgcolor="#000000;"> ! </td> ! </tr> ! <tr> ! <td height="25" width="100%" background="{$mpuri}/templates/{$tpl_name}/images/footer_top.gif" bgcolor="#000000;"> ! </td> ! </tr> ! </table> ! ! </td> ! </tr> ! </table> ! ! </td> ! </tr> </table> </body> ! </html> Index: overall_header.tpl =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/TealMP/overall_header.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** overall_header.tpl 25 Jul 2002 20:50:07 -0000 1.1 --- overall_header.tpl 29 Jul 2002 12:22:12 -0000 1.2 *************** *** 1,28 **** ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ! <html> ! <head> ! <title>.:: {$site_name} :: {$l_home} ::.</title> ! <script src="{$mpuri}/templates/{$tpl_name}/js/fade.js" language="Javascript"></script> ! <link rel="stylesheet" href="{$mpuri}/templates/{$tpl_name}/css/tpl_style.css" type="text/css" /> ! </head> ! <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> ! ! <table class="header" width="100%" bgcolor="#0f9fbc" cellpadding="0" cellspacing="0"> ! <tr> ! <td width="300" align="left"><img src="{$mpuri}/templates/{$tpl_name}/images/logo.jpg" /></td> ! <td width="100%" align="center" background="{$mpuri}/templates/{$tpl_name}/images/topbg.jpg"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> ! <td width="25" align="right" background="{$mpuri}/templates/{$tpl_name}/images/grad_ld_lr.gif"><img src="{$mpuri}/templates/{$tpl_name}/images/grad_ld_lr.gif" /></td> ! </tr> ! <tr> ! <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> ! </tr> ! <tr> ! <td width="100%" colspan="5" align="center" bgcolor="#C0C0C0"><font size="2"> ! {$l_nav_bar} ! </font> ! </td> ! </tr> ! <tr> ! <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> ! </tr> ! </table> \ No newline at end of file --- 1 ---- ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>.:: {$site_name} :: {$l_home} ::.</title> <script src="{$mpuri}/templates/{$tpl_name}/js/fade.js" language="Javascript"></script> <link rel="stylesheet" href="{$mpuri}/templates/{$tpl_name}/css/tpl_style.css" type="text/css" /> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table class="header" width="100%" bgcolor="#0f9fbc" cellpadding="0" cellspacing="0"> <tr> <td width="300" align="left"><img src="{$mpuri}/templates/{$tpl_name}/images/logo.jpg" /></td> <td width="100%" align="center" background="{$mpuri}/templates/{$tpl_name}/images/topbg.jpg"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /> </td> <td width="25" align="right" background="{$mpuri}/templates/{$tpl_name}/images/grad_ld_lr.gif"><img src="{$mpuri}/templates/{$tpl_name}/images/grad_ld_lr.gif" /> </td> </tr> <tr> <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> </tr> <tr> <td width="100%" colspan="5" align="center" bgcolor="#C0C0C0"><font size="2"> {$l_nav_bar} </font> </td> </tr> <tr> <td width="100%" bgcolor=black colspan="5"><img src="{$mpuri}/templates/{$tpl_name}/images/pixel.gif" /></td> </tr> </table> \ No newline at end of file |