0)
{
echo '
Castle Clash Posts
| Views
|
';
while($row =mysqli_fetch_array($result))
{
$title = $row["title"];
$slug = $row["slug"];
$description = $row["mdesc"];
$time1 = $row["date_added"];
$time1 = date_format(date_create($time1), 'g:ia \o\n l jS F Y');
$id = $row["id"];
$resultu = mysqli_query($bd,"SELECT COUNT(*) AS remoteaddr from f_forumstats WHERE articleid='".$id."';");
$rowu = mysqli_fetch_array($resultu);
$views = $rowu["remoteaddr"];
echo '';
echo ''.$title.' '.$description.'Updated On '.$time1.' | ';
echo ''.$views.' | ';
echo '
';
}
echo '
';
}
else {}
//if desktop version exist
$playstoretest1 = mysqli_query($bd,"SELECT id,dir_name,name FROM gamelist WHERE playstore='https://play.google.com/store/apps/details?id=com.igg.castleclash' AND playstoretest='yes';");
if(mysqli_num_rows($playstoretest1)>0)
{
$rowpl=mysqli_fetch_array($playstoretest1);
$plid = $rowpl["id"];
$pldir_name = $rowpl["dir_name"];
$gamepl = $rowpl["name"];
$resultpl = mysqli_query($bd,"SELECT * from f_forum WHERE platform='facebook' AND game_id='".$plid."' AND status='1';");
if(mysqli_num_rows($resultpl)>0)
{
echo '
'.$gamepl.' (Facebook) Posts |
Views |
';
while($rowp =mysqli_fetch_array($resultpl))
{
$title="";
$slug="";
$description="";
$time1="";
$id="";
$title = $rowp["title"];
$slug = $rowp["slug"];
$description = $rowp["mdesc"];
$time1 = $rowp["date_added"];
$time1 = date_format(date_create($time1), 'g:ia \o\n l jS F Y');
$id = $rowp["id"];
$resultu1 = mysqli_query($bd,"SELECT COUNT(*) AS remoteaddr from f_forumstats WHERE articleid='".$id."';");
$rowu1 = mysqli_fetch_array($resultu1);
$views = $rowu1["remoteaddr"];
echo '';
echo ''.$title.' '.$description.'Updated On '.$time1.' | ';
echo ''.$views.' | ';
echo '
';
}
echo '
';
}
else {}
}
include("/home/gameskip/public_html/forum/forum.php");
echo '
With quick paced methodology and energizing battle, Castle Clash is a round of immeasurable scope! Enlist armies of effective Heroes to lead a multitude of legendary animals.
Battle and assault your approach to end up distinctly the world's most prominent Warlord. With more than 100 million players around the world, it's dependably time to conflict!
';
echo '
';
$sidebarcontent ='';
}//if empty
else{
$sidebarcontent='
';
echo '
';
echo $timewarn;
include("/home/gameskip/public_html/forum/forum.php");
}
}
else {
$sidebarcontent='
';
//not empty system message
echo '
';
include("/home/gameskip/public_html/forum/forum.php");
}
mysqli_close($bd);
?>