get_default_fonts(); $google_fonts = $arpricelite_fonts->google_fonts_list(); $diff = count($google_fonts) / 2; $google_fonts_one = $google_fonts; $google_fonts_two = $google_fonts; array_splice($google_fonts_one, $diff); array_splice($google_fonts_two, 0, -$diff); $google_fonts_string_one = implode('|', $google_fonts_one); $google_fonts_string_two = implode('|', $google_fonts_two); $google_font_url_one = $google_font_url_two = ""; if (is_ssl()) { $google_font_url_one = "https://fonts.googleapis.com/css?family=" . $google_fonts_string_one; $google_font_url_two = "https://fonts.googleapis.com/css?family=" . $google_fonts_string_two; } else { $google_font_url_one = "http://fonts.googleapis.com/css?family=" . $google_fonts_string_one; $google_font_url_two = "http://fonts.googleapis.com/css?family=" . $google_fonts_string_two; } $font_array = array_chunk($google_fonts, 150); foreach ($font_array as $key => $font_values) { $google_fonts_string = implode('|', $font_values); $google_font_url_one = ''; if (is_ssl()) { $google_font_url_one = "https://fonts.googleapis.com/css?family=" . $google_fonts_string; } else { $google_font_url_one = "http://fonts.googleapis.com/css?family=" . $google_fonts_string; } echo ''; } /* ?> get_row($wpdb->prepare("SELECT id FROM " . $wpdb->prefix . "arplite_arprice WHERE ID='%d'", $id)); if (!$check_table) { echo ''; exit; } } $has_caption = 0; $table_cols = -1; $arp_template_type = ''; if ($arpaction == 'blank' && isset($_GET['arpaction']) && @$_GET['arpaction'] == "") { $table_cols = -1; } else if ($arpaction == 'create_new') { $table_name = $_REQUEST['new_table_name']; $table_cols = $_REQUEST['no_of_cols']; $table_rows = $_REQUEST['no_of_rows']; $has_caption = $_REQUEST['has_caption']; $arp_template_type = $_REQUEST['template_type']; if ($table_cols == "") { $table_cols = 0; } if ($has_caption == "") { $has_caption = 0; } } if (isset($arpaction) and ( $arpaction == 'edit' or $arpaction == 'new') and isset($table_id) && $table_id) { $arpaction = 'edit'; $id = $table_id; } else if (isset($arpaction) and $arpaction == 'new') { $arpaction = 'new'; } ?>
get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "arplite_arprice WHERE ID = %d", $id)); $table_name = $sql[0]->table_name; $is_template = $sql[0]->is_template; $status = $sql[0]->status; $template_name = $sql[0]->template_name; if (( $is_template == 1 && $arpreference == '' && $id != $arpreference && $_GET['arp_action'] !== 'new' ) || $status == 'draft') { echo ""; } $table_gen_opt = maybe_unserialize($sql[0]->general_options); $arp_template = $table_gen_opt['template_setting']['template']; $arp_template_skin = $table_gen_opt['template_setting']['skin']; $arp_template_type = $table_gen_opt['template_setting']['template_type']; $sqls = $wpdb->get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "arplite_arprice_options WHERE table_id = %d", $id)); $table_opt = $sqls[0]->table_options; $uns_table_opt = maybe_unserialize($table_opt); $total_packages = count($uns_table_opt['columns']); $caption_column = isset($uns_table_opt['columns']['column_0']['is_caption']) ? $uns_table_opt['columns']['column_0']['is_caption'] : ''; $reference_template = $table_gen_opt['general_settings']['reference_template']; $template_feature = $arplite_mainoptionsarr['general_options']['template_options']['features'][$reference_template]; if (is_array($template_feature) && in_array('column_description', $template_feature)) { $has_column_desc = 1; $col_desc_pos = array_search('column_description', $template_feature); } else { $has_column_desc = 0; } ?>
get_results("SELECT * FROM " . $wpdb->prefix . "arplite_arprice WHERE is_animated = 1 ORDER BY ID ASC"); ?>
    arp_pricing_table_new_form($columns, $table_rows, $has_caption, $arp_template); } else if ($arpaction == 'edit' || $arpaction == 'new') { require_once ARPLITE_PRICINGTABLE_DIR . '/core/classes/class.arprice_preview_editor.php'; global $arpricelite_form, $wpdb; echo arp_get_pricing_table_string_editor($id, $table_name, 2); } ?>
3) { $disable_actual_btn = 'display:none;'; $enable_loacked_btn = 'display:block;'; } else { $disable_actual_btn = 'display:block;'; $enable_loacked_btn = 'display:none;'; } ?>
    $label) { if ($value == 'arp_ribbon_6') { ?>
20% off
    $colors) { ?>
  •  
";print_r($header_options);echo "";die; ?>
' />
"; $fonticon .= "
"; $fonticon .= ""; //echo "
";print_r($arprice_font_awesome_icons);die;
            foreach ($arprice_font_awesome_icons as $name => $icon) {

                if ($name == 'font_awesome') {
                    $fonticon .= '
Font Awesome
'; $is_enable_font_awesome = get_option('enable_font_loading_icon'); if( is_array($is_enable_font_awesome) && in_array('enable_fontawesome_icon', $is_enable_font_awesome)){ foreach ($icon as $icon_name => $icon_class) { $ico_cls = ( isset($icon_class['code']) && $icon_class['code'] != '' ) ? $icon_class['code'] : ''; $ico_style = ( isset($icon_class['style']) && $icon_class['style'] != '' ) ? $icon_class['style'] : ''; $fonticon .= "
"; $fonticon .= ""; $fonticon .= "
"; } }else{ $fonticon .= "" . __('Please enable Font Awesome icon.', 'ARPricelite') . ""; } } if ($name == 'material_design') { $fonticon .= '
Material Design Icons
'; $fonticon .= "" . __('Please upgrade to premium version to use this icons', 'ARPricelite') . ""; } if ($name == 'typicons') { $fonticon .= '
Typicons
'; $fonticon .= "" . __('Please upgrade to premium version to use this icons', 'ARPricelite') . ""; } if ($name == 'ionicons') { $fonticon .= '
Ionicons
'; $fonticon .= "" . __('Please upgrade to premium version to use this icons', 'ARPricelite') . ""; } } $fonticon .= "
"; $fonticon .= ""; echo $fonticon; ?> get_row($wpdb->prepare("SELECT general_options FROM " . $wpdb->prefix . "arplite_arprice WHERE ID = %d AND status = %s ", $id, 'published')); $table_id = isset($sql->ID) ? $sql->ID : ''; $general_option = maybe_unserialize($sql->general_options); //print_r($general_option); } else { $id = ""; } ?>