echo $spot['title']; ?> </h3> <table class="spotinfo"> <tbody> <tr><th> Categorie </th> <td> <?php echo $spot['catname']; ?> </td> </tr> <?php if (!empty($spot['subcatlist'])) { foreach ($spot['subcatlist'] as $sub) { $subcatType = substr($sub, 0, 1); echo "\t\t\t\t\t\t<tr><th> " . SpotCategories::SubcatDescription($spot['category'], $subcatType) . "</th> <td> " . SpotCategories::Cat2Desc($spot['category'], $sub) . " </td> </tr>\r\n"; } # foreach } # if ?> <tr><th> Omvang </th> <td> <?php echo $tplHelper->format_size($spot['filesize']); ?> </td> </tr> <tr><th> Website </th> <td> <a href='<?php echo $spot['website']; ?> ' target="_blank">BEKIJK</a> </td> </tr> <tr><th> Afzender </th> <td> <?php echo $spot['poster'];
<tbody> <tr><th> Categorie </th> <td><a href="<?php echo $tplHelper->makeCatUrl($spot); ?> " title='Zoek spots in de categorie "<?php echo $spot['catname']; ?> "'><?php echo $spot['catname']; ?> </a></td> </tr> <?php if (!empty($spot['subcatlist'])) { foreach ($spot['subcatlist'] as $sub) { $subcatType = substr($sub, 0, 1); echo "\t\t\t\t\t\t<tr><th> " . SpotCategories::SubcatDescription($spot['category'], $subcatType) . "</th>"; echo "<td><a href='" . $tplHelper->makeSubCatUrl($spot, $sub) . "' title='Zoek spots in de categorie " . SpotCategories::Cat2Desc($spot['category'], $sub) . "'>" . SpotCategories::Cat2Desc($spot['category'], $sub) . "</a></td> </tr>\r\n"; } # foreach } # if ?> <tr><th> Omvang </th> <td> <?php echo $tplHelper->format_size($spot['filesize']); ?> </td> </tr> <tr><td class="break" colspan="2"> </td> </tr> <tr><th> Website </th> <td> <a href='<?php echo $spot['website']; ?> '><?php
# Format the spot header $spot = $tplHelper->formatSpotHeader($spot); $newSpotClass = $tplHelper->isSpotNew($spot) ? 'new' : ''; $tipTipClass = $show_mouseover_subcats ? 'showTipTip' : ''; $dateTitleText = $tplHelper->formatDate($spot['stamp'], 'force_spotlist'); $commentCountValue = $spot['commentcount']; if (isset($newCommentCount[$spot['messageid']])) { $commentCountValue .= '*'; } # if $catMap = array(); foreach (array('a', 'b', 'c', 'd', 'z') as $subcatType) { $subList = explode('|', $spot['subcat' . $subcatType]); foreach ($subList as $sub) { if (!empty($sub)) { $subCatDesc = SpotCategories::SubcatDescription($spot['category'], $subcatType); $catDesc = SpotCategories::Cat2Desc($spot['category'], $sub); if (isset($catMap[$subCatDesc])) { $catMap[$subCatDesc] .= ', ' . $catDesc; } else { $catMap[$subCatDesc] = $catDesc; } # else } # if } # foreach } # foreach if ($settings->get('imageover_subcats') > 0) { $catMap['image'] = '<center><br><img src="?page=getimage&messageid=' . $spot['messageid'] . '&image[height]=260&image[width]=130" height="175px" width="auto"></center>';