Dismissible Notices Handler Error: The library can not be used because your version of PHP is too old. You need version 5.5 at least.
WP Review Me Error: The library can not be used because your version of PHP is too old. You need version 5.5 at least.
Hottest Bollywood celebrities at Cannes 2018 | GQ India – Viral News

Hottest Bollywood celebrities at Cannes 2018 | GQ India

Suumaya Lifestyle Limited to Enter Capital Market
05/15/2018
Alliance politics the victor in Karnataka
05/15/2018

Hottest Bollywood celebrities at Cannes 2018 | GQ India


Bollywood celebrities walked the red carpet at the 71st Cannes Film Festival, forming a desi contingent like never before. Everyone from Aishwarya Rai and Deepika Padukone, who were repping their respective  brands, to Nawazuddin Siddique, who was there for his film, Manto, made an appearance. While some Indian stars have become regular fixtures at the event, others were merely making their debuts this year and though both Jim Sarbh and Siddique looked their dapper best, it was the ladies who stole the show. Aishwarya Rai Bachchan returned to Cannes for her 17th appearance at the event, Bollywood’s highest paid female lead, Deepika Padukone, was there for only her second season. Meanwhile, Kangana Ranaut made her debut at the film festival, along with Bollywood actress Huma Qureshi and Pakistani star who was seen opposite Shah Rukh Khan in Raees, Mahira Khan.

The hottest Bollywood celebrities at Cannes 2018

Cannes 2018 began on May 8 and is scheduled to end on May 19. But if the temperature was a little too high around this time at the French Riviera, you can best believe that it was because some of the hottest Bollywood celebrities were in attendance. While Aishwarya Rai was elegant as ever in all her appearances — although the one where she was spotted in a shimmery strapless white number stays with one the longest — Deepika Padukone seemed to favour plunging necklines this season. Kangana Ranaut, on the other hand, has been burning up the red carpet and then some. From the chic, figure-hugging black sari that will remind any Indian man who he is subconsciously partial to the garment to the nude embellished gown, the Queen could not possibly put a wrong foot forward. And with her front-skit red latex dress, she took things to the next level. Meanwhile, Huma Qureshi cut a sharper figure in a suit than most men can manage (take cues from her here), Sonam Kapoor drew inspiration from her recent nuptials for her appearance at the film festival and Mahira Khan’s evening gown from her maiden walk down the Cannes red carpet will ensure you agree that blue is the warmest colour. Check out photos of some of the hottest Bollywood celebrities at Cannes 2018:

Aishwarya Rai

Getty Images

 

Getty Images

 

Instagram/aishwaryaraibachchan_arb

Deepika Padukone

 

Instagram/deepikapadukone

 

Instagram/deepikapadukone

 

Getty Images

Kangana Ranaut

Instagram/stylebyami

 

Instagram/team_kangana_ranaut

 

Instagram/team_kangana_ranaut

 

Huma Qureshi

Getty Images

Mahira Khan

Instagram/mahirahkhan

Sonam Kapoor

Getty Images

NOW READ

How to rock the suit at Cannes, according to Huma Qureshi

Deepika Padukone makes repping India at the Cannes look great

Cannes 2018: What the most stylish men are wearing

> More on Style & Fashion

";
var magazineid = '';

var randomInterval = 15000;
var adDelay = 7000;
var videoadDelay = 3000;
var mobAdDelay = 15000;
var adpause = true;
var currentAdSlot = "";
var currentPos = 0;
var currentScroll;
var firsttime = true, doitfornext = false;
var crossed = false;
// var slottop_leaderboard = leaderboardAd;
// var slottop_mpu = mpuAd;
var ADcont = [];
var storyLeaderboardID = $('.topadbnr:last div').attr("ad-slot-id");
ADcont.push(eval(storyLeaderboardID));
var country_code = "IN";

$(function(){
if(Cookies.get('cn_country'))
{
country_code = Cookies.get('cn_country');
} else {
$.getJSON('https://www.gqindia.com/ip2country.php', function(data) {
country_code = data.country;
});
}
});

