Hoşgeldiniz, Ziyaretçi.Lütfen giriş yapın veya kayıt olun.
E-posta adresinize aktivasyon iletisi gelmediyse lütfen buraya tıklayın.

Kullanıcı adınızı, parolanızı ve aktif kalma süresini giriniz
Ana Sayfa Forum Arama Giriş Kayıt Ol
Simple Machines Forum Türkçe Yardım Sitesi > Simple Machines Forum Temaları  > Temalarınızı kendinize göre düzenleyin > Konu: Konuyu Yazan Kisi
Sayfa: [1]   Aşağı git
« önceki sonraki »
Bu Konuyu GönderYazdır
Gönderen Konu: Konuyu Yazan Kisi  (Okunma Sayısı 1549 defa)
mndrk
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 11


Konuyu Yazan Kisi
« : Aralık 13, 2007, 11:30:09 ÖÖ »

Arkadaslar Konuyu YAzan Kisi Gorunmuyo.
Son Kurdugum Modlar.
TEsekkür Modu ve Boardicon.
Kayıtlı
inan
Jr. Member
**
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 1563



Ynt: Konuyu Yazan Kisi
« Yanıtla #1 : Aralık 13, 2007, 12:33:48 ÖS »

son kurduğun paketlerle alakalı değil style.css deki kodlarla alakalı.
Kod:
/* Normal, standard links. */
a:link
{
color: #476C8E;
text-decoration: none;
}
a:visited
{
color: #476C8E;
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}

bu başlıkların altındaki renk kodlarını düzenle...
Kayıtlı

smfdestek sitesi:
www.rapsmf.com
BİZİMLE ÇALIŞMAK İSTERMİSİNİZ...
iletişim  : inan_diyadin@hotmail.com
Tema yapmak isteyen ama yapamıyan  Smiley Bana ulaşsın...
MSN 'den SMF Destek Vermiyorum.Ekleyip SEnkimsin Diyede Sormayın!!!
mndrk
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 11


Ynt: Konuyu Yazan Kisi
« Yanıtla #2 : Aralık 14, 2007, 11:08:45 ÖÖ »

Yok OLmadi Verdigin css Kodlari Ana Sayfadaki Mesaj Renkleriydi Konu Basliklari vs vs.. Bende Gorunmuyo Degil o Kisim Silinmis.
Kayıtlı
inan
Jr. Member
**
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 1563



Ynt: Konuyu Yazan Kisi
« Yanıtla #3 : Aralık 14, 2007, 11:52:17 ÖÖ »

ha görünmüyor değil silinmiş. bu kodu koysan çıkar ben koyamam diyorsan boardindex.template.php ni ekle ben koyarım..

         <b> ', $message['member']['link'], ' </b>
Kayıtlı

smfdestek sitesi:
www.rapsmf.com
BİZİMLE ÇALIŞMAK İSTERMİSİNİZ...
iletişim  : inan_diyadin@hotmail.com
Tema yapmak isteyen ama yapamıyan  Smiley Bana ulaşsın...
MSN 'den SMF Destek Vermiyorum.Ekleyip SEnkimsin Diyede Sormayın!!!
mndrk
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 11


Ynt: Konuyu Yazan Kisi
« Yanıtla #4 : Aralık 15, 2007, 06:18:55 ÖÖ »

Buyur Arkadasim
Eklenti Ekleyemiyorum
Link :  www.sohbetciyim.net/bit.rar
Kayıtlı
inan
Jr. Member
**
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 1563



Ynt: Konuyu Yazan Kisi
« Yanıtla #5 : Aralık 15, 2007, 10:32:17 ÖÖ »

buyur..

Kod:
<?php

// Version: 1.1; BoardIndex



function template_main()

{

global $context, $settings, $options, $txt, $scripturl, $modSettings;

//istatistikler M.Uzun & Kudret 
echo '
<table border="0" width="100%" class="tborder" cellspacing="' 
, ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="titlebg"><span class="text">..::İstatistikler::..</td>
</tr><td width="100%" colspan="4" class="catbg" height="17" align="center"></td></tr>
<tr>
<tr class="windowbg2">
<td valign="middle" align="center" height="30"><b>
<!-- Tarih ve Saat Başlangıcı -->
<img src="http://www.sohbetciyim.net/forum/yildizz.gif"><span id="clock"> </span>
<SCRIPT LANGUAGE="JavaScript"><!--
var tarih = new Date();
var hours;
var minutes;
var seconds;
var timer=null;
function sClock()
{
hours   = tarih.getHours();
minutes = tarih.getMinutes();
seconds = tarih.getSeconds();
setTimeout("work();",1000);
}
function twoDigit(_v)
{
if(_v<10)_v="0"+_v;
return _v;
}
function work()
{
if (!document.layers && !document.all && !document.getElementById) return;
var runTime = new Date();
var shours = hours;
var sminutes = minutes;
var sseconds = seconds;
var years  = twoDigit(tarih.getFullYear());
var months = turkceAy(tarih.getMonth()+1);//twoDigit(tarih.getMonth()+1);
var days   = twoDigit(tarih.getDate());
sminutes=twoDigit(sminutes);
sseconds=twoDigit(sseconds);
shours  =twoDigit(shours);
movingtime = days+" "+months+" "+years+" "+ shours + ":" + sminutes +":"+sseconds;
document.getElementById("clock").innerHTML=movingtime;
if(++seconds>59)
{
seconds=0;
if(++minutes>59)
{
minutes=0;
if(++hours>23)
{
hours=0;
tarih.setDate(tarih.getDate()+1);
}
}
}
setTimeout("work();",1000);
}
function turkceAy(ay)
{
switch (ay){
case 1:return "Ocak";
case 2:return "Şubat";
case 3:return "Mart";
case 4:return "Nisan";
case 5:return "Mayıs";
case 6:return "Haziran";
case 7:return "Temmuz";
case 8:return "Ağustos";
case 9:return "Eylül";
case 10:return "Ekim";
case 11:return "Kasım";
case 12:return "Aralık";
}
}
sClock();
--></SCRIPT> <img src="http://www.sohbetciyim.net/forum/yildizz.gif">
<!-- Saat ve Tarih Kodu Bitişi --> 
</td>

</tr>
<tr class="windowbg2">
<td valign="middle" align="center" height="30"><b>
<img src="http://www.sohbetciyim.net/forum/yildizz.gif"> '
, $txt[490], ': ', $context['common_stats']['total_topics'], ' <img src="http://www.sohbetciyim.net/forum/yildizz.gif"> ', $txt[489], ': ', $context['common_stats']['total_posts'], ' <img src="http://www.sohbetciyim.net/forum/yildizz.gif"> ', $txt[488], ': <a href="', $scripturl, '?action=mlist">', $context['common_stats']['total_members'],  '</a></b> <img src="http://www.sohbetciyim.net/forum/yildizz.gif">


</td>

</tr>
<tr class="windowbg2">
<td valign="middle" align="center" height="30"><b>

<img src="http://www.sohbetciyim.net/forum/yildizz.gif">'
, $txt['totalTimeLogged1'];

         
// If days is just zero, don't bother to show it.
         
if ($context['user']['total_time_logged_in']['days'] > 0)
            echo 
$context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];

         
// Same with hours - only show it if it's above zero.
         
if ($context['user']['total_time_logged_in']['hours'] > 0)
            echo 
$context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];

         
// But, let's always show minutes - Time wasted here: 0 minutes ;).
         
echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'], ' <img src="http://www.sohbetciyim.net/forum/yildizz.gif">

</td>

</tr>
<tr class="windowbg2">
</table>'
;

// Full istatistikler ivan_ . . .
echo '<br><div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor"><tr>
<td width="100%" colspan="5" class="catbg" height="24">
<font color="#FFFFFF"><b>FuLL - TOP 10</b></font></td>  </tr>
<tr class="titlebg"><span class="smalltext">
<td width="18%"><span class="smalltext">Top 10 Mesaj</font></td>
<td width="18%"><span class="smalltext">Top 10 Karma</font></td>
<td width="18%"><span class="smalltext">Top 10 Konu </font></td>
<td width="32%"><span class="smalltext">Top 10 Popüler Konu</font></td>
<td width="14%"><span class="smalltext">Yeni Uyeler</font></td></tr>
<tr class="windowbg">
<td width="18%" valign="top"><table width="100%"><tr>
<td width="75%" class="windowbg2"><b><span class="smalltext"><u>Üye</u></font></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><b><u>Mesaj</u></b></td></tr><tr>'
;
foreach (
$context['top_posters'] as $poster)
{echo 
'
<td width="75%" class="windowbg2"><span class="smalltext"><img src="'
, $settings['images_url'], '/1top10.gif" />', $poster['link'], '</td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext">'
, $poster['num_posts'], '</td></tr>';  
}echo 
'</table></td>
<td width="18%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="75%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><b><u>Karma</u></b></td></tr><tr>'
;
foreach (
$context['karma'] as $poster)
{echo 
'
<td width="75%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/2top10.gif" />',$poster['link'], '</td>
<td width="25%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
,$poster['karma'], '</center></td></tr>';
}echo 
'</table></td>
<td width="18%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="75%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><center><b><u>Konu</u></b></center></td></tr><tr>'
;
foreach (
$context['top_starters'] as $poster)
{echo 
'
<td width="75%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/3top10.gif" />', $poster['link'], '</td>
<td width="25%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
,$poster['num_topics'], '</center></td></tr>';
}echo 
'</table></td>
<td width="32%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="80%" class="windowbg2"><span class="smalltext"><b><u>Konu</u></b></td>
<td width="20%" class="windowbg2" align="right"><span class="smalltext"><center><b><u>Hit</u></b></center></td></tr><tr>'
;
foreach (
$context['top_topics_views'] as $topic)
{echo 
'
<td width="80%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/4top10.gif" />', $topic['link'], '</td>
<td width="20%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
, $topic['num_views'], '<img src="', $settings['images_url'], '/ivan_hit.gif" /></center></td></tr>';
}echo 
'</table></td>
<td width="14%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="100%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td></tr><tr>'
;
foreach (
$context['yeniuyeler'] as $poster)
{echo 
'
<td width="100%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/5top10.gif" />',$poster['link'], '</td></tr>';  
}echo 
'</table></td></tr>';
echo 
'<tr class="windowbg">
<td width="100%"colspan="5" height="0"><table width="100%"><tr>
<tr class="titlebg"><span class="smalltext">
<td width="32%"><span class="smalltext"><b><u>Yanitlanan Kategori</u></b></td>
<td width="28%"><span class="smalltext"><b><u>Son Mesaj</u></b></td>
<td width="7%"><span class="smalltext"><center><b><u>Hit</u></b></center></td>
<td width="15%"><span class="smalltext"><b><u>Gönderen</u></b></td>
<td width="18%"><b><span class="smalltext"><u>Tarih</u></b></td></tr> </table>
<table cellspacing="1" width="100%" cellpadding="0"  border="0"><tr>'
;
foreach (
$context['latest_posts'] as $post)
echo 
'
<td class="windowbg2" valign="top" width="32%"><span class="smalltext"><img src="'
, $settings['images_url'], '/6top10.gif" />', $post['board']['link'],  '</td>
<td class="windowbg2" valign="top" width="28%"><span class="smalltext"><img src="'
, $settings['images_url'], '/7top10.gif" /><a href="',$post['href'],'">', $post['short_subject'], '</td>
<td class="windowbg2" valign="top" width="8%"><span class="smalltext"><center>'
, $post['ivan_hit'], '<img src="', $settings['images_url'], '/ivan_hit.gif" /></center></td>
<td class="windowbg2" valign="top" width="15%"><span class="smalltext"><img src="'
, $settings['images_url'], '/8top10.gif" />', $post['poster']['link'],'</td>
<td class="windowbg2" valign="top" width="18%"><span class="smalltext"><img src="'
, $settings['images_url'], '/9top10.gif" />', $post['time'], '</td></tr>';
echo 
'</table></td></tr></table></div>';


// Show the news fader?  (assuming there are things to show...)

if ($settings['show_newsfader'] && !empty($context['fader_news_lines']))

{

echo '

'
;

}




// Show the "Board name      Topics  Posts    Last Post" header.

echo '

<div '
, $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>

   <table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor">

'
;



/* Each category in categories is made up of:

id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?),

new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down iamge),

and boards. (see below.) */

foreach ($context['categories'] as $category)

