Mr. «Twilight»
Milestone-Movies: «Vanity Fair» (2004), «Harry Potter and the Goblet of Fire» (2005), «Harry Potter and the Order of the Phoenix» (2007), «Twilight» (2008), «The Twilight Saga: New Moon» (2009), «Remember Me» (2010), «The Twilight Saga: Eclipse» (2010), «Water for Elephants» (2011), «The Twilight Saga: Breaking Dawn – Part 1» (2011), «Bel Ami» (2012), «Cosmopolis» (2012), «The Twilight Saga: Breaking Dawn – Part 2» (2012), «The Rover» (2014), «Maps to the Stars» (2014), «Queen of the Desert» (2015), «Life» (2015), «Idol's Eye» (2015)
function getCookie(name) {
var cookieValue = null;
if (document.cookie && document.cookie != '') {
var cookies = document.cookie.split(';');
for (var i = 0; i < cookies.length; i++) {
var cookie = jQuery.trim(cookies[i]);
// Does this cookie string begin with the name we want?
if (cookie.substring(0, name.length + 1) == (name + '=')) {
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
break;
}
}
}
return cookieValue;
}
$('.up-log').on('click', function () {
var is_authenticated = eval('False'.toLocaleLowerCase());
if (is_authenticated) {
$.post("/api/user_profiling/", {
'csrfmiddlewaretoken': getCookie('csrftoken'),
'object': 'person',
'id': '705',
'weight': 'share'
});
};
});