$afs->setDomDocument(); $doc = $afs->getDomDocument(); $xmlStr = $doc->dump_mem(true); //print_r($AFSEncode); //echo $xmlStr; if (!($ret = $AFSEncode->updateAFS($xmlStr))) { echo "ret=" . $ret; } //echo $ret; $this->setForm(); $this->setPageDetailPerms(); $this->tpl->set_var("uname", $this->user["uname"]); $this->tpl->set_var("today", date("F j, Y")); $this->tpl->set_var("Session", $this->sess->url("") . $this->sess->add_query(array("afsID" => $this->formArray["afsID"]))); $this->tpl->parse("templatePage", "rptsTemplate"); $this->tpl->finish("templatePage"); $this->tpl->p("templatePage"); } } ##################################### # Define Procedures and Functions ##################################### ########################################################## # Begin Program Script ########################################################## //* page_open(array("sess" => "rpts_Session", "auth" => "rpts_Challenge_Auth")); //*/ $ownerList = new AFSDetails($HTTP_POST_VARS, $sess, $afsID, $type, $rptopID); $ownerList->main(); page_close();
$afs->setDomDocument(); $doc = $afs->getDomDocument(); $xmlStr = $doc->dump_mem(true); //print_r($AFSEncode); //echo $xmlStr; if (!($ret = $AFSEncode->updateAFS($xmlStr))) { echo "ret=" . $ret; } //echo $ret; $this->setForm(); $this->setPageDetailPerms(); $this->tpl->set_var("uname", $this->user["uname"]); $this->tpl->set_var("today", date("F j, Y")); $this->tpl->set_var("Session", $this->sess->url("") . $this->sess->add_query(array("afsID" => $this->formArray["afsID"]))); $this->tpl->parse("templatePage", "rptsTemplate"); $this->tpl->finish("templatePage"); $this->tpl->p("templatePage"); } } ##################################### # Define Procedures and Functions ##################################### ########################################################## # Begin Program Script ########################################################## //* page_open(array("sess" => "rpts_Session", "auth" => "rpts_Challenge_Auth")); //*/ $afsDetails = new AFSDetails($HTTP_POST_VARS, $sess, $afsID, $type, $transactionCode); $afsDetails->main(); page_close();