Search Result
".mysql_fieldname($res, $x)."". " : ". nl2br(utf8_encode($arr[$x]))."
"); } } function afficherInfos($arr, $res, $start =0, $catalogue){ $tableau_nom = return_name($catalogue); echo ("

"."Catalogue number"."". ": ". $catalogue."

"); for($x= $start;$x"."Place made"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "description") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."Description"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "name") and (nl2br(utf8_encode($arr[$x])) != "")){ echo("

Name (English): ".utf8_encode($tableau_nom["name_e"])."

"); echo("

Name (French): ".utf8_encode($tableau_nom["name_f"])."

"); echo("

Name (Innu): ".$tableau_nom["innu_name"]."

"); } else if((mysql_fieldname($res,$x) == "institution") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."Institution"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "maker") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."Maker"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "collector") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."Collector"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "date_collected") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."Date Collected"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "innu_narrative") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."Innu narrative"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "other_info") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."Other info"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "culture") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."Culture"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "references") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."References"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "classification") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."Classification"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "museum_image_no") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."Museum Image Number"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } else if((mysql_fieldname($res,$x) == "measurements") and (nl2br(utf8_encode($arr[$x])) != "")){ echo ("

"."Measurements"."". ": ". nl2br(utf8_encode($arr[$x]))."

"); } //echo mysql_fieldname($res,$x)."
"; } } require ("includes/openconn.php"); if(isset($catalogue_no)){ $sql = "SELECT * FROM innu_common WHERE catalogue_no = '$catalogue_no'"; }else{ $sql = "SELECT * FROM innu_common LIMIT 1"; } $result = mysql_query($sql); if(!$result){ die ("Une erreur est survenue"); } $row = mysql_fetch_array($result); if(!isset($catalogue_no)){ $catalogue_no = $row["catalogue_no"]; } ?>
1"; $result_drop = mysql_query($sql); if(!$result_drop){ echo ("Une erreur est survenue."); } ?> "); $fichier = $tableau['image_full']; // si l'image de l'objet existe, on l'affiche if(file_exists($tableau['image_full'])){ echo resizeImage($tableau['image_full'],htmlentities($tableau["name"]),450); } else {} echo ("
"); echo ("\"\"/"); echo ("

"); ?> '.$row_drop["catalogue_no"].''); } mysql_free_result($result_drop); ?>