function Show_Player() { global $db; global $game; global $world; global $userquery; global $start; global $search_name; global $RACE_DATA; $_REQUEST['id'] = (int) $_REQUEST['id']; // Men BASIC Show_Main(); $userquery = $db->query('SELECT * FROM user WHERE user_id="' . $_REQUEST['id'] . '" AND (user_active=1 OR user_active=3) LIMIT 1'); $found = $db->num_rows(); if (!isset($_REQUEST['id']) || empty($_REQUEST['id']) || $found != 1) { $game->out('<center><span class="sub_caption">' . constant($game->sprache("TEXT32")) . '</span></center>'); } else { if (($user = $db->fetchrow($userquery)) == false) { $game->out('<center><span class="sub_caption">' . constant($game->sprache("TEXT33")) . ' (id=' . $_REQUEST['id'] . '<br>' . constant($game->sprache("TEXT34")) . '</span></center>'); } else { $query = 'SELECT * FROM alliance WHERE alliance_id="' . $user['user_alliance'] . '"'; $alliance = $db->queryrow($query); $rank_nr = 1; global $rank_honor; if ($user['user_honor'] >= $rank_honor[0]) { $rank_nr = 1; } if ($user['user_honor'] >= $rank_honor[1]) { $rank_nr = 2; } if ($user['user_honor'] >= $rank_honor[2]) { $rank_nr = 3; } if ($user['user_honor'] >= $rank_honor[3]) { $rank_nr = 4; } if ($user['user_honor'] >= $rank_honor[4]) { $rank_nr = 5; } if ($user['user_honor'] >= $rank_honor[5]) { $rank_nr = 6; } if ($user['user_honor'] >= $rank_honor[6]) { $rank_nr = 7; } if ($user['user_honor'] >= $rank_honor[7]) { $rank_nr = 8; } if ($user['user_honor'] >= $rank_honor[8]) { $rank_nr = 9; } if ($user['user_honor'] >= $rank_honor[9]) { $rank_nr = 10; } $game->out(' <table border=0 cellpadding=2 cellspacing=2 class ="style_outer" width="85%"> <tr><td align="center"> <span class="caption">' . constant($game->sprache("TEXT35")) . ' ' . $user['user_name'] . '</span><br><span class="sub_caption2">' . ($user['user_attack_protection'] >= $game->config['tick_id'] ? '<span style="color: red">' . constant($game->sprache("TEXT36")) . '</span>' : '') . '</span> </td></tr><tr><td> <table border=0 cellpadding=1 cellspacing=1 width="100%" class ="style_inner"><tr> <td colspan=2><img src="' . $game->GFX_PATH . 'rank_' . $rank_nr . '.jpg"></td></tr><tr>'); //avatar: if (!empty($user['user_avatar'])) { $info = getimagesize_remote($user['user_avatar']); if ($info[0] > 0 && $info[1] > 0 && $info[0] <= 150 && $info[1] <= 250) { $game->out('<td width=' . $info[0] . '><img src="' . $user['user_avatar'] . '"></td><td width=25></td><td width=425-' . $info[0] . ' valign=top>'); } else { if ($info[0] > 0 && $info[1] > 0) { $width = 150; $height = 150; if ($info[0] > $info[1]) { $height = 150 * ($info[1] / $info[0]); } else { $width = 150 * ($info[0] / $info[1]); } $game->out('<td width=' . $width . '><img src="' . $user['user_avatar'] . '" width="' . $width . '" height="' . $height . '"></td><td width=25></td><td width=425-' . $width . ' valign=top>'); } else { $game->out('<td width=200></td><td width=250 valign=top>'); } } } else { $game->out('<td width=200></td><td width=250 valign=top>'); } $rasse = $RACE_DATA[$user['user_race']][0]; $planets = $db->queryrow('SELECT count(planet_id) AS num FROM planets WHERE planet_owner="' . $user['user_id'] . '"'); $rawstar = $db->queryrow('SELECT COUNT(*) AS rawnum FROM starsystems WHERE system_closed = 0'); // Onlinestatus: $sql = 'SELECT d.*, u1.user_name AS user1_name, u1.user_alliance AS user1_aid, u1.user_points AS user1_points, u1.user_planets AS user1_planets, u1.user_honor AS user1_honor, a1.alliance_tag AS user1_atag, u2.user_name AS user2_name, u2.user_alliance AS user2_aid, u2.user_points AS user2_points, u2.user_planets AS user2_planets, u2.user_honor AS user2_honor, a2.alliance_tag AS user2_atag FROM (user_diplomacy d) INNER JOIN (user u1) ON u1.user_id = d.user1_id LEFT JOIN (alliance a1) ON a1.alliance_id = u1.user_alliance INNER JOIN (user u2) ON u2.user_id = d.user2_id LEFT JOIN (alliance a2) ON a2.alliance_id = u2.user_alliance WHERE ((d.user1_id = ' . $user['user_id'] . ') AND (d.user2_id = ' . $game->player['user_id'] . ')) OR ((d.user1_id = ' . $game->player['user_id'] . ') AND (d.user2_id = ' . $user['user_id'] . '))'; if (!($q_diplomacy = $db->query($sql))) { message(DATABASE_ERROR, 'Could not query diplomacy private data'); } $allied = $db->num_rows(); $diplomacy = $db->fetchrow($q_diplomacy); if (!$diplomacy['accepted']) { $allied = 0; } if ($user['last_active'] > time() - 60 * 3) { $status = '<span style="color: green">' . constant($game->sprache("TEXT37")) . '</span>'; } else { if ($user['last_active'] > time() - 60 * 9) { $status = '<span style="color: orange">' . constant($game->sprache("TEXT38")) . '</span>'; } else { $status = '<span style="color: red">' . constant($game->sprache("TEXT39")) . '</span>'; } } if (($game->player['user_alliance'] != $user['user_alliance'] || $user['user_alliance'] <= 0) && $game->player['user_auth_level'] != STGC_DEVELOPER && $allied == 0) { $status = '<span style="color: blue">' . constant($game->sprache("TEXT40")) . '</span>'; } $icq = ''; if (isset($user['user_icq']) && !empty($user['user_icq'])) { $icq = '<tr> <td width=70><span class="sub_caption2"><b>' . constant($game->sprache("TEXT41")) . '</b></span></td> <td width=150><span class="sub_caption2"><b><img src="http://web.icq.com/whitepages/online?icq=' . $user['user_icq'] . '&img=5"> ' . $user['user_icq'] . '</b></span></td> </tr>'; } $game->out(' <table border=0 cellpadding=2 cellspacing=2 class="style_inner" width="95%"> <tr> <td width="70%"><span class="text_large">' . constant($game->sprache("TEXT42")) . '</td> <td width="30%"><span class="text_large">' . $rasse . '</td> </tr><tr> <td width="70%"><span class="text_large">' . constant($game->sprache("TEXT8")) . '</b></span></td> <td width="30%"><span class="text_large"><a href="' . parse_link('a=stats&a2=viewalliance&id=' . $alliance['alliance_id'] . '') . '"><span class="text_large">' . $alliance['alliance_tag'] . ' (' . $alliance['alliance_name'] . ')</a></span></td> </tr><tr> <td width="70%"><span class="text_large">' . constant($game->sprache("TEXT11")) . '</b></span></td> <td width="30%"><span class="text_large">' . $user['user_points'] . '</td> </tr><tr> <td width="70%"><span class="text_large">' . constant($game->sprache("TEXT19")) . '</b></span></td> <td width="30%"><span class="text_large">' . $planets['num'] . '</td> </tr><tr> <td width="70%"><span class="text_large">' . constant($game->sprache("TEXT43")) . '</b></span></td> <td width="30%"><span class="text_large">' . $user['user_honor'] . '</td> </tr><tr> <td width="70%"><span class="text_large">' . constant($game->sprache("TEXT88")) . '</b></span></td> <td width="30%"><span class="text_large">' . $user['num_auctions'] . '</td> </tr><tr> <td width="70%"><span class="text_large">' . constant($game->sprache("TEXT103")) . '</b></span></td> <td width="30%"><span class="text_large">' . $user['user_charted'] . ' / ' . $rawstar['rawnum'] . '</td> </tr><tr> <td width="70%"><span class="text_large">' . constant($game->sprache("TEXT104")) . '</b></span></td> <td width="30%"><span class="text_large">' . $user['user_first_contact'] . '</td> </tr><tr> <td width="70%"><span class="text_large">' . constant($game->sprache("TEXT105")) . '</b></span></td> <td width="30%"><span class="text_large">' . $user['user_settler_made'] . '</td> </tr><tr> <td width="70%"><span class="text_large">' . constant($game->sprache("TEXT106")) . '</b></span></td> <td width="30%"><span class="text_large">' . $user['user_settler_best'] . '</td> </tr><tr> <td width="70%"><span class="text_large">' . constant($game->sprache("TEXT44")) . '</b></span></td> <td width="30%"><span class="text_large">' . $status . '</td> </tr><span class="text_large">' . $icq . ' </table> </td></tr></table></td></tr> <tr> <td> <center> <span class="sub_caption"><b><a href="' . parse_link('a=messages&a2=newpost&receiver=' . $user['user_name'] . '') . '"><span style="color: white">' . constant($game->sprache("TEXT45")) . '</span></a> <a href="' . parse_link('a=user_diplomacy&suggest=' . $user['user_id'] . '') . '"><span style="color: white">' . constant($game->sprache("TEXT46")) . '</span></a></b> '); $game->out('</center></span></td> </tr> <tr><td align="center"><b><a onclick="Popup(this.href);return false" href="modules/auctions.popup.php?user='******'user_id'] . '">' . constant($game->sprache("TEXT89")) . '</a></b></td></tr><tr><td> </td></tr> </table><br> <table border=0 cellpadding=2 cellspacing=2 width="85%" class="style_outer"> <tr> <td><span class="sub_caption">' . constant($game->sprache("TEXT47")) . '</span></td> </tr> <tr> <td> <table border=0 cellpadding=2 cellspacing=2 width="100%" class="style_inner"> <tr> <td width="33%" align="center"><b>' . constant($game->sprache("TEXT48")) . '</b></td> <td width="33%" align="center"><b>' . constant($game->sprache("TEXT49")) . '</b></td> <td width="33%" align="center"><b>' . constant($game->sprache("TEXT50")) . '</b></td> </tr> '); $user_id = $game->player['user_id']; $historyqry = $db->query('SELECT * FROM userally_history WHERE user_id = "' . $user['user_id'] . '"'); while (($history = $db->fetchrow($historyqry)) == true) { $game->out('<tr><td align="center">' . get_alliance_name($history['alliance_id']) . '</td><td align="center">' . date('d.m.y H:i', $history['join_date']) . '</td><td align="center">' . ($history['leave_date'] == 0 ? '-' : '' . date('d.m.y H:i', $history['leave_date']) . '') . '</td></tr>'); } $historyqry2 = $db->query('SELECT * FROM userally_history WHERE user_id = "' . $user['user_id'] . '"'); if (($history2 = $db->fetchrow($historyqry2)) != true) { $game->out('<tr><td align="center"></td><td align="center">' . constant($game->sprache("TEXT51")) . '</td><td align="center"></td></tr>'); } $_link_image = '<a href="usermap.php?user='******'user_name'] . '&size=6&map" target=_blank><img src="usermap.php?user='******'user_name'] . '&size=1" border=0></a>'; $game->out(' </table> </td> </tr> </table><br> <table border=0 cellpadding=2 cellspacing=2 width="85%" class="style_outer"> <tr> <td><span class="sub_caption">' . constant($game->sprache("TEXT52")) . '</span></td> </tr> <tr> <td> <table border=0 cellpadding=2 cellspacing=2 width="100%" class="style_inner"> <tr> <td align="center">' . $_link_image . '</td> </tr> </table> </td> </tr> </table> <br> <table border=0 cellpadding=2 cellspacing=2 width="85%" class="style_outer"> <tr> <td><span class="sub_caption">' . constant($game->sprache("TEXT53")) . '</span></td> </tr>'); $game->out(' <tr> <td> <table border=0 cellpadding=2 cellspacing=2 width="100%" class="style_inner"> <tr> <td width=80> <b>' . constant($game->sprache("TEXT69")) . '</td><td width=200><b>' . constant($game->sprache("TEXT18")) . '</td><td width=50><b>' . constant($game->sprache("TEXT11")) . '</td><td width=50><b>' . constant($game->sprache("TEXT55")) . ' </td> </tr>'); // Player is a developer? No FOW // Players are in the same ally? No FOW // BUT: the player IS in an alliance! if ($game->player['user_auth_level'] == STGC_DEVELOPER || $game->player['user_alliance'] != 0 && $game->player['user_alliance'] == $user['user_alliance'] && $game->player['user_alliance_rights3'] == 1) { $sql_pl = 'SELECT pl.*, sys.system_x, sys.system_y FROM (planets pl) LEFT JOIN (starsystems sys) on sys.system_id = pl.system_id WHERE pl.planet_owner="' . $user['user_id'] . '" ORDER BY pl.planet_name'; } else { $sql_pl = 'SELECT pl.*, sys.system_x, sys.system_y FROM (planets pl) INNER JOIN (starsystems sys) USING (system_id) INNER JOIN (starsystems_details sd) ON pl.system_id = sd.system_id AND sd.user_id = ' . $game->player['user_id'] . ' WHERE pl.planet_owner = "' . $user['user_id'] . '" GROUP BY pl.planet_id ORDER BY pl.planet_name'; } $planetquery = $db->query($sql_pl); $numero_righe = $db->num_rows($planetquery); if ($numero_righe == 0) { $game->out('<td> --- </td><td> --- </td><td> --- </td><td> --- </td></tr>'); } else { while (($planet = $db->fetchrow($planetquery)) == true) { $game->out('<td>' . $game->get_sector_name($planet['sector_id']) . ':' . $game->get_system_cname($planet['system_x'], $planet['system_y']) . ':' . ($planet['planet_distance_id'] + 1) . '</td><td><a href="' . parse_link('a=tactical_cartography&planet_id=' . encode_planet_id($planet['planet_id'])) . '">'); if ($planet['planet_name'] == "") { $planet['planet_name'] = "(<i>" . constant($game->sprache("TEXT40")) . "</i>)"; } $game->out($planet['planet_name'] . '</a></td><td>' . $planet['planet_points'] . '</td><td>' . strtoupper($planet['planet_type']) . '</td></tr>'); } } $game->out('</td></tr></table> </td></tr></table> <br> <table border=0 cellpadding=2 cellspacing=2 width="85%" class="style_outer"> <tr> <td><span class="sub_caption">' . constant($game->sprache("TEXT56")) . '</span></td> </tr> <tr> <td> <table border=0 cellpadding=2 cellspacing=2 width="100%" class="style_inner"> <tr> <td width=120> <b>' . constant($game->sprache("TEXT18")) . '</b></td><td width=70><b>' . constant($game->sprache("TEXT11")) . '</b></td><td width=70><b>' . constant($game->sprache("TEXT19")) . '</b></td><td width=70><b>' . constant($game->sprache("TEXT43")) . '</b></td><td width=80><b>' . constant($game->sprache("TEXT57")) . '</b> </td> </tr>'); $sql = 'SELECT d.*, u1.user_name AS user1_name, u1.user_alliance AS user1_aid, u1.user_points AS user1_points, u1.user_planets AS user1_planets, u1.user_honor AS user1_honor, a1.alliance_tag AS user1_atag, u2.user_name AS user2_name, u2.user_alliance AS user2_aid, u2.user_points AS user2_points, u2.user_planets AS user2_planets, u2.user_honor AS user2_honor, a2.alliance_tag AS user2_atag FROM (user_diplomacy d) INNER JOIN (user u1) ON u1.user_id = d.user1_id LEFT JOIN (alliance a1) ON a1.alliance_id = u1.user_alliance INNER JOIN (user u2) ON u2.user_id = d.user2_id LEFT JOIN (alliance a2) ON a2.alliance_id = u2.user_alliance WHERE d.user1_id = ' . $user['user_id'] . ' OR d.user2_id = ' . $user['user_id']; if (!($q_diplomacy = $db->query($sql))) { message(DATABASE_ERROR, 'Could not query diplomacy private data'); } while ($diplomacy = $db->fetchrow($q_diplomacy)) { $opid = $diplomacy['user1_id'] == $user['user_id'] ? 2 : 1; if ($diplomacy['accepted']) { $game->out('<tr><td><a href="' . parse_link('a=stats&a2=viewplayer&id=' . $diplomacy['user' . $opid . '_id']) . '">' . $diplomacy['user' . $opid . '_name'] . '</a>' . ($diplomacy['user' . $opid . '_aid'] ? ' [<a href="' . parse_link('a=stats&a2=viewalliance&id=' . $diplomacy['user' . $opid . '_aid']) . '">' . $diplomacy['user' . $opid . '_atag'] . '</a>]' : '') . '</td><td>' . $diplomacy['user' . $opid . '_points'] . '</td><td>' . $diplomacy['user' . $opid . '_planets'] . '</td><td>' . $diplomacy['user' . $opid . '_honor'] . '</td><td>' . gmdate('d.m.Y', $diplomacy['date']) . '</td></tr>'); } } $game->out(' </table> </td> </tr> </table>'); $user['user_signature'] = strip_tags($user['user_signature']); $user['user_signature'] = str_replace("<script", "<!--", $user['user_signature']); $user['user_signature'] = str_replace("</script>", "-->", $user['user_signature']); $user['user_signature'] = str_replace("javascript", "", $user['user_signature']); $game->out('<br> <table border=0 cellpadding=2 cellspacing=2 width="85%" class="style_outer"> <tr> <td><span class="sub_caption">' . constant($game->sprache("TEXT58")) . '</span></td> </tr> <tr> <td> <table border=0 cellpadding=2 cellspacing=2 width="100% class="style_inner"> <tr> <td width=350><br>' . stripslashes(nl2br($user['user_signature'])) . '</td> </tr> </table> </td> </tr> </table> <br> <table border=0 cellpadding=2 cellspacing=2 width="85%" class="style_outer"> <tr> <td><span class="sub_caption">' . constant($game->sprache("TEXT59")) . '</span></td> </tr> <tr> <td align="center"> <table border=0 cellspacing=2 cellpadding=2 width="100%" class="style_inner"> <tr height=15> <td width=150 align="center"> <b>' . $user['user_gallery_name_1'] . '</b> </td> <td width=150 align="center"> <b>' . $user['user_gallery_name_2'] . '</b> </td> </tr> <tr height=100> <td width=150 align="center"> <a href="gallery.php?f=gallery/img_' . $user['user_id'] . '_1.img" target=image onmouseover="return overlib(\'' . $user['user_gallery_description_1'] . '\', CAPTION, \'' . $user['user_gallery_name_1'] . '\', WIDTH, 400, ' . OVERLIB_STANDARD . ');" onmouseout="return nd();">' . GiveThumb('gallery/img_' . $user['user_id'] . '_1.img') . '</a> </td> <td width=150 align="center"> <a href="gallery.php?f=gallery/img_' . $user['user_id'] . '_2.img" target=image onmouseover="return overlib(\'' . $user['user_gallery_description_2'] . '\', CAPTION, \'' . $user['user_gallery_name_2'] . '\', WIDTH, 400, ' . OVERLIB_STANDARD . ');" onmouseout="return nd();">' . GiveThumb('gallery/img_' . $user['user_id'] . '_2.img') . '</a> </td> </tr> <tr height=20><td> </td><td> </td></tr> <tr height=15> <td width=150 align="center"> <b>' . $user['user_gallery_name_3'] . '</b> </td> <td width=150 align="center"> <b>' . $user['user_gallery_name_4'] . '</b> </td> </tr> <tr height=100> <td width=150 align="center"> <a href="gallery.php?f=gallery/img_' . $user['user_id'] . '_3.img" target=image onmouseover="return overlib(\'' . $user['user_gallery_description_3'] . '\', CAPTION, \'' . $user['user_gallery_name_3'] . '\', WIDTH, 400, ' . OVERLIB_STANDARD . ');" onmouseout="return nd();">' . GiveThumb('gallery/img_' . $user['user_id'] . '_3.img') . '</a> </td> <td width=150 align="center"> <a href="gallery.php?f=gallery/img_' . $user['user_id'] . '_4.img" target=image onmouseover="return overlib(\'' . $user['user_gallery_description_4'] . '\', CAPTION, \'' . $user['user_gallery_name_4'] . '\', WIDTH, 400, ' . OVERLIB_STANDARD . ');" onmouseout="return nd();">' . GiveThumb('gallery/img_' . $user['user_id'] . '_4.img') . '</a> </td> </tr> <tr height=20><td> </td><td> </td></tr> <tr height=15> <td width=150 align="center" colspan="2"> <b>' . $user['user_gallery_name_5'] . '</b> </td> </tr> <tr height=100> <td width=150 align="center" colspan="2"> <a href="gallery.php?f=gallery/img_' . $user['user_id'] . '_5.img" target=image onmouseover="return overlib(\'' . $user['user_gallery_description_5'] . '\', CAPTION, \'' . $user['user_gallery_name_5'] . '\', WIDTH, 400, ' . OVERLIB_STANDARD . ');" onmouseout="return nd();">' . GiveThumb('gallery/img_' . $user['user_id'] . '_5.img') . '</a> </td> </tr> </table> </td> </tr> </table>'); } } }
function display_gallery() { global $game, $RACE_DATA, $ACTUAL_TICK; if (!empty($message)) { $game->out('<center><span class="sub_caption">' . $message . '</span></center><br>'); } if (isset($_REQUEST['mesg'])) { $_REQUEST['mesg'] = stripslashes($_REQUEST['mesg']) . '<br><br>'; } else { $_REQUEST['mesg'] = ''; } $game->out('<center><table border=0 cellspacing=2 cellpadding=2 width=300 class="style_outer"> <tr><td> <span class="sub_caption2"><center>' . $_REQUEST['mesg'] . '</center></span> <span class="sub_caption2">' . constant($game->sprache("TEXT95")) . '</span><br><br> <center><table border=0 cellspacing=0 cellpadding=0 class="style_inner"> <tr height=15><td width=150><center><b>' . $game->player['user_gallery_name_1'] . '</b></td><td width=150><center><b>' . $game->player['user_gallery_name_2'] . '</b></td></tr> <tr height=100><td width=150><center><a href="gallery.php?f=gallery/img_' . $game->player['user_id'] . '_1.img" target=image onmouseover="return overlib(\'' . $game->player['user_gallery_description_1'] . '\', CAPTION, \'' . $game->player['user_gallery_name_1'] . '\', WIDTH, 400, ' . OVERLIB_STANDARD . ');" onmouseout="return nd();">' . GiveThumb('gallery/img_' . $game->player['user_id'] . '_1.img') . '</a> </td><td width=150><center><a href="gallery.php?f=gallery/img_' . $game->player['user_id'] . '_2.img" onmouseover="return overlib(\'' . $game->player['user_gallery_description_2'] . '\', CAPTION, \'' . $game->player['user_gallery_name_2'] . '\', WIDTH, 400, ' . OVERLIB_STANDARD . ');" onmouseout="return nd();">' . GiveThumb('gallery/img_' . $game->player['user_id'] . '_2.img') . '</a></td></tr> <tr height=15><td width=150><center>[<a href="' . parse_link('a=settings&view=gallery&rm_img=1') . '">' . constant($game->sprache("TEXT96")) . '</a>] [<a href="' . parse_link('a=settings&view=gallery&avatar_img=1') . '">' . constant($game->sprache("TEXT97")) . '</a>]</center></td><td width=150><center>[<a href="' . parse_link('a=settings&view=gallery&rm_img=2') . '">' . constant($game->sprache("TEXT96")) . '</a>] [<a href="' . parse_link('a=settings&view=gallery&avatar_img=2') . '">' . constant($game->sprache("TEXT97")) . '</a>]</center></td></tr> <tr height=20><td> </td><td> </td></tr> <tr height=15><td width=150><center><b>' . $game->player['user_gallery_name_3'] . '</b></td><td width=150><center><b>' . $game->player['user_gallery_name_4'] . '</b></td></tr> <tr height=100><td width=150><center><a href="gallery.php?f=gallery/img_' . $game->player['user_id'] . '_3.img" onmouseover="return overlib(\'' . $game->player['user_gallery_description_3'] . '\', CAPTION, \'' . $game->player['user_gallery_name_3'] . '\', WIDTH, 400, ' . OVERLIB_STANDARD . ');" onmouseout="return nd();">' . GiveThumb('gallery/img_' . $game->player['user_id'] . '_3.img') . '</a></td><td width=150><center><a href="gallery.php?f=gallery/img_' . $game->player['user_id'] . '_4.img" onmouseover="return overlib(\'' . $game->player['user_gallery_description_4'] . '\', CAPTION, \'' . $game->player['user_gallery_name_4'] . '\', WIDTH, 400, ' . OVERLIB_STANDARD . ');" onmouseout="return nd();">' . GiveThumb('gallery/img_' . $game->player['user_id'] . '_4.img') . '</a></td></tr> <tr height=15><td width=150><center>[<a href="' . parse_link('a=settings&view=gallery&rm_img=3') . '">' . constant($game->sprache("TEXT96")) . '</a>] [<a href="' . parse_link('a=settings&view=gallery&avatar_img=3') . '">' . constant($game->sprache("TEXT97")) . '</a>]</center></td><td width=150><center>[<a href="' . parse_link('a=settings&view=gallery&rm_img=4') . '">' . constant($game->sprache("TEXT96")) . '</a>] [<a href="' . parse_link('a=settings&view=gallery&avatar_img=4') . '">' . constant($game->sprache("TEXT97")) . '</a>]</center></td></tr> <tr height=30><td> </td><td> </td></tr> </table><table border=0 cellspacing=0 cellpadding=0 class="style_inner"> <tr height=15><td width=150><center><b>' . $game->player['user_gallery_name_5'] . '</b></td></tr> <tr height=100><td width=150><center><a href="gallery.php?f=gallery/img_' . $game->player['user_id'] . '_5.img" onmouseover="return overlib(\'' . $game->player['user_gallery_description_5'] . '\', CAPTION, \'' . $game->player['user_gallery_name_5'] . '\', WIDTH, 400, ' . OVERLIB_STANDARD . ');" onmouseout="return nd();">' . GiveThumb('gallery/img_' . $game->player['user_id'] . '_5.img') . '</a></td></tr> <tr height=15><td width=150><center>[<a href="' . parse_link('a=settings&view=gallery&rm_img=5') . '">' . constant($game->sprache("TEXT96")) . '</a>] [<a href="' . parse_link('a=settings&view=gallery&avatar_img=5') . '">' . constant($game->sprache("TEXT97")) . '</a>]</center></td></tr> </table> </center> </td></tr></table></center> '); $game->out(' <form enctype="multipart/form-data" action="' . parse_link('a=settings&view=gallery') . '" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="400000" /> <table align="center" border="0" cellpadding="2" cellspacing="2" width="400" class="style_outer"> <tr> <td width="400"><span class="sub_caption2">' . constant($game->sprache("TEXT98")) . '</span> <table border=0 cellpadding=0 cellspacing=0 class="style_inner" width="100%"> <tr><td>' . constant($game->sprache("TEXT99")) . '</td><td><input type="text" name="name" size="16" class="field_nosize" value=""></td></tr> <tr><td>' . constant($game->sprache("TEXT100")) . '</td><td><input type="text" name="description" size="30" class="field_nosize" value=""></td></tr> <tr><td>' . constant($game->sprache("TEXT101")) . '</td><td><select name="slot" class="Select" size="1"> <option value="1">' . $game->player['user_gallery_name_1'] . '</option> <option value="2">' . $game->player['user_gallery_name_2'] . '</option> <option value="3">' . $game->player['user_gallery_name_3'] . '</option> <option value="4">' . $game->player['user_gallery_name_4'] . '</option> <option value="5">' . $game->player['user_gallery_name_5'] . '</option> </select> </td></tr> <tr><td>' . constant($game->sprache("TEXT102")) . '</td><td><input class="field_nosize" type="file" name="img_file" accept="jpg/jpeg" maxlength="400000"></td></tr> <tr><td colspan=2><br><center><input class="button" style="width: 100;" type="submit" name="submit" value="' . constant($game->sprache("TEXT103")) . '"></center> </td></tr> </table> </td> </tr> </table> </form> '); }