if($check > 0){
  $cc=1;
  while($row1 = mysqli_fetch_assoc($res)){
      $aid = $row1['id'];
      $CategoryID = $row1['CategoryID'];
      $CategoryName = $row1['CategoryName'];
      $Subject = $row1['Subject'];
      $Source = $row1['Source'];
      $Imgurl = $row1['Imgurl'];
      $Content = $row1['Content'];
      $Keywords = $row1['Keywords'];
      $Count = $row1['Count'];
      $SEOlink = $row1['SEOlink'];
      $AddDate = $row1['AddDate'];
			$format = 'Y-m-d H:i:s';
      $date = DateTime::createFromFormat($format, $AddDate);
      $AddDate_formatted = $date->format('d F, Y');
      $active = $row1['active'];
			mb_internal_encoding("UTF-8");
      $Content_short = mb_substr($Subject, 0, 100);
      $Content_short .= " ...";
      $Content_short_string = '";
?>
					
		}
}
?>
				
			
