'; if(empty($content['form']) || !is_array($content['form'])) $content['form'] = array(); $content['form'] = array_merge( array( 'subject' => '', 'startup' => '', 'startup_html' => 0, 'targettype' => 'email', 'class' => '', 'target' => '', "copyto" => '', "sendcopy" => 0, "onsuccess_redirect" => 0, "onsuccess" => '', "onerror_redirect" => 0, "onerror" => '', "template_format" => 0, "template" => '', "template_format_copy" => 0, "template_copy" => '', 'template_equal' => 1, "customform" => '', 'sender' => '', 'sendertype' => 'email', 'sendername' => '', 'sendernametype' => 'custom', 'cc' => '', 'subjectselect' => '', 'savedb' => 0, 'saveprofile' => 0, 'verifyemail' => '', 'formtracking_off' => 0, 'checktofrom' => 0, 'function_to' => '', 'function_cc' => '' ), $content['form']); $content['profile_fields'] = array( "title" => $BL['be_profile_label_title'], "firstname" => $BL['be_profile_label_firstname'], "lastname" => $BL['be_profile_label_name'], "company" => $BL['be_profile_label_company'], "street" => $BL['be_profile_label_street'], "add" => $BL['be_profile_label_add'], "city" => $BL['be_profile_label_city'], "zip" => $BL['be_profile_label_zip'], "region" => $BL['be_profile_label_state'], "country" => $BL['be_profile_label_country'], "fon" => $BL['be_profile_label_phone'], "fax" => $BL['be_profile_label_fax'], "mobile" => $BL['be_profile_label_cellphone'], "signature" => $BL['be_profile_label_signature'], 'notes' => $BL['be_profile_label_notes'], "prof" => $BL['be_profile_label_profession'], "newsletter" => $BL['be_profile_label_newsletter'], "website" => $BL['be_profile_label_website'], 'gender' => $BL['be_profile_label_gender'], 'birthday' => $BL['be_profile_label_birthday'], "varchar1" => $BL['be_cnt_field']['text'].' 1', "varchar2" => $BL['be_cnt_field']['text'].' 2', "varchar3" => $BL['be_cnt_field']['text'].' 3', "varchar4" => $BL['be_cnt_field']['text'].' 4', "varchar5" => $BL['be_cnt_field']['text'].' 5', "text1" => $BL['be_cnt_field']['textarea'].' 1', "text2" => $BL['be_cnt_field']['textarea'].' 2', "text3" => $BL['be_cnt_field']['textarea'].' 3' ); $content['profile_fields_varchar'] = array( "title" => $BL['be_profile_label_title'], "firstname" => $BL['be_profile_label_firstname'], "lastname" => $BL['be_profile_label_name'], "company" => $BL['be_profile_label_company'], "street" => $BL['be_profile_label_street'], "add" => $BL['be_profile_label_add'], "city" => $BL['be_profile_label_city'], "zip" => $BL['be_profile_label_zip'], "region" => $BL['be_profile_label_state'], "country" => $BL['be_profile_label_country'], "fon" => $BL['be_profile_label_phone'], "fax" => $BL['be_profile_label_fax'], "mobile" => $BL['be_profile_label_cellphone'], "email" => $BL['be_profile_label_email'], "password" => $BL['be_cnt_field']['password'], "signature" => $BL['be_profile_label_signature'], "prof" => $BL['be_profile_label_profession'], "website" => $BL['be_profile_label_website'], 'gender' => $BL['be_profile_label_gender'], "varchar1" => $BL['be_cnt_field']['text'].' 1', "varchar2" => $BL['be_cnt_field']['text'].' 2', "varchar3" => $BL['be_cnt_field']['text'].' 3', "varchar4" => $BL['be_cnt_field']['text'].' 4', "varchar5" => $BL['be_cnt_field']['text'].' 5' ); $content['profile_fields_longtext'] = array( 'notes' => $BL['be_profile_label_notes'], "text1" => $BL['be_cnt_field']['textarea'].' 1', "text2" => $BL['be_cnt_field']['textarea'].' 2', "text3" => $BL['be_cnt_field']['textarea'].' 3' ); $for_select = ''; $for_select_2 = ''; // always disable switching content part for form - too complex settings and better to safe the user for himself initMootools(); $BE['BODY_CLOSE'][] = ''; ?>
  " size="40" />
  " size="40" />
 
 
title="send copy to selected field" />  
 
/>  
0) { echo '
'; echo "
'; } } ?>
/>  
onchange="this.form.submit();" />  
/>  
title="Text" />   title="HTML" />  
'; echo ''; } ?>
title="redirect on success" />   title="redirect on success" />     title="redirect on success" />   
title="redirect on success" />   title="redirect on success" />     title="redirect on success" />   
array(), 'hideAll' => array(), 'varcharFields' => array(), 'longtextFields' => array() ); foreach($content['form']["fields"] as $key => $value) { $field_bg = ($field_counter % 2) ? '' : ' bgcolor="#F3F5F8"'; $field_row4 = ''; // generate javascript code part 1 $field_js['showAll'][$key] = ' showHide_CntFormfieldRow(\'formRow_'.$field_counter.'\', \'block\''; $field_js['hideAll'][$key] = ' showHide_CntFormfieldRow(\'formRow_'.$field_counter.'\', \'none\''; echo ''.LF; echo ''.LF; $field_row4 .= ''; echo ''; echo ''.LF; echo ''; echo ''; echo ''.LF.''.LF.''; echo ''; echo ''.LF; echo ''; echo "\n\n"; // if field row 4 echo $field_row4; echo ''; // generate javascript code part 2 $field_js['showAll'][$key] .= ');'; $field_js['hideAll'][$key] .= ');'; $field_counter++; } } ?>
/>    />    />
" />   " />
" />   " />
   :  :  :  S/C:  M/R: <?php echo $BL['be_cnt_needed'] ?> <?php echo $BL['be_cnt_delete'] ?>
'; echo ''.LF; $field_row4 .= ' '; $field_row4 .= $BL['be_cnt_bid_verifyemail'].': '; echo '
"; echo '-
'; echo '"; echo '+
 '.$BL['be_cnt_error_text'].': 
 '.$BL['be_cnt_css_class'].': 
 '.$BL['be_cnt_css_style'].': 
   
 
-
+
 
 
 
 
1) { echo ''; } ?> '; echo ''; } ?>
onchange="this.form.submit();" /> onchange="this.form.submit();" />
$content['form']["template"], 'field' => 'cform_template', 'height' => '350px', 'width' => '536px', 'rows' => '15', 'editor' => $_SESSION["WYSIWYG_EDITOR"], 'lang' => 'en' ); include(PHPWCMS_ROOT.'/include/inc_lib/wysiwyg.editor.inc.php'); } else { echo ''; ?>
-+
onchange="showhidecopy()" />
'; echo ''; } ?>
onchange="this.form.submit();" /> onchange="this.form.submit();" />
$content['form']["template_copy"], 'field' => 'cform_template_copy', 'height' => '350px', 'width' => '536px', 'rows' => '15', 'editor' => $_SESSION["WYSIWYG_EDITOR"], 'lang' => 'en' ); include(PHPWCMS_ROOT.'/include/inc_lib/wysiwyg.editor.inc.php'); } else { echo ''; ?>
-+
'; echo '
'; echo ''; echo '
'; } ?>
-+