Webmaster Genel Forumları kategorimiz yenilendi!
SMF 2.0 sürümleri için yeni modül/eklentiler sitemizde! İlgili kategorilere gözatabilirsiniz.
Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
Hoşgeldiniz Ziyaretçi. Lütfen giriş yapın veya kayıt olun
Tarih/Saat: 18 Mayıs 2012, 14:30:50
Sayfa: 1 2 [3] 4 5 ... 17 Yazdır
Gönderen Konu: Arşiv,sitemap,rss,wap Google sitenizi İndexlesin  (Okunma sayısı 16373 defa)
O şimdi Adana'da...
Çevrimdışı - Emektar
*
İleti: 1184
Teşekkür Sayısı: 100
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
E-Posta
« Yanıtla #20 : 04 Mart 2008, 22:47:12 »

rss yi admin >>> haberler bölümünden aktif edebilirsin.yukarıda söylenenleri yapar,dosyaları kullanırsan wap ve sitemap kurmuş olursun...
Kayıtlı

SimpleTurk - Türkiye'nin Lider SMF Destek Portalı!
Yönetim Ekibi - Genel Sorumlu
Web Siteler - Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin | Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin | Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
Yöneticiler hariç kimse PM'den ulaşamaz.
Çırak Üye
*
İleti: 59
Teşekkür Sayısı: 1
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
E-Posta
« Yanıtla #21 : 05 Mart 2008, 15:04:07 »

Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
yedek alarak ekteki dosyayı bir dene.tema hatası almazsan

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<center><a href="http://www.forumtex.net/forum/sitemap/">Site Map</a> | <a href="http://www.forumtex.net/forum/archives.php">Arsiv</a> | <a href="http://www.forumtex.net/forum/index.php?wap">Wap</a> | <a href="http://www.forumtex.net/forum/index.php?wap2">Wap2</a> | <a href="http://www.forumtex.net/forum/index.php?imode">Wap Forum</a> | <a href="http://www.forumtex.net/forum/index.php?action=.xml">XML</a> | <a href="http://www.forumtex.net/forum/index.php?action=.xml;type=rss">Rss</a> | <a href="http://www.forumtex.net/forum/index.php?action=tags">Tags</a></center>
kodunu bulup ilgili yerleri düzenle...


sağolasın PirMuhammed verdiğin dosyayı denedim oldu eline sağlık
Kayıtlı
Yasaklı
*
İleti: 784
Teşekkür Sayısı: 30
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
E-Posta
« Yanıtla #22 : 05 Mart 2008, 18:56:33 »

