コード例 #1
0
    $UserID = $_SESSION['Athlete_id'];
    /********* Athelete Rate Checking****************/
    require_once "athlete_rating.php";
    /********* Athelete Rate Checking****************/
} else {
    if (isset($_SESSION['Coach_id']) && $_SESSION['Coach_id'] != "" && $_SESSION['Coach_id'] != 0) {
        $UserID = $_SESSION['Coach_id'];
    } else {
        if (isset($_SESSION['College_Coach_id']) && $_SESSION['College_Coach_id'] != "" && $_SESSION['College_Coach_id'] != 0) {
            $UserID = $_SESSION['College_Coach_id'];
        }
    }
}
//for paging
if (isset($_REQUEST['fldId']) && $_REQUEST['fldId'] != "" && $_REQUEST['fldId'] != 0) {
    $func2->athlete_view_profile($_REQUEST['fldId']);
}
//Create an instance of class COMMONFUNC
$page = new Page();
//Create an instance of class Pate
$lnb = "2";
$error_msg = '';
$db2 = new DB();
$db4 = new DB();
//Local Variables
$IsMyProfile = 0;
#######################################
## SEND NETWORK REQUEST
//Insert, Display Notification, and Email Recipient
$GLOBALPage = "ViewAthleteprofile.php?mode=view&fldId=";
$GLOBALProfileType = "athlete";