Sign up for 2016 Fall Bible Studies

Save As in your // browser menu and choose the file name ( should end with .php ) // -------------------------------------------------------------- // Warning: Please do not modify the PHP code of this form, unless // you know what you do. // Form data names and variables error_reporting(0); define('GLOBAL_MESSAGE','global_message'); define('DOMAIN','http://app.emailmeform.com/'); define('BASE_URL','http://app.emailmeform.com/builder/'); define('ASSETS_DOMAIN','//assets.emailmeform.com/'); define('ASSETS_BASE_URL','//assets.emailmeform.com/builder/'); define('ATTACHMENT_MAX_SIZE','10M'); $data['form_id']='3487122'; $data['user_id']='295837'; $data['UserId']='295837'; $data['Username']='cindyhott'; $data['Password']='6d626f05f56ba4cced25df650593c171'; $data['Status']='active'; $data['SignupDate']='2010-02-02 20:12:13'; $data['SignupIP']=''; $data['SignupHost']=''; $data['SignupCode']='ZtYzmewceiBVJRBofZBIJOcu3RS4PE2X'; $data['ApprovedDate']='2010-02-02 20:12:52'; $data['Newsletter']='1'; $data['PoweredBy']='1'; $data['SaveEmails']='0'; $data['Referer']='http://www.google.com/search?hl=en&source=hp&q=free+php+form+generator&aq=f&aqi=g1g-m1&oq='; $data['Plan']='1'; $data['UpgradeDate']='2013-07-31 22:13:01'; $data['AccessLevel']='0'; $data['LastLogin']='2016-08-28 17:45:49'; $data['Entries']='1'; $data['LastEntry']='2016-08-28 16:59:09'; $data['LastShowUpgrade']='0000-00-00 00:00:00'; $data['LastShowMonthlyUpgrade']='2016-08-28 16:43:30'; $data['EmailNewsletter']='0'; $data['CloudSize']='0'; $data['Note']=''; $data['OverdueDate']=''; $data['EnableTempEnterprisePlan']='0'; $data['NextBillingDate']='2016-08-31 00:00:00'; $data['EasyEmbedEnabled']='0'; $data['DeletedDate']=''; $data['DownFreeDate']=''; $data['SignupSource']='0'; $data['Alias']=''; $data['form']=array('id'=>'3487122','name'=>'Bible Studies','description'=>'Bible Studies Offered for Fall 2016','redirect'=>'http://www.coutsmethodistchurch.com','success_message'=>'Thank you! Your submission has been saved!','success_message_type'=>'plain','captcha'=>'0','language'=>'en','label_placement'=>'topLabel','ssl'=>'0','fheader'=>'','ffooter'=>'','table_css'=>'','td_css'=>'','send_button_name'=>'Submit','send_button_align'=>'middle','anti_spam'=>'0','anti_spam_limit_submissions'=>'0','captcha_top_bg'=>'#AAD6AA','captcha_top_color'=>'#FFFFFF','captcha_bg'=>'#E4F8E4','captcha_color'=>'#000000','fclearb'=>'0','fclearbname'=>'Clear','fexporting'=>'0','fdmode'=>'1','font_face'=>'Verdana','font_size'=>'2','fcolor'=>'#000000','fcolorbg'=>'#FFFFFF','show_form_name'=>'1','limit_entries'=>'0','captcha_width'=>'0','time_zone'=>'America/New_York','confirm_window_target'=>'0','page_context_type'=>'0','show_page_title'=>'0','hide_page_number'=>'0','html_code_type'=>'tableless','form_width'=>'','save_to_email'=>'0','save_to_storage'=>'1','custom_content_type'=>'plain','schedule_start_date'=>'0000-00-00 00:00:00','schedule_end_date'=>'0000-00-00 00:00:00','schedule_enabled'=>'0','enable_save_and_resume'=>'0','theme_id'=>'79066','one_entry_per_ip'=>'0','one_entry_per_computer'=>'0','enable_calculate_score'=>'0','save_and_resume_duration'=>'0','custom_unique_id'=>'0','visible_to_public'=>'1','show_score_on_form'=>'0','private_files'=>'0','enable_responsive_ui'=>'1','use_default_title'=>'1','title'=>'','customize_score_title'=>'0','score_title'=>'','language_id'=>'0','password'=>'','unique_ip'=>'','FormId'=>'3487122','UserId'=>'295837','FName'=>'Bible Studies','FEmail'=>'cindy@coutsumc.org','FSpamEmail'=>'','FWebsiteAfter'=>'http://www.coutsmethodistchurch.com','CreationDate'=>'2016-08-28 16:48:15','Uses'=>'1','SUses'=>'1','Status'=>'active','FSendBName'=>'Submit','FSendBAlign'=>'middle','FClearB'=>'0','FClearBName'=>'Clear','FAntiSpam'=>'0','FDMode'=>'1','FFontFace'=>'Verdana','FFontSize'=>'2','FColorBG'=>'#FFFFFF','FColor'=>'#000000','FHeader'=>'','FFooter'=>'','TableCSS'=>'','TdCSS'=>'','FCode'=>'','FMesFromT'=>'1','FMesName'=>'47327405','FMesFrom'=>'47327406','FMesSubjectT'=>'1','FMesSubject'=>'47327405','FDesc'=>'Bible Studies Offered for Fall 2016','FAntiSpamL'=>'0','FTuringTopBG'=>'#AAD6AA','FTuringTopC'=>'#FFFFFF','FTuringBG'=>'#E4F8E4','FTuringC'=>'#000000','FCopyToSender'=>'1','FExporting'=>'0','FReferer'=>'','LinkId'=>'0','LinkURL'=>'','Paid'=>'0','Language'=>'en','LabelPlacement'=>'topLabel','AfterPostFormType'=>'url','AfterPostFormText'=>'Thank you! Your submission has been saved!','SendConfirmEmail'=>'0','ConfirmEmailReplyTo'=>'','ConfirmMessage'=>'','ConfirmCompany'=>'','CaptchaType'=>'0','ThemeId'=>'79066','FReplyToEmail'=>'','FCopyToSenderEmail'=>'47327406','FSubjectCustomText'=>'','FSenderMesFromT'=>'1','FSenderMesSubjectT'=>'1','FSenderMesBodyT'=>'2','FSenderFromCustomText'=>'','FSenderSubjectCustomText'=>'','FSenderBodyCustomText'=>'

Greetings,


We have received your response.

Blessings,

Cindy

