Respuestas en este Tema


avatar
Administrator

Administrator
la data de Lun Iul 20, 2015 9:22 am
eswti prosteswti prosteswti ^@#!*@%@

Vezi profilul utilizatorului http://gtasa.infinigame.net


avatar
Administrator

Administrator
la data de Lun Aug 31, 2015 6:24 am
$(document).ready(function() {
//Reputação
$(".pun .post .user").each(function(){
$(this).html($(this).html().replace(/ var rep = $(this).text().match(/\d+/g);
$(this).attr('style','background-color: rgb(216, 238, 240);background-image: url(http://i38.servimg.com/u/f38/17/31/71/58/highli10.png);border-top-left-radius: 3px;border-top-right-radius: 3px;border-bottom-right-radius: 3px;border-bottom-left-radius: 3px;color: rgb(41, 168, 213);font-weight: bold;display: block;margin: 0 auto;margin-bottom: 3px;padding: 3px 7px;max-width: 125px;text-align: center;text-shadow: rgba(0, 0, 0, 0.298039) 0px -1px 0px;background-position: 0px 1px;background-repeat: repeat no-repeat;');
$(this).append('');
if(rep == 0) {
$(this).find('.title').text('Neutru');
$(this).find('.title').addClass('rep-red');
$(this).attr('style','background-color: rgb(239, 239, 239)!important;background-image: url(http://i38.servimg.com/u/f38/17/31/71/58/highli10.png);border-top-left-radius: 3px;border-top-right-radius: 3px;border-bottom-right-radius: 3px;border-bottom-left-radius: 3px;color: rgb(162, 195, 208);font-weight: bold;display: block;margin: 0 auto;margin-bottom: 3px;padding: 3px 7px;max-width: 125px;text-align: center;text-shadow: rgba(0,0,0,0.3) 0px -1px 0px;background-position: 0px 1px;background-repeat: repeat no-repeat;');
}
if(rep >= 1 && rep < 10) {
$(this).find('.title').text('Incepator');
$(this).addClass('rep-red');
}
if(rep >= 10 && rep < 25) {
$(this).find('.title').text('Novice');
$(this).addClass('rep-yellow');
}
if(rep >= 25 && rep < 50) {
$(this).find('.title').text('Avansat');
$(this).addClass('rep-yellow');
}
if(rep >= 50 && rep < 65) {
$(this).find('.title').text('Bun');
$(this).addClass('rep-yellow');
}
if(rep >=100) {
$(this).find('.title').text('Excelent');
}
if(rep >=200) {
$(this).find('.title').text('Elite member');
}
if(rep >=700) {
$(this).find('.title').text('Quick - Reply Boss');
}
});
});

Vezi profilul utilizatorului http://gtasa.infinigame.net

Vezi subiectul anterior Vezi subiectul urmator Sus  Mesaj [Pagina 1 din 1]

Utilizatori ce navigheaza in acest forum: Nici unul