Version Description
New: Undo/Rendo form
Download this release
Release Info
Developer | webdorado |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.7.55 |
Comparing to | |
See all releases |
Code changes from version 1.7.54 to 1.7.55
- admin/controllers/FMControllerManage_fm.php +225 -1
- admin/models/FMModelManage_fm.php +2 -1
- admin/models/FMModelUninstall_fm.php +2 -1
- admin/views/FMViewManage_fm.php +30 -0
- admin/views/FMViewUninstall_fm.php +2 -0
- form-maker.php +2 -2
- form_maker_insert.php +76 -9
- form_maker_update.php +67 -0
- js/formmaker_div_free.js +2 -2
- readme.txt +4 -1
admin/controllers/FMControllerManage_fm.php
CHANGED
@@ -31,6 +31,42 @@ class FMControllerManage_fm {
|
|
31 |
$this->display();
|
32 |
}
|
33 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
public function display() {
|
36 |
require_once WD_FM_DIR . "/admin/models/FMModelManage_fm.php";
|
@@ -57,7 +93,25 @@ class FMControllerManage_fm {
|
|
57 |
require_once WD_FM_DIR . "/admin/views/FMViewManage_fm.php";
|
58 |
$view = new FMViewManage_fm($model);
|
59 |
$id = WDW_FM_Library::get('current_id', 0);
|
60 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
}
|
62 |
|
63 |
public function edit_old() {
|
@@ -822,6 +876,176 @@ function before_reset() {
|
|
822 |
'%d'
|
823 |
));
|
824 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
825 |
if ($save !== FALSE) {
|
826 |
return 1;
|
827 |
}
|
31 |
$this->display();
|
32 |
}
|
33 |
}
|
34 |
+
public function undo()
|
35 |
+
{
|
36 |
+
require_once WD_FM_DIR . "/admin/models/FMModelManage_fm.php";
|
37 |
+
$model = new FMModelManage_fm();
|
38 |
+
|
39 |
+
require_once WD_FM_DIR . "/admin/views/FMViewManage_fm.php";
|
40 |
+
|
41 |
+
global $wpdb;
|
42 |
+
$backup_id = WDW_FM_Library::get('backup_id');
|
43 |
+
$id = WDW_FM_Library::get('id');
|
44 |
+
|
45 |
+
$query = "SELECT backup_id FROM ".$wpdb->prefix."formmaker_backup WHERE backup_id < $backup_id AND id = $id ORDER BY backup_id DESC LIMIT 0 , 1 ";
|
46 |
+
$backup_id = $wpdb->get_var($query);
|
47 |
+
|
48 |
+
$view = new FMViewManage_fm($model);
|
49 |
+
$view->edit($backup_id);
|
50 |
+
|
51 |
+
}
|
52 |
+
public function redo()
|
53 |
+
{
|
54 |
+
require_once WD_FM_DIR . "/admin/models/FMModelManage_fm.php";
|
55 |
+
$model = new FMModelManage_fm();
|
56 |
+
|
57 |
+
require_once WD_FM_DIR . "/admin/views/FMViewManage_fm.php";
|
58 |
+
global $wpdb;
|
59 |
+
$backup_id = WDW_FM_Library::get('backup_id');
|
60 |
+
$id = WDW_FM_Library::get('id');
|
61 |
+
|
62 |
+
$query = "SELECT backup_id FROM ".$wpdb->prefix."formmaker_backup WHERE backup_id > $backup_id AND id = $id ORDER BY backup_id ASC LIMIT 0 , 1 ";
|
63 |
+
$backup_id = $wpdb->get_var($query);
|
64 |
+
|
65 |
+
$view = new FMViewManage_fm($model);
|
66 |
+
$view->edit($backup_id);
|
67 |
+
|
68 |
+
}
|
69 |
+
|
70 |
|
71 |
public function display() {
|
72 |
require_once WD_FM_DIR . "/admin/models/FMModelManage_fm.php";
|
93 |
require_once WD_FM_DIR . "/admin/views/FMViewManage_fm.php";
|
94 |
$view = new FMViewManage_fm($model);
|
95 |
$id = WDW_FM_Library::get('current_id', 0);
|
96 |
+
|
97 |
+
global $wpdb;
|
98 |
+
$query = "SELECT backup_id FROM ".$wpdb->prefix."formmaker_backup WHERE cur=1 and id=".$id;
|
99 |
+
$backup_id = $wpdb->get_var($query);
|
100 |
+
|
101 |
+
if(!$backup_id)
|
102 |
+
{
|
103 |
+
$query = "SELECT max(backup_id) FROM ".$wpdb->prefix."formmaker_backup";
|
104 |
+
$backup_id = $wpdb->get_var($query);
|
105 |
+
if($backup_id)
|
106 |
+
$backup_id++;
|
107 |
+
else
|
108 |
+
$backup_id=1;
|
109 |
+
$query = "INSERT INTO ".$wpdb->prefix."formmaker_backup SELECT ".$backup_id." AS backup_id, 1 AS cur, ".$wpdb->prefix."formmaker.* FROM ".$wpdb->prefix."formmaker WHERE id=".$id;
|
110 |
+
|
111 |
+
$wpdb->query($query);
|
112 |
+
}
|
113 |
+
|
114 |
+
$view->edit($backup_id);
|
115 |
}
|
116 |
|
117 |
public function edit_old() {
|
876 |
'%d'
|
877 |
));
|
878 |
}
|
879 |
+
|
880 |
+
$backup_id = (isset($_POST['backup_id']) ? esc_html(stripslashes($_POST['backup_id'])) : '');
|
881 |
+
|
882 |
+
if($backup_id)
|
883 |
+
{
|
884 |
+
$query = "SELECT backup_id FROM ".$wpdb->prefix."formmaker_backup WHERE backup_id > ".$backup_id." AND id = ".$id." ORDER BY backup_id ASC LIMIT 0 , 1 ";
|
885 |
+
|
886 |
+
if($wpdb->get_var($query))
|
887 |
+
{
|
888 |
+
$query = "DELETE FROM ".$wpdb->prefix."formmaker_backup WHERE backup_id > ".$backup_id." AND id = ".$id;
|
889 |
+
$wpdb->query($query);
|
890 |
+
}
|
891 |
+
|
892 |
+
$row = $wpdb->get_row($wpdb->prepare("SELECT form_fields, form_front FROM ".$wpdb->prefix."formmaker_backup WHERE backup_id = '%d'", $backup_id));
|
893 |
+
|
894 |
+
if($row->form_fields==$form_fields and $row->form_front==$form_front)
|
895 |
+
{
|
896 |
+
$save = $wpdb->update($wpdb->prefix . 'formmaker_backup', array(
|
897 |
+
'cur' => 1,
|
898 |
+
'title' => $title,
|
899 |
+
'form_front' => $form_front,
|
900 |
+
'sortable' => $sortable,
|
901 |
+
'counter' => $counter,
|
902 |
+
'label_order' => $label_order,
|
903 |
+
'label_order_current' => $label_order_current,
|
904 |
+
'pagination' => $pagination,
|
905 |
+
'show_title' => $show_title,
|
906 |
+
'show_numbers' => $show_numbers,
|
907 |
+
'public_key' => $public_key,
|
908 |
+
'private_key' => $private_key,
|
909 |
+
'recaptcha_theme' => $recaptcha_theme,
|
910 |
+
'form_fields' => $form_fields,
|
911 |
+
), array('backup_id' => $backup_id));
|
912 |
+
|
913 |
+
|
914 |
+
if ($save !== FALSE) {
|
915 |
+
return 1;
|
916 |
+
}
|
917 |
+
else {
|
918 |
+
return 2;
|
919 |
+
}
|
920 |
+
}
|
921 |
+
}
|
922 |
+
|
923 |
+
$wpdb->query("UPDATE ".$wpdb->prefix."formmaker_backup SET cur=0 WHERE id=".$id );
|
924 |
+
|
925 |
+
$save = $wpdb->insert($wpdb->prefix . 'formmaker_backup', array(
|
926 |
+
'cur' => 1,
|
927 |
+
'id' => $id,
|
928 |
+
'title' => $title,
|
929 |
+
'mail' => '',
|
930 |
+
'form_front' => $form_front,
|
931 |
+
'theme' => $wpdb->get_var("SELECT id FROM " . $wpdb->prefix . "formmaker_themes WHERE css LIKE '%.wdform_section%'"),
|
932 |
+
'counter' => $counter,
|
933 |
+
'label_order' => $label_order,
|
934 |
+
'pagination' => $pagination,
|
935 |
+
'show_title' => $show_title,
|
936 |
+
'show_numbers' => $show_numbers,
|
937 |
+
'public_key' => $public_key,
|
938 |
+
'private_key' => $private_key,
|
939 |
+
'recaptcha_theme' => $recaptcha_theme,
|
940 |
+
'javascript' => $javascript,
|
941 |
+
'submit_text' => '',
|
942 |
+
'url' => '',
|
943 |
+
'article_id' => 0,
|
944 |
+
'submit_text_type' => 0,
|
945 |
+
'script_mail' => '%all%',
|
946 |
+
'script_mail_user' => '%all%',
|
947 |
+
'label_order_current' => $label_order_current,
|
948 |
+
'tax' => 0,
|
949 |
+
'payment_currency' => '',
|
950 |
+
'paypal_email' => '',
|
951 |
+
'checkout_mode' => 'testmode',
|
952 |
+
'paypal_mode' => 0,
|
953 |
+
'published' => 1,
|
954 |
+
'form_fields' => $form_fields,
|
955 |
+
'savedb' => 1,
|
956 |
+
'sendemail' => 1,
|
957 |
+
'requiredmark' => '*',
|
958 |
+
'from_mail' => '',
|
959 |
+
'from_name' => '',
|
960 |
+
'reply_to' => '',
|
961 |
+
'send_to' => '',
|
962 |
+
'autogen_layout' => 1,
|
963 |
+
'custom_front' => '',
|
964 |
+
'mail_from_user' => '',
|
965 |
+
'mail_from_name_user' => '',
|
966 |
+
'reply_to_user' => '',
|
967 |
+
'condition' => '',
|
968 |
+
'mail_cc' => '',
|
969 |
+
'mail_cc_user' => '',
|
970 |
+
'mail_bcc' => '',
|
971 |
+
'mail_bcc_user' => '',
|
972 |
+
'mail_subject' => '',
|
973 |
+
'mail_subject_user' => '',
|
974 |
+
'mail_mode' => 1,
|
975 |
+
'mail_mode_user' => 1,
|
976 |
+
'mail_attachment' => 1,
|
977 |
+
'mail_attachment_user' => 1,
|
978 |
+
'sortable' => $sortable,
|
979 |
+
'user_id_wd' => 'administrator,',
|
980 |
+
'frontend_submit_fields' => '',
|
981 |
+
'frontend_submit_stat_fields' => '',
|
982 |
+
), array(
|
983 |
+
'%d',
|
984 |
+
'%d',
|
985 |
+
'%s',
|
986 |
+
'%s',
|
987 |
+
'%s',
|
988 |
+
'%d',
|
989 |
+
'%d',
|
990 |
+
'%s',
|
991 |
+
'%s',
|
992 |
+
'%s',
|
993 |
+
'%s',
|
994 |
+
'%s',
|
995 |
+
'%s',
|
996 |
+
'%s',
|
997 |
+
'%s',
|
998 |
+
'%s',
|
999 |
+
'%s',
|
1000 |
+
'%d',
|
1001 |
+
'%d',
|
1002 |
+
'%s',
|
1003 |
+
'%s',
|
1004 |
+
'%s',
|
1005 |
+
'%s',
|
1006 |
+
'%s',
|
1007 |
+
'%s',
|
1008 |
+
'%s',
|
1009 |
+
'%d',
|
1010 |
+
'%d',
|
1011 |
+
'%s',
|
1012 |
+
'%d',
|
1013 |
+
'%d',
|
1014 |
+
'%s',
|
1015 |
+
'%s',
|
1016 |
+
'%s',
|
1017 |
+
'%s',
|
1018 |
+
'%s',
|
1019 |
+
'%d',
|
1020 |
+
'%s',
|
1021 |
+
'%s',
|
1022 |
+
'%s',
|
1023 |
+
'%s',
|
1024 |
+
'%s',
|
1025 |
+
'%s',
|
1026 |
+
'%s',
|
1027 |
+
'%s',
|
1028 |
+
'%s',
|
1029 |
+
'%s',
|
1030 |
+
'%s',
|
1031 |
+
'%d',
|
1032 |
+
'%d',
|
1033 |
+
'%d',
|
1034 |
+
'%d',
|
1035 |
+
'%d',
|
1036 |
+
'%s',
|
1037 |
+
'%s',
|
1038 |
+
'%s',
|
1039 |
+
)) ;
|
1040 |
+
|
1041 |
+
$query = "SELECT count(backup_id) FROM ".$wpdb->prefix."formmaker_backup WHERE id = ".$id;
|
1042 |
+
$wpdb->get_var($query);
|
1043 |
+
if($wpdb->get_var($query)>10)
|
1044 |
+
{
|
1045 |
+
$query = "DELETE FROM ".$wpdb->prefix."formmaker_backup WHERE id = ".$id." ORDER BY backup_id ASC LIMIT 1 ";
|
1046 |
+
$wpdb->query($query);
|
1047 |
+
}
|
1048 |
+
|
1049 |
if ($save !== FALSE) {
|
1050 |
return 1;
|
1051 |
}
|
admin/models/FMModelManage_fm.php
CHANGED
@@ -95,7 +95,7 @@ class FMModelManage_fm {
|
|
95 |
public function get_row_data_new($id) {
|
96 |
global $wpdb;
|
97 |
if ($id != 0) {
|
98 |
-
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . '
|
99 |
$labels2 = array();
|
100 |
$label_id = array();
|
101 |
$label_order_original = array();
|
@@ -2064,6 +2064,7 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
2064 |
else {
|
2065 |
$row = new stdClass();
|
2066 |
$row->id = 0;
|
|
|
2067 |
$row->title = '';
|
2068 |
$row->mail = '';
|
2069 |
$row->form = '';
|
95 |
public function get_row_data_new($id) {
|
96 |
global $wpdb;
|
97 |
if ($id != 0) {
|
98 |
+
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'formmaker_backup WHERE backup_id="%d"', $id));
|
99 |
$labels2 = array();
|
100 |
$label_id = array();
|
101 |
$label_order_original = array();
|
2064 |
else {
|
2065 |
$row = new stdClass();
|
2066 |
$row->id = 0;
|
2067 |
+
$row->backup_id ='';
|
2068 |
$row->title = '';
|
2069 |
$row->mail = '';
|
2070 |
$row->form = '';
|
admin/models/FMModelUninstall_fm.php
CHANGED
@@ -34,7 +34,8 @@ class FMModelUninstall_fm {
|
|
34 |
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_sessions");
|
35 |
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_blocked");
|
36 |
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_query");
|
37 |
-
|
|
|
38 |
delete_option("wd_form_maker_version");
|
39 |
delete_option('formmaker_cureent_version');
|
40 |
delete_option('form_maker_pro_active');
|
34 |
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_sessions");
|
35 |
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_blocked");
|
36 |
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_query");
|
37 |
+
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_backup");
|
38 |
+
delete_option('contact_form_forms');
|
39 |
delete_option("wd_form_maker_version");
|
40 |
delete_option('formmaker_cureent_version');
|
41 |
delete_option('form_maker_pro_active');
|
admin/views/FMViewManage_fm.php
CHANGED
@@ -435,6 +435,35 @@ class FMViewManage_fm {
|
|
435 |
<?php wp_nonce_field('nonce_fm', 'nonce_fm'); ?>
|
436 |
<h2><?php echo $page_title; ?></h2>
|
437 |
<div style="float: right; margin: 0 5px 0 0;">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
<input class="button-primary" type="submit" onclick="if (spider_check_required('title', 'Form title') || !submitbutton()) {return false;}; spider_set_input_value('task', 'form_options');" value="Form Options"/>
|
439 |
<input class="button-primary" type="submit" onclick="if (spider_check_required('title', 'Form title') || !submitbutton()) {return false;}; spider_set_input_value('task', 'form_layout');" value="Form Layout"/>
|
440 |
<?php
|
@@ -676,6 +705,7 @@ class FMViewManage_fm {
|
|
676 |
<input type="hidden" id="label_order_current" name="label_order_current" value="<?php echo $row->label_order_current; ?>" />
|
677 |
<input type="hidden" name="counter" id="counter" value="<?php echo $row->counter; ?>" />
|
678 |
<input type="hidden" id="araqel" value="0" />
|
|
|
679 |
<?php
|
680 |
if ($id) {
|
681 |
?>
|
435 |
<?php wp_nonce_field('nonce_fm', 'nonce_fm'); ?>
|
436 |
<h2><?php echo $page_title; ?></h2>
|
437 |
<div style="float: right; margin: 0 5px 0 0;">
|
438 |
+
|
439 |
+
<?php
|
440 |
+
|
441 |
+
if(isset($row->backup_id) )
|
442 |
+
if($row->backup_id!="")
|
443 |
+
{
|
444 |
+
global $wpdb;
|
445 |
+
|
446 |
+
$query = "SELECT backup_id FROM " . $wpdb->prefix . "formmaker_backup WHERE backup_id > ".$row->backup_id." AND id = ".$row->id." ORDER BY backup_id ASC LIMIT 0 , 1 ";
|
447 |
+
$backup_id = $wpdb->get_var($query);
|
448 |
+
|
449 |
+
if($backup_id)
|
450 |
+
{?>
|
451 |
+
<input class="button-primary" type="submit" onclick="if (spider_check_required('title', 'Form title') || !submitbutton()) {return false;}; jQuery('#saving_text').html('Redo');spider_set_input_value('task', 'redo');" value="Redo"/>
|
452 |
+
|
453 |
+
<?php
|
454 |
+
}
|
455 |
+
|
456 |
+
$query = "SELECT backup_id FROM " . $wpdb->prefix . "formmaker_backup WHERE backup_id < ".$row->backup_id." AND id = ".$row->id." ORDER BY backup_id DESC LIMIT 0 , 1 ";
|
457 |
+
$backup_id = $wpdb->get_var($query);
|
458 |
+
|
459 |
+
if($backup_id)
|
460 |
+
{?>
|
461 |
+
<input class="button-secondary" type="submit" onclick="if (spider_check_required('title', 'Form title') || !submitbutton()) {return false;}; jQuery('#saving_text').html('Undo');spider_set_input_value('task', 'undo');" value="Undo"/>
|
462 |
+
|
463 |
+
<?php
|
464 |
+
}
|
465 |
+
}
|
466 |
+
?>
|
467 |
<input class="button-primary" type="submit" onclick="if (spider_check_required('title', 'Form title') || !submitbutton()) {return false;}; spider_set_input_value('task', 'form_options');" value="Form Options"/>
|
468 |
<input class="button-primary" type="submit" onclick="if (spider_check_required('title', 'Form title') || !submitbutton()) {return false;}; spider_set_input_value('task', 'form_layout');" value="Form Layout"/>
|
469 |
<?php
|
705 |
<input type="hidden" id="label_order_current" name="label_order_current" value="<?php echo $row->label_order_current; ?>" />
|
706 |
<input type="hidden" name="counter" id="counter" value="<?php echo $row->counter; ?>" />
|
707 |
<input type="hidden" id="araqel" value="0" />
|
708 |
+
<input type="hidden" name="backup_id" id="backup_id" value="<?php echo $row->backup_id;?>">
|
709 |
<?php
|
710 |
if ($id) {
|
711 |
?>
|
admin/views/FMViewUninstall_fm.php
CHANGED
@@ -51,6 +51,7 @@ class FMViewUninstall_fm {
|
|
51 |
<td valign="top">
|
52 |
<ol>
|
53 |
<li><?php echo $prefix; ?>formmaker</li>
|
|
|
54 |
<li><?php echo $prefix; ?>formmaker_blocked</li>
|
55 |
<li><?php echo $prefix; ?>formmaker_submits</li>
|
56 |
<li><?php echo $prefix; ?>formmaker_views</li>
|
@@ -95,6 +96,7 @@ class FMViewUninstall_fm {
|
|
95 |
<div id="message" class="updated fade">
|
96 |
<p>The following Database Tables succesfully deleted:</p>
|
97 |
<p><?php echo $prefix; ?>formmaker,</p>
|
|
|
98 |
<p><?php echo $prefix; ?>formmaker_blocked,</p>
|
99 |
<p><?php echo $prefix; ?>formmaker_sessions,</p>
|
100 |
<p><?php echo $prefix; ?>formmaker_submits,</p>
|
51 |
<td valign="top">
|
52 |
<ol>
|
53 |
<li><?php echo $prefix; ?>formmaker</li>
|
54 |
+
<li><?php echo $prefix; ?>formmaker_backup</li>
|
55 |
<li><?php echo $prefix; ?>formmaker_blocked</li>
|
56 |
<li><?php echo $prefix; ?>formmaker_submits</li>
|
57 |
<li><?php echo $prefix; ?>formmaker_views</li>
|
96 |
<div id="message" class="updated fade">
|
97 |
<p>The following Database Tables succesfully deleted:</p>
|
98 |
<p><?php echo $prefix; ?>formmaker,</p>
|
99 |
+
<p><?php echo $prefix; ?>formmaker_backup,</p>
|
100 |
<p><?php echo $prefix; ?>formmaker_blocked,</p>
|
101 |
<p><?php echo $prefix; ?>formmaker_sessions,</p>
|
102 |
<p><?php echo $prefix; ?>formmaker_submits,</p>
|
form-maker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Form Maker
|
4 |
* Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
|
6 |
-
* Version: 1.7.
|
7 |
* Author: WebDorado
|
8 |
* Author URI: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -231,7 +231,7 @@ if (class_exists('WP_Widget')) {
|
|
231 |
// Activate plugin.
|
232 |
function form_maker_activate() {
|
233 |
$version = get_option("wd_form_maker_version");
|
234 |
-
$new_version = '1.7.
|
235 |
if (!$version) {
|
236 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
237 |
global $wpdb;
|
3 |
* Plugin Name: Form Maker
|
4 |
* Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
|
6 |
+
* Version: 1.7.55
|
7 |
* Author: WebDorado
|
8 |
* Author URI: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
231 |
// Activate plugin.
|
232 |
function form_maker_activate() {
|
233 |
$version = get_option("wd_form_maker_version");
|
234 |
+
$new_version = '1.7.55';
|
235 |
if (!$version) {
|
236 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
237 |
global $wpdb;
|
form_maker_insert.php
CHANGED
@@ -181,6 +181,73 @@ function from_maker_insert() {
|
|
181 |
PRIMARY KEY (`id`)
|
182 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;";
|
183 |
$wpdb->query($formmaker_query);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
return;
|
185 |
}
|
186 |
|
@@ -188,15 +255,15 @@ function install_demo_forms() {
|
|
188 |
global $wpdb;
|
189 |
$form_maker_row = $wpdb->get_var("SELECT * FROM " . $wpdb->prefix . "formmaker WHERE `id` NOT IN (" . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ")");
|
190 |
if (!$form_maker_row) {
|
191 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Contact\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Name:%</div><div wdid="2" class="wdform_row">%2 - E-mail:%</div><div wdid="3" class="wdform_row">%3 - Subject:%</div><div wdid="4" class="wdform_row">%4 - Message:%</div><div wdid="5" class="wdform_row">%5 - type_submit_reset_5%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 1, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\r\n\r\nVerify your email address %Verification link%\', 6, 1, \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#3#**id**#Subject:#**label**#type_text#****#4#**id**#Message:#**label**#type_textarea#****#5#**id**#type_submit_reset_5#**label**#type_submit_reset#****#\', \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#3#**id**#Subject:#**label**#type_text#****#4#**id**#Message:#**label**#type_textarea#****#5#**id**#type_submit_reset_5#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Name:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos
|
192 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Fill Form To Get Admission\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Name:%</div><div wdid="2" class="wdform_row">%2 - E-mail:%</div><div wdid="4" class="wdform_row">%4 - Phone Number:%</div><div wdid="5" class="wdform_row">%5 - SELECT COLLEGE%</div><div wdid="6" class="wdform_row">%6 - OTHER SPECIFY HERE%</div><div wdid="7" class="wdform_row">%7 - Word Verification:%</div><div wdid="8" class="wdform_row">%8 - type_submit_reset_8%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 8, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 9, 1, \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Phone Number:#**label**#type_number#****#5#**id**#SELECT COLLEGE#**label**#type_own_select#****#6#**id**#OTHER SPECIFY HERE#**label**#type_text#****#7#**id**#Word Verification:#**label**#type_captcha#****#8#**id**#type_submit_reset_8#**label**#type_submit_reset#****#\', \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Phone Number:#**label**#type_number#****#5#**id**#SELECT COLLEGE#**label**#type_own_select#****#6#**id**#OTHER SPECIFY HERE#**label**#type_text#****#7#**id**#Word Verification:#**label**#type_captcha#****#8#**id**#type_submit_reset_8#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Name:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:***********:*w_first_val*:***********:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*
|
193 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Camp Registration Form\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Camper Name:%</div><div wdid="2" class="wdform_row">%2 - Camper Age Group:%</div><div wdid="3" class="wdform_row">%3 - Desire Cabin:%</div><div wdid="4" class="wdform_row">%4 - Does any one have allergies?%</div><div wdid="5" class="wdform_row">%5 - Has the camper been camping before?%</div><div wdid="6" class="wdform_row">%6 - Any questions or concern:%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 15, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'1
|
194 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Business Demographic Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - <b>What is your employment status?</b>%</div><div wdid="3" class="wdform_row">%3 - <b>What is your level of education?</b>%</div><div wdid="4" class="wdform_row">%4 - <b>In which industry do you work?</b>%</div><div wdid="5" class="wdform_row">%5 - <b>What is the annual revenue of your company?</b>%</div><div wdid="6" class="wdform_row">%6 - Word Verification:%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 10, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 1, \'<p>%all%</p>\', \'<p>%all%</p>\', 8, 1, \'2#**id**#What is your employment status?#**label**#type_radio#****#3#**id**#What is your level of education?#**label**#type_radio#****#4#**id**#In which industry do you work?#**label**#type_own_select#****#5#**id**#What is the annual revenue of your company?#**label**#type_radio#****#6#**id**#Word Verification:#**label**#type_captcha#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'2#**id**#What is your employment status?#**label**#type_radio#****#3#**id**#What is your level of education?#**label**#type_radio#****#4#**id**#In which industry do you work?#**label**#type_own_select#****#5#**id**#What is the annual revenue of your company?#**label**#type_radio#****#6#**id**#Word Verification:#**label**#type_captcha#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h2 id="header_1" style="font-size: 1.285714286rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.6; margin: 1.714285714rem 0px;">Business Demographic Survey</h2><p style="line-height: 1.714285714; margin: 0px 0px 1.714285714rem; color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px;"></p><div id="subHeader_1" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Thank you for joining our business demographic survey. Please give us your feedback by filling in the information bellow.</div><p><br></p>*:*w_editor*:**:*new_field*:*2*:*id*:*type_radio*:*type*:*<b>What is your employment status?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Employed full time***Trade or Vocational degree***Not employed, but looking for work***Not employed and not looking for work***Retired***Student***Homemaker***Prefer not to answer*:*w_choices*:*false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*3*:*id*:*type_radio*:*type*:*<b>What is your level of education?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Some high school***High school graduate or equivalent***Trade or Vocational Degree***Some college***Associate degree***Bachelor's degree***Graduate or Professional degree***Prefer not to answer*:*w_choices*:*false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*4*:*id*:*type_own_select*:*type*:*<b>In which industry do you work?</b>*:*w_field_label*:*500*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:****option 1***option 2***option 3*:*w_choices*:*true***false***false***false*:*w_choices_checked*:*true***false***false***false*:*w_choices_disabled*:*no*:*w_required*:*wdform_select*:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>What is the annual revenue of your company?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Under $10,000***$10,001 to $50,000***$50,001 to $100,000***$100,001 to $500,000***$500,001 to $1 Million***$1 Million to $10 Million***$10 Million to $50 Million***$50 Million to $100 Million***Over $100 Million*:*w_choices*:*false***false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*6*:*id*:*type_captcha*:*type*:*Word Verification:*:*w_field_label*:*500*:*w_field_label_size*:*top*:*w_field_label_pos*:*6*:*w_digit*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
195 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Register Your Business\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Business Owner %</div><div wdid="2" class="wdform_row">%2 - Business Name%</div><div wdid="3" class="wdform_row">%3 - E-mail%</div><div wdid="4" class="wdform_row">%4 - Address:%</div><div wdid="10" class="wdform_row">%10 - Type of Business%</div><div wdid="11" class="wdform_row">%11 - Message%</div><div wdid="12" class="wdform_row">%12 - type_submit_reset_12%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 26, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 13, 1, \'1#**id**#Business Owner #**label**#type_name#****#2#**id**#Business Name#**label**#type_text#****#3#**id**#E-mail#**label**#type_submitter_mail#****#4#**id**#Street Address#**label**#type_address#****#5#**id**#Street Address Line 2#**label**#type_address#****#6#**id**#City#**label**#type_address#****#7#**id**#State / Province / Region#**label**#type_address#****#8#**id**#Postal / Zip Code#**label**#type_address#****#9#**id**#Country#**label**#type_address#****#10#**id**#Type of Business#**label**#type_own_select#****#11#**id**#Message#**label**#type_textarea#****#12#**id**#type_submit_reset_12#**label**#type_submit_reset#****#\', \'1#**id**#Business Owner #**label**#type_name#****#2#**id**#Business Name#**label**#type_text#****#3#**id**#E-mail#**label**#type_submitter_mail#****#4#**id**#Street Address#**label**#type_address#****#5#**id**#Street Address Line 2#**label**#type_address#****#6#**id**#City#**label**#type_address#****#7#**id**#State / Province / Region#**label**#type_address#****#8#**id**#Postal / Zip Code#**label**#type_address#****#9#**id**#Country#**label**#type_address#****#10#**id**#Type of Business#**label**#type_own_select#****#11#**id**#Message#**label**#type_textarea#****#12#**id**#type_submit_reset_12#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Business Owner *:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos
|
196 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Cupcake Order Form\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Date%</div><div wdid="2" class="wdform_row">%2 - Name%</div><div wdid="3" class="wdform_row">%3 - E-mail:%</div><div wdid="4" class="wdform_row">%4 - <b>Cupcakes <br> Flavors (1 doz. minimum)</b>%</div><div wdid="5" class="wdform_row">%5 - Quantity%</div><div wdid="6" class="wdform_row">%6 - Details (if any)%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 6, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'1#**id**#Date#**label**#type_date#****#2#**id**#Name#**label**#type_name#****#3#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Cupcakes Flavors (1 doz. minimum)#**label**#type_checkbox#****#5#**id**#Quantity#**label**#type_own_select#****#6#**id**#Details (if any)#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'1#**id**#Date#**label**#type_date#****#2#**id**#Name#**label**#type_name#****#3#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Cupcakes Flavors (1 doz. minimum)#**label**#type_checkbox#****#5#**id**#Quantity#**label**#type_own_select#****#6#**id**#Details (if any)#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_date*:*type*:*Date*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:**:*w_date*:*yes*:*w_required*:**:*w_class*:*%Y-%m-%d*:*w_format*:*...*:*w_but_val*:**:*new_field*:*2*:*id*:*type_name*:*type*:*Name*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos
|
197 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Seminar Evaluation Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - <b>Company</b>%</div><div wdid="3" class="wdform_row">%3 - <b>Occupation</b>%</div><div wdid="4" class="wdform_row">%4 - <b>Was it worth its money?</b>%</div><div wdid="5" class="wdform_row">%5 - <b>On average how would you rate the seminar?</b>%</div><div wdid="6" class="wdform_row">%6 - type_submit_reset_6%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 16, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 7, 1, \'2#**id**#Company#**label**#type_text#****#3#**id**#Occupation#**label**#type_text#****#4#**id**#Was it worth its money?#**label**#type_radio#****#5#**id**#On average how would you rate the seminar?#**label**#type_radio#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', \'2#**id**#Company#**label**#type_text#****#3#**id**#Occupation#**label**#type_text#****#4#**id**#Was it worth its money?#**label**#type_radio#****#5#**id**#On average how would you rate the seminar?#**label**#type_radio#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h1 id="header_1" style="font-size: 1.5rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.5; margin: 1.714285714rem 0px;">Seminar Evaluation Survey</h1><div id="subHeader_1" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Please take a few minutes to complete this evaluation survey</div>*:*w_editor*:**:*new_field*:*2*:*id*:*type_text*:*type*:*<b>Company</b>*:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*new_field*:*3*:*id*:*type_text*:*type*:*<b>Occupation</b>*:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*new_field*:*4*:*id*:*type_radio*:*type*:*<b>Was it worth its money?</b>*:*w_field_label*:*200*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Yes***No*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>On average how would you rate the seminar?</b>*:*w_field_label*:*400*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Very good***Good***Neutral***Bad***Very bad*:*w_choices*:*false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*6*:*id*:*type_submit_reset*:*type*:*type_submit_reset_6*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
198 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Restaurant Evaluation Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - Day Visited:%</div><div wdid="3" class="wdform_row">%3 - <b>Dine In / Take Out:</b>%</div><div wdid="4" class="wdform_row">%4 - <b>Food Quality:</b>%</div><div wdid="5" class="wdform_row">%5 - <b>Speed of Service:</b>%</div><div wdid="6" class="wdform_row">%6 - <b>Any comments, questions or suggestions?</b>%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 21, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'2#**id**#Day Visited:#**label**#type_date#****#3#**id**#Dine In / Take Out:#**label**#type_radio#****#4#**id**#Food Quality:#**label**#type_radio#****#5#**id**#Speed of Service:#**label**#type_radio#****#6#**id**#Any comments, questions or suggestions?#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'2#**id**#Day Visited:#**label**#type_date#****#3#**id**#Dine In / Take Out:#**label**#type_radio#****#4#**id**#Food Quality:#**label**#type_radio#****#5#**id**#Speed of Service:#**label**#type_radio#****#6#**id**#Any comments, questions or suggestions?#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h2 id="header_21" style="font-size: 1.285714286rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.6; margin: 1.714285714rem 0px;">Restaurant Evaluation Survey</h2><div id="subHeader_21" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Please let us know how was the food and service.</div><p><br></p>*:*w_editor*:**:*new_field*:*2*:*id*:*type_date*:*type*:*Day Visited:*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:**:*w_date*:*no*:*w_required*:**:*w_class*:*%Y-%m-%d*:*w_format*:*...*:*w_but_val*:**:*new_field*:*3*:*id*:*type_radio*:*type*:*<b>Dine In / Take Out:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Dine In***Dine Out*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*4*:*id*:*type_radio*:*type*:*<b>Food Quality:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Excellent***Good***Average***Dissatisfied*:*w_choices*:*false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>Speed of Service:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Excellent***Good***Average***Dissatisfied*:*w_choices*:*false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*6*:*id*:*type_textarea*:*type*:*<b>Any comments, questions or suggestions?</b>*:*w_field_label*:*300*:*w_field_label_size*:*top*:*w_field_label_pos*:*300*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
199 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Product Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - 1. Please indicate if you agree or disagree with the following statements%</div><div wdid="3" class="wdform_row">%3 - 2. How likely are you to recommend [Product/Service] to a friend or co-worker?%</div><div wdid="4" class="wdform_row">%4 - 3. What is the amount you would ever pay for a product like ours%</div><div wdid="5" class="wdform_row">%5 - 4. Please rate the product %</div><div wdid="6" class="wdform_row">%6 - type_submit_reset_6%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 29, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 7, 1, \'2#**id**#1. Please indicate if you agree or disagree with the following statements#**label**#type_matrix#****#3#**id**#2. How likely are you to recommend [Product/Service] to a friend or co-worker?#**label**#type_scale_rating#****#4#**id**#3. What is the amount you would ever pay for a product like ours#**label**#type_range#****#5#**id**#4. Please rate the product #**label**#type_star_rating#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', \'2#**id**#1. Please indicate if you agree or disagree with the following statements#**label**#type_matrix#****#3#**id**#2. How likely are you to recommend [Product/Service] to a friend or co-worker?#**label**#type_scale_rating#****#4#**id**#3. What is the amount you would ever pay for a product like ours#**label**#type_range#****#5#**id**#4. Please rate the product #**label**#type_star_rating#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h1 class="sg-title" data-mce-style="font-size: 2.2em; color: #fff; font-weight: normal; line-height: normal;" style="font-size: 2.2em; font-weight: normal; color: rgb(255, 255, 255); line-height: normal;">Product Survey</h1>*:*w_editor*:**:*new_field*:*2*:*id*:*type_matrix*:*type*:*1. Please indicate if you agree or disagree with the following statements*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*radio*:*w_field_input_type*:****Product is affordable***Product is valuable***Product is better<br> than other products on<br> the market***Product is easy to use*:*w_rows*:****Strongly Disagree***Disagree***Neutral***Agree***Strongly Agree*:*w_columns*:*no*:*w_required*:*wdform_matrix*:*w_class*:**:*new_field*:*3*:*id*:*type_scale_rating*:*type*:*2. How likely are you to recommend [Product/Service] to a friend or co-worker?*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*Will not recommend *** I will recommend*:*w_mini_labels*:*5*:*w_scale_amount*:*no*:*w_required*:*wdform_scale_rating*:*w_class*:**:*new_field*:*4*:*id*:*type_range*:*type*:*3. What is the amount you would ever pay for a product like ours*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*40*:*w_field_range_width*:*1*:*w_field_range_step*:*null*:*w_field_value1*:*null*:*w_field_value2*:*From***To*:*w_mini_labels*:*no*:*w_required*:**:*w_class*:**:*new_field*:*5*:*id*:*type_star_rating*:*type*:*4. Please rate the product *:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*yellow*:*w_field_label_col*:*10*:*w_star_amount*:*no*:*w_required*:*wdform_star_rating*:*w_class*:**:*new_field*:*6*:*id*:*type_submit_reset*:*type*:*type_submit_reset_6*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*true*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
200 |
}
|
201 |
}
|
202 |
|
181 |
PRIMARY KEY (`id`)
|
182 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;";
|
183 |
$wpdb->query($formmaker_query);
|
184 |
+
|
185 |
+
$formmaker_backup = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_backup` (
|
186 |
+
`backup_id` int(11) NOT NULL AUTO_INCREMENT,
|
187 |
+
`cur` int(1) NOT NULL,
|
188 |
+
`id` int(11) NOT NULL,
|
189 |
+
`title` varchar(127) NOT NULL,
|
190 |
+
`mail` varchar(128) NOT NULL,
|
191 |
+
`form_front` longtext NOT NULL,
|
192 |
+
`theme` int(11) NOT NULL,
|
193 |
+
`javascript` text NOT NULL,
|
194 |
+
`submit_text` longtext NOT NULL,
|
195 |
+
`url` varchar(200) NOT NULL,
|
196 |
+
`submit_text_type` tinyint(4) NOT NULL,
|
197 |
+
`script_mail` text NOT NULL,
|
198 |
+
`script_mail_user` text NOT NULL,
|
199 |
+
`counter` int(11) NOT NULL,
|
200 |
+
`published` int(11) NOT NULL DEFAULT '1',
|
201 |
+
`label_order` text NOT NULL,
|
202 |
+
`label_order_current` text NOT NULL,
|
203 |
+
`article_id` varchar(500) NOT NULL,
|
204 |
+
`pagination` varchar(128) NOT NULL,
|
205 |
+
`show_title` varchar(128) NOT NULL,
|
206 |
+
`show_numbers` varchar(128) NOT NULL,
|
207 |
+
`public_key` varchar(50) NOT NULL,
|
208 |
+
`private_key` varchar(50) NOT NULL,
|
209 |
+
`recaptcha_theme` varchar(20) NOT NULL,
|
210 |
+
`paypal_mode` int(2) NOT NULL,
|
211 |
+
`checkout_mode` varchar(20) NOT NULL,
|
212 |
+
`paypal_email` varchar(50) NOT NULL,
|
213 |
+
`payment_currency` varchar(20) NOT NULL,
|
214 |
+
`tax` float NOT NULL,
|
215 |
+
`form_fields` longtext NOT NULL,
|
216 |
+
`savedb` tinyint(4) NOT NULL DEFAULT '1',
|
217 |
+
`sendemail` tinyint(4) NOT NULL DEFAULT '1',
|
218 |
+
`requiredmark` varchar(20) NOT NULL DEFAULT '*',
|
219 |
+
`from_mail` varchar(128) NOT NULL,
|
220 |
+
`from_name` varchar(128) NOT NULL,
|
221 |
+
`reply_to` varchar(128) NOT NULL,
|
222 |
+
`send_to` varchar(128) NOT NULL,
|
223 |
+
`autogen_layout` tinyint(4) NOT NULL DEFAULT '1',
|
224 |
+
`custom_front` longtext NOT NULL,
|
225 |
+
`mail_from_user` varchar(128) NOT NULL,
|
226 |
+
`mail_from_name_user` varchar(128) NOT NULL,
|
227 |
+
`reply_to_user` varchar(128) NOT NULL,
|
228 |
+
`condition` text NOT NULL,
|
229 |
+
`mail_cc` varchar(128) NOT NULL,
|
230 |
+
`mail_cc_user` varchar(128) NOT NULL,
|
231 |
+
`mail_bcc` varchar(128) NOT NULL,
|
232 |
+
`mail_bcc_user` varchar(128) NOT NULL,
|
233 |
+
`mail_subject` varchar(128) NOT NULL,
|
234 |
+
`mail_subject_user` varchar(128) NOT NULL,
|
235 |
+
`mail_mode` tinyint(4) NOT NULL DEFAULT '1',
|
236 |
+
`mail_mode_user` tinyint(4) NOT NULL DEFAULT '1',
|
237 |
+
`mail_attachment` tinyint(4) NOT NULL DEFAULT '1',
|
238 |
+
`mail_attachment_user` tinyint(4) NOT NULL DEFAULT '1',
|
239 |
+
`user_id_wd` varchar(220) NOT NULL,
|
240 |
+
`sortable` int(11) NOT NULL,
|
241 |
+
`frontend_submit_fields` text NOT NULL,
|
242 |
+
`frontend_submit_stat_fields` text NOT NULL,
|
243 |
+
`mail_emptyfields` tinyint(4) NOT NULL DEFAULT '0',
|
244 |
+
`mail_verify` tinyint(4) NOT NULL DEFAULT '0',
|
245 |
+
`mail_verify_expiretime` float NOT NULL,
|
246 |
+
`mail_verification_post_id` int(11) NOT NULL,
|
247 |
+
PRIMARY KEY (`backup_id`)
|
248 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;";
|
249 |
+
$wpdb->query($formmaker_backup);
|
250 |
+
|
251 |
return;
|
252 |
}
|
253 |
|
255 |
global $wpdb;
|
256 |
$form_maker_row = $wpdb->get_var("SELECT * FROM " . $wpdb->prefix . "formmaker WHERE `id` NOT IN (" . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ")");
|
257 |
if (!$form_maker_row) {
|
258 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Contact\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column ui-sortable"><div wdid="1" class="wdform_row ui-sortable-handle">%1 - Name:%</div><div wdid="2" class="wdform_row ui-sortable-handle">%2 - E-mail:%</div><div wdid="3" class="wdform_row ui-sortable-handle">%3 - Subject:%</div><div wdid="4" class="wdform_row ui-sortable-handle">%4 - Message:%</div><div wdid="5" class="wdform_row ui-sortable-handle">%5 - type_submit_reset_5%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 1, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\r\n\r\nVerify your email address %Verification link%\', 6, 1, \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#3#**id**#Subject:#**label**#type_text#****#4#**id**#Message:#**label**#type_textarea#****#5#**id**#type_submit_reset_5#**label**#type_submit_reset#****#\', \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#3#**id**#Subject:#**label**#type_text#****#4#**id**#Message:#**label**#type_textarea#****#5#**id**#type_submit_reset_5#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Name:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:***********:*w_first_val*:***********:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*yes*:*w_required*:*no*:*w_unique*:**:*w_class*:*no***no*:*w_name_fields*:**:*new_field*:*2*:*id*:*type_submitter_mail*:*type*:*E-mail:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*3*:*id*:*type_text*:*type*:*Subject:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_regExp_status*:**:*w_regExp_value*:**:*w_regExp_common*:**:*w_regExp_arg*:*Incorrect Value*:*w_regExp_alert*:*no*:*w_unique*:**:*new_field*:*4*:*id*:*type_textarea*:*type*:*Message:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*5*:*id*:*type_submit_reset*:*type*:*type_submit_reset_5*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*true*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'*2*\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 1, 1, 0)');
|
259 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Fill Form To Get Admission\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column ui-sortable"><div wdid="1" class="wdform_row ui-sortable-handle">%1 - Name:%</div><div wdid="2" class="wdform_row ui-sortable-handle">%2 - E-mail:%</div><div wdid="4" class="wdform_row ui-sortable-handle">%4 - Phone Number:%</div><div wdid="5" class="wdform_row ui-sortable-handle">%5 - SELECT COLLEGE%</div><div wdid="6" class="wdform_row ui-sortable-handle">%6 - OTHER SPECIFY HERE%</div><div wdid="7" class="wdform_row ui-sortable-handle">%7 - Word Verification:%</div><div wdid="8" class="wdform_row ui-sortable-handle">%8 - type_submit_reset_8%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 8, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 9, 1, \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Phone Number:#**label**#type_number#****#5#**id**#SELECT COLLEGE#**label**#type_own_select#****#6#**id**#OTHER SPECIFY HERE#**label**#type_text#****#7#**id**#Word Verification:#**label**#type_captcha#****#8#**id**#type_submit_reset_8#**label**#type_submit_reset#****#\', \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Phone Number:#**label**#type_number#****#5#**id**#SELECT COLLEGE#**label**#type_own_select#****#6#**id**#OTHER SPECIFY HERE#**label**#type_text#****#7#**id**#Word Verification:#**label**#type_captcha#****#8#**id**#type_submit_reset_8#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Name:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:***********:*w_first_val*:***********:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:*yes***yes*:*w_name_fields*:**:*new_field*:*2*:*id*:*type_submitter_mail*:*type*:*E-mail:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*4*:*id*:*type_number*:*type*:*Phone Number:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*5*:*id*:*type_own_select*:*type*:*SELECT COLLEGE*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**** GGSCMT,KHARAR*** DOABA KHARAR *** CAMBRIDGE COLLEGE FATEHGARH *** INDOGLOBAL *** QUEST COLLEGE *** UNIVERSAL ,LALRU *** OTHER PLEASE SPECIFY BELOW *:*w_choices*:*true***false***false***false***false***false***false***false*:*w_choices_checked*:*true***false***false***false***false***false***false***false*:*w_choices_disabled*:*yes*:*w_required*:*no*:*w_value_disabled*:**** GGSCMT,KHARAR*** DOABA KHARAR *** CAMBRIDGE COLLEGE FATEHGARH *** INDOGLOBAL *** QUEST COLLEGE *** UNIVERSAL ,LALRU *** OTHER PLEASE SPECIFY BELOW *:*w_choices_value*:***********************:*w_choices_params*:*wdform_select*:*w_class*:**:*new_field*:*6*:*id*:*type_text*:*type*:*OTHER SPECIFY HERE*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_regExp_status*:**:*w_regExp_value*:**:*w_regExp_common*:**:*w_regExp_arg*:*Incorrect Value*:*w_regExp_alert*:*no*:*w_unique*:**:*new_field*:*7*:*id*:*type_captcha*:*type*:*Word Verification:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*6*:*w_digit*:**:*w_class*:**:*new_field*:*8*:*id*:*type_submit_reset*:*type*:*type_submit_reset_8*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*true*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
260 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Camp Registration Form\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column ui-sortable"><div wdid="1" class="wdform_row ui-sortable-handle">%1 - Camper Name:%</div><div wdid="2" class="wdform_row ui-sortable-handle">%2 - Camper Age Group:%</div><div wdid="3" class="wdform_row ui-sortable-handle">%3 - Desire Cabin:%</div><div wdid="4" class="wdform_row ui-sortable-handle">%4 - Does any one have allergies?%</div><div wdid="5" class="wdform_row ui-sortable-handle">%5 - Has the camper been camping before?%</div><div wdid="6" class="wdform_row ui-sortable-handle">%6 - Any questions or concern:%</div><div wdid="7" class="wdform_row ui-sortable-handle">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 15, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'1*:*id*:*type_name*:*type*:*Camper Name:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:***********:*w_first_val*:***********:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:*no***no*:*w_name_fields*:**:*new_field*:*2*:*id*:*type_own_select*:*type*:*Camper Age Group:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:****6-8***8-12***12-15*:*w_choices*:*true***false***false***false*:*w_choices_checked*:*true***false***false***false*:*w_choices_disabled*:*no*:*w_required*:*no*:*w_value_disabled*:****6-8***8-12***12-15*:*w_choices_value*:***********:*w_choices_params*:*wdform_select*:*w_class*:**:*new_field*:*3*:*id*:*type_radio*:*type*:*Desire Cabin:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Cabin 1***Cabin 2***Cabin 3***Cabin 4***Cabin 5***Cabin 6***Cabin 7*:*w_choices*:*false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Cabin 1***Cabin 2***Cabin 3***Cabin 4***Cabin 5***Cabin 6***Cabin 7*:*w_choices_value*:********************:*w_choices_params*:**:*w_class*:**:*new_field*:*4*:*id*:*type_radio*:*type*:*Does any one have allergies?*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Yes***No*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Yes***No*:*w_choices_value*:*****:*w_choices_params*:**:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*Has the camper been camping before?*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Yes***No*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Yes***No*:*w_choices_value*:*****:*w_choices_params*:**:*w_class*:**:*new_field*:*6*:*id*:*type_textarea*:*type*:*Any questions or concern:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
261 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Business Demographic Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column ui-sortable"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column ui-sortable"><div wdid="2" class="wdform_row ui-sortable-handle">%2 - <b>What is your employment status?</b>%</div><div wdid="3" class="wdform_row ui-sortable-handle">%3 - <b>What is your level of education?</b>%</div><div wdid="4" class="wdform_row ui-sortable-handle">%4 - <b>In which industry do you work?</b>%</div><div wdid="5" class="wdform_row ui-sortable-handle">%5 - <b>What is the annual revenue of your company?</b>%</div><div wdid="6" class="wdform_row ui-sortable-handle">%6 - Word Verification:%</div><div wdid="7" class="wdform_row ui-sortable-handle">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 10, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 1, \'<p>%all%</p>\', \'<p>%all%</p>\', 8, 1, \'2#**id**#What is your employment status?#**label**#type_radio#****#3#**id**#What is your level of education?#**label**#type_radio#****#4#**id**#In which industry do you work?#**label**#type_own_select#****#5#**id**#What is the annual revenue of your company?#**label**#type_radio#****#6#**id**#Word Verification:#**label**#type_captcha#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'2#**id**#What is your employment status?#**label**#type_radio#****#3#**id**#What is your level of education?#**label**#type_radio#****#4#**id**#In which industry do you work?#**label**#type_own_select#****#5#**id**#What is the annual revenue of your company?#**label**#type_radio#****#6#**id**#Word Verification:#**label**#type_captcha#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h2 id="header_1" style="font-size: 1.285714286rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.6; margin: 1.714285714rem 0px;">Business Demographic Survey</h2><p style="line-height: 1.714285714; margin: 0px 0px 1.714285714rem; color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px;"></p><div id="subHeader_1" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Thank you for joining our business demographic survey. Please give us your feedback by filling in the information bellow.</div><p><br></p>*:*w_editor*:**:*new_field*:*2*:*id*:*type_radio*:*type*:*<b>What is your employment status?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Employed full time***Trade or Vocational degree***Not employed, but looking for work***Not employed and not looking for work***Retired***Student***Homemaker***Prefer not to answer*:*w_choices*:*false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Employed full time***Trade or Vocational degree***Not employed, but looking for work***Not employed and not looking for work***Retired***Student***Homemaker***Prefer not to answer*:*w_choices_value*:***********************:*w_choices_params*:**:*w_class*:**:*new_field*:*3*:*id*:*type_radio*:*type*:*<b>What is your level of education?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Some high school***High school graduate or equivalent***Trade or Vocational Degree***Some college***Associate degree***Bachelor's degree***Graduate or Professional degree***Prefer not to answer*:*w_choices*:*false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Some high school***High school graduate or equivalent***Trade or Vocational Degree***Some college***Associate degree***Bachelor's degree***Graduate or Professional degree***Prefer not to answer*:*w_choices_value*:***********************:*w_choices_params*:**:*w_class*:**:*new_field*:*4*:*id*:*type_own_select*:*type*:*<b>In which industry do you work?</b>*:*w_field_label*:*500*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:****option 1***option 2***option 3*:*w_choices*:*true***false***false***false*:*w_choices_checked*:*true***false***false***false*:*w_choices_disabled*:*no*:*w_required*:*no*:*w_value_disabled*:****option 1***option 2***option 3*:*w_choices_value*:***********:*w_choices_params*:*wdform_select*:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>What is the annual revenue of your company?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Under $10,000***$10,001 to $50,000***$50,001 to $100,000***$100,001 to $500,000***$500,001 to $1 Million***$1 Million to $10 Million***$10 Million to $50 Million***$50 Million to $100 Million***Over $100 Million*:*w_choices*:*false***false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Under $10,000***$10,001 to $50,000***$50,001 to $100,000***$100,001 to $500,000***$500,001 to $1 Million***$1 Million to $10 Million***$10 Million to $50 Million***$50 Million to $100 Million***Over $100 Million*:*w_choices_value*:**************************:*w_choices_params*:**:*w_class*:**:*new_field*:*6*:*id*:*type_captcha*:*type*:*Word Verification:*:*w_field_label*:*500*:*w_field_label_size*:*top*:*w_field_label_pos*:*6*:*w_digit*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
262 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Register Your Business\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column ui-sortable"><div wdid="1" class="wdform_row ui-sortable-handle">%1 - Business Owner %</div><div wdid="2" class="wdform_row ui-sortable-handle">%2 - Business Name%</div><div wdid="3" class="wdform_row ui-sortable-handle">%3 - E-mail%</div><div wdid="4" class="wdform_row ui-sortable-handle">%4 - Address:%</div><div wdid="10" class="wdform_row ui-sortable-handle">%10 - Type of Business%</div><div wdid="11" class="wdform_row ui-sortable-handle">%11 - Message%</div><div wdid="12" class="wdform_row ui-sortable-handle">%12 - type_submit_reset_12%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 26, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 13, 1, \'1#**id**#Business Owner #**label**#type_name#****#2#**id**#Business Name#**label**#type_text#****#3#**id**#E-mail#**label**#type_submitter_mail#****#4#**id**#Street Address#**label**#type_address#****#5#**id**#Street Address Line 2#**label**#type_address#****#6#**id**#City#**label**#type_address#****#7#**id**#State / Province / Region#**label**#type_address#****#8#**id**#Postal / Zip Code#**label**#type_address#****#9#**id**#Country#**label**#type_address#****#10#**id**#Type of Business#**label**#type_own_select#****#11#**id**#Message#**label**#type_textarea#****#12#**id**#type_submit_reset_12#**label**#type_submit_reset#****#\', \'1#**id**#Business Owner #**label**#type_name#****#2#**id**#Business Name#**label**#type_text#****#3#**id**#E-mail#**label**#type_submitter_mail#****#4#**id**#Street Address#**label**#type_address#****#5#**id**#Street Address Line 2#**label**#type_address#****#6#**id**#City#**label**#type_address#****#7#**id**#State / Province / Region#**label**#type_address#****#8#**id**#Postal / Zip Code#**label**#type_address#****#9#**id**#Country#**label**#type_address#****#10#**id**#Type of Business#**label**#type_own_select#****#11#**id**#Message#**label**#type_textarea#****#12#**id**#type_submit_reset_12#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Business Owner *:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:***********:*w_first_val*:***********:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*yes*:*w_required*:*no*:*w_unique*:**:*w_class*:*no***no*:*w_name_fields*:**:*new_field*:*2*:*id*:*type_text*:*type*:*Business Name*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:*no*:*w_regExp_status*:**:*w_regExp_value*:**:*w_regExp_common*:**:*w_regExp_arg*:*Incorrect Value*:*w_regExp_alert*:*no*:*w_unique*:**:*new_field*:*3*:*id*:*type_submitter_mail*:*type*:*E-mail*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*4*:*id*:*type_address*:*type*:*Address:*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*300*:*w_size*:*Street Address***Street Address Line 2***City***State / Province / Region***Postal / Zip Code***Country*:*w_mini_labels*:*no***no***no***no***no***no****:*w_disabled_fields*:*no*:*w_required*:*wdform_address*:*w_class*:**:*new_field*:*10*:*id*:*type_own_select*:*type*:*Type of Business*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:*Select value***option 1***option 2*:*w_choices*:*true***false***false*:*w_choices_checked*:*true***false***false*:*w_choices_disabled*:*yes*:*w_required*:*no*:*w_value_disabled*:****option 1***option 2*:*w_choices_value*:********:*w_choices_params*:*wdform_select*:*w_class*:**:*new_field*:*11*:*id*:*type_textarea*:*type*:*Message*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*12*:*id*:*type_submit_reset*:*type*:*type_submit_reset_12*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
263 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Cupcake Order Form\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column ui-sortable"><div wdid="1" class="wdform_row ui-sortable-handle">%1 - Date%</div><div wdid="2" class="wdform_row ui-sortable-handle">%2 - Name%</div><div wdid="3" class="wdform_row ui-sortable-handle">%3 - E-mail:%</div><div wdid="4" class="wdform_row ui-sortable-handle">%4 - <b>Cupcakes <br> Flavors (1 doz. minimum)</b>%</div><div wdid="5" class="wdform_row ui-sortable-handle">%5 - Quantity%</div><div wdid="6" class="wdform_row ui-sortable-handle">%6 - Details (if any)%</div><div wdid="7" class="wdform_row ui-sortable-handle">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 6, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'1#**id**#Date#**label**#type_date#****#2#**id**#Name#**label**#type_name#****#3#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Cupcakes Flavors (1 doz. minimum)#**label**#type_checkbox#****#5#**id**#Quantity#**label**#type_own_select#****#6#**id**#Details (if any)#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'1#**id**#Date#**label**#type_date#****#2#**id**#Name#**label**#type_name#****#3#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Cupcakes Flavors (1 doz. minimum)#**label**#type_checkbox#****#5#**id**#Quantity#**label**#type_own_select#****#6#**id**#Details (if any)#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_date*:*type*:*Date*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:**:*w_date*:*yes*:*w_required*:**:*w_class*:*%Y-%m-%d*:*w_format*:*...*:*w_but_val*:*no*:*w_disable_past_days*:**:*new_field*:*2*:*id*:*type_name*:*type*:*Name*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:***********:*w_first_val*:***********:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*yes*:*w_required*:*no*:*w_unique*:**:*w_class*:*no***no*:*w_name_fields*:**:*new_field*:*3*:*id*:*type_submitter_mail*:*type*:*E-mail:*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*4*:*id*:*type_checkbox*:*type*:*<b>Cupcakes <br> Flavors (1 doz. minimum)</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Red Velvet ($150.00 TTD)***Vanilla ($100.00 TTD)***Chocolate ($120.00 TTD)***Guinness ($150.00 TTD)***Coconut ($120.00 TTD)***Lemon ($100.00 TTD)***Chocolate Mint ($120.00 TTD)*:*w_choices*:*false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Red Velvet ($150.00 TTD)***Vanilla ($100.00 TTD)***Chocolate ($120.00 TTD)***Guinness ($150.00 TTD)***Coconut ($120.00 TTD)***Lemon ($100.00 TTD)***Chocolate Mint ($120.00 TTD)*:*w_choices_value*:********************:*w_choices_params*:**:*w_class*:**:*new_field*:*5*:*id*:*type_own_select*:*type*:*Quantity*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*50*:*w_size*:****1***2***3***4***5***6***7***8***9***10*:*w_choices*:*true***false***false***false***false***false***false***false***false***false***false*:*w_choices_checked*:*true***false***false***false***false***false***false***false***false***false***false*:*w_choices_disabled*:*no*:*w_required*:*no*:*w_value_disabled*:****1***2***3***4***5***6***7***8***9***10*:*w_choices_value*:********************************:*w_choices_params*:*wdform_select*:*w_class*:**:*new_field*:*6*:*id*:*type_textarea*:*type*:*Details (if any)*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
264 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Seminar Evaluation Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column ui-sortable"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column ui-sortable"><div wdid="2" class="wdform_row ui-sortable-handle">%2 - <b>Company</b>%</div><div wdid="3" class="wdform_row ui-sortable-handle">%3 - <b>Occupation</b>%</div><div wdid="4" class="wdform_row ui-sortable-handle">%4 - <b>Was it worth its money?</b>%</div><div wdid="5" class="wdform_row ui-sortable-handle">%5 - <b>On average how would you rate the seminar?</b>%</div><div wdid="6" class="wdform_row ui-sortable-handle">%6 - type_submit_reset_6%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 16, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 7, 1, \'2#**id**#Company#**label**#type_text#****#3#**id**#Occupation#**label**#type_text#****#4#**id**#Was it worth its money?#**label**#type_radio#****#5#**id**#On average how would you rate the seminar?#**label**#type_radio#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', \'2#**id**#Company#**label**#type_text#****#3#**id**#Occupation#**label**#type_text#****#4#**id**#Was it worth its money?#**label**#type_radio#****#5#**id**#On average how would you rate the seminar?#**label**#type_radio#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h1 id="header_1" style="font-size: 1.5rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.5; margin: 1.714285714rem 0px;">Seminar Evaluation Survey</h1><div id="subHeader_1" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Please take a few minutes to complete this evaluation survey</div>*:*w_editor*:**:*new_field*:*2*:*id*:*type_text*:*type*:*<b>Company</b>*:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_regExp_status*:**:*w_regExp_value*:**:*w_regExp_common*:**:*w_regExp_arg*:*Incorrect Value*:*w_regExp_alert*:*no*:*w_unique*:**:*new_field*:*3*:*id*:*type_text*:*type*:*<b>Occupation</b>*:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_regExp_status*:**:*w_regExp_value*:**:*w_regExp_common*:**:*w_regExp_arg*:*Incorrect Value*:*w_regExp_alert*:*no*:*w_unique*:**:*new_field*:*4*:*id*:*type_radio*:*type*:*<b>Was it worth its money?</b>*:*w_field_label*:*200*:*w_field_label_size*:*top*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Yes***No*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Yes***No*:*w_choices_value*:*****:*w_choices_params*:**:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>On average how would you rate the seminar?</b>*:*w_field_label*:*400*:*w_field_label_size*:*top*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Very good***Good***Neutral***Bad***Very bad*:*w_choices*:*false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Very good***Good***Neutral***Bad***Very bad*:*w_choices_value*:**************:*w_choices_params*:**:*w_class*:**:*new_field*:*6*:*id*:*type_submit_reset*:*type*:*type_submit_reset_6*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
265 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Restaurant Evaluation Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column ui-sortable"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column ui-sortable"><div wdid="2" class="wdform_row ui-sortable-handle">%2 - Day Visited:%</div><div wdid="3" class="wdform_row ui-sortable-handle">%3 - <b>Dine In / Take Out:</b>%</div><div wdid="4" class="wdform_row ui-sortable-handle">%4 - <b>Food Quality:</b>%</div><div wdid="5" class="wdform_row ui-sortable-handle">%5 - <b>Speed of Service:</b>%</div><div wdid="6" class="wdform_row ui-sortable-handle">%6 - <b>Any comments, questions or suggestions?</b>%</div><div wdid="7" class="wdform_row ui-sortable-handle">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 21, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'2#**id**#Day Visited:#**label**#type_date#****#3#**id**#Dine In / Take Out:#**label**#type_radio#****#4#**id**#Food Quality:#**label**#type_radio#****#5#**id**#Speed of Service:#**label**#type_radio#****#6#**id**#Any comments, questions or suggestions?#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'2#**id**#Day Visited:#**label**#type_date#****#3#**id**#Dine In / Take Out:#**label**#type_radio#****#4#**id**#Food Quality:#**label**#type_radio#****#5#**id**#Speed of Service:#**label**#type_radio#****#6#**id**#Any comments, questions or suggestions?#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h2 id="header_21" style="font-size: 1.285714286rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.6; margin: 1.714285714rem 0px;">Restaurant Evaluation Survey</h2><div id="subHeader_21" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Please let us know how was the food and service.</div><p><br></p>*:*w_editor*:**:*new_field*:*2*:*id*:*type_date*:*type*:*Day Visited:*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:**:*w_date*:*no*:*w_required*:**:*w_class*:*%Y-%m-%d*:*w_format*:*...*:*w_but_val*:*no*:*w_disable_past_days*:**:*new_field*:*3*:*id*:*type_radio*:*type*:*<b>Dine In / Take Out:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Dine In***Dine Out*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Dine In***Dine Out*:*w_choices_value*:*****:*w_choices_params*:**:*w_class*:**:*new_field*:*4*:*id*:*type_radio*:*type*:*<b>Food Quality:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Excellent***Good***Average***Dissatisfied*:*w_choices*:*false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Excellent***Good***Average***Dissatisfied*:*w_choices_value*:***********:*w_choices_params*:**:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>Speed of Service:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*left*:*w_field_option_pos*:*ver*:*w_flow*:*Excellent***Good***Average***Dissatisfied*:*w_choices*:*false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:*no*:*w_value_disabled*:*Excellent***Good***Average***Dissatisfied*:*w_choices_value*:***********:*w_choices_params*:**:*w_class*:**:*new_field*:*6*:*id*:*type_textarea*:*type*:*<b>Any comments, questions or suggestions?</b>*:*w_field_label*:*300*:*w_field_label_size*:*top*:*w_field_label_pos*:*300*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
266 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Product Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column ui-sortable"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column ui-sortable"><div wdid="2" class="wdform_row ui-sortable-handle">%2 - 1. Please indicate if you agree or disagree with the following statements%</div><div wdid="3" class="wdform_row ui-sortable-handle">%3 - 2. How likely are you to recommend [Product/Service] to a friend or co-worker?%</div><div wdid="4" class="wdform_row ui-sortable-handle">%4 - 3. What is the amount you would ever pay for a product like ours%</div><div wdid="5" class="wdform_row ui-sortable-handle">%5 - 4. Please rate the product %</div><div wdid="6" class="wdform_row ui-sortable-handle">%6 - type_submit_reset_6%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 29, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 7, 1, \'2#**id**#1. Please indicate if you agree or disagree with the following statements#**label**#type_matrix#****#3#**id**#2. How likely are you to recommend [Product/Service] to a friend or co-worker?#**label**#type_scale_rating#****#4#**id**#3. What is the amount you would ever pay for a product like ours#**label**#type_range#****#5#**id**#4. Please rate the product #**label**#type_star_rating#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', \'2#**id**#1. Please indicate if you agree or disagree with the following statements#**label**#type_matrix#****#3#**id**#2. How likely are you to recommend [Product/Service] to a friend or co-worker?#**label**#type_scale_rating#****#4#**id**#3. What is the amount you would ever pay for a product like ours#**label**#type_range#****#5#**id**#4. Please rate the product #**label**#type_star_rating#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h1 class="sg-title" data-mce-style="font-size: 2.2em; color: #fff; font-weight: normal; line-height: normal;" style="font-size: 2.2em; font-weight: normal; color: rgb(255, 255, 255); line-height: normal;">Product Survey</h1>*:*w_editor*:**:*new_field*:*2*:*id*:*type_matrix*:*type*:*1. Please indicate if you agree or disagree with the following statements*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*radio*:*w_field_input_type*:****Product is affordable***Product is valuable***Product is better<br> than other products on<br> the market***Product is easy to use*:*w_rows*:****Strongly Disagree***Disagree***Neutral***Agree***Strongly Agree*:*w_columns*:*no*:*w_required*:*wdform_matrix*:*w_class*:**:*w_textbox_size*:**:*new_field*:*3*:*id*:*type_scale_rating*:*type*:*2. How likely are you to recommend [Product/Service] to a friend or co-worker?*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*Will not recommend *** I will recommend*:*w_mini_labels*:*5*:*w_scale_amount*:*no*:*w_required*:*wdform_scale_rating*:*w_class*:**:*new_field*:*4*:*id*:*type_range*:*type*:*3. What is the amount you would ever pay for a product like ours*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*40*:*w_field_range_width*:*1*:*w_field_range_step*:*null*:*w_field_value1*:*null*:*w_field_value2*:*From***To*:*w_mini_labels*:*no*:*w_required*:**:*w_class*:**:*new_field*:*5*:*id*:*type_star_rating*:*type*:*4. Please rate the product *:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*yellow*:*w_field_label_col*:*10*:*w_star_amount*:*no*:*w_required*:*wdform_star_rating*:*w_class*:**:*new_field*:*6*:*id*:*type_submit_reset*:*type*:*type_submit_reset_6*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*true*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1,\'administrator,\',1,\'\',\'\', 0, 0, 0, 0)');
|
267 |
}
|
268 |
}
|
269 |
|
form_maker_update.php
CHANGED
@@ -107,6 +107,73 @@ function form_maker_update($version) {
|
|
107 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` ADD `mail_verify_expiretime` float NOT NULL");
|
108 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` ADD `mail_verification_post_id` int(11) NOT NULL");
|
109 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
return;
|
111 |
}
|
112 |
|
107 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` ADD `mail_verify_expiretime` float NOT NULL");
|
108 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` ADD `mail_verification_post_id` int(11) NOT NULL");
|
109 |
}
|
110 |
+
if (version_compare($version, '1.7.55') == -1) {
|
111 |
+
$formmaker_backup = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_backup` (
|
112 |
+
`backup_id` int(11) NOT NULL AUTO_INCREMENT,
|
113 |
+
`cur` int(1) NOT NULL,
|
114 |
+
`id` int(11) NOT NULL,
|
115 |
+
`title` varchar(127) NOT NULL,
|
116 |
+
`mail` varchar(128) NOT NULL,
|
117 |
+
`form_front` longtext NOT NULL,
|
118 |
+
`theme` int(11) NOT NULL,
|
119 |
+
`javascript` text NOT NULL,
|
120 |
+
`submit_text` longtext NOT NULL,
|
121 |
+
`url` varchar(200) NOT NULL,
|
122 |
+
`submit_text_type` tinyint(4) NOT NULL,
|
123 |
+
`script_mail` text NOT NULL,
|
124 |
+
`script_mail_user` text NOT NULL,
|
125 |
+
`counter` int(11) NOT NULL,
|
126 |
+
`published` int(11) NOT NULL DEFAULT '1',
|
127 |
+
`label_order` text NOT NULL,
|
128 |
+
`label_order_current` text NOT NULL,
|
129 |
+
`article_id` varchar(500) NOT NULL,
|
130 |
+
`pagination` varchar(128) NOT NULL,
|
131 |
+
`show_title` varchar(128) NOT NULL,
|
132 |
+
`show_numbers` varchar(128) NOT NULL,
|
133 |
+
`public_key` varchar(50) NOT NULL,
|
134 |
+
`private_key` varchar(50) NOT NULL,
|
135 |
+
`recaptcha_theme` varchar(20) NOT NULL,
|
136 |
+
`paypal_mode` int(2) NOT NULL,
|
137 |
+
`checkout_mode` varchar(20) NOT NULL,
|
138 |
+
`paypal_email` varchar(50) NOT NULL,
|
139 |
+
`payment_currency` varchar(20) NOT NULL,
|
140 |
+
`tax` float NOT NULL,
|
141 |
+
`form_fields` longtext NOT NULL,
|
142 |
+
`savedb` tinyint(4) NOT NULL DEFAULT '1',
|
143 |
+
`sendemail` tinyint(4) NOT NULL DEFAULT '1',
|
144 |
+
`requiredmark` varchar(20) NOT NULL DEFAULT '*',
|
145 |
+
`from_mail` varchar(128) NOT NULL,
|
146 |
+
`from_name` varchar(128) NOT NULL,
|
147 |
+
`reply_to` varchar(128) NOT NULL,
|
148 |
+
`send_to` varchar(128) NOT NULL,
|
149 |
+
`autogen_layout` tinyint(4) NOT NULL DEFAULT '1',
|
150 |
+
`custom_front` longtext NOT NULL,
|
151 |
+
`mail_from_user` varchar(128) NOT NULL,
|
152 |
+
`mail_from_name_user` varchar(128) NOT NULL,
|
153 |
+
`reply_to_user` varchar(128) NOT NULL,
|
154 |
+
`condition` text NOT NULL,
|
155 |
+
`mail_cc` varchar(128) NOT NULL,
|
156 |
+
`mail_cc_user` varchar(128) NOT NULL,
|
157 |
+
`mail_bcc` varchar(128) NOT NULL,
|
158 |
+
`mail_bcc_user` varchar(128) NOT NULL,
|
159 |
+
`mail_subject` varchar(128) NOT NULL,
|
160 |
+
`mail_subject_user` varchar(128) NOT NULL,
|
161 |
+
`mail_mode` tinyint(4) NOT NULL DEFAULT '1',
|
162 |
+
`mail_mode_user` tinyint(4) NOT NULL DEFAULT '1',
|
163 |
+
`mail_attachment` tinyint(4) NOT NULL DEFAULT '1',
|
164 |
+
`mail_attachment_user` tinyint(4) NOT NULL DEFAULT '1',
|
165 |
+
`user_id_wd` varchar(220) NOT NULL,
|
166 |
+
`sortable` int(11) NOT NULL,
|
167 |
+
`frontend_submit_fields` text NOT NULL,
|
168 |
+
`frontend_submit_stat_fields` text NOT NULL,
|
169 |
+
`mail_emptyfields` tinyint(4) NOT NULL DEFAULT '0',
|
170 |
+
`mail_verify` tinyint(4) NOT NULL DEFAULT '0',
|
171 |
+
`mail_verify_expiretime` float NOT NULL,
|
172 |
+
`mail_verification_post_id` int(11) NOT NULL,
|
173 |
+
PRIMARY KEY (`backup_id`)
|
174 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;";
|
175 |
+
$wpdb->query($formmaker_backup);
|
176 |
+
}
|
177 |
return;
|
178 |
}
|
179 |
|
js/formmaker_div_free.js
CHANGED
@@ -28207,7 +28207,7 @@ function add(key, after_edit, wdid)
|
|
28207 |
|
28208 |
var wdform_row = document.createElement('div');
|
28209 |
wdform_row.setAttribute("wdid", i);
|
28210 |
-
wdform_row.setAttribute("class", "wdform_row");
|
28211 |
|
28212 |
var wdform_field = document.createElement('div');
|
28213 |
wdform_field.setAttribute("id", "wdform_field"+i);
|
@@ -28522,7 +28522,7 @@ function add(key, after_edit, wdid)
|
|
28522 |
|
28523 |
var wdform_row = document.createElement('div');
|
28524 |
wdform_row.setAttribute("wdid", i);
|
28525 |
-
wdform_row.setAttribute("class", "wdform_row");
|
28526 |
|
28527 |
var wdform_field = document.createElement('div');
|
28528 |
wdform_field.setAttribute("id", "wdform_field"+i);
|
28207 |
|
28208 |
var wdform_row = document.createElement('div');
|
28209 |
wdform_row.setAttribute("wdid", i);
|
28210 |
+
wdform_row.setAttribute("class", "wdform_row ui-sortable-handle");
|
28211 |
|
28212 |
var wdform_field = document.createElement('div');
|
28213 |
wdform_field.setAttribute("id", "wdform_field"+i);
|
28522 |
|
28523 |
var wdform_row = document.createElement('div');
|
28524 |
wdform_row.setAttribute("wdid", i);
|
28525 |
+
wdform_row.setAttribute("class", "wdform_row ui-sortable-handle");
|
28526 |
|
28527 |
var wdform_field = document.createElement('div');
|
28528 |
wdform_field.setAttribute("id", "wdform_field"+i);
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-form.html
|
|
4 |
Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -279,6 +279,9 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
|
|
279 |
|
280 |
== Changelog ==
|
281 |
|
|
|
|
|
|
|
282 |
= 1.7.54 =
|
283 |
bug in conditional fields fixed
|
284 |
|
4 |
Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 1.7.55
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
279 |
|
280 |
== Changelog ==
|
281 |
|
282 |
+
= 1.7.55 =
|
283 |
+
New: Undo/Rendo form
|
284 |
+
|
285 |
= 1.7.54 =
|
286 |
bug in conditional fields fixed
|
287 |
|