Seditio ve Ldu hakkında sınırsız arama yapın
 
 
> 1 <

Etiketler: latestposts sorunu

Author Message

salwador88

Members


Online status

16 posts
http://www.belahack.com
Pagerank: 0

Location: Turkey
Occupation:
Age:

#18959   2008-03-16 11:15 GMT      

n

This post was edited by salwador88 (2008-04-04 01:47 GMT, 190 Gün ago)

WebCoder

Destek Ekibi


Online status

139 posts
http://www.sakarya-dizayn.net
Pagerank: 0

Location: Turkey Sakarya
Occupation: Html - Css - Grafiker
Age: 19

#18969   2008-03-16 13:58 GMT      
o eklentinin tagını yanlış yere koymuşsun kodları buraya yaz
Sakarya Tasar?m - Sakarya Dizayn | Tasarimda Öncü Marka
Yeni Seditio Pagerank sistemi >> http://www.sakarya-dizayn.net/pagerank/

salwador88

Members


Online status

16 posts
http://www.belahack.com
Pagerank: 0

Location: Turkey
Occupation:
Age:

#18970   2008-03-16 14:06 GMT      

pardon ama hangi dosyayı istiyosun ona göre vericem ( index.tpl mi?)

index.tpl:
Code:
<!-- BEGIN: MAIN -->

<div id="main">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>


<div class="cb_medium_title">» {PHP.skinlang.index.Newinforums}</div>
<div class="cb_main">{PLUGIN_LATESTTOPICS}</div>
<div class="cb_footer">&nbsp;</div>


{INDEX_NEWS}</td>
    <td width="200" style="padding-left:4px;">


<div class="cb_small_title">» {PHP.skinlang.index.Polls}</div>
<div class="cb_main">{PLUGIN_LATESTPOLL}</div>
<div class="cb_footer">&nbsp;</div>

        {PLUGIN_latestposts}
       
        {INDEX_DOKUMANLAR}
       
        {INDEX_DOSYALAR}

        {PLUGIN_NEWPAGESBYPATH.categorycodehere}

        {INDEX_YONETICILER}

        {USERS_DETAILS_UYEKONULAR}

             


<div class="cb_small_title">» {PHP.skinlang.index.Recentadditions}</div>
<div class="cb_main">{PLUGIN_LATESTPAGES}</div>
<div class="cb_footer">&nbsp;</div>

        {PLUGIN_LATEST_POSTS}

<div class="cb_small_title">» {PHP.skinlang.index.Online}</div>
<div class="cb_main"><a href="plug.php?e=whosonline">{PHP.out.whosonline}</a> :<br /> {PHP.out.whosonline_reg_list}</div>
<div class="cb_footer">&nbsp;</div>





</td>
  </tr>
</table>


</div>



<!-- END: MAIN -->


latestposts.php :
Code:
<?PHP

