'0') { $meta_title_end = " - page $_REQUEST[w]"; } ?> Quotes, Famous Quotes, Sayings, Quotations, Quotes About Life<?=$meta_title_end;?>
HomeQuotes

Quotes

$res_tm) { $to_ct = $st+$res_tm; }else{ $to_ct = $pr; } while($top_row = mysql_fetch_array($top_result)) { $c_url = str_replace("_", "-", $top_row['cat_url']); $s_url = str_replace("_", "-", $top_row['sub_cat_url']); $ss_url = str_replace("_", "-", $top_row['ss_cat_url']); $p_id = $top_row['id']; $p_title = $top_row['title']; $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_description = str_replace("\'", "'",$p_description); $image_code = str_replace("
", "
", $top_row['image_code']); $image_code = str_replace("
", "
",$image_code); $image_code = str_replace('\"', '"',$image_code); $image_code = str_replace('\"', "'",$image_code); $image_code = str_replace("\'", "'",$image_code); $p_publisher = $top_row['publisher']; $p_views = $top_row['views']; $p_votes = $top_row['voteup'] + $top_row['votedown']; $p_ratings = $top_row['ratings']; $p_voteup = $top_row['voteup']; if($ss_url != '') { $p_url = 'http://quotes.wishbowl.org/'.$ss_url.'-quote-'.$p_id.'.html'; $cat_url = 'http://quotes.wishbowl.org/'.$ss_url.'-quotes.html'; $cat_name = $top_row['ss_cat_name']; } elseif(($s_url != '') && ($ss_url == '')) { $p_url = 'http://quotes.wishbowl.org/'.$s_url.'-quote-'.$p_id.'.html'; $cat_url = 'http://quotes.wishbowl.org/'.$s_url.'-quotes.html'; $cat_name = $top_row['sub_cat_name']; } else { $p_url = 'http://quotes.wishbowl.org/'.$c_url.'-quote-'.$p_id.'.html'; $cat_url = 'http://quotes.wishbowl.org/'.$c_url.'-quotes.html'; $cat_name = $top_row['cat_name']; } $p_author_id = $top_row['author_id']; $p_sql = "SELECT * FROM `author` WHERE `id` = '$p_author_id'"; $p_result = mysql_query($p_sql) or die('Error, Author table query failed : ' . mysql_error()); $p_list = mysql_fetch_array($p_result); $p_author_name = $p_list['author_name']; $p_thumb_name = $p_list['thumb_name']; $p_image_url = 'http://quotes.wishbowl.org/author/'.$p_list[thumb_name]; $p_author_url = 'http://quotes.wishbowl.org/author-'.str_replace("_", "-", $p_list[author_url]).'.html'; //--------------------------------------------------------------- $p_id_com = "quote_$p_id"; $p_sql_com = "SELECT * FROM `user_comments` WHERE `from_id` = '$p_id_com' AND `approved` = '1'"; $p_result_com = mysql_query($p_sql_com) or die('Error, Author table query failed : ' . mysql_error()); $cunt = mysql_num_rows($p_result_com); if($cunt != '0'){ $cunts = " ($cunt)"; }else{ $cunts = ''; } ?>
'.$image_code.'

'; } ?>
-
  • ",$p_description); $title_fav0 = $wordChunks[0]; $title_fav = $title_fav0; $wordChunks_n = explode(" ",$title_fav); $new_title = "$wordChunks_n[0] $wordChunks_n[1] $wordChunks_n[2] $wordChunks_n[3] $wordChunks_n[4]"; $title_fav = $new_title; $s="SELECT * FROM `user_fav` WHERE `username` = '$username' AND `fav_id` = '$p_id' AND `f_cod` = '$cod'"; $r = mysql_query($s) or die('Error, Query failed : ' . mysql_error()); if(mysql_num_rows($r) == 0){ if($_COOKIE['member_wish'] !=''){ ?> Add to fav Add to fav
$pr) { ?>
Showing - of
Back « $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; } ?> » Next