Stud.IP
2.0 Revision 48548
|
Functions | |
show_posts_guestbook ($user_id, $range_id) | |
show_documents ($documents, $open=null) | |
get_user_documents ($user_id, $seminar_id=null) |
Variables | |
if(!$sess->is_registered('_user_activities')) | $db = new DB_Seminar() |
$queries = array() | |
$msg = array() | |
$user_id = get_userid($_user_activities['username']) | |
$ank = key($_user_activities['open']) | |
$c = 0 | |
$queries [$c]['desc'] = _("Eingetragen in Veranstaltungen (dozent / tutor / autor / user)") | |
$queries [$c]['query'] = "SELECT CONCAT_WS(' / ',COUNT(IF(status='dozent',1,NULL)),COUNT(IF(status='tutor',1,NULL)) ,COUNT(IF(status='autor',1,NULL)) ,COUNT(IF(status='user',1,NULL))) FROM seminar_user WHERE user_id='$user_id' GROUP BY user_id" | |
$queries [$c]['details'] = "details=seminar" | |
$pic_path = $GLOBALS['ASSETS_URL'] . 'images' | |
if(count($msg)) | $cssSw = _("Informationen zu einem Nutzer:")htmlReady(get_fullname($user_id))$perm->get_perm($user_id) new cssClassSwitcher() |
foreach($queries as $one) if($_user_activities['details']== 'files') elseif(in_array($_user_activities['details'], words('seminar seminar_closed seminar_wait'))) | elseif ($_user_activities['details']== 'guestbook') |
get_user_documents | ( | $user_id, | |
$seminar_id = null |
|||
) |
show_documents | ( | $documents, | |
$open = null |
|||
) |
show_posts_guestbook | ( | $user_id, | |
$range_id | |||
) |
$ank = key($_user_activities['open']) |
$c = 0 |
if (count($msg)) $cssSw = _("Informationen zu einem Nutzer:")htmlReady(get_fullname($user_id))$perm->get_perm($user_id) new cssClassSwitcher() |
if (!$sess->is_registered('_user_activities')) $db = new DB_Seminar() |
$msg = array() |
$pic_path = $GLOBALS['ASSETS_URL'] . 'images' |
$queries = array() |
$queries[$c]['desc'] = _("Eingetragen in Veranstaltungen (dozent / tutor / autor / user)") |
$queries[$c]['query'] = "SELECT CONCAT_WS(' / ',COUNT(IF(status='dozent',1,NULL)),COUNT(IF(status='tutor',1,NULL)) ,COUNT(IF(status='autor',1,NULL)) ,COUNT(IF(status='user',1,NULL))) FROM seminar_user WHERE user_id='$user_id' GROUP BY user_id" |
$queries[$c]['details'] = "details=seminar" |
$user_id = get_userid($_user_activities['username']) |