FormGet Contact Form - Version 2.5

Version Description

Download this release

Release Info

Developer PankajAgarwal
Plugin Icon 128x128 FormGet Contact Form
Version 2.5
Comparing to
See all releases

Code changes from version 2.4 to 2.5

2.6/js/fg_script.js DELETED
@@ -1,92 +0,0 @@
1
- jQuery(document).ready(function() {
2
- jQuery('.fg_group').hide();
3
- jQuery('#pn_content').css("display", "block");
4
-
5
- jQuery('#embed_tab').click(function() {
6
- // alert("hello");
7
- jQuery('.fg_group').hide();
8
- jQuery('.nav-tab').removeClass('nav-tab-active');
9
- jQuery(this).addClass('nav-tab-active');
10
- jQuery('#pn_displaysetting').css("display", "block");
11
- jQuery(".fg_embed_code_save").css("display", "block");
12
-
13
- });
14
-
15
- jQuery('#support_tab').click(function() {
16
- // alert("hello");
17
- jQuery('.fg_group').hide();
18
- jQuery('.nav-tab').removeClass('nav-tab-active');
19
- jQuery(this).addClass('nav-tab-active');
20
- jQuery('#pn_contactus').css("display", "block");
21
- });
22
- jQuery('#help_tab').click(function() {
23
- // alert("hello");
24
- jQuery('.fg_group').hide();
25
- jQuery('.nav-tab').removeClass('nav-tab-active');
26
- jQuery(this).addClass('nav-tab-active');
27
- jQuery('#pn_template').css("display", "block");
28
- });
29
-
30
-
31
- jQuery('#form_tab').click(function() {
32
- // alert("hello");
33
- jQuery('.fg_group').hide();
34
- jQuery('.nav-tab').removeClass('nav-tab-active');
35
- jQuery(this).addClass('nav-tab-active');
36
- jQuery('#pn_content').css("display", "block");
37
- });
38
-
39
-
40
-
41
- jQuery('.fg_embed_code_save').click(function() {
42
- jQuery('div#loader_img').css("display", "block");
43
- var text_value = jQuery('textarea#fg_content_html').val();
44
- var data = {
45
- action: 'master_response',
46
- value: text_value
47
- };
48
- jQuery.post(script_call.ajaxurl, data, function(response) {
49
- if (response) {
50
- jQuery('div#loader_img').css("display", "none");
51
- }
52
- else {
53
-
54
- jQuery('div#loader_img').css("display", "none");
55
- }
56
- });
57
- });
58
-
59
- jQuery('div#fg_video_getting_started').click(function(){
60
- jQuery('div#fg_videoContainer').css({"display": "block"});
61
- autoPlayVideo('84023688','700','400');
62
- });
63
-
64
-
65
- function autoPlayVideo(vcode, width, height){
66
- "use strict";
67
- jQuery("#fg_videoContainer").html('<iframe class="video_tobe_shown" width="'+width+'" height="'+height+'" src="//player.vimeo.com/video/'+vcode+'?autoplay=1&loop=1&rel=0&wmode=transparent" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>');
68
- }
69
-
70
- jQuery('div#fg_videoContainer').click(function(){
71
- jQuery('div#fg_videoContainer').css({"display": "none"});
72
- jQuery('div#fg_videoContainer').empty();
73
- });
74
- //jQuery("div.")
75
- jQuery(".hide_video_notice").click(function(){
76
- //alert("hello");
77
- var hide_data = {
78
- action: 'master_response',
79
- value_hide: "hide"
80
- };
81
- jQuery.post(script_call.ajaxurl, hide_data, function(response) {
82
- if (response) {
83
- //alert(response);
84
- jQuery('.fg_notice_div').hide();
85
- }
86
- else {
87
-
88
-
89
- }
90
- });
91
- });
92
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
{2.6 → 2.9}/css/fgstyle.css RENAMED
@@ -223,6 +223,7 @@ div.fg_embed_code_save {
223
  -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,.6);
224
  box-shadow: inset 0 1px 0 rgba(120,200,230,.6);
225
  color: #fff;
 
226
  }
227
 
228
  div.fg_embed_code_save:hover{
@@ -245,6 +246,7 @@ div.fg_embed_code_save:hover{
245
  .regular-text{
246
  margin-left: 19px;
247
  margin-top:15px;
 
248
  }
249
  .formget_contact_form{
250
  margin-left:35px;
@@ -256,155 +258,224 @@ div.fg_embed_code_save:hover{
256
  }
257
 
258
  .fg_trial-notify{
259
- margin-top: 20px;
260
- position: relative;
261
- z-index: 100;
262
- border: 1px solid #70a4d2!important;
263
- -moz-border-radius: 3px;
264
- -webkit-border-radius: 3px;
265
- border-radius: 3px;
266
- -webkit-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
267
- -moz-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
268
- box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
269
- overflow: hidden;
270
- padding: 10px 0 10px!important;
271
- background-color: #b4d5f2;
272
- color: white;
273
- margin-right: 10px;
274
  }
275
 
276
  p.fg_division_note{
277
- color: black;
278
- max-width: 1150px;
279
- margin: 0;
280
- padding: 0 10px;
281
- text-align: left;
282
- margin: 10px 10px 10px 0;
283
- font-size: 22px;
284
- line-height: 28px;
285
- font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
286
- font-weight: normal;
287
- /* text-shadow: 0 1px 1px #3b8dd2; */
288
- -moz-border-radius: 5px;
289
- -webkit-border-radius: 5px;
290
- border-radius: 5px;
291
- float: left;
292
- vertical-align: middle;
293
  }
294
  .fg_button_prime{
295
- color: white;
296
- font-size: 14px!important;
297
- line-height: 16px!important;
298
- height: auto!important;
299
- -webkit-border-radius: 3px;
300
- border-radius: 3px;
301
- margin: 0 5px 0 0;
302
- padding: 5px 12px;
303
- vertical-align: middle;
304
- color: #fff;
305
- text-align: center;
306
- text-decoration: none;
307
- border: 1px solid #317dbc;
308
- -webkit-transition: none;
309
- -moz-transition: none;
310
- cursor: pointer;
311
- outline: 0;
312
- font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
313
- /* text-shadow: 0 1px #3b8dd2; */
314
- background-color: blue;
315
- background-image: -webkit-gradient(linear,left top,left bottom,from(#3b8dd2),to(#5cacf0));
316
- background-image: -webkit-linear-gradient(top,#3b8dd2,#5cacf0);
317
- background-image: -moz-linear-gradient(top,#3b8dd2,#5cacf0);
318
- background-image: -ms-linear-gradient(top,#3b8dd2,#5cacf0);
319
- background-image: -o-linear-gradient(top,#3b8dd2,#5cacf0);
320
- background-image: linear-gradient(to bottom,#3b8dd2,#5cacf0);
321
- -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
322
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
323
 
324
  }
325
  .fg_button_prime:hover{
326
- color: white;
327
- text-shadow: 0 -1px #3b8dd2;
328
- border: 1px solid #317dbc;
329
- background-color: #5D8CC9;
330
- background-image: -webkit-gradient(linear,left top,left bottom,from(#5cacf0),to(#3b8dd2));
331
- background-image: -webkit-linear-gradient(top,#5cacf0,#3b8dd2);
332
- background-image: -moz-linear-gradient(top,#5cacf0,#3b8dd2);
333
- background-image: -ms-linear-gradient(top,#5cacf0,#3b8dd2);
334
- background-image: -o-linear-gradient(top,#5cacf0,#3b8dd2);
335
- background-image: linear-gradient(to bottom,#5cacf0,#3b8dd2);
336
- webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
337
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
338
  }
339
 
340
  .fg_hide_notice{
341
  float: right;
342
  margin-right: 10px;
343
- opacity: .6;
344
- }
345
 
346
  .fg_notice_div{
347
- margin-top: 20px;
348
- position: relative;
349
- z-index: 100;
350
- border: 1px solid #70a4d2!important;
351
- -moz-border-radius: 3px;
352
- -webkit-border-radius: 3px;
353
- border-radius: 3px;
354
- -webkit-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
355
- -moz-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
356
- box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
357
- overflow: hidden;
358
- padding: 10px 0 10px!important;
359
- background-color: #b4d5f2;
360
- color: black;
361
- margin-right: 10px;
362
  }
363
  p.fg_video_notice{
364
- color: black;
365
- max-width: 800px;
366
- margin: 0;
367
- padding: 0 5px;
368
- text-align: left;
369
- margin: 10px 0 10px 0;
370
- font-size: 20px;
371
- line-height: 28px;
372
- font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
373
- font-weight: normal;
374
- -moz-border-radius: 5px;
375
- -webkit-border-radius: 5px;
376
- border-radius: 5px;
377
- float: left;
378
- vertical-align: middle;
379
  }
380
  .fg_getting_started{
381
- margin-top: 10px;
382
- float: left;
383
- font-size: 18px !important;
384
  }
385
  .hide_video_notice{
386
- margin-top: 10px;
387
- float: left;
388
- overflow: hidden;
389
- font-size: 18px !important;
390
- opacity:0.6;
391
  }
392
  div#fg_videoContainer{
393
- display: none;
394
- width: 100%;
395
- height: 100%;
396
- background: url('../image/overlay.png' )repeat;
397
- position:fixed;
398
- z-index: 10000;
399
- opacity:0.93;
400
  }
401
  div#fg_videoContainer .video_tobe_shown{
402
- border: 5px solid white;
403
- margin-top: 10%;
404
- margin-left: 20%;
405
- padding: 3px;
406
- opacity:1 !important;
407
  }
408
-
409
-
410
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,.6);
224
  box-shadow: inset 0 1px 0 rgba(120,200,230,.6);
225
  color: #fff;
226
+
227
  }
228
 
229
  div.fg_embed_code_save:hover{
246
  .regular-text{
247
  margin-left: 19px;
248
  margin-top:15px;
249
+ margin-bottom:15px;
250
  }
251
  .formget_contact_form{
252
  margin-left:35px;
258
  }
259
 
260
  .fg_trial-notify{
261
+ margin-top: 20px;
262
+ position: relative;
263
+ z-index: 100;
264
+ border: 1px solid #70a4d2!important;
265
+ -moz-border-radius: 3px;
266
+ -webkit-border-radius: 3px;
267
+ border-radius: 3px;
268
+ -webkit-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
269
+ -moz-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
270
+ box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
271
+ overflow: hidden;
272
+ padding: 10px 0 10px!important;
273
+ background-color: #b4d5f2;
274
+ color: white;
275
+ margin-right: 10px;
276
  }
277
 
278
  p.fg_division_note{
279
+ color: black;
280
+ max-width: 1150px;
281
+ margin: 0;
282
+ padding: 0 10px;
283
+ text-align: left;
284
+ margin: 10px 10px 10px 0;
285
+ font-size: 22px;
286
+ line-height: 28px;
287
+ font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
288
+ font-weight: normal;
289
+ /* text-shadow: 0 1px 1px #3b8dd2; */
290
+ -moz-border-radius: 5px;
291
+ -webkit-border-radius: 5px;
292
+ border-radius: 5px;
293
+ float: left;
294
+ vertical-align: middle;
295
  }
296
  .fg_button_prime{
297
+ color: white;
298
+ font-size: 14px!important;
299
+ line-height: 16px!important;
300
+ height: auto!important;
301
+ -webkit-border-radius: 3px;
302
+ border-radius: 3px;
303
+ margin: 0 5px 0 0;
304
+ padding: 5px 12px;
305
+ vertical-align: middle;
306
+ color: #fff;
307
+ text-align: center;
308
+ text-decoration: none;
309
+ border: 1px solid #317dbc;
310
+ -webkit-transition: none;
311
+ -moz-transition: none;
312
+ cursor: pointer;
313
+ outline: 0;
314
+ font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
315
+ /* text-shadow: 0 1px #3b8dd2; */
316
+ background-color: blue;
317
+ background-image: -webkit-gradient(linear,left top,left bottom,from(#3b8dd2),to(#5cacf0));
318
+ background-image: -webkit-linear-gradient(top,#3b8dd2,#5cacf0);
319
+ background-image: -moz-linear-gradient(top,#3b8dd2,#5cacf0);
320
+ background-image: -ms-linear-gradient(top,#3b8dd2,#5cacf0);
321
+ background-image: -o-linear-gradient(top,#3b8dd2,#5cacf0);
322
+ background-image: linear-gradient(to bottom,#3b8dd2,#5cacf0);
323
+ -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
324
+ box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
325
 
326
  }
327
  .fg_button_prime:hover{
328
+ color: white;
329
+ text-shadow: 0 -1px #3b8dd2;
330
+ border: 1px solid #317dbc;
331
+ background-color: #5D8CC9;
332
+ background-image: -webkit-gradient(linear,left top,left bottom,from(#5cacf0),to(#3b8dd2));
333
+ background-image: -webkit-linear-gradient(top,#5cacf0,#3b8dd2);
334
+ background-image: -moz-linear-gradient(top,#5cacf0,#3b8dd2);
335
+ background-image: -ms-linear-gradient(top,#5cacf0,#3b8dd2);
336
+ background-image: -o-linear-gradient(top,#5cacf0,#3b8dd2);
337
+ background-image: linear-gradient(to bottom,#5cacf0,#3b8dd2);
338
+ webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
339
+ box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
340
  }
341
 
342
  .fg_hide_notice{
343
  float: right;
344
  margin-right: 10px;
345
+ opacity: .6;
346
+ }
347
 
348
  .fg_notice_div{
349
+ margin-top: 20px;
350
+ position: relative;
351
+ z-index: 100;
352
+ border: 1px solid #70a4d2!important;
353
+ -moz-border-radius: 3px;
354
+ -webkit-border-radius: 3px;
355
+ border-radius: 3px;
356
+ -webkit-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
357
+ -moz-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
358
+ box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
359
+ overflow: hidden;
360
+ padding: 10px 0 10px!important;
361
+ background-color: #b4d5f2;
362
+ color: black;
363
+ margin-right: 10px;
364
  }
365
  p.fg_video_notice{
366
+ color: black;
367
+ max-width: 800px;
368
+ margin: 0;
369
+ padding: 0 5px;
370
+ text-align: left;
371
+ margin: 10px 0 10px 0;
372
+ font-size: 20px;
373
+ line-height: 28px;
374
+ font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
375
+ font-weight: normal;
376
+ -moz-border-radius: 5px;
377
+ -webkit-border-radius: 5px;
378
+ border-radius: 5px;
379
+ float: left;
380
+ vertical-align: middle;
381
  }
382
  .fg_getting_started{
383
+ margin-top: 10px;
384
+ float: left;
385
+ font-size: 18px !important;
386
  }
387
  .hide_video_notice{
388
+ margin-top: 10px;
389
+ float: left;
390
+ overflow: hidden;
391
+ font-size: 18px !important;
392
+ opacity:0.6;
393
  }
394
  div#fg_videoContainer{
395
+ display: none;
396
+ width: 100%;
397
+ height: 100%;
398
+ background: url('../image/overlay.png' )repeat;
399
+ position:fixed;
400
+ z-index: 10000;
401
+ opacity:0.93;
402
  }
403
  div#fg_videoContainer .video_tobe_shown{
404
+ border: 5px solid white;
405
+ margin-top: 10%;
406
+ margin-left: 20%;
407
+ padding: 3px;
408
+ opacity:1 !important;
409
  }
410
+ input#fg_selected_box{
411
+ margin-left: 19px;
412
+ }
413
+ .fg_info{
414
+ margin-left: 19px;
415
+ }
416
+ .fg_upgarde_to_pro{
417
+ border: 2px solid #165C5F;
418
+ background-color:#165C5F;
419
+ height: 50px;
420
+ margin-top: 10px;
421
+ border-radius: 3px;
422
+ width: 900px;
423
+ padding-right: 10px;
424
+ }
425
+ .fg_pro_notice{
426
+ float:left;
427
+ width: 560px;
428
+ padding-left: 10px;
429
+ color: white;
430
+ font-size: 24px;
431
+ line-height: 3px;
432
+ font-weight: normal;
433
+ font-family: Source Sans Pro;
434
+ font-weight: normal;
435
+ margin-bottom: 15px;
436
+ display: block;
437
+ -webkit-margin-before: 1em;
438
+ -webkit-margin-after: 1em;
439
+ -webkit-margin-start: 0px;
440
+ -webkit-margin-end: 0px;
441
+ }
442
+ .button_to_formget{
443
+ float: left;
444
+ margin-top: 10px !important;
445
+ -moz-box-shadow: inset 0px 1px 0px 0px #f69d8b;
446
+ -webkit-box-shadow: inset 0px 1px 0px 0px #f69d8b;
447
+ box-shadow: inset 0px 1px 0px 0px #f69d8b;
448
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f7836c), color-stop(1, #f25839));
449
+ background: -moz-linear-gradient(top, #f7836c 5%, #f25839 100%);
450
+ background: -webkit-linear-gradient(top, #f7836c 5%, #f25839 100%);
451
+ background: -o-linear-gradient(top, #f7836c 5%, #f25839 100%);
452
+ background: -ms-linear-gradient(top, #f7836c 5%, #f25839 100%);
453
+ background: linear-gradient(to bottom, #f7836c 5%, #f25839 100%);
454
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7836c', endColorstr='#f25839',GradientType=0);
455
+ background-color: #f7836c;
456
+ -moz-border-radius: 3px;
457
+ -webkit-border-radius: 3px;
458
+ border-radius: 3px;
459
+ border: 1px solid #d85339;
460
+ display: inline-block;
461
+ color: #ffffff;
462
+ font-size: 16px;
463
+ font-weight: normal;
464
+ text-decoration: none;
465
+ text-shadow: 0px 1px 0px #ac4632;
466
+ padding: 4px 12px;
467
+ padding-bottom: 6px;
468
+ margin-right: -4px;
469
+ margin-top: 0;
470
+ cursor:pointer;
471
+ }
472
+ .button_to_formget:hover{
473
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f25839), color-stop(1, #f7836c));
474
+ background: -moz-linear-gradient(top, #f25839 5%, #f7836c 100%);
475
+ background: -webkit-linear-gradient(top, #f25839 5%, #f7836c 100%);
476
+ background: -o-linear-gradient(top, #f25839 5%, #f7836c 100%);
477
+ background: -ms-linear-gradient(top, #f25839 5%, #f7836c 100%);
478
+ background: linear-gradient(to bottom, #f25839 5%, #f7836c 100%);
479
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f25839', endColorstr='#f7836c',GradientType=0);
480
+ background-color: #f25839;
481
+ }
{2.6 → 2.9}/image/ajax-loader.gif RENAMED
File without changes
{2.6 → 2.9}/image/button-primary-hover.png RENAMED
File without changes
{2.6 → 2.9}/image/button-primary.png RENAMED
File without changes
{2.6 → 2.9}/image/close.png RENAMED
File without changes
{2.6 → 2.9}/image/favicon.ico RENAMED
File without changes
{2.6 → 2.9}/image/help_img.png RENAMED
File without changes
{2.6 → 2.9}/image/overlay.png RENAMED
File without changes
{2.6 → 2.9}/index.php RENAMED
@@ -3,10 +3,11 @@
3
  Plugin Name: FormGet Contact Form
4
  Plugin URI: http://www.formget.com
5
  Description: FormGet Contact Form is an eassy and effective form builder tool which enable you to bulid and embed form on your website in few steps. With FormGet Contact Form manage all your contact forms and your entire client communication at one single place.
6
- Version: 2.6
7
  Author: FormGet
8
  Author URI: http://www.formget.com
9
  */
 
10
  function my_admin_notice() {
11
  $fg_iframe_form = get_option('fg_embed_code');
12
  $string = "sideBar";
@@ -19,7 +20,7 @@ function my_admin_notice() {
19
  ?>
20
  <div class="fg_trial-notify">
21
  <p class="fg_division_note">
22
- Welcome to FormGet - You're almost ready to create your form <a class="fg_button_prime" href='<?php echo admin_url('admin.php?page=cf_page'); ?>'>Click to Create.</a><?php printf(__('<a class="fg_hide_notice fg_button_prime", href="%1$s">Hide Notice</a>'), '?admin_nag_ignore=0'); ?></p>
23
  </div>
24
  <?php
25
  }
@@ -27,7 +28,7 @@ function my_admin_notice() {
27
  }
28
 
29
  if (!isset($_GET['page']) == 'cf_page') {
30
- add_action('admin_notices', 'my_admin_notice');
31
  }
32
 
33
  function admin_nag_ignore() {
@@ -51,20 +52,20 @@ register_deactivation_hook(__FILE__, 'delete_user_entry');
51
 
52
 
53
  if (is_admin()) {
54
-
55
- function cf_add_style() {
56
- wp_enqueue_style('form1_style1_sheet1', plugins_url('css/fgstyle.css', __FILE__));
57
- }
58
- add_action("init", "cf_add_style");
59
-
60
 
61
  function wordpress_style() {
62
  wp_enqueue_style('stylesheet_menu', admin_url('load-styles.php?c=1&amp;dir=ltr&amp;load=admin-bar,wp-admin,buttons,wp-auth-check&amp'));
63
  wp_enqueue_style('style_menu', admin_url('css/colors-fresh.min.css'));
64
  }
65
 
66
- add_action('init', 'wordpress_style');
67
- }
68
 
69
 
70
  //setting page
@@ -77,23 +78,30 @@ function cf_menu_page() {
77
  function cf_setting_page() {
78
  $url = plugins_url();
79
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
 
81
- <div id="fg_videoContainer" >
82
-
83
- </div>
84
- <?php global $wpdb;
85
- $fg_video_code = get_option('fg_hide_video');
86
- if(!$fg_video_code == "hide"){
87
- ?>
88
- <div class="fg_notice_div" id="#fg_notice_div">
89
- <p class="fg_video_notice" >
90
- We have created a simple video for using the FormGet WordPress Plugin.
91
- <div class="fg_getting_started fg_button_prime" id="fg_video_getting_started">Watch Video!</div> <div class="hide_video_notice fg_button_prime">Hide this Notice </div>
92
- </p>
93
- </div>
94
- <?php } ?>
95
- <div id="fg_of_container" class="fg_wrap" >
96
- <form id="fg_ofform" action="" method="POST">
97
  <div id="fg_header">
98
  <div class="fg_logo">
99
  <h2> FormGet Contact Form</h2>
@@ -111,7 +119,10 @@ We have created a simple video for using the FormGet WordPress Plugin.
111
  <span id="form_tab" class="nav-tab nav-tab-active ">Contact Form Builder </span>
112
  <span id="embed_tab" class="nav-tab ">Embed Code</span>
113
  <span id="help_tab" class="nav-tab ">Help</span>
 
 
114
  <span id="support_tab" class="nav-tab ">Plugin Support</span>
 
115
 
116
  </h2>
117
 
@@ -138,9 +149,33 @@ We have created a simple video for using the FormGet WordPress Plugin.
138
  <div class="fg_section section-text">
139
  <h3 class="fg_heading">Embed code field will only accept code for tabbed widgets. Please do not place shortcode here. </h3>
140
  <div class="option">
141
- <div class="fg_controls" style="height:310px;">
142
- <textarea name="content[html]" cols="60" rows="10" class="regular-text" id="fg_content_html" style="width:900px"><?php echo embeded_code(); ?></textarea>
143
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  <div id="submit-form" class="fg_embed_code_save " > Save </div>
145
  <div id="loader_img" align="center" style="margin-left:460px; display:none;">
146
  <img src="<?php echo plugins_url('image/ajax-loader.gif', __FILE__); ?>">
@@ -163,12 +198,29 @@ We have created a simple video for using the FormGet WordPress Plugin.
163
  </div>
164
 
165
  </div>
 
 
 
 
 
 
 
 
166
  <div class="fg_group" id="pn_contactus">
167
  <div class="fg_section section-text">
168
  <h3 class="fg_heading"> Contact Us</h3>
169
  <iframe class="formget_contact_form" height='570' allowTransparency='true' frameborder='0' scrolling='no' style='width:100%;border:none' src='http://www.formget.com/app/embed/form/qQvs-639'>Your Contact </iframe>
170
  </div>
171
  </div>
 
 
 
 
 
 
 
 
 
172
 
173
  </div>
174
  <div class="clear"></div>
@@ -197,10 +249,13 @@ if (isset($_GET['page']) == 'cf_page') {
197
 
198
  function cf_text_ajax_process_request() {
199
  $text_value = $_POST['value'];
200
- $val = $_POST['value_hide'];
201
- //echo $val;
202
- update_option('fg_hide_video', $val);
 
203
  update_option('fg_embed_code', $text_value);
 
 
204
  echo 1;
205
  die();
206
  }
@@ -210,19 +265,40 @@ add_action('wp_ajax_nopriv_master_response', 'cf_text_ajax_process_request');
210
  if (!function_exists('embeded_code')) {
211
 
212
  function embeded_code() {
 
 
 
213
  global $wpdb;
214
  $fg_iframe_form = get_option('fg_embed_code');
215
-
216
  $string = "sideBar";
217
  $pos = strpos($fg_iframe_form, $string);
218
- if ($pos == true) {
219
- echo stripslashes($fg_iframe_form);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  }
221
  }
222
 
223
  }
224
- add_action('wp_head', 'embeded_code');
225
 
 
 
 
226
  //schort code function
227
  if (!function_exists('formget_shortcode')) {
228
 
3
  Plugin Name: FormGet Contact Form
4
  Plugin URI: http://www.formget.com
5
  Description: FormGet Contact Form is an eassy and effective form builder tool which enable you to bulid and embed form on your website in few steps. With FormGet Contact Form manage all your contact forms and your entire client communication at one single place.
6
+ Version: 2.9
7
  Author: FormGet
8
  Author URI: http://www.formget.com
9
  */
10
+
11
  function my_admin_notice() {
12
  $fg_iframe_form = get_option('fg_embed_code');
13
  $string = "sideBar";
20
  ?>
21
  <div class="fg_trial-notify">
22
  <p class="fg_division_note">
23
+ Welcome to FormGet - You're almost ready to create your form <a class="fg_button_prime" href='<?php echo admin_url('admin.php?page=cf_page'); ?>'>Click to Create.</a><?php printf(__('<a class="fg_hide_notice fg_button_prime", href="%1$s">Hide Notice</a>'), '?admin_nag_ignore=0'); ?></p>
24
  </div>
25
  <?php
26
  }
28
  }
29
 
30
  if (!isset($_GET['page']) == 'cf_page') {
31
+ add_action('admin_notices', 'my_admin_notice');
32
  }
33
 
34
  function admin_nag_ignore() {
52
 
53
 
54
  if (is_admin()) {
55
+
56
+ function cf_add_style() {
57
+ wp_enqueue_style('form1_style1_sheet1', plugins_url('css/fgstyle.css', __FILE__));
58
+ }
59
+
60
+ add_action("init", "cf_add_style");
61
 
62
  function wordpress_style() {
63
  wp_enqueue_style('stylesheet_menu', admin_url('load-styles.php?c=1&amp;dir=ltr&amp;load=admin-bar,wp-admin,buttons,wp-auth-check&amp'));
64
  wp_enqueue_style('style_menu', admin_url('css/colors-fresh.min.css'));
65
  }
66
 
67
+ add_action('init', 'wordpress_style');
68
+ }
69
 
70
 
71
  //setting page
78
  function cf_setting_page() {
79
  $url = plugins_url();
80
  ?>
81
+
82
+ <div id="fg_videoContainer" >
83
+
84
+ </div>
85
+ <?php
86
+ global $wpdb;
87
+ $fg_video_code = get_option('fg_hide_video');
88
+ if (!$fg_video_code == "hide") {
89
+ ?>
90
+ <div class="fg_notice_div" id="fg_notice_div">
91
+ <p class="fg_video_notice" >
92
+ We have created a simple video for using the FormGet WordPress Plugin.
93
+ <div class="fg_getting_started fg_button_prime" id="fg_video_getting_started">Watch Video!</div> <div class="hide_video_notice fg_button_prime">Hide this Notice </div>
94
+ </p>
95
+ </div>
96
 
97
+ <?php } ?>
98
+ <div class="fg_upgarde_to_pro" id="fg_upgarde_to_pro">
99
+ <p class="fg_pro_notice"> Get Fully Featured FormGet Pro Account Just 9.95 USD. </p>
100
+ <div class="button_to_formget" id="button_to_upgrade">UPGRADE TO PRO </div>
101
+ <a href="http://www.formget.com/" target="_blank"><div class="button_to_formget" id="button_to_site" style="float: right; margin-right:30px;">Visite Site </div></a>
102
+ </div>
103
+ <div id="fg_of_container" class="fg_wrap" >
104
+ <form id="fg_ofform" action="" method="POST">
 
 
 
 
 
 
 
 
105
  <div id="fg_header">
106
  <div class="fg_logo">
107
  <h2> FormGet Contact Form</h2>
119
  <span id="form_tab" class="nav-tab nav-tab-active ">Contact Form Builder </span>
120
  <span id="embed_tab" class="nav-tab ">Embed Code</span>
121
  <span id="help_tab" class="nav-tab ">Help</span>
122
+ <span id="gopro_tab" class="nav-tab ">GO PRO</span>
123
+ <span id="video_tab" class="nav-tab ">Video Tutorials</span>
124
  <span id="support_tab" class="nav-tab ">Plugin Support</span>
125
+
126
 
127
  </h2>
128
 
149
  <div class="fg_section section-text">
150
  <h3 class="fg_heading">Embed code field will only accept code for tabbed widgets. Please do not place shortcode here. </h3>
151
  <div class="option">
152
+ <div class="fg_controls" style="height:auto; padding-bottom: 10px;">
153
+ <textarea name="content[html]" cols="60" rows="10" class="regular-text" id="fg_content_html" style="width:900px"><?php echo embeded_code(); ?></textarea> <br>
154
+ <p class="fg_info"><b>Select the page in which you want to show "Contact Us" tab. By default it is visible on every page.</b><p>
155
+ <?php
156
+ $page_title = $wpdb->get_results("SELECT post_title, id FROM $wpdb->posts WHERE (post_type = 'page')");
157
+
158
+ foreach ($page_title as $title) {
159
+ $fg_list_page_id = get_option('fg_checked_page_id');
160
+ ?>
161
+ <input id="fg_selected_box" type="checkbox" name="checkbox" value="<?php echo $title->id; ?>"
162
+ <?php
163
+ if (!empty($fg_list_page_id)) {
164
+ foreach ($fg_list_page_id as $list) {
165
+ if ($list == $title->id) {
166
+ ?>
167
+ checked
168
+ <?php
169
+ }
170
+ }
171
+ }
172
+ ?> >
173
+
174
+ <?php
175
+ echo $title->post_title;
176
+ echo "<br>";
177
+ }
178
+ ?>
179
  <div id="submit-form" class="fg_embed_code_save " > Save </div>
180
  <div id="loader_img" align="center" style="margin-left:460px; display:none;">
181
  <img src="<?php echo plugins_url('image/ajax-loader.gif', __FILE__); ?>">
198
  </div>
199
 
200
  </div>
201
+ <div class="fg_group" id="pn_gopro">
202
+ <div class="fg_section section-text">
203
+ <h3 class="fg_heading"> Pricing Plan for all business types </h3>
204
+ <iframe src="http://www.formget.com/app/pricing" name="iframe" style="width:1030px; height:900px; overflow-y:scroll;" >
205
+ </iframe>
206
+ </div>
207
+ </div>
208
+
209
  <div class="fg_group" id="pn_contactus">
210
  <div class="fg_section section-text">
211
  <h3 class="fg_heading"> Contact Us</h3>
212
  <iframe class="formget_contact_form" height='570' allowTransparency='true' frameborder='0' scrolling='no' style='width:100%;border:none' src='http://www.formget.com/app/embed/form/qQvs-639'>Your Contact </iframe>
213
  </div>
214
  </div>
215
+
216
+ <div class="fg_group" id="pn_tutorial">
217
+ <div class="fg_section section-text">
218
+ <h3 class="fg_heading"> Following are the FormGet tutorials that will help you to understand FormGet </h3>
219
+ <iframe src="http://www.formget.com/formget-video-tutorials-guide/" name="iframe" style="width:1030px; height:900px; overflow-y:scroll;" >
220
+ </iframe>
221
+ </div>
222
+ </div>
223
+
224
 
225
  </div>
226
  <div class="clear"></div>
249
 
250
  function cf_text_ajax_process_request() {
251
  $text_value = $_POST['value'];
252
+ $val = $_POST['value_hide'];
253
+ $page_id = $_POST['page_id'];
254
+ //echo $val;
255
+ update_option('fg_hide_video', $val);
256
  update_option('fg_embed_code', $text_value);
257
+ update_option('fg_checked_page_id', $page_id);
258
+ //print_r($page_id);
259
  echo 1;
260
  die();
261
  }
265
  if (!function_exists('embeded_code')) {
266
 
267
  function embeded_code() {
268
+ //$title = get_the_title();
269
+ $postid = get_the_ID();
270
+ $fg_list_page_id = get_option('fg_checked_page_id');
271
  global $wpdb;
272
  $fg_iframe_form = get_option('fg_embed_code');
 
273
  $string = "sideBar";
274
  $pos = strpos($fg_iframe_form, $string);
275
+ if (!empty($fg_list_page_id)) {
276
+ foreach ($fg_list_page_id as $key) {
277
+ if($postid == $key) {
278
+ if ($pos == true) {
279
+ echo stripslashes($fg_iframe_form);
280
+ }
281
+ }
282
+ else{
283
+ if(is_front_page()){
284
+ if ($pos == true) {
285
+ echo stripslashes($fg_iframe_form);
286
+ }
287
+ }
288
+ }
289
+ }
290
+ } else {
291
+ if ($pos == true) {
292
+ echo stripslashes($fg_iframe_form);
293
+ }
294
  }
295
  }
296
 
297
  }
 
298
 
299
+ if (!is_admin()) {
300
+ add_action('wp_head', 'embeded_code');
301
+ }
302
  //schort code function
303
  if (!function_exists('formget_shortcode')) {
304
 
2.9/js/fg_script.js ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function() {
2
+ jQuery('.fg_group').hide();
3
+ jQuery('#pn_content').css("display", "block");
4
+
5
+ jQuery('#embed_tab').click(function() {
6
+ // alert("hello");
7
+ jQuery('.fg_group').hide();
8
+ jQuery('.nav-tab').removeClass('nav-tab-active');
9
+ jQuery(this).addClass('nav-tab-active');
10
+ jQuery('#pn_displaysetting').css("display", "block");
11
+ jQuery(".fg_embed_code_save").css("display", "block");
12
+
13
+ });
14
+
15
+ jQuery('#support_tab').click(function() {
16
+ // alert("hello");
17
+ jQuery('.fg_group').hide();
18
+ jQuery('.nav-tab').removeClass('nav-tab-active');
19
+ jQuery(this).addClass('nav-tab-active');
20
+ jQuery('#pn_contactus').css("display", "block");
21
+ });
22
+ jQuery('#help_tab').click(function() {
23
+ // alert("hello");
24
+ jQuery('.fg_group').hide();
25
+ jQuery('.nav-tab').removeClass('nav-tab-active');
26
+ jQuery(this).addClass('nav-tab-active');
27
+ jQuery('#pn_template').css("display", "block");
28
+ });
29
+ jQuery('#video_tab').click(function() {
30
+ // alert("hello");
31
+ jQuery('.fg_group').hide();
32
+ jQuery('.nav-tab').removeClass('nav-tab-active');
33
+ jQuery(this).addClass('nav-tab-active');
34
+ jQuery('#pn_tutorial').css("display", "block");
35
+ });
36
+
37
+ jQuery('#gopro_tab').click(function() {
38
+ // alert("hello");
39
+ jQuery('.fg_group').hide();
40
+ jQuery('.nav-tab').removeClass('nav-tab-active');
41
+ jQuery(this).addClass('nav-tab-active');
42
+ jQuery('#pn_gopro').css("display", "block");
43
+ });
44
+
45
+ jQuery('#button_to_upgrade').click(function() {
46
+ // alert("hello");
47
+ jQuery('.fg_group').hide();
48
+ jQuery('.nav-tab').removeClass('nav-tab-active');
49
+ jQuery('#gopro_tab').addClass('nav-tab-active');
50
+ jQuery('#pn_gopro').css("display", "block");
51
+ });
52
+
53
+ jQuery('#form_tab').click(function() {
54
+ // alert("hello");
55
+ jQuery('.fg_group').hide();
56
+ jQuery('.nav-tab').removeClass('nav-tab-active');
57
+ jQuery(this).addClass('nav-tab-active');
58
+ jQuery('#pn_content').css("display", "block");
59
+ });
60
+
61
+
62
+ jQuery('.fg_embed_code_save').click(function() {
63
+ jQuery('div#loader_img').css("display", "block");
64
+ var text_value = jQuery('textarea#fg_content_html').val();
65
+ var checkedValues = jQuery('input:checkbox:checked').map(function() {
66
+ return this.value;
67
+ }).get();
68
+ //alert(checkedValues);
69
+
70
+ var data = {
71
+ action: 'master_response',
72
+ value: text_value,
73
+ page_id: checkedValues
74
+ };
75
+ jQuery.post(script_call.ajaxurl, data, function(response) {
76
+ if (response) {
77
+ jQuery('div#loader_img').css("display", "none");
78
+ // alert(response);
79
+ }
80
+ else {
81
+
82
+ jQuery('div#loader_img').css("display", "none");
83
+ }
84
+ });
85
+ });
86
+
87
+ jQuery('div#fg_video_getting_started').click(function() {
88
+ jQuery('div#fg_videoContainer').css({"display": "block"});
89
+ autoPlayVideo('84023688', '700', '400');
90
+ });
91
+
92
+
93
+ function autoPlayVideo(vcode, width, height) {
94
+ "use strict";
95
+ jQuery("#fg_videoContainer").html('<iframe class="video_tobe_shown" width="' + width + '" height="' + height + '" src="//player.vimeo.com/video/' + vcode + '?autoplay=1&loop=1&rel=0&wmode=transparent" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>');
96
+ }
97
+
98
+ jQuery('div#fg_videoContainer').click(function() {
99
+ jQuery('div#fg_videoContainer').css({"display": "none"});
100
+ jQuery('div#fg_videoContainer').empty();
101
+ });
102
+ //jQuery("div.")
103
+ jQuery(".hide_video_notice").click(function() {
104
+ //alert("hello");
105
+ var hide_data = {
106
+ action: 'master_response',
107
+ value_hide: "hide"
108
+ };
109
+ jQuery.post(script_call.ajaxurl, hide_data, function(response) {
110
+ if (response) {
111
+ //alert(response);
112
+ jQuery('.fg_notice_div').hide();
113
+ }
114
+ else {
115
+
116
+
117
+ }
118
+ });
119
+ });
120
+ });
{2.6 → 2.9}/readme.txt RENAMED
@@ -3,7 +3,7 @@ Contributors: PankajAgarwal
3
  Tags: contact form, contact, form, forms, contact form plugin, contact form builder, contact form with recaptcha, feedback form, contact us, request form, contact button, drag and drop contact form, file upload contact form, contact form to email, contact form payments, contact for paypal, form solution, form builder, feedback, easy contact form, helpdesk
4
  Requires at least: 3.5.0
5
  Tested up to: 3.5.1
6
- Stable tag: 2.6
7
 
8
  FormGet Contact Form manage all your contact forms using single dashboard. Just a click on fields and your contact form is ready for use.
9
 
@@ -27,6 +27,26 @@ Name, Email, Contact Number, Message, Payment(Integrated with PayPal), Date (sup
27
 
28
  FormGet Contact Form plugin implemented with a helpdesk system which enable you to give full support to your customers. For that, you can easily add agents to manage your multiple contact forms and also leave a quick reply for every entry.
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
  = Full list of Features =
32
 
@@ -76,7 +96,7 @@ FormGet Contact Form plugin implemented with a helpdesk system which enable you
76
  * Redirect user to any page/URL using contact form redirect URL field.
77
  * Data stored using entries are regularly backup and restored on cloud servers.
78
  * Allow to enable form fields compulsary using avaliable Required option.
79
- * Implemented Logic Forms to integrate logical conditions in your form that will show or hide form fields or questions according to the user�s response to previous field.
80
  * Upload your Custom Background and header image.
81
  * Color customization can be done by using advance color customizer.
82
  * Share your forms on Facebook, Twitter, Google Plus go generate leads.
@@ -88,7 +108,7 @@ http://www.youtube.com/channel/UCjejLUldlgcPrv1qbiOPOKg
88
  = FormGet Contact Form Demo & User Guide =
89
  * See demo for [Tabbed code form](http://www.formget.com/).
90
  * See demo for [contact form on any page or post](http://www.formget.com/contact-us/).
91
- * [User Guide](http://wordpress.org/plugins/formget-contact-form/screenshots/)
92
 
93
  FormGet Contact Form is powered by formget.com.
94
  Click here to build [Advance Contact Form](http://formget.com).
@@ -142,6 +162,19 @@ When you create account in FormGet you automatically get support desk. All the e
142
 
143
  == Changelog ==
144
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  = Version 2.5 =
146
  * CSS bug fixed.
147
  * Payment with stripe added.
@@ -206,6 +239,8 @@ When you create account in FormGet you automatically get support desk. All the e
206
 
207
  == Upgrade Notice ==
208
  = 1.0 =
 
209
  * Initial release
210
  = 1.1 =
 
211
  * Please upgrade to latest version
3
  Tags: contact form, contact, form, forms, contact form plugin, contact form builder, contact form with recaptcha, feedback form, contact us, request form, contact button, drag and drop contact form, file upload contact form, contact form to email, contact form payments, contact for paypal, form solution, form builder, feedback, easy contact form, helpdesk
4
  Requires at least: 3.5.0
5
  Tested up to: 3.5.1
6
+ Stable tag: 2.9
7
 
8
  FormGet Contact Form manage all your contact forms using single dashboard. Just a click on fields and your contact form is ready for use.
9
 
27
 
28
  FormGet Contact Form plugin implemented with a helpdesk system which enable you to give full support to your customers. For that, you can easily add agents to manage your multiple contact forms and also leave a quick reply for every entry.
29
 
30
+ > ### FormGet
31
+ >
32
+ >
33
+
34
+ > **More Information**
35
+ >
36
+ > * Visit [FormGet website](http://www.formget.com/) for more information about FormGet.
37
+ >
38
+ >
39
+
40
+ > **FormGet Video Tutorials**
41
+ >
42
+ > * So to learn about FormGet from the beginning, FormGet have come up with the [video tutorial](http://www.formget.com/formget-video-tutorials-guide/) series
43
+ >
44
+ >
45
+
46
+
47
+ > ###[Upgrade to Pro](http://www.formget.com/app/pricing)
48
+ >
49
+ >
50
 
51
  = Full list of Features =
52
 
96
  * Redirect user to any page/URL using contact form redirect URL field.
97
  * Data stored using entries are regularly backup and restored on cloud servers.
98
  * Allow to enable form fields compulsary using avaliable Required option.
99
+ * Implemented Logic Forms to integrate logical conditions in your form that will show or hide form fields or questions according to the user�s response to previous field.
100
  * Upload your Custom Background and header image.
101
  * Color customization can be done by using advance color customizer.
102
  * Share your forms on Facebook, Twitter, Google Plus go generate leads.
108
  = FormGet Contact Form Demo & User Guide =
109
  * See demo for [Tabbed code form](http://www.formget.com/).
110
  * See demo for [contact form on any page or post](http://www.formget.com/contact-us/).
111
+ * [User Guide](http://www.formget.com/formget-video-tutorials-guide/)
112
 
113
  FormGet Contact Form is powered by formget.com.
114
  Click here to build [Advance Contact Form](http://formget.com).
162
 
163
  == Changelog ==
164
 
165
+ = Version 2.9=
166
+ * Video tutorials added.
167
+
168
+ = Version 2.8=
169
+ * "Contact Us" tab visible on selected page only.
170
+
171
+
172
+ = Version 2.7=
173
+ * CSS bug fixed.
174
+
175
+ = Version 2.6 =
176
+ * Login page
177
+
178
  = Version 2.5 =
179
  * CSS bug fixed.
180
  * Payment with stripe added.
239
 
240
  == Upgrade Notice ==
241
  = 1.0 =
242
+
243
  * Initial release
244
  = 1.1 =
245
+
246
  * Please upgrade to latest version
css/fgstyle.css DELETED
@@ -1,410 +0,0 @@
1
- h2.nav-tab-wrapper, h3.nav-tab-wrapper {
2
- border-bottom-color: #ccc;
3
- }
4
- .wrap h2 {
5
- color: #464646;
6
- }
7
- h2.nav-tab-wrapper, h3.nav-tab-wrapper {
8
- border-bottom-width: 1px;
9
- border-bottom-style: solid;
10
- padding-bottom: 0;
11
- }
12
- .wrap h2, .subtitle, .login form .input {
13
- font-family: HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;
14
- }
15
- .wrap h2 {
16
- font-size: 23px;
17
- padding: 9px 15px 4px 0;
18
- line-height: 29px;
19
- }
20
- .wrap h2, .subtitle {
21
- font-weight: 400;
22
- margin: 0;
23
- text-shadow: #fff 0 1px 0;
24
- }
25
- h2 {
26
- font-size: 1.5em;
27
- margin: .83em 0;
28
- }
29
- h2 {
30
- display: block;
31
- font-size: 1.5em;
32
- -webkit-margin-before: 0.83em;
33
- -webkit-margin-after: 0.83em;
34
- -webkit-margin-start: 0px;
35
- -webkit-margin-end: 0px;
36
- font-weight: bold;
37
- }
38
- h2 .nav-tab {
39
- padding: 4px 10px 6px;
40
- font-weight: 200;
41
- font-size: 20px;
42
- line-height: 24px;
43
- }
44
- h2 .nav-tab, .wrap h2, .subtitle, .login form .input {
45
- font-family: HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;
46
- }
47
- .nav-tab:hover, .nav-tab-active {
48
- border-color: #ccc #ccc #fff;
49
- }
50
- .nav-tab {
51
- border-color: #dfdfdf #dfdfdf #fff;
52
- }
53
- .nav-tab-active {
54
- border-width: 1px;
55
- color: #464646;
56
- }
57
- .nav-tab {
58
- border-style: solid;
59
- border-width: 1px 1px 0;
60
- color: #aaa;
61
- text-shadow: #fff 0 1px 0;
62
- font-size: 12px;
63
- line-height: 16px;
64
- display: inline-block;
65
- padding: 4px 14px 6px;
66
- text-decoration: none;
67
- margin: 0 6px -1px 0;
68
- -webkit-border-top-left-radius: 3px;
69
- -webkit-border-top-right-radius: 3px;
70
- border-top-left-radius: 3px;
71
- border-top-right-radius: 3px;
72
- cursor: pointer;
73
- }
74
- h2 .nav-tab, .wrap h2 {
75
- font-family: HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;
76
- }
77
- .wrap h2 {
78
- font-size: 23px;
79
- line-height: 29px;
80
- }
81
- .wrap h2 {
82
- font-weight: 400;
83
- text-shadow: #fff 0 1px 0;
84
- }
85
- div {
86
- display: block;
87
- }
88
-
89
- #fg_content {
90
- margin-top: 25px;
91
- /*padding: 10px;
92
- padding-top: 10px;
93
- padding: 0 10px 10px;*/
94
- border-width: 1px 0;
95
- border-style: solid;
96
- background: #fff;
97
- border-top-color: #fff;
98
- border-bottom-color: #dfdfdf;
99
- border-color: #dfdfdf;
100
- -webkit-box-shadow: inset 0 1px 0 #fff;
101
- box-shadow: inset 0 1px 0 #fff;
102
- -webkit-border-radius: 3px;
103
- border-radius: 3px;
104
- -webkit-border-radius: 3px;
105
- border-radius: 3px;
106
- border-width: 1px;
107
- border-style: solid;
108
- position: relative;
109
- width:1035px;
110
- height: auto !important;
111
- }
112
-
113
- .fg_group {
114
- float: left;
115
- position: relative;
116
- float: none;
117
- width: 100%;
118
- float: left;
119
- }
120
-
121
- .fg_section{
122
- background: #f5f5f5;
123
- background-image: -webkit-gradient(linear,left bottom,left top,from(#f5f5f5),to(#f9f9f9));
124
- background-image: -webkit-linear-gradient(bottom,#f5f5f5,#f9f9f9);
125
- background-image: -moz-linear-gradient(bottom,#f5f5f5,#f9f9f9);
126
- background-image: -o-linear-gradient(bottom,#f5f5f5,#f9f9f9);
127
- background-image: linear-gradient(to top,#f5f5f5,#f9f9f9);
128
- border-color: #dfdfdf;
129
- -webkit-box-shadow: inset 0 1px 0 #fff;
130
- box-shadow: inset 0 1px 0 #fff;
131
- -webkit-border-radius: 3px;
132
- border-radius: 3px;
133
- min-width: 255px;
134
- margin-bottom: 20px;
135
- padding: 0;
136
- border-width: 1px;
137
- border-style: solid;
138
- line-height: 1;
139
- -webkit-border-radius: 3px;
140
- border-radius: 3px;
141
- border-width: 1px;
142
- border-style: solid;
143
- }
144
- .fg_heading{
145
- font-size: 15px;
146
- font-weight: 400;
147
- padding: 15px 10px;
148
- margin: 0;
149
- line-height: 1;
150
- font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;
151
- cursor: move;
152
- border-top-left-radius: 3px;
153
- border-top-right-radius: 3px;
154
- color: #464646;
155
- border-bottom-color: #dfdfdf;
156
- text-shadow: #fff 0 1px 0;
157
- -webkit-box-shadow: 0 1px 0 #fff;
158
- box-shadow: 0 1px 0 #fff;
159
- background: #f1f1f1;
160
- background-image: -webkit-gradient(linear,left bottom,left top,from(#ececec),to(#f9f9f9));
161
- background-image: -webkit-linear-gradient(bottom,#ececec,#f9f9f9);
162
- background-image: -moz-linear-gradient(bottom,#ececec,#f9f9f9);
163
- background-image: -o-linear-gradient(bottom,#ececec,#f9f9f9);
164
- background-image: linear-gradient(to top,#ececec,#f9f9f9);
165
- }
166
- h3 {
167
- font-size: 1.17em;
168
- margin: 1em 0;
169
- display: block;
170
- font-size: 1.17em;
171
- -webkit-margin-before: 1em;
172
- -webkit-margin-after: 1em;
173
- -webkit-margin-start: 0px;
174
- -webkit-margin-end: 0px;
175
- font-weight: bold;
176
- }
177
-
178
- #fg_of_container div#pn_content div.fg_section div.outer_iframe_div{
179
- width: 1035px;
180
-
181
- }
182
- #fg_of_container div#pn_content div.fg_section div.outer_iframe_div div.inner_iframe_div{
183
- width:1030px;
184
-
185
- overflow-x:hidden; /* hides horizontal scrollbar on newer browsers */
186
-
187
- /* resize and min-height are optional, allows user to resize viewable area */
188
- -webkit-resize:vertical;
189
- -moz-resize:vertical;
190
- resize:vertical;
191
- min-height:860px;
192
- }
193
-
194
- #iframebox {
195
- margin-top:-45px; /* clipping top of page */
196
- overflow:hidden;
197
- -webkit-resize:none;
198
- -moz-resize:none;
199
- resize:none;
200
- }
201
- div.fg_embed_code_save {
202
- height: 35px;
203
- margin-top:20px;
204
- margin-left: 20px;
205
- width:90px;
206
- display: inline-block;
207
- font-size: 14px;
208
- line-height: 23px;
209
- padding-left:24px;
210
- padding-top: 7px;
211
- cursor: pointer;
212
- -webkit-border-radius: 3px;
213
- -webkit-appearance: none;
214
- -webkit-box-sizing: border-box;
215
- background-color: #278ab7;
216
- background-image: -webkit-gradient(linear,left top,left bottom,from(#2e9fd2),to(#21759b));
217
- background-image: -webkit-linear-gradient(top,#2e9fd2,#21759b);
218
- background-image: -moz-linear-gradient(top,#2e9fd2,#21759b);
219
- background-image: -ms-linear-gradient(top,#2e9fd2,#21759b);
220
- background-image: -o-linear-gradient(top,#2e9fd2,#21759b);
221
- background-image: linear-gradient(to bottom,#2e9fd2,#21759b);
222
- border-color: #1b607f;
223
- -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,.6);
224
- box-shadow: inset 0 1px 0 rgba(120,200,230,.6);
225
- color: #fff;
226
- }
227
-
228
- div.fg_embed_code_save:hover{
229
- background-color: #21759b;
230
- background-image: -webkit-gradient(linear,left top,left bottom,from(#2a95c5),to(#21759b));
231
- background-image: -webkit-linear-gradient(top,#2a95c5,#21759b);
232
- background-image: -moz-linear-gradient(top,#2a95c5,#21759b);
233
- background-image: -ms-linear-gradient(top,#2a95c5,#21759b);
234
- background-image: -o-linear-gradient(top,#2a95c5,#21759b);
235
- background-image: linear-gradient(to bottom,#2a95c5,#21759b);
236
- border-color: #21759b;
237
- border-bottom-color: #1e6a8d;
238
- -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,.5);
239
- box-shadow: inset 0 1px 0 rgba(120,200,230,.5);
240
- color: #fff;
241
- text-decoration: none;
242
- text-shadow: 0 1px 0 rgba(0,0,0,.1);
243
-
244
- }
245
- .regular-text{
246
- margin-left: 19px;
247
- margin-top:15px;
248
- }
249
- .formget_contact_form{
250
- margin-left:35px;
251
- margin-top: 20px;
252
- }
253
- #help_txt{
254
- margin-left: 49px;
255
-
256
- }
257
-
258
- .fg_trial-notify{
259
- margin-top: 20px;
260
- position: relative;
261
- z-index: 100;
262
- border: 1px solid #70a4d2!important;
263
- -moz-border-radius: 3px;
264
- -webkit-border-radius: 3px;
265
- border-radius: 3px;
266
- -webkit-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
267
- -moz-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
268
- box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
269
- overflow: hidden;
270
- padding: 10px 0 10px!important;
271
- background-color: #b4d5f2;
272
- color: white;
273
- margin-right: 10px;
274
- }
275
-
276
- p.fg_division_note{
277
- color: black;
278
- max-width: 1150px;
279
- margin: 0;
280
- padding: 0 10px;
281
- text-align: left;
282
- margin: 10px 10px 10px 0;
283
- font-size: 22px;
284
- line-height: 28px;
285
- font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
286
- font-weight: normal;
287
- /* text-shadow: 0 1px 1px #3b8dd2; */
288
- -moz-border-radius: 5px;
289
- -webkit-border-radius: 5px;
290
- border-radius: 5px;
291
- float: left;
292
- vertical-align: middle;
293
- }
294
- .fg_button_prime{
295
- color: white;
296
- font-size: 14px!important;
297
- line-height: 16px!important;
298
- height: auto!important;
299
- -webkit-border-radius: 3px;
300
- border-radius: 3px;
301
- margin: 0 5px 0 0;
302
- padding: 5px 12px;
303
- vertical-align: middle;
304
- color: #fff;
305
- text-align: center;
306
- text-decoration: none;
307
- border: 1px solid #317dbc;
308
- -webkit-transition: none;
309
- -moz-transition: none;
310
- cursor: pointer;
311
- outline: 0;
312
- font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
313
- /* text-shadow: 0 1px #3b8dd2; */
314
- background-color: blue;
315
- background-image: -webkit-gradient(linear,left top,left bottom,from(#3b8dd2),to(#5cacf0));
316
- background-image: -webkit-linear-gradient(top,#3b8dd2,#5cacf0);
317
- background-image: -moz-linear-gradient(top,#3b8dd2,#5cacf0);
318
- background-image: -ms-linear-gradient(top,#3b8dd2,#5cacf0);
319
- background-image: -o-linear-gradient(top,#3b8dd2,#5cacf0);
320
- background-image: linear-gradient(to bottom,#3b8dd2,#5cacf0);
321
- -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
322
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
323
-
324
- }
325
- .fg_button_prime:hover{
326
- color: white;
327
- text-shadow: 0 -1px #3b8dd2;
328
- border: 1px solid #317dbc;
329
- background-color: #5D8CC9;
330
- background-image: -webkit-gradient(linear,left top,left bottom,from(#5cacf0),to(#3b8dd2));
331
- background-image: -webkit-linear-gradient(top,#5cacf0,#3b8dd2);
332
- background-image: -moz-linear-gradient(top,#5cacf0,#3b8dd2);
333
- background-image: -ms-linear-gradient(top,#5cacf0,#3b8dd2);
334
- background-image: -o-linear-gradient(top,#5cacf0,#3b8dd2);
335
- background-image: linear-gradient(to bottom,#5cacf0,#3b8dd2);
336
- webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
337
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
338
- }
339
-
340
- .fg_hide_notice{
341
- float: right;
342
- margin-right: 10px;
343
- opacity: .6;
344
- }
345
-
346
- .fg_notice_div{
347
- margin-top: 20px;
348
- position: relative;
349
- z-index: 100;
350
- border: 1px solid #70a4d2!important;
351
- -moz-border-radius: 3px;
352
- -webkit-border-radius: 3px;
353
- border-radius: 3px;
354
- -webkit-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
355
- -moz-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
356
- box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
357
- overflow: hidden;
358
- padding: 10px 0 10px!important;
359
- background-color: #b4d5f2;
360
- color: black;
361
- margin-right: 10px;
362
- }
363
- p.fg_video_notice{
364
- color: black;
365
- max-width: 800px;
366
- margin: 0;
367
- padding: 0 5px;
368
- text-align: left;
369
- margin: 10px 0 10px 0;
370
- font-size: 20px;
371
- line-height: 28px;
372
- font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
373
- font-weight: normal;
374
- -moz-border-radius: 5px;
375
- -webkit-border-radius: 5px;
376
- border-radius: 5px;
377
- float: left;
378
- vertical-align: middle;
379
- }
380
- .fg_getting_started{
381
- margin-top: 10px;
382
- float: left;
383
- font-size: 18px !important;
384
- }
385
- .hide_video_notice{
386
- margin-top: 10px;
387
- float: left;
388
- overflow: hidden;
389
- font-size: 18px !important;
390
- opacity:0.6;
391
- }
392
- div#fg_videoContainer{
393
- display: none;
394
- width: 100%;
395
- height: 100%;
396
- background: url('../image/overlay.png' )repeat;
397
- position:fixed;
398
- z-index: 10000;
399
- opacity:0.93;
400
- }
401
- div#fg_videoContainer .video_tobe_shown{
402
- border: 5px solid white;
403
- margin-top: 10%;
404
- margin-left: 20%;
405
- padding: 3px;
406
- opacity:1 !important;
407
- }
408
-
409
-
410
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
image/ajax-loader.gif DELETED
Binary file
image/button-primary-hover.png DELETED
Binary file
image/button-primary.png DELETED
Binary file
image/close.png DELETED
Binary file
image/favicon.ico DELETED
Binary file
image/help_img.png DELETED
Binary file
image/overlay.png DELETED
Binary file
index.php DELETED
@@ -1,286 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: FormGet Contact Form
4
- Plugin URI: http://www.formget.com
5
- Description: FormGet Contact Form is an eassy and effective form builder tool which enable you to bulid and embed form on your website in few steps. With FormGet Contact Form manage all your contact forms and your entire client communication at one single place.
6
- Version: 2.4
7
- Author: FormGet
8
- Author URI: http://www.formget.com
9
- */
10
- function my_admin_notice() {
11
- $fg_iframe_form = get_option('fg_embed_code');
12
- $string = "sideBar";
13
- $pos = strpos($fg_iframe_form, $string);
14
- if ($pos == false) {
15
- global $current_user;
16
- $user_id = $current_user->ID;
17
- /* Check that the user hasn't already clicked to ignore the message */
18
- if (!get_user_meta($user_id, 'admin_ignore_notice')) {
19
- ?>
20
- <div class="fg_trial-notify">
21
- <p class="fg_division_note">
22
- Welcome to FormGet - You're almost ready to create your form <a class="fg_button_prime" href='<?php echo admin_url('admin.php?page=cf_page'); ?>'>Click to Create.</a><?php printf(__('<a class="fg_hide_notice fg_button_prime", href="%1$s">Hide Notice</a>'), '?admin_nag_ignore=0'); ?></p>
23
- </div>
24
- <?php
25
- }
26
- }
27
- }
28
-
29
- if (!isset($_GET['page']) == 'cf_page') {
30
- add_action('admin_notices', 'my_admin_notice');
31
- }
32
-
33
- function admin_nag_ignore() {
34
- global $current_user;
35
- $user_id = $current_user->ID;
36
- /* If user clicks to ignore the notice, add that to their user meta */
37
- if (isset($_GET['admin_nag_ignore']) && '0' == $_GET['admin_nag_ignore']) {
38
- add_user_meta($user_id, 'admin_ignore_notice', 'true', true);
39
- }
40
- }
41
-
42
- add_action('admin_init', 'admin_nag_ignore');
43
-
44
- function delete_user_entry() {
45
- global $current_user;
46
- $user_id = $current_user->ID;
47
- delete_user_meta($user_id, 'admin_ignore_notice', 'true', true);
48
- }
49
-
50
- register_deactivation_hook(__FILE__, 'delete_user_entry');
51
-
52
-
53
- if (is_admin()) {
54
-
55
- function cf_add_style() {
56
- wp_enqueue_style('form1_style1_sheet1', plugins_url('css/fgstyle.css', __FILE__));
57
- }
58
- add_action("init", "cf_add_style");
59
-
60
-
61
- function wordpress_style() {
62
- wp_enqueue_style('stylesheet_menu', admin_url('load-styles.php?c=1&amp;dir=ltr&amp;load=admin-bar,wp-admin,buttons,wp-auth-check&amp'));
63
- wp_enqueue_style('style_menu', admin_url('css/colors-fresh.min.css'));
64
- }
65
-
66
- add_action('init', 'wordpress_style');
67
- }
68
-
69
-
70
- //setting page
71
- add_action('admin_menu', 'cf_menu_page');
72
-
73
- function cf_menu_page() {
74
- add_menu_page('cf', 'Contact Form', 'manage_options', 'cf_page', 'cf_setting_page', plugins_url('image/favicon.ico', __FILE__), 109);
75
- }
76
-
77
- function cf_setting_page() {
78
- $url = plugins_url();
79
- ?>
80
- <div >
81
- <div id="fg_videoContainer" >
82
-
83
- </div>
84
- <?php global $wpdb;
85
- $fg_video_code = get_option('fg_hide_video');
86
- if(!$fg_video_code == "hide"){
87
- ?>
88
- <div class="fg_notice_div" id="#fg_notice_div">
89
- <p class="fg_video_notice" >
90
- We have created a simple video for using the FormGet WordPress Plugin.
91
- <div class="fg_getting_started fg_button_prime" id="fg_video_getting_started">Watch Video!</div> <div class="hide_video_notice fg_button_prime">Hide this Notice </div>
92
- </p>
93
- </div>
94
- <?php } ?>
95
- <div id="fg_of_container" class="fg_wrap" >
96
- <form id="fg_ofform" action="" method="POST">
97
- <div id="fg_header">
98
- <div class="fg_logo">
99
- <h2> FormGet Contact Form</h2>
100
- </div>
101
- <a target="#">
102
- <div class="fg_icon-option"> </div>
103
- </a>
104
- <div class="clear"></div>
105
- </div>
106
- <div id="fg_main">
107
-
108
- <div id="fg_of-nav" class="wrap">
109
- <h2 class="nav-tab-wrapper">
110
-
111
- <span id="form_tab" class="nav-tab nav-tab-active ">Contact Form Builder </span>
112
- <span id="embed_tab" class="nav-tab ">Embed Code</span>
113
- <span id="help_tab" class="nav-tab ">Help</span>
114
- <span id="support_tab" class="nav-tab ">Plugin Support</span>
115
-
116
- </h2>
117
-
118
- </div>
119
- <div id="fg_content">
120
- <div class="fg_group" id="pn_content">
121
-
122
-
123
- <div class="fg_section section-text">
124
- <h3 class="fg_heading"> Create your custom form by just clicking the fields on left side of the panel. And then paste the form code in embed code section.</h3>
125
- <div class="outer_iframe_div" id="outer_iframe_div">
126
- <div class="inner_iframe_div" id="inner_iframe_div" >
127
- <iframe src="http://www.formget.com/app" name="iframe" id="iframebox" style="width:100%; height:900px; border:1px solid #dfdfdf; align:center;" >
128
- </iframe>
129
- </div>
130
- </div>
131
- </div>
132
-
133
- </div>
134
-
135
- <div class="fg_group" id="pn_displaysetting">
136
-
137
-
138
- <div class="fg_section section-text">
139
- <h3 class="fg_heading">Embed code field will only accept code for tabbed widgets. Please do not place shortcode here. </h3>
140
- <div class="option">
141
- <div class="fg_controls" style="height:310px;">
142
- <textarea name="content[html]" cols="60" rows="10" class="regular-text" id="fg_content_html" style="width:900px"><?php echo embeded_code(); ?></textarea>
143
-
144
- <div id="submit-form" class="fg_embed_code_save " > Save </div>
145
- <div id="loader_img" align="center" style="margin-left:460px; display:none;">
146
- <img src="<?php echo plugins_url('image/ajax-loader.gif', __FILE__); ?>">
147
- </div>
148
-
149
- </div>
150
-
151
- </div>
152
- </div>
153
-
154
- </div>
155
- <div class="fg_group" id="pn_template">
156
-
157
-
158
- <div class="fg_section section-text">
159
- <h3 class="fg_heading"> Steps to use Formget Contact Form Plugin</h3>
160
- <div id="help_txt">
161
- <img src="<?php echo plugins_url('image/help_img.png', __FILE__); ?>">
162
- </div>
163
- </div>
164
-
165
- </div>
166
- <div class="fg_group" id="pn_contactus">
167
- <div class="fg_section section-text">
168
- <h3 class="fg_heading"> Contact Us</h3>
169
- <iframe class="formget_contact_form" height='570' allowTransparency='true' frameborder='0' scrolling='no' style='width:100%;border:none' src='http://www.formget.com/app/embed/form/qQvs-639'>Your Contact </iframe>
170
- </div>
171
- </div>
172
-
173
- </div>
174
- <div class="clear"></div>
175
- </div>
176
-
177
- <div class="fg_save_bar_top">
178
-
179
-
180
-
181
- </div>
182
-
183
- </form>
184
- </div>
185
-
186
- <?php
187
- }
188
-
189
- function cf_embeded_script() {
190
- wp_enqueue_script('embeded_script', plugins_url('js/fg_script.js', __FILE__), array('jquery'));
191
- wp_localize_script('embeded_script', 'script_call', array('ajaxurl' => admin_url('admin-ajax.php')));
192
- }
193
-
194
- if (isset($_GET['page']) == 'cf_page') {
195
- add_action('init', 'cf_embeded_script');
196
- }
197
-
198
- function cf_text_ajax_process_request() {
199
- $text_value = $_POST['value'];
200
- $val = $_POST['value_hide'];
201
- //echo $val;
202
- update_option('fg_hide_video', $val);
203
- update_option('fg_embed_code', $text_value);
204
- echo 1;
205
- die();
206
- }
207
-
208
- add_action('wp_ajax_master_response', 'cf_text_ajax_process_request');
209
- add_action('wp_ajax_nopriv_master_response', 'cf_text_ajax_process_request');
210
- if (!function_exists('embeded_code')) {
211
-
212
- function embeded_code() {
213
- global $wpdb;
214
- $fg_iframe_form = get_option('fg_embed_code');
215
-
216
- $string = "sideBar";
217
- $pos = strpos($fg_iframe_form, $string);
218
- if ($pos == true) {
219
- echo stripslashes($fg_iframe_form);
220
- }
221
- }
222
-
223
- }
224
- add_action('wp_head', 'embeded_code');
225
-
226
- //schort code function
227
- if (!function_exists('formget_shortcode')) {
228
-
229
- function formget_shortcode($atts, $content = null) {
230
- extract(shortcode_atts(array(
231
- 'user' => '',
232
- 'formcode' => '',
233
- 'allowTransparency' => true,
234
- 'height' => '500',
235
- 'tab' => ''
236
- ), $atts));
237
- $iframe_formget = '';
238
- $url = "http://www.formget.com/app/embed/form/" . $formcode;
239
- if ($tab == 'page') {
240
- $iframe_formget .="<iframe height='" . $height . "' allowTransparency='true' frameborder='0' scrolling='no' style='width:100%;border:none' src='" . $url . "' >";
241
- $iframe_formget .="</iframe>";
242
- add_filter('widget_text', 'do_shortcode');
243
- return $iframe_formget;
244
- }
245
- if ($tab == 'tabbed') {
246
- $tabbed_formget = <<<EOD
247
- <script type="text/javascript">
248
- var sideBar;
249
- (function(d, t) {
250
- var s = d.createElement(t),
251
- options = {
252
- 'tabKey': '{$formcode}',
253
- 'tabtext':'Contact Us',
254
- 'height': '{$height}',
255
- 'position': "",
256
- 'textColor': 'ffffff',
257
- 'tabColor': '7d9f2b',
258
- 'fontSize': '16',
259
- };
260
- s.src = 'http://www.formget.com/app/app_data/user_js/widget.js';
261
- s.onload = s.onreadystatechange = function() {
262
- var rs = this.readyState;
263
- if (rs)
264
- if (rs != 'complete')
265
- if (rs != 'loaded')
266
- return;
267
- try {
268
- sideBar = new buildTabbed();
269
- sideBar.initializeOption(options);
270
- sideBar.loadContent();
271
- sideBar.buildHtml();
272
- } catch (e) {
273
- }
274
- };
275
- var scr = d.getElementsByTagName(t)[0], par = scr.parentNode;
276
- par.insertBefore(s, scr);
277
- })(document, 'script');
278
- </script>
279
- EOD;
280
- return $tabbed_formget;
281
- }
282
- }
283
-
284
- }
285
- add_shortcode('formget', 'formget_shortcode');
286
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/fg_script.js DELETED
@@ -1,92 +0,0 @@
1
- jQuery(document).ready(function() {
2
- jQuery('.fg_group').hide();
3
- jQuery('#pn_content').css("display", "block");
4
-
5
- jQuery('#embed_tab').click(function() {
6
- // alert("hello");
7
- jQuery('.fg_group').hide();
8
- jQuery('.nav-tab').removeClass('nav-tab-active');
9
- jQuery(this).addClass('nav-tab-active');
10
- jQuery('#pn_displaysetting').css("display", "block");
11
- jQuery(".fg_embed_code_save").css("display", "block");
12
-
13
- });
14
-
15
- jQuery('#support_tab').click(function() {
16
- // alert("hello");
17
- jQuery('.fg_group').hide();
18
- jQuery('.nav-tab').removeClass('nav-tab-active');
19
- jQuery(this).addClass('nav-tab-active');
20
- jQuery('#pn_contactus').css("display", "block");
21
- });
22
- jQuery('#help_tab').click(function() {
23
- // alert("hello");
24
- jQuery('.fg_group').hide();
25
- jQuery('.nav-tab').removeClass('nav-tab-active');
26
- jQuery(this).addClass('nav-tab-active');
27
- jQuery('#pn_template').css("display", "block");
28
- });
29
-
30
-
31
- jQuery('#form_tab').click(function() {
32
- // alert("hello");
33
- jQuery('.fg_group').hide();
34
- jQuery('.nav-tab').removeClass('nav-tab-active');
35
- jQuery(this).addClass('nav-tab-active');
36
- jQuery('#pn_content').css("display", "block");
37
- });
38
-
39
-
40
-
41
- jQuery('.fg_embed_code_save').click(function() {
42
- jQuery('div#loader_img').css("display", "block");
43
- var text_value = jQuery('textarea#fg_content_html').val();
44
- var data = {
45
- action: 'master_response',
46
- value: text_value
47
- };
48
- jQuery.post(script_call.ajaxurl, data, function(response) {
49
- if (response) {
50
- jQuery('div#loader_img').css("display", "none");
51
- }
52
- else {
53
-
54
- jQuery('div#loader_img').css("display", "none");
55
- }
56
- });
57
- });
58
-
59
- jQuery('div#fg_video_getting_started').click(function(){
60
- jQuery('div#fg_videoContainer').css({"display": "block"});
61
- autoPlayVideo('84023688','700','400');
62
- });
63
-
64
-
65
- function autoPlayVideo(vcode, width, height){
66
- "use strict";
67
- jQuery("#fg_videoContainer").html('<iframe class="video_tobe_shown" width="'+width+'" height="'+height+'" src="//player.vimeo.com/video/'+vcode+'?autoplay=1&loop=1&rel=0&wmode=transparent" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>');
68
- }
69
-
70
- jQuery('div#fg_videoContainer').click(function(){
71
- jQuery('div#fg_videoContainer').css({"display": "none"});
72
- jQuery('div#fg_videoContainer').empty();
73
- });
74
- //jQuery("div.")
75
- jQuery(".hide_video_notice").click(function(){
76
- //alert("hello");
77
- var hide_data = {
78
- action: 'master_response',
79
- value_hide: "hide"
80
- };
81
- jQuery.post(script_call.ajaxurl, hide_data, function(response) {
82
- if (response) {
83
- //alert(response);
84
- jQuery('.fg_notice_div').hide();
85
- }
86
- else {
87
-
88
-
89
- }
90
- });
91
- });
92
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt DELETED
@@ -1,206 +0,0 @@
1
- === FormGet Contact Form ===
2
- Contributors: PankajAgarwal
3
- Tags: contact form, contact, form, forms, contact form plugin, contact form builder, contact form with recaptcha, feedback form, contact us, request form, contact button, drag and drop contact form, file upload contact form, contact form to email, contact form payments, contact for paypal, form solution, form builder, feedback, easy contact form, helpdesk
4
- Requires at least: 3.5.0
5
- Tested up to: 3.5.1
6
- Stable tag: 2.4
7
-
8
- FormGet Contact Form manage all your contact forms using single dashboard. Just a click on fields and your contact form is ready for use.
9
-
10
- == Description ==
11
- FormGet is an easy online drag and drop contact form builder tool. You just need to click on the fields that you want to add up on your form and your contact form get ready within a second. You can also manage your contact form by simply drag and drop the form fields.
12
-
13
- = This video will give you a quick demo on how you can Create forms and embed it on your WordPress site with FormGet WordPress plugin. =
14
-
15
- http://vimeo.com/84023688
16
-
17
-
18
- = Type of Forms Supported by Plugin =
19
- Contact form, Feedback form, Helpdesk form, Booking form, Consultation service, Contact form, Mailing list form, Survey form, Job application form, Workshop registration form, Bug tracker form, Newsletter sign up form, Wedding planner form, Real estate applications form, Invitation/RSVP add invitation to the product demo form, Online orders form etc.
20
-
21
- FormGet Contact Form is very effective contact form building tool which enable you to build and embed contact form on your website in few simple steps. Select your form fields, configure your options and easily embed contact form on your website by just a paste of Tabbed Widget code/shortcode. You donot need any programming knowledge or other skills to use this FormGet Contact Form plugin.
22
-
23
- With FormGet Contact Form plugin, you can view your multiple contact forms and your entire client communication at one single place i.e. FormGet dashboard. As a result it will be become very easier for you to manage these multiple contact forms of your multiple websites at one single place.
24
-
25
- = List of Fields Supported by Plugin =
26
- Name, Email, Contact Number, Message, Payment(Integrated with PayPal), Date (support format dd-mm-yy or dd/mm/yy or yy-mm-dd), Single Line Text, Multi Line Text, Select-Multiple, Attachments, Checkbox, Select(Select a Choice), Radio, Upload, Captcha.
27
-
28
- FormGet Contact Form plugin implemented with a helpdesk system which enable you to give full support to your customers. For that, you can easily add agents to manage your multiple contact forms and also leave a quick reply for every entry.
29
-
30
-
31
- = Full list of Features =
32
-
33
- * Online contact form builder.
34
- * Contact form fields are easy to add, remove, edit and re-order anytime.
35
- * Customizable contact form fields label.
36
- * Manage multiple contact forms within a single dashboard.
37
- * Allow unlimited contact form entries.
38
- * Upload jpg, png, gif or zip type of file format in your contact form.
39
- * You can create contact form of any language like Greek, Chinese Simplified, Chinese Traditional, French, German, Greek, Spanish, Arabic, Brazilian, Portuguese, Bulgarian, Italian etc.
40
- * Contact form field validation within a click.
41
- * Allow unlimited tickets creation in your contact form.
42
- * User can collect payments in the contact form itself using PayPal .
43
- * Once the user has filled the PayPal contact form fields and click on submit button, the posted data is saved into fast and secure cloud servers. And the user is automatically redirected to PayPal to complete a payment. After collect of payment through PayPal, the website administrator (the email indicated from the settings) will receive an email alert of successful transaction and the user will receive a confirmation/thank you email.
44
- * Contact form linked to a PayPal payment system.
45
- * Support both request forms and paid assistance forms.
46
- * Contact form can be used for receiving product orders, purchases, bookings and reservations.
47
- * For automatic delivering of information after payment (put the information into the auto-reply message)
48
- * Assign agents based on the ticket category of your contact form.
49
- * Agent alert with an email on every ticket received via contact form.
50
- * Spam protection by implementing captcha field on your contact form which work similar as that of Akismet in WordPress.
51
- * Refresh button to reload captcha.
52
- * FormGet Contact Form support WPMU.
53
- * Implemented with improved captcha images.
54
- * Complete security of your contact form data using cloud servers.
55
- * Advance contact form analytic.
56
- * Send confirmation email on receive of contact form entry.
57
- * Plugin support shortcode, so that contact form can visible on any page and post.
58
- * Embed contact form on sidebar, so that it can visible on whole website.
59
- * Create multiple fields in a single contact form.
60
- * Just click on the field to add date and time field in your contact form.
61
- * Advance Communication System for users interaction.
62
- * Can create multiple agent for the contact forms.
63
- * Admin/Agent can marked contact form ticket as Resolved Ticket.
64
- * Delete contact form ticket permanently whenever you want.
65
- * Allow to configure plugin using option setting given in WordPress plugin dashboard.
66
- * Contact form Re-branding can be possible.
67
- * Get the unique contact form URL and share it across the network.
68
- * Contact form will send email/mail automatically for Customer Engagement.
69
- * Use Tabbed code to show contact button on every page of your website and WordPress shortcode to show it on selective page/post/WordPress sidebar.
70
- * Know stats ratio within a click i.e. ratio of contact form viewers/detail submissions.
71
- * Agents make a quick note for a ticket in contact form.
72
- * Contact form dashboard implemented with searching and filtering capability.
73
- * Change your contact form background anytime you want.
74
- * Contact form support Rich Text Formatting.
75
- * Contact forms are completely responsive in nature i.e. easily works with mobile devices, desktop etc.
76
- * Redirect user to any page/URL using contact form redirect URL field.
77
- * Data stored using entries are regularly backup and restored on cloud servers.
78
- * Allow to enable form fields compulsary using avaliable Required option.
79
- * Implemented Logic Forms to integrate logical conditions in your form that will show or hide form fields or questions according to the user�s response to previous field.
80
- * Upload your Custom Background and header image.
81
- * Color customization can be done by using advance color customizer.
82
- * Share your forms on Facebook, Twitter, Google Plus go generate leads.
83
-
84
- Learn more about our FormGet Contact Form.
85
-
86
- http://www.youtube.com/channel/UCjejLUldlgcPrv1qbiOPOKg
87
-
88
- = FormGet Contact Form Demo & User Guide =
89
- * See demo for [Tabbed code form](http://www.formget.com/).
90
- * See demo for [contact form on any page or post](http://www.formget.com/contact-us/).
91
- * [User Guide](http://wordpress.org/plugins/formget-contact-form/screenshots/)
92
-
93
- FormGet Contact Form is powered by formget.com.
94
- Click here to build [Advance Contact Form](http://formget.com).
95
-
96
- == Installation ==
97
-
98
- This section describes how to install the plugin and get it working.
99
-
100
- 1. Upload `FormGet_Contact_Form` folder to the `/wp-content/plugins/` directory.
101
- 2. Activate the contact form plugin through the 'Plugins' menu in WordPress.
102
- 3. Contact form tab will appear on the bottom left of the WordPress dashboard.
103
- 4. Just click on the contact form tab and your online contact form builder will appear.
104
- 5. Now just create your contact form and save it.
105
- 6. Click on the embed button and copy the tabbed button code.
106
- 7. Paste it in the plugin section again.
107
-
108
- == Screenshots ==
109
-
110
- 1. Screenshots
111
-
112
- == Frequently Asked Questions ==
113
-
114
- = Will FormGet Contact Form plugin work with my latest WordPress installation ? =
115
-
116
- Yes, Sure FormGet plugin is tested and created with new version of WordPress.
117
-
118
- = Will FormGet Contact Form plugin work with my themes? =
119
-
120
- Of course! FormGet Contact Form plugin works out-of-the-box with every WordPress themes and other plugins. It work with the vast majority of premium and free themes, without requiring any coding.
121
-
122
- = Where can I report a bug? =
123
-
124
- Report bugs and participate in development at http://www.formget.com/contact-us/.
125
-
126
- = How can I add contact form to my website? =
127
- In order to add contact form to your website visit the given link http://wordpress.org/plugins/formget-contact-form/screenshots/.
128
-
129
- = How can I add a field to my contact form? =
130
-
131
- To add a new field in the contact form go to your dashboard, click on edit icon of the form that you want to edit. Now you can see the section of form elements and your form. Now you can select elements and add new fields. Once the new form is created, copy the code and replace it with previous code.
132
-
133
- = Does the FormGet Contact Form plugin save the request in database so that admin can view it? =
134
-
135
- Because we host everything, when you design a contact form with FormGet it automatically builds database. You can view all your entries from your dashboard of FormGet by making yourself logged in.
136
-
137
- = How can customer log their Queries? =
138
-
139
- When you create account in FormGet you automatically get support desk. All the entries submitted from FormGet form that you have embeded on your website, get automatically converted into ticket that you can get working on, from your account. FormGet Contact Form let you collect feedback and queries directly from your website.
140
-
141
-
142
-
143
- == Changelog ==
144
-
145
- = Version 2.4 =
146
- * Made some improvement in video explanation.
147
-
148
- = Version 2.3 =
149
- * Implemented Logic in Contact Form
150
- * Upload your Custom Background and header image in contact form.
151
- * Color customization can be done by using advance color customizer in Contact Form.
152
- * Share your Contact forms on Facebook, Twitter, Google Plus go generate leads.
153
-
154
- = Version 2.2 =
155
- * Video added in Plugin.
156
-
157
- = Version 2.1 =
158
- * Video added in readme.txt
159
-
160
- = Version 2.0 =
161
- * Iframe bug fixed.
162
-
163
- = Version 1.9 =
164
- * CSS bug fixed.
165
-
166
- = Version 1.8 =
167
- * Fixed issue for overriding other's style.
168
-
169
-
170
- = Version 1.7 =
171
- * New improved architects.
172
- * CSS bug fixed.
173
- * Help text improved.
174
-
175
- = Version 1.6 =
176
- * Admin-panel CSS bug fixed.
177
-
178
- = Version 1.5 =
179
- * CSS bug fixed.
180
-
181
- = Version 1.4 =
182
- * Admin notice will only be appear on when FormGet contact form installed or reactivated. Once user activate the dismiss admin notice, Notice disappear permanently.
183
- * Admin notice bar bug fixed.
184
-
185
- = Version 1.3 =
186
- * Support tab added to handle query related to plugin
187
- * Admin notice bar added to show notice until form is created
188
-
189
- = Version 1.2 =
190
- * Minor improvement on help section
191
- * Small css bug fixed.
192
-
193
- = Version 1.1 =
194
- * Added Contact Form shortcode for page/post.
195
- * css improved
196
- * help section added
197
- * Bug fix: iframe.
198
-
199
- = Version 1.0 =
200
- * Initial release
201
-
202
- == Upgrade Notice ==
203
- = 1.0 =
204
- * Initial release
205
- = 1.1 =
206
- * Please upgrade to latest version