|
|
|
@ -1,4 +1,26 @@ |
|
|
|
<?php
|
|
|
|
<?php |
|
|
|
|
|
|
|
/* |
|
|
|
|
|
|
|
============================================================================== |
|
|
|
|
|
|
|
Dokeos - elearning and course management software |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2009 Dokeos SPRL |
|
|
|
|
|
|
|
Copyright (c) Julio Montoya Armas |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For a full list of contributors, see "credits.txt". |
|
|
|
|
|
|
|
The full license can be read in "license.txt". |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or |
|
|
|
|
|
|
|
modify it under the terms of the GNU General Public License |
|
|
|
|
|
|
|
as published by the Free Software Foundation; either version 2 |
|
|
|
|
|
|
|
of the License, or (at your option) any later version. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
See the GNU General Public License for more details. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Contact address: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium |
|
|
|
|
|
|
|
Mail: info@dokeos.com |
|
|
|
|
|
|
|
============================================================================== |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
$language_file=array('registration','messages','userInfo','admin'); |
|
|
|
$language_file=array('registration','messages','userInfo','admin'); |
|
|
|
require_once '../inc/global.inc.php'; |
|
|
|
require_once '../inc/global.inc.php'; |
|
|
|
require_once (api_get_path(LIBRARY_PATH).'usermanager.lib.php'); |
|
|
|
require_once (api_get_path(LIBRARY_PATH).'usermanager.lib.php'); |
|
|
|
@ -27,27 +49,30 @@ $user_friend_relation=UserFriend::get_relation_between_contacts(api_get_user_id( |
|
|
|
<table width="600" border="0" cellspacing="0" cellpadding="0"> |
|
|
|
<table width="600" border="0" cellspacing="0" cellpadding="0"> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<td width="600" align="left"> |
|
|
|
<td width="600" align="left"> |
|
|
|
<td width="50%"><br/> |
|
|
|
<td width="50%"><br/> |
|
|
|
<img style="float:left" src="<?php echo $img_user[1]; ?>" />
|
|
|
|
<img src="<?php echo $img_user[1]; ?>" />
|
|
|
|
|
|
|
|
<?php |
|
|
|
|
|
|
|
echo '<br /><br />'.$name_user=mb_convert_encoding($user_info['firstName'].' '.$user_info['lastName'],'UTF-8',$charset) ; |
|
|
|
|
|
|
|
?> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td width="50%"><div align="left"> |
|
|
|
<td width="50%"><div align="left"> |
|
|
|
<?php |
|
|
|
<?php |
|
|
|
for ($k=0;$k<$number_list;$k++) { |
|
|
|
for ($k=0;$k<$number_list;$k++) { |
|
|
|
echo '<br/>'; |
|
|
|
echo '<br/>'; |
|
|
|
if ($list_of_options[$k]['id']==$user_friend_relation) { |
|
|
|
if ($list_of_options[$k]['id']==$user_friend_relation) { |
|
|
|
$check='checked="checked"'; |
|
|
|
$check='checked="checked"'; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$check=''; |
|
|
|
$check=''; |
|
|
|
} |
|
|
|
} |
|
|
|
?> |
|
|
|
?> |
|
|
|
|
|
|
|
|
|
|
|
<input <?php echo $check; ?> style="margin-left:50px" type="radio" class="radio" name="list_type_friend" value="<?php echo $list_of_options[$k]['id']; ?>" />
|
|
|
|
<input <?php echo $check; ?> style="margin-left:50px" type="radio" class="radio" name="list_type_friend" value="<?php echo $list_of_options[$k]['id']; ?>" />
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
echo mb_convert_encoding(get_lang($list_of_options[$k]['title']),'UTF-8',$charset); |
|
|
|
echo mb_convert_encoding(get_lang($list_of_options[$k]['title']),'UTF-8',$charset); |
|
|
|
echo '<br/>'; |
|
|
|
echo '<br/>'; |
|
|
|
?> |
|
|
|
?> |
|
|
|
<?php |
|
|
|
<?php |
|
|
|
} |
|
|
|
} |
|
|
|
echo '<br/>'; |
|
|
|
echo '<br/>'; |
|
|
|
?> |
|
|
|
?> |
|
|
|
<input style="margin-left:50px" type="button" value="<?php echo mb_convert_encoding(get_lang('AttachToGroup'),'UTF-8',$charset); ?>" onclick="set_qualify_friend()"/>
|
|
|
|
<input style="margin-left:50px" type="button" value="<?php echo mb_convert_encoding(get_lang('AttachToGroup'),'UTF-8',$charset); ?>" onclick="set_qualify_friend()"/>
|
|
|
|
|