{

// Show the category's name, and let them collapse it... if they feel like it.

echo '



<tr>

<td colspan="6" class="catbg" height="23">'
;



// If this category even can collapse, show a link to collapse it.

if ($category['can_collapse'])

echo '

<div style="float: right">

<a href="'
, $category['collapse_href'], '">', $category['collapse_image'], '</a></div>';



echo '

'
, $category['link'], '

</td>

</tr><tr class="titlebg">

<td></td>

<td><font style="font-size: 8pt">'
, $txt[20], '</font></td>

<td width="22%" align="center"><font style="font-size: 8pt">'
, $txt[22], '</font></td>

<td width="6%" align="center"><font style="font-size: 8pt">'
, $txt[330], '</font></td>

<td width="6%" align="center"><font style="font-size: 8pt">'
, $txt[21], '</font></td>

<td width="11%" align="center"><font style="font-size: 8pt">'
, $txt[298], '</font></td>



</tr>

'
;



// Only if it's NOT collapsed..

if (!$category['is_collapsed'])

{

/* Each board in each category's boards has:

new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.),

children (see below.), link_children (easier to use.), children_new (are they new?),

topics (# of), posts (# of), link, href, and last_post. (see below.) */

foreach ($category['boards'] as $board)

{

echo '

<tr>

<td class="windowbg3" width="5%" align="center" valign="center">





'
;



// If the board is new, show a strong indicator.
            
if ($board['new'])
               echo 
'<img src="', $settings['images_url'], '/on_' . $board['id'] . '.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
            
// This board doesn't have new posts, but its children do.
            
elseif ($board['children_new'])
               echo 
'<img src="', $settings['images_url'], '/on2_' . $board['id'] . '.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
            
// No new posts at all!  The agony!!
            
else
               echo 
'<img src="', $settings['images_url'], '/off_' . $board['id'] . '.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />';


echo'





</td>

<td class="windowbg2" align="left">'
;



//anasayfada yeni butonu by rallyproco

if ($board['new'])

echo'

<a name="b'
, $board['id'], '"></a>

<b>'
, $board['link'], '</b> <img align="absmiddle" src="', $settings['images_url'], '/yeni.gif" border="0" />' , /*Board Viewers - by HarzeM*/($board['viewers'] > 0 ) ? '<span class="smalltext"> (<b>'.$board['viewers'] . '</b> ' . (($board['viewers'] > 1) ? $txt['board_viewers'] : $txt['board_viewer']) . ')</span>' : '' , '











<br><font style="font-size: 8pt">'
, $board['description'], '</font>';

else

echo'

<a name="b'
, $board['id'], '"></a>

<b>'
, $board['link'], '</b>' , /*Board Viewers - by HarzeM*/($board['viewers'] > 0 ) ? '<span class="smalltext"> (<b>'.$board['viewers'] . '</b> ' . (($board['viewers'] > 1) ? $txt['board_viewers'] : $txt['board_viewer']) . ')</span>' : '' , '











<br><font style="font-size: 8pt">'
, $board['description'], '</font>';

// Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...)

if (!empty($board['children']))

{

// Sort the links into an array with new boards bold so it can be imploded.

$children = array();

/* Each child in each board's children has:

id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */

$sayac=0;

foreach ($board['children'] as $child)

{







$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>'  . ' (' . $txt[335] . '' . $child['topics'] . '/' . $txt[336] . '' . $child['posts'] . ')';

//interaktif altbolum logosu by rallyproco



$children[] = $child['new'] ? '<img align="absmiddle" src="http://sohbetciyim.net/forum/offaltbj3.gif"/>' . $child['link'] . '' : '<img align="absmiddle" src="http://sohbetciyim.net/forum/offaltbj3.gif"/>' .$child['link'];

$sayac++;

}



echo '

<table><tr><td valign="top">

<span class="smalltext"><b>'
, $txt['parent_boards'], '</b>:<br/>';

for(
$sayac2 = 0 ; $sayac2 < ceil($sayac/2);$sayac2++)

echo 
$children[$sayac2], '<br/>';

echo 
'

</span></td><td width="30"> </td><td valign="top"><span class="smalltext"><br/>'
;

for(; 
$sayac2 < $sayac ; $sayac2++)

echo 
$children[$sayac2], '<br/>';

echo 
'

</span></td></tr></table>'
;

}



echo '

</td>



<td class="windowbg3" valign="middle" width="20%">

<span class="smalltext">'
;



/* The board's and children's 'last_post's have:

time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),

link, href, subject, start (where they should go for the first unread post.),

and member. (which has id, name, link, href, username in it.) */

if (!empty($board['last_post']['id']))

echo '

<font style="font-size: 9pt">'
, $txt['smf88'], ' <b>', $board['last_post']['link'], '</b></font><br />

<img src="'
, $settings['images_url'], '/post/', $board['last_post']['icon'], '.gif" alt="Message Icon" align="absmiddle" />

<b> '
, $message['member']['link'], ' </b>
<div style="float: right">

 '
, $txt[30], ' ', $board['last_post']['time'], '<a href="', $board['last_post']['href'], '"><img alt="Son Mesaja Git" align="absmiddle" src="', $settings['images_url'], '/newmark.gif" align="right" hspace="3" border="0" /></a></div>' ;

echo '

</span>

  </td>





<td class="windowbg2" valign="middle" align="center" width="4%">'
, $board['topics'], '</td>

<td class="windowbg2" valign="middle" align="center" width="4%">'
, $board['posts'], '</td><td class="windowbg2" valign="middle" align="center" width="8%">';

if (!empty($board['moderators']))

echo '

<div style="padding-top: 1px;" class="smalltext">

' 
, implode('<br/>', $board['link_moderators']), '</div></td>





 </tr>'
;

}

}

}



// Show the "New Posts" and "No New Posts" legend.

if ($context['user']['is_logged'])

{

echo '<br />

<tr class="titlebg" height="20">



<td colspan="6" align="right">'
;

// Show the mark all as read button?

if ($settings['show_mark_read'])

echo '

<center><a href="'
, $scripturl, '?action=markasread;sa=all;sesc=' . $context['session_id'] . '"><font style="font-size: 8pt">' , $txt[452], '</font></a></center>';

echo '

</td>

</tr>'
;

}



echo '

</table></div>'
;

/////////top10///////////
// Full istatistikler ivan_ . . .
echo '<br><div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor"><tr>
<td width="100%" colspan="5" class="catbg" height="24">
<font color="#FFFFFF"><b><center>TOP 10 KATEGORI</center></b></font></td>  </tr>
<tr class="titlebg"><span class="smalltext">
<td width="16%"><span class="smalltext">En çok Mesaj Atanlar</font></td>
<td width="16%"><span class="smalltext">En Çok Rep Alanlar</font></td>
<td width="26%"><span class="smalltext">En Çok Online Olanlar</font></td>
<td width="16%"><span class="smalltext">En Çok Konu Açanlar</font></td>
<td width="26%"><span class="smalltext">En Popüler konular</font></td></tr>
<tr class="windowbg">
<td width="16%" valign="top"><table width="100%"><tr>
<td width="75%" class="windowbg2"><b><span class="smalltext"><u>Üye</u></font></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><b><u>Mesaj</u></b></td></tr><tr>'
;
foreach (
$context['top_posters'] as $poster)
{echo 
'
<td width="75%" class="windowbg2"><span class="smalltext"><img src="'
, $settings['images_url'], '/1top10.gif" />', $poster['link'], '</td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext">'
, $poster['num_posts'], '</td></tr>';  
}echo 
'</table></td>
<td width="16%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="75%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><b><u>Rep</u></b></td></tr><tr>'
;
foreach (
$context['karma'] as $poster)
{echo 
'
<td width="75%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/2top10.gif" />',$poster['link'], '</td>
<td width="25%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
,$poster['karma'], '</center></td></tr>';
}echo 
'</table></td>
<td width="26%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="30%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td>
<td width="70%" class="windowbg2" align="right"><span class="smalltext"><center><b><u>Sure</u></b></center></td></tr><tr>'
;
foreach (
$context['top_time_online'] as $poster)
{echo 
'
<td width="30%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/2top10.gif" />',$poster['link'], '</td>
<td width="70%" class="windowbg2" align="right" valign="top"><span class="smalltext">'
,$poster['time_online'], '</td></tr>';
}echo 
'</table></td>
<td width="16%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="75%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><center><b><u>Konu</u></b></center></td></tr><tr>'
;
foreach (
$context['top_starters'] as $poster)
{echo 
'
<td width="75%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/3top10.gif" />', $poster['link'], '</td>
<td width="25%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
,$poster['num_topics'], '</center></td></tr>';
}echo 
'</table></td>
<td width="26%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="80%" class="windowbg2"><span class="smalltext"><b><u>Konu</u></b></td>
<td width="20%" class="windowbg2" align="right"><span class="smalltext"><center><b><u>Hit</u></b></center></td></tr><tr>'
;
foreach (
$context['top_topics_views'] as $topic)
{echo 
'
<td width="80%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/4top10.gif" />', $topic['link'], '</td>
<td width="20%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
, $topic['num_views'], '<img src="', $settings['images_url'], '/ivan_hit.gif" /></center></td></tr>';
}echo 
'</table></td></tr></table></div>';
//////top10 üst kisim///
// Full istatistikler ivan_ Alt Bolum . . .
echo '
<script language="JavaScript">
/* Marquee icin gerekli olan java  */
function yukari() {
kay.direction="up";
}
function asagi() {
kay.direction="down";
}
/*////////////////////////////////*/
                     </script>'
;


echo 
'<br><div class="windowbg" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor"><tr>
<td width="100%" colspan="5" class="catbg" height="24">
<font color="#FFFFFF"><b><center>TOP 10 KATEGORI</center></b></font></td>  </tr>
<tr class="windowbg"><span class="smalltext">
<td width="100%"colspan="5" height="0"><table width="100%"><tr>
<tr class="titlebg"><span class="smalltext">
<td width="32%"><span class="smalltext"><b><u>Yanitlanan Kategori</u></b></td>
<td width="28%"><span class="smalltext"><b><u>Yanitlanan Konu</u></b></td>
<td width="7%"><span class="smalltext"><center><b><u>Hit</u></b></center></td>
<td width="15%"><span class="smalltext"><b><u>Gönderen</u></b></td>
<td width="18%"><b><span class="smalltext"><u>Tarih</u></b></td></tr> </table>
<MARQUEE ID="kay" DIRECTION="up" WIDTH="100%" HEIGHT="150" SCROLLAMOUNT="1" SCROLLDELAY="30" STYLE="border:0px none;" onmouseover="kay.scrollAmount=0" onmouseout="kay.scrollAmount=1">
<table class="windowbg" cellspacing="1" width="100%" cellpadding="0"  border="0"><tr>'
;
foreach (
$context['latest_posts'] as $post)
echo 
'

<td class="windowbg2" valign="top" width="32%"><span class="smalltext"><img src="'
, $settings['images_url'], '/6top10.gif" />', $post['board']['link'],  '</td>
<td class="windowbg2" valign="top" width="28%"><span class="smalltext"><img src="'
, $settings['images_url'], '/7top10.gif" /><a href="',$post['href'],'">', $post['short_subject'], '</td>
<td class="windowbg2" valign="top" width="8%"><span class="smalltext"><center>'
, $post['ivan_hit'], '<img src="', $settings['images_url'], '/ivan_hit.gif" /></center></td>
<td class="windowbg2" valign="top" width="15%"><span class="smalltext"><img src="'
, $settings['images_url'], '/8top10.gif" />', $post['poster']['link'],'</td>
<td class="windowbg2" valign="top" width="18%"><span class="smalltext"><img src="'
, $settings['images_url'], '/9top10.gif" />', $post['time'], '</td></tr>';
echo 
'</table></marquee>

<center><img src="http://www.sohbetciyim.net/forum/formresim/yukari.gif" border="0" onmouseover=yukari();>
<img src="http://www.sohbetciyim.net/forum/formresim/dur.gif" border="0" onmouseover="kay.scrollAmount=0" onmouseout="kay.scrollAmount=1";>
<img src="http://www.sohbetciyim.net/forum/formresim/asagi.gif" border="0" onmouseover=asagi();> </center>
'
;echo '</td></tr></table></div><br>';


/////top10 üstkisim////

//////////top10////////

// Here's where the "Info Center" starts...

echo '<br />

<div class="tborder" '
, $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>

<div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center; ">