$(document).ready(function() {
$.ajaxSetup({ cache: true });
$.getScript('//connect.facebook.net/en_US/sdk.js', function(){
FB.init({
appId: '543661672486127',
version: 'v2.8'
});
FB.XFBML.parse();
});
});

$(window).scroll(function (event) {
currentScroll = $(window).scrollTop()+$(window).height();
if (currentScroll > currentPos)
{
currentPos = currentScroll;
crossed = true;
}
});

function onScrollAutoplayVideo(ifx)
{
ifx[0].contentWindow.playad();
}

function onScrollAutopauseVideo(ifx)
{
ifx[0].contentWindow.pausead();
}

jQuery(window).scroll(function(e){
// Code for inview video autoplay
$('body').find('.video-ads').each(function(index){
if(isScrolledIntoView($(this)))
{
onScrollAutoplayVideo($(this));
}
else
{
onScrollAutopauseVideo($(this));
}
});
// END Code for inview video autoplay
});
// END Window Scroll Handlers

var hidden, state, visibilityChange;
if (typeof document.hidden !== "undefined") {
hidden = "hidden";
visibilityChange = "visibilitychange";
state = "visibilityState";
} else if (typeof document.mozHidden !== "undefined") {
hidden = "mozHidden";
visibilityChange = "mozvisibilitychange";
state = "mozVisibilityState";
} else if (typeof document.msHidden !== "undefined") {
hidden = "msHidden";
visibilityChange = "msvisibilitychange";
state = "msVisibilityState";
} else if (typeof document.webkitHidden !== "undefined") {
hidden = "webkitHidden";
visibilityChange = "webkitvisibilitychange";
state = "webkitVisibilityState";
}

var sb_focus = "focused";
window.addEventListener('focus', function() {
sb_focus ='focused';
});

window.addEventListener('blur', function() {
sb_focus = 'not focused';
});

window.onblur = function() { window.blurred = true; };
window.onfocus = function() { window.blurred = false; };

window.addEventListener('message', function(event) {
if (~event.origin.indexOf('https://www.gqindia.com')) {
if(event.data.event && event.data.event == "CN-AD-refresh")
{
if(document[state] != 'visible') { return; }
if(sb_focus == 'not focused') { return; }
if(typeof event.data.slot !== "undefined" && event.data.slot)
{
if($.inArray(event.data.slot, window.cnAdsRefreshArray.leaderboard))
{
clearInterval(ADintervalLeaderboard);
autoADtimerLeaderboard();
}

if(window.cnAdsRefreshArray.mpu.length > 0 && $.inArray(event.data.slot, window.cnAdsRefreshArray.mpu))
{
clearInterval(ADintervalMPU);
autoADtimerMPU();
}
}

if(typeof event.data.slot !== "undefined" && event.data.slot)
{
googletag.cmd.push(function() {
googletag.pubads().refresh([eval(event.data.slot)]);
});
}
}
} else {
return;
}
});

$(document).ready(function() {
var load_start = 0;
var singleEnd = 0 ;
var sb_focus="focused";

window.addEventListener('focus', function() {
sb_focus ='focused';
});

window.addEventListener('blur', function() {
sb_focus = 'not focused';
});

/*webengage 9*/

cnWebengage('article-category', 'article_category', {"category":"Look Good","sub_category":"Style & Fashion"});

$("img.lazy").lazyload({
skip_invisible : true
});

autoADtimerLeaderboard = function() {
ADintervalLeaderboard = window.setInterval(function(){
if(document[state] != 'visible') { return; }
if(sb_focus == 'not focused') { return; }
if(true)
{
var leaderboardAdSlot = $(".topadbnr:last div").attr("ad-slot-id");

googletag.cmd.push(function() {
googletag.pubads().refresh([eval(leaderboardAdSlot)]);
});
}
}, randomInterval);
}

autoADtimerMPU = function() {
ADintervalMPU = window.setInterval(function(){
if(document[state] != 'visible') { return; }
if(sb_focus == 'not focused') { return; }
if(true)
{
var mpuAdSlot = $("div.side-small-adbanner-first div:eq( 2 )").attr("ad-slot-id");
var newAdSlot = $("div.new-ad-unit").attr("ad-slot-id");

if(typeof newAdSlot !== "undefined")
{
googletag.cmd.push(function() {
googletag.pubads().refresh([eval(mpuAdSlot)]);
googletag.pubads().refresh([eval(newAdSlot)]);
});
} else {
var mpuAdSlot = $("div.side-small-adbanner-first div").attr("ad-slot-id");
googletag.cmd.push(function() {
googletag.pubads().refresh([eval(mpuAdSlot)]);
});
}
}
}, randomInterval);
}

autoADtimerLeaderboard();
autoADtimerMPU();

$(window).scroll(function(e) {
if ($(window).scrollTop() >= ($(document).height() - $(window).height() - ($(window).height()*0.2) )) {
infinite_single_json(Articlecount, 0);
}
});

gtmFirstLoad();
$('#single_story_1_139820 .in-story-slideshow').each(function(){
gtmNextArrowTop();
});
// get_related_stories('0','139820','no','2','');
onloadAjax.homePageSliderInit();
});

