|
|
|
|
@ -24,7 +24,7 @@ $list_get_invitation=UserFriend::get_list_invitation_of_friends_by_user_id($user |
|
|
|
|
$list_get_path_web=UserFriend::get_list_web_path_user_invitation_by_user_id($user_id); |
|
|
|
|
$number_loop=count($list_get_invitation); |
|
|
|
|
if ($number_loop==0) { |
|
|
|
|
Display::display_normal_message(get_lang('YouDontHaveInvites')); |
|
|
|
|
Display::display_normal_message(utf8_encode(get_lang('YouDontHaveInvites'))); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
for ($i=0;$i<$number_loop;$i++) { |
|
|
|
|
@ -35,7 +35,7 @@ for ($i=0;$i<$number_loop;$i++) { |
|
|
|
|
<td width="600" height="20" valign="top"><table width="100%" border="0" |
|
|
|
|
cellpadding="0" cellspacing="0" bgcolor="#9DACBF"> |
|
|
|
|
<tr> |
|
|
|
|
<td width="600" height="20" valign="top"><div align="left"><?php echo get_lang('RequestContact'); ?></div></td>
|
|
|
|
|
<td width="600" height="20" valign="top"><div align="left"><?php echo utf8_encode(get_lang('RequestContact')); ?></div></td>
|
|
|
|
|
</tr> |
|
|
|
|
</table></td> |
|
|
|
|
</tr> |
|
|
|
|
@ -68,7 +68,7 @@ width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
|
|
|
<?php
|
|
|
|
|
$user_id=$list_get_invitation[$i]['user_sender_id']; |
|
|
|
|
$user_info=api_get_user_info($user_id); |
|
|
|
|
echo $user_info['firstName'].' '.$user_info['lastName']; |
|
|
|
|
echo utf8_encode($user_info['firstName']).' '.utf8_encode($user_info['lastName']); |
|
|
|
|
?></td> |
|
|
|
|
</tr> |
|
|
|
|
</table></td> |
|
|
|
|
@ -87,9 +87,9 @@ border="0" cellpadding="0" cellspacing="0"> |
|
|
|
|
border="0" cellpadding="0" cellspacing="0"> |
|
|
|
|
<tr> |
|
|
|
|
<td width="500" height="22" valign="top"><?php |
|
|
|
|
$title=$list_get_invitation[$i]['title']; |
|
|
|
|
$content=$list_get_invitation[$i]['content']; |
|
|
|
|
echo $title.' '.$content; |
|
|
|
|
$title=get_lang($list_get_invitation[$i]['title']); |
|
|
|
|
$content=get_lang($list_get_invitation[$i]['content']); |
|
|
|
|
echo utf8_encode($title).' : '.utf8_encode($content); |
|
|
|
|
?> </td> |
|
|
|
|
</tr> |
|
|
|
|
</table></td> |
|
|
|
|
@ -109,8 +109,8 @@ border="0" cellpadding="0" cellspacing="0"> |
|
|
|
|
cellpadding="0" cellspacing="0" bgcolor="#9DACBF"> |
|
|
|
|
<tr> |
|
|
|
|
<td width="600" height="25" valign="top"><div align="right"> |
|
|
|
|
<input type="submit" name="btn_accepted" id="<?php echo "btn_accepted_".$user_id ?>" value="<?php echo get_lang('Accept'); ?>" onclick="javascript:register_friend(this)" />
|
|
|
|
|
<input type="submit" name="btn_denied" id="<?php echo "btn_deniedst_".$user_id ?>" value="<?php echo get_lang('Deny'); ?>" onclick="javascript:denied_friend(this)" />
|
|
|
|
|
<input type="submit" name="btn_accepted" id="<?php echo "btn_accepted_".$user_id ?>" value="<?php echo utf8_encode(get_lang('Accept')); ?>" onclick="javascript:register_friend(this)" />
|
|
|
|
|
<input type="submit" name="btn_denied" id="<?php echo "btn_deniedst_".$user_id ?>" value="<?php echo utf8_encode(get_lang('Deny')); ?>" onclick="javascript:denied_friend(this)" />
|
|
|
|
|
</div></td> |
|
|
|
|
</tr> |
|
|
|
|
</table></td> |
|
|
|
|
|