<a href="#" onclick="shrinkHeaderIC(!current_header_ic); return false;"><img id="upshrink_ic" src="'
, $settings['images_url'], '/', empty($options['collapse_header_ic']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin-right: 2ex;" align="right" /></a>

'
, $txt[685], '

</div>

<div id="upshrinkHeaderIC"'
, empty($options['collapse_header_ic']) ? '' : ' style="display: none;"', '>

<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">'
;


// Kısayol Üye Listesi
if ($settings['show_member_bar'])
{
echo '
<tr>
<td class="titlebg" colspan="2">'
, $txt[331], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
'
, $context['show_member_list'] ? '<a href="' . $scripturl . '?action=mlist">' : '', '<img src="', $settings['images_url'], '/icons/members.gif" border="0" width="20" alt="', $txt[332], '" />', $context['show_member_list'] ? '</a>' : '', '
</td>
<td class="windowbg2" width="100%">
<b>'
, $context['show_member_list'] ? '<a href="' . $scripturl . '?action=mlist">' . $txt[332] . '</a>' : $txt[332], '</b><br />
<span class="text">Sitemize Kayıtlı Olan Üyelerimiz...</span>
</td>
</tr>'
;
}
// Show information about events, birthdays, and holidays on the calendar.

if ($context['show_calendar'])

{

echo '

<tr>

<td class="titlebg" colspan="2">'
, $context['calendar_only_today'] ? $txt['calendar47b'] : $txt['calendar47'], '</td>

</tr><tr>

<td class="windowbg" width="20" valign="middle" align="center">

<a href="'
, $scripturl, '?action=calendar"><img src="', $settings['images_url'], '/icons/calendar.gif" alt="', $txt['calendar24'], '" /></a>

</td>

<td class="windowbg2" width="100%">

<span class="smalltext">'
;



// Holidays like "Christmas", "Chanukah", and "We Love [Unknown] Day" :P.

if (!empty($context['calendar_holidays']))

echo '

<span style="color: #'
, $modSettings['cal_holidaycolor'], ';">', $txt['calendar5'], ' ', implode(', ', $context['calendar_holidays']), '</span><br />';



// People's birthdays. Like mine. And yours, I guess. Kidding.

if (!empty($context['calendar_birthdays']))

{

echo '

<span style="color: #'
, $modSettings['cal_bdaycolor'], ';">', $context['calendar_only_today'] ? $txt['calendar3'] : $txt['calendar3b'], '</span> ';

/* Each member in calendar_birthdays has:

id, name (person), age (if they have one set?), is_last. (last in list?), and is_today (birthday is today?) */

foreach ($context['calendar_birthdays'] as $member)

echo '

<a href="'
, $scripturl, '?action=profile;u=', $member['id'], '">', (!empty($member['color']) ? '<font color="'.$member['color'].'">' : ''), $member['name'], isset($member['age']) ? ' (' . $member['age'] . ')' : '', (!empty($member['color']) ? '</font>' : ''), '</a>', $member['is_last'] ? '' : ', ';

}

// Events like community get-togethers.

if (!empty($context['calendar_events']))

{

echo '

<span style="color: #'
, $modSettings['cal_eventcolor'], ';">', $context['calendar_only_today'] ? $txt['calendar4'] : $txt['calendar4b'], '</span> ';

/* Each event in calendar_events should have:

title, href, is_last, can_edit (are they allowed?), modify_href, and is_today. */

foreach ($context['calendar_events'] as $event)

echo '

'
, $event['can_edit'] ? '<a href="' . $event['modify_href'] . '" style="color: #FF0000;">*</a> ' : '', $event['href'] == '' ? '' : '<a href="' . $event['href'] . '">', $event['is_today'] ? '<b>' . $event['title'] . '</b>' : $event['title'], $event['href'] == '' ? '' : '</a>', $event['is_last'] ? '<br />' : ', ';



// Show a little help text to help them along ;).

if ($context['calendar_can_edit'])

echo '

(<a href="'
, $scripturl, '?action=helpadmin;help=calendar_how_edit" onclick="return reqWin(this.href);">', $txt['calendar_how_edit'], '</a>)';

}

echo '

</span>

</td>

</tr>'
;

}





// Show YaBB SP1 style information...
if ($settings['show_sp1_info'])
{
echo '
<tr>
<td class="titlebg" colspan="2">'
, $txt[645], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="'
, $scripturl, '?action=stats"><img src="', $settings['images_url'], '/icons/info.gif" alt="', $txt[645], '" /></a>
</td>
<td class="windowbg2" width="100%">
<span class="middletext">
<b>Üyelerimiz Kendilerini Aşıp <font color=red>'
, $context['common_stats']['total_posts'], '</font> Toplam İleti Gönderdi. <br> Ayrıca <font color=red>', $context['common_stats']['total_topics'],'</font> Toplam Konu Açtılar.  <br>Senden İyi Olmasın Toplam <font color=red>', $context['common_stats']['total_members'], ' </font> Kayıtlı Üyemiz Var. <br>Son Şanslı  üyemiz: ', $context['common_stats']['latest_member']['link'], 'Merabalar Efenim... Hoşgeldiniz... </b>
<br />Sitemize Atılan ' 
. $txt[659] . ': <b>&quot;' . $context['latest_post']['link'] . '&quot;</b>  ( ' . $context['latest_post']['time'] . ' )<br />
<a href="'
, $scripturl, '?action=recent"><b>', $txt[234], '</b></a>', $context['show_stats'] ? '<br />
<a href="' 
. $scripturl . '?action=stats"><b>' . $txt['smf223'] . '</b></a>' : '', '
</span>
</td>
</tr>'
;
}



// "Users online" - in order of activity.

echo '

<tr>

<td class="titlebg" colspan="2">'
, $txt[158], '</td>

</tr><tr>

<td rowspan="2" class="windowbg" width="20" valign="middle" align="center">

'
, $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '

</td>

<td class="windowbg2" width="100%">'
;



echo '

'
, $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];



// Handle hidden users and buddies.

if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))

{

echo ' (';



// Show the number of buddies online?

if ($context['show_buddies'])

echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];



// How about hidden users?

if (!empty($context['num_users_hidden']))

echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];



echo ')';

}



echo $context['show_who'] ? '</a>' : '', '

<div class="smalltext">'
;



// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.

if (!empty($context['users_online']))

echo '

'
, $txt[140], ':<br />', implode(', ', $context['list_users_online']);



echo '

<br />

'
, $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '

</div>

</td>

</tr>

<tr>

<td class="windowbg2" width="100%">

<span class="middletext">

'
, $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.

'
, $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')

</span>

</td>

</tr>'
;

// Users online today

echo '
<tr>
<td class="titlebg" colspan="2">'
, $txt['uot_users_online_today'], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="'
, $settings['images_url'], '/icons/online.gif" alt="', $txt['uot_users_online_today'], '" border="0" />
</td>
<td class="windowbg2" width="100%">'
;

echo '
<div class="smalltext">'
;

  echo 
$txt['uot_total'], ': <b>', $context['num_users_online_today'], '</b>';
  if (!
$context['user']['is_guest'])
  
echo ' (', $txt['uot_visible'], ': ', ($context['num_users_online_today'] - $context['num_hidden_users_online_today']), ', ', $txt['uot_hidden'], ': ', $context['num_hidden_users_online_today'], ')';

// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online_today']) && !$context['user']['is_guest'])
echo '<br />', implode(', ', $context['list_users_online_today']);

echo '
<br />'
, $context['show_stats'] && !$settings['show_sp1_info'] ? '
<a href="' 
. $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>'
;

// If they are logged in, but SP1 style information is off... show a personal message bar.

if ($context['user']['is_logged'] && !$settings['show_sp1_info'])

{

 echo '

<tr>

<td class="titlebg" colspan="2">'
, $txt[159], '</td>

</tr><tr>

<td class="windowbg" width="20" valign="middle" align="center">

'
, $context['allow_pm'] ? '<a href="' . $scripturl . '?action=pm">' : '', '<img src="', $settings['images_url'], '/message_sm.gif" alt="', $txt[159], '" />', $context['allow_pm'] ? '</a>' : '', '

</td>

<td class="windowbg2" valign="top">

<b><a href="'
, $scripturl, '?action=pm">', $txt[159], '</a></b>

<div class="smalltext">

'
, $txt[660], ' ', $context['user']['messages'], ' ', $context['user']['messages'] == 1 ? $txt[471] : $txt[153], '.... ', $txt[661], ' <a href="', $scripturl, '?action=pm">', $txt[662], '</a> ', $txt[663], '

</div>

</td>

</tr>'
;

}



// Show the login bar. (it's only true if they are logged out anyway.)

if ($context['show_login_bar'])

{

echo '

<tr>

<td class="titlebg" colspan="2">'
, $txt[34], ' <a href="', $scripturl, '?action=reminder" class="smalltext">(' . $txt[315] . ')</a></td>

</tr>

<tr>

<td class="windowbg" width="20" align="center">

<a href="'
, $scripturl, '?action=login"><img src="', $settings['images_url'], '/icons/login.gif" alt="', $txt[34], '" /></a>

</td>

<td class="windowbg2" valign="middle">

<form action="'
, $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">

<table border="0" cellpadding="2" cellspacing="0" align="center" width="100%"><tr>

<td valign="middle" align="left">

<label for="user"><b>'
, $txt[35], ':</b><br />

<input type="text" name="user" id="user" size="15" /></label>

</td>

<td valign="middle" align="left">

<label for="passwrd"><b>'
, $txt[36], ':</b><br />

<input type="password" name="passwrd" id="passwrd" size="15" /></label>

</td>

<td valign="middle" align="left">

<label for="cookielength"><b>'
, $txt[497], ':</b><br />

<input type="text" name="cookielength" id="cookielength" size="4" maxlength="4" value="'
, $modSettings['cookieTime'], '" /></label>

</td>

<td valign="middle" align="left">

<label for="cookieneverexp"><b>'
, $txt[508], ':</b><br />

<input type="checkbox" name="cookieneverexp" id="cookieneverexp" checked="checked" class="check" /></label>

</td>

<td valign="middle" align="left">

<input type="submit" value="'
, $txt[34], '" />

</td>

</tr></table>

</form>

</td>

</tr>'
;

}

if (
$modSettings['seo4smf_sitemaps_box']=="on")
{

    if ($modSettings['seo4smf_sitemaps_links']!=0)
    $how_many_links_per_page=$modSettings['seo4smf_sitemaps_links'];
    else
    $how_many_links_per_page=100;


echo '
<tr>
<td class="titlebg" colspan="2"> <center>Sitemaps</center> </td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="'
, $settings['images_url'], '/icons/sitemap_2.gif" alt="Sitemaps" border="0" />
</td>
<td class="windowbg2" width="100%">
<div class="smalltext">'
;
echo'<a href="sitemaps-home.html">Start</a> &nbsp;';
for($i=0; $i<$modSettings['totalTopics']/$how_many_links_per_page; $i++)
{
    echo'<a href="sitemaps-',$i,'.html">[', $i ,']</a>&nbsp;';
    if (!($i%13) && ($i!=0)) echo "<br />";
}
echo'<br />';
echo '

</div>
</td>
</tr>'
;

}


// bad-security-mod
echo ' <table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor">
<tr>
<td width="100%" colspan="4" class="catbg" height="10">
<center><font color="#FFFFFF"><b>IP - Lokasyon Bilgileriniz</b></font></center></td>
</tr>

<tr class="titlebg">
<td width="24%" align="center"><span class="smalltext">
<font style="FONT-SIZE: 8pt">Ip Adresiniz:</font></span></td>
<td width="24%" align="center"><span class="smalltext">
<font style="FONT-SIZE: 8pt">Baglanti Bilgileriniz:</font></span></td>
<td width="25%" align="center"><span class="smalltext">
<font style="FONT-SIZE: 8pt">Konumunuz:</font></span></td>
<td width="24%" align="center"><span style="font-size: 8pt">Sistem Bilgisi:</span></td>
</tr>
<tr bgcolor="#ffffff">
<td width="25%" class="windowbg2" align="center" height="5">
<!-- ip -->
'
, $_SERVER['REMOTE_ADDR'], '
<!-- /// -->
</td>
<td width="25%" class="windowbg2" align="center" height="5">
<!-- baglanti -->
'
, $_SERVER['HTTP_USER_AGENT'], '
<!-- /// -->
</td>
<td width="25%" class="windowbg2" align="center" height="5">
<!-- konum -->
<script language="Javascript" src="http://www.ip2phrase.com/ip2phrase.asp?template= <COUNTRY> <FLAG><br><CITY> "></script>
<!-- /// -->
</td>
<td width="25%" class="windowbg2" align="center" height="5">
<!-- sistem log -->
[<font color="#FF0000" face="Verdana" size="1">Sisteme Kaydedildiniz!</font>]
<!-- /// -->
</td>

</tr>
</table>
</div>'
; 

echo '

</table>

</div>

</div>'
;

}



?>
Kayıtlı

smfdestek sitesi:
www.rapsmf.com
BİZİMLE ÇALIŞMAK İSTERMİSİNİZ...
iletişim  : inan_diyadin@hotmail.com
Tema yapmak isteyen ama yapamıyan  Smiley Bana ulaşsın...
MSN 'den SMF Destek Vermiyorum.Ekleyip SEnkimsin Diyede Sormayın!!!
mndrk
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 11


Ynt: Konuyu Yazan Kisi
« Yanıtla #6 : Aralık 15, 2007, 12:43:24 ÖS »

Aynisi Gene Gozukmuyor inan Kardes Baska Napabiliriz ?
Kayıtlı
inan
Jr. Member
**
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 1563



Ynt: Konuyu Yazan Kisi
« Yanıtla #7 : Aralık 15, 2007, 11:44:09 ÖS »

koydum ama ben orda gözükmesede bir başka yerde gözükmesi lazım siteni yazarmısın.
Kayıtlı

smfdestek sitesi:
www.rapsmf.com
BİZİMLE ÇALIŞMAK İSTERMİSİNİZ...
iletişim  : inan_diyadin@hotmail.com
Tema yapmak isteyen ama yapamıyan  Smiley Bana ulaşsın...
MSN 'den SMF Destek Vermiyorum.Ekleyip SEnkimsin Diyede Sormayın!!!
mndrk
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 11


Ynt: Konuyu Yazan Kisi
« Yanıtla #8 : Aralık 19, 2007, 11:33:36 ÖÖ »

www.sohbetciyim.net/forum
: Aralık 16, 2007, 07:58:51 pm
3 Gun Gecti Inan Kardes Bakacanmi
Kayıtlı
inan
Jr. Member
**
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 1563



Ynt: Konuyu Yazan Kisi
« Yanıtla #9 : Aralık 19, 2007, 12:16:56 ÖS »

Kod:
<?php

// Version: 1.1; BoardIndex



function template_main()

{

global $context, $settings, $options, $txt, $scripturl, $modSettings;

//istatistikler M.Uzun & Kudret 
echo '
<table border="0" width="100%" class="tborder" cellspacing="' 
, ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="titlebg"><span class="text">..::İstatistikler::..</td>
</tr><td width="100%" colspan="4" class="catbg" height="17" align="center"></td></tr>
<tr>
<tr class="windowbg2">
<td valign="middle" align="center" height="30"><b>
<!-- Tarih ve Saat Başlangıcı -->
<img src="http://www.sohbetciyim.net/forum/yildizz.gif"><span id="clock"> </span>
<SCRIPT LANGUAGE="JavaScript"><!--
var tarih = new Date();
var hours;
var minutes;
var seconds;
var timer=null;
function sClock()
{
hours   = tarih.getHours();
minutes = tarih.getMinutes();
seconds = tarih.getSeconds();
setTimeout("work();",1000);
}
function twoDigit(_v)
{
if(_v<10)_v="0"+_v;
return _v;
}
function work()
{
if (!document.layers && !document.all && !document.getElementById) return;
var runTime = new Date();
var shours = hours;
var sminutes = minutes;
var sseconds = seconds;
var years  = twoDigit(tarih.getFullYear());
var months = turkceAy(tarih.getMonth()+1);//twoDigit(tarih.getMonth()+1);
var days   = twoDigit(tarih.getDate());
sminutes=twoDigit(sminutes);
sseconds=twoDigit(sseconds);
shours  =twoDigit(shours);
movingtime = days+" "+months+" "+years+" "+ shours + ":" + sminutes +":"+sseconds;
document.getElementById("clock").innerHTML=movingtime;
if(++seconds>59)
{
seconds=0;
if(++minutes>59)
{
minutes=0;
if(++hours>23)
{
hours=0;
tarih.setDate(tarih.getDate()+1);
}
}
}
setTimeout("work();",1000);
}
function turkceAy(ay)
{
switch (ay){
case 1:return "Ocak";
case 2:return "Şubat";
case 3:return "Mart";
case 4:return "Nisan";
case 5:return "Mayıs";
case 6:return "Haziran";
case 7:return "Temmuz";
case 8:return "Ağustos";
case 9:return "Eylül";
case 10:return "Ekim";
case 11:return "Kasım";
case 12:return "Aralık";
}
}
sClock();
--></SCRIPT> <img src="http://www.sohbetciyim.net/forum/yildizz.gif">
<!-- Saat ve Tarih Kodu Bitişi --> 
</td>

</tr>
<tr class="windowbg2">
<td valign="middle" align="center" height="30"><b>
<img src="http://www.sohbetciyim.net/forum/yildizz.gif"> '
, $txt[490], ': ', $context['common_stats']['total_topics'], ' <img src="http://www.sohbetciyim.net/forum/yildizz.gif"> ', $txt[489], ': ', $context['common_stats']['total_posts'], ' <img src="http://www.sohbetciyim.net/forum/yildizz.gif"> ', $txt[488], ': <a href="', $scripturl, '?action=mlist">', $context['common_stats']['total_members'],  '</a></b> <img src="http://www.sohbetciyim.net/forum/yildizz.gif">


</td>

</tr>
<tr class="windowbg2">
<td valign="middle" align="center" height="30"><b>

<img src="http://www.sohbetciyim.net/forum/yildizz.gif">'
, $txt['totalTimeLogged1'];

         
// If days is just zero, don't bother to show it.
         
if ($context['user']['total_time_logged_in']['days'] > 0)
            echo 
$context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];

         
// Same with hours - only show it if it's above zero.
         
if ($context['user']['total_time_logged_in']['hours'] > 0)
            echo 
$context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];

         
// But, let's always show minutes - Time wasted here: 0 minutes ;).
         
echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'], ' <img src="http://www.sohbetciyim.net/forum/yildizz.gif">

</td>

</tr>
<tr class="windowbg2">
</table>'
;

// Full istatistikler ivan_ . . .
echo '<br><div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor"><tr>
<td width="100%" colspan="5" class="catbg" height="24">
<font color="#FFFFFF"><b>FuLL - TOP 10</b></font></td>  </tr>
<tr class="titlebg"><span class="smalltext">
<td width="18%"><span class="smalltext">Top 10 Mesaj</font></td>
<td width="18%"><span class="smalltext">Top 10 Karma</font></td>
<td width="18%"><span class="smalltext">Top 10 Konu </font></td>
<td width="32%"><span class="smalltext">Top 10 Popüler Konu</font></td>
<td width="14%"><span class="smalltext">Yeni Uyeler</font></td></tr>
<tr class="windowbg">
<td width="18%" valign="top"><table width="100%"><tr>
<td width="75%" class="windowbg2"><b><span class="smalltext"><u>Üye</u></font></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><b><u>Mesaj</u></b></td></tr><tr>'
;
foreach (
$context['top_posters'] as $poster)
{echo 
'
<td width="75%" class="windowbg2"><span class="smalltext"><img src="'
, $settings['images_url'], '/1top10.gif" />', $poster['link'], '</td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext">'
, $poster['num_posts'], '</td></tr>';  
}echo 
'</table></td>
<td width="18%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="75%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><b><u>Karma</u></b></td></tr><tr>'
;
foreach (
$context['karma'] as $poster)
{echo 
'
<td width="75%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/2top10.gif" />',$poster['link'], '</td>
<td width="25%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
,$poster['karma'], '</center></td></tr>';
}echo 
'</table></td>
<td width="18%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="75%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><center><b><u>Konu</u></b></center></td></tr><tr>'
;
foreach (
$context['top_starters'] as $poster)
{echo 
'
<td width="75%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/3top10.gif" />', $poster['link'], '</td>
<td width="25%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
,$poster['num_topics'], '</center></td></tr>';
}echo 
'</table></td>
<td width="32%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="80%" class="windowbg2"><span class="smalltext"><b><u>Konu</u></b></td>
<td width="20%" class="windowbg2" align="right"><span class="smalltext"><center><b><u>Hit</u></b></center></td></tr><tr>'
;
foreach (
$context['top_topics_views'] as $topic)
{echo 
'
<td width="80%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/4top10.gif" />', $topic['link'], '</td>
<td width="20%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
, $topic['num_views'], '<img src="', $settings['images_url'], '/ivan_hit.gif" /></center></td></tr>';
}echo 
'</table></td>
<td width="14%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="100%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td></tr><tr>'
;
foreach (
$context['yeniuyeler'] as $poster)
{echo 
'
<td width="100%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/5top10.gif" />',$poster['link'], '</td></tr>';  
}echo 
'</table></td></tr>';
echo 
'<tr class="windowbg">
<td width="100%"colspan="5" height="0"><table width="100%"><tr>
<tr class="titlebg"><span class="smalltext">
<td width="32%"><span class="smalltext"><b><u>Yanitlanan Kategori</u></b></td>
<td width="28%"><span class="smalltext"><b><u>Son Mesaj</u></b></td>
<td width="7%"><span class="smalltext"><center><b><u>Hit</u></b></center></td>
<td width="15%"><span class="smalltext"><b><u>Gönderen</u></b></td>
<td width="18%"><b><span class="smalltext"><u>Tarih</u></b></td></tr> </table>
<table cellspacing="1" width="100%" cellpadding="0"  border="0"><tr>'
;
foreach (
$context['latest_posts'] as $post)
echo 
'
<td class="windowbg2" valign="top" width="32%"><span class="smalltext"><img src="'
, $settings['images_url'], '/6top10.gif" />', $post['board']['link'],  '</td>
<td class="windowbg2" valign="top" width="28%"><span class="smalltext"><img src="'
, $settings['images_url'], '/7top10.gif" /><a href="',$post['href'],'">', $post['short_subject'], '</td>
<td class="windowbg2" valign="top" width="8%"><span class="smalltext"><center>'
, $post['ivan_hit'], '<img src="', $settings['images_url'], '/ivan_hit.gif" /></center></td>
<td class="windowbg2" valign="top" width="15%"><span class="smalltext"><img src="'
, $settings['images_url'], '/8top10.gif" />', $post['poster']['link'],'</td>
<td class="windowbg2" valign="top" width="18%"><span class="smalltext"><img src="'
, $settings['images_url'], '/9top10.gif" />', $post['time'], '</td></tr>';
echo 
'</table></td></tr></table></div>';


// Show the news fader?  (assuming there are things to show...)

if ($settings['show_newsfader'] && !empty($context['fader_news_lines']))

{

echo '

'
;

}




// Show the "Board name      Topics  Posts    Last Post" header.

echo '

<div '
, $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>

   <table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor">

'
;



/* Each category in categories is made up of:

id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?),

new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down iamge),

and boards. (see below.) */

foreach ($context['categories'] as $category)

{

// Show the category's name, and let them collapse it... if they feel like it.

echo '



<tr>

<td colspan="6" class="catbg" height="23">'
;



// If this category even can collapse, show a link to collapse it.

if ($category['can_collapse'])

echo '

<div style="float: right">

<a href="'
, $category['collapse_href'], '">', $category['collapse_image'], '</a></div>';



echo '

'
, $category['link'], '

</td>

</tr><tr class="titlebg">

<td></td>

<td><font style="font-size: 8pt">'
, $txt[20], '</font></td>

<td width="22%" align="center"><font style="font-size: 8pt">'
, $txt[22], '</font></td>

<td width="6%" align="center"><font style="font-size: 8pt">'
, $txt[330], '</font></td>

<td width="6%" align="center"><font style="font-size: 8pt">'
, $txt[21], '</font></td>

<td width="11%" align="center"><font style="font-size: 8pt">'
, $txt[298], '</font></td>



</tr>

'
;



// Only if it's NOT collapsed..

if (!$category['is_collapsed'])

{

/* Each board in each category's boards has:

new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.),

children (see below.), link_children (easier to use.), children_new (are they new?),

topics (# of), posts (# of), link, href, and last_post. (see below.) */

foreach ($category['boards'] as $board)

{

echo '

<tr>

<td class="windowbg3" width="5%" align="center" valign="center">





'
;



// If the board is new, show a strong indicator.
            
if ($board['new'])
               echo 
'<img src="', $settings['images_url'], '/on_' . $board['id'] . '.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
            
// This board doesn't have new posts, but its children do.
            
elseif ($board['children_new'])
               echo 
'<img src="', $settings['images_url'], '/on2_' . $board['id'] . '.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
            
// No new posts at all!  The agony!!
            
else
               echo 
'<img src="', $settings['images_url'], '/off_' . $board['id'] . '.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />';


echo'





</td>

<td class="windowbg2" align="left">'
;



//anasayfada yeni butonu by rallyproco

if ($board['new'])

echo'

<a name="b'
, $board['id'], '"></a>

<b>'
, $board['link'], '</b> <img align="absmiddle" src="', $settings['images_url'], '/yeni.gif" border="0" />' , /*Board Viewers - by HarzeM*/($board['viewers'] > 0 ) ? '<span class="smalltext"> (<b>'.$board['viewers'] . '</b> ' . (($board['viewers'] > 1) ? $txt['board_viewers'] : $txt['board_viewer']) . ')</span>' : '' , '











<br><font style="font-size: 8pt">'
, $board['description'], '</font>';

else

echo'

<a name="b'
, $board['id'], '"></a>

<b>'
, $board['link'], '</b>' , /*Board Viewers - by HarzeM*/($board['viewers'] > 0 ) ? '<span class="smalltext"> (<b>'.$board['viewers'] . '</b> ' . (($board['viewers'] > 1) ? $txt['board_viewers'] : $txt['board_viewer']) . ')</span>' : '' , '











<br><font style="font-size: 8pt">'
, $board['description'], '</font>';

// Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...)

if (!empty($board['children']))

{

// Sort the links into an array with new boards bold so it can be imploded.

$children = array();

/* Each child in each board's children has:

id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */

$sayac=0;

foreach ($board['children'] as $child)

{







$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>'  . ' (' . $txt[335] . '' . $child['topics'] . '/' . $txt[336] . '' . $child['posts'] . ')';

//interaktif altbolum logosu by rallyproco



$children[] = $child['new'] ? '<img align="absmiddle" src="http://sohbetciyim.net/forum/offaltbj3.gif"/>' . $child['link'] . '' : '<img align="absmiddle" src="http://sohbetciyim.net/forum/offaltbj3.gif"/>' .$child['link'];

$sayac++;

}



echo '

<table><tr><td valign="top">

<span class="smalltext"><b>'
, $txt['parent_boards'], '</b>:<br/>';

for(
$sayac2 = 0 ; $sayac2 < ceil($sayac/2);$sayac2++)

echo 
$children[$sayac2], '<br/>';

echo 
'

</span></td><td width="30"> </td><td valign="top"><span class="smalltext"><br/>'
;

for(; 
$sayac2 < $sayac ; $sayac2++)

echo 
$children[$sayac2], '<br/>';

echo 
'

</span></td></tr></table>'
;

}



echo '

</td>



<td class="windowbg3" valign="middle" width="20%">

<span class="smalltext">'
;



/* The board's and children's 'last_post's have:

time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),

link, href, subject, start (where they should go for the first unread post.),

and member. (which has id, name, link, href, username in it.) */

if (!empty($board['last_post']['id']))

echo '

<font style="font-size: 9pt">'
, $txt['smf88'], ' <b>', $board['last_post']['link'], '</b></font><br />

<img src="'
, $settings['images_url'], '/post/', $board['last_post']['icon'], '.gif" alt="Message Icon" align="absmiddle" />


<div style="float: right">

<font color="white"> <b> '
, $message['member']['link'], ' </b></font>
'
, $txt[30], ' ', $board['last_post']['time'], '<a href="', $board['last_post']['href'], '"><img alt="Son Mesaja Git" align="absmiddle" src="', $settings['images_url'], '/newmark.gif" align="right" hspace="3" border="0" /></a></div>' ;

echo '

</span>

  </td>





<td class="windowbg2" valign="middle" align="center" width="4%">'
, $board['topics'], '</td>

<td class="windowbg2" valign="middle" align="center" width="4%">'
, $board['posts'], '</td><td class="windowbg2" valign="middle" align="center" width="8%">';

if (!empty($board['moderators']))

echo '

<div style="padding-top: 1px;" class="smalltext">

' 
, implode('<br/>', $board['link_moderators']), '</div></td>





 </tr>'
;

}

}

}



// Show the "New Posts" and "No New Posts" legend.

if ($context['user']['is_logged'])

{

echo '<br />

<tr class="titlebg" height="20">



<td colspan="6" align="right">'
;

// Show the mark all as read button?

if ($settings['show_mark_read'])

echo '

<center><a href="'
, $scripturl, '?action=markasread;sa=all;sesc=' . $context['session_id'] . '"><font style="font-size: 8pt">' , $txt[452], '</font></a></center>';

echo '

</td>

</tr>'
;

}



echo '

</table></div>'
;