','VisitId'=>'O714tYlJrecsS0aT','EditorId'=>'295837','EditedDate'=>'2016-08-28 16:58:19','EntiresUpdateDate'=>'2016-08-28 16:59:09','EntryCount'=>'1','ShowFormName'=>'1','SecurityProtected'=>'0','RecipientPlainText'=>'0','SenderPlainText'=>'0','LimitEntries'=>'0','LastLimitEntriesDate'=>'0000-00-00 00:00:00','FMesFromVisitorIp'=>'0','FSenderVisitorIp'=>'0','ReminderShown'=>'0','ReminderCancel'=>'0','FormHeight'=>'584','CopyEntry'=>'0','DownloadTimes'=>'2','EmbedUrl'=>'','CaptchaWidth'=>'0','TimeZone'=>'America/New_York','EnableRules'=>'1','ConfirmWindowTarget'=>'0','PageContextType'=>'0','ShowPageTitle'=>'0','HidePageNumber'=>'0','HtmlCodeType'=>'tableless','FormWidth'=>'','AfterPostFormTextType'=>'plain','LastBackLinkCheckDate'=>'','BackLinkStatus'=>'','BackLinkKeyword'=>'','BackLinkCheckUrl'=>'','SaveToEmail'=>'0','SaveToStorage'=>'1','CustomContentType'=>'plain','ProtectPassword'=>'','ScheduleStartDate'=>'0000-00-00 00:00:00','ScheduleEndDate'=>'0000-00-00 00:00:00','ScheduleEnabled'=>'0','NotificationNoEmptyFields'=>'0','AntiAbuseIgnored'=>'0','EnableSaveAndResume'=>'0','LastUserEntryId'=>'1','HttpReferer'=>'0','OneEntryPerIp'=>'0','OneEntryPerComputer'=>'0','EnableCalculateScore'=>'0','SaveAndResumeDuration'=>'0','CustomUniqueId'=>'0','VisibleToPublic'=>'1','ShowScoreOnForm'=>'0','PrivateFiles'=>'0','EnableResponsiveUI'=>'1','UseDefaultTitle'=>'1','Title'=>'','CustomizeScoreTitle'=>'0','ScoreTitle'=>'','LanguageId'=>'0','NotificationIncludeSectionBreak'=>'0','Alias'=>'','TemplateId'=>'','RecipientWordWrap'=>'1','ViaInternalDomain'=>'0','LastAccessDate'=>'2016-08-28 17:45:59'); $data['elements']=array(array('title'=>'Name','id'=>'47327405','size'=>'30','instructions'=>'','is_required'=>'0','type'=>'new_name',array(array('option'=>'First option','is_default'=>'0','id'=>'0','is_other'=>'0',array('0'=>'0','1'=>'0','2'=>'0',array())),array('option'=>'Second option','is_default'=>'0','id'=>'0','is_other'=>'0'),array('option'=>'Third option','is_default'=>'0','id'=>'0','is_other'=>'0')),'default_value'=>'','range_min'=>'0','range_max'=>'0','range_type'=>'0','css_class_name'=>'','field_layout'=>'one_column','position'=>'0','size_cols'=>'30','size_rows'=>'10','field_validation'=>'0','confirmation'=>'0','confirmation_caption'=>'Confirm','date_format'=>'0','limit_file_type'=>'','mask'=>'0','is_private'=>'0','is_unique'=>'0','allow_other'=>'0','size_select'=>'30','cell_align'=>'auto','width'=>'','parent_id'=>'0','child_position'=>'0','is_hidden'=>'','use_placeholder'=>'','is_encrypted'=>'0','choices_order'=>'','statements_order'=>'','mask_input'=>'','show_counter'=>'',array(array('name'=>'Prefix','id'=>'47327409','is_hidden'=>'1','value'=>''),array('name'=>'First','id'=>'47327410','is_hidden'=>'0','value'=>''),array('name'=>'Last','id'=>'47327411','is_hidden'=>'0','value'=>''),array('name'=>'Suffix','id'=>'47327412','is_hidden'=>'1','value'=>''),array('name'=>'MI','id'=>'47327413','is_hidden'=>'1','value'=>''),array('name'=>'Middle','id'=>'47327414','is_hidden'=>'1','value'=>''))),array('title'=>'Prefix','id'=>'47327409','size'=>'30','instructions'=>'','is_required'=>'0','type'=>'text','options'=>'','default_value'=>'','range_min'=>'0','range_max'=>'0','range_type'=>'0','css_class_name'=>'','field_layout'=>'one_column','position'=>'0','size_cols'=>'30','size_rows'=>'10','field_validation'=>'0','confirmation'=>'0','confirmation_caption'=>'Confirm','date_format'=>'0','limit_file_type'=>'','mask'=>'0','is_private'=>'0','is_unique'=>'0','allow_other'=>'0','size_select'=>'30','cell_align'=>'auto','width'=>'','parent_id'=>'47327405','child_position'=>'0','is_hidden'=>'1','use_placeholder'=>'','is_encrypted'=>'0','choices_order'=>'','statements_order'=>'','mask_input'=>'','show_counter'=>''),array('title'=>'First','id'=>'47327410','size'=>'30','instructions'=>'','is_required'=>'0','type'=>'text','options'=>'','default_value'=>'','range_min'=>'0','range_max'=>'0','range_type'=>'0','css_class_name'=>'','field_layout'=>'one_column','position'=>'0','size_cols'=>'30','size_rows'=>'10','field_validation'=>'0','confirmation'=>'0','confirmation_caption'=>'Confirm','date_format'=>'0','limit_file_type'=>'','mask'=>'0','is_private'=>'0','is_unique'=>'0','allow_other'=>'0','size_select'=>'30','cell_align'=>'auto','width'=>'','parent_id'=>'47327405','child_position'=>'2','is_hidden'=>'0','use_placeholder'=>'','is_encrypted'=>'0','choices_order'=>'','statements_order'=>'','mask_input'=>'','show_counter'=>''),array('title'=>'Last','id'=>'47327411','size'=>'30','instructions'=>'','is_required'=>'0','type'=>'text','options'=>'','default_value'=>'','range_min'=>'0','range_max'=>'0','range_type'=>'0','css_class_name'=>'','field_layout'=>'one_column','position'=>'0','size_cols'=>'30','size_rows'=>'10','field_validation'=>'0','confirmation'=>'0','confirmation_caption'=>'Confirm','date_format'=>'0','limit_file_type'=>'','mask'=>'0','is_private'=>'0','is_unique'=>'0','allow_other'=>'0','size_select'=>'30','cell_align'=>'auto','width'=>'','parent_id'=>'47327405','child_position'=>'4','is_hidden'=>'0','use_placeholder'=>'','is_encrypted'=>'0','choices_order'=>'','statements_order'=>'','mask_input'=>'','show_counter'=>''),array('title'=>'Suffix','id'=>'47327412','size'=>'30','instructions'=>'','is_required'=>'0','type'=>'text','options'=>'','default_value'=>'','range_min'=>'0','range_max'=>'0','range_type'=>'0','css_class_name'=>'','field_layout'=>'one_column','position'=>'0','size_cols'=>'30','size_rows'=>'10','field_validation'=>'0','confirmation'=>'0','confirmation_caption'=>'Confirm','date_format'=>'0','limit_file_type'=>'','mask'=>'0','is_private'=>'0','is_unique'=>'0','allow_other'=>'0','size_select'=>'30','cell_align'=>'auto','width'=>'','parent_id'=>'47327405','child_position'=>'6','is_hidden'=>'1','use_placeholder'=>'','is_encrypted'=>'0','choices_order'=>'','statements_order'=>'','mask_input'=>'','show_counter'=>''),array('title'=>'MI','id'=>'47327413','size'=>'30','instructions'=>'','is_required'=>'0','type'=>'text','options'=>'','default_value'=>'','range_min'=>'0','range_max'=>'0','range_type'=>'0','css_class_name'=>'','field_layout'=>'one_column','position'=>'0','size_cols'=>'30','size_rows'=>'10','field_validation'=>'0','confirmation'=>'0','confirmation_caption'=>'Confirm','date_format'=>'0','limit_file_type'=>'','mask'=>'0','is_private'=>'0','is_unique'=>'0','allow_other'=>'0','size_select'=>'30','cell_align'=>'auto','width'=>'','parent_id'=>'47327405','child_position'=>'8','is_hidden'=>'1','use_placeholder'=>'','is_encrypted'=>'0','choices_order'=>'','statements_order'=>'','mask_input'=>'','show_counter'=>''),array('title'=>'Middle','id'=>'47327414','size'=>'30','instructions'=>'','is_required'=>'0','type'=>'text','options'=>'','default_value'=>'','range_min'=>'0','range_max'=>'0','range_type'=>'0','css_class_name'=>'','field_layout'=>'one_column','position'=>'0','size_cols'=>'30','size_rows'=>'10','field_validation'=>'0','confirmation'=>'0','confirmation_caption'=>'Confirm','date_format'=>'0','limit_file_type'=>'','mask'=>'0','is_private'=>'0','is_unique'=>'0','allow_other'=>'0','size_select'=>'30','cell_align'=>'auto','width'=>'','parent_id'=>'47327405','child_position'=>'10','is_hidden'=>'1','use_placeholder'=>'','is_encrypted'=>'0','choices_order'=>'','statements_order'=>'','mask_input'=>'','show_counter'=>''),array('title'=>'Email','id'=>'47327406','size'=>'30','instructions'=>'','is_required'=>'0','type'=>'email',array(array('option'=>'First option','is_default'=>'0','id'=>'0','is_other'=>'0'),array('option'=>'Second option','is_default'=>'0','id'=>'0','is_other'=>'0'),array('option'=>'Third option','is_default'=>'0','id'=>'0','is_other'=>'0')),'default_value'=>'','range_min'=>'0','range_max'=>'0','range_type'=>'0','css_class_name'=>'','field_layout'=>'one_column','position'=>'1','size_cols'=>'30','size_rows'=>'10','field_validation'=>'0','confirmation'=>'0','confirmation_caption'=>'Confirm','date_format'=>'0','limit_file_type'=>'','mask'=>'0','is_private'=>'0','is_unique'=>'0','allow_other'=>'0','size_select'=>'30','cell_align'=>'auto','width'=>'','parent_id'=>'0','child_position'=>'0','is_hidden'=>'','use_placeholder'=>'','is_encrypted'=>'0','choices_order'=>'','statements_order'=>'','mask_input'=>'','show_counter'=>''),array('title'=>'Phone','id'=>'47327407','size'=>'30','instructions'=>'','is_required'=>'0','type'=>'phone',array(array('option'=>'First option','is_default'=>'0','id'=>'0','is_other'=>'0',array('0'=>'format')),array('option'=>'Second option','is_default'=>'0','id'=>'0','is_other'=>'0'),array('option'=>'Third option','is_default'=>'0','id'=>'0','is_other'=>'0')),'default_value'=>'','range_min'=>'0','range_max'=>'0','range_type'=>'0','css_class_name'=>'','field_layout'=>'one_column','position'=>'2','size_cols'=>'30','size_rows'=>'10','field_validation'=>'0','confirmation'=>'0','confirmation_caption'=>'Confirm','date_format'=>'0','limit_file_type'=>'','mask'=>'0','is_private'=>'0','is_unique'=>'0','allow_other'=>'0','size_select'=>'30','cell_align'=>'auto','width'=>'','parent_id'=>'0','child_position'=>'0','is_hidden'=>'','use_placeholder'=>'','is_encrypted'=>'0','choices_order'=>'','statements_order'=>'','mask_input'=>'','show_counter'=>''),array('title'=>'Multiple Choice','id'=>'47327408','size'=>'30','instructions'=>'','is_required'=>'0','type'=>'radio',array(array('option'=>'Revelations - Monday @10 am','is_default'=>'0','id'=>'0','is_other'=>'0',array()),array('option'=>'Luke - Wednesdays @ 6 pm','is_default'=>'0','id'=>'0','is_other'=>'0'),array('option'=>'Stuck - Women\'s Study - Wednesdays @6 pm','is_default'=>'0','id'=>'0','is_other'=>'0'),array('option'=>'Acts - Wednesdays @ 6 pm','is_default'=>'0','id'=>'0')),'default_value'=>'','range_min'=>'0','range_max'=>'0','range_type'=>'0','css_class_name'=>'','field_layout'=>'one_column','position'=>'3','size_cols'=>'30','size_rows'=>'10','field_validation'=>'0','confirmation'=>'0','confirmation_caption'=>'Confirm','date_format'=>'0','limit_file_type'=>'','mask'=>'0','is_private'=>'0','is_unique'=>'0','allow_other'=>'0','size_select'=>'30','cell_align'=>'auto','width'=>'','parent_id'=>'0','child_position'=>'0','is_hidden'=>'','use_placeholder'=>'','is_encrypted'=>'0','choices_order'=>'','statements_order'=>'','mask_input'=>'','show_counter'=>'')); $data['FormId']='3487122'; $data['FName']='Bible Studies'; $data['FEmail']='cindy@coutsumc.org'; $data['FSpamEmail']=''; $data['FWebsiteAfter']='http://www.coutsmethodistchurch.com'; $data['CreationDate']='2016-08-28 16:48:15'; $data['Uses']='1'; $data['SUses']='1'; $data['FSendBName']='Submit'; $data['FSendBAlign']='middle'; $data['FClearB']='0'; $data['FClearBName']='Clear'; $data['FAntiSpam']='0'; $data['FDMode']='1'; $data['FFontFace']='Verdana'; $data['FFontSize']='2'; $data['FColorBG']='#FFFFFF'; $data['FColor']='#000000'; $data['FHeader']=''; $data['FFooter']=''; $data['TableCSS']=''; $data['TdCSS']=''; $data['FCode']=''; $data['FMesFromT']='1'; $data['FMesName']='47327405'; $data['FMesFrom']='47327406'; $data['FMesSubjectT']='1'; $data['FMesSubject']='47327405'; $data['FDesc']='Bible Studies Offered for Fall 2016'; $data['FAntiSpamL']='0'; $data['FTuringTopBG']='#AAD6AA'; $data['FTuringTopC']='#FFFFFF'; $data['FTuringBG']='#E4F8E4'; $data['FTuringC']='#000000'; $data['FCopyToSender']='1'; $data['FExporting']='0'; $data['FReferer']=''; $data['LinkId']='0'; $data['LinkURL']=''; $data['Paid']='0'; $data['Language']='en'; $data['LabelPlacement']='topLabel'; $data['AfterPostFormType']='url'; $data['AfterPostFormText']='Thank you! Your submission has been saved!'; $data['SendConfirmEmail']='0'; $data['ConfirmEmailReplyTo']=''; $data['ConfirmMessage']=''; $data['ConfirmCompany']=''; $data['CaptchaType']='0'; $data['ThemeId']='79066'; $data['FReplyToEmail']=''; $data['FCopyToSenderEmail']='47327406'; $data['FSubjectCustomText']=''; $data['FSenderMesFromT']='1'; $data['FSenderMesSubjectT']='1'; $data['FSenderMesBodyT']='2'; $data['FSenderFromCustomText']=''; $data['FSenderSubjectCustomText']=''; $data['FSenderBodyCustomText']='

