07.09.2008 06:15
Ücretsiz Üyelik
Ana Menü
Pardus... Özgürlük İçin...

Özgürlükİçin OOXML'e karşı!

Türkçe Konuş



Bize Destek Olabilmek İçin

Aşağıdaki kodu sitenize blok olarak ekleyebilirsiniz...


Başlığı Görüntüle
 Başlığı Yazdır
modun renkleri
genisel
#1 Mesajı Yazdır
Mesaj Tarihi 30.06.2008 12:52
Üye


Mesaj Sayısı: 248
Katılım Tarihi: 29.04.08

arkadaşlar modlarda renkler nasıl değişir. örneğin aw_forum panel var. bu panelin başlıkların altındaki yerini renklendirmek istiyorum nasıl yapabilirim.bunun neresinden değiştircez renkleri..
örnek :
Windows Xp ------------- > Bu da Konu Başlığı..
Donanım -------------- > buranın rengini nasıl değiştircez.

aw_forum_panel codeları

Kaynağı İndir  Kod
<?php
/***************************************************************************
 *   awForumPanel                                                          *
 *                                                                         *
 *   Copyright © 2002 - 2005 Nick Jones                                    *
 *   http://www.php-fusion.co.uk/                                          *
 *   Copyright (C) 2006 Artur Wiebe                                        *
 *   wibix@gmx.de                                                          *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/
if(!defined("IN_FUSION")) {
   header("Location:../../index.php");
   exit;
}

require_once(INFUSIONS."aw_forum_panel/common.php");


//opentable($locale['025']);
opentable($p_data['panel_name']);

$result = dbquery("SELECT thread_subject, thread_lastuser, forum_name,"
   ." fu.user_id, MAX(p.post_id) as last_id, thread_lastpost,"
   ." COUNT(p.post_id) as count_posts, f.forum_id, t.thread_id,"
   ." fu.user_name AS last_user"
   ." FROM ".DB_PREFIX."forums AS f"
   ." INNER JOIN ".DB_PREFIX."threads AS t USING(forum_id)"
   ." INNER JOIN ".DB_PREFIX."posts AS p USING(thread_id)"
   ." LEFT JOIN ".DB_PREFIX."users AS fu ON t.thread_lastuser=fu.user_id"
   ." WHERE ".groupaccess('forum_access')
   ." GROUP BY thread_id"
   ." ORDER BY thread_lastpost"
   ." DESC LIMIT 0,".$settings['numofthreads']);

if(dbrows($result)) {
   echo "<table cellspacing='1' width='100%' class='tbl-border'>
<thead>
<tr>
   <th class='tbl2' width='1%'></th>
   <th class='tbl2' align='left'>".$locale['AWF005']."</th>
   <th class='tbl2' align='center' width='1%' style='white-space:nowrap'>".$locale['AWF006']."</th>
   <th class='tbl2' align='center' width='1%' style='white-space:nowrap'>".$locale['AWF007']."</th>
</tr>
</thead>
<tbody>\n";
}
$count = 0;
while($data = dbarray($result)) {
   $tbl = "tbl".(($count++ % 2)+1);
   if(iMEMBER && $data['thread_lastpost'] > $lastvisited) {
      $img = "foldernew.gif";
   } else {
      $img = "folder.gif";
   }
   echo "<tr>
   <td class='$tbl'><img src='".THEME."forum/$img' alt=''></td>
   <td class='$tbl'><a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."&pid=".$data['last_id']."#post_".$data['last_id']."' title='".$data['thread_subject']."'>".trimlink($data['thread_subject'], 30)."</a><br>".$data['forum_name']."</td>
   <td align='center' class='$tbl' style='white-space:nowrap'>".($data['count_posts']-1)."</td>
   <td class='$tbl' align='center' style='white-space:nowrap'>".showdate("forumdate", $data['thread_lastpost'])."<br><a href='".BASEDIR."profile.php?lookup=".$data['thread_lastuser']."'>".$data['last_user']."</a></td>
</tr>\n";
}
if(dbrows($result)) {
   echo "</tbody>
</table>\n";
}


echo "<div align='center'>$awf_menu</div>\n";

closetable();


?>




ea iskluchenie iz vsex pravil

 
SoulSmasher
#2 Mesajı Yazdır
Mesaj Tarihi 30.06.2008 19:04
Kullanıcı Avatarı

Super Yönetici


Mesaj Sayısı: 9112
Katılım Tarihi: 05.01.06

tbl1 ve tbl2 classlarını kullnıayor bu panel. styles.css de yeni classlar oluşturup tbl1 ve tbl2 yerine onları kullanabilirsiniz, (eğer tbl1 ve 2 yi değişirseniz tüm siteyi etkiler)
Soruları lütfen düzgün bir Türkçe ile sorun, burası anlık çevrimiçi sohbet ortamı değil Smile

Tercümelerimi Ve Kodlamalarımı Çalıp İsimlerini Silenler Size Sesleniyorum:
Gölgem Olmaktan Öteye Gidemeyeceksiniz!!
 
genisel
#3 Mesajı Yazdır
Mesaj Tarihi 01.07.2008 00:24
Üye


Mesaj Sayısı: 248
Katılım Tarihi: 29.04.08

hayır tamamda ben style.css den değiştirmek istemiyorum bu alttaki gördüğün koddan span ekleyerek renk kodu koyabiliyosun ama bunu beceremedim.


Kaynağı İndir  Kod
echo "<tr>
<td class='$tbl'><img src='".THEME."forum/$img' alt=''></td>
<td class='$tbl'><a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."&pid=".$data['last_id']."#post_".$data['last_id']."' title='".$data['thread_subject']."'>".trimlink($data['thread_subject'], 30)."</a><br>".$data['forum_name']."</td>
<td align='center' class='$tbl' style='white-space:nowrap'>".($data['count_posts']-1)."</td>
<td class='$tbl' align='center' style='white-space:nowrap'>".showdate("forumdate", $data['thread_lastpost'])."<br><a href='".BASEDIR."profile.php?lookup=".$data['thread_lastuser']."'>".$data['last_user']."</a></td>
</tr>\n";



ea iskluchenie iz vsex pravil

 
Atlanilacak Forum: