Contact Bank: WordPress Form Builder for Contact Forms - Version 2.0.90

Version Description

  • Look & Feel of Front End Form changed
  • Fixed Few Bugs
  • Added Control Drag & Drop Sorting Functionality
  • Added Dummy Form for Beginners
  • Allow 2 Forms to be created in Lite Edition
Download this release

Release Info

Developer contact-banker
Plugin Icon 128x128 Contact Bank: WordPress Form Builder for Contact Forms
Version 2.0.90
Comparing to
See all releases

Code changes from version 2.0.89 to 2.0.90

contact-bank.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Bank Lite Edition
4
  Plugin URI: http://tech-banker.com
5
  Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
6
  Author: Tech Banker
7
- Version: 2.0.89
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
  Plugin URI: http://tech-banker.com
5
  Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
6
  Author: Tech Banker
7
+ Version: 2.0.90
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
frontend_views/contact_bank_forms.php CHANGED
@@ -277,19 +277,14 @@ $forms_email_settings = $wpdb->get_row
277
  </span>
278
  </div>
279
 
280
- <div class="widget-layout">
281
- <div class="widget-layout-title">
282
- <h4><?php echo $show_title == "true" ? $form_name : "" ?></h4>
283
- </div>
284
- <div style="margin-left: 15px;" class="layout-control-group">
285
- <span><?php echo $form_settings_array[$form_id]["form_description"]; ?></span>
286
- </div>
287
  <?php
288
  for($flag=0;$flag<count($form_fields);$flag++)
289
  {
290
  ?>
291
 
292
- <div class="widget-layout-body">
293
 
294
  <div class="layout-control-group">
295
  <label class="label_control layout-control-label">
277
  </span>
278
  </div>
279
 
280
+ <di>
281
+
 
 
 
 
 
282
  <?php
283
  for($flag=0;$flag<count($form_fields);$flag++)
284
  {
285
  ?>
286
 
287
+ <div class="">
288
 
289
  <div class="layout-control-group">
290
  <label class="label_control layout-control-label">
lib/contact_bank_email_management.php CHANGED
@@ -54,6 +54,8 @@ if(isset($_REQUEST["param"]))
54
  $messageTxt = str_replace("[control_".$dynamicId."]",$frontend_control_value[$flag1]->dynamic_frontend_value, $messageTxt);
55
  }
56
  }
 
 
57
  $headers = "";
58
  $headers .= "Content-Type: text/html; charset= utf-8". "\r\n";
59
  if($email_from_name != "" && $email_from != "")
@@ -73,7 +75,7 @@ if(isset($_REQUEST["param"]))
73
  $headers .= "Bcc: " .$email_bcc."\r\n";
74
  }
75
  get_option("blog_charset") . "\r\n";
76
- wp_mail($email_to, $email_subject, $messageTxt, $headers);
77
  }
78
  die();
79
  }
54
  $messageTxt = str_replace("[control_".$dynamicId."]",$frontend_control_value[$flag1]->dynamic_frontend_value, $messageTxt);
55
  }
56
  }
57
+ $body_content = "";
58
+ $body_content .= "\<div lang=\"ar\"> $messageTxt</div>";
59
  $headers = "";
60
  $headers .= "Content-Type: text/html; charset= utf-8". "\r\n";
61
  if($email_from_name != "" && $email_from != "")
75
  $headers .= "Bcc: " .$email_bcc."\r\n";
76
  }
77
  get_option("blog_charset") . "\r\n";
78
+ wp_mail($email_to, $email_subject, $body_content, $headers);
79
  }
80
  die();
81
  }
lib/contact_view-class.php CHANGED
@@ -923,6 +923,25 @@ else
923
  update_option("contact-bank-info-popup", "no");
924
  die();
925
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
926
  }
927
  }
928
  }
923
  update_option("contact-bank-info-popup", "no");
924
  die();
925
  break;
926
+ case "form_fields_sorting_order":
927
+
928
+ $form_id = intval($_REQUEST["form_id"]);
929
+ $field_dynamic_id = isset($_REQUEST["field_dynamic_id"]) ? json_decode(stripcslashes($_REQUEST["field_dynamic_id"]),true) : array();
930
+ $sql= "";
931
+ foreach($field_dynamic_id as $key => $val)
932
+ {
933
+ $sql .= ' WHEN `column_dynamicId` = "'.$val.'" THEN "'.$key.'"';
934
+ }
935
+ $wpdb->query
936
+ (
937
+ $wpdb->prepare
938
+ (
939
+ "UPDATE " . create_control_Table() . " SET `sorting_order` = CASE " . $sql . " END where form_id = %d ",
940
+ $form_id
941
+ )
942
+ );
943
+ die();
944
+
945
  }
946
  }
947
  }
lib/install-script.php CHANGED
@@ -543,7 +543,7 @@ if($version == "" || $version == "1.0")
543
  $settings["input_field_rdl_multiple_row"] = "1";
544
  $settings["input_field_rdl_text_align"] = "0";
545
  $settings["input_field_text_direction"] = "inherit";
546
- $settings["input_field_input_size"] = "layout-span6";
547
 
548
  $settings["submit_button_font_family"] = "inherit";
549
  $settings["submit_button_text"] = "Save ";
@@ -627,8 +627,403 @@ if($version == "" || $version == "1.0")
627
  "INSERT INTO " . contact_bank_roles_capability() . "(roles_capability_key,roles_capability_value) VALUES ".implode(',', $sql1),""
628
  );
629
  }
630
- update_option("contact-bank-version-number","2.1");
631
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
632
  }
633
  else if($version == "2.0")
634
  {
@@ -718,7 +1113,6 @@ else if($version == "2.0")
718
  }
719
  }
720
  }
721
- update_option("contact-bank-version-number","2.1");
722
  }
723
  else if($version == "2.1")
724
  {
@@ -754,6 +1148,6 @@ else if($version == "2.1")
754
  "INSERT INTO " . contact_bank_roles_capability() . "(roles_capability_key,roles_capability_value) VALUES ".implode(',', $sql1),""
755
  );
756
  }
757
- update_option("contact-bank-version-number","2.1");
758
  }
 
759
  ?>
543
  $settings["input_field_rdl_multiple_row"] = "1";
544
  $settings["input_field_rdl_text_align"] = "0";
545
  $settings["input_field_text_direction"] = "inherit";
546
+ $settings["input_field_input_size"] = "layout-span10";
547
 
548
  $settings["submit_button_font_family"] = "inherit";
549
  $settings["submit_button_text"] = "Save ";
627
  "INSERT INTO " . contact_bank_roles_capability() . "(roles_capability_key,roles_capability_value) VALUES ".implode(',', $sql1),""
628
  );
629
  }
630
+
631
+
632
+ $wpdb->query
633
+ (
634
+ $wpdb->prepare
635
+ (
636
+ "INSERT INTO " . contact_bank_contact_form() . "(form_id, form_name) VALUES(%d, %s)",
637
+ 1,
638
+ "Contact Form Demo"
639
+ )
640
+ );
641
+ $wpdb->query
642
+ (
643
+ $wpdb->prepare
644
+ (
645
+ "INSERT INTO ". contact_bank_form_settings_Table() ."(form_id,form_message_key,form_message_value)VALUES(%d, %s, %s)",
646
+ 1,
647
+ "redirect",
648
+ "0"
649
+ )
650
+ );
651
+ $wpdb->query
652
+ (
653
+ $wpdb->prepare
654
+ (
655
+ "INSERT INTO ". contact_bank_form_settings_Table() ."(form_id,form_message_key,form_message_value)VALUES(%d, %s, %s)",
656
+ 1,
657
+ "redirect_url",
658
+ ""
659
+ )
660
+ );
661
+ $wpdb->query
662
+ (
663
+ $wpdb->prepare
664
+ (
665
+ "INSERT INTO ". contact_bank_form_settings_Table() ."(form_id,form_message_key,form_message_value)VALUES(%d, %s, %s)",
666
+ 1,
667
+ "success_message",
668
+ "Your message was sent successfully. Thanks."
669
+ )
670
+ );
671
+ $wpdb->query
672
+ (
673
+ $wpdb->prepare
674
+ (
675
+ "INSERT INTO ". contact_bank_form_settings_Table() ."(form_id,form_message_key,form_message_value)VALUES(%d, %s, %s)",
676
+ 1,
677
+ "blank_field_message",
678
+ "Required field must not be blank"
679
+ )
680
+ );
681
+ $wpdb->query
682
+ (
683
+ $wpdb->prepare
684
+ (
685
+ "INSERT INTO ". contact_bank_form_settings_Table() ."(form_id,form_message_key,form_message_value)VALUES(%d, %s, %s)",
686
+ 1,
687
+ "incorrect_email_message",
688
+ "Please enter a valid email address"
689
+ )
690
+ );
691
+ $wpdb->query
692
+ (
693
+ $wpdb->prepare
694
+ (
695
+ "INSERT INTO ". contact_bank_form_settings_Table() ."(form_id,form_message_key,form_message_value)VALUES(%d, %s, %s)",
696
+ 1,
697
+ "form_description",
698
+ ""
699
+ )
700
+ );
701
+
702
+ $wpdb->query
703
+ (
704
+ $wpdb->prepare
705
+ (
706
+ "INSERT INTO " . create_control_Table() . "(control_id, field_id,form_id,
707
+ column_dynamicId, sorting_order) VALUES(%d, %d, %d, %d, %d)",
708
+ 1,
709
+ 1,
710
+ 1,
711
+ 1,
712
+ 1
713
+ )
714
+ );
715
+
716
+
717
+ $dynamic_Id = 1;
718
+ $form_id = 1;
719
+ $form_settings = array();
720
+ $form_settings["dynamic_id"] = $dynamic_Id;
721
+ $form_settings["control_type"] = "1";
722
+ $form_settings["cb_label_value"] = "Your Name";
723
+ $form_settings["cb_description"] = "";
724
+ $form_settings["cb_control_required"] = "1";
725
+ $form_settings["cb_tooltip_txt"] = "";
726
+ $form_settings["cb_default_txt_val"] = "Your Name";
727
+ $form_settings["cb_admin_label"] = "Your Name";
728
+ $form_settings["cb_show_email"] = "0";
729
+ $form_settings["cb_checkbox_alpha_filter"] = "0";
730
+ $form_settings["cb_ux_checkbox_alpha_num_filter"] = "0";
731
+ $form_settings["cb_checkbox_digit_filter"] = "0";
732
+ $form_settings["cb_checkbox_strip_tag_filter"] = "0";
733
+ $form_settings["cb_checkbox_trim_filter"] = "0";
734
+
735
+
736
+ foreach($form_settings as $key => $value)
737
+ {
738
+ if($key == "dynamic_id" || $key == "control_type")
739
+ {
740
+ continue;
741
+ }
742
+ else
743
+ {
744
+ $sql[] = '('.$dynamic_Id.',"'.$key.'", "'.$value.'")';
745
+
746
+ }
747
+ }
748
+ $wpdb->query
749
+ (
750
+ "INSERT INTO " . contact_bank_dynamic_settings_form() . "(dynamicId,dynamic_settings_key,dynamic_settings_value) VALUES ".implode(',', $sql),""
751
+ );
752
+
753
+
754
+ $wpdb->query
755
+ (
756
+ $wpdb->prepare
757
+ (
758
+ "INSERT INTO " . create_control_Table() . "(control_id, field_id,form_id,
759
+ column_dynamicId, sorting_order) VALUES(%d, %d, %d, %d, %d)",
760
+ 2,
761
+ 3,
762
+ 1,
763
+ 2,
764
+ 2
765
+ )
766
+ );
767
+
768
+ $dynamic_Id = 2;
769
+ $form_id = 1;
770
+ $form_settings = array();
771
+ $form_settings["dynamic_id"] = $dynamic_Id;
772
+ $form_settings["control_type"] = "1";
773
+ $form_settings["cb_label_value"] = "Your Email";
774
+ $form_settings["cb_description"] = "";
775
+ $form_settings["cb_control_required"] = "1";
776
+ $form_settings["cb_tooltip_txt"] = "";
777
+ $form_settings["cb_default_txt_val"] = "Your Email";
778
+ $form_settings["cb_admin_label"] = "Your Email";
779
+ $form_settings["cb_show_email"] = "0";
780
+
781
+
782
+ foreach($form_settings as $key => $value)
783
+ {
784
+ if($key == "dynamic_id" || $key == "control_type")
785
+ {
786
+ continue;
787
+ }
788
+ else
789
+ {
790
+ $sql[] = '('.$dynamic_Id.',"'.$key.'", "'.$value.'")';
791
+
792
+ }
793
+ }
794
+ $wpdb->query
795
+ (
796
+ "INSERT INTO " . contact_bank_dynamic_settings_form() . "(dynamicId,dynamic_settings_key,dynamic_settings_value) VALUES ".implode(',', $sql),""
797
+ );
798
+
799
+
800
+ $wpdb->query
801
+ (
802
+ $wpdb->prepare
803
+ (
804
+ "INSERT INTO " . create_control_Table() . "(control_id, field_id,form_id,
805
+ column_dynamicId, sorting_order) VALUES(%d, %d, %d, %d, %d)",
806
+ 3,
807
+ 1,
808
+ 1,
809
+ 3,
810
+ 3
811
+ )
812
+ );
813
+
814
+ $dynamic_Id = 3;
815
+ $form_id = 1;
816
+ $form_settings = array();
817
+ $form_settings["dynamic_id"] = $dynamic_Id;
818
+ $form_settings["control_type"] = "1";
819
+ $form_settings["cb_label_value"] = "Subject";
820
+ $form_settings["cb_description"] = "";
821
+ $form_settings["cb_control_required"] = "0";
822
+ $form_settings["cb_tooltip_txt"] = "";
823
+ $form_settings["cb_default_txt_val"] = "Subject";
824
+ $form_settings["cb_admin_label"] = "Subject";
825
+ $form_settings["cb_show_email"] = "0";
826
+ $form_settings["cb_checkbox_alpha_filter"] = "0";
827
+ $form_settings["cb_ux_checkbox_alpha_num_filter"] = "0";
828
+ $form_settings["cb_checkbox_digit_filter"] = "0";
829
+ $form_settings["cb_checkbox_strip_tag_filter"] = "0";
830
+ $form_settings["cb_checkbox_trim_filter"] = "0";
831
+
832
+
833
+ foreach($form_settings as $key => $value)
834
+ {
835
+ if($key == "dynamic_id" || $key == "control_type")
836
+ {
837
+ continue;
838
+ }
839
+ else
840
+ {
841
+ $sql[] = '('.$dynamic_Id.',"'.$key.'", "'.$value.'")';
842
+
843
+ }
844
+ }
845
+ $wpdb->query
846
+ (
847
+ "INSERT INTO " . contact_bank_dynamic_settings_form() . "(dynamicId,dynamic_settings_key,dynamic_settings_value) VALUES ".implode(',', $sql),""
848
+ );
849
+
850
+
851
+
852
+ $wpdb->query
853
+ (
854
+ $wpdb->prepare
855
+ (
856
+ "INSERT INTO " . create_control_Table() . "(control_id, field_id,form_id,
857
+ column_dynamicId, sorting_order) VALUES(%d, %d, %d, %d, %d)",
858
+ 4,
859
+ 2,
860
+ 1,
861
+ 4,
862
+ 4
863
+ )
864
+ );
865
+
866
+
867
+ $dynamic_Id = 4;
868
+ $form_id = 1;
869
+ $form_settings = array();
870
+ $form_settings["dynamic_id"] = $dynamic_Id;
871
+ $form_settings["control_type"] = "2";
872
+ $form_settings["cb_label_value"] = "Your Message";
873
+ $form_settings["cb_description"] = "";
874
+ $form_settings["cb_control_required"] = "0";
875
+ $form_settings["cb_tooltip_txt"] = "";
876
+ $form_settings["cb_default_txt_val"] = "Your Message";
877
+ $form_settings["cb_admin_label"] = "Your Message";
878
+ $form_settings["cb_show_email"] = "0";
879
+ $form_settings["cb_checkbox_alpha_filter"] = "0";
880
+ $form_settings["cb_ux_checkbox_alpha_num_filter"] = "0";
881
+ $form_settings["cb_checkbox_digit_filter"] = "0";
882
+ $form_settings["cb_checkbox_strip_tag_filter"] = "0";
883
+ $form_settings["cb_checkbox_trim_filter"] = "0";
884
+
885
+
886
+ foreach($form_settings as $key => $value)
887
+ {
888
+ if($key == "dynamic_id" || $key == "control_type")
889
+ {
890
+ continue;
891
+ }
892
+ else
893
+ {
894
+ $sql[] = '('.$dynamic_Id.',"'.$key.'", "'.$value.'")';
895
+
896
+ }
897
+ }
898
+ $wpdb->query
899
+ (
900
+ "INSERT INTO " . contact_bank_dynamic_settings_form() . "(dynamicId,dynamic_settings_key,dynamic_settings_value) VALUES ".implode(',', $sql),""
901
+ );
902
+
903
+
904
+ $settings = array();
905
+ $settings["label_setting_font_family"] = "inherit";
906
+ $settings["label_setting_font_color"] = "#000000";
907
+ $settings["label_setting_font_style"] = "normal";
908
+ $settings["label_setting_font_size"] = "16";
909
+ $settings["label_setting_font_align_left"] = "0";
910
+ $settings["label_setting_label_position"] = "top";
911
+ $settings["label_setting_field_size"] = "11";
912
+ $settings["label_setting_field_align"] = "left";
913
+ $settings["label_setting_hide_label"] = "0";
914
+ $settings["label_setting_text_direction"] = "inherit";
915
+
916
+ $settings["input_field_font_family"] = "inherit";
917
+ $settings["input_field_font_color"] = "#000000";
918
+ $settings["input_field_font_style"] = "normal";
919
+ $settings["input_field_font_size"] = "14";
920
+ $settings["input_field_border_radius"] = "0";
921
+ $settings["input_field_border_color"] = "#e5e5e5";
922
+ $settings["input_field_border_size"] = "1";
923
+ $settings["input_field_border_style"] = "solid";
924
+ $settings["input_field_clr_bg_color"] = "#ffffff";
925
+ $settings["input_field_rdl_multiple_row"] = "1";
926
+ $settings["input_field_rdl_text_align"] = "0";
927
+ $settings["input_field_text_direction"] = "inherit";
928
+ $settings["input_field_input_size"] = "layout-span10";
929
+
930
+ $settings["submit_button_font_family"] = "inherit";
931
+ $settings["submit_button_text"] = "Save ";
932
+ $settings["submit_button_font_style"] = "normal";
933
+ $settings["submit_button_font_size"] = "12";
934
+ $settings["submit_button_button_width"] = "100";
935
+ $settings["submit_button_bg_color"] = "#24890d";
936
+ $settings["submit_button_hover_bg_color"] = "#3dd41a";
937
+ $settings["submit_button_text_color"] = "#ffffff";
938
+ $settings["submit_button_border_color"] = "#000000";
939
+ $settings["submit_button_border_size"] = "0";
940
+ $settings["submit_button_border_radius"] = "0";
941
+ $settings["submit_button_rdl_text_align"] = "0";
942
+ $settings["submit_button_text_direction"] = "inherit";
943
+
944
+ $settings["success_msg_font_family"] = "inherit";
945
+ $settings["success_msg_font_size"] = "12";
946
+ $settings["success_msg_bg_color"] = "#e5ffd5";
947
+ $settings["success_msg_border_color"] = "#e5ffd5";
948
+ $settings["success_msg_text_color"] = "#6aa500";
949
+ $settings["success_msg_rdl_text_align"] = "0";
950
+ $settings["success_msg_text_direction"] = "inherit";
951
+
952
+ $settings["error_msg_font_family"] = "inherit";
953
+ $settings["error_msg_font_size"] = "12";
954
+ $settings["error_msg_bg_color"] = "#ffcaca";
955
+ $settings["error_msg_border_color"] = "#ffcaca";
956
+ $settings["error_msg_text_color"] = "#ff2c38";
957
+ $settings["error_msg_rdl_text_align"] = "0";
958
+ $settings["error_msg_text_direction"] = "inherit";
959
+
960
+ $contact_forms_for_settings = $wpdb->get_results
961
+ (
962
+ "SELECT * FROM ".contact_bank_contact_form()
963
+ );
964
+ for($flag = 0; $flag < count($contact_forms_for_settings); $flag++)
965
+ {
966
+ $sql = "";
967
+ foreach($settings as $key => $value)
968
+ {
969
+ $sql[] = '('.$contact_forms_for_settings[$flag]->form_id.',"'.$key.'", "'.$value.'")';
970
+ }
971
+ $wpdb->query
972
+ (
973
+ "INSERT INTO " . contact_bank_layout_settings_Table() . "(form_id,form_settings_key,form_settings_value) VALUES ".implode(',', $sql),""
974
+ );
975
+ }
976
+
977
+ $email_name = "Admin Notification";
978
+ $send_to = get_option('admin_email');
979
+ $email_address = get_option('admin_email');
980
+ $email_from_name = "Site Administration";
981
+ $email_from_email = get_option('admin_email');
982
+ $email_subject = "New Contact recieved from Website";
983
+ $uxDescription_email = "Hello Admin,<br><br>
984
+ A new user has visited your website.<br><br>
985
+ Here are the details :<br><br>
986
+ <br>Thanks,<br><br>
987
+ <strong>Technical Support Team</strong>";
988
+ $wpdb->query
989
+ (
990
+ $wpdb->prepare
991
+ (
992
+ "INSERT INTO " . contact_bank_email_template_admin(). " (email_to,email_from,body_content,subject,form_id,from_name,name,send_to) VALUES(%s,%s,%s,%s,%d,%s,%s,%d)",
993
+ $email_address,
994
+ $email_from_email,
995
+ $uxDescription_email,
996
+ $email_subject,
997
+ 1,
998
+ $email_from_name,
999
+ $email_name,
1000
+ $send_to
1001
+ )
1002
+ );
1003
+
1004
+ $email_name_client = "Client Notification";
1005
+ $email_subject_client = "Thanks for visiting our website";
1006
+ $email_from_name = "Site Administration";
1007
+ $email_from_email = get_option('admin_email');
1008
+ $uxDescription_email_client = "Hi,<br><br>
1009
+ Thanks for visiting our website. We will be Contacting you soon next 24 hours.<br><br>
1010
+ <br>Thanks,<br><br>
1011
+ <strong>Support Team</strong>";
1012
+ $wpdb->query
1013
+ (
1014
+ $wpdb->prepare
1015
+ (
1016
+ "INSERT INTO " . contact_bank_email_template_admin(). " (email_to,email_from,body_content,subject,form_id,from_name,name,send_to) VALUES(%s,%s,%s,%s,%d,%s,%s,%d)",
1017
+ "",
1018
+ $email_from_email,
1019
+ $uxDescription_email_client,
1020
+ $email_subject_client,
1021
+ 1,
1022
+ $email_from_name,
1023
+ $email_name_client,
1024
+ ""
1025
+ )
1026
+ );
1027
  }
