Jump to content
Sign in to follow this  
abcde

LinkHack (Meist besuchte) ?

Recommended Posts

Guest

Warum fragst du nicht auf der Hacks-Seite nach? Links im Menü unter Hacks!

Share this post


Link to post
Share on other sites

Eine hiefür modifizierte newpanel.php sollte gehen:

 

      Top10 Links";
$sqlbefehl= "Select l.* FROM $tab_pllink l
                        Left Join $tab_plcat c on c.id=l.catid
                        order by counter desc LIMIT 10";


$ergebnis  = mysql_query($sqlbefehl, $serverid);
 echo mysql_error($serverid);
while ( $links = mysql_fetch_array ($ergebnis)) {
if ($tdclass == "odd") { $tdclass="even"; }
else  { $tdclass="odd"; }

  echo "";
  echo "".formatstring($links[titel])."";
  echo "";
}

echo "";

}
linkpanel();
?> 



Nicht vergessen, Deinen Pfad zum Script anzupassen. Unter beliebigen Namen (z.b. top10panel.php) abzuspeichern, hochladen und aufrufen. Das war´s ;-)


Getestet auf plink 2.07

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×