$(document).on("click",".addFbComment",function(){
var commentMarkup = '';
$(this).parents('div.comment_section').html(commentMarkup);
FB.XFBML.parse();
});

function cn_lr_logout_callback(){
if((!regwall_story||isLoggedIn)&&!isSponsored)
load_instory_cta_ajax('139820', 0, 2, magazineid);
}

function cn_lr_login_cookie_callback(){
if((!regwall_story||isLoggedIn)&&!isSponsored)
load_instory_cta_ajax('139820', 0, 2, magazineid);
}

function check_ref_sub(postid, issue_id, referer, guid, page_no = 0){

$.ajax({
type: 'POST',
url: 'https://www.gqindia.com/wp-admin/admin-ajax.php',
async: false,
data: "action=getsubstatus" + "&postid=" + postid + "&issue_id=" + issue_id + "&referer=" + referer,
success: function (data) {
if (data === ' blocked' || data === 'blocked')
{
var blockedhtml = '

';

setTimeout(function(){
gtmMagazineHomeSubscribe("WebStory Page", "Subscribe Button Impressions");
}, 500);

var pTagCount = 0;
var pETop = 0
var targetPtag;
$.each($("#post-"+postid+" .single-story-body").children('p'),function(){
pTagCount++;
if(pTagCount>2) $(this).remove();
if(pTagCount==2){ targetPtag = $(this); pETop = $(this).offset().top;}
});
var pTagCount = 0;
var sETop = 0
$.each($("#post-"+postid+" .slide"),function(){
pTagCount++;
if(pTagCount>regwallSlides){ $(this).append(blockedhtml); $(this).addClass('regwalled-slide');var regSlider = $(this).parents('div.cycle-slideshow'); $(this).prev('.instory-slide-counter').hide(); }
if(pTagCount>(parseInt(regwallSlides)+1)){ $(this).prev('.instory-slide-counter').remove(); $(this).remove(); }
if(pTagCount==regwallSlides) sETop = $(this).offset().top;
});

if(typeof targetPtag !== "undefined" && (pETop < sETop || sETop == 0)) { targetPtag.after(blockedhtml); } if(pETop>sETop&&sETop!=0) pETop = sETop;
if(pETop==0) pETop = sETop;
$.each($("#post-"+postid+" .single-story-body").children(),function(){
if(pETop!=0&&$(this).offset().top>pETop&&!$(this).hasClass('subscription_popup_single')) $(this).remove();
});
$.each($("#post-"+postid).children(),function(){
if(pETop!=0&&$(this).offset().top>pETop&&!$(this).hasClass('nextbutton')&&!$(this).hasClass('socialShare'))
{
if(pETop!=sETop){} else $(this).remove();
}
});
$("#post-"+postid+" .storyLink").remove();

if(guid != '' && guid !== undefined){ load_subscription_btn_1(guid); }else{ $('.button1_popup').remove(); }

} else if(data === ' blockedref' || data === 'blockedref') {

}
}
});
}

