Chat.index plugini ve küçük bir değişiklik
|
#5331 |
|
|
Kaan
User is:
Posts: 2772
Meslek: Serbest Meslek
Age: 43
|
Alttakini bul
Kod: while ($row = sed_sql_fetcharray($sql)) { $line = ($mode=='edit') ? "[<a href=\"plug.php?e=chat&d=".$d."&c=delete&id=".$row['chat_id']."\">Sil</a>] " : ''; $line .= ($row['chat_userid']==0) ? '<span style="color:#'.$cfg['plugin']['chat']['syscolor'].';"><em>*** ' : "<".sed_build_user($row['chat_userid'], sed_cc(stripslashes($row['user_name'])))."> "; $line .= sed_chat_parse(sed_cc(stripslashes($row['chat_text']))); $line .= ($row['chat_userid']==0) ? '</em></span>' : ''; $lines[] = $line; } Alttakiyle de?i?tir i?lem tamamd?r. Kod: while ($row = sed_sql_fetcharray($sql)) { $dateformat = ($sys['now'] - $row['chat_date'] < 86400) ? 'Y-m-d H:i' : $cfg['formatmonthdayhourmin']; $line = ($mode=='edit') ? "[<a href=\"plug.php?e=chat&d=".$d."&c=delete&id=".$row['chat_id']."\">Sil</a>] " : ''; $line .= "[".date($dateformat, $row['chat_date'] + $usr['timezone'] * 3600)."] "; $line .= ($row['chat_userid']==0) ? '<span style="color:#'.$cfg['plugin']['chat']['syscolor'].';"><em>***' : "<".sed_build_user($row['chat_userid'], sed_cc(stripslashes($row['user_name'])))."> "; $line .= sed_chat_parse(sed_cc(stripslashes($row['chat_text']))); $line .= ($row['chat_userid']==0) ? '</em></span>' : ''; $lines[] = $line; } Ekran G?r?nt?s? bu ?ekilde olucakt?r. [2011-03-23 00:57] <Admin> Mesaj |
Emlak, Oto Galeri, Rent A Car, ?iir, Edebiyat Script Sipari?lerinizi Verebilirsiniz. Detaylar ??in: kaan@ntka.org Seditio 170 ?ndir Capte M?zik ?ndir Seditio Toolbar ?ndir |