/////////top10///////////
// Full istatistikler ivan_ . . .
echo '<br><div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor"><tr>
<td width="100%" colspan="5" class="catbg" height="24">
<font color="#FFFFFF"><b><center>TOP 10 KATEGORI</center></b></font></td>  </tr>
<tr class="titlebg"><span class="smalltext">
<td width="16%"><span class="smalltext">En çok Mesaj Atanlar</font></td>
<td width="16%"><span class="smalltext">En Çok Rep Alanlar</font></td>
<td width="26%"><span class="smalltext">En Çok Online Olanlar</font></td>
<td width="16%"><span class="smalltext">En Çok Konu Açanlar</font></td>
<td width="26%"><span class="smalltext">En Popüler konular</font></td></tr>
<tr class="windowbg">
<td width="16%" valign="top"><table width="100%"><tr>
<td width="75%" class="windowbg2"><b><span class="smalltext"><u>Üye</u></font></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><b><u>Mesaj</u></b></td></tr><tr>'
;
foreach (
$context['top_posters'] as $poster)
{echo 
'
<td width="75%" class="windowbg2"><span class="smalltext"><img src="'
, $settings['images_url'], '/1top10.gif" />', $poster['link'], '</td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext">'
, $poster['num_posts'], '</td></tr>';  
}echo 
'</table></td>
<td width="16%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="75%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><b><u>Rep</u></b></td></tr><tr>'
;
foreach (
$context['karma'] as $poster)
{echo 
'
<td width="75%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/2top10.gif" />',$poster['link'], '</td>
<td width="25%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
,$poster['karma'], '</center></td></tr>';
}echo 
'</table></td>
<td width="26%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="30%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td>
<td width="70%" class="windowbg2" align="right"><span class="smalltext"><center><b><u>Sure</u></b></center></td></tr><tr>'
;
foreach (
$context['top_time_online'] as $poster)
{echo 
'
<td width="30%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/2top10.gif" />',$poster['link'], '</td>
<td width="70%" class="windowbg2" align="right" valign="top"><span class="smalltext">'
,$poster['time_online'], '</td></tr>';
}echo 
'</table></td>
<td width="16%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="75%" class="windowbg2"><span class="smalltext"><b><u>Üye</u></b></td>
<td width="25%" class="windowbg2" align="right"><span class="smalltext"><center><b><u>Konu</u></b></center></td></tr><tr>'
;
foreach (
$context['top_starters'] as $poster)
{echo 
'
<td width="75%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/3top10.gif" />', $poster['link'], '</td>
<td width="25%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
,$poster['num_topics'], '</center></td></tr>';
}echo 
'</table></td>
<td width="26%" valign="top"><table width="100%"class="windowbg" ><tr>
<td width="80%" class="windowbg2"><span class="smalltext"><b><u>Konu</u></b></td>
<td width="20%" class="windowbg2" align="right"><span class="smalltext"><center><b><u>Hit</u></b></center></td></tr><tr>'
;
foreach (
$context['top_topics_views'] as $topic)
{echo 
'
<td width="80%" class="windowbg2" valign="top"><span class="smalltext"><img src="'
, $settings['images_url'], '/4top10.gif" />', $topic['link'], '</td>
<td width="20%" class="windowbg2" align="right" valign="top"><span class="smalltext"><center>'
, $topic['num_views'], '<img src="', $settings['images_url'], '/ivan_hit.gif" /></center></td></tr>';
}echo 
'</table></td></tr></table></div>';
//////top10 üst kisim///
// Full istatistikler ivan_ Alt Bolum . . .
echo '
<script language="JavaScript">
/* Marquee icin gerekli olan java  */
function yukari() {
kay.direction="up";
}
function asagi() {
kay.direction="down";
}
/*////////////////////////////////*/
                     </script>'
;


echo 
'<br><div class="windowbg" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor"><tr>
<td width="100%" colspan="5" class="catbg" height="24">
<font color="#FFFFFF"><b><center>TOP 10 KATEGORI</center></b></font></td>  </tr>
<tr class="windowbg"><span class="smalltext">
<td width="100%"colspan="5" height="0"><table width="100%"><tr>
<tr class="titlebg"><span class="smalltext">
<td width="32%"><span class="smalltext"><b><u>Yanitlanan Kategori</u></b></td>
<td width="28%"><span class="smalltext"><b><u>Yanitlanan Konu</u></b></td>
<td width="7%"><span class="smalltext"><center><b><u>Hit</u></b></center></td>
<td width="15%"><span class="smalltext"><b><u>Gönderen</u></b></td>
<td width="18%"><b><span class="smalltext"><u>Tarih</u></b></td></tr> </table>
<MARQUEE ID="kay" DIRECTION="up" WIDTH="100%" HEIGHT="150" SCROLLAMOUNT="1" SCROLLDELAY="30" STYLE="border:0px none;" onmouseover="kay.scrollAmount=0" onmouseout="kay.scrollAmount=1">
<table class="windowbg" cellspacing="1" width="100%" cellpadding="0"  border="0"><tr>'
;
foreach (
$context['latest_posts'] as $post)
echo 
'

<td class="windowbg2" valign="top" width="32%"><span class="smalltext"><img src="'
, $settings['images_url'], '/6top10.gif" />', $post['board']['link'],  '</td>
<td class="windowbg2" valign="top" width="28%"><span class="smalltext"><img src="'
, $settings['images_url'], '/7top10.gif" /><a href="',$post['href'],'">', $post['short_subject'], '</td>
<td class="windowbg2" valign="top" width="8%"><span class="smalltext"><center>'
, $post['ivan_hit'], '<img src="', $settings['images_url'], '/ivan_hit.gif" /></center></td>
<td class="windowbg2" valign="top" width="15%"><span class="smalltext"><img src="'
, $settings['images_url'], '/8top10.gif" />', $post['poster']['link'],'</td>
<td class="windowbg2" valign="top" width="18%"><span class="smalltext"><img src="'
, $settings['images_url'], '/9top10.gif" />', $post['time'], '</td></tr>';
echo 
'</table></marquee>

<center><img src="http://www.sohbetciyim.net/forum/formresim/yukari.gif" border="0" onmouseover=yukari();>
<img src="http://www.sohbetciyim.net/forum/formresim/dur.gif" border="0" onmouseover="kay.scrollAmount=0" onmouseout="kay.scrollAmount=1";>
<img src="http://www.sohbetciyim.net/forum/formresim/asagi.gif" border="0" onmouseover=asagi();> </center>
'
;echo '</td></tr></table></div><br>';


/////top10 üstkisim////

//////////top10////////

// Here's where the "Info Center" starts...

echo '<br />

<div class="tborder" '
, $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>

<div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center; ">

<a href="#" onclick="shrinkHeaderIC(!current_header_ic); return false;"><img id="upshrink_ic" src="'
, $settings['images_url'], '/', empty($options['collapse_header_ic']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin-right: 2ex;" align="right" /></a>

'
, $txt[685], '

</div>

<div id="upshrinkHeaderIC"'
, empty($options['collapse_header_ic']) ? '' : ' style="display: none;"', '>

<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">'
;


// Kısayol Üye Listesi
if ($settings['show_member_bar'])
{
echo '
<tr>
<td class="titlebg" colspan="2">'
, $txt[331], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
'
, $context['show_member_list'] ? '<a href="' . $scripturl . '?action=mlist">' : '', '<img src="', $settings['images_url'], '/icons/members.gif" border="0" width="20" alt="', $txt[332], '" />', $context['show_member_list'] ? '</a>' : '', '
</td>
<td class="windowbg2" width="100%">
<b>'
, $context['show_member_list'] ? '<a href="' . $scripturl . '?action=mlist">' . $txt[332] . '</a>' : $txt[332], '</b><br />
<span class="text">Sitemize Kayıtlı Olan Üyelerimiz...</span>
</td>
</tr>'
;
}
// Show information about events, birthdays, and holidays on the calendar.

if ($context['show_calendar'])

{

echo '

<tr>

<td class="titlebg" colspan="2">'
, $context['calendar_only_today'] ? $txt['calendar47b'] : $txt['calendar47'], '</td>

</tr><tr>

<td class="windowbg" width="20" valign="middle" align="center">

<a href="'
, $scripturl, '?action=calendar"><img src="', $settings['images_url'], '/icons/calendar.gif" alt="', $txt['calendar24'], '" /></a>

</td>

<td class="windowbg2" width="100%">

<span class="smalltext">'
;



// Holidays like "Christmas", "Chanukah", and "We Love [Unknown] Day" :P.

if (!empty($context['calendar_holidays']))

echo '

<span style="color: #'
, $modSettings['cal_holidaycolor'], ';">', $txt['calendar5'], ' ', implode(', ', $context['calendar_holidays']), '</span><br />';



// People's birthdays. Like mine. And yours, I guess. Kidding.

if (!empty($context['calendar_birthdays']))

{

echo '

<span style="color: #'
, $modSettings['cal_bdaycolor'], ';">', $context['calendar_only_today'] ? $txt['calendar3'] : $txt['calendar3b'], '</span> ';

/* Each member in calendar_birthdays has:

id, name (person), age (if they have one set?), is_last. (last in list?), and is_today (birthday is today?) */

foreach ($context['calendar_birthdays'] as $member)

echo '

<a href="'
, $scripturl, '?action=profile;u=', $member['id'], '">', (!empty($member['color']) ? '<font color="'.$member['color'].'">' : ''), $member['name'], isset($member['age']) ? ' (' . $member['age'] . ')' : '', (!empty($member['color']) ? '</font>' : ''), '</a>', $member['is_last'] ? '' : ', ';

}

// Events like community get-togethers.

if (!empty($context['calendar_events']))

{

echo '

<span style="color: #'
, $modSettings['cal_eventcolor'], ';">', $context['calendar_only_today'] ? $txt['calendar4'] : $txt['calendar4b'], '</span> ';

/* Each event in calendar_events should have:

title, href, is_last, can_edit (are they allowed?), modify_href, and is_today. */

foreach ($context['calendar_events'] as $event)

echo '

'
, $event['can_edit'] ? '<a href="' . $event['modify_href'] . '" style="color: #FF0000;">*</a> ' : '', $event['href'] == '' ? '' : '<a href="' . $event['href'] . '">', $event['is_today'] ? '<b>' . $event['title'] . '</b>' : $event['title'], $event['href'] == '' ? '' : '</a>', $event['is_last'] ? '<br />' : ', ';



// Show a little help text to help them along ;).

if ($context['calendar_can_edit'])

echo '

(<a href="'
, $scripturl, '?action=helpadmin;help=calendar_how_edit" onclick="return reqWin(this.href);">', $txt['calendar_how_edit'], '</a>)';

}

echo '

</span>

</td>

</tr>'
;

}





// Show YaBB SP1 style information...
if ($settings['show_sp1_info'])
{
echo '
<tr>
<td class="titlebg" colspan="2">'
, $txt[645], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="'
, $scripturl, '?action=stats"><img src="', $settings['images_url'], '/icons/info.gif" alt="', $txt[645], '" /></a>
</td>
<td class="windowbg2" width="100%">
<span class="middletext">
<b>Üyelerimiz Kendilerini Aşıp <font color=red>'
, $context['common_stats']['total_posts'], '</font> Toplam İleti Gönderdi. <br> Ayrıca <font color=red>', $context['common_stats']['total_topics'],'</font> Toplam Konu Açtılar.  <br>Senden İyi Olmasın Toplam <font color=red>', $context['common_stats']['total_members'], ' </font> Kayıtlı Üyemiz Var. <br>Son Şanslı  üyemiz: ', $context['common_stats']['latest_member']['link'], 'Merabalar Efenim... Hoşgeldiniz... </b>
<br />Sitemize Atılan ' 
. $txt[659] . ': <b>&quot;' . $context['latest_post']['link'] . '&quot;</b>  ( ' . $context['latest_post']['time'] . ' )<br />
<a href="'
, $scripturl, '?action=recent"><b>', $txt[234], '</b></a>', $context['show_stats'] ? '<br />
<a href="' 
. $scripturl . '?action=stats"><b>' . $txt['smf223'] . '</b></a>' : '', '
</span>
</td>
</tr>'
;
}



// "Users online" - in order of activity.

echo '

<tr>

<td class="titlebg" colspan="2">'
, $txt[158], '</td>

</tr><tr>

<td rowspan="2" class="windowbg" width="20" valign="middle" align="center">

'
, $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '

</td>

<td class="windowbg2" width="100%">'
;



echo '

'
, $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];



// Handle hidden users and buddies.

if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))

{

echo ' (';



// Show the number of buddies online?

if ($context['show_buddies'])

echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];



// How about hidden users?

if (!empty($context['num_users_hidden']))

echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];



echo ')';

}



echo $context['show_who'] ? '</a>' : '', '

<div class="smalltext">'
;



// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.

if (!empty($context['users_online']))

echo '

'
, $txt[140], ':<br />', implode(', ', $context['list_users_online']);



echo '

<br />

'
, $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '

</div>

</td>

</tr>

<tr>

<td class="windowbg2" width="100%">

<span class="middletext">

'
, $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.

'
, $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')

</span>

</td>

</tr>'
;

// Users online today

echo '
<tr>
<td class="titlebg" colspan="2">'
, $txt['uot_users_online_today'], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="'
, $settings['images_url'], '/icons/online.gif" alt="', $txt['uot_users_online_today'], '" border="0" />
</td>
<td class="windowbg2" width="100%">'
;

echo '
<div class="smalltext">'
;

  echo 
$txt['uot_total'], ': <b>', $context['num_users_online_today'], '</b>';
  if (!
$context['user']['is_guest'])
  
echo ' (', $txt['uot_visible'], ': ', ($context['num_users_online_today'] - $context['num_hidden_users_online_today']), ', ', $txt['uot_hidden'], ': ', $context['num_hidden_users_online_today'], ')';

// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online_today']) && !$context['user']['is_guest'])
echo '<br />', implode(', ', $context['list_users_online_today']);

echo '
<br />'
, $context['show_stats'] && !$settings['show_sp1_info'] ? '
<a href="' 
. $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>'
;

// If they are logged in, but SP1 style information is off... show a personal message bar.

if ($context['user']['is_logged'] && !$settings['show_sp1_info'])

{

 echo '

<tr>

<td class="titlebg" colspan="2">'
, $txt[159], '</td>

</tr><tr>

<td class="windowbg" width="20" valign="middle" align="center">

'
, $context['allow_pm'] ? '<a href="' . $scripturl . '?action=pm">' : '', '<img src="', $settings['images_url'], '/message_sm.gif" alt="', $txt[159], '" />', $context['allow_pm'] ? '</a>' : '', '

</td>

<td class="windowbg2" valign="top">

<b><a href="'
, $scripturl, '?action=pm">', $txt[159], '</a></b>

<div class="smalltext">

'
, $txt[660], ' ', $context['user']['messages'], ' ', $context['user']['messages'] == 1 ? $txt[471] : $txt[153], '.... ', $txt[661], ' <a href="', $scripturl, '?action=pm">', $txt[662], '</a> ', $txt[663], '

</div>

</td>

</tr>'
;

}