var ctaFallback = "";
//load cta
function load_instory_cta_ajax(post_id, pageNumber,category_id, magazineid){
var ctaSlot = "CTA_" + post_id + "_" + pageNumber + "_1";
var ctaHtml = get_instory_cta_dfp(ctaSlot);
insert_cta_html(post_id, ctaHtml);
$.ajax({
url: action_url+'?action=get_instory_cta_ajax',
type:'POST',
data: {"page_no":pageNumber,'post_id': post_id, 'isLoggedIn' : isLoggedIn,'category_id':category_id,'magazineid' : magazineid}
}).done(function(data) {
data = JSON.parse(data);
ctaFallback = data.cta1;
if(ctaFallback == "Fallback") $("#div-gpt-ad-"+ctaSlot).html(ctaFallback);
$(".cta_holder-"+pageNumber+"-b").html(data.cta2);
});
}

//Get Related Stories Ajax
function get_related_stories(pageNumber, post_id, sponsored, category_id, topic_ids) {
$.ajax({
url: action_url+'?action=related_story_ajax',
type:'POST',
data: {"page_no":pageNumber,'post_id': post_id,'sponsored':sponsored,'category_id':category_id,'rel_ids':$("#get_all_post_ids").val(),'topic_ids':topic_ids}
}).done(function(data) {
$("#related-stories-"+pageNumber).html(data);
onloadAjax.homePageSliderInit();
});
}

//get instory CTA
function get_instory_cta_dfp(ctaSlot)
{
var deviceSlot = "[[848,218],[848,200],[848,250],[848,150]]";
if (isMobile.any()) {
deviceSlot = "[[320,157]]";
}
var ctaHtml = "

";
setTimeout(function(){
if($("#div-gpt-ad-"+ctaSlot).height() == 0){
$("#div-gpt-ad-"+ctaSlot).replaceWith(ctaFallback);
}
}, 2000);
return ctaHtml;
}

function insert_cta_html(post_id, ctaHtml){
if(isMobile.any())
{
if($("#post-"+post_id+" .single-story-body").children('p').length > 1 && $("#post-"+post_id+" .single-story-body .slide").length > 1)
{
if($("#post-"+post_id+" .single-story-body").children('p').eq(1).offset().top > $("#post-"+post_id+" .single-story-body .slide").eq(1).offset().top )
{
$("#post-"+post_id+" .single-story-body .slide").eq(1).after(ctaHtml);
} else {
$("#post-"+post_id+" .single-story-body").children('p').eq(1).after(ctaHtml);
}
} else {
if($("#post-"+post_id+" .single-story-body").children('p').length > 2)
{
$("#post-"+post_id+" .single-story-body").children('p').eq(1).after(ctaHtml);
} else {
$("#post-"+post_id+" .single-story-body .slide").eq(1).after(ctaHtml);
}
}
} else {
if($("#post-"+post_id+" .single-story-body").children('p').length>2)
$("#post-"+post_id+" .single-story-body").children('p').eq(1).after(ctaHtml);
}
}

//ad check
googletag.cmd.push(function() {
googletag.pubads().addEventListener('slotRenderEnded', function(e) {
if(e.isEmpty){
if($("#"+e.slot.getSlotElementId()).hasClass("instory_cta")){
$("#"+e.slot.getSlotElementId()).replaceWith(ctaFallback);
if(!ctaFallback) ctaFallback = "Fallback";
}
$("#"+e.slot.getSlotElementId()).parent(".adinsert").slideUp(400);
if(!$("#native_story .native-story-ad").is(":visible")&&!$(".topadbnr").is(":visible")){$("#native_story").remove();singleNativeCarousel = false;isSingleNativeCarousel=false;$(".topadbnr").show(); $("body").css({paddingTop:parseInt($("#navBar").outerHeight())+"px"});}
} else {
$("#"+e.slot.getSlotElementId()).parent(".adinsert").slideDown(400);
}
});
});

