prefix . 'accordions_or_faqs_style';
$style = $wpdb->get_row($wpdb->prepare("SELECT * FROM $table_name WHERE id = %d ", $id), ARRAY_A);
if ($style['style_name'] == 'style1') {
afoxi_ultimate_oxi_shortcode_style1($id);
}
if ($style['style_name'] == 'style2') {
afoxi_ultimate_oxi_shortcode_style2($id);
}
if ($style['style_name'] == 'style3') {
afoxi_ultimate_oxi_shortcode_style3($id);
}
if ($style['style_name'] == 'style4') {
afoxi_ultimate_oxi_shortcode_style4($id);
}
if ($style['style_name'] == 'style5') {
afoxi_ultimate_oxi_shortcode_style5($id);
}
wp_enqueue_style('font-awesome', plugins_url('js-css/font-awesome.min.css', __FILE__));
}
function afoxi_ultimate_oxi_shortcode_style1($data) {
$styleid = $data;
global $wpdb;
$table_list = $wpdb->prefix . 'accordions_or_faqs_items';
$table_name = $wpdb->prefix . 'accordions_or_faqs_style';
$listdata = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_list WHERE styleid = %d ORDER by id ASC ", $styleid), ARRAY_A);
$styledata = $wpdb->get_row($wpdb->prepare("SELECT * FROM $table_name WHERE id = %d ", $styleid), ARRAY_A);
$styledata = $styledata['css'];
$styledata = explode('|', $styledata);
wp_enqueue_style('cau-google-font', 'https://fonts.googleapis.com/css?family=' . $styledata[7] . '|' . $styledata[37] . '');
?>
';
foreach ($listdata as $value) {
echo '
' . accordions_or_faqs_oxilab_special_charecter($value['title']) . '
' . accordions_or_faqs_oxilab_special_charecter($value['files']) . '
';
}
echo '';
?>
prefix . 'accordions_or_faqs_items';
$table_name = $wpdb->prefix . 'accordions_or_faqs_style';
$listdata = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_list WHERE styleid = %d ORDER by id ASC ", $styleid), ARRAY_A);
$styledata = $wpdb->get_row($wpdb->prepare("SELECT * FROM $table_name WHERE id = %d ", $styleid), ARRAY_A);
$styledata = $styledata['css'];
$styledata = explode('|', $styledata);
wp_enqueue_style('cau-google-font', 'https://fonts.googleapis.com/css?family=' . $styledata[5] . '|' . $styledata[35] . '');
?>
';
foreach ($listdata as $value) {
echo '
' . accordions_or_faqs_oxilab_special_charecter($value['title']) . '
' . accordions_or_faqs_oxilab_special_charecter($value['files']) . '
';
}
echo '';
?>
prefix . 'accordions_or_faqs_items';
$table_name = $wpdb->prefix . 'accordions_or_faqs_style';
$listdata = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_list WHERE styleid = %d ORDER by id ASC ", $styleid), ARRAY_A);
$styledata = $wpdb->get_row($wpdb->prepare("SELECT * FROM $table_name WHERE id = %d ", $styleid), ARRAY_A);
$styledata = $styledata['css'];
$styledata = explode('|', $styledata);
wp_enqueue_style('cau-google-font', 'https://fonts.googleapis.com/css?family=' . $styledata[3] . '|' . $styledata[37] . '');
?>
';
foreach ($listdata as $value) {
$cssdata = explode('|', $value['css']);
echo '
' . accordions_or_faqs_oxilab_special_charecter($value['title']) . '
' . accordions_or_faqs_oxilab_special_charecter($value['files']) . '
';
}
?>
prefix . 'accordions_or_faqs_items';
$table_name = $wpdb->prefix . 'accordions_or_faqs_style';
$listdata = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_list WHERE styleid = %d ORDER by id ASC ", $styleid), ARRAY_A);
$styledata = $wpdb->get_row($wpdb->prepare("SELECT * FROM $table_name WHERE id = %d ", $styleid), ARRAY_A);
$styledata = $styledata['css'];
$styledata = explode('|', $styledata);
wp_enqueue_style('cau-google-font', 'https://fonts.googleapis.com/css?family=' . $styledata[15] . '|' . $styledata[47] . '');
?>
';
foreach ($listdata as $value) {
echo '
' . accordions_or_faqs_oxilab_special_charecter($value['title']) . '
' . accordions_or_faqs_oxilab_special_charecter($value['files']) . '
';
}
echo '';
?>
prefix . 'accordions_or_faqs_items';
$table_name = $wpdb->prefix . 'accordions_or_faqs_style';
$listdata = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_list WHERE styleid = %d ORDER by id ASC ", $styleid), ARRAY_A);
$styledata = $wpdb->get_row($wpdb->prepare("SELECT * FROM $table_name WHERE id = %d ", $styleid), ARRAY_A);
$styledata = $styledata['css'];
$styledata = explode('|', $styledata);
wp_enqueue_style('cau-google-font', 'https://fonts.googleapis.com/css?family=' . $styledata[23] . '|' . $styledata[51] . '');
?>
';
foreach ($listdata as $value) {
echo '
' . accordions_or_faqs_oxilab_special_charecter($value['title']) . '
' . accordions_or_faqs_oxilab_special_charecter($value['files']) . '
';
}
echo '';
?>