Son Konular Bloğundan Yeni Yazısını Kaldırmak

Başlatan Sosyal Öğretmeni, 20 Mar 2015, 00:28

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçiler konuyu incelemekte.

Sosyal Öğretmeni

Son Konular Bloğundan Yeni Yazısını Kaldırmak
Bloktaki yeni yazısını hata kaydı oluşturmadan nasıl kaldırabiliriz.
Kaldırıyoruz ama ama kaydı oluşturuyor.

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

   

   $what = ssi_recentTopics('20', NULL, 'array');

   

   echo '

<table width="100%" style="border-collapse: collapse" id="table1">
    <tr>
        <td class="cat_bar">
<div class="cat_bar"> <h3 class="catbg">
        &nbsp; Son 20 Konu</h3></div></td>
    </tr>
    ';



   foreach ($what as $topic)



   {
   echo '
<tr>
   
        <td class="kirmizi" height="20">
        <img border="0" src="/Themes/default/images/ok.png" width="16" height="12" alt="', shorten_subject($topic['subject'], 35), '" />&nbsp;<a href="',$topic['href'],'"> ', shorten_subject($topic['subject'], 35), '</a>';

     

      // Is this topic new? (assuming they are logged in!)

      if (!$topic['new'] && $context['user']['is_logged'])

         echo '

               <a href="', $scripturl, '?topic=', $topic['topic'], '.from', $topic['time'], '#new" title=""><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>';

           

      echo '</td>
               
';


   }



echo '</tr>
    </table>
<a href="http://www.sosyalbilimciler.com/index.php/page,page176.html" title="">Son 100 Konu İçin Buraya Tıklayın</a>
';
Herkes göründüğü gibi değil.

tarantula901

şunu deneyin olacakmı

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

   

   $what = ssi_recentTopics('20', NULL, 'array');

   

   echo '

<table width="100%" style="border-collapse: collapse" id="table1">
    <tr>
        <td class="cat_bar">
<div class="cat_bar"> <h3 class="catbg">
        &nbsp; Son 20 Konu</h3></div></td>
    </tr>
    ';



   foreach ($what as $topic)



   {
   echo '
<tr>
   
        <td class="kirmizi" height="20">
        <img border="0" src="/Themes/default/images/ok.png" width="16" height="12" alt="', shorten_subject($topic['subject'], 35), '" />&nbsp;<a href="',$topic['href'],'"> ', shorten_subject($topic['subject'], 35), '</a>';

     

      // Is this topic new? (assuming they are logged in!)

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

         echo '

               <a href="', $scripturl, '?topic=', $topic['topic'], '.from', $topic['time'], '#new" title=""><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>';

           

      echo '</td>
               
';


   }



echo '</tr>
    </table>
<a href="http://www.sosyalbilimciler.com/index.php/page,page176.html" title="">Son 100 Konu İçin Buraya Tıklayın</a>
';
Sitenizde işlem yapmadan önce mutlaka yedek alın, yedek alın yedek almayı unutmayın her şeyden önce bu önemli

Pm'den ve Skype'den istenilen destekler ücretlidir. Ücret ödememek için lütfen sitede sorunuzu konu açarak sorabilirsiniz.

Ücretli Smf Destek İçin