Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 26th, 2012  |  syntax: PHP  |  size: 3.60 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $data = array(
  2.         'Email' => $this->input->post('email'),
  3.         'Password' => $this->auth_lib->encrypt($this->input->post('password')),                        
  4.         'AccountType'   => UserTypes::FREE,
  5.         'AccountStatus' => AccountStatuses::DEACTIVATED,
  6.         'CategoryID'    => $this->input->post('category'),
  7.         'CompanyName' => $this->input->post('company_name'),
  8.         'Description' => $this->input->post('description'),
  9.         'Logo'          => $this->input->post('logo'),
  10.         'RegistrationDate'      => time(),
  11.         'CompleterTitle' => $this->input->post('completer-title'),
  12.         'CompleterFirstname' => $this->input->post('completer-firstname'),
  13.         'CompleterLastname' => $this->input->post('completer-lastname'),
  14.         'ContactTitle' => $this->input->post('contact-title'),
  15.         'ContactFirstname' => $this->input->post('contact-firstname'),
  16.         'ContactLastname' => $this->input->post('contact-lastname'),
  17.         'MailAddress1' => $this->input->post('mailing-1'),
  18.         'MailAddress2' => $this->input->post('mailing-2'),
  19.         'MailCity' => $this->input->post('mailing-city'),
  20.         'MailState' => $this->input->post('mailing-state'),
  21.         'MailZip' => $this->input->post('mailing-zip'),
  22.         'PhysicalAddress1' => $this->input->post('physical-1'),
  23.         'PhysicalAddress2' => $this->input->post('physical-2'),
  24.         'PhysicalCity' => $this->input->post('physical-city'),
  25.         'PhysicalState' => $this->input->post('physical-state'),
  26.         'PhysicalZip' => $this->input->post('physical-zip'),
  27.         'BusinessPhone' => $this->input->post('business-phone'),
  28.         'OtherPhone' => $this->input->post('other-phone'),
  29.         'Fax' => $this->input->post('fax-number'),
  30.         'Website' => $this->input->post('website'),
  31.         'Affiliation' => $this->input->post('affiliations'),
  32.         'Referral' => $this->input->post('referral'),
  33.         'ReferralOther' => $this->input->post('referral-other'),
  34.         'Interests' => $this->input->post('interests'),
  35.         'StartDate' => $this->input->post('start-date-m').'-'.$this->input->post('start-date-d').'-'.$this->input->post('start-date-y'),
  36.         'ProductInfo' => $this->input->post('services'),
  37.         'BusinessTypes' => $this->input->post('ownership'),
  38.         'BusinessTypesOther' => $this->input->post('ownership-other'),
  39.         'SustainablePractice' => $this->input->post('sustainable-practices'),
  40.         'SustainablePracticePlans' => $this->input->post('sustainability-other'),
  41.         'NoFullTime' => $this->input->post('employees-fulltime'),
  42.         'NoPartTime' => $this->input->post('employees-parttime'),
  43.         'NoContractors' => $this->input->post('contractors'),
  44.         'EmployeeBenefits' => implode(',',$this->input->post('policies')),
  45.         'EmployeeBenefitsOther' => $this->input->post('policies-other'),
  46.         'WageStructure' => $this->input->post('wage-structure'),
  47.         'LowestWage' => $this->input->post('lowest-wage'),
  48.         'HighestWage' => $this->input->post('highest-wage'),
  49.         'Voice' => $this->input->post('voice'),
  50.         'VoiceOther' => $this->input->post('voice-other'),
  51.         'FinancialContributions' => $this->input->post('financial-contributions'),
  52.         'FinancialContributionsNames' => $this->input->post('financial-contributions-name'),
  53.         'TimeContributions' => $this->input->post('time-contributions'),
  54.         'TimeContributionNames' => $this->input->post('time-contributions-name'),
  55.         'CommunityContributions' => $contributions,
  56.         'ContributionsOther' => $this->input->post('contributions-other'),
  57.         'Ecology' => implode(',',$this->input->post('ecology')),
  58.         'CarbonOffsets' => $this->input->post('carbon-offsets'),
  59.         'CarbonOffsetsInfo' => $this->input->post('carbon-offsets-for'),
  60.         'Rideshare' => $this->input->post('rideshare'),
  61.         'RideshareHow' => $this->input->post('rideshare-how'),
  62.         'ResponsibleProduce' => $this->input->post('environmentally-responsible'),
  63.         'ResponsibleProduceInfo' => $this->input->post('responsible-how')
  64. );