本文整理匯總了PHP中UserUtils::get_staff_modules_list_by_modID方法的典型用法代碼示例。如果您正苦於以下問題:PHP UserUtils::get_staff_modules_list_by_modID方法的具體用法?PHP UserUtils::get_staff_modules_list_by_modID怎麽用?PHP UserUtils::get_staff_modules_list_by_modID使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類UserUtils
的用法示例。
在下文中一共展示了UserUtils::get_staff_modules_list_by_modID方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: while
echo $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'];
?>
" method="post">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="header">
<tr><td style="width:66px; height:55px; background-color:white; border-bottom:1px solid #CCD9EA; text-align:center"><img src="../artwork/user_accounts_icon.png" width="48" height="48 alt="Members" /></td><td class="dkblue_header" style="background-color:white; font-size:150%; border-bottom:1px solid #CCD9EA"><strong><?php
echo $string['teammembers'];
?>
</strong><?php
echo $module_details['moduleid'];
?>
</td></tr>
</table>
<?php
$team_members = UserUtils::get_staff_modules_list_by_modID($_GET['module'], $mysqli);
echo "<div class=\"content\" id=\"list\">";
$staff_no = 0;
$old_letter = '';
$tmp_role = 'Staff%';
$result = $mysqli->prepare("SELECT DISTINCT id, surname, initials, first_names, title FROM users WHERE surname != '' AND roles LIKE ? AND grade != 'left' AND user_deleted IS NULL ORDER BY surname, initials");
$result->bind_param('s', $tmp_role);
$result->execute();
$result->store_result();
$result->bind_result($tmp_id, $tmp_surname, $tmp_initials, $tmp_first_names, $tmp_title);
while ($result->fetch()) {
if ($old_letter != strtoupper(substr($tmp_surname, 0, 1))) {
echo "<div class=\"subsect_table\"><div class=\"subsect_title\"><nobr>" . strtoupper(substr($tmp_surname, 0, 1)) . "</nobr></div><div class=\"subsect_hr\"><hr noshade=\"noshade\" /></div></div>";
}
$match = false;
foreach ($team_members as $member) {