Location: PHPKode > projects > Exero CMS > upload/modules/community/profile.php
<?
// Member Profile Script
if(!$ecms->permissions("community","profile")) {
	include("themes/$ecms->theme/nopermission.php");
	exit;
}
($hook = $ecms->fetch_hook("member_profile_start")) ? eval($hook) : false;
$memberinfo = $db->query_first("SELECT * FROM ".TABLE_PREFIX."users WHERE uid='".$db->real_escape_string($_REQUEST['q2'])."'");
$membergroupinfo = $db->query_first("SELECT * FROM ".TABLE_PREFIX."groups WHERE gid='".$memberinfo['groupid']."'");
include("themes/$ecms->theme/members/profile.php");
?>
Return current item: Exero CMS