from = $value; } function getFrom() { return $this->from; } function setTo($value) { $this->to = $value; } function getTo() { return $this->to; } function setPath($value) { $this->path = $value; } function getPath() { return $this->path; } } // // user // class UserInfo { var $UserName; var $Password; var $Role; function setUserName($value) { $this->UserName = $value; } function getUserName() { return $this->UserName; } function setPassword($value) { $this->Password = $value; } function getPassword() { return $this->Password; } function setRole($value) { $this->Role = $value; } function getRole() { return $this->Role; } } // // website // class Website { var $websiteKey; var $website; var $userName; var $password; var $validatePhone; var $filterIP; var $filterStates; function setWebsiteKey($value) { $this->websiteKey = $value; } function getWebsiteKey() { return $this->websiteKey; } function setWebsite($value) { $this->website = $value; } function getWebsite() { return $this->website; } function setUserName($value) { $this->userName = $value; } function getUserName() { return $this->userName; } function setPassword($value) { $this->password = $value; } function getPassword() { return $this->password; } function setValidatePhone($value) { $this->validatePhone = $value; } function getValidatePhone() { return $this->validatePhone; } function setFilterIP($value) { $this->filterIP = $value; } function getFilterIP() { return $this->filterIP; } function setFilterStates($value) { $this->filterStates = $value; } function getFilterStates() { return $this->filterStates; } function getFTPUrl() { $www = substr($this->website, 0, 4); if (strcasecmp($www, "www.") == 0) { return substr($this->website, 4); } else { return $this->website; } } } // // all the html body parts // getDisplayRightSide, getDisplayRightSide, getDisplayRightSide are used for outputting evaluated parts to the screen (contain php code) // class Page { var $pageKey; var $websiteKey; var $name; var $displayName; var $title; var $description; var $keywords; var $metaTag; var $header; var $leftSide; var $body; var $rightSide; var $footer; var $footerLink; var $javascript; var $phpscript; var $google; var $affiliate; var $requestInfo; function setPageKey($value) { $this->pageKey = $value; } function getPageKey() { return $this->pageKey; } function setWebsiteKey($value) { $this->websiteKey = $value; } function getWebsiteKey() { return $this->websiteKey; } function setName($name) { $this->name = $name; } function getName() { return $this->name; } function setDisplayName($displayName) { $this->displayName = $displayName; } function getDisplayName() { return $this->displayName; } function setTitle($title) { $this->title = $title; } function getTitle() { return $this->title; } function setDescription($description) { $this->description = $description; } function getDescription() { return $this->description; } function setKeywords($keywords) { $this->keywords = $keywords; } function getKeywords() { return $this->keywords; } function setMetaTag($metaTag) { $this->metaTag = $metaTag; } function getMetaTag() { return $this->metaTag; } function setHeader($header) { $this->header = $header; } function getHeader() { return $this->header; } function setLeftSide($leftSide) { $this->leftSide = $leftSide; } function getLeftSide() { return $this->leftSide; } function setBody($body) { $this->body = $body; } function getBody() { return $this->body; } function setRightSide($rightSide) { $this->rightSide = $rightSide; } function getRightSide() { return $this->rightSide; } function setFooter($footer) { $this->footer = $footer; } function getFooter() { return $this->footer; } function setFooterLink($footerLink) { $this->footerLink = $footerLink; } function getFooterLink() { return $this->footerLink; } function setJavascript($javascript) { $this->javascript = $javascript; } function getJavascript() { return $this->javascript; } function setPhpscript($phpscript) { $this->phpscript = $phpscript; } function getPhpscript() { return $this->phpscript; } function getGoogle() { return $this->google; } function setGoogle($google) { $this->google = $google; } function getAffiliate() { return $this->affiliate; } function setAffiliate($affiliate) { $this->affiliate = $affiliate; } function getRequestInfo() { return $this->requestInfo; } function setRequestInfo($requestInfo) { $this->requestInfo = $requestInfo; } } class LinkSettings { var $linkSettingsKey; var $before; var $after; var $websiteKey; function setLinkSettingsKey($value) { $this->linkSettingsKey = $value; } function getLinkSettingsKey() { return $this->linkSettingsKey; } function setBefore($value) { $this->before = $value; } function getBefore() { return $this->before; } function setAfter($value) { $this->after = $value; } function getAfter() { return $this->after; } function setWebsiteKey($value) { $this->websiteKey = $value; } function getWebsiteKey() { return $this->websiteKey; } } class EmailSettings { var $emailSettingsKey; var $from; var $to; var $cc; var $subject; var $redirect; var $saveemail; var $savefile; var $fieldname; var $multiemail; var $emailarray; var $websiteKey; function setEmailSettingsKey($value) { $this->emailSettingsKey = $value; } function getEmailSettingsKey() { return $this->emailSettingsKey; } function setFrom($value) { $this->from = $value; } function getFrom() { return $this->from; } function setTo($value) { $this->to = $value; } function getTo() { return $this->to; } function setCC($value) { $this->cc = $value; } function getCC() { return $this->cc; } function setSubject($value) { $this->subject = $value; } function getSubject() { return $this->subject; } function setRedirect($value) { $this->redirect = $value; } function getRedirect() { return $this->redirect; } function setSaveEmail($value) { $this->saveemail = $value; } function getSaveEmail() { return $this->saveemail; } function setSaveFile($value) { $this->savefile = $value; } function getSaveFile() { return $this->savefile; } function setFieldName($value) { $this->fieldname = $value; } function getFieldName() { return $this->fieldname; } function setMultiEmail($value) { $this->multiemail = $value; } function getMultiEmail() { return $this->multiemail; } function setEmailArray($value) { $this->emailarray = $value; } function getEmailArray() { return $this->emailarray; } function setWebsiteKey($value) { $this->websiteKey = $value; } function getWebsiteKey() { return $this->websiteKey; } } class Affiliates { var $affiliate_key; var $affiliateName; var $affiliateCode; var $websiteKey; function setAffiliate_key($value) { $this->affiliate_key = $value; } function getAffiliate_key() { return $this->affiliate_key; } function setAffiliateName($value) { $this->affiliateName = $value; } function getAffiliateName() { return $this->affiliateName; } function setAffiliateCode($value) { $this->affiliateCode = $value; } function getAffiliateCode() { return $this->affiliateCode; } function setWebsiteKey($value) { $this->websiteKey = $value; } function getWebsiteKey() { return $this->websiteKey; } } class Link { var $LinkKey; var $Link; var $LinkText; var $WebsiteKey; function setLinkKey($value) { $this->LinkKey = $value; } function getLinkKey() { return $this->LinkKey; } function setLink($value) { $this->Link = $value; } function getLink() { return $this->Link; } function setLinkText($value) { $this->LinkText = $value; } function getLinkText() { return $this->LinkText; } function setWebsiteKey($value) { $this->WebsiteKey = $value; } function getWebsiteKey() { return $this->WebsiteKey; } } // // information about states // class State { var $stateName; var $state; function setStateName($stateName) { $this->stateName = $stateName; } function getStateName() { return $this->stateName; } function setState($state) { $this->state = $state; } function getState() { return $this->state; } } // // information about city // class City { var $state; var $city; var $keywrods; function setState($state) { $this->state = $state; } function getState() { return $this->state; } function setCity($city) { $this->city = $city; } function getCity() { return $this->city; } function setKeywords($keywords) { $this->keywords = $keywords; } function getKeywords() { return $this->keywords; } } ?>