Heavy_metal temasına uygun kodları bulabılırmısınız...Bu eklentı ıcın kodlar asagıdadır...bulunması gereken kodu bulamamadım :(
 
Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<?php
// Version: 1.1; index
/* This template is, perhaps, the most important template in the theme. It
 contains the main template layer that displays the header and footer of
 the forum, namely with main_above and main_below. It also contains the
 menu sub template, which appropriately displays the menu; the init sub
 template, which is there to set the theme up; (init can be missing.) and
 the linktree sub template, which sorts out the link tree.
 The init sub template should load any data and set any hardcoded options.
 The main_above sub template is what is shown above the main content, and
 should contain anything that should be shown up there.
 The main_below sub template, conversely, is shown after the main content.
 It should probably contain the copyright statement and some other things.
 The linktree sub template should display the link tree, using the data
 in the $context['linktree'] variable.
 The menu sub template should display all the relevant buttons the user
 wants and or needs.
 For more information on the templating system, please see the site at:
 http://www.simplemachines.org/
*/
// Initialize the template... mainly little settings.
function template_init()
{
 global 
$context$settings$options$txt;
 
/* Use images from default theme when using templates from the default theme?
  if this is 'always', images from the default theme will be used.
  if this is 'defaults', images from the default theme will only be used with default templates.
  if this is 'never' or isn't set at all, images from the default theme will not be used. */
 
$settings['use_default_images'] = 'never';
 
/* What document type definition is being used? (for font size and other issues.)
  'xhtml' for an XHTML 1.0 document type definition.
  'html' for an HTML 4.01 document type definition. */
 
$settings['doctype'] = 'xhtml';
 
/* The version this template/theme is for.
  This should probably be the version of SMF it was created for. */
 
$settings['theme_version'] = '1.1';
 
/* Set a setting that tells the theme that it can render the tabs. */
 
$settings['use_tabs'] = true;
 
/* Use plain buttons - as oppossed to text buttons? */
 
$settings['use_buttons'] = true;
 
/* Show sticky and lock status seperate from topic icons? */
 
$settings['seperate_sticky_lock'] = true;
}
// The main sub template above the content.
function template_main_above()
{
 global 
$context$settings$options$scripturl$txt$modSettings;
 
// Show right to left and the character set for ease of translating.
 
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"'
$context['right_to_left'] ? ' dir="rtl"' '''><head>
 <meta http-equiv="Content-Type" content="text/html; charset='
$context['character_set'], '" />
 <meta name="description" content="'
$context['page_title'], '" />', empty($context['robot_no_index']) ? '' '
 <meta name="robots" content="noindex" />'
'
 <meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
 <script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/script.js?fin11"></script>
 <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
  var smf_theme_url = "'
$settings['theme_url'], '";
  var smf_images_url = "'
$settings['images_url'], '";
  var smf_scripturl = "'
$scripturl'";
  var smf_iso_case_folding = '
$context['server']['iso_case_folding'] ? 'true' 'false'';
  var smf_charset = "'
$context['character_set'], '";
 // ]]></script>
 <title>'
$context['page_title'], '</title>';
  
// The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
 
echo '
 <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style.css?fin11" />
  <link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/print.css?fin11" media="print" />';
 
/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
  Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
  Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
  Standards compliance mode happens when you use xhtml... */
 
if ($context['browser']['needs_size_fix'])
  echo 
'
 <link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';
 
// Show all the relative links, such as help, search, contents, and the like.
 
echo '
 <link rel="help" href="'
$scripturl'?action=help" target="_blank" />
 <link rel="search" href="' 
$scripturl '?action=search" />
 <link rel="contents" href="'
$scripturl'" />';
 
// If RSS feeds are enabled, advertise the presence of one.
 
if (!empty($modSettings['xmlnews_enable']))
  echo 
'
 <link rel="alternate" type="application/rss+xml" title="'
$context['forum_name'], ' - RSS" href="'$scripturl'?type=rss;action=.xml" />';
 
// If we're viewing a topic, these should be the previous and next topics, respectively.
 
if (!empty($context['current_topic']))
  echo 
'
 <link rel="prev" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=prev" />
 <link rel="next" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=next" />';
 
// If we're in a board, or a topic for that matter, the index will be the board's index.
 
if (!empty($context['current_board']))
  echo 
'
 <link rel="index" href="' 
$scripturl '?board=' $context['current_board'] . '.0" />';
 
// We'll have to use the cookie to remember the header...
 
if ($context['user']['is_guest'])
  
$options['collapse_header'] = !empty($_COOKIE['upshrink']);
 
// Output any remaining HTML headers. (from mods, maybe?)
 
echo $context['html_headers'], '
 <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
  var current_header = '
, empty($options['collapse_header']) ? 'false' 'true'';
  function shrinkHeader(mode)
  {'
;
 
// Guests don't have theme options!!
 
if ($context['user']['is_guest'])
  echo 
'
   document.cookie = "upshrink=" + (mode ? 1 : 0);'
;
 else
  echo 
'
   smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "'
$context['session_id'], '");';
 echo 
'
   document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
   document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
   document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";
   current_header = mode;
  }
 // ]]></script>'
;
 
// the routine for the info center upshrink
 
echo '
  <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
   var current_header_ic = '
, empty($options['collapse_header_ic']) ? 'false' 'true'';
   function shrinkHeaderIC(mode)
   {'
;
 if (
$context['user']['is_guest'])
  echo 
'
    document.cookie = "upshrinkIC=" + (mode ? 1 : 0);'
;
 else
  echo 
'
    smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "'
$context['session_id'], '");';
 echo 
'
    document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");
    document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";
    current_header_ic = mode;
   }
  // ]]></script>
'
;
echo 
'

<script type="text/javascript"  src="'
$settings['theme_url'], '/menu.js"></script>
<script type="text/javascript"  src="'
$settings['theme_url'], '/global.js"></script>
</STYLE>'
;
echo
'
<SCRIPT type=text/javascript>
var IMGDIR_MISC = "'
$settings['images_url'], '";
</SCRIPT>'
;
echo
'
<SCRIPT type=text/javascript>
<!--
function log_out()
{
 ht = document.getElementsByTagName("html");
 ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
 if (confirm(' 
$txt[108] , '))
 {
  return true;
 }
 else
 {
  ht[0].style.filter = "";
  return false;
 }
}
//-->
</SCRIPT>
</head>
<body>
'
;
//Yararlı linkler menüsü by Turklord
echo'
 <div class="tborder"   id="usercptools_menu" style="display:none">
  <table  cellpadding="4" cellspacing="1" border="0">
  
  <tr><td class="yararli_link">Yararli Linkler</td></tr>  
  <tr><td style="border-top:1px solid #ffffff;" class="vbmenu_option"><a href="'
$scripturl'?action=unread">Bugünkü Mesajlar </a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;" class="vbmenu_option"><a href="'
$scripturl'?action=unreadreplies">Mesajlarıma Yazılan Cevaplar </a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;" class="vbmenu_option"><a href="'
$scripturl'?action=markasread;sa=all;sesc=' $context['session_id'] . '">Forumlari Okundu Kabul Et</a></td></tr>
  
  <tr><td class="yararli_link"><a href="'
$scripturl'?action=profile">Profiliniz</a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;" class="vbmenu_option"><a href="' 
$scripturl '?action=profile;u=' $context['member']['id'] . ';sa=account">Üyelik ayarlariniz</a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;"  class="vbmenu_option"><a href="' 
$scripturl '?action=profile;u=' $context['member']['id'] . ';sa=forumProfile">Kimlik bilginiz</a></td></tr>
  <tr><td style="border-top:1px solid #ffffff; border-bottom:1px solid #ffffff;"   class="vbmenu_option"><a href="' 
$scripturl '?action=profile;u=' $context['member']['id'] . ';sa=theme">Forum ayarlarınız</a></td></tr>
  
  <tr><td class="yararli_link">Çesitli</td></tr>
  <tr><td style="border-top:1px solid #ffffff;"  class="vbmenu_option"><a href="'
$scripturl'?action=pm">Özel Mesajlar</a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;"  class="vbmenu_option"><a href="'
$scripturl'?action=stats">Daha Fazla İstatistik</a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;border-bottom:1px solid #ffffff;"    class="vbmenu_option"><a href="' 
$scripturl '?action=who">Kimler Online</a></td></tr>
  
  
  </table>
 </div> '
;
//Hızlı arama by Turklord
echo'
 <div class="tborder" id="navbar_search_menu" style="display:none">
 
  <table cellpadding="4" cellspacing="1" border="0">
  <tr>
   <td class="yararli_link">Hizli Arama</td>
  </tr>
  <tr>
   <td class="windowbg" title="">
<form action="'
$scripturl'?action=search2" method="post" accept-charset="'$context['character_set'], '" style="margin: 0;">
    <div class="middletext"><input type="text" name="search" value="" size="25" tabindex="1001"/>
    
   <input type="submit" class="button" value="Git" tabindex="1004" /></div>
   <input type="hidden" name="advenced" value="0"  size="25" tabindex="1001">
   </td>
  </tr>
  
   <tr>   <td style="border-top:1px solid #ffffff;border-bottom:1px solid #;"    class="vbmenu_option"><a href="'
$scripturl'?action=search;advanced" accesskey="4" rel="nofollow">Gelismis Arama Yap</a></td>
  </tr>
  </table>
  </form>
 </div>'
;
echo
'
<table border="0" width="100%" cellpadding="0" cellspacing="0" >
<tr>
 <td align="center"><img src="'
$settings['images_url'], '/logo.gif" ></td></tr></table></br>
'
;
 
// The main content should go here.
 
echo '
 <div class="xborder" id="bodyarea"  style="padding: 3ex 25px 2ex 25px; background: #111111;">'
;
 
// display user name
 
echo '
<div class="tborder"  '
$context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' '''>
  <table width="100%" align="center" cellspacing="0" cellpadding="4" style="BORDER-BOTTOM: #191919 1px solid;" border="0" >
   <tr>'
;
   
 echo 
'
  <td class="windowbg2" width="100%" valign="middle" align="left">
  '
theme_linktree(), '
  </td>'
;
 echo 
'
 <td   valign="middle" class="windowbg"><span class="middletext" style="display:block;width:280px;">'
;
// display user name
 
 
if($context['user']['is_logged'])
  echo 
'
    <font style="font-size: 8pt">
<span style="font-size: 100%;"> '
$txt['hello_member_ndt'], ' <font style="font-size: 8pt" color="#000000"><b>'$context['user']['name'] , '</b></font></span><br>
   '
;
   
// Only tell them about their messages if they can read their messages!
if ($context['allow_pm'])
echo  
''$txt[152], ' <a href="'$scripturl'?action=pm">'$context['user']['messages'], ' '$context['user']['messages'] != $txt[153] : $txt[471], '</a>'$txt['newmessages4'], ' '$context['user']['unread_messages'], ' '$context['user']['unread_messages'] == $txt['newmessages0'] : $txt['newmessages1'];
echo
'<br />
  
'
;
  
 
// Now, onto our second set of info, are they logged in again?
 
if ($context['user']['is_logged'])
 {
  
// Is the forum in maintenance mode?
  
if ($context['in_maintenance'] && $context['user']['is_admin'])
   echo 
'
   <b>'
$txt[616], '</b><br />';
  
// Are there any members waiting for approval?
  
if (!empty($context['unapproved_members']))
   echo 
'
   '
$context['unapproved_members'] == $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="'$scripturl'?action=viewmembers;sa=browse;type=approve">'$context['unapproved_members'] == $txt['approve_member'] : $context['unapproved_members'] . ' ' $txt['approve_members'], '</a> '$txt['approve_members_waiting'], '<br />';
  
// Show the total time logged in?
  
if (!empty($context['user']['total_time_logged_in']))
  {
   echo 
'
   '
$txt['totalTimeLogged1']; echo' <br> ';
   
// 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'], '<br />';
  }
  echo 
'    </span>';

 }

 
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
 
else
 {
  echo 
'
    <script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/sha1.js"></script>
    <form action="'
$scripturl'?action=login2" method="post" class="smalltext" style="margin: 0px 0ex 0px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' $context['session_id'] . '\');"' '''>
<table  border="0" cellpadding="0" cellspacing="0" >
<tr><td valign="middle" style="font-size: 8pt;" align="left">'
,$txt[35],':</td>
<td><input type="text" name="user" size="11"/></td>
    <td  align="left" style="font-size: 8pt;"><input type="checkbox" name="cookieneverexp"'
$context['never_expire'] ? ' checked="checked"' ''' class="check" onclick="this.form.cookielength.disabled = this.checked;" />Beni Hatirla</td><tr>
<tr> <td  align="left" style="font-size: 8pt;">'
,$txt[36],':</td>
<td><input type="password" name="passwrd" size="11"/></td>
<td  align="left" style="font-size: 8pt;"><input type="submit" value="'
$txt[34], '"/></td></tr>
    </form></tr></table>'
;    
 }
echo
'
</TR></table>'
;
 echo 
'
  <table id="upshrinkHeader2"'
, empty($options['collapse_header']) ? '' ' style="display: none;"'' width="100%" cellpadding="4" cellspacing="0" border="0">
   <tr>'
;

 echo 
'
    

 
 <tr align="center" width="100%">
  
  
   '
template_menu(), '
  
 
  
 </tr>
'
;
 echo 
'
   </tr>
  </table>
 </div>'
;
  
 
// The main content should go here.
 
echo '
 <div id="bodyarea" style="padding: 3ex 0px 2ex 0px;">'
;
 
 
}
function 
template_main_below()
{
 global 
$context$settings$options$scripturl$txt;
 echo 
'
 </div>'
;
echo 
'
 </div>'
;
echo
'
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<td height="30" width="100%" class=titlebg>'
;
echo
'
  <form action="'
$scripturl'" method="get" style="padding:0; margin: 0;">
   <select name="jumpto" id="jumpto" onchange="if (this.selectedIndex > 0 &amp;&amp; this.options[this.selectedIndex].value) window.location.href = smf_scripturl + this.options[this.selectedIndex].value.substr(smf_scripturl.indexOf(\'?\') == -1 || this.options[this.selectedIndex].value.substr(0, 1) != \'?\' ? 0 : 1);">
   <optgroup style="background-color: #b0c4de;" label="Select Language"></optgroup>
   
    '
;
 echo '
<option value="?language=turkish">--Dili Seç</option>
 <option value="?language=turkish">--Turkish</option>
 
 <option value="?language=english">--English</option>

</form>
'
;
 
// Is the user allowed to administrate at all? ([admin])
 
if ($context['allow_admin'])
  echo 
'
    <td   align="right" class="titlebg"><a href="'
$scripturl'?action=admin">' $txt[2] , '</a></td>';
echo
'
<td   align="right" class="titlebg"><a href="/forum/archive.php">Arsiv</a></td>
    
</td>
</table>'
;
 
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
 
echo '
 <div id="footerarea" style="text-align: center; padding-bottom: 1ex;'
$context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' '''">
  <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
   function smfFooterHighlight(element, value)
   {
    element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
   }
  // ]]></script>
  <table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
   <tr></br></br></br>
    <td valign="middle" align="center" style="white-space: nowrap;">
'
theme_copyright(), '<br>heavy_metal Theme Design by <a href="Turklordhttp://www.forumavi.net">Turklord</a>
    </td>
    
   </tr>
  </table>'
;
  
// Show the load time?
 
if ($context['show_load_time'])
  echo 
'
  <span class="smalltext">'
$txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';
 
// This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough.
 
if (($context['browser']['is_ie'] && !$context['browser']['is_ie4']) || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'] || $context['browser']['is_firefox'])
 {
  
// The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.
  
echo '
  <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA['
;
  
// Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code...
  
if ($context['browser']['is_safari'])
   echo 
'
   window.addEventListener("load", smf_codeFix, false);
   function smf_codeFix()
   {
    var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
    for (var i = 0; i < codeFix.length; i++)
    {
if ((codeFix[i].className == "code" || codeFix[i].className == "post" || codeFix[i].className == "signature") && codeFix[i].offsetHeight < 20)
 codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + "px";
    }
   }'
;
  elseif (
$context['browser']['is_firefox'])
   echo 
'
   window.addEventListener("load", smf_codeFix, false);
   function smf_codeFix()
   {
    var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
    for (var i = 0; i < codeFix.length; i++)
    {
if (codeFix[i].className == "code" && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0))
 codeFix[i].style.overflow = "scroll";
    }
   }'
;   
  else
   echo 
'
   var window_oldOnload = window.onload;
   window.onload = smf_codeFix;
   function smf_codeFix()
   {
    var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
    for (var i = codeFix.length - 1; i > 0; i--)
    {
if (codeFix[i].currentStyle.overflow == "auto" && (codeFix[i].currentStyle.height == "" || codeFix[i].currentStyle.height == "auto") && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0 || codeFix[i].className == "code"))
 codeFix[i].style.height = (codeFix[i].offsetHeight + 36) + "px";
    }
    if (window_oldOnload)
    {
window_oldOnload();
window_oldOnload = null;
    }
   }'
;
  echo 
'
  // ]]></script>'
;
 }
 echo 
'
 </div>'
;

 
// The following will be used to let the user know that some AJAX process is running
 
echo '<SCRIPT type=text/javascript>vBulletin_init();</SCRIPT>
 <div id="ajax_in_progress" style="display: none;'
$context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' '''">'$txt['ajax_in_progress'], '</div>
</body></html>'
;
}
// Show a linktree (vB Clone).  This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
   global $context$settings$options;
   // Folder style or inline?  Inline has a smaller font.
   echo '<span class="nav-tree">';
  
  echo 
'<img src="' $settings['images_url'] . '/icons/folder_open.gif" alt="+" border="0" />&nbsp;';
   // Each tree item has a URL and name.  Some may have extra_before and extra_after.
   foreach ($context['linktree'] as $link_num => $tree)
   {
 // Show something before the link?
 if (isset($tree['extra_before']))
    echo $tree['extra_before'];
 if (($link_num == count($context['linktree']) - 1) && count($context['linktree'])>1)
    echo '<br />
 <img src="' 
$settings['images_url'] . '/icons/linktree_side.gif" alt="" border="0" />&nbsp;';
 // Show the link, including a URL if it should have one.
 echo '<b>'$settings['linktree_link'] && isset($tree['url']) ? '<a href="' $tree['url'] . '" class="nav-tree">' $tree['name'] . '</a>' $tree['name'], '</b>';
 // Show something after the link...?
 if (isset($tree['extra_after']))
    echo $tree['extra_after'];
 // Don't show a separator for the last one.
 if ($link_num count($context['linktree']) - 2)
    echo '&nbsp;&raquo;&nbsp;';
   }
   echo '</span>';
}
 
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
 
