本文整理汇总了PHP中xoops_footer函数的典型用法代码示例。如果您正苦于以下问题:PHP xoops_footer函数的具体用法?PHP xoops_footer怎么用?PHP xoops_footer使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了xoops_footer函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: show_no_permission_error_page
/**
* show error message and close button
*/
function show_no_permission_error_page()
{
xoops_header();
echo _MD_XOONIPS_ITEM_FORBIDDEN . '<br /><input type="button"' . ' onclick="javascript:window.close();" value="' . _CLOSE . '" />';
xoops_footer();
exit;
}
示例2: render
function render()
{
global $xoopsConfig;
require_once XOOPS_ROOT_PATH . '/class/template.php';
$xoopsTpl = new XoopsTpl();
xoops_header(false);
$xoopsTpl->assign('template_file_name', 'db:' . $this->_params['template_file_name']);
$xoopsTpl->assign('template_vars', $this->_params['template_vars']);
$xoopsTpl->display('db:xoonips_transfer_user_requested_item_detail.html');
xoops_footer();
}
开发者ID:XoopsModules25x,项目名称:xcl-module-xoonips,代码行数:11,代码来源:transfer_user_requested_item_detail.class.php
示例3: end
function end()
{
global $xoopsConfig, $xoopsOption, $xoopsModule, $xoopsTpl, $xoopsUser, $xoopsUserIsAdmin, $xoopsLogger;
if (!$this->mAction->mDialogMode) {
include XOOPS_ROOT_PATH . '/footer.php';
} else {
if (class_exists('XCube_Root')) {
include XOOPS_ROOT_PATH . '/footer.php';
} else {
xoops_footer();
}
}
}
示例4: sprintf
} else {
if ($counter > $currentpage - 4 && $counter < $currentpage + 4 || $counter == 1 || $counter == $totalpages) {
if ($counter == $totalpages && $currentpage < $totalpages - 4) {
$hiddenform .= "... ";
}
$hiddenform .= "<a href='#" . $counter . "' onclick='javascript:document.findnext.start.value=" . ($counter - 1) * $limit . ";document.findnext.submit();'>" . $counter . "</a> ";
if ($counter == 1 && $currentpage > 5) {
$hiddenform .= "... ";
}
}
}
$counter++;
}
}
$next = $start + $limit;
if (isset($total) && $total > $next || !isset($total) && count($foundusers) >= $limit) {
$hiddenform .= " <a href='#" . $total . "' onclick='javascript:document.findnext.start.value=" . $next . ";document.findnext.submit();'>" . _MA_USER_NEXT . "</a>\n";
}
}
$hiddenform .= "</form>";
echo "<div>" . $hiddenform;
if (isset($total)) {
echo "<br />" . sprintf(_MA_USER_USERSFOUND, $total) . " ";
}
echo "<a href='#' onclick='javascript:document.findnext.start.value=0;document.findnext.user_submit.value=0;document.findnext.submit();'>" . _MA_USER_SEARCHAGAIN . "</a>\n";
echo "</div>";
}
}
}
xoops_footer();