Version Description
Bug fixed: Hidden field save to DB.
New: Drag and drop options in multiple, single choices and select box.
New: Select options from database.
New: Add image in email as image.
New: Additional clauses within conditional fields.
New: Search submissions by ID.
New: Submission ID in email.
Download this release
Release Info
Developer | webdorado |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.7.31 |
Comparing to | |
See all releases |
Code changes from version 1.7.30 to 1.7.31
- admin/controllers/FMControllerBlocked_ips_fm.php +1 -1
- admin/controllers/FMControllerSelect_data_from_db.php +71 -0
- admin/controllers/FMControllerSubmissions_fm.php +24 -4
- admin/models/FMModelManage_fm.php +375 -89
- admin/models/FMModelSelect_data_from_db.php +111 -0
- admin/models/FMModelSubmissions_fm.php +55 -0
- admin/views/FMViewFormmakerwindow.php +2 -2
- admin/views/FMViewManage_fm.php +68 -22
- admin/views/FMViewSelect_data_from_db.php +775 -0
- admin/views/FMViewSubmissions_fm.php +2254 -784
- css/form_maker_tables.css +10 -0
- css/style.css +2 -2
- form-maker.php +9 -11
- form_maker_insert.php +17 -26
admin/controllers/FMControllerBlocked_ips_fm.php
CHANGED
@@ -94,7 +94,7 @@ class FMControllerBlocked_ips_fm {
|
|
94 |
$message = 1;
|
95 |
}
|
96 |
else {
|
97 |
-
$message = 0;
|
98 |
}
|
99 |
// $this->display();
|
100 |
$page = WDW_FM_Library::get('page');
|
94 |
$message = 1;
|
95 |
}
|
96 |
else {
|
97 |
+
$message = 0;
|
98 |
}
|
99 |
// $this->display();
|
100 |
$page = WDW_FM_Library::get('page');
|
admin/controllers/FMControllerSelect_data_from_db.php
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FMControllerSelect_data_from_db {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
// Constructor & Destructor //
|
15 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
+
public function __construct() {
|
17 |
+
}
|
18 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
// Public Methods //
|
20 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
+
public function execute() {
|
22 |
+
$task = ((isset($_GET['task'])) ? esc_html($_GET['task']) : 0);
|
23 |
+
$id = ((isset($_GET['id'])) ? esc_html($_GET['id']) : 0);
|
24 |
+
$form_id = ((isset($_GET['form_id'])) ? esc_html($_GET['form_id']) : 0);
|
25 |
+
$field_id = ((isset($_GET['field_id'])) ? esc_html($_GET['field_id']) : 0);
|
26 |
+
//var_dump($form_id);
|
27 |
+
$field_type = ((isset($_GET['field_type'])) ? esc_html($_GET['field_type']) : 0);
|
28 |
+
$value_disabled = ((isset($_GET['value_disabled'])) ? esc_html($_GET['value_disabled']) : 0);
|
29 |
+
if ($task && method_exists($this, $task)) {
|
30 |
+
$this->$task($form_id,$field_type="");
|
31 |
+
}
|
32 |
+
else
|
33 |
+
$this->display($id, $field_id, $field_type, $value_disabled,$form_id);
|
34 |
+
}
|
35 |
+
|
36 |
+
public function display($id, $field_id, $field_type, $value_disabled,$form_id) {
|
37 |
+
require_once WD_FM_DIR . "/admin/models/FMModelSelect_data_from_db.php";
|
38 |
+
$model = new FMModelSelect_data_from_db();
|
39 |
+
|
40 |
+
require_once WD_FM_DIR . "/admin/views/FMViewSelect_data_from_db.php";
|
41 |
+
$view = new FMViewSelect_data_from_db($model);
|
42 |
+
$view->display($id, $field_id, $field_type, $value_disabled,$form_id);
|
43 |
+
}
|
44 |
+
|
45 |
+
public function db_tables($form_id,$field_type) {
|
46 |
+
require_once WD_FM_DIR . "/admin/models/FMModelSelect_data_from_db.php";
|
47 |
+
$model = new FMModelSelect_data_from_db();
|
48 |
+
|
49 |
+
require_once WD_FM_DIR . "/admin/views/FMViewSelect_data_from_db.php";
|
50 |
+
$view = new FMViewSelect_data_from_db($model);
|
51 |
+
$view->db_tables($form_id,$field_type);
|
52 |
+
}
|
53 |
+
public function db_table_struct_select($form_id,$field_type) {
|
54 |
+
require_once WD_FM_DIR . "/admin/models/FMModelSelect_data_from_db.php";
|
55 |
+
$model = new FMModelSelect_data_from_db();
|
56 |
+
|
57 |
+
require_once WD_FM_DIR . "/admin/views/FMViewSelect_data_from_db.php";
|
58 |
+
$view = new FMViewSelect_data_from_db($model);
|
59 |
+
$view->db_table_struct_select($form_id,$field_type);
|
60 |
+
}
|
61 |
+
|
62 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
63 |
+
// Getters & Setters //
|
64 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
65 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
66 |
+
// Private Methods //
|
67 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
68 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
69 |
+
// Listeners //
|
70 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
71 |
+
}
|
admin/controllers/FMControllerSubmissions_fm.php
CHANGED
@@ -61,9 +61,7 @@ class FMControllerSubmissions_fm {
|
|
61 |
$id = ((isset($_POST['current_id']) && esc_html($_POST['current_id']) != '') ? (int) $_POST['current_id'] : 0);
|
62 |
|
63 |
$form_id = $wpdb->get_var("SELECT form_id FROM " . $wpdb->prefix . "formmaker_submits WHERE group_id='" . $id . "'");
|
64 |
-
$form = $wpdb->
|
65 |
-
$theme_id = $form->theme;
|
66 |
-
$css = $wpdb->get_var("SELECT css FROM " . $wpdb->prefix . "formmaker_themes WHERE id='" . $theme_id . "'");
|
67 |
|
68 |
if (isset($form->form)) {
|
69 |
$old = TRUE;
|
@@ -79,7 +77,7 @@ class FMControllerSubmissions_fm {
|
|
79 |
$view->edit($id);
|
80 |
}
|
81 |
}
|
82 |
-
|
83 |
public function save() {
|
84 |
$form_id = ((isset($_POST['form_id']) && esc_html($_POST['form_id']) != '') ? esc_html($_POST['form_id']) : 0);
|
85 |
$this->save_db();
|
@@ -669,7 +667,18 @@ class FMControllerSubmissions_fm {
|
|
669 |
global $wpdb;
|
670 |
$form_id = ((isset($_POST['form_id']) && esc_html($_POST['form_id']) != '') ? esc_html($_POST['form_id']) : 0);
|
671 |
$query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'formmaker_submits WHERE group_id="%d"', $id);
|
|
|
672 |
if ($wpdb->query($query)) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
673 |
echo WDW_FM_Library::message('Item Succesfully Deleted.', 'updated');
|
674 |
}
|
675 |
else {
|
@@ -685,7 +694,18 @@ class FMControllerSubmissions_fm {
|
|
685 |
if (count($cid)) {
|
686 |
$cids = implode(',', $cid);
|
687 |
$query = 'DELETE FROM ' . $wpdb->prefix . 'formmaker_submits WHERE group_id IN ( ' . $cids . ' )';
|
|
|
688 |
if ($wpdb->query($query)) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
689 |
echo WDW_FM_Library::message('Items Succesfully Deleted.', 'updated');
|
690 |
}
|
691 |
else {
|
61 |
$id = ((isset($_POST['current_id']) && esc_html($_POST['current_id']) != '') ? (int) $_POST['current_id'] : 0);
|
62 |
|
63 |
$form_id = $wpdb->get_var("SELECT form_id FROM " . $wpdb->prefix . "formmaker_submits WHERE group_id='" . $id . "'");
|
64 |
+
$form = $wpdb->get_row("SELECT * FROM " . $wpdb->prefix . "formmaker WHERE id='" . $form_id . "'");
|
|
|
|
|
65 |
|
66 |
if (isset($form->form)) {
|
67 |
$old = TRUE;
|
77 |
$view->edit($id);
|
78 |
}
|
79 |
}
|
80 |
+
|
81 |
public function save() {
|
82 |
$form_id = ((isset($_POST['form_id']) && esc_html($_POST['form_id']) != '') ? esc_html($_POST['form_id']) : 0);
|
83 |
$this->save_db();
|
667 |
global $wpdb;
|
668 |
$form_id = ((isset($_POST['form_id']) && esc_html($_POST['form_id']) != '') ? esc_html($_POST['form_id']) : 0);
|
669 |
$query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'formmaker_submits WHERE group_id="%d"', $id);
|
670 |
+
// $elements_col = $wpdb->get_col($wpdb->prepare('SELECT element_value FROM ' . $wpdb->prefix . 'formmaker_submits WHERE group_id="%d"', $id));
|
671 |
if ($wpdb->query($query)) {
|
672 |
+
// foreach ($elements_col as $element_value) {
|
673 |
+
// $destination = str_replace(site_url() . '/', '', $element_value);
|
674 |
+
// $destination = str_replace('*@@url@@*', '', $destination);
|
675 |
+
// if ($destination) {
|
676 |
+
// $destination = ABSPATH . $destination;
|
677 |
+
// if (file_exists($destination)) {
|
678 |
+
// unlink($destination);
|
679 |
+
// }
|
680 |
+
// }
|
681 |
+
// }
|
682 |
echo WDW_FM_Library::message('Item Succesfully Deleted.', 'updated');
|
683 |
}
|
684 |
else {
|
694 |
if (count($cid)) {
|
695 |
$cids = implode(',', $cid);
|
696 |
$query = 'DELETE FROM ' . $wpdb->prefix . 'formmaker_submits WHERE group_id IN ( ' . $cids . ' )';
|
697 |
+
// $elements_col = $wpdb->get_col('SELECT element_value FROM ' . $wpdb->prefix . 'formmaker_submits WHERE group_id IN ( ' . $cids . ' )');
|
698 |
if ($wpdb->query($query)) {
|
699 |
+
// foreach ($elements_col as $element_value) {
|
700 |
+
// $destination = str_replace(site_url() . '/', '', $element_value);
|
701 |
+
// $destination = str_replace('*@@url@@*', '', $destination);
|
702 |
+
// if ($destination) {
|
703 |
+
// $destination = ABSPATH . $destination;
|
704 |
+
// if (file_exists($destination)) {
|
705 |
+
// unlink($destination);
|
706 |
+
// }
|
707 |
+
// }
|
708 |
+
// }
|
709 |
echo WDW_FM_Library::message('Items Succesfully Deleted.', 'updated');
|
710 |
}
|
711 |
else {
|
admin/models/FMModelManage_fm.php
CHANGED
@@ -20,7 +20,7 @@ class FMModelManage_fm {
|
|
20 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
public function get_rows_data() {
|
22 |
global $wpdb;
|
23 |
-
|
24 |
$where .= ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? ' AND title LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
|
25 |
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html($_POST['asc_or_desc']) : 'asc');
|
26 |
$order_by = ' ORDER BY ' . ((isset($_POST['order_by']) && esc_html($_POST['order_by']) != '') ? esc_html($_POST['order_by']) : 'id') . ' ' . $asc_or_desc;
|
@@ -450,6 +450,8 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
450 |
{
|
451 |
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
452 |
$temp=$params;
|
|
|
|
|
453 |
foreach($params_names as $params_name )
|
454 |
{
|
455 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
@@ -464,12 +466,23 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
464 |
foreach($attrs as $attr)
|
465 |
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
466 |
}
|
467 |
-
|
|
|
|
|
|
|
|
|
|
|
468 |
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "table-cell" : "block");
|
469 |
$required_sym = ($param['w_required']=="yes" ? " *" : "");
|
470 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
471 |
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
472 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
473 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
474 |
{
|
475 |
if($choices_checked=='true')
|
@@ -478,8 +491,8 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
478 |
$param['w_choices_checked'][$key]='';
|
479 |
}
|
480 |
|
481 |
-
$rep='<div id="wdform_field'.$id.'" type="type_checkbox" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="label" style="vertical-align: top;">'.$label.'</span><span id="'.$id.'_required_elementform_id_temp" class="required" style="vertical-align: top;">'.$required_sym.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].';"><input type="hidden" value="type_checkbox" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><input type="hidden" value="'.$param['w_required'].'" name="'.$id.'_requiredform_id_temp" id="'.$id.'_requiredform_id_temp"><input type="hidden" value="'.$param['w_randomize'].'" name="'.$id.'_randomizeform_id_temp" id="'.$id.'_randomizeform_id_temp"><input type="hidden" value="'.$param['w_allow_other'].'" name="'.$id.'_allow_otherform_id_temp" id="'.$id.'_allow_otherform_id_temp"><input type="hidden" value="'.$param['w_allow_other_num'].'" name="'.$id.'_allow_other_numform_id_temp" id="'.$id.'_allow_other_numform_id_temp"><input type="hidden" value="'.$param['w_rowcol'].'" name="'.$id.'_rowcol_numform_id_temp" id="'.$id.'_rowcol_numform_id_temp"><div style="display: table;"><div id="'.$id.'_table_little" style="display: table-row-group;" '.($param['w_flow']=='hor' ? 'for_hor="'.$id.'_hor"' : '').'>';
|
482 |
-
|
483 |
if($param['w_flow']=='hor')
|
484 |
{
|
485 |
$j = 0;
|
@@ -493,9 +506,28 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
493 |
continue;
|
494 |
|
495 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
496 |
-
|
497 |
-
|
498 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
499 |
}
|
500 |
|
501 |
$j++;
|
@@ -514,17 +546,56 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
514 |
for($l=0; $l<$param['w_rowcol']; $l++)
|
515 |
{
|
516 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
517 |
-
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$i+$l).'" idi="'.((int)$param['w_rowcol']*$i+$l).'" style="display: table-cell;"><input type="checkbox" value="'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" name="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" other="1" onclick="if(set_checked("'.$id.'","'.((int)$param['w_rowcol']*$i+$l).'","form_id_temp")) show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$i+$l].' '.$param['attributes'].' disabled /><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$i+$l).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'">'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'</label></div>';
|
518 |
-
|
519 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
}
|
521 |
else
|
522 |
for($l=0; $l<count($param['w_choices']); $l++)
|
523 |
{
|
524 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
525 |
-
|
526 |
-
else
|
527 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
528 |
}
|
529 |
|
530 |
$rep.='</div>';
|
@@ -538,9 +609,27 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
538 |
{
|
539 |
$l = count($param['w_choices']) - count($param['w_choices'])%$param['w_rowcol'] + $k;
|
540 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$l)
|
541 |
-
|
542 |
-
else
|
543 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
544 |
}
|
545 |
|
546 |
$rep.='</div>';
|
@@ -557,6 +646,8 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
557 |
|
558 |
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
559 |
$temp=$params;
|
|
|
|
|
560 |
foreach($params_names as $params_name )
|
561 |
{
|
562 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
@@ -571,12 +662,21 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
571 |
foreach($attrs as $attr)
|
572 |
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
573 |
}
|
574 |
-
|
|
|
|
|
|
|
|
|
575 |
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "table-cell" : "block");
|
576 |
$required_sym = ($param['w_required']=="yes" ? " *" : "");
|
577 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
578 |
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
579 |
-
|
|
|
|
|
|
|
|
|
|
|
580 |
|
581 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
582 |
{
|
@@ -586,7 +686,7 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
586 |
$param['w_choices_checked'][$key]='';
|
587 |
}
|
588 |
|
589 |
-
$rep='<div id="wdform_field'.$id.'" type="type_radio" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="label" style="vertical-align: top;">'.$label.'</span><span id="'.$id.'_required_elementform_id_temp" class="required" style="vertical-align: top;">'.$required_sym.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].';"><input type="hidden" value="type_radio" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><input type="hidden" value="'.$param['w_required'].'" name="'.$id.'_requiredform_id_temp" id="'.$id.'_requiredform_id_temp"><input type="hidden" value="'.$param['w_randomize'].'" name="'.$id.'_randomizeform_id_temp" id="'.$id.'_randomizeform_id_temp"><input type="hidden" value="'.$param['w_allow_other'].'" name="'.$id.'_allow_otherform_id_temp" id="'.$id.'_allow_otherform_id_temp"><input type="hidden" value="'.$param['w_allow_other_num'].'" name="'.$id.'_allow_other_numform_id_temp" id="'.$id.'_allow_other_numform_id_temp"><input type="hidden" value="'.$param['w_rowcol'].'" name="'.$id.'_rowcol_numform_id_temp" id="'.$id.'_rowcol_numform_id_temp"><div style="display: table;"><div id="'.$id.'_table_little" style="display: table-row-group;" '.($param['w_flow']=='hor' ? 'for_hor="'.$id.'_hor"' : '').'>';
|
590 |
|
591 |
|
592 |
if($param['w_flow']=='hor')
|
@@ -602,9 +702,28 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
602 |
continue;
|
603 |
|
604 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
605 |
-
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$l+$i).'" idi="'.((int)$param['w_rowcol']*$l+$i).'" style="display: table-cell;"><input type="radio" value="'.$param['w_choices'][(int)$param['w_rowcol']*$l+$i].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'" name="'.$id.'_elementform_id_temp" other="1" onclick="set_default("'.$id.'","'.((int)$param['w_rowcol']*$l+$i).'","form_id_temp"); show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$l+$i].' '.$param['attributes'].' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$l+$i).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'">'.$param['w_choices'][(int)$param['w_rowcol']*$l+$i].'</label></div>';
|
606 |
-
else
|
607 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
608 |
}
|
609 |
|
610 |
$j++;
|
@@ -623,22 +742,60 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
623 |
for($l=0; $l<$param['w_rowcol']; $l++)
|
624 |
{
|
625 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
626 |
-
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$i+$l).'" idi="'.((int)$param['w_rowcol']*$i+$l).'" style="display: table-cell;"><input type="radio" value="'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" name="'.$id.'_elementform_id_temp" other="1" onclick="set_default("'.$id.'","'.((int)$param['w_rowcol']*$i+$l).'","form_id_temp"); show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$i+$l].' '.$param['attributes'].' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$i+$l).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'">'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'</label></div>';
|
627 |
-
else
|
628 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
629 |
}
|
630 |
else
|
631 |
for($l=0; $l<count($param['w_choices']); $l++)
|
632 |
{
|
633 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
634 |
-
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$i+$l).'" idi="'.((int)$param['w_rowcol']*$i+$l).'" style="display: table-cell;"><input type="radio" value="'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" name="'.$id.'_elementform_id_temp" other="1" onclick="set_default("'.$id.'","'.((int)$param['w_rowcol']*$i+$l).'","form_id_temp"); show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$i+$l].' '.$param['attributes'].' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$i+$l).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'">'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'</label></div>';
|
635 |
-
else
|
636 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637 |
}
|
638 |
|
639 |
$rep.='</div>';
|
640 |
}
|
641 |
-
|
642 |
if(count($param['w_choices'])%$param['w_rowcol']!=0)
|
643 |
{
|
644 |
$rep.='<div id="'.$id.'_element_tr'.((int)(count($param['w_choices'])/(int)$param['w_rowcol'])).'" style="display: table-row;">';
|
@@ -647,9 +804,29 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
647 |
{
|
648 |
$l = count($param['w_choices']) - count($param['w_choices'])%$param['w_rowcol'] + $k;
|
649 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$l)
|
650 |
-
$rep.='<div valign="top" id="'.$id.'_td_little'.$l.'" idi="'.$l.'" style="display: table-cell;"><input type="radio" value="'.$param['w_choices'][$l].'" id="'.$id.'_elementform_id_temp'.$l.'" name="'.$id.'_elementform_id_temp" other="1" onclick="set_default("'.$id.'","'.$l.'","form_id_temp"); show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][$l].' '.$param['attributes'].' disabled/><label id="'.$id.'_label_element'.$l.'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.$l.'">'.$param['w_choices'][$l].'</label></div>';
|
651 |
-
else
|
652 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
653 |
}
|
654 |
|
655 |
$rep.='</div>';
|
@@ -667,6 +844,8 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
667 |
{
|
668 |
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_checked', 'w_choices_disabled','w_required','w_class');
|
669 |
$temp=$params;
|
|
|
|
|
670 |
foreach($params_names as $params_name )
|
671 |
{
|
672 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
@@ -687,7 +866,16 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
687 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
688 |
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
689 |
$param['w_choices_disabled'] = explode('***',$param['w_choices_disabled']);
|
690 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
691 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
692 |
{
|
693 |
if($choices_checked=='true')
|
@@ -696,14 +884,23 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
696 |
$param['w_choices_checked'][$key]='';
|
697 |
}
|
698 |
|
699 |
-
$rep='<div id="wdform_field'.$id.'" type="type_own_select" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="label" style="vertical-align: top;">'.$label.'</span><span id="'.$id.'_required_elementform_id_temp" class="required" style="vertical-align: top;">'.$required_sym.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; "><input type="hidden" value="type_own_select" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><input type="hidden" value="'.$param['w_required'].'" name="'.$id.'_requiredform_id_temp" id="'.$id.'_requiredform_id_temp"><select id="'.$id.'_elementform_id_temp" name="'.$id.'_elementform_id_temp" onchange="set_select(this)" style="width: '.$param['w_size'].'px;" '.$param['attributes'].' disabled>';
|
700 |
foreach($param['w_choices'] as $key => $choice)
|
701 |
{
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
707 |
}
|
708 |
$rep.='</select></div></div>';
|
709 |
break;
|
@@ -1139,6 +1336,8 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1139 |
{
|
1140 |
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_price','w_choices_checked', 'w_choices_disabled','w_required','w_quantity', 'w_quantity_value','w_class','w_property','w_property_values');
|
1141 |
$temp=$params;
|
|
|
|
|
1142 |
foreach($params_names as $params_name )
|
1143 |
{
|
1144 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
@@ -1165,7 +1364,8 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1165 |
$param['w_choices_disabled'] = explode('***',$param['w_choices_disabled']);
|
1166 |
$param['w_property'] = explode('***',$param['w_property']);
|
1167 |
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
1168 |
-
|
|
|
1169 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
1170 |
{
|
1171 |
if($choices_checked=='true')
|
@@ -1178,11 +1378,20 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1178 |
$rep='<div id="wdform_field'.$id.'" type="type_paypal_select" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="label" style="vertical-align: top;">'.$label.'</span><span id="'.$id.'_required_elementform_id_temp" class="required" style="vertical-align: top;">'.$required_sym.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; "><input type="hidden" value="type_paypal_select" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><input type="hidden" value="'.$param['w_required'].'" name="'.$id.'_requiredform_id_temp" id="'.$id.'_requiredform_id_temp"><select id="'.$id.'_elementform_id_temp" name="'.$id.'_elementform_id_temp" onchange="set_select(this)" style="width: '.$param['w_size'].'px;" '.$param['attributes'].' disabled>';
|
1179 |
foreach($param['w_choices'] as $key => $choice)
|
1180 |
{
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1186 |
}
|
1187 |
$rep.='</select><div id="'.$id.'_divform_id_temp">';
|
1188 |
if($param['w_quantity']=="yes")
|
@@ -1214,6 +1423,8 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1214 |
|
1215 |
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class','w_property','w_property_values','w_quantity','w_quantity_value');
|
1216 |
$temp=$params;
|
|
|
|
|
1217 |
foreach($params_names as $params_name )
|
1218 |
{
|
1219 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
@@ -1228,7 +1439,9 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1228 |
foreach($attrs as $attr)
|
1229 |
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
1230 |
}
|
1231 |
-
|
|
|
|
|
1232 |
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "table-cell" : "block");
|
1233 |
$required_sym = ($param['w_required']=="yes" ? " *" : "");
|
1234 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
@@ -1236,7 +1449,10 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1236 |
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
1237 |
$param['w_property'] = explode('***',$param['w_property']);
|
1238 |
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
1239 |
-
|
|
|
|
|
|
|
1240 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
1241 |
{
|
1242 |
if($choices_checked=='true')
|
@@ -1245,30 +1461,49 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1245 |
$param['w_choices_checked'][$key]='';
|
1246 |
}
|
1247 |
|
1248 |
-
$rep='<div id="wdform_field'.$id.'" type="type_paypal_checkbox" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="
|
1249 |
|
1250 |
if($param['w_flow']=='hor')
|
1251 |
{
|
1252 |
$rep.= '<div id="'.$id.'_hor" style="display: table-row;">';
|
1253 |
foreach($param['w_choices'] as $key => $choice)
|
1254 |
{
|
1255 |
-
|
1256 |
-
$
|
1257 |
-
|
1258 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1259 |
}
|
1260 |
$rep.= '</div>';
|
1261 |
}
|
1262 |
else
|
1263 |
{
|
1264 |
-
|
1265 |
foreach($param['w_choices'] as $key => $choice)
|
1266 |
{
|
1267 |
-
|
1268 |
-
$
|
1269 |
-
|
1270 |
-
$
|
1271 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1272 |
}
|
1273 |
$rep.='</div></div>';
|
1274 |
|
@@ -1300,6 +1535,8 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1300 |
|
1301 |
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class','w_property','w_property_values','w_quantity','w_quantity_value');
|
1302 |
$temp=$params;
|
|
|
|
|
1303 |
foreach($params_names as $params_name )
|
1304 |
{
|
1305 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
@@ -1314,7 +1551,8 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1314 |
foreach($attrs as $attr)
|
1315 |
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
1316 |
}
|
1317 |
-
|
|
|
1318 |
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "table-cell" : "block");
|
1319 |
$required_sym = ($param['w_required']=="yes" ? " *" : "");
|
1320 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
@@ -1325,7 +1563,10 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1325 |
|
1326 |
$param['w_property'] = explode('***',$param['w_property']);
|
1327 |
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
1328 |
-
|
|
|
|
|
|
|
1329 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
1330 |
{
|
1331 |
if($choices_checked=='true')
|
@@ -1334,30 +1575,50 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1334 |
$param['w_choices_checked'][$key]='';
|
1335 |
}
|
1336 |
|
1337 |
-
$rep='<div id="wdform_field'.$id.'" type="type_paypal_radio" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="
|
1338 |
|
1339 |
if($param['w_flow']=='hor')
|
1340 |
{
|
1341 |
$rep.= '<div id="'.$id.'_hor" style="display: table-row;">';
|
1342 |
foreach($param['w_choices'] as $key => $choice)
|
1343 |
{
|
1344 |
-
|
1345 |
-
$
|
1346 |
-
|
1347 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1348 |
}
|
1349 |
$rep.= '</div>';
|
1350 |
}
|
1351 |
else
|
1352 |
{
|
1353 |
-
|
1354 |
foreach($param['w_choices'] as $key => $choice)
|
1355 |
{
|
1356 |
-
|
1357 |
-
$
|
1358 |
-
|
1359 |
-
$
|
1360 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1361 |
}
|
1362 |
$rep.='</div></div>';
|
1363 |
|
@@ -1388,8 +1649,10 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1388 |
case 'type_paypal_shipping':
|
1389 |
{
|
1390 |
|
1391 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
1392 |
$temp=$params;
|
|
|
|
|
1393 |
foreach($params_names as $params_name )
|
1394 |
{
|
1395 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
@@ -1404,7 +1667,9 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1404 |
foreach($attrs as $attr)
|
1405 |
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
1406 |
}
|
1407 |
-
|
|
|
|
|
1408 |
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "table-cell" : "block");
|
1409 |
$required_sym = ($param['w_required']=="yes" ? " *" : "");
|
1410 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
@@ -1413,7 +1678,9 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1413 |
|
1414 |
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
1415 |
|
1416 |
-
|
|
|
|
|
1417 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
1418 |
{
|
1419 |
if($choices_checked=='true')
|
@@ -1422,36 +1689,55 @@ ngdom</option><option value="United States">United States</option><option value=
|
|
1422 |
$param['w_choices_checked'][$key]='';
|
1423 |
}
|
1424 |
|
1425 |
-
$rep='<div id="wdform_field'.$id.'" type="type_paypal_shipping" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="
|
1426 |
|
1427 |
if($param['w_flow']=='hor')
|
1428 |
{
|
1429 |
$rep.= '<div id="'.$id.'_hor" style="display: table-row;">';
|
1430 |
foreach($param['w_choices'] as $key => $choice)
|
1431 |
{
|
1432 |
-
|
1433 |
-
$
|
1434 |
-
|
1435 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1436 |
}
|
1437 |
$rep.= '</div>';
|
1438 |
}
|
1439 |
else
|
1440 |
{
|
1441 |
-
|
1442 |
foreach($param['w_choices'] as $key => $choice)
|
1443 |
{
|
1444 |
-
|
1445 |
-
$
|
1446 |
-
|
1447 |
-
$
|
1448 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1449 |
}
|
1450 |
$rep.='</div></div>';
|
1451 |
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
}
|
1456 |
case 'type_paypal_total':
|
1457 |
{
|
20 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
public function get_rows_data() {
|
22 |
global $wpdb;
|
23 |
+
$where = 'WHERE `id` NOT IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')';
|
24 |
$where .= ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? ' AND title LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
|
25 |
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html($_POST['asc_or_desc']) : 'asc');
|
26 |
$order_by = ' ORDER BY ' . ((isset($_POST['order_by']) && esc_html($_POST['order_by']) != '') ? esc_html($_POST['order_by']) : 'id') . ' ' . $asc_or_desc;
|
450 |
{
|
451 |
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
452 |
$temp=$params;
|
453 |
+
if(strpos($temp, 'w_field_option_pos') > -1)
|
454 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_field_option_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num', 'w_value_disabled','w_choices_value', 'w_choices_params', 'w_class');
|
455 |
foreach($params_names as $params_name )
|
456 |
{
|
457 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
466 |
foreach($attrs as $attr)
|
467 |
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
468 |
}
|
469 |
+
if(!isset($param['w_value_disabled']))
|
470 |
+
$param['w_value_disabled'] = 'no';
|
471 |
+
|
472 |
+
if(!isset($param['w_field_option_pos']))
|
473 |
+
$param['w_field_option_pos'] = 'left';
|
474 |
+
|
475 |
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "table-cell" : "block");
|
476 |
$required_sym = ($param['w_required']=="yes" ? " *" : "");
|
477 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
478 |
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
479 |
+
|
480 |
+
if(isset($param['w_choices_value']))
|
481 |
+
{
|
482 |
+
$param['w_choices_value'] = explode('***',$param['w_choices_value']);
|
483 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
484 |
+
}
|
485 |
+
|
486 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
487 |
{
|
488 |
if($choices_checked=='true')
|
491 |
$param['w_choices_checked'][$key]='';
|
492 |
}
|
493 |
|
494 |
+
$rep='<div id="wdform_field'.$id.'" type="type_checkbox" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="label" style="vertical-align: top;">'.$label.'</span><span id="'.$id.'_required_elementform_id_temp" class="required" style="vertical-align: top;">'.$required_sym.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].';"><input type="hidden" value="type_checkbox" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><input type="hidden" value="'.$param['w_required'].'" name="'.$id.'_requiredform_id_temp" id="'.$id.'_requiredform_id_temp"><input type="hidden" value="'.$param['w_randomize'].'" name="'.$id.'_randomizeform_id_temp" id="'.$id.'_randomizeform_id_temp"><input type="hidden" value="'.$param['w_allow_other'].'" name="'.$id.'_allow_otherform_id_temp" id="'.$id.'_allow_otherform_id_temp"><input type="hidden" value="'.$param['w_allow_other_num'].'" name="'.$id.'_allow_other_numform_id_temp" id="'.$id.'_allow_other_numform_id_temp"><input type="hidden" value="'.$param['w_rowcol'].'" name="'.$id.'_rowcol_numform_id_temp" id="'.$id.'_rowcol_numform_id_temp"><input type="hidden" value="'.$param['w_field_option_pos'].'" id="'.$id.'_option_left_right"><input type="hidden" value="'.$param['w_value_disabled'].'" name="'.$id.'_value_disabledform_id_temp" id="'.$id.'_value_disabledform_id_temp"><div style="display: table;"><div id="'.$id.'_table_little" style="display: table-row-group;" '.($param['w_flow']=='hor' ? 'for_hor="'.$id.'_hor"' : '').'>';
|
495 |
+
|
496 |
if($param['w_flow']=='hor')
|
497 |
{
|
498 |
$j = 0;
|
506 |
continue;
|
507 |
|
508 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
509 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$l+$i).'" idi="'.((int)$param['w_rowcol']*$l+$i).'" style="display: table-cell;"><input type="checkbox" value="'.$param['w_choices'][(int)$param['w_rowcol']*$l+$i].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'" name="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'" other="1" onclick="if(set_checked("'.$id.'","'.((int)$param['w_rowcol']*$l+$i).'","form_id_temp")) show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$l+$i].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled /><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$l+$i).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'">'.$param['w_choices'][(int)$param['w_rowcol']*$l+$i].'</label></div>';
|
510 |
+
else
|
511 |
+
{
|
512 |
+
$where = '';
|
513 |
+
$order_by = '';
|
514 |
+
$db_info = '';
|
515 |
+
if(isset($param['w_choices_value']))
|
516 |
+
$choise_value = $param['w_choices_value'][(int)$param['w_rowcol']*$l+$i];
|
517 |
+
else
|
518 |
+
$choise_value = $param['w_choices'][(int)$param['w_rowcol']*$l+$i];
|
519 |
+
|
520 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][(int)$param['w_rowcol']*$l+$i])
|
521 |
+
{
|
522 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][(int)$param['w_rowcol']*$l+$i]);
|
523 |
+
$where = "where='".$w_choices_params[0]."'";
|
524 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
525 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
526 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
527 |
+
}
|
528 |
+
|
529 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$l+$i).'" idi="'.((int)$param['w_rowcol']*$l+$i).'" style="display: table-cell;"><input type="checkbox" value="'.$param['w_choices'][(int)$param['w_rowcol']*$l+$i].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'" name="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'" onclick="set_checked("'.$id.'","'.((int)$param['w_rowcol']*$l+$i).'","form_id_temp")" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$l+$i].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$l+$i).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'" '.$where.' '.$order_by.' '.$db_info.'>'.$param['w_choices'][(int)$param['w_rowcol']*$l+$i].'</label></div>';
|
530 |
+
}
|
531 |
}
|
532 |
|
533 |
$j++;
|
546 |
for($l=0; $l<$param['w_rowcol']; $l++)
|
547 |
{
|
548 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
549 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$i+$l).'" idi="'.((int)$param['w_rowcol']*$i+$l).'" style="display: table-cell;"><input type="checkbox" value="'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" name="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" other="1" onclick="if(set_checked("'.$id.'","'.((int)$param['w_rowcol']*$i+$l).'","form_id_temp")) show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$i+$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled /><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$i+$l).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'">'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'</label></div>';
|
550 |
+
else
|
551 |
+
{
|
552 |
+
$where = '' ;
|
553 |
+
$order_by = '' ;
|
554 |
+
$db_info = '' ;
|
555 |
+
if(isset($param['w_choices_value']))
|
556 |
+
$choise_value = $param['w_choices_value'][(int)$param['w_rowcol']*$i+$l];
|
557 |
+
else
|
558 |
+
$choise_value = $param['w_choices'][(int)$param['w_rowcol']*$i+$l];
|
559 |
+
|
560 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][(int)$param['w_rowcol']*$i+$l])
|
561 |
+
{
|
562 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][(int)$param['w_rowcol']*$i+$l]);
|
563 |
+
$where = "where='".$w_choices_params[0]."'";
|
564 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
565 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
566 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
567 |
+
}
|
568 |
+
|
569 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$i+$l).'" idi="'.((int)$param['w_rowcol']*$i+$l).'" style="display: table-cell;"><input type="checkbox" value="'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" name="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" onclick="set_checked("'.$id.'","'.((int)$param['w_rowcol']*$i+$l).'","form_id_temp")" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$i+$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$i+$l).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'"
|
570 |
+
'.$where.' '.$order_by.' '.$db_info.'>'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'</label></div>';
|
571 |
+
}
|
572 |
}
|
573 |
else
|
574 |
for($l=0; $l<count($param['w_choices']); $l++)
|
575 |
{
|
576 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
577 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$i+$l).'" idi="'.((int)$param['w_rowcol']*$i+$l).'" style="display: table-cell;"><input type="checkbox" value="'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" name="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" other="1" onclick="if(set_checked("'.$id.'","'.((int)$param['w_rowcol']*$i+$l).'","form_id_temp")) show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$i+$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$i+$l).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'">'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'</label></div>';
|
578 |
+
else
|
579 |
+
{
|
580 |
+
$where = '' ;
|
581 |
+
$order_by = '' ;
|
582 |
+
$db_info = '' ;
|
583 |
+
if(isset($param['w_choices_value']))
|
584 |
+
$choise_value = $param['w_choices_value'][(int)$param['w_rowcol']*$i+$l];
|
585 |
+
else
|
586 |
+
$choise_value = $param['w_choices'][(int)$param['w_rowcol']*$i+$l];
|
587 |
+
|
588 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][(int)$param['w_rowcol']*$i+$l])
|
589 |
+
{
|
590 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][(int)$param['w_rowcol']*$i+$l]);
|
591 |
+
$where = "where='".$w_choices_params[0]."'";
|
592 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
593 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
594 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
595 |
+
}
|
596 |
+
|
597 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$i+$l).'" idi="'.((int)$param['w_rowcol']*$i+$l).'" style="display: table-cell;"><input type="checkbox" value="'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" name="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" onclick="set_checked("'.$id.'","'.((int)$param['w_rowcol']*$i+$l).'","form_id_temp")" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$i+$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$i+$l).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" '.$where.' '.$order_by.' '.$db_info.'>'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'</label></div>';
|
598 |
+
}
|
599 |
}
|
600 |
|
601 |
$rep.='</div>';
|
609 |
{
|
610 |
$l = count($param['w_choices']) - count($param['w_choices'])%$param['w_rowcol'] + $k;
|
611 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$l)
|
612 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.$l.'" idi="'.$l.'" style="display: table-cell;"><input type="checkbox" value="'.$param['w_choices'][$l].'" id="'.$id.'_elementform_id_temp'.$l.'" name="'.$id.'_elementform_id_temp'.$l.'" other="1" onclick="if(set_checked("'.$id.'","'.$l.'","form_id_temp")) show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.$l.'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.$l.'">'.$param['w_choices'][$l].'</label></div>';
|
613 |
+
else
|
614 |
+
{
|
615 |
+
$where = '' ;
|
616 |
+
$order_by = '' ;
|
617 |
+
$db_info = '' ;
|
618 |
+
if(isset($param['w_choices_value']))
|
619 |
+
$choise_value = $param['w_choices_value'][$l];
|
620 |
+
else
|
621 |
+
$choise_value = $param['w_choices'][$l];
|
622 |
+
|
623 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$l])
|
624 |
+
{
|
625 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$l]);
|
626 |
+
$where = "where='".$w_choices_params[0]."'";
|
627 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
628 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
629 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
630 |
+
}
|
631 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.$l.'" idi="'.$l.'" style="display: table-cell;"><input type="checkbox" value="'.$param['w_choices'][$l].'" id="'.$id.'_elementform_id_temp'.$l.'" name="'.$id.'_elementform_id_temp'.$l.'" onclick="set_checked("'.$id.'","'.$l.'","form_id_temp")" '.$param['w_choices_checked'][$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.$l.'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.$l.'" '.$where.' '.$order_by.' '.$db_info.'>'.$param['w_choices'][$l].'</label></div>';
|
632 |
+
}
|
633 |
}
|
634 |
|
635 |
$rep.='</div>';
|
646 |
|
647 |
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
648 |
$temp=$params;
|
649 |
+
if(strpos($temp, 'w_field_option_pos') > -1)
|
650 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_field_option_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num', 'w_value_disabled', 'w_choices_value', 'w_choices_params','w_class');
|
651 |
foreach($params_names as $params_name )
|
652 |
{
|
653 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
662 |
foreach($attrs as $attr)
|
663 |
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
664 |
}
|
665 |
+
if(!isset($param['w_value_disabled']))
|
666 |
+
$param['w_value_disabled'] = 'no';
|
667 |
+
|
668 |
+
if(!isset($param['w_field_option_pos']))
|
669 |
+
$param['w_field_option_pos'] = 'left';
|
670 |
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "table-cell" : "block");
|
671 |
$required_sym = ($param['w_required']=="yes" ? " *" : "");
|
672 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
673 |
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
674 |
+
|
675 |
+
if(isset($param['w_choices_value']))
|
676 |
+
{
|
677 |
+
$param['w_choices_value'] = explode('***',$param['w_choices_value']);
|
678 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
679 |
+
}
|
680 |
|
681 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
682 |
{
|
686 |
$param['w_choices_checked'][$key]='';
|
687 |
}
|
688 |
|
689 |
+
$rep='<div id="wdform_field'.$id.'" type="type_radio" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="label" style="vertical-align: top;">'.$label.'</span><span id="'.$id.'_required_elementform_id_temp" class="required" style="vertical-align: top;">'.$required_sym.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].';"><input type="hidden" value="type_radio" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><input type="hidden" value="'.$param['w_required'].'" name="'.$id.'_requiredform_id_temp" id="'.$id.'_requiredform_id_temp"><input type="hidden" value="'.$param['w_randomize'].'" name="'.$id.'_randomizeform_id_temp" id="'.$id.'_randomizeform_id_temp"><input type="hidden" value="'.$param['w_allow_other'].'" name="'.$id.'_allow_otherform_id_temp" id="'.$id.'_allow_otherform_id_temp"><input type="hidden" value="'.$param['w_allow_other_num'].'" name="'.$id.'_allow_other_numform_id_temp" id="'.$id.'_allow_other_numform_id_temp"><input type="hidden" value="'.$param['w_rowcol'].'" name="'.$id.'_rowcol_numform_id_temp" id="'.$id.'_rowcol_numform_id_temp"><input type="hidden" value="'.$param['w_field_option_pos'].'" id="'.$id.'_option_left_right"><input type="hidden" value="'.$param['w_value_disabled'].'" name="'.$id.'_value_disabledform_id_temp" id="'.$id.'_value_disabledform_id_temp"><div style="display: table;"><div id="'.$id.'_table_little" style="display: table-row-group;" '.($param['w_flow']=='hor' ? 'for_hor="'.$id.'_hor"' : '').'>';
|
690 |
|
691 |
|
692 |
if($param['w_flow']=='hor')
|
702 |
continue;
|
703 |
|
704 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
705 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$l+$i).'" idi="'.((int)$param['w_rowcol']*$l+$i).'" style="display: table-cell;"><input type="radio" value="'.$param['w_choices'][(int)$param['w_rowcol']*$l+$i].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'" name="'.$id.'_elementform_id_temp" other="1" onclick="set_default("'.$id.'","'.((int)$param['w_rowcol']*$l+$i).'","form_id_temp"); show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$l+$i].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$l+$i).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'">'.$param['w_choices'][(int)$param['w_rowcol']*$l+$i].'</label></div>';
|
706 |
+
else
|
707 |
+
{
|
708 |
+
$where = '' ;
|
709 |
+
$order_by = '' ;
|
710 |
+
$db_info = '' ;
|
711 |
+
if(isset($param['w_choices_value']))
|
712 |
+
$choise_value = $param['w_choices_value'][(int)$param['w_rowcol']*$l+$i];
|
713 |
+
else
|
714 |
+
$choise_value = $param['w_choices'][(int)$param['w_rowcol']*$l+$i];
|
715 |
+
|
716 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][(int)$param['w_rowcol']*$l+$i])
|
717 |
+
{
|
718 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][(int)$param['w_rowcol']*$i+$l]);
|
719 |
+
$where = "where='".$w_choices_params[0]."'";
|
720 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
721 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
722 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
723 |
+
}
|
724 |
+
|
725 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$l+$i).'" idi="'.((int)$param['w_rowcol']*$l+$i).'" style="display: table-cell;"><input type="radio" value="'.$choise_value.'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'" name="'.$id.'_elementform_id_temp" onclick="set_default("'.$id.'","'.((int)$param['w_rowcol']*$l+$i).'","form_id_temp")" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$l+$i].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$l+$i).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$l+$i).'" '.$where.' '.$order_by.' '.$db_info.'>'.$param['w_choices'][(int)$param['w_rowcol']*$l+$i].'</label></div>';
|
726 |
+
}
|
727 |
}
|
728 |
|
729 |
$j++;
|
742 |
for($l=0; $l<$param['w_rowcol']; $l++)
|
743 |
{
|
744 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
745 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$i+$l).'" idi="'.((int)$param['w_rowcol']*$i+$l).'" style="display: table-cell;"><input type="radio" value="'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" name="'.$id.'_elementform_id_temp" other="1" onclick="set_default("'.$id.'","'.((int)$param['w_rowcol']*$i+$l).'","form_id_temp"); show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$i+$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$i+$l).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'">'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'</label></div>';
|
746 |
+
else
|
747 |
+
{
|
748 |
+
$where = '' ;
|
749 |
+
$order_by = '' ;
|
750 |
+
$db_info = '' ;
|
751 |
+
if(isset($param['w_choices_value']))
|
752 |
+
$choise_value = $param['w_choices_value'][(int)$param['w_rowcol']*$i+$l];
|
753 |
+
else
|
754 |
+
$choise_value = $param['w_choices'][(int)$param['w_rowcol']*$i+$l];
|
755 |
+
|
756 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][(int)$param['w_rowcol']*$i+$l])
|
757 |
+
{
|
758 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][(int)$param['w_rowcol']*$i+$l]);
|
759 |
+
$where = "where='".$w_choices_params[0]."'";
|
760 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
761 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
762 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
763 |
+
}
|
764 |
+
|
765 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$i+$l).'" idi="'.((int)$param['w_rowcol']*$i+$l).'" style="display: table-cell;"><input type="radio" value="'.$choise_value.'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" name="'.$id.'_elementform_id_temp" onclick="set_default("'.$id.'","'.((int)$param['w_rowcol']*$i+$l).'","form_id_temp")" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$i+$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$i+$l).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" '.$where.' '.$order_by.' '.$db_info.'>'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'</label></div>';
|
766 |
+
}
|
767 |
}
|
768 |
else
|
769 |
for($l=0; $l<count($param['w_choices']); $l++)
|
770 |
{
|
771 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==(int)$param['w_rowcol']*$i+$l)
|
772 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$i+$l).'" idi="'.((int)$param['w_rowcol']*$i+$l).'" style="display: table-cell;"><input type="radio" value="'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" name="'.$id.'_elementform_id_temp" other="1" onclick="set_default("'.$id.'","'.((int)$param['w_rowcol']*$i+$l).'","form_id_temp"); show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$i+$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$i+$l).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'">'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'</label></div>';
|
773 |
+
else
|
774 |
+
{
|
775 |
+
$where = '' ;
|
776 |
+
$order_by = '' ;
|
777 |
+
$db_info = '' ;
|
778 |
+
if(isset($param['w_choices_value']))
|
779 |
+
$choise_value = $param['w_choices_value'][(int)$param['w_rowcol']*$i+$l];
|
780 |
+
else
|
781 |
+
$choise_value = $param['w_choices'][(int)$param['w_rowcol']*$i+$l];
|
782 |
+
|
783 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][(int)$param['w_rowcol']*$i+$l])
|
784 |
+
{
|
785 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][(int)$param['w_rowcol']*$i+$l]);
|
786 |
+
$where = "where='".$w_choices_params[0]."'";
|
787 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
788 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
789 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
790 |
+
}
|
791 |
+
|
792 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.((int)$param['w_rowcol']*$i+$l).'" idi="'.((int)$param['w_rowcol']*$i+$l).'" style="display: table-cell;"><input type="radio" value="'.$choise_value.'" id="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" name="'.$id.'_elementform_id_temp" onclick="set_default("'.$id.'","'.((int)$param['w_rowcol']*$i+$l).'","form_id_temp")" '.$param['w_choices_checked'][(int)$param['w_rowcol']*$i+$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.((int)$param['w_rowcol']*$i+$l).'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.((int)$param['w_rowcol']*$i+$l).'" '.$where.' '.$order_by.' '.$db_info.'>'.$param['w_choices'][(int)$param['w_rowcol']*$i+$l].'</label></div>';
|
793 |
+
}
|
794 |
}
|
795 |
|
796 |
$rep.='</div>';
|
797 |
}
|
798 |
+
|
799 |
if(count($param['w_choices'])%$param['w_rowcol']!=0)
|
800 |
{
|
801 |
$rep.='<div id="'.$id.'_element_tr'.((int)(count($param['w_choices'])/(int)$param['w_rowcol'])).'" style="display: table-row;">';
|
804 |
{
|
805 |
$l = count($param['w_choices']) - count($param['w_choices'])%$param['w_rowcol'] + $k;
|
806 |
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$l)
|
807 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.$l.'" idi="'.$l.'" style="display: table-cell;"><input type="radio" value="'.$param['w_choices'][$l].'" id="'.$id.'_elementform_id_temp'.$l.'" name="'.$id.'_elementform_id_temp" other="1" onclick="set_default("'.$id.'","'.$l.'","form_id_temp"); show_other_input("'.$id.'","form_id_temp");" '.$param['w_choices_checked'][$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.$l.'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.$l.'">'.$param['w_choices'][$l].'</label></div>';
|
808 |
+
else
|
809 |
+
{
|
810 |
+
$where = '' ;
|
811 |
+
$order_by = '' ;
|
812 |
+
$db_info = '' ;
|
813 |
+
if(isset($param['w_choices_value']))
|
814 |
+
$choise_value = $param['w_choices_value'][$l];
|
815 |
+
else
|
816 |
+
$choise_value = $param['w_choices'][$l];
|
817 |
+
|
818 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$l])
|
819 |
+
{
|
820 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$l]);
|
821 |
+
$where = "where='".$w_choices_params[0]."'";
|
822 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
823 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
824 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
825 |
+
}
|
826 |
+
|
827 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.$l.'" idi="'.$l.'" style="display: table-cell;"><input type="radio" value="'.$choise_value.'" id="'.$id.'_elementform_id_temp'.$l.'" name="'.$id.'_elementform_id_temp" onclick="set_default("'.$id.'","'.$l.'","form_id_temp")" '.$param['w_choices_checked'][$l].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.$l.'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.$l.'"
|
828 |
+
'.$where.' '.$order_by.' '.$db_info.'>'.$param['w_choices'][$l].'</label></div>';
|
829 |
+
}
|
830 |
}
|
831 |
|
832 |
$rep.='</div>';
|
844 |
{
|
845 |
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_checked', 'w_choices_disabled','w_required','w_class');
|
846 |
$temp=$params;
|
847 |
+
if(strpos($temp, 'w_choices_value') > -1)
|
848 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_checked', 'w_choices_disabled', 'w_required', 'w_value_disabled', 'w_choices_value', 'w_choices_params', 'w_class');
|
849 |
foreach($params_names as $params_name )
|
850 |
{
|
851 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
866 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
867 |
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
868 |
$param['w_choices_disabled'] = explode('***',$param['w_choices_disabled']);
|
869 |
+
|
870 |
+
if(isset($param['w_choices_value']))
|
871 |
+
{
|
872 |
+
$param['w_choices_value'] = explode('***',$param['w_choices_value']);
|
873 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
874 |
+
}
|
875 |
+
|
876 |
+
if(!isset($param['w_value_disabled']))
|
877 |
+
$param['w_value_disabled'] = 'no';
|
878 |
+
|
879 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
880 |
{
|
881 |
if($choices_checked=='true')
|
884 |
$param['w_choices_checked'][$key]='';
|
885 |
}
|
886 |
|
887 |
+
$rep='<div id="wdform_field'.$id.'" type="type_own_select" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="label" style="vertical-align: top;">'.$label.'</span><span id="'.$id.'_required_elementform_id_temp" class="required" style="vertical-align: top;">'.$required_sym.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; "><input type="hidden" value="type_own_select" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><input type="hidden" value="'.$param['w_required'].'" name="'.$id.'_requiredform_id_temp" id="'.$id.'_requiredform_id_temp"><input type="hidden" value="'.$param['w_value_disabled'].'" name="'.$id.'_value_disabledform_id_temp" id="'.$id.'_value_disabledform_id_temp"><select id="'.$id.'_elementform_id_temp" name="'.$id.'_elementform_id_temp" onchange="set_select(this)" style="width: '.$param['w_size'].'px;" '.$param['attributes'].' disabled>';
|
888 |
foreach($param['w_choices'] as $key => $choice)
|
889 |
{
|
890 |
+
$where = '';
|
891 |
+
$order_by = '';
|
892 |
+
$db_info = '';
|
893 |
+
$choice_value = $param['w_choices_disabled'][$key]=='true' ? '' : (isset($param['w_choices_value']) ? $param['w_choices_value'][$key] : $choice);
|
894 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
895 |
+
{
|
896 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
897 |
+
$where = "where='".$w_choices_params[0]."'";
|
898 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
899 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
900 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
901 |
+
}
|
902 |
+
|
903 |
+
$rep.='<option id="'.$id.'_option'.$key.'" value="'.$choice_value.'" onselect="set_select("'.$id.'_option'.$key.'")" '.$param['w_choices_checked'][$key].' '.$where.' '.$order_by.' '.$db_info.'>'.$choice.'</option>';
|
904 |
}
|
905 |
$rep.='</select></div></div>';
|
906 |
break;
|
1336 |
{
|
1337 |
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_price','w_choices_checked', 'w_choices_disabled','w_required','w_quantity', 'w_quantity_value','w_class','w_property','w_property_values');
|
1338 |
$temp=$params;
|
1339 |
+
if(strpos($temp, 'w_choices_params') > -1)
|
1340 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_price','w_choices_checked', 'w_choices_disabled','w_required','w_quantity', 'w_quantity_value', 'w_choices_params', 'w_class', 'w_property', 'w_property_values');
|
1341 |
foreach($params_names as $params_name )
|
1342 |
{
|
1343 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1364 |
$param['w_choices_disabled'] = explode('***',$param['w_choices_disabled']);
|
1365 |
$param['w_property'] = explode('***',$param['w_property']);
|
1366 |
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
1367 |
+
if(isset($param['w_choices_params']))
|
1368 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
1369 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
1370 |
{
|
1371 |
if($choices_checked=='true')
|
1378 |
$rep='<div id="wdform_field'.$id.'" type="type_paypal_select" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="label" style="vertical-align: top;">'.$label.'</span><span id="'.$id.'_required_elementform_id_temp" class="required" style="vertical-align: top;">'.$required_sym.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; "><input type="hidden" value="type_paypal_select" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><input type="hidden" value="'.$param['w_required'].'" name="'.$id.'_requiredform_id_temp" id="'.$id.'_requiredform_id_temp"><select id="'.$id.'_elementform_id_temp" name="'.$id.'_elementform_id_temp" onchange="set_select(this)" style="width: '.$param['w_size'].'px;" '.$param['attributes'].' disabled>';
|
1379 |
foreach($param['w_choices'] as $key => $choice)
|
1380 |
{
|
1381 |
+
$where = '';
|
1382 |
+
$order_by = '';
|
1383 |
+
$db_info = '';
|
1384 |
+
$choice_value = $param['w_choices_disabled'][$key]=="true" ? '' : $param['w_choices_price'][$key];
|
1385 |
+
|
1386 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
1387 |
+
{
|
1388 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
1389 |
+
$where = "where='".$w_choices_params[0]."'";
|
1390 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
1391 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
1392 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
1393 |
+
}
|
1394 |
+
$rep.='<option id="'.$id.'_option'.$key.'" value="'.$choice_value.'" onselect="set_select("'.$id.'_option'.$key.'")" '.$param['w_choices_checked'][$key].' '.$where.' '.$order_by.' '.$db_info.'>'.$choice.'</option>';
|
1395 |
}
|
1396 |
$rep.='</select><div id="'.$id.'_divform_id_temp">';
|
1397 |
if($param['w_quantity']=="yes")
|
1423 |
|
1424 |
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class','w_property','w_property_values','w_quantity','w_quantity_value');
|
1425 |
$temp=$params;
|
1426 |
+
if(strpos($temp, 'w_field_option_pos') > -1)
|
1427 |
+
$params_names=array('w_field_label_size','w_field_label_pos', 'w_field_option_pos', 'w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num', 'w_choices_params', 'w_class','w_property','w_property_values','w_quantity','w_quantity_value');
|
1428 |
foreach($params_names as $params_name )
|
1429 |
{
|
1430 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1439 |
foreach($attrs as $attr)
|
1440 |
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
1441 |
}
|
1442 |
+
if(!isset($param['w_field_option_pos']))
|
1443 |
+
$param['w_field_option_pos'] = 'left';
|
1444 |
+
|
1445 |
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "table-cell" : "block");
|
1446 |
$required_sym = ($param['w_required']=="yes" ? " *" : "");
|
1447 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
1449 |
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
1450 |
$param['w_property'] = explode('***',$param['w_property']);
|
1451 |
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
1452 |
+
|
1453 |
+
if(isset($param['w_choices_params']))
|
1454 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
1455 |
+
|
1456 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
1457 |
{
|
1458 |
if($choices_checked=='true')
|
1461 |
$param['w_choices_checked'][$key]='';
|
1462 |
}
|
1463 |
|
1464 |
+
$rep='<div id="wdform_field'.$id.'" type="type_paypal_checkbox" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="wd_form_label" style="vertical-align: top;">'.$label.'</span><span id="'.$id.'_required_elementform_id_temp" class="required" style="vertical-align: top;">'.$required_sym.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].';"><input type="hidden" value="type_paypal_checkbox" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><input type="hidden" value="'.$param['w_required'].'" name="'.$id.'_requiredform_id_temp" id="'.$id.'_requiredform_id_temp"><input type="hidden" value="'.$param['w_randomize'].'" name="'.$id.'_randomizeform_id_temp" id="'.$id.'_randomizeform_id_temp"><input type="hidden" value="'.$param['w_allow_other'].'" name="'.$id.'_allow_otherform_id_temp" id="'.$id.'_allow_otherform_id_temp"><input type="hidden" value="'.$param['w_allow_other_num'].'" name="'.$id.'_allow_other_numform_id_temp" id="'.$id.'_allow_other_numform_id_temp"><input type="hidden" value="'.$param['w_field_option_pos'].'" id="'.$id.'_option_left_right"><div style="display: table;"><div id="'.$id.'_table_little" style="display: table-row-group;">';
|
1465 |
|
1466 |
if($param['w_flow']=='hor')
|
1467 |
{
|
1468 |
$rep.= '<div id="'.$id.'_hor" style="display: table-row;">';
|
1469 |
foreach($param['w_choices'] as $key => $choice)
|
1470 |
{
|
1471 |
+
$where ='';
|
1472 |
+
$order_by ='';
|
1473 |
+
$db_info = '';
|
1474 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
1475 |
+
{
|
1476 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
1477 |
+
$where = "where='".$w_choices_params[0]."'";
|
1478 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
1479 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
1480 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
1481 |
+
}
|
1482 |
+
|
1483 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.$key.'" idi="'.$key.'" style="display: table-cell;"><input type="checkbox" id="'.$id.'_elementform_id_temp'.$key.'" name="'.$id.'_elementform_id_temp'.$key.'" value="'.$param['w_choices_price'][$key].'" onclick="set_checked("'.$id.'","'.$key.'","form_id_temp")" '.$param['w_choices_checked'][$key].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.$key.'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.$key.'" '.$where.' '.$order_by.' '.$db_info.'>'.$choice.'</label></div>';
|
1484 |
}
|
1485 |
$rep.= '</div>';
|
1486 |
}
|
1487 |
else
|
1488 |
{
|
1489 |
+
|
1490 |
foreach($param['w_choices'] as $key => $choice)
|
1491 |
{
|
1492 |
+
$where ='';
|
1493 |
+
$order_by ='';
|
1494 |
+
$db_info ='';
|
1495 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
1496 |
+
{
|
1497 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
1498 |
+
$where = "where='".$w_choices_params[0]."'";
|
1499 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
1500 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
1501 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
1502 |
+
}
|
1503 |
+
|
1504 |
+
$rep.='<div id="'.$id.'_element_tr'.$key.'" style="display: table-row;"><div valign="top" id="'.$id.'_td_little'.$key.'" idi="'.$key.'" style="display: table-cell;"><input type="checkbox" id="'.$id.'_elementform_id_temp'.$key.'" name="'.$id.'_elementform_id_temp'.$key.'" value="'.$param['w_choices_price'][$key].'" onclick="set_checked("'.$id.'","'.$key.'","form_id_temp")" '.$param['w_choices_checked'][$key].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.$key.'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.$key.'" '.$where.' '.$order_by.' '.$db_info.'>'.$choice.'</label></div></div>';
|
1505 |
+
}
|
1506 |
+
|
1507 |
}
|
1508 |
$rep.='</div></div>';
|
1509 |
|
1535 |
|
1536 |
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class','w_property','w_property_values','w_quantity','w_quantity_value');
|
1537 |
$temp=$params;
|
1538 |
+
if(strpos($temp, 'w_field_option_pos') > -1)
|
1539 |
+
$params_names=array('w_field_label_size','w_field_label_pos', 'w_field_option_pos', 'w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num', 'w_choices_params', 'w_class','w_property','w_property_values','w_quantity','w_quantity_value');
|
1540 |
foreach($params_names as $params_name )
|
1541 |
{
|
1542 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1551 |
foreach($attrs as $attr)
|
1552 |
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
1553 |
}
|
1554 |
+
if(!isset($param['w_field_option_pos']))
|
1555 |
+
$param['w_field_option_pos'] = 'left';
|
1556 |
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "table-cell" : "block");
|
1557 |
$required_sym = ($param['w_required']=="yes" ? " *" : "");
|
1558 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
1563 |
|
1564 |
$param['w_property'] = explode('***',$param['w_property']);
|
1565 |
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
1566 |
+
|
1567 |
+
if(isset($param['w_choices_params']))
|
1568 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
1569 |
+
|
1570 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
1571 |
{
|
1572 |
if($choices_checked=='true')
|
1575 |
$param['w_choices_checked'][$key]='';
|
1576 |
}
|
1577 |
|
1578 |
+
$rep='<div id="wdform_field'.$id.'" type="type_paypal_radio" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="wd_form_label" style="vertical-align: top;">'.$label.'</span><span id="'.$id.'_required_elementform_id_temp" class="required" style="vertical-align: top;">'.$required_sym.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].';"><input type="hidden" value="type_paypal_radio" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><input type="hidden" value="'.$param['w_required'].'" name="'.$id.'_requiredform_id_temp" id="'.$id.'_requiredform_id_temp"><input type="hidden" value="'.$param['w_randomize'].'" name="'.$id.'_randomizeform_id_temp" id="'.$id.'_randomizeform_id_temp"><input type="hidden" value="'.$param['w_allow_other'].'" name="'.$id.'_allow_otherform_id_temp" id="'.$id.'_allow_otherform_id_temp"><input type="hidden" value="'.$param['w_allow_other_num'].'" name="'.$id.'_allow_other_numform_id_temp" id="'.$id.'_allow_other_numform_id_temp"><input type="hidden" value="'.$param['w_field_option_pos'].'" id="'.$id.'_option_left_right"><div style="display: table;"><div id="'.$id.'_table_little" style="display: table-row-group;">';
|
1579 |
|
1580 |
if($param['w_flow']=='hor')
|
1581 |
{
|
1582 |
$rep.= '<div id="'.$id.'_hor" style="display: table-row;">';
|
1583 |
foreach($param['w_choices'] as $key => $choice)
|
1584 |
{
|
1585 |
+
$where ='';
|
1586 |
+
$order_by ='';
|
1587 |
+
$db_info ='';
|
1588 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
1589 |
+
{
|
1590 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
1591 |
+
$where = "where='".$w_choices_params[0]."'";
|
1592 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
1593 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
1594 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
1595 |
+
}
|
1596 |
+
|
1597 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.$key.'" idi="'.$key.'" style="display: table-cell;"><input type="radio" id="'.$id.'_elementform_id_temp'.$key.'" name="'.$id.'_elementform_id_temp" value="'.$param['w_choices_price'][$key].'" onclick="set_default("'.$id.'","'.$key.'","form_id_temp")" '.$param['w_choices_checked'][$key].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.$key.'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.$key.'" '.$where.' '.$order_by.' '.$db_info.'>'.$choice.'</label></div>';
|
1598 |
}
|
1599 |
$rep.= '</div>';
|
1600 |
}
|
1601 |
else
|
1602 |
{
|
1603 |
+
|
1604 |
foreach($param['w_choices'] as $key => $choice)
|
1605 |
{
|
1606 |
+
|
1607 |
+
$where ='';
|
1608 |
+
$order_by ='';
|
1609 |
+
$db_info ='';
|
1610 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
1611 |
+
{
|
1612 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
1613 |
+
$where = "where='".$w_choices_params[0]."'";
|
1614 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
1615 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
1616 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
1617 |
+
}
|
1618 |
+
|
1619 |
+
$rep.='<div id="'.$id.'_element_tr'.$key.'" style="display: table-row;"><div valign="top" id="'.$id.'_td_little'.$key.'" idi="'.$key.'" style="display: table-cell;"><input type="radio" id="'.$id.'_elementform_id_temp'.$key.'" name="'.$id.'_elementform_id_temp" value="'.$param['w_choices_price'][$key].'" onclick="set_default("'.$id.'","'.$key.'","form_id_temp")" '.$param['w_choices_checked'][$key].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.$key.'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.$key.'" '.$where.' '.$order_by.' '.$db_info.'>'.$choice.'</label></div></div>';
|
1620 |
+
}
|
1621 |
+
|
1622 |
}
|
1623 |
$rep.='</div></div>';
|
1624 |
|
1649 |
case 'type_paypal_shipping':
|
1650 |
{
|
1651 |
|
1652 |
+
$params_names=array('w_field_label_size','w_field_label_pos', 'w_field_option_pos', 'w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
1653 |
$temp=$params;
|
1654 |
+
if(strpos($temp, 'w_field_option_pos') > -1)
|
1655 |
+
$params_names=array('w_field_label_size','w_field_label_pos', 'w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_choices_params','w_class');
|
1656 |
foreach($params_names as $params_name )
|
1657 |
{
|
1658 |
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1667 |
foreach($attrs as $attr)
|
1668 |
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
1669 |
}
|
1670 |
+
if(!isset($param['w_field_option_pos']))
|
1671 |
+
$param['w_field_option_pos'] = 'left';
|
1672 |
+
|
1673 |
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "table-cell" : "block");
|
1674 |
$required_sym = ($param['w_required']=="yes" ? " *" : "");
|
1675 |
$param['w_choices'] = explode('***',$param['w_choices']);
|
1678 |
|
1679 |
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
1680 |
|
1681 |
+
if(isset($param['w_choices_params']))
|
1682 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
1683 |
+
|
1684 |
foreach($param['w_choices_checked'] as $key => $choices_checked )
|
1685 |
{
|
1686 |
if($choices_checked=='true')
|
1689 |
$param['w_choices_checked'][$key]='';
|
1690 |
}
|
1691 |
|
1692 |
+
$rep='<div id="wdform_field'.$id.'" type="type_paypal_shipping" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="wd_form_label" style="vertical-align: top;">'.$label.'</span><span id="'.$id.'_required_elementform_id_temp" class="required" style="vertical-align: top;">'.$required_sym.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].'; vertical-align:top;"><input type="hidden" value="type_paypal_shipping" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><input type="hidden" value="'.$param['w_required'].'" name="'.$id.'_requiredform_id_temp" id="'.$id.'_requiredform_id_temp"><input type="hidden" value="'.$param['w_randomize'].'" name="'.$id.'_randomizeform_id_temp" id="'.$id.'_randomizeform_id_temp"><input type="hidden" value="'.$param['w_allow_other'].'" name="'.$id.'_allow_otherform_id_temp" id="'.$id.'_allow_otherform_id_temp"><input type="hidden" value="'.$param['w_allow_other_num'].'" name="'.$id.'_allow_other_numform_id_temp" id="'.$id.'_allow_other_numform_id_temp"><input type="hidden" value="'.$param['w_field_option_pos'].'" id="'.$id.'_option_left_right"><div style="display: table;"><div id="'.$id.'_table_little" style="display: table-row-group;">';
|
1693 |
|
1694 |
if($param['w_flow']=='hor')
|
1695 |
{
|
1696 |
$rep.= '<div id="'.$id.'_hor" style="display: table-row;">';
|
1697 |
foreach($param['w_choices'] as $key => $choice)
|
1698 |
{
|
1699 |
+
$where ='';
|
1700 |
+
$order_by ='';
|
1701 |
+
$db_info ='';
|
1702 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
1703 |
+
{
|
1704 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
1705 |
+
$where = "where='".$w_choices_params[0]."'";
|
1706 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
1707 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
1708 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
1709 |
+
}
|
1710 |
+
|
1711 |
+
$rep.='<div valign="top" id="'.$id.'_td_little'.$key.'" idi="'.$key.'" style="display: table-cell;"><input type="radio" id="'.$id.'_elementform_id_temp'.$key.'" name="'.$id.'_elementform_id_temp" value="'.$param['w_choices_price'][$key].'" onclick="set_default("'.$id.'","'.$key.'","form_id_temp")" '.$param['w_choices_checked'][$key].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.$key.'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.$key.'" '.$where.' '.$order_by.' '.$db_info.'>'.$choice.'</label></div>';
|
1712 |
}
|
1713 |
$rep.= '</div>';
|
1714 |
}
|
1715 |
else
|
1716 |
{
|
1717 |
+
|
1718 |
foreach($param['w_choices'] as $key => $choice)
|
1719 |
{
|
1720 |
+
$where ='';
|
1721 |
+
$order_by ='';
|
1722 |
+
$db_info ='';
|
1723 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
1724 |
+
{
|
1725 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
1726 |
+
$where = "where='".$w_choices_params[0]."'";
|
1727 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
1728 |
+
$order_by = "order_by='".$w_choices_params[0]."'";
|
1729 |
+
$db_info = "db_info='".$w_choices_params[1]."'";
|
1730 |
+
}
|
1731 |
+
|
1732 |
+
$rep.='<div id="'.$id.'_element_tr'.$key.'" style="display: table-row;"><div valign="top" id="'.$id.'_td_little'.$key.'" idi="'.$key.'" style="display: table-cell;"><input type="radio" id="'.$id.'_elementform_id_temp'.$key.'" name="'.$id.'_elementform_id_temp" value="'.$param['w_choices_price'][$key].'" onclick="set_default("'.$id.'","'.$key.'","form_id_temp")" '.$param['w_choices_checked'][$key].' '.$param['attributes'].' '.($param['w_field_option_pos']=='right' ? 'style="float:left !important;"' : "").' disabled/><label id="'.$id.'_label_element'.$key.'" class="ch-rad-label" for="'.$id.'_elementform_id_temp'.$key.'" '.$where.' '.$order_by.' '.$db_info.'>'.$choice.'</label></div></div>';
|
1733 |
+
}
|
1734 |
+
|
1735 |
}
|
1736 |
$rep.='</div></div>';
|
1737 |
|
1738 |
+
$rep.='</div></div>';
|
1739 |
+
|
1740 |
+
break;
|
1741 |
}
|
1742 |
case 'type_paypal_total':
|
1743 |
{
|
admin/models/FMModelSelect_data_from_db.php
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FMModelSelect_data_from_db {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
// Constructor & Destructor //
|
15 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
+
public function __construct() {
|
17 |
+
}
|
18 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
// Public Methods //
|
20 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
+
|
22 |
+
function get_labels($form_id) {
|
23 |
+
global $wpdb;
|
24 |
+
$rows = $wpdb->get_var("SELECT label_order_current FROM " . $wpdb->prefix . "formmaker where id=" . $form_id);
|
25 |
+
return $rows;
|
26 |
+
}
|
27 |
+
function get_tables() {
|
28 |
+
global $wpdb;
|
29 |
+
$con_type = $_POST['con_type'];
|
30 |
+
|
31 |
+
if($con_type == 'local') {
|
32 |
+
$query = "SHOW TABLES";
|
33 |
+
$tables = $wpdb->get_col($query);
|
34 |
+
}
|
35 |
+
else if($con_type == 'remote') {
|
36 |
+
$username = isset($_POST['username']) ? $_POST['username'] : '';
|
37 |
+
$password = isset($_POST['password']) ? $_POST['password'] : '';
|
38 |
+
$database = isset($_POST['database']) ? $_POST['database'] : '';
|
39 |
+
$host = isset($_POST['host']) ? $_POST['host'] : '';
|
40 |
+
$wpdb_temp = new wpdb($username, $password, $database, $host);
|
41 |
+
$query = "SHOW TABLES";
|
42 |
+
$tables = $wpdb_temp->get_col($query);
|
43 |
+
}
|
44 |
+
//$wpdb= new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
|
45 |
+
return $tables;
|
46 |
+
}
|
47 |
+
|
48 |
+
function get_tables_saved($con_type, $username, $password, $database, $host) {
|
49 |
+
global $wpdb;
|
50 |
+
|
51 |
+
if($con_type == 'local') {
|
52 |
+
$query = "SHOW TABLES";
|
53 |
+
$tables = $wpdb->get_col($query);
|
54 |
+
}
|
55 |
+
else if($con_type == 'remote') {
|
56 |
+
$wpdb_temp = new wpdb($username, $password, $database, $host);
|
57 |
+
$query = "SHOW TABLES";
|
58 |
+
$tables = $wpdb_temp->get_col($query);
|
59 |
+
}
|
60 |
+
//$wpdb= new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
|
61 |
+
return $tables;
|
62 |
+
}
|
63 |
+
|
64 |
+
function get_table_struct() {
|
65 |
+
global $wpdb;
|
66 |
+
$name = isset($_POST['name']) ? $_POST['name'] : NULL;
|
67 |
+
if(!$name)
|
68 |
+
return array();
|
69 |
+
$con_method = $_POST['con_method'];
|
70 |
+
$con_type = $_POST['con_type'];
|
71 |
+
$query = "SHOW COLUMNS FROM " . $name;
|
72 |
+
if($con_type == 'remote') {
|
73 |
+
$username = isset($_POST['username']) ? $_POST['username'] : '';
|
74 |
+
$password = isset($_POST['password']) ? $_POST['password'] : '';
|
75 |
+
$database = isset($_POST['database']) ? $_POST['database'] : '';
|
76 |
+
$host = isset($_POST['host']) ? $_POST['host'] : '';
|
77 |
+
$wpdb_temp = new wpdb($username, $password, $database, $host);
|
78 |
+
$table_struct = $wpdb_temp->get_results($query);
|
79 |
+
}
|
80 |
+
else {
|
81 |
+
$table_struct = $wpdb->get_results($query);
|
82 |
+
}
|
83 |
+
//$wpdb= new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
|
84 |
+
return $table_struct;
|
85 |
+
}
|
86 |
+
|
87 |
+
function get_table_struct_saved($con_type, $username, $password, $database, $host, $name, $con_method) {
|
88 |
+
global $wpdb;
|
89 |
+
if(!$name)
|
90 |
+
return array();
|
91 |
+
$query = "SHOW COLUMNS FROM " . $name;
|
92 |
+
if($con_type == 'remote') {
|
93 |
+
$wpdb_temp = new wpdb($username, $password, $database, $host);
|
94 |
+
$table_struct = $wpdb_temp->get_results($query);
|
95 |
+
}
|
96 |
+
else {
|
97 |
+
$table_struct = $wpdb->get_results($query);
|
98 |
+
}
|
99 |
+
//$wpdb= new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
|
100 |
+
return $table_struct;
|
101 |
+
}
|
102 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
103 |
+
// Getters & Setters //
|
104 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
105 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
106 |
+
// Private Methods //
|
107 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
108 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
109 |
+
// Listeners //
|
110 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
111 |
+
}
|
admin/models/FMModelSubmissions_fm.php
CHANGED
@@ -77,6 +77,8 @@ class FMModelSubmissions_fm {
|
|
77 |
|
78 |
$lists['username_search'] = ((isset($_POST['username_search'])) ? esc_html(stripslashes($_POST['username_search'])) : '');
|
79 |
$lists['useremail_search'] = ((isset($_POST['useremail_search'])) ? esc_html(stripslashes($_POST['useremail_search'])) : '');
|
|
|
|
|
80 |
if ($lists['ip_search']) {
|
81 |
$where[] = 'ip LIKE "%' . $lists['ip_search'] . '%"';
|
82 |
}
|
@@ -94,6 +96,11 @@ class FMModelSubmissions_fm {
|
|
94 |
if ($lists['useremail_search']) {
|
95 |
$where[] = 'user_id_wd IN (SELECT ID FROM ' . $wpdb->prefix . 'users WHERE user_email LIKE "%'.$lists['useremail_search'].'%")';
|
96 |
}
|
|
|
|
|
|
|
|
|
|
|
97 |
$where[] = 'form_id=' . $form_id . '';
|
98 |
$where = (count($where) ? ' ' . implode(' AND ', $where) : '');
|
99 |
if ($order_by == 'group_id' or $order_by == 'date' or $order_by == 'ip') {
|
@@ -599,6 +606,54 @@ class FMModelSubmissions_fm {
|
|
599 |
array_push($type_matrix_array, $new_filename);
|
600 |
return $type_matrix_array;
|
601 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
602 |
}
|
603 |
|
604 |
?>
|
77 |
|
78 |
$lists['username_search'] = ((isset($_POST['username_search'])) ? esc_html(stripslashes($_POST['username_search'])) : '');
|
79 |
$lists['useremail_search'] = ((isset($_POST['useremail_search'])) ? esc_html(stripslashes($_POST['useremail_search'])) : '');
|
80 |
+
$lists['id_search'] = ((isset($_POST['id_search'])) ? esc_html(stripslashes($_POST['id_search'])) : '');
|
81 |
+
|
82 |
if ($lists['ip_search']) {
|
83 |
$where[] = 'ip LIKE "%' . $lists['ip_search'] . '%"';
|
84 |
}
|
96 |
if ($lists['useremail_search']) {
|
97 |
$where[] = 'user_id_wd IN (SELECT ID FROM ' . $wpdb->prefix . 'users WHERE user_email LIKE "%'.$lists['useremail_search'].'%")';
|
98 |
}
|
99 |
+
|
100 |
+
if ($lists['id_search']) {
|
101 |
+
$where[] = 'group_id ='.$lists['id_search'];
|
102 |
+
}
|
103 |
+
|
104 |
$where[] = 'form_id=' . $form_id . '';
|
105 |
$where = (count($where) ? ' ' . implode(' AND ', $where) : '');
|
106 |
if ($order_by == 'group_id' or $order_by == 'date' or $order_by == 'ip') {
|
606 |
array_push($type_matrix_array, $new_filename);
|
607 |
return $type_matrix_array;
|
608 |
}
|
609 |
+
|
610 |
+
public function select_data_from_db_for_labels($db_info,$label_column, $table, $where, $order_by) {
|
611 |
+
global $wpdb;
|
612 |
+
|
613 |
+
$query = "SELECT `" . $label_column . "` FROM " . $table . $where . " ORDER BY " . $order_by;
|
614 |
+
if($db_info) {
|
615 |
+
$temp = explode('@@@wdfhostwdf@@@',$db_info);
|
616 |
+
$host = $temp[0];
|
617 |
+
$temp = explode('@@@wdfportwdf@@@',$temp[1]);
|
618 |
+
$port = $temp[0];
|
619 |
+
$temp = explode('@@@wdfusernamewdf@@@',$temp[1]);
|
620 |
+
$username = $temp[0];
|
621 |
+
$temp = explode('@@@wdfpasswordwdf@@@',$temp[1]);
|
622 |
+
$password = $temp[0];
|
623 |
+
$temp = explode('@@@wdfdatabasewdf@@@',$temp[1]);
|
624 |
+
$database = $temp[0];
|
625 |
+
|
626 |
+
$wpdb_temp = new wpdb($username, $password, $database, $host);
|
627 |
+
$choices_labels = $wpdb_temp->get_col($query);
|
628 |
+
}
|
629 |
+
else {
|
630 |
+
$choices_labels = $wpdb->get_col($query);
|
631 |
+
}
|
632 |
+
return $choices_labels;
|
633 |
+
}
|
634 |
+
public function select_data_from_db_for_values($db_info,$value_column, $table, $where, $order_by) {
|
635 |
+
global $wpdb;
|
636 |
+
$query = "SELECT `" . $value_column . "` FROM " . $table . $where . " ORDER BY " . $order_by;
|
637 |
+
if($db_info) {
|
638 |
+
$temp = explode('@@@wdfhostwdf@@@',$db_info);
|
639 |
+
$host = $temp[0];
|
640 |
+
$temp = explode('@@@wdfportwdf@@@',$temp[1]);
|
641 |
+
$port = $temp[0];
|
642 |
+
$temp = explode('@@@wdfusernamewdf@@@',$temp[1]);
|
643 |
+
$username = $temp[0];
|
644 |
+
$temp = explode('@@@wdfpasswordwdf@@@',$temp[1]);
|
645 |
+
$password = $temp[0];
|
646 |
+
$temp = explode('@@@wdfdatabasewdf@@@',$temp[1]);
|
647 |
+
$database = $temp[0];
|
648 |
+
|
649 |
+
$wpdb_temp = new wpdb($username, $password, $database, $host);
|
650 |
+
$choices_values = $wpdb_temp->get_col($query);
|
651 |
+
}
|
652 |
+
else {
|
653 |
+
$choices_values = $wpdb->get_col($query);
|
654 |
+
}
|
655 |
+
return $choices_values;
|
656 |
+
}
|
657 |
}
|
658 |
|
659 |
?>
|
admin/views/FMViewFormmakerwindow.php
CHANGED
@@ -32,7 +32,7 @@ class FMViewFormmakerwindow {
|
|
32 |
<script language="javascript" type="text/javascript" src="<?php echo site_url(); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
|
33 |
<script language="javascript" type="text/javascript" src="<?php echo site_url(); ?>/wp-includes/js/tinymce/utils/mctabs.js"></script>
|
34 |
<script language="javascript" type="text/javascript" src="<?php echo site_url(); ?>/wp-includes/js/tinymce/utils/form_utils.js"></script>
|
35 |
-
|
36 |
<?php
|
37 |
wp_print_scripts('jquery');
|
38 |
?>
|
@@ -270,7 +270,7 @@ class FMViewFormmakerwindow {
|
|
270 |
window.tinyMCE.execCommand('mceInsertContent', false, tagtext);
|
271 |
tinyMCEPopup.close();
|
272 |
}
|
273 |
-
}
|
274 |
else {
|
275 |
alert("Front end submissions are disabled in free version.");
|
276 |
}
|
32 |
<script language="javascript" type="text/javascript" src="<?php echo site_url(); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
|
33 |
<script language="javascript" type="text/javascript" src="<?php echo site_url(); ?>/wp-includes/js/tinymce/utils/mctabs.js"></script>
|
34 |
<script language="javascript" type="text/javascript" src="<?php echo site_url(); ?>/wp-includes/js/tinymce/utils/form_utils.js"></script>
|
35 |
+
|
36 |
<?php
|
37 |
wp_print_scripts('jquery');
|
38 |
?>
|
270 |
window.tinyMCE.execCommand('mceInsertContent', false, tagtext);
|
271 |
tinyMCEPopup.close();
|
272 |
}
|
273 |
+
}
|
274 |
else {
|
275 |
alert("Front end submissions are disabled in free version.");
|
276 |
}
|
admin/views/FMViewManage_fm.php
CHANGED
@@ -31,6 +31,7 @@ class FMViewManage_fm {
|
|
31 |
$order_by = (isset($_POST['order_by']) ? esc_html($_POST['order_by']) : 'id');
|
32 |
$order_class = 'manage-column column-title sorted ' . $asc_or_desc;
|
33 |
$ids_string = '';
|
|
|
34 |
?>
|
35 |
<div style="clear: both; float: left; width: 99%;">
|
36 |
<div style="float:left; font-size: 14px; font-weight: bold;">
|
@@ -170,7 +171,7 @@ class FMViewManage_fm {
|
|
170 |
<script type="text/javascript">
|
171 |
var plugin_url = "<?php echo WD_FM_URL; ?>";
|
172 |
</script>
|
173 |
-
<script src="<?php echo WD_FM_URL . '/js/formmaker_div_free.js
|
174 |
<script type="text/javascript">
|
175 |
form_view = 1;
|
176 |
form_view_count = 1;
|
@@ -264,7 +265,7 @@ class FMViewManage_fm {
|
|
264 |
id_for_country = addr_id;
|
265 |
if (document.getElementById(id_for_country + "_mini_label_street1"))
|
266 |
tox = tox + addr_id + '#**id**#' + document.getElementById(id_for_country + "_mini_label_street1").innerHTML + '#**label**#type_address#****#';
|
267 |
-
addr_id++;
|
268 |
if (document.getElementById(id_for_country + "_mini_label_street2"))
|
269 |
tox = tox + addr_id + '#**id**#' + document.getElementById(id_for_country + "_mini_label_street2").innerHTML + '#**label**#type_address#****#';
|
270 |
addr_id++;
|
@@ -288,8 +289,10 @@ class FMViewManage_fm {
|
|
288 |
form_fields += wdid + "*:*id*:*";
|
289 |
form_fields += wdtype + "*:*type*:*";
|
290 |
w_choices = new Array();
|
|
|
291 |
w_choices_checked = new Array();
|
292 |
w_choices_disabled = new Array();
|
|
|
293 |
w_allow_other_num = 0;
|
294 |
w_property = new Array();
|
295 |
w_property_type = new Array();
|
@@ -298,7 +301,7 @@ class FMViewManage_fm {
|
|
298 |
if (document.getElementById(id+'_element_labelform_id_temp').innerHTML) {
|
299 |
w_field_label = document.getElementById(id + '_element_labelform_id_temp').innerHTML.replace(/(\r\n|\n|\r)/gm," ");
|
300 |
}
|
301 |
-
else {
|
302 |
w_field_label = " ";
|
303 |
}
|
304 |
if (document.getElementById(id + '_label_sectionform_id_temp')) {
|
@@ -356,7 +359,7 @@ class FMViewManage_fm {
|
|
356 |
}
|
357 |
document.getElementById('label_order').value = tox;
|
358 |
document.getElementById('form_fields').value = form_fields;
|
359 |
-
refresh_();
|
360 |
document.getElementById('pagination').value=document.getElementById('pages').getAttribute("type");
|
361 |
document.getElementById('show_title').value=document.getElementById('pages').getAttribute("show_title");
|
362 |
document.getElementById('show_numbers').value=document.getElementById('pages').getAttribute("show_numbers");
|
@@ -448,7 +451,7 @@ class FMViewManage_fm {
|
|
448 |
|
449 |
<div class="formmaker_table" width="100%">
|
450 |
<div style="float: left; text-align: center;"><br />
|
451 |
-
<img src="<?php echo WD_FM_URL . '/images/
|
452 |
<img src="<?php echo WD_FM_URL . '/images/logo.png'; ?>" />
|
453 |
</div>
|
454 |
<div style="float:right">
|
@@ -1227,7 +1230,7 @@ class FMViewManage_fm {
|
|
1227 |
<script type="text/javascript">
|
1228 |
var plugin_url = "<?php echo WD_FM_URL; ?>";
|
1229 |
</script>
|
1230 |
-
<script src="<?php echo WD_FM_URL . '/js/formmaker_free.js
|
1231 |
<script type="text/javascript">
|
1232 |
function submitbutton() {
|
1233 |
if (!document.getElementById('araqel') || (document.getElementById('araqel').value == '0')) {
|
@@ -1415,7 +1418,7 @@ class FMViewManage_fm {
|
|
1415 |
|
1416 |
<div class="formmaker_table" width="100%">
|
1417 |
<div style="float: left; text-align: center;"><br />
|
1418 |
-
<img src="<?php echo WD_FM_URL . '/images/
|
1419 |
<img src="<?php echo WD_FM_URL . '/images/logo.png'; ?>" />
|
1420 |
</div>
|
1421 |
<div style="float:right">
|
@@ -2624,7 +2627,7 @@ class FMViewManage_fm {
|
|
2624 |
</script>
|
2625 |
<?php
|
2626 |
}
|
2627 |
-
|
2628 |
public function form_options($id) {
|
2629 |
$row = $this->model->get_row_data($id);
|
2630 |
$themes = $this->model->get_theme_rows_data();
|
@@ -3036,7 +3039,7 @@ class FMViewManage_fm {
|
|
3036 |
<legend style="color: #0B55C4; font-weight: bold;">Email Options</legend>
|
3037 |
<table class="admintable">
|
3038 |
<tr valign="top">
|
3039 |
-
<td style="padding: 15px; width:
|
3040 |
<label>Send E-mail</label>
|
3041 |
</td>
|
3042 |
<td style="padding: 15px;">
|
@@ -3115,7 +3118,7 @@ class FMViewManage_fm {
|
|
3115 |
echo '<div style="position:relative; top:-3px;"><div id="mail_from_labels" class="email_labels" style="display:none;">';
|
3116 |
echo "<a onClick=\"insertAtCursor(".$choise.",'username'); document.getElementById('mail_from_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">Username</a>";
|
3117 |
for($i=0; $i<count($label_label); $i++)
|
3118 |
-
{
|
3119 |
if($label_type[$i]=="type_submit_reset" || $label_type[$i]=="type_editor" || $label_type[$i]=="type_map" || $label_type[$i]=="type_mark_map" || $label_type[$i]=="type_captcha"|| $label_type[$i]=="type_recaptcha" || $label_type[$i]=="type_button" || $label_type[$i]=="type_file_upload" || $label_type[$i]=="type_send_copy" || $label_type[$i]=="type_matrix")
|
3120 |
continue;
|
3121 |
|
@@ -3129,9 +3132,12 @@ class FMViewManage_fm {
|
|
3129 |
$fld_label = $fld_label[0] . ' ...';
|
3130 |
}
|
3131 |
|
3132 |
-
echo "<a onClick=\"insertAtCursor(".$choise.",'".$param."'); document.getElementById('mail_from_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">".$fld_label."</a>";
|
3133 |
|
3134 |
}
|
|
|
|
|
|
|
3135 |
echo '</div></div>';
|
3136 |
?>
|
3137 |
</td>
|
@@ -3168,7 +3174,7 @@ class FMViewManage_fm {
|
|
3168 |
<label> CC: </label>
|
3169 |
</td>
|
3170 |
<td class="fm_options_value">
|
3171 |
-
<input
|
3172 |
</td>
|
3173 |
</tr>
|
3174 |
<tr valign="top">
|
@@ -3207,6 +3213,9 @@ class FMViewManage_fm {
|
|
3207 |
echo "<a onClick=\"insertAtCursor(".$choise.",'".$param."'); document.getElementById('mail_subject_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">".$fld_label."</a>";
|
3208 |
|
3209 |
}
|
|
|
|
|
|
|
3210 |
echo '</div></div>';
|
3211 |
?>
|
3212 |
</td>
|
@@ -3227,7 +3236,7 @@ class FMViewManage_fm {
|
|
3227 |
<td class="fm_options_value">
|
3228 |
<input type="radio" disabled="disabled" name="mail_attachment" value="1" id="en_attach" <?php if($row->mail_attachment==1 ) echo "checked" ?> /> <label for="en_attach">Yes</label>
|
3229 |
<input type="radio" disabled="disabled" name="mail_attachment" id="dis_attach" value="0" <?php if($row->mail_attachment==0 ) echo "checked" ?> /> <label for="dis_attach">No</label>
|
3230 |
-
|
3231 |
</td>
|
3232 |
</tr>
|
3233 |
<tr>
|
@@ -3239,15 +3248,26 @@ class FMViewManage_fm {
|
|
3239 |
<?php
|
3240 |
$choise = "document.getElementById('script_mail')";
|
3241 |
for ($i = 0; $i < count($label_label); $i++) {
|
3242 |
-
if ($label_type[$i]
|
3243 |
continue;
|
3244 |
}
|
3245 |
$param = htmlspecialchars(addslashes($label_label[$i]));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3246 |
?>
|
3247 |
-
<input style="border: 1px solid silver; font-size: 10px;" type="button" value="<?php echo
|
3248 |
<?php
|
3249 |
}
|
3250 |
?>
|
|
|
3251 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="Ip" onClick="insertAtCursor(<?php echo $choise; ?>,'ip')" />
|
3252 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="Username" onClick="insertAtCursor(<?php echo $choise; ?>,'username')" />
|
3253 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="User Email" onClick="insertAtCursor(<?php echo $choise; ?>,'useremail')" />
|
@@ -3332,6 +3352,9 @@ class FMViewManage_fm {
|
|
3332 |
echo "<a onClick=\"insertAtCursor(".$choise.",'".$param."'); document.getElementById('mail_from_name_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">".$fld_label."</a>";
|
3333 |
|
3334 |
}
|
|
|
|
|
|
|
3335 |
echo '</div></div>';
|
3336 |
?>
|
3337 |
</td>
|
@@ -3388,6 +3411,9 @@ class FMViewManage_fm {
|
|
3388 |
echo "<a onClick=\"insertAtCursor(".$choise.",'".$param."'); document.getElementById('mail_subject_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">".$fld_label."</a>";
|
3389 |
|
3390 |
}
|
|
|
|
|
|
|
3391 |
echo '</div></div>';
|
3392 |
?>
|
3393 |
</td>
|
@@ -3408,7 +3434,7 @@ class FMViewManage_fm {
|
|
3408 |
<td class="fm_options_value">
|
3409 |
<input type="radio" disabled="disabled" name="mail_attachment_user" value="1" id="en_attach_user" <?php if($row->mail_attachment_user==1 ) echo "checked" ?> /> <label for="en_attach_user">Yes</label>
|
3410 |
<input type="radio" disabled="disabled" name="mail_attachment_user" id="dis_attach_user" value="0" <?php if($row->mail_attachment_user==0 ) echo "checked" ?> /> <label for="dis_attach_user">No</label>
|
3411 |
-
|
3412 |
</td>
|
3413 |
</tr>
|
3414 |
<tr>
|
@@ -3424,11 +3450,21 @@ class FMViewManage_fm {
|
|
3424 |
continue;
|
3425 |
}
|
3426 |
$param = htmlspecialchars(addslashes($label_label[$i]));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3427 |
?>
|
3428 |
<input style="border: 1px solid silver; font-size: 10px;" type="button" value="<?php echo htmlspecialchars(addslashes($label_label[$i])); ?>" onClick="insertAtCursor(<?php echo $choise; ?>, '<?php echo $param; ?>')" />
|
3429 |
<?php
|
3430 |
}
|
3431 |
?>
|
|
|
3432 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="Ip" onClick="insertAtCursor(<?php echo $choise; ?>,'ip')" />
|
3433 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="Username" onClick="insertAtCursor(<?php echo $choise; ?>,'username')" />
|
3434 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="User Email" onClick="insertAtCursor(<?php echo $choise; ?>,'useremail')" />
|
@@ -3645,7 +3681,7 @@ class FMViewManage_fm {
|
|
3645 |
$all_ids = array();
|
3646 |
$all_labels = array();
|
3647 |
|
3648 |
-
$select_and_input = array("type_text", "type_password", "type_textarea", "type_name", "type_number", "type_phone", "type_submitter_mail", "type_address", "type_checkbox", "type_radio", "type_own_select", "type_paypal_price", "type_paypal_select", "type_paypal_checkbox", "type_paypal_radio", "type_paypal_shipping");
|
3649 |
$select_type_fields = array("type_address", "type_checkbox", "type_radio", "type_own_select", "type_paypal_select", "type_paypal_checkbox", "type_paypal_radio", "type_paypal_shipping");
|
3650 |
|
3651 |
$fields=explode('*:*new_field*:*',$row->form_fields);
|
@@ -3725,7 +3761,7 @@ class FMViewManage_fm {
|
|
3725 |
<div>
|
3726 |
<span style="font-size:13px;">Add Condition<span/>
|
3727 |
<img src="<?php echo WD_FM_URL . '/images/add_condition.png'; ?>" title="add" onclick="add_condition('<?php echo $chose_ids; ?>', '<?php echo htmlspecialchars(addslashes($chose_labels)); ?>', '<?php echo $chose_types; ?>', '<?php echo htmlspecialchars(addslashes($chose_paramss)); ?>', '<?php echo $all_ids_cond; ?>', '<?php echo htmlspecialchars(addslashes($all_labels_cond)); ?>')" style="cursor: pointer; vertical-align: middle; margin-left:15px;">
|
3728 |
-
|
3729 |
<?php
|
3730 |
|
3731 |
for($k=0; $k<$count_of_conditions; $k++)
|
@@ -3734,7 +3770,7 @@ class FMViewManage_fm {
|
|
3734 |
if(in_array($field_label[$k],$all_ids)) : ?>
|
3735 |
<div id="condition<?php echo $k; ?>" >
|
3736 |
<div id="conditional_fileds<?php echo $k; ?>">
|
3737 |
-
<select id="show_hide<?php echo $k; ?>" name="show_hide<?php echo $k; ?>" style="width:
|
3738 |
<option value="1" <?php if($show_hide[$k]==1) echo 'selected="selected"'; ?>>show</option>
|
3739 |
<option value="0" <?php if($show_hide[$k]==0) echo 'selected="selected"'; ?>>hide</option>
|
3740 |
</select>
|
@@ -3754,7 +3790,7 @@ class FMViewManage_fm {
|
|
3754 |
</select>
|
3755 |
<span>if</span>
|
3756 |
|
3757 |
-
<select id="all_any<?php echo $k; ?>" name="all_any<?php echo $k; ?>" style="width:
|
3758 |
<option value="and" <?php if($all_any[$k]=="and") echo 'selected="selected"'; ?>>all</option>
|
3759 |
<option value="or" <?php if($all_any[$k]=="or") echo 'selected="selected"'; ?>>any</option>
|
3760 |
</select>
|
@@ -3807,9 +3843,17 @@ class FMViewManage_fm {
|
|
3807 |
<select id="is_select<?php echo $k; ?>_<?php echo $key; ?>" style="vertical-align: top;">
|
3808 |
<option value="==" <?php if($param_values[1]=="==") echo 'selected="selected"'; ?>>is</option>
|
3809 |
<option value="!=" <?php if($param_values[1]=="!=") echo 'selected="selected"'; ?>>is not</option>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3810 |
</select>
|
3811 |
|
3812 |
-
<?php if ($key_select_or_input
|
3813 |
<select id="field_value<?php echo $k; ?>_<?php echo $key; ?>" <?php echo $multiple; ?> style="vertical-align: top; width: 200px;">
|
3814 |
<?php
|
3815 |
switch($types[$key_select_or_input])
|
@@ -3848,7 +3892,9 @@ class FMViewManage_fm {
|
|
3848 |
else
|
3849 |
$selected ='';
|
3850 |
|
3851 |
-
|
|
|
|
|
3852 |
}
|
3853 |
|
3854 |
if($types[$key_select_or_input]=="type_address")
|
31 |
$order_by = (isset($_POST['order_by']) ? esc_html($_POST['order_by']) : 'id');
|
32 |
$order_class = 'manage-column column-title sorted ' . $asc_or_desc;
|
33 |
$ids_string = '';
|
34 |
+
|
35 |
?>
|
36 |
<div style="clear: both; float: left; width: 99%;">
|
37 |
<div style="float:left; font-size: 14px; font-weight: bold;">
|
171 |
<script type="text/javascript">
|
172 |
var plugin_url = "<?php echo WD_FM_URL; ?>";
|
173 |
</script>
|
174 |
+
<script src="<?php echo WD_FM_URL . '/js/formmaker_div_free.js'; ?>?ver=<?php echo get_option("wd_form_maker_version"); ?>" type="text/javascript"></script>
|
175 |
<script type="text/javascript">
|
176 |
form_view = 1;
|
177 |
form_view_count = 1;
|
265 |
id_for_country = addr_id;
|
266 |
if (document.getElementById(id_for_country + "_mini_label_street1"))
|
267 |
tox = tox + addr_id + '#**id**#' + document.getElementById(id_for_country + "_mini_label_street1").innerHTML + '#**label**#type_address#****#';
|
268 |
+
addr_id++;
|
269 |
if (document.getElementById(id_for_country + "_mini_label_street2"))
|
270 |
tox = tox + addr_id + '#**id**#' + document.getElementById(id_for_country + "_mini_label_street2").innerHTML + '#**label**#type_address#****#';
|
271 |
addr_id++;
|
289 |
form_fields += wdid + "*:*id*:*";
|
290 |
form_fields += wdtype + "*:*type*:*";
|
291 |
w_choices = new Array();
|
292 |
+
w_choices_value=new Array();
|
293 |
w_choices_checked = new Array();
|
294 |
w_choices_disabled = new Array();
|
295 |
+
w_choices_params =new Array();
|
296 |
w_allow_other_num = 0;
|
297 |
w_property = new Array();
|
298 |
w_property_type = new Array();
|
301 |
if (document.getElementById(id+'_element_labelform_id_temp').innerHTML) {
|
302 |
w_field_label = document.getElementById(id + '_element_labelform_id_temp').innerHTML.replace(/(\r\n|\n|\r)/gm," ");
|
303 |
}
|
304 |
+
else {
|
305 |
w_field_label = " ";
|
306 |
}
|
307 |
if (document.getElementById(id + '_label_sectionform_id_temp')) {
|
359 |
}
|
360 |
document.getElementById('label_order').value = tox;
|
361 |
document.getElementById('form_fields').value = form_fields;
|
362 |
+
refresh_();
|
363 |
document.getElementById('pagination').value=document.getElementById('pages').getAttribute("type");
|
364 |
document.getElementById('show_title').value=document.getElementById('pages').getAttribute("show_title");
|
365 |
document.getElementById('show_numbers').value=document.getElementById('pages').getAttribute("show_numbers");
|
451 |
|
452 |
<div class="formmaker_table" width="100%">
|
453 |
<div style="float: left; text-align: center;"><br />
|
454 |
+
<img src="<?php echo WD_FM_URL . '/images/FormMaker.png'; ?>" /><br /><br />
|
455 |
<img src="<?php echo WD_FM_URL . '/images/logo.png'; ?>" />
|
456 |
</div>
|
457 |
<div style="float:right">
|
1230 |
<script type="text/javascript">
|
1231 |
var plugin_url = "<?php echo WD_FM_URL; ?>";
|
1232 |
</script>
|
1233 |
+
<script src="<?php echo WD_FM_URL . '/js/formmaker_free.js'; ?>?ver=<?php echo get_option("wd_form_maker_version"); ?>" type="text/javascript"></script>
|
1234 |
<script type="text/javascript">
|
1235 |
function submitbutton() {
|
1236 |
if (!document.getElementById('araqel') || (document.getElementById('araqel').value == '0')) {
|
1418 |
|
1419 |
<div class="formmaker_table" width="100%">
|
1420 |
<div style="float: left; text-align: center;"><br />
|
1421 |
+
<img src="<?php echo WD_FM_URL . '/images/FormMaker.png'; ?>" /><br /><br />
|
1422 |
<img src="<?php echo WD_FM_URL . '/images/logo.png'; ?>" />
|
1423 |
</div>
|
1424 |
<div style="float:right">
|
2627 |
</script>
|
2628 |
<?php
|
2629 |
}
|
2630 |
+
|
2631 |
public function form_options($id) {
|
2632 |
$row = $this->model->get_row_data($id);
|
2633 |
$themes = $this->model->get_theme_rows_data();
|
3039 |
<legend style="color: #0B55C4; font-weight: bold;">Email Options</legend>
|
3040 |
<table class="admintable">
|
3041 |
<tr valign="top">
|
3042 |
+
<td style="padding: 15px; width:75px;">
|
3043 |
<label>Send E-mail</label>
|
3044 |
</td>
|
3045 |
<td style="padding: 15px;">
|
3118 |
echo '<div style="position:relative; top:-3px;"><div id="mail_from_labels" class="email_labels" style="display:none;">';
|
3119 |
echo "<a onClick=\"insertAtCursor(".$choise.",'username'); document.getElementById('mail_from_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">Username</a>";
|
3120 |
for($i=0; $i<count($label_label); $i++)
|
3121 |
+
{
|
3122 |
if($label_type[$i]=="type_submit_reset" || $label_type[$i]=="type_editor" || $label_type[$i]=="type_map" || $label_type[$i]=="type_mark_map" || $label_type[$i]=="type_captcha"|| $label_type[$i]=="type_recaptcha" || $label_type[$i]=="type_button" || $label_type[$i]=="type_file_upload" || $label_type[$i]=="type_send_copy" || $label_type[$i]=="type_matrix")
|
3123 |
continue;
|
3124 |
|
3132 |
$fld_label = $fld_label[0] . ' ...';
|
3133 |
}
|
3134 |
|
3135 |
+
echo "<a onClick=\"insertAtCursor(".$choise.",'".$param."'); document.getElementById('mail_from_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">".$fld_label."</a>";
|
3136 |
|
3137 |
}
|
3138 |
+
echo "<a onClick=\"insertAtCursor(".$choise.",'subid'); document.getElementById('mail_from_name_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">Submission ID</a>";
|
3139 |
+
|
3140 |
+
echo "<a onClick=\"insertAtCursor(".$choise.",'username'); document.getElementById('mail_from_name_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">Username</a>";
|
3141 |
echo '</div></div>';
|
3142 |
?>
|
3143 |
</td>
|
3174 |
<label> CC: </label>
|
3175 |
</td>
|
3176 |
<td class="fm_options_value">
|
3177 |
+
<input type="text" id="mail_cc" name="mail_cc" value="<?php echo $row->mail_cc ?>" style="width:250px;" />
|
3178 |
</td>
|
3179 |
</tr>
|
3180 |
<tr valign="top">
|
3213 |
echo "<a onClick=\"insertAtCursor(".$choise.",'".$param."'); document.getElementById('mail_subject_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">".$fld_label."</a>";
|
3214 |
|
3215 |
}
|
3216 |
+
echo "<a onClick=\"insertAtCursor(".$choise.",'subid'); document.getElementById('mail_from_name_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">Submission ID</a>";
|
3217 |
+
|
3218 |
+
echo "<a onClick=\"insertAtCursor(".$choise.",'username'); document.getElementById('mail_from_name_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">Username</a>";
|
3219 |
echo '</div></div>';
|
3220 |
?>
|
3221 |
</td>
|
3236 |
<td class="fm_options_value">
|
3237 |
<input type="radio" disabled="disabled" name="mail_attachment" value="1" id="en_attach" <?php if($row->mail_attachment==1 ) echo "checked" ?> /> <label for="en_attach">Yes</label>
|
3238 |
<input type="radio" disabled="disabled" name="mail_attachment" id="dis_attach" value="0" <?php if($row->mail_attachment==0 ) echo "checked" ?> /> <label for="dis_attach">No</label>
|
3239 |
+
<div class="error" style="padding: 5px; font-size: 14px;">File attach is disabled in free version.</div>
|
3240 |
</td>
|
3241 |
</tr>
|
3242 |
<tr>
|
3248 |
<?php
|
3249 |
$choise = "document.getElementById('script_mail')";
|
3250 |
for ($i = 0; $i < count($label_label); $i++) {
|
3251 |
+
if ($label_type[$i]=="type_submit_reset" || $label_type[$i]=="type_editor" || $label_type[$i]=="type_map" || $label_type[$i]=="type_mark_map" || $label_type[$i]=="type_captcha"|| $label_type[$i]=="type_recaptcha" || $label_type[$i]=="type_button" || $label_type[$i]=="type_send_copy") {
|
3252 |
continue;
|
3253 |
}
|
3254 |
$param = htmlspecialchars(addslashes($label_label[$i]));
|
3255 |
+
$fld_label = $param;
|
3256 |
+
if(strlen($fld_label)>30)
|
3257 |
+
{
|
3258 |
+
$fld_label = wordwrap(htmlspecialchars(addslashes($label_label[$i])), 30);
|
3259 |
+
$fld_label = explode("\n", $fld_label);
|
3260 |
+
$fld_label = $fld_label[0] . ' ...';
|
3261 |
+
}
|
3262 |
+
|
3263 |
+
if($label_type[$i]=="type_file_upload")
|
3264 |
+
$fld_label .= '(as image)';
|
3265 |
?>
|
3266 |
+
<input style="border: 1px solid silver; font-size: 10px;" type="button" value="<?php echo $fld_label; ?>" onClick="insertAtCursor(<?php echo $choise; ?>, '<?php echo $param; ?>')" />
|
3267 |
<?php
|
3268 |
}
|
3269 |
?>
|
3270 |
+
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="Submission ID" onClick="insertAtCursor(<?php echo $choise; ?>,'subid')" />
|
3271 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="Ip" onClick="insertAtCursor(<?php echo $choise; ?>,'ip')" />
|
3272 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="Username" onClick="insertAtCursor(<?php echo $choise; ?>,'username')" />
|
3273 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="User Email" onClick="insertAtCursor(<?php echo $choise; ?>,'useremail')" />
|
3352 |
echo "<a onClick=\"insertAtCursor(".$choise.",'".$param."'); document.getElementById('mail_from_name_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">".$fld_label."</a>";
|
3353 |
|
3354 |
}
|
3355 |
+
echo "<a onClick=\"insertAtCursor(".$choise.",'subid'); document.getElementById('mail_from_name_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">Submission ID</a>";
|
3356 |
+
|
3357 |
+
echo "<a onClick=\"insertAtCursor(".$choise.",'username'); document.getElementById('mail_from_name_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">Username</a>";
|
3358 |
echo '</div></div>';
|
3359 |
?>
|
3360 |
</td>
|
3411 |
echo "<a onClick=\"insertAtCursor(".$choise.",'".$param."'); document.getElementById('mail_subject_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">".$fld_label."</a>";
|
3412 |
|
3413 |
}
|
3414 |
+
echo "<a onClick=\"insertAtCursor(".$choise.",'subid'); document.getElementById('mail_from_name_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">Submission ID</a>";
|
3415 |
+
|
3416 |
+
echo "<a onClick=\"insertAtCursor(".$choise.",'username'); document.getElementById('mail_from_name_user_labels').style.display='none';\" style=\"display:block; text-decoration:none;\">Username</a>";
|
3417 |
echo '</div></div>';
|
3418 |
?>
|
3419 |
</td>
|
3434 |
<td class="fm_options_value">
|
3435 |
<input type="radio" disabled="disabled" name="mail_attachment_user" value="1" id="en_attach_user" <?php if($row->mail_attachment_user==1 ) echo "checked" ?> /> <label for="en_attach_user">Yes</label>
|
3436 |
<input type="radio" disabled="disabled" name="mail_attachment_user" id="dis_attach_user" value="0" <?php if($row->mail_attachment_user==0 ) echo "checked" ?> /> <label for="dis_attach_user">No</label>
|
3437 |
+
<div class="error" style="padding: 5px; font-size: 14px;">File attach is disabled in free version.</div>
|
3438 |
</td>
|
3439 |
</tr>
|
3440 |
<tr>
|
3450 |
continue;
|
3451 |
}
|
3452 |
$param = htmlspecialchars(addslashes($label_label[$i]));
|
3453 |
+
$fld_label = $param;
|
3454 |
+
if(strlen($fld_label)>30)
|
3455 |
+
{
|
3456 |
+
$fld_label = wordwrap(htmlspecialchars(addslashes($label_label[$i])), 30);
|
3457 |
+
$fld_label = explode("\n", $fld_label);
|
3458 |
+
$fld_label = $fld_label[0] . ' ...';
|
3459 |
+
}
|
3460 |
+
if($label_type[$i]=="type_file_upload")
|
3461 |
+
$fld_label .= '(as image)';
|
3462 |
?>
|
3463 |
<input style="border: 1px solid silver; font-size: 10px;" type="button" value="<?php echo htmlspecialchars(addslashes($label_label[$i])); ?>" onClick="insertAtCursor(<?php echo $choise; ?>, '<?php echo $param; ?>')" />
|
3464 |
<?php
|
3465 |
}
|
3466 |
?>
|
3467 |
+
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="Submission ID" onClick="insertAtCursor(<?php echo $choise; ?>,'subid')" />
|
3468 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="Ip" onClick="insertAtCursor(<?php echo $choise; ?>,'ip')" />
|
3469 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="Username" onClick="insertAtCursor(<?php echo $choise; ?>,'username')" />
|
3470 |
<input style="border: 1px solid silver; font-size: 10px; margin: 3px;" type="button" value="User Email" onClick="insertAtCursor(<?php echo $choise; ?>,'useremail')" />
|
3681 |
$all_ids = array();
|
3682 |
$all_labels = array();
|
3683 |
|
3684 |
+
$select_and_input = array("type_text", "type_password", "type_textarea", "type_name", "type_number", "type_phone", "type_submitter_mail", "type_address", "type_spinner", "type_checkbox", "type_radio", "type_own_select", "type_paypal_price", "type_paypal_select", "type_paypal_checkbox", "type_paypal_radio", "type_paypal_shipping");
|
3685 |
$select_type_fields = array("type_address", "type_checkbox", "type_radio", "type_own_select", "type_paypal_select", "type_paypal_checkbox", "type_paypal_radio", "type_paypal_shipping");
|
3686 |
|
3687 |
$fields=explode('*:*new_field*:*',$row->form_fields);
|
3761 |
<div>
|
3762 |
<span style="font-size:13px;">Add Condition<span/>
|
3763 |
<img src="<?php echo WD_FM_URL . '/images/add_condition.png'; ?>" title="add" onclick="add_condition('<?php echo $chose_ids; ?>', '<?php echo htmlspecialchars(addslashes($chose_labels)); ?>', '<?php echo $chose_types; ?>', '<?php echo htmlspecialchars(addslashes($chose_paramss)); ?>', '<?php echo $all_ids_cond; ?>', '<?php echo htmlspecialchars(addslashes($all_labels_cond)); ?>')" style="cursor: pointer; vertical-align: middle; margin-left:15px;">
|
3764 |
+
</div>
|
3765 |
<?php
|
3766 |
|
3767 |
for($k=0; $k<$count_of_conditions; $k++)
|
3770 |
if(in_array($field_label[$k],$all_ids)) : ?>
|
3771 |
<div id="condition<?php echo $k; ?>" >
|
3772 |
<div id="conditional_fileds<?php echo $k; ?>">
|
3773 |
+
<select id="show_hide<?php echo $k; ?>" name="show_hide<?php echo $k; ?>" style="width:80px; ">
|
3774 |
<option value="1" <?php if($show_hide[$k]==1) echo 'selected="selected"'; ?>>show</option>
|
3775 |
<option value="0" <?php if($show_hide[$k]==0) echo 'selected="selected"'; ?>>hide</option>
|
3776 |
</select>
|
3790 |
</select>
|
3791 |
<span>if</span>
|
3792 |
|
3793 |
+
<select id="all_any<?php echo $k; ?>" name="all_any<?php echo $k; ?>" style="width:60px; ">
|
3794 |
<option value="and" <?php if($all_any[$k]=="and") echo 'selected="selected"'; ?>>all</option>
|
3795 |
<option value="or" <?php if($all_any[$k]=="or") echo 'selected="selected"'; ?>>any</option>
|
3796 |
</select>
|
3843 |
<select id="is_select<?php echo $k; ?>_<?php echo $key; ?>" style="vertical-align: top;">
|
3844 |
<option value="==" <?php if($param_values[1]=="==") echo 'selected="selected"'; ?>>is</option>
|
3845 |
<option value="!=" <?php if($param_values[1]=="!=") echo 'selected="selected"'; ?>>is not</option>
|
3846 |
+
<option value="%" <?php if($param_values[1]=="%") echo 'selected="selected"'; ?>>like</option>
|
3847 |
+
|
3848 |
+
<option value="!%" <?php if($param_values[1]=="!%") echo 'selected="selected"'; ?>>not like</option>
|
3849 |
+
|
3850 |
+
<option value="=" <?php if($param_values[1]=="=") echo 'selected="selected"'; ?>>empty</option>
|
3851 |
+
|
3852 |
+
<option value="!" <?php if($param_values[1]=="!") echo 'selected="selected"'; ?>>not empty</option>
|
3853 |
+
|
3854 |
</select>
|
3855 |
|
3856 |
+
<?php if ($key_select_or_input !== '' && in_array($types[$key_select_or_input],$select_type_fields)) : ?>
|
3857 |
<select id="field_value<?php echo $k; ?>_<?php echo $key; ?>" <?php echo $multiple; ?> style="vertical-align: top; width: 200px;">
|
3858 |
<?php
|
3859 |
switch($types[$key_select_or_input])
|
3892 |
else
|
3893 |
$selected ='';
|
3894 |
|
3895 |
+
if(strpos($w_choices_array[$m], '[') === false && strpos($w_choices_array[$m], ']') === false && strpos($w_choices_array[$m], ':') === false) {
|
3896 |
+
echo '<option id="choise_'.$k.'_'.$m.'" value="'.$w_choice.'" '.$selected.'>'.$w_choices_array[$m].'</option>';
|
3897 |
+
}
|
3898 |
}
|
3899 |
|
3900 |
if($types[$key_select_or_input]=="type_address")
|
admin/views/FMViewSelect_data_from_db.php
ADDED
@@ -0,0 +1,775 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FMViewSelect_data_from_db {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
private $model;
|
14 |
+
|
15 |
+
|
16 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
17 |
+
// Constructor & Destructor //
|
18 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
public function __construct($model) {
|
20 |
+
$this->model = $model;
|
21 |
+
}
|
22 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
23 |
+
// Public Methods //
|
24 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
25 |
+
|
26 |
+
public function display($id, $field_id, $field_type, $value_disabled, $form_id){
|
27 |
+
|
28 |
+
wp_print_scripts('jquery');
|
29 |
+
wp_print_scripts('jquery-ui-tooltip');
|
30 |
+
|
31 |
+
?>
|
32 |
+
<link media="all" type="text/css" href="<?php echo WD_FM_URL . '/css/style.css'; ?>" rel="stylesheet">
|
33 |
+
<link rel="stylesheet" href="<?php echo WD_FM_URL . '/css/jquery-ui-1.10.3.custom.css'; ?>">
|
34 |
+
<script>
|
35 |
+
|
36 |
+
function insert_field(){}
|
37 |
+
|
38 |
+
function connect(){
|
39 |
+
jQuery("input[type='radio']").attr('disabled','');
|
40 |
+
jQuery(".connect").attr('disabled','');
|
41 |
+
jQuery('#struct').html('<div id="saving"><div id="saving_text">Loading</div><div id="fadingBarsG"><div id="fadingBarsG_1" class="fadingBarsG"></div><div id="fadingBarsG_2" class="fadingBarsG"></div><div id="fadingBarsG_3" class="fadingBarsG"></div><div id="fadingBarsG_4" class="fadingBarsG"></div><div id="fadingBarsG_5" class="fadingBarsG"></div><div id="fadingBarsG_6" class="fadingBarsG"></div><div id="fadingBarsG_7" class="fadingBarsG"></div><div id="fadingBarsG_8" class="fadingBarsG"></div></div></div>');
|
42 |
+
jQuery.ajax({
|
43 |
+
type: "POST",
|
44 |
+
url:"<?php echo add_query_arg(array('action' => 'select_data_from_db', 'form_id' => $form_id, 'field_type' => $field_type, 'task' => 'db_tables', 'width' => '1000', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>",
|
45 |
+
data: 'con_type='+jQuery('input[name=con_type]:checked').val()+'&con_method='+jQuery('input[name=con_method]:checked').val()+'&host='+jQuery('#host_rem').val()+'&port='+jQuery('#port_rem').val()+'&username='+jQuery('#username_rem').val()+'&password='+jQuery('#password_rem').val()+'&database='+jQuery('#database_rem').val()+'&field_type='+jQuery('#field_type').val()+'&format=row',
|
46 |
+
success: function(data)
|
47 |
+
{
|
48 |
+
if(data==1)
|
49 |
+
{
|
50 |
+
jQuery("#struct").html('<div style="font-size: 22px; text-align: center; padding-top: 15px;">Could not connect to MySQL.</div>')
|
51 |
+
jQuery(".connect").removeAttr('disabled');
|
52 |
+
jQuery("input[type='radio']").removeAttr('disabled','');
|
53 |
+
|
54 |
+
}
|
55 |
+
else
|
56 |
+
jQuery("#struct").html(data)
|
57 |
+
|
58 |
+
}
|
59 |
+
|
60 |
+
});
|
61 |
+
}
|
62 |
+
|
63 |
+
function shh(x)
|
64 |
+
{
|
65 |
+
if(x)
|
66 |
+
|
67 |
+
jQuery(".remote_info").show();
|
68 |
+
|
69 |
+
else
|
70 |
+
|
71 |
+
jQuery(".remote_info").hide();
|
72 |
+
|
73 |
+
}
|
74 |
+
|
75 |
+
</script>
|
76 |
+
<style>
|
77 |
+
|
78 |
+
label{
|
79 |
+
|
80 |
+
display:inline;
|
81 |
+
margin-bottom: 5px;
|
82 |
+
}
|
83 |
+
|
84 |
+
.main_func{
|
85 |
+
|
86 |
+
font-size: 12px;
|
87 |
+
display:inline-block;
|
88 |
+
width:480px;
|
89 |
+
vertical-align:top;
|
90 |
+
}
|
91 |
+
|
92 |
+
.key label{
|
93 |
+
|
94 |
+
display:inline-block;
|
95 |
+
width:150px;
|
96 |
+
}
|
97 |
+
|
98 |
+
</style>
|
99 |
+
<div class="c1">
|
100 |
+
<div class="main_func">
|
101 |
+
<table class="admintable">
|
102 |
+
<tr valign="top">
|
103 |
+
<td class="key">
|
104 |
+
<label style="font-weight:bold;"> <?php echo __( 'Connection type','form_maker' ); ?>: </label>
|
105 |
+
</td>
|
106 |
+
<td>
|
107 |
+
<input type="radio" name="con_type" id="local" value="local" checked="checked" onclick="shh(false)">
|
108 |
+
<label for="local">Local</label>
|
109 |
+
<input type="radio" name="con_type" id="remote" value="remote" onclick="shh(true)">
|
110 |
+
<label for="remote">Remote</label>
|
111 |
+
</td>
|
112 |
+
</tr>
|
113 |
+
<tr class="remote_info" style="display:none">
|
114 |
+
<td class="key">Host</td>
|
115 |
+
<td>
|
116 |
+
<input type="text" name="host" id="host_rem" style="width:180px">
|
117 |
+
Port : <input type="text" name="port" id="port_rem" value="3306" style="width:50px">
|
118 |
+
</td>
|
119 |
+
</tr>
|
120 |
+
<tr class="remote_info" style="display:none">
|
121 |
+
<td class="key">Username</td>
|
122 |
+
<td>
|
123 |
+
<input type="text" name="username" id="username_rem" style="width:272px">
|
124 |
+
</td>
|
125 |
+
</tr>
|
126 |
+
<tr class="remote_info" style="display:none">
|
127 |
+
<td class="key">Password</td>
|
128 |
+
<td>
|
129 |
+
<input type="password" name="password" id="password_rem" style="width:272px">
|
130 |
+
</td>
|
131 |
+
</tr>
|
132 |
+
<tr class="remote_info" style="display:none">
|
133 |
+
<td class="key">Database</td>
|
134 |
+
<td>
|
135 |
+
<input type="text"name="database" id="database_rem" style="width:272px">
|
136 |
+
</td>
|
137 |
+
</tr>
|
138 |
+
<tr valign="top" style="display:none;">
|
139 |
+
<td class="key">
|
140 |
+
<label> <?php echo __( 'Type','form_maker' ); ?>: </label>
|
141 |
+
</td>
|
142 |
+
<td>
|
143 |
+
<input type="radio" name="con_method" id="select" value="select" checked="checked">
|
144 |
+
<label for="select">Select</label>
|
145 |
+
</td>
|
146 |
+
</tr>
|
147 |
+
<tr valign="top">
|
148 |
+
<td class="key">
|
149 |
+
</td>
|
150 |
+
<td>
|
151 |
+
<input type="button" value="Connect" onclick="connect()" class="btn connect">
|
152 |
+
</td>
|
153 |
+
</tr>
|
154 |
+
</table>
|
155 |
+
<div id="struct" style="margin-top:10px">
|
156 |
+
</div>
|
157 |
+
<input type="hidden" id="form_id" value="<?php echo $id ?>" >
|
158 |
+
<input type="hidden" id="form_field_id" value="<?php echo $field_id ?>" >
|
159 |
+
<input type="hidden" id="field_type" value="<?php echo $field_type ?>" >
|
160 |
+
<input type="hidden" id="value_disabled" value="<?php echo $value_disabled ?>" >
|
161 |
+
</div>
|
162 |
+
</div>
|
163 |
+
|
164 |
+
<?php
|
165 |
+
die();
|
166 |
+
}
|
167 |
+
|
168 |
+
|
169 |
+
public function db_table_struct_select($form_id, $field_type){
|
170 |
+
$table_struct = $this->model->get_table_struct();
|
171 |
+
$label = $this->model->get_labels($form_id);
|
172 |
+
$cond='<div id="condid"><select id="sel_condid" style="width: 110px">';
|
173 |
+
foreach($table_struct as $col)
|
174 |
+
{
|
175 |
+
$cond.='<option>'.$col->Field.'</option>';
|
176 |
+
}
|
177 |
+
|
178 |
+
$cond.='</select>';
|
179 |
+
$cond.='<select id="op_condid" style="width: 150px"><option value="=" selected="selected">=</option><option value="!=">!=</option><option value=">">></option><option value="<"><</option><option value=">=">>=</option><option value="<="><=</option><option value="%..%">Like</option><option value="%..">Starts with</option><option value="..%">Ends with</option></select><input id="val_condid" style="width:120px; margin:0px !important; padding: 4px 6px;" type="text" /><select id="andor_condid" style="visibility: hidden; width:70px;"><option value="AND">AND</option><option value="OR">OR</option></select><img src="' . WD_FM_URL . '/images/delete.png" onclick="delete_cond("condid")" style="vertical-align: middle;"></div>';
|
180 |
+
|
181 |
+
?>
|
182 |
+
|
183 |
+
<script>
|
184 |
+
|
185 |
+
var selected_field ='';
|
186 |
+
var isvisible = 1;
|
187 |
+
var cond_id = 1;
|
188 |
+
conds='<?php echo $cond ?>';
|
189 |
+
|
190 |
+
if(jQuery('#value_disabled').val()=='no')
|
191 |
+
jQuery('.ch_rad_value_disabled').hide();
|
192 |
+
|
193 |
+
|
194 |
+
function dis(id, x){
|
195 |
+
|
196 |
+
if(x)
|
197 |
+
jQuery('#'+id).removeAttr('disabled');
|
198 |
+
|
199 |
+
else
|
200 |
+
jQuery('#'+id).attr('disabled','disabled');
|
201 |
+
}
|
202 |
+
|
203 |
+
|
204 |
+
|
205 |
+
function update_vis(){
|
206 |
+
|
207 |
+
previous=0;
|
208 |
+
for(i=1; i<cond_id; i++){
|
209 |
+
if(jQuery('#'+i).html()){
|
210 |
+
jQuery('#andor_'+i).css('visibility', 'hidden');
|
211 |
+
if(previous)
|
212 |
+
jQuery('#andor_'+previous).css('visibility', 'visible');
|
213 |
+
previous=i;
|
214 |
+
|
215 |
+
}
|
216 |
+
|
217 |
+
}
|
218 |
+
|
219 |
+
}
|
220 |
+
|
221 |
+
|
222 |
+
|
223 |
+
function delete_cond(id){
|
224 |
+
|
225 |
+
jQuery('#'+id).remove();
|
226 |
+
update_vis();
|
227 |
+
}
|
228 |
+
|
229 |
+
jQuery('.add_cond').click( function() {
|
230 |
+
jQuery('.cols').append(conds.replace(/condid/g, cond_id++));
|
231 |
+
update_vis();
|
232 |
+
});
|
233 |
+
|
234 |
+
|
235 |
+
|
236 |
+
function save_query()
|
237 |
+
|
238 |
+
{
|
239 |
+
str = '';
|
240 |
+
plugin_url='<?php echo WD_FM_URL; ?>';
|
241 |
+
product_name = jQuery('#product_name').val();
|
242 |
+
product_price = jQuery('#product_price').val();
|
243 |
+
con_type =jQuery('input[name=con_type]:checked').val();
|
244 |
+
table =jQuery('#tables').val();
|
245 |
+
host =jQuery('#host_rem').val();
|
246 |
+
port =jQuery('#port_rem').val();
|
247 |
+
username =jQuery('#username_rem').val();
|
248 |
+
password =jQuery('#password_rem').val();
|
249 |
+
database =jQuery('#database_rem').val();
|
250 |
+
if(con_type=='remote')
|
251 |
+
str += host+"@@@wdfhostwdf@@@"+port+"@@@wdfportwdf@@@"+username+"@@@wdfusernamewdf@@@"+password+"@@@wdfpasswordwdf@@@"+database+"@@@wdfdatabasewdf@@@";
|
252 |
+
gen_query();
|
253 |
+
|
254 |
+
var where = jQuery('#where').val();
|
255 |
+
var order = jQuery('#order').val();
|
256 |
+
var value_disabled = jQuery('#value_disabled').val();
|
257 |
+
var num = jQuery("#form_field_id").val();
|
258 |
+
var field_type = jQuery("#field_type").val();
|
259 |
+
if(product_name || product_price){
|
260 |
+
|
261 |
+
jQuery('.c1').html('<div id="saving"><div id="saving_text">Saving</div><div id="fadingBarsG"><div id="fadingBarsG_1" class="fadingBarsG"></div><div id="fadingBarsG_2" class="fadingBarsG"></div><div id="fadingBarsG_3" class="fadingBarsG"></div><div id="fadingBarsG_4" class="fadingBarsG"></div><div id="fadingBarsG_5" class="fadingBarsG"></div><div id="fadingBarsG_6" class="fadingBarsG"></div><div id="fadingBarsG_7" class="fadingBarsG"></div><div id="fadingBarsG_8" class="fadingBarsG"></div></div></div>');
|
262 |
+
|
263 |
+
var max_value = 0;
|
264 |
+
window.parent.jQuery('.change_pos').each(function() {
|
265 |
+
var value = jQuery(this)[0].id;
|
266 |
+
max_value = (value > max_value) ? value : max_value;
|
267 |
+
});
|
268 |
+
|
269 |
+
max_value = parseInt(max_value) + 1;
|
270 |
+
if(field_type =="checkbox" || field_type =="radio"){
|
271 |
+
var choices_td = window.parent.document.getElementById('choices');
|
272 |
+
var div = document.createElement('div');
|
273 |
+
div.setAttribute("id", max_value);
|
274 |
+
div.setAttribute("class", "change_pos");
|
275 |
+
var el_choices = document.createElement('input');
|
276 |
+
el_choices.setAttribute("id", "el_choices"+max_value);
|
277 |
+
el_choices.setAttribute("type", "text");
|
278 |
+
el_choices.setAttribute("value", '['+table+':'+product_name+']');
|
279 |
+
el_choices.style.cssText = "width:100px; margin:1px; padding:3px 0; border-width: 1px";
|
280 |
+
el_choices.setAttribute("onKeyUp", "change_label('"+num+"_label_element"+max_value+"', this.value); change_in_value('"+num+"_elementform_id_temp"+max_value+"', this.value)");
|
281 |
+
el_choices.setAttribute("disabled", 'disabled');
|
282 |
+
var el_choices_value = document.createElement('input');
|
283 |
+
el_choices_value.setAttribute("id", "el_option_value"+max_value);
|
284 |
+
el_choices_value.setAttribute("type", "text");
|
285 |
+
if(value_disabled=='no')
|
286 |
+
el_choices_value.setAttribute("value", '['+table+':'+product_name+']');
|
287 |
+
else
|
288 |
+
el_choices_value.setAttribute("value", '['+table+':'+product_price+']');
|
289 |
+
el_choices_value.style.cssText = "width:100px; margin:1px; padding:3px 0; border-width: 1px";
|
290 |
+
el_choices_value.setAttribute("onKeyUp", "change_label_value('"+num+"_elementform_id_temp"+max_value+"', this.value)");
|
291 |
+
el_choices_value.setAttribute("disabled", 'disabled');
|
292 |
+
var el_choices_params = document.createElement('input');
|
293 |
+
el_choices_params.setAttribute("id", "el_option_params"+max_value);
|
294 |
+
el_choices_params.setAttribute("class", "el_option_params");
|
295 |
+
el_choices_params.setAttribute("type", "hidden");
|
296 |
+
el_choices_params.setAttribute("value", where+'[where_order_by]'+order + '[db_info]'+'['+str+']');
|
297 |
+
var el_choices_remove = document.createElement('img');
|
298 |
+
el_choices_remove.setAttribute("id", "el_choices"+max_value+"_remove");
|
299 |
+
el_choices_remove.setAttribute("src", plugin_url + '/images/delete.png');
|
300 |
+
el_choices_remove.style.cssText = 'cursor:pointer;vertical-align:middle; margin:3px 3px 3px 7px;';
|
301 |
+
el_choices_remove.setAttribute("align", 'top');
|
302 |
+
el_choices_remove.setAttribute("onClick", "remove_choise('"+max_value+"','"+num+"','"+field_type+"')");
|
303 |
+
var el_choices_handle = document.createElement('img');
|
304 |
+
el_choices_handle.setAttribute("class", "el_choices_sortable");
|
305 |
+
el_choices_handle.setAttribute("src", plugin_url + '/images/move_cursor.png');
|
306 |
+
el_choices_handle.style.cssText = 'cursor:move; vertical-align:middle; margin:3px 3px 3px 9px;';
|
307 |
+
el_choices_handle.setAttribute("align", 'top');
|
308 |
+
|
309 |
+
div.appendChild(el_choices);
|
310 |
+
div.appendChild(el_choices_value);
|
311 |
+
div.appendChild(el_choices_remove);
|
312 |
+
div.appendChild(el_choices_handle);
|
313 |
+
div.appendChild(el_choices_params);
|
314 |
+
choices_td.appendChild(div);
|
315 |
+
|
316 |
+
window.parent["refresh_rowcol"](num, field_type);
|
317 |
+
if(field_type=='checkbox'){
|
318 |
+
|
319 |
+
window.parent["refresh_id_name"](num, 'type_checkbox');
|
320 |
+
window.parent["refresh_attr"](num, 'type_checkbox');
|
321 |
+
}
|
322 |
+
|
323 |
+
if(field_type=='radio'){
|
324 |
+
|
325 |
+
window.parent["refresh_id_name"](num, 'type_radio');
|
326 |
+
window.parent["refresh_attr"](num, 'type_radio');
|
327 |
+
}
|
328 |
+
|
329 |
+
|
330 |
+
|
331 |
+
}
|
332 |
+
|
333 |
+
if(field_type =="select"){
|
334 |
+
|
335 |
+
var select_ = window.parent.document.getElementById(num+'_elementform_id_temp');
|
336 |
+
var option = document.createElement('option');
|
337 |
+
option.setAttribute("id", num+"_option"+max_value);
|
338 |
+
option.setAttribute("onselect", "set_select('"+num+"_option"+max_value+"')");
|
339 |
+
option.setAttribute("where", where);
|
340 |
+
option.setAttribute("order_by", order);
|
341 |
+
option.setAttribute("db_info", '['+str+']');
|
342 |
+
option.innerHTML = '['+table+':'+product_name+']';
|
343 |
+
if(value_disabled =='no')
|
344 |
+
option.setAttribute("value", '['+table+':'+product_name+']');
|
345 |
+
|
346 |
+
else
|
347 |
+
option.setAttribute("value", '['+table+':'+product_price+']');
|
348 |
+
|
349 |
+
select_.appendChild(option);
|
350 |
+
|
351 |
+
|
352 |
+
|
353 |
+
var choices_td= window.parent.document.getElementById('choices');
|
354 |
+
var div = document.createElement('div');
|
355 |
+
div.setAttribute("id", max_value);
|
356 |
+
div.setAttribute("class", "change_pos");
|
357 |
+
var el_choices = document.createElement('input');
|
358 |
+
el_choices.setAttribute("id", "el_option"+max_value);
|
359 |
+
el_choices.setAttribute("type", "text");
|
360 |
+
el_choices.setAttribute("value", '['+table+':'+product_name+']');
|
361 |
+
el_choices.style.cssText = "width:100px; margin:1px; padding:3px 0; border-width: 1px";
|
362 |
+
el_choices.setAttribute("onKeyUp", "change_label_name('"+max_value+"', '"+num+"_option"+max_value+"', this.value)");
|
363 |
+
el_choices.setAttribute("disabled", 'disabled');
|
364 |
+
var el_choices_remove = document.createElement('img');
|
365 |
+
el_choices_remove.setAttribute("id", "el_option"+max_value+"_remove");
|
366 |
+
el_choices_remove.setAttribute("src", plugin_url + '/images/delete.png');
|
367 |
+
el_choices_remove.style.cssText = 'cursor:pointer; vertical-align:middle; margin:3px';
|
368 |
+
el_choices_remove.setAttribute("align", 'top');
|
369 |
+
el_choices_remove.setAttribute("onClick", "remove_option('"+max_value+"','"+num+"')");
|
370 |
+
var el_choices_dis = document.createElement('input');
|
371 |
+
el_choices_dis.setAttribute("type", 'checkbox');
|
372 |
+
el_choices_dis.setAttribute("id", "el_option"+max_value+"_dis");
|
373 |
+
el_choices_dis.setAttribute("class", "el_option_dis");
|
374 |
+
el_choices_dis.setAttribute("onClick", "dis_option('"+num+"_option"+max_value+"', this.checked)");
|
375 |
+
el_choices_dis.style.cssText ="vertical-align: middle; margin-left:24px; margin-right:24px;";
|
376 |
+
if(value_disabled == 'yes')
|
377 |
+
el_choices_dis.setAttribute("disabled", 'disabled');
|
378 |
+
var el_choices_value = document.createElement('input');
|
379 |
+
el_choices_value.setAttribute("id", "el_option_value"+max_value);
|
380 |
+
el_choices_value.setAttribute("type", "text");
|
381 |
+
if(value_disabled =='no')
|
382 |
+
el_choices_value.setAttribute("value", '['+table+':'+product_name+']');
|
383 |
+
else
|
384 |
+
el_choices_value.setAttribute("value", '['+table+':'+product_price+']');
|
385 |
+
el_choices_value.style.cssText = "width:100px; margin:1px; padding:3px 0; border-width: 1px";
|
386 |
+
el_choices_value.setAttribute("onKeyUp", "change_label_value('"+num+"_option"+max_value+"', this.value)");
|
387 |
+
el_choices_value.setAttribute("disabled", 'disabled');
|
388 |
+
var el_choices_params = document.createElement('input');
|
389 |
+
el_choices_params.setAttribute("id", "el_option_params"+max_value);
|
390 |
+
el_choices_params.setAttribute("class", "el_option_params");
|
391 |
+
el_choices_params.setAttribute("type", "hidden");
|
392 |
+
el_choices_params.setAttribute("value", where+'[where_order_by]'+order + '[db_info]'+'['+str+']');
|
393 |
+
var el_choices_handle = document.createElement('img');
|
394 |
+
el_choices_handle.setAttribute("class", "el_choices_sortable");
|
395 |
+
el_choices_handle.setAttribute("src", plugin_url + '/images/move_cursor.png');
|
396 |
+
el_choices_handle.style.cssText = 'cursor:move; vertical-align:middle; margin:3px 3px 3px 10px;';
|
397 |
+
el_choices_handle.setAttribute("align", 'top');
|
398 |
+
|
399 |
+
div.appendChild(el_choices);
|
400 |
+
div.appendChild(el_choices_value);
|
401 |
+
div.appendChild(el_choices_dis);
|
402 |
+
div.appendChild(el_choices_remove);
|
403 |
+
div.appendChild(el_choices_handle);
|
404 |
+
div.appendChild(el_choices_params);
|
405 |
+
choices_td.appendChild(div);
|
406 |
+
|
407 |
+
}
|
408 |
+
|
409 |
+
if(field_type=='paypal_select'){
|
410 |
+
var select_ = window.parent.document.getElementById(num+'_elementform_id_temp');
|
411 |
+
var option = document.createElement('option');
|
412 |
+
option.setAttribute("id", num+"_option"+max_value);
|
413 |
+
option.setAttribute("onselect", "set_select('"+num+"_option"+max_value+"')");
|
414 |
+
option.setAttribute("where", where);
|
415 |
+
option.setAttribute("order_by", order); option.setAttribute("db_info", '['+str+']');
|
416 |
+
option.innerHTML = '['+table+':'+product_name+']';
|
417 |
+
option.setAttribute("value", '['+table+':'+product_price+']');
|
418 |
+
select_.appendChild(option);
|
419 |
+
var choices_td= window.parent.document.getElementById('choices');
|
420 |
+
var div = document.createElement('div');
|
421 |
+
div.setAttribute("id", max_value);
|
422 |
+
div.setAttribute("class", "change_pos");
|
423 |
+
var el_choices = document.createElement('input');
|
424 |
+
el_choices.setAttribute("id", "el_option"+max_value);
|
425 |
+
el_choices.setAttribute("type", "text");
|
426 |
+
el_choices.setAttribute("value", '['+table+':'+product_name+']');
|
427 |
+
el_choices.style.cssText = "width:100px; margin:1px; padding:3px 0; border-width: 1px";
|
428 |
+
el_choices.setAttribute("onKeyUp", "change_label_price('"+num+"_option"+max_value+"', this.value)");el_choices.setAttribute("disabled", 'disabled');
|
429 |
+
var el_choices_price = document.createElement('input');
|
430 |
+
el_choices_price.setAttribute("id", "el_option_price"+max_value);
|
431 |
+
el_choices_price.setAttribute("type", "text");
|
432 |
+
el_choices_price.setAttribute("value", '['+table+':'+product_price+']');
|
433 |
+
el_choices_price.style.cssText = "width:50px; margin:1px; padding:3px 0; border-width: 1px";
|
434 |
+
el_choices_price.setAttribute("onKeyUp", "change_value_price('"+num+"_option"+max_value+"', this.value)");
|
435 |
+
el_choices_price.setAttribute("onKeyPress", "return check_isnum_point(event)");
|
436 |
+
el_choices_price.setAttribute("disabled", 'disabled');
|
437 |
+
var el_choices_params = document.createElement('input');
|
438 |
+
el_choices_params.setAttribute("id", "el_option_params"+max_value);
|
439 |
+
el_choices_params.setAttribute("class", "el_option_params");
|
440 |
+
el_choices_params.setAttribute("type", "hidden");
|
441 |
+
el_choices_params.setAttribute("value", where+'[where_order_by]'+order + '[db_info]'+'['+str+']');
|
442 |
+
var el_choices_remove = document.createElement('img');
|
443 |
+
el_choices_remove.setAttribute("id", "el_option"+max_value+"_remove");
|
444 |
+
el_choices_remove.setAttribute("src", plugin_url + '/images/delete.png');
|
445 |
+
el_choices_remove.style.cssText = 'cursor:pointer; vertical-align:middle; margin-left:4px;';
|
446 |
+
el_choices_remove.setAttribute("align", 'top');
|
447 |
+
el_choices_remove.setAttribute("onClick", "remove_option_price('"+max_value+"','"+num+"')");
|
448 |
+
var el_choices_dis = document.createElement('input');
|
449 |
+
el_choices_dis.setAttribute("type", 'checkbox');
|
450 |
+
el_choices_dis.setAttribute("id", "el_option"+max_value+"_dis");
|
451 |
+
el_choices_dis.setAttribute("onClick", "dis_option_price('"+num+"','"+max_value+"', this.checked)");
|
452 |
+
el_choices_dis.style.cssText ="vertical-align: middle; margin-right:24px; margin-left:24px;";
|
453 |
+
var el_choices_handle = document.createElement('img');
|
454 |
+
el_choices_handle.setAttribute("class", "el_choices_sortable");
|
455 |
+
el_choices_handle.setAttribute("src", plugin_url + '/images/move_cursor.png');
|
456 |
+
el_choices_handle.style.cssText = 'cursor:move; vertical-align:middle; margin:3px 3px 3px 20px;';
|
457 |
+
el_choices_handle.setAttribute("align", 'top');
|
458 |
+
|
459 |
+
div.appendChild(el_choices);
|
460 |
+
div.appendChild(el_choices_price);
|
461 |
+
div.appendChild(el_choices_dis);
|
462 |
+
div.appendChild(el_choices_remove);
|
463 |
+
div.appendChild(el_choices_handle);
|
464 |
+
div.appendChild(el_choices_params);
|
465 |
+
choices_td.appendChild(div);
|
466 |
+
|
467 |
+
}
|
468 |
+
|
469 |
+
|
470 |
+
if(field_type=='paypal_radio' || field_type=='paypal_checkbox' || field_type=='paypal_shipping'){
|
471 |
+
if(field_type == 'paypal_shipping')
|
472 |
+
field_type = 'paypal_radio';
|
473 |
+
var c_table = window.parent.document.getElementById(num+'_table_little');
|
474 |
+
var tr = document.createElement('div');
|
475 |
+
tr.setAttribute("id", num+"_element_tr"+max_value);
|
476 |
+
tr.style.display="table-row";
|
477 |
+
var td = document.createElement('div');
|
478 |
+
td.setAttribute("valign", "top");
|
479 |
+
td.setAttribute("id", num+"_td_little"+max_value);
|
480 |
+
td.setAttribute("idi", max_value);
|
481 |
+
td.style.display="table-cell";
|
482 |
+
var adding = document.createElement('input');
|
483 |
+
adding.setAttribute("type", field_type.replace('paypal_', ''));
|
484 |
+
adding.setAttribute("value", '['+table+':'+product_price+']');
|
485 |
+
adding.setAttribute("id", num+"_elementform_id_temp"+max_value);
|
486 |
+
if(field_type=='paypal_checkbox'){
|
487 |
+
adding.setAttribute("onClick", "set_checked('"+num+"','"+max_value+"','form_id_temp')");
|
488 |
+
adding.setAttribute("name", num+"_elementform_id_temp"+max_value);
|
489 |
+
}
|
490 |
+
|
491 |
+
if(field_type=='paypal_radio'){
|
492 |
+
adding.setAttribute("onClick", "set_default('"+num+"','"+max_value+"','form_id_temp')");
|
493 |
+
adding.setAttribute("name", num+"_elementform_id_temp");
|
494 |
+
}
|
495 |
+
|
496 |
+
var label_adding = document.createElement('label');
|
497 |
+
label_adding.setAttribute("id", num+"_label_element"+max_value);
|
498 |
+
label_adding.setAttribute("class", "ch-rad-label");
|
499 |
+
label_adding.setAttribute("for", num+"_elementform_id_temp"+max_value);
|
500 |
+
label_adding.innerHTML = '['+table+':'+product_name+']';
|
501 |
+
label_adding.setAttribute("where", where);
|
502 |
+
label_adding.setAttribute("order_by", order); label_adding.setAttribute("db_info", '['+str+']');
|
503 |
+
var adding_ch_label = document.createElement('input');
|
504 |
+
adding_ch_label.setAttribute("type", "hidden");
|
505 |
+
adding_ch_label.setAttribute("id", num+"_elementlabel_form_id_temp"+max_value);
|
506 |
+
adding_ch_label.setAttribute("name", num+"_elementform_id_temp"+max_value+"_label");
|
507 |
+
adding_ch_label.setAttribute("value", '['+table+':'+product_name+']');
|
508 |
+
td.appendChild(adding);
|
509 |
+
td.appendChild(label_adding);
|
510 |
+
td.appendChild(adding_ch_label);
|
511 |
+
tr.appendChild(td);
|
512 |
+
c_table.appendChild(tr);
|
513 |
+
var choices_td= window.parent.document.getElementById('choices');
|
514 |
+
var div = document.createElement('div');
|
515 |
+
div.setAttribute("id", max_value);
|
516 |
+
div.setAttribute("class", "change_pos");
|
517 |
+
var el_choices = document.createElement('input');
|
518 |
+
el_choices.setAttribute("id", "el_choices"+max_value);
|
519 |
+
el_choices.setAttribute("type", "text");
|
520 |
+
el_choices.setAttribute("value", '['+table+':'+product_name+']');
|
521 |
+
el_choices.style.cssText = "width:100px; margin:1px; padding:3px 0; border-width: 1px";
|
522 |
+
el_choices.setAttribute("onKeyUp", "change_label('"+num+"_label_element"+max_value+"', this.value); change_label_1('"+num+"_elementlabel_form_id_temp"+max_value+"', this.value); ");
|
523 |
+
el_choices.setAttribute("disabled", 'disabled');
|
524 |
+
var el_choices_remove = document.createElement('img');
|
525 |
+
el_choices_remove.setAttribute("id", "el_choices"+max_value+"_remove");
|
526 |
+
el_choices_remove.setAttribute("src", plugin_url + '/images/delete.png');
|
527 |
+
el_choices_remove.style.cssText = 'cursor:pointer;vertical-align:middle; margin: 3px 3px 3px 8px;';
|
528 |
+
el_choices_remove.setAttribute("align", 'top');
|
529 |
+
el_choices_remove.setAttribute("onClick", "remove_choise_price('"+max_value+"','"+num+"')");
|
530 |
+
var el_choices_price = document.createElement('input');
|
531 |
+
el_choices_price.setAttribute("id", "el_option_price"+max_value);
|
532 |
+
el_choices_price.setAttribute("type", "text");
|
533 |
+
el_choices_price.setAttribute("value", '['+table+':'+product_price+']');
|
534 |
+
el_choices_price.style.cssText = "width:50px; margin:1px; padding:3px 0; border-width: 1px";
|
535 |
+
el_choices_price.setAttribute("onKeyUp", "change_value_price('"+num+"_elementform_id_temp"+max_value+"', this.value)");
|
536 |
+
el_choices_price.setAttribute("onKeyPress", "return check_isnum_point(event)");
|
537 |
+
el_choices_price.setAttribute("disabled", 'disabled');
|
538 |
+
var el_choices_params = document.createElement('input');
|
539 |
+
el_choices_params.setAttribute("id", "el_option_params"+max_value);
|
540 |
+
el_choices_params.setAttribute("class", "el_option_params");
|
541 |
+
el_choices_params.setAttribute("type", "hidden");
|
542 |
+
el_choices_params.setAttribute("value", where+'[where_order_by]'+order + '[db_info]'+'['+str+']');
|
543 |
+
var el_choices_handle = document.createElement('img');
|
544 |
+
el_choices_handle.setAttribute("class", "el_choices_sortable");
|
545 |
+
el_choices_handle.setAttribute("src", plugin_url + '/images/move_cursor.png');
|
546 |
+
el_choices_handle.style.cssText = 'cursor:move; vertical-align:middle; margin: 3px 3px 3px 15px;';
|
547 |
+
el_choices_handle.setAttribute("align", 'top');
|
548 |
+
|
549 |
+
|
550 |
+
div.appendChild(el_choices);
|
551 |
+
div.appendChild(el_choices_price);
|
552 |
+
div.appendChild(el_choices_remove);
|
553 |
+
div.appendChild(el_choices_handle);
|
554 |
+
div.appendChild(el_choices_params);
|
555 |
+
choices_td.appendChild(div);
|
556 |
+
|
557 |
+
if(field_type=='checkbox')
|
558 |
+
window.parent["refresh_id_name"](num, 'type_checkbox');
|
559 |
+
|
560 |
+
if(field_type=='radio' || field_type=='shipping')
|
561 |
+
window.parent["refresh_id_name"](num, 'type_radio');
|
562 |
+
window.parent["refresh_attr"](num, 'type_checkbox');
|
563 |
+
|
564 |
+
}
|
565 |
+
|
566 |
+
|
567 |
+
window.parent.tb_remove();
|
568 |
+
|
569 |
+
}
|
570 |
+
|
571 |
+
else{
|
572 |
+
if(field_type=="checkbox" || field_type=="radio" || field_type=="select")
|
573 |
+
alert('Select a option(s).');
|
574 |
+
else
|
575 |
+
alert('Select a product name or product price.');
|
576 |
+
}
|
577 |
+
|
578 |
+
return false;
|
579 |
+
|
580 |
+
}
|
581 |
+
|
582 |
+
|
583 |
+
|
584 |
+
function gen_query(){
|
585 |
+
|
586 |
+
query="";
|
587 |
+
query_price = "";
|
588 |
+
where="";
|
589 |
+
previous='';
|
590 |
+
|
591 |
+
for(i=1; i<cond_id; i++){
|
592 |
+
if(jQuery('#'+i).html()){
|
593 |
+
if(jQuery('#op_'+i).val()=="%..%")
|
594 |
+
op_val=' LIKE "%'+jQuery('#val_'+i).val()+'%"';
|
595 |
+
else if(jQuery('#op_'+i).val()=="%..")
|
596 |
+
op_val=' LIKE "%'+jQuery('#val_'+i).val()+'"';
|
597 |
+
else if(jQuery('#op_'+i).val()=="..%")
|
598 |
+
op_val=' LIKE "'+jQuery('#val_'+i).val()+'%"';
|
599 |
+
else
|
600 |
+
op_val=' '+jQuery('#op_'+i).val()+' "'+jQuery('#val_'+i).val()+'"';
|
601 |
+
|
602 |
+
where+=previous+' `'+jQuery('#sel_'+i).val()+'`'+op_val;
|
603 |
+
previous=' '+ jQuery('#andor_'+i).val();
|
604 |
+
|
605 |
+
}
|
606 |
+
|
607 |
+
|
608 |
+
}
|
609 |
+
|
610 |
+
|
611 |
+
query = '['+where+']';
|
612 |
+
query_price = '['+(jQuery('#order_by').val() ? '`'+jQuery('#order_by').val()+'`' +' '+jQuery('#order_by_asc').val() : jQuery('#product_name').val() ? '`'+jQuery('#product_name').val()+'`' +' '+jQuery('#order_by_asc').val() : jQuery('#product_price').val() ? '`'+jQuery('#product_price').val()+'`' +' '+jQuery('#order_by_asc').val() : '' )+']';
|
613 |
+
jQuery('#where').val(query);
|
614 |
+
jQuery('#order').val(query_price);
|
615 |
+
|
616 |
+
}
|
617 |
+
|
618 |
+
|
619 |
+
|
620 |
+
|
621 |
+
</script>
|
622 |
+
|
623 |
+
<style>
|
624 |
+
|
625 |
+
.table_fields{
|
626 |
+
|
627 |
+
margin-bottom:2px;
|
628 |
+
}
|
629 |
+
|
630 |
+
.table_fields select {
|
631 |
+
|
632 |
+
line-height: 18px;
|
633 |
+
width: inherit;
|
634 |
+
margin: inherit;
|
635 |
+
}
|
636 |
+
|
637 |
+
|
638 |
+
|
639 |
+
.table_fields input[type="text"]{
|
640 |
+
|
641 |
+
width: 225px;
|
642 |
+
line-height: 18px;
|
643 |
+
height: 20px;
|
644 |
+
|
645 |
+
}
|
646 |
+
|
647 |
+
|
648 |
+
|
649 |
+
.gen_query, .gen_query:focus{
|
650 |
+
|
651 |
+
width: 200px !important;
|
652 |
+
height: 38px;
|
653 |
+
background: #0E73D4;
|
654 |
+
color: white;
|
655 |
+
cursor: pointer;
|
656 |
+
border: 0px;
|
657 |
+
font-size: 16px;
|
658 |
+
font-weight: bold;
|
659 |
+
margin: 20px 20px 20px 0;
|
660 |
+
}
|
661 |
+
|
662 |
+
|
663 |
+
|
664 |
+
.gen_query:active{
|
665 |
+
|
666 |
+
background: #ccc;
|
667 |
+
}
|
668 |
+
|
669 |
+
|
670 |
+
|
671 |
+
</style>
|
672 |
+
|
673 |
+
<?php if($table_struct): ?>
|
674 |
+
<div class="cols">
|
675 |
+
<div class="table_fields">
|
676 |
+
<label for="product_name" style="display:inline-block;width:157px;font-weight: bold; vertical-align: top;"><?php echo (strpos($field_type, 'paypal_') === false ? 'Select a name' : ($field_type == 'paypal_shipping' ? 'Select a shipping type' : 'Select a product name')); ?></label>
|
677 |
+
<select name="product_name" id="product_name">
|
678 |
+
<option value="" ></option>
|
679 |
+
<?php
|
680 |
+
foreach($table_struct as $col)
|
681 |
+
echo '<option value="'.$col->Field.'" >'.$col->Field.'</option>';
|
682 |
+
?>
|
683 |
+
</select>
|
684 |
+
</div>
|
685 |
+
<div class="table_fields ch_rad_value_disabled">
|
686 |
+
<label for="product_price" style="display:inline-block;width:157px;font-weight: bold; vertical-align: top;"><?php echo (strpos($field_type, 'paypal_') === false ? 'Select a value' : 'Select a product price'); ?></label>
|
687 |
+
<select name="product_price" id="product_price">
|
688 |
+
<option value="" ></option>
|
689 |
+
<?php
|
690 |
+
foreach($table_struct as $col)
|
691 |
+
echo '<option value="'.$col->Field.'" >'.$col->Field.'</option>';
|
692 |
+
|
693 |
+
?>
|
694 |
+
</select>
|
695 |
+
</div>
|
696 |
+
<br/>
|
697 |
+
<div style="background: none;text-align: center;font-size: 20px;color: rgb(0, 164, 228);font-weight: bold;">WHERE </div>
|
698 |
+
<img src="<?php echo WD_FM_URL . '/images/add_condition.png'; ?>" title="ADD" class="add_cond"/>
|
699 |
+
</div>
|
700 |
+
</br>
|
701 |
+
<div style="background: none;text-align: center;font-size: 20px;color: rgb(0, 164, 228);font-weight: bold; margin:8px 0;">ORDER BY</div>
|
702 |
+
<div class="table_fields">
|
703 |
+
<label for="order_by" style="display:inline-block;width:157px;font-weight: bold; vertical-align: top;">Select an option</label>
|
704 |
+
<select name="order_by" id="order_by">
|
705 |
+
<option value="" ></option>
|
706 |
+
<?php
|
707 |
+
foreach($table_struct as $col)
|
708 |
+
echo '<option value="'.$col->Field.'" >'.$col->Field.'</option>';
|
709 |
+
?>
|
710 |
+
</select>
|
711 |
+
<select name="order_by_asc" id="order_by_asc" style="width:70px;">
|
712 |
+
<option value="asc">asc</option>
|
713 |
+
<option value="desc">desc</option>
|
714 |
+
</select>
|
715 |
+
</div>
|
716 |
+
<br/>
|
717 |
+
<input type="button" value="Save" class="gen_query" onclick="save_query()">
|
718 |
+
<form name="query_form" id="query_form" style="display:none;">
|
719 |
+
<textarea id="where" name="where"></textarea>
|
720 |
+
<textarea id="order" name="order"></textarea>
|
721 |
+
</form>
|
722 |
+
<?php endif;
|
723 |
+
die();
|
724 |
+
}
|
725 |
+
|
726 |
+
public function db_tables($form_id,$field_type){
|
727 |
+
/*$document = JFactory::getDocument();
|
728 |
+
$document->addScript(JURI::root(true).'/components/com_formmaker/views/formmaker/tmpl/wdform.js');*/
|
729 |
+
$tables = $this->model->get_tables();
|
730 |
+
?>
|
731 |
+
<label for="tables" style="display:inline-block;width:157px;font-weight: bold;">Select a table</label><select name="tables" id="tables">
|
732 |
+
<option value="" ></option>
|
733 |
+
<?php
|
734 |
+
|
735 |
+
foreach($tables as $table)
|
736 |
+
echo '<option value="'.$table.'" >'.$table.'</option>';
|
737 |
+
?>
|
738 |
+
</select>
|
739 |
+
<br/><br/>
|
740 |
+
<div id="table_struct">
|
741 |
+
</div>
|
742 |
+
|
743 |
+
<script>
|
744 |
+
|
745 |
+
jQuery("#tables").change(function (){
|
746 |
+
jQuery('#table_struct').html('<div id="saving"><div id="saving_text">Loading</div><div id="fadingBarsG"><div id="fadingBarsG_1" class="fadingBarsG"></div><div id="fadingBarsG_2" class="fadingBarsG"></div><div id="fadingBarsG_3" class="fadingBarsG"></div><div id="fadingBarsG_4" class="fadingBarsG"></div><div id="fadingBarsG_5" class="fadingBarsG"></div><div id="fadingBarsG_6" class="fadingBarsG"></div><div id="fadingBarsG_7" class="fadingBarsG"></div><div id="fadingBarsG_8" class="fadingBarsG"></div></div></div>');
|
747 |
+
|
748 |
+
|
749 |
+
jQuery.ajax({
|
750 |
+
type: "POST",
|
751 |
+
url: "<?php echo add_query_arg(array('action' => 'select_data_from_db', 'form_id' => $form_id, 'field_type' => $field_type, 'task' => 'db_table_struct_select', 'width' => '1000', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>",
|
752 |
+
data: 'name='+jQuery(this).val()+'&con_type='+jQuery('input[name=con_type]:checked').val()+'&con_method='+jQuery('input[name=con_method]:checked').val()+'&host='+jQuery('#host_rem').val()+'&port='+jQuery('#port_rem').val()+'&username='+jQuery('#username_rem').val()+'&password='+jQuery('#password_rem').val()+'&database='+jQuery('#database_rem').val()+'&format=row&field_type='+jQuery('#field_type').val(),
|
753 |
+
success: function(data) {
|
754 |
+
jQuery("#table_struct").html(data);
|
755 |
+
}
|
756 |
+
});
|
757 |
+
})
|
758 |
+
</script>
|
759 |
+
|
760 |
+
<?php
|
761 |
+
die();
|
762 |
+
}
|
763 |
+
|
764 |
+
|
765 |
+
|
766 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
767 |
+
// Getters & Setters //
|
768 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
769 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
770 |
+
// Private Methods //
|
771 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
772 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
773 |
+
// Listeners //
|
774 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
775 |
+
}
|
admin/views/FMViewSubmissions_fm.php
CHANGED
@@ -40,11 +40,10 @@ class FMViewSubmissions_fm {
|
|
40 |
$style_id = $this->model->hide_or_not($lists['hide_label_list'], '@submitid@');
|
41 |
$style_date = $this->model->hide_or_not($lists['hide_label_list'], '@submitdate@');
|
42 |
$style_ip = $this->model->hide_or_not($lists['hide_label_list'], '@submitterip@');
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
$oder_class_default = "manage-column column-autor sortable desc";
|
49 |
$oder_class = "manage-column column-title sorted " . $asc_or_desc;
|
50 |
$ispaypal = FALSE;
|
@@ -53,10 +52,9 @@ class FMViewSubmissions_fm {
|
|
53 |
$n = count($rows);
|
54 |
$group_id_s = array();
|
55 |
$group_id_s = $this->model->sort_group_ids(count($sorted_label_names),$group_ids);
|
56 |
-
$ka_fielderov_search = (($lists['ip_search'] || $lists['startdate'] || $lists['enddate'] || $lists['username_search'] || $lists['useremail_search']) ? TRUE : FALSE);
|
57 |
$is_stats = false;
|
58 |
$blocked_ips = $this->model->blocked_ips();
|
59 |
-
|
60 |
?>
|
61 |
<script type="text/javascript">
|
62 |
function clickLabChBAll(ChBAll) {
|
@@ -66,15 +64,15 @@ class FMViewSubmissions_fm {
|
|
66 |
'submitid',
|
67 |
'submitdate',
|
68 |
'submitterip',
|
69 |
-
|
70 |
-
|
71 |
), $sorted_labels_id);
|
72 |
$sorted_label_names_for_check = array_merge(array(
|
73 |
'ID',
|
74 |
'Submit date',
|
75 |
"Submitter's IP",
|
76 |
-
|
77 |
-
|
78 |
), $sorted_label_names_original);
|
79 |
}
|
80 |
else {
|
@@ -82,15 +80,15 @@ class FMViewSubmissions_fm {
|
|
82 |
'submitid',
|
83 |
'submitdate',
|
84 |
'submitterip',
|
85 |
-
|
86 |
-
|
87 |
);
|
88 |
$sorted_label_names_for_check = array(
|
89 |
'ID',
|
90 |
'Submit date',
|
91 |
"Submitter's IP",
|
92 |
-
|
93 |
-
|
94 |
);
|
95 |
}
|
96 |
?>
|
@@ -117,11 +115,18 @@ class FMViewSubmissions_fm {
|
|
117 |
renderColumns();
|
118 |
}
|
119 |
function remove_all() {
|
120 |
-
document.getElementById('startdate')
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
document.getElementById('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
<?php
|
126 |
$n = count($rows);
|
127 |
for ($i = 0; $i < count($sorted_label_names); $i++) {
|
@@ -368,10 +373,12 @@ class FMViewSubmissions_fm {
|
|
368 |
</tr>
|
369 |
<tr id="fields_filter" style="display: none;">
|
370 |
<th></th>
|
|
|
|
|
|
|
|
|
|
|
371 |
<th></th>
|
372 |
-
<th></th>
|
373 |
-
<th></th>
|
374 |
-
<th class="submitid_fc" <?php echo $style_id; ?> ></th>
|
375 |
<th width="150" class="submitdate_fc" <?php echo $style_date; ?>>
|
376 |
<table align="center" style="margin:auto" class="simple_table">
|
377 |
<tr class="simple_table">
|
@@ -683,7 +690,6 @@ class FMViewSubmissions_fm {
|
|
683 |
<script>
|
684 |
jQuery(window).load(function() {
|
685 |
spider_popup();
|
686 |
-
|
687 |
});
|
688 |
function show_stats() {
|
689 |
jQuery('#div_stats').html('<div id="saving"><div id="saving_text">Loading</div><div id="fadingBarsG"><div id="fadingBarsG_1" class="fadingBarsG"></div><div id="fadingBarsG_2" class="fadingBarsG"></div><div id="fadingBarsG_3" class="fadingBarsG"></div><div id="fadingBarsG_4" class="fadingBarsG"></div><div id="fadingBarsG_5" class="fadingBarsG"></div><div id="fadingBarsG_6" class="fadingBarsG"></div><div id="fadingBarsG_7" class="fadingBarsG"></div><div id="fadingBarsG_8" class="fadingBarsG"></div></div></div>');
|
@@ -710,7 +716,7 @@ class FMViewSubmissions_fm {
|
|
710 |
<?php
|
711 |
}
|
712 |
|
713 |
-
public function show_stats($form_id) {
|
714 |
$key = (isset($_POST['sorted_label_key']) ? esc_html(stripslashes($_POST['sorted_label_key'])) : '');
|
715 |
$labels_parameters = $this->model->get_labels_parameters($form_id);
|
716 |
$where_choices = $labels_parameters[7];
|
@@ -1047,10 +1053,9 @@ class FMViewSubmissions_fm {
|
|
1047 |
$ispaypal = $params[4];
|
1048 |
$form = $params[5];
|
1049 |
$form_theme = $params[6];
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
?>
|
1055 |
<form action="admin.php?page=submissions_fm" method="post" id="formform_id_temp" name="formform_id_temp">
|
1056 |
<?php wp_nonce_field('nonce_fm', 'nonce_fm'); ?>
|
@@ -1575,333 +1580,890 @@ class FMViewSubmissions_fm {
|
|
1575 |
break;
|
1576 |
}
|
1577 |
|
1578 |
-
case 'type_checkbox':
|
1579 |
-
|
1580 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
1581 |
-
$temp=$params;
|
1582 |
|
1583 |
-
|
1584 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1585 |
-
$param[$params_name] = $temp[0];
|
1586 |
-
$temp=$temp[1];
|
1587 |
-
}
|
1588 |
-
|
1589 |
-
if($temp) {
|
1590 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
1591 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
1592 |
-
foreach($attrs as $attr)
|
1593 |
-
$param['attributes'] = $param['attributes'].' '.$attr;
|
1594 |
-
}
|
1595 |
-
|
1596 |
-
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
1597 |
-
|
1598 |
-
$element_value = explode('***br***',$element_value);
|
1599 |
-
$element_value = array_slice($element_value,0, count($element_value)-1);
|
1600 |
-
|
1601 |
-
$param['w_choices'] = explode('***',$param['w_choices']);
|
1602 |
-
|
1603 |
-
$is_other=false;
|
1604 |
-
$other_value = '';
|
1605 |
-
|
1606 |
-
foreach($element_value as $key => $value) {
|
1607 |
-
if(in_array($value, $param['w_choices'])==false) {
|
1608 |
-
$other_value = $value;
|
1609 |
-
$is_other=true;
|
1610 |
-
break;
|
1611 |
-
}
|
1612 |
-
}
|
1613 |
-
|
1614 |
|
1615 |
-
|
1616 |
-
|
1617 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';">';
|
1618 |
-
|
1619 |
-
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).'; vertical-align:top">';
|
1620 |
|
1621 |
-
|
1622 |
-
if($key%$param['w_rowcol']==0 && $key>0)
|
1623 |
-
$rep.='</div><div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).'; vertical-align:top">';
|
1624 |
-
|
1625 |
-
$checked=(in_array($choice, $element_value)=='true' ? 'checked="checked"' : '');
|
1626 |
-
|
1627 |
-
|
1628 |
-
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key && $is_other)
|
1629 |
-
$checked = 'checked="checked"';
|
1630 |
|
1631 |
-
|
1632 |
-
|
1633 |
-
$rep.='<div style="display: '.($param['w_flow']!='hor' ? 'table-cell' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.$key.'" ">'.$choice.'</label><div class="checkbox-div forlabs"><input type="checkbox" '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'other="1"' : '' ).' id="wdform_'.$id1.'_element'.$form_id.''.$key.'" name="wdform_'.$id1.'_element'.$form_id.''.$key.'" value="'.htmlspecialchars($choice).'" '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'onclick="if(set_checked("wdform_'.$id1.'","'.$key.'","'.$form_id.'")) show_other_input("wdform_'.$id1.'","'.$form_id.'");"' : '').' '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.$key.'"></label></div></div>';
|
1634 |
-
}
|
1635 |
-
$rep.='</div>';
|
1636 |
-
|
1637 |
-
$rep.='</div></div>';
|
1638 |
-
|
1639 |
-
if($is_other)
|
1640 |
-
$onload_js .='show_other_input("wdform_'.$id1.'","'.$form_id.'"); jQuery("#wdform_'.$id1.'_other_input'.$form_id.'").val("'.$other_value.'");';
|
1641 |
-
|
1642 |
-
$onsubmit_js.='
|
1643 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_allow_other'.$form_id.'\" value = \"'.$param['w_allow_other'].'\" />").appendTo("#form'.$form_id.'");
|
1644 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_allow_other_num'.$form_id.'\" value = \"'.$param['w_allow_other_num'].'\" />").appendTo("#form'.$form_id.'");
|
1645 |
-
';
|
1646 |
-
|
1647 |
-
break;
|
1648 |
-
}
|
1649 |
|
1650 |
-
|
1651 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
1652 |
-
$temp=$params;
|
1653 |
|
1654 |
-
|
1655 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1656 |
-
$param[$params_name] = $temp[0];
|
1657 |
-
$temp=$temp[1];
|
1658 |
-
}
|
1659 |
-
|
1660 |
-
if($temp) {
|
1661 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
1662 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
1663 |
-
foreach($attrs as $attr)
|
1664 |
-
$param['attributes'] = $param['attributes'].' '.$attr;
|
1665 |
-
}
|
1666 |
-
|
1667 |
-
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
1668 |
-
$param['w_choices'] = explode('***',$param['w_choices']);
|
1669 |
-
$is_other=true;
|
1670 |
-
|
1671 |
-
foreach($param['w_choices'] as $key => $choice) {
|
1672 |
-
if($choice==$element_value) {
|
1673 |
-
$is_other=false;
|
1674 |
-
break;
|
1675 |
-
}
|
1676 |
-
}
|
1677 |
-
|
1678 |
-
|
1679 |
-
$rep='<div type="type_radio" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
1680 |
-
|
1681 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';">';
|
1682 |
-
|
1683 |
-
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).'; vertical-align:top">';
|
1684 |
-
|
1685 |
-
foreach($param['w_choices'] as $key => $choice) {
|
1686 |
-
if($key%$param['w_rowcol']==0 && $key>0)
|
1687 |
-
$rep.='</div><div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).'; vertical-align:top">';
|
1688 |
-
|
1689 |
-
$checked =($choice==$element_value ? 'checked="checked"' : '');
|
1690 |
-
|
1691 |
-
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key && $is_other==true && $element_value!='')
|
1692 |
-
$checked = 'checked="checked"';
|
1693 |
-
|
1694 |
-
|
1695 |
-
$rep.='<div style="display: '.($param['w_flow']!='hor' ? 'table-cell' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.$key.'">'.$choice.'</label><div class="radio-div forlabs"><input type="radio" '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'other="1"' : '').' id="wdform_'.$id1.'_element'.$form_id.''.$key.'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.htmlspecialchars($choice).'" onclick="set_default("wdform_'.$id1.'","'.$key.'","'.$form_id.'"); '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'show_other_input("wdform_'.$id1.'","'.$form_id.'");' : '').'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.$key.'"></label></div></div>';
|
1696 |
-
}
|
1697 |
-
$rep.='</div>';
|
1698 |
|
1699 |
-
|
1700 |
-
|
1701 |
-
if($is_other && $element_value!='')
|
1702 |
-
$onload_js .='show_other_input("wdform_'.$id1.'","'.$form_id.'"); jQuery("#wdform_'.$id1.'_other_input'.$form_id.'").val("'.$element_value.'");';
|
1703 |
-
|
1704 |
-
$onsubmit_js.='
|
1705 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_allow_other'.$form_id.'\" value = \"'.$param['w_allow_other'].'\" />").appendTo("#form'.$form_id.'");
|
1706 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_allow_other_num'.$form_id.'\" value = \"'.$param['w_allow_other_num'].'\" />").appendTo("#form'.$form_id.'");
|
1707 |
-
';
|
1708 |
-
|
1709 |
-
break;
|
1710 |
-
}
|
1711 |
|
1712 |
-
|
1713 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_checked', 'w_choices_disabled','w_required','w_class');
|
1714 |
-
$temp=$params;
|
1715 |
|
1716 |
-
|
1717 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1718 |
-
$param[$params_name] = $temp[0];
|
1719 |
-
$temp=$temp[1];
|
1720 |
-
}
|
1721 |
-
|
1722 |
-
if($temp) {
|
1723 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
1724 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
1725 |
-
foreach($attrs as $attr)
|
1726 |
-
$param['attributes'] = $param['attributes'].' '.$attr;
|
1727 |
-
}
|
1728 |
-
|
1729 |
-
|
1730 |
-
$wdformfieldsize = ($param['w_field_label_pos']=="left" ? ($param['w_field_label_size']+$param['w_size']) : max($param['w_field_label_size'], $param['w_size']));
|
1731 |
-
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
1732 |
-
|
1733 |
-
$param['w_choices'] = explode('***',$param['w_choices']);
|
1734 |
-
|
1735 |
-
$post_value = (isset($_POST["counter".$form_id]) ? esc_html(stripslashes( $_POST["counter".$form_id])) : ''); //JRequest::getVar("counter".$form_id);
|
1736 |
-
|
1737 |
-
$rep='<div type="type_own_select" class="wdform-field" style="width:'.$wdformfieldsize.'px"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
1738 |
-
|
1739 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="width: '.($param['w_size']).'px; "><select id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" style="width: 100%" '.$param['attributes'].'>';
|
1740 |
-
|
1741 |
-
foreach($param['w_choices'] as $key => $choice) {
|
1742 |
-
$selected=(htmlspecialchars($choice)==htmlspecialchars($element_value) ? 'selected="selected"' : '');
|
1743 |
-
|
1744 |
-
$rep.='<option id="wdform_'.$id1.'_option'.$key.'" value="'.htmlspecialchars($choice).'" '.$selected.'>'.$choice.'</option>';
|
1745 |
-
}
|
1746 |
-
$rep.='</select></div></div>';
|
1747 |
-
|
1748 |
-
|
1749 |
-
break;
|
1750 |
-
}
|
1751 |
-
|
1752 |
-
case 'type_country': {
|
1753 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_countries','w_required','w_class');
|
1754 |
-
$temp=$params;
|
1755 |
-
foreach($params_names as $params_name ) {
|
1756 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1757 |
-
$param[$params_name] = $temp[0];
|
1758 |
-
$temp=$temp[1];
|
1759 |
-
}
|
1760 |
|
1761 |
-
|
1762 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
1763 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
1764 |
-
foreach($attrs as $attr)
|
1765 |
-
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
1766 |
-
}
|
1767 |
|
1768 |
-
|
1769 |
-
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
1770 |
-
|
1771 |
-
$param['w_countries'] = explode('***',$param['w_countries']);
|
1772 |
-
|
1773 |
-
$selected='';
|
1774 |
-
|
1775 |
-
$rep='<div type="type_country" class="wdform-field" style="width:'.$wdformfieldsize.'px"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
1776 |
-
|
1777 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="width: '.$param['w_size'].'px;"><select id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" style="width: 100%;" '.$param['attributes'].'>';
|
1778 |
-
foreach($param['w_countries'] as $key => $choice) {
|
1779 |
-
|
1780 |
-
$selected=(htmlspecialchars($choice)==htmlspecialchars($element_value) ? 'selected="selected"' : '');
|
1781 |
|
1782 |
-
|
1783 |
-
$rep.='<option value="'.$choice_value.'" '.$selected.'>'.$choice.'</option>';
|
1784 |
-
}
|
1785 |
-
$rep.='</select></div></div>';
|
1786 |
-
|
1787 |
-
break;
|
1788 |
-
}
|
1789 |
-
|
1790 |
-
case 'type_time': {
|
1791 |
-
if($element_value =='')
|
1792 |
-
$element_value = ':';
|
1793 |
-
|
1794 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_time_type','w_am_pm','w_sec','w_hh','w_mm','w_ss','w_mini_labels','w_required','w_class');
|
1795 |
-
$temp=$params;
|
1796 |
|
1797 |
-
|
1798 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1799 |
-
$param[$params_name] = $temp[0];
|
1800 |
-
$temp=$temp[1];
|
1801 |
-
}
|
1802 |
-
|
1803 |
-
if($temp) {
|
1804 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
1805 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
1806 |
-
foreach($attrs as $attr)
|
1807 |
-
$param['attributes'] = $param['attributes'].' '.$attr;
|
1808 |
-
}
|
1809 |
-
|
1810 |
-
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
1811 |
-
|
1812 |
-
$w_mini_labels = explode('***',$param['w_mini_labels']);
|
1813 |
-
$element_value = explode(':',$element_value);
|
1814 |
-
|
1815 |
-
|
1816 |
-
$w_sec = '';
|
1817 |
-
$w_sec_label='';
|
1818 |
-
|
1819 |
-
if($param['w_sec']=='1') {
|
1820 |
-
$w_sec = '<div align="center" style="display: table-cell;"><span class="wdform_colon" style="vertical-align: middle;"> : </span></div><div style="display: table-cell;"><input type="text" value="'.(count($element_value)==2 ? '' : $element_value[2]).'" class="time_box" id="wdform_'.$id1.'_ss'.$form_id.'" name="wdform_'.$id1.'_ss'.$form_id.'" onkeypress="return check_second(event, "wdform_'.$id1.'_ss'.$form_id.'")" '.$param['attributes'].'></div>';
|
1821 |
-
|
1822 |
-
$w_sec_label='<div style="display: table-cell;"></div><div style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[2].'</label></div>';
|
1823 |
-
}
|
1824 |
|
1825 |
-
|
1826 |
-
if($param['w_time_type']=='12') {
|
1827 |
-
if(strpos($element_value[2],'pm')!==false) {
|
1828 |
-
$am_ = "";
|
1829 |
-
$pm_ = "selected=\"selected\"";
|
1830 |
-
}
|
1831 |
-
else {
|
1832 |
-
$am_ = "selected=\"selected\"";
|
1833 |
-
$pm_ = "";
|
1834 |
-
}
|
1835 |
-
|
1836 |
-
$w_time_type = '<div style="display: table-cell;"><select class="am_pm_select" name="wdform_'.$id1.'_am_pm'.$form_id.'" id="wdform_'.$id1.'_am_pm'.$form_id.'" '.$param['attributes'].'><option value="am" '.$am_.'>AM</option><option value="pm" '.$pm_.'>PM</option></select></div>';
|
1837 |
-
|
1838 |
-
$w_time_type_label = '<div ><label class="mini_label">'.$w_mini_labels[3].'</label></div>';
|
1839 |
-
|
1840 |
-
}
|
1841 |
-
else {
|
1842 |
-
$w_time_type='';
|
1843 |
-
$w_time_type_label = '';
|
1844 |
-
}
|
1845 |
-
|
1846 |
-
$rep ='<div type="type_time" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
1847 |
-
|
1848 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';"><div style="display: table;"><div style="display: table-row;"><div style="display: table-cell;"><input type="text" value="'.$element_value[0].'" class="time_box" id="wdform_'.$id1.'_hh'.$form_id.'" name="wdform_'.$id1.'_hh'.$form_id.'" onkeypress="return check_hour(event, "wdform_'.$id1.'_hh'.$form_id.'", "23")" '.$param['attributes'].'></div><div align="center" style="display: table-cell;"><span class="wdform_colon" style="vertical-align: middle;"> : </span></div><div style="display: table-cell;"><input type="text" value="'.$element_value[1].'" class="time_box" id="wdform_'.$id1.'_mm'.$form_id.'" name="wdform_'.$id1.'_mm'.$form_id.'" onkeypress="return check_minute(event, "wdform_'.$id1.'_mm'.$form_id.'")" '.$param['attributes'].'></div>'.$w_sec.$w_time_type.'</div><div style="display: table-row;"><div style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[0].'</label></div><div style="display: table-cell;"></div><div style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[1].'</label></div>'.$w_sec_label.$w_time_type_label.'</div></div></div></div>';
|
1849 |
-
|
1850 |
-
break;
|
1851 |
-
}
|
1852 |
|
1853 |
-
|
1854 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_date','w_required','w_class','w_format','w_but_val');
|
1855 |
-
$temp=$params;
|
1856 |
|
1857 |
-
|
1858 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1859 |
-
$param[$params_name] = $temp[0];
|
1860 |
-
$temp=$temp[1];
|
1861 |
-
}
|
1862 |
-
|
1863 |
-
if($temp) {
|
1864 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
1865 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
1866 |
-
foreach($attrs as $attr)
|
1867 |
-
$param['attributes'] = $param['attributes'].' '.$attr;
|
1868 |
-
}
|
1869 |
-
|
1870 |
-
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
1871 |
-
|
1872 |
-
$rep ='<div type="type_date" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
1873 |
-
|
1874 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';"><input type="text" value="'.$element_value.'" class="wdform-date" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" maxlength="10" '.$param['attributes'].'><input id="wdform_'.$id1.'_button'.$form_id.'" class="wdform-calendar-button" type="reset" value="'.$param['w_but_val'].'" format="'.$param['w_format'].'" onclick="return showCalendar(\'wdform_'.$id1.'_element'.$form_id.'\' , \'%Y-%m-%d\')" '.$param['attributes'].' "></div></div>';
|
1875 |
-
|
1876 |
-
|
1877 |
-
// $onload_js.= 'Calendar.setup({inputField: "wdform_'.$id1.'_element'.$form_id.'", ifFormat: "'.$param['w_format'].'",button: "wdform_'.$id1.'_button'.$form_id.'",align: "Tl",singleClick: true,firstDay: 0});';
|
1878 |
-
|
1879 |
-
break;
|
1880 |
-
}
|
1881 |
|
1882 |
-
|
1883 |
-
if($element_value=='')
|
1884 |
-
$element_value='--';
|
1885 |
-
|
1886 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_day','w_month','w_year','w_day_type','w_month_type','w_year_type','w_day_label','w_month_label','w_year_label','w_day_size','w_month_size','w_year_size','w_required','w_class','w_from','w_to','w_divider');
|
1887 |
-
|
1888 |
-
$temp=$params;
|
1889 |
|
1890 |
-
|
1891 |
-
|
1892 |
-
|
1893 |
-
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
-
|
1898 |
-
|
1899 |
-
|
1900 |
-
|
1901 |
-
|
1902 |
-
|
1903 |
-
|
1904 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1905 |
|
1906 |
$param['w_day'] = (isset($_POST['wdform_'.$id1."_day".$form_id]) ? esc_html(stripslashes( $_POST['wdform_'.$id1."_day".$form_id])) : $param['w_day']);
|
1907 |
$param['w_month'] = (isset($_POST['wdform_'.$id1."_month".$form_id]) ? esc_html(stripslashes( $_POST['wdform_'.$id1."_month".$form_id])) : $element_value[1]);//??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
|
@@ -1982,470 +2544,1378 @@ class FMViewSubmissions_fm {
|
|
1982 |
}
|
1983 |
|
1984 |
|
1985 |
-
case 'type_hidden': {
|
1986 |
-
$params_names=array('w_name','w_value');
|
1987 |
-
$temp=$params;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1988 |
|
1989 |
-
|
1990 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1991 |
-
$param[$params_name] = $temp[0];
|
1992 |
-
$temp=$temp[1];
|
1993 |
-
}
|
1994 |
-
|
1995 |
-
if($temp) {
|
1996 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
1997 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
1998 |
-
foreach($attrs as $attr)
|
1999 |
-
$param['attributes'] = $param['attributes'].' '.$attr;
|
2000 |
-
}
|
2001 |
-
|
2002 |
-
$rep ='<div type="type_hidden" class="wdform-field"><div class="wdform-label-section" style="float:left; width: 150px;"><span class="wdform-label">' . $label . '</span></div><div class="wdform-element-section" style="display: table-cell;"><input type="text" value="'.$element_value.'" id="wdform_'.$id1.'_element'.$form_id.'" name="'.$param['w_name'].'" '.$param['attributes'].'></div></div>';
|
2003 |
-
|
2004 |
-
break;
|
2005 |
-
}
|
2006 |
|
|
|
2007 |
|
2008 |
-
case 'type_paypal_price': {
|
2009 |
-
|
2010 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_first_val','w_title', 'w_mini_labels','w_size','w_required','w_hide_cents','w_class','w_range_min','w_range_max');
|
2011 |
-
$temp=$params;
|
2012 |
|
2013 |
-
foreach($params_names as $params_name ) {
|
2014 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2015 |
-
$param[$params_name] = $temp[0];
|
2016 |
-
$temp=$temp[1];
|
2017 |
-
}
|
2018 |
-
|
2019 |
-
|
2020 |
-
if($temp) {
|
2021 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
2022 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
2023 |
-
foreach($attrs as $attr)
|
2024 |
-
$param['attributes'] = $param['attributes'].' '.$attr;
|
2025 |
-
}
|
2026 |
-
|
2027 |
-
if (strpos($element_value,'.')!== false)
|
2028 |
-
$element = explode('.',$element_value);
|
2029 |
-
else {
|
2030 |
-
$element = Array();
|
2031 |
-
$element[0] = preg_replace("/[^0-9]/","",$element_value);
|
2032 |
-
$element[1] = '';
|
2033 |
-
}
|
2034 |
-
|
2035 |
-
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
2036 |
-
|
2037 |
-
$hide_cents = ($param['w_hide_cents']=="yes" ? "none;" : "table-cell;");
|
2038 |
-
|
2039 |
-
$w_mini_labels = explode('***',$param['w_mini_labels']);
|
2040 |
-
|
2041 |
-
$rep ='<div type="type_paypal_price" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
2042 |
-
|
2043 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';"><input type="hidden" value="'.$param['w_range_min'].'" name="wdform_'.$id1.'_range_min'.$form_id.'" id="wdform_'.$id1.'_range_min'.$form_id.'"><input type="hidden" value="'.$param['w_range_max'].'" name="wdform_'.$id1.'_range_max'.$form_id.'" id="wdform_'.$id1.'_range_max'.$form_id.'"><div id="wdform_'.$id1.'_table_price" style="display: table;"><div id="wdform_'.$id1.'_tr_price1" style="display: table-row;"><div id="wdform_'.$id1.'_td_name_currency" style="display: table-cell;"><span class="wdform_colon" style="vertical-align: middle;"><!--repstart--> '.$form_currency.' <!--repend--></span></div><div id="wdform_'.$id1.'_td_name_dollars" style="display: table-cell;"><input type="text" class="" id="wdform_'.$id1.'_element_dollars'.$form_id.'" name="wdform_'.$id1.'_element_dollars'.$form_id.'" value="'.(strpos($element_value,'.') !== false ? preg_replace("/[^0-9]/","",$element[0]) : $element[0]).'" onkeypress="return check_isnum(event)" style="width: '.$param['w_size'].'px;" '.$param['attributes'].'></div><div id="wdform_'.$id1.'_td_name_divider" style="display: '.$hide_cents.';"><span class="wdform_colon" style="vertical-align: middle;"> . </span></div><div id="wdform_'.$id1.'_td_name_cents" style="display: '.$hide_cents.'"><input type="text" class="" id="wdform_'.$id1.'_element_cents'.$form_id.'" name="wdform_'.$id1.'_element_cents'.$form_id.'" value="'.(strpos($element_value,'.') !== false ? preg_replace("/[^0-9]/","",$element[1]) : " ").'" style="width: 30px;" '.$param['attributes'].'></div></div><div id="wdform_'.$id1.'_tr_price2" style="display: table-row;"><div style="display: table-cell;"><label class="mini_label"></label></div><div align="left" style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[0].'</label></div><div id="wdform_'.$id1.'_td_name_label_divider" style="display: '.$hide_cents.'"><label class="mini_label"></label></div><div align="left" id="wdform_'.$id1.'_td_name_label_cents" style="display: '.$hide_cents.'"><label class="mini_label">'.$w_mini_labels[1].'</label></div></div></div></div></div>';
|
2044 |
-
|
2045 |
-
$onload_js .='jQuery("#wdform_'.$id1.'_element_cents'.$form_id.'").blur(function() {add_0(this)});';
|
2046 |
-
$onload_js .='jQuery("#wdform_'.$id1.'_element_cents'.$form_id.'").keypress(function() {return check_isnum_interval(event,this,0,99)});';
|
2047 |
-
|
2048 |
-
break;
|
2049 |
-
}
|
2050 |
-
|
2051 |
-
case 'type_paypal_select': {
|
2052 |
|
2053 |
-
|
2054 |
-
$element_value = ' :';
|
2055 |
-
|
2056 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_price','w_choices_checked', 'w_choices_disabled','w_required','w_quantity','w_class','w_property','w_property_values');
|
2057 |
-
$temp=$params;
|
2058 |
|
2059 |
-
|
2060 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2061 |
-
$param[$params_name] = $temp[0];
|
2062 |
-
$temp=$temp[1];
|
2063 |
-
}
|
2064 |
-
|
2065 |
-
if($temp) {
|
2066 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
2067 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
2068 |
-
foreach($attrs as $attr)
|
2069 |
-
$param['attributes'] = $param['attributes'].' '.$attr;
|
2070 |
-
}
|
2071 |
-
|
2072 |
-
$wdformfieldsize = ($param['w_field_label_pos']=="left" ? ($param['w_field_label_size']+$param['w_size']) : max($param['w_field_label_size'], $param['w_size']));
|
2073 |
-
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
2074 |
-
|
2075 |
-
$param['w_choices'] = explode('***',$param['w_choices']);
|
2076 |
-
$param['w_choices_price'] = explode('***',$param['w_choices_price']);
|
2077 |
-
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
2078 |
-
$param['w_choices_disabled'] = explode('***',$param['w_choices_disabled']);
|
2079 |
-
$param['w_property'] = explode('***',$param['w_property']);
|
2080 |
-
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
2081 |
-
|
2082 |
-
if(strpos($element_value,'***br***') !== false) {
|
2083 |
-
$element_value = explode('***br***',$element_value);
|
2084 |
-
if (count($element_value)==2) {
|
2085 |
-
if (strpos($element_value[1],'***quantity***') !== false) {
|
2086 |
-
$quantity_value = explode(': ',str_replace("***quantity***","",$element_value[1]));
|
2087 |
-
$quantity_value = $quantity_value[1];
|
2088 |
-
$property_of_select = '';
|
2089 |
-
}
|
2090 |
-
else {
|
2091 |
-
$quantity_value = '' ;
|
2092 |
-
$property_of_select = explode(': ',str_replace("***property***","",$element_value[1]));
|
2093 |
-
$property_of_select = $property_of_select[1];
|
2094 |
-
}
|
2095 |
-
$element_value = explode(' :',$element_value[0]);
|
2096 |
-
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
2097 |
-
}
|
2098 |
-
else {
|
2099 |
-
$quantity_value = explode(': ',str_replace("***quantity***","",$element_value[1]));
|
2100 |
-
$quantity_value = $quantity_value[1];
|
2101 |
-
$property_of_select = explode(': ',str_replace("***property***","",$element_value[2]));
|
2102 |
-
$property_of_select = $property_of_select[1];
|
2103 |
-
$element_value = explode(' :',$element_value[0]);
|
2104 |
-
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
2105 |
-
}
|
2106 |
-
}
|
2107 |
-
else {
|
2108 |
-
$element_value = explode(' :',$element_value);
|
2109 |
-
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
2110 |
-
$quantity_value = '';
|
2111 |
-
$property_of_select = '';
|
2112 |
-
}
|
2113 |
-
|
2114 |
-
|
2115 |
-
$rep='<div type="type_paypal_select" class="wdform-field" style="width:'.$wdformfieldsize.'px"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
2116 |
-
|
2117 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="width: '.$param['w_size'].'px;"><select id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" style="width: 100%;" '.$param['attributes'].'>';
|
2118 |
-
foreach($param['w_choices'] as $key => $choice) {
|
2119 |
-
if($param['w_choices_disabled'][$key]=="true")
|
2120 |
-
$choice_value='';
|
2121 |
-
else
|
2122 |
-
$choice_value=$param['w_choices_price'][$key];
|
2123 |
-
|
2124 |
-
|
2125 |
-
if($element_value[0] == $choice && $param['w_choices_price'][$key] == $choise_value)
|
2126 |
-
$selected = 'selected="selected"';
|
2127 |
-
else
|
2128 |
-
$selected = '';
|
2129 |
-
|
2130 |
-
$rep.='<option id="wdform_'.$id1.'_option'.$key.'" value="'.$choice_value.'" '.$selected.'>'.$choice.'</option>';
|
2131 |
-
}
|
2132 |
-
$rep.='</select><div id="wdform_'.$id1.'_div'.$form_id.'">';
|
2133 |
-
if($param['w_quantity']=="yes") {
|
2134 |
-
$rep.='<div class="paypal-property"><label class="mini_label" style="margin: 0px 5px;">Quantity</label><input type="text" value="'.($quantity_value=="" ? 1 : $quantity_value).'" id="wdform_'.$id1.'_element_quantity'.$form_id.'" name="wdform_'.$id1.'_element_quantity'.$form_id.'" class="wdform-quantity"></div>';
|
2135 |
-
}
|
2136 |
-
|
2137 |
-
if($param['w_property'][0])
|
2138 |
-
foreach($param['w_property'] as $key => $property) {
|
2139 |
-
|
2140 |
-
$rep.='
|
2141 |
-
<div id="wdform_'.$id1.'_property_'.$key.'" class="paypal-property">
|
2142 |
-
<div style="width:100px; display:inline-block;">
|
2143 |
-
<label class="mini_label" id="wdform_'.$id1.'_property_label_'.$form_id.''.$key.'" style="margin-right: 5px;">'.$property.'</label>
|
2144 |
-
<select id="wdform_'.$id1.'_property'.$form_id.''.$key.'" name="wdform_'.$id1.'_property'.$form_id.''.$key.'" style="width: 100%; margin: 2px 0px;">';
|
2145 |
-
$param['w_property_values'][$key] = explode('###',$param['w_property_values'][$key]);
|
2146 |
-
$param['w_property_values'][$key] = array_slice($param['w_property_values'][$key],1, count($param['w_property_values'][$key]));
|
2147 |
-
|
2148 |
-
foreach($param['w_property_values'][$key] as $subkey => $property_value) {
|
2149 |
-
$rep.='<option id="wdform_'.$id1.'_'.$key.'_option'.$subkey.'" value="'.$property_value.'" '.($property_of_select==$property_value ? 'selected="selected"' : "").'>'.$property_value.'</option>';
|
2150 |
-
}
|
2151 |
-
$rep.='</select></div></div>';
|
2152 |
-
}
|
2153 |
-
|
2154 |
-
$rep.='</div></div></div>';
|
2155 |
-
|
2156 |
-
$onsubmit_js.='
|
2157 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_label'.$form_id.'\" />").val(jQuery("#wdform_'.$id1.'_element'.$form_id.' option:selected").text()).appendTo("#form'.$form_id.'");
|
2158 |
-
';
|
2159 |
-
$onsubmit_js.='
|
2160 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_quantity_label'.$form_id.'\" />").val("Quantity").appendTo("#form'.$form_id.'");
|
2161 |
-
';
|
2162 |
-
$onsubmit_js.='
|
2163 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_property_label'.$form_id.'\" />").val("'.$param['w_property'][0].'").appendTo("#form'.$form_id.'");
|
2164 |
-
';
|
2165 |
-
|
2166 |
-
break;
|
2167 |
-
}
|
2168 |
-
|
2169 |
-
case 'type_paypal_checkbox': {
|
2170 |
-
|
2171 |
-
if($element_value == '')
|
2172 |
-
$element_value =' :';
|
2173 |
-
|
2174 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class','w_property','w_property_values','w_quantity');
|
2175 |
-
$temp=$params;
|
2176 |
|
2177 |
-
|
2178 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2179 |
-
$param[$params_name] = $temp[0];
|
2180 |
-
$temp=$temp[1];
|
2181 |
-
}
|
2182 |
-
|
2183 |
-
if($temp) {
|
2184 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
2185 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
2186 |
-
foreach($attrs as $attr)
|
2187 |
-
$param['attributes'] = $param['attributes'].' '.$attr;
|
2188 |
-
}
|
2189 |
-
|
2190 |
-
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
2191 |
-
|
2192 |
-
$param['w_choices'] = explode('***',$param['w_choices']);
|
2193 |
-
$param['w_choices_price'] = explode('***',$param['w_choices_price']);
|
2194 |
-
$param['w_choices_checked'] = explode('***',$param['w_choices_checked']);
|
2195 |
-
$param['w_property'] = explode('***',$param['w_property']);
|
2196 |
-
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
2197 |
-
|
2198 |
-
if(strpos($element_value,'***br***') !== false) {
|
2199 |
-
$element_value = explode('***br***',$element_value);
|
2200 |
-
foreach($element_value as $key => $element) {
|
2201 |
-
|
2202 |
-
if(strpos($element,'***quantity***') !== false) {
|
2203 |
-
$quantity_value = explode(': ',str_replace("***quantity***","",$element));
|
2204 |
-
$quantity_value = $quantity_value[1];
|
2205 |
-
unset($element_value[$key]);
|
2206 |
-
}
|
2207 |
-
else
|
2208 |
-
if(strpos($element,'***property***') !== false) {
|
2209 |
-
$property_of_check = explode(': ',str_replace("***property***","",$element));
|
2210 |
-
$property_of_check = $property_of_check[1];
|
2211 |
-
unset($element_value[$key]);
|
2212 |
-
}
|
2213 |
-
else {
|
2214 |
-
for($m=0; $m<strlen($element); $m++) {
|
2215 |
-
if(!ctype_digit($element[strlen($element)-1]))
|
2216 |
-
$element_value[$key] = substr($element,0,-1);
|
2217 |
-
else
|
2218 |
-
break;
|
2219 |
-
}
|
2220 |
-
$quantity_value = '';
|
2221 |
-
$property_of_check = '';
|
2222 |
-
}
|
2223 |
-
|
2224 |
-
}
|
2225 |
-
}
|
2226 |
-
else {
|
2227 |
-
$element_value = explode(' :',$element_value);
|
2228 |
-
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
2229 |
-
$quantity_value = '';
|
2230 |
-
$property_of_check = '';
|
2231 |
-
}
|
2232 |
-
|
2233 |
-
|
2234 |
-
$rep='<div type="type_paypal_checkbox" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
2235 |
-
|
2236 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';">';
|
2237 |
-
|
2238 |
-
foreach($param['w_choices'] as $key => $choice) {
|
2239 |
-
$checked=(in_array($choice.' - '.$param['w_choices_price'][$key], $element_value)=='true' ? 'checked="checked"' : '');
|
2240 |
-
|
2241 |
-
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.$key.'" ">'.$choice.'</label><div class="checkbox-div forlabs"><input type="checkbox" id="wdform_'.$id1.'_element'.$form_id.''.$key.'" name="wdform_'.$id1.'_element'.$form_id.''.$key.'" value="'.$param['w_choices_price'][$key].'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.$key.'"></label></div><input type="hidden" name="wdform_'.$id1.'_element'.$form_id.$key.'_label" value="'.htmlspecialchars($choice).'" /></div>';
|
2242 |
-
}
|
2243 |
-
|
2244 |
-
$rep.='<div id="wdform_'.$id1.'_div'.$form_id.'">';
|
2245 |
-
if($param['w_quantity']=="yes")
|
2246 |
-
$rep.='<div class="paypal-property"><label class="mini_label" style="margin: 0px 5px;">Quantity</label><input type="text" value="'.($quantity_value == '' ? 1 : $quantity_value).'" id="wdform_'.$id1.'_element_quantity'.$form_id.'" name="wdform_'.$id1.'_element_quantity'.$form_id.'" class="wdform-quantity"></div>';
|
2247 |
-
|
2248 |
-
if($param['w_property'][0])
|
2249 |
-
foreach($param['w_property'] as $key => $property) {
|
2250 |
-
$rep.='
|
2251 |
-
<div class="paypal-property">
|
2252 |
-
<div style="width:100px; display:inline-block;">
|
2253 |
-
<label class="mini_label" id="wdform_'.$id1.'_property_label_'.$form_id.''.$key.'" style="margin-right: 5px;">'.$property.'</label>
|
2254 |
-
<select id="wdform_'.$id1.'_property'.$form_id.''.$key.'" name="wdform_'.$id1.'_property'.$form_id.''.$key.'" style="width: 100%; margin: 2px 0px;">';
|
2255 |
-
$param['w_property_values'][$key] = explode('###',$param['w_property_values'][$key]);
|
2256 |
-
$param['w_property_values'][$key] = array_slice($param['w_property_values'][$key],1, count($param['w_property_values'][$key]));
|
2257 |
-
foreach($param['w_property_values'][$key] as $subkey => $property_value) {
|
2258 |
-
$rep.='<option id="wdform_'.$id1.'_'.$key.'_option'.$subkey.'" value="'.$property_value.'" '.($property_of_check==$property_value ? 'selected="selected"' : "").'>'.$property_value.'</option>';
|
2259 |
-
}
|
2260 |
-
$rep.='</select></div></div>';
|
2261 |
-
}
|
2262 |
-
|
2263 |
-
$rep.='</div></div></div>';
|
2264 |
-
|
2265 |
-
/*$onsubmit_js.='
|
2266 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_label'.$form_id.'\" />").val((x.find(jQuery("div[wdid='.$id1.'] input:checked")).length != 0) ? jQuery("#"+x.find(jQuery("div[wdid='.$id1.'] input:checked")).prop("id").replace("element", "elementlabel_")) : "").appendTo("#form'.$form_id.'");
|
2267 |
-
';*/
|
2268 |
-
|
2269 |
-
$onsubmit_js.='
|
2270 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_quantity_label'.$form_id.'\" />").val("Quantity").appendTo("#form'.$form_id.'");
|
2271 |
-
';
|
2272 |
-
$onsubmit_js.='
|
2273 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_property_label'.$form_id.'\" />").val("'.$param['w_property'][0].'").appendTo("#form'.$form_id.'");
|
2274 |
-
';
|
2275 |
-
|
2276 |
-
break;
|
2277 |
-
}
|
2278 |
|
2279 |
-
|
2280 |
-
if($element_value=='')
|
2281 |
-
$element_value = ' :';
|
2282 |
-
|
2283 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class','w_property','w_property_values','w_quantity');
|
2284 |
-
$temp=$params;
|
2285 |
|
2286 |
-
foreach($params_names as $params_name ) {
|
2287 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2288 |
-
$param[$params_name] = $temp[0];
|
2289 |
-
$temp=$temp[1];
|
2290 |
-
}
|
2291 |
|
2292 |
-
if($temp) {
|
2293 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
2294 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
2295 |
-
foreach($attrs as $attr)
|
2296 |
-
$param['attributes'] = $param['attributes'].' '.$attr;
|
2297 |
-
}
|
2298 |
|
2299 |
-
|
2300 |
-
|
2301 |
-
|
2302 |
-
$param['w_choices'] = explode('***',$param['w_choices']);
|
2303 |
-
$param['w_choices_price'] = explode('***',$param['w_choices_price']);
|
2304 |
-
$param['w_property'] = explode('***',$param['w_property']);
|
2305 |
-
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
2306 |
-
|
2307 |
-
|
2308 |
-
$rep='<div type="type_paypal_radio" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
2309 |
-
|
2310 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';">';
|
2311 |
-
|
2312 |
-
if(strpos($element_value,'***br***') !== false) {
|
2313 |
-
$element_value = explode('***br***',$element_value);
|
2314 |
-
if (count($element_value)==2) {
|
2315 |
-
if (strpos($element_value[1], '***quantity***') !== false) {
|
2316 |
-
$quantity_value = explode(': ',str_replace("***quantity***","",$element_value[1]));
|
2317 |
-
$quantity_value = $quantity_value[1];
|
2318 |
-
$property_of_radio = '';
|
2319 |
-
}
|
2320 |
-
else {
|
2321 |
-
$quantity_value = '' ;
|
2322 |
-
$property_of_radio = explode(': ',str_replace("***property***","",$element_value[1]));
|
2323 |
-
$property_of_radio = $property_of_radio[1];
|
2324 |
-
}
|
2325 |
-
|
2326 |
-
$element_value = explode(' :',$element_value[0]);
|
2327 |
-
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
2328 |
-
}
|
2329 |
-
else {
|
2330 |
-
$quantity_value = explode(': ',str_replace("***quantity***","",$element_value[1]));
|
2331 |
-
$quantity_value = $quantity_value[1];
|
2332 |
-
$property_of_radio = explode(': ',str_replace("***property***","",$element_value[2]));
|
2333 |
-
$property_of_radio = $property_of_radio[1];
|
2334 |
-
|
2335 |
-
$element_value = explode(' :',$element_value[0]);
|
2336 |
-
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
2337 |
-
}
|
2338 |
-
}
|
2339 |
-
else {
|
2340 |
-
$element_value = explode(' :',$element_value);
|
2341 |
-
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
2342 |
-
$quantity_value = '';
|
2343 |
-
$property_of_radio = '';
|
2344 |
-
}
|
2345 |
-
|
2346 |
-
foreach($param['w_choices'] as $key => $choice) {
|
2347 |
-
|
2348 |
-
if($element_value[0] == $choice && $param['w_choices_price'][$key] == $choise_value)
|
2349 |
-
$checked = 'checked="checked"';
|
2350 |
-
else
|
2351 |
-
$checked = '';
|
2352 |
-
|
2353 |
-
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.$key.'">'.$choice.'</label><div class="radio-div forlabs"><input type="radio" id="wdform_'.$id1.'_element'.$form_id.''.$key.'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.$param['w_choices_price'][$key].'" title="'.htmlspecialchars($choice).'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.$key.'"></label></div></div>';
|
2354 |
-
|
2355 |
-
}
|
2356 |
|
2357 |
-
|
2358 |
-
if($param['w_quantity']=="yes")
|
2359 |
-
$rep.='<div class="paypal-property"><label class="mini_label" style="margin: 0px 5px;">'. _("Quantity") .'</label><input type="text" value="'.($quantity_value=='' ? 1 : $quantity_value).'" id="wdform_'.$id1.'_element_quantity'.$form_id.'" name="wdform_'.$id1.'_element_quantity'.$form_id.'" class="wdform-quantity"></div>';
|
2360 |
-
|
2361 |
-
if($param['w_property'][0])
|
2362 |
-
foreach($param['w_property'] as $key => $property) {
|
2363 |
-
$rep.='
|
2364 |
-
<div class="paypal-property">
|
2365 |
-
<div style="width:100px; display:inline-block;">
|
2366 |
-
<label class="mini_label" id="wdform_'.$id1.'_property_label_'.$form_id.''.$key.'" style="margin-right: 5px;">'.$property.'</label>
|
2367 |
-
<select id="wdform_'.$id1.'_property'.$form_id.''.$key.'" name="wdform_'.$id1.'_property'.$form_id.''.$key.'" style="width: 100%; margin: 2px 0px;">';
|
2368 |
-
$param['w_property_values'][$key] = explode('###',$param['w_property_values'][$key]);
|
2369 |
-
$param['w_property_values'][$key] = array_slice($param['w_property_values'][$key],1, count($param['w_property_values'][$key]));
|
2370 |
-
foreach($param['w_property_values'][$key] as $subkey => $property_value) {
|
2371 |
-
$rep.='<option id="wdform_'.$id1.'_'.$key.'_option'.$subkey.'" value="'.$property_value.'" '.($property_of_radio==$property_value ? 'selected="selected"' : "").'>'.$property_value.'</option>';
|
2372 |
-
}
|
2373 |
-
$rep.='</select></div></div>';
|
2374 |
-
}
|
2375 |
-
|
2376 |
-
$rep.='</div></div></div>';
|
2377 |
-
|
2378 |
-
$onsubmit_js.='
|
2379 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_label'.$form_id.'\" />").val(
|
2380 |
-
jQuery("label[for=\'"+jQuery("input[name^=\'wdform_'.$id1.'_element'.$form_id.'\']:checked").prop("id")+"\']").eq(0).text()
|
2381 |
-
).appendTo("#form'.$form_id.'");
|
2382 |
|
2383 |
-
|
2384 |
-
|
2385 |
-
$onsubmit_js.='
|
2386 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_quantity_label'.$form_id.'\" />").val("Quantity").appendTo("#form'.$form_id.'");
|
2387 |
-
';
|
2388 |
-
$onsubmit_js.='
|
2389 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_property_label'.$form_id.'\" />").val("'.$param['w_property'][0].'").appendTo("#form'.$form_id.'");
|
2390 |
-
';
|
2391 |
-
|
2392 |
-
break;
|
2393 |
-
}
|
2394 |
-
|
2395 |
|
2396 |
-
|
2397 |
-
if($element_value=='')
|
2398 |
-
$element_value =' - ';
|
2399 |
-
|
2400 |
-
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
2401 |
-
$temp=$params;
|
2402 |
|
2403 |
-
|
2404 |
-
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2405 |
-
$param[$params_name] = $temp[0];
|
2406 |
-
$temp=$temp[1];
|
2407 |
-
}
|
2408 |
-
|
2409 |
-
if($temp)
|
2410 |
-
{
|
2411 |
-
$temp =explode('*:*w_attr_name*:*',$temp);
|
2412 |
-
$attrs = array_slice($temp,0, count($temp)-1);
|
2413 |
-
foreach($attrs as $attr)
|
2414 |
-
$param['attributes'] = $param['attributes'].' '.$attr;
|
2415 |
-
}
|
2416 |
-
|
2417 |
-
|
2418 |
-
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
2419 |
-
|
2420 |
-
$param['w_choices'] = explode('***',$param['w_choices']);
|
2421 |
-
$param['w_choices_price'] = explode('***',$param['w_choices_price']);
|
2422 |
-
|
2423 |
-
$element_value = explode(' - ',$element_value);
|
2424 |
-
$element_value[1] = preg_replace("/[^0-9]/","",$element_value[1]);
|
2425 |
-
|
2426 |
-
$rep='<div type="type_paypal_shipping" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
2427 |
-
|
2428 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';">';
|
2429 |
-
|
2430 |
-
foreach($param['w_choices'] as $key => $choice) {
|
2431 |
-
|
2432 |
-
$checked =(($choice==$element_value[0] && $param['w_choices_price'][$key]== $element_value[1]) ? 'checked="checked"' : '');
|
2433 |
-
|
2434 |
-
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.$key.'">'.$choice.'</label><div class="radio-div forlabs"><input type="radio" id="wdform_'.$id1.'_element'.$form_id.''.$key.'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.$param['w_choices_price'][$key].'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.$key.'"></label></div></div>';
|
2435 |
-
|
2436 |
-
}
|
2437 |
|
2438 |
-
|
2439 |
|
2440 |
-
|
2441 |
-
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_label'.$form_id.'\" />").val(
|
2442 |
-
jQuery("label[for=\'"+jQuery("input[name^=\'wdform_'.$id1.'_element'.$form_id.'\']:checked").prop("id")+"\']").eq(0).text()
|
2443 |
-
).appendTo("#form'.$form_id.'");
|
2444 |
|
2445 |
-
|
2446 |
-
|
2447 |
-
|
2448 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2449 |
|
2450 |
case 'type_star_rating': {
|
2451 |
if($element_value=='')
|
40 |
$style_id = $this->model->hide_or_not($lists['hide_label_list'], '@submitid@');
|
41 |
$style_date = $this->model->hide_or_not($lists['hide_label_list'], '@submitdate@');
|
42 |
$style_ip = $this->model->hide_or_not($lists['hide_label_list'], '@submitterip@');
|
43 |
+
|
44 |
+
$style_username = $this->model->hide_or_not($lists['hide_label_list'], '@submitterusername@');
|
45 |
+
$style_useremail = $this->model->hide_or_not($lists['hide_label_list'], '@submitteremail@');
|
46 |
+
|
|
|
47 |
$oder_class_default = "manage-column column-autor sortable desc";
|
48 |
$oder_class = "manage-column column-title sorted " . $asc_or_desc;
|
49 |
$ispaypal = FALSE;
|
52 |
$n = count($rows);
|
53 |
$group_id_s = array();
|
54 |
$group_id_s = $this->model->sort_group_ids(count($sorted_label_names),$group_ids);
|
55 |
+
$ka_fielderov_search = (($lists['ip_search'] || $lists['startdate'] || $lists['enddate'] || $lists['username_search'] || $lists['useremail_search'] || $lists['id_search']) ? TRUE : FALSE);
|
56 |
$is_stats = false;
|
57 |
$blocked_ips = $this->model->blocked_ips();
|
|
|
58 |
?>
|
59 |
<script type="text/javascript">
|
60 |
function clickLabChBAll(ChBAll) {
|
64 |
'submitid',
|
65 |
'submitdate',
|
66 |
'submitterip',
|
67 |
+
'submitterusername',
|
68 |
+
'submitteremail'
|
69 |
), $sorted_labels_id);
|
70 |
$sorted_label_names_for_check = array_merge(array(
|
71 |
'ID',
|
72 |
'Submit date',
|
73 |
"Submitter's IP",
|
74 |
+
"Submitter's Username",
|
75 |
+
"Submitter's Email Address"
|
76 |
), $sorted_label_names_original);
|
77 |
}
|
78 |
else {
|
80 |
'submitid',
|
81 |
'submitdate',
|
82 |
'submitterip',
|
83 |
+
'submitterusername',
|
84 |
+
'submitteremail'
|
85 |
);
|
86 |
$sorted_label_names_for_check = array(
|
87 |
'ID',
|
88 |
'Submit date',
|
89 |
"Submitter's IP",
|
90 |
+
'Submitter\'s Username',
|
91 |
+
'Submitter\'s Email Address'
|
92 |
);
|
93 |
}
|
94 |
?>
|
115 |
renderColumns();
|
116 |
}
|
117 |
function remove_all() {
|
118 |
+
if(document.getElementById('startdate'))
|
119 |
+
document.getElementById('startdate').value='';
|
120 |
+
if(document.getElementById('enddate'))
|
121 |
+
document.getElementById('enddate').value='';
|
122 |
+
if(document.getElementById('id_search'))
|
123 |
+
document.getElementById('id_search').value='';
|
124 |
+
if(document.getElementById('ip_search'))
|
125 |
+
document.getElementById('ip_search').value='';
|
126 |
+
if(document.getElementById('username_search'))
|
127 |
+
document.getElementById('username_search').value='';
|
128 |
+
if(document.getElementById('useremail_search'))
|
129 |
+
document.getElementById('useremail_search').value='';
|
130 |
<?php
|
131 |
$n = count($rows);
|
132 |
for ($i = 0; $i < count($sorted_label_names); $i++) {
|
373 |
</tr>
|
374 |
<tr id="fields_filter" style="display: none;">
|
375 |
<th></th>
|
376 |
+
<th></th>
|
377 |
+
<th class="submitid_fc" <?php echo $style_id; ?> >
|
378 |
+
<input type="text" name="id_search" id="id_search" value="<?php echo $lists['id_search'] ?>" onChange="this.form.submit();" style="width:30px"/>
|
379 |
+
</th>
|
380 |
+
<th></th>
|
381 |
<th></th>
|
|
|
|
|
|
|
382 |
<th width="150" class="submitdate_fc" <?php echo $style_date; ?>>
|
383 |
<table align="center" style="margin:auto" class="simple_table">
|
384 |
<tr class="simple_table">
|
690 |
<script>
|
691 |
jQuery(window).load(function() {
|
692 |
spider_popup();
|
|
|
693 |
});
|
694 |
function show_stats() {
|
695 |
jQuery('#div_stats').html('<div id="saving"><div id="saving_text">Loading</div><div id="fadingBarsG"><div id="fadingBarsG_1" class="fadingBarsG"></div><div id="fadingBarsG_2" class="fadingBarsG"></div><div id="fadingBarsG_3" class="fadingBarsG"></div><div id="fadingBarsG_4" class="fadingBarsG"></div><div id="fadingBarsG_5" class="fadingBarsG"></div><div id="fadingBarsG_6" class="fadingBarsG"></div><div id="fadingBarsG_7" class="fadingBarsG"></div><div id="fadingBarsG_8" class="fadingBarsG"></div></div></div>');
|
716 |
<?php
|
717 |
}
|
718 |
|
719 |
+
public function show_stats($form_id) {
|
720 |
$key = (isset($_POST['sorted_label_key']) ? esc_html(stripslashes($_POST['sorted_label_key'])) : '');
|
721 |
$labels_parameters = $this->model->get_labels_parameters($form_id);
|
722 |
$where_choices = $labels_parameters[7];
|
1053 |
$ispaypal = $params[4];
|
1054 |
$form = $params[5];
|
1055 |
$form_theme = $params[6];
|
1056 |
+
$userinfo = get_userdata($rows[0]->user_id_wd);
|
1057 |
+
$username = $userinfo ? $userinfo->display_name : "";
|
1058 |
+
$useremail = $userinfo ? $userinfo->user_email : "";
|
|
|
1059 |
?>
|
1060 |
<form action="admin.php?page=submissions_fm" method="post" id="formform_id_temp" name="formform_id_temp">
|
1061 |
<?php wp_nonce_field('nonce_fm', 'nonce_fm'); ?>
|
1580 |
break;
|
1581 |
}
|
1582 |
|
1583 |
+
case 'type_checkbox':
|
|
|
|
|
|
|
1584 |
|
1585 |
+
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1586 |
|
1587 |
+
|
|
|
|
|
|
|
|
|
1588 |
|
1589 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1590 |
|
1591 |
+
$temp=$params;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1592 |
|
1593 |
+
if(strpos($temp, 'w_field_option_pos') > -1)
|
|
|
|
|
1594 |
|
1595 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_field_option_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num', 'w_value_disabled','w_choices_value', 'w_choices_params', 'w_class');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1596 |
|
1597 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1598 |
|
1599 |
+
foreach($params_names as $params_name )
|
|
|
|
|
1600 |
|
1601 |
+
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1602 |
|
1603 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
|
|
|
|
|
|
|
|
|
|
1604 |
|
1605 |
+
$param[$params_name] = $temp[0];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1606 |
|
1607 |
+
$temp=$temp[1];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1608 |
|
1609 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1610 |
|
1611 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1612 |
|
1613 |
+
if($temp)
|
|
|
|
|
1614 |
|
1615 |
+
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1616 |
|
1617 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
|
|
|
|
|
|
|
|
|
|
|
|
1618 |
|
1619 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
1620 |
+
|
1621 |
+
foreach($attrs as $attr)
|
1622 |
+
|
1623 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
1624 |
+
|
1625 |
+
}
|
1626 |
+
|
1627 |
+
|
1628 |
+
|
1629 |
+
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
1630 |
+
|
1631 |
+
if(!isset($param['w_value_disabled']))
|
1632 |
+
|
1633 |
+
$param['w_value_disabled'] = 'no';
|
1634 |
+
|
1635 |
+
|
1636 |
+
|
1637 |
+
if(!isset($param['w_field_option_pos']))
|
1638 |
+
|
1639 |
+
$param['w_field_option_pos'] = 'left';
|
1640 |
+
|
1641 |
+
|
1642 |
+
|
1643 |
+
$param['w_field_option_pos1'] = ($param['w_field_option_pos']=="right" ? "style='float: none !important;'" : "");
|
1644 |
+
|
1645 |
+
$param['w_field_option_pos2'] = ($param['w_field_option_pos']=="right" ? "style='float: left !important; margin-right: 8px !important; display: inline-block !important;'" : "");
|
1646 |
+
|
1647 |
+
|
1648 |
+
|
1649 |
+
$param['w_choices'] = explode('***',$param['w_choices']);
|
1650 |
+
|
1651 |
+
if(isset($param['w_choices_value']))
|
1652 |
+
|
1653 |
+
{
|
1654 |
+
|
1655 |
+
$param['w_choices_value'] = explode('***',$param['w_choices_value']);
|
1656 |
+
|
1657 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
1658 |
+
|
1659 |
+
}
|
1660 |
+
|
1661 |
+
|
1662 |
+
|
1663 |
+
$element_value = explode('***br***',$element_value);
|
1664 |
+
|
1665 |
+
$element_value = array_slice($element_value,0, count($element_value)-1);
|
1666 |
+
|
1667 |
+
$is_other=false;
|
1668 |
+
|
1669 |
+
$other_value = '';
|
1670 |
+
|
1671 |
+
|
1672 |
+
|
1673 |
+
foreach($element_value as $key => $value)
|
1674 |
+
|
1675 |
+
{
|
1676 |
+
|
1677 |
+
if(!in_array($value, ($param['w_value_disabled']=='no' ? $param['w_choices'] : (isset($param['w_choices_value']) ? $param['w_choices_value'] : array()))))
|
1678 |
+
|
1679 |
+
{
|
1680 |
+
|
1681 |
+
$other_value = $value;
|
1682 |
+
|
1683 |
+
$is_other=true;
|
1684 |
+
|
1685 |
+
break;
|
1686 |
+
|
1687 |
+
}
|
1688 |
+
|
1689 |
+
}
|
1690 |
+
|
1691 |
+
|
1692 |
+
|
1693 |
+
$rep='<div type="type_checkbox" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
1694 |
+
|
1695 |
+
|
1696 |
+
|
1697 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';">';
|
1698 |
+
|
1699 |
+
|
1700 |
+
|
1701 |
+
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).'; vertical-align:top">';
|
1702 |
+
|
1703 |
+
$total_queries = 0;
|
1704 |
+
|
1705 |
+
foreach($param['w_choices'] as $key => $choice)
|
1706 |
+
|
1707 |
+
{
|
1708 |
+
|
1709 |
+
$key1 = $key + $total_queries;
|
1710 |
+
|
1711 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
1712 |
+
|
1713 |
+
{
|
1714 |
+
|
1715 |
+
$choices_labels =array();
|
1716 |
+
$choices_values = array();
|
1717 |
+
|
1718 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
1719 |
+
$where = (str_replace(array('[',']'), '', $w_choices_params[0]) ? ' WHERE '.str_replace(array('[',']'), '', $w_choices_params[0]) : '');
|
1720 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
1721 |
+
|
1722 |
+
$order_by = str_replace(array('[',']'), '', $w_choices_params[0]);
|
1723 |
+
$db_info = str_replace(array('[',']'), '', $w_choices_params[1]);
|
1724 |
+
|
1725 |
+
|
1726 |
+
|
1727 |
+
$label_table_and_column = explode(':',str_replace(array('[',']'), '', $choice));
|
1728 |
+
|
1729 |
+
$table = $label_table_and_column[0];
|
1730 |
+
|
1731 |
+
$label_column = $label_table_and_column[1];
|
1732 |
+
|
1733 |
+
if($label_column)
|
1734 |
+
|
1735 |
+
{
|
1736 |
+
$choices_labels = $this->model->select_data_from_db_for_labels($db_info, $label_column, $table, $where, $order_by);
|
1737 |
+
|
1738 |
+
}
|
1739 |
+
|
1740 |
+
|
1741 |
+
|
1742 |
+
$value_table_and_column = explode(':',str_replace(array('[',']'), '', $param['w_choices_value'][$key]));
|
1743 |
+
|
1744 |
+
$value_column = $value_table_and_column[1];
|
1745 |
+
|
1746 |
+
|
1747 |
+
|
1748 |
+
if($value_column)
|
1749 |
+
|
1750 |
+
{
|
1751 |
+
$choices_values = $this->model->select_data_from_db_for_values($db_info, $value_column, $table, $where, $order_by);
|
1752 |
+
|
1753 |
+
}
|
1754 |
+
|
1755 |
+
$columns_count_checkbox = count($choices_labels)>0 ? count($choices_labels) : count($choices_values);
|
1756 |
+
|
1757 |
+
|
1758 |
+
|
1759 |
+
if(array_filter($choices_labels) || array_filter($choices_values))
|
1760 |
+
|
1761 |
+
{
|
1762 |
+
|
1763 |
+
$total_queries = $total_queries + $columns_count_checkbox-1;
|
1764 |
+
|
1765 |
+
|
1766 |
+
|
1767 |
+
if(!isset($post_value))
|
1768 |
+
|
1769 |
+
$param['w_choices_checked'][$key]=($param['w_choices_checked'][$key]=='true' ? 'checked="checked"' : '');
|
1770 |
+
|
1771 |
+
|
1772 |
+
|
1773 |
+
for($k=0; $k<$columns_count_checkbox; $k++)
|
1774 |
+
|
1775 |
+
{
|
1776 |
+
|
1777 |
+
$choice_label = isset($choices_labels[$k]) ? $choices_labels[$k] : '';
|
1778 |
+
|
1779 |
+
$choice_value = isset($choices_values[$k]) ? $choices_values[$k] : $choice_label;
|
1780 |
+
|
1781 |
+
if(($key1+$k)%$param['w_rowcol']==0 && ($key1+$k)>0)
|
1782 |
+
|
1783 |
+
$rep.='</div><div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).'; vertical-align:top">';
|
1784 |
+
|
1785 |
+
|
1786 |
+
|
1787 |
+
$checked=(in_array($choice_value, $element_value) ? 'checked="checked"' : '');
|
1788 |
+
|
1789 |
+
|
1790 |
+
|
1791 |
+
$rep.='<div style="display: '.($param['w_flow']!='hor' ? 'table-cell' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'" '.$param['w_field_option_pos1'].'>'.$choice_label.'</label><div class="checkbox-div forlabs" '.$param['w_field_option_pos2'].'><input type="checkbox" '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'other="1"' : '' ).' id="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'" name="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'" value="'.htmlspecialchars($choice_value).'" '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'onclick="if(set_checked("wdform_'.$id1.'","'.($key1+$k).'","'.$form_id.'")) show_other_input("wdform_'.$id1.'","'.$form_id.'");"' : '').' '.$param['attributes'].' '.$checked.'><label for="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'"></label></div></div>';
|
1792 |
+
|
1793 |
+
|
1794 |
+
|
1795 |
+
}
|
1796 |
+
|
1797 |
+
}
|
1798 |
+
|
1799 |
+
}
|
1800 |
+
|
1801 |
+
else
|
1802 |
+
|
1803 |
+
{
|
1804 |
+
|
1805 |
+
if($key1%$param['w_rowcol']==0 && $key1>0)
|
1806 |
+
|
1807 |
+
$rep.='</div><div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).'; vertical-align:top">';
|
1808 |
+
|
1809 |
+
|
1810 |
+
|
1811 |
+
$checked=(in_array($choice, $element_value) ? 'checked="checked"' : '');
|
1812 |
+
|
1813 |
+
|
1814 |
+
|
1815 |
+
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key && $is_other)
|
1816 |
+
|
1817 |
+
$checked = 'checked="checked"';
|
1818 |
+
|
1819 |
+
|
1820 |
+
|
1821 |
+
|
1822 |
+
|
1823 |
+
$rep.='<div style="display: '.($param['w_flow']!='hor' ? 'table-cell' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.$key1.'" '.$param['w_field_option_pos1'].'>'.$choice.'</label><div class="checkbox-div forlabs" '.$param['w_field_option_pos2'].'><input type="checkbox" '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'other="1"' : '' ).' id="wdform_'.$id1.'_element'.$form_id.''.$key1.'" name="wdform_'.$id1.'_element'.$form_id.''.$key1.'" value="'.htmlspecialchars($choice).'" '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'onclick="if(set_checked("wdform_'.$id1.'","'.$key1.'","'.$form_id.'")) show_other_input("wdform_'.$id1.'","'.$form_id.'");"' : '').' '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.$key1.'"></label></div></div>';
|
1824 |
+
|
1825 |
+
|
1826 |
+
|
1827 |
+
$param['w_allow_other_num'] = $param['w_allow_other_num']==$key ? $key1 : $param['w_allow_other_num'];
|
1828 |
+
|
1829 |
+
}
|
1830 |
+
|
1831 |
+
}
|
1832 |
+
|
1833 |
+
$rep.='</div>';
|
1834 |
+
|
1835 |
+
|
1836 |
+
|
1837 |
+
$rep.='</div></div>';
|
1838 |
+
|
1839 |
+
|
1840 |
+
|
1841 |
+
|
1842 |
+
|
1843 |
+
if($is_other)
|
1844 |
+
|
1845 |
+
$onload_js .='show_other_input("wdform_'.$id1.'","'.$form_id.'"); jQuery("#wdform_'.$id1.'_other_input'.$form_id.'").val("'.$other_value.'");';
|
1846 |
+
|
1847 |
+
|
1848 |
+
|
1849 |
+
$onsubmit_js.='
|
1850 |
+
|
1851 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_allow_other'.$form_id.'\" value = \"'.$param['w_allow_other'].'\" />").appendTo("#adminForm");
|
1852 |
+
|
1853 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_allow_other_num'.$form_id.'\" value = \"'.$param['w_allow_other_num'].'\" />").appendTo("#adminForm");
|
1854 |
+
|
1855 |
+
';
|
1856 |
+
|
1857 |
+
|
1858 |
+
|
1859 |
+
break;
|
1860 |
+
|
1861 |
+
}
|
1862 |
+
|
1863 |
+
case 'type_radio':
|
1864 |
+
|
1865 |
+
{
|
1866 |
+
|
1867 |
+
|
1868 |
+
|
1869 |
+
|
1870 |
+
|
1871 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
1872 |
+
|
1873 |
+
$temp=$params;
|
1874 |
+
|
1875 |
+
if(strpos($temp, 'w_field_option_pos') > -1)
|
1876 |
+
|
1877 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_field_option_pos','w_flow','w_choices','w_choices_checked','w_rowcol', 'w_required','w_randomize','w_allow_other','w_allow_other_num','w_value_disabled','w_choices_value', 'w_choices_params','w_class');
|
1878 |
+
|
1879 |
+
|
1880 |
+
|
1881 |
+
foreach($params_names as $params_name )
|
1882 |
+
|
1883 |
+
{
|
1884 |
+
|
1885 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
1886 |
+
|
1887 |
+
$param[$params_name] = $temp[0];
|
1888 |
+
|
1889 |
+
$temp=$temp[1];
|
1890 |
+
|
1891 |
+
}
|
1892 |
+
|
1893 |
+
|
1894 |
+
|
1895 |
+
if($temp)
|
1896 |
+
|
1897 |
+
{
|
1898 |
+
|
1899 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
1900 |
+
|
1901 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
1902 |
+
|
1903 |
+
foreach($attrs as $attr)
|
1904 |
+
|
1905 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
1906 |
+
|
1907 |
+
}
|
1908 |
+
|
1909 |
+
if(!isset($param['w_value_disabled']))
|
1910 |
+
|
1911 |
+
$param['w_value_disabled'] = 'no';
|
1912 |
+
|
1913 |
+
|
1914 |
+
|
1915 |
+
if(!isset($param['w_field_option_pos']))
|
1916 |
+
|
1917 |
+
$param['w_field_option_pos'] = 'left';
|
1918 |
+
|
1919 |
+
|
1920 |
+
|
1921 |
+
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
1922 |
+
|
1923 |
+
$param['w_field_option_pos1'] = ($param['w_field_option_pos']=="right" ? "style='float: none !important;'" : "");
|
1924 |
+
|
1925 |
+
$param['w_field_option_pos2'] = ($param['w_field_option_pos']=="right" ? "style='float: left !important; margin-right: 8px !important; display: inline-block !important;'" : "");
|
1926 |
+
|
1927 |
+
|
1928 |
+
|
1929 |
+
$param['w_choices'] = explode('***',$param['w_choices']);
|
1930 |
+
|
1931 |
+
if(isset($param['w_choices_value']))
|
1932 |
+
|
1933 |
+
{
|
1934 |
+
|
1935 |
+
$param['w_choices_value'] = explode('***',$param['w_choices_value']);
|
1936 |
+
|
1937 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
1938 |
+
|
1939 |
+
}
|
1940 |
+
|
1941 |
+
|
1942 |
+
|
1943 |
+
$is_other=true;
|
1944 |
+
|
1945 |
+
|
1946 |
+
|
1947 |
+
foreach($param['w_choices'] as $key => $choice)
|
1948 |
+
|
1949 |
+
{
|
1950 |
+
|
1951 |
+
$choice_value = isset($param['w_choices_value']) ? $param['w_choices_value'][$key] : $choice;
|
1952 |
+
|
1953 |
+
if($choice_value==$element_value)
|
1954 |
+
|
1955 |
+
{
|
1956 |
+
|
1957 |
+
$is_other=false;
|
1958 |
+
|
1959 |
+
break;
|
1960 |
+
|
1961 |
+
}
|
1962 |
+
|
1963 |
+
}
|
1964 |
+
|
1965 |
+
|
1966 |
+
|
1967 |
+
$rep='<div type="type_radio" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
1968 |
+
|
1969 |
+
|
1970 |
+
|
1971 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';">';
|
1972 |
+
|
1973 |
+
|
1974 |
+
|
1975 |
+
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).'; vertical-align:top">';
|
1976 |
+
|
1977 |
+
$total_queries =0;
|
1978 |
+
|
1979 |
+
foreach($param['w_choices'] as $key => $choice)
|
1980 |
+
|
1981 |
+
{
|
1982 |
+
|
1983 |
+
$key1 = $key + $total_queries;
|
1984 |
+
|
1985 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
1986 |
+
|
1987 |
+
{
|
1988 |
+
|
1989 |
+
$choices_labels =array();
|
1990 |
+
$choices_values =array();
|
1991 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
1992 |
+
$where = (str_replace(array('[',']'), '', $w_choices_params[0]) ? ' WHERE '.str_replace(array('[',']'), '', $w_choices_params[0]) : '');
|
1993 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
1994 |
+
$order_by = str_replace(array('[',']'), '', $w_choices_params[0]);
|
1995 |
+
$db_info = str_replace(array('[',']'), '', $w_choices_params[1]);
|
1996 |
+
|
1997 |
+
$label_table_and_column = explode(':',str_replace(array('[',']'), '', $choice));
|
1998 |
+
|
1999 |
+
$table = $label_table_and_column[0];
|
2000 |
+
|
2001 |
+
$label_column = $label_table_and_column[1];
|
2002 |
+
|
2003 |
+
if($label_column) {
|
2004 |
+
$choices_labels = $this->model->select_data_from_db_for_labels($db_info, $label_column, $table, $where, $order_by);
|
2005 |
+
}
|
2006 |
+
|
2007 |
+
|
2008 |
+
|
2009 |
+
$value_table_and_column = explode(':',str_replace(array('[',']'), '', $param['w_choices_value'][$key]));
|
2010 |
+
|
2011 |
+
$value_column = $value_table_and_column[1];
|
2012 |
+
|
2013 |
+
|
2014 |
+
|
2015 |
+
if($value_column) {
|
2016 |
+
$choices_values = $this->model->select_data_from_db_for_values($db_info, $value_column, $table, $where, $order_by);
|
2017 |
+
}
|
2018 |
+
|
2019 |
+
|
2020 |
+
|
2021 |
+
$columns_count_radio = count($choices_labels)>0 ? count($choices_labels) : count($choices_values);
|
2022 |
+
|
2023 |
+
if(array_filter($choices_labels) || array_filter($choices_values))
|
2024 |
+
|
2025 |
+
{
|
2026 |
+
|
2027 |
+
$total_queries = $total_queries + $columns_count_radio-1;
|
2028 |
+
|
2029 |
+
|
2030 |
+
|
2031 |
+
for($k=0; $k<$columns_count_radio; $k++)
|
2032 |
+
|
2033 |
+
{
|
2034 |
+
|
2035 |
+
$choice_label = isset($choices_labels[$k]) ? $choices_labels[$k] : '';
|
2036 |
+
|
2037 |
+
$choice_value = isset($choices_values[$k]) ? $choices_values[$k] : $choice_label;
|
2038 |
+
|
2039 |
+
|
2040 |
+
|
2041 |
+
if(($key1+$k)%$param['w_rowcol']==0 && ($key1+$k)>0)
|
2042 |
+
|
2043 |
+
$rep.='</div><div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).'; vertical-align:top">';
|
2044 |
+
|
2045 |
+
|
2046 |
+
|
2047 |
+
$checked =($choice_value==$element_value ? 'checked="checked"' : '');
|
2048 |
+
|
2049 |
+
if($choice_value==$element_value)
|
2050 |
+
|
2051 |
+
$is_other=false;
|
2052 |
+
|
2053 |
+
|
2054 |
+
|
2055 |
+
$rep.='<div style="display: '.($param['w_flow']!='hor' ? 'table-cell' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'" '.$param['w_field_option_pos1'].'>'.$choice_label.'</label><div class="radio-div forlabs" '.$param['w_field_option_pos2'].'><input type="radio" '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'other="1"' : '' ).' id="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.htmlspecialchars($choice_value).'" onclick="set_default("wdform_'.$id1.'","'.($key1+$k).'","'.$form_id.'"); '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'show_other_input("wdform_'.$id1.'","'.$form_id.'");' : '').'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'"></label></div></div>';
|
2056 |
+
|
2057 |
+
|
2058 |
+
|
2059 |
+
}
|
2060 |
+
|
2061 |
+
}
|
2062 |
+
|
2063 |
+
}
|
2064 |
+
|
2065 |
+
else
|
2066 |
+
|
2067 |
+
{
|
2068 |
+
|
2069 |
+
if($key1%$param['w_rowcol']==0 && $key1>0)
|
2070 |
+
|
2071 |
+
$rep.='</div><div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).'; vertical-align:top">';
|
2072 |
+
|
2073 |
+
|
2074 |
+
|
2075 |
+
$checked =($choice==$element_value ? 'checked="checked"' : '');
|
2076 |
+
|
2077 |
+
if($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key && $is_other==true && $element_value!='')
|
2078 |
+
|
2079 |
+
$checked = 'checked="checked"';
|
2080 |
+
|
2081 |
+
$choice_value = isset($param['w_choices_value']) ? $param['w_choices_value'][$key] : $choice;
|
2082 |
+
|
2083 |
+
|
2084 |
+
|
2085 |
+
$rep.='<div style="display: '.($param['w_flow']!='hor' ? 'table-cell' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.$key1.'" '.$param['w_field_option_pos1'].'>'.$choice.'</label><div class="radio-div forlabs" '.$param['w_field_option_pos2'].'><input type="radio" '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'other="1"' : '' ).' id="wdform_'.$id1.'_element'.$form_id.''.$key1.'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.htmlspecialchars($choice_value).'" onclick="set_default("wdform_'.$id1.'","'.$key1.'","'.$form_id.'"); '.(($param['w_allow_other']=="yes" && $param['w_allow_other_num']==$key) ? 'show_other_input("wdform_'.$id1.'","'.$form_id.'");' : '').'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.$key1.'"></label></div></div>';
|
2086 |
+
|
2087 |
+
|
2088 |
+
|
2089 |
+
$param['w_allow_other_num'] = $param['w_allow_other_num']==$key ? $key1 : $param['w_allow_other_num'];
|
2090 |
+
|
2091 |
+
}
|
2092 |
+
|
2093 |
+
}
|
2094 |
+
|
2095 |
+
$rep.='</div>';
|
2096 |
+
|
2097 |
+
|
2098 |
+
|
2099 |
+
$rep.='</div></div>';
|
2100 |
+
|
2101 |
+
|
2102 |
+
|
2103 |
+
|
2104 |
+
|
2105 |
+
if($is_other && $element_value!='')
|
2106 |
+
|
2107 |
+
$onload_js .='show_other_input("wdform_'.$id1.'","'.$form_id.'"); jQuery("#wdform_'.$id1.'_other_input'.$form_id.'").val("'.$element_value.'");';
|
2108 |
+
|
2109 |
+
|
2110 |
+
|
2111 |
+
$onsubmit_js.='
|
2112 |
+
|
2113 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_allow_other'.$form_id.'\" value = \"'.$param['w_allow_other'].'\" />").appendTo("#form'.$form_id.'");
|
2114 |
+
|
2115 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_allow_other_num'.$form_id.'\" value = \"'.$param['w_allow_other_num'].'\" />").appendTo("#adminForm");
|
2116 |
+
|
2117 |
+
';
|
2118 |
+
|
2119 |
+
|
2120 |
+
|
2121 |
+
break;
|
2122 |
+
|
2123 |
+
}
|
2124 |
+
|
2125 |
+
case 'type_own_select':
|
2126 |
+
|
2127 |
+
{
|
2128 |
+
|
2129 |
+
|
2130 |
+
|
2131 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_checked', 'w_choices_disabled','w_required','w_class');
|
2132 |
+
|
2133 |
+
$temp=$params;
|
2134 |
+
|
2135 |
+
if(strpos($temp, 'w_choices_value') > -1)
|
2136 |
+
|
2137 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_checked', 'w_choices_disabled', 'w_required', 'w_value_disabled', 'w_choices_value', 'w_choices_params', 'w_class');
|
2138 |
+
|
2139 |
+
|
2140 |
+
|
2141 |
+
foreach($params_names as $params_name )
|
2142 |
+
|
2143 |
+
{
|
2144 |
+
|
2145 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2146 |
+
|
2147 |
+
$param[$params_name] = $temp[0];
|
2148 |
+
|
2149 |
+
$temp=$temp[1];
|
2150 |
+
|
2151 |
+
}
|
2152 |
+
|
2153 |
+
|
2154 |
+
|
2155 |
+
|
2156 |
+
|
2157 |
+
if($temp)
|
2158 |
+
|
2159 |
+
{
|
2160 |
+
|
2161 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
2162 |
+
|
2163 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
2164 |
+
|
2165 |
+
foreach($attrs as $attr)
|
2166 |
+
|
2167 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
2168 |
+
|
2169 |
+
}
|
2170 |
+
|
2171 |
+
|
2172 |
+
|
2173 |
+
|
2174 |
+
|
2175 |
+
$wdformfieldsize = ($param['w_field_label_pos']=="left" ? ($param['w_field_label_size']+$param['w_size']) : max($param['w_field_label_size'], $param['w_size']));
|
2176 |
+
|
2177 |
+
$param['w_field_label_pos1'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "");
|
2178 |
+
|
2179 |
+
$param['w_field_label_pos2'] = ($param['w_field_label_pos']=="left" ? "" : "display:block;");
|
2180 |
+
|
2181 |
+
|
2182 |
+
|
2183 |
+
$param['w_choices'] = explode('***',$param['w_choices']);
|
2184 |
+
|
2185 |
+
$param['w_choices_disabled'] = explode('***',$param['w_choices_disabled']);
|
2186 |
+
|
2187 |
+
if(isset($param['w_choices_value']))
|
2188 |
+
|
2189 |
+
{
|
2190 |
+
|
2191 |
+
$param['w_choices_value'] = explode('***',$param['w_choices_value']);
|
2192 |
+
|
2193 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
2194 |
+
|
2195 |
+
}
|
2196 |
+
|
2197 |
+
|
2198 |
+
|
2199 |
+
if(!isset($param['w_value_disabled']))
|
2200 |
+
|
2201 |
+
$param['w_value_disabled'] = 'no';
|
2202 |
+
|
2203 |
+
|
2204 |
+
|
2205 |
+
$rep='<div type="type_own_select" class="wdform-field" style="width:'.$wdformfieldsize.'px"><div class="wdform-label-section" style="'.$param['w_field_label_pos1'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
2206 |
+
|
2207 |
+
|
2208 |
+
|
2209 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.($param['w_size']).'px; "><select id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" style="width: 100%;" '.$param['attributes'].'>';
|
2210 |
+
|
2211 |
+
foreach($param['w_choices'] as $key => $choice)
|
2212 |
+
|
2213 |
+
{
|
2214 |
+
|
2215 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
2216 |
+
|
2217 |
+
{
|
2218 |
+
|
2219 |
+
$choices_labels =array();
|
2220 |
+
$choices_values = array();
|
2221 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
2222 |
+
$where = (str_replace(array('[',']'), '', $w_choices_params[0]) ? ' WHERE '.str_replace(array('[',']'), '', $w_choices_params[0]) : '');
|
2223 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
2224 |
+
$order_by = str_replace(array('[',']'), '', $w_choices_params[0]);
|
2225 |
+
$db_info = str_replace(array('[',']'), '', $w_choices_params[1]);
|
2226 |
+
|
2227 |
+
|
2228 |
+
$label_table_and_column = explode(':',str_replace(array('[',']'), '', $choice));
|
2229 |
+
|
2230 |
+
$table = $label_table_and_column[0];
|
2231 |
+
|
2232 |
+
$label_column = $label_table_and_column[1];
|
2233 |
+
|
2234 |
+
if($label_column)
|
2235 |
+
|
2236 |
+
{
|
2237 |
+
|
2238 |
+
$choices_labels = $this->model->select_data_from_db_for_labels($db_info, $label_column, $table, $where, $order_by);
|
2239 |
+
|
2240 |
+
}
|
2241 |
+
|
2242 |
+
|
2243 |
+
|
2244 |
+
$value_table_and_column = explode(':',str_replace(array('[',']'), '', $param['w_choices_value'][$key]));
|
2245 |
+
|
2246 |
+
$value_column = $param['w_choices_disabled'][$key]=="true" ? '' : $value_table_and_column[1];
|
2247 |
+
|
2248 |
+
|
2249 |
+
|
2250 |
+
if($value_column)
|
2251 |
+
|
2252 |
+
{
|
2253 |
+
|
2254 |
+
$choices_values = $this->model->select_data_from_db_for_values($db_info, $value_column, $table, $where, $order_by);
|
2255 |
+
|
2256 |
+
}
|
2257 |
+
|
2258 |
+
|
2259 |
+
|
2260 |
+
$columns_count = count($choices_labels)>0 ? count($choices_labels) : count($choices_values);
|
2261 |
+
|
2262 |
+
if(array_filter($choices_labels) || array_filter($choices_values))
|
2263 |
+
|
2264 |
+
for($k=0; $k<$columns_count; $k++)
|
2265 |
+
|
2266 |
+
{
|
2267 |
+
|
2268 |
+
$choice_label = isset($choices_labels[$k]) ? $choices_labels[$k] : '';
|
2269 |
+
|
2270 |
+
$choice_value = isset($choices_values[$k]) ? $choices_values[$k] : ($param['w_choices_disabled'][$key]=="true" ? '' : $choice_label);
|
2271 |
+
|
2272 |
+
|
2273 |
+
|
2274 |
+
$selected=($element_value && htmlspecialchars($choice_value)==htmlspecialchars($element_value) ? 'selected="selected"' : '');
|
2275 |
+
|
2276 |
+
|
2277 |
+
|
2278 |
+
$rep.='<option value="'.htmlspecialchars($choice_value).'" '.$selected.'>'.$choice_label.'</option>';
|
2279 |
+
|
2280 |
+
|
2281 |
+
|
2282 |
+
}
|
2283 |
+
|
2284 |
+
}
|
2285 |
+
|
2286 |
+
else
|
2287 |
+
|
2288 |
+
{
|
2289 |
+
|
2290 |
+
$choice_value = $param['w_choices_disabled'][$key]=="true" ? '' : (isset($param['w_choices_value']) ? $param['w_choices_value'][$key] : $choice);
|
2291 |
+
|
2292 |
+
|
2293 |
+
|
2294 |
+
$selected=($element_value && htmlspecialchars($choice_value)==htmlspecialchars($element_value) ? 'selected="selected"' : '');
|
2295 |
+
|
2296 |
+
|
2297 |
+
|
2298 |
+
$rep.='<option value="'.htmlspecialchars($choice_value).'" '.$selected.'>'.$choice.'</option>';
|
2299 |
+
|
2300 |
+
}
|
2301 |
+
|
2302 |
+
}
|
2303 |
+
|
2304 |
+
$rep.='</select></div></div>';
|
2305 |
+
|
2306 |
+
|
2307 |
+
|
2308 |
+
|
2309 |
+
|
2310 |
+
break;
|
2311 |
+
|
2312 |
+
}
|
2313 |
+
|
2314 |
+
case 'type_country': {
|
2315 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_countries','w_required','w_class');
|
2316 |
+
$temp=$params;
|
2317 |
+
foreach($params_names as $params_name ) {
|
2318 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2319 |
+
$param[$params_name] = $temp[0];
|
2320 |
+
$temp=$temp[1];
|
2321 |
+
}
|
2322 |
+
|
2323 |
+
if($temp) {
|
2324 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
2325 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
2326 |
+
foreach($attrs as $attr)
|
2327 |
+
$param['attributes'] = $param['attributes'].' add_'.$attr;
|
2328 |
+
}
|
2329 |
+
|
2330 |
+
$wdformfieldsize = ($param['w_field_label_pos']=="left" ? ($param['w_field_label_size']+$param['w_size']) : max($param['w_field_label_size'], $param['w_size']));
|
2331 |
+
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
2332 |
+
|
2333 |
+
$param['w_countries'] = explode('***',$param['w_countries']);
|
2334 |
+
|
2335 |
+
$selected='';
|
2336 |
+
|
2337 |
+
$rep='<div type="type_country" class="wdform-field" style="width:'.$wdformfieldsize.'px"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
2338 |
+
|
2339 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="width: '.$param['w_size'].'px;"><select id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" style="width: 100%;" '.$param['attributes'].'>';
|
2340 |
+
foreach($param['w_countries'] as $key => $choice) {
|
2341 |
+
|
2342 |
+
$selected=(htmlspecialchars($choice)==htmlspecialchars($element_value) ? 'selected="selected"' : '');
|
2343 |
+
|
2344 |
+
$choice_value=$choice;
|
2345 |
+
$rep.='<option value="'.$choice_value.'" '.$selected.'>'.$choice.'</option>';
|
2346 |
+
}
|
2347 |
+
$rep.='</select></div></div>';
|
2348 |
+
|
2349 |
+
break;
|
2350 |
+
}
|
2351 |
+
|
2352 |
+
case 'type_time': {
|
2353 |
+
if($element_value =='')
|
2354 |
+
$element_value = ':';
|
2355 |
+
|
2356 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_time_type','w_am_pm','w_sec','w_hh','w_mm','w_ss','w_mini_labels','w_required','w_class');
|
2357 |
+
$temp=$params;
|
2358 |
+
|
2359 |
+
foreach($params_names as $params_name ) {
|
2360 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2361 |
+
$param[$params_name] = $temp[0];
|
2362 |
+
$temp=$temp[1];
|
2363 |
+
}
|
2364 |
+
|
2365 |
+
if($temp) {
|
2366 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
2367 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
2368 |
+
foreach($attrs as $attr)
|
2369 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
2370 |
+
}
|
2371 |
+
|
2372 |
+
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
2373 |
+
|
2374 |
+
$w_mini_labels = explode('***',$param['w_mini_labels']);
|
2375 |
+
$element_value = explode(':',$element_value);
|
2376 |
+
|
2377 |
+
|
2378 |
+
$w_sec = '';
|
2379 |
+
$w_sec_label='';
|
2380 |
+
|
2381 |
+
if($param['w_sec']=='1') {
|
2382 |
+
$w_sec = '<div align="center" style="display: table-cell;"><span class="wdform_colon" style="vertical-align: middle;"> : </span></div><div style="display: table-cell;"><input type="text" value="'.(count($element_value)==2 ? '' : $element_value[2]).'" class="time_box" id="wdform_'.$id1.'_ss'.$form_id.'" name="wdform_'.$id1.'_ss'.$form_id.'" onkeypress="return check_second(event, "wdform_'.$id1.'_ss'.$form_id.'")" '.$param['attributes'].'></div>';
|
2383 |
+
|
2384 |
+
$w_sec_label='<div style="display: table-cell;"></div><div style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[2].'</label></div>';
|
2385 |
+
}
|
2386 |
+
|
2387 |
+
|
2388 |
+
if($param['w_time_type']=='12') {
|
2389 |
+
if(strpos($element_value[2],'pm')!==false) {
|
2390 |
+
$am_ = "";
|
2391 |
+
$pm_ = "selected=\"selected\"";
|
2392 |
+
}
|
2393 |
+
else {
|
2394 |
+
$am_ = "selected=\"selected\"";
|
2395 |
+
$pm_ = "";
|
2396 |
+
}
|
2397 |
+
|
2398 |
+
$w_time_type = '<div style="display: table-cell;"><select class="am_pm_select" name="wdform_'.$id1.'_am_pm'.$form_id.'" id="wdform_'.$id1.'_am_pm'.$form_id.'" '.$param['attributes'].'><option value="am" '.$am_.'>AM</option><option value="pm" '.$pm_.'>PM</option></select></div>';
|
2399 |
+
|
2400 |
+
$w_time_type_label = '<div ><label class="mini_label">'.$w_mini_labels[3].'</label></div>';
|
2401 |
+
|
2402 |
+
}
|
2403 |
+
else {
|
2404 |
+
$w_time_type='';
|
2405 |
+
$w_time_type_label = '';
|
2406 |
+
}
|
2407 |
+
|
2408 |
+
$rep ='<div type="type_time" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
2409 |
+
|
2410 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';"><div style="display: table;"><div style="display: table-row;"><div style="display: table-cell;"><input type="text" value="'.$element_value[0].'" class="time_box" id="wdform_'.$id1.'_hh'.$form_id.'" name="wdform_'.$id1.'_hh'.$form_id.'" onkeypress="return check_hour(event, "wdform_'.$id1.'_hh'.$form_id.'", "23")" '.$param['attributes'].'></div><div align="center" style="display: table-cell;"><span class="wdform_colon" style="vertical-align: middle;"> : </span></div><div style="display: table-cell;"><input type="text" value="'.$element_value[1].'" class="time_box" id="wdform_'.$id1.'_mm'.$form_id.'" name="wdform_'.$id1.'_mm'.$form_id.'" onkeypress="return check_minute(event, "wdform_'.$id1.'_mm'.$form_id.'")" '.$param['attributes'].'></div>'.$w_sec.$w_time_type.'</div><div style="display: table-row;"><div style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[0].'</label></div><div style="display: table-cell;"></div><div style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[1].'</label></div>'.$w_sec_label.$w_time_type_label.'</div></div></div></div>';
|
2411 |
+
|
2412 |
+
break;
|
2413 |
+
}
|
2414 |
+
|
2415 |
+
case 'type_date': {
|
2416 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_date','w_required','w_class','w_format','w_but_val');
|
2417 |
+
$temp=$params;
|
2418 |
+
|
2419 |
+
foreach($params_names as $params_name ) {
|
2420 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2421 |
+
$param[$params_name] = $temp[0];
|
2422 |
+
$temp=$temp[1];
|
2423 |
+
}
|
2424 |
+
|
2425 |
+
if($temp) {
|
2426 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
2427 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
2428 |
+
foreach($attrs as $attr)
|
2429 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
2430 |
+
}
|
2431 |
+
|
2432 |
+
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
2433 |
+
|
2434 |
+
$rep ='<div type="type_date" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
2435 |
+
|
2436 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';"><input type="text" value="'.$element_value.'" class="wdform-date" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" maxlength="10" '.$param['attributes'].'><input id="wdform_'.$id1.'_button'.$form_id.'" class="wdform-calendar-button" type="reset" value="'.$param['w_but_val'].'" format="'.$param['w_format'].'" onclick="return showCalendar(\'wdform_'.$id1.'_element'.$form_id.'\' , \'%Y-%m-%d\')" '.$param['attributes'].' "></div></div>';
|
2437 |
+
|
2438 |
+
|
2439 |
+
// $onload_js.= 'Calendar.setup({inputField: "wdform_'.$id1.'_element'.$form_id.'", ifFormat: "'.$param['w_format'].'",button: "wdform_'.$id1.'_button'.$form_id.'",align: "Tl",singleClick: true,firstDay: 0});';
|
2440 |
+
|
2441 |
+
break;
|
2442 |
+
}
|
2443 |
+
|
2444 |
+
case 'type_date_fields': {
|
2445 |
+
if($element_value=='')
|
2446 |
+
$element_value='--';
|
2447 |
+
|
2448 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_day','w_month','w_year','w_day_type','w_month_type','w_year_type','w_day_label','w_month_label','w_year_label','w_day_size','w_month_size','w_year_size','w_required','w_class','w_from','w_to','w_divider');
|
2449 |
+
|
2450 |
+
$temp=$params;
|
2451 |
+
|
2452 |
+
foreach($params_names as $params_name ) {
|
2453 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2454 |
+
$param[$params_name] = $temp[0];
|
2455 |
+
$temp=$temp[1];
|
2456 |
+
}
|
2457 |
+
|
2458 |
+
|
2459 |
+
if($temp) {
|
2460 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
2461 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
2462 |
+
foreach($attrs as $attr)
|
2463 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
2464 |
+
}
|
2465 |
+
|
2466 |
+
$element_value = explode('-',$element_value);
|
2467 |
|
2468 |
$param['w_day'] = (isset($_POST['wdform_'.$id1."_day".$form_id]) ? esc_html(stripslashes( $_POST['wdform_'.$id1."_day".$form_id])) : $param['w_day']);
|
2469 |
$param['w_month'] = (isset($_POST['wdform_'.$id1."_month".$form_id]) ? esc_html(stripslashes( $_POST['wdform_'.$id1."_month".$form_id])) : $element_value[1]);//??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
|
2544 |
}
|
2545 |
|
2546 |
|
2547 |
+
case 'type_hidden': {
|
2548 |
+
$params_names=array('w_name','w_value');
|
2549 |
+
$temp=$params;
|
2550 |
+
|
2551 |
+
foreach($params_names as $params_name ) {
|
2552 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2553 |
+
$param[$params_name] = $temp[0];
|
2554 |
+
$temp=$temp[1];
|
2555 |
+
}
|
2556 |
+
|
2557 |
+
if($temp) {
|
2558 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
2559 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
2560 |
+
foreach($attrs as $attr)
|
2561 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
2562 |
+
}
|
2563 |
+
|
2564 |
+
$rep ='<div type="type_hidden" class="wdform-field"><div class="wdform-label-section" style="float:left; width: 150px;"><span class="wdform-label">' . $label . '</span></div><div class="wdform-element-section" style="display: table-cell;"><input type="text" value="'.$element_value.'" id="wdform_'.$id1.'_element'.$form_id.'" name="'.$param['w_name'].'" '.$param['attributes'].'></div></div>';
|
2565 |
+
|
2566 |
+
break;
|
2567 |
+
}
|
2568 |
+
|
2569 |
+
|
2570 |
+
case 'type_paypal_price': {
|
2571 |
+
|
2572 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_first_val','w_title', 'w_mini_labels','w_size','w_required','w_hide_cents','w_class','w_range_min','w_range_max');
|
2573 |
+
$temp=$params;
|
2574 |
+
|
2575 |
+
foreach($params_names as $params_name ) {
|
2576 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2577 |
+
$param[$params_name] = $temp[0];
|
2578 |
+
$temp=$temp[1];
|
2579 |
+
}
|
2580 |
+
|
2581 |
+
|
2582 |
+
if($temp) {
|
2583 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
2584 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
2585 |
+
foreach($attrs as $attr)
|
2586 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
2587 |
+
}
|
2588 |
+
|
2589 |
+
if (strpos($element_value,'.')!== false)
|
2590 |
+
$element = explode('.',$element_value);
|
2591 |
+
else {
|
2592 |
+
$element = Array();
|
2593 |
+
$element[0] = preg_replace("/[^0-9]/","",$element_value);
|
2594 |
+
$element[1] = '';
|
2595 |
+
}
|
2596 |
+
|
2597 |
+
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
2598 |
+
|
2599 |
+
$hide_cents = ($param['w_hide_cents']=="yes" ? "none;" : "table-cell;");
|
2600 |
+
|
2601 |
+
$w_mini_labels = explode('***',$param['w_mini_labels']);
|
2602 |
+
|
2603 |
+
$rep ='<div type="type_paypal_price" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
2604 |
+
|
2605 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';"><input type="hidden" value="'.$param['w_range_min'].'" name="wdform_'.$id1.'_range_min'.$form_id.'" id="wdform_'.$id1.'_range_min'.$form_id.'"><input type="hidden" value="'.$param['w_range_max'].'" name="wdform_'.$id1.'_range_max'.$form_id.'" id="wdform_'.$id1.'_range_max'.$form_id.'"><div id="wdform_'.$id1.'_table_price" style="display: table;"><div id="wdform_'.$id1.'_tr_price1" style="display: table-row;"><div id="wdform_'.$id1.'_td_name_currency" style="display: table-cell;"><span class="wdform_colon" style="vertical-align: middle;"><!--repstart--> '.$form_currency.' <!--repend--></span></div><div id="wdform_'.$id1.'_td_name_dollars" style="display: table-cell;"><input type="text" class="" id="wdform_'.$id1.'_element_dollars'.$form_id.'" name="wdform_'.$id1.'_element_dollars'.$form_id.'" value="'.(strpos($element_value,'.') !== false ? preg_replace("/[^0-9]/","",$element[0]) : $element[0]).'" onkeypress="return check_isnum(event)" style="width: '.$param['w_size'].'px;" '.$param['attributes'].'></div><div id="wdform_'.$id1.'_td_name_divider" style="display: '.$hide_cents.';"><span class="wdform_colon" style="vertical-align: middle;"> . </span></div><div id="wdform_'.$id1.'_td_name_cents" style="display: '.$hide_cents.'"><input type="text" class="" id="wdform_'.$id1.'_element_cents'.$form_id.'" name="wdform_'.$id1.'_element_cents'.$form_id.'" value="'.(strpos($element_value,'.') !== false ? preg_replace("/[^0-9]/","",$element[1]) : " ").'" style="width: 30px;" '.$param['attributes'].'></div></div><div id="wdform_'.$id1.'_tr_price2" style="display: table-row;"><div style="display: table-cell;"><label class="mini_label"></label></div><div align="left" style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[0].'</label></div><div id="wdform_'.$id1.'_td_name_label_divider" style="display: '.$hide_cents.'"><label class="mini_label"></label></div><div align="left" id="wdform_'.$id1.'_td_name_label_cents" style="display: '.$hide_cents.'"><label class="mini_label">'.$w_mini_labels[1].'</label></div></div></div></div></div>';
|
2606 |
+
|
2607 |
+
$onload_js .='jQuery("#wdform_'.$id1.'_element_cents'.$form_id.'").blur(function() {add_0(this)});';
|
2608 |
+
$onload_js .='jQuery("#wdform_'.$id1.'_element_cents'.$form_id.'").keypress(function() {return check_isnum_interval(event,this,0,99)});';
|
2609 |
+
|
2610 |
+
break;
|
2611 |
+
}
|
2612 |
+
|
2613 |
+
case 'type_paypal_select':
|
2614 |
+
|
2615 |
+
{
|
2616 |
+
|
2617 |
+
|
2618 |
+
|
2619 |
+
if($element_value=='')
|
2620 |
+
|
2621 |
+
$element_value = ' :';
|
2622 |
+
|
2623 |
+
|
2624 |
+
|
2625 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_price','w_choices_checked', 'w_choices_disabled','w_required','w_quantity','w_class','w_property','w_property_values');
|
2626 |
+
|
2627 |
+
$temp=$params;
|
2628 |
+
|
2629 |
+
|
2630 |
+
|
2631 |
+
if(strpos($temp, 'w_choices_params') > -1)
|
2632 |
+
|
2633 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_size','w_choices','w_choices_price','w_choices_checked', 'w_choices_disabled','w_required','w_quantity', 'w_quantity_value', 'w_choices_params','w_class','w_property','w_property_values');
|
2634 |
+
|
2635 |
+
|
2636 |
+
|
2637 |
+
foreach($params_names as $params_name )
|
2638 |
+
|
2639 |
+
{
|
2640 |
+
|
2641 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2642 |
+
|
2643 |
+
$param[$params_name] = $temp[0];
|
2644 |
+
|
2645 |
+
$temp=$temp[1];
|
2646 |
+
|
2647 |
+
}
|
2648 |
+
|
2649 |
+
|
2650 |
+
|
2651 |
+
|
2652 |
+
|
2653 |
+
if($temp)
|
2654 |
+
|
2655 |
+
{
|
2656 |
+
|
2657 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
2658 |
+
|
2659 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
2660 |
+
|
2661 |
+
foreach($attrs as $attr)
|
2662 |
+
|
2663 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
2664 |
+
|
2665 |
+
}
|
2666 |
+
|
2667 |
+
|
2668 |
+
|
2669 |
+
|
2670 |
+
|
2671 |
+
$wdformfieldsize = ($param['w_field_label_pos']=="left" ? ($param['w_field_label_size']+$param['w_size']) : max($param['w_field_label_size'], $param['w_size']));
|
2672 |
+
|
2673 |
+
$param['w_field_label_pos1'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "");
|
2674 |
+
|
2675 |
+
$param['w_field_label_pos2'] = ($param['w_field_label_pos']=="left" ? "" : "display:block;");
|
2676 |
+
|
2677 |
+
|
2678 |
+
|
2679 |
+
$param['w_choices'] = explode('***',$param['w_choices']);
|
2680 |
+
|
2681 |
+
$param['w_choices_price'] = explode('***',$param['w_choices_price']);
|
2682 |
+
|
2683 |
+
|
2684 |
+
|
2685 |
+
$param['w_choices_disabled'] = explode('***',$param['w_choices_disabled']);
|
2686 |
+
|
2687 |
+
$param['w_property'] = explode('***',$param['w_property']);
|
2688 |
+
|
2689 |
+
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
2690 |
+
|
2691 |
+
if(isset($param['w_choices_params']))
|
2692 |
+
|
2693 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
2694 |
+
|
2695 |
+
|
2696 |
+
|
2697 |
+
|
2698 |
+
|
2699 |
+
if(strpos($element_value,'***br***') !== false)
|
2700 |
+
|
2701 |
+
{
|
2702 |
+
|
2703 |
+
$element_value = explode('***br***',$element_value);
|
2704 |
+
|
2705 |
+
if(count($element_value)==2)
|
2706 |
+
|
2707 |
+
{
|
2708 |
+
|
2709 |
+
if(strpos($element_value[1],'***quantity***') !== false)
|
2710 |
+
|
2711 |
+
{
|
2712 |
+
|
2713 |
+
$quantity_value = explode(': ',str_replace("***quantity***","",$element_value[1]));
|
2714 |
+
|
2715 |
+
$quantity_value = $quantity_value[1];
|
2716 |
+
|
2717 |
+
$property_of_select = '';
|
2718 |
+
|
2719 |
+
}
|
2720 |
+
|
2721 |
+
else
|
2722 |
+
|
2723 |
+
{
|
2724 |
+
|
2725 |
+
$quantity_value = '' ;
|
2726 |
+
|
2727 |
+
$property_of_select = explode(': ',str_replace("***property***","",$element_value[1]));
|
2728 |
+
|
2729 |
+
$property_of_select = $property_of_select[1];
|
2730 |
+
|
2731 |
+
}
|
2732 |
+
|
2733 |
+
|
2734 |
+
|
2735 |
+
$element_value = explode(' :',$element_value[0]);
|
2736 |
+
|
2737 |
+
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
2738 |
+
|
2739 |
+
}
|
2740 |
+
|
2741 |
+
else
|
2742 |
+
|
2743 |
+
{
|
2744 |
+
|
2745 |
+
$quantity_value = explode(': ',str_replace("***quantity***","",$element_value[1]));
|
2746 |
+
|
2747 |
+
$quantity_value = $quantity_value[1];
|
2748 |
+
|
2749 |
+
$property_of_select = explode(': ',str_replace("***property***","",$element_value[2]));
|
2750 |
+
|
2751 |
+
$property_of_select = $property_of_select[1];
|
2752 |
+
|
2753 |
+
$element_value = explode(' :',$element_value[0]);
|
2754 |
+
|
2755 |
+
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
2756 |
+
|
2757 |
+
}
|
2758 |
+
|
2759 |
+
}
|
2760 |
+
|
2761 |
+
else
|
2762 |
+
|
2763 |
+
{
|
2764 |
+
|
2765 |
+
$element_value = explode(' :',$element_value);
|
2766 |
+
|
2767 |
+
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
2768 |
+
|
2769 |
+
$quantity_value = '';
|
2770 |
+
|
2771 |
+
$property_of_select = '';
|
2772 |
+
|
2773 |
+
}
|
2774 |
+
|
2775 |
+
|
2776 |
+
|
2777 |
+
|
2778 |
+
|
2779 |
+
$rep='<div type="type_paypal_select" class="wdform-field" style="width:'.$wdformfieldsize.'px"><div class="wdform-label-section" style="'.$param['w_field_label_pos1'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
2780 |
+
|
2781 |
+
|
2782 |
+
|
2783 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].'; width: '.$param['w_size'].'px;"><select id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" style="width:100%;" '.$param['attributes'].'>';
|
2784 |
+
|
2785 |
+
foreach($param['w_choices'] as $key => $choice)
|
2786 |
+
|
2787 |
+
{
|
2788 |
+
|
2789 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
2790 |
+
|
2791 |
+
{
|
2792 |
+
|
2793 |
+
$choices_labels =array();
|
2794 |
+
$choices_values =array();
|
2795 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
2796 |
+
$where = (str_replace(array('[',']'), '', $w_choices_params[0]) ? ' WHERE '.str_replace(array('[',']'), '', $w_choices_params[0]) : '');
|
2797 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
2798 |
+
$order_by = str_replace(array('[',']'), '', $w_choices_params[0]);
|
2799 |
+
$db_info = str_replace(array('[',']'), '', $w_choices_params[1]);
|
2800 |
+
|
2801 |
+
|
2802 |
+
$label_table_and_column = explode(':',str_replace(array('[',']'), '', $choice));
|
2803 |
+
|
2804 |
+
$table = $label_table_and_column[0];
|
2805 |
+
|
2806 |
+
$label_column = $label_table_and_column[1];
|
2807 |
+
|
2808 |
+
if($label_column)
|
2809 |
+
|
2810 |
+
{
|
2811 |
+
|
2812 |
+
$choices_labels = $this->model->select_data_from_db_for_labels($db_info, $label_column, $table, $where, $order_by);
|
2813 |
+
|
2814 |
+
}
|
2815 |
+
|
2816 |
+
|
2817 |
+
|
2818 |
+
$value_table_and_column = explode(':',str_replace(array('[',']'), '', $param['w_choices_price'][$key]));
|
2819 |
+
|
2820 |
+
$value_column = $param['w_choices_disabled'][$key]=="true" ? '' : $value_table_and_column[1];
|
2821 |
+
|
2822 |
+
|
2823 |
+
|
2824 |
+
if($value_column)
|
2825 |
+
|
2826 |
+
{
|
2827 |
+
|
2828 |
+
$choices_values = $this->model->select_data_from_db_for_values($db_info, $value_column, $table, $where, $order_by);
|
2829 |
+
|
2830 |
+
}
|
2831 |
+
|
2832 |
+
|
2833 |
+
|
2834 |
+
$columns_count = count($choices_labels)>0 ? count($choices_labels) : count($choices_values);
|
2835 |
+
|
2836 |
+
|
2837 |
+
|
2838 |
+
for($k=0; $k<$columns_count; $k++)
|
2839 |
+
|
2840 |
+
{
|
2841 |
+
|
2842 |
+
$choice_label = isset($choices_labels[$k]) ? $choices_labels[$k] : '';
|
2843 |
+
|
2844 |
+
$choice_value = isset($choices_values[$k]) ? (float)$choices_values[$k] : '';
|
2845 |
+
|
2846 |
+
|
2847 |
+
|
2848 |
+
if($element_value[0] == $choice_label && $choice_value == $choise_value)
|
2849 |
+
|
2850 |
+
$selected = 'selected="selected"';
|
2851 |
+
|
2852 |
+
else
|
2853 |
+
|
2854 |
+
$selected = '';
|
2855 |
+
|
2856 |
+
|
2857 |
+
|
2858 |
+
$rep.='<option value="'.$choice_value.'" '.$selected.'>'.$choice_label.'</option>';
|
2859 |
+
|
2860 |
+
}
|
2861 |
+
|
2862 |
+
}
|
2863 |
+
|
2864 |
+
else
|
2865 |
+
|
2866 |
+
{
|
2867 |
+
|
2868 |
+
if($param['w_choices_disabled'][$key]=="true")
|
2869 |
+
|
2870 |
+
$choice_value='';
|
2871 |
+
|
2872 |
+
else
|
2873 |
+
|
2874 |
+
$choice_value=$param['w_choices_price'][$key];
|
2875 |
+
|
2876 |
+
|
2877 |
+
|
2878 |
+
if($element_value[0] == $choice && $param['w_choices_price'][$key] == $choise_value)
|
2879 |
+
|
2880 |
+
$selected = 'selected="selected"';
|
2881 |
+
|
2882 |
+
else
|
2883 |
+
|
2884 |
+
$selected = '';
|
2885 |
+
|
2886 |
+
|
2887 |
+
|
2888 |
+
$rep.='<option value="'.$choice_value.'" '.$selected.'>'.$choice.'</option>';
|
2889 |
+
|
2890 |
+
|
2891 |
+
|
2892 |
+
}
|
2893 |
+
|
2894 |
+
}
|
2895 |
+
|
2896 |
+
$rep.='</select><div id="wdform_'.$id1.'_div'.$form_id.'">';
|
2897 |
+
|
2898 |
+
if($param['w_quantity']=="yes")
|
2899 |
+
|
2900 |
+
{
|
2901 |
+
|
2902 |
+
$rep.='<div class="paypal-property"><label class="mini_label" style="margin: 0px 5px;">Quantity</label><input type="text" id="wdform_'.$id1.'_element_quantity'.$form_id.'" name="wdform_'.$id1.'_element_quantity'.$form_id.'" value="'.($quantity_value=="" ? 1 : $quantity_value).'" class="wdform-quantity"></div>';
|
2903 |
+
|
2904 |
+
}
|
2905 |
+
|
2906 |
+
if($param['w_property'][0])
|
2907 |
+
|
2908 |
+
foreach($param['w_property'] as $key => $property)
|
2909 |
+
|
2910 |
+
{
|
2911 |
+
|
2912 |
+
|
2913 |
+
|
2914 |
+
$rep.='
|
2915 |
+
|
2916 |
+
<div id="wdform_'.$id1.'_property_'.$key.'" class="paypal-property">
|
2917 |
+
|
2918 |
+
<div style="width:150px; display:inline-block;">
|
2919 |
+
|
2920 |
+
<label class="mini_label" id="wdform_'.$id1.'_property_label_'.$form_id.''.$key.'" style="margin-right: 5px;">'.$property.'</label>
|
2921 |
+
|
2922 |
+
<select id="wdform_'.$id1.'_property'.$form_id.''.$key.'" name="wdform_'.$id1.'_property'.$form_id.''.$key.'" style="width: 100%; margin: 2px 0px;">';
|
2923 |
+
|
2924 |
+
$param['w_property_values'][$key] = explode('###',$param['w_property_values'][$key]);
|
2925 |
+
|
2926 |
+
$param['w_property_values'][$key] = array_slice($param['w_property_values'][$key],1, count($param['w_property_values'][$key]));
|
2927 |
+
|
2928 |
+
foreach($param['w_property_values'][$key] as $subkey => $property_value)
|
2929 |
+
|
2930 |
+
{
|
2931 |
+
|
2932 |
+
$rep.='<option id="wdform_'.$id1.'_'.$key.'_option'.$subkey.'" value="'.$property_value.'" '.($property_of_select==$property_value ? 'selected="selected"' : "").'>'.$property_value.'</option>';
|
2933 |
+
|
2934 |
+
}
|
2935 |
+
|
2936 |
+
$rep.='</select></div></div>';
|
2937 |
+
|
2938 |
+
}
|
2939 |
+
|
2940 |
+
|
2941 |
+
|
2942 |
+
$rep.='</div></div></div>';
|
2943 |
+
|
2944 |
+
|
2945 |
+
|
2946 |
+
|
2947 |
+
|
2948 |
+
$onsubmit_js.='
|
2949 |
+
|
2950 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_label'.$form_id.'\" />").val(jQuery("#wdform_'.$id1.'_element'.$form_id.' option:selected").text()).appendTo("#adminForm");
|
2951 |
+
|
2952 |
+
';
|
2953 |
+
|
2954 |
+
$onsubmit_js.='
|
2955 |
+
|
2956 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_quantity_label'.$form_id.'\" />").val("Quantity").appendTo("#adminForm");
|
2957 |
+
|
2958 |
+
';
|
2959 |
+
|
2960 |
+
$onsubmit_js.='
|
2961 |
+
|
2962 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_property_label'.$form_id.'\" />").val("'.$param['w_property'][0].'").appendTo("#adminForm");
|
2963 |
+
|
2964 |
+
';
|
2965 |
+
|
2966 |
+
|
2967 |
+
|
2968 |
+
|
2969 |
+
|
2970 |
+
break;
|
2971 |
+
|
2972 |
+
}
|
2973 |
+
|
2974 |
+
case 'type_paypal_checkbox':
|
2975 |
+
|
2976 |
+
{
|
2977 |
+
|
2978 |
+
|
2979 |
+
|
2980 |
+
if($element_value == '')
|
2981 |
+
|
2982 |
+
$element_value =' :';
|
2983 |
+
|
2984 |
+
|
2985 |
+
|
2986 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class','w_property','w_property_values','w_quantity');
|
2987 |
+
|
2988 |
+
$temp=$params;
|
2989 |
+
|
2990 |
+
if(strpos($temp, 'w_field_option_pos') > -1)
|
2991 |
+
|
2992 |
+
$params_names=array('w_field_label_size','w_field_label_pos', 'w_field_option_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num', 'w_choices_params', 'w_class','w_property','w_property_values','w_quantity');
|
2993 |
+
|
2994 |
+
foreach($params_names as $params_name )
|
2995 |
+
|
2996 |
+
{
|
2997 |
+
|
2998 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
2999 |
+
|
3000 |
+
$param[$params_name] = $temp[0];
|
3001 |
+
|
3002 |
+
$temp=$temp[1];
|
3003 |
+
|
3004 |
+
}
|
3005 |
+
|
3006 |
+
|
3007 |
+
|
3008 |
+
|
3009 |
+
|
3010 |
+
if($temp)
|
3011 |
+
|
3012 |
+
{
|
3013 |
+
|
3014 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
3015 |
+
|
3016 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
3017 |
+
|
3018 |
+
foreach($attrs as $attr)
|
3019 |
+
|
3020 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
3021 |
+
|
3022 |
+
}
|
3023 |
+
|
3024 |
+
|
3025 |
+
|
3026 |
+
|
3027 |
+
|
3028 |
+
if(!isset($param['w_field_option_pos']))
|
3029 |
+
|
3030 |
+
$param['w_field_option_pos'] = 'left';
|
3031 |
+
|
3032 |
+
|
3033 |
+
|
3034 |
+
$param['w_field_label_pos1'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "");
|
3035 |
+
|
3036 |
+
$param['w_field_label_pos2'] = ($param['w_field_label_pos']=="left" ? "" : "display:block;");
|
3037 |
+
|
3038 |
+
$param['w_field_option_pos1'] = ($param['w_field_option_pos']=="right" ? "style='float: none !important;'" : "");
|
3039 |
+
|
3040 |
+
$param['w_field_option_pos2'] = ($param['w_field_option_pos']=="right" ? "style='float: left !important; margin-right: 8px !important; display: inline-block !important;'" : "");
|
3041 |
+
|
3042 |
+
|
3043 |
+
|
3044 |
+
|
3045 |
+
|
3046 |
+
$param['w_choices'] = explode('***',$param['w_choices']);
|
3047 |
+
|
3048 |
+
$param['w_choices_price'] = explode('***',$param['w_choices_price']);
|
3049 |
+
|
3050 |
+
|
3051 |
+
|
3052 |
+
$param['w_property'] = explode('***',$param['w_property']);
|
3053 |
+
|
3054 |
+
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
3055 |
+
|
3056 |
+
if(isset($param['w_choices_params']))
|
3057 |
+
|
3058 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
3059 |
+
|
3060 |
+
|
3061 |
+
|
3062 |
+
$rep='<div type="type_paypal_checkbox" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
3063 |
+
|
3064 |
+
|
3065 |
+
|
3066 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';">';
|
3067 |
+
|
3068 |
+
|
3069 |
+
|
3070 |
+
|
3071 |
+
|
3072 |
+
if(strpos($element_value,'***br***') !== false)
|
3073 |
+
|
3074 |
+
{
|
3075 |
+
|
3076 |
+
$element_value = explode('***br***',$element_value);
|
3077 |
+
|
3078 |
+
foreach($element_value as $key => $element)
|
3079 |
+
|
3080 |
+
{
|
3081 |
+
|
3082 |
+
|
3083 |
+
|
3084 |
+
if(strpos($element,'***quantity***') !== false)
|
3085 |
+
|
3086 |
+
{
|
3087 |
+
|
3088 |
+
$quantity_value = explode(': ',str_replace("***quantity***","",$element));
|
3089 |
+
|
3090 |
+
$quantity_value = $quantity_value[1];
|
3091 |
+
|
3092 |
+
unset($element_value[$key]);
|
3093 |
+
|
3094 |
+
}
|
3095 |
+
|
3096 |
+
else
|
3097 |
+
|
3098 |
+
if(strpos($element,'***property***') !== false)
|
3099 |
+
|
3100 |
+
{
|
3101 |
+
|
3102 |
+
$property_of_check = explode(': ',str_replace("***property***","",$element));
|
3103 |
+
|
3104 |
+
$property_of_check = $property_of_check[1];
|
3105 |
+
|
3106 |
+
unset($element_value[$key]);
|
3107 |
+
|
3108 |
+
}
|
3109 |
+
|
3110 |
+
else
|
3111 |
+
|
3112 |
+
{
|
3113 |
+
|
3114 |
+
for($m=0; $m<strlen($element); $m++)
|
3115 |
+
|
3116 |
+
{
|
3117 |
+
|
3118 |
+
if(!ctype_digit($element[strlen($element)-1]))
|
3119 |
+
|
3120 |
+
$element_value[$key] = substr($element,0,-1);
|
3121 |
+
|
3122 |
+
else
|
3123 |
+
|
3124 |
+
break;
|
3125 |
+
|
3126 |
+
}
|
3127 |
+
|
3128 |
+
$quantity_value = '';
|
3129 |
+
|
3130 |
+
$property_of_check = '';
|
3131 |
+
|
3132 |
+
}
|
3133 |
+
|
3134 |
+
|
3135 |
+
|
3136 |
+
}
|
3137 |
+
|
3138 |
+
}
|
3139 |
+
|
3140 |
+
else
|
3141 |
+
|
3142 |
+
{
|
3143 |
+
|
3144 |
+
$element_value = explode(' :',$element_value);
|
3145 |
+
|
3146 |
+
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
3147 |
+
|
3148 |
+
$quantity_value = '';
|
3149 |
+
|
3150 |
+
$property_of_check = '';
|
3151 |
+
|
3152 |
+
}
|
3153 |
+
|
3154 |
+
|
3155 |
+
|
3156 |
+
$total_queries = 0;
|
3157 |
+
|
3158 |
+
foreach($param['w_choices'] as $key => $choice)
|
3159 |
+
|
3160 |
+
{
|
3161 |
+
|
3162 |
+
$key1 = $key + $total_queries;
|
3163 |
+
|
3164 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
3165 |
+
|
3166 |
+
{
|
3167 |
+
|
3168 |
+
$choices_labels = array();
|
3169 |
+
$choices_values = array();
|
3170 |
+
|
3171 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
3172 |
+
$where = (str_replace(array('[',']'), '', $w_choices_params[0]) ? ' WHERE '.str_replace(array('[',']'), '', $w_choices_params[0]) : '');
|
3173 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
3174 |
+
|
3175 |
+
$order_by = str_replace(array('[',']'), '', $w_choices_params[0]);
|
3176 |
+
$db_info = str_replace(array('[',']'), '', $w_choices_params[1]);
|
3177 |
+
|
3178 |
+
$label_table_and_column = explode(':',str_replace(array('[',']'), '', $choice));
|
3179 |
+
|
3180 |
+
$table = $label_table_and_column[0];
|
3181 |
+
|
3182 |
+
$label_column = $label_table_and_column[1];
|
3183 |
+
|
3184 |
+
if($label_column)
|
3185 |
+
|
3186 |
+
{
|
3187 |
+
|
3188 |
+
$choices_labels = $this->model->select_data_from_db_for_labels($db_info, $label_column, $table, $where, $order_by);
|
3189 |
+
}
|
3190 |
+
|
3191 |
+
|
3192 |
+
|
3193 |
+
$value_table_and_column = explode(':',str_replace(array('[',']'), '', $param['w_choices_price'][$key]));
|
3194 |
+
|
3195 |
+
$value_column = $value_table_and_column[1];
|
3196 |
+
|
3197 |
+
|
3198 |
+
|
3199 |
+
if($value_column)
|
3200 |
+
|
3201 |
+
{
|
3202 |
+
|
3203 |
+
$choices_values = $this->model->select_data_from_db_for_values($db_info, $value_column, $table, $where, $order_by);
|
3204 |
+
|
3205 |
+
}
|
3206 |
+
|
3207 |
+
|
3208 |
+
|
3209 |
+
$columns_count = count($choices_labels)>0 ? count($choices_labels) : count($choices_values);
|
3210 |
+
|
3211 |
+
|
3212 |
+
|
3213 |
+
if(array_filter($choices_labels) || array_filter($choices_values))
|
3214 |
+
|
3215 |
+
{
|
3216 |
+
|
3217 |
+
$total_queries = $total_queries + $columns_count-1;
|
3218 |
+
|
3219 |
+
|
3220 |
+
|
3221 |
+
|
3222 |
+
|
3223 |
+
for($k=0; $k<$columns_count; $k++)
|
3224 |
+
|
3225 |
+
{
|
3226 |
+
|
3227 |
+
$choice_label = isset($choices_labels) ? $choices_labels[$k] : '';
|
3228 |
+
|
3229 |
+
$choice_value = isset($choices_values) ? (float)$choices_values[$k] : '';
|
3230 |
+
|
3231 |
+
|
3232 |
+
|
3233 |
+
$checked=(in_array($choice_label.' - '.$choice_value, $element_value)=='true' ? 'checked="checked"' : '');
|
3234 |
+
|
3235 |
+
|
3236 |
+
|
3237 |
+
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'" '.$param['w_field_option_pos1'].'>'.$choice_label.'</label><div class="checkbox-div forlabs" '.$param['w_field_option_pos2'].'><input type="checkbox" id="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'" name="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'" value="'.$choice_value.'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'"></label></div><input type="hidden" name="wdform_'.$id1.'_element'.$form_id.($key1+$k).'_label" value="'.htmlspecialchars($choice_label).'" /></div>';
|
3238 |
+
|
3239 |
+
|
3240 |
+
|
3241 |
+
|
3242 |
+
|
3243 |
+
}
|
3244 |
+
|
3245 |
+
}
|
3246 |
+
|
3247 |
+
}
|
3248 |
+
|
3249 |
+
else
|
3250 |
+
|
3251 |
+
{
|
3252 |
+
|
3253 |
+
$checked=(in_array($choice.' - '.$param['w_choices_price'][$key], $element_value)=='true' ? 'checked="checked"' : '');
|
3254 |
+
|
3255 |
+
|
3256 |
+
|
3257 |
+
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.$key1.'" '.$param['w_field_option_pos1'].'>'.$choice.'</label><div class="checkbox-div forlabs" '.$param['w_field_option_pos2'].'><input type="checkbox" id="wdform_'.$id1.'_element'.$form_id.''.$key1.'" name="wdform_'.$id1.'_element'.$form_id.''.$key1.'" value="'.$param['w_choices_price'][$key].'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.$key1.'"></label></div><input type="hidden" name="wdform_'.$id1.'_element'.$form_id.$key1.'_label" value="'.htmlspecialchars($choice).'" /></div>';
|
3258 |
+
|
3259 |
+
}
|
3260 |
+
|
3261 |
+
}
|
3262 |
+
|
3263 |
+
|
3264 |
+
|
3265 |
+
$rep.='<div id="wdform_'.$id1.'_div'.$form_id.'">';
|
3266 |
+
|
3267 |
+
if($param['w_quantity']=="yes")
|
3268 |
+
|
3269 |
+
$rep.='<div class="paypal-property"><label class="mini_label" style="margin: 0px 5px;">Quantity</label><input type="text" value="'.($quantity_value == '' ? 1 : $quantity_value).'" id="wdform_'.$id1.'_element_quantity'.$form_id.'" name="wdform_'.$id1.'_element_quantity'.$form_id.'" class="wdform-quantity"></div>';
|
3270 |
+
|
3271 |
+
|
3272 |
+
|
3273 |
+
if($param['w_property'][0])
|
3274 |
+
|
3275 |
+
foreach($param['w_property'] as $key => $property)
|
3276 |
+
|
3277 |
+
{
|
3278 |
+
|
3279 |
+
|
3280 |
+
|
3281 |
+
$rep.='
|
3282 |
+
|
3283 |
+
<div class="paypal-property">
|
3284 |
+
|
3285 |
+
<div style="width:150px; display:inline-block;">
|
3286 |
+
|
3287 |
+
<label class="mini_label" id="wdform_'.$id1.'_property_label_'.$form_id.''.$key.'" style="margin-right: 5px;">'.$property.'</label>
|
3288 |
+
|
3289 |
+
<select id="wdform_'.$id1.'_property'.$form_id.''.$key.'" name="wdform_'.$id1.'_property'.$form_id.''.$key.'" style="width: 100%; margin: 2px 0px;">';
|
3290 |
+
|
3291 |
+
$param['w_property_values'][$key] = explode('###',$param['w_property_values'][$key]);
|
3292 |
+
|
3293 |
+
$param['w_property_values'][$key] = array_slice($param['w_property_values'][$key],1, count($param['w_property_values'][$key]));
|
3294 |
+
|
3295 |
+
foreach($param['w_property_values'][$key] as $subkey => $property_value)
|
3296 |
+
|
3297 |
+
{
|
3298 |
+
|
3299 |
+
$rep.='<option id="wdform_'.$id1.'_'.$key.'_option'.$subkey.'" value="'.$property_value.'" '.($property_of_check==$property_value ? 'selected="selected"' : "").'>'.$property_value.'</option>';
|
3300 |
+
|
3301 |
+
}
|
3302 |
+
|
3303 |
+
$rep.='</select></div></div>';
|
3304 |
+
|
3305 |
+
}
|
3306 |
+
|
3307 |
+
|
3308 |
+
|
3309 |
+
$rep.='</div></div></div>';
|
3310 |
+
|
3311 |
+
|
3312 |
+
|
3313 |
+
$onsubmit_js.='
|
3314 |
+
|
3315 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_quantity_label'.$form_id.'\" />").val("Quantity").appendTo("#adminForm");
|
3316 |
+
|
3317 |
+
';
|
3318 |
+
|
3319 |
+
$onsubmit_js.='
|
3320 |
+
|
3321 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_property_label'.$form_id.'\" />").val("'.$param['w_property'][0].'").appendTo("#adminForm");
|
3322 |
+
|
3323 |
+
';
|
3324 |
+
|
3325 |
+
|
3326 |
+
|
3327 |
+
break;
|
3328 |
+
|
3329 |
+
}
|
3330 |
+
|
3331 |
+
case 'type_paypal_radio':
|
3332 |
+
|
3333 |
+
{
|
3334 |
+
|
3335 |
+
|
3336 |
+
|
3337 |
+
if($element_value=='')
|
3338 |
+
|
3339 |
+
$element_value = ' :';
|
3340 |
+
|
3341 |
+
|
3342 |
+
|
3343 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class','w_property','w_property_values','w_quantity');
|
3344 |
+
|
3345 |
+
$temp=$params;
|
3346 |
+
|
3347 |
+
|
3348 |
+
|
3349 |
+
if(strpos($temp, 'w_field_option_pos') > -1)
|
3350 |
+
|
3351 |
+
$params_names=array('w_field_label_size','w_field_label_pos', 'w_field_option_pos', 'w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num', 'w_choices_params', 'w_class', 'w_property','w_property_values','w_quantity');
|
3352 |
+
|
3353 |
+
|
3354 |
+
|
3355 |
+
foreach($params_names as $params_name )
|
3356 |
+
|
3357 |
+
{
|
3358 |
+
|
3359 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
3360 |
+
|
3361 |
+
$param[$params_name] = $temp[0];
|
3362 |
+
|
3363 |
+
$temp=$temp[1];
|
3364 |
+
|
3365 |
+
}
|
3366 |
+
|
3367 |
+
|
3368 |
+
|
3369 |
+
if($temp)
|
3370 |
+
|
3371 |
+
{
|
3372 |
+
|
3373 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
3374 |
+
|
3375 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
3376 |
+
|
3377 |
+
foreach($attrs as $attr)
|
3378 |
+
|
3379 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
3380 |
+
|
3381 |
+
}
|
3382 |
+
|
3383 |
+
if(!isset($param['w_field_option_pos']))
|
3384 |
+
|
3385 |
+
$param['w_field_option_pos'] = 'left';
|
3386 |
+
|
3387 |
+
|
3388 |
+
|
3389 |
+
$param['w_field_label_pos1'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "");
|
3390 |
+
|
3391 |
+
$param['w_field_label_pos2'] = ($param['w_field_label_pos']=="left" ? "" : "display:block;");
|
3392 |
+
|
3393 |
+
$param['w_field_option_pos1'] = ($param['w_field_option_pos']=="right" ? "style='float: none !important;'" : "");
|
3394 |
+
|
3395 |
+
$param['w_field_option_pos2'] = ($param['w_field_option_pos']=="right" ? "style='float: left !important; margin-right: 8px !important; display: inline-block !important;'" : "");
|
3396 |
+
|
3397 |
+
|
3398 |
+
|
3399 |
+
$param['w_choices'] = explode('***',$param['w_choices']);
|
3400 |
+
|
3401 |
+
$param['w_choices_price'] = explode('***',$param['w_choices_price']);
|
3402 |
+
|
3403 |
+
|
3404 |
+
|
3405 |
+
$param['w_property'] = explode('***',$param['w_property']);
|
3406 |
+
|
3407 |
+
$param['w_property_values'] = explode('***',$param['w_property_values']);
|
3408 |
+
|
3409 |
+
if(isset($param['w_choices_params']))
|
3410 |
+
|
3411 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
3412 |
+
|
3413 |
+
|
3414 |
+
|
3415 |
+
$rep='<div type="type_paypal_radio" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
3416 |
+
|
3417 |
+
|
3418 |
+
|
3419 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';">';
|
3420 |
+
|
3421 |
+
|
3422 |
+
|
3423 |
+
if(strpos($element_value,'***br***') !== false)
|
3424 |
+
|
3425 |
+
{
|
3426 |
+
|
3427 |
+
$element_value = explode('***br***',$element_value);
|
3428 |
+
|
3429 |
+
if(count($element_value)==2)
|
3430 |
+
|
3431 |
+
{
|
3432 |
+
|
3433 |
+
if(strpos($element_value[1],'***quantity***') !== false)
|
3434 |
+
|
3435 |
+
{
|
3436 |
+
|
3437 |
+
$quantity_value = explode(': ',str_replace("***quantity***","",$element_value[1]));
|
3438 |
+
|
3439 |
+
$quantity_value = $quantity_value[1];
|
3440 |
+
|
3441 |
+
$property_of_radio = '';
|
3442 |
+
|
3443 |
+
}
|
3444 |
+
|
3445 |
+
else
|
3446 |
+
|
3447 |
+
{
|
3448 |
+
|
3449 |
+
$quantity_value = '' ;
|
3450 |
+
|
3451 |
+
$property_of_radio = explode(': ',str_replace("***property***","",$element_value[1]));
|
3452 |
+
|
3453 |
+
$property_of_radio = $property_of_radio[1];
|
3454 |
+
|
3455 |
+
}
|
3456 |
+
|
3457 |
+
|
3458 |
+
|
3459 |
+
$element_value = explode(' :',$element_value[0]);
|
3460 |
+
|
3461 |
+
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
3462 |
+
|
3463 |
+
}
|
3464 |
+
|
3465 |
+
else
|
3466 |
+
|
3467 |
+
{
|
3468 |
+
|
3469 |
+
$quantity_value = explode(': ',str_replace("***quantity***","",$element_value[1]));
|
3470 |
+
|
3471 |
+
$quantity_value = $quantity_value[1];
|
3472 |
+
|
3473 |
+
$property_of_radio = explode(': ',str_replace("***property***","",$element_value[2]));
|
3474 |
+
|
3475 |
+
$property_of_radio = $property_of_radio[1];
|
3476 |
+
|
3477 |
+
|
3478 |
+
|
3479 |
+
$element_value = explode(' :',$element_value[0]);
|
3480 |
+
|
3481 |
+
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
3482 |
+
|
3483 |
+
}
|
3484 |
+
|
3485 |
+
}
|
3486 |
+
|
3487 |
+
else
|
3488 |
+
|
3489 |
+
{
|
3490 |
+
|
3491 |
+
$element_value = explode(' :',$element_value);
|
3492 |
+
|
3493 |
+
$choise_value = preg_replace("/[^0-9]/","",$element_value[1]);
|
3494 |
+
|
3495 |
+
$quantity_value = '';
|
3496 |
+
|
3497 |
+
$property_of_radio = '';
|
3498 |
+
|
3499 |
+
}
|
3500 |
+
|
3501 |
+
$total_queries = 0;
|
3502 |
+
|
3503 |
+
foreach($param['w_choices'] as $key => $choice)
|
3504 |
+
|
3505 |
+
{
|
3506 |
+
|
3507 |
+
$key1 = $key + $total_queries;
|
3508 |
+
|
3509 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
3510 |
+
|
3511 |
+
{
|
3512 |
+
|
3513 |
+
$choices_labels =array();
|
3514 |
+
$choices_values =array();
|
3515 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
3516 |
+
$where = (str_replace(array('[',']'), '', $w_choices_params[0]) ? ' WHERE '.str_replace(array('[',']'), '', $w_choices_params[0]) : '');
|
3517 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
3518 |
+
|
3519 |
+
$order_by = str_replace(array('[',']'), '', $w_choices_params[0]);
|
3520 |
+
$db_info = str_replace(array('[',']'), '', $w_choices_params[1]);
|
3521 |
+
|
3522 |
+
|
3523 |
+
$label_table_and_column = explode(':',str_replace(array('[',']'), '', $choice));
|
3524 |
+
|
3525 |
+
$table = $label_table_and_column[0];
|
3526 |
+
|
3527 |
+
$label_column = $label_table_and_column[1];
|
3528 |
+
|
3529 |
+
if($label_column)
|
3530 |
+
|
3531 |
+
{
|
3532 |
+
|
3533 |
+
$choices_labels = $this->model->select_data_from_db_for_labels($db_info, $label_column, $table, $where, $order_by);
|
3534 |
+
}
|
3535 |
+
|
3536 |
+
|
3537 |
+
|
3538 |
+
$value_table_and_column = explode(':',str_replace(array('[',']'), '', $param['w_choices_price'][$key]));
|
3539 |
+
|
3540 |
+
$value_column = $value_table_and_column[1];
|
3541 |
+
|
3542 |
+
|
3543 |
+
|
3544 |
+
if($value_column)
|
3545 |
+
|
3546 |
+
{
|
3547 |
+
|
3548 |
+
$choices_values = $this->model->select_data_from_db_for_values($db_info, $value_column, $table, $where, $order_by);
|
3549 |
+
|
3550 |
+
}
|
3551 |
+
|
3552 |
+
|
3553 |
+
|
3554 |
+
$columns_count_radio = count($choices_labels)>0 ? count($choices_labels) : count($choices_values);
|
3555 |
+
|
3556 |
+
|
3557 |
+
|
3558 |
+
if(array_filter($choices_labels) || array_filter($choices_values))
|
3559 |
+
|
3560 |
+
{
|
3561 |
+
|
3562 |
+
$total_queries = $total_queries + $columns_count_radio-1;
|
3563 |
+
|
3564 |
+
for($k=0; $k<$columns_count_radio; $k++)
|
3565 |
+
|
3566 |
+
{
|
3567 |
+
|
3568 |
+
$choice_label = isset($choices_labels) ? $choices_labels[$k] : '';
|
3569 |
+
|
3570 |
+
$choice_value = isset($choices_values) ? (float)$choices_values[$k] : '';
|
3571 |
+
|
3572 |
+
|
3573 |
+
|
3574 |
+
if($element_value[0] == $choice_label && $choice_value == $choise_value)
|
3575 |
+
|
3576 |
+
$checked = 'checked="checked"';
|
3577 |
+
|
3578 |
+
else
|
3579 |
+
|
3580 |
+
$checked = '';
|
3581 |
+
|
3582 |
+
|
3583 |
+
|
3584 |
+
|
3585 |
+
|
3586 |
+
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'">'.$choice_label.'</label><div class="radio-div forlabs"><input type="radio" id="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.$choice_value.'" title="'.htmlspecialchars($choice_label).'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'"></label></div></div>';
|
3587 |
+
|
3588 |
+
|
3589 |
+
|
3590 |
+
}
|
3591 |
+
|
3592 |
+
}
|
3593 |
+
|
3594 |
+
}
|
3595 |
+
|
3596 |
+
else
|
3597 |
+
|
3598 |
+
{
|
3599 |
+
|
3600 |
+
if($element_value[0] == $choice && $param['w_choices_price'][$key] == $choise_value)
|
3601 |
+
|
3602 |
+
$checked = 'checked="checked"';
|
3603 |
+
|
3604 |
+
else
|
3605 |
+
|
3606 |
+
$checked = '';
|
3607 |
+
|
3608 |
+
|
3609 |
+
|
3610 |
+
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.$key1.'">'.$choice.'</label><div class="radio-div forlabs"><input type="radio" id="wdform_'.$id1.'_element'.$form_id.''.$key1.'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.$param['w_choices_price'][$key].'" title="'.htmlspecialchars($choice).'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.$key1.'"></label></div></div>';
|
3611 |
+
|
3612 |
+
}
|
3613 |
+
|
3614 |
+
|
3615 |
+
|
3616 |
+
}
|
3617 |
+
|
3618 |
+
|
3619 |
+
|
3620 |
+
$rep.='<div id="wdform_'.$id1.'_div'.$form_id.'">';
|
3621 |
+
|
3622 |
+
if($param['w_quantity']=="yes")
|
3623 |
+
|
3624 |
+
$rep.='<div class="paypal-property"><label class="mini_label" style="margin: 0px 5px;">Quantity</label><input type="text" value="'.($quantity_value=='' ? 1 : $quantity_value).'" id="wdform_'.$id1.'_element_quantity'.$form_id.'" name="wdform_'.$id1.'_element_quantity'.$form_id.'" class="wdform-quantity"></div>';
|
3625 |
+
|
3626 |
+
|
3627 |
+
|
3628 |
+
if($param['w_property'][0])
|
3629 |
+
|
3630 |
+
foreach($param['w_property'] as $key => $property)
|
3631 |
+
|
3632 |
+
{
|
3633 |
+
|
3634 |
+
|
3635 |
+
|
3636 |
+
$rep.='
|
3637 |
+
|
3638 |
+
<div class="paypal-property">
|
3639 |
+
|
3640 |
+
<div style="width:150px; display:inline-block;">
|
3641 |
+
|
3642 |
+
<label class="mini_label" id="wdform_'.$id1.'_property_label_'.$form_id.''.$key.'" style="margin-right: 5px;">'.$property.'</label>
|
3643 |
+
|
3644 |
+
<select id="wdform_'.$id1.'_property'.$form_id.''.$key.'" name="wdform_'.$id1.'_property'.$form_id.''.$key.'" style="width: 100%; margin: 2px 0px;">';
|
3645 |
+
|
3646 |
+
$param['w_property_values'][$key] = explode('###',$param['w_property_values'][$key]);
|
3647 |
+
|
3648 |
+
$param['w_property_values'][$key] = array_slice($param['w_property_values'][$key],1, count($param['w_property_values'][$key]));
|
3649 |
+
|
3650 |
+
foreach($param['w_property_values'][$key] as $subkey => $property_value)
|
3651 |
+
|
3652 |
+
{
|
3653 |
+
|
3654 |
+
$rep.='<option id="wdform_'.$id1.'_'.$key.'_option'.$subkey.'" value="'.$property_value.'" '.($property_of_radio==$property_value ? 'selected="selected"' : "").'>'.$property_value.'</option>';
|
3655 |
+
|
3656 |
+
}
|
3657 |
+
|
3658 |
+
$rep.='</select></div></div>';
|
3659 |
+
|
3660 |
+
}
|
3661 |
+
|
3662 |
+
|
3663 |
+
|
3664 |
+
$rep.='</div></div></div>';
|
3665 |
+
|
3666 |
+
|
3667 |
+
|
3668 |
+
|
3669 |
+
|
3670 |
+
$onsubmit_js.='
|
3671 |
+
|
3672 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_label'.$form_id.'\" />").val(
|
3673 |
+
|
3674 |
+
jQuery("label[for=\'"+jQuery("input[name^=\'wdform_'.$id1.'_element'.$form_id.'\']:checked").prop("id")+"\']").eq(0).text()
|
3675 |
+
|
3676 |
+
).appendTo("#adminForm");
|
3677 |
+
|
3678 |
+
|
3679 |
+
|
3680 |
+
';
|
3681 |
+
|
3682 |
+
$onsubmit_js.='
|
3683 |
+
|
3684 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_quantity_label'.$form_id.'\" />").val("Quantity").appendTo("#adminForm");
|
3685 |
+
|
3686 |
+
';
|
3687 |
+
|
3688 |
+
$onsubmit_js.='
|
3689 |
+
|
3690 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_property_label'.$form_id.'\" />").val("'.$param['w_property'][0].'").appendTo("#adminForm");
|
3691 |
+
|
3692 |
+
';
|
3693 |
+
|
3694 |
+
break;
|
3695 |
+
|
3696 |
+
}
|
3697 |
+
|
3698 |
+
|
3699 |
+
case 'type_paypal_shipping':
|
3700 |
+
|
3701 |
+
{
|
3702 |
+
|
3703 |
+
|
3704 |
+
|
3705 |
+
if($element_value=='')
|
3706 |
+
|
3707 |
+
$element_value =' - ';
|
3708 |
+
|
3709 |
+
|
3710 |
+
|
3711 |
+
$params_names=array('w_field_label_size','w_field_label_pos','w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_class');
|
3712 |
+
|
3713 |
+
$temp=$params;
|
3714 |
+
|
3715 |
+
|
3716 |
+
|
3717 |
+
if(strpos($temp, 'w_field_option_pos') > -1)
|
3718 |
+
|
3719 |
+
$params_names=array('w_field_label_size','w_field_label_pos', 'w_field_option_pos', 'w_flow','w_choices','w_choices_price','w_choices_checked','w_required','w_randomize','w_allow_other','w_allow_other_num','w_choices_params', 'w_class');
|
3720 |
+
|
3721 |
+
foreach($params_names as $params_name )
|
3722 |
+
|
3723 |
+
{
|
3724 |
+
|
3725 |
+
$temp=explode('*:*'.$params_name.'*:*',$temp);
|
3726 |
+
|
3727 |
+
$param[$params_name] = $temp[0];
|
3728 |
+
|
3729 |
+
$temp=$temp[1];
|
3730 |
+
|
3731 |
+
}
|
3732 |
+
|
3733 |
+
|
3734 |
+
|
3735 |
+
if($temp)
|
3736 |
+
|
3737 |
+
{
|
3738 |
+
|
3739 |
+
$temp =explode('*:*w_attr_name*:*',$temp);
|
3740 |
+
|
3741 |
+
$attrs = array_slice($temp,0, count($temp)-1);
|
3742 |
+
|
3743 |
+
foreach($attrs as $attr)
|
3744 |
+
|
3745 |
+
$param['attributes'] = $param['attributes'].' '.$attr;
|
3746 |
+
|
3747 |
+
}
|
3748 |
+
|
3749 |
+
|
3750 |
+
|
3751 |
+
if(!isset($param['w_field_option_pos']))
|
3752 |
+
|
3753 |
+
$param['w_field_option_pos'] = 'left';
|
3754 |
+
|
3755 |
+
|
3756 |
+
|
3757 |
+
$param['w_field_label_pos'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "display:block;");
|
3758 |
+
|
3759 |
+
$param['w_field_option_pos1'] = ($param['w_field_option_pos']=="right" ? "style='float: none !important;'" : "");
|
3760 |
+
|
3761 |
+
$param['w_field_option_pos2'] = ($param['w_field_option_pos']=="right" ? "style='float: left !important; margin-right: 8px !important; display: inline-block !important;'" : "");
|
3762 |
+
|
3763 |
+
|
3764 |
+
|
3765 |
+
|
3766 |
+
|
3767 |
+
$param['w_choices'] = explode('***',$param['w_choices']);
|
3768 |
+
|
3769 |
+
$param['w_choices_price'] = explode('***',$param['w_choices_price']);
|
3770 |
+
|
3771 |
+
if(isset($param['w_choices_params']))
|
3772 |
+
|
3773 |
+
$param['w_choices_params'] = explode('***',$param['w_choices_params']);
|
3774 |
+
|
3775 |
+
|
3776 |
+
|
3777 |
+
|
3778 |
+
|
3779 |
+
|
3780 |
+
|
3781 |
+
$element_value = explode(' - ',$element_value);
|
3782 |
+
|
3783 |
+
$element_value[1] = preg_replace("/[^0-9]/","",$element_value[1]);
|
3784 |
+
|
3785 |
+
|
3786 |
+
|
3787 |
+
$rep='<div type="type_paypal_shipping" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span>';
|
3788 |
+
|
3789 |
+
|
3790 |
+
|
3791 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos'].';">';
|
3792 |
+
|
3793 |
+
|
3794 |
+
|
3795 |
+
$total_queries = 0;
|
3796 |
+
|
3797 |
+
foreach($param['w_choices'] as $key => $choice)
|
3798 |
+
|
3799 |
+
{
|
3800 |
+
|
3801 |
+
$key1 = $key + $total_queries;
|
3802 |
+
|
3803 |
+
if(isset($param['w_choices_params']) && $param['w_choices_params'][$key])
|
3804 |
+
|
3805 |
+
{
|
3806 |
+
|
3807 |
+
$choices_labels =array();
|
3808 |
+
$choices_values =array();
|
3809 |
+
$w_choices_params = explode('[where_order_by]',$param['w_choices_params'][$key]);
|
3810 |
+
$where = (str_replace(array('[',']'), '', $w_choices_params[0]) ? ' WHERE '.str_replace(array('[',']'), '', $w_choices_params[0]) : '');
|
3811 |
+
$w_choices_params = explode('[db_info]',$w_choices_params[1]);
|
3812 |
+
|
3813 |
+
$order_by = str_replace(array('[',']'), '', $w_choices_params[0]);
|
3814 |
+
$db_info = str_replace(array('[',']'), '', $w_choices_params[1]);
|
3815 |
+
|
3816 |
+
|
3817 |
+
$label_table_and_column = explode(':',str_replace(array('[',']'), '', $choice));
|
3818 |
+
|
3819 |
+
$table = $label_table_and_column[0];
|
3820 |
+
|
3821 |
+
$label_column = $label_table_and_column[1];
|
3822 |
+
|
3823 |
+
if($label_column)
|
3824 |
+
|
3825 |
+
{
|
3826 |
+
|
3827 |
+
$choices_labels = $this->model->select_data_from_db_for_labels($db_info, $label_column, $table, $where, $order_by);
|
3828 |
+
}
|
3829 |
+
|
3830 |
+
|
3831 |
|
3832 |
+
$value_table_and_column = explode(':',str_replace(array('[',']'), '', $param['w_choices_price'][$key]));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3833 |
|
3834 |
+
$value_column = $value_table_and_column[1];
|
3835 |
|
|
|
|
|
|
|
|
|
3836 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3837 |
|
3838 |
+
if($value_column)
|
|
|
|
|
|
|
|
|
3839 |
|
3840 |
+
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3841 |
|
3842 |
+
$choices_values = $this->model->select_data_from_db_for_values($db_info, $value_column, $table, $where, $order_by);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3843 |
|
3844 |
+
}
|
|
|
|
|
|
|
|
|
|
|
3845 |
|
|
|
|
|
|
|
|
|
|
|
3846 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3847 |
|
3848 |
+
$columns_count_shipping = count($choices_labels)>0 ? count($choices_labels) : count($choices_values);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3849 |
|
3850 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3851 |
|
3852 |
+
if(array_filter($choices_labels) || array_filter($choices_values))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3853 |
|
3854 |
+
{
|
|
|
|
|
|
|
|
|
|
|
3855 |
|
3856 |
+
$total_queries = $total_queries + $columns_count_shipping-1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3857 |
|
3858 |
+
for($k=0; $k<$columns_count_shipping; $k++)
|
3859 |
|
3860 |
+
{
|
|
|
|
|
|
|
3861 |
|
3862 |
+
$choice_label = isset($choices_labels) ? $choices_labels[$k] : '';
|
3863 |
+
|
3864 |
+
$choice_value = isset($choices_values) ? (float)$choices_values[$k] : '';
|
3865 |
+
|
3866 |
+
|
3867 |
+
|
3868 |
+
$checked =(($choice_label==$element_value[0] && $choice_value== $element_value[1]) ? 'checked="checked"' : '');
|
3869 |
+
|
3870 |
+
|
3871 |
+
|
3872 |
+
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'">'.$choice_label.'</label><div class="radio-div forlabs"><input type="radio" id="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.$choice_value.'" title="'.htmlspecialchars($choice_label).'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.($key1+$k).'"></label></div></div>';
|
3873 |
+
|
3874 |
+
}
|
3875 |
+
|
3876 |
+
}
|
3877 |
+
|
3878 |
+
}
|
3879 |
+
|
3880 |
+
else
|
3881 |
+
|
3882 |
+
{
|
3883 |
+
|
3884 |
+
$checked =(($choice==$element_value[0] && $param['w_choices_price'][$key]== $element_value[1]) ? 'checked="checked"' : '');
|
3885 |
+
|
3886 |
+
|
3887 |
+
|
3888 |
+
$rep.='<div style="display: '.($param['w_flow']=='hor' ? 'inline-block' : 'table-row' ).';"><label class="wdform-ch-rad-label" for="wdform_'.$id1.'_element'.$form_id.''.$key1.'">'.$choice.'</label><div class="radio-div forlabs"><input type="radio" id="wdform_'.$id1.'_element'.$form_id.''.$key1.'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.$param['w_choices_price'][$key].'" title="'.htmlspecialchars($choice).'" '.$checked.' '.$param['attributes'].'><label for="wdform_'.$id1.'_element'.$form_id.''.$key1.'"></label></div></div>';
|
3889 |
+
|
3890 |
+
}
|
3891 |
+
|
3892 |
+
}
|
3893 |
+
|
3894 |
+
|
3895 |
+
|
3896 |
+
$rep.='</div></div>';
|
3897 |
+
|
3898 |
+
|
3899 |
+
|
3900 |
+
|
3901 |
+
|
3902 |
+
$onsubmit_js.='
|
3903 |
+
|
3904 |
+
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_element_label'.$form_id.'\" />").val(
|
3905 |
+
|
3906 |
+
jQuery("label[for=\'"+jQuery("input[name^=\'wdform_'.$id1.'_element'.$form_id.'\']:checked").prop("id")+"\']").eq(0).text()
|
3907 |
+
|
3908 |
+
).appendTo("#adminForm");
|
3909 |
+
|
3910 |
+
|
3911 |
+
|
3912 |
+
';
|
3913 |
+
|
3914 |
+
|
3915 |
+
|
3916 |
+
break;
|
3917 |
+
|
3918 |
+
}
|
3919 |
|
3920 |
case 'type_star_rating': {
|
3921 |
if($element_value=='')
|
css/form_maker_tables.css
CHANGED
@@ -3,6 +3,16 @@
|
|
3 |
z-index: 10200;
|
4 |
}
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
#manage_form fieldset {
|
7 |
clear: both;
|
8 |
float: left;
|
3 |
z-index: 10200;
|
4 |
}
|
5 |
|
6 |
+
#main_div input[type="checkbox"], #main_div input[type="radio"] {
|
7 |
+
float: right !important;
|
8 |
+
margin: 3px 3px 3px 4px;
|
9 |
+
}
|
10 |
+
|
11 |
+
.wdform_column input[type="checkbox"],.wdform_column input[type="radio"] {
|
12 |
+
float: right !important;
|
13 |
+
margin: 3px 3px 3px 4px;
|
14 |
+
}
|
15 |
+
|
16 |
#manage_form fieldset {
|
17 |
clear: both;
|
18 |
float: left;
|
css/style.css
CHANGED
@@ -145,12 +145,12 @@ fieldset input, fieldset textarea, fieldset select, fieldset img, fieldset butto
|
|
145 |
}
|
146 |
|
147 |
fieldset select{
|
148 |
-
height:
|
149 |
border-radius: 2px;
|
150 |
}
|
151 |
.multiple_select
|
152 |
{
|
153 |
-
height:
|
154 |
}
|
155 |
|
156 |
fieldset input{
|
145 |
}
|
146 |
|
147 |
fieldset select{
|
148 |
+
height:20px !important;
|
149 |
border-radius: 2px;
|
150 |
}
|
151 |
.multiple_select
|
152 |
{
|
153 |
+
height:20px !important;
|
154 |
}
|
155 |
|
156 |
fieldset input{
|
form-maker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Form Maker
|
4 |
* Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
|
6 |
-
* Version: 1.7.
|
7 |
* Author: WebDorado
|
8 |
* Author URI: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -30,13 +30,13 @@ function form_maker_options_panel() {
|
|
30 |
$themes_page = add_submenu_page('manage_fm', 'Themes', 'Themes', 'manage_options', 'themes_fm', 'form_maker');
|
31 |
add_action('admin_print_styles-' . $themes_page, 'form_maker_manage_styles');
|
32 |
add_action('admin_print_scripts-' . $themes_page, 'form_maker_manage_scripts');
|
33 |
-
|
34 |
$licensing_plugins_page = add_submenu_page('manage_fm', 'Licensing/Donation', 'Licensing/Donation', 'manage_options', 'licensing_fm', 'form_maker');
|
35 |
|
36 |
add_submenu_page('manage_fm', 'Featured Plugins', 'Featured Plugins', 'manage_options', 'featured_plugins_fm', 'fm_featured');
|
37 |
|
38 |
add_submenu_page('manage_fm', 'Form Maker plugins', 'Form Maker plugins', 'manage_options', 'extensions_fm', 'fm_extensions');
|
39 |
-
|
40 |
$uninstall_page = add_submenu_page('manage_fm', 'Uninstall', 'Uninstall', 'manage_options', 'uninstall_fm', 'form_maker');
|
41 |
add_action('admin_print_styles-' . $uninstall_page, 'form_maker_styles');
|
42 |
add_action('admin_print_scripts-' . $uninstall_page, 'form_maker_scripts');
|
@@ -54,7 +54,7 @@ function form_maker() {
|
|
54 |
}
|
55 |
require_once(WD_FM_DIR . '/framework/WDW_FM_Library.php');
|
56 |
$page = WDW_FM_Library::get('page');
|
57 |
-
if (($page != '') && (($page == 'manage_fm') || ($page == 'submissions_fm')
|
58 |
require_once (WD_FM_DIR . '/admin/controllers/FMController' . ucfirst(strtolower($page)) . '.php');
|
59 |
$controller_class = 'FMController' . ucfirst(strtolower($page));
|
60 |
$controller = new $controller_class();
|
@@ -106,6 +106,7 @@ add_action('wp_ajax_show_matrix', 'form_maker_ajax'); // Edit matrix in submissi
|
|
106 |
add_action('wp_ajax_FormMakerEditCSS', 'form_maker_ajax'); // Edit css from form options.
|
107 |
add_action('wp_ajax_FormMakerSQLMapping', 'form_maker_ajax'); // Add/Edit SQLMaping from form options.
|
108 |
|
|
|
109 |
function form_maker_ajax() {
|
110 |
require_once(WD_FM_DIR . '/framework/WDW_FM_Library.php');
|
111 |
$page = WDW_FM_Library::get('action');
|
@@ -153,10 +154,10 @@ add_action('admin_head', 'form_maker_admin_ajax');
|
|
153 |
function do_output_buffer() {
|
154 |
ob_start();
|
155 |
}
|
156 |
-
add_action('init', 'do_output_buffer');
|
157 |
-
|
158 |
-
add_shortcode('Form', 'fm_shortcode');
|
159 |
|
|
|
|
|
160 |
function fm_shortcode($attrs) {
|
161 |
$new_shortcode = '[Form';
|
162 |
foreach ($attrs as $key=>$value) {
|
@@ -192,8 +193,6 @@ function Form_maker_fornt_end_main($content) {
|
|
192 |
}
|
193 |
add_filter('the_content', 'Form_maker_fornt_end_main', 5000);
|
194 |
|
195 |
-
|
196 |
-
|
197 |
// Add the Form Maker button to editor.
|
198 |
add_action('wp_ajax_formmakerwindow', 'form_maker_ajax');
|
199 |
add_filter('mce_external_plugins', 'form_maker_register');
|
@@ -208,7 +207,7 @@ if (class_exists('WP_Widget')) {
|
|
208 |
// Activate plugin.
|
209 |
function form_maker_activate() {
|
210 |
$version = get_option("wd_form_maker_version");
|
211 |
-
$new_version = '1.7.
|
212 |
if (!$version) {
|
213 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
214 |
global $wpdb;
|
@@ -328,7 +327,6 @@ function form_maker_submissions_scripts() {
|
|
328 |
wp_enqueue_script('calendar_function', WD_FM_URL . '/js/calendar/calendar_function.js');
|
329 |
// wp_enqueue_script('form_maker_calendar_setup', WD_FM_URL . '/js/calendar/calendar-setup.js');
|
330 |
|
331 |
-
|
332 |
wp_localize_script('main_div_front_end', 'fm_objectL10n', array(
|
333 |
'plugin_url' => WD_FM_URL
|
334 |
));
|
3 |
* Plugin Name: Form Maker
|
4 |
* Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
|
6 |
+
* Version: 1.7.31
|
7 |
* Author: WebDorado
|
8 |
* Author URI: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
30 |
$themes_page = add_submenu_page('manage_fm', 'Themes', 'Themes', 'manage_options', 'themes_fm', 'form_maker');
|
31 |
add_action('admin_print_styles-' . $themes_page, 'form_maker_manage_styles');
|
32 |
add_action('admin_print_scripts-' . $themes_page, 'form_maker_manage_scripts');
|
33 |
+
|
34 |
$licensing_plugins_page = add_submenu_page('manage_fm', 'Licensing/Donation', 'Licensing/Donation', 'manage_options', 'licensing_fm', 'form_maker');
|
35 |
|
36 |
add_submenu_page('manage_fm', 'Featured Plugins', 'Featured Plugins', 'manage_options', 'featured_plugins_fm', 'fm_featured');
|
37 |
|
38 |
add_submenu_page('manage_fm', 'Form Maker plugins', 'Form Maker plugins', 'manage_options', 'extensions_fm', 'fm_extensions');
|
39 |
+
|
40 |
$uninstall_page = add_submenu_page('manage_fm', 'Uninstall', 'Uninstall', 'manage_options', 'uninstall_fm', 'form_maker');
|
41 |
add_action('admin_print_styles-' . $uninstall_page, 'form_maker_styles');
|
42 |
add_action('admin_print_scripts-' . $uninstall_page, 'form_maker_scripts');
|
54 |
}
|
55 |
require_once(WD_FM_DIR . '/framework/WDW_FM_Library.php');
|
56 |
$page = WDW_FM_Library::get('page');
|
57 |
+
if (($page != '') && (($page == 'manage_fm') || ($page == 'submissions_fm')|| ($page == 'licensing_fm') || ($page == 'blocked_ips_fm') || ($page == 'themes_fm') || ($page == 'featured_plugins_fm') || ($page == 'uninstall_fm') || ($page == 'formmakerwindow') || ($page == 'extensions_fm'))) {
|
58 |
require_once (WD_FM_DIR . '/admin/controllers/FMController' . ucfirst(strtolower($page)) . '.php');
|
59 |
$controller_class = 'FMController' . ucfirst(strtolower($page));
|
60 |
$controller = new $controller_class();
|
106 |
add_action('wp_ajax_FormMakerEditCSS', 'form_maker_ajax'); // Edit css from form options.
|
107 |
add_action('wp_ajax_FormMakerSQLMapping', 'form_maker_ajax'); // Add/Edit SQLMaping from form options.
|
108 |
|
109 |
+
add_action('wp_ajax_select_data_from_db', 'form_maker_ajax'); // select data from db.
|
110 |
function form_maker_ajax() {
|
111 |
require_once(WD_FM_DIR . '/framework/WDW_FM_Library.php');
|
112 |
$page = WDW_FM_Library::get('action');
|
154 |
function do_output_buffer() {
|
155 |
ob_start();
|
156 |
}
|
157 |
+
add_action('init', 'do_output_buffer');
|
|
|
|
|
158 |
|
159 |
+
add_shortcode('Form', 'fm_shortcode');
|
160 |
+
|
161 |
function fm_shortcode($attrs) {
|
162 |
$new_shortcode = '[Form';
|
163 |
foreach ($attrs as $key=>$value) {
|
193 |
}
|
194 |
add_filter('the_content', 'Form_maker_fornt_end_main', 5000);
|
195 |
|
|
|
|
|
196 |
// Add the Form Maker button to editor.
|
197 |
add_action('wp_ajax_formmakerwindow', 'form_maker_ajax');
|
198 |
add_filter('mce_external_plugins', 'form_maker_register');
|
207 |
// Activate plugin.
|
208 |
function form_maker_activate() {
|
209 |
$version = get_option("wd_form_maker_version");
|
210 |
+
$new_version = '1.7.30';
|
211 |
if (!$version) {
|
212 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
213 |
global $wpdb;
|
327 |
wp_enqueue_script('calendar_function', WD_FM_URL . '/js/calendar/calendar_function.js');
|
328 |
// wp_enqueue_script('form_maker_calendar_setup', WD_FM_URL . '/js/calendar/calendar-setup.js');
|
329 |
|
|
|
330 |
wp_localize_script('main_div_front_end', 'fm_objectL10n', array(
|
331 |
'plugin_url' => WD_FM_URL
|
332 |
));
|
form_maker_insert.php
CHANGED
@@ -63,6 +63,7 @@ function from_maker_insert() {
|
|
63 |
$wpdb->query($formmaker);
|
64 |
$plugin_path = WD_FM_URL;
|
65 |
install_demo_forms();
|
|
|
66 |
$formmaker_submits = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_submits` (
|
67 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
68 |
`form_id` int(11) NOT NULL,
|
@@ -94,22 +95,22 @@ function from_maker_insert() {
|
|
94 |
|
95 |
$form_maker_theme_row = $wpdb->get_var("SELECT * FROM " . $wpdb->prefix . "formmaker_themes");
|
96 |
if (!$form_maker_theme_row) {
|
97 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(1, \'Theme 01 blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #013D7C;\r\nborder-radius: 5px;\r\ncolor: #013D7C;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\ninput[type="radio"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\ninput[type="checkbox"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\na.ui-spinner-button\r\n{\r\nborder-radius:0px !important;\r\nbackground: none!important;\r\n}\r\n\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\n\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #000;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #8A8A8A !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px solid #000 !important;\r\npadding-left:10px;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n\r\n.sel-imul {\r\n display: none;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 0px solid #D3D3D3;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/09/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/10/01/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 38px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/10/next.png) no-repeat right #013D7C;\r\npadding: 0px 36px 0 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-right-radius: 7px;\r\nborder-bottom-right-radius: 7px;\r\n}\r\n.previous-page div.wdform-page-button {\r\ncolor: #A2A2A2;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 37px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/09/previous.png) no-repeat left #F1F1F1;\r\npadding: 0 20px 0 36px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-left-radius: 7px;\r\nborder-bottom-left-radius: 7px;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #013D7C;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #FFFFFF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #013D7C;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 10px 40px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #013D7C;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n padding: 2px;\r\n height: 26px;\r\n border: 1px solid #B7B7B7;\r\nbackground: #F8F8F8;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\nselect {\r\n outline: none;\r\n}\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n\r\n\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n\r\n\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #8A8A8A;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #013E7D;\r\nbackground-color: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 29px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 16px;\r\nfont-weight:bold;\r\n}\r\n.page_active {\r\ncolor: #FFF;\r\ncursor: pointer;\r\nbackground-color: #013E7D;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 20px;\r\npadding: 5px 25px 0px 25px;\r\nline-height: 26px;\r\nfont-weight:bold;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nmargin: 0px;\r\nborder-spacing: 0px;\r\nheight: 16px;\r\nline-height: 16px;\r\nfont-size: 15px;\r\nfloat: left;\r\ntext-align: right !important;\r\nz-index: 1;\r\nposition: relative;\r\nvertical-align: middle;\r\nbackground: #013E7F;\r\ncolor: #fff;\r\nborder-top-left-radius: 5px;\r\nborder-bottom-left-radius: 5px;\r\n}\r\n.page_percentage_deactive {\r\nheight: 16px;\r\nline-height: 16px;\r\nbackground-color: #F1F1F1;\r\ntext-align: left !important;\r\nmargin-bottom: 1px;\r\nborder-radius: 5px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n}\r\n\r\n.wdform_percentage_text {\r\nmargin: 3px 5px 3px 9px;\r\ncolor: #FFF;\r\nfont-size: 12px;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
98 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(2, \'Theme 01 purple\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #6C005E;\r\nborder-radius: 5px;\r\ncolor: #6C005E;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\ninput[type="radio"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\ninput[type="checkbox"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\na.ui-spinner-button\r\n{\r\nborder-radius:0px !important;\r\nbackground: none!important;\r\n}\r\n\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\n\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #000;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #8A8A8A !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px solid #000 !important;\r\npadding-left:10px;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n\r\n.sel-imul {\r\n display: none;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 0px solid #D3D3D3;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/09/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/10/02/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 38px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/10/next.png) no-repeat right #6C005E;\r\npadding: 0px 36px 0 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-right-radius: 7px;\r\nborder-bottom-right-radius: 7px;\r\n}\r\n.previous-page div.wdform-page-button {\r\ncolor: #A2A2A2;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 37px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/09/previous.png) no-repeat left #F1F1F1;\r\npadding: 0 20px 0 36px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-left-radius: 7px;\r\nborder-bottom-left-radius: 7px;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #6C005E;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #FFFFFF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #6C005E;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 10px 40px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #6C005E;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n padding: 2px;\r\n height: 26px;\r\n border: 1px solid #B7B7B7;\r\nbackground: #F8F8F8;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\nselect {\r\n outline: none;\r\n}\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n\r\n\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n\r\n\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #8A8A8A;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #6C005E;\r\nbackground-color: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 29px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 16px;\r\nfont-weight:bold;\r\n}\r\n.page_active {\r\ncolor: #FFF;\r\ncursor: pointer;\r\nbackground-color: #6C005E;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 20px;\r\npadding: 5px 25px 0px 25px;\r\nline-height: 26px;\r\nfont-weight:bold;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nmargin: 0px;\r\nborder-spacing: 0px;\r\nheight: 16px;\r\nline-height: 16px;\r\nfont-size: 15px;\r\nfloat: left;\r\ntext-align: right !important;\r\nz-index: 1;\r\nposition: relative;\r\nvertical-align: middle;\r\nbackground: #6C005E;\r\ncolor: #fff;\r\nborder-top-left-radius: 5px;\r\nborder-bottom-left-radius: 5px;\r\n}\r\n.page_percentage_deactive {\r\nheight: 16px;\r\nline-height: 16px;\r\nbackground-color: #F1F1F1;\r\ntext-align: left !important;\r\nmargin-bottom: 1px;\r\nborder-radius: 5px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n}\r\n\r\n.wdform_percentage_text {\r\nmargin: 3px 5px 3px 9px;\r\ncolor: #FFF;\r\nfont-size: 12px;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
99 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(3, \'Theme 01 black\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #000000;\r\nborder-radius: 5px;\r\ncolor: #000000;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\ninput[type="radio"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\ninput[type="checkbox"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\na.ui-spinner-button\r\n{\r\nborder-radius:0px !important;\r\nbackground: none!important;\r\n}\r\n\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\n\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #000;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #8A8A8A !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px solid #000 !important;\r\npadding-left:10px;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n\r\n.sel-imul {\r\n display: none;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 0px solid #D3D3D3;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/09/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/10/02/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 38px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/10/next.png) no-repeat right #000;\r\npadding: 0px 36px 0 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-right-radius: 7px;\r\nborder-bottom-right-radius: 7px;\r\n}\r\n.previous-page div.wdform-page-button {\r\ncolor: #A2A2A2;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 37px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/09/previous.png) no-repeat left #F1F1F1;\r\npadding: 0 20px 0 36px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-left-radius: 7px;\r\nborder-bottom-left-radius: 7px;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #000;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #FFFFFF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #000;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 10px 40px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #000;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n padding: 2px;\r\n height: 26px;\r\n border: 1px solid #B7B7B7;\r\nbackground: #F8F8F8;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\nselect {\r\n outline: none;\r\n}\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n\r\n\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n\r\n\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #8A8A8A;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #000;\r\nbackground-color: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 29px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 16px;\r\nfont-weight:bold;\r\n}\r\n.page_active {\r\ncolor: #FFF;\r\ncursor: pointer;\r\nbackground-color: #000;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 20px;\r\npadding: 5px 25px 0px 25px;\r\nline-height: 26px;\r\nfont-weight:bold;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nmargin: 0px;\r\nborder-spacing: 0px;\r\nheight: 16px;\r\nline-height: 16px;\r\nfont-size: 15px;\r\nfloat: left;\r\ntext-align: right !important;\r\nz-index: 1;\r\nposition: relative;\r\nvertical-align: middle;\r\nbackground: #000;\r\ncolor: #fff;\r\nborder-top-left-radius: 5px;\r\nborder-bottom-left-radius: 5px;\r\n}\r\n.page_percentage_deactive {\r\nheight: 16px;\r\nline-height: 16px;\r\nbackground-color: #F1F1F1;\r\ntext-align: left !important;\r\nmargin-bottom: 1px;\r\nborder-radius: 5px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n}\r\n\r\n.wdform_percentage_text {\r\nmargin: 3px 5px 3px 9px;\r\ncolor: #FFF;\r\nfont-size: 12px;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 1)');
|
100 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(4, \'Theme 01 transparent (black button)\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #000000;\r\nborder-radius: 5px;\r\ncolor: #000000;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\ninput[type="radio"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\ninput[type="checkbox"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\na.ui-spinner-button\r\n{\r\nborder-radius:0px !important;\r\nbackground: none!important;\r\n}\r\n\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\n\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #000;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #8A8A8A !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px solid #000 !important;\r\npadding-left:10px;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n\r\n.sel-imul {\r\n display: none;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 0px solid #D3D3D3;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/09/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/10/02/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 38px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/10/next.png) no-repeat right #000;\r\npadding: 0px 36px 0 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-right-radius: 7px;\r\nborder-bottom-right-radius: 7px;\r\n}\r\n.previous-page div.wdform-page-button {\r\ncolor: #A2A2A2;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 37px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/09/previous.png) no-repeat left #F1F1F1;\r\npadding: 0 20px 0 36px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-left-radius: 7px;\r\nborder-bottom-left-radius: 7px;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #000;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #000;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 10px 40px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #000;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n padding: 2px;\r\n height: 26px;\r\n border: 1px solid #B7B7B7;\r\nbackground: #F8F8F8;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\nselect {\r\n outline: none;\r\n}\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n\r\n\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n\r\n\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #8A8A8A;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #000;\r\nbackground-color: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 29px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 16px;\r\nfont-weight:bold;\r\n}\r\n.page_active {\r\ncolor: #FFF;\r\ncursor: pointer;\r\nbackground-color: #000;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 20px;\r\npadding: 5px 25px 0px 25px;\r\nline-height: 26px;\r\nfont-weight:bold;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nmargin: 0px;\r\nborder-spacing: 0px;\r\nheight: 16px;\r\nline-height: 16px;\r\nfont-size: 15px;\r\nfloat: left;\r\ntext-align: right !important;\r\nz-index: 1;\r\nposition: relative;\r\nvertical-align: middle;\r\nbackground: #000;\r\ncolor: #fff;\r\nborder-top-left-radius: 5px;\r\nborder-bottom-left-radius: 5px;\r\n}\r\n.page_percentage_deactive {\r\nheight: 16px;\r\nline-height: 16px;\r\nbackground-color: #F1F1F1;\r\ntext-align: left !important;\r\nmargin-bottom: 1px;\r\nborder-radius: 5px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n}\r\n\r\n.wdform_percentage_text {\r\nmargin: 3px 5px 3px 9px;\r\ncolor: #FFF;\r\nfont-size: 12px;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
101 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(5, \'Theme 02 blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #ADC0DB;\r\nmargin-bottom: 10px;\r\ncolor: #ADC0DB;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.ui-slider-range {\r\n background: #A4A4A4 !important;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -8px !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/02/bg.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-slider {\r\n background: #fff !important;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 4px;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 29px;\r\n background: url([SITE_ROOT]/images/02/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/02/01/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #285485;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 33px;\r\n background: url([SITE_ROOT]/images/02/01/next.png) top right #708EB4;\r\n padding: 0px 30px 0 15px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n .next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/01/next.png) top right #144077;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #285485;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background: url([SITE_ROOT]/images/02/01/previous.png) top left #708EB4;\r\n padding: 0px 15px 0 30px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n .previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/01/previous.png) top left #144077;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/02/bg.png) #708EB4;\r\n cursor: pointer;\r\n font-size: 16px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #285485;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 600;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #ADC0DB;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 1px solid #C5C5C5;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/02/bg.png) #708EB4;\r\n text-align: left;\r\n padding: 10px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: center;\r\nfont-size:18px;\r\nfont-family: Segoe UI;\r\ncolor:#0E3F76;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor:#0E3F76;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 4px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/02/01/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n} \r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 11px;\r\n height: 10px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 1px;\r\n left: 1px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: rgb(158, 0, 0);\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 4px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #2564A3;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 30px 0px 30px;\r\n font-weight: bold;\r\n}\r\n.page_deactive:nth-child(even) {\r\n background-color: #DCDADB;\r\n}\r\n.page_deactive:nth-child(odd) {\r\n background-color: #D1CDCE;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #0E3F77;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 18px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 17px;\r\n line-height: 17px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #0e3f77; /* Old browsers */\r\n background: -moz-linear-gradient(left, #0e3f77 0%, #0f437d 49%, #2f72b5 84%, #165ba9 99%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0e3f77), color-stop(49%, #0f437d), color-stop(84%, #2f72b5), color-stop(99%, #165ba9)); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #0e3f77 0%, #0f437d 49%, #2f72b5 84%, #165ba9 99%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #0e3f77 0%, #0f437d 49%, #2f72b5 84%, #165ba9 99%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #0e3f77 0%, #0f437d 49%, #2f72b5 84%, #165ba9 99%); /* IE10+ */\r\n background: linear-gradient(to right, #0e3f77 0%, #0f437d 49%, #2f72b5 84%, #165ba9 99%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 17px;\r\n line-height: 17px;\r\n background-color: #CCCCCC;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: -2px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: bold;\r\nfont-size: 13px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 17px;\r\n height: 17px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
102 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(6, \'Theme 02 yellow\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #EADEB4;\r\nborder: 1px solid #E3E2E4;\r\nmargin-bottom: 10px;\r\ncolor: #E3E2E4;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.ui-slider-range {\r\n background: #A4A4A4 !important;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -8px !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/02/bg.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-slider {\r\n background: #fff !important;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 4px;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 29px;\r\n background: url([SITE_ROOT]/images/02/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/02/02/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 33px;\r\n background: url([SITE_ROOT]/images/02/next.png) top right #CFAB1A;\r\n padding: 0px 30px 0 15px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/next.png) top right #A08104;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #CFAB1A;\r\n padding: 0px 15px 0 30px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #A08104;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/02/bg.png) #CFAB1A;\r\n cursor: pointer;\r\n font-size: 16px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #4D4A3C;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 600;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #E2DED7;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 1px solid #CFCFCF;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/02/bg.png) #CFAB1A;\r\n text-align: left;\r\n padding: 10px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: center;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\nfont-weight: 600;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 4px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/02/02/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 11px;\r\n height: 10px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 1px;\r\n left: 1px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: rgb(158, 0, 0);\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 4px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #3F3927;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 30px 0px 30px;\r\n font-weight: bold;\r\n}\r\n.page_deactive:nth-child(even) {\r\n background-color: #DCDADB;\r\n}\r\n.page_deactive:nth-child(odd) {\r\n background-color: #D1CDCE;\r\n}\r\n.page_active {\r\n color: #3F3927;\r\n cursor: pointer;\r\n background-color: #ECBD00;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 18px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 17px;\r\n line-height: 17px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #ECBD00 ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #ECBD00 0%, #F5C403 49%, #F8C90B 84%, #FFCC00 99%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #ECBD00 ), color-stop(49%, #F5C403 ), color-stop(84%, #F8C90B ), color-stop(99%, #FFCC00 )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #ECBD00 0%, #F5C403 49%, #F8C90B 84%, #FFCC00 99%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #ECBD00 0%, #F5C403 49%, #F8C90B 84%, #FFCC00 99%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #ECBD00 0%, #F5C403 49%, #F8C90B 84%, #FFCC00 99%); /* IE10+ */\r\n background: linear-gradient(to right, #ECBD00 0%, #F5C403 49%, #F8C90B 84%, #FFCC00 99%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 17px;\r\n line-height: 17px;\r\n background-color: #D9D7D8;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: -2px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #292929;\r\n font-weight: bold;\r\nfont-size:13px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 17px;\r\n height: 17px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
103 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(7, \'Theme 02 violet\', \'v.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #C9ADEF;\r\nborder: 1px solid #E3E2E4;\r\nmargin-bottom: 10px;\r\ncolor: #E3E2E4;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.ui-slider-range {\r\n background: #A4A4A4 !important;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -8px !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/02/bg.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-slider {\r\n background: #fff !important;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 4px;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 29px;\r\n background: url([SITE_ROOT]/images/02/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/02/02/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 33px;\r\n background: url([SITE_ROOT]/images/02/next.png) top right #5C00DA;\r\n padding: 0px 30px 0 15px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/next.png) top right #3D0886;\r\n}.previous-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #5C00DA;\r\n padding: 0px 15px 0 30px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #3D0886;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/02/bg.png) #5C00DA;\r\n cursor: pointer;\r\n font-size: 16px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #4D4A3C;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 600;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #E3E2E4;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 1px solid #CFCFCF;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/02/bg.png) #5C00DA;\r\n text-align: left;\r\n padding: 10px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: center;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\nfont-weight: 600;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 4px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/02/03/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 11px;\r\n height: 10px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 1px;\r\n left: 1px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: rgb(158, 0, 0);\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 4px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #3F3927;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 30px 0px 30px;\r\n font-weight: bold;\r\n}\r\n.page_deactive:nth-child(even) {\r\n background-color: #DCDADB;\r\n}\r\n.page_deactive:nth-child(odd) {\r\n background-color: #D1CDCE;\r\n}\r\n.page_active {\r\n color: #FFF;\r\n cursor: pointer;\r\n background-color: #5C00DA;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 18px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 17px;\r\n line-height: 17px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #5C00DA ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #5C00DA 0%, #5C00DB 49%, #6600F0 84%, #7917FF 99%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #5C00DA ), color-stop(49%, #5C00DB ), color-stop(84%, #6600F0 ), color-stop(99%, #7917FF )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #5C00DA 0%, #5C00DB 49%, #6600F0 84%, #7917FF 99%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #5C00DA 0%, #5C00DB 49%, #6600F0 84%, #7917FF 99%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #5C00DA 0%, #5C00DB 49%, #6600F0 84%, #7917FF 99%); /* IE10+ */\r\n background: linear-gradient(to right, #5C00DA 0%, #5C00DB 49%, #6600F0 84%, #7917FF 99%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 17px;\r\n line-height: 17px;\r\n background-color: #D9D7D8;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: -2px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #fff;\r\n font-weight: bold;\r\nfont-size:13px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 17px;\r\n height: 17px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
104 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(8, \'Theme 02 transparent (aquamarine button)\', \'.radio-div input[type="radio"],\r\n.checkbox-div input[type="checkbox"]\r\n{\r\nvisibility: hidden;\r\n}\r\n.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #EAF9F3;\r\nborder: 1px solid #4D4A58;\r\nmargin-bottom: 10px;\r\ncolor: #4D4A58;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.ui-slider-range {\r\n background: #A4A4A4 !important;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -8px !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/02/bg.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-slider {\r\n background: #fff !important;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 4px;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 29px;\r\n background: url([SITE_ROOT]/images/02/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/02/02/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 33px;\r\n background: url([SITE_ROOT]/images/02/next.png) top right #94FFD5;\r\n padding: 0px 30px 0 15px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/next.png) top right #E4F3E2;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #94FFD5;\r\n padding: 0px 15px 0 30px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #E4F3E2;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/02/bg.png) #94FFD5;\r\n cursor: pointer;\r\n font-size: 16px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #4D4A3C;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 600;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 1px solid #CFCFCF;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/02/bg.png) #CFAB1A;\r\n text-align: left;\r\n padding: 10px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: center;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\nfont-weight: 600;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 4px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\nbackground: #E9E9E9;\r\n}\r\ninput[type="text"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #E9E9E9;\r\n}\r\ninput[type="password"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #E9E9E9;\r\n}\r\ntextarea {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #E9E9E9;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/02/02/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 11px;\r\n height: 10px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 1px;\r\n left: 1px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: rgb(158, 0, 0);\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 4px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #3F3927;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 30px 0px 30px;\r\n font-weight: bold;\r\n}\r\n.page_deactive:nth-child(even) {\r\n background-color: #EEEEEE;\r\n}\r\n.page_deactive:nth-child(odd) {\r\n background-color: #EEEEEE;\r\n}\r\n.page_active {\r\n color: #3F3927;\r\n cursor: pointer;\r\n background-color: #CEECE2;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 18px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 17px;\r\n line-height: 17px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #95D3BE ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #80CEB4 0%, #95D6C1 49%, #95D3BE 84%, #B3E7D6 99%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #80CEB4 ), color-stop(49%, #95D6C1 ), color-stop(84%, #95D3BE ), color-stop(99%, #B3E7D6 )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #80CEB4 0%, #95D6C1 49%, #95D3BE 84%, #B3E7D6 99%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #80CEB4 0%, #95D6C1 49%, #95D3BE 84%, #B3E7D6 99%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #80CEB4 0%, #95D6C1 49%, #95D3BE 84%, #B3E7D6 99%); /* IE10+ */\r\n background: linear-gradient(to right, #80CEB4 0%, #95D6C1 49%, #95D3BE 84%, #B3E7D6 99%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 17px;\r\n line-height: 17px;\r\n background-color: #E0DFE0;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: -2px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #292929;\r\n font-weight: bold;\r\nfont-size:13px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 17px;\r\n height: 17px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
105 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(9, \'Theme 03 green\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EEEF;\r\nborder: 1px solid #3A620A;\r\nmargin-bottom: 10px;\r\ncolor: #3A620A;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 0px;\r\n border: 1px solid #39680B;\r\n background: #C9FD9C;\r\n height: 13px;\r\n width: 13px;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -5px !important;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\n.ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #C9FD9C !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 23px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/03/01/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 32px;\r\n height: 25px;\r\n background: url([SITE_ROOT]/images/03/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #414141;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background-color: #ACABAB;\r\npadding: 2px 15px;\r\nvertical-align: middle;\r\nborder: none;\r\nfont-size: 15px;\r\n}\r\n\r\n\r\n.button-submit {\r\n background: #3A620A;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #fff;\r\n border: 2px solid #4A8C08;\r\n margin: 5px;\r\n box-shadow: 0px 0px 1px 1px #44740E;\r\n font-family: Segoe UI;\r\n }\r\n.button-reset {\r\n background: #D8D6D7;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 2px solid #fff;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px 1px #969495;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_page {\r\n background: #CDD9C3;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/03/01/bg.png);\r\n text-align: left;\r\n padding: 10px 20px 10px 50px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: right;\r\n color: #000;\r\nfont-size: 18px;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 15px;\r\ntext-align: left;\r\nfont-size: 18px;\r\ncolor: #555;\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n padding: 0px 15px;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n padding: 2px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n background-color: #DFDFDF;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #fff;\r\n background-color: #42810e;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n background-color: #36690c;\r\n cursor: pointer;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 33px;\r\n text-align: center;\r\n font-size: 21px;\r\n padding: 5px 20px 0px 20px;\r\n margin-bottom: -13px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 20px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #62983A; /* Old browsers */\r\n background: -moz-linear-gradient(left, #61b217 0%, #62983a 39%, #62983a 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #61b217), color-stop(39%, #62983a), color-stop(100%, #62983a)); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #61b217 0%, #62983a 39%, #62983a 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #61b217 0%, #62983a 39%, #62983a 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #61b217 0%, #62983a 39%, #62983a 100%); /* IE10+ */\r\n background: linear-gradient(to right, #61b217 0%, #62983a 39%, #62983a 100%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #DFDFDF;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px -34px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 12px;\r\nline-height: 18px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 34px;\r\n height: 18px;\r\n background: url([SITE_ROOT]/images/03/01/percentage_arrow.png);\r\n position: relative;\r\n left: -1px;\r\ntop:0px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
106 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(10, \'Theme 03 red\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EEEF;\r\nborder: 1px solid #811919;\r\nmargin-bottom: 10px;\r\ncolor: #811919;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 0px;\r\n border: 1px solid #39680B;\r\n background: #C9FD9C;\r\n height: 13px;\r\n width: 13px;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -5px !important;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #942323 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 23px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/03/02/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 32px;\r\n height: 25px;\r\n background: url([SITE_ROOT]/images/03/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #414141;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background-color: #ACABAB;\r\npadding: 2px 15px;\r\nvertical-align: middle;\r\nborder: none;\r\nfont-size: 15px;\r\n}\r\n\r\n.button-submit {\r\nbackground: #811919;\r\ncursor: pointer;\r\nfont-size: 17px;\r\nmin-width: 80px;\r\nmin-height: 34px;\r\ncolor: #fff;\r\nborder: 2px solid #9E1919;\r\nmargin: 5px;\r\nbox-shadow: 0px 0px 1px 1px #811818;\r\nfont-family: Segoe UI;\r\n }\r\n.button-reset {\r\n background: #D8D6D7;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 2px solid #fff;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px 1px #969495;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_page {\r\n background: #F0EEEF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/03/02/bg.png);\r\n text-align: left;\r\n padding: 10px 20px 10px 50px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: right;\r\n color: #fff;\r\nfont-size: 18px;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 15px;\r\ntext-align: left;\r\ncolor: #555;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n padding: 0px 15px;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n padding: 2px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n background-color: #DFDFDF;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #fff;\r\n background-color: #640B0B;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n background-color: #942323;\r\n cursor: pointer;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 33px;\r\n text-align: center;\r\n font-size: 21px;\r\n padding: 5px 20px 0px 20px;\r\n margin-bottom: -13px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 20px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #752D2D ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #9A0B0B 0%, #7B2828 39%, #752D2D 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #9A0B0B ), color-stop(39%, #7B2828 ), color-stop(100%, #752D2D )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #9A0B0B 0%, #7B2828 39%, #752D2D 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #9A0B0B 0%, #7B2828 39%, #752D2D 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #9A0B0B 0%, #7B2828 39%, #752D2D 100%); /* IE10+ */\r\n background: linear-gradient(to right, #9A0B0B 0%, #7B2828 39%, #752D2D 100%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #DFDFDF;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px -34px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 12px;\r\nline-height:18px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 34px;\r\n height: 18px;\r\n background: url([SITE_ROOT]/images/03/02/percentage_arrow.png);\r\n position: relative;\r\n left: -1px;\r\ntop:0px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
107 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(11, \'Theme 03 dark cyan\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EEEF;\r\nborder: 1px solid #0B7A97;\r\nmargin-bottom: 10px;\r\ncolor: #0B7A97;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 0px;\r\n border: 1px solid #39680B;\r\n background: #C9FD9C;\r\n height: 13px;\r\n width: 13px;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -5px !important;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #2796B3 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 23px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/03/03/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 32px;\r\n height: 25px;\r\n background: url([SITE_ROOT]/images/03/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #414141;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background-color: #ACABAB;\r\npadding: 2px 15px;\r\nvertical-align: middle;\r\nborder: none;\r\nfont-size: 15px;\r\n}\r\n\r\n.button-submit {\r\nbackground: #0B7A97;\r\ncursor: pointer;\r\nfont-size: 17px;\r\nmin-width: 80px;\r\nmin-height: 34px;\r\ncolor: #fff;\r\nborder: 2px solid #18627C;\r\nmargin: 5px;\r\nbox-shadow: 0px 0px 1px 1px #56B4D5;\r\nfont-family: Segoe UI;\r\n}\r\n.button-reset {\r\n background: #D8D6D7;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 2px solid #fff;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px 1px #969495;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_page {\r\n background: #F0EEEF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/03/03/bg.png);\r\n text-align: left;\r\n padding: 10px 20px 10px 50px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: right;\r\n color: #fff;\r\nfont-size:18px;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 15px;\r\ntext-align: left;\r\ncolor: #555;\r\nfont-size:18px;\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n padding: 0px 15px;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n padding: 2px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n background-color: #DFDFDF;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #fff;\r\n background-color: #0C6177;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n background-color: #2796B3;\r\n cursor: pointer;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 33px;\r\n text-align: center;\r\n font-size: 21px;\r\n padding: 5px 20px 0px 20px;\r\n margin-bottom: -13px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 20px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #752D2D ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #0E6378 0%, #2C7487 39%, #2D7587 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0E6378 ), color-stop(39%, #2C7487 ), color-stop(100%, #2D7587 )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #0E6378 0%, #2C7487 39%, #2D7587 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #0E6378 0%, #2C7487 39%, #2D7587 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #0E6378 0%, #2C7487 39%, #2D7587 100%); /* IE10+ */\r\n background: linear-gradient(to right, #0E6378 0%, #2C7487 39%, #2D7587 100%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #DFDFDF;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px -34px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 12px;\r\nline-height:18px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 34px;\r\n height: 18px;\r\n background: url([SITE_ROOT]/images/03/03/percentage_arrow.png);\r\n position: relative;\r\n left: -1px;\r\ntop:0px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
108 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(12, \'Theme 03 transparent (salmon button)\', \'.radio-div input[type="radio"],\r\n.checkbox-div input[type="checkbox"]\r\n{\r\nvisibility: hidden;\r\n}\r\n.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #D8D6D7;\r\nborder: 1px solid #D8D6D7;\r\nmargin-bottom: 10px;\r\ncolor: #D8D6D7;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 0px;\r\n border: 1px solid #39680B;\r\n background: #C9FD9C;\r\n height: 13px;\r\n width: 13px;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -5px !important;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #C9FD9C !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 23px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/03/01/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 32px;\r\n height: 25px;\r\n background: url([SITE_ROOT]/images/03/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #414141;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background-color: #ACABAB;\r\npadding: 2px 15px;\r\nvertical-align: middle;\r\nborder: none;\r\nfont-size: 15px;\r\n}\r\n\r\n\r\n.button-submit {\r\nbackground: #FA8072;\r\ncursor: pointer;\r\nfont-size: 17px;\r\nmin-width: 80px;\r\nmin-height: 34px;\r\ncolor: #fff;\r\nborder: 2px solid #FFABA1;\r\nmargin: 5px;\r\nbox-shadow: 0px 0px 1px 1px #FF9689;\r\nfont-family: Segoe UI;\r\n }\r\n.button-reset {\r\n background: #D8D6D7;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 2px solid #fff;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px 1px #969495;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/03/01/bg.png);\r\n text-align: left;\r\n padding: 10px 20px 10px 50px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: right;\r\n color: #000;\r\nfont-size: 18px;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 15px;\r\ntext-align: left;\r\nfont-size: 18px;\r\ncolor: #555;\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n padding: 0px 15px;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n padding: 2px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\nbackground: #ECECEC;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #ECECEC;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #ECECEC;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #ECECEC;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n background-color: #DFDFDF;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #fff;\r\n background-color: #FF9A8E;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n background-color: #FA8072;\r\n cursor: pointer;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 33px;\r\n text-align: center;\r\n font-size: 21px;\r\n padding: 5px 20px 0px 20px;\r\n margin-bottom: -13px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 20px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #FF8F83; /* Old browsers */\r\n background: -moz-linear-gradient(left, #F7B4AC 0%, #F89F95 39%, #FF8F83 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #F7B4AC), color-stop(39%, #F89F95), color-stop(100%, #FF8F83)); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #F7B4AC 0%, #F89F95 39%, #FF8F83 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #F7B4AC 0%, #F89F95 39%, #FF8F83 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #F7B4AC 0%, #F89F95 39%, #FF8F83 100%); /* IE10+ */\r\n background: linear-gradient(to right, #F7B4AC 0%, #F89F95 39%, #FF8F83 100%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #DFDFDF;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px -34px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 12px;\r\nline-height: 18px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 34px;\r\n height: 18px;\r\n background: url([SITE_ROOT]/images/03/04/percentage_arrow.png);\r\n position: relative;\r\n left: -1px;\r\ntop:0px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
109 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(13, \'Theme 04 dark orange\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #F6CE9D;\r\nmargin-bottom: 10px;\r\ncolor: #F6CE9D;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 15px;\r\n height: 15px;\r\n top: -5px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n@font-face {\r\n font-family: ArTarumianHandes;\r\n src: url([SITE_ROOT]/css/HANDES.ttf);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #EDE5DA;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 20px;\r\n width: 22px;\r\n background: url([SITE_ROOT]/images/04/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text] {\r\n margin: 0px;\r\n}\r\ninput[type=password] {\r\n margin: 0px;\r\n}\r\ninput[type=url] {\r\n margin: 0px;\r\n}\r\ninput[type=email] {\r\n margin: 0px;\r\n}\r\ninput.text {\r\n margin: 0px;\r\n}\r\ninput.title {\r\n margin: 0px;\r\n}\r\ntextarea {\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 45px;\r\n height: 44px;\r\n background: url([SITE_ROOT]/images/04/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #424242;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 35px;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-weight: 400;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n}\r\ndiv.wdform-page-button:hover {\r\n color: #69512F;\r\n border: 1px solid #D89E5F;\r\n background: #C8A470; /* Old browsers */\r\n background: -moz-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* FF3.6+ */\r\n background: -webkit-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* IE10+ */\r\n background: linear-gradient(to bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* W3C */\r\n box-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-submit {\r\n color: #424242 !important;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 32px;\r\n padding: 0px 20px 5px;\r\n vertical-align: middle;\r\n font-weight: 400 !important;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n font-family: Segoe UI;\r\nbackground:transparent;\r\n}\r\n.button-submit:hover {\r\n color: #69512F;\r\n border: 1px solid #D89E5F;\r\n background: #C8A470; /* Old browsers */\r\n background: -moz-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* FF3.6+ */\r\n background: -webkit-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* IE10+ */\r\n background: linear-gradient(to bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* W3C */\r\n box-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #F6CE9D;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/04/01/bg.png) no-repeat;\r\n text-align: left;\r\n border-radius: 0px;\r\n width: 300px;\r\n padding: 13px;\r\n text-align: center;\r\nfont-size: 18px;\r\n}\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ccc;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus {\r\n border-color: #E2B983;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus {\r\n border-color: #E2B983;\r\n outline: none;\r\n}\r\ntextarea:focus {\r\n border-color: #E2B983;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/04/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n background: #DAA157;\r\n background: -moz-linear-gradient(bottom, #F8DCB2 0%, #E7C187 49%, #E6BE86 84%, #DAA157 95%);\r\n background: -webkit-linear-gradient(bottom, #F8DCB2 0%, #E7C187 49%, #E6BE86 84%, #DAA157 95%);\r\n background: -o-linear-gradient(bottom, #F8DCB2 0%, #E7C187 49%, #E6BE86 84%, #DAA157 95%);\r\n background: -ms-linear-gradient(bottom, #F8DCB2 0%, #E7C187 49%, #E6BE86 84%, #DAA157 95%);\r\n background: linear-gradient(to bottom, #F8DCB2 0%, #E7C187 49%, #E6BE86 84%, #DAA157 95%);\r\n box-shadow: 0px 0px 5px 0px rgb(214, 214, 214) inset;\r\n border-radius: 7px;\r\n top: 1px;\r\n left: 1px;\r\n border: 1px solid #C0A77E;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 20px 0px 20px;\r\n font-weight: bold;\r\n background-color: #E2B983;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #AA824E;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 20px 0px 20px;\r\n margin-left: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #AA824E;\r\n vertical-align: middle;\r\n font-family: ArTarumianHandes;\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\n background-color: #E2B983;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 20px;\r\n height: 23px;\r\n background-color: #AA824E;\r\n position: relative;\r\n left: -14px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n -moz-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -webkit-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -o-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -ms-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
110 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(14, \'Theme 04 light blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #CEE4E4;\r\nmargin-bottom: 10px;\r\ncolor: #CEE4E4;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 15px;\r\n height: 15px;\r\n top: -5px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n@font-face {\r\n font-family: ArTarumianHandes;\r\n src: url([SITE_ROOT]/css/HANDES.ttf);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #EDE5DA;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 20px;\r\n width: 22px;\r\n background: url([SITE_ROOT]/images/04/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text] {\r\n margin: 0px;\r\n}\r\ninput[type=password] {\r\n margin: 0px;\r\n}\r\ninput[type=url] {\r\n margin: 0px;\r\n}\r\ninput[type=email] {\r\n margin: 0px;\r\n}\r\ninput.text {\r\n margin: 0px;\r\n}\r\ninput.title {\r\n margin: 0px;\r\n}\r\ntextarea {\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 45px;\r\n height: 44px;\r\n background: url([SITE_ROOT]/images/04/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #424242;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 35px;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-weight: 400;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n}\r\ndiv.wdform-page-button:hover {\r\ncolor: #fff;\r\nborder: 1px solid #88A1A6;\r\nbackground: #86A0A7 ;\r\nbackground: -moz-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -webkit-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -o-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -ms-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: linear-gradient(to bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-submit {\r\n color: #767676 !important;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 32px;\r\n padding: 0px 20px 5px;\r\n vertical-align: middle;\r\n font-weight: 400 !important;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n font-family: Segoe UI;\r\nbackground:transparent;\r\n}\r\n.button-submit:hover {\r\ncolor: #fff !important;\r\nborder: 1px solid #88A1A6;\r\nbackground: #86A0A7 ;\r\nbackground: -moz-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -webkit-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -o-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -ms-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: linear-gradient(to bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #CEE4E4;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/04/02/bg.png) no-repeat;\r\n text-align: left;\r\n border-radius: 0px;\r\n width: 300px;\r\npadding: 5px;\r\n text-align: center;\r\nfont-size: 16px;\r\n}\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ccc;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus {\r\n border-color: #678B94;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus {\r\n border-color: #678B94;\r\n outline: none;\r\n}\r\ntextarea:focus {\r\n border-color: #678B94;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/04/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.radio-div label {\r\ncursor: pointer;\r\n-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\nfilter: alpha(opacity=0);\r\nopacity: 0;\r\ncontent: "";\r\nposition: absolute;\r\nwidth: 10px;\r\nheight: 10px;\r\nbackground: #63929E ;\r\nbackground: -moz-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -webkit-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -o-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -ms-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: linear-gradient(to bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(214, 214, 214) inset;\r\nborder-radius: 7px;\r\ntop: 1px;\r\nleft: 1px;\r\nborder: 1px solid #678B94;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 20px 0px 20px;\r\n font-weight: bold;\r\n background-color: #88B4BD;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #678B94;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 20px 0px 20px;\r\n margin-left: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #678B94;\r\n vertical-align: middle;\r\n font-family: ArTarumianHandes;\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\n background-color: #88B4BD;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 20px;\r\n height: 23px;\r\n background-color: #678B94;\r\n position: relative;\r\n left: -14px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n -moz-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -webkit-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -o-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -ms-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
111 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(15, \'Theme 04 red\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #CEE4E4;\r\nmargin-bottom: 10px;\r\ncolor: #CEE4E4;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 15px;\r\n height: 15px;\r\n top: -5px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n@font-face {\r\n font-family: ArTarumianHandes;\r\n src: url([SITE_ROOT]/css/HANDES.ttf);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #EDE5DA;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 20px;\r\n width: 22px;\r\n background: url([SITE_ROOT]/images/04/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text] {\r\n margin: 0px;\r\n}\r\ninput[type=password] {\r\n margin: 0px;\r\n}\r\ninput[type=url] {\r\n margin: 0px;\r\n}\r\ninput[type=email] {\r\n margin: 0px;\r\n}\r\ninput.text {\r\n margin: 0px;\r\n}\r\ninput.title {\r\n margin: 0px;\r\n}\r\ntextarea {\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 45px;\r\n height: 44px;\r\n background: url([SITE_ROOT]/images/04/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #424242;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 35px;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-weight: 400;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n}\r\ndiv.wdform-page-button:hover {\r\ncolor: #fff;\r\nborder: 1px solid #C09F97;\r\nbackground: #86A0A7;\r\nbackground: -moz-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -webkit-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -o-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -ms-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: linear-gradient(to bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-submit {\r\n color: #767676 !important;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 32px;\r\n padding: 0px 20px 5px;\r\n vertical-align: middle;\r\n font-weight: 400 !important;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n font-family: Segoe UI;\r\nbackground:transparent;\r\n}\r\n.button-submit:hover {\r\ncolor: #fff !important;\r\nborder: 1px solid #C09F97;\r\nbackground: #86A0A7;\r\nbackground: -moz-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -webkit-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -o-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -ms-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: linear-gradient(to bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #E0D0CD;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\nmargin: 16px 10px 16px 0px;\r\ndisplay: inline-block;\r\nbackground: url([SITE_ROOT]/images/04/03/bg.png) no-repeat;\r\ntext-align: left;\r\nborder-radius: 0px;\r\nwidth: 300px;\r\npadding: 5px 10px;\r\ntext-align: center;\r\nfont-size: 18px;\r\n}\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ccc;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus {\r\n border-color: #8A6B63;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus {\r\n border-color: #8A6B63;\r\n outline: none;\r\n}\r\ntextarea:focus {\r\n border-color: #8A6B63;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/04/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.radio-div label {\r\ncursor: pointer;\r\n-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\nfilter: alpha(opacity=0);\r\nopacity: 0;\r\ncontent: "";\r\nposition: absolute;\r\nwidth: 10px;\r\nheight: 10px;\r\nbackground: #B98476 ;\r\nbackground: -moz-linear-gradient(bottom, #CA9B8F 0%, #DBACA0 49%, #B98476 84%, #A38279 95%);\r\nbackground: -webkit-linear-gradient(bottom, #CA9B8F 0%, #DBACA0 49%, #B98476 84%, #A38279 95%);\r\nbackground: -o-linear-gradient(bottom, #CA9B8F 0%, #DBACA0 49%, #B98476 84%, #A38279 95%);\r\nbackground: -ms-linear-gradient(bottom, #CA9B8F 0%, #DBACA0 49%, #B98476 84%, #A38279 95%);\r\nbackground: linear-gradient(to bottom, #CA9B8F 0%, #DBACA0 49%, #B98476 84%, #A38279 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(214, 214, 214) inset;\r\nborder-radius: 7px;\r\ntop: 1px;\r\nleft: 1px;\r\nborder: 1px solid #9B766D;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 20px 0px 20px;\r\n font-weight: bold;\r\n background-color: #CCAAA3;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #8A6B63;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 20px 0px 20px;\r\n margin-left: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #8A6B63;\r\n vertical-align: middle;\r\n font-family: ArTarumianHandes;\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\n background-color: #CCAAA3;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 20px;\r\n height: 23px;\r\n background-color: #8A6B63;\r\n position: relative;\r\n left: -14px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n -moz-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -webkit-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -o-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -ms-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
112 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(16, \'Theme 04 transparent (gray button)\', \'.radio-div input[type="radio"],\r\n.checkbox-div input[type="checkbox"]\r\n{\r\nvisibility: hidden;\r\n}\r\n.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #FFFFFF;\r\nborder: 1px solid #A6A6A6;\r\nmargin-bottom: 10px;\r\ncolor: #A6A6A6;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 15px;\r\n height: 15px;\r\n top: -5px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n@font-face {\r\n font-family: ArTarumianHandes;\r\n src: url([SITE_ROOT]/css/HANDES.ttf);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #EDE5DA;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 20px;\r\n width: 22px;\r\n background: url([SITE_ROOT]/images/04/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text] {\r\n margin: 0px;\r\n}\r\ninput[type=password] {\r\n margin: 0px;\r\n}\r\ninput[type=url] {\r\n margin: 0px;\r\n}\r\ninput[type=email] {\r\n margin: 0px;\r\n}\r\ninput.text {\r\n margin: 0px;\r\n}\r\ninput.title {\r\n margin: 0px;\r\n}\r\ntextarea {\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 45px;\r\n height: 44px;\r\n background: url([SITE_ROOT]/images/04/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #424242;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 35px;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-weight: 400;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n}\r\ndiv.wdform-page-button:hover {\r\ncolor: #fff;\r\nborder: 1px solid #919191;\r\nbackground: #7A7A7A ;\r\nbackground: -moz-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -webkit-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -o-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -ms-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: linear-gradient(to bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-submit {\r\n color: #767676 !important;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 32px;\r\n padding: 0px 20px 5px;\r\n vertical-align: middle;\r\n font-weight: 400 !important;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n font-family: Segoe UI;\r\nbackground:transparent;\r\n}\r\n.button-submit:hover {\r\ncolor: #fff !important;\r\nborder: 1px solid #919191;\r\nbackground: #7A7A7A ;\r\nbackground: -moz-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -webkit-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -o-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -ms-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: linear-gradient(to bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/04/02/bg.png) no-repeat;\r\n text-align: left;\r\n border-radius: 0px;\r\n width: 300px;\r\npadding: 5px;\r\n text-align: center;\r\nfont-size: 16px;\r\n}\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ccc;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus {\r\n border-color: #B3B3B3;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus {\r\n border-color: #B3B3B3;\r\n outline: none;\r\n}\r\ntextarea:focus {\r\n border-color: #B3B3B3;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/04/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.radio-div label {\r\ncursor: pointer;\r\n-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\nfilter: alpha(opacity=0);\r\nopacity: 0;\r\ncontent: "";\r\nposition: absolute;\r\nwidth: 10px;\r\nheight: 10px;\r\nbackground: #63929E ;\r\nbackground: -moz-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -webkit-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -o-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -ms-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: linear-gradient(to bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(214, 214, 214) inset;\r\nborder-radius: 7px;\r\ntop: 1px;\r\nleft: 1px;\r\nborder: 1px solid #678B94;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 20px 0px 20px;\r\n font-weight: bold;\r\n background-color: #C0C0C0;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #A8A8A8;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 20px 0px 20px;\r\n margin-left: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #678B94;\r\n vertical-align: middle;\r\n font-family: ArTarumianHandes;\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\n background-color: #88B4BD;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 20px;\r\n height: 23px;\r\n background-color: #678B94;\r\n position: relative;\r\n left: -14px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n -moz-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -webkit-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -o-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -ms-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
113 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(17, \'Theme 05 blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #0E7297;\r\nborder: 1px solid #A0CBDB;\r\nmargin-bottom: 10px;\r\ncolor: #A0CBDB;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 14px;\r\n height: 14px;\r\n top: -6px;\r\n border: 2px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/05/01/nextbg_hover.png) url([SITE_ROOT]/images/05/01/previousbg_hover.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\nui-state-hover {\r\n background: #00B4F6 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\nborder-radius: 0px;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: #fff;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 27px;\r\n background: url([SITE_ROOT]/images/05/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/05/01/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/01/nextbg.png) no-repeat;\r\n padding: 0px 20px 0 0;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/01/nextbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/01/previousbg.png) no-repeat;\r\n padding: 0px 0 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/01/previousbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/05/01/submit.png) no-repeat;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 32px;\r\n color: #fff;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 500;\r\n padding: 0 12px 0 24px;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #A0CBDB;\r\n padding:15px 20px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 0px;\r\n background: #006A91;\r\n border-radius: 0px;\r\npadding: 6px 10px 15px;\r\ntext-align: center;\r\nfont-size: 18px;\r\ncolor: #fff;\r\nbox-shadow: 0px 3px 5px #4B4B4B;\r\n}\r\n\r\n.wdform-field-section-break2:after {\r\n content: " ";\r\n position: relative;\r\n width: 97.7%;\r\n right: 0px;\r\n bottom: 20px;\r\n height: 4px;\r\n -webkit-box-shadow: 0 2px 3px #444141;\r\n -moz-box-shadow: 0 2px 3px #444141;\r\n box-shadow: 0 2px 3px #444141;\r\n display: inline-block;\r\n}\r\n\r\n.wdform_section_break {\r\n margin: 16px 0px;\r\n border-radius: 0px;\r\n text-align: left;\r\nfont-size: 18px;\r\ncolor: #3F3F3F;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 22px;\r\n overflow: hidden;\r\nborder: 1px solid transparent;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #006A91;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #006A91;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #006A91;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #026994;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/05/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 21px;\r\n position: relative;\r\n left: -19px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #026994;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #026994;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #006A91;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #01B4F6;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-left: 1px;\r\n line-height: 25px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 27px;\r\n line-height: 27px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #018ABE;\r\n background: -moz-linear-gradient(left, #0079A6 0%, #018ABE 39%, #00B6FA 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0079A6), color-stop(39%, #018ABE ), color-stop(100%, #00B6FA ));\r\n background: -webkit-linear-gradient(left, #0079A6 0%, #018ABE 39%, #00B6FA 100%);\r\n background: -o-linear-gradient(left, #0079A6 0%, #018ABE 39%, #00B6FA 100%);\r\n background: -ms-linear-gradient(left, #0079A6 0%, #018ABE 39%, #00B6FA 100%);\r\n background: linear-gradient(to right, #0079A6 0%, #018ABE 39%, #00B6FA 100%);\r\n border-top-right-radius: 9px;\r\n border-bottom-right-radius: 9px;\r\n box-shadow: 2px 0px 7px #9E9B9B;\r\n}\r\n.page_percentage_deactive {\r\n height: 27px;\r\n line-height: 27px;\r\n background-color: #C4D5DF;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #ffffff;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
114 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(18, \'Theme 05 green\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #007326;\r\nborder: 1px solid #B6E4CF;\r\nmargin-bottom: 10px;\r\ncolor: #B6E4CF;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 14px;\r\n height: 14px;\r\n top: -6px;\r\n border: 2px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/05/02/nextbg_hover.png) url([SITE_ROOT]/images/05/02/previousbg_hover.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #018D08 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #018D08 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #018D08 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #018D08 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #018D08 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #018D08 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\nui-state-hover {\r\n background: #018D08 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\nborder-radius: 0px;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: #fff;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 27px;\r\n background: url([SITE_ROOT]/images/05/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/05/02/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/02/nextbg.png) no-repeat;\r\n padding: 0px 20px 0 0;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/02/nextbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/02/previousbg.png) no-repeat;\r\n padding: 0px 0 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/02/previousbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/05/02/submit.png) no-repeat;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 32px;\r\n color: #fff;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 500;\r\n padding: 0 12px 0 24px;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #B6E4CF;\r\n padding: 15px 20px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2{\r\n margin: 16px 0px;\r\n background: #0D7A31;\r\n border-radius: 0px;\r\npadding: 6px 10px 15px;\r\ntext-align: center;\r\nfont-size: 18px;\r\ncolor: #fff;\r\nbox-shadow: 0px 3px 5px #4B4B4B;\r\n}\r\n\r\n.wdform-field-section-break2:after {\r\n content: " ";\r\n position: relative;\r\n width: 97.7%;\r\n right: 0px;\r\n bottom: 20px;\r\n height: 4px;\r\n -webkit-box-shadow: 0 2px 3px #444141;\r\n -moz-box-shadow: 0 2px 3px #444141;\r\n box-shadow: 0 2px 3px #444141;\r\n display: inline-block;\r\n}\r\n\r\n.wdform_section_break{\r\n margin: 16px 0px;\r\n border-radius: 0px;\r\n text-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 22px;\r\n overflow: hidden;\r\nborder: 1px solid transparent;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #0D7A31;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #0D7A31;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #0D7A31;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #0D7A31;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/05/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 21px;\r\n position: relative;\r\n left: -19px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #0D7A31;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #0D7A31;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #018D08;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #00AC0A;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-left: 1px;\r\n line-height: 25px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 27px;\r\n line-height: 27px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #018F08 ;\r\n background: -moz-linear-gradient(left, #018D08 0%, #018F08 39%, #00BE0A 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #018D08 ), color-stop(39%, #018F08 ), color-stop(100%, #00BE0A ));\r\n background: -webkit-linear-gradient(left, #018D08 0%, #018F08 39%, #00BE0A 100%);\r\n background: -o-linear-gradient(left, #018D08 0%, #018F08 39%, #00BE0A 100%);\r\n background: -ms-linear-gradient(left, #018D08 0%, #018F08 39%, #00BE0A 100%);\r\nbackground: linear-gradient(to right, #018D08 0%, #018F08 39%, #00BE0A 100%);\r\n border-top-right-radius: 9px;\r\n border-bottom-right-radius: 9px;\r\n box-shadow: 2px 0px 7px #9E9B9B;\r\n}\r\n.page_percentage_deactive {\r\n height: 27px;\r\n line-height: 27px;\r\n background-color: #CEE0D3;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #ffffff;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
115 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(19, \'Theme 05 pink\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #B05785;\r\nborder: 1px solid #F6E2ED;\r\nmargin-bottom: 10px;\r\ncolor: #F6E2ED;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 14px;\r\n height: 14px;\r\n top: -6px;\r\n border: 2px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/05/03/nextbg_hover.png) url([SITE_ROOT]/images/05/03/previousbg_hover.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #B05785 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #B05785 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #B05785 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #B05785 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #B05785 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #B05785 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\nui-state-hover {\r\n background: #B05785 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\nborder-radius: 0px;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: #fff;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 27px;\r\n background: url([SITE_ROOT]/images/05/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/05/02/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/03/nextbg.png) no-repeat;\r\n padding: 0px 20px 0 0;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/03/nextbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/03/previousbg.png) no-repeat;\r\n padding: 0px 0 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/03/previousbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/05/03/submit.png) no-repeat;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 32px;\r\n color: #fff;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 500;\r\n padding: 0 12px 0 24px;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #F6E2ED;\r\n padding: 15px 20px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 0px;\r\n background: #B05785;\r\n border-radius: 0px;\r\npadding: 6px 10px 15px;\r\ntext-align: center;\r\nfont-size: 18px;\r\ncolor: #fff;\r\nbox-shadow: 0px 3px 5px #4B4B4B;\r\n}\r\n\r\n.wdform-field-section-break2:after {\r\n content: " ";\r\n position: relative;\r\n width: 97.7%;\r\n right: 0px;\r\n bottom: 20px;\r\n height: 4px;\r\n -webkit-box-shadow: 0 2px 3px #444141;\r\n -moz-box-shadow: 0 2px 3px #444141;\r\n box-shadow: 0 2px 3px #444141;\r\n display: inline-block;\r\n\r\n}\r\n\r\n.wdform_section_break {\r\n margin: 16px 0px;\r\n border-radius: 0px;\r\n text-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 22px;\r\n overflow: hidden;\r\nborder: 1px solid transparent;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #B05785;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #B05785;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #B05785;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #B05785;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/05/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 21px;\r\n position: relative;\r\n left: -19px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #B05785;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #B05785;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #D7639F;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #E47DB3;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-left: 1px;\r\n line-height: 25px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 27px;\r\n line-height: 27px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #D863A0 ;\r\n background: -moz-linear-gradient(left, #D7639F 0%, #D863A0 39%, #F173B4 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #D7639F ), color-stop(39%, #D863A0 ), color-stop(100%, #F173B4 ));\r\n background: -webkit-linear-gradient(left, #D7639F 0%, #D863A0 39%, #F173B4 100%);\r\n background: -o-linear-gradient(left, #D7639F 0%, #D863A0 39%, #F173B4 100%);\r\n background: -ms-linear-gradient(left, #D7639F 0%, #D863A0 39%, #F173B4 100%);\r\nbackground: linear-gradient(to right, #D7639F 0%, #D863A0 39%, #F173B4 100%);\r\n border-top-right-radius: 9px;\r\n border-bottom-right-radius: 9px;\r\n box-shadow: 2px 0px 7px #9E9B9B;\r\n}\r\n.page_percentage_deactive {\r\n height: 27px;\r\n line-height: 27px;\r\n background-color: #D6CAD2;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #ffffff;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
@@ -117,20 +118,20 @@ function from_maker_insert() {
|
|
117 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(21, \'Theme 06 blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #BBDBE7;\r\nborder: 1px solid #25A5DF;\r\nmargin-bottom: 10px;\r\ncolor: #25A5DF;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 16px;\r\n height: 16px;\r\n top: -6px;\r\n border: 0px;\r\n border-radius: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: transparent !important;\r\n margin: 7px 0px;\r\nborder:1px solid #ABAAAA !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 4px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: transparent;\r\n background-position: right 2px center;\r\n width: 100%;\r\n border: 1px solid #ABAAAA;\r\n border-radius: 7px;\r\n color: #4C4C4C;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 25px;\r\n width: 28px;\r\n background: url([SITE_ROOT]/images/06/01.png) no-repeat 0% 50%;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 66px;\r\n height: 49px;\r\n background: url([SITE_ROOT]/images/06/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\nbackground: url([SITE_ROOT]/images/06/next.png) no-repeat right #0D66B1;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\nborder: 1px solid #107DAF;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\nbackground: url([SITE_ROOT]/images/06/next.png) no-repeat right #25A5DF;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #F0EFEF;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n border: 1px solid #959595;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #E8E8E8;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: #0D66B1;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #107DAF;\r\n}\r\n.button-submit:hover {\r\n background: #25A5DF;\r\n}\r\n.button-reset {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #959595;\r\n margin-left: 5px;\r\n}\r\n.button-reset:hover {\r\n background: #E8E8E8;\r\n}\r\n.wdform_page {\r\n background: #BBDBE7;\r\n padding: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: #0D66B1;\r\n color: #ffffff;\r\n font-size: 16px;\r\n text-align: left;\r\npadding: 7px 30px 10px;\r\n}\r\n\r\n.wdform_section_break2:after {\r\n content: " " ;\r\n position: relative;\r\n width: 16px;\r\n height: 13px;\r\n top: -3px;\r\n left: 1px;\r\n box-shadow: 0px 7px 2px #c9c9c9;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\n margin: 16px 10px 16px 0px;\r\ncolor:#4C4C4C;\r\n font-size: 16px;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 5px;\r\n height: 27px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ABAAAA;\r\nbackground: transparent;\r\ncolor: #5C5C5C;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="password"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ntextarea {\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #0176AA ;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #0176AA ;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #0176AA ;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #0176AA ;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/06/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\nbox-shadow: 0px 3px 9px 1px rgb(218, 218, 218) inset;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #4C4C4C;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #4C4C4C;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #0176AA;\r\n margin-right: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #008AFF;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 20px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-right: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #0073D3 ;\r\n background: -moz-linear-gradient(left, #0073D3 0%, #008FE1 39%, #00A7ED 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0073D3 ), color-stop(39%, #008FE1 ), color-stop(100%, #00A7ED ));\r\n background: -webkit-linear-gradient(left, #0073D3 0%, #008FE1 39%, #00A7ED 100%);\r\n background: -o-linear-gradient(left, #0073D3 0%, #008FE1 39%, #00A7ED 100%);\r\nbackground: -webkit-linear-gradient(left, #0073D3 0%, #008FE1 39%, #00A7ED 100%);\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\n background-color: #0176AA;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: left !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #ffffff;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #ffffff;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 23px;\r\n height: 23px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\r\n\r\n.wdform-section-break-div\r\n{\r\nborder-top:1px solid #ABAAAA !important;\r\n}\', 0)');
|
118 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(22, \'Theme 06 orange\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EEEF;\r\nborder: 1px solid #FAB17A;\r\nmargin-bottom: 10px;\r\ncolor: #FAB17A;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 16px;\r\n height: 16px;\r\n top: -6px;\r\n border: 0px;\r\n border-radius: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: transparent !important;\r\n margin: 7px 0px;\r\nborder:1px solid #ABAAAA !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 4px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: transparent;\r\n background-position: right 2px center;\r\n width: 100%;\r\n border: 1px solid #ABAAAA;\r\n border-radius: 7px;\r\n color: #4C4C4C;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 25px;\r\n width: 28px;\r\n background: url([SITE_ROOT]/images/06/01.png) no-repeat 0% 50%;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 66px;\r\n height: 49px;\r\n background: url([SITE_ROOT]/images/06/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #473C34;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background:url([SITE_ROOT]/images/06/01/next.png) no-repeat right #FFA15C;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n border: 1px solid #C78655;\r\n}\r\n\r\n.next-page div.wdform-page-button:hover {\r\n background:url([SITE_ROOT]/images/06/01/next.png) no-repeat right #FAB17A;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #F0EFEF;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n border: 1px solid #959595;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #E8E8E8;\r\n}\r\n.button-submit {\r\ncolor: #473C34;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 35px;\r\nline-height: 35px;\r\nbackground: #FFA15C;\r\npadding: 0px 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder: 1px solid #C78655;\r\n}\r\n.button-submit:hover {\r\n background: #FAB17A;\r\n}\r\n.button-reset {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #959595;\r\n margin-left: 5px;\r\n}\r\n.button-reset:hover {\r\n background: #E8E8E8;\r\n}\r\n.wdform_page {\r\n background: #F0EEEF;\r\n padding: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_section_break2{\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: #FFA15C ;\r\n color: #030303;\r\n font-size: 16px;\r\n text-align: left;\r\npadding: 7px 30px 10px;\r\n}\r\n\r\n.wdform_section_break2:after {\r\n content: " " ;\r\n position: relative;\r\n width: 16px;\r\n height: 13px;\r\n top: -3px;\r\n left: 1px;\r\n box-shadow: 0px 7px 2px #c9c9c9;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\n margin: 16px 10px 16px 0px;\r\ncolor:#4C4C4C;\r\n font-size: 16px;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 5px;\r\n height: 27px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ABAAAA;\r\nbackground: transparent;\r\ncolor: #5C5C5C;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="password"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ntextarea {\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #FFA15C ;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #FFA15C ;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #FFA15C ;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #FFA15C ;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/06/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\nbox-shadow: 0px 3px 9px 1px rgb(218, 218, 218) inset;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #4C4C4C;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #4C4C4C;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #342114;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #C78655;\r\n margin-right: 1px;\r\n}\r\n.page_active {\r\n color: #342114;\r\n cursor: pointer;\r\n background-color: #FF8A34;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 20px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-right: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #FF8932 ;\r\n background: -moz-linear-gradient(left, #F3BA28 0%, #FFD325 39%, #FEB824 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #F3BA28 ), color-stop(39%, #FFD325 ), color-stop(100%, #FEB824 ));\r\n background: -o-linear-gradient(left, #F3BA28 0%, #FFD325 39%, #FEB824 100%);\r\nbackground: -ms-linear-gradient(left, #F3BA28 0%, #FFD325 39%, #FEB824 100%);\r\nbackground: -webkit-linear-gradient(left, #F3BA28 0%, #FFD325 39%, #FEB824 100%);\r\n\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\nbackground-color: #ECBE9C;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: left !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #473C34;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #ffffff;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 23px;\r\n height: 23px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\r\n\r\n.wdform-section-break-div\r\n{\r\nborder-top:1px solid #ABAAAA !important;\r\n}\', 0)');
|
119 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(23, \'Theme 06 transparent (light green button)\', \'.radio-div input[type="radio"],\r\n.checkbox-div input[type="checkbox"]\r\n{\r\nvisibility: hidden;\r\n}\r\n.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #FFFFFF;\r\nborder: 1px solid #90EE90;\r\nmargin-bottom: 10px;\r\ncolor: #90EE90;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 16px;\r\n height: 16px;\r\n top: -6px;\r\n border: 0px;\r\n border-radius: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: transparent !important;\r\n margin: 7px 0px;\r\nborder:1px solid #ABAAAA !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 4px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: transparent;\r\n background-position: right 2px center;\r\n width: 100%;\r\n border: 1px solid #ABAAAA;\r\n border-radius: 7px;\r\n color: #4C4C4C;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 25px;\r\n width: 28px;\r\n background: url([SITE_ROOT]/images/06/01.png) no-repeat 0% 50%;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 66px;\r\n height: 49px;\r\n background: url([SITE_ROOT]/images/06/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #473C34;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background:url([SITE_ROOT]/images/06/01/next.png) no-repeat right #6BD86B;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n border: 1px solid #459B45;\r\n}\r\n\r\n.next-page div.wdform-page-button:hover {\r\n background:url([SITE_ROOT]/images/06/01/next.png) no-repeat right #90EE90;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #F0EFEF;\r\n padding: 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n border: 1px solid #959595;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #E8E8E8;\r\n}\r\n.previous-page div.wdform-page-button:before {\r\n content: " ";\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left;\r\n height: 19px;\r\n width: 20px;\r\n display: inline-block;\r\n vertical-align: middle;\r\n top: -2px;\r\n position: relative;\r\n}\r\n.button-submit {\r\ncolor: #473C34;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 35px;\r\nline-height: 35px;\r\nbackground: #6BD86B;\r\npadding: 0px 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder: 1px solid #459B45;\r\n}\r\n.button-submit:hover {\r\n background: #90EE90;\r\n}\r\n.button-reset {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #959595;\r\n margin-left: 5px;\r\n}\r\n.button-reset:hover {\r\n background: #E8E8E8;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_section_break2{\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: #6BD86B ;\r\n color: #030303;\r\n font-size: 16px;\r\n text-align: left;\r\npadding: 7px 30px 10px;\r\n}\r\n\r\n.wdform_section_break2:after {\r\n content: " " ;\r\n position: relative;\r\n width: 16px;\r\n height: 13px;\r\n top: -3px;\r\n left: 1px;\r\n box-shadow: 0px 7px 2px #c9c9c9;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\n margin: 16px 10px 16px 0px;\r\ncolor:#4C4C4C;\r\n font-size: 16px;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 5px;\r\n height: 27px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ABAAAA;\r\nbackground: transparent;\r\ncolor: #5C5C5C;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="password"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ntextarea {\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #6BD86B ;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #6BD86B ;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #6BD86B ;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #6BD86B ;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/06/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\nbox-shadow: 0px 3px 9px 1px rgb(218, 218, 218) inset;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #4C4C4C;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #4C4C4C;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #342114;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #90EE90;\r\n margin-right: 1px;\r\n}\r\n.page_active {\r\n color: #342114;\r\n cursor: pointer;\r\n background-color: #6BD86B;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 20px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-right: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #72DB72 ;\r\n background: -moz-linear-gradient(left, #8FEB8F 0%, #5CF35C 39%, #72DB72 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #8FEB8F ), color-stop(39%, #5CF35C ), color-stop(100%, #72DB72 ));\r\n background: -o-linear-gradient(left, #8FEB8F 0%, #5CF35C 39%, #72DB72 100%);\r\nbackground: -ms-linear-gradient(left, #8FEB8F 0%, #5CF35C 39%, #72DB72 100%);\r\nbackground: -webkit-linear-gradient(left, #8FEB8F 0%, #5CF35C 39%, #72DB72 100%);\r\n\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\nbackground-color: #E0E0E0;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: left !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #473C34;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #ffffff;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 23px;\r\n height: 23px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\r\n\r\n.wdform-section-break-div\r\n{\r\nborder-top:1px solid #ABAAAA !important;\r\n}\', 0)');
|
120 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(24, \'Theme 07 blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #0072A2;\r\nmargin-bottom: 10px;\r\ncolor: #0072A2;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 16px;\r\n height: 16px;\r\n top: -6px;\r\n border: 0px;\r\n border-radius: 13px;\r\n background: #A4A4A4;\r\n border: 1px solid #fff;\r\n outline: none;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #F1F1F1 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #696969;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #0072A2 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #0072A2 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #0072A2 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #0072A2 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #0072A2 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #0072A2 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #0072A2 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F1F1F1;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/07/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 71px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/07/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background:url([SITE_ROOT]/images/07/next.png) no-repeat right #0072A2;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background:url([SITE_ROOT]/images/07/previous.png) no-repeat left #F0EFEF;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border-right: 1px solid #CECECE;\r\n} \r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #0072A2;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #FFFFFF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #267EA9;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 20px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #267EA9;\r\n font-size: 20px;\r\nmargin: 16px 0px;\r\n\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nbackground: #F1F1F1;\r\nborder: 1px solid transparent;\r\ncolor: #696969;\r\n outline: none;\r\n}\r\ninput[type="text"] {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ninput[type="password"] {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #0072A2;\r\n background-color: #ECEBEB;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #0072A2;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 18px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #006C9A; /* Old browsers */\r\n background: -moz-linear-gradient(left, #0072A2 0%, #00709F 39%, #006A97 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0072A2), color-stop(39%, #00709F), color-stop(100%, #006A97)); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #0072A2 0%, #00709F 39%, #006A97 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #0072A2 0%, #00709F 39%, #006A97 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #0072A2 0%, #00709F 39%, #006A97 100%); /* IE10+ */\r\n background: linear-gradient(to right, #0072A2 0%, #00709F 39%, #006A97 100%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #EBEAEA;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_page_navigation:after {\r\n content: " ";\r\n display: block;\r\n height: 9px;\r\n background: url([SITE_ROOT]/images/07/0.png) no-repeat;\r\n position: relative;\r\n background-size: cover;\r\n top: -9px;\r\n}\r\n.wdform_percentage_text {\r\n margin-right:9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 13px;\r\n position: relative;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n\', 0)');
|
121 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(25, \'Theme 07 green\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #00A25B;\r\nmargin-bottom: 10px;\r\ncolor: #00A25B;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 16px;\r\n height: 16px;\r\n top: -6px;\r\n border: 0px;\r\n border-radius: 13px;\r\n background: #A4A4A4;\r\n border: 1px solid #fff;\r\n outline: none;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #F1F1F1 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #696969;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #00A25B !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #00A25B !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #00A25B !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #00A25B !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #00A25B !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #00A25B !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #00A25B !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F1F1F1;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/07/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 71px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/07/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background:url([SITE_ROOT]/images/07/next.png) no-repeat right #00A25B;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background: url([SITE_ROOT]/images/07/previous.png) no-repeat left #F0EFEF;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border-right: 1px solid #CECECE;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #00A25B;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #FFFFFF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #00A25B;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 20px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #00A25B;\r\n font-size: 20px;\r\nmargin: 16px 0px;\r\n\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nbackground: #F1F1F1;\r\nborder: 1px solid transparent;\r\ncolor: #696969;\r\n outline: none;\r\n}\r\ninput[type="text"] {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ninput[type="password"] {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #00A25B;\r\n background-color: #ECEBEB;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #00A25B;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 18px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #00A15B ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #00A25B 0%, #00A15A 39%, #00A15B 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #00A25B ), color-stop(39%, #00A15A ), color-stop(100%, #00A15B )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #00A25B 0%, #00A15A 39%, #00A15B 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #00A25B 0%, #00A15A 39%, #00A15B 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #00A25B 0%, #00A15A 39%, #00A15B 100%); /* IE10+ */\r\nbackground: linear-gradient(to right, #00A25B 0%, #00A15A 39%, #00A15B 100%);\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #EBEAEA;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_page_navigation:after {\r\n content: " ";\r\n display: block;\r\n height: 9px;\r\n background: url([SITE_ROOT]/images/07/0.png) no-repeat;\r\n position: relative;\r\n background-size: cover;\r\n top: -9px;\r\n}\r\n.wdform_percentage_text {\r\n margin-right:9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 13px;\r\n position: relative;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
122 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(26, \'Theme 07 dark violet\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #33016B;\r\nmargin-bottom: 10px;\r\ncolor: #33016B;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 16px;\r\n height: 16px;\r\n top: -6px;\r\n border: 0px;\r\n border-radius: 13px;\r\n background: #A4A4A4;\r\n border: 1px solid #fff;\r\n outline: none;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #F1F1F1 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #696969;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #33016B !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #33016B !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #33016B !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #33016B !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #33016B !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #33016B !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #33016B !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F1F1F1;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/07/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 71px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/07/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background:url([SITE_ROOT]/images/07/next.png) no-repeat right #33016B;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background:url([SITE_ROOT]/images/07/previous.png) no-repeat left #F0EFEF;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border-right: 1px solid #CECECE;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #33016B;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #FFFFFF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #33016B;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 20px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #33016B;\r\n font-size: 20px;\r\nmargin: 16px 0px;\r\n\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nbackground: #F1F1F1;\r\nborder: 1px solid transparent;\r\ncolor: #696969;\r\n outline: none;\r\n}\r\ninput[type="text"] {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ninput[type="password"] {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #33016B;\r\n background-color: #ECEBEB;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #33016B;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 18px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #33016A ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #33016B 0%, #320169 39%, #33016A 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #33016B ), color-stop(39%, #320169 ), color-stop(100%, #33016A )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #33016B 0%, #320169 39%, #33016A 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #33016B 0%, #320169 39%, #33016A 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #33016B 0%, #320169 39%, #33016A 100%); /* IE10+ */\r\nbackground: linear-gradient(to right, #33016B 0%, #320169 39%, #33016A 100%);\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #EBEAEA;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_page_navigation:after {\r\n content: " ";\r\n display: block;\r\n height: 9px;\r\n background: url([SITE_ROOT]/images/07/0.png) no-repeat;\r\n position: relative;\r\n background-size: cover;\r\n top: -9px;\r\n}\r\n.wdform_percentage_text {\r\n margin-right:9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 13px;\r\n position: relative;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n\', 0)');
|
123 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(27, \'Theme 07 transparent (burlywood button)\', \'.radio-div input[type="radio"],\r\n.checkbox-div input[type="checkbox"]\r\n{\r\nvisibility: hidden;\r\n}\r\n.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #E6C18B;\r\nmargin-bottom: 10px;\r\ncolor: #E6C18B;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 16px;\r\n height: 16px;\r\n top: -6px;\r\n border: 0px;\r\n border-radius: 13px;\r\n background: #A4A4A4;\r\n border: 1px solid #fff;\r\n outline: none;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #F1F1F1 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #696969;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #E6C18B !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #E6C18B !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #E6C18B !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #E6C18B !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #E6C18B !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #E6C18B !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #E6C18B !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F1F1F1;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/07/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 71px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/07/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background:url([SITE_ROOT]/images/07/next.png) no-repeat right #E6C18B;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background:url([SITE_ROOT]/images/07/previous.png) no-repeat left #F0EFEF;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border-right: 1px solid #CECECE;\r\n} \r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #E6C18B;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #267EA9;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 20px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #267EA9;\r\n font-size: 20px;\r\nmargin: 16px 0px;\r\n\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nbackground: #F1F1F1;\r\nborder: 1px solid transparent;\r\ncolor: #696969;\r\n outline: none;\r\n}\r\ninput[type="text"] {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ninput[type="password"] {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F1F1F1;\r\n border: 1px solid transparent;\r\ncolor: #696969;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #E6C18B;\r\n background-color: #ECEBEB;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #E6C18B;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 18px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #F3CC92 ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #F3CC92 0%, #F3CC92 39%, #F5CB8F 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #F3CC92 ), color-stop(39%, #F3CC92 ), color-stop(100%, #F5CB8F )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #F3CC92 0%, #F3CC92 39%, #F5CB8F 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #F3CC92 0%, #F3CC92 39%, #F5CB8F 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #F3CC92 0%, #F3CC92 39%, #F5CB8F 100%); /* IE10+ */\r\n background: linear-gradient(to right, #F3CC92 0%, #F3CC92 39%, #F5CB8F 100%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #EBEAEA;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_page_navigation:after {\r\n content: " ";\r\n display: block;\r\n height: 9px;\r\n background: url([SITE_ROOT]/images/07/0.png) no-repeat;\r\n position: relative;\r\n background-size: cover;\r\n top: -9px;\r\n}\r\n.wdform_percentage_text {\r\n margin-right:9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 13px;\r\n position: relative;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n\', 0)');
|
124 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(28, \'Theme 08 transparent (black button)\', \'.radio-div input[type="radio"],\r\n.checkbox-div input[type="checkbox"]\r\n{\r\nvisibility: hidden;\r\n}\r\n.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #000000;\r\nmargin-bottom: 10px;\r\ncolor: #000000;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\na.ui-spinner-button\r\n{\r\nbackground:none !important;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #414141;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #8A8A8A !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 1px solid #EEEEEE !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 0px solid #D3D3D3;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/08/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text] {\r\n margin: 0px;\r\n}\r\ninput[type=password] {\r\n margin: 0px;\r\n}\r\ninput[type=url] {\r\n margin: 0px;\r\n}\r\ninput[type=email] {\r\n margin: 0px;\r\n}\r\ninput.text {\r\n margin: 0px;\r\n}\r\ninput.title {\r\n margin: 0px;\r\n}\r\ntextarea {\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 71px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/07/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background: url([SITE_ROOT]/images/08/next.png) no-repeat right;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #CECECE;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: url([SITE_ROOT]/images/08/previous.png) no-repeat left;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #CECECE;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #000;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #000000;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section_break \r\n{\r\n color: #000000;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 22px;\r\n overflow: hidden;\r\n padding: 2px;\r\nbackground: #F8F8F8;\r\nborder: 0px solid #fff;\r\ncolor: #414141;\r\n outline: none;\r\n}\r\n\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F0F0F0;\r\nborder:0px solid #fff;\r\ncolor: #414141;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F0F0F0;\r\nborder:0px solid #fff;\r\ncolor: #414141;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F0F0F0;\r\nborder:0px solid #fff;\r\ncolor: #414141;\r\n}\r\ninput[type="text"]:focus {\r\n outline: none;\r\n}\r\ninput[type="password"]:focus {\r\n outline: none;\r\n}\r\ntextarea:focus {\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #000;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\ncursor: pointer;\r\n-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\nfilter: alpha(opacity=0);\r\nopacity: 0;\r\ncontent: "";\r\nposition: absolute;\r\nwidth: 13px;\r\nheight: 9px;\r\nbackground: url([SITE_ROOT]/images/08/checkbox.png) no-repeat;\r\nborder-radius: 0px;\r\ntop: 1px;\r\nleft: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #000000;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #000000;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #8A8A8A;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #CDCDCD;\r\nbackground-color: #F8F8F8;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 27px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 18px;\r\nmargin-right:3px;\r\nmargin-bottom:3px;\r\nfont-weight: bold;\r\n}\r\n.page_active {\r\n color: #000;\r\ncursor: pointer;\r\nbackground-color: #FFFFFF;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 22px;\r\npadding: 5px 25px 0px 25px;\r\nborder: 1px solid #EEEEEE;\r\nfont-weight: bold;\r\nmargin-right:3px;\r\nborder-bottom: none;\r\nline-height: 26px;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nmargin: 1px;\r\nborder-spacing: 0px;\r\nheight: 21px;\r\nline-height: 20px;\r\nfont-size: 15px;\r\nfloat: left;\r\ntext-align: right !important;\r\nz-index: 1;\r\nposition: relative;\r\nbackground: #000;\r\n}\r\n.page_percentage_deactive {\r\n height: 24px;\r\nline-height: 20px;\r\nbackground-color: #FFFFFF;\r\ntext-align: left !important;\r\nmargin: 0 5px;\r\nborder: 1px solid #EEEEEE;\r\ndisplay: inline-block;\r\nwidth: 98%;\r\nborder-bottom: none;\r\n\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: -1px;\r\n}\r\n\r\n.wdform_percentage_text {\r\n color: #FFF;\r\n font-weight: bold;\r\n font-size: 13px;\r\n position: relative;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
125 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(29, \'Theme 08 deep pink\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #930049;\r\nmargin-bottom: 10px;\r\ncolor: #930049;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\na.ui-spinner-button\r\n{\r\nbackground:none !important;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #414141;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #930049 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 1px solid #EEEEEE !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 0px solid #D3D3D3;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/08/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text] {\r\n margin: 0px;\r\n}\r\ninput[type=password] {\r\n margin: 0px;\r\n}\r\ninput[type=url] {\r\n margin: 0px;\r\n}\r\ninput[type=email] {\r\n margin: 0px;\r\n}\r\ninput.text {\r\n margin: 0px;\r\n}\r\ninput.title {\r\n margin: 0px;\r\n}\r\ntextarea {\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 71px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/07/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background: url([SITE_ROOT]/images/08/next.png) no-repeat right;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #CECECE;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: url([SITE_ROOT]/images/08/previous.png) no-repeat left;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #CECECE;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #930049;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #EEEEEE;\r\n padding: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #930049;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section_break \r\n{\r\n color: #930049;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 22px;\r\n overflow: hidden;\r\n padding: 2px;\r\nbackground: #F8F8F8;\r\nborder: 0px solid #fff;\r\ncolor: #414141;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:0px solid #fff;\r\ncolor: #414141;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:0px solid #fff;\r\ncolor: #414141;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:0px solid #fff;\r\ncolor: #414141;\r\n}\r\ninput[type="text"]:focus {\r\n outline: none;\r\n}\r\ninput[type="password"]:focus {\r\n outline: none;\r\n}\r\ntextarea:focus {\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #636363;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\ncursor: pointer;\r\n-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\nfilter: alpha(opacity=0);\r\nopacity: 0;\r\ncontent: "";\r\nposition: absolute;\r\nwidth: 13px;\r\nheight: 9px;\r\nbackground: url([SITE_ROOT]/images/08/checkbox.png) no-repeat;\r\nborder-radius: 0px;\r\ntop: 1px;\r\nleft: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #8A8A8A;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #8A8A8A;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #8A8A8A;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #CDCDCD;\r\nbackground-color: #F8F8F8;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 27px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 18px;\r\nmargin-right:3px;\r\nmargin-bottom:3px;\r\nfont-weight: bold;\r\n}\r\n.page_active {\r\n color: #930049;\r\ncursor: pointer;\r\nbackground-color: #fff;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 22px;\r\npadding: 5px 25px 0px 25px;\r\nborder: 1px solid #EEEEEE;\r\nfont-weight: bold;\r\nmargin-right:3px;\r\nborder-bottom: none;\r\nline-height: 26px;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nmargin: 1px;\r\nborder-spacing: 0px;\r\nheight: 21px;\r\nline-height: 20px;\r\nfont-size: 15px;\r\nfloat: left;\r\ntext-align: right !important;\r\nz-index: 1;\r\nposition: relative;\r\nbackground: #930049;\r\n}\r\n.page_percentage_deactive {\r\n height: 24px;\r\nline-height: 20px;\r\nbackground-color: #FFFFFF;\r\ntext-align: left !important;\r\nmargin: 0 5px;\r\nborder: 1px solid #EEEEEE;\r\ndisplay: inline-block;\r\nwidth: 98%;\r\nborder-bottom: none;\r\n\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: -1px;\r\n}\r\n\r\n.wdform_percentage_text {\r\n color: #fff;\r\n font-weight: bold;\r\n font-size: 13px;\r\n position: relative;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
126 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(30, \'Theme 08 blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #070068;\r\nmargin-bottom: 10px;\r\ncolor: #070068;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\na.ui-spinner-button\r\n{\r\nbackground:none !important;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #414141;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #070068 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 1px solid #EEEEEE !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 0px solid #D3D3D3;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/08/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text] {\r\n margin: 0px;\r\n}\r\ninput[type=password] {\r\n margin: 0px;\r\n}\r\ninput[type=url] {\r\n margin: 0px;\r\n}\r\ninput[type=email] {\r\n margin: 0px;\r\n}\r\ninput.text {\r\n margin: 0px;\r\n}\r\ninput.title {\r\n margin: 0px;\r\n}\r\ntextarea {\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 71px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/07/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background: url([SITE_ROOT]/images/08/next.png) no-repeat right;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #CECECE;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: url([SITE_ROOT]/images/08/previous.png) no-repeat left;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #CECECE;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #070068;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #FFFFFF;\r\n padding: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #070068;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section_break \r\n{\r\n color: #070068;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 22px;\r\n overflow: hidden;\r\n padding: 2px;\r\nbackground: #F8F8F8;\r\nborder: 0px solid #fff;\r\ncolor: #414141;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:0px solid #fff;\r\ncolor: #414141;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:0px solid #fff;\r\ncolor: #414141;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:0px solid #fff;\r\ncolor: #414141;\r\n}\r\ninput[type="text"]:focus {\r\n outline: none;\r\n}\r\ninput[type="password"]:focus {\r\n outline: none;\r\n}\r\ntextarea:focus {\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #636363;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\ncursor: pointer;\r\n-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\nfilter: alpha(opacity=0);\r\nopacity: 0;\r\ncontent: "";\r\nposition: absolute;\r\nwidth: 13px;\r\nheight: 9px;\r\nbackground: url([SITE_ROOT]/images/08/checkbox.png) no-repeat;\r\nborder-radius: 0px;\r\ntop: 1px;\r\nleft: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #8A8A8A;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #8A8A8A;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #8A8A8A;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #CDCDCD;\r\nbackground-color: #F8F8F8;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 27px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 18px;\r\nmargin-right:3px;\r\nmargin-bottom:3px;\r\nfont-weight: bold;\r\n}\r\n.page_active {\r\n color: #070068;\r\ncursor: pointer;\r\nbackground-color: #FFFFFF;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 22px;\r\npadding: 5px 25px 0px 25px;\r\nborder: 1px solid #EEEEEE;\r\nfont-weight: bold;\r\nmargin-right:3px;\r\nborder-bottom: none;\r\nline-height: 26px;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nmargin: 1px;\r\nborder-spacing: 0px;\r\nheight: 21px;\r\nline-height: 20px;\r\nfont-size: 15px;\r\nfloat: left;\r\ntext-align: right !important;\r\nz-index: 1;\r\nposition: relative;\r\nbackground: #070068;\r\n}\r\n.page_percentage_deactive {\r\n height: 24px;\r\nline-height: 20px;\r\nbackground-color: #FFFFFF;\r\ntext-align: left !important;\r\nmargin: 0 5px;\r\nborder: 1px solid #EEEEEE;\r\ndisplay: inline-block;\r\nwidth: 98%;\r\nborder-bottom: none;\r\n\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: -1px;\r\n}\r\n\r\n.wdform_percentage_text {\r\n color: #fff;\r\n font-weight: bold;\r\n font-size: 13px;\r\n position: relative;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
127 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(31, \'Theme 09 light gray\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #DDDDDD;\r\nborder: 1px solid #818181;\r\nmargin-bottom: 10px;\r\ncolor: #818181;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-spinner-button\r\n{\r\nborder-radius:0px !important;\r\nbackground: none!important;\r\n}\r\n\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\n\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #000;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #8A8A8A !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\nborder-top: 1px solid #7F7F7F !important;\r\n\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 1px solid #B7B7B7;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/09/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/09/01/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background: url([SITE_ROOT]/images/09/next.png) no-repeat right;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #CECECE;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: url([SITE_ROOT]/images/09/previous.png) no-repeat left;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #CECECE;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #013D7C;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #DDDDDD;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\npadding:10px;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n\r\n}\r\n.wdform_section_break2 {\r\n color: #013D7C;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 10px 40px 0px;\r\n\r\n}\r\n\r\n.wdform_section_break {\r\n color: #013D7C;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n\r\n}\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nbackground: #F8F8F8;\r\nborder: 1px solid #B7B7B7;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #8B8B8B;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\ncursor: pointer;\r\n-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\nfilter: alpha(opacity=0);\r\nopacity: 0;\r\ncontent: "";\r\nposition: absolute;\r\nwidth: 13px;\r\nheight: 9px;\r\nbackground: url([SITE_ROOT]/images/09/checkbox.png) no-repeat;\r\nborder-radius: 0px;\r\ntop: 1px;\r\nleft: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #8B8B8B;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #8B8B8B;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #808080;\r\nbackground-color: #E5E5E5;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 27px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 18px;\r\nmargin-left:3px;\r\nmargin-bottom:2px;\r\n}\r\n.page_active {\r\n color: #C2C2C2;\r\ncursor: pointer;\r\nbackground-color: #FFFFFF;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 22px;\r\npadding: 5px 25px 0px 25px;\r\nborder: 1px solid #7F7F7F;\r\nmargin-left:3px;\r\nmargin-bottom: -1px;\r\nborder-bottom: none;\r\nline-height: 26px;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nborder-spacing: 0px;\r\nheight: 10px;\r\nbackground: #727272;\r\nfloat: left;\r\n}\r\n.page_percentage_deactive {\r\nheight: 10px;\r\nline-height: 20px;\r\nbackground-color: #E5E5E5;\r\ntext-align: left !important;\r\nmargin-bottom: 2px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n}\r\n\r\n.wdform_percentage_text {\r\ncolor: #fff;\r\nfont-size: 12px;\r\nposition: relative;\r\nbackground: url([SITE_ROOT]/images/09/01/02.png) no-repeat;\r\nwidth: 36px;\r\ndisplay: inline-block;\r\nheight: 36px;\r\ntop: -37px;\r\nleft: 17px;\r\ntext-align: center;\r\nline-height: 27px;\r\nfloat: right;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
128 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(32, \'Theme 09 yellow\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #DDDDDD;\r\nborder: 1px solid #E9B500;\r\nmargin-bottom: 10px;\r\ncolor: #E9B500;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-spinner-button\r\n{\r\nborder-radius:0px !important;\r\nbackground: none!important;\r\n}\r\n\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\n\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #000;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #E9B500 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\nborder-top: 1px solid #7F7F7F !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 1px solid #B7B7B7;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/09/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/09/02/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background: url([SITE_ROOT]/images/09/next.png) no-repeat right;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #CECECE;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: url([SITE_ROOT]/images/09/previous.png) no-repeat left;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #CECECE;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #E9B500;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #DDDDDD;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\npadding:10px;\r\n}\r\n.wdform_column {\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #013D7C;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 10px 5px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #E9B500;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n\r\n}\r\n\r\n.wdform-section-break-div\r\n{\r\nborder-top:1px solid #7F7F7F !important;\r\n}\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nbackground: #F8F8F8;\r\nborder: 1px solid #B7B7B7;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #8B8B8B;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\ncursor: pointer;\r\n-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\nfilter: alpha(opacity=0);\r\nopacity: 0;\r\ncontent: "";\r\nposition: absolute;\r\nwidth: 13px;\r\nheight: 9px;\r\nbackground: url([SITE_ROOT]/images/09/checkbox.png) no-repeat;\r\nborder-radius: 0px;\r\ntop: 1px;\r\nleft: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #8B8B8B;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #8B8B8B;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #808080;\r\nbackground-color: #E5E5E5;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 27px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 18px;\r\nmargin-left:3px;\r\nmargin-bottom:2px;\r\n}\r\n.page_active {\r\n color: #C2C2C2;\r\ncursor: pointer;\r\nbackground-color: #FFFFFF;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 22px;\r\npadding: 5px 25px 0px 25px;\r\nborder: 1px solid #7F7F7F;\r\nmargin-left:3px;\r\nmargin-bottom: -1px;\r\nborder-bottom: none;\r\nline-height: 26px;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nborder-spacing: 0px;\r\nheight: 10px;\r\nbackground: #E7C85C;\r\nfloat: left;\r\n}\r\n.page_percentage_deactive {\r\nheight: 10px;\r\nline-height: 20px;\r\nbackground-color: #E5E5E5;\r\ntext-align: left !important;\r\nmargin-bottom: 2px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n}\r\n\r\n.wdform_percentage_text {\r\ncolor: #fff;\r\nfont-size: 12px;\r\nposition: relative;\r\nbackground: url([SITE_ROOT]/images/09/02/02.png) no-repeat;\r\nwidth: 36px;\r\ndisplay: inline-block;\r\nheight: 36px;\r\ntop: -37px;\r\nleft: 17px;\r\ntext-align: center;\r\nline-height: 27px;\r\nfloat: right;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
129 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(33, \'Theme 09 blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #DDDDDD;\r\nborder: 1px solid #015875;\r\nmargin-bottom: 10px;\r\ncolor: #015875;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-spinner-button\r\n{\r\nborder-radius:0px !important;\r\nbackground: none!important;\r\n}\r\n\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\n\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #000;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #015875 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\nborder-top: 1px solid #7F7F7F !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-ali
|
63 |
$wpdb->query($formmaker);
|
64 |
$plugin_path = WD_FM_URL;
|
65 |
install_demo_forms();
|
66 |
+
|
67 |
$formmaker_submits = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_submits` (
|
68 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
69 |
`form_id` int(11) NOT NULL,
|
95 |
|
96 |
$form_maker_theme_row = $wpdb->get_var("SELECT * FROM " . $wpdb->prefix . "formmaker_themes");
|
97 |
if (!$form_maker_theme_row) {
|
98 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(1, \'Theme 01 blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #013D7C;\r\nborder-radius: 5px;\r\ncolor: #013D7C;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\ninput[type="radio"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\ninput[type="checkbox"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\na.ui-spinner-button\r\n{\r\nborder-radius:0px !important;\r\nbackground: none!important;\r\n}\r\n\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\n\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #000;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #8A8A8A !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px solid #000 !important;\r\npadding-left:10px;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n\r\n.sel-imul {\r\n display: none;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 0px solid #D3D3D3;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/09/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/10/01/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 38px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/10/next.png) no-repeat right #013D7C;\r\npadding: 0px 36px 0 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-right-radius: 7px;\r\nborder-bottom-right-radius: 7px;\r\n}\r\n.previous-page div.wdform-page-button {\r\ncolor: #A2A2A2;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 37px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/09/previous.png) no-repeat left #F1F1F1;\r\npadding: 0 20px 0 36px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-left-radius: 7px;\r\nborder-bottom-left-radius: 7px;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #013D7C;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #FFFFFF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #013D7C;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 10px 40px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #013D7C;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n padding: 2px;\r\n height: 26px;\r\n border: 1px solid #B7B7B7;\r\nbackground: #F8F8F8;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\nselect {\r\n outline: none;\r\n}\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n\r\n\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n\r\n\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #8A8A8A;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #013E7D;\r\nbackground-color: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 29px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 16px;\r\nfont-weight:bold;\r\n}\r\n.page_active {\r\ncolor: #FFF;\r\ncursor: pointer;\r\nbackground-color: #013E7D;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 20px;\r\npadding: 5px 25px 0px 25px;\r\nline-height: 26px;\r\nfont-weight:bold;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nmargin: 0px;\r\nborder-spacing: 0px;\r\nheight: 16px;\r\nline-height: 16px;\r\nfont-size: 15px;\r\nfloat: left;\r\ntext-align: right !important;\r\nz-index: 1;\r\nposition: relative;\r\nvertical-align: middle;\r\nbackground: #013E7F;\r\ncolor: #fff;\r\nborder-top-left-radius: 5px;\r\nborder-bottom-left-radius: 5px;\r\n}\r\n.page_percentage_deactive {\r\nheight: 16px;\r\nline-height: 16px;\r\nbackground-color: #F1F1F1;\r\ntext-align: left !important;\r\nmargin-bottom: 1px;\r\nborder-radius: 5px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n}\r\n\r\n.wdform_percentage_text {\r\nmargin: 3px 5px 3px 9px;\r\ncolor: #FFF;\r\nfont-size: 12px;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
99 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(2, \'Theme 01 purple\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #6C005E;\r\nborder-radius: 5px;\r\ncolor: #6C005E;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\ninput[type="radio"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\ninput[type="checkbox"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\na.ui-spinner-button\r\n{\r\nborder-radius:0px !important;\r\nbackground: none!important;\r\n}\r\n\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\n\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #000;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #8A8A8A !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px solid #000 !important;\r\npadding-left:10px;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n\r\n.sel-imul {\r\n display: none;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 0px solid #D3D3D3;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/09/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/10/02/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 38px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/10/next.png) no-repeat right #6C005E;\r\npadding: 0px 36px 0 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-right-radius: 7px;\r\nborder-bottom-right-radius: 7px;\r\n}\r\n.previous-page div.wdform-page-button {\r\ncolor: #A2A2A2;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 37px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/09/previous.png) no-repeat left #F1F1F1;\r\npadding: 0 20px 0 36px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-left-radius: 7px;\r\nborder-bottom-left-radius: 7px;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #6C005E;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #FFFFFF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #6C005E;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 10px 40px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #6C005E;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n padding: 2px;\r\n height: 26px;\r\n border: 1px solid #B7B7B7;\r\nbackground: #F8F8F8;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\nselect {\r\n outline: none;\r\n}\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n\r\n\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n\r\n\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #8A8A8A;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #6C005E;\r\nbackground-color: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 29px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 16px;\r\nfont-weight:bold;\r\n}\r\n.page_active {\r\ncolor: #FFF;\r\ncursor: pointer;\r\nbackground-color: #6C005E;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 20px;\r\npadding: 5px 25px 0px 25px;\r\nline-height: 26px;\r\nfont-weight:bold;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nmargin: 0px;\r\nborder-spacing: 0px;\r\nheight: 16px;\r\nline-height: 16px;\r\nfont-size: 15px;\r\nfloat: left;\r\ntext-align: right !important;\r\nz-index: 1;\r\nposition: relative;\r\nvertical-align: middle;\r\nbackground: #6C005E;\r\ncolor: #fff;\r\nborder-top-left-radius: 5px;\r\nborder-bottom-left-radius: 5px;\r\n}\r\n.page_percentage_deactive {\r\nheight: 16px;\r\nline-height: 16px;\r\nbackground-color: #F1F1F1;\r\ntext-align: left !important;\r\nmargin-bottom: 1px;\r\nborder-radius: 5px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n}\r\n\r\n.wdform_percentage_text {\r\nmargin: 3px 5px 3px 9px;\r\ncolor: #FFF;\r\nfont-size: 12px;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
100 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(3, \'Theme 01 black\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #000000;\r\nborder-radius: 5px;\r\ncolor: #000000;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\ninput[type="radio"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\ninput[type="checkbox"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\na.ui-spinner-button\r\n{\r\nborder-radius:0px !important;\r\nbackground: none!important;\r\n}\r\n\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\n\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #000;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #8A8A8A !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px solid #000 !important;\r\npadding-left:10px;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n\r\n.sel-imul {\r\n display: none;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 0px solid #D3D3D3;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/09/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/10/02/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 38px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/10/next.png) no-repeat right #000;\r\npadding: 0px 36px 0 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-right-radius: 7px;\r\nborder-bottom-right-radius: 7px;\r\n}\r\n.previous-page div.wdform-page-button {\r\ncolor: #A2A2A2;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 37px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/09/previous.png) no-repeat left #F1F1F1;\r\npadding: 0 20px 0 36px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-left-radius: 7px;\r\nborder-bottom-left-radius: 7px;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #000;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: #FFFFFF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #000;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 10px 40px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #000;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n padding: 2px;\r\n height: 26px;\r\n border: 1px solid #B7B7B7;\r\nbackground: #F8F8F8;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\nselect {\r\n outline: none;\r\n}\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n\r\n\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n\r\n\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #8A8A8A;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #000;\r\nbackground-color: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 29px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 16px;\r\nfont-weight:bold;\r\n}\r\n.page_active {\r\ncolor: #FFF;\r\ncursor: pointer;\r\nbackground-color: #000;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 20px;\r\npadding: 5px 25px 0px 25px;\r\nline-height: 26px;\r\nfont-weight:bold;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nmargin: 0px;\r\nborder-spacing: 0px;\r\nheight: 16px;\r\nline-height: 16px;\r\nfont-size: 15px;\r\nfloat: left;\r\ntext-align: right !important;\r\nz-index: 1;\r\nposition: relative;\r\nvertical-align: middle;\r\nbackground: #000;\r\ncolor: #fff;\r\nborder-top-left-radius: 5px;\r\nborder-bottom-left-radius: 5px;\r\n}\r\n.page_percentage_deactive {\r\nheight: 16px;\r\nline-height: 16px;\r\nbackground-color: #F1F1F1;\r\ntext-align: left !important;\r\nmargin-bottom: 1px;\r\nborder-radius: 5px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n}\r\n\r\n.wdform_percentage_text {\r\nmargin: 3px 5px 3px 9px;\r\ncolor: #FFF;\r\nfont-size: 12px;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 1)');
|
101 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(4, \'Theme 01 transparent (black button)\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #000000;\r\nborder-radius: 5px;\r\ncolor: #000000;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\ninput[type="radio"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\ninput[type="checkbox"]\r\n{\r\nborder:none !important;\r\noutline:none !important;\r\n}\r\na.ui-spinner-button\r\n{\r\nborder-radius:0px !important;\r\nbackground: none!important;\r\n}\r\n\r\na.ui-slider-handle {\r\nwidth: 13px;\r\nheight: 13px;\r\ntop: -4px;\r\nborder: 0px;\r\nborder-radius: 13px;\r\nbackground: #FAFAFA;\r\nborder: 3px solid #B1B1B1;\r\noutline: none;\r\n}\r\n\r\n.ui-slider {\r\n height: 6px;\r\n background: #F5F5F5 !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n color: #000;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\n\r\n\r\n.ui-slider-range {\r\n background: #8A8A8A !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px solid #000 !important;\r\npadding-left:10px;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n\r\n.sel-imul {\r\n display: none;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #F8F8F8;\r\n border: 0px solid #D3D3D3;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/09/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/10/02/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 38px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/10/next.png) no-repeat right #000;\r\npadding: 0px 36px 0 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-right-radius: 7px;\r\nborder-bottom-right-radius: 7px;\r\n}\r\n.previous-page div.wdform-page-button {\r\ncolor: #A2A2A2;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 37px;\r\nline-height: 35px;\r\nbackground:url([SITE_ROOT]/images/09/previous.png) no-repeat left #F1F1F1;\r\npadding: 0 20px 0 36px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder-top-left-radius: 7px;\r\nborder-bottom-left-radius: 7px;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #000;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.button-reset {\r\n color: #787878;\r\n cursor: pointer;\r\n display: inline-block;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 35px;\r\n font-family: Segoe UI;\r\n float: right;\r\n border: 1px solid transparent;\r\n margin: 5px;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 50px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_section_break2 {\r\n color: #000;\r\n display: inline-block;\r\n text-align: left;\r\n font-size: 23px;\r\nmargin: 16px 10px 40px 0px;\r\n}\r\n\r\n.wdform_section_break {\r\n color: #000;\r\n font-size: 23px;\r\nmargin: 16px 0px;\r\n}\r\n\r\n.wdform_section {\r\n display: inline-block;\r\n}\r\nselect {\r\n padding: 2px;\r\n height: 26px;\r\n border: 1px solid #B7B7B7;\r\nbackground: #F8F8F8;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n padding:0 3px !important;\r\n background: #F8F8F8;\r\nborder:1px solid #B7B7B7;\r\n}\r\ninput[type="text"]:focus{\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n outline: none;\r\n}\r\nselect {\r\n outline: none;\r\n}\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n\r\n\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n\r\n\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #8A8A8A;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\ncolor: #000;\r\nbackground-color: #FFF;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 29px;\r\ntext-align: center;\r\nvertical-align: bottom;\r\npadding: 5px 25px 0px 25px;\r\nfont-size: 16px;\r\nfont-weight:bold;\r\n}\r\n.page_active {\r\ncolor: #FFF;\r\ncursor: pointer;\r\nbackground-color: #000;\r\ndisplay: inline-block;\r\nvertical-align: bottom;\r\nheight: 29px;\r\ntext-align: center;\r\nfont-size: 20px;\r\npadding: 5px 25px 0px 25px;\r\nline-height: 26px;\r\nfont-weight:bold;\r\n}\r\n.page_percentage_active {\r\npadding: 0px;\r\nmargin: 0px;\r\nborder-spacing: 0px;\r\nheight: 16px;\r\nline-height: 16px;\r\nfont-size: 15px;\r\nfloat: left;\r\ntext-align: right !important;\r\nz-index: 1;\r\nposition: relative;\r\nvertical-align: middle;\r\nbackground: #000;\r\ncolor: #fff;\r\nborder-top-left-radius: 5px;\r\nborder-bottom-left-radius: 5px;\r\n}\r\n.page_percentage_deactive {\r\nheight: 16px;\r\nline-height: 16px;\r\nbackground-color: #F1F1F1;\r\ntext-align: left !important;\r\nmargin-bottom: 1px;\r\nborder-radius: 5px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n}\r\n\r\n.wdform_percentage_text {\r\nmargin: 3px 5px 3px 9px;\r\ncolor: #FFF;\r\nfont-size: 12px;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
102 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(5, \'Theme 02 blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #ADC0DB;\r\nmargin-bottom: 10px;\r\ncolor: #ADC0DB;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.ui-slider-range {\r\n background: #A4A4A4 !important;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -8px !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/02/bg.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #285485!important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-slider {\r\n background: #fff !important;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 4px;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 29px;\r\n background: url([SITE_ROOT]/images/02/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/02/01/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #285485;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 33px;\r\n background: url([SITE_ROOT]/images/02/01/next.png) top right #708EB4;\r\n padding: 0px 30px 0 15px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n .next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/01/next.png) top right #144077;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #285485;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background: url([SITE_ROOT]/images/02/01/previous.png) top left #708EB4;\r\n padding: 0px 15px 0 30px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n .previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/01/previous.png) top left #144077;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/02/bg.png) #708EB4;\r\n cursor: pointer;\r\n font-size: 16px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #285485;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 600;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #ADC0DB;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 1px solid #C5C5C5;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/02/bg.png) #708EB4;\r\n text-align: left;\r\n padding: 10px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: center;\r\nfont-size:18px;\r\nfont-family: Segoe UI;\r\ncolor:#0E3F76;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor:#0E3F76;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 4px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/02/01/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n} \r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 11px;\r\n height: 10px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 1px;\r\n left: 1px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: rgb(158, 0, 0);\r\n vertical-align: top;\r\nfloat:left;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 4px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #2564A3;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 30px 0px 30px;\r\n font-weight: bold;\r\n}\r\n.page_deactive:nth-child(even) {\r\n background-color: #DCDADB;\r\n}\r\n.page_deactive:nth-child(odd) {\r\n background-color: #D1CDCE;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #0E3F77;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 18px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 17px;\r\n line-height: 17px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #0e3f77; /* Old browsers */\r\n background: -moz-linear-gradient(left, #0e3f77 0%, #0f437d 49%, #2f72b5 84%, #165ba9 99%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0e3f77), color-stop(49%, #0f437d), color-stop(84%, #2f72b5), color-stop(99%, #165ba9)); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #0e3f77 0%, #0f437d 49%, #2f72b5 84%, #165ba9 99%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #0e3f77 0%, #0f437d 49%, #2f72b5 84%, #165ba9 99%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #0e3f77 0%, #0f437d 49%, #2f72b5 84%, #165ba9 99%); /* IE10+ */\r\n background: linear-gradient(to right, #0e3f77 0%, #0f437d 49%, #2f72b5 84%, #165ba9 99%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 17px;\r\n line-height: 17px;\r\n background-color: #CCCCCC;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: -2px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: bold;\r\nfont-size: 13px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 17px;\r\n height: 17px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
103 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(6, \'Theme 02 yellow\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #EADEB4;\r\nborder: 1px solid #E3E2E4;\r\nmargin-bottom: 10px;\r\ncolor: #E3E2E4;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.ui-slider-range {\r\n background: #A4A4A4 !important;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -8px !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/02/bg.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #ECBD00 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-slider {\r\n background: #fff !important;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 4px;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 29px;\r\n background: url([SITE_ROOT]/images/02/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/02/02/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 33px;\r\n background: url([SITE_ROOT]/images/02/next.png) top right #CFAB1A;\r\n padding: 0px 30px 0 15px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/next.png) top right #A08104;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #CFAB1A;\r\n padding: 0px 15px 0 30px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #A08104;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/02/bg.png) #CFAB1A;\r\n cursor: pointer;\r\n font-size: 16px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #4D4A3C;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 600;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #E2DED7;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 1px solid #CFCFCF;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/02/bg.png) #CFAB1A;\r\n text-align: left;\r\n padding: 10px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: center;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\nfont-weight: 600;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 4px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/02/02/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 11px;\r\n height: 10px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 1px;\r\n left: 1px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: rgb(158, 0, 0);\r\n vertical-align: top;\r\nfloat:left;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 4px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #3F3927;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 30px 0px 30px;\r\n font-weight: bold;\r\n}\r\n.page_deactive:nth-child(even) {\r\n background-color: #DCDADB;\r\n}\r\n.page_deactive:nth-child(odd) {\r\n background-color: #D1CDCE;\r\n}\r\n.page_active {\r\n color: #3F3927;\r\n cursor: pointer;\r\n background-color: #ECBD00;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 18px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 17px;\r\n line-height: 17px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #ECBD00 ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #ECBD00 0%, #F5C403 49%, #F8C90B 84%, #FFCC00 99%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #ECBD00 ), color-stop(49%, #F5C403 ), color-stop(84%, #F8C90B ), color-stop(99%, #FFCC00 )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #ECBD00 0%, #F5C403 49%, #F8C90B 84%, #FFCC00 99%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #ECBD00 0%, #F5C403 49%, #F8C90B 84%, #FFCC00 99%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #ECBD00 0%, #F5C403 49%, #F8C90B 84%, #FFCC00 99%); /* IE10+ */\r\n background: linear-gradient(to right, #ECBD00 0%, #F5C403 49%, #F8C90B 84%, #FFCC00 99%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 17px;\r\n line-height: 17px;\r\n background-color: #D9D7D8;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: -2px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #292929;\r\n font-weight: bold;\r\nfont-size:13px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 17px;\r\n height: 17px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
104 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(7, \'Theme 02 violet\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #C9ADEF;\r\nborder: 1px solid #E3E2E4;\r\nmargin-bottom: 10px;\r\ncolor: #E3E2E4;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.ui-slider-range {\r\n background: #A4A4A4 !important;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -8px !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/02/bg.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #5C00DA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-slider {\r\n background: #fff !important;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 4px;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 29px;\r\n background: url([SITE_ROOT]/images/02/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/02/02/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 33px;\r\n background: url([SITE_ROOT]/images/02/next.png) top right #5C00DA;\r\n padding: 0px 30px 0 15px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/next.png) top right #3D0886;\r\n}.previous-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #5C00DA;\r\n padding: 0px 15px 0 30px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #3D0886;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/02/bg.png) #5C00DA;\r\n cursor: pointer;\r\n font-size: 16px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #4D4A3C;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 600;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #E3E2E4;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 1px solid #CFCFCF;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/02/bg.png) #5C00DA;\r\n text-align: left;\r\n padding: 10px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: center;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\nfont-weight: 600;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 4px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/02/03/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 11px;\r\n height: 10px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 1px;\r\n left: 1px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: rgb(158, 0, 0);\r\n vertical-align: top;\r\nfloat:left;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 4px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #3F3927;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 30px 0px 30px;\r\n font-weight: bold;\r\n}\r\n.page_deactive:nth-child(even) {\r\n background-color: #DCDADB;\r\n}\r\n.page_deactive:nth-child(odd) {\r\n background-color: #D1CDCE;\r\n}\r\n.page_active {\r\n color: #FFF;\r\n cursor: pointer;\r\n background-color: #5C00DA;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 18px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 17px;\r\n line-height: 17px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #5C00DA ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #5C00DA 0%, #5C00DB 49%, #6600F0 84%, #7917FF 99%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #5C00DA ), color-stop(49%, #5C00DB ), color-stop(84%, #6600F0 ), color-stop(99%, #7917FF )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #5C00DA 0%, #5C00DB 49%, #6600F0 84%, #7917FF 99%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #5C00DA 0%, #5C00DB 49%, #6600F0 84%, #7917FF 99%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #5C00DA 0%, #5C00DB 49%, #6600F0 84%, #7917FF 99%); /* IE10+ */\r\n background: linear-gradient(to right, #5C00DA 0%, #5C00DB 49%, #6600F0 84%, #7917FF 99%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 17px;\r\n line-height: 17px;\r\n background-color: #D9D7D8;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: -2px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #fff;\r\n font-weight: bold;\r\nfont-size:13px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 17px;\r\n height: 17px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
105 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(8, \'Theme 02 transparent (aquamarine button)\', \'.radio-div input[type="radio"],\r\n.checkbox-div input[type="checkbox"]\r\n{\r\nvisibility: hidden;\r\n}\r\n.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #EAF9F3;\r\nborder: 1px solid #4D4A58;\r\nmargin-bottom: 10px;\r\ncolor: #4D4A58;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.ui-slider-range {\r\n background: #A4A4A4 !important;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -8px !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 10px;\r\n border: 2px solid #fff;\r\n background: #A4A4A4;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/02/bg.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #CEECE2 !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-slider {\r\n background: #fff !important;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 4px;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 22px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 29px;\r\n background: url([SITE_ROOT]/images/02/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/02/02/upload.png);\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 33px;\r\n background: url([SITE_ROOT]/images/02/next.png) top right #94FFD5;\r\n padding: 0px 30px 0 15px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/next.png) top right #E4F3E2;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #4D4A3C;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #94FFD5;\r\n padding: 0px 15px 0 30px;\r\n vertical-align: middle;\r\n font-weight: 600;\r\n font-size: 16px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/02/previous.png) top left #E4F3E2;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/02/bg.png) #94FFD5;\r\n cursor: pointer;\r\n font-size: 16px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #4D4A3C;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 600;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 1px solid #CFCFCF;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/02/bg.png) #CFAB1A;\r\n text-align: left;\r\n padding: 10px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: center;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\nfont-weight: 600;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\nfont-family: Segoe UI;\r\ncolor: #292929;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 4px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\nbackground: #E9E9E9;\r\n}\r\ninput[type="text"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #E9E9E9;\r\n}\r\ninput[type="password"] {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #E9E9E9;\r\n}\r\ntextarea {\r\n border-radius: 4px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #E9E9E9;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/02/02/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 11px;\r\n height: 10px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 1px;\r\n left: 1px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: rgb(158, 0, 0);\r\n vertical-align: top;\r\nfloat:left;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 4px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #3F3927;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 30px 0px 30px;\r\n font-weight: bold;\r\n}\r\n.page_deactive:nth-child(even) {\r\n background-color: #EEEEEE;\r\n}\r\n.page_deactive:nth-child(odd) {\r\n background-color: #EEEEEE;\r\n}\r\n.page_active {\r\n color: #3F3927;\r\n cursor: pointer;\r\n background-color: #CEECE2;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 18px;\r\n padding: 5px 30px 0px 30px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 17px;\r\n line-height: 17px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #95D3BE ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #80CEB4 0%, #95D6C1 49%, #95D3BE 84%, #B3E7D6 99%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #80CEB4 ), color-stop(49%, #95D6C1 ), color-stop(84%, #95D3BE ), color-stop(99%, #B3E7D6 )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #80CEB4 0%, #95D6C1 49%, #95D3BE 84%, #B3E7D6 99%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #80CEB4 0%, #95D6C1 49%, #95D3BE 84%, #B3E7D6 99%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #80CEB4 0%, #95D6C1 49%, #95D3BE 84%, #B3E7D6 99%); /* IE10+ */\r\n background: linear-gradient(to right, #80CEB4 0%, #95D6C1 49%, #95D3BE 84%, #B3E7D6 99%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 17px;\r\n line-height: 17px;\r\n background-color: #E0DFE0;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: -2px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #292929;\r\n font-weight: bold;\r\nfont-size:13px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 17px;\r\n height: 17px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
106 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(9, \'Theme 03 green\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EEEF;\r\nborder: 1px solid #3A620A;\r\nmargin-bottom: 10px;\r\ncolor: #3A620A;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 0px;\r\n border: 1px solid #39680B;\r\n background: #C9FD9C;\r\n height: 13px;\r\n width: 13px;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -5px !important;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #4A8C08!important;\r\n color: #fff;\r\n}\r\n.ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #C9FD9C !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 23px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/03/01/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 32px;\r\n height: 25px;\r\n background: url([SITE_ROOT]/images/03/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #414141;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background-color: #ACABAB;\r\npadding: 2px 15px;\r\nvertical-align: middle;\r\nborder: none;\r\nfont-size: 15px;\r\n}\r\n\r\n\r\n.button-submit {\r\n background: #3A620A;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #fff;\r\n border: 2px solid #4A8C08;\r\n margin: 5px;\r\n box-shadow: 0px 0px 1px 1px #44740E;\r\n font-family: Segoe UI;\r\n }\r\n.button-reset {\r\n background: #D8D6D7;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 2px solid #fff;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px 1px #969495;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_page {\r\n background: #CDD9C3;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/03/01/bg.png);\r\n text-align: left;\r\n padding: 10px 20px 10px 50px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: right;\r\n color: #000;\r\nfont-size: 18px;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 15px;\r\ntext-align: left;\r\nfont-size: 18px;\r\ncolor: #555;\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n padding: 0px 15px;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n padding: 2px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n background-color: #DFDFDF;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #fff;\r\n background-color: #42810e;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n background-color: #36690c;\r\n cursor: pointer;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 33px;\r\n text-align: center;\r\n font-size: 21px;\r\n padding: 5px 20px 0px 20px;\r\n margin-bottom: -13px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 20px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #62983A; /* Old browsers */\r\n background: -moz-linear-gradient(left, #61b217 0%, #62983a 39%, #62983a 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #61b217), color-stop(39%, #62983a), color-stop(100%, #62983a)); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #61b217 0%, #62983a 39%, #62983a 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #61b217 0%, #62983a 39%, #62983a 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #61b217 0%, #62983a 39%, #62983a 100%); /* IE10+ */\r\n background: linear-gradient(to right, #61b217 0%, #62983a 39%, #62983a 100%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #DFDFDF;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px -34px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 12px;\r\nline-height: 18px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 34px;\r\n height: 18px;\r\n background: url([SITE_ROOT]/images/03/01/percentage_arrow.png);\r\n position: relative;\r\n left: -1px;\r\ntop:0px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
107 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(10, \'Theme 03 red\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EEEF;\r\nborder: 1px solid #811919;\r\nmargin-bottom: 10px;\r\ncolor: #811919;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 0px;\r\n border: 1px solid #39680B;\r\n background: #C9FD9C;\r\n height: 13px;\r\n width: 13px;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -5px !important;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #5D0000 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #942323 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 23px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/03/02/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 32px;\r\n height: 25px;\r\n background: url([SITE_ROOT]/images/03/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #414141;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background-color: #ACABAB;\r\npadding: 2px 15px;\r\nvertical-align: middle;\r\nborder: none;\r\nfont-size: 15px;\r\n}\r\n\r\n.button-submit {\r\nbackground: #811919;\r\ncursor: pointer;\r\nfont-size: 17px;\r\nmin-width: 80px;\r\nmin-height: 34px;\r\ncolor: #fff;\r\nborder: 2px solid #9E1919;\r\nmargin: 5px;\r\nbox-shadow: 0px 0px 1px 1px #811818;\r\nfont-family: Segoe UI;\r\n }\r\n.button-reset {\r\n background: #D8D6D7;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 2px solid #fff;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px 1px #969495;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_page {\r\n background: #F0EEEF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/03/02/bg.png);\r\n text-align: left;\r\n padding: 10px 20px 10px 50px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: right;\r\n color: #fff;\r\nfont-size: 18px;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 15px;\r\ntext-align: left;\r\ncolor: #555;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n padding: 0px 15px;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n padding: 2px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n background-color: #DFDFDF;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #fff;\r\n background-color: #640B0B;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n background-color: #942323;\r\n cursor: pointer;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 33px;\r\n text-align: center;\r\n font-size: 21px;\r\n padding: 5px 20px 0px 20px;\r\n margin-bottom: -13px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 20px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #752D2D ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #9A0B0B 0%, #7B2828 39%, #752D2D 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #9A0B0B ), color-stop(39%, #7B2828 ), color-stop(100%, #752D2D )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #9A0B0B 0%, #7B2828 39%, #752D2D 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #9A0B0B 0%, #7B2828 39%, #752D2D 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #9A0B0B 0%, #7B2828 39%, #752D2D 100%); /* IE10+ */\r\n background: linear-gradient(to right, #9A0B0B 0%, #7B2828 39%, #752D2D 100%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #DFDFDF;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px -34px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 12px;\r\nline-height:18px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 34px;\r\n height: 18px;\r\n background: url([SITE_ROOT]/images/03/02/percentage_arrow.png);\r\n position: relative;\r\n left: -1px;\r\ntop:0px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
108 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(11, \'Theme 03 dark cyan\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EEEF;\r\nborder: 1px solid #0B7A97;\r\nmargin-bottom: 10px;\r\ncolor: #0B7A97;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 0px;\r\n border: 1px solid #39680B;\r\n background: #C9FD9C;\r\n height: 13px;\r\n width: 13px;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -5px !important;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #0C6177 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #2796B3 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 23px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/03/03/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 32px;\r\n height: 25px;\r\n background: url([SITE_ROOT]/images/03/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #414141;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background-color: #ACABAB;\r\npadding: 2px 15px;\r\nvertical-align: middle;\r\nborder: none;\r\nfont-size: 15px;\r\n}\r\n\r\n.button-submit {\r\nbackground: #0B7A97;\r\ncursor: pointer;\r\nfont-size: 17px;\r\nmin-width: 80px;\r\nmin-height: 34px;\r\ncolor: #fff;\r\nborder: 2px solid #18627C;\r\nmargin: 5px;\r\nbox-shadow: 0px 0px 1px 1px #56B4D5;\r\nfont-family: Segoe UI;\r\n}\r\n.button-reset {\r\n background: #D8D6D7;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 2px solid #fff;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px 1px #969495;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_page {\r\n background: #F0EEEF;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/03/03/bg.png);\r\n text-align: left;\r\n padding: 10px 20px 10px 50px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: right;\r\n color: #fff;\r\nfont-size:18px;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 15px;\r\ntext-align: left;\r\ncolor: #555;\r\nfont-size:18px;\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n padding: 0px 15px;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n padding: 2px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n background-color: #DFDFDF;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #fff;\r\n background-color: #0C6177;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n background-color: #2796B3;\r\n cursor: pointer;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 33px;\r\n text-align: center;\r\n font-size: 21px;\r\n padding: 5px 20px 0px 20px;\r\n margin-bottom: -13px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 20px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #752D2D ; /* Old browsers */\r\n background: -moz-linear-gradient(left, #0E6378 0%, #2C7487 39%, #2D7587 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0E6378 ), color-stop(39%, #2C7487 ), color-stop(100%, #2D7587 )); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #0E6378 0%, #2C7487 39%, #2D7587 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #0E6378 0%, #2C7487 39%, #2D7587 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #0E6378 0%, #2C7487 39%, #2D7587 100%); /* IE10+ */\r\n background: linear-gradient(to right, #0E6378 0%, #2C7487 39%, #2D7587 100%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #DFDFDF;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px -34px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 12px;\r\nline-height:18px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 34px;\r\n height: 18px;\r\n background: url([SITE_ROOT]/images/03/03/percentage_arrow.png);\r\n position: relative;\r\n left: -1px;\r\ntop:0px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
109 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(12, \'Theme 03 transparent (salmon button)\', \'.radio-div input[type="radio"],\r\n.checkbox-div input[type="checkbox"]\r\n{\r\nvisibility: hidden;\r\n}\r\n.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #D8D6D7;\r\nborder: 1px solid #D8D6D7;\r\nmargin-bottom: 10px;\r\ncolor: #D8D6D7;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n border-radius: 0px;\r\n border: 1px solid #39680B;\r\n background: #C9FD9C;\r\n height: 13px;\r\n width: 13px;\r\n}\r\n.ui-slider-horizontal .ui-slider-handle {\r\n top: -5px !important;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #E9E9E9;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #FA8072 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #C9FD9C !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #fff;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n border-radius: 0px;\r\n padding: 0px 0px 0px 2px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 23px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 0px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 23px;\r\n width: 30px;\r\n background: url([SITE_ROOT]/images/03/01/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 0px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n position: absolute;\r\n border-radius: 0px;\r\n height: 23px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n.file-picker {\r\n width: 32px;\r\n height: 25px;\r\n background: url([SITE_ROOT]/images/03/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #414141;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 36px;\r\n line-height: 36px;\r\n background-color: #ACABAB;\r\npadding: 2px 15px;\r\nvertical-align: middle;\r\nborder: none;\r\nfont-size: 15px;\r\n}\r\n\r\n\r\n.button-submit {\r\nbackground: #FA8072;\r\ncursor: pointer;\r\nfont-size: 17px;\r\nmin-width: 80px;\r\nmin-height: 34px;\r\ncolor: #fff;\r\nborder: 2px solid #FFABA1;\r\nmargin: 5px;\r\nbox-shadow: 0px 0px 1px 1px #FF9689;\r\nfont-family: Segoe UI;\r\n }\r\n.button-reset {\r\n background: #D8D6D7;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 2px solid #fff;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px 1px #969495;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding-top: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/03/01/bg.png);\r\n text-align: left;\r\n padding: 10px 20px 10px 50px;\r\n border-radius: 0px;\r\n -moz-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n -webkit-box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n box-shadow: 7px -9px 20px -5px rgba(0, 0, 0, 0.23), -7px 9px 20px -5px rgba(0, 0, 0, 0.23);\r\n width: 466px;\r\n text-align: right;\r\n color: #000;\r\nfont-size: 18px;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\nmargin: 16px 15px;\r\ntext-align: left;\r\nfont-size: 18px;\r\ncolor: #555;\r\n}\r\n.wdform_section {\r\n display: inline-block;\r\n padding: 0px 15px;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n padding: 2px;\r\n height: 26px;\r\n overflow: hidden;\r\n border: 0px solid #ccc;\r\n padding: 2px;\r\n outline: none;\r\nbackground: #ECECEC;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #ECECEC;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #ECECEC;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 25px;\r\n border: 0px solid #ccc;\r\n padding:0 3px !important;\r\nbackground: #ECECEC;\r\n}\r\ninput[type="text"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border-color: #FFB471;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/03/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 22px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n}\r\n.wdform-calendar-button:focus {\r\n outline:none; \r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #A7A7A7;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #A7A7A7;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n margin-top: 15px;\r\n background-color: #DFDFDF;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #A8A8A8;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n border-radius: 0px;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n color: #fff;\r\n background-color: #FF9A8E;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding-top: 5px;\r\n padding: 5px 25px 0px 25px;\r\n font-size: 12px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n background-color: #FA8072;\r\n cursor: pointer;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 33px;\r\n text-align: center;\r\n font-size: 21px;\r\n padding: 5px 20px 0px 20px;\r\n margin-bottom: -13px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 18px;\r\n line-height: 20px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #FF8F83; /* Old browsers */\r\n background: -moz-linear-gradient(left, #F7B4AC 0%, #F89F95 39%, #FF8F83 100%); /* FF3.6+ */\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #F7B4AC), color-stop(39%, #F89F95), color-stop(100%, #FF8F83)); /* Chrome,Safari4+ */\r\n background: -webkit-linear-gradient(left, #F7B4AC 0%, #F89F95 39%, #FF8F83 100%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(left, #F7B4AC 0%, #F89F95 39%, #FF8F83 100%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(left, #F7B4AC 0%, #F89F95 39%, #FF8F83 100%); /* IE10+ */\r\n background: linear-gradient(to right, #F7B4AC 0%, #F89F95 39%, #FF8F83 100%); /* W3C */\r\n vertical-align: middle;\r\n}\r\n.page_percentage_deactive {\r\n height: 18px;\r\n line-height: 20px;\r\n background-color: #DFDFDF;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: center!important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px -34px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: normal;\r\n font-size: 12px;\r\nline-height: 18px;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 34px;\r\n height: 18px;\r\n background: url([SITE_ROOT]/images/03/04/percentage_arrow.png);\r\n position: relative;\r\n left: -1px;\r\ntop:0px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #4D792C;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 31px;\r\n color: #fff;\r\n border: 2px solid #68943B;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\', 0)');
|
110 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(13, \'Theme 04 dark orange\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #F6CE9D;\r\nmargin-bottom: 10px;\r\ncolor: #F6CE9D;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 15px;\r\n height: 15px;\r\n top: -5px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n@font-face {\r\n font-family: ArTarumianHandes;\r\n src: url([SITE_ROOT]/css/HANDES.ttf);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #EDE5DA;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #E2B983 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 20px;\r\n width: 22px;\r\n background: url([SITE_ROOT]/images/04/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text] {\r\n margin: 0px;\r\n}\r\ninput[type=password] {\r\n margin: 0px;\r\n}\r\ninput[type=url] {\r\n margin: 0px;\r\n}\r\ninput[type=email] {\r\n margin: 0px;\r\n}\r\ninput.text {\r\n margin: 0px;\r\n}\r\ninput.title {\r\n margin: 0px;\r\n}\r\ntextarea {\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 45px;\r\n height: 44px;\r\n background: url([SITE_ROOT]/images/04/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #424242;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 35px;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-weight: 400;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n}\r\ndiv.wdform-page-button:hover {\r\n color: #69512F;\r\n border: 1px solid #D89E5F;\r\n background: #C8A470; /* Old browsers */\r\n background: -moz-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* FF3.6+ */\r\n background: -webkit-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* IE10+ */\r\n background: linear-gradient(to bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* W3C */\r\n box-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-submit {\r\n color: #424242 !important;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 32px;\r\n padding: 0px 20px 5px;\r\n vertical-align: middle;\r\n font-weight: 400 !important;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n font-family: Segoe UI;\r\nbackground:transparent;\r\n}\r\n.button-submit:hover {\r\n color: #69512F;\r\n border: 1px solid #D89E5F;\r\n background: #C8A470; /* Old browsers */\r\n background: -moz-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* FF3.6+ */\r\n background: -webkit-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* Chrome10+,Safari5.1+ */\r\n background: -o-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* Opera 11.10+ */\r\n background: -ms-linear-gradient(bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* IE10+ */\r\n background: linear-gradient(to bottom, #DFC091 0%, #CFAE7B 49%, #C19C67 84%, #AA824E 95%); /* W3C */\r\n box-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #F6CE9D;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/04/01/bg.png) no-repeat;\r\n text-align: left;\r\n border-radius: 0px;\r\n width: 300px;\r\n padding: 13px;\r\n text-align: center;\r\nfont-size: 18px;\r\n}\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ccc;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus {\r\n border-color: #E2B983;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus {\r\n border-color: #E2B983;\r\n outline: none;\r\n}\r\ntextarea:focus {\r\n border-color: #E2B983;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/04/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n background: #DAA157;\r\n background: -moz-linear-gradient(bottom, #F8DCB2 0%, #E7C187 49%, #E6BE86 84%, #DAA157 95%);\r\n background: -webkit-linear-gradient(bottom, #F8DCB2 0%, #E7C187 49%, #E6BE86 84%, #DAA157 95%);\r\n background: -o-linear-gradient(bottom, #F8DCB2 0%, #E7C187 49%, #E6BE86 84%, #DAA157 95%);\r\n background: -ms-linear-gradient(bottom, #F8DCB2 0%, #E7C187 49%, #E6BE86 84%, #DAA157 95%);\r\n background: linear-gradient(to bottom, #F8DCB2 0%, #E7C187 49%, #E6BE86 84%, #DAA157 95%);\r\n box-shadow: 0px 0px 5px 0px rgb(214, 214, 214) inset;\r\n border-radius: 7px;\r\n top: 1px;\r\n left: 1px;\r\n border: 1px solid #C0A77E;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 20px 0px 20px;\r\n font-weight: bold;\r\n background-color: #E2B983;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #AA824E;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 20px 0px 20px;\r\n margin-left: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #AA824E;\r\n vertical-align: middle;\r\n font-family: ArTarumianHandes;\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\n background-color: #E2B983;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 20px;\r\n height: 23px;\r\n background-color: #AA824E;\r\n position: relative;\r\n left: -14px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n -moz-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -webkit-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -o-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -ms-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
111 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(14, \'Theme 04 light blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #CEE4E4;\r\nmargin-bottom: 10px;\r\ncolor: #CEE4E4;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 15px;\r\n height: 15px;\r\n top: -5px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n@font-face {\r\n font-family: ArTarumianHandes;\r\n src: url([SITE_ROOT]/css/HANDES.ttf);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #EDE5DA;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #678B94 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 20px;\r\n width: 22px;\r\n background: url([SITE_ROOT]/images/04/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text] {\r\n margin: 0px;\r\n}\r\ninput[type=password] {\r\n margin: 0px;\r\n}\r\ninput[type=url] {\r\n margin: 0px;\r\n}\r\ninput[type=email] {\r\n margin: 0px;\r\n}\r\ninput.text {\r\n margin: 0px;\r\n}\r\ninput.title {\r\n margin: 0px;\r\n}\r\ntextarea {\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 45px;\r\n height: 44px;\r\n background: url([SITE_ROOT]/images/04/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #424242;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 35px;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-weight: 400;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n}\r\ndiv.wdform-page-button:hover {\r\ncolor: #fff;\r\nborder: 1px solid #88A1A6;\r\nbackground: #86A0A7 ;\r\nbackground: -moz-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -webkit-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -o-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -ms-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: linear-gradient(to bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-submit {\r\n color: #767676 !important;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 32px;\r\n padding: 0px 20px 5px;\r\n vertical-align: middle;\r\n font-weight: 400 !important;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n font-family: Segoe UI;\r\nbackground:transparent;\r\n}\r\n.button-submit:hover {\r\ncolor: #fff !important;\r\nborder: 1px solid #88A1A6;\r\nbackground: #86A0A7 ;\r\nbackground: -moz-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -webkit-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -o-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: -ms-linear-gradient(bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbackground: linear-gradient(to bottom, #A0C5CF 0%, #95B3BB 49%, #869AA0 84%, #86A0A7 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #CEE4E4;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/04/02/bg.png) no-repeat;\r\n text-align: left;\r\n border-radius: 0px;\r\n width: 300px;\r\npadding: 5px;\r\n text-align: center;\r\nfont-size: 16px;\r\n}\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ccc;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus {\r\n border-color: #678B94;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus {\r\n border-color: #678B94;\r\n outline: none;\r\n}\r\ntextarea:focus {\r\n border-color: #678B94;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/04/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.radio-div label {\r\ncursor: pointer;\r\n-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\nfilter: alpha(opacity=0);\r\nopacity: 0;\r\ncontent: "";\r\nposition: absolute;\r\nwidth: 10px;\r\nheight: 10px;\r\nbackground: #63929E ;\r\nbackground: -moz-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -webkit-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -o-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -ms-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: linear-gradient(to bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(214, 214, 214) inset;\r\nborder-radius: 7px;\r\ntop: 1px;\r\nleft: 1px;\r\nborder: 1px solid #678B94;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 20px 0px 20px;\r\n font-weight: bold;\r\n background-color: #88B4BD;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #678B94;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 20px 0px 20px;\r\n margin-left: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #678B94;\r\n vertical-align: middle;\r\n font-family: ArTarumianHandes;\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\n background-color: #88B4BD;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 20px;\r\n height: 23px;\r\n background-color: #678B94;\r\n position: relative;\r\n left: -14px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n -moz-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -webkit-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -o-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -ms-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
112 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(15, \'Theme 04 red\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EFEF;\r\nborder: 1px solid #CEE4E4;\r\nmargin-bottom: 10px;\r\ncolor: #CEE4E4;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 15px;\r\n height: 15px;\r\n top: -5px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n@font-face {\r\n font-family: ArTarumianHandes;\r\n src: url([SITE_ROOT]/css/HANDES.ttf);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #EDE5DA;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #8A6B63 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 20px;\r\n width: 22px;\r\n background: url([SITE_ROOT]/images/04/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text] {\r\n margin: 0px;\r\n}\r\ninput[type=password] {\r\n margin: 0px;\r\n}\r\ninput[type=url] {\r\n margin: 0px;\r\n}\r\ninput[type=email] {\r\n margin: 0px;\r\n}\r\ninput.text {\r\n margin: 0px;\r\n}\r\ninput.title {\r\n margin: 0px;\r\n}\r\ntextarea {\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 45px;\r\n height: 44px;\r\n background: url([SITE_ROOT]/images/04/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #424242;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 35px;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-weight: 400;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n}\r\ndiv.wdform-page-button:hover {\r\ncolor: #fff;\r\nborder: 1px solid #C09F97;\r\nbackground: #86A0A7;\r\nbackground: -moz-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -webkit-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -o-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -ms-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: linear-gradient(to bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-submit {\r\n color: #767676 !important;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 32px;\r\n padding: 0px 20px 5px;\r\n vertical-align: middle;\r\n font-weight: 400 !important;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n font-family: Segoe UI;\r\nbackground:transparent;\r\n}\r\n.button-submit:hover {\r\ncolor: #fff !important;\r\nborder: 1px solid #C09F97;\r\nbackground: #86A0A7;\r\nbackground: -moz-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -webkit-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -o-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: -ms-linear-gradient(bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbackground: linear-gradient(to bottom, #E0B8AF 0%, #CAA298 49%, #BD9E96 84%, #B6958E 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #E0D0CD;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\nmargin: 16px 10px 16px 0px;\r\ndisplay: inline-block;\r\nbackground: url([SITE_ROOT]/images/04/03/bg.png) no-repeat;\r\ntext-align: left;\r\nborder-radius: 0px;\r\nwidth: 300px;\r\npadding: 5px 10px;\r\ntext-align: center;\r\nfont-size: 18px;\r\n}\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ccc;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus {\r\n border-color: #8A6B63;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus {\r\n border-color: #8A6B63;\r\n outline: none;\r\n}\r\ntextarea:focus {\r\n border-color: #8A6B63;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/04/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.radio-div label {\r\ncursor: pointer;\r\n-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\nfilter: alpha(opacity=0);\r\nopacity: 0;\r\ncontent: "";\r\nposition: absolute;\r\nwidth: 10px;\r\nheight: 10px;\r\nbackground: #B98476 ;\r\nbackground: -moz-linear-gradient(bottom, #CA9B8F 0%, #DBACA0 49%, #B98476 84%, #A38279 95%);\r\nbackground: -webkit-linear-gradient(bottom, #CA9B8F 0%, #DBACA0 49%, #B98476 84%, #A38279 95%);\r\nbackground: -o-linear-gradient(bottom, #CA9B8F 0%, #DBACA0 49%, #B98476 84%, #A38279 95%);\r\nbackground: -ms-linear-gradient(bottom, #CA9B8F 0%, #DBACA0 49%, #B98476 84%, #A38279 95%);\r\nbackground: linear-gradient(to bottom, #CA9B8F 0%, #DBACA0 49%, #B98476 84%, #A38279 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(214, 214, 214) inset;\r\nborder-radius: 7px;\r\ntop: 1px;\r\nleft: 1px;\r\nborder: 1px solid #9B766D;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 20px 0px 20px;\r\n font-weight: bold;\r\n background-color: #CCAAA3;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #8A6B63;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 20px 0px 20px;\r\n margin-left: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #8A6B63;\r\n vertical-align: middle;\r\n font-family: ArTarumianHandes;\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\n background-color: #CCAAA3;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 20px;\r\n height: 23px;\r\n background-color: #8A6B63;\r\n position: relative;\r\n left: -14px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n -moz-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -webkit-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -o-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -ms-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
113 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(16, \'Theme 04 transparent (gray button)\', \'.radio-div input[type="radio"],\r\n.checkbox-div input[type="checkbox"]\r\n{\r\nvisibility: hidden;\r\n}\r\n.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #FFFFFF;\r\nborder: 1px solid #A6A6A6;\r\nmargin-bottom: 10px;\r\ncolor: #A6A6A6;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 15px;\r\n height: 15px;\r\n top: -5px;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n@font-face {\r\n font-family: ArTarumianHandes;\r\n src: url([SITE_ROOT]/css/HANDES.ttf);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #EDE5DA;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:active{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\nui-state-hover {\r\n background: #B3B3B3 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 22px;\r\n overflow: hidden;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 20px;\r\n width: 22px;\r\n background: url([SITE_ROOT]/images/04/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: 0px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text] {\r\n margin: 0px;\r\n}\r\ninput[type=password] {\r\n margin: 0px;\r\n}\r\ninput[type=url] {\r\n margin: 0px;\r\n}\r\ninput[type=email] {\r\n margin: 0px;\r\n}\r\ninput.text {\r\n margin: 0px;\r\n}\r\ninput.title {\r\n margin: 0px;\r\n}\r\ntextarea {\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 45px;\r\n height: 44px;\r\n background: url([SITE_ROOT]/images/04/upload.png);\r\n display: inline-block;\r\n}\r\ndiv.wdform-page-button {\r\n color: #424242;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 35px;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-weight: 400;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n}\r\ndiv.wdform-page-button:hover {\r\ncolor: #fff;\r\nborder: 1px solid #919191;\r\nbackground: #7A7A7A ;\r\nbackground: -moz-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -webkit-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -o-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -ms-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: linear-gradient(to bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-submit {\r\n color: #767676 !important;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 39px;\r\n line-height: 32px;\r\n padding: 0px 20px 5px;\r\n vertical-align: middle;\r\n font-weight: 400 !important;\r\n font-size: 20px;\r\n border: 1px solid #959595;\r\n border-radius: 5px;\r\n font-family: Segoe UI;\r\nbackground:transparent;\r\n}\r\n.button-submit:hover {\r\ncolor: #fff !important;\r\nborder: 1px solid #919191;\r\nbackground: #7A7A7A ;\r\nbackground: -moz-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -webkit-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -o-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: -ms-linear-gradient(bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbackground: linear-gradient(to bottom, #C7C7C7 0%, #A0A0A0 49%, #7A7A7A 84%, #858585 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(221, 221, 221) inset;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 18px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding: 15px 15px 15px 50px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n border-right: none !important;\r\n padding-right: 30px !important;\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: url([SITE_ROOT]/images/04/02/bg.png) no-repeat;\r\n text-align: left;\r\n border-radius: 0px;\r\n width: 300px;\r\npadding: 5px;\r\n text-align: center;\r\nfont-size: 16px;\r\n}\r\n.wdform_section_break\r\n{\r\nmargin: 16px 10px 16px 0px;\r\ntext-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 24px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ccc;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n height: 22px;\r\n border: 1px solid #ccc;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus {\r\n border-color: #B3B3B3;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus {\r\n border-color: #B3B3B3;\r\n outline: none;\r\n}\r\ntextarea:focus {\r\n border-color: #B3B3B3;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: "";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/02/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/04/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 14px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\n box-shadow: 0px 3px 8px 1px rgb(213, 213, 213) inset;\r\n}\r\n.radio-div label {\r\ncursor: pointer;\r\n-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\nfilter: alpha(opacity=0);\r\nopacity: 0;\r\ncontent: "";\r\nposition: absolute;\r\nwidth: 10px;\r\nheight: 10px;\r\nbackground: #63929E ;\r\nbackground: -moz-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -webkit-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -o-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: -ms-linear-gradient(bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbackground: linear-gradient(to bottom, #84B8C5 0%, #75A1AC 49%, #63929E 84%, #377483 95%);\r\nbox-shadow: 0px 0px 5px 0px rgb(214, 214, 214) inset;\r\nborder-radius: 7px;\r\ntop: 1px;\r\nleft: 1px;\r\nborder: 1px solid #678B94;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.5;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 20px 0px 20px;\r\n font-weight: bold;\r\n background-color: #C0C0C0;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #A8A8A8;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 20px 0px 20px;\r\n margin-left: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n background: #678B94;\r\n vertical-align: middle;\r\n font-family: ArTarumianHandes;\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\n background-color: #88B4BD;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #FFFFFF;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #000000;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 20px;\r\n height: 20px;\r\n vertical-align: middle;\r\n}\r\n.wdform_percentage_arrow {\r\n display: inline-block;\r\n width: 20px;\r\n height: 23px;\r\n background-color: #678B94;\r\n position: relative;\r\n left: -14px;\r\n z-index: 0;\r\n vertical-align: middle;\r\n -moz-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -webkit-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -o-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n -ms-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(-25deg) skewY(0deg);\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
114 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(17, \'Theme 05 blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #0E7297;\r\nborder: 1px solid #A0CBDB;\r\nmargin-bottom: 10px;\r\ncolor: #A0CBDB;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 14px;\r\n height: 14px;\r\n top: -6px;\r\n border: 2px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/05/01/nextbg_hover.png) url([SITE_ROOT]/images/05/01/previousbg_hover.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #00B4F6 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\nui-state-hover {\r\n background: #00B4F6 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\nborder-radius: 0px;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: #fff;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 27px;\r\n background: url([SITE_ROOT]/images/05/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/05/01/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/01/nextbg.png) no-repeat;\r\n padding: 0px 20px 0 0;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/01/nextbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/01/previousbg.png) no-repeat;\r\n padding: 0px 0 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/01/previousbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/05/01/submit.png) no-repeat;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 32px;\r\n color: #fff;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 500;\r\n padding: 0 12px 0 24px;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #A0CBDB;\r\n padding:15px 20px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 0px;\r\n background: #006A91;\r\n border-radius: 0px;\r\npadding: 6px 10px 15px;\r\ntext-align: center;\r\nfont-size: 18px;\r\ncolor: #fff;\r\nbox-shadow: 0px 3px 5px #4B4B4B;\r\n}\r\n\r\n.wdform-field-section-break2:after {\r\n content: " ";\r\n position: relative;\r\n width: 97.7%;\r\n right: 0px;\r\n bottom: 20px;\r\n height: 4px;\r\n -webkit-box-shadow: 0 2px 3px #444141;\r\n -moz-box-shadow: 0 2px 3px #444141;\r\n box-shadow: 0 2px 3px #444141;\r\n display: inline-block;\r\n}\r\n\r\n.wdform_section_break {\r\n margin: 16px 0px;\r\n border-radius: 0px;\r\n text-align: left;\r\nfont-size: 18px;\r\ncolor: #3F3F3F;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 22px;\r\n overflow: hidden;\r\nborder: 1px solid transparent;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #006A91;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #006A91;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #006A91;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #026994;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/05/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 21px;\r\n position: relative;\r\n left: -19px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #026994;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #026994;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #006A91;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #01B4F6;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-left: 1px;\r\n line-height: 25px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 27px;\r\n line-height: 27px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #018ABE;\r\n background: -moz-linear-gradient(left, #0079A6 0%, #018ABE 39%, #00B6FA 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0079A6), color-stop(39%, #018ABE ), color-stop(100%, #00B6FA ));\r\n background: -webkit-linear-gradient(left, #0079A6 0%, #018ABE 39%, #00B6FA 100%);\r\n background: -o-linear-gradient(left, #0079A6 0%, #018ABE 39%, #00B6FA 100%);\r\n background: -ms-linear-gradient(left, #0079A6 0%, #018ABE 39%, #00B6FA 100%);\r\n background: linear-gradient(to right, #0079A6 0%, #018ABE 39%, #00B6FA 100%);\r\n border-top-right-radius: 9px;\r\n border-bottom-right-radius: 9px;\r\n box-shadow: 2px 0px 7px #9E9B9B;\r\n}\r\n.page_percentage_deactive {\r\n height: 27px;\r\n line-height: 27px;\r\n background-color: #C4D5DF;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #ffffff;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
115 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(18, \'Theme 05 green\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #007326;\r\nborder: 1px solid #B6E4CF;\r\nmargin-bottom: 10px;\r\ncolor: #B6E4CF;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 14px;\r\n height: 14px;\r\n top: -6px;\r\n border: 2px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/05/02/nextbg_hover.png) url([SITE_ROOT]/images/05/02/previousbg_hover.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #018D08 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #018D08 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #018D08 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #018D08 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #018D08 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #018D08 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\nui-state-hover {\r\n background: #018D08 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\nborder-radius: 0px;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: #fff;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 27px;\r\n background: url([SITE_ROOT]/images/05/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/05/02/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/02/nextbg.png) no-repeat;\r\n padding: 0px 20px 0 0;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/02/nextbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/02/previousbg.png) no-repeat;\r\n padding: 0px 0 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/02/previousbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/05/02/submit.png) no-repeat;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 32px;\r\n color: #fff;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 500;\r\n padding: 0 12px 0 24px;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #B6E4CF;\r\n padding: 15px 20px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2{\r\n margin: 16px 0px;\r\n background: #0D7A31;\r\n border-radius: 0px;\r\npadding: 6px 10px 15px;\r\ntext-align: center;\r\nfont-size: 18px;\r\ncolor: #fff;\r\nbox-shadow: 0px 3px 5px #4B4B4B;\r\n}\r\n\r\n.wdform-field-section-break2:after {\r\n content: " ";\r\n position: relative;\r\n width: 97.7%;\r\n right: 0px;\r\n bottom: 20px;\r\n height: 4px;\r\n -webkit-box-shadow: 0 2px 3px #444141;\r\n -moz-box-shadow: 0 2px 3px #444141;\r\n box-shadow: 0 2px 3px #444141;\r\n display: inline-block;\r\n}\r\n\r\n.wdform_section_break{\r\n margin: 16px 0px;\r\n border-radius: 0px;\r\n text-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 22px;\r\n overflow: hidden;\r\nborder: 1px solid transparent;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #0D7A31;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #0D7A31;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #0D7A31;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #0D7A31;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/05/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 21px;\r\n position: relative;\r\n left: -19px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #0D7A31;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #0D7A31;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #018D08;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #00AC0A;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-left: 1px;\r\n line-height: 25px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 27px;\r\n line-height: 27px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #018F08 ;\r\n background: -moz-linear-gradient(left, #018D08 0%, #018F08 39%, #00BE0A 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #018D08 ), color-stop(39%, #018F08 ), color-stop(100%, #00BE0A ));\r\n background: -webkit-linear-gradient(left, #018D08 0%, #018F08 39%, #00BE0A 100%);\r\n background: -o-linear-gradient(left, #018D08 0%, #018F08 39%, #00BE0A 100%);\r\n background: -ms-linear-gradient(left, #018D08 0%, #018F08 39%, #00BE0A 100%);\r\nbackground: linear-gradient(to right, #018D08 0%, #018F08 39%, #00BE0A 100%);\r\n border-top-right-radius: 9px;\r\n border-bottom-right-radius: 9px;\r\n box-shadow: 2px 0px 7px #9E9B9B;\r\n}\r\n.page_percentage_deactive {\r\n height: 27px;\r\n line-height: 27px;\r\n background-color: #CEE0D3;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #ffffff;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
116 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(19, \'Theme 05 pink\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #B05785;\r\nborder: 1px solid #F6E2ED;\r\nmargin-bottom: 10px;\r\ncolor: #F6E2ED;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 14px;\r\n height: 14px;\r\n top: -6px;\r\n border: 2px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: #fff !important;\r\n margin: 7px 0px;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n content: url([SITE_ROOT]/images/05/03/nextbg_hover.png) url([SITE_ROOT]/images/05/03/previousbg_hover.png);\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 0px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #B05785 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:active{\r\n background: #B05785 !important;\r\n color: #fff;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #B05785 !important;\r\n color: #fff;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #B05785 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #B05785 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #B05785 !important;\r\n color: #fff;\r\noutline:none;\r\n}\r\nui-state-hover {\r\n background: #B05785 !important;\r\n color: #fff;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\nborder-radius: 0px;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #E5E5E5 !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 2px;\r\n font-size: 13px;\r\n height: 20px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: #fff;\r\n background-position: right 2px center;\r\n width: 100%;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 22px;\r\n width: 27px;\r\n background: url([SITE_ROOT]/images/05/01.png) 50% 50% no-repeat;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 41px;\r\n height: 32px;\r\n background: url([SITE_ROOT]/images/05/02/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/03/nextbg.png) no-repeat;\r\n padding: 0px 20px 0 0;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/03/nextbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 32px;\r\n line-height: 28px;\r\n background: url([SITE_ROOT]/images/05/03/previousbg.png) no-repeat;\r\n padding: 0px 0 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n width: 90px;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/05/03/previousbg_hover.png) no-repeat;\r\n width: 113px;\r\n}\r\n.button-submit {\r\n background: url([SITE_ROOT]/images/05/03/submit.png) no-repeat;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 0px;\r\n min-width: 80px;\r\n min-height: 32px;\r\n color: #fff;\r\n margin: 5px;\r\n border: 0px;\r\n font-family: Segoe UI;\r\n font-weight: 500;\r\n padding: 0 12px 0 24px;\r\n}\r\n.button-reset {\r\n background: transparent;\r\n cursor: pointer;\r\n font-size: 17px;\r\n min-width: 80px;\r\n min-height: 34px;\r\n color: #787878;\r\n border: 0px;\r\n margin: 5px;\r\n font-family: Segoe UI;\r\n text-decoration: underline;\r\n}\r\n.wdform_page {\r\n background: #F6E2ED;\r\n padding: 15px 20px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform-field-section-break {\r\n text-align: center;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 0px;\r\n background: #B05785;\r\n border-radius: 0px;\r\npadding: 6px 10px 15px;\r\ntext-align: center;\r\nfont-size: 18px;\r\ncolor: #fff;\r\nbox-shadow: 0px 3px 5px #4B4B4B;\r\n}\r\n\r\n.wdform-field-section-break2:after {\r\n content: " ";\r\n position: relative;\r\n width: 97.7%;\r\n right: 0px;\r\n bottom: 20px;\r\n height: 4px;\r\n -webkit-box-shadow: 0 2px 3px #444141;\r\n -moz-box-shadow: 0 2px 3px #444141;\r\n box-shadow: 0 2px 3px #444141;\r\n display: inline-block;\r\n\r\n}\r\n\r\n.wdform_section_break {\r\n margin: 16px 0px;\r\n border-radius: 0px;\r\n text-align: left;\r\nfont-size: 18px;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 0px;\r\n height: 22px;\r\n overflow: hidden;\r\nborder: 1px solid transparent;\r\n padding: 2px;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="password"]{\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ntextarea {\r\n border-radius: 0px;\r\n border: 1px solid transparent;\r\n height: 20px;\r\n padding:0 3px !important;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #B05785;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #B05785;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #B05785;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #B05785;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/05/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 21px;\r\n position: relative;\r\n left: -19px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #B05785;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n top: 2px;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 9px;\r\n height: 8px;\r\n background: #B05785;\r\n border-radius: 0px;\r\n top: 2px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #000;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #000;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #D7639F;\r\n margin-left: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #E47DB3;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 25px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-left: 1px;\r\n line-height: 25px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 27px;\r\n line-height: 27px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #D863A0 ;\r\n background: -moz-linear-gradient(left, #D7639F 0%, #D863A0 39%, #F173B4 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #D7639F ), color-stop(39%, #D863A0 ), color-stop(100%, #F173B4 ));\r\n background: -webkit-linear-gradient(left, #D7639F 0%, #D863A0 39%, #F173B4 100%);\r\n background: -o-linear-gradient(left, #D7639F 0%, #D863A0 39%, #F173B4 100%);\r\n background: -ms-linear-gradient(left, #D7639F 0%, #D863A0 39%, #F173B4 100%);\r\nbackground: linear-gradient(to right, #D7639F 0%, #D863A0 39%, #F173B4 100%);\r\n border-top-right-radius: 9px;\r\n border-bottom-right-radius: 9px;\r\n box-shadow: 2px 0px 7px #9E9B9B;\r\n}\r\n.page_percentage_deactive {\r\n height: 27px;\r\n line-height: 27px;\r\n background-color: #D6CAD2;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: right !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #ffffff;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #6E6E6E;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 27px;\r\n height: 27px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\', 0)');
|
118 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(21, \'Theme 06 blue\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #BBDBE7;\r\nborder: 1px solid #25A5DF;\r\nmargin-bottom: 10px;\r\ncolor: #25A5DF;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 16px;\r\n height: 16px;\r\n top: -6px;\r\n border: 0px;\r\n border-radius: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: transparent !important;\r\n margin: 7px 0px;\r\nborder:1px solid #ABAAAA !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #0176AA !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 4px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: transparent;\r\n background-position: right 2px center;\r\n width: 100%;\r\n border: 1px solid #ABAAAA;\r\n border-radius: 7px;\r\n color: #4C4C4C;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 25px;\r\n width: 28px;\r\n background: url([SITE_ROOT]/images/06/01.png) no-repeat 0% 50%;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 66px;\r\n height: 49px;\r\n background: url([SITE_ROOT]/images/06/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\nbackground: url([SITE_ROOT]/images/06/next.png) no-repeat right #0D66B1;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\nborder: 1px solid #107DAF;\r\n}\r\n.next-page div.wdform-page-button:hover {\r\nbackground: url([SITE_ROOT]/images/06/next.png) no-repeat right #25A5DF;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #F0EFEF;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n border: 1px solid #959595;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #E8E8E8;\r\n}\r\n.button-submit {\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: #0D66B1;\r\n padding: 0px 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #107DAF;\r\n}\r\n.button-submit:hover {\r\n background: #25A5DF;\r\n}\r\n.button-reset {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #959595;\r\n margin-left: 5px;\r\n}\r\n.button-reset:hover {\r\n background: #E8E8E8;\r\n}\r\n.wdform_page {\r\n background: #BBDBE7;\r\n padding: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_section_break2 {\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: #0D66B1;\r\n color: #ffffff;\r\n font-size: 16px;\r\n text-align: left;\r\npadding: 7px 30px 10px;\r\n}\r\n\r\n.wdform_section_break2:after {\r\n content: " " ;\r\n position: relative;\r\n width: 16px;\r\n height: 13px;\r\n top: -3px;\r\n left: 1px;\r\n box-shadow: 0px 7px 2px #c9c9c9;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\n margin: 16px 10px 16px 0px;\r\ncolor:#4C4C4C;\r\n font-size: 16px;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 5px;\r\n height: 27px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ABAAAA;\r\nbackground: transparent;\r\ncolor: #5C5C5C;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="password"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ntextarea {\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #0176AA ;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #0176AA ;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #0176AA ;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #0176AA ;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/06/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\nbox-shadow: 0px 3px 9px 1px rgb(218, 218, 218) inset;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #4C4C4C;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #4C4C4C;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #0176AA;\r\n margin-right: 1px;\r\n}\r\n.page_active {\r\n color: #fff;\r\n cursor: pointer;\r\n background-color: #008AFF;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 20px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-right: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #0073D3 ;\r\n background: -moz-linear-gradient(left, #0073D3 0%, #008FE1 39%, #00A7ED 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0073D3 ), color-stop(39%, #008FE1 ), color-stop(100%, #00A7ED ));\r\n background: -webkit-linear-gradient(left, #0073D3 0%, #008FE1 39%, #00A7ED 100%);\r\n background: -o-linear-gradient(left, #0073D3 0%, #008FE1 39%, #00A7ED 100%);\r\nbackground: -webkit-linear-gradient(left, #0073D3 0%, #008FE1 39%, #00A7ED 100%);\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\n background-color: #0176AA;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: left !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #ffffff;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #ffffff;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 23px;\r\n height: 23px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\r\n\r\n.wdform-section-break-div\r\n{\r\nborder-top:1px solid #ABAAAA !important;\r\n}\', 0)');
|
119 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(22, \'Theme 06 orange\', \'.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #F0EEEF;\r\nborder: 1px solid #FAB17A;\r\nmargin-bottom: 10px;\r\ncolor: #FAB17A;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 16px;\r\n height: 16px;\r\n top: -6px;\r\n border: 0px;\r\n border-radius: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: transparent !important;\r\n margin: 7px 0px;\r\nborder:1px solid #ABAAAA !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #FFA15C !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 4px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: transparent;\r\n background-position: right 2px center;\r\n width: 100%;\r\n border: 1px solid #ABAAAA;\r\n border-radius: 7px;\r\n color: #4C4C4C;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 25px;\r\n width: 28px;\r\n background: url([SITE_ROOT]/images/06/01.png) no-repeat 0% 50%;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 66px;\r\n height: 49px;\r\n background: url([SITE_ROOT]/images/06/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #473C34;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background:url([SITE_ROOT]/images/06/01/next.png) no-repeat right #FFA15C;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n border: 1px solid #C78655;\r\n}\r\n\r\n.next-page div.wdform-page-button:hover {\r\n background:url([SITE_ROOT]/images/06/01/next.png) no-repeat right #FAB17A;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #F0EFEF;\r\n padding: 0 20px 0 36px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n border: 1px solid #959595;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #E8E8E8;\r\n}\r\n.button-submit {\r\ncolor: #473C34;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 35px;\r\nline-height: 35px;\r\nbackground: #FFA15C;\r\npadding: 0px 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder: 1px solid #C78655;\r\n}\r\n.button-submit:hover {\r\n background: #FAB17A;\r\n}\r\n.button-reset {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #959595;\r\n margin-left: 5px;\r\n}\r\n.button-reset:hover {\r\n background: #E8E8E8;\r\n}\r\n.wdform_page {\r\n background: #F0EEEF;\r\n padding: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_section_break2{\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: #FFA15C ;\r\n color: #030303;\r\n font-size: 16px;\r\n text-align: left;\r\npadding: 7px 30px 10px;\r\n}\r\n\r\n.wdform_section_break2:after {\r\n content: " " ;\r\n position: relative;\r\n width: 16px;\r\n height: 13px;\r\n top: -3px;\r\n left: 1px;\r\n box-shadow: 0px 7px 2px #c9c9c9;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\n margin: 16px 10px 16px 0px;\r\ncolor:#4C4C4C;\r\n font-size: 16px;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 5px;\r\n height: 27px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ABAAAA;\r\nbackground: transparent;\r\ncolor: #5C5C5C;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="password"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ntextarea {\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #FFA15C ;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #FFA15C ;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #FFA15C ;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #FFA15C ;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/06/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\nbox-shadow: 0px 3px 9px 1px rgb(218, 218, 218) inset;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #4C4C4C;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #4C4C4C;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #342114;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #C78655;\r\n margin-right: 1px;\r\n}\r\n.page_active {\r\n color: #342114;\r\n cursor: pointer;\r\n background-color: #FF8A34;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 20px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-right: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #FF8932 ;\r\n background: -moz-linear-gradient(left, #F3BA28 0%, #FFD325 39%, #FEB824 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #F3BA28 ), color-stop(39%, #FFD325 ), color-stop(100%, #FEB824 ));\r\n background: -o-linear-gradient(left, #F3BA28 0%, #FFD325 39%, #FEB824 100%);\r\nbackground: -ms-linear-gradient(left, #F3BA28 0%, #FFD325 39%, #FEB824 100%);\r\nbackground: -webkit-linear-gradient(left, #F3BA28 0%, #FFD325 39%, #FEB824 100%);\r\n\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\nbackground-color: #ECBE9C;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: left !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #473C34;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #ffffff;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 23px;\r\n height: 23px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\r\n\r\n.wdform-section-break-div\r\n{\r\nborder-top:1px solid #ABAAAA !important;\r\n}\', 0)');
|
120 |
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker_themes` (`id`, `title`, `css`, `default`) VALUES(23, \'Theme 06 transparent (light green button)\', \'.radio-div input[type="radio"],\r\n.checkbox-div input[type="checkbox"]\r\n{\r\nvisibility: hidden;\r\n}\r\n.wdform-page-and-images .other_input\r\n{\r\nmax-width: none;\r\n}\r\nbutton,\r\ninput,\r\nselect,\r\ntextarea\r\n{\r\nfont-size:14px;\r\n}\r\n.warning,\r\n.error\r\n{\r\nbackground-color: #FFFFFF;\r\nborder: 1px solid #90EE90;\r\nmargin-bottom: 10px;\r\ncolor: #90EE90;\r\npadding: 5px;\r\n}\r\n.warning *,\r\n.error *\r\n{\r\nmargin:0;\r\n}\r\n.recaptcha_input_area input\r\n{\r\nheight:initial !important;\r\n}\r\na.ui-slider-handle {\r\n width: 16px;\r\n height: 16px;\r\n top: -6px;\r\n border: 0px;\r\n border-radius: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n}\r\n.ui-slider {\r\n height: 6px;\r\n background: transparent !important;\r\n margin: 7px 0px;\r\nborder:1px solid #ABAAAA !important;\r\n}\r\n.wdform_grading input {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell input[type="text"] {\r\n width: 100px;\r\n}\r\n.wdform-matrix-cell select {\r\n width: 60px;\r\n}\r\n.wdform_section .wdform_column:last-child {\r\n padding-right: 0px !important;\r\n}\r\n.wdform_preload {\r\n display: none;\r\n}\r\n.wdform_grading {\r\n padding: 3px 0px;\r\n}\r\n.wdform-matrix-table {\r\n display: table;\r\n border-spacing: 0px;\r\n}\r\n.wdform-matrix-column {\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-matrix-cell {\r\n text-align: center;\r\n display: table-cell;\r\n padding: 6px 10px;\r\n}\r\n.wdform-matrix-head>div {\r\n display: table-cell;\r\n text-align: center;\r\n}\r\n.wdform-matrix-head {\r\n display: table-row;\r\n}\r\n.wdform-matrix-row0 {\r\n background: #DFDFDF;\r\n display: table-row;\r\n}\r\n.wdform-matrix-row1 {\r\n background: #CECECE;\r\n display: table-row;\r\n}\r\n.selected-text {\r\n text-align: left;\r\n}\r\n.wdform-quantity {\r\n width: 30px;\r\n margin: 2px 0px;\r\n}\r\n.wdform_scale_rating label {\r\n vertical-align: middle;\r\n}\r\n.ui-corner-all {\r\n border-radius: 3px;\r\n}\r\n.ui-widget-content {\r\n border: 0px;\r\n background: transparent;\r\n}\r\na.ui-spinner-button:hover{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:active{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-spinner-button:focus{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:hover{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:active{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\na.ui-slider-handle:focus{\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\nui-state-hover {\r\n background: #6BD86B !important;\r\n color: #fff;\r\n outline: none;\r\n}\r\n.ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-content .ui-state-default{\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-widget-header .ui-state-default {\r\n border: 1px solid #d3d3d3;\r\n background: #DFDDDD;\r\n font-weight: normal;\r\n color: #555555;\r\n}\r\n.ui-slider-range {\r\n background: #ccc !important;\r\n}\r\n.wdform_map {\r\n border: 6px solid #DCDCDC;\r\n}\r\n.wdform-page-and-images {\r\n width: 100%;\r\n border: 0px !important;\r\n}\r\n.paypal-property {\r\n display: inline-block;\r\n margin-right: 15px;\r\n vertical-align: middle;\r\n}\r\n.sel-wrap {\r\n display: inline-block;\r\n vertical-align: middle;\r\n width:100%;\r\n}\r\n.sel-wrap select {\r\n position: absolute;\r\n z-index:-1;\r\n width: 0px !important;\r\n}\r\n.sel-imul {\r\n display: inline-block;\r\n}\r\n.sel-imul .sel-selected {\r\n cursor: pointer;\r\n position: relative;\r\n display: inline-block;\r\n padding: 2px 0px 2px 4px;\r\n font-size: 13px;\r\n height: 23px;\r\n line-height: 20px;\r\n overflow: hidden;\r\n background: transparent;\r\n background-position: right 2px center;\r\n width: 100%;\r\n border: 1px solid #ABAAAA;\r\n border-radius: 7px;\r\n color: #4C4C4C;\r\n}\r\n.sel-imul.act .sel-selected {\r\n background: #fff;\r\n}\r\n.sel-selected .sel-arraw {\r\n height: 25px;\r\n width: 28px;\r\n background: url([SITE_ROOT]/images/06/01.png) no-repeat 0% 50%;\r\n position: absolute;\r\n top: -1px;\r\n right: 0px;\r\n padding: 2px;\r\n}\r\n.sel-imul:hover .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul.act .sel-selected .sel-arraw {\r\n// background-color:#e0e0e0;\r\n// border-left:1px solid #bbb;\r\n}\r\n.sel-imul .sel-options {\r\n background: #fff;\r\n border: 1px solid #dbdbdb;\r\n border-top: none;\r\n position: absolute;\r\n width: inherit;\r\n display: none;\r\n z-index: 10;\r\n max-height: 200px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n}\r\n.sel-options .sel-option {\r\n padding: 3px 4px;\r\n font-size: 13px;\r\n border: 1px solid #fff;\r\n border-right: none;\r\n border-left: none;\r\n text-align: left;\r\n}\r\n.sel-options .sel-option:hover {\r\n border-color: #dbdbdb;\r\n cursor: pointer;\r\n}\r\n.sel-options .sel-option.sel-ed {\r\n background: #dbdbdb;\r\n border-color: #dbdbdb;\r\n}\r\ninput[type=text]{\r\n margin: 0px;\r\n}\r\ninput[type=password]{\r\n margin: 0px;\r\n}\r\ninput[type=url]{\r\n margin: 0px;\r\n}\r\ninput[type=email]{\r\n margin: 0px;\r\n}\r\ninput.text{\r\n margin: 0px;\r\n}\r\ninput.title{\r\n margin: 0px;\r\n}\r\ntextarea{\r\n margin: 0px;\r\n}\r\nselect {\r\n margin: 0px;\r\n}\r\n.form-error {\r\n border-color: red !important;\r\n}\r\n.form-error:focus {\r\n border-color: red !important;\r\n}\r\n\r\n.wdform-field {\r\n display: table-cell;\r\n padding: 5px 0px;\r\n}\r\n.wdform-label-section{\r\n text-align: left;\r\n display: table-cell;\r\n}\r\n.wdform-element-section {\r\n text-align: left;\r\n display: table-cell;\r\n min-width: 140px;\r\n}\r\n.file-upload input {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n.file-upload-status {\r\n margin-left: 10px;\r\n max-width: 200px;\r\n font-weight: bold;\r\n font-size: 16px;\r\n color: #888;\r\n background: #fff;\r\n position: absolute;\r\n border-radius: 4px;\r\n height: 24px;\r\n border: 1px solid #ccc;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n direction: rtl;\r\n padding-top: 3px;\r\n margin-top: 2px;\r\n}\r\n.file-picker {\r\n width: 66px;\r\n height: 49px;\r\n background: url([SITE_ROOT]/images/06/upload.png) no-repeat;\r\n display: inline-block;\r\n}\r\n.next-page div.wdform-page-button {\r\ncolor: #473C34;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 32px;\r\n background:url([SITE_ROOT]/images/06/01/next.png) no-repeat right #6BD86B;\r\n padding: 0px 36px 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n border: 1px solid #459B45;\r\n}\r\n\r\n.next-page div.wdform-page-button:hover {\r\n background:url([SITE_ROOT]/images/06/01/next.png) no-repeat right #90EE90;\r\n}\r\n.previous-page div.wdform-page-button {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #F0EFEF;\r\n padding: 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n margin-right: 20px;\r\n margin-left: 20px;\r\n border: 1px solid #959595;\r\n}\r\n.previous-page div.wdform-page-button:hover {\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left #E8E8E8;\r\n}\r\n.previous-page div.wdform-page-button:before {\r\n content: " ";\r\n background: url([SITE_ROOT]/images/06/previous.png) no-repeat left;\r\n height: 19px;\r\n width: 20px;\r\n display: inline-block;\r\n vertical-align: middle;\r\n top: -2px;\r\n position: relative;\r\n}\r\n.button-submit {\r\ncolor: #473C34;\r\ncursor: pointer;\r\ndisplay: inline-block;\r\nheight: 35px;\r\nline-height: 35px;\r\nbackground: #6BD86B;\r\npadding: 0px 20px;\r\nvertical-align: middle;\r\nfont-size: 18px;\r\nborder: 1px solid #459B45;\r\n}\r\n.button-submit:hover {\r\n background: #90EE90;\r\n}\r\n.button-reset {\r\n color: #A2A2A2;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 35px;\r\n line-height: 35px;\r\n background: #F0EFEF;\r\n padding: 0 20px;\r\n vertical-align: middle;\r\n font-size: 18px;\r\n border: 1px solid #959595;\r\n margin-left: 5px;\r\n}\r\n.button-reset:hover {\r\n background: #E8E8E8;\r\n}\r\n.wdform_page {\r\n background: transparent;\r\n padding: 15px;\r\n border-radius: 0px;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_column {\r\n float: left;\r\n border-spacing: 2px;\r\n border-collapse: separate !important;\r\n}\r\n.wdform_column>div {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_column>.wdform_row:last-child {\r\n border-bottom: 0px solid #E7E7E7;\r\n}\r\n.wdform_section_break2{\r\n margin: 16px 10px 16px 0px;\r\n display: inline-block;\r\n background: #6BD86B ;\r\n color: #030303;\r\n font-size: 16px;\r\n text-align: left;\r\npadding: 7px 30px 10px;\r\n}\r\n\r\n.wdform_section_break2:after {\r\n content: " " ;\r\n position: relative;\r\n width: 16px;\r\n height: 13px;\r\n top: -3px;\r\n left: 1px;\r\n box-shadow: 0px 7px 2px #c9c9c9;\r\n}\r\n\r\n.wdform_section_break\r\n{\r\n margin: 16px 10px 16px 0px;\r\ncolor:#4C4C4C;\r\n font-size: 16px;\r\n}\r\n.wdform_section {\r\n display: table-row;\r\n}\r\nselect {\r\n border-radius: 5px;\r\n height: 27px;\r\n overflow: hidden;\r\n padding: 2px;\r\nborder: 1px solid #ABAAAA;\r\nbackground: transparent;\r\ncolor: #5C5C5C;\r\n outline: none;\r\n}\r\ninput[type="text"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="password"]{\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ntextarea {\r\n border: 1px solid #ABAAAA;\r\n height: 25px;\r\n padding:0 3px !important;\r\n border-radius: 5px;\r\n background: transparent;\r\n color: #5C5C5C;\r\n}\r\ninput[type="text"]:focus{\r\n border: 1px solid #6BD86B ;\r\n outline: none;\r\n}\r\ninput[type="password"]:focus{\r\n border: 1px solid #6BD86B ;\r\n outline: none;\r\n}\r\ntextarea:focus{\r\n border: 1px solid #6BD86B ;\r\n outline: none;\r\n}\r\n\r\n.input_deactive {\r\n color: #999999;\r\n font-style: italic;\r\n}\r\n.input_active {\r\n color: #000000;\r\n font-style: normal;\r\n}\r\n.am_pm_select {\r\n width: 30px;\r\n vertical-align: middle;\r\n}\r\n.checkbox-div input[type=checkbox] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.checkbox-div {\r\n width: 13px;\r\n height: 12px;\r\n background: transparent;\r\n border: 1px solid #6BD86B ;\r\n border-radius: 0px;\r\n position: relative;\r\n display: inline-block;\r\n}\r\n.checkbox-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 1px;\r\n}\r\n.checkbox-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .checkbox-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.checkbox-div input[type=checkbox]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.wdform-calendar-button,\r\n.wdform-calendar-button:hover {\r\n display:inline-block;\r\n background: transparent url([SITE_ROOT]/images/06/date.png) no-repeat left 50% !important;\r\n border: 0px;\r\n color: transparent;\r\n width: 20px;\r\n height: 24px;\r\n position: relative;\r\n left: -22px;\r\n vertical-align: top;\r\n outline: none;\r\n}\r\n.radio-div input[type=radio] {\r\n position : absolute;\r\n z-index: -1;\r\n}\r\n.forlabs {\r\n float: right;\r\n margin-right: 20px;\r\n}\r\n.radio-div {\r\n width: 14px;\r\n height: 13px;\r\n background: #fff;\r\n border: 1px solid #ccc;\r\n border-radius: 7px;\r\n position: relative;\r\n display: inline-block;\r\nbox-shadow: 0px 3px 9px 1px rgb(218, 218, 218) inset;\r\n}\r\n.radio-div label {\r\n cursor: pointer;\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n content: " ";\r\n position: absolute;\r\n width: 16px;\r\n height: 13px;\r\n background: url([SITE_ROOT]/images/03/checkbox.png);\r\n border-radius: 0px;\r\n top: -3px;\r\n left: 2px;\r\n}\r\n.radio-div label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div .wdform-ch-rad-label:hover {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.wdform-ch-rad-label:hover + .radio-div label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";\r\n filter: alpha(opacity=30);\r\n opacity: 0.3;\r\n}\r\n.radio-div input[type=radio]:checked + label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";\r\n filter: alpha(opacity=100);\r\n opacity: 1;\r\n}\r\n.if-ie-div-label {\r\n -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;\r\n filter: alpha(opacity=100) !important;\r\n opacity: 1 !important;\r\n}\r\n.wdform-ch-rad-label {\r\n display: inline;\r\n margin: -4px 5px 5px 5px;\r\n float: left;\r\n color: #4C4C4C;\r\n cursor: pointer\r\n}\r\ntextarea {\r\n padding-top: 5px;\r\n}\r\n.wdform-date {\r\n display:inline-block;\r\n width: 105px\r\n}\r\n.wdform_footer {\r\n padding-top: 5px;\r\n margin-top: 15px;\r\n}\r\n.page-numbers {\r\n vertical-align: middle;\r\n}\r\n.time_box {\r\n text-align: right;\r\n width: 30px;\r\n vertical-align: middle\r\n}\r\n.mini_label {\r\n font-size: 10px;\r\n font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;\r\n color: #000;\r\n}\r\n.wdform-label {\r\n border: none;\r\n color: #4C4C4C;\r\n vertical-align: top;\r\n line-height: 17px;\r\n}\r\n.wdform_colon {\r\n color: #000\r\n}\r\n.wdform_separator {\r\n font-style: bold;\r\n vertical-align: middle;\r\n color: #000;\r\n}\r\n.wdform_line {\r\n color: #000\r\n}\r\n.wdform-required {\r\n border: none;\r\n color: red;\r\n vertical-align: top;\r\n}\r\n.captcha_img {\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n cursor: pointer;\r\n}\r\n.captcha_refresh {\r\n width: 30px;\r\n height: 30px;\r\n border-width: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n cursor: pointer;\r\n background-image: url([SITE_ROOT]/images/refresh_black.png);\r\n}\r\n.captcha_input {\r\n height: 20px;\r\n border-width: 1px;\r\n margin: 0px;\r\n padding: 0px;\r\n vertical-align: middle;\r\n}\r\n.file_upload {\r\n border: 0px solid white;\r\n border-radius: 0px;\r\n margin: 0px;\r\n padding: 0px;\r\n color: black;\r\n background-color: white;\r\n}\r\n.page_deactive {\r\n font-size: 12px;\r\n color: #342114;\r\n cursor: pointer;\r\n display: inline-block;\r\n height: 20px;\r\n text-align: center;\r\n vertical-align: bottom;\r\n padding: 5px 25px 0px 25px;\r\n font-weight: bold;\r\n background-color: #90EE90;\r\n margin-right: 1px;\r\n}\r\n.page_active {\r\n color: #342114;\r\n cursor: pointer;\r\n background-color: #6BD86B;\r\n display: inline-block;\r\n vertical-align: bottom;\r\n height: 20px;\r\n text-align: center;\r\n font-size: 16px;\r\n padding: 5px 25px 0px 25px;\r\n margin-right: 1px;\r\n}\r\n.page_percentage_active {\r\n padding: 0px;\r\n margin: 0px;\r\n border-spacing: 0px;\r\n height: 23px;\r\n line-height: 23px;\r\n font-size: 15px;\r\n float: left;\r\n text-align: right !important;\r\n z-index: 1;\r\n position: relative;\r\n vertical-align: middle;\r\n background: #72DB72 ;\r\n background: -moz-linear-gradient(left, #8FEB8F 0%, #5CF35C 39%, #72DB72 100%);\r\n background: -webkit-gradient(linear, left top, right top, color-stop(0%, #8FEB8F ), color-stop(39%, #5CF35C ), color-stop(100%, #72DB72 ));\r\n background: -o-linear-gradient(left, #8FEB8F 0%, #5CF35C 39%, #72DB72 100%);\r\nbackground: -ms-linear-gradient(left, #8FEB8F 0%, #5CF35C 39%, #72DB72 100%);\r\nbackground: -webkit-linear-gradient(left, #8FEB8F 0%, #5CF35C 39%, #72DB72 100%);\r\n\r\n}\r\n.page_percentage_deactive {\r\n height: 23px;\r\n line-height: 23px;\r\nbackground-color: #E0E0E0;\r\n text-align: left !important;\r\n margin-bottom: 1px;\r\n}\r\n.page_numbers {\r\n font-size: 14px;\r\n color: #000;\r\n}\r\n.phone_area_code {\r\n width: 50px;\r\n}\r\n.phone_number {\r\n width: 100px;\r\n}\r\nbutton {\r\n cursor: pointer;\r\n}\r\n.other_input {\r\n border-radius: 0px;\r\n border-width: 1px;\r\n height: 16px;\r\n font-size: 12px;\r\n padding: 1px;\r\n margin: 1px;\r\n margin-left: 25px;\r\n z-index: 100;\r\n position: absolute;\r\n}\r\n.wdform_page_navigation {\r\n text-align: left !important;\r\n margin-bottom: 0px;\r\n}\r\n.wdform_percentage_text {\r\n margin: 3px 5px 3px 9px;\r\n color: #473C34;\r\n font-weight: bold;\r\n}\r\n.wdform_percentage_title {\r\n color: #ffffff;\r\n font-style: italic;\r\n margin: 0px 0px 0px 40px;\r\n display: inline-block;\r\n line-height: 23px;\r\n height: 23px;\r\n vertical-align: middle;\r\n}\r\n.wdform_button button {\r\n background: #0E4D92;\r\n cursor: pointer;\r\n font-size: 17px;\r\n border-radius: 4px;\r\n min-width: 80px;\r\n min-height: 27px;\r\n color: #fff;\r\n border: 2px solid #0E3F77;\r\n margin: 5px;\r\n box-shadow: 0px 0px 2px #c9c9c9;\r\n font-family: Segoe UI;\r\n}\r\n.wdform_button button:active {\r\n border: 2px solid #0B2D52;\r\n background: #0E3F77;\r\n}\r\n\r\n.wdform-section-break-div\r\n{\r\nborder-top:1px solid #ABAAAA !important;\r\n}\', 0)');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|