'".date('Y-m-d H:i:s',time()-60*5)."' ORDER BY username"; } else{ $query="SELECT t1.user_id,username,firstname,lastname,picture_uri FROM $tbl_user t1,$tbl_chat_connected t2,$tbl_session_course_user t3 WHERE t1.user_id=t2.user_id AND t3.id_user=t2.user_id AND t3.course_code = '".$_course['sysCode']."' AND t2.last_connection>'".date('Y-m-d H:i:s',time()-60*5)."' ORDER BY username"; } $result=api_sql_query($query,__FILE__,__LINE__); $Users=api_store_result($result); include('header_frame.inc.php'); ?>
'; else echo '';?> | name="user_" href="?showPic=#user_"> |