Просмотр файла wap_snapshot/wap_privmsg_old.php

Размер файла: 0.99Kb
<?php
session_start();
include('wap_common.php');

if(!isset($_SESSION['un']) || $_SESSION['un'] = ""){
    wapheader();
    start_card("id","Error");
    print("<p>You must be logged in to check PMs</p>");
    print("<p>Hit the back button on your browser or login <a href=\"wap_login.php\">HERE</a></p>");
    end_card();
    print("</wml>");
}else{

$op = $HTTP_GET_VARS['op'];


switch($op){
    case "inbox":
    break;
    case "sent":
    break;
    case "outbox":
    break;
    case "post":
    break;
    case "":
    default:
        wapheader();
        start_card("id","PM Menu");
        print("<p><a href=\"wap_privmsg.php?op=inbox\">Inbox</a></p>");
        print("<p><a href=\"wap_privmsg.php?op=sent\">Sent Items</a></p>");
        print("<p><a href=\"wap_privmsg.php?op=outbox\">Outbox</a></p>");
        print("<p><a href=\"wap_privmsg.php?op=post\">Send New PM</a></p>");
        
    break;
}

end_card();
print("</wml>");


}
    





?>