global 
$context$settings$options$scripturl$txt;
 
// Work out where we currently are.
 
$current_action 'home';
 if (
in_array($context['current_action'], array('admin''ban''boardrecount''cleanperms''detailedversion''dumpdb''featuresettings''featuresettings2''findmember''maintain''manageattachments''manageboards''managecalendar''managesearch''membergroups''modlog''news''optimizetables''packageget''packages''permissions''pgdownload''postsettings''regcenter''repairboards''reports''serversettings''serversettings2''smileys''viewErrorLog''viewmembers')))
  
$current_action 'admin';
 if (
in_array($context['current_action'], array('search''admin''calendar''profile''mlist''register''login''help''pm')))
  
$current_action $context['current_action'];
 if (
$context['current_action'] == 'search2')
  
$current_action 'search';
 if (
$context['current_action'] == 'theme')
  
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' 'profile' 'admin';

 
// Show the start of the tab section.
 
echo '
   <table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
    <tr>'
;
 
// Show the [home] button.
 
echo '
   <td  align="center" class="vbmenu_control"><a href="'
$scripturl'">' $txt[103] , '</a></td>';
 
// Show the [help] button.
 
echo '
   <td  align="center" class="vbmenu_control"><a href="'
$scripturl'?action=help">' $txt[119] , '</a></td>';
 
  
    
 
// Edit Profile... [profile]
 
