3) { printf("fuck off\n"); exit(0); } printf("\n"); printf("\n"); printf("\n"); printf("\n"); //$connstr="dbname=pr0nDB user=postgres port=5432 host=192.168.0.5"; $q1="select name from general_focus where gn_foc_id='$focid';"; $r1=pg_query($dbh,$q1); if (pg_numrows($r1)) list($focusname)=pg_fetch_row($r1,0); else { printf("\n"); printf("\n"); printf("sorry, no results\n"); printf("\n"); pg_free_result($r1); pg_close($dbh); exit(0); } pg_free_result($r1); if ($focusname == "vagina") $focusname="pussy"; else if ($focusname == "abdomen") $focusname="tummy"; printf("\n", $focusname); printf("\n", $focusname); printf("\n"); printf("\n"); if ($focusname == "breasts") printf("
\n"); else if ($focusname == "back torso") printf("
\n"); else printf("
\n", str_replace(" ","-",$focusname)); $q2="select p.picid,t.girlid,g.first_name,g.last_name,t.width,t.height,t.kilobytes,t.thumbw,t.thumbh from picture_general p,picture t,girl g where p.gn_foc_id='$focid' and t.picid=p.picid and g.girlid=t.girlid order by g.last_change_time desc;"; $r2=pg_query($dbh,$q2); $numrows=pg_numrows($r2); $colcount=0; $endat=$startat + 60; if ($endat > $numrows) $endat=$numrows; printf("\n"); for ($i=$startat; $i < $endat; $i++) { list($picid,$girlid,$fn,$ln,$w,$h,$k,$tw,$th)=pg_fetch_row($r2,$i); $maincat=get_girl_main_category($dbh,$girlid); if ($colcount == 11) { printf("\n"); $colcount=0; } $thumbfile=sprintf("/www/bobx/public_html/%s/%s-%s/%s-%s-%08d.t.jpg", $maincat,$fn,$ln,$fn,$ln,$picid); if (is_file($thumbfile)) { printf("\n"); $colcount++; } } pg_free_result($r2); printf("
\n"); printf("
%s %s
\n", ucfirst($fn),ucfirst($ln)); printf("\n", ucfirst($fn),ucfirst($ln), $maincat,$fn,$ln,$fn,$ln,$picid,$maincat,$fn,$ln,$fn,$ln,$picid,$tw,$th); printf("
\n"); printf("
TOT PIX IN SELECTION: [%d] -- CURRENT SELECTION: [%d - %d] ", $numrows,$startat, $endat); if ($endat < $numrows) { $nextstart=$startat + 60; if (($nextstart + 60) > $numrows) $delta= $numrows - $nextstart; else $delta=60; printf(">>>> next %d\n", $focid,$nextstart,$delta); } printf("
NOTE: if the selection available here is smaller than the results, you need to join the club to get to the full set\n"); printf("
\n"); pg_close($dbh); printf("


What's this ?:
This here is a selection of hot women's %s photos stashed in this site, sorted by categorization time (latest first), and grouped by girl.

\n", $focusname); printf("\n\n\n"); ?>