1028
  else if($version == "2.0")
1029
  {
1113
  }
1114
  }
1115
  }
 
1116
  }
1117
  else if($version == "2.1")
1118
  {
1148
  "INSERT INTO " . contact_bank_roles_capability() . "(roles_capability_key,roles_capability_value) VALUES ".implode(',', $sql1),""
1149
  );
1150
  }
 
1151
  }
1152
+ update_option("contact-bank-version-number","2.1");
1153
  ?>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: contact-banker, Gallery-Bank
3
  Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact form, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, shortcode, sidebar, stats, text, web form, widget, wordpress
4
  Requires at least: 3.3
5
  Tested up to: 4.1
6
- Stable tag: 2.0.89
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -532,6 +532,15 @@ In order to set Shortcode for a Form, you need to follow these steps :
532
 
533
  == Changelog ==
534
 
 
 
 
 
 
 
 
 
 
535
  = 2.0.89 =
536
 
537
  * Added google-maps-bank in recommended-plugins file
3
  Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact form, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, shortcode, sidebar, stats, text, web form, widget, wordpress
4
  Requires at least: 3.3
5
  Tested up to: 4.1
6
+ Stable tag: 2.0.90
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
532
 
533
  == Changelog ==
534
 
535
+ = 2.0.90 =
536
+
537
+ * Look & Feel of Front End Form changed
538
+ * Fixed Few Bugs
539
+ * Added Control Drag & Drop Sorting Functionality
540
+ * Added Dummy Form for Beginners
541
+ * Allow 2 Forms to be created in Lite Edition
542
+
543
+
544
  = 2.0.89 =
