portfolio_hits + 1; $sql = "UPDATE folders SET portfolio_hits='$new_hits' WHERE folder_id = '$fid'"; $result = mysql_query($sql); $member_result = mysql_query("SELECT member_id,custom_plan,custom_branding,plan,used_bandwidth FROM members WHERE member_id = '$folder->mid'", $db); $member = mysql_fetch_object($member_result); $mid = $member->member_id; $extra_height = 0; if($member->custom_plan == 1){ if($member->custom_branding == 1){ $extra_height = 8; } } else{ $plan_result = mysql_query("SELECT branding FROM plans WHERE plan_id = '$member->plan'", $db); $plan = mysql_fetch_object($plan_result); if($plan->branding == 1){ $extra_height = 8; } } ?>

"; } else{ echo ""; } ?>
Click on an image for a larger version


There are no images in this portfolio.

"; while($image = mysql_fetch_object($image_result)){ if(strlen($image->filename) > 19){ $trim_filename = substr($image->filename, 0, 19) . "..."; } else { $trim_filename = $image->filename; } $src = "./usr/" . $mid . "/i_" . $image->filename; $size_in_bytes = $size_in_bytes + filesize($src); if($cell == 4){ echo ""; $cell = 1; } else{ $cell++; } /* OLD if($image->height > 600){ $imgheight = 600; $scrolling = 1; } else{ $imgheight = $image->height; $scrolling = 0; } if($image->width > 700){ $imgwidth = 700; $scrolling = 1; } else{ $imgwidth = $image->width; $scrolling = 0; } */ if($image->height >= 600 or $image->width >= 700){ if($image->height >= 600){ $imgheight = 600; } else { $imgheight = $image->height; } if($image->width >= 700){ $imgwidth = 700; } else { $imgwidth = $image->width; } $scrolling = 1; } else{ $imgheight = $image->height; $scrolling = 0; $imgwidth = $image->width; } ?>  "; } } $cell_remainder = 3 - $cell; if($cell_remainder != 0){ $cell_remainder = $cell_remainder + 1; echo ""; } echo ""; $image_megs = $size_in_bytes/1000000; $update_bw = $image_megs + $member->used_bandwidth; $sql = "UPDATE members SET used_bandwidth='$update_bw' WHERE member_id = '$mid;'"; $result = mysql_query($sql); ?>
'resizable=yes', 'dependent']);"><?php echo $image->caption; ?>
caption != ""){ ?>
caption; ?>
 
Images hosted by title; ?>