| Author | Message |
mahlas
44 posts |
#17252 2008-03-05 13:19 GMT |
|
Arkadaşlar okadar araştırdım ama bulamadım daha acemi oldugumdan sanırımm..
son forum konuları eklentisi ni degiştiremedim Bi yardım .. Şimdi ![]() Bu alttaki Hit alan konular.. Yani önemli konular yazan yerdekinin aynısını ben son forum mesajlarında görmek istiyomm.. anlamadıysanız söle anlatıyımm son forum konusundaki beyaz cizgiler igren siteye uymuyo onların seklini alttaki gibi yapmak istiyom yardımm.. Birde Bu letlogindeki.. Ntka.Org Sınırsız İçeriğinden Yararlanmanız İçin Mutlaka Üye Olmanız Önerilir Mesajını Kendime göre düzenlemek istiyom ama nasıl... Bunuda bi söleseniz.. ![]() |
|
EviLcod3R
243 posts |
#17253 2008-03-05 13:22 GMT |
|
şimdi latestpostun kodlarını buraya yaz + leetlogininde kodlarını buraya yaz
|
|
|
Cc iLe Ald?g?m Domqini Regleyip Msn Adresim Geçici Süreligine Durdurulmu?tur !
Önüne GeLen Destek Ekibi oLmu? xD |
|
mahlas
44 posts |
#17255 2008-03-05 13:37 GMT |
|
latestposts.php Code: <?PHP /* ==================== Land Down Under - Website engine Copyright Kaan http://www.ntka.org [BEGIN_SED] File=plugins/latestposts/latestposts.php Version=2 Updated= Type=Plugin Author=| Kaan | www.ntka.org a.q bunu yanlış yazanın İpneler adam gibi yazın yazıyorsanız. Description=Ana Sayfada Son Forum Konulari [END_SED] [BEGIN_SED_EXTPLUGIN] Code=latestposts Part=main File=latestposts Hooks=index.tags Tags=index.tpl:{PLUGIN_latestposts} Minlevel=0 Order=10 [END_SED_EXTPLUGIN] ==================== */ if ( !defined('SED_CODE') ) { die("Hacking attempt."); } $plimit = "20"; // define number of rows you want to see... $sql = sed_sql_query("SELECT t.ft_id, t.ft_sectionid, t.ft_title, t.ft_updated, t.ft_postcount, t.ft_viewcount, t.ft_lastposterid, t.ft_lastpostername, s.fs_id, s.fs_title, s.fs_category FROM $db_forum_topics t,$db_forum_sections s WHERE t.ft_sectionid=s.fs_id AND t.ft_movedto=0 AND t.ft_mode=0 ORDER by t.ft_updated DESC LIMIT $plimit"); $latestposts = "<table border='1' width='100%' cellspacing='0' bordercolor='000000' cellpadding='0' align='center'>"; $latestposts .= "<tr><td>Konu</td><td>Mesajlar</td><td>Okunma</td><td>Son Gönderen</td><td>Tarih</td></tr>"; $ii=0; while ($row = sed_sql_fetcharray($sql)){ if (sed_auth('forums', $row['fs_id'], 'R')){ $ii++; $img = ($usr['id']>0 && $row['ft_updated']>$usr['lastvisit']) ? "<a href=\"forums.php?m=posts&q=".$row['ft_id']."&n=unread#unread\"><img src=\"skins/$skin/img/system/arrow-unread.gif\" alt=\"\" /></a>" : "<a href=\"forums.php?m=posts&q=".$row['ft_id']."\"><img src=\"skins/$skin/img/system/arrow-follow.gif\" alt=\"\" /></a> "; $latestposts .= "<tr><td> "; $latestposts .= $img." <a href=\"forums.php?m=posts&q=".$row['ft_id']."\">".sed_cc(sed_cutstring(stripslashes($row['ft_title']),38))."</a></td>"; $latestposts .="<td> (" .$row["ft_postcount"]. ") </td>"; $latestposts .="<td> (" .$row["ft_viewcount"]. ")</td>"; $latestposts .= "<td> <a href='users.php?m=details&id=".$row["ft_lastposterid"]."'>".$row["ft_lastpostername"]."</a></td>";$latestposts .= "<td> ".date($cfg['formatmonthdayhourmin'], $row['ft_updated'] + $usr['timezone'] * 3600)."</td></tr>"; } } if($ii==0){ $latestposts .= "<tr><td colspan=\"5\"><center><font color='red'>Son Forum Konularını Görmek için Giriş Yapınız</font></center></td></tr>"; } $latestposts .= "</table>"; $t-> assign(array( "PLUGIN_latestposts" => $latestposts, )); ?> Leetlogin.php Code: <?PHP
/* ==================== Seditio - Website engine Copyright Neocrome http://www.neocrome.net [BEGIN_SED] File=plugins/leetlogin/leetlogin.php Version=101 Updated=2006-apr-09 Type=Plugin Author=Hodges Description= [END_SED] [BEGIN_SED_EXTPLUGIN] Code=maxiplugins Part=leetlogin File=maxiplugins.leetlogin Hooks=header.tags Tags=header.tpl:{PLUGIN_LEETLOGIN} Minlevel=0 Order=10 [END_SED_EXTPLUGIN] ==================== */ if (!defined('SED_CODE')) { sed_diefatal('Wrong URL.'); } require("plugins/maxiplugins/lang/maxiplugins.".$usr['lang'].".lang.php"); // Retrive avatar from user $avatar = sed_sql_query("SELECT user_avatar FROM $db_users WHERE user_id='".$usr['id']."'"); $avatar = sed_sql_fetcharray($avatar); $el_avatar = stripslashes($avatar["user_avatar"]); // Count total new private messages from user $npmessages = sed_sql_query("SELECT COUNT(*) FROM $db_pm WHERE pm_touserid='".$usr['id']."' AND pm_state=0"); $el_npmessages = sed_sql_result($npmessages,0,"COUNT(*)"); // Count total old private messages from user $olmessages = sed_sql_query("SELECT COUNT(*) FROM $db_pm WHERE pm_touserid='".$usr['id']."' AND pm_state=1"); $el_olmessages = sed_sql_result($olmessages,0,"COUNT(*)"); // Count total archived private messages from user $apmessages = sed_sql_query("SELECT COUNT(*) FROM $db_pm WHERE pm_touserid='".$usr['id']."' AND pm_state=2"); $el_apmessages = sed_sql_result($apmessages,0,"COUNT(*)"); if($usr['id']>0) { if ($el_avatar == "") { $el_avatar = $cfg['plugin']['maxiplugins']['avatar2']; } if ($usr['isadmin']) { $el_admin = "<img src=\"".$cfg['plugin']['maxiplugins']['1arrow']."\" /><a href=\"admin.php\">".$L['ll_administration']."</a><br />"; } else { $el_admin = ""; } if ($cfg['plugin']['maxiplugins']['pmsound'] > 0) { if ($el_npmessages != 1) { $pluralmessage = $L['ll_plural']; } else { $pluralmessage = ""; } $cookiepm = sed_import('LduPmTracking-usr'.$usr['id'],'C','NUM'); if ($el_npmessages > 0) { if ($el_npmessages > $cookiepm) { if ($cfg['plugin']['maxiplugins']['pmsound'] == 2 || $cfg['plugin']['maxiplugins']['pmsound'] == 3) { $pmmessage .= "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" style=\"width:1px;height:1px\"><param name=\"movie\" value=\"".$cfg['plugin']['maxiplugins']['npmessages']."\"><param name=\"quality\" value=\"high\"><embed src=\"".$cfg['plugin']['maxiplugins']['npmessages']."\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" style=\"width:1px;height:1px\"></embed></object>"; } if ($cfg['plugin']['maxiplugins']['pmsound'] == 1 || $cfg['plugin']['maxiplugins']['pmsound'] == 3) { $pmmessage .= " <script language=\"javascript\" type=\"text/javascript\"> <!-- function shownewpm() { viewpmconfirm = confirm('".$L['ll_msg1']." ".$el_npmessages." ".$L['ll_msg2'].$pluralmessage.".\\n".$L['ll_msg3']."'); if(viewpmconfirm == true) { window.location = \"pm.php\"; } } setTimeout('shownewpm()',1250); --> </script>"; } } } setcookie("LduPmTracking-usr".$usr['id'], "$el_npmessages", time()+30000000); } $leetlogin = "<table style=\"border-collapse:collapse;text-align:center;width:98%\">"; if ($cfg['plugin']['maxiplugins']['welcome'] == true) { $leetlogin .= "<tr><td style=\"text-align:center;padding:3px;\" colspan=\"2\"><div><strong>".$L['ll_welcome']."</strong> <a href=\"users.php?m=details&id=".$usr['id']."\">".$usr['name']."!</a><br /></div></td></tr>"; } else { $leetlogin .= ""; } if ($cfg['plugin']['maxiplugins']['avatar'] == true) { $leetlogin .= "<tr>"; $leetlogin .= "<td style=\"text-align:center;\"><a href=\"users.php?m=profile&a=avatarchoose&".sed_xg()."#list\"><img src=\"".$el_avatar."\" alt=\"\" /></a></td>"; $leetlogin .= "<tr>"; $leetlogin .= "<td style=\"text-align:left;width:100%;padding:0px;\"><div style=\"text-align:left;\">".$el_admin."<img src=\"".$cfg['plugin']['maxiplugins']['1arrow']."\" /><a href=\"pm.php\">".$L['ll_inbox']."</a> (<strong>".$el_npmessages."</strong>)/".$el_olmessages."/".$el_apmessages."".$pmmessage."<br /><img src=\"".$cfg['plugin']['maxiplugins']['1arrow']."\" /><a href=\"users.php?m=profile\">".$L['ll_profile']."</a><br /><img src=\"".$cfg['plugin']['maxiplugins']['1arrow']."\" /><a href=\"page.php?m=add&c=files\">".$lc_dosya."</a><br /><img src=\"".$cfg['plugin']['maxiplugins']['1arrow']."\" /><a href=\"users.php?m=logout&".sed_xg()."\">".$L['ll_logout']."</a></div></td>"; $leetlogin .= "</tr>"; } else { $leetlogin .= "<tr>"; $leetlogin .= "<td style=\"width:100%;padding:0px;\"><div style=\"text-align:left;\">".$el_admin."<img src=\"".$cfg['plugin']['maxiplugins']['1arrow']."\" /><a href=\"pm.php\">".$L['ll_inbox']."</a> (<strong>".$el_npmessages."</strong>)/".$el_olmessages."/".$el_apmessages."".$pmmessage."<br /><img src=\"".$cfg['plugin']['maxiplugins']['1arrow']."\" /><a href=\"users.php?m=profile\">".$L['ll_profile']."</a><br /><img src=\"".$cfg['plugin']['maxiplugins']['1arrow']."\" /><a href=\"page.php?m=add&c=dosyalar\">".$lc_dosya."</a><br /><img src=\"".$cfg['plugin']['maxiplugins']['1arrow']."\" /><a href=\"users.php?m=logout&".sed_xg()."\">".$L['ll_logout']."</a></div></td>"; $leetlogin .= "</tr>"; } $leetlogin .= "</table>"; } else { $leetlogin .= "<table style=\"border-collapse:collapse;text-align:center;width:98%\">"; if ($cfg['plugin']['maxiplugins']['ynlin'] == true) { $leetlogin .= "<tr><td style=\"text-align:center\" colspan=\"2\"><div><strong>".$L['ll_ynlin']."</strong><br /></div></td></tr>"; } else { $leetlogin .= ""; } $leetlogin = "<br><table width=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"0\">"; $leetlogin .= "<form action=\"users.php?m=auth&a=check\" method=\"post\" name=\"login\">"; $leetlogin .= "<tr><td><input name=\"rusername\" type=\"text\" value=\"Kullanıcı Adı\" style=\"border:1px solid gray;width: 94%;text-align: center;font-family: Arial;background-color: redfont-size: 10px; color: red\" onFocus=\"if(this.value=='Kullanıcı Adı')this.value=''\" onBlur=\"if(this.value=='')this.value='Kullanıcı Adı'\"></td></tr>"; $leetlogin .= "<tr><td><input name=\"rpassword\" type=\"password\" value=\"password\" style=\"border:1px solid gray;width: 94%;text-align: center;font-family: Arial;background-color: redfont-size: 10px; color: red\" onFocus=\"if(this.value=='password')this.value=''\" onBlur=\"if(this.value=='')this.value='password'\"></td></tr>"; $leetlogin .= "<tr><td><input name=\"Login\" type=\"submit\" value=\"G i r i ş\" style=\"border:1px solid gray; width: 95%;font-family: verdana; background-color: red font-size: 11px; font-weight:Bold; color: red\" onClick=\"this.value='(Bekleyiniz...)'\"></td></tr>"; $leetlogin .= "<tr><td><input name=\"Register\" type=\"button\" value=\"Ü y e O l\" style=\"border:1px solid gray; width: 95%;font-family: Arial;background-color: red font-size: 10px; color: red\" onClick=\"parent.location='users.php?m=register';this.value='(Bekleyiniz...)'\">"; $leetlogin .= "<tr><td><input name=\"Pass\" type=\"button\" value=\"Şifremi Unuttum\" style=\"border:1px solid gray; width: 95%;font-family: Arial;background-color: red font-size: 10px; color: red\" onClick=\"parent.location='plug.php?e=passrecover';this.value='(Bekleyiniz...)'\">"; $leetlogin .= "</form>"; $leetlogin .= "</table>"; $leetlogin .= "<br><center><font color='00FF00'><b>Ntka.Org Sınırsız İçeriğinden Yararlanmanız İçin Mutlaka Üye Olmanız Önerilir </b></center></font>"; } $t-> assign(array( "PLUGIN_LEETLOGIN" => $leetlogin )); ?> |
|
Kripteks
446 posts |
#17260 2008-03-05 13:51 GMT |
|
Code: $latestposts = "<table border='1' width='100%' cellspacing='0' bordercolor='000000' cellpadding='0' align='center'>"; buradaki border='1' o beyaz yerin kalinligini bordercolor='000000' ile renk kodunu girersin |
|
|
Internetim kapandi, izin'lerden sonra actiracam insallah!
|
|
EviLcod3R
243 posts |
#17263 2008-03-05 13:55 GMT |
|
leetloginde bunu ara
Code: $leetlogin .= "<br><center><font color='00FF00'><b>Ntka.Org Sınırsız İçeriğinden Yararlanmanız İçin Mutlaka Üye Olmanız Önerilir </b></center></font>"; kendine göre deiştir.. |
|
|
Cc iLe Ald?g?m Domqini Regleyip Msn Adresim Geçici Süreligine Durdurulmu?tur !
Önüne GeLen Destek Ekibi oLmu? xD |
|
mahlas
44 posts |
#17266 2008-03-05 14:25 GMT |
|
Cok saolun Yaptım oldu şimdii Fontları düzenlemek istiyom cssde ... ANasayfadfaaaki yazıların hepsinin boyutunu byutmek ve rengini degiştirmek istiyorum o nasıl yapılacak..
|
|
> 1 <
Benzer konular (Similar topics) #BETA
| Konular | Mesajlar | Son Yazar | Güncelleme |
| yardım forum mesajı hatası ile ilgili yardım | 2 | Dvdbil | 396 Gün |
| Yardım ~ Forum konuları gözükmüyor! | 5 | mwtr | 396 Gün |
| Son Yazdığı Forum Mesajları, Son Açtığı Forum Konuları ve News | 5 | Kaan | 268 Gün |
| Forum Newtopic Hata Mesajı | 2 | The_PcDelisi | 104 Gün |
| son forum konuları | 9 | Darkworm | 433 Gün |






