|
|
|
|
@ -101,27 +101,24 @@ $language_variable=api_xml_http_response_encode(get_lang('PersonalData')); |
|
|
|
|
echo '</div>'; |
|
|
|
|
echo '<div id="profile_container">'; |
|
|
|
|
echo '<div class="social-profile-info" style="float:left;position:relative">'; |
|
|
|
|
echo '<dt>'.api_xml_http_response_encode(get_lang('UserName')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['username']).' </dd>'; |
|
|
|
|
echo '<dl><dt>'.api_xml_http_response_encode(get_lang('UserName')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['username']).' </dd></dl>'; |
|
|
|
|
if (api_is_western_name_order()) { |
|
|
|
|
echo '<dt>'.api_xml_http_response_encode(get_lang('FirstName')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['firstname']).'</dd>'; |
|
|
|
|
echo '<dt>'.api_xml_http_response_encode(get_lang('LastName')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['lastname']).'</dd>'; |
|
|
|
|
echo '<dl><dt>'.api_xml_http_response_encode(get_lang('FirstName')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['firstname']).'</dd></dl>'; |
|
|
|
|
echo '<dl><dt>'.api_xml_http_response_encode(get_lang('LastName')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['lastname']).'</dd></dl>'; |
|
|
|
|
} else { |
|
|
|
|
echo '<dt>'.api_xml_http_response_encode(get_lang('LastName')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['lastname']).'</dd>'; |
|
|
|
|
echo '<dt>'.api_xml_http_response_encode(get_lang('FirstName')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['firstname']).'</dd>'; |
|
|
|
|
echo '<dl><dt>'.api_xml_http_response_encode(get_lang('LastName')).'</dt><dd>'. api_xml_http_response_encode($user_info['lastname']).'</dd></dl>'; |
|
|
|
|
echo '<dl><dt>'.api_xml_http_response_encode(get_lang('FirstName')).'</dt><dd>'. api_xml_http_response_encode($user_info['firstname']).'</dd></dl>'; |
|
|
|
|
} |
|
|
|
|
echo '<dt>'.api_xml_http_response_encode(get_lang('OfficialCode')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['official_code']).'</dd>'; |
|
|
|
|
echo '<dt>'.api_xml_http_response_encode(get_lang('Email')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['email']).'</dd>'; |
|
|
|
|
echo '<dt>'.api_xml_http_response_encode(get_lang('Phone')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['phone']).'</dd>'; |
|
|
|
|
echo '<dl><dt>'.api_xml_http_response_encode(get_lang('OfficialCode')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['official_code']).'</dd></dl>'; |
|
|
|
|
echo '<dl><dt>'.api_xml_http_response_encode(get_lang('Email')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['email']).'</dd></dl>'; |
|
|
|
|
echo '<dl><dt>'.api_xml_http_response_encode(get_lang('Phone')).'</dt> |
|
|
|
|
<dd>'. api_xml_http_response_encode($user_info['phone']).'</dd></dl>'; |
|
|
|
|
echo '</div>'; |
|
|
|
|
|
|
|
|
|
echo '<div style="float:left;position:relative">'; |
|
|
|
|
echo '<div id="picture" style="width:200px;float:left;position:relative;margin-top:10px;">'; |
|
|
|
|
echo '<img src='.$img_array['dir'].$img_array['file'].' />'; |
|
|
|
|
|