本文整理汇总了PHP中admin::admin_list方法的典型用法代码示例。如果您正苦于以下问题:PHP admin::admin_list方法的具体用法?PHP admin::admin_list怎么用?PHP admin::admin_list使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类admin
的用法示例。
在下文中一共展示了admin::admin_list方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: confirmDelete
<?php
include_once 'config/db_conn.php';
include_once 'db_config/db_gigs.php';
include_once 'db_config/db_admin.php';
$admin = new admin();
$rs_user = $admin->admin_list();
if ($_REQUEST['id']) {
$user->delete($_REQUEST['id']);
reDirect('admin_users.php');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Orders - Admin </title>
<link rel="stylesheet" type="text/css" href="css/theme.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script>
var StyleFile = "theme" + document.cookie.charAt(6) + ".css";
document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">');
</script>
<script>
function confirmDelete(delUrl) {
if (confirm("Are you sure you want to delete")) {
document.location = delUrl;
}
}
</script>
<!--[if IE]>
示例2: admin
<?php
session_start();
include_once 'config/db_conn.php';
include_once 'db_config/db_catagory.php';
include_once 'db_config/db_user.php';
include_once 'db_config/db_admin.php';
$admin = new admin();
$rs_admin = $admin->admin_list();
$data_admin = mysql_fetch_array($rs_admin);
$data_admin['user_email'];
if ($_REQUEST['submit']) {
###############################################################
/*Mail Part */
###############################################################
$to_mail = $data_admin['user_email'];
$subject = $_REQUEST['subject'];
$mail_table = '
<table width="600" border="0">
<tr>
<td width="94" align="left">Message</td>
<td width="13" align="left">:</td>
<td width="479" align="center">' . $_REQUEST['message'] . '</td>
</tr>
<tr>
<td width="94" align="left">Order</td>
<td width="13" align="left">:</td>
<td width="479" align="left">' . $_REQUEST['order_id'] . '</td>
</tr>
<tr>