//Get Next Story
function infinite_single_json(pageNumber, animation) {
if (typeof(animation)==='undefined') animation = 0;
$('.loader_img:last').show();
var get_all_post_ids = $("#get_all_post_ids").val();
var all_post_ids_arr = new Array();
all_post_ids_arr = get_all_post_ids.split(",");
var next_article_id = all_post_ids_arr[(parseInt(pageNumber) - 1 )];
if(next_article_id&&typeof(next_article_id)!=='undefined')
{
if($("#single_story_"+(parseInt(pageNumber))+'_'+next_article_id).length == 0)
{
if(load_start==0)
{
load_start = 1;
var action_url = 'https://www.gqindia.com/wp-admin/admin-ajax.php';
$.ajax({
url: action_url+'?action=infinite_single_json',
type:'POST',
data: {"page_no":pageNumber,'get_all_post_ids':get_all_post_ids}
}).done(function(data) {
load_start = 0;Articlecount++;
data = JSON.parse(data);

if(!data.sponsored_status&&!isLoggedIn) singleStoryCookie(data.article_id);
isSponsored = data.sponsored_status

ADPostId = data.article_id;

$(".next_article:last").hide();
if(!data.is_mobile)
{
$( ".topadbnr:first" ).remove();
}

data.page_no_i = data.page_no + 1;
data.encoded_permalink = encodeURI(data.permalink);

//related Stories start
var sponsored = 'no';
if(data.sponsored_status) sponsored = 'yes';
var topic_tags = [];
$.each(data.topic_tags,function(index,tag){
topic_tags.push(tag.term_id);
});
// get_related_stories(data.page_no,data.article_id,sponsored,data.category_term_id,topic_tags.join(','));
if(!data.sponsored_status) load_instory_cta_ajax(data.article_id,data.page_no,data.category_term_id,data.magazineid);

//mustache code
var template = $('#template').html();
Mustache.parse(template); // optional, speeds up future uses
var rendered = Mustache.render(template, data);
if(Cookies.get('cn_bid'))
{
dataLayerBID = Cookies.get('cn_bid');
re = new RegExp("<%shareBid%>", "g");
rendered = rendered.replace(re, dataLayerBID);
}
$('#main-content').append(rendered);
$("img.lazy").lazyload({
skip_invisible : true
});

if(data.issue_id)
{
marketing_text = data.marketing_text;
check_ref_sub(data.article_id, data.issue_id, 'internal', data.guid, data.page_no);
}

var google_category = $(".topadbnr:last").attr('data-google-category');
var sponsor_ad = $(".topadbnr:last").attr('data-sponsor-story');
var is_sponsored = $(".topadbnr:last").attr("data-is-sponsored");
var leaderboardcode = $(".topadbnr:last").attr("data-leaderboard-code");
var mpucode = $(".topadbnr:last").attr("data-mpu-code");

if(!data.is_magazine)
{
$("#topadbnr").html(data.leaderboard_ad);
if(!data.is_mobile)
{
$('div.side-small-adbanner-first').html(data.mpu_ad);
}
}
leaderboardAd = data.leaderboard_ad;
mpuAd = data.mpu_ad;

var storyLeaderboardID = $('#topadbnr div').attr("ad-slot-id");
ADcont[0] = eval(storyLeaderboardID);

if(!data.is_mobile)
{
dfpCount = 0;
totalInterval = 0;
clearInterval(ADintervalLeaderboard);
autoADtimerLeaderboard();
clearInterval(ADintervalMPU);
autoADtimerMPU();
}

var currentDiv = $("#single_story_"+(parseInt(pageNumber))+'_'+next_article_id);
cnReplaceUrlandTitle(currentDiv.attr("data-post-title"), currentDiv.attr("data-link"));
gtmSingleContinuousScroll();
if(!data.is_mobile)
{
$('#single_story_1_'+data.article_id+' .in-story-slideshow').each(function(){
gtmNextArrowTop();
});
}
if(animation==1)
{
if(isMobile.any())
{
$("html, body").animate({
scrollTop: $("#single_story_"+(parseInt(pageNumber))+'_'+next_article_id).offset().top - $("header").outerHeight() - $('#topadbnr').outerHeight() + 5
}, 600, 'linear');
} else {
$("html, body").animate({
scrollTop: $("#single_story_"+(parseInt(pageNumber))+'_'+next_article_id).offset().top - $("#navBar").outerHeight() - $('#topadbnr').outerHeight()
}, 600, 'linear');
}
}
onloadAjax.initAll();
});
}
} else {
if(animation==1)
{
if(isMobile.any())
{
$("html, body").animate({
scrollTop: $("#single_story_"+(parseInt(pageNumber))+'_'+next_article_id).offset().top - $("header").outerHeight() - $('#topadbnr').outerHeight() + 5
}, 600, 'linear');
} else {
$("html, body").animate({
scrollTop: $("#single_story_"+(parseInt(pageNumber))+'_'+next_article_id).offset().top - $("#navBar").outerHeight() - $('#topadbnr').outerHeight()
}, 600, 'linear');
}
}
}
} else {
load_start = 1;
$('.loader_img:last').hide();
$('.nextb:last').hide();
$('.next_story_down:last').hide();
$('footer.copyright').show();
}
}