if ($context['allow_edit_profile'])
  echo 
'
    <td  align="center" class="vbmenu_control"><a href="'
$scripturl'?action=profile">' $txt[79] , '</a></td>';
    
 
// Go to PM center... [pm]
 
if ($context['user']['is_logged'] && $context['allow_pm'])
   echo 
'
    <td  align="center" class="vbmenu_control"><a href="'
$scripturl'?action=pm">' $txt['pm_short'] , ' '$context['user']['unread_messages'] > '[<strong>'$context['user']['unread_messages'] . '</strong>]' '' '</a></td>';
    
 
// The [calendar]!
 
if ($context['allow_calendar'])
  echo 
'
    <td  align="center" class="vbmenu_control" ><a href="'
$scripturl'?action=calendar">' $txt['calendar24'] , '</a></td>';
 
// the [member] list button
 
if ($context['allow_memberlist'])
  echo 
'
    <td  valign="top" align="center" class="vbmenu_control"><a href="'
$scripturl'?action=mlist">' $txt[331] , '</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>';
 
// How about the [search] button?
 
if ($context['allow_search'])
  echo 
'
    <td align="center" id="navbar_search"  class="vbmenu_control">
<a href="' 
$scripturl '#Turklord" rel="nofollow">Arama</a><script type="text/javascript"> vbmenu_register("navbar_search"); </script>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>';
if (
$context['user']['is_logged'])
  echo
'  
    <TD id=usercptools class="vbmenu_control"><A href="' 
$scripturl '#Turklord">Yararli Linkler</A>
 <SCRIPT type=text/javascript> vbmenu_register("usercptools"); </SCRIPT></td>'
;
  

 
// If the user is a guest, show [login] button.
 
if ($context['user']['is_guest'])
  echo 
'
    <td  align="center" class="vbmenu_control"><a href="'
$scripturl'?action=login">' $txt[34] , '</a></td>';

 
// If the user is a guest, also show [register] button.
 
if ($context['user']['is_guest'])
  echo 
'
    <td  align="center" class="vbmenu_control"><a href="'
$scripturl'?action=register">' $txt[97] , '</a></td>';

 
// Otherwise, they might want to [logout]...
 
if ($context['user']['is_logged'])
  echo 
'
    <td  align="center" class="vbmenu_control"><a onclick="return log_out()" href="'
$scripturl'?action=logout;sesc='$context['session_id'], '">' $txt[108] , '</a></td>';
 
// The end of tab section.
 
echo '
   </tr>
  </table>'
;
 
}

