News:

Wondering if this will always be free?  See why free is better.

Main Menu

Tablolarım Bozuldu!

Started by yenidagci, September 08, 2009, 09:56:31 AM

Previous topic - Next topic

yenidagci

Buradaki linkte Yağız abinin vermiş olduğu bir kodu kullanarak düzenlemeye çalıştım ama görüntüdeki gibi oldu. Yardımcı olabilirmisiniz?

I'm SMF ci  :)

Tasarım aşamasındaym..

husmen73 (Gulhin)

Yağız abin hangi kodu verdi sana?
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

yenidagci

Bu mesajındaki kodları kullanmıştım. 2 yıl önceki bir konu..

Quote from: Yağız... on May 18, 2007, 05:59:35 PM
Quote from: Turklord
Vbulletin gibi göstermek için.
Resimler açıklayıcıdır.

///////////////////////////////////////////////////////////////////


Default temadaki
boardindex.template.php yi açın
bul
<div class="catbg', $category['new'] ? '2' : '', '" style="padding: 5px 5px 5px 10px;">';

üstüne ekle
        <table width="100%" cellspacing="0" cellpadding="0">


bul
// Assuming the category hasn't been collapsed...
if (!$category['is_collapsed'])
{
echo '
<table border="0" width="100%" cellspacing="1" cellpadding="5" class="bordercolor" style="margin-top: 1px;">';



de?i?tir

// Assuming the category hasn't been collapsed...
if (!$category['is_collapsed'])
{
echo '
<table class="bordercolor" border="0" width="100%" cellspacing="1" cellpadding="4" >
<tr>
<td class="titlebg">&nbsp;</td>
<td class="titlebg" style="text-align:left;">', $txt[20], '</td>
<td class="titlebg"><center>', $txt[22], '</center></td>
<td class="titlebg"><center>', $txt[330], '</center></td>
<td class="titlebg"><center>', $txt[21], '</center></td>
</tr>';



bul
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' <br />
', $board['topics'],' ', $txt[330], '
</span></td>
<td class="windowbg2" valign="middle" width="22%">
<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 '
<b>', $txt[22], '</b>  ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
', $txt['smf88'], ' ', $board['last_post']['link'], '<br />
', $txt[30], ' ', $board['last_post']['time'];
echo '
</span>
</td>
</tr>';
// 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. */
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>';
$children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : $child['link'];
}

echo '
<tr>
<td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>: ', implode(', ', $children), '</span>
</td>
</tr>';
}


de?i?tir


// 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. */
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>';
                                                $children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : '' . $child['link'];
}

echo '
<table style="15px;"width="100%" cellspacing="0" cellpadding="0"border="0">
<tr>
<br><i>', $txt['parent_boards'], ':</i><td class="middletext" valign="middle"align="center">';
                        $child_counter = 0;

if(empty($settings['child_boards_rows']))
{
echo '
</td>
<td class="middletext" valign="top">';

for(; $child_counter < ceil(count($children)/2); $child_counter++)
echo $children[$child_counter], '<br/>';
}

echo '
</td>
<td class="middletext" valign="top">';
for(; $child_counter < count($children); $child_counter++)
echo $children[$child_counter], '<br/>';
echo '
</td>
</tr>
</table>';
}
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" width="27%">
<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="left" src="', $settings['images_url'], '/post/xx.gif"/>
                                                <font style="font-size:8pt">', $txt['smf88'], ' <b>', $board['last_post']['link'], '</b></font><br />
                                                ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />                                           
                                                <div align="right"> ', $txt[30], ' ', $board['last_post']['time'], '<a href="', $board['last_post']['href'], '">
                                               </a></div>' ;
echo '
</span>
</td>
        <td class="windowbg2" valign="middle" align="center" width="10%">', $board['topics'], '</td>
                <td class="windowbg" valign="middle" align="center" width="10%">', $board['posts'], '</td>
</tr>';





I'm SMF ci  :)

Tasarım aşamasındaym..

!!kaos!!


My Mod | My Site | SMF Kurulumu Resimli Anlatım | My Facebook
----------------------------------------------------------------------
SimpleDestek.Com Satışa Çıkmıştır Almak İsteyenler Benimle İletişime Geçsin..

yenidagci

Quote from: !!kaos!! on September 09, 2009, 10:03:38 AM
Ektekini denermisin

Ben tabloların orjinal halde değil, resimdeki halde olmasını istiyorum.

I'm SMF ci  :)

Tasarım aşamasındaym..

husmen73 (Gulhin)

Sitende Modifikasyon yüklü değilse sıfır Boardindex.template i yükleyiver. Mod varsa, hangileri var?
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

yenidagci

Quote from: husmen73 (Gulhin) on September 10, 2009, 05:59:29 AM
Sitende Modifikasyon yüklü değilse sıfır Boardindex.template i yükleyiver. Mod varsa, hangileri var?

Sinan abi ben resimdeki gibi olsun tablolar istiyorum. Verilen kodda bir yanlışlık var galiba. Ona bi bakabilirmisiniz.
I'm SMF ci  :)

Tasarım aşamasındaym..

husmen73 (Gulhin)

Modifikasyon var mı site'nde? (Bana Sinan abi diyorsan ben Sinan değilim, Hüseyin.)
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

yenidagci

Quote from: husmen73 (Gulhin) on September 12, 2009, 04:41:18 AM
Modifikasyon var mı site'nde? (Bana Sinan abi diyorsan ben Sinan değilim, Hüseyin.)

Modifikasyon varda sıfır bi boardindexe kuralım.
I'm SMF ci  :)

Tasarım aşamasındaym..

yenidagci

I'm SMF ci  :)

Tasarım aşamasındaym..

Advertisement: