本文整理汇总了PHP中splitPageResults::display_rows_per_page方法的典型用法代码示例。如果您正苦于以下问题:PHP splitPageResults::display_rows_per_page方法的具体用法?PHP splitPageResults::display_rows_per_page怎么用?PHP splitPageResults::display_rows_per_page使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类splitPageResults
的用法示例。
在下文中一共展示了splitPageResults::display_rows_per_page方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: if
$temp_string = tep_draw_input_field('detailed', TEXT_INPUT_KEYWORD, 'size="25" class="' . (tep_not_null($HTTP_GET_VARS['detailed']) && $HTTP_GET_VARS['detailed'] != TEXT_INPUT_AUTHOR ? 'author_activated' : 'author_disabled') . '" onfocus="this.className=\'author_activated\';' . (tep_not_null(TEXT_INPUT_KEYWORD) ? ' if (this.value==\'' . TEXT_INPUT_KEYWORD . '\') this.value = \'\';" onblur="if (this.value==\'\') { this.value = \'' . TEXT_INPUT_KEYWORD . '\'; this.className=\'author_disabled\'; }' : '') . '"');
if (tep_not_null($temp_string)) {
$filterlist_authors_string .= '<div id="AuthorsList">' . $text_customize . '<br />' . "\n" . tep_draw_form('authors', $authors_form_link, 'get', 'onsubmit="if (document.authors.author) { if (document.authors.detailed.value==\'' . TEXT_INPUT_KEYWORD . '\' || document.authors.detailed.value==\'\') { return false; } }"');
reset($HTTP_GET_VARS);
while (list($key, $value) = each($HTTP_GET_VARS)) {
if (tep_not_null($value) && !in_array($key, array(tep_session_name(), 'page', 'x', 'y', 'cPath', 'author', 'authors_id', 'detailed', 'cName', 'tName'))) {
if ($show_product_type > 1 && $key == 'categories_id') {
} else {
$filterlist_authors_string .= tep_draw_hidden_field($key, tep_output_string_protected(urldecode($value)));
}
}
}
$filterlist_authors_string .= $temp_string . ' ' . tep_image_submit('button_quick_search.gif', IMAGE_BUTTON_QUICK_SEARCH) . '</form></div>' . "\n";
}
}
$listing_string = ' <table width="100%" id="listing-split">' . "\n" . ' <tr>' . "\n" . ' <td>' . $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_RECORDS) . '</td>' . "\n" . ' <td align="center">' . sprintf(TEXT_DISPLAY_NUMBER_OF_RECORDS_PER_PAGE, $listing_split->display_rows_per_page($per_page)) . '</td>' . "\n" . ' <td align="right">' . TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y', 'sort'))) . '</td>' . "\n" . ' </tr>' . "\n" . ' </table>' . "\n";
if ((PREV_NEXT_BAR_LOCATION == '1' || PREV_NEXT_BAR_LOCATION == '3') && $show_listing_string == true) {
echo $listing_string;
}
$rows = 0;
$list_box_contents = array();
$sorting_text = '';
for ($col = 0, $n = sizeof($column_list), $sorting_text = ''; $col < $n; $col++) {
switch ($column_list[$col]) {
case 'PRODUCT_LIST_MODEL':
$lc_text = TABLE_HEADING_MODEL;
break;
case 'PRODUCT_LIST_NAME':
$lc_text = TABLE_HEADING_PRODUCTS;
break;
case 'PRODUCT_LIST_MANUFACTURER':