예제 #1
0
<?php

// Include Files
include "includes.inc.php";
// Session Identification
session_identification();
// Extra headers for TD..
$extra_headers = "<STYLE TYPE=\"text/css\" >      " . "  TH.red    { background-color: red }    " . "  TH.orange { background-color: orange } " . "  TH.white { background-color: white; color: black} " . "</STYLE>";
print_header($extra_headers);
print_title("Statistics for " . $_USER['name']);
$cmd = input_check("show", "uid", 0);
if ($cmd == "show") {
    if ($uid == "") {
        $uid = user_ourself();
    }
    user_showinfo($uid, USER_SHOWINFO_EXTENDED);
    score_showuser($uid);
}
print_footer();
exit;
예제 #2
0
// Extra headers for TD..
$extra_headers = "<STYLE TYPE=\"text/css\" >      " . "  TH.red    { background-color: red }    " . "  TH.orange { background-color: orange } " . "  TH.white  { background-color: white; color: black} " . "</STYLE>";
print_header($extra_headers);
print_title("User information");
$cmd = input_check("show", "uid", 0, "showdetail", "uid", 0, "relation", "!frmid", "!uid", "!wid", 0);
if ($cmd == "show") {
    if ($uid == "") {
        $uid = user_ourself();
    }
    show_users($uid);
}
if ($cmd == "showdetail") {
    if ($uid == "") {
        $uid = user_ourself();
    }
    user_showinfo($uid, USER_SHOWINFO_NORMAL);
}
if ($cmd == "relation") {
    set_relation(user_ourself(), $uid, $wid);
    show_users(user_ourself());
}
print_footer();
exit;
// ============================================================================================
//
//
// Description:
//
//
// Parameters:
//