本文整理汇总了PHP中view_page函数的典型用法代码示例。如果您正苦于以下问题:PHP view_page函数的具体用法?PHP view_page怎么用?PHP view_page使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了view_page函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: die
die('Access Denied.');
}
//输出头部信息
dohead($title, $page_url);
require 'admin_menu.php';
?>
<form action="" method="post" name="seekform">
<div id="content">
<div class="contenttitle"><?php
echo $title;
?>
<div class="page">
<?php
view_page($page_url);
?>
</div>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="searchtool">
<?php
echo $strBlueFind;
?>
<input type="text" name="seekname" size="8" value="<?php
echo $seekname;
?>
" class="pagenav">
示例2: show_alert
show_alert($_SESSION['alert']['type'], $_SESSION['alert']['msg']);
?>
<div class="container main">
<div class="box row">
<div class="content">
<div class="actions clearfix">
<div class="pull-left">
<div class="pull-left custom-select-all" onclick="selectAllToggle()">
<input type="checkbox" id="select_all">
</div>
<div class="divider"></div>
<p>Page</p>
<select class="form-control" id="page-option" onchange="pageOption()">
<?php
view_page($total_page, $page);
?>
</select>
<p>of <strong><?php
echo $total_page;
?>
</strong> pages</p>
<div class="divider"></div>
<p>Show</p>
<select class="form-control" name="query_per_page" id="query_per_page_input" onchange="changeQueryPerPage()">
<?php
view_per_page($query_per_page, $total_query);
?>
</select>
<p>of <strong><?php
echo $total_query;
示例3: view_page
?>
<div class="container main">
<div class="box row">
<div class="content">
<div class="actions clearfix">
<div class="pull-left">
<div class="pull-left custom-select-all" onclick="selectAllToggle()">
<input type="checkbox" id="select_all">
</div>
<div class="divider"></div>
<p>Page</p>
<select class="form-control" id="page-option" onchange="pageOption()">
<?php
view_page($total_page, $_REQUEST['pg']);
?>
</select>
<p>of <strong><?php
echo $total_page;
?>
</strong> pages</p>
<div class="divider"></div>
<p>Show</p>
<select class="form-control" name="query_per_page" id="query_per_page_input" onchange="changeQueryPerPage()">
<?php
view_per_page($query_per_page, $total_query);
?>
</select>
<p>of <strong><?php
echo $total_query;
示例4: confirm
}
?>
<tr>
<td height="32" align="center" bgcolor="#EEEEEE"><img style="width:20px" src="../images/arrow.png" border="0" /></td>
<td width="434" >
<input type="submit" onClick="return confirm('Bạn có chắc không ?');" value="Xóa tin này" name="ItemDel" style="border:0px; background-color:#DDDDDD; cursor:pointer" <?php
echo @$_SESSION['modmana'] == '2' ? 'disabled' : '';
?>
>
<input name="ItemVip" type="submit" id="ItemVip" style="border:0px; background-color:#DDDDDD; cursor:pointer" onclick="return confirm('Bạn có chắc không ?');" value="Kích hoạt tin vip" <?php
echo @$_SESSION['modmana'] == '2' ? 'disabled' : '';
?>
/>
<input name="ItemNomal" type="submit" id="ItemNomal" style="border:0px; background-color:#DDDDDD; cursor:pointer" onclick="return confirm('Bạn có chắc không ?');" value="Bỏ kích hoạt tin vip" <?php
echo @$_SESSION['modmana'] == '2' ? 'disabled' : '';
?>
/></td>
<td colspan="2" align="right"> </td>
</tr>
<tr>
<td height="32" colspan="4" align="center" ><?php
view_page($link);
?>
</td>
</tr>
</table>
</form>
</div>
示例5: show_alert
<?php
show_alert($_SESSION['alert']['type'], $_SESSION['alert']['msg']);
?>
<div class="container main">
<div class="box row">
<div class="content">
<div class="actions clearfix">
<div class="pull-left">
<div class="pull-left custom-select-all">
<input type="checkbox" id="select_all">
</div>
<div class="divider"></div>
<p>Page</p>
<select class="form-control" id="page-option" disabled="disabled">
<?php view_page($total_page, $page);?>
</select>
<p>of <strong><?php echo $total_page;?></strong> pages</p>
<div class="divider"></div>
<p>Show</p>
<select class="form-control" name="query_per_page" id="query_per_page_input" disabled="disabled">
<?php view_per_page($query_per_page, $total_query);?>
</select>
<p>of <strong><?php echo $total_query;?></strong> records</p>
</div>
<div class="pull-right">
<p>Actions</p>
<select class="form-control" name="category-action" id="news-action" disabled="disabled">
<option value="delete">Delete</option>
<option value='visibility'>Set Visibility</option>
<option value="order">Set Order</option>
示例6: startpage
if ($_SESSION["uid"] == null) {
echo "window.location.href ='logoff.php';";
die;
}
include_once 'ressources/class.templates.inc';
include_once 'ressources/class.ldap.inc';
include_once 'ressources/class.users.menus.inc';
include_once 'ressources/class.system.network.inc';
include_once 'ressources/class.freeweb.inc';
include_once 'ressources/class.awstats.inc';
if (isset($_GET["start"])) {
startpage();
exit;
}
if (isset($_GET["awstats_file"])) {
view_page();
exit;
}
js();
function js()
{
$page = CurrentPageName();
$tpl = new templates();
$title = $tpl->_ENGINE_parse_body("{statistics}:: {$_GET["servername"]}");
$html = "YahooWin2('850','{$page}?start=yes&awstats_file=index&servername={$_GET["servername"]}','{$title}');";
echo $html;
}
function startpage()
{
$tpl = new templates();
$page = CurrentPageName();