$search .= ' '.implode(" ", $tagArr);
$search .= ' '.implode(" ", $catArr);
$search .= ' '.$_t['host'];
- $search .= ' '.implode(' ',explode('/',$_t['path']));
+ if(isset($_t['path'])) {
+ $search .= ' '.implode(' ',explode('/',$_t['path']));
+ }
$search = trim($search);
$search = strtolower($search);
</section>
-<section>
+<section class="section">
<?php if(!empty($categoryCollection)) { ?>
<div class="columns">
<div class="column">
</tr>
<?php foreach ($categoryCollection as $k=>$v) { ?>
<tr>
- <td><a href="index.php?p=overview&m=category&id=<?php echo urlencode($k); ?>" target="_blank"><?php echo $v['name']; ?></a></td>
+ <td>
+ <a href="index.php?p=overview&m=category&id=<?php echo urlencode($k); ?>"
+ target="_blank"><?php echo $v['name']; ?></a> <small>(#<?php echo $v['amount']; ?>)</small></td>
<td>
<input class="input" type="text" name="category[<?php echo urlencode($k); ?>]">
</td>
</section>
-<section>
+<section class="section">
<?php if(!empty($tagCollection)) { ?>
<div class="columns">
<div class="column">
<tr>
<td>
<a href="index.php?p=overview&m=tag&id=<?php echo urlencode($k); ?>"
- target="_blank"><?php echo $v['name']; ?></a></td>
+ target="_blank"><?php echo $v['name']; ?></a> <small>(#<?php echo $v['amount']; ?>)</small></td>
<td>
<input class="input" type="text" name="tag[<?php echo urlencode($k); ?>]">
</td>