|
$connePapers=mysql_connect("localhost","u526307700_epaper_epaperU","Ee9?T;^d#");
mysql_select_db("u526307700_epaper_epaperU",$connePapers);
$TempSStatus="Active";
$sqlePapers="select * from ePapers where SStatus='$TempSStatus' order by NoofViews DESC";
$resultePapers=mysql_query($sqlePapers,$connePapers) or die(mysql_error());
$number_of_rowsePapers=mysql_num_rows($resultePapers);
$iePapers=0;
while ($newarrayePapers=mysql_fetch_array($resultePapers))
{
$ePapersTempPSizeCount=$ePapersTempPSizeCount+1;
if (7 >= $ePapersTempPSizeCount and 1 <= $ePapersTempPSizeCount)
{
$iePapers=$iePapers+1;
$ePapersid=$newarrayePapers['ePapersid'];
$MBlgName=$newarrayePapers['MBlgName'];
$ePapersName=$newarrayePapers['ePapersName'];
$imagename=$newarrayePapers['imagename'];
if ($iePapers % 8==0)
{
$iePapers=$iePapers+1;
?>
}
?>
|
}
}
?>
|
|
|