function load_subscription_btn_1(guid) {
$.ajax({
type: 'GET',
url: "https://ecom.cnidigital.in/get-campaign-products-by-slug.php",
data: "guid=" + guid,
success: function (data) {
if (data.error == 1) {

} else {
subscription_button_html(data, guid);
}
}
});
}

function subscription_button_html(data, guid) {
var output = data;
var product1 = output.products[0];
var product2 = output.products[1];
updateButtonHtml(product1, 1, guid);
updateButtonHtml(product2, 2, guid);
}

function updateButtonHtml(product, target, campaignSlug) {
if (product == undefined) {
$(document).find('.subscribe_part').removeClass('active');
$(document).find('.button'+target+'_popup').remove();
} else {
var title = product.name;
if (product.desc) title = replace_brand_title($('

').html(product.desc).text());
var originalPrice = product.regular_price;
var salePrice = product.discount_price;
var productId = product.id;
if (salePrice == undefined) {
salePrice = originalPrice;
var buttonHtml = '₹ ' + salePrice + '

' + title + '

';
} else {
var buttonHtml = '₹ ' + originalPrice + '₹ ' + salePrice + '

' + title + '

';
}
$('.button'+target+'_popup').data('price', salePrice);
$(document).find('.button'+target+'_popup').html(buttonHtml);
applyIntPrice(originalPrice, salePrice, target);
}
}

function replace_brand_title(title) {
title = title.toUpperCase();
title = title.replace("GQ - ", "");
title = title.replace("GQ-", "");
title = title.replace("GQ", "");
title = title.trim();
title = title.replace(/ /gi,'');
return title;
}

function applyIntPrice(originalPrice, salePrice, target){
if(country_code=="INT")
{
$.ajax({
type: 'POST',
url: "https://api.fixer.io/latest?symbols=INR,USD&base=INR",
success: function (data) {
result = data.rates.USD;
originalPrice = originalPrice * result;
originalPrice = originalPrice.toFixed(2);
salePrice = salePrice * result;
salePrice = salePrice.toFixed(2);
$('.button'+target+'_popup').data('price', salePrice);
$('.button'+target+'_popup .salePrice').html('$ ' + salePrice);
$('.button'+target+'_popup .strike').html('$ ' + originalPrice);
}
});
}
}

function createCookie(name, value, days) {
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
var expires = "; expires=" + date.toGMTString();
} else var expires = "";
document.cookie = name + "=" + value + expires + "; path=/";
}
var keys = {
37: 1,
38: 1,
39: 1,
40: 1
};

function preventDefault(e) {
e = e || window.event;
if (e.preventDefault) e.preventDefault();
e.returnValue = false;
}

function preventDefaultForScrollKeys(e) {
if (keys[e.keyCode]) {
preventDefault(e);
return false;
}
}

function disableScroll() {
if (window.addEventListener) // older FF
window.addEventListener('DOMMouseScroll', preventDefault, false);
window.onwheel = preventDefault; // modern standard
window.onmousewheel = document.onmousewheel = preventDefault; // older browsers, IE
window.ontouchmove = preventDefault; // mobile
document.onkeydown = preventDefaultForScrollKeys;
document.addEventListener('touchmove', function(evt) {
evt.preventDefault();
});
$('html').on('scroll touchmove mousewheel', function(e) {
e.preventDefault();
e.stopPropagation();
return false;
})
$('html,body').css('height', $(window).height() - 50);
$('html,body').css('overflow', 'hidden');
}



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *