PHP Kod: Kodu kopyalamak için üzerine çift tıklayın!
// Show information about the poster of this message. //edit by bugra
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" align="left" width="20%" rowspan="2" style="overflow: hidden;" class="', $message['alternate'] == 0 ? 'windowbg9' : 'windowbg8', '"><fieldset>
<legend><b>Üye Bilgileri</b></legend>
<b><Center>', $message['member']['link'], '</Center></b>
<div class="smalltext">';
// Show the member's custom title, if they have one.
if (isset($message['member']['title']) && $message['member']['title'] != '')
echo '<fieldset>
<legend><b>Takma Ad</b></legend>
', $message['member']['title'], '<br /></fieldset>';
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']))
if (empty($message['member']['avatar']['image']))
echo '<Center><div style="overflow: auto; width: 100%;"><img src="' . $settings['images_url'] . '/autoavatar.jpg" alt="Avatar Yok" title="Avatar Yok" border="0" /></div><br /></Center>';
else
echo '<Center><div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'],'</div><br /></Center>';
// Show the member's primary group (like 'Administrator') if they have one.
if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '<fieldset>
<legend><b>Grup Adı</b></legend>
', $message['member']['group'], '<br /></fieldset>';
// Don't show these things for guests.
if (!$message['member']['is_guest'])
{
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '<fieldset>
<legend><b>Grup Adı</b></legend>
', $message['member']['post_group'], '<br /></Center></fieldset>';
echo '
', $message['member']['group_stars'], '<br />';
// Show the member's ID
echo '<fieldset>
<legend><b>Üye ID</b></legend>
Üye ID: ', $message['member']['id'], '<br />
</fieldset>';
// Show the member's location
echo '<fieldset>
<legend><b>Nerden</b></legend>
Nerden: ', $message['member']['location'], '<br /></fieldset>';
// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '')
echo '<fieldset>
<legend><b>Cinsiyet</b></legend>
', $txt[231], ': ', $message['member']['gender']['image'], '<br /></fieldset>';
if (!empty($message['member']['options']['takim']))
echo '<fieldset>
<legend><b>Takım</b></legend>
Takımım: <img src="' . $settings['images_url'] . '/takim/', $message['member']['options']['takim']['value'], '.gif" width="12" alt="', $context['member']['options']['takim'], '" /><br /></fieldset>';
// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '<fieldset>
<legend><b>Kişisel Mesaj</b></legend>
', $message['member']['blurb'], '<br />
<br /></fieldset>';
// date + time registered
echo '<fieldset>
<legend><b>Kayıt Tarihi</b></legend>
Kayıt tarihi ', $message['member']['registered'], '<br /></fieldset>
';
// This shows the popular messaging icons.
echo '<fieldset>
<legend><b>İletişim</b></legend><Center><b>Site Dışı:</b><br>
', $message['member']['icq']['link'], '
', $message['member']['msn']['link'], '
', $message['member']['aim']['link'], '
', $message['member']['yim']['link'], '<br />';
// Show the profile, website, email address, and personal message buttons.
if ($settings['show_profile_buttons'])
{
// Don't show an icon if they haven't specified a website.
if ($message['member']['website']['url'] != '')
echo '
<a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
style="color: #007700">. $txt[515] . '" border="0" />' : $txt[515]), '</a>';
// Don't show the email address if they want it hidden.
if (empty($message['member']['hide_email']))
echo '
<a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a></Center></fieldset>';
// Don't show the profile button if you're not allowed to view the profile.
if ($message['member']['can_view_profile'])
echo '<fieldset>
<legend><b>İletişim</b></legend><Center><b>Site İçi:</b><br>
<a href="', $message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="' . $txt[27] . '" title="' . $txt[27] . '" border="0" />' : $txt[27]), '</a>';
// Since we know this person isn't a guest, you *can* message them.
if ($context['can_send_pm'])
echo '
<a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['label'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . $message['member']['online']['label'] . '" border="0" />' : $message['member']['online']['label'], '</a>';
// Show online and offline buttons? by rallyproco
if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
echo '
', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online']['image_href'] . '" alt="' . $message['member']['online']['text'] . '" border="0" style="margin-top: 2px;" />' : $message['member']['online']['text'], $context['can_send_pm'] ? '</a>' : '', $settings['use_image_buttons'] ? '<span class="smalltext"></span> ' : '', '';
echo ' </fieldset> ';
}
}
// Is karma display enabled? Total or +/-? +rep by rallyproco
if ($modSettings['karmaMode'] == '1')
echo '
<br />
', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '<br />';
elseif ($modSettings['karmaMode'] == '2')
echo '<fieldset>
<legend><b>Rep</b></legend><Center>
', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '<br />';
if($message['member']['karma']['good'] <= 5) {
echo ' <img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 10) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 20) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 35) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 55) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 80) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 110) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}elseif ($message['member']['karma']['good'] <= 145) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 185) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 200) {
echo'<img src="' . $settings['images_url'] . '/rer2.gif.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 240) {
echo'<img src="' . $settings['images_url'] . '/rep2.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 290) {
echo'<img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 345) {
echo'<img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 405) {
echo'<img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 470) {
echo'<img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 620) {
echo'<img src="' . $settings['images_url'] . '/rep2.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 710) {
echo'<img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 810) {
echo'<img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 920) {
echo'<img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 1040) {
echo'<img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 1160) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 1300) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 1450) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 1560) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 1690) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 1800) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 2000) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
elseif ($message['member']['karma']['good'] <= 5000) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" />';
}
echo'</Center></fieldset>';
// Is this user allowed to modify this member's karma?
if ($message['member']['karma']['allow'])
echo '<fieldset><legend><b>Terazi</b></legend><Center>
<a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '">', $modSettings['karmaApplaudLabel'], '</a>
<a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a><br /></Center></fieldset>';
// Show the report. by rallyproco
if ($context['can_report_moderator'])
echo '<fieldset><legend><b>Diğer</b></legend>
<a href="', $scripturl, '?action=reporttm;topic=', $context['current_topic'], '.', $message['counter'], ';msg=', $message['id'], '"><img src="' ,$settings['images_url'], '/report.gif" alt="' . $txt['rtm1'] . '" /></a></fieldset>';
// Show how many posts they have made.
echo '<fieldset>
<legend><b>Mesaj Sayısı</b></legend><fieldset>
<b>Sayı:</b> ', $message['member']['posts'], '<br />
</fieldset>';
//Bar of Experience Mod
$bar_posts = $message['member']['posts'];
barExp();
if (!empty($modSettings['bar_exp_enabled']))
$bar_exper = '<br /><br />' . $bar_exps . '<br />';
else
$bar_exper = '';
echo '<Center>
<fieldset><b>Grafik:</b>', $bar_exper, '<br /></Center></fieldset>';