/* ====================
Land Down Under - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/latestposts/latestposts.php
Version=3
Updated=
Type=Plugin
Author=Martinis74 - WwW.Turkeyhack.OrG
Description=Son Forum Konulari (30)
[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 = "30";   // 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='0' width='100%' cellspacing='0' cellpadding='1' align='center'>";
$latestposts .= "<tr><td style=\"width:45%;\" class=\"coltop\">Konu</td><td style=\"width:10%;\" class=\"coltop\">Mesajlar</td><td style=\"width:10%;\" class=\"coltop\">Okunma</td><td style=\"width:15%;\" class=\"coltop\">Yanıtlayan</td><td style=\"width:30%;\" class=\"coltop\">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&amp;q=".$row['ft_id']."&amp;n=unread#unread\"><img src=\"skins/$skin/img/system/arrow-unread.gif\" alt=\"\" /></a>" : "<a href=\"forums.php?m=posts&amp;q=".$row['ft_id']."\"><img src=\"skins/$skin/img/system/arrow-follow.gif\" alt=\"\" /></a> ";
$latestposts .= "<table class=\"cells\">";
$latestposts .= "<tr><td style=\"width:45%;\"> &nbsp;";
$latestposts .= $img." <a href=\"forums.php?m=posts&amp;q=".$row['ft_id']."\">".sed_cc(sed_cutstring(stripslashes($row['ft_title']),38))."</a></td>";

$latestposts .="<td style=\"width:10%;\">&nbsp;(" .$row["ft_postcount"]. ")</td>";
$latestposts .="<td style=\"width:10%;\"> &nbsp;(" .$row["ft_viewcount"]. ")</td>";
$latestposts .= "<td style=\"width:15%;\"> &nbsp;<a href='users.php?m=details&amp;id=".$row["ft_lastposterid"]."'>".$row["ft_lastpostername"]."</a></td>";
$latestposts .= "<td style=\"width:30%;\"> &nbsp; ".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_LATEST_POSTS" => $latestposts,
));

?>

This post was edited by salwador88 (2008-03-16 14:23 GMT, 209 Gün ago)

WebCoder

Destek Ekibi


Online status

139 posts
http://www.sakarya-dizayn.net
Pagerank: 0

Location: Turkey Sakarya
Occupation: Html - Css - Grafiker
Age: 19

#19019   2008-03-16 14:26 GMT      
üstteki index.tpl ni verdiğim kodlarla değiş

Code:
<!-- BEGIN: MAIN -->

<div id="main">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>


<div class="cb_medium_title">» {PHP.skinlang.index.Newinforums}</div>
<div class="cb_main"><span style="padding-left:4px;">{PLUGIN_LATEST_POSTS}</span></div>
<div class="cb_footer">&nbsp;</div>


{INDEX_NEWS}</td>
    <td width="200" style="padding-left:4px;">


<div class="cb_small_title">» {PHP.skinlang.index.Polls}</div>
<div class="cb_main">{PLUGIN_LATESTPOLL}</div>
<div class="cb_footer">&nbsp;</div>

        {PLUGIN_latestposts}
       
        {INDEX_DOKUMANLAR}
       
        {INDEX_DOSYALAR}

        {PLUGIN_NEWPAGESBYPATH.categorycodehere}

        {INDEX_YONETICILER}

        {USERS_DETAILS_UYEKONULAR}

             


<div class="cb_small_title">» {PHP.skinlang.index.Recentadditions}</div>
<div class="cb_main">{PLUGIN_LATESTPAGES}</div>
<div class="cb_footer">&nbsp;</div>

        {PLUGIN_LATEST_POSTS}

<div class="cb_small_title">» {PHP.skinlang.index.Online}</div>
<div class="cb_main"><a href="plug.php?e=whosonline">{PHP.out.whosonline}</a> :<br /> {PHP.out.whosonline_reg_list}</div>
<div class="cb_footer">&nbsp;</div>
</td>
  </tr>
</table>

</div>

<!-- END: MAIN -->
Sakarya Tasar?m - Sakarya Dizayn | Tasarimda Öncü Marka
Yeni Seditio Pagerank sistemi >> http://www.sakarya-dizayn.net/pagerank/

salwador88

Members


Online status

16 posts
http://www.belahack.com
Pagerank: 0

Location: Turkey
Occupation:
Age:

#19023   2008-03-16 14:30 GMT      
çok teşekkür ederim senin sayende bitirdim..

pcdelisi

Members


Online status

15 posts

Location: Turkey
Occupation:
Age:

#19024   2008-03-16 14:30 GMT      
Bunu Dene

Code:
<!-- BEGIN: MAIN -->

<div id="main">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>


<div class="cb_medium_title">» {PHP.skinlang.index.Newinforums}</div>
<div class="cb_main"><span style="padding-left:4px;">{PLUGIN_latestposts}</span></div>
<div class="cb_footer">&nbsp;</div>

<div class="cb_medium_title">» Dökümanlar</div>
<div class="cb_main"><span style="padding-left:4px;">{INDEX_DOKUMANLAR}</span></div>
<div class="cb_footer">&nbsp;</div>

<div class="cb_medium_title">» Dosyalar</div>
<div class="cb_main"><span style="padding-left:4px;">{INDEX_DOSYALAR}</span></div>
<div class="cb_footer">&nbsp;</div>


{INDEX_NEWS}</td>
    <td width="200" style="padding-left:4px;">


<div class="cb_small_title">» {PHP.skinlang.index.Polls}</div>
<div class="cb_main">{PLUGIN_LATESTPOLL}</div>
<div class="cb_footer">&nbsp;</div>

<div class="cb_small_title">» Yöneticiler</div>
<div class="cb_main">{INDEX_YONETICILER}</div>
<div class="cb_footer">&nbsp;</div>

       
       


<div class="cb_small_title">» {PHP.skinlang.index.Recentadditions}</div>
<div class="cb_main">{PLUGIN_LATESTPAGES}</div>
<div class="cb_footer">&nbsp;</div>

       

<div class="cb_small_title">» {PHP.skinlang.index.Online}</div>
<div class="cb_main"><a href="plug.php?e=whosonline">{PHP.out.whosonline}</a> :<br /> {PHP.out.whosonline_reg_list}</div>
<div class="cb_footer">&nbsp;</div>
</td>
  </tr>
</table>

</div>

<!-- END: MAIN -->

salwador88

Members


Online status

16 posts
http://www.belahack.com
Pagerank: 0

Location: Turkey
Occupation:
Age:

#19026   2008-03-16 14:40 GMT      
webcoder arkadaşım sorun düzeldi ama o alt taraftaki hala duruyo yeni farkettim

2.si pcdelisi seninkini denedim hepten bozuldu:S

WebCoder

Destek Ekibi


Online status

139 posts
http://www.sakarya-dizayn.net
Pagerank: 0

Location: Turkey Sakarya
Occupation: Html - Css - Grafiker
Age: 19

#19029   2008-03-16 15:14 GMT      
Tamam bunu eklersen düzelir
Code:
<!-- BEGIN: MAIN -->

<div id="main">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>


<div class="cb_medium_title">» {PHP.skinlang.index.Newinforums}</div>
<div class="cb_main"><span style="padding-left:4px;">{PLUGIN_LATEST_POSTS}</span></div>
<div class="cb_footer">&nbsp;</div>


{INDEX_NEWS}</td>
    <td width="200" style="padding-left:4px;">


<div class="cb_small_title">» {PHP.skinlang.index.Polls}</div>
<div class="cb_main">{PLUGIN_LATESTPOLL}</div>
<div class="cb_footer">&nbsp;</div>

        {PLUGIN_latestposts}
       
        {INDEX_DOKUMANLAR}
       
        {INDEX_DOSYALAR}

        {PLUGIN_NEWPAGESBYPATH.categorycodehere}

        {INDEX_YONETICILER}

        {USERS_DETAILS_UYEKONULAR}

             


<div class="cb_small_title">» {PHP.skinlang.index.Recentadditions}</div>
<div class="cb_main">{PLUGIN_LATESTPAGES}</div>
<div class="cb_footer">&nbsp;</div>

        <div class="cb_small_title">» {PHP.skinlang.index.Online}</div>
<div class="cb_main"><a href="plug.php?e=whosonline">{PHP.out.whosonline}</a> :<br /> {PHP.out.whosonline_reg_list}</div>
<div class="cb_footer">&nbsp;</div>
</td>
  </tr>
</table>

</div>

<!-- END: MAIN -->
Sakarya Tasar?m - Sakarya Dizayn | Tasarimda Öncü Marka
Yeni Seditio Pagerank sistemi >> http://www.sakarya-dizayn.net/pagerank/
> 1 <

Benzer konular (Similar topics) #BETA

KonularMesajlarSon YazarGüncelleme
LatestPosts Sorunu19HiPy480 Gün
Latestposts Kısaltma3YaKuP_48340 Gün
latestposts da konu8Temhem306 Gün
css sorunu2mervan318 Gün
Seo Sorunu8MUST!195 Gün

Keywords (beta):

Forum Arşiv (beta):

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223] [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234]