Files & Documents

getDocuments($doc['docid']); $subcats = $page->getSubRecords($doc['docid']); $doccount = $page->getDocCount($doc['docid']); if ((($subdocs!=false) || ($subcats!=false)) && ($doccount!=false)) { ?>

getSubRecords($id); if ($subrecords!=false) { $a = 1; foreach($subrecords as $doc) { $subdocs = $page->getDocuments($doc['docid']); if ($subdocs!=false) { ?> getDocuments($id); if ($subrecords!=false) { $a = 1; foreach($subrecords as $doc) { $path_parts = pathinfo('../documents/'.$doc["filename"]); $fext = strtolower($path_parts['extension']); ?>