本文整理匯總了PHP中print_page_links函數的典型用法代碼示例。如果您正苦於以下問題:PHP print_page_links函數的具體用法?PHP print_page_links怎麽用?PHP print_page_links使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了print_page_links函數的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: date
?>
</td>
<td><?php
echo date(config_get('normal_date_format'), $t_tag_row['date_updated']);
?>
</td>
</tr>
<?php
}
# end while loop on tags
?>
</tbody>
</table>
<div class="pager-links"><?php
# @todo hack - pass in the hide inactive filter via cheating the actual filter value
print_page_links('manage_tags_page.php', 1, $t_page_count, (int) $f_page_number, $f_filter);
?>
</div>
</div>
<?php
if ($t_can_edit) {
?>
<div id="manage-tags-create-div" class="form-container">
<a name="tagcreate" />
<form id="manage-tags-create-form" method="post" action="tag_create.php">
<fieldset class="required">
<legend><span><?php
echo lang_get('tag_create');
?>
</span></legend>
示例2: lang_get
?>
</select>
<input type="submit" class="button" value="<?php
echo lang_get('ok');
?>
" />
<?php
} else {
echo ' ';
}
?>
</span>
<span class="floatright small">
<?php
$f_filter = gpc_get_int('filter', 0);
print_page_links('view_all_bug_page.php', 1, $t_page_count, (int) $f_page_number, $f_filter);
?>
</span>
</td>
</tr>
<?php
# -- ====================== end of MASS BUG MANIPULATION ========================= --
?>
</tbody>
</table>
</form>
<?php
if ($t_status_legend_position == STATUS_LEGEND_POSITION_BOTTOM || $t_status_legend_position == STATUS_LEGEND_POSITION_BOTH) {
html_status_legend();
}
示例3:
echo ' ';
} ?>
</td>
<td><?php echo $u_date_created ?></td>
<td><?php echo $u_last_visit ?></td>
</tr>
<?php
} # end for
?>
</tbody>
</table>
<div class="pager-links">
<?php
# @todo hack - pass in the hide inactive filter via cheating the actual filter value
print_page_links( 'manage_user_page.php', 1, $t_page_count, (int)$f_page_number, $c_filter . $t_hide_inactive_filter . $t_show_disabled_filter . '&sort=' . $c_sort . '&dir=' . $c_dir );
?>
</div>
<hr>
<div id="manage-user-edit-div">
<form id="manage-user-edit-form" method="get" action="manage_user_edit_page.php"<?php # CSRF protection not required here - form does not result in modifications ?>>
<fieldset>
<label for="username"><?php echo lang_get( 'search' ) ?></label>
<input id="username" type="text" name="username" value="" />
<input type="submit" class="button" value="<?php echo lang_get( 'manage_user' ) ?>" />
</fieldset>
</form>
</div>
</div>
<?php
示例4: print_page_links
<td><?php
echo $u_last_visit;
?>
</td>
</tr>
<?php
}
# end for
# -- Page number links --
?>
<tr>
<td class="right" colspan="8">
<span class="small">
<?php
/* @todo hack - pass in the page filter via cheating the actual filter value */
print_page_links('manage_user_page.php', 1, $t_page_count, (int) $f_page_number, $c_filter . $t_hide_inactive_filter . $t_show_disabled_filter . "&sort={$c_sort}&dir={$c_dir}");
?>
</span>
</td>
</tr>
</table>
<?php
# Manage Form END
?>
<br />
<form method="get" action="manage_user_edit_page.php">
<?php
# CSRF protection not required here - form does not result in modifications
?>
<?php
echo lang_get('search');
示例5:
<td class="center"><?php
if ( $u_protected ) {
echo " $t_lock_image";
} else {
echo ' ';
} ?>
</td>
<td><?php echo $u_date_created ?></td>
<td><?php echo $u_last_visit ?></td>
</tr><?php
} # end for ?>
</table>
<div class="pager-links">
<?php
/* @todo hack - pass in the hide inactive filter via cheating the actual filter value */
print_page_links( 'manage_user_page.php', 1, $t_page_count, (int)$f_page_number, $c_filter . $t_hide_filter . "&sort=$c_sort&dir=$c_dir");
?>
</div>
</div>
<?php
# Manage Form END
helper_alternate_class_no_attribute(0);
?>
<div id="manage-user-edit-div" class="form-container">
<form id="manage-user-edit-form" method="get" action="manage_user_edit_page.php"<?php # CSRF protection not required here - form does not result in modifications ?>>
<fieldset>
<div class="field-container <?php echo helper_alternate_class_no_attribute(); ?>">
<label for="username"><span><?php echo lang_get( 'username' ) ?></span></label>
<span class="input"><input id="username" type="text" name="username" value="" /></span>
<span class="label-style"></span>
</div>