Example #1
0
                                    case "av_month":
                                    case "av_day":
                                    case "av_year":
                                        $this->formArray[$key] = $value;
                                        break;
                                }
                            }
                        }
                    }
                    break;
                }
        }
        $this->setForm();
        $this->tpl->set_var("Session", $this->sess->url("") . $this->sess->add_query(array("odID" => $this->formArray["odID"], "ownerID" => $this->formArray["ownerID"])));
        $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"));
//*/
$machineriesEncode = new MachineriesEncode($HTTP_POST_VARS, $afsID, $propertyID, $formAction, $sess);
$machineriesEncode->Main();
page_close();
Example #2
0
                }
                break;
            case "cancel":
                header("location: MachineriesList.php");
                exit;
                break;
            default:
                $this->tpl->set_block("rptsTemplate", "odID", "odIDBlock");
                $this->tpl->set_var("odIDBlock", "");
                $this->tpl->set_block("rptsTemplate", "ACK", "ACKBlock");
                $this->tpl->set_var("ACKBlock", "");
        }
        $this->setForm();
        $this->tpl->set_var("Session", $this->sess->url("") . $this->sess->add_query(array("odID" => $this->formArray["odID"], "ownerID" => $this->formArray["ownerID"])));
        $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"));
//*/
$machineriesEncode = new MachineriesEncode($HTTP_POST_VARS, $afsID, $machineriesID, $formAction, $sess);
$machineriesEncode->main();
page_close();