Greetings,


We have received your response.

Blessings,

Cindy

'; $data['VisitId']='O714tYlJrecsS0aT'; $data['EditorId']='295837'; $data['EditedDate']='2016-08-28 16:58:19'; $data['EntiresUpdateDate']='2016-08-28 16:59:09'; $data['EntryCount']='1'; $data['ShowFormName']='1'; $data['SecurityProtected']='0'; $data['RecipientPlainText']='0'; $data['SenderPlainText']='0'; $data['LimitEntries']='0'; $data['LastLimitEntriesDate']='0000-00-00 00:00:00'; $data['FMesFromVisitorIp']='0'; $data['FSenderVisitorIp']='0'; $data['ReminderShown']='0'; $data['ReminderCancel']='0'; $data['FormHeight']='584'; $data['CopyEntry']='0'; $data['DownloadTimes']='2'; $data['EmbedUrl']=''; $data['CaptchaWidth']='0'; $data['TimeZone']='America/New_York'; $data['EnableRules']='1'; $data['ConfirmWindowTarget']='0'; $data['PageContextType']='0'; $data['ShowPageTitle']='0'; $data['HidePageNumber']='0'; $data['HtmlCodeType']='tableless'; $data['FormWidth']=''; $data['AfterPostFormTextType']='plain'; $data['LastBackLinkCheckDate']=''; $data['BackLinkStatus']=''; $data['BackLinkKeyword']=''; $data['BackLinkCheckUrl']=''; $data['SaveToEmail']='0'; $data['SaveToStorage']='1'; $data['CustomContentType']='plain'; $data['ProtectPassword']=''; $data['ScheduleStartDate']='0000-00-00 00:00:00'; $data['ScheduleEndDate']='0000-00-00 00:00:00'; $data['ScheduleEnabled']='0'; $data['NotificationNoEmptyFields']='0'; $data['AntiAbuseIgnored']='0'; $data['EnableSaveAndResume']='0'; $data['LastUserEntryId']='1'; $data['HttpReferer']='0'; $data['OneEntryPerIp']='0'; $data['OneEntryPerComputer']='0'; $data['EnableCalculateScore']='0'; $data['SaveAndResumeDuration']='0'; $data['CustomUniqueId']='0'; $data['VisibleToPublic']='1'; $data['ShowScoreOnForm']='0'; $data['PrivateFiles']='0'; $data['EnableResponsiveUI']='1'; $data['UseDefaultTitle']='1'; $data['Title']=''; $data['CustomizeScoreTitle']='0'; $data['ScoreTitle']=''; $data['LanguageId']='0'; $data['NotificationIncludeSectionBreak']='0'; $data['TemplateId']=''; $data['RecipientWordWrap']='1'; $data['ViaInternalDomain']='0'; $data['LastAccessDate']='2016-08-28 17:45:59'; $data['fields_by_form_id']=array(array('FieldId'=>'47327405','FormId'=>'3487122','FieldName'=>'Name','FieldType'=>'24','FieldTypeExt'=>'','FieldCols'=>'30','FieldRows'=>'10','FieldS'=>'0','FieldV'=>'0','FieldRequired'=>'0','MinValue'=>'0','MaxValue'=>'0','ValueType'=>'0','DefaultValue'=>'','Description'=>'','CssClassName'=>'','FieldPosition'=>'0','FieldTypeExtNew'=>'[{"option":"First option","is_default":0,"id":"0","is_other":"0","custom":["0","0","0",[]]},{"option":"Second option","is_default":0,"id":"0","is_other":"0"},{"option":"Third option","is_default":0,"id":"0","is_other":"0"}]','FFieldLayout'=>'one_column','Confirmation'=>'0','ConfirmationCaption'=>'Confirm','DateFormat'=>'0','LimitFileType'=>'','Mask'=>'0','IsPrivate'=>'0','Duplicates'=>'0','AllowOther'=>'0','FieldAlign'=>'auto','Width'=>'','ParentId'=>'','ChildFieldPosition'=>'','IsHidden'=>'','Status'=>'active','UpdateDate'=>'2016-08-28 16:55:17','UsePlaceholder'=>'','IsEncrypted'=>'0','ChoicesOrder'=>'','StatementsOrder'=>'','MaskInput'=>'','Version'=>'0','ShowCounter'=>''),array('FieldId'=>'47327409','FormId'=>'3487122','FieldName'=>'Prefix','FieldType'=>'1','FieldTypeExt'=>'','FieldCols'=>'30','FieldRows'=>'10','FieldS'=>'0','FieldV'=>'0','FieldRequired'=>'0','MinValue'=>'0','MaxValue'=>'0','ValueType'=>'0','DefaultValue'=>'','Description'=>'','CssClassName'=>'','FieldPosition'=>'0','FieldTypeExtNew'=>'""','FFieldLayout'=>'one_column','Confirmation'=>'0','ConfirmationCaption'=>'Confirm','DateFormat'=>'0','LimitFileType'=>'','Mask'=>'0','IsPrivate'=>'0','Duplicates'=>'0','AllowOther'=>'0','FieldAlign'=>'auto','Width'=>'','ParentId'=>'47327405','ChildFieldPosition'=>'0','IsHidden'=>'1','Status'=>'active','UpdateDate'=>'2016-08-28 16:55:17','UsePlaceholder'=>'','IsEncrypted'=>'0','ChoicesOrder'=>'','StatementsOrder'=>'','MaskInput'=>'','Version'=>'0','ShowCounter'=>''),array('FieldId'=>'47327410','FormId'=>'3487122','FieldName'=>'First','FieldType'=>'1','FieldTypeExt'=>'','FieldCols'=>'30','FieldRows'=>'10','FieldS'=>'0','FieldV'=>'0','FieldRequired'=>'0','MinValue'=>'0','MaxValue'=>'0','ValueType'=>'0','DefaultValue'=>'','Description'=>'','CssClassName'=>'','FieldPosition'=>'0','FieldTypeExtNew'=>'""','FFieldLayout'=>'one_column','Confirmation'=>'0','ConfirmationCaption'=>'Confirm','DateFormat'=>'0','LimitFileType'=>'','Mask'=>'0','IsPrivate'=>'0','Duplicates'=>'0','AllowOther'=>'0','FieldAlign'=>'auto','Width'=>'','ParentId'=>'47327405','ChildFieldPosition'=>'2','IsHidden'=>'0','Status'=>'active','UpdateDate'=>'2016-08-28 16:55:17','UsePlaceholder'=>'','IsEncrypted'=>'0','ChoicesOrder'=>'','StatementsOrder'=>'','MaskInput'=>'','Version'=>'0','ShowCounter'=>''),array('FieldId'=>'47327411','FormId'=>'3487122','FieldName'=>'Last','FieldType'=>'1','FieldTypeExt'=>'','FieldCols'=>'30','FieldRows'=>'10','FieldS'=>'0','FieldV'=>'0','FieldRequired'=>'0','MinValue'=>'0','MaxValue'=>'0','ValueType'=>'0','DefaultValue'=>'','Description'=>'','CssClassName'=>'','FieldPosition'=>'0','FieldTypeExtNew'=>'""','FFieldLayout'=>'one_column','Confirmation'=>'0','ConfirmationCaption'=>'Confirm','DateFormat'=>'0','LimitFileType'=>'','Mask'=>'0','IsPrivate'=>'0','Duplicates'=>'0','AllowOther'=>'0','FieldAlign'=>'auto','Width'=>'','ParentId'=>'47327405','ChildFieldPosition'=>'4','IsHidden'=>'0','Status'=>'active','UpdateDate'=>'2016-08-28 16:55:17','UsePlaceholder'=>'','IsEncrypted'=>'0','ChoicesOrder'=>'','StatementsOrder'=>'','MaskInput'=>'','Version'=>'0','ShowCounter'=>''),array('FieldId'=>'47327412','FormId'=>'3487122','FieldName'=>'Suffix','FieldType'=>'1','FieldTypeExt'=>'','FieldCols'=>'30','FieldRows'=>'10','FieldS'=>'0','FieldV'=>'0','FieldRequired'=>'0','MinValue'=>'0','MaxValue'=>'0','ValueType'=>'0','DefaultValue'=>'','Description'=>'','CssClassName'=>'','FieldPosition'=>'0','FieldTypeExtNew'=>'""','FFieldLayout'=>'one_column','Confirmation'=>'0','ConfirmationCaption'=>'Confirm','DateFormat'=>'0','LimitFileType'=>'','Mask'=>'0','IsPrivate'=>'0','Duplicates'=>'0','AllowOther'=>'0','FieldAlign'=>'auto','Width'=>'','ParentId'=>'47327405','ChildFieldPosition'=>'6','IsHidden'=>'1','Status'=>'active','UpdateDate'=>'2016-08-28 16:55:17','UsePlaceholder'=>'','IsEncrypted'=>'0','ChoicesOrder'=>'','StatementsOrder'=>'','MaskInput'=>'','Version'=>'0','ShowCounter'=>''),array('FieldId'=>'47327413','FormId'=>'3487122','FieldName'=>'MI','FieldType'=>'1','FieldTypeExt'=>'','FieldCols'=>'30','FieldRows'=>'10','FieldS'=>'0','FieldV'=>'0','FieldRequired'=>'0','MinValue'=>'0','MaxValue'=>'0','ValueType'=>'0','DefaultValue'=>'','Description'=>'','CssClassName'=>'','FieldPosition'=>'0','FieldTypeExtNew'=>'""','FFieldLayout'=>'one_column','Confirmation'=>'0','ConfirmationCaption'=>'Confirm','DateFormat'=>'0','LimitFileType'=>'','Mask'=>'0','IsPrivate'=>'0','Duplicates'=>'0','AllowOther'=>'0','FieldAlign'=>'auto','Width'=>'','ParentId'=>'47327405','ChildFieldPosition'=>'8','IsHidden'=>'1','Status'=>'active','UpdateDate'=>'2016-08-28 16:55:17','UsePlaceholder'=>'','IsEncrypted'=>'0','ChoicesOrder'=>'','StatementsOrder'=>'','MaskInput'=>'','Version'=>'0','ShowCounter'=>''),array('FieldId'=>'47327414','FormId'=>'3487122','FieldName'=>'Middle','FieldType'=>'1','FieldTypeExt'=>'','FieldCols'=>'30','FieldRows'=>'10','FieldS'=>'0','FieldV'=>'0','FieldRequired'=>'0','MinValue'=>'0','MaxValue'=>'0','ValueType'=>'0','DefaultValue'=>'','Description'=>'','CssClassName'=>'','FieldPosition'=>'0','FieldTypeExtNew'=>'""','FFieldLayout'=>'one_column','Confirmation'=>'0','ConfirmationCaption'=>'Confirm','DateFormat'=>'0','LimitFileType'=>'','Mask'=>'0','IsPrivate'=>'0','Duplicates'=>'0','AllowOther'=>'0','FieldAlign'=>'auto','Width'=>'','ParentId'=>'47327405','ChildFieldPosition'=>'10','IsHidden'=>'1','Status'=>'active','UpdateDate'=>'2016-08-28 16:55:17','UsePlaceholder'=>'','IsEncrypted'=>'0','ChoicesOrder'=>'','StatementsOrder'=>'','MaskInput'=>'','Version'=>'0','ShowCounter'=>''),array('FieldId'=>'47327406','FormId'=>'3487122','FieldName'=>'Email','FieldType'=>'10','FieldTypeExt'=>'','FieldCols'=>'30','FieldRows'=>'10','FieldS'=>'0','FieldV'=>'0','FieldRequired'=>'0','MinValue'=>'0','MaxValue'=>'0','ValueType'=>'0','DefaultValue'=>'','Description'=>'','CssClassName'=>'','FieldPosition'=>'1','FieldTypeExtNew'=>'[{"option":"First option","is_default":0,"id":"0","is_other":"0"},{"option":"Second option","is_default":0,"id":"0","is_other":"0"},{"option":"Third option","is_default":0,"id":"0","is_other":"0"}]','FFieldLayout'=>'one_column','Confirmation'=>'0','ConfirmationCaption'=>'Confirm','DateFormat'=>'0','LimitFileType'=>'','Mask'=>'0','IsPrivate'=>'0','Duplicates'=>'0','AllowOther'=>'0','FieldAlign'=>'auto','Width'=>'','ParentId'=>'','ChildFieldPosition'=>'','IsHidden'=>'','Status'=>'active','UpdateDate'=>'2016-08-28 16:55:17','UsePlaceholder'=>'','IsEncrypted'=>'0','ChoicesOrder'=>'','StatementsOrder'=>'','MaskInput'=>'','Version'=>'0','ShowCounter'=>''),array('FieldId'=>'47327407','FormId'=>'3487122','FieldName'=>'Phone','FieldType'=>'15','FieldTypeExt'=>'','FieldCols'=>'30','FieldRows'=>'10','FieldS'=>'0','FieldV'=>'0','FieldRequired'=>'0','MinValue'=>'0','MaxValue'=>'0','ValueType'=>'0','DefaultValue'=>'','Description'=>'','CssClassName'=>'','FieldPosition'=>'2','FieldTypeExtNew'=>'[{"option":"First option","is_default":0,"id":"0","is_other":"0","custom":["format"]},{"option":"Second option","is_default":0,"id":"0","is_other":"0"},{"option":"Third option","is_default":0,"id":"0","is_other":"0"}]','FFieldLayout'=>'one_column','Confirmation'=>'0','ConfirmationCaption'=>'Confirm','DateFormat'=>'0','LimitFileType'=>'','Mask'=>'0','IsPrivate'=>'0','Duplicates'=>'0','AllowOther'=>'0','FieldAlign'=>'auto','Width'=>'','ParentId'=>'','ChildFieldPosition'=>'','IsHidden'=>'','Status'=>'active','UpdateDate'=>'2016-08-28 16:55:17','UsePlaceholder'=>'','IsEncrypted'=>'0','ChoicesOrder'=>'','StatementsOrder'=>'','MaskInput'=>'','Version'=>'0','ShowCounter'=>''),array('FieldId'=>'47327408','FormId'=>'3487122','FieldName'=>'Multiple Choice','FieldType'=>'4','FieldTypeExt'=>'','FieldCols'=>'30','FieldRows'=>'10','FieldS'=>'0','FieldV'=>'0','FieldRequired'=>'0','MinValue'=>'0','MaxValue'=>'0','ValueType'=>'0','DefaultValue'=>'','Description'=>'','CssClassName'=>'','FieldPosition'=>'3','FieldTypeExtNew'=>'[{"option":"Revelations - Monday @10 am","is_default":0,"id":"0","is_other":"0","custom":[]},{"option":"Luke - Wednesdays @ 6 pm","is_default":0,"id":"0","is_other":"0"},{"option":"Stuck - Women\'s Study - Wednesdays @6 pm","is_default":0,"id":"0","is_other":"0"},{"option":"Acts - Wednesdays @ 6 pm","is_default":"0","id":"0"}]','FFieldLayout'=>'one_column','Confirmation'=>'0','ConfirmationCaption'=>'Confirm','DateFormat'=>'0','LimitFileType'=>'','Mask'=>'0','IsPrivate'=>'0','Duplicates'=>'0','AllowOther'=>'0','FieldAlign'=>'auto','Width'=>'','ParentId'=>'','ChildFieldPosition'=>'','IsHidden'=>'','Status'=>'active','UpdateDate'=>'2016-08-28 16:55:17','UsePlaceholder'=>'','IsEncrypted'=>'0','ChoicesOrder'=>'','StatementsOrder'=>'','MaskInput'=>'','Version'=>'0','ShowCounter'=>'')); ?> '); if(($left_bracket_pos!==false) && ($right_bracket_pos!==false)){ return substr($email,$left_bracket_pos+1,$right_bracket_pos-$left_bracket_pos-1); }else{ return $email; } } function validate_name_email($name_email){ $result=null; $name_email=trim($name_email); if(strpos($name_email,'<')!=false){ $invalid_chars='<>,'; if(!mb_ereg("^[^".$invalid_chars."]*<[^".$invalid_chars."]+>$", $name_email)) { $result='E-mail format is not correct'; if(strpos($name_email, ",")!=false){ $result="No \",\" allowed in name part."; } } } if($result==null){ if(!valid_email(get_email_part($name_email))){ $result='E-mail address part is not correct'; } } return $result; } function validate_upload_data($field,$value,$post_key=null){ //$arr=array(1=>'text',2=>'textarea',3=>'checkbox',4=>'radio',5=>'select',6=>'file',10=>'email',11=>'number',12=>'url',13=>'datetime'); $error=''; $value=trim($value); $field['FieldTypeExtNew']=stripslashes($field['FieldTypeExtNew']); if($field['FieldRequired']==1){ //old form no datetime type field. if(!($field['FieldType']==13 && !isset($_POST['element_'.$field['FieldPosition']]))){ if(! $value){ $error.=sprintf('%s is required.
',$field['FieldName']); } } if($field['FieldType']==5){ foreach((array)json_decode($field['FieldTypeExtNew'],true) as $value){ if($value['is_default'] && $value['option']==$value){ $error.=sprintf('%s is required.
',$field['FieldName']); } } } if($field['FieldType']==13){ $field_required=false; foreach(json_decode($field['FieldTypeExtNew'],true) as $fvalue){ if(isset($fvalue['custom'])){ switch($fvalue['custom'][0]){ case 'full': list($date,$time,$ampm)=explode(' ',$value); list($month,$day,$year)=explode('/',$date); list($hour,$minute)=explode(':',$time); if($month=='' || $day=='' || $year=='' || $hour=='' || $minute==''){ $field_required=true; } break; case 'date': list($month,$day,$year)=explode('/',$value); if($month=='' || $day=='' || $year==''){ $field_required=true; } break; case 'time': list($time,$ampm)=explode(' ',$value); list($hour,$minute)=explode(':',$time); if($hour=='' || $minute==''){ $field_required=true; } } if($field_required){ $error.=sprintf('%s is required.
',$field['FieldName']); } break; } } } if($field['FieldType']==15){ $field_required=false; foreach(json_decode($field['FieldTypeExtNew'],true) as $fvalue){ if(isset($fvalue['custom'])){ switch($fvalue['custom'][0]){ case 'format': $phone1=$phone2=$phone3=null; list($phone1,$phone2,$phone3)=explode('-',$value); if($phone1=='' || $phone2=='' || $phone3==''){ $field_required=true; } break; case 'international': if($value==''){ $field_required=true; } break; } if($field_required){ $error.=sprintf('%s is required.
',$field['FieldName']); } break; } } } if($field['FieldType']==16){ $field_required=false; if(is_array($_POST["element_{$post_key}"])){ $field_required=!($_POST["element_{$post_key}"][0] && $_POST["element_{$post_key}"][2] && $_POST["element_{$post_key}"][3] && $_POST["element_{$post_key}"][4] && $_POST["element_{$post_key}"][5]); }else{ $field_required=true; } if($field_required){ $error.=sprintf('%s is required.
',$field['FieldName']); } } if($field['FieldType']==17){ $field_required=false; if(is_array($_POST["element_{$post_key}"])){ if(count($_POST["element_{$post_key}"])==2){ $field_required=!($_POST["element_{$post_key}"][0] && $_POST["element_{$post_key}"][1]); }else if(count($_POST["element_{$post_key}"])==4){ $field_required=!($_POST["element_{$post_key}"][1] && $_POST["element_{$post_key}"][2]); } }else{ $field_required=true; } if($field_required){ $error.=sprintf('%s is required.
',$field['FieldName']); } } } switch($field['FieldType']){ case 1: case 2: case 11: if($field['MaxValue']>0 && $value){ if($field['ValueType']==1 || $field['ValueType']==3){ if(!(strlen($value)>=$field['MinValue'] && strlen($value)<=$field['MaxValue'])){ $error.=sprintf('%s is Between %s and %s characters allowed.
',$field['FieldName'],$field['MinValue'],$field['MaxValue']); } }elseif($field['ValueType']==2){ $words_count=count(explode(' ',$value)); if(!($words_count>=$field['MinValue'] && $words_count<=$field['MaxValue'])){ $error.=sprintf('%s is Between %s and %s words allowed.
',$field['FieldName'],$field['MinValue'],$field['MaxValue']); } }elseif($field['ValueType']==4){ if(!($value>=$field['MinValue'] && $value<=$field['MaxValue'])){ $error.=sprintf('%s is Between %s and %s value allowed.
',$field['FieldName'],$field['MinValue'],$field['MaxValue']); } } } if($field['FieldType']==11){ if(! is_numeric(str_replace(",", "", $value)) && $value){ $error.=sprintf('%s is Numbers only.
',$field['FieldName']); } }else if($field['FieldType']==1){ if($field['FieldV']==1){ if(! valid_email($value) && $value){ $error.=sprintf('%s is Invalid email address.
',$field['FieldName'],$field['MinValue'],$field['MaxValue']); } }elseif($field['FieldV']==2){ if(! is_numeric($value) && $value){ $error.=sprintf('%s is Numbers only.
',$field['FieldName']); } } } break; case 10: if(! valid_email($value) && $value){ $error.=sprintf('%s is Invalid email address.
',$field['FieldName'],$field['MinValue'],$field['MaxValue']); } break; case 12: $value=trim($value); if(stripos($value,'http://')===FALSE){ $value="http://{$value}"; } if(! is_url($value) && $value){ $error.=sprintf('%s is Invalid website address.
',$field['FieldName'],$field['MinValue'],$field['MaxValue']); } break; case 13: $field_valid=false; foreach(json_decode($field['FieldTypeExtNew'],true) as $fvalue){ if(isset($fvalue['custom'])){ switch($fvalue['custom'][0]){ case 'full': list($date,$time,$ampm)=explode(' ',$value); list($month,$day,$year)=explode('/',$date); list($hour,$minute)=explode(':',$time); if((!($month && $day && $year && $hour && $minute)) && ($month || $day || $year || $hour || $minute)){ $field_valid=true; } break; case 'date': list($month,$day,$year)=explode('/',$value); if((!($month && $day && $year) && ($month || $day || $year))){ $field_valid=true; } break; case 'time': list($time,$ampm)=explode(' ',$value); list($hour,$minute)=explode(':',$time); if((!($hour && $minute)) &&($hour || $minute)){ $field_valid=true; } break; } if($field_valid){ $error.=sprintf('%s is Invalid Date/Time.
',$field['FieldName']); } break; } } break; case 15: $field_required=false; foreach(json_decode($field['FieldTypeExtNew'],true) as $fvalue){ if(isset($fvalue['custom'])){ switch($fvalue['custom'][0]){ case 'format': $phone=explode('-',$value); $has_value=$phone[0] || $phone[1] || $phone[2]; if(! preg_match("/^[0-9]{3}-[0-9]{3}-[0-9]{4}$/",$value) && $has_value){ $error.=sprintf('%s is Invalid phone number.
',$field['FieldName']); } break; case 'international': if(! preg_match("/^[0-9\-\(\)\ ]+$/",$value) && $value){ $error.=sprintf('%s is Invalid phone number.
',$field['FieldName']); } break; } if($field_required){ $error.=sprintf('%s is required.
',$field['FieldName']); } break; } } break; } return $error; } function check_upload_file($field_name){ $err=''; $file=array_values($_FILES); if(is_uploaded_file_empty($file[0])){ $err="Error: {$field_name} field is required."; } return $err; } function is_uploaded_file_empty($file){ return (@$file==null || @$file['name']==null); } function check_upload_file_size($file){ $err=''; if(is_uploaded_file_size_over($file)){ $err="Error: The {$file['name']} Upload file size is limited.
"; } return $err; } function check_upload_file_type($file){ $err=''; if(do_not_allow_uploaded_file_type($file)){ $err="Error: The {$file['name']} Upload file Type is limited.
"; } return $err; } function get_byte_length($length_str){ $str=trim(strtoupper($length_str)); $unit=substr($str,strlen($str)-1); $times=1; switch ($unit){ case 'B': $times=1; break; case 'K': $times=1024; break; case 'M': $times=1024*1024; break; case 'G': $times=1024*1024*1024; break; default: $times=0; } $nubmer=substr($str,0,strlen($str)-1); $result=$nubmer*$times; return $result; } function is_uploaded_file_size_over($file){ return @$file['size']>get_byte_length(ATTACHMENT_MAX_SIZE); } function check_file_extend_name($filename) { $file = fopen ( $filename, 'rb' ); $bin = fread ( $file, 2 ); fclose ( $file ); $strInfo = @unpack ( 'c2chars', $bin ); $typeCode = intval ( $strInfo ['chars1'] . $strInfo ['chars2'] ); $fileType = ''; switch ( $typeCode) { case 7790 : $fileType = 'exe'; break; case 7784 : $fileType = 'midi'; break; case 8297 : $fileType = 'rar'; break; case 255216 : $fileType = 'jpg'; break; case 7173 : $fileType = 'gif'; break; case 6677 : $fileType = 'bmp'; break; case 13780 : $fileType = 'png'; break; default : $fileType = 'unknown' . $typeCode; } //Fix if ($strInfo ['chars1'] == '-1' && $strInfo ['chars2'] == '-40') { return 'jpg'; } if ($strInfo ['chars1'] == '-119' && $strInfo ['chars2'] == '80') { return 'png'; } return $fileType; } function do_not_allow_uploaded_file_type($file){ $do_not_allow_upload_file_type=array('.exe','.cmd','.bat','.bin','.cab','.js','.asp','.php','.jsp','.php4','.php5'); //to check exe file by file header information if(in_array('.'.check_file_extend_name($file['tmp_name']),$do_not_allow_upload_file_type)){ return true; } return in_array(strtolower(strrchr($file['name'],'.')),$do_not_allow_upload_file_type); } function post_after_text($form){ // $temp_base_url=$form['SecurityProtected']?str_replace('http://', 'https://',BASE_URL):BASE_URL; $post_after_html=' EmailMe Form - '. $form['FName'].' '. get_dynamic_css_js('?t=post_after').'

EmailMeForm

'.($form['AfterPostFormTextType']=='plain' ? nl2br(htmlspecialchars(trim($form['AfterPostFormText']))) : $form['AfterPostFormText']).'

"; print_var($post_after_html,true); } function get_assets_url($uri=''){ $assets=get_assets_url_without_slash(); if(!empty($uri) && substr($uri,0,1)!='/'){ return $assets."/".$uri; }else{ return $assets.$uri; } } function get_assets_base_url($uri=''){ $assets=get_assets_base_url_without_slash(); if(!empty($uri) && substr($uri,0,1)!='/'){ return $assets."/".$uri; }else{ return $assets.$uri; } } function get_img_tag($uri){ return ""; } function get_dynamic_css($query_str_with_question_mark){ return ''."\n"; } function get_dynamic_js($query_str_with_question_mark){ return ''."\n"; } function get_dynamic_css_js($query_str_with_question_mark){ return get_dynamic_css($query_str_with_question_mark).get_dynamic_js($query_str_with_question_mark); } function process_uri_action($uri_seq_1,$uri_seq_2){ $current_uri=trim($uri_seq_1); $action=''; if($current_uri=='forms'){ if(in_array(trim($uri_seq_2),array('build','modify'))){ $action="&t2=form"; }elseif(in_array(trim($uri_seq_2),array('entries','entries_search'))){ $action='&t2=entry'; }elseif(in_array(trim($uri_seq_2),array('print_details'))){ $action='&t2=print'; } }else if($current_uri=='manager'){ if(in_array(trim($uri_seq_2),array('switch_yearly','rules','notifications'))){ $action="&t2=".trim($uri_seq_2); } }else if($current_uri=='demo' && !$uri_seq_2){ $current_uri='forms'; $action="&t2=form"; }else if($current_uri=='entry'){ $current_uri='forms'; $action='&t2=entry'; }else if($current_uri=='themes'){ if(in_array(trim($uri_seq_2),array('gallary_big_preview','gallary_small_preview'))){ $current_uri="post"; } } return array($current_uri,$action); } function get_assets_url_without_slash(){ return defined('ASSETS_DOMAIN') ? rtrim(ASSETS_DOMAIN,'/') : ''; } function get_assets_base_url_without_slash(){ return defined('ASSETS_BASE_URL') ? rtrim(ASSETS_BASE_URL,'/') : ''; } function get_assets_url_with_slash(){ return get_assets_url_without_slash().'/'; } function get_assets_base_url_with_slash(){ return get_assets_base_url_without_slash().'/'; } ?> $fls){ if($fls['error']==0){ $_POST[$k]=$fls['name']; $_SESSION[GLOBAL_MESSAGE].=check_upload_file_size($fls); $_SESSION[GLOBAL_MESSAGE].=check_upload_file_type($fls); } } foreach($data['fields_by_form_id'] as $key => $field){ if($field['FieldType'] ==3 ){ // checkbox $FieldData[$key] = ''; foreach((array)@$_POST["element_{$key}"] as $value){ $value_temp=trim($value); $FieldData[$key].=$value_temp?"{$value_temp}, ":''; } $FieldData[$key]=substr($FieldData[$key], 0, -2); }elseif($field['FieldType'] ==13 ){ $FieldData[$key]=''; if(isset($_POST["element_{$key}_day"]) ) $FieldData[$key]=trim($_POST["element_{$key}_month"])."/".trim($_POST["element_{$key}_day"])."/".trim($_POST["element_{$key}_year"])." "; if(isset($_POST["element_{$key}_hour"])) $FieldData[$key].=trim($_POST["element_{$key}_hour"]).":".trim($_POST["element_{$key}_minute"]).' '.trim($_POST["element_{$key}_ampm"]); }elseif($field['FieldType'] ==15){ if(is_array($_POST["element_{$key}"])){ $FieldData[$key] = implode('-',$_POST["element_{$key}"]); }else{ $FieldData[$key] = trim($_POST["element_{$key}"]); } }elseif($field['FieldType'] ==14){ $FieldData[$key]=''; }elseif($field['FieldType'] ==16){ if(is_array($_POST["element_{$key}"])){ $FieldData[$key] = $_POST["element_{$key}"][0].' '.$_POST["element_{$key}"][1]."\n". $_POST["element_{$key}"][2].','.$_POST["element_{$key}"][3].' '.$_POST["element_{$key}"][4]."\n". $_POST["element_{$key}"][5]; }else{ $FieldData[$key] = trim($_POST["element_{$key}"]); } }elseif($field['FieldType'] ==17){ if(is_array($_POST["element_{$key}"])){ $FieldData[$key] = implode(' ',$_POST["element_{$key}"]); }else{ $FieldData[$key] = trim($_POST["element_{$key}"]); } }else{ if(isset($_POST['element_counts'])){ $FieldData[$key] = trim(@$_POST["element_{$key}"]); }else{ $FieldData[$key] = trim(@$_POST['FieldData' . $key]); } } $_SESSION[GLOBAL_MESSAGE].=validate_upload_data($field,$FieldData[$key],$key); $data['FMesName']=($data['FMesFromT']==2) && ($data['FMesName'] == $field['FieldId'])?$key:$data['FMesName']; $data['FMesFrom']=($data['FMesFromT']==2) && ($data['FMesFrom'] == $field['FieldId'])?$key:$data['FMesFrom']; $data['FMesSubject']=($data['FMesSubjectT']==2) && ($data['FMesSubject'] == $field['FieldId'])?$key:$data['FMesSubject']; $data['FCopyToSenderEmail']=$data['FCopyToSenderEmail'] == $field['FieldId']?$key:$data['FCopyToSenderEmail']; for ($j=0;$j"; } } $headers .= "From: $from_address\r\n"; /* if (validate_name_email($data['FReplyToEmail'])){ $headers .= "Reply-To: <".$data['FReplyToEmail'].">\r\n"; } */ $subject = 'Feedback via the ' . $data['FName']; if ($data['FMesSubjectT'] ==2){ $subject = $data['FName'] . ': ' . $FieldData[$data['FMesSubject']]; }elseif($data['FMesSubjectT']==3){ $subject = $data['FName'] . ': ' . $data['FSubjectCustomText']; } $headers .= "Message-ID: <".rand(100000,999999).rand(100000,999999)."@emailmeform.com>\r\n"; $headers .= "MIME-Version: 1.0\r\n"; // Counting attachments $AttachmentsNo = 0; $body=''; foreach($data['fields_by_form_id'] as $key => $field){ if ($field['FieldType'] == 6){ $AttachmentsNo++; } } if($AttachmentsNo){ $headers .= "Content-Type: multipart/mixed; boundary=\"".$mime_boundary. '"' . "\r\n\r\n"; $body = "--".$mime_boundary. "\r\n"; $body .= "Content-Type: text/plain; charset=\"utf-8\"\r\n"; $body .= "Content-Transfer-Encoding: 8bit\r\n\r\n"; }else{ $headers .= "Content-Type: text/plain; charset=\"utf-8\"\r\n"; $headers .= "Content-Transfer-Encoding: 8bit\r\n\r\n"; } foreach($data['fields_by_form_id'] as $key => $field){ if ($field['FieldType']!=6){ $body .= ' ' . $field['FieldName'] . ': ' . $FieldData[$key] . "\r\n"; } } $body .= "--\r\n"; if(! $data['FMesFromVisitorIp']){ $body .= 'Visitor Ip: ' . get_ip() . "\r\n"; } // Adding attachments foreach($data['fields_by_form_id'] as $key => $field){ if ($field['FieldType'] == 6){ $fd = 'element_' . $key; if (is_uploaded_file(@$_FILES["$fd"]['tmp_name'])){ $handle=fopen($_FILES["$fd"]['tmp_name'], 'rb'); $f_contents=fread($handle, filesize($_FILES["$fd"]['tmp_name'])); $f_contents=chunk_split(base64_encode($f_contents)); $f_type=filetype($_FILES["$fd"]['tmp_name']); fclose($handle); # Attachment $filename = $_FILES["$fd"]['name']; $body .= "--".$mime_boundary."\r\n"; $body .= 'Content-Type: ' . $_FILES["$fd"]['type'] . '; name="' . $filename . '"' . "\r\n"; $body .= "Content-Transfer-Encoding: base64\r\n"; $body .= "Content-Description: {$field['FieldName']}\r\n"; $body .= 'Content-Disposition: attachment; filename="' . $filename . '"'."\r\n\r\n"; $body .= $f_contents."\r\n\r\n"; } } } if($AttachmentsNo){ # Finished $body .= "--".$mime_boundary."--\r\n\r\n"; // finish with two eol's for better security. see Injection. } // Make sure email address is defined before trying to send if(trim($data['FEmail'])){ mail($data['FEmail'], $subject,$body,$headers,'-fburst@emailmeform.com'); } // If Sending a copy to visitor is checked and the field from where to get the visitor email // address is selected we send a copy to the visitor if ($data['FCopyToSender'] && !validate_name_email($FieldData[$data['FCopyToSenderEmail']])){ $headers = "From: EmailMeForm \r\n"; $subject = $data['FName']; $body = 'Hello ' . ",\r\n \r\n"; $body .= "We have received your submission, thank you!\r\n \r\n"; if($data['Plan']){ if($data['FSenderMesFromT']==2){ $headers = "From: {$data['FSenderFromCustomText']} \r\n"; } if (!validate_name_email($data['FReplyToEmail'])){ $headers .= "Reply-To: <".$data['FReplyToEmail'].">\r\n"; } if($data['FSenderMesSubjectT']==2){ $subject = $data['FSenderSubjectCustomText']; } if($data['FSenderMesBodyT']==2){ $body = $data['FSenderBodyCustomText']."\r\n\r\n"; } } $body .= "Below is the data submitted:\r\n \r\n"; foreach($data['fields_by_form_id'] as $key => $field){ if ($field['FieldType']!=6){ $body .= $field['FieldName'] . ': ' . $FieldData[$key] . "\r\n"; }else{ $e_fd = 'element_' . $key; if (is_uploaded_file(@$_FILES["$e_fd"]['tmp_name'])){ $body .= $field['FieldName'] . ': ' . $_FILES["$e_fd"]['name'] . "\r\n"; } } } if(! $data['FSenderVisitorIp']){ $body .= 'Visitor Ip: ' . get_ip() . "\r\n"; } $to=$FieldData[$data['FCopyToSenderEmail']]; mail($to,$subject,$body,$headers,'-fburst@emailmeform.com'); } switch ($data['AfterPostFormType']){ case 'url': $temp_web_site=trim($data['FWebsiteAfter']); if(stripos($temp_web_site,'http://')===FALSE){ $temp_web_site="http://{$temp_web_site}"; } if(is_url($temp_web_site,false)){ $location="Location: {$temp_web_site}"; }else{ $location="Location: ".domain_url()."v-thankyou.html"; } header($location); break; case 'text': post_after_text(array_merge($data['form'],array($data['AfterPostFormText']))); break; } } }//end post data ?> EmailMeForm - <?php echo $data['FName'];?>
Bible Studies

Name
First
Last
Email
Phone

###
-
###
-
####
Multiple Choice
 Revelations - Monday @10 am 
 Luke - Wednesdays @ 6 pm 
 Stuck - Women's Study - Wednesdays @6 pm 
 Acts - Wednesdays @ 6 pm 
 

 

SNACK SUPPER
(during the school year)

Wed. - 5:00 p.m.- 6:30
Fellowship Hall

$5.50 Adults

$2.50 Children 12 & under

NURSERY AVAILABLE ON

WEDNESDAYS