| My Mantawi
The Mantawi Festival is a rediscovery of Mandaue City's rich cultural heritage. Its historical past affirms its present identity as a highly urbanized industrial center and a new tourism destination where arts and culture become tools for progress and prosperity.
The Sun.Star website has allotted this special section for your unforgettable Mantawi stories and experiences.
You can send your stories and photos to sunnex1(at)sunstar(dot)com(dot)ph and you can post your Mantawi greetings and experiences on this special greetings page.
|
|
|
$query = "select id,name,trans_date,message,flag,email,mm,dd,yyyy from testimonial where flag='1' order by trans_date desc limit 1000";
mysql_escape_string($query);
$result=mysql_query($query);
$record_count = mysql_num_rows($result);
while ($row = mysql_fetch_array($result))
{
if($ctr>=$start && $ctr<$end){
$id[$ctr] = $row["id"];
$name[$ctr] = $row["name"];
$email[$ctr] = $row["email"];
$trans_date[$ctr] = $row["trans_date"];
//$trans_date[$ctr] = date('M',$row["trans_date"]) . " " . $row["dd"] . ", " . $row["yyyy"] ;
//$message[$ctr] = substr($row["message"], 0, 20);
$message[$ctr] = $row["message"];
$flag[$ctr] = $row["flag"];
?>
=$trans_date[$ctr]?>
"
=$name[$ctr]?>
" <
=$email[$ctr]?>
>
=str_replace("\\","",$message[$ctr])?>
|
}
$ctr++;
}
?>
Page :
=$pagectr?>
if($pagectr > 1 && $pagectr != 0 ){
print 'previous' . " ";
}elseif($pagectr == 1){
print "previous";
}
?>
|
$pages_count = $record_count / $pagelimit;
if($record_count % $pagelimit > 0){
$pages_count++;
}
ceil($pages_count);
for($ctr=1;$ctr<=$pages_count;$ctr++){
if($pagectr!=$ctr){
print '' . $ctr . '' . " ";
}else{
print '' . $ctr . '' . " ";
}
}
?>
|
if($pagectr > 0 && $pagectr < ($pages_count - 1)){
print 'next' . " ";
}else{
print "next";
}
?>
|
|
|
|
|
|