नवीन ब्लोग
$sql = "SELECT * FROM blog order by date desc limit 0,10 ";
$result = mysqli_query($con,$sql);
while($row = mysqli_fetch_array($result))
{
$guid = $row['guid'];
$smallphoto = $row['smallphoto'];
if($smallphoto != "")
{
$smallphotoshow = "admincontent/$smallphoto";
}else{
$smallphotoshow = "assets/img/no_image.gif";
}
if($_SESSION['setsession'] == "english")
{
$name = $row['name'];
}
else {
$name = $row['namemarathi'];
}
?>
![]()
-
}
?>
ब्लोग टॅाग
$CollMonths = array();
$sql = "SELECT distinct tags FROM blog ";
$result = mysqli_query($con,$sql);
while($row = mysqli_fetch_array($result))
{
$tags11 = $row['tags'];
$tags = explode(',',$tags11);
$count = count($tags);
?>
}?>
ताज्या घडामोडी
include 'rotatenews.php';?>
$sql = "SELECT * FROM blog where guid='".$_REQUEST['guid']."'";
$result = mysqli_query($con,$sql);
while($row=mysqli_fetch_array($result))
{
if($_SESSION['setsession'] == "english")
{
$name = $row['name'];
$description = $row['description'];
}
else
{
$name = $row['namemarathi'];
$description = $row['descriptionmarathi'];
}
$video = $row['video'];
$filepath = $row['filepath'];
$smallphoto = $row['smallphoto'];
$largephoto = $row['largephoto'];
$date = $row['date'];
$postedby = $row['postedby'];
$tags11 = $row['tags'];
$tags = explode(',',$tags11);
$count = count($tags);
?>
$sqlcomment = "SELECT count(*) FROM blogreply where blogguid='".$_REQUEST['guid']."' and flag='1'";
$resultcomment = mysqli_query($con,$sqlcomment);
while ($rowcomment = mysqli_fetch_array($resultcomment))
{
$comments = $rowcomment['count(*)'];
}
?>
- January 01, 1970
-
- Comments
}?>
Download File
}?>
}?>
}?>
$sql = "SELECT * FROM blogreply where blogguid='".$_REQUEST['guid']."' and flag='1'";
$result = mysqli_query($con,$sql);
while ($row = mysqli_fetch_array($result))
{
$replydate = $row['date'];
$message = $row['message'];
$username = $row['username'];
?>
}?>
Leave a Comment