if ($db['username'] == $_SESSION['susername']) { echo "{$db['username']}\n"; } elseif ($db[username]) { echo "<a href=\"members.php?choice=details&uid={$dbu['id']}&uname={$db['username']}\">{$db['username']}</a>\n"; if ($sales_option && $sales_members && !$is_sales_user) { // check access for user ico_email("", "absmiddle"); } else { ico_email("username={$db['username']}", "absmiddle"); } if ($dbu['icq']) { if ($sales_option && $sales_members && !$is_sales_user) { // check access for user ico_icq("", "absmiddle"); } else { ico_icq("{$dbu['icq']}", "absmiddle"); } } if ($dbu['homepage']) { if ($sales_option && $sales_members && !$is_sales_user) { // check access for user ico_url("", "absmiddle"); } else { ico_url("{$dbu['homepage']}", "absmiddle"); } } } else { echo "{$useronl_guest}\n"; } echo " </td>\n"; echo " <td class=\"classcat5\">\n";
if (!$adeditapproval && $admovecat) { echo " <a href=\"classified_my_move.php?adid={$db['id']}&catid={$db['catid']}\" onClick='enterWindow=window.open(\"classified_my_move.php?" . sidstr() . "adid={$db['id']}&catid={$db['catid']}\",\"Move\",\"width=400,height=200,top=100,left=100\"); return false'\n onmouseover=\"window.status='{$admy_move}'; return true;\"\n onmouseout=\"window.status=''; return true;\">\n <img src=\"{$image_dir}/icons/right2.gif\" border=\"0\" alt=\"{$admy_move}\" align=\"right\" vspace=\"9\" hspace=\"6\"></a>\n"; } } elseif ($choice == "fav") { if ($sales_option && !sales_checkaccess(3, $_SESSION[suserid], $db[catid])) { // check access for user and cat ico_email("", "left"); } else { ico_email("adid={$db['id']}", "left"); } if ($dbu[icq]) { if ($sales_option && !sales_checkaccess(3, $_SESSION[suserid], $db[catid])) { // check access for user and cat ico_icq("", "left"); } else { ico_icq("{$dbu['icq']}", "left"); } } ico_friend("catid={$db['catid']}&subcatid={$db['subcatid']}&adid={$db['id']}", "left"); if ($show_url && $dbu[homepage]) { if ($sales_option && !sales_checkaccess(3, $_SESSION[suserid], $catid)) { // check access for user and cat ico_url("", "left"); } else { ico_url("{$dbu['homepage']}", "left"); } } ico_print("", "left"); if ($show_adrating && $_SESSION[suserid]) { ico_adrating("adid={$db['id']}", "left"); }
} else { ico_email("username={$db['username']}", "center"); } } else { echo " "; } echo " </div>\n"; echo " </td>\n"; echo " <td class=\"gbtable2\" width=\"30\">\n"; echo " <div class=\"smallcenter\">"; if ($db[icq]) { if ($sales_option && $sales_members && !$is_sales_user) { // check access for user ico_icq("", "center"); } else { ico_icq("{$db['icq']}", "center"); } } else { echo " "; } echo " </div>\n"; echo " </td>\n"; echo " <td class=\"gbtable2\" width=\"30\">\n"; echo " <div class=\"smallcenter\">"; if ($show_url && $db[homepage]) { if ($sales_option && $sales_members && !$is_sales_user) { // check access for user ico_url("", "center"); } else { ico_url("{$db['homepage']}", "center"); }
echo "<tr><td><div class=\"smallleft\">\n"; echo "{$admy_member}{$uname} \n"; if ($email) { if ($sales_option && $sales_members && !$is_sales_user) { // check access for user ico_email("", "absmiddle"); } else { ico_email("username={$uname}", "absmiddle"); } } if ($icq) { if ($sales_option && $sales_members && !$is_sales_user) { // check access for user ico_icq("", "absmiddle"); } else { ico_icq("{$icq}", "absmiddle"); } } if ($homepage) { if ($sales_option && $sales_members && !$is_sales_user) { // check access for user ico_url("", "absmiddle"); } else { ico_url("{$homepage}", "absmiddle"); } } echo "</div></td>\n"; echo "</tr></table>\n"; echo " <div class=\"maintext\">\n"; echo " <br>\n"; echo " <table align=center width=\"100%\">\n";