set('id', $id); $r->set('table', 'contact'); $r->set('phone', 'phone'); $r->set('data', $in); $r->set('mode', "insert"); $id = $r->goRow(); require_once('AKI/mailer/AkiBase.php'); $api_key = API_AKI; $client_id = API_CLIENT_ID; $campaign_id = null; if($_POST['mailer']){ $cm = new AkiMailer( $api_key, $client_id, $campaign_id, MAILER_LIST_GENERAL ); $result = $cm->subscriberAddAndResubscribe("$input[email]", "$input[first_nm] $input[last_nm]"); } if($_POST['weekly_menu_flg']){ $cm = new AkiMailer( $api_key, $client_id, $campaign_id, MAILER_LIST_WEEKLY ); $result = $cm->subscriberAddAndResubscribe("$_POST[email]", "$_POST[name]"); } ob_start(); ?>
Send Date:
Name
Phone
E-mail
   
Topic
Comments:
From = "amy@saysheate.com"; $mail->FromName = "Contact Form"; $mail->AddAddress("amy@saysheate.com"); //$mail->AddAddress("info@akicreative.net"); $mail->WordWrap = 72; // set word wrap $mail->IsHTML(true); // send as HTML $mail->Subject = "Contact Form: $in[name]"; $mail->Body = "$msg"; $mail->Send(); $success = "Y"; }else{ $default = $input; $_SESSION['UserMessage'] = "Some required information is missing."; } } if($success == "Y"){ echo "

Thank you for contacting us.

"; }elseif(false){ ?>
Name*
Phone*
E-mail*
   
Topic setName("topic"); $c->setDefault($default['topic']); $c->setOption(array("general", "General Inquiry")); $c->setOption(array("feedback", "Feedback")); $c->printSelect(); ?>
Comments*
 
 
/> Please keep me up to date with Say-She-Ate news and fun recipes.
 
"; } ?>
"; } ?>
set('id', $id); $r->set('table', 'contact'); $r->set('phone', 'phone'); $r->set('data', $in); $r->set('mode', "insert"); $id = $r->goRow(); require_once('AKI/mailer/AkiBase.php'); $api_key = API_AKI; $client_id = API_CLIENT_ID; $campaign_id = null; if($_POST['mailer']){ $cm = new AkiMailer( $api_key, $client_id, $campaign_id, MAILER_LIST_GENERAL ); $result = $cm->subscriberAddAndResubscribe("$input[email]", "$input[first_nm] $input[last_nm]"); } if($_POST['weekly_menu_flg']){ $cm = new AkiMailer( $api_key, $client_id, $campaign_id, MAILER_LIST_WEEKLY ); $result = $cm->subscriberAddAndResubscribe("$_POST[email]", "$_POST[name]"); } ob_start(); ?>
Send Date:
Name
Phone
E-mail
   
Topic
Comments:
From = "amy@saysheate.com"; $mail->FromName = "Contact Form"; $mail->AddAddress("amy@saysheate.com"); //$mail->AddAddress("steven@akicreative.com"); $mail->WordWrap = 72; // set word wrap $mail->IsHTML(true); // send as HTML $mail->Subject = "Contact Form: $in[name]"; $mail->Body = "$msg"; $mail->Send(); $success = "Y"; }else{ $default = $input; $_SESSION['UserMessage'] = "Some required information is missing."; } } if($success == "Y"){ echo "

Thank you for contacting us.

"; }else{ ?>
Name*
Phone*
E-mail*
   
Topic setName("topic"); $c->setDefault($default['topic']); $c->setOption(array("general", "General Inquiry")); $c->setOption(array("feedback", "Feedback")); $c->printSelect(); ?>
Comments*
 
 
/> Please keep me up to date with Say-She-Ate news and fun recipes.
 
/> Send me the Supper Club weekly menu.
 
set('text', $text); $c->set('left', $left); $c->set('topCode', ""); $c->printGo(); $leftCol = ob_get_contents(); ob_end_clean(); /***************** LEFT SIDEBAR END */ /***************** MAIN */ ob_start(); include 'tpl_rightCol.php'; $mainCol = ob_get_contents(); ob_end_clean(); /***************** MAIN END */ $layout = new Layout; $layout->setParam("leftCol", $leftCol); $layout->setParam("mainCol", $mainCol); $layout->twoCol(); ?>