<?php require dirname(__FILE__) . '/../../../includes/prepend.inc.php'; QApplication::AuthenticatePublic(true); class PublicLoginForm extends ChmsForm { protected $strPageTitle = 'Registration Details'; protected $pnlDetailsMain; protected $pnlDetailsAddress; public $objHomeAddressValidator; public $objMailingAddressValidator; public $btnSave; public $btnGoBack; protected $lblUsername; protected $lblName; protected $lblEmail; protected $txtPassword; protected $txtConfirmPassword; protected $lstQuestion; protected $txtQuestion; protected $txtAnswer; protected $txtHomeAddress1; protected $txtHomeAddress2; protected $txtHomeCity; protected $lstHomeState; protected $txtHomeZipCode; protected $rblMailingAddress; protected $txtMailingAddress1; protected $txtMailingAddress2; protected $txtMailingCity; protected $lstMailingState;
<?php require dirname(__FILE__) . '/../../../includes/prepend.inc.php'; QApplication::AuthenticatePublic(); class PaymentSignupQForm extends ChmsForm { protected $strPageTitle = null; /** * @var SignupForm */ protected $objSignupForm; /** * @var SignupEntry */ protected $objSignupEntry; protected $objChild; protected $dtgProducts; protected $lstRequiredWithChoice; protected $rblDeposit; protected $btnRegister; /** * @var PaymentPanel */ protected $pnlPayment; protected function Form_Create() { // Attempt to load by Token and then by ID $this->objSignupForm = SignupForm::LoadByToken(QApplication::PathInfo(0)); if (!$this->objSignupForm) { $this->objSignupForm = SignupForm::Load(QApplication::PathInfo(0)); }
<?php require dirname(__FILE__) . '/../../../includes/prepend.inc.php'; QApplication::AuthenticatePublic(false); QApplication::Redirect('/give');