get_var("SELECT option_value FROM " . $wpdb->prefix . "options WHERE option_name='get_api_key'");
$get_title = unserialize($option_title);
$strDomainName = $site_url;
preg_match("/^(http:\/\/)?([^\/]+)/i", $strDomainName, $matches);
$customerurl = $matches[2];
$customerurl = str_replace("www.", "", $customerurl);
$customerurl = str_replace(".", "D", $customerurl);
$customerurl = strtoupper($customerurl);
$get_option_title = appbanner_generate($customerurl);
if ($get_title['title'] != $get_option_title) { ?>
get_results("SELECT t2.bann_height,t1.* FROM " . $wpdb->prefix . "bannerimages as t1 INNER JOIN
" . $wpdb->prefix . "bannerstyles as t2 WHERE t1.bann_imgstatus='1' and t2.bann_status='ON' ORDER BY t1.bann_imgsort ASC");
foreach($result as $res)
{ ?>