<table width="100%" class="sofT">
<tr>
<td class="helpBod">        <span class="store2"> Hottest Deals</span><sup class="header_help1">   New! </sup></td>
</tr>
<tr>
<td class="helpHed">
<marquee height="110" width="210" scrollamount="10" scrolldelay="2" direction="UP" onmouseover="this.stop()" onmouseout="this.start()" border="0">
<br>
<?php
$hm="http://www.kalpesh.com/include";
$file1 = "$hm/news.txt";
$lines = file($file1);
$count = count($lines);
$newsf = false;
$linkf = true;
foreach ($lines as $line_num => $line)
{
if($newsf == false && $linkf == true)
{
$spos = strpos($line,"NEWS=");
if($spos != null && $spos > 0)
{
$spos2 = strpos($line,'"',($spos+7));
$newsstr = substr($line,7,($spos2-($spos+6)));
//echo("<div align=left style=\"color: ".$fontcol.";\" >".$newsstr."</div>");
$newsf = true;
}
}
else if( $linkf == true && $newsf == true)
{
$spos = strpos($line,"LINK=");
if($spos != null && $spos > 0)
{
$spos2 = strpos($line,'"',($spos+7));
$linkstr = substr($line,7,($spos2-($spos+6)));
?>
<div align="left" style="margin: 0px; text-decoration: none">
<IMG height="7" src="images/black-bullet.gif" width="4" vspace="3">
<a href="<?php echo $linkstr?>" class="store3"><?php echo $newsstr?></a></div><br>
<?php
$newsf = false;
$linkf = true;?>
<?php
}
else
{
$linkf = false;
?>
<?php
}
}
}?>
<br>
</marquee>
<div align=center style="background-color: #FFFFCC; color: #660099; font-size: 15px;">
</td>
</tr>
</table>
** Edit **

New Topic/Question
Reply




MultiQuote





|