if ($dob_birthday && $dob_birthday != "" && $dob_birthday != "0000-00-00") { $dobtime = strtotime($dob_birthday); } if (!$dob_showage || !$dob_showemail) { $note = 1; } $dob_time = strftime(L_SHORT_DATE, $dobtime); if (stristr(PHP_OS, 'win')) { $dobtime = utf_conv(WIN_DEFAULT, $Charset, $dobtime); if (strstr($L, "chinese") || strstr($L, "korean") || strstr($L, "japanese")) { $dob_time = str_replace(" ", "", $dob_time); } } $User = stripslashes($User); $dob_name = $dob_firstname != "" ? $dob_firstname : $User; $dob_username = pos_array($User, $users); if ($User != $pmc_username) { $User = "******"browse_user({$dob_username});\" target=\"_self\" title=\"" . A_SEARCH_25 . "\">{$User}</a>"; } ?> <?php echo "\n\t<TR" . ($i & 1 ? " bgcolor=\"#C0C0C0\"" : "") . ">\n\t"; echo "<TD style=\"vertical-align:middle; text-align:center;\">" . $i . "</TD>"; echo "<TD style=\"vertical-align:middle; text-align:center;\">" . (C_USE_AVATARS ? "<img src=\"" . $avatar . "\" width=\"25\" height=\"25\" border=\"0\" alt=\"" . L_AVATAR . "\" title=\"" . L_AVATAR . "\">" : "") . "</TD>"; echo "<TD style=\"vertical-align:middle; text-align:center;\"><img src=\"images/gender_" . $gender1 . ".gif\" width=\"" . $ava_width . "\" height=\"" . $ava_height . "\" border=\"0\" alt=\"" . $gender . "\" title=\"" . $gender . "\"></TD>"; echo "<TD style=\"vertical-align:middle; text-align:left;\"><B>" . $User . "</B></TD>"; // GeoIP mode for country flags if (C_USE_FLAGS) { if (!isset($COUNTRY_CODE) || $COUNTRY_CODE == "") { $COUNTRY_CODE = geoip_country_code_by_addr($gi, ltrim($IP, "p")); if (empty($COUNTRY_CODE)) {
if (!isset($gi)) { $gi = geoip_open("plugins/countryflags/GeoIP.dat", GEOIP_STANDARD); } } while (list($s_username, $s_firstname, $s_lastname, $s_country, $s_email, $s_perms, $s_ip, $s_gender, $s_birthday, $s_show_bday, $s_show_age, $s_showemail, $s_country_code, $s_country_name) = $DbLink->next_record()) { $s_username = stripslashes($s_username); $DbLinkNew->query("SELECT username,reason FROM " . C_BAN_TBL . " WHERE username='******' LIMIT 1"); list($Nb, $reason) = $DbLinkNew->next_record(); if ($reason != "") { $reason = " (" . L_HELP_REASON . ": " . $reason . ")"; } if ($Nb) { $bannished_user = "******" . A_MENU_21 . $reason . "' title='" . A_MENU_21 . $reason . "'>"; } $usrHash = md5($s_username); $a_username = pos_array($s_username, $users); if ($s_username != $pmc_username) { $s_username = "******"browse_user({$a_username});\" target=\"_self\" title=\"" . A_SEARCH_25 . "\">{$s_username}</a>"; } $s_firstname = stripslashes($s_firstname); $s_lastname = stripslashes($s_lastname); $s_country = stripslashes($s_country); $s_email = stripslashes($s_email); $s_perms = stripslashes($s_perms); $s_ip = stripslashes($s_ip); $s_birthday = stripslashes($s_birthday); if (empty($s_firstname)) { $s_firstname = " "; } if (empty($s_lastname)) { $s_lastname = " ";