Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 18

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 25.04.2005, 20:17   #1 (permalink)
Junior Mamber
 
mortenm's Avatar
 
Join Date: Apr 2004
Location: Norway
Posts: 40
mortenm is on a distinguished road
Send a message via ICQ to mortenm Send a message via AIM to mortenm Send a message via MSN to mortenm Send a message via Yahoo to mortenm
RedCross scrolling in mod_simpleboard5.php

Is there any "easy" way to make the code in mod_simpleboard5.php to scroll up or down automatic? If the user point the mouse over one, it will stop.

Here is tha code.


PHP Code:
<?php
//Site Statistics//
// $Id: mod_simplboard5.php,v 1.2 2003/09/01 08:02:54 rcastley Exp $

defined'_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

$content ="";


$database->setQuery("SELECT a. * , b.id as category, b.name as catname, b.published as published"
"\n FROM #__sb_messages AS a, "
"\n #__sb_categories AS b WHERE a.catid = b.id"
"\n AND a.hold = 0 AND b.published = 1"
"\n ORDER  BY a.time DESC "
"\n LIMIT 5 ");
$meslist $database->loadObjectList();

foreach (
$meslist as $mes){

$database->setQuery("SELECT message"
    
"\n FROM #__sb_messages_text"
    
"\n WHERE mesid = $mes->id"
    
"\n LIMIT 1 ");
    
$mesbody $database->loadResult();
    
$mesbody strip_tags($mesbody);

    
$content.="<img border=\"0\" src=\"".$mosConfig_live_site."/images/M_images/arrow.png\"> <a href=\"index.php?option=com_simpleboard&func=view&catid=".$mes->catid."&id=".$mes->id."#".$mes->id."\" title=\"$mesbody\">".stripslashes($mes->subject)."</a> [".$mes->name."; ".date("j-n-Y, H:m:s",$mes->time)."]<br/>";
    }
$content.="<br/>";
$content.="Vis siste emner for <a href=\"index.php?option=com_simpleboard&func=latest&do=show&sel=4\">4 timer siden</a> - <a href=\"index.php?option=com_simpleboard&func=latest&do=show&sel=24\">24 timer siden</a>";
?>
__________________
Best regards from -
Morten
mortenm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't want new items in the scrolling news Only Me Mambo 4.5.1 'How Do I' Questions 4 21.03.2005 06:07
How to get content out of scrolling news? Only Me Mambo 4.5 'How Do I' Questions 2 17.03.2005 07:58
scrolling text zorro128 Mambo 4.5.1 'How Do I' Questions 1 22.02.2005 16:32
Flashing, Scrolling, Newsflash kdankwah Mambo 4.5.1 'How Do I' Questions 2 15.02.2005 05:07
cercasi modulo scrolling kodode Moduli 14 04.02.2005 20:06


All times are GMT +2. The time now is 08:07.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.