'opts' => 'Yes',
'val' => array(0, 1)
);
+ $e[] = array(
+ 'type' => 'advcheckbox',
+ 'req' => false,
+ 'name' => 'eclub',
+ 'display' => 'I would like to sign up for the Gaylord Golf Mecca E-club',
+ 'opts' => 'Yes',
+ 'val' => array(0, 1)
+ );
+ $e[] = array(
+ 'type' => 'advcheckbox',
+ 'req' => false,
+ 'name' => 'giveaway',
+ 'display' => 'Register me to WIN the Gaylord Golf Giveaway!',
+ 'opts' => 'Yes',
+ 'val' => array(0, 1)
+ );
+ $e[] = array(
+ 'type' => 'advcheckbox',
+ 'req' => false,
+ 'name' => 'big_giveaway',
+ 'display' => 'Register me to WIN the Great Big Gaylord Golf Getaway!',
+ 'opts' => 'Yes',
+ 'val' => array(0, 1)
+ );
if (is_array($this->interestsGroups)) {
foreach ($this->interestsGroups as $group => $gData) {
$this->myGroups[] = $gData;
public function configureDefaults()
{
$defaults = array(
- 'state' => '',
- 'mail_ok' => 1
+ 'state' => '',
+ 'mail_ok' => 1,
+ 'big_giveaway' => 1,
+ 'giveaway' => 1,
+ 'eclub' => 1,
+ 'golfvacation' => 1
);
if (defined("MEMBERS_DB") && MEMBERS_DB) {
$defaults['members'] = 1;
$e[] = array(
'type' => 'advcheckbox',
'req' => false,
- 'name' => 'giveaway',
+ 'name' => 'big_giveaway',
'display' => '',
- 'opts' => 'Yes, Register me to WIN the Gaylord Golf Giveaway!',
+ 'opts' => 'Yes, Register me to WIN the Gaylord Golf Getaway!',
'val' => array(0, 1)
);
$e[] = array(
.listing {display:none;}
</style>
<div id="form-success-top">
- Thank you for requesting the Visitors guide.
+ Thank you for requesting the Golf Vacation Planner.
</div>';
/**
* Email subject and <h1> header in email
* @var string
* @access protected
*/
- public $subject = "Visitor Guide Form from website";
+ public $subject = "Golf Vacation Planner Request";
/**
* Class constructor
$e[] = array(
'type' => 'advcheckbox',
'req' => false,
- 'name' => 'planner',
+ 'name' => 'golfvacation',
'display' => '',
'opts' => 'Golf Vacation Planner',
'val' => array(0, 1)
private $_discover;
private $_password;
private $_verify_password;
+ private $_giveaway;
+ private $_eclub;
+ private $_big_giveaway;
+ private $_golfvacation;
/**
* Contructor for class Contact Objects
->setMembers($members)
->setMemberOk($member_ok)
->setPassword($password)
- ->setVerifyPassword($verify_password);
+ ->setVerifyPassword($verify_password)
+ ->setGiveaway($giveaway)
+ ->setGolfvacation($golfvacation)
+ ->setEclub($eclub)
+ ->setBig_giveaway($big_giveaway);
if ($id) {
$this->setId($id);
}
public function setVerifyPassword($verifyPassword)
{
$this->_verify_password = $verifyPassword;
+ return $this;
+ }
+
+ function getGiveaway()
+ {
+ return $this->_giveaway;
+ }
+
+ function getEclub()
+ {
+ return $this->_eclub;
+ }
+
+ function getBig_giveaway()
+ {
+ return $this->_big_giveaway;
+ }
+
+ function getGolfvacation()
+ {
+ return $this->_golfvacation;
+ }
+
+ function setGiveaway($giveaway)
+ {
+ $this->_giveaway = $giveaway;
+ return $this;
+ }
+
+ function setEclub($eclub)
+ {
+ $this->_eclub = $eclub;
+ return $this;
+ }
+
+ function setBig_giveaway($big_giveaway)
+ {
+ $this->_big_giveaway = $big_giveaway;
+ return $this;
+ }
+
+ function setGolfvacation($golfvacation)
+ {
+ $this->_golfvacation = $golfvacation;
+ return $this;
}