Exemplo n.º 1
0
function do_removefriend()
{
    global $db, $main_smarty, $user, $the_template;
    $friend = new Friend();
    $output = '<br /><center> ';
    $output .= '<h2>Successfully Removed Friend!</h2>';
    $friend->remove($user->id);
    $output .= '</center>';
    $main_smarty->assign('user_page', $output);
}
Exemplo n.º 2
0
function do_removefriend()
{
    global $db, $main_smarty, $user, $the_template;
    $friend = new Friend();
    $friend->remove($user->id);
}
Exemplo n.º 3
0
function do_removefriend()
{
    global $db, $user, $the_template;
    $friend = new Friend();
    echo '<br><center><span class="success" style="border:solid 1px #269900; padding: 2px 2px 2px 2px"><img src="' . my_pligg_base . '/templates/' . $the_template . '/images/green_check.gif" align="absmiddle"> ';
    $friend->remove($user->id);
    echo '</span></center>';
}