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

Etiketler: favorites eklentisi linleri farklı sayfada açmak

Author Message

HuKuM

Members


Online status

70 posts
http://wWw.KoRKuTuCu.Com
Pagerank: 0

Location: Turkey
Occupation:
Age:

#21369   2008-03-31 14:10 GMT      

beyler favorites eklentesini kurdum normal çalışıyo sitemde diger linlkleri farklı sayfada açıyo ama bu favorites eklentisindeki linleri aynı sayfada açıyo bunu nasıl farklı sayfada açarım.??

kodlar:

Code:
<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/favorites/favorites.php
Version=100
Updated=2006-mar-09
Type=Plugin
Author=Neocrome
Description=
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=favorites
Part=main
File=favorites
Hooks=standalone
Tags=
Order=10
[END_SED_EXTPLUGIN]
==================== */

if (!defined('SED_CODE')) { die('Wrong URL.'); }

$db_favorites_voters = "sed_favorites_voters";
$db_favorites_items = "sed_favorites_items";
$id = sed_import('id', 'G', 'INT');

require ('plugins/favorites/lang/favorites.'.$usr['lang'].'.lang.php');

function sed_favorites_parseline($row)
{
global $usr, $cfg, $L;
$url = sed_cc($row['si_item']);
$res = "<tr>";
$res .= "<td><a href=\"".$url."\"><strong>".$url."</strong></a><br />";
$res .= "<div style=\"padding:3px;\" class=\"desc\">".sed_cc($row['si_desc'])."</div></td>";
$res .= "<td style=\"text-align:center;\" nowrap=\"nowrap\">".sed_favorites_vote($row['si_id'], $row['si_authorid'])."</td>";
$res .= "<td style=\"text-align:center;\">".sed_favorites_score($row['si_score'])."</td>";
$res .= "<td style=\"text-align:center;\" class=\"desc\">".$row['si_votes']."</td>";
$res .= "<td style=\"text-align:center;\" nowrap=\"nowrap\">".sed_build_user($row['si_authorid'], sed_cc($row['si_author']))."</td>";
$res .= "<td style=\"text-align:center;\" class=\"desc\">".date($cfg['formatyearmonthday'], $row['si_date'] + $usr['timezone'] * 3600)."</td>";
$res .= "<td style=\"text-align:center;\">";
$res .= ($usr['id']==$row['si_authorid'] || sed_auth('plug', 'favorites', 'A')) ? "[<a href=\"plug.php?e=favorites&amp;m=delete&amp;id=".$row['si_id']."&amp;".sed_xg()."\">x</a>]" : '&nbsp;';
$res .= "</td>";
$res .= "</tr>";
return($res);
}

function sed_favorites_vote($itemid, $authorid)
{
global $usr, $uservotes;

if ($usr['id']>0)
{
if ($authorid==$usr['id'])
{
$res = "&nbsp;";
}
else
{
switch ($uservotes[$itemid])
{
case '1':
$res = "<img src=\"plugins/favorites/img/down.gif\">";
break;

case '2':
$res = "<img src=\"plugins/favorites/img/up.gif\">";
break;

default:
$res = "<a href=\"plug.php?e=favorites&amp;id=$itemid&amp;m=vote&amp;v=up\"><img src=\"plugins/favorites/img/inc.gif\"></a> ";
$res .= "<a href=\"plug.php?e=favorites&amp;id=$itemid&amp;m=vote&amp;v=down\"><img src=\"plugins/favorites/img/dec.gif\"></a>";
break;
}
}
}
else
{
$res = "<a href=\"plug.php?e=favorites&amp;m=user\">...</a>";
}

return($res);
}

function sed_favorites_score($score)
{
global $cfg;

$res = "<span style=\"color:#";
$res .= ($score>0) ? $cfg['plugin']['favorites']['colorpos'] : $cfg['plugin']['favorites']['colorneg'];
$res .= "; font-weight:bold;\">".$score."</span>";
return($res);
}

