require_once ( "common.php" ) ; $MAXLIST = 5 ; // maximum number of messages/links to be listed $baseqry = ' id, title, body, submitter, approver, lastupdated ' ; error_reporting ( 1 ) ; // turn off error messages Header ( "Content-Type: text/html" ) ; $MSERVER = $_COOKIE['MSERVER'] ; $DBSTR = $_COOKIE['DBSTR'] ; $userid = $_COOKIE['userid'] ; $user = $_COOKIE['user'] ; $pwd = $_COOKIE['pwd'] ; $uyname = $_COOKIE['uyname'] ; // name of user in Uyghur $utype = $_COOKIE['utype'] ; // usertype -- root, admin, modown, basic, etc. if ( ! $DBSTR ) { $DBSTR = 'dbname=mail user=amhmd' ; } $logok = false ; if ( $user && $pwd && $utype ) { // if user is logged in $mbox = imap_open ( $MSERVER, $user, $pwd ) ; if ( $mbox ) { $logok = true ; $mstatus = imap_status($mbox, "{$MSERVER}INBOX", SA_ALL) ; $nonewmsg = $mstatus->unseen ; // see if there is any new message in user's mailbox } else { // echo imap_last_error() ; } } $dbconn = pg_connect ( $DBSTR ) ; ?>
![]() |
![]() |
print_news( $dbconn, $MAXLIST ) ;
print_proj( $dbconn, $MAXLIST, 'uyghur' ) ;
print_proj( $dbconn, $MAXLIST, 'transloc' ) ;
?>
ئىزدەش
|
readfile ( "headlines.htm" ) ;
?>
|
|
يۇلغۇن ئەترىتى | 2011-2004 © | The Yulghun Team |
|