// Generate a strip of buttons.
function template_button_strip($button_strip$direction 'top'$force_reset false$custom_td '')
{
 global 
$settings$buttons$context$txt$scripturl;
 
// Create the buttons...
 
foreach ($button_strip as $key => $value)
 {
  if (isset(
$value['test']) && empty($context[$value['test']]))
  {
   unset(
$button_strip[$key]);
   continue;
  }
  elseif (!isset(
$buttons[$key]) || $force_reset)
   
$buttons[$key] = '<a href="' $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' $txt[$value['text']] . '</a>';
  
$button_strip[$key] = $buttons[$key];
 }
 if (empty(
$button_strip))
  return 
'<td>&nbsp;</td>';
 echo 
'
  <td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'last' 'first' '">&nbsp;</td>
  <td class="'
$direction == 'top' 'main' 'mirror''tab_back">'implode(' &nbsp;|&nbsp; '$button_strip) , '</td>
  <td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'first' 'last' '">&nbsp;</td>';
}
?>
Kayıtlı
O şimdi Adana'da...
Çevrimdışı - Emektar
*
İleti: 1184
Teşekkür Sayısı: 100
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
E-Posta
« Yanıtla #23 : 05 Mart 2008, 23:00:05 »

yedek alarak dene bakalım.olursa forumtex diye aratıp oraları editle...

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<?php
// Version: 1.1; index
/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.
The init sub template should load any data and set any hardcoded options.
The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.
The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.
The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.
The menu sub template should display all the relevant buttons the user
wants and or needs.
For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/
// Initialize the template... mainly little settings.
function template_init()
{
global 
$context$settings$options$txt;
/* Use images from default theme when using templates from the default theme?
  if this is 'always', images from the default theme will be used.
  if this is 'defaults', images from the default theme will only be used with default templates.
  if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';
/* What document type definition is being used? (for font size and other issues.)
  'xhtml' for an XHTML 1.0 document type definition.
  'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';
/* The version this template/theme is for.
  This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '1.1';
/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = true;
/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = true;
/* Show sticky and lock status seperate from topic icons? */
$settings['seperate_sticky_lock'] = true;
}
// The main sub template above the content.
function template_main_above()
{
global 
$context$settings$options$scripturl$txt$modSettings;
// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"'
$context['right_to_left'] ? ' dir="rtl"' '''><head>
<meta http-equiv="Content-Type" content="text/html; charset='
$context['character_set'], '" />
<meta name="description" content="'
$context['page_title'], '" />', empty($context['robot_no_index']) ? '' '
<meta name="robots" content="noindex" />'
'
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/script.js?fin11"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
  var smf_theme_url = "'
$settings['theme_url'], '";
  var smf_images_url = "'
$settings['images_url'], '";
  var smf_scripturl = "'
$scripturl'";
  var smf_iso_case_folding = '
$context['server']['iso_case_folding'] ? 'true' 'false'';
  var smf_charset = "'
$context['character_set'], '";
// ]]></script>
<title>'
$context['page_title'], '</title>';
  
// The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style.css?fin11" />
  <link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/print.css?fin11" media="print" />';
/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
  Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
  Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
  Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
  echo 
'
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';
// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="'
$scripturl'?action=help" target="_blank" />
<link rel="search" href="' 
$scripturl '?action=search" />
<link rel="contents" href="'
$scripturl'" />';
// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
  echo 
'
<link rel="alternate" type="application/rss+xml" title="'
$context['forum_name'], ' - RSS" href="'$scripturl'?type=rss;action=.xml" />';
// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
  echo 
'
<link rel="prev" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=next" />';
// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
  echo 
'
<link rel="index" href="' 
$scripturl '?board=' $context['current_board'] . '.0" />';
// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
  
$options['collapse_header'] = !empty($_COOKIE['upshrink']);
// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
  var current_header = '
, empty($options['collapse_header']) ? 'false' 'true'';
  function shrinkHeader(mode)
  {'
;
// Guests don't have theme options!!
if ($context['user']['is_guest'])
  echo 
'
   document.cookie = "upshrink=" + (mode ? 1 : 0);'
;
else
  echo 
'
   smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "'
$context['session_id'], '");';
echo 
'
   document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
   document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
   document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";
   current_header = mode;
  }
// ]]></script>'
;
// the routine for the info center upshrink
echo '
  <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
   var current_header_ic = '
, empty($options['collapse_header_ic']) ? 'false' 'true'';
   function shrinkHeaderIC(mode)
   {'
;
if (
$context['user']['is_guest'])
  echo 
'
    document.cookie = "upshrinkIC=" + (mode ? 1 : 0);'
;
else
  echo 
'
    smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "'
$context['session_id'], '");';
echo 
'
    document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");
    document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";
    current_header_ic = mode;
   }
  // ]]></script>
'
;
echo 
'

<script type="text/javascript"  src="'
$settings['theme_url'], '/menu.js"></script>
<script type="text/javascript"  src="'
$settings['theme_url'], '/global.js"></script>
</STYLE>'
;
echo
'
<SCRIPT type=text/javascript>
var IMGDIR_MISC = "'
$settings['images_url'], '";
</SCRIPT>'
;
echo
'
<SCRIPT type=text/javascript>
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
if (confirm(' 
$txt[108] , '))
{
  return true;
}
else
{
  ht[0].style.filter = "";
  return false;
}
}
//-->
</SCRIPT>
</head>
<body>
'
;
//Yararlı linkler menüsü by Turklord
echo'
<div class="tborder"   id="usercptools_menu" style="display:none">
  <table  cellpadding="4" cellspacing="1" border="0">
  
  <tr><td class="yararli_link">Yararli Linkler</td></tr>  
  <tr><td style="border-top:1px solid #ffffff;" class="vbmenu_option"><a href="'
$scripturl'?action=unread">Bugünkü Mesajlar </a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;" class="vbmenu_option"><a href="'
$scripturl'?action=unreadreplies">Mesajlarıma Yazılan Cevaplar </a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;" class="vbmenu_option"><a href="'
$scripturl'?action=markasread;sa=all;sesc=' $context['session_id'] . '">Forumlari Okundu Kabul Et</a></td></tr>
  
  <tr><td class="yararli_link"><a href="'
$scripturl'?action=profile">Profiliniz</a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;" class="vbmenu_option"><a href="' 
$scripturl '?action=profile;u=' $context['member']['id'] . ';sa=account">Üyelik ayarlariniz</a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;"  class="vbmenu_option"><a href="' 
$scripturl '?action=profile;u=' $context['member']['id'] . ';sa=forumProfile">Kimlik bilginiz</a></td></tr>
  <tr><td style="border-top:1px solid #ffffff; border-bottom:1px solid #ffffff;"   class="vbmenu_option"><a href="' 
$scripturl '?action=profile;u=' $context['member']['id'] . ';sa=theme">Forum ayarlarınız</a></td></tr>
  
  <tr><td class="yararli_link">Çesitli</td></tr>
  <tr><td style="border-top:1px solid #ffffff;"  class="vbmenu_option"><a href="'
$scripturl'?action=pm">Özel Mesajlar</a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;"  class="vbmenu_option"><a href="'
$scripturl'?action=stats">Daha Fazla İstatistik</a></td></tr>
  <tr><td style="border-top:1px solid #ffffff;border-bottom:1px solid #ffffff;"    class="vbmenu_option"><a href="' 
$scripturl '?action=who">Kimler Online</a></td></tr>
  
  
  </table>
</div> '
;
//Hızlı arama by Turklord
echo'
<div class="tborder" id="navbar_search_menu" style="display:none">

  <table cellpadding="4" cellspacing="1" border="0">
  <tr>
   <td class="yararli_link">Hizli Arama</td>
  </tr>
  <tr>
   <td class="windowbg" title="">
<form action="'
$scripturl'?action=search2" method="post" accept-charset="'$context['character_set'], '" style="margin: 0;">
    <div class="middletext"><input type="text" name="search" value="" size="25" tabindex="1001"/>
    
   <input type="submit" class="button" value="Git" tabindex="1004" /></div>
   <input type="hidden" name="advenced" value="0"  size="25" tabindex="1001">
   </td>
  </tr>
  
   <tr>   <td style="border-top:1px solid #ffffff;border-bottom:1px solid #;"    class="vbmenu_option"><a href="'
$scripturl'?action=search;advanced" accesskey="4" rel="nofollow">Gelismis Arama Yap</a></td>
  </tr>
  </table>
  </form>
</div>'
;
echo
'
<table border="0" width="100%" cellpadding="0" cellspacing="0" >
<tr>
<td align="center"><img src="'
$settings['images_url'], '/logo.gif" ></td></tr></table></br>
'
;
// The main content should go here.
echo '
<div class="xborder" id="bodyarea"  style="padding: 3ex 25px 2ex 25px; background: #111111;">'
;
// display user name
echo '
<div class="tborder"  '
$context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' '''>
  <table width="100%" align="center" cellspacing="0" cellpadding="4" style="BORDER-BOTTOM: #191919 1px solid;" border="0" >
   <tr>'
;
   
echo 
'
  <td class="windowbg2" width="100%" valign="middle" align="left">
  '
theme_linktree(), '
  </td>'
;
echo 
'
 <td   valign="middle" class="windowbg"><span class="middletext" style="display:block;width:280px;">'
;
// display user name

if($context['user']['is_logged'])
  echo 
'
    <font style="font-size: 8pt">
<span style="font-size: 100%;"> '
$txt['hello_member_ndt'], ' <font style="font-size: 8pt" color="#000000"><b>'$context['user']['name'] , '</b></font></span><br>
   '
;
   
// Only tell them about their messages if they can read their messages!
if ($context['allow_pm'])
echo  
''$txt[152], ' <a href="'$scripturl'?action=pm">'$context['user']['messages'], ' '$context['user']['messages'] != $txt[153] : $txt[471], '</a>'$txt['newmessages4'], ' '$context['user']['unread_messages'], ' '$context['user']['unread_messages'] == $txt['newmessages0'] : $txt['newmessages1'];
echo
'<br />
  
'
;
  
// Now, onto our second set of info, are they logged in again?
if ($context['user']['is_logged'])
{
  
// Is the forum in maintenance mode?
  
if ($context['in_maintenance'] && $context['user']['is_admin'])
   echo 
'
   <b>'
$txt[616], '</b><br />';
  
// Are there any members waiting for approval?
  
if (!empty($context['unapproved_members']))
   echo 
'
   '
$context['unapproved_members'] == $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="'$scripturl'?action=viewmembers;sa=browse;type=approve">'$context['unapproved_members'] == $txt['approve_member'] : $context['unapproved_members'] . ' ' $txt['approve_members'], '</a> '$txt['approve_members_waiting'], '<br />';
  
// Show the total time logged in?
  
if (!empty($context['user']['total_time_logged_in']))
  {
   echo 
'
   '
$txt['totalTimeLogged1']; echo' <br> ';
   
// 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'], '<br />';
  }
  echo 
'    </span>';

}

// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
  echo 
'
    <script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/sha1.js"></script>
    <form action="'
$scripturl'?action=login2" method="post" class="smalltext" style="margin: 0px 0ex 0px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' $context['session_id'] . '\');"' '''>
<table  border="0" cellpadding="0" cellspacing="0" >
<tr><td valign="middle" style="font-size: 8pt;" align="left">'
,$txt[35],':</td>
<td><input type="text" name="user" size="11"/></td>
    <td  align="left" style="font-size: 8pt;"><input type="checkbox" name="cookieneverexp"'
$context['never_expire'] ? ' checked="checked"' ''' class="check" onclick="this.form.cookielength.disabled = this.checked;" />Beni Hatirla</td><tr>
<tr> <td  align="left" style="font-size: 8pt;">'
,$txt[36],':</td>
<td><input type="password" name="passwrd" size="11"/></td>
<td  align="left" style="font-size: 8pt;"><input type="submit" value="'
$txt[34], '"/></td></tr>
    </form></tr></table>'
;    
}
echo
'
</TR></table>'
;
echo 
'
  <table id="upshrinkHeader2"'
