123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- /* For licensing terms, see /dokeos_license.txt */
- $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>
|