<?php include_once "../include/userobject.php"; include_once "../include/linklist.php"; $l = new LinkList($u = new UserObject()); header("content-type: text/xml"); echo "<user>\r\n\t<id>{$u->id}</id>\r\n\t<username>{$u->username}</username>\r\n\t<access>{$u->access}</access>\r\n\t<firstname>{$u->firstname}</firstname>\r\n\t<lastname>{$u->lastname}</lastname>\r\n\t<dob>{$u->dob}</dob>\r\n\t<billable>{$u->billable}</billable>\r\n\t<email>{$u->email}</email>\r\n\t<connection>"; echo $u->isLocal ? "On LAN" : "On Internet"; echo "</connection>\r\n\t<ip>{$_SERVER['REMOTE_ADDR']}</ip>\r\n\t<skin>{$u->getSkin()}</skin>\r\n</user>";