545
 
546
  * Added google-maps-bank in recommended-plugins file
views/contact_view.php CHANGED
@@ -132,7 +132,7 @@ else
132
  $settings["input_field_rdl_multiple_row"] = "1";
133
  $settings["input_field_rdl_text_align"] = "0";
134
  $settings["input_field_text_direction"] = "inherit";
135
- $settings["input_field_input_size"] = "layout-span6";
136
 
137
  $settings["submit_button_font_family"] = "inherit";
138
  $settings["submit_button_text"] = "Submit ";
132
  $settings["input_field_rdl_multiple_row"] = "1";
133
  $settings["input_field_rdl_text_align"] = "0";
134
  $settings["input_field_text_direction"] = "inherit";
135
+ $settings["input_field_input_size"] = "layout-span10";
136
 
137
  $settings["submit_button_font_family"] = "inherit";
138
  $settings["submit_button_text"] = "Submit ";
views/dashboard.php CHANGED
@@ -18,7 +18,6 @@ if (!current_user_can($cb_user_role_permission))
18
  }
19
  else
20
  {
21
-
22
  $last_form_id = $wpdb->get_var
23
  (
24
  "SELECT form_id FROM " .contact_bank_contact_form(). " order by form_id desc limit 1"
18
  }
19
  else
20
  {
 
21
  $last_form_id = $wpdb->get_var
22
  (
23
  "SELECT form_id FROM " .contact_bank_contact_form(). " order by form_id desc limit 1"
views/header.php CHANGED
@@ -179,6 +179,6 @@ elseif(!(in_array($cb_language, $cb_lang_translated_languages)) && !(in_array($c
179
  ?>
180
  <div class="custom-message red" style="display: block;margin-top:10px;">
181
  <span>
182
- <strong>You will be only allowed to add 1 Form. Kindly purchase Premium Edition for full access.</strong>
183
  </span>
184
  </div>
179
  ?>
180
  <div class="custom-message red" style="display: block;margin-top:10px;">
181
  <span>
182
+ <strong>You will be only allowed to add 2 Forms. Kindly purchase Premium Edition for full access.</strong>
183
  </span>
184
  </div>
views/includes_common_after.php CHANGED
@@ -38,6 +38,7 @@ jQuery(document).ready(function()
38
  }
39
  jQuery.post(ajaxurl,"form_id="+form_id+"&field_dynamic_id="+JSON.stringify(field_dynamic_id)+"&param=form_fields_sorting_order&action=add_contact_form_library", function(data)
40
  {
 
41
  });
42
  }
43
  });
38
  }
39
  jQuery.post(ajaxurl,"form_id="+form_id+"&field_dynamic_id="+JSON.stringify(field_dynamic_id)+"&param=form_fields_sorting_order&action=add_contact_form_library", function(data)
40
  {
41
+ alert(data);
42
  });
43
  }
44
  });
views/purchase_pro_version.php CHANGED
@@ -315,7 +315,7 @@ else
315
  class="css3_grid_tooltip"><span>You just need to pay for
316
  once for life time.</span>
317
  <h1 class="col1">
318
- &euro;<span>18</span>
319
  </h1>
320
  <h3 class="col1">one time</h3></span></span></span></li>
321
  <li
@@ -442,7 +442,7 @@ else
442
  class="css3_grid_tooltip"><span>You just need to pay for
443
  once for life time.</span>
444
  <h1 class="col1">
445
- &euro;<span>28</span>
446
  </h1>
447
  <h3 class="col1">one time</h3></span></span></span></li>
448
  <li
315
  class="css3_grid_tooltip"><span>You just need to pay for
316
  once for life time.</span>
317
  <h1 class="col1">
318
+ &euro;<span>15</span>
319
  </h1>
320
  <h3 class="col1">one time</h3></span></span></span></li>
321
  <li
442
  class="css3_grid_tooltip"><span>You just need to pay for
443
  once for life time.</span>
444
  <h1 class="col1">
445
+ &euro;<span>25</span>
446
  </h1>
447
  <h3 class="col1">one time</h3></span></span></span></li>
448
  <li