$c = 0; ?> <h3><?php printf(gettext('Articles (%s)'), $numnews); ?> <small><?php printZDSearchShowMoreLink("news", $number_to_show); ?> </small></h3> <ul class="searchresults"> <?php while (next_news()) { $c++; ?> <li<?php printZDToggleClass('news', $c, $number_to_show); ?> > <h4><?php printNewsURL(); ?> </h4> <p class="zenpageexcerpt"><?php echo shortenContent(getBare(getNewsContent()), 80, getOption("zenpage_textshorten_indicator")); ?> </p> </li> <?php } ?> </ul>
} $searchwords .= $searchdate; } if ($total > 0) { printf(ngettext('%1$u Hit for <em>%2$s</em>', '%1$u Hits for <em>%2$s</em>', $total), $total, html_encode($searchwords)); } if ($_zp_page == 1) { //test of zenpage searches if ($numpages > 0) { $number_to_show = 5; $c = 0; printf(gettext('Pages (%s)'), $numpages); printZDSearchShowMoreLink("pages", $number_to_show); while (next_page()) { $c++; printZDToggleClass('pages', $c, $number_to_show); printPageTitlelink(); shortenContent(strip_tags(getPageContent()), 80, getOption("zenpage_textshorten_indicator")); } } if ($numnews > 0) { $number_to_show = 5; $c = 0; printf(gettext('Articles (%s)'), $numnews); printZDSearchShowMoreLink("news", $number_to_show); while (next_news()) { printNewsTitleLink(); echo shortenContent(strip_tags(getNewsContent()), 80, getOption("zenpage_textshorten_indicator")); } } }