, empty($options['collapse_header']) ? '' ' style="display: none;"'' width="100%" cellpadding="4" cellspacing="0" border="0">
   <tr>'
;

echo 
'
    


<tr align="center" width="100%">
  
  
   '
template_menu(), '
  

  
</tr>
'
;
echo 
'
   </tr>
  </table>
</div>'
;
  
// The main content should go here.
echo '
<div id="bodyarea" style="padding: 3ex 0px 2ex 0px;">'
;


}
function 
template_main_below()
{
global 
$context$settings$options$scripturl$txt;
echo 
'
</div>'
;
echo 
'
</div>'
;
echo
'
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<td height="30" width="100%" class=titlebg>'
;
echo
'
  <form action="'
$scripturl'" method="get" style="padding:0; margin: 0;">
   <select name="jumpto" id="jumpto" onchange="if (this.selectedIndex > 0 &amp;&amp; this.options[this.selectedIndex].value) window.location.href = smf_scripturl + this.options[this.selectedIndex].value.substr(smf_scripturl.indexOf(\'?\') == -1 || this.options[this.selectedIndex].value.substr(0, 1) != \'?\' ? 0 : 1);">
   <optgroup style="background-color: #b0c4de;" label="Select Language"></optgroup>
   
    '
;
 echo '
<option value="?language=turkish">--Dili Seç</option>
 <option value="?language=turkish">--Turkish</option>
 
 <option value="?language=english">--English</option>

</form>
'
;
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
  echo 
'
    <td   align="right" class="titlebg"><a href="'
$scripturl'?action=admin">' $txt[2] , '</a></td>';
echo
'
<td   align="right" class="titlebg"><a href="/forum/archive.php">Arsiv</a></td>
    
</td>
</table>'
;
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
<div id="footerarea" style="text-align: center; padding-bottom: 1ex;'
$context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' '''">
  <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
   function smfFooterHighlight(element, value)
   {
    element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
   }
  // ]]></script>
<center><a href="http://www.forumtex.net/forum/sitemap/">Site Map</a> | <a href="http://www.forumtex.net/forum/archives.php">Arsiv</a> | <a 
href="http://www.forumtex.net/forum/index.php?wap">Wap</a> | <a 
href="http://www.forumtex.net/forum/index.php?wap2">Wap2</a> | <a 
href="http://www.forumtex.net/forum/index.php?imode">Wap Forum</a> | <a 
href="http://www.forumtex.net/forum/index.php?action=.xml">XML</a> | <a 
href="http://www.forumtex.net/forum/index.php?action=.xml;type=rss">Rss</a> | <a 
href="http://www.forumtex.net/forum/index.php?action=tags">Tags</a></center>
  <table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
   <tr></br></br></br>
    <td valign="middle" align="center" style="white-space: nowrap;">
'
theme_copyright(), '<br>heavy_metal Theme Design by <a href="Turklordhttp://www.forumavi.net">Turklord</a>
    </td>
    
   </tr>
  </table>'
;
  
// Show the load time?
if ($context['show_load_time'])
  echo 
'
  <span class="smalltext">'
$txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';
// This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough.
if (($context['browser']['is_ie'] && !$context['browser']['is_ie4']) || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'] || $context['browser']['is_firefox'])
{
  
// The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.
  
echo '
  <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA['
;
  
// Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code...
  
if ($context['browser']['is_safari'])
   echo 
'
   window.addEventListener("load", smf_codeFix, false);
   function smf_codeFix()
   {
    var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
    for (var i = 0; i < codeFix.length; i++)
    {
if ((codeFix[I].className == "code" || codeFix[I].className == "post" || codeFix[I].className == "signature") && codeFix[I].offsetHeight < 20)
 codeFix[I].style.height = (codeFix[I].offsetHeight + 20) + "px";
    }
   }'
;
  elseif (
$context['browser']['is_firefox'])
   echo 
'
   window.addEventListener("load", smf_codeFix, false);
   function smf_codeFix()
   {
    var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
    for (var i = 0; i < codeFix.length; i++)
    {
if (codeFix[I].className == "code" && (codeFix[I].scrollWidth > codeFix[I].clientWidth || codeFix[I].clientWidth == 0))
 codeFix[I].style.overflow = "scroll";
    }
   }'
;   
  else
   echo 
'
   var window_oldOnload = window.onload;
   window.onload = smf_codeFix;
   function smf_codeFix()
   {
    var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
    for (var i = codeFix.length - 1; i > 0; i--)
    {
if (codeFix[I].currentStyle.overflow == "auto" && (codeFix[I].currentStyle.height == "" || codeFix[I].currentStyle.height == "auto") && (codeFix[I].scrollWidth > codeFix[I].clientWidth || codeFix[I].clientWidth == 0) && (codeFix[I].offsetHeight != 0 || codeFix[I].className == "code"))
 codeFix[I].style.height = (codeFix[I].offsetHeight + 36) + "px";
    }
    if (window_oldOnload)
    {
window_oldOnload();
window_oldOnload = null;
    }
   }'
;
  echo 
'
  // ]]></script>'
;
}
echo 
'
</div>'
;

// The following will be used to let the user know that some AJAX process is running
echo '<SCRIPT type=text/javascript>vBulletin_init();</SCRIPT>
<div id="ajax_in_progress" style="display: none;'
$context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' '''">'$txt['ajax_in_progress'], '</div>
</body></html>'
;
}
// Show a linktree (vB Clone).  This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
   global $context$settings$options;
   // Folder style or inline?  Inline has a smaller font.
   echo '<span class="nav-tree">';
  
  echo 
'<img src="' $settings['images_url'] . '/icons/folder_open.gif" alt="+" border="0" />&nbsp;';
   // Each tree item has a URL and name.  Some may have extra_before and extra_after.
   foreach ($context['linktree'] as $link_num => $tree)
   {
 // Show something before the link?
 if (isset($tree['extra_before']))
    echo $tree['extra_before'];
 if (($link_num == count($context['linktree']) - 1) && count($context['linktree'])>1)
    echo '<br />
 <img src="' 
$settings['images_url'] . '/icons/linktree_side.gif" alt="" border="0" />&nbsp;';
 // Show the link, including a URL if it should have one.
 echo '<b>'$settings['linktree_link'] && isset($tree['url']) ? '<a href="' $tree['url'] . '" class="nav-tree">' $tree['name'] . '</a>' $tree['name'], '</b>';
 // Show something after the link...?
 if (isset($tree['extra_after']))
    echo $tree['extra_after'];
 // Don't show a separator for the last one.
 if ($link_num count($context['linktree']) - 2)
    echo '&nbsp;&raquo;&nbsp;';
   }
   echo '</span>';
}

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{

global 
$context$settings$options$scripturl$txt;
// Work out where we currently are.
$current_action 'home';
if (
in_array($context['current_action'], array('admin''ban''boardrecount''cleanperms''detailedversion''dumpdb''featuresettings''featuresettings2''findmember''maintain''manageattachments''manageboards''managecalendar''managesearch''membergroups''modlog''news''optimizetables''packageget''packages''permissions''pgdownload''postsettings''regcenter''repairboards''reports''serversettings''serversettings2''smileys''viewErrorLog''viewmembers')))
  
$current_action 'admin';
if (
in_array($context['current_action'], array('search''admin''calendar''profile''mlist''register''login''help''pm')))
  
$current_action $context['current_action'];
if (
$context['current_action'] == 'search2')
  
$current_action 'search';
if (
$context['current_action'] == 'theme')
  
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' 'profile' 'admin';

// Show the start of the tab section.
echo '
   <table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
    <tr>'
;
// Show the [home] button.
echo '
   <td  align="center" class="vbmenu_control"><a href="'
$scripturl'">' $txt[103] , '</a></td>';
// Show the [help] button.
echo '
   <td  align="center" class="vbmenu_control"><a href="'
$scripturl'?action=help">' $txt[119] , '</a></td>';

  
    
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
  echo 
'
    <td  align="center" class="vbmenu_control"><a href="'
$scripturl'?action=profile">' $txt[79] , '</a></td>';
    
// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
   echo 
'
    <td  align="center" class="vbmenu_control"><a href="'
$scripturl'?action=pm">' $txt['pm_short'] , ' '$context['user']['unread_messages'] > '[<strong>'$context['user']['unread_messages'] . '</strong>]' '' '</a></td>';
    
// The [calendar]!
if ($context['allow_calendar'])
  echo 
'
    <td  align="center" class="vbmenu_control" ><a href="'
$scripturl'?action=calendar">' $txt['calendar24'] , '</a></td>';
// the [member] list button
if ($context['allow_memberlist'])
  echo 
'
    <td  valign="top" align="center" class="vbmenu_control"><a href="'
$scripturl'?action=mlist">' $txt[331] , '</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>';
// How about the [search] button?
if ($context['allow_search'])
  echo 
'
    <td align="center" id="navbar_search"  class="vbmenu_control">
<a href="' 
$scripturl '#Turklord" rel="nofollow">Arama</a><script type="text/javascript"> vbmenu_register("navbar_search"); </script>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>';
if (
$context['user']['is_logged'])
  echo
'  
    <TD id=usercptools class="vbmenu_control"><A href="' 
$scripturl '#Turklord">Yararli Linkler</A>
 <SCRIPT type=text/javascript> vbmenu_register("usercptools"); </SCRIPT></td>'
;
  

// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
  echo 
'
    <td  align="center" class="vbmenu_control"><a href="'
$scripturl'?action=login">' $txt[34] , '</a></td>';

// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
  echo 
'
    <td  align="center" class="vbmenu_control"><a href="'
$scripturl'?action=register">' $txt[97] , '</a></td>';

// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
  echo 
'
    <td  align="center" class="vbmenu_control"><a onclick="return log_out()" href="'
$scripturl'?action=logout;sesc='$context['session_id'], '">' $txt[108] , '</a></td>';
// The end of tab section.
echo '
   </tr>
  </table>'
;

}

// Generate a strip of buttons.
function template_button_strip($button_strip$direction 'top'$force_reset false$custom_td '')
{
global 
$settings$buttons$context$txt$scripturl;
// Create the buttons...
foreach ($button_strip as $key => $value)
{
  if (isset(
$value['test']) && empty($context[$value['test']]))
  {
   unset(
$button_strip[$key]);
   continue;
  }
  elseif (!isset(
$buttons[$key]) || $force_reset)
   
$buttons[$key] = '<a href="' $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' $txt[$value['text']] . '</a>';
  
$button_strip[$key] = $buttons[$key];
}
if (empty(
$button_strip))
  return 
'<td>&nbsp;</td>';
echo 
'
  <td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'last' 'first' '">&nbsp;</td>
  <td class="'
$direction == 'top' 'main' 'mirror''tab_back">'implode(' &nbsp;|&nbsp; '$button_strip) , '</td>
  <td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'first' 'last' '">&nbsp;</td>';
}
?>
[/I][/I][/I][/I][/I][/I][/I][/I][/I][/I][/I][/I][/I][/I][/I][/I][/I][/I][/I][/I][/I]
Kayıtlı

SimpleTurk - Türkiye'nin Lider SMF Destek Portalı!
Yönetim Ekibi - Genel Sorumlu
Web Siteler - Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin | Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin | Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
Yöneticiler hariç kimse PM'den ulaşamaz.
Yasaklı
*
İleti: 784
Teşekkür Sayısı: 30
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
E-Posta
« Yanıtla #24 : 06 Mart 2008, 00:27:14 »

Cok cok tesekkurler...Oldu sımdı bıde edıtledım mı  tamamdır...Ben bı gıdem edıtleme yapam :D:D:D
Kayıtlı
George
Forum Elemanı
*
İleti: 30
Teşekkür Sayısı: 0
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
E-Posta
« Yanıtla #25 : 08 Mart 2008, 03:38:01 »

Çok teşekkür ederim oldu sanyorum sadece 2 şey var sormak istediğim  Arsiv de ve rss de  not found yazısı çıkyo  acaba bu bir sorunmu
Kayıtlı
System Administrator
Yönetici
*
İleti: 4153
Teşekkür Sayısı: 339
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
« Yanıtla #26 : 08 Mart 2008, 04:00:22 »

İndirdiğin dosyalardan ''arsiv.php ve arsiv.css'' yi forum ana dizinine atıp index.template.php ye eklenecek kodları kendi site adresine göre düzenlediğine emin ol , tekrar bi gözden geçir
Kayıtlı



SimpleTurk - Türkiye'nin Lider SMF Destek Portalı!
Yönetim Ekibi - Yönetici
SpiLenDora
Çevrimdışı - Emektar
*
İleti: 145
Teşekkür Sayısı: 14
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
E-Posta
« Yanıtla #27 : 09 Mart 2008, 06:49:04 »

Senin indexlemen azsa kiminki çok bilmiyorum 85 sayfa yapmış google :D
Kayıtlı
●ηαмı∂єğєя ѕσlєкιηg
Yasaklı
*
İleti: 1482
Teşekkür Sayısı: 113
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
« Yanıtla #28 : 09 Mart 2008, 10:26:56 »

Google İndexlemeye Başlamışsa Aranızd hiç Bir Fark Yok Demektir..

Şimdi Senin Yapman Gereken Konu(lar) açmak :)
Kayıtlı
Forum Elemanı
*
İleti: 31
Teşekkür Sayısı: 0
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
E-Posta
« Yanıtla #29 : 29 Mart 2008, 16:50:48 »

Bunları resim şeklinde nasıl yaparız?
Kayıtlı

WwW.TizForum.İnfo'Lu Olmak Ayrıcalıktır...
Sayfa: 1 2 [3] 4 5 ... 17 Yazdır