Example #1
0
        }
    }
    // send messages using the pingback protocol
    if ($person->get_pingback() != null) {
        $ret .= "<td style=\"padding-right: 10px; float: left;\"><form action=\"messages.php\" method=\"GET\">\n";
        $ret .= "<input type=\"hidden\" name=\"new\" value=\"true\">\n";
        $ret .= "<input type=\"hidden\" name=\"to\" value=\"" . $_REQUEST['webid'] . "\">\n";
        $ret .= "<input src=\"img/actions/message.png\" type=\"image\" title=\"Send a message\" name=\"submit\" value=\" Message \" onclick=\"this.form.target='_blank';return true;\">\n";
        $ret .= "</form></td>\n";
    }
    // more functions if the user has previously subscribed to the local services
    if ($is_subscribed) {
        // Post on the user's wall
        $ret .= "<td style=\"padding-right: 10px; float: left;\"><form action=\"wall.php\" method=\"POST\">\n";
        $ret .= "<input type=\"hidden\" name=\"user\" value=\"" . $person->get_hash() . "\">\n";
        $ret .= "<input src=\"img/actions/wall.png\" type=\"image\" title=\"View posts\" name=\"submit\" value=\" Wall \" onclick=\"this.form.target='_blank';return true;\">\n";
        $ret .= "</form></td>\n";
    }
    $ret .= "</tr></table>\n";
    if (isset($_REQUEST['html']) && $_REQUEST['html'] == '0') {
        $ret .= $graph->dump();
    } else {
        $ret .= viewProfile($graph, $profile, urldecode($_REQUEST['webid']), BASE_URI, SPARQL_ENDPOINT);
    }
    $ret .= '</div>';
}
echo $ret;
include 'footer.php';
?>
        
        $template->setPage("Content", userProfileForm(true));
        break;
    case "edituser":
        $template->setPage("Title", "Edit-AdminUser::Registeration");
        $template->setPage("Content", userProfileForm(true));
        break;
    case "viewusers":
        $template->setPage("Title", "Preview::AdminUsers ");
        //$content ="<p>Some information on user profile viewer (Table list of Admin.)</p>";//
        $template->setPage("Content", usersDetailTable());
        break;
    case "profile":
        $template->setPage("Title", "Preview::Profile");
        //$content ="<p>Some information on user profile viewer (Table list of Admin.)</p>";
        $template->setPage("Content", $content);
        break;
    case "delete":
        echo delUser();
        header("Location: index.php");
        break;
    case "changepass":
        $template->setPage("Title", "Change My Password");
        $template->setPage("Content", changePassword());
        break;
    default:
        $template->setPage("Title", "My Profile ");
        $template->setPage("Content", viewProfile());
        break;
}
$template->setPage("Footer", ADMIN_FOOTER);
include_once "../" . TEMPLATE_DIR . SITE_TEMPLATE . ADMIN_LAYOUT;
Example #3
0
     acceptDateRequest();
     break;
 case 'declineDateRequest':
     declineDateRequest();
     break;
 case 'assignGroup':
     assignGroup();
     break;
 case 'profileSearch':
     profileSearch();
     break;
 case 'dateForm':
     dateForm();
     break;
 case 'viewProfile':
     viewProfile();
     break;
 case 'viewGroup':
     viewGroup();
     break;
 case 'createChatGroup':
     createChatGroup();
     break;
 case 'updateChatGroupImage':
     updateChatGroupImage();
     break;
 case 'chat':
     chat();
     break;
 case 'dateRequest':
     dateRequest();
Example #4
0
} elseif ($act == "guestInfo") {
    $mes = guestInfo();
} elseif ($act == "guestAllInfo") {
    $mes = guestAllInfo();
} elseif ($act == "guestPre") {
    $mes = guestPre();
} elseif ($act == "guestArrival") {
    $mes = guestArrival();
} elseif ($act == "guestDeparture") {
    $mes = guestDeparture();
} elseif ($act == "guestPriceIntro") {
    $mes = guestPriceIntro();
} elseif ($act == "addDest") {
    $mes = addDest();
} elseif ($act == "viewProfile") {
    $mes = viewProfile();
} elseif ($act == "changePwd") {
    $mes = changePwd();
} elseif ($act == "unShowHouse") {
    $mes = unShowHouse();
} elseif ($act == "unShowRequest") {
    $mes = unShowRequest();
} elseif ($act == "delBookGuest") {
    $mes = delBookGuest($id_guest, $id_host);
} elseif ($act == "delBookHost") {
    $mes = delBookHost($id_host, $id_guest);
} elseif ($act == "cancelGuestBook") {
    $mes = cancelGuestBook($id_guest, $id_host);
} elseif ($act == "cancelHostBook") {
    $mes = cancelHostBook($id_host, $id_guest);
} elseif ($act == "acceptGuestBook") {