diff --git a/main/social/index.php b/main/social/index.php
index 72beaaf298..02b5c13e97 100755
--- a/main/social/index.php
+++ b/main/social/index.php
@@ -1,124 +1,6 @@
- */
-
-$cidReset = true;
-$language_file = array('registration','messages','userInfo','admin');
-require '../inc/global.inc.php';
-require_once api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php';
-require_once api_get_path(LIBRARY_PATH).'usermanager.lib.php';
-$this_section = SECTION_MYPROFILE;
-$_SESSION['this_section']=$this_section;
-api_block_anonymous_users();
-$htmlHeadXtra[] = ''; //jQuery
-$htmlHeadXtra[] = '';
-$htmlHeadXtra[] = '';
-$htmlHeadXtra[] = '';
-$htmlHeadXtra[] = '';
-//$htmlHeadXtra[] = '';
-
-if (api_get_setting('allow_message_tool')=='true') {
- $htmlHeadXtra[] ='';
-}
-$htmlHeadXtra[] = '';
-$htmlHeadXtra[] = '';
-$htmlHeadXtra[] = '
-
- ';
-$_SESSION['social_exist']=true;
-$_SESSION['social_dest'] = 'index.php';
-$interbreadcrumb[]= array (
- 'url' => '#',
- 'name' => get_lang('ModifyProfile')
-);
-if ((api_get_setting('allow_social_tool')=='true' && api_get_setting('allow_message_tool')=='true') ||(api_get_setting('allow_social_tool')=='true') && api_get_user_id()<>2 && api_get_user_id()<>0) {
- $interbreadcrumb[]= array (
- 'url' => 'index.php?#remote-tab-1',
- 'name' => get_lang('SocialNetwork')
- );
-} elseif ((api_get_setting('allow_social_tool')=='false' && api_get_setting('allow_message_tool')=='true')) {
- $interbreadcrumb[]= array (
- 'url' => 'index.php?#remote-tab-1',
- 'name' => get_lang('MessageTool')
- );
-}
-
-Display :: display_header('');
-if (isset($_GET['sendform'])) {
- $form_reply=array();
- $form_reply[]=urlencode($_POST['title']);
- $form_reply[]=urlencode(api_html_entity_decode($_POST['content']));
- $form_reply[]=$_POST['user_list'];
- $form_reply[]=$_POST['re_id'];
- $form_reply[]=urlencode($_POST['compose']);
- $form_reply[]=urlencode($_POST['id_text_name']);
- $form_reply[]=urlencode($_POST['save_form']);
- $form_info=implode(base64_encode('&%ff..x'),$form_reply);
- $form_send_data_message='?form_reply='.$form_info;
-} elseif (isset($_GET['inbox'])) {
- $form_delete=array();
- $form_delete[]=$_POST['action'];
- for ($i=0;$i
-
-
\ No newline at end of file