width=> = $width) && ($y <= $height)) { $ratio = ($x/$width); $x = round($x / $ratio); $y = round($y / $ratio); ?> width=> = $height)) { $ratio = ($y/$height); $x = round($x / $ratio); $y = round($y / $ratio); ?> width=> = $width) && ($y >= $height)) { $ratiox = ($x/$width); $ratioy = ($y/$height); If ($ratiox > $ratioy){$ratio = $ratiox;} else {$ratio = $ratioy;} $x = round($x / $ratio); $y = round($y / $ratio); ?> width=> width=> (int)$dt2) return(1); elseif((int)$dt1 == (int)$dt2) return(0); else return(-1); } //For home page function displayImageHome($x,$y,$width,$height,$image) { //------------- if x is less than width and y is less than height ----------- If (($x <= $width) && ($y <= $height)) { return ""; } //------------- if x is greater than width and y is less than height ----------- elseIf (($x >= $width) && ($y <= $height)) { $ratio = ($x/$width); $x = round($x / $ratio); $y = round($y / $ratio); return ""; } //------------- if x is less than width and y is greater than height ----------- elseIf (($x <= $width) && ($y >= $height)) { $ratio = ($y/$height); $x = round($x / $ratio); $y = round($y / $ratio); return ""; } //------------- if x is greater than width and y is greater than height ----------- elseIf (($x >= $width) && ($y >= $height)) { $ratiox = ($x/$width); $ratioy = ($y/$height); If ($ratiox > $ratioy){$ratio = $ratiox;} else {$ratio = $ratioy;} $x = round($x / $ratio); $y = round($y / $ratio); return ""; } //------------- if none of the above conditions are satisfied ----------- else { $x = $x; //--- Use the actual width and height ------- $y = $y; //--- Use the actual width and height ------- return ""; } } //this function is used in advsearchresults to display only existing values from tblimage function getImageInfo($field,$users) { $returnString = ""; $DbImage = new Database; $DbImage->execute ("SELECT distinct a.".$field." FROM tblimage a, tblmember b where b.regStatus=1 and a.userID not in ($users) and a.userID=b.userID"); for ($i=0; $i<$DbImage->recordCount; $i++) { $returnString = $returnString . $DbImage->Fields["$field"] . ","; $DbImage->moveNext(); } $DbImage->close(); $returnString = $returnString . "0"; return $returnString; } ?> execute("select regStatus from tblmember where regStatus=2 and userID=".$userId); if ($DBRedirect->recordCount > 0) { echo ""; } $DBRedirect->close(); ?>execute("select * from tblmicrosite where userID = $userId"); $DBGal = new Database; /*$DBGal->execute ("select distinct a.*,b.codename from tblimage a,tblcodes b where a.artTypeID=b.codeID and userID = " . $userId. " AND a.availableCopies > 0 order by a.artistName,imageName"); */ $DBGal->execute ("select distinct a.*,b.codename from tblimage a,tblcodes b where a.artTypeID=b.codeID and userID = " . $userId. " AND a.availableCopies > 0 order by a.productrank"); $flag = 0; $DBEcomCheck = new Database; require("../includes/addToCart.php"); ?>If you would like to search for online member galleries, please click here." ?> Andy Warhol Prints and Posters from Worldimages
 

execute("select regStatus from tblmember where regStatus=2 and userID=".$gallery->userID); if ($DBStatus->recordCount == 0) require("../includes/microsite_search.htm"); ?>
 
recordCount > 0) echo "

$msgcancel"; else require("../includes/microsite_gallery.php"); ?>