<ul> <?php foreach ($countryArr as $name => $data) { echo '<li>'; echo '<a href="collprofiles.php?sgl=1&collid=' . $collid . '&country=' . $name . '">'; echo $name; echo '</a>'; echo ' (<a href="../list.php?usecookies=false&db[]=' . $collid . '&reset=1&country=' . $name . '" target="_blank">' . $data['CountryCount'] . '</a>)'; echo '</li>'; } ?> </ul> </fieldset> <?php } else { $collList = $collManager->getCollectionList(true); ?> <h1><?php echo $DEFAULT_TITLE; ?> Collections </h1> <div style='margin:10px;clear:both;'> Select a collection to see full details. </div> <table style='margin:10px;'> <?php foreach ($collList as $cId => $collArr) { ?> <tr> <td style='text-align:center;vertical-align:top;'> <?php
echo '</b>'; } if (is_numeric($start)) { echo '<b>Records ' . ($start + 1) . ' - ' . ($start + $limit) . '</b>'; } } else { echo '<b>Collection Index</b>'; } ?> </div> <!-- This is inner text! --> <div id="innertext"> <?php if (!$collId) { $collArr = $collManager->getCollectionList(); foreach ($collArr as $cid => $cArr) { ?> <div style="margin:10px;"> <h2> <?php echo '<b>' . $cArr['collectionname'] . '</b> ' . $cArr['institutioncode'] . ($cArr['collectioncode'] ? ':' . $cArr['collectioncode'] : ''); ?> </h2> <div style="margin:2px 0px 2px 15px;"> <b>Description:</b> <?php echo $cArr['fulldescription']; ?> </div> <div style="margin:2px 0px 2px 15px;">