|
From: FlorinCB <ory...@us...> - 2008-11-06 18:04:44
|
Update of /cvsroot/mxbb/core/admin In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27437/admin Modified Files: index.php Log Message: fix like the above fixes Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/index.php,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** index.php 31 Oct 2008 19:02:20 -0000 1.56 --- index.php 6 Nov 2008 18:04:37 -0000 1.57 *************** *** 92,96 **** $template->set_filenames(array( ! 'body' => 'admin/index_navigate.tpl') ); --- 92,96 ---- $template->set_filenames(array( ! 'body' => 'admin/index_navigate.'.$tplEx) ); *************** *** 279,283 **** $template->set_filenames(array( ! "body" => "admin/index_body.tpl") ); --- 279,283 ---- $template->set_filenames(array( ! "body" => "admin/index_body.".$tplEx) ); *************** *** 310,313 **** --- 310,317 ---- "L_GZIP_COMPRESSION" => $lang['Gzip_compression']) ); + + + $whois_url = "http://network-tools.com/default.asp?host="; + //$whois_url = mx_append_sid(PHPBB_URL . "adm/index.php?i=users&icat=13&mode=overview&action=whois&user_ip="); $mx_backend->load_forum_stats(); *************** *** 413,417 **** "IP_ADDRESS" => $reg_ip, ! "U_WHOIS_IP" => "http://network-tools.com/default.asp?host=$reg_ip", "U_USER_PROFILE" => mx_append_sid(PHPBB_URL . "admin_users.$phpEx?mode=edit&" . POST_USERS_URL . "=" . $onlinerow_reg[$i]['user_id']), "U_FORUM_LOCATION" => mx_append_sid($location_url)) --- 417,421 ---- "IP_ADDRESS" => $reg_ip, ! "U_WHOIS_IP" => $whois_url . $reg_ip, "U_USER_PROFILE" => mx_append_sid(PHPBB_URL . "admin_users.$phpEx?mode=edit&" . POST_USERS_URL . "=" . $onlinerow_reg[$i]['user_id']), "U_FORUM_LOCATION" => mx_append_sid($location_url)) *************** *** 468,471 **** --- 472,476 ---- } } + $row_color = ( $guest_users % 2 ) ? $theme['td_color1'] : $theme['td_color2']; *************** *** 483,487 **** "IP_ADDRESS" => $guest_ip, ! "U_WHOIS_IP" => "http://network-tools.com/default.asp?host=$guest_ip", "U_FORUM_LOCATION" => mx_append_sid($location_url)) ); --- 488,492 ---- "IP_ADDRESS" => $guest_ip, ! "U_WHOIS_IP" => $whois_url . $guest_ip, "U_FORUM_LOCATION" => mx_append_sid($location_url)) ); *************** *** 575,579 **** // $template->set_filenames(array( ! "body" => "admin/index_frameset.tpl") ); --- 580,584 ---- // $template->set_filenames(array( ! "body" => "admin/index_frameset.".$tplEx) ); |