get_row("SELECT * FROM ".$wpdb->prefix."bannerstyles WHERE bann_status='ON'"); $i=1; // i is declare to identify the last li of the banner $result = $wpdb->get_results("SELECT bann_img,bann_imgname,bann_imgurl FROM " . $wpdb->prefix . "bannerimages WHERE bann_imgstatus=1 GROUP BY bann_imgsort DESC"); $get_count = count($result); // Fetching the Published styles of the Banner in the front side $edit_color = explode(',',$banner_show->bann_fontcolor); $banner_thumb = $edit_color[1]; $banner_color = $edit_color[0]; echo ''; echo ''; ?>