getInsert(); $corpInsert->addPair("evname",ts("evname")); $purpose = ts("purpose"); if($purpose == "Other:") $purpose = "Other: ".ts("other_purpose"); $corpInsert->addPair("purpose",$purpose); $corpInsert->addPair("employeesnr",ts("employeesnr")); if(ts("date") != "") $corpInsert->addPair("date",date_dmY2mysql(ts("date"))); else { $corpInsert->addPair("date",ts("date_range")); } $departments = $_REQUEST["departments"]; array_shift($departments); if(in_array("Other:", $departments)) $departments[array_search('Other:', $departments)] = "Other: ".ts("other_departments"); $corpInsert->addPair("departments",implode(", ",$departments)); $corpInsert->addPair("interract",ts("interract")); $decision = ts("decisionmk"); if($decision == "No") $decision = "No, will help me: ".ts("whodec"); $corpInsert->addPair("decisionmk",$decision); $corpInsert->addPair("fin_date", date_dmY2mysql(ts("fin_date"))); $budget = ts("budget"); if(ts("budget")=="Under:") $budget = ts("budget_under"); if(ts("budget")=="Over:") $budget = ts("budget_over"); $corpInsert->addPair("budget",$budget); $corpInsert->addPair("entertainment",ts("entertainment")); $corpInsert->addPair("email",ts("email")); $corpInsert->addPair("planner_name",ts("planner_name")); $corpInsert->addPair("phone",ts("phone")); $corpInsert->addPair("password",ts("password")); $corpInsert->addPair("note",ts("note")); $corpInsert->setTable("corpEvents"); return $dal->executeInsert($corpInsert); } function checkDuplicateEvent($evname, $password){ global $dal; $rDS = $dal->doSql("SELECT * FROM corpEvents WHERE evname = '".$evname."' and password = '".$password."'"); if($rDS[0]>0) { $this->updateErrors['password'] = "This event and this password already in database!"; ?>doValidate("isMandatory","evname", "Please type the name of the event!"); $validator->doValidate("isCompared","evname", "The event name confirmation is not correct!", ts("confevname"),"=="); $validator->doValidate("isMandatory","purpose", "Please select the purpose!"); $validator->doValidate("isMandatory","employeesnr", "Please select the appropriate number of attendees!"); $validator->doValidate("isMandatoryMultipleSelect","departments", "Please select the departments involved!"); $validator->doValidate("isMandatory","interract", "Please select the appropriate answer!"); $validator->doValidate("isMandatory","decisionmk", "Please select the appropriate answer!"); $validator->doValidate("isMandatory","fin_date", "Please type the date!"); $validator->doValidate("isDate","fin_date", "Please type a valid date (in this format: MM/DD/YYYY)!"); if(ts("decisionmk") == "No"){ $validator->doValidate("isMandatory","whodec", "Please type who will be working with you make this decision!"); $validator->doValidate("isName","whodec", "Please specify an appropriate name!"); } $validator->doValidate("isMandatory","budget", "Please select the budget!"); $validator->doValidate("isMandatory","email", "Please type your e-mail!"); $validator->doValidate("isEmail","email", "The e-mail address is invalid"); $validator->doValidate("isMandatory","planner_name", "Please enter your name!"); $validator->doValidate("isName","planner_name", "Please specify an appropriate name!"); $validator->doValidate("isMandatory","phone", "Please type the phone number!"); $validator->doValidate("isFormatedPhone","phone", "The format of the phone number is invalid!"); $validator->doValidate("isMandatory","password", "Please type a password!"); $validator->doValidate("isAlphaNumStrict","password", "Password not valid!"); $validator->doValidate("isCompared","password", "The password confirmation is not correct!", ts("confpassword"),"=="); if(ts("purpose")=="Other:") { $validator->doValidate("isMandatory","other_purpose", "Please specify the other purpose!"); $validator->doValidate("isName","other_purpose", "Please specify an appropriate purpose!"); } if(ts("departments")!==false && in_array("Other:",ts("departments"))) { $validator->doValidate("isMandatory","other_departments", "Please specify other departments!"); $validator->doValidate("isName","other_departments", "Please specify appropriate departments!"); } //$leng=10; if (ts("entertainment")!=''){ $validator->doValidate("isMandatory","entertainment", "Please specify an appropriate entertainment!"); $validator->doValidate("maxLength","entertainment", "No more than 200 characters please!"); } if (ts("note")!=''){ $validator->doValidate("isMandatory","note", "Please specify any additional comments!"); $validator->doValidate("maxLength","note", "No more than 200 characters please!"); } if ((ts("date") == '') && (ts("date_range") == '')) { $validator->doValidate("isMandatory","date", "Please specify either a date or a date range!"); } else { if (ts("date") == '') { $validator->doValidate("isMandatory","date_range", "Please specify a date range!"); } if (ts("date_range") == '') { $validator->doValidate("isDate","date", "Please type a valid date (in this format: MM/DD/YYYY)!"); $validator->doValidate("isMandatory","date", "Please specify the date (in this format: MM/DD/YYYY)!"); $validator->doValidate("isLessDaysBefore","fin_date", "These dates are very close together.Please contact O' Ollie directly at (510) 558-8611.", ts("date"), 7); $validator->doValidate("isComparedDate","fin_date", "The plan finalize date is bigger than the event date!", ts("date"), "<="); } } if(ts("decisionmk")=="No") $validator->doValidate("isMandatory","whodec", "Please specify who will be working with you make this decision!"); if(ts("budget")=="Under:") $validator->doValidate("isMandatory","budget_under", "Please specify the budget!"); if(ts("budget")=="Over:") $validator->doValidate("isMandatory","budget_over", "Please specify the budget!"); $validator->checkErrors(); if($validator->isValid === true) return checkDuplicateEvent(ts('evname'), ts('password')); else {$err_message = '
'."One or more of your answers is incomplete or incorrect, please check below!".""; return $validator->errorList;} } ?> O'Ollie Entertainment, Inc.


You're done! You will receive an e-mail confirmation and a telephone call (if a number was given) from O'Ollie within the next two business days. The e-mail conformation will contain a link for the Party Planner page. When you receive this e-mail, simply forward it to as many people as you feel would help make this a great event (i.e. yourself, the host, the hosts best friends, most entertaining people attending or all of the participants…whatever you want). We’ll do the rest. Once we have all the responses, we’ll call you to set up your no-cost pitch (usually within two or three days).

If you’re in a huge hurry, you can call us at 510-558-8611 and we’ll make every effort to accommodate you.

We look forward to working with you to create a once in a lifetime event!