Example #1
0
     }
 }
 echo "<a href='" . BASEDIR . "profile.php?lookup=" . $data['user_id'] . "' style='font-size:12px;'>" . showLabel($data['user_id'], false, "post") . "</a><br />";
 if ($fb4['user_titles_posts'] && $fb4['user_titles']) {
     $titleLookup = dbquery("select * from " . $db_prefix . "fb_titles where title_id='" . $data['user_title'] . "' and (" . useraccess("title_access") . ")");
     if (dbrows($titleLookup)) {
         $titleData = dbarray($titleLookup);
         $title = stripslash($titleData['title_title']);
     } else {
         $title = stripslash($data['user_title']);
     }
 } else {
     $title = getusergroups($data['user_id']);
 }
 echo "<span class='small'>" . $title . "</span><br />";
 renderMods(true, false);
 echo "<br /><br />";
 renderAwards($data['user_id'], "", "<br /><br />");
 echo "<!--forum_thread_user_info-->" . $locale['502'] . " <span class='alt'>" . $data['user_posts'] . "</span><br />\n";
 echo "" . $locale['504'] . " <span class='alt'>" . showdate("%d.%m.%y", $data['user_joined']) . "</span>\n";
 if ($data['user_location']) {
     echo "<br />" . $locale['fb500'] . ": <span class='alt'>" . stripslash($data['user_location']) . "</span>\n";
 }
 if ($data['user_birthdate'] !== "0000-00-00") {
     $birthday = explode("-", $data['user_birthdate']);
     $age = strftime("%Y") - $birthday[0];
     if (strftime("%m") < $birthday[1]) {
         $age--;
     } elseif (strftime("%m") == $birthday[1]) {
         if (strftime("%d") < $birthday[2]) {
             $age--;
Example #2
0
         $age--;
     } elseif (strftime("%m") == $birthday[1]) {
         if (strftime("%d") < $birthday[2]) {
             $age--;
         }
     }
     echo "<br /><span class='small'><strong>" . $locale['fb512'] . "</strong> {$age}</span>\n";
 }
 echo showWarning($data['user_id']);
 echo "<br /></td>";
 echo "<td valign='top' class='tbl2' style='height:1px; margin-top:2px; padding:10px;' colspan='2'><div style='float:right' class='small'><a href='#post_" . $data['post_id'] . "' name='post_" . $data['post_id'] . "' id='post_" . $data['post_id'] . "'>#" . ($current_row + $_GET['rowstart']) . "</a></div>\n";
 echo "<span style='font-size:18px; font-weight:bold;'><a href='" . BASEDIR . "profile.php?lookup=" . $data['user_id'] . "'>" . showLabel($data['user_id'], false, "post") . "</a>";
 renderAwards($data['user_id']);
 echo "</span>";
 echo $title;
 renderMods(false, true);
 echo "</span>";
 echo "</td></tr><tr><td class='tbl1' colspan='2' valign='top' style='padding:8px;'>\n";
 if (iMOD) {
     echo "<div style='float:right'><input type='checkbox' name='delete_post[]' value='" . $data['post_id'] . "' /></div>\n";
 }
 if (isset($_GET['highlight'])) {
     $words = explode(" ", urldecode($_GET['highlight']));
     $message = parseubb(highlight_words($words, $message));
 } else {
     $message = parseubb($message);
 }
 if ($current_row == 1) {
     add_to_title($locale['global_201'] . $fdata['thread_subject']);
     $post_res = dbquery("select * from " . DB_PREFIX . "fb_posts where post_id='" . $data['post_id'] . "'");
     if (dbrows($post_res)) {
Example #3
0
     if ($fb4['no_avatar']) {
         echo "<img src='" . IMAGES . "noav.gif' alt='" . $locale['567'] . "' /><br /><br />\n";
     }
 }
 echo "<span style='font-size:14px;'>\n\t<a href='../profile.php?lookup=" . $data['user_id'] . "'><!--forum_thread_user_name-->" . showLabel($data['user_id'], false, "post") . "</a></span><br /><span class='small'>";
 if ($fb4['user_titles_posts'] && $fb4['user_titles']) {
     $titleLookup = dbquery("select * from " . $db_prefix . "fb_titles where title_id='" . $data['user_title'] . "' and (" . useraccess("title_access") . ")");
     if (dbrows($titleLookup)) {
         $titleData = dbarray($titleLookup);
         $title = stripslash($titleData['title_title']);
     } else {
         $title = stripslash($data['user_title']);
     }
     echo "<b>" . $title . "</b><br />";
 }
 renderMods();
 echo "</span><br /><br />\n";
 renderAwards($data['user_id'], "", "<br /><br />");
 echo "<!--forum_thread_user_info--><span class='small'><strong>" . $locale['502'] . "</strong> " . $data['user_posts'] . "</span><br />\n";
 echo "<span class='small'><strong>" . $locale['504'] . "</strong> " . showdate("%d.%m.%y", $data['user_joined']) . "</span>\n";
 if ($data['user_location']) {
     echo "<br /><span class='small'><strong>" . $locale['fb500'] . ":</strong> " . stripslash($data['user_location']) . "</span>\n";
 }
 if ($data['user_birthdate'] !== "0000-00-00") {
     $birthday = explode("-", $data['user_birthdate']);
     $age = strftime("%Y") - $birthday[0];
     if (strftime("%m") < $birthday[1]) {
         $age--;
     } elseif (strftime("%m") == $birthday[1]) {
         if (strftime("%d") < $birthday[2]) {
             $age--;