getThumbNailWidth(); if(!$thumbNailWidth) $thumbNailWidth = 50; $screenWidth = $deviceInfo->deviceScreenWidth(); $mobileSpecifications = returnMobileFontSize($screenWidth,$deviceInfo->deviceScreenHeight()); if(!$mobileSpecifications['fontsize']) $mobileSpecifications['fontsize'] = 100; */ $conf_header = array(); $section_sponsor = array(); $submenu_class = array(); $mobileFontSize = 10; $fontSize = isset($_GET['sz'])&&$_GET['sz']!="" ? $_GET['sz'] : ""; if(isset($fontSize)) { setcookie("voa_font", $fontSize, time()+3600*24*365, "/", ''); if($fontSize == 's') { $mobileFontSize = 10; $body_style = ""; $fontsize_s = ' class="sel_font" '; }elseif($fontSize == 'm') { $mobileFontSize = 12; $body_style = " style='font:12px Arial'"; $fontsize_s = ' class="sel_font" '; }elseif($fontSize == 'l') { $mobileFontSize = 14; $body_style = " style='font:14px Arial'"; $fontsize_s = ' class="sel_font" '; } } if(!empty($_COOKIE['voa_font']) && $fontSize == '') { if($_COOKIE['voa_font'] == 's') { $mobileFontSize = 10; $body_style = " style='font:10px Arial'"; $fontsize_s = ' class="sel_font" '; }elseif($_COOKIE['voa_font'] == 'm') { $mobileFontSize = 12; $body_style = " style='font:12px Arial'"; $fontsize_l = ' class="sel_font" '; }elseif($fontSize == 'l') { $mobileFontSize = 14; $body_style = " style='font:14px Arial'"; $fontsize_s = ' class="sel_font" '; } }elseif(empty($_COOKIE['voa_font']) && $fontSize == ''){ $mobileFontSize = 10; $body_style = " style='font:10px Arial'"; $fontsize_m = ' class="sel_font" '; } if($special_section=='VOA'){ define("VOA_IMAGES", get_mcstatic_domain()."/images/wap/mc/voa"); /*Header Logo*/ $conf_header["HPLOGO"]["HOME"] = VOA_IMAGES."/home_icon.png"; $conf_header["HPLOGO"]["MCLOGO"] = VOA_IMAGES."/moneycontrol_logo.png"; /*Header Menu*/ $conf_header["MENU"][] = array("MENU_NM"=>"Home","MENU_IMG"=>VOA_IMAGES."/voa_home.jpg","URL"=>WAP_SITE_LINK."vote-on-account-2014/"); #$conf_header["MENU"][] = array("MENU_NM"=>"Flashes","MENU_IMG"=>VOA_IMAGES."/flashes.gif","URL"=>WAP_SITE_MORE_LINK."voa_listing.php?sec=flashes"); $conf_header["MENU"][] = array("MENU_NM"=>"News","MENU_IMG"=>VOA_IMAGES."/news.gif","URL"=>WAP_SITE_MORE_LINK."voa_listing.php?sec=news"); $conf_header["MENU"][] = array("MENU_NM"=>"Voices","MENU_IMG"=>VOA_IMAGES."/voices.gif","URL"=>WAP_SITE_MORE_LINK."voa_listing.php?sec=voices"); $conf_header["MENU"][] = array("MENU_NM"=>"Progress Reports","MENU_IMG"=>VOA_IMAGES."/progress.gif","URL"=>WAP_SITE_MORE_LINK."voa_listing.php?sec=progress_reports"); $conf_header["MENU"][] = array("MENU_NM"=>"Videos","MENU_IMG"=>VOA_IMAGES."/video.gif","URL"=>WAP_SITE_MORE_LINK."voa_listing.php?sec=videos"); /*Header SUBMENU*/ $submenu_class["HEADER"] = "gd15"; $submenu_class["FOOTER"] = "gl15"; $conf_header["SUBMENU"][] = array("MENU_NM"=>"News","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."news/"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Markets","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."stocksmarketsindia/"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Portfolio","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."portfolio.php?type=today"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Messages","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."mmb/"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Live TV","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."live_tv.php?type=cnbc"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Video","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."view_video.php/"); /*Header Sponsors*/ $conf_header["SPONSOR"][] = array("TAG"=>"Presented by","IMG"=>VOA_IMAGES."/vodafone.gif","URL"=>"http://www.vodafone.com"); $conf_header["SPONSOR"][] = array("TAG"=>"Associate sponsor","IMG"=>VOA_IMAGES."/airtel.gif","URL"=>"http://www.vodafone.com"); $conf_header["SPONSOR"][] = array("TAG"=>"Sponsor","IMG"=>VOA_IMAGES."/idea.gif","URL"=>""); $section_sponsor["NEWS"]= array("TAG"=>"Sponsor","IMG"=>VOA_IMAGES."/kotak.gif","URL"=>"","ACTIVE"=>"1"); $section_sponsor["VIDEOS"]= array("TAG"=>"Sponsor","IMG"=>VOA_IMAGES."/kotak.gif","URL"=>"","ACTIVE"=>"1"); $section_sponsor["VOICES"]= array("TAG"=>"Sponsor","IMG"=>VOA_IMAGES."/kotak.gif","URL"=>"","ACTIVE"=>"1"); $section_sponsor["PROGRESS_REPORTS"]= array("TAG"=>"Sponsor","IMG"=>VOA_IMAGES."/kotak.gif","URL"=>"","ACTIVE"=>"1"); }else if($special_section=='IM'){ define("VOA_IMAGES", get_mcstatic_domain()."/images/wap/mc/eom/"); /*Header Logo*/ $conf_header["HPLOGO"]["MCLOGO"] = VOA_IMAGES."eyeonmoney.png"; /*Header Menu*/ $conf_header["MENU"][] = array("MENU_NM"=>"Mutual Funds","MENU_IMG"=>VOA_IMAGES."mutu_icon.png","URL"=>WAP_SITE_LINK."investment360/?cat=mutual_funds"); $conf_header["MENU"][] = array("MENU_NM"=>"Insurance","MENU_IMG"=>VOA_IMAGES."insu_icon.png","URL"=>WAP_SITE_LINK."investment360/?cat=insurance"); $conf_header["MENU"][] = array("MENU_NM"=>"Property","MENU_IMG"=>VOA_IMAGES."pro_icon.png","URL"=>WAP_SITE_LINK."investment360/?cat=property"); $conf_header["MENU"][] = array("MENU_NM"=>"Tax","MENU_IMG"=>VOA_IMAGES."text_icon.png","URL"=>WAP_SITE_LINK."investment360/?cat=tax"); $conf_header["MENU"][] = array("MENU_NM"=>"Stocks","MENU_IMG"=>VOA_IMAGES."stock_button.png","URL"=>WAP_SITE_LINK."investment360/?cat=stocks"); /*Header SUBMENU*/ $submenu_class["HEADER"] = "b_15"; $submenu_class["FOOTER"] = "gry_15"; $conf_header["SUBMENU"][] = array("MENU_NM"=>"News","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."news/"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Markets","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."stocksmarketsindia/"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Portfolio","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."portfolio.php?type=today"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Messages","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."mmb"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Live TV","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."tv/"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Video","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."view_video.php"); /*Header SUBSECTIONMENU*/ $conf_header["SUBSECTIONMENU"]["Mutual Funds"][] = array("MENU_NM"=>"Ask the expert","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=mutual_funds&sec=ask_expert"); $conf_header["SUBSECTIONMENU"]["Mutual Funds"][] = array("MENU_NM"=>"Expert Advice","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=mutual_funds&sec=news"); $conf_header["SUBSECTIONMENU"]["Mutual Funds"][] = array("MENU_NM"=>"Myths & Facts","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=mutual_funds&sec=myths"); $conf_header["SUBSECTIONMENU"]["Mutual Funds"][] = array("MENU_NM"=>"Chat","URL"=>"https://m.moneycontrol.com/investment360/chat.php?cat=mutual_funds"); $conf_header["SUBSECTIONMENU"]["Mutual Funds"][] = array("MENU_NM"=>"Videos","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=mutual_funds&sec=videos"); $conf_header["SUBSECTIONMENU"]["Insurance"][] = array("MENU_NM"=>"Ask the expert","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=insurance&sec=ask_expert"); $conf_header["SUBSECTIONMENU"]["Insurance"][] = array("MENU_NM"=>"Expert Advice","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=insurance&sec=news"); $conf_header["SUBSECTIONMENU"]["Insurance"][] = array("MENU_NM"=>"Myths & Facts","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=insurance&sec=myths"); $conf_header["SUBSECTIONMENU"]["Insurance"][] = array("MENU_NM"=>"Chat","URL"=>"https://m.moneycontrol.com/investment360/chat.php?cat=insurance"); $conf_header["SUBSECTIONMENU"]["Insurance"][] = array("MENU_NM"=>"Videos","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=insurance&sec=videos"); $conf_header["SUBSECTIONMENU"]["Property"][] = array("MENU_NM"=>"Ask the expert","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=property&sec=ask_expert"); $conf_header["SUBSECTIONMENU"]["Property"][] = array("MENU_NM"=>"Expert Advice","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=property&sec=news"); $conf_header["SUBSECTIONMENU"]["Property"][] = array("MENU_NM"=>"Myths & Facts","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=property&sec=myths"); $conf_header["SUBSECTIONMENU"]["Property"][] = array("MENU_NM"=>"Chat","URL"=>"https://m.moneycontrol.com/investment360/chat.php?cat=property"); $conf_header["SUBSECTIONMENU"]["Property"][] = array("MENU_NM"=>"Videos","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=property&sec=videos"); $conf_header["SUBSECTIONMENU"]["Tax"][] = array("MENU_NM"=>"Ask the expert","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=tax&sec=ask_expert"); $conf_header["SUBSECTIONMENU"]["Tax"][] = array("MENU_NM"=>"Expert Advice","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=tax&sec=news"); $conf_header["SUBSECTIONMENU"]["Tax"][] = array("MENU_NM"=>"Myths & Facts","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=tax&sec=myths"); $conf_header["SUBSECTIONMENU"]["Tax"][] = array("MENU_NM"=>"Chat","URL"=>"https://m.moneycontrol.com/investment360/chat.php?cat=tax"); $conf_header["SUBSECTIONMENU"]["Tax"][] = array("MENU_NM"=>"Videos","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=tax&sec=videos"); $conf_header["SUBSECTIONMENU"]["Stocks"][] = array("MENU_NM"=>"Ask the expert","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=stocks&sec=ask_expert"); $conf_header["SUBSECTIONMENU"]["Stocks"][] = array("MENU_NM"=>"Expert Advice","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=stocks&sec=news"); $conf_header["SUBSECTIONMENU"]["Stocks"][] = array("MENU_NM"=>"Myths & Facts","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=stocks&sec=myths"); $conf_header["SUBSECTIONMENU"]["Stocks"][] = array("MENU_NM"=>"Chat","URL"=>"https://m.moneycontrol.com/investment360/chat.php?cat=stocks"); $conf_header["SUBSECTIONMENU"]["Stocks"][] = array("MENU_NM"=>"Videos","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=stocks&sec=videos"); /*Header Sponsors*/ $conf_header["SPONSOR"][] = array("TAG"=>"","IMG"=>VOA_IMAGES."eom_sponsor.png","URL"=>"http://xads.zedo.com/ads2/c?a=1865784;g=0;c=1656000824;i=0;x=24320;n=1656;s=11;te=1394953199;k=http://m.franklintempleton.in"); }else if($special_section=='IE'){ define("VOA_IMAGES", "https://images.moneycontrol.com/images/wap/mc/eom/"); /*Header Logo*/ $conf_header["HPLOGO"]["MCLOGO"] = VOA_IMAGES."Investorlogo.png"; /*Header Menu*/ /* $conf_header["MENU"][] = array("MENU_NM"=>"Mutual Funds","MENU_IMG"=>VOA_IMAGES."mutu_icon.png","URL"=>WAP_SITE_LINK."investment360/?cat=mutual_funds"); $conf_header["MENU"][] = array("MENU_NM"=>"Insurance","MENU_IMG"=>VOA_IMAGES."insu_icon.png","URL"=>WAP_SITE_LINK."investment360/?cat=insurance"); $conf_header["MENU"][] = array("MENU_NM"=>"Property","MENU_IMG"=>VOA_IMAGES."pro_icon.png","URL"=>WAP_SITE_LINK."investment360/?cat=property"); $conf_header["MENU"][] = array("MENU_NM"=>"Tax","MENU_IMG"=>VOA_IMAGES."text_icon.png","URL"=>WAP_SITE_LINK."investment360/?cat=tax"); $conf_header["MENU"][] = array("MENU_NM"=>"Stocks","MENU_IMG"=>VOA_IMAGES."stock_button.png","URL"=>WAP_SITE_LINK."investment360/?cat=stocks"); */ /*Header SUBMENU*/ $submenu_class["HEADER"] = "b_15"; $submenu_class["FOOTER"] = "gry_15"; $conf_header["SUBMENU"][] = array("MENU_NM"=>"News","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."news/"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Markets","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."stocksmarketsindia/"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Portfolio","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."portfolio.php?type=today"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Messages","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."mmb"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Live TV","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."tv/"); $conf_header["SUBMENU"][] = array("MENU_NM"=>"Video","MENU_IMG"=>"","URL"=>WAP_SITE_LINK."view_video.php"); /*Header SUBSECTIONMENU*/ /* $conf_header["SUBSECTIONMENU"]["Mutual Funds"][] = array("MENU_NM"=>"Ask the expert","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=mutual_funds&sec=ask_expert"); $conf_header["SUBSECTIONMENU"]["Mutual Funds"][] = array("MENU_NM"=>"Expert Advice","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=mutual_funds&sec=news"); $conf_header["SUBSECTIONMENU"]["Mutual Funds"][] = array("MENU_NM"=>"Myths & Facts","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=mutual_funds&sec=myths"); $conf_header["SUBSECTIONMENU"]["Mutual Funds"][] = array("MENU_NM"=>"Chat","URL"=>"https://m.moneycontrol.com/investment360/chat.php?cat=mutual_funds"); $conf_header["SUBSECTIONMENU"]["Mutual Funds"][] = array("MENU_NM"=>"Videos","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=mutual_funds&sec=videos"); $conf_header["SUBSECTIONMENU"]["Insurance"][] = array("MENU_NM"=>"Ask the expert","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=insurance&sec=ask_expert"); $conf_header["SUBSECTIONMENU"]["Insurance"][] = array("MENU_NM"=>"Expert Advice","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=insurance&sec=news"); $conf_header["SUBSECTIONMENU"]["Insurance"][] = array("MENU_NM"=>"Myths & Facts","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=insurance&sec=myths"); $conf_header["SUBSECTIONMENU"]["Insurance"][] = array("MENU_NM"=>"Chat","URL"=>"https://m.moneycontrol.com/investment360/chat.php?cat=insurance"); $conf_header["SUBSECTIONMENU"]["Insurance"][] = array("MENU_NM"=>"Videos","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=insurance&sec=videos"); $conf_header["SUBSECTIONMENU"]["Property"][] = array("MENU_NM"=>"Ask the expert","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=property&sec=ask_expert"); $conf_header["SUBSECTIONMENU"]["Property"][] = array("MENU_NM"=>"Expert Advice","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=property&sec=news"); $conf_header["SUBSECTIONMENU"]["Property"][] = array("MENU_NM"=>"Myths & Facts","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=property&sec=myths"); $conf_header["SUBSECTIONMENU"]["Property"][] = array("MENU_NM"=>"Chat","URL"=>"https://m.moneycontrol.com/investment360/chat.php?cat=property"); $conf_header["SUBSECTIONMENU"]["Property"][] = array("MENU_NM"=>"Videos","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=property&sec=videos"); $conf_header["SUBSECTIONMENU"]["Tax"][] = array("MENU_NM"=>"Ask the expert","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=tax&sec=ask_expert"); $conf_header["SUBSECTIONMENU"]["Tax"][] = array("MENU_NM"=>"Expert Advice","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=tax&sec=news"); $conf_header["SUBSECTIONMENU"]["Tax"][] = array("MENU_NM"=>"Myths & Facts","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=tax&sec=myths"); $conf_header["SUBSECTIONMENU"]["Tax"][] = array("MENU_NM"=>"Chat","URL"=>"https://m.moneycontrol.com/investment360/chat.php?cat=tax"); $conf_header["SUBSECTIONMENU"]["Tax"][] = array("MENU_NM"=>"Videos","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=tax&sec=videos"); $conf_header["SUBSECTIONMENU"]["Stocks"][] = array("MENU_NM"=>"Ask the expert","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=stocks&sec=ask_expert"); $conf_header["SUBSECTIONMENU"]["Stocks"][] = array("MENU_NM"=>"Expert Advice","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=stocks&sec=news"); $conf_header["SUBSECTIONMENU"]["Stocks"][] = array("MENU_NM"=>"Myths & Facts","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=stocks&sec=myths"); $conf_header["SUBSECTIONMENU"]["Stocks"][] = array("MENU_NM"=>"Chat","URL"=>"https://m.moneycontrol.com/investment360/chat.php?cat=stocks"); $conf_header["SUBSECTIONMENU"]["Stocks"][] = array("MENU_NM"=>"Videos","URL"=>WAP_SITE_LINK."investment360/section_list.php?cat=stocks&sec=videos"); */ /*Header Sponsors*/ $conf_header["SPONSOR"][] = array("TAG"=>"","IMG"=>VOA_IMAGES."Bajaj-logo.jpg","URL"=>"http://www.bajajallianz.com/Corp/life-insurance/life-insurance.jsp"); } $user_name = getUserName(); ?>