error_reporting(0);
?>
////////////////////////////////// START OF STORES DETAILS ////////////////////////////////////////////
$dtdG=$_GET['dtd'];
$dtdR=$_REQUEST['dtd'];
if ($dtdR=="")
{
$dtd=$dtdG;
}
else
{
$dtd=$dtdR;
}
$dtd=strtolower(str_replace('/', '', $dtd));
if ($dtd!='')
{
$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' and MBlgName='$dtd'";
$resultePapers=mysql_query($sqlePapers,$connePapers) or die(mysql_error());
$number_of_rowsePapers=mysql_num_rows($resultePapers);
if($newarrayePapers=mysql_fetch_array($resultePapers))
{
$BlogePapersid=$newarrayePapers['ePapersid'];
$BlogDateofPosting=$newarrayePapers['DateofPosting'];
$BlogMBlgName=$newarrayePapers['MBlgName'];
$BlogePapersName=$newarrayePapers['ePapersName'];
$BlogLangageusName=$newarrayePapers['LangageusName'];
$BlogCategoryName=$newarrayePapers['CategoryName'];
$BlogCountryName=$newarrayePapers['CountryName'];
$BlogMWebLnk=$newarrayePapers['MWebLnk'];
$BlogMWebLnkePaper=$newarrayePapers['MWebLnkePaper'];
$BlogDDescription=$newarrayePapers['DDescription'];
$Blogimagename=$newarrayePapers['imagename'];
$BlogNoofViews=$newarrayePapers['NoofViews'];
$BlogSStatus=$newarrayePapers['SStatus'];
$ePaperH1Name=($newarrayePapers['ePaperH1Name'] != '') ? $newarrayePapers['ePaperH1Name'] : $BlogePapersName;
$ePaperH2Name=$newarrayePapers['ePaperH2Name'];
$ePaperH3Name=$newarrayePapers['ePaperH3Name'];
$ePaperMetaTitle=($newarrayePapers['ePaperMetaTitle'] != '') ? $newarrayePapers['ePaperMetaTitle'] : $BlogePapersName;
$ePaperMetaDescription=($newarrayePapers['ePaperMetaDescription'] != '') ? $newarrayePapers['ePaperMetaDescription'] : strip_tags($BlogDDescription);
$ePaperMetaKeywords=($newarrayePapers['ePaperMetaKeywords'] != '') ? $newarrayePapers['ePaperMetaKeywords'] : strip_tags($BlogePapersName).', epaper, newspaper, online, daily';
////////////////////////////////// END OF MEMBER DETAILS //////////////////////////////////////////////
?>
/////////////////////////////////////////////////////////////////////////////////////////////////////////
$BlogNoofViews=$BlogNoofViews+1;
$connePapersUpdate=mysql_connect("localhost","u526307700_epaper_epaperU","Ee9?T;^d#");
mysql_select_db("u526307700_epaper_epaperU",$connePapersUpdate);
$sqlePapersUpdate="update ePapers set NoofViews='$BlogNoofViews' where ePapersid=".$BlogePapersid;
mysql_query($sqlePapersUpdate,$connePapersUpdate) or die(mysql_error());
/////////////////////////////////////////////////////////////////////////////////////////////////////////
?>
Language
Country
Category
Owner
Website
www.
ePaper
$connePapers=mysql_connect("localhost","u526307700_epaper_epaperU","Ee9?T;^d#");
mysql_select_db("u526307700_epaper_epaperU",$connePapers);
$sqlePapers="select * from ePapers 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;
?>
}
?>
}
}
?>
|
|
|
|
|
|
|
Copyright © 2021 . All rights reserved.
Please note, All Logos, Publication Titles and Thumbnails listed here are registered trademarks of their respective owners.
}
else
{
header('Location: http://www.epapersdaily.com/');
}
}
else
{
header('Location: http://www.epapersdaily.com/');
}
?>