// Show the login bar. (it's only true if they are logged out anyway.)

if ($context['show_login_bar'])

{

echo '

<tr>

<td class="titlebg" colspan="2">'
, $txt[34], ' <a href="', $scripturl, '?action=reminder" class="smalltext">(' . $txt[315] . ')</a></td>

</tr>

<tr>

<td class="windowbg" width="20" align="center">

<a href="'
, $scripturl, '?action=login"><img src="', $settings['images_url'], '/icons/login.gif" alt="', $txt[34], '" /></a>

</td>

<td class="windowbg2" valign="middle">

<form action="'
, $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">

<table border="0" cellpadding="2" cellspacing="0" align="center" width="100%"><tr>

<td valign="middle" align="left">

<label for="user"><b>'
, $txt[35], ':</b><br />

<input type="text" name="user" id="user" size="15" /></label>

</td>

<td valign="middle" align="left">

<label for="passwrd"><b>'
, $txt[36], ':</b><br />

<input type="password" name="passwrd" id="passwrd" size="15" /></label>

</td>

<td valign="middle" align="left">

<label for="cookielength"><b>'
, $txt[497], ':</b><br />

<input type="text" name="cookielength" id="cookielength" size="4" maxlength="4" value="'
, $modSettings['cookieTime'], '" /></label>

</td>

<td valign="middle" align="left">

<label for="cookieneverexp"><b>'
, $txt[508], ':</b><br />

<input type="checkbox" name="cookieneverexp" id="cookieneverexp" checked="checked" class="check" /></label>

</td>

<td valign="middle" align="left">

<input type="submit" value="'
, $txt[34], '" />

</td>

</tr></table>

</form>

</td>

</tr>'
;

}

if (
$modSettings['seo4smf_sitemaps_box']=="on")
{

    if ($modSettings['seo4smf_sitemaps_links']!=0)
    $how_many_links_per_page=$modSettings['seo4smf_sitemaps_links'];
    else
    $how_many_links_per_page=100;


echo '
<tr>
<td class="titlebg" colspan="2"> <center>Sitemaps</center> </td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="'
, $settings['images_url'], '/icons/sitemap_2.gif" alt="Sitemaps" border="0" />
</td>
<td class="windowbg2" width="100%">
<div class="smalltext">'
;
echo'<a href="sitemaps-home.html">Start</a> &nbsp;';
for($i=0; $i<$modSettings['totalTopics']/$how_many_links_per_page; $i++)
{
    echo'<a href="sitemaps-',$i,'.html">[', $i ,']</a>&nbsp;';
    if (!($i%13) && ($i!=0)) echo "<br />";
}
echo'<br />';
echo '

</div>
</td>
</tr>'
;

}


// bad-security-mod
echo ' <table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor">
<tr>
<td width="100%" colspan="4" class="catbg" height="10">
<center><font color="#FFFFFF"><b>IP - Lokasyon Bilgileriniz</b></font></center></td>
</tr>

<tr class="titlebg">
<td width="24%" align="center"><span class="smalltext">
<font style="FONT-SIZE: 8pt">Ip Adresiniz:</font></span></td>
<td width="24%" align="center"><span class="smalltext">
<font style="FONT-SIZE: 8pt">Baglanti Bilgileriniz:</font></span></td>
<td width="25%" align="center"><span class="smalltext">
<font style="FONT-SIZE: 8pt">Konumunuz:</font></span></td>
<td width="24%" align="center"><span style="font-size: 8pt">Sistem Bilgisi:</span></td>
</tr>
<tr bgcolor="#ffffff">
<td width="25%" class="windowbg2" align="center" height="5">
<!-- ip -->
'
, $_SERVER['REMOTE_ADDR'], '
<!-- /// -->
</td>
<td width="25%" class="windowbg2" align="center" height="5">
<!-- baglanti -->
'
, $_SERVER['HTTP_USER_AGENT'], '
<!-- /// -->
</td>
<td width="25%" class="windowbg2" align="center" height="5">
<!-- konum -->
<script language="Javascript" src="http://www.ip2phrase.com/ip2phrase.asp?template= <COUNTRY> <FLAG><br><CITY> "></script>
<!-- /// -->
</td>
<td width="25%" class="windowbg2" align="center" height="5">
<!-- sistem log -->
[<font color="#FF0000" face="Verdana" size="1">Sisteme Kaydedildiniz!</font>]
<!-- /// -->
</td>

</tr>
</table>
</div>'
; 

echo '

</table>

</div>

</div>'
;

}



?>
Kayıtlı

smfdestek sitesi:
www.rapsmf.com
BİZİMLE ÇALIŞMAK İSTERMİSİNİZ...
iletişim  : inan_diyadin@hotmail.com
Tema yapmak isteyen ama yapamıyan  Smiley Bana ulaşsın...
MSN 'den SMF Destek Vermiyorum.Ekleyip SEnkimsin Diyede Sormayın!!!
mndrk
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 11


Ynt: Konuyu Yazan Kisi
« Yanıtla #10 : Aralık 23, 2007, 03:41:20 ÖÖ »

Malesef Degisen Hic Birsey Yok :S
Kayıtlı
inan
Jr. Member
**
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 1563



Ynt: Konuyu Yazan Kisi
« Yanıtla #11 : Aralık 23, 2007, 05:44:54 ÖÖ »

ya kusura bakma bu kadar basit birşey bukadar uzadı :S hep kodu yanlış vermişim
bu kodu bul  ve sil:
Kod:
', $message['member']['link'], '
yerine bunu ekle.

Kod:
', $board['last_post']['member']['link'] , '
Kayıtlı

smfdestek sitesi:
www.rapsmf.com
BİZİMLE ÇALIŞMAK İSTERMİSİNİZ...
iletişim  : inan_diyadin@hotmail.com
Tema yapmak isteyen ama yapamıyan  Smiley Bana ulaşsın...
MSN 'den SMF Destek Vermiyorum.Ekleyip SEnkimsin Diyede Sormayın!!!
codekobra
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 4


Ynt: Konuyu Yazan Kisi
« Yanıtla #12 : Ocak 23, 2008, 04:52:27 ÖÖ »

abi aynısından bide bana yapsan benim temada arkadaşınkinden teonun laneti  boardindex.template.php

:

<?php
// Version: 1.1; BoardIndex

