Monaco Boat Club

 


Home

Membership

Events

History - Formation

History - Members

History - Activities

Gallery

Contact

Links

 

$l"; $j++; } } if(($min =="") or ($min=="1")){$min=0;} else if ($min=="$numrows"){$min=0;} else if ($min=="-15"){$min=($numrows-15);} $next=$min+15; $back=$min-15; if($next >= $numrows){$display_next =="";} else{$display_next="Next >";} if($min <="0"){$display_back="";} else{$display_back ="< Back";} $rownumber=$min; $db_name = "monacobo_photo"; $table_name = "gallery"; $connection = @mysql_connect("localhost", "monacobo_craig", "F-#bZ+[%M2&]") or die("Couldn't connect."); $db = mysql_select_db($db_name, $connection) or die("Couldn't select database."); $sql = "SELECT * FROM $table_name order by id LIMIT $min, 15 "; $result = @mysql_query($sql,$connection) or die("Couldn't execute query."); while ($row = mysql_fetch_array($result)) { $id = $row['id']; $d = $row['d']; $image_id = $row['image_id']; $rownumber++; $size = getimagesize("photos/1_$image_id.jpg"); $height =$size[1]; $width =$size[0]; $size2 = getimagesize("photos/2_$image_id.jpg"); $height2 =$size2[1]; $width2 =$size2[0]; $height3=$height2+40; if ($a == "") { $display_row ="
"; $end_table="
"; $a=1;} else if ($a == "1") { $display_row =""; $end_table=""; $a=2;} else {$display_row =""; $end_table=""; $a="";} $display_option .="
\"$d\"
$display_row "; } ?>

Monaco Boat Club Gallery

Photos:
 

Home - Events - History - Formation - History - Members - History - Activities - Gallery - Contact - Links

Monaco Boat Club, 1 Martin St, Monaco, P.O Box 690, Nelson

Designed by Internet Specialists Internet Specialists Web Design Nelson, New Zealand