本文整理匯總了PHP中COMMONFUNC::athlete_view_profile方法的典型用法代碼示例。如果您正苦於以下問題:PHP COMMONFUNC::athlete_view_profile方法的具體用法?PHP COMMONFUNC::athlete_view_profile怎麽用?PHP COMMONFUNC::athlete_view_profile使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類COMMONFUNC
的用法示例。
在下文中一共展示了COMMONFUNC::athlete_view_profile方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Page
$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";