function template_main()
{
   global $context, $settings, $options, $txt, $scripturl, $modSettings;

   
   // Show the news fader?  (assuming there are things to show...)
   if ($settings['show_newsfader'] && !empty($context['fader_news_lines']))
   {
      echo '
      ';
   }



// Show the "Board name      Topics  Posts    Last Post" header.
   echo '
<div ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
   <table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor">
   ';

   /* Each category in categories is made up of:
      id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?),
      new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down iamge),
      and boards. (see below.) */
   foreach ($context['categories'] as $category)
   {
      // Show the category's name, and let them collapse it... if they feel like it.
      echo '
   
   <tr>
      <td colspan="6" class="catbg" height="23">';

      // If this category even can collapse, show a link to collapse it.
      if ($category['can_collapse'])
         echo '
         <div style="float: right">
<a href="', $category['collapse_href'], '">', $category['collapse_image'], '</a></div>';

      echo '
         ', $category['link'], '
      </td>
   </tr><tr class="titlebg">
         <td></td>
      <td><font style="font-size: 8pt">', $txt[20], '</font></td>
      <td width="22%" align="center"><font style="font-size: 8pt">', $txt[22], '</font></td>
<td width="6%" align="center"><font style="font-size: 8pt">', $txt[330], '</font></td>
      <td width="6%" align="center"><font style="font-size: 8pt">', $txt[21], '</font></td>
         <td width="11%" align="center"><font style="font-size: 8pt">', $txt[298], '</font></td>

   </tr>
   ';

      // Only if it's NOT collapsed..
      if (!$category['is_collapsed'])
      {
         /* Each board in each category's boards has:
            new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.),
            children (see below.), link_children (easier to use.), children_new (are they new?),
            topics (# of), posts (# of), link, href, and last_post. (see below.) */
         foreach ($category['boards'] as $board)
         {
            echo '
   <tr>
      <td class="windowbg3" width="5%" align="center" valign="center">

   
      ';
      
   // If the board is new, show a strong indicator.
            if ($board['new'])
               echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
            // This board doesn't have new posts, but its children do.
            elseif ($board['children_new'])
               echo '<img src="', $settings['images_url'], '/on2.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
            // No new posts at all!  The agony!!
            else
               echo '<img class="gradualshine" onmouseover="slowhigh(this)" onmouseout="slowlow(this)" src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />';
      echo'


</td>
      <td class="windowbg2" align="left">';
         
         //anasayfada yeni butonu by rallyproco
         if ($board['new'])
            echo'
            <a name="b', $board['id'], '"></a>
         <b>', $board['link'], '</b> <img align="absmiddle" src="', $settings['images_url'], '/yeni.gif" border="0" />' , /*Board Viewers - by HarzeM*/($board['viewers'] > 0 ) ? '<span class="smalltext"> (<b>'.$board['viewers'] . '</b> ' . (($board['viewers'] > 1) ? $txt['board_viewers'] : $txt['board_viewer']) . ')</span>' : '' , '
         




<br><font style="font-size: 8pt">', $board['description'], '</font>';
         else
         echo'
         <a name="b', $board['id'], '"></a>
         <b>', $board['link'], '</b>' , /*Board Viewers - by HarzeM*/($board['viewers'] > 0 ) ? '<span class="smalltext"> (<b>'.$board['viewers'] . '</b> ' . (($board['viewers'] > 1) ? $txt['board_viewers'] : $txt['board_viewer']) . ')</span>' : '' , '
         




<br><font style="font-size: 8pt">', $board['description'], '</font>';
            // Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...)
            if (!empty($board['children']))
            {
               // Sort the links into an array with new boards bold so it can be imploded.
               $children = array();
               /* Each child in each board's children has:
                  id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */
               $sayac=0;
               foreach ($board['children'] as $child)
               {
                  
                  
                  
                  $child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>'  . ' (' . $txt[335] . '' . $child['topics'] . '/' . $txt[336] . '' . $child['posts'] . ')';
                  //interaktif altbolum logosu by rallyproco   
                  
                     $children[] = $child['new'] ? '<img align="absmiddle" src="http://img339.imageshack.us/img339/8787/onaltnr9.gif"/>' . $child['link'] . '' : '<img align="absmiddle" src="http://img253.imageshack.us/img253/9304/offaltbj3.gif"/>' .$child['link'];
            $sayac++;
               }

               echo '
         <table><tr><td valign="top">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>:<br/>';
for($sayac2 = 0 ; $sayac2 < ceil($sayac/2);$sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td><td width="30"> </td><td valign="top"><span class="smalltext"><br/>';
for(; $sayac2 < $sayac ; $sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td></tr></table>';
            }

            echo '
      </td>      

<td class="windowbg3" valign="middle" width="20%">
               <span class="smalltext">';

            /* The board's and children's 'last_post's have:
            time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
            link, href, subject, start (where they should go for the first unread post.),
            and member. (which has id, name, link, href, username in it.) */
            if (!empty($board['last_post']['id']))
               echo '
                  <img align="absmiddle" src="', $settings['images_url'], '/post/xx.gif" alt="Icon" /><font style="font-size: 9pt">', $txt['smf88'], ' <b>', $board['last_post']['link'], '</b></font><br />
', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
                  <div style="float: right">
 ', $txt[30], ' ', $board['last_post']['time'], '<a href="', $board['last_post']['href'], '"><img alt="Son Mesaja Git" align="absmiddle" src="', $settings['images_url'], '/newmark.gif" align="right" hspace="3" border="0" /></a></div>' ;
            echo '
               </span>
     </td>


<td class="windowbg2" valign="middle" align="center" width="4%">', $board['topics'], '</td>
      <td class="windowbg2" valign="middle" align="center" width="4%">', $board['posts'], '</td><td class="windowbg2" valign="middle" align="center" width="8%">';
               if (!empty($board['moderators']))
               echo '
                  <div style="padding-top: 1px;" class="smalltext">
                  ' , implode('<br/>', $board['link_moderators']), '</div></td>
            

    </tr>';
         }
      }
   }

   // Show the "New Posts" and "No New Posts" legend.
   if ($context['user']['is_logged'])
   {
      echo '<br />
   <tr class="titlebg" height="20">
      
      <td colspan="6" align="right">';
      // Show the mark all as read button?
      if ($settings['show_mark_read'])
         echo '
         <center><a href="', $scripturl, '?action=markasread;sa=all;sesc=' . $context['session_id'] . '"><font style="font-size: 8pt">' , $txt[452], '</font></a></center>';
      echo '
      </td>
   </tr>';
   }

   echo '
</table></div>';

// Here's where the "Info Center" starts...
   echo '<br />
   <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
      <div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center; ">
         <a href="#" onclick="shrinkHeaderIC(!current_header_ic); return false;"><img id="upshrink_ic" src="', $settings['images_url'], '/', empty($options['collapse_header_ic']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin-right: 2ex;" align="right" /></a>
         ', $txt[685], '
      </div>
      <div id="upshrinkHeaderIC"', empty($options['collapse_header_ic']) ? '' : ' style="display: none;"', '>
         <table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">';

   // This is the "Recent Posts" bar.
   if (!empty($settings['number_recent_posts']))
   {
      echo '
            <tr>
               <td class="titlebg" colspan="2">', $txt[214], '</td>
            </tr>
            <tr>
               <td class="windowbg" width="20" valign="middle" align="center">
                  <a href="', $scripturl, '?action=recent"><img src="', $settings['images_url'], '/post/xx.gif" alt="', $txt[214], '" /></a>
               </td>
               <td class="windowbg2">';

      // Only show one post.
      if ($settings['number_recent_posts'] == 1)
      {
         // latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (its id.)
         echo '
                  <b><a href="', $scripturl, '?action=recent">', $txt[214], '</a></b>
                  <div class="smalltext">
                        ', $txt[234], ' &quot;', $context['latest_post']['link'], '&quot; ', $txt[235], ' (', $context['latest_post']['time'], ')<br />
                  </div>';
      }
      // Show lots of posts.
      elseif (!empty($context['latest_posts']))
      {
         echo '
                  <table cellpadding="0" cellspacing="0" width="100%" border="0">';

         /* Each post in latest_posts has:
               board (with an id, name, and link.), topic (the topic's id.), poster (with id, name, and link.),
               subject, short_subject (shortened with...), time, link, and href. */
         foreach ($context['latest_posts'] as $post)
            echo '
                     <tr>
                        <td class="middletext" valign="top"><b>', $post['link'], '</b> ', $txt[525], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</td>
                        <td class="middletext" align="right" valign="top" nowrap="nowrap">', $post['time'], '</td>
                     </tr>';
         echo '
                  </table>';
      }
      echo '
               </td>
            </tr>';
   }

   // Show information about events, birthdays, and holidays on the calendar.
   if ($context['show_calendar'])
   {
      echo '
            <tr>
               <td class="titlebg" colspan="2">', $context['calendar_only_today'] ? $txt['calendar47b'] : $txt['calendar47'], '</td>
            </tr><tr>
               <td class="windowbg" width="20" valign="middle" align="center">
                  <a href="', $scripturl, '?action=calendar"><img src="', $settings['images_url'], '/icons/calendar.gif" alt="', $txt['calendar24'], '" /></a>
               </td>
               <td class="windowbg2" width="100%">
                  <span class="smalltext">';

      // Holidays like "Christmas", "Chanukah", and "We Love [Unknown] Day" Tongue.
      if (!empty($context['calendar_holidays']))
            echo '
                     <span style="color: #', $modSettings['cal_holidaycolor'], ';">', $txt['calendar5'], ' ', implode(', ', $context['calendar_holidays']), '</span><br />';

      // People's birthdays. Like mine. And yours, I guess. Kidding.
      if (!empty($context['calendar_birthdays']))
      {
            echo '
                     <span style="color: #', $modSettings['cal_bdaycolor'], ';">', $context['calendar_only_today'] ? $txt['calendar3'] : $txt['calendar3b'], '</span> ';
      /* Each member in calendar_birthdays has:
            id, name (person), age (if they have one set?), is_last. (last in list?), and is_today (birthday is today?) */
      foreach ($context['calendar_birthdays'] as $member)
            echo '
                     <a href="', $scripturl, '?action=profile;u=', $member['id'], '">', $member['is_today'] ? '<b>' : '', $member['name'], $member['is_today'] ? '</b>' : '', isset($member['age']) ? ' (' . $member['age'] . ')' : '', '</a>', $member['is_last'] ? '<br />' : ', ';
      }
      // Events like community get-togethers.
      if (!empty($context['calendar_events']))
      {
         echo '
                     <span style="color: #', $modSettings['cal_eventcolor'], ';">', $context['calendar_only_today'] ? $txt['calendar4'] : $txt['calendar4b'], '</span> ';
         /* Each event in calendar_events should have:
               title, href, is_last, can_edit (are they allowed?), modify_href, and is_today. */
         foreach ($context['calendar_events'] as $event)
            echo '
                     ', $event['can_edit'] ? '<a href="' . $event['modify_href'] . '" style="color: #FF0000;">*</a> ' : '', $event['href'] == '' ? '' : '<a href="' . $event['href'] . '">', $event['is_today'] ? '<b>' . $event['title'] . '</b>' : $event['title'], $event['href'] == '' ? '' : '</a>', $event['is_last'] ? '<br />' : ', ';

         // Show a little help text to help them along Wink.
         if ($context['calendar_can_edit'])
            echo '
                     (<a href="', $scripturl, '?action=helpadmin;help=calendar_how_edit" onclick="return reqWin(this.href);">', $txt['calendar_how_edit'], '</a>)';
      }
      echo '
                  </span>
               </td>
            </tr>';
   }


   // Show YaBB SP1 style information...
   if ($settings['show_sp1_info'])
   {
      echo '
            <tr>
               <td class="titlebg" colspan="2">', $txt[645], '</td>
            </tr>
            <tr>
               <td class="windowbg" width="20" valign="middle" align="center">
                  <a href="', $scripturl, '?action=stats"><img src="', $settings['images_url'], '/icons/info.gif" alt="', $txt[645], '" /></a>
               </td>
               <td class="windowbg2" width="100%">
                  <span class="middletext">
                     ', $context['common_stats']['total_posts'], ' ', $txt[95], ' ', $txt['smf88'], ' ', $context['common_stats']['total_topics'], ' ', $txt[64], ' ', $txt[525], ' ', $context['common_stats']['total_members'], ' ', $txt[19], '. ', $txt[656], ': <b> ', $context['common_stats']['latest_member']['link'], '</b>
                     <br /> ' . $txt[659] . ': <b>&quot;' . $context['latest_post']['link'] . '&quot;</b>  ( ' . $context['latest_post']['time'] . ' )<br />
                     <a href="', $scripturl, '?action=recent">', $txt[234], '</a>', $context['show_stats'] ? '<br />
                     <a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
                  </span>
               </td>
            </tr>';
   }

   // "Users online" - in order of activity.
   echo '
            <tr>
               <td class="titlebg" colspan="2">', $txt[158], '</td>
            </tr><tr>
               <td rowspan="2" class="windowbg" width="20" valign="middle" align="center">
                  ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '
               </td>
               <td class="windowbg2" width="100%">';

   echo '
                  ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];

   // Handle hidden users and buddies.
   if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))
   {
      echo ' (';

      // Show the number of buddies online?
      if ($context['show_buddies'])
         echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];

      // How about hidden users?
      if (!empty($context['num_users_hidden']))
         echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];

      echo ')';
   }

   echo $context['show_who'] ? '</a>' : '', '
                  <div class="smalltext">';

   // Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
   if (!empty($context['users_online']))
      echo '
                     ', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

   echo '
                     <br />
                     ', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
                  </div>
               </td>
            </tr>
            <tr>
               <td class="windowbg2" width="100%">
                  <span class="middletext">
                     ', $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.
                     ', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
                  </span>
               </td>
            </tr>';

   // If they are logged in, but SP1 style information is off... show a personal message bar.
   if ($context['user']['is_logged'] && !$settings['show_sp1_info'])
   {
       echo '
            <tr>
               <td class="titlebg" colspan="2">', $txt[159], '</td>
            </tr><tr>
               <td class="windowbg" width="20" valign="middle" align="center">
                  ', $context['allow_pm'] ? '<a href="' . $scripturl . '?action=pm">' : '', '<img src="', $settings['images_url'], '/message_sm.gif" alt="', $txt[159], '" />', $context['allow_pm'] ? '</a>' : '', '
               </td>
               <td class="windowbg2" valign="top">
                  <b><a href="', $scripturl, '?action=pm">', $txt[159], '</a></b>
                  <div class="smalltext">
                     ', $txt[660], ' ', $context['user']['messages'], ' ', $context['user']['messages'] == 1 ? $txt[471] : $txt[153], '.... ', $txt[661], ' <a href="', $scripturl, '?action=pm">', $txt[662], '</a> ', $txt[663], '
                  </div>
               </td>
            </tr>';
   }

   // Show the login bar. (it's only true if they are logged out anyway.)
   if ($context['show_login_bar'])
   {
      echo '
            <tr>
               <td class="titlebg" colspan="2">', $txt[34], ' <a href="', $scripturl, '?action=reminder" class="smalltext">(' . $txt[315] . ')</a></td>
            </tr>
            <tr>
               <td class="windowbg" width="20" align="center">
                  <a href="', $scripturl, '?action=login"><img src="', $settings['images_url'], '/icons/login.gif" alt="', $txt[34], '" /></a>
               </td>
               <td class="windowbg2" valign="middle">
                  <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
                     <table border="0" cellpadding="2" cellspacing="0" align="center" width="100%"><tr>
                        <td valign="middle" align="left">
                           <label for="user"><b>', $txt[35], ':</b><br />
                           <input type="text" name="user" id="user" size="15" /></label>
                        </td>
                        <td valign="middle" align="left">
                           <label for="passwrd"><b>', $txt[36], ':</b><br />
                           <input type="password" name="passwrd" id="passwrd" size="15" /></label>
                        </td>
                        <td valign="middle" align="left">
                           <label for="cookielength"><b>', $txt[497], ':</b><br />
                           <input type="text" name="cookielength" id="cookielength" size="4" maxlength="4" value="', $modSettings['cookieTime'], '" /></label>
                        </td>
                        <td valign="middle" align="left">
                           <label for="cookieneverexp"><b>', $txt[508], ':</b><br />
                           <input type="checkbox" name="cookieneverexp" id="cookieneverexp" checked="checked" class="check" /></label>
                        </td>
                        <td valign="middle" align="left">
                           <input type="submit" value="', $txt[34], '" />
                        </td>
                     </tr></table>
                  </form>
               </td>
            </tr>';
   }

   echo '
         </table>
      </div>
   </div>';
}

?>
Kayıtlı
inan
Jr. Member
**
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 1563



Ynt: Konuyu Yazan Kisi
« Yanıtla #13 : Ocak 24, 2008, 11:40:21 ÖS »

Alıntı sahibi: codekobra üzerinde Ocak 23, 2008, 04:52:27 ÖÖ
abi aynısından bide bana yapsan benim temada arkadaşınkinden teonun laneti  boardindex.template.php

:

<?php
// Version: 1.1; BoardIndex

