<?php require "inc/wap.php"; WMLinit(); if (!isset($id)) { include "inc/getRequests.php"; WMLCardInit("init", "false", "List"); WMLdo("prev", "", "WRMS", "", "<prev/>"); WMLCardBody(safe_for_wap($requests)); } else { include "inc/showRequest.php"; WMLCardInit("showrequest", "false", safe_for_wap("{$title}")); WMLdo("prev", "", "List", "", "<prev/>"); WMLdo("accept", "", "Submit", "wrms.php?l=\$(lo)&p=\$(pw)&id={$id}&active=\$(active)", ""); WMLCardBody(safe_for_wap($request)); } WMLCardFinn(); WMLFinn();
<?php require "inc/wap.php"; WMLinit(); include "inc/login.php"; WMLCardInit("init", "true", "WRMS"); WMLDo("accept", "", "Submit", "wrms.php?l=\$(lo)&p=\$(pw)", ""); WMLCardBody($login); WMLCardFinn(); WMLFinn();