function sed_favorites_coltop()
{
global $L, $usr;

$res .= "<tr>";
$res .= "<td class=\"coltop\">".$L['plu_items']."</td>";
$res .= "<td class=\"coltop\">".$L['Vote']."</td>";
$res .= "<td class=\"coltop\">".$L['plu_score']."</td>";
$res .= "<td class=\"coltop\">".$L['plu_votes']."</td>";
$res .= "<td class=\"coltop\">".$L['User']."</td>";
$res .= "<td class=\"coltop\">".$L['Date']."</td>";
$res .= "<td class=\"coltop\">&nbsp;</td>";
$res .= "</tr>";
return($res);
}

// ==================

$uservotes = array();

if ($usr['id']>0)
{
$sql = sed_sql_query("SELECT sv_itemid, sv_vote FROM $db_favorites_voters WHERE sv_userid='".$usr['id']."'");
while ($row = sed_sql_fetcharray($sql))
{
$uservotes[$row['sv_itemid']] = $row['sv_vote']+1;
}
}

switch ($m)
{
case 'add':
$nitem = sed_import('nitem', 'P', 'STX');
$ndesc = sed_import('ndesc', 'P', 'STX');

if (!empty($nitem) && !empty($ndesc))
{
$sql = sed_sql_query("INSERT INTO $db_favorites_items (si_score, si_date, si_item, si_desc, si_votes, si_author, si_authorid)
VALUES ('".$cfg['plugin']['favorites']['defaultscore']."',
'".$sys['now_offset']."',
'".sed_sql_prep($nitem)."',
'".sed_sql_prep($ndesc)."',
0,
'".sed_sql_prep($usr['name'])."',
'".$usr['id']."') ");
}

header("Location: plug.php?e=favorites&m=user");
exit;

break;

case 'delete':

if ($usr['id']>0)
{
if ($usr['isadmin'])
{
$sql = sed_sql_query("DELETE FROM $db_favorites_items WHERE si_id='$id'");
$sql = sed_sql_query("DELETE FROM $db_favorites_voters WHERE sv_itemid='$id'");
}
else
{
$sql = sed_sql_query("DELETE FROM $db_favorites_items WHERE si_id='$id' AND si_authorid='".$usr['id']."'");
if (sed_sql_affectedrows($sql)>0)
{
$sql = sed_sql_query("DELETE FROM $db_favorites_voters WHERE sv_itemid='$id'");
}
}

header("Location: plug.php?e=favorites&m=user");
exit;

}
else
{
sed_die();
}

break;

case 'vote':

$v = sed_import('v', 'G', 'ALP', 4);
if ($usr['id']>0)
{ $sql = sed_sql_query("SELECT sv_id FROM $db_favorites_voters WHERE sv_itemid='$id' AND sv_userid='".$usr['id']."' LIMIT 1"); }
else
    { sed_die(); }

if (sed_sql_numrows($sql)>0)
{
$disp_main = "<div style=\"padding:32px;\">".$L['plu_alreadyvoted']."</div>";
}
else
{
$sql = sed_sql_query("SELECT si_id FROM $db_favorites_items WHERE si_id='$id' AND si_authorid='".$usr['id']."' LIMIT 1");

if (sed_sql_numrows($sql)>0)
{
$disp_main = "<div style=\"padding:32px;\">".$L['plu_votepersonal']."</div>";
}
else
{
if ($v=='up')
{
$query_ch = "si_score=si_score+1";
$vote = 1;
}
else
{
$query_ch = "si_score=si_score-1";
$vote = 0;
}

$sql = sed_sql_query("UPDATE $db_favorites_items SET ".$query_ch.", si_votes=si_votes+1 WHERE si_id='$id'");
if (sed_sql_affectedrows()==1)
{
$sql = sed_sql_query("INSERT INTO $db_favorites_voters (sv_itemid, sv_vote, sv_userid)
VALUES ('$id', '$vote', '".$usr['id']."') ");
$disp_main = "<div style=\"padding:32px;\">".$L['plu_votecasted']."</div>";
}
}
}

break;



case 'top':

$disp_main .= "<h4>".$L['plu_top']." ".$cfg['plugin']['favorites']['toplimit']."</h4>";
$sql = sed_sql_query("SELECT * FROM $db_favorites_items WHERE 1 ORDER BY si_score DESC LIMIT ".$cfg['plugin']['favorites']['toplimit']);
$disp_main .= "<table class=\"cells\">".sed_favorites_coltop();
while ($row = sed_sql_fetcharray($sql))
{ $disp_main .= sed_favorites_parseline($row); }
$disp_main .= "</table>";

break;




case 'worst':

$disp_main .= "<h4>".$L['plu_worst']." ".$cfg['plugin']['favorites']['worstlimit']."</h4>";
$sql = sed_sql_query("SELECT * FROM $db_favorites_items WHERE 1 ORDER BY si_score ASC LIMIT ".$cfg['plugin']['favorites']['worstlimit']);
$disp_main .= "<table class=\"cells\">".sed_favorites_coltop();
while ($row = sed_sql_fetcharray($sql))
{ $disp_main .= sed_favorites_parseline($row); }
$disp_main .= "</table>";

break;



case 'all':

$totitems = sed_sql_rowcount($db_favorites_items);
// $totvotes = sed_sql_rowcount($db_favorites_voters);

$disp_main .= "<h4>".$L['plu_all']." (".$totitems.")</h4>";
$sql = sed_sql_query("SELECT * FROM $db_favorites_items WHERE 1 ORDER BY si_item ASC");
$disp_main .= "<table class=\"cells\">".sed_favorites_coltop();
while ($row = sed_sql_fetcharray($sql))
{ $disp_main .= sed_favorites_parseline($row); }
$disp_main .= "</table>";

break;

case 'user':

if ($usr['id']>0 && sed_auth('plug', 'favorites', 'W'))
{
$sql = sed_sql_query("SELECT * FROM $db_favorites_items WHERE si_authorid='".$usr['id']."' ORDER BY si_score ASC");
$fav['useritems'] = sed_sql_numrows($sql);

$disp_main .= "<h4>".$L['plu_user']." (".$fav['useritems']."/".$cfg['plugin']['favorites']['userlimit'].")</h4>";

$disp_main .= "<table class=\"cells\">".sed_favorites_coltop();
while ($row = sed_sql_fetcharray($sql))
{ $disp_main .= sed_favorites_parseline($row); }
$disp_main .= "</table>";

if ($fav['useritems']<$cfg['plugin']['favorites']['userlimit'])
    {
$disp_main .= "<h4>".$L['plu_additems']."</h4>";
    $disp_main .= "<form id=\"additem\" action=\"plug.php?e=favorites&amp;m=add\" method=\"post\">";
$disp_main .= "<table class=\"cells\">";
$disp_main .= "<tr><td>".$L['plu_item']." :</td><td>";
$disp_main .= "<input type=\"text\" class=\"text\" name=\"nitem\" value=\"\" size=\"40\" maxlength=\"128\" /> ";
$disp_main .= $L['plu_items_sample']."</td></tr>";
$disp_main .= "<tr><td>".$L['plu_desc']." :</td><td>";
$disp_main .= "<input type=\"text\" class=\"text\" name=\"ndesc\" value=\"\" size=\"40\" maxlength=\"128\" /> ";
$disp_main .= $L['plu_desc_sample']."</td></tr>";
$disp_main .= "<tr><td colspan=\"2\"><input type=\"submit\" class=\"submit\" value=\"".$L['Add']."\" /></td></tr>";
$disp_main .= "</table></form>";
    }
else
{
$disp_main .= "<div style=\"padding:32px;\">".$L['plu_maxreached']."</div>";
}
}
else
{
$disp_main = "<div style=\"padding:32px;\">".$L['plu_membersonly']."</div>";
}

break;

default:

$disp_main .= "<h4>".$L['plu_recent']."</h4>";
$sql = sed_sql_query("SELECT * FROM $db_favorites_items WHERE 1 ORDER BY si_id DESC LIMIT ".$cfg['plugin']['favorites']['recentlimit']);
$disp_main .= "<table class=\"cells\">".sed_favorites_coltop();
while ($row = sed_sql_fetcharray($sql))
{ $disp_main .= sed_favorites_parseline($row); }
$disp_main .= "</table>";

break;
}

$disp_menu = "<a href=\"plug.php?e=favorites\">".$L['plu_recent']."</a> &nbsp; ";
$disp_menu .= "<a href=\"plug.php?e=favorites&amp;m=top\">".$L['plu_top']." ".$cfg['plugin']['favorites']['toplimit']."</a> &nbsp; ";
$disp_menu .= "<a href=\"plug.php?e=favorites&amp;m=worst\">".$L['plu_worst']." ".$cfg['plugin']['favorites']['worstlimit']."</a> &nbsp; ";
$disp_menu .= "<a href=\"plug.php?e=favorites&amp;m=all\">".$L['plu_all']."</a> &nbsp; ";
$disp_menu .= "<a href=\"plug.php?e=favorites&amp;m=user\">".$L['plu_user']."</a>";

$plugin_body = $disp_menu;
$plugin_body .= $disp_main;



?>


!..YeTTi ArTıK BeLKİ Bu Gece KaFaMa SıKarıM..!
|l|lllll|lll||ll||lll|
²¹°¹³²¹³ °¹²¹³

emremix

Moderators


Online status

436 posts

Location: Turkey
Occupation: emremix
Age:

#21391   2008-03-31 20:00 GMT      
Şunu bi dene olucak mı ?

Code:
<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/favorites/favorites.php
Version=100
Updated=2006-mar-09
Type=Plugin
Author=Neocrome
Description=
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=favorites
Part=main
File=favorites
Hooks=standalone
Tags=
Order=10
[END_SED_EXTPLUGIN]
==================== */

if (!defined('SED_CODE')) { die('Wrong URL.'); }

$db_favorites_voters = "sed_favorites_voters";
$db_favorites_items = "sed_favorites_items";
$id = sed_import('id', 'G', 'INT');

require ('plugins/favorites/lang/favorites.'.$usr['lang'].'.lang.php');

function sed_favorites_parseline($row)
{
global $usr, $cfg, $L;
$url = sed_cc($row['si_item']);
$res = "<tr>";
$res .= "<td><a target="_blank" href=\"".$url."\"><strong>".$url."</strong></a><br />";
$res .= "<div style=\"padding:3px;\" class=\"desc\">".sed_cc($row['si_desc'])."</div></td>";
$res .= "<td style=\"text-align:center;\" nowrap=\"nowrap\">".sed_favorites_vote($row['si_id'], $row['si_authorid'])."</td>";
$res .= "<td style=\"text-align:center;\">".sed_favorites_score($row['si_score'])."</td>";
$res .= "<td style=\"text-align:center;\" class=\"desc\">".$row['si_votes']."</td>";
$res .= "<td style=\"text-align:center;\" nowrap=\"nowrap\">".sed_build_user($row['si_authorid'], sed_cc($row['si_author']))."</td>";
$res .= "<td style=\"text-align:center;\" class=\"desc\">".date($cfg['formatyearmonthday'], $row['si_date'] + $usr['timezone'] * 3600)."</td>";
$res .= "<td style=\"text-align:center;\">";
$res .= ($usr['id']==$row['si_authorid'] || sed_auth('plug', 'favorites', 'A')) ? "[<a target="_blank" href=\"plug.php?e=favorites&amp;m=delete&amp;id=".$row['si_id']."&amp;".sed_xg()."\">x</a>]" : '&nbsp;';
$res .= "</td>";
$res .= "</tr>";
return($res);
}

function sed_favorites_vote($itemid, $authorid)
{
global $usr, $uservotes;

if ($usr['id']>0)
{
if ($authorid==$usr['id'])
{
$res = "&nbsp;";
}
else
{
switch ($uservotes[$itemid])
{
case '1':
$res = "<img src=\"plugins/favorites/img/down.gif\">";
break;

case '2':
$res = "<img src=\"plugins/favorites/img/up.gif\">";
break;

default:
$res = "<a target="_blank" href=\"plug.php?e=favorites&amp;id=$itemid&amp;m=vote&amp;v=up\"><img src=\"plugins/favorites/img/inc.gif\"></a> ";
$res .= "<a target="_blank" href=\"plug.php?e=favorites&amp;id=$itemid&amp;m=vote&amp;v=down\"><img src=\"plugins/favorites/img/dec.gif\"></a>";
break;
}
}
}
else
{
$res = "<a target="_blank" href=\"plug.php?e=favorites&amp;m=user\">...</a>";
}

return($res);
}

function sed_favorites_score($score)
{
global $cfg;

$res = "<span style=\"color:#";
$res .= ($score>0) ? $cfg['plugin']['favorites']['colorpos'] : $cfg['plugin']['favorites']['colorneg'];
$res .= "; font-weight:bold;\">".$score."</span>";
return($res);
}

function sed_favorites_coltop()
{
global $L, $usr;

$res .= "<tr>";
$res .= "<td class=\"coltop\">".$L['plu_items']."</td>";
$res .= "<td class=\"coltop\">".$L['Vote']."</td>";
$res .= "<td class=\"coltop\">".$L['plu_score']."</td>";
$res .= "<td class=\"coltop\">".$L['plu_votes']."</td>";
$res .= "<td class=\"coltop\">".$L['User']."</td>";
$res .= "<td class=\"coltop\">".$L['Date']."</td>";
$res .= "<td class=\"coltop\">&nbsp;</td>";
$res .= "</tr>";
return($res);
}

// ==================

$uservotes = array();

if ($usr['id']>0)
{
$sql = sed_sql_query("SELECT sv_itemid, sv_vote FROM $db_favorites_voters WHERE sv_userid='".$usr['id']."'");
while ($row = sed_sql_fetcharray($sql))
{
$uservotes[$row['sv_itemid']] = $row['sv_vote']+1;
}
}

switch ($m)
{
case 'add':
$nitem = sed_import('nitem', 'P', 'STX');
$ndesc = sed_import('ndesc', 'P', 'STX');

if (!empty($nitem) && !empty($ndesc))
{
$sql = sed_sql_query("INSERT INTO $db_favorites_items (si_score, si_date, si_item, si_desc, si_votes, si_author, si_authorid)
VALUES ('".$cfg['plugin']['favorites']['defaultscore']."',
'".$sys['now_offset']."',
'".sed_sql_prep($nitem)."',
'".sed_sql_prep($ndesc)."',
0,
'".sed_sql_prep($usr['name'])."',
'".$usr['id']."') ");
}

header("Location: plug.php?e=favorites&m=user");
exit;

break;

case 'delete':

if ($usr['id']>0)
{
if ($usr['isadmin'])
{
$sql = sed_sql_query("DELETE FROM $db_favorites_items WHERE si_id='$id'");
$sql = sed_sql_query("DELETE FROM $db_favorites_voters WHERE sv_itemid='$id'");
}
else
{
$sql = sed_sql_query("DELETE FROM $db_favorites_items WHERE si_id='$id' AND si_authorid='".$usr['id']."'");
if (sed_sql_affectedrows($sql)>0)
{
$sql = sed_sql_query("DELETE FROM $db_favorites_voters WHERE sv_itemid='$id'");
}
}

header("Location: plug.php?e=favorites&m=user");
exit;

}
else
{
sed_die();
}

break;

case 'vote':

$v = sed_import('v', 'G', 'ALP', 4);
if ($usr['id']>0)
{ $sql = sed_sql_query("SELECT sv_id FROM $db_favorites_voters WHERE sv_itemid='$id' AND sv_userid='".$usr['id']."' LIMIT 1"); }
else
    { sed_die(); }

if (sed_sql_numrows($sql)>0)
{
$disp_main = "<div style=\"padding:32px;\">".$L['plu_alreadyvoted']."</div>";
}
else
{
$sql = sed_sql_query("SELECT si_id FROM $db_favorites_items WHERE si_id='$id' AND si_authorid='".$usr['id']."' LIMIT 1");

if (sed_sql_numrows($sql)>0)
{
$disp_main = "<div style=\"padding:32px;\">".$L['plu_votepersonal']."</div>";
}
else
{
if ($v=='up')
{
$query_ch = "si_score=si_score+1";
$vote = 1;
}
else
{
$query_ch = "si_score=si_score-1";
$vote = 0;
}

$sql = sed_sql_query("UPDATE $db_favorites_items SET ".$query_ch.", si_votes=si_votes+1 WHERE si_id='$id'");
if (sed_sql_affectedrows()==1)
{
$sql = sed_sql_query("INSERT INTO $db_favorites_voters (sv_itemid, sv_vote, sv_userid)
VALUES ('$id', '$vote', '".$usr['id']."') ");
$disp_main = "<div style=\"padding:32px;\">".$L['plu_votecasted']."</div>";
}
}
}

break;



case 'top':

$disp_main .= "<h4>".$L['plu_top']." ".$cfg['plugin']['favorites']['toplimit']."</h4>";
$sql = sed_sql_query("SELECT * FROM $db_favorites_items WHERE 1 ORDER BY si_score DESC LIMIT ".$cfg['plugin']['favorites']['toplimit']);
$disp_main .= "<table class=\"cells\">".sed_favorites_coltop();
while ($row = sed_sql_fetcharray($sql))
{ $disp_main .= sed_favorites_parseline($row); }
$disp_main .= "</table>";

break;




case 'worst':

$disp_main .= "<h4>".$L['plu_worst']." ".$cfg['plugin']['favorites']['worstlimit']."</h4>";
$sql = sed_sql_query("SELECT * FROM $db_favorites_items WHERE 1 ORDER BY si_score ASC LIMIT ".$cfg['plugin']['favorites']['worstlimit']);
$disp_main .= "<table class=\"cells\">".sed_favorites_coltop();
while ($row = sed_sql_fetcharray($sql))
{ $disp_main .= sed_favorites_parseline($row); }
$disp_main .= "</table>";

break;



case 'all':

$totitems = sed_sql_rowcount($db_favorites_items);
// $totvotes = sed_sql_rowcount($db_favorites_voters);

$disp_main .= "<h4>".$L['plu_all']." (".$totitems.")</h4>";
$sql = sed_sql_query("SELECT * FROM $db_favorites_items WHERE 1 ORDER BY si_item ASC");
$disp_main .= "<table class=\"cells\">".sed_favorites_coltop();
while ($row = sed_sql_fetcharray($sql))
{ $disp_main .= sed_favorites_parseline($row); }
$disp_main .= "</table>";

break;

case 'user':

if ($usr['id']>0 && sed_auth('plug', 'favorites', 'W'))
{
$sql = sed_sql_query("SELECT * FROM $db_favorites_items WHERE si_authorid='".$usr['id']."' ORDER BY si_score ASC");
$fav['useritems'] = sed_sql_numrows($sql);

$disp_main .= "<h4>".$L['plu_user']." (".$fav['useritems']."/".$cfg['plugin']['favorites']['userlimit'].")</h4>";

$disp_main .= "<table class=\"cells\">".sed_favorites_coltop();
while ($row = sed_sql_fetcharray($sql))
{ $disp_main .= sed_favorites_parseline($row); }
$disp_main .= "</table>";

if ($fav['useritems']<$cfg['plugin']['favorites']['userlimit'])
    {
$disp_main .= "<h4>".$L['plu_additems']."</h4>";
    $disp_main .= "<form id=\"additem\" action=\"plug.php?e=favorites&amp;m=add\" method=\"post\">";
$disp_main .= "<table class=\"cells\">";
$disp_main .= "<tr><td>".$L['plu_item']." :</td><td>";
$disp_main .= "<input type=\"text\" class=\"text\" name=\"nitem\" value=\"\" size=\"40\" maxlength=\"128\" /> ";
$disp_main .= $L['plu_items_sample']."</td></tr>";
$disp_main .= "<tr><td>".$L['plu_desc']." :</td><td>";
$disp_main .= "<input type=\"text\" class=\"text\" name=\"ndesc\" value=\"\" size=\"40\" maxlength=\"128\" /> ";
$disp_main .= $L['plu_desc_sample']."</td></tr>";
$disp_main .= "<tr><td colspan=\"2\"><input type=\"submit\" class=\"submit\" value=\"".$L['Add']."\" /></td></tr>";
$disp_main .= "</table></form>";
    }
else
{
$disp_main .= "<div style=\"padding:32px;\">".$L['plu_maxreached']."</div>";
}
}
else
{
$disp_main = "<div style=\"padding:32px;\">".$L['plu_membersonly']."</div>";
}

break;

default:

$disp_main .= "<h4>".$L['plu_recent']."</h4>";
$sql = sed_sql_query("SELECT * FROM $db_favorites_items WHERE 1 ORDER BY si_id DESC LIMIT ".$cfg['plugin']['favorites']['recentlimit']);
$disp_main .= "<table class=\"cells\">".sed_favorites_coltop();
while ($row = sed_sql_fetcharray($sql))
{ $disp_main .= sed_favorites_parseline($row); }
$disp_main .= "</table>";

break;
}

$disp_menu = " <a target="_blank" href=\"plug.php?e=favorites\">".$L['plu_recent']."</a> &nbsp; ";
$disp_menu .= "<a target="_blank" href=\"plug.php?e=favorites&amp;m=top\">".$L['plu_top']." ".$cfg['plugin']['favorites']['toplimit']."</a> &nbsp; ";
$disp_menu .= "<a target="_blank" href=\"plug.php?e=favorites&amp;m=worst\">".$L['plu_worst']." ".$cfg['plugin']['favorites']['worstlimit']."</a> &nbsp; ";
$disp_menu .= "<a target="_blank" href=\"plug.php?e=favorites&amp;m=all\">".$L['plu_all']."</a> &nbsp; ";
$disp_menu .= "<a target="_blank" href=\"plug.php?e=favorites&amp;m=user\">".$L['plu_user']."</a>";

$plugin_body = $disp_menu;
$plugin_body .= $disp_main;



?>
Harddiskim Yandı Hiçbirşey İstemeyin

HuKuM

Members


Online status

70 posts
http://wWw.KoRKuTuCu.Com
Pagerank: 0

Location: Turkey
Occupation:
Age:

#21544   2008-04-01 15:15 GMT      

yaptım fakat bu hatayı aldım??

Code:
Parse error  parse error, unexpected T_STRING in C:\Inetpub\vhosts\korkutucu.com\httpdocs\plugins\favorites\favorites.phpon line40


!..YeTTi ArTıK BeLKİ Bu Gece KaFaMa SıKarıM..!
|l|lllll|lll||ll||lll|
²¹°¹³²¹³ °¹²¹³

HuKuM

Members


Online status

70 posts
http://wWw.KoRKuTuCu.Com
Pagerank: 0

Location: Turkey
Occupation:
Age:

#29087   2008-06-05 19:08 GMT      
yardım edecek yokmu


!..YeTTi ArTıK BeLKİ Bu Gece KaFaMa SıKarıM..!
|l|lllll|lll||ll||lll|
²¹°¹³²¹³ °¹²¹³

Kaan

Moderators


Online status

1,896 posts
http://www.ntka.org
Pagerank: 3

Location: Turkey
Occupation: Destek
Age: 25

#29089   2008-06-06 08:05 GMT      
Orjinal Eklentide burayı bul

Code:
$res .= "<td><a href=".$url."><strong>".sed_cc($row['si_desc'])." </strong></a></td>";


Bununla degiştir.

Code:
$res .= "<td><a href=".$url." target='_new'\"><strong>".sed_cc($row['si_desc'])." </strong></a></td>";


Hepsi bu kadar Yanlız link Ekleme Yaparkan başına mutlaka http:// yazılması gerekiyor veya hiç birine http:// yazmadan href=".$url." yazan yeri href=http://".$url." şeklinde degiştir.
Tıkla Anında Sende Kazan!
UIygun Fiyata Seditio Tasarımı Yapılır..
Sitemap Seo lu Yeni Tıkla

HuKuM

Members


Online status

70 posts
http://wWw.KoRKuTuCu.Com
Pagerank: 0

Location: Turkey
Occupation:
Age:

#29092   2008-06-06 08:52 GMT      
Teşekkürler kaan deneyecem.


!..YeTTi ArTıK BeLKİ Bu Gece KaFaMa SıKarıM..!
|l|lllll|lll||ll||lll|
²¹°¹³²¹³ °¹²¹³

> 1 <

Benzer konular (Similar topics) #BETA

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] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255] [256] [257] [258] [259] [260] [261] [262] [263] [264] [265] [266] [267] [268] [269] [270] [271] [272] [273] [274] [275] [276] [277] [278] [279] [280] [281] [282] [283] [284] [285] [286] [287] [288] [289] [290] [291] [292] [293] [294] [295] [296] [297] [298] [299] [300] [301] [302] [303] [304] [305] [306] [307] [308] [309] [310] [311] [312] [313] [314] [315] [316] [317] [318] [319] [320] [321] [322] [323] [324] [325] [326] [327] [328] [329] [330] [331] [332] [333]