Scrolling Link Help!

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Scrolling Link Help!
Stalker_D
CZ Newbie
Stalker_D has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 13, 2004
0.00 posts per day
Posts: 5
Points: 320
   
k guys i just downloaded the scrolling links and activated it but the block is blank
can somebody show where to add links .. i want to add a codewiz link too..thanks in advance guys..

<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/* Cleaned up Code and named scroll function to work in                 */
/* NSN center blocks  Telli http://codezwiz.com/                        */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/*                                                                      */
/* PHP-Nuke Version: 5.4 - 5.5 - 5.6 -6.5                               */
/************************************************************************/
$maxshow = 10;   // Number of downloads to display in the block.

if (eregi("block-ScrollLinks.php",$_SERVER['PHP_SELF'])) {
    Header("Location: index.php");
    die();
}

global $prefix, $db;
$show = "";
$a = 1;
$result = $db->sql_query("SELECT lid, title, hits FROM ".$prefix."_links_links ORDER BY hits DESC LIMIT 0,$maxshow");
while(list($lid, $title, $hits) = $db->sql_fetchrow($result)) {
    $title2 = ereg_replace("_", " ", $title);
    $show .= "<b>$a: <a href=\"modules.php?name=Web_Links&amp;l_op=viewlinkdetails&amp;lid=$lid&amp;ttitle=title\">$title2</b></a><br>     Visited <b>$hits</b> times<br><br>";
    $a++;
}
$content  = "<A name= \"scrollingCodeLinks\"></A>\n";
$content .= "<MARQUEE behavior= \"scroll\" align=\"right\" direction= \"up\" height=\"220\" scrollamount= \"2\" scrolldelay= \"90\" onmouseover='this.stop()' onmouseout='this.start()'>\n";
$content .= "$show";
$content .= "</marquee>\n"; 

<a href="http://www.flipszone.com">Flips zone </a>

?>



Back to top Reply with quote
#2   re: Scrolling Link Help!
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
that block gets the information from the links you add in your admin panel>web links.

that is where you add the links and as soon as you do, the block you have will start showing the information


taut



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum