Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

indexte 2 düzenleme gerekiyor

Aloittaja alosGs, huhtikuu 25, 2006, 03:23:41 IP

« edellinen - seuraava »

alosGs

arkadaşlar sitem bitti sayılır, ama yapamadığım son 1-2 rötuş kaldı o yüzden yardımınıza ihtiyacım var, ilgilenen herkese şimdiden minnettarım
forum istatistiklerini resimde gösterdiğim şekilde yapmak istiyorum


   // Show YaBB SP1 style information...
   if ($settings['show_sp1_info'])
   {
      echo '
   <tr>
      <td class="catbg" 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], '" border="0" /></a>
      </td>
      <td class="windowbg2" width="100%">
         <table border="0" width="90%"><tr>
            <td class="smalltext">
               <div style="float: ', !$context['right_to_left'] ? 'left' : 'right', '; width: 50%;">', $txt[490], ': <b>', $context['common_stats']['total_topics'], '</b></div>', $txt[489], ': <b>', $context['common_stats']['total_posts'], '</b><br />', !empty($context['latest_post']) ? '
               ' . $txt[659] . ': &quot;' . $context['latest_post']['link'] . '&quot;  (' . $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>' : '', '
            </td>
            <td width="32%" class="smalltext" valign="top">
               ', $txt[488], ': <b><a href="', $scripturl, '?action=mlist">', $context['common_stats']['total_members'], '</a></b><br />
               ', $txt[656], ': <b>', $context['common_stats']['latest_member']['link'], '</b><br />';
      // If they are logged in, show their unread message count, etc..
      if ($context['user']['is_logged'])
         echo '
               ', $txt['smf199'], ': <b><a href="', $scripturl, '?action=pm">', $context['user']['messages'], '</a></b> ', $txt['newmessages3'], ': <b><a href="', $scripturl, '?action=pm">', $context['user']['unread_messages'], '</a></b>';
      echo '
            </td>
         </tr></table>
      </td>
   </tr>';
   }


logonun yanınada, resimdeki gibi alt alta 2 tuş koymak istiyorum, üstlerine tıklayıncada bir adrese gidecek

  // The logo and the three info boxes.
   echo '
      <table cellspacing="0" cellpadding="5" border="0" align="center" width="100%">
         <tr>
            <td class="logo" valign="bottom" style="padding: 0px; white-space: nowrap;">';

   // This part is the logo and forum name.  You should be able to change this to whatever you want...
   echo '
               <center><img src="', $settings['images_url'], '/smflogo.jpg" alt="" /></center>
               </td>';
   echo '           
               <td class="logo" valign="bottom" align="right" style="padding: 5px; white-space: nowrap;">
               <span class="welcome">', $context[''], '</span>';
   echo '
            </td>

         <tr>
            <td colspan="2" valign="top" style="padding: 0px; white-space: nowrap;">';       

Arbalot

geniş bir yelpazede çalışalım...
sen index.template.php ve boardindex.php dosyanın tamamını gonder...

alosGs

Lainaus käyttäjältä: Arbalot - huhtikuu 26, 2006, 01:27:55 AP
geniş bir yelpazede çalışalım...
sen index.template.php ve boardindex.php dosyanın tamamını gonder...


arbalot sende olmasan  :)
burada çok uzun olur diye upload ettim
http://rapidshare.de/files/18963790/BoardIndex.php.html
http://rapidshare.de/files/18963825/index.template.php.html

Arbalot

boardindex.tempalte.php ' de
Bunu Bul

<table border="0" width="90%"><tr>
<td class="smalltext">
<div style="float: ', !$context['right_to_left'] ? 'left' : 'right', '; width: 50%;">', $txt[490], ': <b>', $context['common_stats']['total_topics'], '</b></div>', $txt[489], ': <b>', $context['common_stats']['total_posts'], '</b><br />', !empty($context['latest_post']) ? '
' . $txt[659] . ': &quot;' . $context['latest_post']['link'] . '&quot;  (' . $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>' : '', '
</td>
<td width="32%" class="smalltext" valign="top">
', $txt[488], ': <b><a href="', $scripturl, '?action=mlist">', $context['common_stats']['total_members'], '</a></b><br />
', $txt[656], ': <b>', $context['common_stats']['latest_member']['link'], '</b><br />';
// If they are logged in, show their unread message count, etc..
if ($context['user']['is_logged'])
echo '
', $txt['smf199'], ': <b><a href="', $scripturl, '?action=pm">', $context['user']['messages'], '</a></b> ', $txt['newmessages3'], ': <b><a href="', $scripturl, '?action=pm">', $context['user']['unread_messages'], '</a></b>';
echo '
</td>
</tr></table>


Değiştir...

<table border="0" width="90%"><tr>
<td class="smalltext" width="30%">

', $txt[488], ': <b><a href="', $scripturl, '?action=mlist">', $context['common_stats']['total_members'], '</a></b><br />
', $txt[490], ': <b>', $context['common_stats']['total_topics'], '</b><br />
', $txt[489], ': <b>', $context['common_stats']['total_posts'], '</b><br />
', $txt[656], ': <b>', $context['common_stats']['latest_member']['link'], '</b><br />
</td>
<td width="30%" class="smalltext" valign="top">
';
// If they are logged in, show their unread message count, etc..
if ($context['user']['is_logged'])
echo '
', $txt['smf199'], ': <b><a href="', $scripturl, '?action=pm">', $context['user']['messages'], '</a></b> ', $txt['newmessages3'], ': <b><a href="', $scripturl, '?action=pm">', $context['user']['unread_messages'], '</a></b><br />';
echo '
', !empty($context['latest_post']) ? '
' . $txt[659] . ': &quot;' . $context['latest_post']['link'] . '&quot;  (' . $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>' : '', '
</td>
<td class="smalltext" width="40%"></td>
</tr></table>


Bu Alt Kısım İçin Düzenleme
Diğeri İçinse Biraz Daha Uğraşıcam Bu 7dana nın Kodları Çok Karışık Geldi Bana...

Arbalot

logonun yanındaki o botunlar için bi kac soru sorucam
logonun buyuklugu nedir?
o butonların buyuklugu ne olacak?

Arbalot

İndex.template.php'de
Bunu Bul
<center><img src="', $settings['images_url'], '/smflogo.jpg" alt="" /></center>

Bununla Değiştir...

<table width="100%" border="1" bordercolor="orange"><tr><td width="70%"><img src="', $settings['images_url'], '/smflogo.jpg" alt="" /></td><td width="30%"><table><tr><td>buton 1 urlsi</td></tr><tr><td>buton 2 urlsi<td></tr></table></td></tr></table>


Buda Logonun Yanındaki Butonlar İçin

Advertisement: