colonelwog 286 ModulesTeam (TMT)
| Posté : 28-03-2010 19:43
balise marquee
<?php
/************************************************************************/
/* DUNE by NPDS */
/* =========================== */
/* */
/* Based on PhpNuke 4.x source code */
/* */
/* NPDS Copyright (c) 2002-2007 by Philippe Brunier */
/* */
/* 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. */
/************************************************************************/
global $language;
!include! ("modules/block-scroll-article/block-scroll-article.conf.php");
$content ="\n";
$today = time();
$thisday = date("Y-m-d h:i:s",$today);
$title ="Les derniéres nouvelles ";
$Sql_Art = sql_query("SELECT sid, title FROM ".$NPDS_Prefix."stories ORDER BY sid DESC LIMIT 0 , ".$scroll_Nbre." ");
$content.=" $content.="behavior=\"".$scroll_Type."\" \n";
$content.="direction=\"".$scroll_Sens."\"\n";
$content.="scrollamount=\"".$scroll_Speed."\" \n";
$content.="scrolldelay=\"1\" \n";
$content.="!onmouse!over=\"this.stop()\" \n";
$content.="!onmouse!out=\"this.start()\" \n";
$content.="style=\"height: ".$scroll_Height."; text-align: center; margin-right: 5px;\" \n";
$content.="width=\"".$scroll_Width."\" \n";
$content.=">\n";
$i=1;
while ($resultat = sql_fetch_row($Sql_Art))
{
$content.="";
$content.=" \n";
$i++;
}
$content.="\n";
sql_free_result($Sql_Art);
?>
|