You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.8 KiB
73 lines
2.8 KiB
<?php
|
|
/* For licensing terms, see /chamilo_license.txt */
|
|
/**
|
|
* @package dokeos.social
|
|
* @author Julio Montoya <gugli100@gmail.com>
|
|
*/
|
|
|
|
$language_file = array('registration','messages','userInfo','admin');
|
|
require '../inc/global.inc.php';
|
|
require_once api_get_path(CONFIGURATION_PATH).'profile.conf.php';
|
|
require_once api_get_path(LIBRARY_PATH).'fileManage.lib.php';
|
|
require_once api_get_path(LIBRARY_PATH).'fileUpload.lib.php';
|
|
require_once api_get_path(LIBRARY_PATH).'image.lib.php';
|
|
require_once api_get_path(LIBRARY_PATH).'usermanager.lib.php';
|
|
require_once '../inc/lib/social.lib.php';
|
|
$this_section = SECTION_MYPROFILE;
|
|
$_SESSION['this_section']=$this_section;
|
|
//$list_path_friends=array();
|
|
$request=api_is_xml_http_request();
|
|
$language_variable=api_xml_http_response_encode(get_lang('Contacts'));
|
|
//api_display_tool_title($language_variable);
|
|
|
|
$user_id=api_get_user_id();
|
|
$image_path = UserManager::get_user_picture_path_by_id ($user_id,'web',false,true);
|
|
?>
|
|
<div align="center" >
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="social-content-table">
|
|
<tr>
|
|
<td width="100%" height="20" valign="top">
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td width="100%" height="20" valign="top"><?php
|
|
echo ' Dokeos - ';
|
|
$user_id=api_get_user_id();
|
|
$user_info=api_get_user_info($user_id);
|
|
echo $name_user=api_xml_http_response_encode(api_get_person_name($user_info['firstName'], $user_info['lastName']));
|
|
?></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td height="25" valign="top">
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="social-subtitle-search">
|
|
<tr>
|
|
<td width="100%" height="25" valign="top" class="social-align-box"> <?php echo api_xml_http_response_encode(get_lang('Search')) .' : '; ?><input class="social-search-image" type="text" class="search-image" id="id_search_image" name="id_search_image" value="" onkeyup="search_image_social(this)" /></td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
<tr>
|
|
<td height="175" valign="top">
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
|
|
<tr>
|
|
<td width="100%" height="22" valign="top">
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="social-align-box">
|
|
<tr>
|
|
<td width="100%" height="22" valign="top"> <?php echo api_xml_http_response_encode(get_lang('ContactsList')); ?></td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
<tr>
|
|
<td height="153" valign="top">
|
|
<?php
|
|
echo '<div id="div_content_table">';
|
|
require_once 'show_search_image.inc.php';
|
|
echo '</div>';
|
|
?>
|
|
</td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|