$gender = "<img src='{$florensia->layer_rel}/gender_male.gif' border='0' alt='male' style='height:12px;'>"; } else { $gender = "<img src='{$florensia->layer_rel}/gender_female.gif' border='0' alt='female' style='height:12px;'>"; } $server = "<a href='{$florensia->root}/statistics/" . $florensia->escape($character->data['server']) . "'>" . $florensia->escape($character->data['server']) . "</a>"; if ($character->data['guildid']) { $guild = "<a href='" . $florensia->outlink(array("guilddetails", $character->data['guildid'], $character->data['server'], $character->data['guild'])) . "'>" . $florensia->escape($character->data['guild']) . "</a>"; } elseif ($character->data['guild']) { $guild = $florensia->escape($character->data['guild']); } else { unset($guild); } if ($guild && $character->data['guildgrade']) { $guild .= " " . class_character::guildgrade($character->data['guildgrade']); } $characterlist .= "\n\t <div class='small shortinfo_" . $florensia->change() . "'>\n <table style='width:100%'><tr>\n <td style='width:50px; text-align:right;'>" . intval($character->data['levelland']) . " <img src='{$florensia->layer_rel}/land.gif' style='height:11px;' alt='Land'></td>\n <td style='width:50px; padding-right:10px; text-align:right;'>" . intval($character->data['levelsea']) . " <img src='{$florensia->layer_rel}/sealv.gif' style='height:11px;' alt='Sea'></td>\n <td style='width:20px;'>{$guildgrade}</td>\n <td>{$gender} " . $character->get_link() . "</td>\n <td style='width:160px'>" . $florensia->escape($character->data['jobclass']) . "</td>\n <td style='width:150px'>{$guild}</td>\n <td style='width:90px'>{$server}</td>\n <td style='text-align:right; padding-right:3px; width:130px'>" . $flolang->sprintf($flolang->character_lastupdate, timetamp2string(date("U") - $character->data['lastupdate'], "m")) . "</td>\n </tr></table>\n </div>"; } if (!strlen($characterlist)) { $characterlist = "<div class='small shortinfo_" . $florensia->change() . "' style='text-align:center;'>{$flolang->character_userprofile_overview_verifiedlist_empty}</div>"; } $qr = MYSQL_QUERY("SELECT charname, timestamp, accepted, moderated, comment FROM flobase_character_verification as v, flobase_character as c WHERE userid='{$userid}' AND v.characterid=c.characterid ORDER BY timestamp DESC"); unset($requestlist); while ($r = MYSQL_FETCH_ARRAY($qr)) { list($moduserid, $modtimestamp) = explode("-", $r['moderated']); unset($status, $moderated, $comment); switch (intval($r['accepted'])) { case -1: $status = $flolang->character_userprofile_overview_requestlist_pending; break; case 0: $c = "-";
#if ($character->data['forceupdate']<0 || $character->data['lastupdate']<bcsub(date("U"), 60*60*24*3)) { if ($character->data['forceupdate'] < 0 || $character->data['firsterror'] != 0) { $avatar_width = 300; $avatar_height = 54; $character_avatar = "\n <div class='small subtitle warning' style='font-weight:normal; padding: 3px; float:right; width:{$avatar_width}px; background-image:url({$florensia->layer_rel}/gushiptes.png); background-repeat:no-repeat; background-position:120px 5px;'>\n <div style='padding-left:5px; padding-top:55px;'>{$flolang->character_notice_bannedorabandoned}</div>\n </div>"; } elseif ($character->data['avatar_size']) { list($avatar_width, $avatar_height) = explode("x", $character->data['avatar_size']); $ifile = "pictures/character_avatars/{$character->data['characterid']}"; $ifile = "{$florensia->root}/{$ifile}?" . filectime("{$florensia->root_abs}/{$ifile}"); $character_avatar = "<div class='small subtitle' style='float:right; width:{$avatar_width}px; height:{$avatar_height}px; background-image:url({$ifile}); background-repeat:no-repeat; background-position:center bottom;'></div>"; } else { $avatar_width = 300; $avatar_height = 400; $character_avatar = "<div class='small subtitle' style='float:right; width:{$avatar_width}px; height:{$avatar_height}px; background-image:url({$florensia->layer_rel}/placeholder/placeholder_characterphoto_" . rand(1, 121) . ".png); background-repeat:no-repeat; background-position:center bottom;'></div>"; } $charoverview = "\n <div class='small' style='float:right; font-weight:bold;'>{$verifiednotice}</div>\n {$tabbar['tabbar']}\n {$character_avatar}\n <div style='min-height:{$avatar_height}px; margin-right:" . bcadd($avatar_width, 15) . "px;'>\n <a name='details'></a>\n <div name='details'>\n <div class='subtitle small' style='padding:10px; margin-bottom:15px; min-height:160px;'>\n {$archivimage}\n {$rankingoverview}\n <div>\n <table style='width:100%'>\n <tr>\n <td style='width:150px'>{$flolang->character_title_charname}</td>\n <td>" . $character->get_link() . " ({$gender})</td>\n </tr>\n <tr>\n <td>{$flolang->character_title_landlevel}</td>\n <td>" . intval($character->data['levelland']) . " <img src='{$florensia->layer_rel}/land.gif' style='height:11px;' alt='Land'></td>\n </tr>\n <tr>\n <td>{$flolang->character_title_sealevel}</td>\n <td>" . intval($character->data['levelsea']) . " <img src='{$florensia->layer_rel}/sealv.gif' style='height:11px;' alt='Sea'></td>\n </tr>\n <tr>\n <td>{$flolang->character_title_jobclass}</td>\n <td>" . $florensia->escape($character->data['jobclass']) . "</td>\n </tr>\n <tr>\n <td>{$flolang->character_title_guild}</td>\n <td>{$guild}</td>\n </tr>\n <tr>\n <td>{$flolang->character_title_server}</td>\n <td><a href='" . $florensia->outlink(array('statistics', $florensia->escape($character->data['server']))) . "'>" . $florensia->escape($character->data['server']) . "</a></td>\n </tr>\n {$lastupdate}\n </table>\n </div>\n \n {$characterforceupdateform}\n </div>\n " . $florensia->adsense(0) . "\n {$lastactivity}\n </div>\n {$charactersettings}\n </div>\n {$tabbar['jscript']}"; } /* <div class='subtitle' style='padding:10px; margin-bottom:15px; margin-right:315px;'> <div style='margin:auto; height:164px; width:279px; background-image:url({$florensia->layer_rel}/character_inv.png); background-position:center; background-repeat:no-repeat;'></div> </div> */ $content = "\n <div class='subtitle' style='margin-bottom:10px;'><a href='{$florensia->root}/characterdetails'>{$flolang->character_sitetitle}</a> > " . $florensia->escape($character->data['charname']) . "</div>\n <div class='subtitle' style='text-align:center; margin-bottom:15px;'>{$flolang->character_jumpto} " . $florensia->quicksearch() . "</div>\n {$charoverview}\n "; $florensia->sitetitle("Characterdetails"); $florensia->sitetitle($florensia->escape($character->data['charname'])); $florensia->output_page($content); } else { foreach ($getcharacter as $charname) { if ($charname == "0") { continue; }