Tricked Out News

Welcome to TON. This site is dedicated to development of addons for the RavenNuke™ CMS
Follow Us:
Tricked Out Mods: Forums

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Marquee last ads
 
 
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> NukeC
View previous topic :: View next topic  
Author Message
doffer83
Newbie
Newbie


Joined: Jan 01, 2011
Posts: 7

Reputation: 14.2

PostPosted: Sat Apr 09, 2011 7:49 am 
Post subject: Marquee last ads
Reply with quote

It does not work yet... please can someone check my code and gives some advices

thanks

Code:
global $db, $prefix;


echo "<MARQUEE>------";
$sqllatest = $db->sql_query("SELECT id_ads, title, ads_desc, imageads, curr, price from nukec30_ads_ads where active = '1' and validuntil ORDER BY id_ads DESC limit 0,2");
$resultlatest = $db->sql_query($sqllatest);
    echo "|    <a href='modules.php?name=NukeC&amp;op=ViewDetail&amp;id_ads='.$sid.'>'.$title.'</a> ";
// if ($sidinfo['submitter'] > "") {
        echo " - "._BY." ".$submitter;
    //}
    echo "    |";

echo "------</MARQUEE>";
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sat Apr 09, 2011 8:33 am 
Post subject:
Reply with quote

Where is that code from? What file are you trying to edit?
_________________
Tricked Out News
  
Back to top
View user's profile Send private message
doffer83
Newbie
Newbie


Joined: Jan 01, 2011
Posts: 7

Reputation: 14.2

PostPosted: Sat Apr 09, 2011 8:56 am 
Post subject:
Reply with quote

this code I wrote to put it in the custom_header file.. now I see marquee moving but without good result
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sat Apr 09, 2011 9:04 am 
Post subject:
Reply with quote

Are you wanting a block to scroll the latest ads or are you wanting the scroll to be part of the nukec module?
_________________
Tricked Out News
  
Back to top
View user's profile Send private message
doffer83
Newbie
Newbie


Joined: Jan 01, 2011
Posts: 7

Reputation: 14.2

PostPosted: Sun Apr 10, 2011 10:14 am 
Post subject:
Reply with quote

I want make it shows the last xx ads outside of the nukec module.. thank you for your attenttion..
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Sun Apr 10, 2011 10:45 am 
Post subject:
Reply with quote

I will work on something next week as time allows. You want this to be above the NukeC module and not the entire site, Correct?
_________________
Tricked Out News
  
Back to top
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> NukeC All times are GMT - 5 Hours
 
 Page 1 of 1

 

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

Powered by phpBB © 2001-2008 phpBB Group
Forums ©