示例#1
0
function wpu_get_users($content)
{
    if (is_page(get_option('wpu_page_id'))) {
        if (isset($_GET['uid'])) {
            display_user();
        } else {
            echo $content;
            display_user_list();
        }
    } else {
        //display the content
        return $content;
    }
}
示例#2
0
        break;
    case 'email':
        email_to_user_from_admin();
        break;
    case 'send_signup_email':
        check_demo();
        member_send_signup_email();
        break;
    case 'send_verification_email':
        check_demo();
        member_send_verification_email();
        break;
    case 'not_approved':
        display_not_approved_user_list();
        break;
    case 'approve':
        approve();
        break;
    case 'browse':
    case '':
        display_user_list();
        break;
    case 'referred_users':
        display_referred_users();
        break;
    case 'login_as_user':
        login_as_user();
        break;
    default:
        fatal_error("Unknown action: '{$action}' for users.php");
}
示例#3
0
文件: pc.php 项目: bianle/www2
<center><br><br>
<p align="center" class="f2">
<?php 
echo $pcconfig["BBSNAME"];
?>
Blog
</p>
<hr size=1>
<p class="f1">
<?php 
pc_main_navigation_bar();
?>
</p>
<?php 
display_blog_catalog();
display_user_list($link, $listorder, $listorder1, $char, $startno, $pagesize);
display_navigation_bar($totalpage, $pageno, $char, $listorder, $listorder1);
display_char_bar($char);
?>
<hr size=1>
<p class="f1">
<?php 
pc_main_navigation_bar();
?>
</p>
<form action="pcsearch.php" method="get" onsubmit="if(this.keyword.value==''){alert('请输入关键字');return false;}">
本站Blog搜索:<br>
<input type="text" name="keyword" size="20" class="b2">
(进行模糊搜索时,请用空格隔开多个关键字)
<br>
方式: