<?php
/*
  $Id: scroller.php, v 1.3 2002/09/30 by BluEdoG changed By HellbounD

  osCommerce
  http://www.oscommerce.com/

  Copyright (c) 2000,2001 osCommerce

  Released under the GNU General Public License

  Modified By:
  - HellbounD -
  xavi@datagrama.net
  www.sportlander.com


  Original idea by:
  walter@bluedog.it
  www.datacon.it
*/
?>
<!-- scroller //-->

<?php


  $info_box_contents = array();
  $filename = "./news.txt";
  $fd = fopen ($filename, "r");
  $contents = fread ($fd, filesize ($filename));
  fclose ($fd);
  $info_box_contents[] = array('align' => 'left',
                               'text'  => '<right><marquee direction="horizontal" scrollAmount="5" style="width:468;height:0px">'.$contents.'</marquee></right>'
                                        );
  new infoBox($info_box_contents);
?>

<!-- scroller_eof //-->