Details:
\n";
echo "
"?> Architectural Detail Drawings |
\n";
echo "
Each PDF includes all full size detail pages. To print only the summary page, please select 'Current Page' in your print window. |
\n";
echo "\n";
$i=0;
while (($file = readdir($dh)) !==false){
if ($file != "." && $file != ".."){
$parts = explode(".", $file);
$extension = end(explode('.', $file));
$filename = substr($file, 0, strlen($file) - strlen($extension) - 1);
if (is_array($parts) && count($parts) > 1) {
if ($extension == $srch || $extension == strtoupper($srch) || $extension == "EXT"){
$i++;
$narray[$i]=$file;
} //good file type
} //is_array
} //not "." and not ".."
} //while
if ($i>0){
sort($narray);
echo "
\n";
for($i=0;$i".$filename."";
echo " | ";
if (file_exists($dir."/".$filename.".dwg")){
echo " | ";
}
echo "";
}
echo "|
\n";
}
else{
echo "Sorry, no Architectural Detail Drawings were found for this product.";
}
unset($narray);
unset($xarray);
closedir($dh);
} //opendir
} //is_dir
else{
echo "Sorry, no Architectural Detail Drawings were found for this product.";
}
//
echo "
";
$dirA = "/Documents_Guide/Products";
$dir = $_SERVER['DOCUMENT_ROOT'] . $dirA;
echo "
\n";
echo "Stucco Surround | ";
echo " | ";
echo "";
echo "Grid Options | ";
echo " | ";
echo "";
echo "|
\n";
echo "
";
echo "
";
//Sample Wall Conditions & Anchor Fasteners
//Need separate, non fully qualified path for href otherwise remote host full path name is included and returns errors...6-6-11 kad
$dirA = "/Documents_Guide/Products/".$series."/Anchors";
$dir = $_SERVER['DOCUMENT_ROOT'] . $dirA;
echo "
\n";
echo ""?> Sample Wall Conditions & Anchor Fasteners |
\n";
echo "
\n";
if (is_dir($dir)){
if ($dh = opendir($dir)){
$i=0;
while (($file = readdir($dh)) !==false){
$parts = explode(".", $file);
$extension = end(explode('.', $file));
$filename = substr($file, 0, strlen($file) - strlen($extension) - 1);
if (is_array($parts) && count($parts) > 1) {
if ($extension == $srch || $extension == strtoupper($srch) || $extension == "EXT"){
$i++;
$narray[$i]=$filename;
$xarray[$i]=$extension;
} //good file type
} //is_array
} //while
if ($i>0){
sort($narray);
sort($xarray);
echo "
\n";
for($i=0;$i".$narray[$i]."";
echo " | ";
if (file_exists($dir."/".$narray[$i].".dwg")){
echo " | ";
}
echo "";
}
echo "|
\n";
}
else{
//1-24-12 Changed to below per JoeZ...kad 'echo "Sorry, no Sample Wall Conditions/Anchor Fastener drawings were found for this product.";
echo "See
Installation Instructions for Sample Wall Conditions/Anchor Fastener drawings.";
}
unset($narray);
unset($xarray);
closedir($dh);
} //opendir
} //is_dir
else{
echo "See
Installation Instructions for Sample Wall Conditions/Anchor Fastener drawings.";
}
echo "
";
echo "
";
//Concept/Sample Drawings
//Need separate, non fully qualified path for href otherwise remote host full path name is included and returns errors...6-6-11 kad
$dirA = "/Documents_Guide/Products/".$series."/Concept_Dwgs";
$dir = $_SERVER['DOCUMENT_ROOT'] . $dirA;
if (is_dir($dir)){
if ($dh = opendir($dir)){
echo "
\n";
echo ""?> Concept/Sample Drawings |
\n";
echo "
\n";
$i=0;
while (($file = readdir($dh)) !==false){
$parts = explode(".", $file);
$extension = end(explode('.', $file));
$filename = substr($file, 0, strlen($file) - strlen($extension) - 1);
if (is_array($parts) && count($parts) > 1) {
if ($extension == $srch || $extension == strtoupper($srch) || $extension == "EXT"){
$i++;
$narray[$i]=$filename;
$xarray[$i]=$extension;
} //good file type
} //is_array
} //while
if ($i>0){
sort($narray);
sort($xarray);
echo "
\n";
for($i=0;$i".$narray[$i]."";
echo " | ";
if (file_exists($dir."/".$narray[$i].".dwg")){
echo " | ";
}
echo "";
}
echo "|
\n";
}
else{
echo "Sorry, no Concept/Sample Drawings were found for this product.";
}
unset($narray);
unset($xarray);
closedir($dh);
} //opendir
} //is_dir
else{
echo "Sorry, no Concept/Sample Drawings were found for this product.";
}
echo "
";
echo "
";
*/
//Revit families
//Need separate, non fully qualified path for href otherwise remote host full path name is included and returns errors...6-6-11 kad
$dirA = "/Documents_Guide/Products/".$series."/Revit_Dwgs";
$dir = $_SERVER['DOCUMENT_ROOT'] . $dirA;
$srch = "rfa";
if (is_dir($dir)){
if ($dh = opendir($dir)){
echo "
\n";
echo ""?> Revit Families |
\n";
echo "
\n";
$i=0;
while (($file = readdir($dh)) !==false){
$parts = explode(".", $file);
$extension = end(explode('.', $file));
$filename = substr($file, 0, strlen($file) - strlen($extension) - 1);
if (is_array($parts) && count($parts) > 1) {
if ($extension == $srch || $extension == strtoupper($srch) || $extension == "EXT"){
$i++;
$narray[$i]=$filename;
$xarray[$i]=$extension;
} //good file type
} //is_array
} //while
if ($i>0){
sort($narray);
sort($xarray);
echo "
\n";
for($i=0;$i".$narray[$i]."";
if (file_exists($dir."/".$narray[$i].".rfa")){
echo " | ";
}
echo "";
}
echo "|
\n";
}
else{
echo "No Revit drawings are currently available this product.";
}
unset($narray);
unset($xarray);
closedir($dh);
} //opendir
} //is_dir
else{
echo "No Revit drawings are currently available this product.";
}
?>
If you cannot view the PDF files, you can download Acrobat Reader for free from Adobe Systems, Inc.