'0') { $meta_title_end = " - page $_REQUEST[w]"; } //============================================================================ $topsql_sg = "SELECT SUM(voteup) AS `vtup`, SUM(votedown) AS `vtdown`, SUM(views) AS `totalview` FROM `messages`"; $topresult_sg = mysql_query($topsql_sg) or die('Error, query failed ' . mysql_error()); $toprow_sg = mysql_fetch_array($topresult_sg); $voteup_sg = $toprow_sg['vtup']; $votedown_sg = $toprow_sg['vtdown']; $totalview = $toprow_sg['totalview']; $total_sg = $voteup_sg + $votedown_sg; if($voteup_sg > 0) { $percenteach = ($voteup_sg/$total_sg) * 5; $rate_sg = round($percenteach, 0); }else{ $rate_sg = "0"; } //============================================================================= ?> Birthday Messages, Love Wishes, Greetings, Text SMS<?=$meta_title_end;?> "; } ?>
  • Messages

Messages - Wishes

Famous Messages for a variety of occasions. Find love and romantic SMS, birthday messages, friendship, funny, sms about life, christmas and new year wishes and more.
", "
", $top_row['description']); $p_description = str_replace("
", "
",$top_row['description']); $p_description = str_replace('\"', '"',$p_description); $p_description = str_replace('\"', "'",$p_description); $p_description = str_replace("\'", "'",$p_description); $p_publisher = $top_row['publisher']; $p_views = $top_row['views']; $p_votes = $top_row['voteup'] + $top_row['votedown']; $p_ratings = $top_row['ratings']; $tags = $top_row['tags']; if($ss_url != '') { $p_url = '/'.$ss_url.'/'.$p_title_path.'-'.$p_id.'/'; $cat_url = '/'.$ss_url.'/'; $cat_name = $top_row['ss_cat_name']; } elseif(($s_url != '') && ($ss_url == '')) { $p_url = '/'.$s_url.'/'.$p_title_path.'-'.$p_id.'/'; $cat_url = '/'.$s_url.'/'; $cat_name = $top_row['sub_cat_name']; } else { $p_url = '/'.$c_url.'/'.$p_title_path.'-'.$p_id.'/'; $cat_url = '/'.$c_url.'/'; $cat_name = $top_row['cat_name']; } $fb_main_url = "http://sms.greet2k.com".$p_url; ?>
$tgs[$i]"; } //$tgts = substr($tgts, 0, strlen($tgts)-2); echo $tgts; $tgts = ''; ?>
$pr) { ?>
 
    $y"; }else{ $st = $st+$pr; if($st == $w) { $slrs[] = "
  • $y
  • "; }else{ $slrs[] = "
  • $y
  • "; } //echo $slrs; } } echo $slrs[$slr-5].$slrs[$slr-4].$slrs[$slr-3].$slrs[$slr-2].$slrs[$slr-1].$slrs[$slr].$slrs[$slr+1].$slrs[$slr+2].$slrs[$slr+3].$slrs[$slr+4].$slrs[$slr+5]; if($next < $res) { $nxt = $next; }else { $nxt = $st; } ?>