function template_main()
{
   global $context, $settings, $options, $txt, $scripturl, $modSettings;

   
   // Show the news fader?  (assuming there are things to show...)
   if ($settings['show_newsfader'] && !empty($context['fader_news_lines']))
   {
      echo '
      ';
   }



// Show the "Board name      Topics  Posts    Last Post" header.
   echo '
<div ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
   <table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor">
   ';

   /* Each category in categories is made up of:
      id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?),
      new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down iamge),
      and boards. (see below.) */
   foreach ($context['categories'] as $category)
   {
      // Show the category's name, and let them collapse it... if they feel like it.
      echo '
   
   <tr>
      <td colspan="6" class="catbg" height="23">';

      // If this category even can collapse, show a link to collapse it.
      if ($category['can_collapse'])
         echo '
         <div style="float: right">
<a href="', $category['collapse_href'], '">', $category['collapse_image'], '</a></div>';

      echo '
         ', $category['link'], '
      </td>
   </tr><tr class="titlebg">
         <td></td>
      <td><font style="font-size: 8pt">', $txt[20], '</font></td>
      <td width="22%" align="center"><font style="font-size: 8pt">', $txt[22], '</font></td>
<td width="6%" align="center"><font style="font-size: 8pt">', $txt[330], '</font></td>
      <td width="6%" align="center"><font style="font-size: 8pt">', $txt[21], '</font></td>
         <td width="11%" align="center"><font style="font-size: 8pt">', $txt[298], '</font></td>

   </tr>
   ';

      // Only if it's NOT collapsed..
      if (!$category['is_collapsed'])
      {
         /* Each board in each category's boards has:
            new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.),
            children (see below.), link_children (easier to use.), children_new (are they new?),
            topics (# of), posts (# of), link, href, and last_post. (see below.) */
         foreach ($category['boards'] as $board)
         {
            echo '
   <tr>
      <td class="windowbg3" width="5%" align="center" valign="center">

   
      ';
      
   // If the board is new, show a strong indicator.
            if ($board['new'])
               echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
            // This board doesn't have new posts, but its children do.
            elseif ($board['children_new'])
               echo '<img src="', $settings['images_url'], '/on2.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
            // No new posts at all!  The agony!!
            else
               echo '<img class="gradualshine" onmouseover="slowhigh(this)" onmouseout="slowlow(this)" src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />';
      echo'


</td>
      <td class="windowbg2" align="left">';
         
         //anasayfada yeni butonu by rallyproco
         if ($board['new'])
            echo'
            <a name="b', $board['id'], '"></a>
         <b>', $board['link'], '</b> <img align="absmiddle" src="', $settings['images_url'], '/yeni.gif" border="0" />' , /*Board Viewers - by HarzeM*/($board['viewers'] > 0 ) ? '<span class="smalltext"> (<b>'.$board['viewers'] . '</b> ' . (($board['viewers'] > 1) ? $txt['board_viewers'] : $txt['board_viewer']) . ')</span>' : '' , '
         




<br><font style="font-size: 8pt">', $board['description'], '</font>';
         else
         echo'
         <a name="b', $board['id'], '"></a>
         <b>', $board['link'], '</b>' , /*Board Viewers - by HarzeM*/($board['viewers'] > 0 ) ? '<span class="smalltext"> (<b>'.$board['viewers'] . '</b> ' . (($board['viewers'] > 1) ? $txt['board_viewers'] : $txt['board_viewer']) . ')</span>' : '' , '
         




<br><font style="font-size: 8pt">', $board['description'], '</font>';
            // Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...)
            if (!empty($board['children']))
            {
               // Sort the links into an array with new boards bold so it can be imploded.
               $children = array();
               /* Each child in each board's children has:
                  id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */
               $sayac=0;
               foreach ($board['children'] as $child)
               {
                  
                  
                  
                  $child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>'  . ' (' . $txt[335] . '' . $child['topics'] . '/' . $txt[336] . '' . $child['posts'] . ')';
                  //interaktif altbolum logosu by rallyproco   
                  
                     $children[] = $child['new'] ? '<img align="absmiddle" src="http://img339.imageshack.us/img339/8787/onaltnr9.gif"/>' . $child['link'] . '' : '<img align="absmiddle" src="http://img253.imageshack.us/img253/9304/offaltbj3.gif"/>' .$child['link'];
            $sayac++;
               }

               echo '
         <table><tr><td valign="top">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>:<br/>';
for($sayac2 = 0 ; $sayac2 < ceil($sayac/2);$sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td><td width="30"> </td><td valign="top"><span class="smalltext"><br/>';
for(; $sayac2 < $sayac ; $sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td></tr></table>';
            }

            echo '
      </td>      

<td class="windowbg3" valign="middle" width="20%">
               <span class="smalltext">';

            /* The board's and children's 'last_post's have:
            time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
            link, href, subject, start (where they should go for the first unread post.),
            and member. (which has id, name, link, href, username in it.) */
            if (!empty($board['last_post']['id']))
               echo '
                  <img align="absmiddle" src="', $settings['images_url'], '/post/xx.gif" alt="Icon" /><font style="font-size: 9pt">', $txt['smf88'], ' <b>', $board['last_post']['link'], '</b></font><br />
', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
                  <div style="float: right">
 ', $txt[30], ' ', $board['last_post']['time'], '<a href="', $board['last_post']['href'], '"><img alt="Son Mesaja Git" align="absmiddle" src="', $settings['images_url'], '/newmark.gif" align="right" hspace="3" border="0" /></a></div>' ;
            echo '
               </span>
     </td>


<td class="windowbg2" valign="middle" align="center" width="4%">', $board['topics'], '</td>
      <td class="windowbg2" valign="middle" align="center" width="4%">', $board['posts'], '</td><td class="windowbg2" valign="middle" align="center" width="8%">';
               if (!empty($board['moderators']))
               echo '
                  <div style="padding-top: 1px;" class="smalltext">
                  ' , implode('<br/>', $board['link_moderators']), '</div></td>
            

    </tr>';
         }
      }
   }

   // Show the "New Posts" and "No New Posts" legend.
   if ($context['user']['is_logged'])
   {
      echo '<br />
   <tr class="titlebg" height="20">
      
      <td colspan="6" align="right">';
      // Show the mark all as read button?
      if ($settings['show_mark_read'])
         echo '
         <center><a href="', $scripturl, '?action=markasread;sa=all;sesc=' . $context['session_id'] . '"><font style="font-size: 8pt">' , $txt[452], '</font></a></center>';
      echo '
      </td>
   </tr>';
   }

   echo '
</table></div>';

// Here's where the "Info Center" starts...
   echo '<br />
   <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
      <div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center; ">
         <a href="#" onclick="shrinkHeaderIC(!current_header_ic); return false;"><img id="upshrink_ic" src="', $settings['images_url'], '/', empty($options['collapse_header_ic']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin-right: 2ex;" align="right" /></a>
         ', $txt[685], '
      </div>
      <div id="upshrinkHeaderIC"', empty($options['collapse_header_ic']) ? '' : ' style="display: none;"', '>
         <table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">';

   // This is the "Recent Posts" bar.
   if (!empty($settings['number_recent_posts']))
   {
      echo '
            <tr>
               <td class="titlebg" colspan="2">', $txt[214], '</td>
            </tr>
            <tr>
               <td class="windowbg" width="20" valign="middle" align="center">
                  <a href="', $scripturl, '?action=recent"><img src="', $settings['images_url'], '/post/xx.gif" alt="', $txt[214], '" /></a>
               </td>
               <td class="windowbg2">';

      // Only show one post.
      if ($settings['number_recent_posts'] == 1)
      {
         // latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (its id.)
         echo '
                  <b><a href="', $scripturl, '?action=recent">', $txt[214], '</a></b>
                  <div class="smalltext">
                        ', $txt[234], ' &quot;', $context['latest_post']['link'], '&quot; ', $txt[235], ' (', $context['latest_post']['time'], ')<br />
                  </div>';
      }
      // Show lots of posts.
      elseif (!empty($context['latest_posts']))
      {
         echo '
                  <table cellpadding="0" cellspacing="0" width="100%" border="0">';

         /* Each post in latest_posts has:
               board (with an id, name, and link.), topic (the topic's id.), poster (with id, name, and link.),
               subject, short_subject (shortened with...), time, link, and href. */
         foreach ($context['latest_posts'] as $post)
            echo '
                     <tr>
                        <td class="middletext" valign="top"><b>', $post['link'], '</b> ', $txt[525], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</td>
                        <td class="middletext" align="right" valign="top" nowrap="nowrap">', $post['time'], '</td>
                     </tr>';
         echo '
                  </table>';
      }
      echo '
               </td>
            </tr>';
   }

   // Show information about events, birthdays, and holidays on the calendar.
   if ($context['show_calendar'])
   {
      echo '
            <tr>
               <td class="titlebg" colspan="2">', $context['calendar_only_today'] ? $txt['calendar47b'] : $txt['calendar47'], '</td>
            </tr><tr>
               <td class="windowbg" width="20" valign="middle" align="center">
                  <a href="', $scripturl, '?action=calendar"><img src="', $settings['images_url'], '/icons/calendar.gif" alt="', $txt['calendar24'], '" /></a>
               </td>
               <td class="windowbg2" width="100%">
                  <span class="smalltext">';

      // Holidays like "Christmas", "Chanukah", and "We Love [Unknown] Day" Tongue.
      if (!empty($context['calendar_holidays']))
            echo '
                     <span style="color: #', $modSettings['cal_holidaycolor'], ';">', $txt['calendar5'], ' ', implode(', ', $context['calendar_holidays']), '</span><br />';

      // People's birthdays. Like mine. And yours, I guess. Kidding.
      if (!empty($context['calendar_birthdays']))
      {
            echo '
                     <span style="color: #', $modSettings['cal_bdaycolor'], ';">', $context['calendar_only_today'] ? $txt['calendar3'] : $txt['calendar3b'], '</span> ';
      /* Each member in calendar_birthdays has:
            id, name (person), age (if they have one set?), is_last. (last in list?), and is_today (birthday is today?) */
      foreach ($context['calendar_birthdays'] as $member)
            echo '
                     <a href="', $scripturl, '?action=profile;u=', $member['id'], '">', $member['is_today'] ? '<b>' : '', $member['name'], $member['is_today'] ? '</b>' : '', isset($member['age']) ? ' (' . $member['age'] . ')' : '', '</a>', $member['is_last'] ? '<br />' : ', ';
      }
      // Events like community get-togethers.
      if (!empty($context['calendar_events']))
      {
         echo '
                     <span style="color: #', $modSettings['cal_eventcolor'], ';">', $context['calendar_only_today'] ? $txt['calendar4'] : $txt['calendar4b'], '</span> ';
         /* Each event in calendar_events should have:
               title, href, is_last, can_edit (are they allowed?), modify_href, and is_today. */
         foreach ($context['calendar_events'] as $event)
            echo '
                     ', $event['can_edit'] ? '<a href="' . $event['modify_href'] . '" style="color: #FF0000;">*</a> ' : '', $event['href'] == '' ? '' : '<a href="' . $event['href'] . '">', $event['is_today'] ? '<b>' . $event['title'] . '</b>' : $event['title'], $event['href'] == '' ? '' : '</a>', $event['is_last'] ? '<br />' : ', ';

         // Show a little help text to help them along Wink.
         if ($context['calendar_can_edit'])
            echo '
                     (<a href="', $scripturl, '?action=helpadmin;help=calendar_how_edit" onclick="return reqWin(this.href);">', $txt['calendar_how_edit'], '</a>)';
      }
      echo '
                  </span>
               </td>
            </tr>';
   }


   // Show YaBB SP1 style information...
   if ($settings['show_sp1_info'])
   {
      echo '
            <tr>
               <td class="titlebg" colspan="2">', $txt[645], '</td>
            </tr>
            <tr>
               <td class="windowbg" width="20" valign="middle" align="center">
                  <a href="', $scripturl, '?action=stats"><img src="', $settings['images_url'], '/icons/info.gif" alt="', $txt[645], '" /></a>
               </td>
               <td class="windowbg2" width="100%">
                  <span class="middletext">
                     ', $context['common_stats']['total_posts'], ' ', $txt[95], ' ', $txt['smf88'], ' ', $context['common_stats']['total_topics'], ' ', $txt[64], ' ', $txt[525], ' ', $context['common_stats']['total_members'], ' ', $txt[19], '. ', $txt[656], ': <b> ', $context['common_stats']['latest_member']['link'], '</b>
                     <br /> ' . $txt[659] . ': <b>&quot;' . $context['latest_post']['link'] . '&quot;</b>  ( ' . $context['latest_post']['time'] . ' )<br />
                     <a href="', $scripturl, '?action=recent">', $txt[234], '</a>', $context['show_stats'] ? '<br />
                     <a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
                  </span>
               </td>
            </tr>';
   }

   // "Users online" - in order of activity.
   echo '
            <tr>
               <td class="titlebg" colspan="2">', $txt[158], '</td>
            </tr><tr>
               <td rowspan="2" class="windowbg" width="20" valign="middle" align="center">
                  ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '
               </td>
               <td class="windowbg2" width="100%">';

   echo '
                  ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];

   // Handle hidden users and buddies.
   if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))
   {
      echo ' (';

      // Show the number of buddies online?
      if ($context['show_buddies'])
         echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];

      // How about hidden users?
      if (!empty($context['num_users_hidden']))
         echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];

      echo ')';
   }

   echo $context['show_who'] ? '</a>' : '', '
                  <div class="smalltext">';

   // Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
   if (!empty($context['users_online']))
      echo '
                     ', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

   echo '
                     <br />
                     ', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
                  </div>
               </td>
            </tr>
            <tr>
               <td class="windowbg2" width="100%">
                  <span class="middletext">
                     ', $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.
                     ', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
                  </span>
               </td>
            </tr>';

   // If they are logged in, but SP1 style information is off... show a personal message bar.
   if ($context['user']['is_logged'] && !$settings['show_sp1_info'])
   {
       echo '
            <tr>
               <td class="titlebg" colspan="2">', $txt[159], '</td>
            </tr><tr>
               <td class="windowbg" width="20" valign="middle" align="center">
                  ', $context['allow_pm'] ? '<a href="' . $scripturl . '?action=pm">' : '', '<img src="', $settings['images_url'], '/message_sm.gif" alt="', $txt[159], '" />', $context['allow_pm'] ? '</a>' : '', '
               </td>
               <td class="windowbg2" valign="top">
                  <b><a href="', $scripturl, '?action=pm">', $txt[159], '</a></b>
                  <div class="smalltext">
                     ', $txt[660], ' ', $context['user']['messages'], ' ', $context['user']['messages'] == 1 ? $txt[471] : $txt[153], '.... ', $txt[661], ' <a href="', $scripturl, '?action=pm">', $txt[662], '</a> ', $txt[663], '
                  </div>
               </td>
            </tr>';
   }

   // Show the login bar. (it's only true if they are logged out anyway.)
   if ($context['show_login_bar'])
   {
      echo '
            <tr>
               <td class="titlebg" colspan="2">', $txt[34], ' <a href="', $scripturl, '?action=reminder" class="smalltext">(' . $txt[315] . ')</a></td>
            </tr>
            <tr>
               <td class="windowbg" width="20" align="center">
                  <a href="', $scripturl, '?action=login"><img src="', $settings['images_url'], '/icons/login.gif" alt="', $txt[34], '" /></a>
               </td>
               <td class="windowbg2" valign="middle">
                  <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
                     <table border="0" cellpadding="2" cellspacing="0" align="center" width="100%"><tr>
                        <td valign="middle" align="left">
                           <label for="user"><b>', $txt[35], ':</b><br />
                           <input type="text" name="user" id="user" size="15" /></label>
                        </td>
                        <td valign="middle" align="left">
                           <label for="passwrd"><b>', $txt[36], ':</b><br />
                           <input type="password" name="passwrd" id="passwrd" size="15" /></label>
                        </td>
                        <td valign="middle" align="left">
                           <label for="cookielength"><b>', $txt[497], ':</b><br />
                           <input type="text" name="cookielength" id="cookielength" size="4" maxlength="4" value="', $modSettings['cookieTime'], '" /></label>
                        </td>
                        <td valign="middle" align="left">
                           <label for="cookieneverexp"><b>', $txt[508], ':</b><br />
                           <input type="checkbox" name="cookieneverexp" id="cookieneverexp" checked="checked" class="check" /></label>
                        </td>
                        <td valign="middle" align="left">
                           <input type="submit" value="', $txt[34], '" />
                        </td>
                     </tr></table>
                  </form>
               </td>
            </tr>';
   }

   echo '
         </table>
      </div>
   </div>';
}

?>
ben gösterdim sen yapsan:)
Kayıtlı

smfdestek sitesi:
www.rapsmf.com
BİZİMLE ÇALIŞMAK İSTERMİSİNİZ...
iletişim  : inan_diyadin@hotmail.com
Tema yapmak isteyen ama yapamıyan  Smiley Bana ulaşsın...
MSN 'den SMF Destek Vermiyorum.Ekleyip SEnkimsin Diyede Sormayın!!!
Sayfa: [1]   Yukarı git
Bu Konuyu GönderYazdır
Simple Machines Forum Türkçe Yardım Sitesi > Simple Machines Forum Temaları  > Temalarınızı kendinize göre düzenleyin > Konu: Konuyu Yazan Kisi
« önceki sonraki »
 
Gitmek istediğiniz yer:  


Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines | NewDef design by Bloc
Gulhin Internet Hizmetleri
Bu Sayfa 0.923 Saniyede 18 Sorgu ile Oluşturuldu
Yükleniyor...