arp_column_section_background_color(); $id = $table_id; $name = $pricetable_name; if (is_ssl()) { $googlefontpreviewurl = "https://www.google.com/fonts/specimen/"; } else { $googlefontpreviewurl = "http://www.google.com/fonts/specimen/"; } global $arplite_tempbuttonsarr, $arplite_mainoptionsarr, $arpricelite_form, $arpricelite_fonts, $arpricelite_default_settings; $tablestring = ""; $title_cls = ""; $header_cls = ""; $tablestring .= " "; $default_fonts_string = ''; $google_fonts_string = ''; $default_fonts = $arpricelite_fonts->get_default_fonts(); $google_fonts = $arpricelite_fonts->google_fonts_list(); foreach ($default_fonts as $font) { $default_fonts_string .= "
  • " . $font . "
  • "; } foreach ($google_fonts as $font) { $google_fonts_string .= "
  • " . $font . "
  • "; } if (isset($_REQUEST['arp_action']) && $_REQUEST['arp_action'] == 'edit') { $tablestring .= ""; } if ($is_tbl_preview && $is_tbl_preview == 1) { if (isset($_REQUEST['optid']) && $_REQUEST['optid'] != '') { $post_values = get_option($_REQUEST['optid']); $get_preview_data = $arpricelite_form->get_preview_table($post_values); $id = $table_id = $get_preview_data['table_id']; $is_animated = $get_preview_data['is_animated']; $opts = maybe_unserialize($get_preview_data['table_options']); $general_option = maybe_unserialize($get_preview_data['general_options']); } } else if ($is_tbl_preview && $is_tbl_preview == 3) { $opts = maybe_unserialize($opts); $general_option = maybe_unserialize($general_option); } else { $sql = $wpdb->get_row($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "arplite_arprice WHERE ID = %d AND status = %s ", $id, 'published')); $table_id = $sql->ID; $sql_opt = $wpdb->get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "arplite_arprice_options WHERE table_id = %d ", $table_id)); $is_animated = $sql->is_animated; $opts = maybe_unserialize($sql_opt[0]->table_options); $general_option = maybe_unserialize($sql->general_options); $is_template = $sql->is_template; apply_filters('arplite_append_googlemap_js', $table_id); } $table_cols = array(); $table_cols = $table_cols_new = $opts['columns']; $maxrowcount = 0; if (is_array($table_cols)) { foreach ($table_cols as $countcol) { if ($countcol['rows'] && count($countcol['rows']) > $maxrowcount) $maxrowcount = count($countcol['rows']); } $maxrowcount--; } $opts['columns'] = $table_cols; $total_columns = count($table_cols); $column_settings = $general_option['column_settings']; $hover_type = $column_settings['column_highlight_on_hover']; $template_settings = $general_option['template_setting']; $general_settings = $general_option['general_settings']; $template_type = $template_settings['template_type']; $template = $template_settings['template']; $ref_template = $general_settings['reference_template']; $template_id = $template_settings['template']; $arp_template_skin = $template_settings['skin']; $is_responsive = $general_option['column_settings']['is_responsive']; $reference_template = $general_settings['reference_template']; $arp_global_button_type = isset($column_settings['arp_global_button_type']) ? $column_settings['arp_global_button_type'] : 'shadow'; $arp_global_button_class_array = $arpricelite_default_settings->arp_button_type(); $arp_global_button_class = ''; if ($arp_global_button_type !== 'none') { if (isset($column_settings['disable_button_hover_effect']) && $column_settings['disable_button_hover_effect'] == 1) { $arp_global_button_class = $arp_global_button_class_array[$arp_global_button_type]['class'] . ' arp_button_hover_disable arp_editor'; } else { $arp_global_button_class = @$arp_global_button_class_array[$arp_global_button_type]['class'] . ' arp_editor'; } } $arp_template_custom_color = isset($template_settings['custom_color_code']) ? $template_settings['custom_color_code'] : ''; $shadow_style = ''; if ($column_settings['column_border_radius_top_left'] == 0 && $column_settings['column_border_radius_top_right'] == 0 && $column_settings['column_border_radius_bottom_right'] == 0 && $column_settings['column_border_radius_bottom_left'] == 0) { $shadow_style = $column_settings['column_box_shadow_effect']; } $caption_col = array(); if (is_array($opts['columns'])) { foreach ($opts['columns'] as $key => $val) { if ($val['is_caption'] == 1) { $caption_col[] = 1; } else { $caption_col[] = 0; } } } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $display = ( empty($id) or $is_clone == 1 ) ? 'display:none;' : ''; $shortcode_display = ($_GET['arp_action'] == 'edit') ? '' : "display:none;"; //$shortcode_txt = (!empty($id) ) ? '
    [ARPLite id=' . $id . ']
    ' : '
    '; $tablestring .= "
    "; $tablestring .= '
    '; //$tablestring .= "' . $shortcode_txt; $tablestring .= "
    "; $tablestring .= '
    • '.__("Shortcode", ARPLITE_PT_TXTDOMAIN).'
    • '.__("Embed Inline Pricing Table", ARPLITE_PT_TXTDOMAIN).' [ARPLite id='.$id.']
    '; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $arp_template = isset($arp_template) ? $arp_template : ''; $arp_template_skin = ($arp_template_skin) ? $arp_template_skin : ''; $arplitetemplate_1 = ($id) ? 'arplitetemplate_' . $id : ''; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $arp_template_is_custom_color = isset($arp_template_is_custom_color) ? $arp_template_is_custom_color : ''; $tablestring .= ""; $arp_template_column_bg_color = isset($general_option['custom_skin_colors']['arp_column_bg_custom_color']) ? $general_option['custom_skin_colors']['arp_column_bg_custom_color'] : ''; $arp_template_column_desc_bg_color = isset($general_option['custom_skin_colors']['arp_column_desc_bg_custom_color']) ? $general_option['custom_skin_colors']['arp_column_desc_bg_custom_color'] : ''; $arp_template_header_bg_color = isset($general_option['custom_skin_colors']['arp_header_bg_custom_color']) ? $general_option['custom_skin_colors']['arp_header_bg_custom_color'] : ''; $arp_template_pricing_bg_color = isset($general_option['custom_skin_colors']['arp_pricing_bg_custom_color']) ? $general_option['custom_skin_colors']['arp_pricing_bg_custom_color'] : ''; $arp_template_odd_row_bg_color = isset($general_option['custom_skin_colors']['arp_body_odd_row_bg_custom_color']) ? $general_option['custom_skin_colors']['arp_body_odd_row_bg_custom_color'] : ''; $arp_template_even_row_bg_color = isset($general_option['custom_skin_colors']['arp_body_even_row_bg_custom_color']) ? $general_option['custom_skin_colors']['arp_body_even_row_bg_custom_color'] : ''; $arp_template_footer_content_bg_color = isset($general_option['custom_skin_colors']['arp_footer_content_bg_color']) ? $general_option['custom_skin_colors']['arp_footer_content_bg_color'] : ''; $arp_template_button_bg_color = isset($general_option['custom_skin_colors']['arp_button_bg_custom_color']) ? $general_option['custom_skin_colors']['arp_button_bg_custom_color'] : ''; $arp_column_bg_hover_color = isset($general_option['custom_skin_colors']['arp_column_bg_hover_color']) ? $general_option['custom_skin_colors']['arp_column_bg_hover_color'] : ''; $arp_button_bg_hover_color = isset($general_option['custom_skin_colors']['arp_button_bg_hover_color']) ? $general_option['custom_skin_colors']['arp_button_bg_hover_color'] : ''; $arp_header_bg_hover_color = isset($general_option['custom_skin_colors']['arp_header_bg_hover_color']) ? $general_option['custom_skin_colors']['arp_header_bg_hover_color'] : ''; $arp_price_bg_hover_color = isset($general_option['custom_skin_colors']['arp_price_bg_hover_color']) ? $general_option['custom_skin_colors']['arp_price_bg_hover_color'] : ''; $arp_template_odd_row_hover_bg_color = isset($general_option['custom_skin_colors']['arp_body_odd_row_hover_bg_custom_color']) ? $general_option['custom_skin_colors']['arp_body_odd_row_hover_bg_custom_color'] : ''; $arp_template_even_row_hover_bg_color = isset($general_option['custom_skin_colors']['arp_body_even_row_hover_bg_custom_color']) ? $general_option['custom_skin_colors']['arp_body_even_row_hover_bg_custom_color'] : ''; $arp_footer_hover_background_color = isset($general_option['custom_skin_colors']['arp_footer_content_hover_bg_color']) ? $general_option['custom_skin_colors']['arp_footer_content_hover_bg_color'] : ''; $arp_template_column_desc_hover_bg_color = isset($general_option['custom_skin_colors']['arp_column_desc_hover_bg_custom_color']) ? $general_option['custom_skin_colors']['arp_column_desc_hover_bg_custom_color'] : ''; $arp_header_font_custom_color_input = isset($general_option['custom_skin_colors']['arp_header_font_custom_color']) ? $general_option['custom_skin_colors']['arp_header_font_custom_color'] : ''; $arp_header_font_custom_hover_color_input = isset($general_option['custom_skin_colors']['arp_header_font_custom_hover_color']) ? $general_option['custom_skin_colors']['arp_header_font_custom_hover_color'] : ""; $arp_price_font_custom_color_input = isset($general_option['custom_skin_colors']['arp_price_font_custom_color']) ? $general_option['custom_skin_colors']['arp_price_font_custom_color'] : ''; $arp_price_font_custom_hover_color_input = isset($general_option['custom_skin_colors']['arp_price_font_custom_hover_color']) ? $general_option['custom_skin_colors']['arp_price_font_custom_hover_color'] : ''; $arp_price_duration_font_custom_color_input = isset($general_option['custom_skin_colors']['arp_price_duration_font_custom_color']) ? $general_option['custom_skin_colors']['arp_price_duration_font_custom_color'] : ''; $arp_price_duration_font_custom_hover_color_input = isset($general_option['custom_skin_colors']['arp_price_duration_font_custom_hover_color']) ? $general_option['custom_skin_colors']['arp_price_duration_font_custom_hover_color'] : ''; $arp_desc_font_custom_color_input = isset($general_option['custom_skin_colors']['arp_desc_font_custom_color']) ? $general_option['custom_skin_colors']['arp_desc_font_custom_color'] : ''; $arp_desc_font_custom_hover_color_input = isset($general_option['custom_skin_colors']['arp_desc_font_custom_hover_color']) ? $general_option['custom_skin_colors']['arp_desc_font_custom_hover_color'] : ''; $arp_body_label_font_custom_color_input = isset($general_option['custom_skin_colors']['arp_body_label_font_custom_color']) ? $general_option['custom_skin_colors']['arp_body_label_font_custom_color'] : ''; $arp_body_label_font_custom_hover_color_input = isset($general_option['custom_skin_colors']['arp_body_label_font_custom_hover_color']) ? $general_option['custom_skin_colors']['arp_body_label_font_custom_hover_color'] : ''; $arp_body_font_custom_color_input = isset($general_option['custom_skin_colors']['arp_body_font_custom_color']) ? $general_option['custom_skin_colors']['arp_body_font_custom_color'] : ''; $arp_body_font_custom_hover_color_input = isset($general_option['custom_skin_colors']['arp_body_font_custom_hover_color']) ? $general_option['custom_skin_colors']['arp_body_font_custom_hover_color'] : ''; $arp_body_even_font_custom_color_input = isset($general_option['custom_skin_colors']['arp_body_even_font_custom_color']) ? $general_option['custom_skin_colors']['arp_body_even_font_custom_color'] : ''; $arp_body_even_font_custom_hover_color_input = isset($general_option['custom_skin_colors']['arp_body_even_font_custom_hover_color']) ? $general_option['custom_skin_colors']['arp_body_even_font_custom_hover_color'] : ""; $arp_footer_font_custom_color_input = isset($general_option['custom_skin_colors']['arp_footer_font_custom_color']) ? $general_option['custom_skin_colors']['arp_footer_font_custom_color'] : ''; $arp_footer_font_custom_hover_color_input = isset($general_option['custom_skin_colors']['arp_footer_font_custom_hover_color']) ? $general_option['custom_skin_colors']['arp_footer_font_custom_hover_color'] : ""; $arp_button_font_custom_color_input = isset($general_option['custom_skin_colors']['arp_button_font_custom_color']) ? $general_option['custom_skin_colors']['arp_button_font_custom_color'] : ''; $arp_button_font_custom_hover_color_input = isset($general_option['custom_skin_colors']['arp_button_font_custom_hover_color']) ? $general_option['custom_skin_colors']['arp_button_font_custom_hover_color'] : ""; $arp_shortocode_background = @$general_option['custom_skin_colors']['arp_shortocode_background']; $arp_shortocode_font_color = @$general_option['custom_skin_colors']['arp_shortocode_font_color']; $arp_shortcode_bg_hover_color = @$general_option['custom_skin_colors']['arp_shortcode_bg_hover_color']; $arp_shortcode_font_hover_color = @$general_option['custom_skin_colors']['arp_shortcode_font_hover_color']; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /** * New Belt Design * * @since ARPricelite 1.0 */ $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $export_option_style =(isset($_REQUEST['arp_action']) && $_REQUEST['arp_action'] =='edit' ) ? 'display:block;' : 'display:none;'; $tablestring .= '
    '; $tablestring .= '
    '; $tablestring .= '
    '; $tablestring .= ''; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= '
    '; $tablestring .= '
    '; $tablestring .= '
    '; $tablestring .= ''; $tablestring .= 'New'; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; if ($column_settings['column_wrapper_width_txtbox'] != '') { $wrapper_width_value = $column_settings['column_wrapper_width_txtbox']; } else { $wrapper_width_value = $arplite_mainoptionsarr['general_options']['wrapper_width']; } $tablestring .= "  "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "px"; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; if ($reference_template == '') { $reference_template = 'arplitetemplate_1'; } $key = array_search($arp_template_skin, $arplite_mainoptionsarr['general_options']['template_options']['skins'][$reference_template]); $default_skins = $arpricelite_default_settings->arprice_default_template_skins(); $postarr['action'] = "arprice_default_template_skins"; $postarr['table_id'] = $table_id; $postarr['reference_template'] = $reference_template; $skins = $arpricelite_default_settings->arp_change_default_template_skins($default_skins, $postarr); $data_skin = json_encode($skins[$reference_template]['skin']); $data_array = json_encode($skins[$reference_template]['color']); $tablestring .= "
    arplite_custom_css_selected_bg_color(); $custom_skin_key = $custom_skin_key[$reference_template]; $color = $general_option['custom_skin_colors'][$custom_skin_key]; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /** * ARPricelite Column Options Menu New Design. * * @since 1.0 */ /* Start */ $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /* Column Options Start */ $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= __('Column Options', 'ARPricelite'); $tablestring .= "
    "; $tablestring .= "
    "; // Column Width \\ $tablestring .= "
    "; $tablestring .= "
    " . __('Column Width', 'ARPricelite') . "
    "; $tablestring .= "
    "; $column_width_readonly = ''; $tablestring .= "px"; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; // Column Width End \\ // Space between Columns\\ $tablestring .= "
    "; $tablestring .= "
    " . __('Space between Columns', 'ARPricelite') . "
    "; $tablestring .= "
    "; $tablestring .= "px"; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; // Space between Columns End \\ // Responsive Column\\ $tablestring .= "
    "; $tablestring .= "
    " . __('Responsive column', 'ARPricelite') . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; // Responsive Column End\\ // Display Columns\\ $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= __('Display Columns', 'ARPricelite'); $tablestring .= "   (" . __('Pro Version', 'ARPricelite') . ")
    "; // Mobile \\ $tablestring .= "
    "; $tablestring .= "
    " . __('Mobile', 'ARPricelite'); $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    1
    "; $tablestring .= "
    "; $tablestring .= "
      "; $tablestring .= "
    • " . __('All', 'ARPricelite') . "
    • "; for ($i = 1; $i <= $total_columns; $i++) { $tablestring .= "
    • " . $i . "
    • "; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; // Mobile End \\ // Tablet \\ $tablestring .= "
    "; $tablestring .= "
    " . __('Tablet', 'ARPricelite'); $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    3
    "; $tablestring .= "
    "; $tablestring .= "
      "; $tablestring .= "
    • " . __('All', 'ARPricelite') . "
    • "; for ($i = 1; $i <= $total_columns; $i++) { $tablestring .= "
    • " . $i . "
    • "; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; // Tablet End \\ $tablestring .= "
    "; // Display Columns End\\ //Full Column Clickable\\ if (in_array(1, $caption_col)) $style = 'display:block;'; else $style = 'display:none;'; $tablestring .= "
    "; $tablestring .= "
    " . __('Full Column Clickable', 'ARPricelite') . "   (" . __('Pro Version', 'ARPricelite') . ")
    "; $tablestring .= "
    "; $column_settings['full_column_clickable'] = isset($column_settings['full_column_clickable']) ? $column_settings['full_column_clickable'] : ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; // Full Column Clickable End \\ //Column Radius\\ $allow_border_radius = $arpricelite_default_settings->arpricelite_allow_border_radius(); if ($allow_border_radius[$reference_template]) { $tablestring .= "
    "; $tablestring .= "
    " . __('Column Radius (px)', 'ARPricelite') . "
    "; $tablestring .= "
    "; if ($column_settings['column_box_shadow_effect'] == 'shadow_style_none' || $column_settings['column_box_shadow_effect'] == '') { $arp_tab_column_radius_txt_disabled = ''; } else { $arp_tab_column_radius_txt_disabled = 'readonly="readonly"'; } if ($column_settings['column_border_radius_top_left'] != '' || $column_settings['column_border_radius_top_left'] == 0) { $column_border_radius_top_left = $column_settings['column_border_radius_top_left']; } else { $column_border_radius_top_left = $arplite_mainoptionsarr['general_options']['default_column_radius_value'][$reference_template]['top_left']; } if ($column_settings['column_border_radius_top_right'] != '' || $column_settings['column_border_radius_top_right'] == 0) { $column_border_radius_top_right = $column_settings['column_border_radius_top_right']; } else { $column_border_radius_top_right = $arplite_mainoptionsarr['general_options']['default_column_radius_value'][$reference_template]['top_right']; } if ($column_settings['column_border_radius_bottom_right'] != '' || $column_settings['column_border_radius_bottom_right'] == 0) { $column_border_radius_bottom_right = $column_settings['column_border_radius_bottom_right']; } else { $column_border_radius_bottom_right = $arplite_mainoptionsarr['general_options']['default_column_radius_value'][$reference_template]['bottom_right']; } if ($column_settings['column_border_radius_bottom_left'] != '' || $column_settings['column_border_radius_bottom_left'] == 0) { $column_border_radius_bottom_left = $column_settings['column_border_radius_bottom_left']; } else { $column_border_radius_bottom_left = $arplite_mainoptionsarr['general_options']['default_column_radius_value'][$reference_template]['bottom_left']; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Left"; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Right"; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Left"; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Right"; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Top"; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Bottom"; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; } //Column Radius End \\ //Hide Caption Column \\ if (in_array(1, $caption_col)) $style = 'display:block;'; else $style = 'display:none;'; $tablestring .= "
    "; $tablestring .= "
    " . __('Hide Caption Column', 'ARPricelite') . "
    "; $tablestring .= "
    "; $column_settings['hide_caption_column'] = isset($column_settings['hide_caption_column']) ? $column_settings['hide_caption_column'] : ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; // Hide Caption Column End \\ // Hide Blank Rows \\\ $tablestring .= "
    " . __('Hide blank rows from bottom', 'ARPricelite') . "
    "; $column_settings['column_hide_blank_rows'] = isset($column_settings['column_hide_blank_rows'])?$column_settings['column_hide_blank_rows']:''; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    (" . __('Only bottom rows will hide and shown in preview and front end.', 'ARPricelite') . ")
    "; $tablestring .= "
    "; // Hide Blank Rows End \\ // Hide Footer Start \\ if (in_array(1, $caption_col)) $style = 'display:block;'; else $style = 'display:none;'; $hide_section_array = $arpricelite_default_settings->arprice_hide_section_array(); $hide_section_array = $hide_section_array[$ref_template]; /* Hide Header Section */ $tablestring .= "
    "; $tablestring .= "
    " . __('Hide Column Sections', ARPLITE_PT_TXTDOMAIN) . "
    "; /* Hide Header Section */ if (array_key_exists('arp_header', $hide_section_array)) $style = 'display:block;'; else $style = 'display:none;'; $tablestring .= "
    "; $tablestring .= "
    " . __('Hide Header', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; $tablestring .= "
    "; $column_settings['hide_header_global'] = isset($column_settings['hide_header_global']) ? $column_settings['hide_header_global'] : ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; if (array_key_exists('arp_header_shortcode', $hide_section_array)) $style = 'display:block;'; else $style = 'display:none;'; $tablestring .= "
    "; $tablestring .= "
    " . __('Hide Shortcode', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; $tablestring .= "
    "; $column_settings['hide_header_shortcode_global'] = isset($column_settings['hide_header_shortcode_global']) ? $column_settings['hide_header_shortcode_global'] : ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; if (array_key_exists('arp_price', $hide_section_array)) $style = 'display:block;'; else $style = 'display:none;'; $tablestring .= "
    "; $tablestring .= "
    " . __('Hide Price', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; $tablestring .= "
    "; $column_settings['hide_price_global'] = isset($column_settings['hide_price_global']) ? $column_settings['hide_price_global'] : ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; if (array_key_exists('arp_feature', $hide_section_array)) $style = 'display:block;'; else $style = 'display:none;'; $tablestring .= "
    "; $tablestring .= "
    " . __('Hide Body', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; $tablestring .= "
    "; $column_settings['hide_feature_global'] = isset($column_settings['hide_feature_global']) ? $column_settings['hide_feature_global'] : ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; if (array_key_exists('arp_description', $hide_section_array)) $style = 'display:block;'; else $style = 'display:none;'; $tablestring .= "
    "; $tablestring .= "
    " . __('Hide Description', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; $tablestring .= "
    "; $column_settings['hide_description_global'] = isset($column_settings['hide_description_global']) ? $column_settings['hide_description_global'] : ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; if (array_key_exists('arp_footer', $hide_section_array)) $style = 'display:block;'; else $style = 'display:none;'; $tablestring .= "
    "; $tablestring .= "
    " . __('Hide Button', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; $tablestring .= "
    "; $column_settings['hide_footer_global'] = isset($column_settings['hide_footer_global']) ? $column_settings['hide_footer_global'] : ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    (" . __('Effect will shown in preview and front end only.', ARPLITE_PT_TXTDOMAIN) . ")
    "; $tablestring .= "
    "; //Hide-Show Section end //Opacity \\ if (in_array(1, $caption_col)) $cls = 'column_content_dark_row'; else $cls = 'column_content_light_row'; $display = 'display:block'; $tablestring .= "
    "; $tablestring .= "
    " . __('Opacity', 'ARPricelite'); $tablestring .= "
    (" . __('Pro Version', 'ARPricelite') . ")
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    1
    "; $tablestring .= "
    "; $tablestring .= "
      "; foreach ($arplite_mainoptionsarr['general_options']['column_opacity'] as $column_opacity) { $tablestring .= "
    • " . $column_opacity . "
    • "; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    (" . __('Opacity will be shown in preview and frontend only.', 'ARPricelite') . ")
    "; $tablestring .= "
    "; //Opacity End\\ // Column Shadow \\ if (in_array(1, $caption_col)) $cls = 'column_content_light_row'; else $cls = 'column_content_dark_row'; if ($template_settings['features']['is_animated'] == 0 && $ref_template != 'arplitetemplate_23' && $ref_template != 'arplitetemplate_21') { $arp_selectbox_disabled = ''; $tablestring .= "
    "; $tablestring .= "
    " . __('Column Shadow', 'ARPricelite'); $tablestring .= "
    "; $tablestring .= "
    "; if ($column_settings['column_box_shadow_effect'] != '') { $column_box_shadow_effect = $column_settings['column_box_shadow_effect']; } else { $column_box_shadow_effect = __('None', 'ARPricelite'); } $tablestring .= ""; if ($column_settings['column_box_shadow_effect'] == 'shadow_style_1') { $shadow_span_text = 'Style 1'; } else if ($column_settings['column_box_shadow_effect'] == 'shadow_style_2') { $shadow_span_text = 'Style 2'; } else if ($column_settings['column_box_shadow_effect'] == 'shadow_style_3') { $shadow_span_text = 'Style 3'; } else if ($column_settings['column_box_shadow_effect'] == 'shadow_style_4') { $shadow_span_text = 'Style 4'; } else if ($column_settings['column_box_shadow_effect'] == 'shadow_style_5') { $shadow_span_text = 'Style 5'; } else { $shadow_span_text = 'None'; } $tablestring .= '
    ' . '
    ' . $shadow_span_text . '
    ' . '
      '; foreach ($arplite_mainoptionsarr['general_options']['column_box_shadow_effect'] as $key => $column_box_shadow_effect) { $tablestring .= '
    • ' . $column_box_shadow_effect . '
    • '; } $tablestring .= '
    ' . '
    ' . '
    '; $tablestring .= "
    "; $tablestring .= "
    (" . __('Column shadow will not apply with column border radius.', 'ARPricelite') . ")
    "; $tablestring .= '
    '; } // Column Shadow End \\ $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= __('Column Borders', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; // border-size row level start \\ $tablestring .= "
    "; $tablestring .= "
    " . __('Border Size', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; $tablestring .= "
    "; $column_settings['arp_column_border_size'] = isset($column_settings['arp_column_border_size']) ? $column_settings['arp_column_border_size'] : ''; $tablestring .= ""; $tablestring .= "
    "; if ($column_settings['arp_column_border_size']) { $selected_border_size = $column_settings['arp_column_border_size']; } else { $selected_border_size = "0"; } $tablestring .= "
    " . $selected_border_size . "
    "; $tablestring .= "
    "; $tablestring .= "
      "; for ($i = 0; $i <= 10; $i++) { $tablestring .= "
    • " . $i . "
    • "; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; // border-size row level end \\ // border-type row level start \\ $tablestring .= "
    "; $tablestring .= "
    " . __('Border Type', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; $tablestring .= "
    "; $column_settings['arp_column_border_type'] = isset($column_settings['arp_column_border_type']) ? $column_settings['arp_column_border_type'] : ''; $tablestring .= ""; $tablestring .= "
    "; if ($column_settings['arp_column_border_type']) { $selected_border_type = $column_settings['arp_column_border_type']; } else { $selected_border_type = __('Choose Option', ARPLITE_PT_TXTDOMAIN); } $tablestring .= "
    " . $selected_border_type . "
    "; $tablestring .= "
    "; $tablestring .= "
      "; $tablestring .= "
    • Solid
    • "; $tablestring .= "
    • Dotted
    • "; $tablestring .= "
    • Dashed
    • "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; // border-type row level end \\ // border-color starts $tablestring .= "
    "; $tablestring .= "
    " . __('Border Color', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $column_settings['arp_column_border_color'] = isset($column_settings['arp_column_border_color']) ? $column_settings['arp_column_border_color'] : "#c9c9c9"; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; // border-color ends // borders checkbox starts $disable_other_class = ''; $column_settings['arp_column_border_all'] = isset($column_settings['arp_column_border_all']) ? $column_settings['arp_column_border_all'] : ''; if ($column_settings['arp_column_border_all'] == 1) { $disable_other_border = "disabled='disabled'"; $disable_other_class = 'arp_selectbox_disabled'; } else { $disable_other_border = ""; } $tablestring .= "
    " . __('Borders', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Left"; $column_settings['arp_column_border_left'] = isset($column_settings['arp_column_border_left']) ? $column_settings['arp_column_border_left'] : ''; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Right"; $column_settings['arp_column_border_right'] = isset($column_settings['arp_column_border_right']) ? $column_settings['arp_column_border_right'] : ''; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Top"; $column_settings['arp_column_border_top'] = isset($column_settings['arp_column_border_top']) ? $column_settings['arp_column_border_top'] : ''; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Bottom"; $column_settings['arp_column_border_bottom'] = isset($column_settings['arp_column_border_bottom']) ? $column_settings['arp_column_border_bottom'] : ''; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; // borders checkbox ends $tablestring .= "
    "; //end column level border //start row level border $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= __('Row Borders', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; // border-size row level start \\ $tablestring .= "
    "; $tablestring .= "
    " . __('Border Size', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; $tablestring .= "
    "; $column_settings['arp_row_border_size'] = isset($column_settings['arp_row_border_size']) ? $column_settings['arp_row_border_size'] : ''; $tablestring .= ""; $tablestring .= "
    "; if ($column_settings['arp_row_border_size']) { $selected_border_size = $column_settings['arp_row_border_size']; } else { $selected_border_size = "0"; } $tablestring .= "
    " . $selected_border_size . "
    "; $tablestring .= "
    "; $tablestring .= "
      "; for ($i = 0; $i <= 10; $i++) { $tablestring .= "
    • " . $i . "
    • "; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; // border-size row level end \\ // border-type row level start \\ $tablestring .= "
    "; $tablestring .= "
    " . __('Border Type', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; $tablestring .= "
    "; $column_settings['arp_row_border_type'] = isset($column_settings['arp_row_border_type']) ? $column_settings['arp_row_border_type'] : ''; $tablestring .= ""; $tablestring .= "
    "; if ($column_settings['arp_row_border_type']) { $selected_border_type = $column_settings['arp_row_border_type']; } else { $selected_border_type = __('Choose Option', ARPLITE_PT_TXTDOMAIN); } $tablestring .= "
    " . $selected_border_type . "
    "; $tablestring .= "
    "; $tablestring .= "
      "; $tablestring .= "
    • Solid
    • "; $tablestring .= "
    • Dotted
    • "; $tablestring .= "
    • Dashed
    • "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; // border-type row level end \\ // border-color starts $tablestring .= "
    "; $tablestring .= "
    " . __('Border Color', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $column_settings['arp_row_border_color'] = isset($column_settings['arp_row_border_color']) ? $column_settings['arp_row_border_color'] : '#c9c9c9'; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; // border-color ends $tablestring .= "
    "; // end row level border $style = ''; if ($reference_template == 'arplitetemplate_26') { $style = 'display:none'; } else { $style = 'display:block'; } $tablestring .= "
    "; $tablestring .= "
    " . __('Button Style Options', ARPLITE_PT_TXTDOMAIN) . "
    "; $arp_global_button_border_type = isset($column_settings['arp_global_button_type']) ? $column_settings['arp_global_button_type'] : 'shadow'; if ($reference_template == 'arplitetemplate_5') { $button_button_type = 'display : none;'; } else { $button_button_type = 'display : block;'; } $button_type = $arpricelite_default_settings->arp_button_type(); $tablestring .= "
    "; $tablestring .= "
    " . __('Button Type', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $button_type[$arp_global_button_border_type]['name'] = isset($button_type[$arp_global_button_border_type]['name'])?$button_type[$arp_global_button_border_type]['name']:''; $tablestring .= "
    " . @$button_type[$arp_global_button_border_type]['name'] . "
    "; $tablestring .= "
    "; $tablestring .= "
      "; foreach ($button_type as $i => $value) { if ($i == 'shadow') { $tablestring .= "
    • " . $value['name'] . "
    • "; } else { $tablestring .= "
    • " . $value['name'] . " (Pro Version)
    • "; } } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $border_style = array('solid', 'dotted', 'dashed'); $tablestring .= "
    "; if (isset($column_settings['global_button_border_type'])) { $arp_global_button_border_style = $column_settings['global_button_border_type']; } else { $arp_global_button_border_style = __('solid', ARPLITE_PT_TXTDOMAIN); } $tablestring .= ""; $tablestring .= ""; $tablestring .= "
    "; if (isset($column_settings['global_button_border_color']) && $column_settings['global_button_border_color']) { $arp_global_button_border_color = $column_settings['global_button_border_color']; } else { $arp_global_button_border_color = '#c9c9c9'; } $tablestring .= ""; if ($reference_template === 'arplitetemplate_26') { $button_border_radius = "display:none;"; } else { $button_border_radius = "display:block;"; } $tablestring .= "
    "; $tablestring .= "
    " . __('Border Radius', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    "; if (isset($column_settings['global_button_border_radius_top_left']) && $column_settings['global_button_border_radius_top_left'] != '') { $global_button_border_radius_top_left = $column_settings['global_button_border_radius_top_left']; } else { $global_button_border_radius_top_left = 0; } if (isset($column_settings['global_button_border_radius_top_right']) && $column_settings['global_button_border_radius_top_right'] != '') { $global_button_border_radius_top_right = $column_settings['global_button_border_radius_top_right']; } else { $global_button_border_radius_top_right = 0; } if (isset($column_settings['global_button_border_radius_bottom_left']) && $column_settings['global_button_border_radius_bottom_left'] != '') { $global_button_border_radius_bottom_left = $column_settings['global_button_border_radius_bottom_left']; } else { $global_button_border_radius_bottom_left = 0; } if (isset($column_settings['global_button_border_radius_bottom_right']) && $column_settings['global_button_border_radius_bottom_right'] != '') { $global_button_border_radius_bottom_right = $column_settings['global_button_border_radius_bottom_right']; } else { $global_button_border_radius_bottom_right = 0; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Left"; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Right"; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Left"; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Right"; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Top"; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "Bottom"; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /* Button Customization */ $tablestring .= "
    "; $tablestring .= "
    "; /* Column Options End */ /* Column Effects Start */ $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __("Effects", 'ARPricelite') . "   (" . __('Pro Version', 'ARPricelite') . ")
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /* Column Effects End */ /* Column Tooltip Start */ $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Tooltip', 'ARPricelite') . "   (" . __('Pro Version', 'ARPricelite') . ")
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /* Column Tooltip End */ /* Custom CSS Start */ $tablestring .= "
    "; $tablestring .= "
    " . __('Custom CSS', 'ARPricelite') . "   (" . __('Pro Version', 'ARPricelite') . ")
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Enter css class and style', 'ARPricelite') . "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    (e.g.) .btn{color:#000000;}
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('CSS class info', 'ARPricelite') . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    " . "" . __('When you turn ON CSS Class Info, You will get an extra button by clicking on each column. By clicking on that, you will get all css class information for that particular column.', 'ARPricelite') . "" . "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /* Custom CSS End */ /* Toggle Price Start */ $tablestring .= "
    "; $tablestring .= "
    " . __('Toggle Price', 'ARPricelite') . "   (" . __('Pro Version', 'ARPricelite') . ")
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Settings', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; /*common font settings*/ $arp_common_font_family_global = isset($general_option['column_settings']['arp_common_font_family_global']) ? $general_option['column_settings']['arp_common_font_family_global'] : 'Helvetica'; $tablestring .= "
    "; $tablestring .= "
    " . __('Common Fonts', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Family', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; if ($arp_common_font_family_global) $arp_selectbox_placeholder = $arp_common_font_family_global; else $arp_selectbox_placeholder = __('Choose Option', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    " . $arp_selectbox_placeholder . "
    "; $tablestring .= "
    "; $tablestring .= "
      "; $tablestring .= "
        " . __('Default Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; $tablestring .= $default_fonts_string; $tablestring .= "
        " . __('Google Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; //$tablestring .= '
      '; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $common_font_google_note_style = 'display:block;'; if( !in_array($arp_common_font_family_global, $google_fonts) ){ $common_font_google_note_style = 'display:none;'; } $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /*common font settings over*/ $arp_font_settings = $arpricelite_default_settings->arp_font_settings(); $arp_font_settings = $arp_font_settings[$reference_template]; if (in_array('arp_header_font', $arp_font_settings)) { $arp_header_style = 'display:block;'; } else { $arp_header_style = 'display:none;'; } /* * header font settings */ $tablestring .= "
    "; $tablestring .= "
    " . __('Header Fonts', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Family', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; if ($general_option['column_settings']['header_font_family_global']) $arp_selectbox_placeholder = $general_option['column_settings']['header_font_family_global']; else $arp_selectbox_placeholder = __('Choose Option', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    " . $arp_selectbox_placeholder . "
    "; $tablestring .= "
    "; $tablestring .= "
      "; $tablestring .= "
        " . __('Default Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; $tablestring .= $default_fonts_string; $tablestring .= "
        " . __('Google Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $header_font_google_note_style = 'display:block;'; if( !in_array($arp_selectbox_placeholder, $google_fonts) ){ $header_font_google_note_style = 'display:none;'; } $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Size', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    " . $general_option['column_settings']['header_font_size_global'] . "
    "; $tablestring .= "
    "; $size_arr = array(); $tablestring .= "
      "; for ($s = 8; $s <= 20; $s++) $size_arr[] = $s; for ($st = 22; $st <= 70; $st+=2) $size_arr[] = $st; foreach ($size_arr as $size) { $tablestring .= "
    • " . $size . "
    • "; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $header_text_align = isset($general_option['column_settings']['arp_header_text_alignment']) ? $general_option['column_settings']['arp_header_text_alignment'] : 'center'; $tablestring .= $arpricelite_form->arp_create_alignment_div_new('header_text_alignment', $header_text_align, 'arp_header_text_alignment', '', 'header_section'); $tablestring .= "
    "; if ($general_option['column_settings']['arp_header_text_bold_global'] == 'bold') { $header_title_style_bold_selected = 'selected'; } else { $header_title_style_bold_selected = ''; } //check selected for italic if ($general_option['column_settings']['arp_header_text_italic_global'] == 'italic') { $header_title_style_italic_selected = 'selected'; } else { $header_title_style_italic_selected = ''; } //check selected for underline or line-through if ($general_option['column_settings']['arp_header_text_decoration_global'] == 'underline') { $header_title_style_underline_selected = 'selected'; } else { $header_title_style_underline_selected = ''; } if ($general_option['column_settings']['arp_header_text_decoration_global'] == 'line-through') { $header_title_style_linethrough_selected = 'selected'; } else { $header_title_style_linethrough_selected = ''; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= " "; $tablestring .= " "; $tablestring .= " "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /* * header font settings */ if (in_array('arp_desc_font', $arp_font_settings)) { $arp_header_style = 'display:block;'; } else { $arp_header_style = 'display:none;'; } /* * Desc font settings */ $tablestring .= "
    "; $tablestring .= "
    " . __('Description Fonts', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Family', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; if ($general_option['column_settings']['description_font_family_global']) $arp_selectbox_placeholder = $general_option['column_settings']['description_font_family_global']; else $arp_selectbox_placeholder = __('Choose Option', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    " . $arp_selectbox_placeholder . "
    "; $tablestring .= "
    "; $tablestring .= "
      "; $tablestring .= "
        " . __('Default Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; $tablestring .= $default_fonts_string; $tablestring .= "
        " . __('Google Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $description_font_google_note_style = 'display:block;'; if( !in_array($arp_selectbox_placeholder, $google_fonts) ){ $description_font_google_note_style = 'display:none;'; } $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Size', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    " . $general_option['column_settings']['description_font_size_global'] . "
    "; $tablestring .= "
    "; $size_arr = array(); $tablestring .= "
      "; for ($s = 8; $s <= 20; $s++) $size_arr[] = $s; for ($st = 22; $st <= 70; $st+=2) $size_arr[] = $st; foreach ($size_arr as $size) { $tablestring .= "
    • " . $size . "
    • "; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $description_text_alignment = isset($general_option['column_settings']['arp_description_text_alignment']) ? $general_option['column_settings']['arp_description_text_alignment'] : 'center'; $tablestring .= $arpricelite_form->arp_create_alignment_div_new('description_text_alignment', $description_text_alignment, 'arp_description_text_alignment', '', 'column_description_section'); $tablestring .= "
    "; if ($general_option['column_settings']['arp_description_text_bold_global'] == 'bold') { $description_title_style_bold_selected = 'selected'; } else { $description_title_style_bold_selected = ''; } //check selected for italic if ($general_option['column_settings']['arp_description_text_italic_global'] == 'italic') { $description_title_style_italic_selected = 'selected'; } else { $description_title_style_italic_selected = ''; } //check selected for underline or line-through if ($general_option['column_settings']['arp_description_text_decoration_global'] == 'underline') { $description_title_style_underline_selected = 'selected'; } else { $description_title_style_underline_selected = ''; } if ($general_option['column_settings']['arp_description_text_decoration_global'] == 'line-through') { $description_title_style_linethrough_selected = 'selected'; } else { $description_title_style_linethrough_selected = ''; } $tablestring .= "
    "; // $tablestring .= "
    " . __('Font Style', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= " "; $tablestring .= " "; $tablestring .= " "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /* * Desc font settings */ if (in_array('arp_price_font', $arp_font_settings)) { $arp_header_style = 'display:block;'; } else { $arp_header_style = 'display:none;'; } /* * price font settings */ $tablestring .= "
    "; $tablestring .= "
    " . __('Pricing Fonts', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Family', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; if ($general_option['column_settings']['price_font_family_global']) $arp_selectbox_placeholder = $general_option['column_settings']['price_font_family_global']; else $arp_selectbox_placeholder = __('Choose Option', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    " . $arp_selectbox_placeholder . "
    "; $tablestring .= "
    "; $tablestring .= "
      "; $tablestring .= "
        " . __('Default Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; $tablestring .= $default_fonts_string; $tablestring .= "
        " . __('Google Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $price_font_google_note_style = 'display:block;'; if( !in_array($arp_selectbox_placeholder, $google_fonts) ){ $price_font_google_note_style = 'display:none;'; } $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Size', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    " . $general_option['column_settings']['price_font_size_global'] . "
    "; $tablestring .= "
    "; $size_arr = array(); $tablestring .= "
      "; for ($s = 8; $s <= 20; $s++) $size_arr[] = $s; for ($st = 22; $st <= 70; $st+=2) $size_arr[] = $st; foreach ($size_arr as $size) { $tablestring .= "
    • " . $size . "
    • "; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $price_text_alignment = isset($general_option['column_settings']['arp_price_text_alignment']) ? $general_option['column_settings']['arp_price_text_alignment'] : 'center'; $tablestring .= $arpricelite_form->arp_create_alignment_div_new('price_text_alignment', $price_text_alignment, 'arp_price_text_alignment', '', 'pricing_section'); $tablestring .= "
    "; if ($general_option['column_settings']['arp_price_text_bold_global'] == 'bold') { $price_title_style_bold_selected = 'selected'; } else { $price_title_style_bold_selected = ''; } //check selected for italic if ($general_option['column_settings']['arp_price_text_italic_global'] == 'italic') { $price_title_style_italic_selected = 'selected'; } else { $price_title_style_italic_selected = ''; } //check selected for underline or line-through if ($general_option['column_settings']['arp_price_text_decoration_global'] == 'underline') { $price_title_style_underline_selected = 'selected'; } else { $price_title_style_underline_selected = ''; } if ($general_option['column_settings']['arp_price_text_decoration_global'] == 'line-through') { $price_title_style_linethrough_selected = 'selected'; } else { $price_title_style_linethrough_selected = ''; } $tablestring .= "
    "; // $tablestring .= "
    " . __('Font Style', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= " "; $tablestring .= " "; $tablestring .= " "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /* * Price font settings */ if (in_array('arp_body_font', $arp_font_settings)) { $arp_header_style = 'display:block;'; } else { $arp_header_style = 'display:none;'; } /* * body font settings */ $tablestring .= "
    "; $tablestring .= "
    " . __('Body Fonts', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Family', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; if ($general_option['column_settings']['body_font_family_global']) $arp_selectbox_placeholder = $general_option['column_settings']['body_font_family_global']; else $arp_selectbox_placeholder = __('Choose Option', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    " . $arp_selectbox_placeholder . "
    "; $tablestring .= "
    "; $tablestring .= "
      "; $tablestring .= "
        " . __('Default Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; $tablestring .= $default_fonts_string; $tablestring .= "
        " . __('Google Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $body_font_google_note_style = 'display:block;'; if( !in_array($arp_selectbox_placeholder, $google_fonts) ){ $body_font_google_note_style = 'display:none;'; } $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Size', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    " . $general_option['column_settings']['body_font_size_global'] . "
    "; $tablestring .= "
    "; $size_arr = array(); $tablestring .= "
      "; for ($s = 8; $s <= 20; $s++) $size_arr[] = $s; for ($st = 22; $st <= 70; $st+=2) $size_arr[] = $st; foreach ($size_arr as $size) { $tablestring .= "
    • " . $size . "
    • "; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $body_text_alignment = isset($general_option['column_settings']['arp_body_text_alignment']) ? $general_option['column_settings']['arp_body_text_alignment'] : 'center'; $tablestring .= $arpricelite_form->arp_create_alignment_div_new('body_text_alignment', $body_text_alignment, 'arp_body_text_alignment', '', 'body_section'); $tablestring .= "
    "; if ($general_option['column_settings']['arp_body_text_bold_global'] == 'bold') { $body_title_style_bold_selected = 'selected'; } else { $body_title_style_bold_selected = ''; } //check selected for italic if ($general_option['column_settings']['arp_body_text_italic_global'] == 'italic') { $body_title_style_italic_selected = 'selected'; } else { $body_title_style_italic_selected = ''; } //check selected for underline or line-through if ($general_option['column_settings']['arp_body_text_decoration_global'] == 'underline') { $body_title_style_underline_selected = 'selected'; } else { $body_title_style_underline_selected = ''; } if ($general_option['column_settings']['arp_body_text_decoration_global'] == 'line-through') { $body_title_style_linethrough_selected = 'selected'; } else { $body_title_style_linethrough_selected = ''; } $tablestring .= "
    "; // $tablestring .= "
    " . __('Font Style', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= " "; $tablestring .= " "; $tablestring .= " "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /* * body font settings */ if (in_array('arp_footer_font', $arp_font_settings)) { $arp_header_style = 'display:block;'; } else { $arp_header_style = 'display:none;'; } /* * footer font settings */ $tablestring .= "
    "; $tablestring .= "
    " . __('Footer Fonts', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Family', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= ""; $footer_font_google_note_style = 'display:block;'; if( !in_array($arp_selectbox_placeholder, $google_fonts) ){ $footer_font_google_note_style = 'display:none;'; } $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Size', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $footer_text_alignment = isset($general_option['column_settings']['arp_footer_text_alignment']) ? $general_option['column_settings']['arp_footer_text_alignment'] : 'center'; $tablestring .= $arpricelite_form->arp_create_alignment_div_new('footer_text_alignment', $footer_text_alignment, 'arp_footer_text_alignment', '', 'footer_section'); $tablestring .= "
    "; if ($general_option['column_settings']['arp_footer_text_bold_global'] == 'bold') { $footer_title_style_bold_selected = 'selected'; } else { $footer_title_style_bold_selected = ''; } //check selected for italic if ($general_option['column_settings']['arp_footer_text_italic_global'] == 'italic') { $footer_title_style_italic_selected = 'selected'; } else { $footer_title_style_italic_selected = ''; } //check selected for underline or line-through if ($general_option['column_settings']['arp_footer_text_decoration_global'] == 'underline') { $footer_title_style_underline_selected = 'selected'; } else { $footer_title_style_underline_selected = ''; } if ($general_option['column_settings']['arp_footer_text_decoration_global'] == 'line-through') { $footer_title_style_linethrough_selected = 'selected'; } else { $footer_title_style_linethrough_selected = ''; } $tablestring .= ""; $tablestring .= "
    "; /* * footer font settings */ if (in_array('arp_button_font', $arp_font_settings)) { $arp_header_style = 'display:block;'; } else { $arp_header_style = 'display:none;'; } /* * footer font settings */ $tablestring .= "
    "; $tablestring .= "
    " . __('Button Fonts', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Family', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; if ($general_option['column_settings']['button_font_family_global']) $arp_selectbox_placeholder = $general_option['column_settings']['button_font_family_global']; else $arp_selectbox_placeholder = __('Choose Option', ARPLITE_PT_TXTDOMAIN); $tablestring .= "
    " . $arp_selectbox_placeholder . "
    "; $tablestring .= "
    "; $tablestring .= "
      "; $tablestring .= "
        " . __('Default Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; $tablestring .= $default_fonts_string; $tablestring .= "
        " . __('Google Fonts', ARPLITE_PT_TXTDOMAIN) . "
      "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $button_font_google_note_style = 'display:block;'; if( !in_array($arp_selectbox_placeholder, $google_fonts) ){ $button_font_google_note_style = 'display:none;'; } $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . __('Font Size', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    " . $general_option['column_settings']['button_font_size_global'] . "
    "; $tablestring .= "
    "; $size_arr = array(); $tablestring .= "
      "; for ($s = 8; $s <= 20; $s++) $size_arr[] = $s; for ($st = 22; $st <= 70; $st+=2) $size_arr[] = $st; foreach ($size_arr as $size) { $tablestring .= "
    • " . $size . "
    • "; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; if ($general_option['column_settings']['arp_button_text_bold_global'] == 'bold') { $button_title_style_bold_selected = 'selected'; } else { $button_title_style_bold_selected = ''; } //check selected for italic if ($general_option['column_settings']['arp_button_text_italic_global'] == 'italic') { $button_title_style_italic_selected = 'selected'; } else { $button_title_style_italic_selected = ''; } //check selected for underline or line-through if ($general_option['column_settings']['arp_button_text_decoration_global'] == 'underline') { $button_title_style_underline_selected = 'selected'; } else { $button_title_style_underline_selected = ''; } if ($general_option['column_settings']['arp_button_text_decoration_global'] == 'line-through') { $button_title_style_linethrough_selected = 'selected'; } else { $button_title_style_linethrough_selected = ''; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= " "; $tablestring .= " "; $tablestring .= " "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /** button font settings */ $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /* End */ $tablestring .= "
    "; global $arplite_mainoptionsarr; $template_feature = $arplite_mainoptionsarr['general_options']['template_options']['features'][$ref_template]; $template_css = ''; if ($is_template == 1) { $template_name = $sql->template_name; } else { $template_name = $table_id; } $tablestring .= ""; if ($is_template == 1) { if (file_exists(ARPLITE_PRICINGTABLE_DIR . '/css/templates/arplitetemplate_' . $sql->template_name . '_v' . $arpricelite_img_css_version . '.css')) { $template_css = @file_get_contents(ARPLITE_PRICINGTABLE_DIR . "/css/templates/arplitetemplate_" . $sql->template_name . '_v' . $arpricelite_img_css_version . ".css"); $template_css = str_replace('../../images', ARPLITE_PRICINGTABLE_IMAGES_URL, $template_css); } } else { if (file_exists(ARPLITE_PRICINGTABLE_UPLOAD_DIR . '/css/arplitetemplate_' . $id . '.css')) { $template_css = @file_get_contents(ARPLITE_PRICINGTABLE_UPLOAD_DIR . "/css/arplitetemplate_" . $id . ".css"); } } $tablestring .= ""; $arp_front_css = @file_get_contents(ARPLITE_PRICINGTABLE_DIR . "/css/arprice_front.css"); $arp_front_css = str_replace('../images', ARPLITE_PRICINGTABLE_IMAGES_URL, $arp_front_css); $arp_front_css = str_replace('../fonts/', ARPLITE_PRICINGTABLE_URL . '/fonts/', $arp_front_css); $tablestring .= ""; $col_ord_arr = json_decode($general_settings['column_order']); if (isset($column_animation['is_animation']) and $column_animation['is_animation'] == 'yes' and $column_animation['is_pagination'] == 1 and ( $column_animation['pagination_position'] == 'Top' or $column_animation['pagination_position'] == 'Both' )) $tablestring .= "
    "; $container_width = $wrapper_width_value . 'px;'; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= $wrapper_width_value . "px"; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $global_column_width = ""; if ($column_settings['all_column_width'] && $column_settings['all_column_width'] > 0) { $global_column_width = 'width:' . $column_settings['all_column_width'] . 'px;'; } $tablestring .= ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= ""; $template_id = $template_settings['template']; $color_scheme = 'arp' . $template_settings['skin']; if ($hover_type == 0 and $is_tbl_preview != 2) { $hover_class = 'hover_effect'; } else if ($hover_type == 1 and $is_tbl_preview != 2) { $hover_class = 'shadow_effect'; } else { $hover_class = 'no_effect'; } $animation_class = 'no_animation'; $slider_pagination_container = ''; $tablestring .= "
    0) { $header_img = array(); foreach ($opts['columns'] as $j => $columns) { if (isset($columns['arp_header_shortcode']) && $columns['arp_header_shortcode'] != '') $header_img[] = 1; else $header_img[] = 0; } $new_arr = array(); if (is_array($col_ord_arr) && count($col_ord_arr) > 0) { foreach ($col_ord_arr as $key => $value) { $new_value = str_replace('main_', '', $value); $new_col_id = $new_value; foreach ($opts['columns'] as $j => $columns) { if ($new_col_id == $j) { if ($columns['is_caption'] != 1) { $new_arr['columns'][$new_col_id] = $columns; } } } } } else { $new_arr = $opts; } foreach ($opts['columns'] as $j => $column) { if ($column['is_caption'] == 1) { $caption_column[] = 'yes'; } else { $caption_column[] = 'no'; } } if (in_array('yes', $caption_column)) { $has_caption = 1; } else { $has_caption = 0; } $column_count = 1; foreach ($opts['columns'] as $j => $columns) { if ($columns['is_caption'] == 1 and $template_feature['caption_style'] == 'default') { $inlinecolumnwidth = ""; if ($columns["column_width"] != "") { $inlinecolumnwidth = 'width:' . $columns["column_width"] . 'px'; } else { if ($column_settings['is_responsive'] != 1) { $inlinecolumnwidth = $global_column_width; } } $column_highlight = $opts['columns'][$j]['column_highlight']; if ($column_highlight && $column_highlight == 1 and $is_table_preview != 2) $highlighted_column = 'column_highlight'; $tablestring .= "
    "; $tablestring .= ''; $tablestring .= "
    "; if ($columns['is_caption'] == 1) { if ($template_feature['caption_title'] == 'default') { if ($template == 'arplitetemplate_1' && in_array(1, $header_img)) $header_cls = 'has_header_code'; else $header_cls = ''; $tablestring .= "
    " . do_shortcode($columns['html_content']) . "
    "; } else if ($template_feature['caption_title'] == 'style_1') { $tablestring .= "
    " . do_shortcode($columns['html_content']) . "
    "; } } else { $tablestring .= "
    " . do_shortcode($columns['package_title']) . "
    " . do_shortcode($columns['html_content']) . "
    "; } $tablestring .= "
      "; $r = 0; $row_order = isset($opts['columns'][$j]['row_order']) ? $opts['columns'][$j]['row_order'] : ""; if ($row_order && is_array($row_order)) { $rows = array(); asort($row_order); $ji = 0; $maxorder = max($row_order) ? max($row_order) : 0; foreach ($opts['columns'][$j]['rows'] as $rowno => $row) { $row_order[$rowno] = isset($row_order[$rowno]) ? $row_order[$rowno] : ($maxorder + 1); } foreach ($row_order as $row_id => $order_id) { if ($opts['columns'][$j]['rows'][$row_id]) { $rows['row_' . $ji] = $opts['columns'][$j]['rows'][$row_id]; $ji++; } } $opts['columns'][$j]['rows'] = $rows; } $column_count++; $row_count = 0; for ($ri = 0; $ri <= $maxrowcount; $ri++) { $rows = isset($opts['columns'][$j]['rows']['row_' . $ri]) ? $opts['columns'][$j]['rows']['row_' . $ri] : array(); if ($columns['is_caption'] == 1) { if (($ri + 1) % 2 == 0) { $cls = 'rowlightcolorstyle'; } else { $cls = ''; } } else { if ($column_count % 2 == 0) { if (($ri + 1) % 2 == 0) { $cls = 'rowdarkcolorstyle'; } else { $cls = ''; } } else { if (($ri + 1) % 2 == 0) { $cls = 'rowlightcolorstyle'; } else { $cls = ''; } } } if (($ri + 1 ) % 2 == 0) { $cls .= " arp_even_row"; } else { $cls .= " arp_odd_row"; } if ($rows['row_description'] == '') { $rows['row_description'] = ''; } $li_class = $ref_template . '_' . $j . '_row_' . $ri; $tablestring .= "
    • " . stripslashes_deep($rows['row_description']) . "
    • "; $row_count++; } $tablestring .= "
    "; //footer text class assign start. $footer_hover_class = ''; if ($columns['footer_content'] != '' and $template_feature['has_footer_content'] == 1) { $footer_hover_class .= ' has_footer_content'; if ($columns['footer_content_position'] == 0) { $footer_hover_class .= " footer_below_content"; } else { $footer_hover_class .= " footer_above_content"; } } else { $footer_hover_class = ""; } //footer text class assign end. if ($template_feature['button_position'] == 'default') { $tablestring .= "
    "; $footer_content_below_btn = ""; if ($columns['footer_content'] != '' and $template_feature['has_footer_content'] == 1) { $footer_content_above_btn = "display:block;"; } else { $footer_content_above_btn = "display:none;"; } if ($template_feature['has_footer_content'] == 1) { $tablestring .= ""; } if ($columns['button_text'] != '' && $columns['btn_img'] != "") { $tablestring .= "
    "; $tablestring .= ""; $tablestring .= ""; $tablestring .= "
    "; //$tablestring .= ""; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; //caption level footer setting menu start $tablestring .= ""; //caption level footer setting menu end $tablestring .= "
    "; $tablestring .= ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= "
    "; $tablestring .="
    "; $tablestring .= "
    " . __('Column Color Settings (Normal State)', ARPLITE_PT_TXTDOMAIN) . "
    "; $tablestring .="
    "; $tablestring .='
    '; $tablestring .='
    '; $tablestring .='
    ' . __('Background', ARPLITE_PT_TXTDOMAIN) . '
    '; $tablestring .='
    ' . __('Text Color', ARPLITE_PT_TXTDOMAIN) . '
    '; $tablestring .='"; $tablestring .='"; $tablestring .='
    '; $tablestring .='
    ' . __("Body Row Colors", ARPLITE_PT_TXTDOMAIN) . '
    '; $tablestring .='
    '; $tablestring .='
    ' . __('Background', ARPLITE_PT_TXTDOMAIN) . '
    '; $tablestring .='
    ' . __('Text Color', ARPLITE_PT_TXTDOMAIN) . '
    '; $tablestring .='
    '; $tablestring .='"; $tablestring .='"; $tablestring .='
    '; $tablestring .='
    '; $tablestring .='
    ' . __("Border Colors", ARPLITE_PT_TXTDOMAIN) . '
    '; $tablestring .='
    '; $tablestring .='
    ' . __('Column', ARPLITE_PT_TXTDOMAIN) . '
    '; $tablestring .='
    ' . __('Row', ARPLITE_PT_TXTDOMAIN) . '
    '; $tablestring .='
    '; $tablestring .='"; $tablestring .='
    '; $tablestring .= ""; $tablestring .= "
    "; // start to add footer level column options $tablestring .= ""; $footer_text_align = isset($columns['footer_text_align']) ? $columns['footer_text_align'] : 'center'; $tablestring .= $arpricelite_form->arp_create_alignment_div('footer_text_alignment', $footer_text_align, 'arp_footer_text_alignment', $col_no[1], 'footer_section'); // Footer Background Color $footer_background_color = isset($columns["footer_background_color"]) ? $columns["footer_background_color"] : ''; if ($footer_background_color == '') { if ($reference_template == 'arplitetemplate_1' || $reference_template == 'arplitetemplate_4' || $reference_template == 'arplitetemplate_6') { $footer_background_color = $template_section_array[$reference_template][$arp_template_skin]['arp_footer_background'][0]; } } $tablestring .= ""; // Footer Background Color $tablestring .= ""; $tablestring .= ""; //footer level options font style starts $tablestring .= ""; //footer level options font style ends $tablestring .= ""; // end footer level column options $tablestring .= '
    '; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; $x++; } //only for caption column else if ($columns['is_caption'] == 1 and $template_feature['caption_style'] == 'style_1') { for ($i = 0; $i <= $maxrowcount; $i++) { $rows = isset($opts['columns'][$j]['rows']['row_' . $i]) ? $opts['columns'][$j]['rows']['row_' . $i] : array(); $caption_li[$i] = stripslashes_deep($rows['row_description']); } } else if ($columns['is_caption'] == 1 and $template_feature['caption_style'] == 'style_2') { for ($i = 0; $i <= $maxrowcount; $i++) { $rows = isset($opts['columns'][$j]['rows']['row_' . $i]) ? $opts['columns'][$j]['rows']['row_' . $i] : array(); $caption_li[$i] = stripslashes_deep($rows['row_description']); } } } $tablestring .= "
    "; $c = $x; if ($c == 0) { $c = $x = 1; } $new_arr = array(); if (is_array($col_ord_arr) && count($col_ord_arr) > 0) { foreach ($col_ord_arr as $key => $value) { $new_value = str_replace('main_', '', $value); $new_col_id = $new_value; foreach ($opts['columns'] as $j => $columns) { if ($new_col_id == $j) { if ($columns['is_caption'] != 1) { $new_arr['columns'][$new_col_id] = $columns; } } } } } else { $new_arr = $opts; } $counter = 1; foreach ($new_arr['columns'] as $j => $columns) { if ($columns['is_caption'] == 0) { $inlinecolumnwidth = ""; if ($columns["column_width"] != "") { $inlinecolumnwidth = 'width:' . $columns["column_width"] . 'px'; } else { if ($column_settings['is_responsive'] != 1) { $inlinecolumnwidth = $global_column_width; } } $shortcode_class = ''; $shortcode_class_array = $arpricelite_default_settings->arp_shortcode_custom_type(); if (isset($columns['arp_shortcode_customization_style'])) { $shortcode_class .= @$columns['arp_shortcode_customization_size'] . ' ' . @$shortcode_class_array[$columns['arp_shortcode_customization_style']]['class']; } $column_highlight = $opts['columns'][$j]['column_highlight']; if ($column_highlight && $column_highlight == 1 and $is_tbl_preview != 2) $highlighted_column = 'column_highlight '; else $highlighted_column = ''; $col_no = explode('_', $j); $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; if ($columns['arp_header_shortcode'] != '') $header_cls = 'has_arp_shortcode'; else $header_cls = ''; $columns_custom_ribbon_position = ''; if (isset($columns['ribbon_setting']) && $columns['ribbon_setting'] and $columns['ribbon_setting']['arp_ribbon'] != '' and $columns['ribbon_setting']['arp_ribbon_content'] != '') { if ($columns['ribbon_setting']['arp_ribbon'] == 'arp_ribbon_6') { if ($columns['ribbon_setting']['arp_ribbon_position'] == 'left') { $columns_custom_ribbon_position = "left:{$columns['ribbon_setting']['arp_ribbon_custom_position_rl']}px;top:{$columns['ribbon_setting']['arp_ribbon_custom_position_top']}px;"; } else { $columns_custom_ribbon_position = "right:{$columns['ribbon_setting']['arp_ribbon_custom_position_rl']}px;top:{$columns['ribbon_setting']['arp_ribbon_custom_position_top']}px;"; } } $basic_col = $arplite_mainoptionsarr['general_options']['arp_basic_colors']; $ribbon_bg_col = $columns['ribbon_setting']['arp_ribbon_bgcol']; $base_color = $ribbon_bg_col; $base_color_key = array_search($base_color, $basic_col); $gradient_color = $arplite_mainoptionsarr['general_options']['arp_basic_colors_gradient'][$base_color_key]; $ribbon_border_color = $arplite_mainoptionsarr['general_options']['arp_ribbon_border_color'][$base_color_key]; $tablestring .= "
    "; if ($columns['ribbon_setting']['arp_ribbon'] != 'arp_ribbon_6') { $tablestring .= ""; } $tablestring .= "
    "; $tablestring .= $columns['ribbon_setting']['arp_ribbon_content']; $tablestring .= "
    "; $tablestring .= "
    "; } $tablestring .= "
    "; if ($template_feature['header_shortcode_position'] == 'default' && ( $ref_template == 'arplitetemplate_2' or $ref_template == 'arplitetemplate_5' or $ref_template == 'arplitetemplate_26' )) { $tablestring .= "
    "; } if ( $template_feature['header_shortcode_position'] == 'position_1') { if ($template_feature['header_shortcode_position'] == 'position_1' && ( $ref_template == 'arplitetemplate_8' )) { $tablestring .= "
    "; } $tablestring .= "
    "; if ($template_feature['header_shortcode_type'] == 'normal') { $tablestring .= $arpricelite_form->arp_get_video_image($columns['arp_header_shortcode']); } else if ($template_feature['header_shortcode_type'] == 'rounded_corner') { $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    " . do_shortcode($columns['arp_header_shortcode']) . "
    "; $tablestring .= "
    "; $tablestring .= "
    "; } $tablestring .= "
    "; } if ($columns['is_caption'] == 1) { $tablestring .= "
    " . do_shortcode($columns['html_content']) . "
    "; } else { $tablestring .= "
    " . do_shortcode($columns['package_title']) . "
    "; if ($template_feature['column_description'] == 'enable' && $template_feature['column_description_style'] == 'style_1') { $tablestring .= "
    " . stripslashes_deep($columns['column_description']) . "
    "; } if ($template_feature['header_shortcode_position'] == 'position_1' && ( $ref_template == 'arplitetemplate_8' )) { $tablestring .= "
    "; } $tablestring .= "
    "; if ($template_feature['column_description'] == 'enable' && $template_feature['column_description_style'] == 'style_3') { $tablestring .= "
    " . stripslashes_deep($columns['column_description']) . "
    "; } if ($template_feature['button_position'] == 'position_2') { $tablestring .= "
    "; $columns['btn_img'] = isset($columns['btn_img']) ? $columns['btn_img'] : ""; $footer_content_below_btn = ""; if ($columns['footer_content'] != '' and $columns['footer_content_position'] == 1 and $template_feature['has_footer_content'] == 1) $footer_content_above_btn = "display:block;"; else $footer_content_above_btn = "display:none;"; if ($template_feature['has_footer_content'] == 1) { $tablestring .= ""; } if (isset($columns['button_background_color']) && $columns['button_background_color'] != '') { $button_background_color = $columns['button_background_color']; } else { $button_background_color = ''; } $tablestring .= "
    "; $tablestring .= "
    "; } if ($template_feature['amount_style'] == 'style_2') $amount_style_cls = 'style_2'; $tablestring .= "
    "; if ($template_feature['amount_style'] == 'default') { $tablestring .= "
    "; if ($ref_template == 'arplitetemplate_1') { $tablestring .= ""; $tablestring .= $columns['price_text']; $tablestring .= ''; } else { $tablestring .= ""; $tablestring .= $columns['price_text']; $tablestring .= ''; } $tablestring .= "
    "; $tablestring .= isset($columns['html_content']) ? $columns['html_content'] : ""; } else if ($template_feature['amount_style'] == 'style_1') { $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= ""; $tablestring .= $columns['price_text']; $tablestring .= ''; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= $columns['price_label']; $tablestring .= ''; $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $columns['html_content'] = isset($columns['html_content']) ? $columns['html_content'] : ""; $tablestring .= do_shortcode($columns['html_content']); } else if ($template_feature['amount_style'] == 'style_2') { $tablestring .= "
    "; if ($template == 'arplitetemplate_11') { $tablestring .= "
    "; } $tablestring .= ""; $tablestring .= ""; $tablestring .= $columns['price_label']; $tablestring .= ''; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= $columns['price_text']; $tablestring .= ''; $tablestring .= ""; if ($template == 'arplitetemplate_11') { $tablestring .= "
    "; } $tablestring .= "
    "; $columns['html_content'] = isset($columns['html_content']) ? $columns['html_content'] : ""; $tablestring .= do_shortcode($columns['html_content']); } if ($template_feature['column_description'] == 'enable' && $template_feature['column_description_style'] == 'style_2') { $tablestring .= "
    "; $tablestring .= "
    " . stripslashes_deep($columns['column_description']) . "
    "; $tablestring .= "
    "; } if ($template_feature['column_description'] == 'enable' && $template_feature['column_description_style'] == 'style_4') { $first_desc_blank = $second_desc_blank = $third_desc_blank = ''; $first_desc_blank = empty($columns['column_description']) ? ' desc_content_blank' : ''; $second_desc_blank = empty($columns['column_description_second']) ? ' desc_content_blank' : ''; $third_desc_blank = empty($columns['column_description_third']) ? ' desc_content_blank' : ''; $tablestring .= "
    " . stripslashes_deep($columns['column_description']) . "
    "; } if ($template_feature['button_position'] == 'position_1') { $tablestring .= "
    "; $footer_content_above_btn = ""; if (isset($columns['footer_content']) && $columns['footer_content'] != '' and $columns['footer_content_position'] == 1) $footer_content_above_btn = "display:block;"; else $footer_content_above_btn = "display:none;"; if ($template_feature['has_footer_content'] == 1) { $tablestring .= ""; } $columns['btn_img'] = isset($columns['btn_img']) ? $columns['btn_img'] : ""; $tablestring .= "
    "; $tablestring .= "
    "; } $tablestring .= "
    "; } $tablestring .= "
    "; if ($template_feature['button_position'] == 'position_3') { $tablestring .= "
    "; $tablestring .= "
    " . stripslashes_deep($columns['column_description']) . "
    "; $tablestring .= "
    "; $columns['btn_img'] = isset($columns['btn_img']) ? $columns['btn_img'] : ""; $footer_content_above_btn = ""; if ($columns['footer_content'] != '' and $columns['footer_content_position'] == 1) $footer_content_above_btn = "display:block;"; else $footer_content_above_btn = "display:none;"; if ($template_feature['has_footer_content'] == 1) { $tablestring .= ""; } $tablestring .= "
    "; // TMP5 if ($template_feature['amount_style'] == 'style_3') { $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= ""; $tablestring .= ""; $tablestring .= $columns['price_label']; $tablestring .= ''; $tablestring .= ""; $tablestring .= ""; $tablestring .= ""; $tablestring .= $columns['price_text']; $tablestring .= ''; $tablestring .= ""; $tablestring .= "
    "; $columns['html_content'] = isset($columns['html_content']) ? $columns['html_content'] : ""; $tablestring .= do_shortcode($columns['html_content']); if ($template_feature['button_position'] == 'position_4') { $footer_hover_class = ""; if ($columns['footer_content'] != '' and $template_feature['has_footer_content'] == 1) { $footer_hover_class .= ' has_footer_content'; if ($columns['footer_content_position'] == 0) { $footer_hover_class .= " footer_below_content"; } else { $footer_hover_class .= " footer_above_content"; } } else { $footer_hover_class = ""; } $tablestring .= "
    "; $columns['btn_img'] = isset($columns['btn_img']) ? $columns['btn_img'] : ""; $footer_content_above_btn = ""; if ($columns['footer_content'] != '' and $columns['footer_content_position'] == 1) $footer_content_above_btn = "display:block;"; else $footer_content_above_btn = "display:none;"; if ($template_feature['has_footer_content'] == 1) { $tablestring .= ""; } $tablestring .= "
    "; } $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; /* Dynamic Button Options */ $col_no = explode('_', $j); include(ARPLITE_PRICINGTABLE_CLASSES_DIR . '/class.arprice_preview_editor_option.php'); $tablestring .= "
    "; //ArpPricingTableColumnWrapper div $c++; if ($x % 5 == 0) { $c = 1; } $x++; } $counter++; } $tablestring .= "
    "; } else { $tablestring .= __('Please select valid table', 'ARPricelite'); } $tablestring .= ""; $tablestring .= "
    "; $tablestring .= "
    "; $tablestring .= "
    "; if (isset($column_animation['is_animation']) and $column_animation['is_animation'] == 'yes' and $is_tbl_preview != 2 and $column_animation['is_pagination'] == 1 and ( $column_animation['pagination_position'] == 'Bottom' or $column_animation['pagination_position'] == 'Both' )) $tablestring .= "
    "; $tablestring = $arplite_pricingtable->arprice_font_icon_size_parser($tablestring); $tablestring = $arplite_pricingtable->arp_remove_style_tag($tablestring); $tablestring .=''; return $tablestring; } } ?>