Introduction |
<div class="top-wrpr">
<div class="ienotfication" style="display:none;">
<div class="ienotfication-top">
<label class="ienotfication-txt"><font><font>Votre navigateur n'est pas à jour et ne peut montrer toutes les fonctionnalités du site. </font><font>Pour la meilleure expérience du site </font></font><font><font>s'il vous plaît mettre à jour à la dernière version</font></font><font><font> de votre navigateur. </font></font></label>
<font><font>Ne plus afficher ce message</font></font>
</div>
<div class="ienotfication-btm"></div>
</div>
<script>
var uagent = navigator.userAgent;
var n=uagent.match(/Trident/g);
if(n == null){
if(jQuery.browser.msie&&parseInt(jQuery.browser.version)<8){(function(e,t,n){function r(e){return e}function i(e){return decodeURIComponent(e.replace(s," "))}var s=/\+/g;var o=e.cookie=function(s,u,a){if(u!==n){a=e.extend({},o.defaults,a);if(u===null){a.expires=-1}if(typeof a.expires==="number"){var f=a.expires,l=a.expires=new Date;l.setDate(l.getDate()+f)}u=o.json?JSON.stringify(u):String(u);return t.cookie=[encodeURIComponent(s),"=",o.raw?u:encodeURIComponent(u),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}var c=o.raw?r:i;var h=t.cookie.split("; ");for(var p=0,d=h.length;p<d;p++){var v=h[p].split("=");if(c(v.shift())===s){var m=c(v.join("="));return o.json?JSON.parse(m):m}}return null};o.defaults={};e.removeCookie=function(t,n){if(e.cookie(t)!==null){e.cookie(t,null,n);return true}return false}})(jQuery,document);if(jQuery.cookie("ienotification")==null){jQuery(".ienotfication").fadeIn("slow");var timer=setInterval(function(){jQuery(".ienotfication").fadeToggle("slow")},50000)}else{jQuery(".ienotfication").hide()}jQuery(".ienotfication-lnk").live("click",function(){jQuery(function(){var e="ienotification";jQuery.cookie(e,"test",{expires:1});jQuery(".ienotfication").fadeOut("slow");clearInterval(timer)})});jQuery(".ienotfication-close").live("click",function(){jQuery(this).closest(".ienotfication").fadeOut("slow");clearInterval(timer)})}}
</script>
<script type="text/javascript">
var simsLogoutUrl='http://www.thesims3.com/logout.html';
var wishListUrl = 'http://store.thesims3.com/myWishlist.html?persona=';
function welcomeMsg(){
//personag is the global variable defined by every application
var persona=window.personag;
if(!persona){
persona = '';
}
if (persona){
document.getElementById("personaNameSpan").innerHTML=persona;
document.getElementById("wishList").href=wishListUrl+persona;
// document.getElementById("personaAnchor").href= document.getElementById("personaAnchor").href+persona;
document.getElementById("logoutspan").style.display="inline";
document.getElementById("loginspan").style.display="none";
}else{
document.getElementById("loginspan").style.display="inline";
document.getElementById("logoutspan").style.display="none";
}
}
function simsLogin(){
if (typeof takeToWebLogin != "undefined" && takeToWebLogin==true){
var webloginUrl='https://www.thesims3.com/webLogin.html';
window.location=webloginUrl;
}
if (typeof customLogin === "undefined"){
popup('loginLayer');
}else{
customLogin();
}
}
function simsLogout(){
if (typeof customLogout === "undefined"){
logMeOut(simsLogoutUrl);
}else{
customLogout();
}
}
function logMeOut(logOutUrl)
{
window.location=logOutUrl;
return false;
}
</script>
<div id="logoutspan" style="display: none;">
<div class="fL accnt-wrpr" style="width:146px;float:left;">
</a>
<div class="myaccnt-drpdwn-wrpr hideme">
<div class="myacct-drpdwn-top"></div>
<div class="myacct-drpdwn-mddle">
<ul class="myaccnt-items">
<a href="javascript:takeToStoreMyAccount()"><font><font>Mon compte de magasin</font></font>
<font><font>Ma liste d'envies</font></font>
<font><font>Déconnexion</font></font>
</div>
<div class="myacct-drpdwn-btm"></div>
</div>
</div>
</div>
<div id="loginspan" style="display: inline;">
<div id="loginlink" class="hideMe" style="display:inline;"> <font><font>Connexion</font></font></div><font><font> | </font></font><font><font>Créez un compte!</font></font>
</div>
<script type="text/javascript">
welcomeMsg();
jQuery(document).ready(function() {
jQuery('#loginlink').show();
jQuery("#picker1").birthdaypicker({dateFormat: "middleEndian",maxAge: 113});
jQuery("#picker1 select").change(function () {
if(jQuery(".birth-day").val() ==0 | jQuery(".birth-month").val() == 0 | jQuery(".birth-year").val() == 0 ){jQuery('#continuebtn').hide();jQuery('.dis_continue_btn').show();return false}
else{
jQuery('#continuebtn').show();
jQuery('.dis_continue_btn').hide();}
});
var locale = 'en_US';
var persona=window.personag;
var isAgegateEnabled = 'false';
if('true' == isAgegateEnabled)
{
if ((locale == 'en_US') && (!persona)) {
if (jQuery.cookie("ageverify") == null) {
if(jQuery.cookie("underage") == null){
jQuery('#verifyage').modal({close: false});
simsPopup("verifyage");
}
else{jQuery('#verifyage').modal({close: false});
simsPopup("verifyage");
jQuery('.verifyage_wrpr , .login_verifyage').hide();
jQuery('.verifyage_d_txt').removeClass('wdth100percnt');
jQuery('.verifyage_d_txt').css({"padding":"82px","width":"270px" , "line-height":"1.5"});
jQuery('.verifyage_d_txt').html('Sorry, but you are not eligible to use this service.');
jQuery('.newbluebtn').css({"cursor":"default"});
return false;}
}
}
}
});
</script>
<div class="fL search-wrpr" style="position: relative; float: left;">
<div id="searchbox">
<script type="text/javascript">
function clearSearchBox() {
if (document.forms['searchForm'].headerSearchBox.value == "Search"){
document.forms['searchForm'].headerSearchBox.value = "";
}
}
function enableGoButton(){
if (document.forms['searchForm'].headerSearchSelect.selectedIndex != 0){
} else {
}
}
function manageStoreOption(){
if(document.forms['searchForm'].headerSearchSelect.selectedIndex == 6){
jQuery("#storeCategory").show();
jQuery("#headerSearchBox").autocomplete("enable");
}else{
jQuery("#storeCategory").hide();
jQuery("#headerSearchBox").val("");
jQuery("#headerSearchBox").autocomplete("disable");
}
}
function submitSearchPage(){
if (document.forms['searchForm'].headerSearchBox.value == "Search"){
document.forms['searchForm'].headerSearchBox.value = "";
}
if(document.forms['searchForm'].headerSearchSelect.selectedIndex == 3){
window.location = "http://forum.thesims3.com/jforum/jforum.page?module=search&action=search&match_type=all&search_forum=&sort_by=relevance&search_keywords=" + escape(document.forms['searchForm'].headerSearchBox.value);
return false;
}
else
if(document.forms['searchForm'].headerSearchSelect.selectedIndex == 6 && document.forms['searchForm'].headerSearchBox.value.length > 0){
var sCat = jQuery('#storeCategory option:selected').val();
window.location = 'http://store.thesims3.com'+'/storeSearch.html?sKey='+document.forms['searchForm'].headerSearchBox.value+"&filterByCategory="+sCat;
return false;
}
else {
document.forms['searchForm'].action = "http://www.thesims3.com/globalSearchResult.html";
document.forms['searchForm'].submit();
return true;
}
}
</script>
<form style="margin:0px;" method="get" name="searchForm" accept-charset="UTF-8" onsubmit="return submitSearchPage();">
<font><font>Recherche</font></font>
<div class="serach-drpdwn-wrpr hideme">
<div class="serach-drpdwn-top"></div>
<div class="serach-drpdwn-mddle">
<label class="ArB11 fL mgnB5"><font><font>Recherche rapide:</font></font></label>
<select class="srch-catgry ArB11" onchange="enableGoButton();manageStoreOption();" size="1" id="headerSearchSelect" name="searchCategory">
<option value="0000"><font><font>Recherche Catégorie</font></font></option>
<option value="exchange"><font><font>
La Bourse
</font></font></option>
<option value="members"><font><font>
Membres
</font></font></option>
<option value="Forums"><font><font>
Forums
</font></font></option>
<option value="news"><font><font>
Nouvelles
</font></font></option>
<option value="Movies & More"><font><font>
Films et
</font></font></option>
<option value="store"><font><font>
Magasin
</font></font></option>
</select>
<select class="srch-catgry ArB11 marginT10" id="storeCategory" style="display: block;">
<option value="all"><font><font>Catégorie de magasin</font></font></option>
<option value="premiumcont"><font><font>Premium Content</font></font></option>
<option value="world"><font><font>Mondes</font></font></option>
<option value="venu"><font><font>Lieux</font></font></option>
<option value="sets"><font><font>Ensembles</font></font></option>
<option value="buy"><font><font>Construire / Acheter</font></font></option>
<option value="sim"><font><font>Créer un Sim</font></font></option>
<option value="sale"><font><font>Vente!</font></font></option>
<option value="mygoodi"><font><font>Mes goodies</font></font></option>
</select>
<div class="srch-txtbx-wrpr">
<input class="ArB11 ui-autocomplete-input" id="headerSearchBox" onclick="clearSearchBox();enableGoButton();" name="description" type="text" value="Search" maxlength="50" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true">
</a>
</div>
<label class="bottomlinegray"></label>
<a class="ArB11 fL mgnB5 advncdsrch" href="http://www.thesims3.com/advancedSearch.html"><font><font>Recherche avancée</font></font>
</div>
<div class="serach-drpdwn-btm"></div>
</div>
<input type="hidden" name="sortParam">
<input type="hidden" name="assetStatus">
<input type="hidden" name="officialItemValue">
<input type="hidden" name="featuredItemOnly">
</form>
</div>
</div>
<div class="fL lang-wrpr" style="float: left; margin-left: 24px;*position:relative;margin-top:2px;">
<label class="US-flag"></label>
<div class="lang-drpdwn-wrpr hideme">
<div class="lang-drpdwn-top"></div>
<div class="lang-drpdwn-mddle">
<ul class="lang-list">
<font><font>Dansk</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>Deutsch</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>Anglais</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>español</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>français</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>italiano</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>Magyar</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>Nederlands</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>norsk</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>polski</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>português</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>suomi</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>svenska</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>čeština</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>Ελληνικά</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
<font><font>русский</font></font>
<div class="cntry-list-wrpr hideme">
<div class="cntry-list-top"></div>
<div class="cntry-list-mdle">
</div>
<div class="cntry-list-btm"></div>
</div>
</div>
<div class="lang-drpdwn-btm"></div>
</div>
</div>
<div id="loggedinmenulist" class="rght-wpr fR">
<script type="text/javascript">
var headerStats;
function refreshHeaderStats()
{
eraseCookie("sims3HeaderStats");
headerLoggedInMenu();
}
jQuery(document).bind("updateHeaderStats", refreshHeaderStats);
function headerLoggedInMenu() {
var persona=personag;
if (!persona) {
persona = '';
};
if (persona) {
var statCookie = unescape(getCookie("sims3HeaderStats"));
var grabbedStatsFromCookie = false;
if (statCookie && statCookie != "null") {
if (statCookie.charAt(0) == '"') {
statCookie = statCookie.substring(1, statCookie.length - 1);
};
headerStats = statCookie.split(",");
if (headerStats.length == 6) {
if(headerStats[0] != '0.00'){
document.getElementById("eaBalanceSection").style.display="block";
document.getElementById("eaBalance").innerHTML = headerStats[0];
}
document.getElementById("scBalance").innerHTML = headerStats[1];
document.getElementById("headerNewMessageCount").innerHTML = headerStats[2];
if(headerStats[1] == 0){
document.getElementById("simpointsMsg").style.display="none";
document.getElementById("scBalance").style.display="none";
document.getElementById("buyMoreSimpointsMsg").style.display="block";
}else{
document.getElementById("buyMoreSimpointsMsg").style.display="none";
document.getElementById("simpointsMsg").style.display="block";
document.getElementById("scBalance").style.display="block";
}
document.getElementById("headerPendingFriendRequestCount").innerHTML = headerStats[3];
document.getElementById("cartItem").innerHTML =headerStats[4];
document.getElementById("headerNewGiftMessageCount").innerHTML = headerStats[5];
document.getElementById("headerStatsContent").style.display="block";
grabbedStatsFromCookie = true;
};
}
if (!grabbedStatsFromCookie) {
var httpURL = "http://www.thesims3.com/headerStats.genjs";
var httpsURL = "https://www.thesims3.com/headerStats.genjs";
var head = document.getElementsByTagName("head")[0];
var script = document.createElement("script");
script.setAttribute("type", "text/javascript");
if (window.location.protocol == "https:") {
script.setAttribute("src", httpsURL);
} else {
script.setAttribute("src", httpURL);
};
var callbackFunction = function() {
if (typeof headerStats != "undefined") {
if(headerStats.eaBalance != '0.00'){
document.getElementById("eaBalanceSection").style.display="block";
document.getElementById("eaBalance").innerHTML = headerStats.eaBalance;
}
if(headerStats.scBalance == 0){
document.getElementById("simpointsMsg").style.display="none";
document.getElementById("buyMoreSimpointsMsg").style.display="block";
document.getElementById("scBalance").style.display="none";
}else{
document.getElementById("buyMoreSimpointsMsg").style.display="none";
document.getElementById("simpointsMsg").style.display="block";
document.getElementById("scBalance").style.display="block";
}
document.getElementById("scBalance").innerHTML = headerStats.scBalance;
document.getElementById("headerNewMessageCount").innerHTML = headerStats.newMessageCount;
document.getElementById("headerPendingFriendRequestCount").innerHTML = headerStats.pendingFriendRequestCount;
document.getElementById("cartItem").innerHTML =headerStats.cartItem;
document.getElementById("headerNewGiftMessageCount").innerHTML = headerStats.newGiftMessageCount;
document.getElementById("headerStatsContent").style.display="block";
};
};
script.onreadystatechange = callbackFunction;
script.onload = callbackFunction;
head.appendChild(script);
};
};
};
function replaceLinkPersona(link, persona) {
link.href = link.href.replace("_PERSONA_", persona);
}
function takeToMessages(){
var target="_self";
var persona='';
if (!persona) {
persona = window.personag;
};
var url = 'http://www.thesims3.com/mypage'+'/'+persona+'/mymessages';
window.open(url, target);
}
function takeToPendingFrndReq(){
var target="_self";
var persona='';
if (!persona) {
persona = window.personag;
};
var url = 'http://mypage.thesims3.com'+'/friendslist.html?screenName='+persona+'&friendStatus=PENDING';
window.open(url, target);
}
function takeToBuySimpoints() {
var target="_self";
var url = 'http://store.thesims3.com'+'/buysimpoints';
window.open(url, target);
}
function takeToShoppingCart() {
var target="_self";
var url = 'http://store.thesims3.com'+'/shoppingCart.html';
window.open(url, target);
}
function takeToGiftMessages() {
var target="_self";
var persona='';
if (!persona) {
persona = window.personag;
};
var url = 'http://www.thesims3.com/myMessages.html?type=gift&persona='+persona+'';
window.open(url, target);
}
</script>
<div id="headerStatsContent" class="hideme">
<label id="eaBalanceSection" class="ArB11 nc2 fL hideme"><font><font>Compte EA balance: </font></font><span id="eaBalance" class="nc1"></span></label>
<label class="ArB11 nc3 mgnL20 fL">
<font><font>SimPoints: </font></font>
<font><font>Acheter SimPoints</font></font>
<span class="nc1 fL" style="margin-left:2px;display:none;" id="scBalance"></span>
</label>
<ul class="topicons-wrpr ArB11 mgnL20 fL">
<li class="mail-notify-top" id="headerNewMessageCount" onclick="takeToMessages();">
<li class="frnds-notify-top" id="headerPendingFriendRequestCount" onclick="takeToPendingFrndReq();">
<li class="giftmsg-notify-top" id="headerNewGiftMessageCount" onclick="takeToGiftMessages();">
<li class="cart-notify-top" id="cartItem" onclick="takeToShoppingCart();">
</div>
<script type="text/javascript">
headerLoggedInMenu();
</script>
</div>
</div> Site réalisé avec Webidev :)
|