Lappuse 1 no 11
Forums » Ucoz Sistema. » Skripti » Forum grupu krāsas. (Ucoz.)
Forum grupu krāsas.
RewCrewLaiks: Trešdiena, 2011-06-01, 10:45 PM | Raksts : # 1

Grupa: RooT Admin
Raksti: 50
Balvas: 1 
Reputacija: 9  
Aizradijumi:  


Ej Forum -> General appearance of forum pages
Atrodi:

Code

<!-- <body> --><!-- <body> -->$BODY$<!-- </body> --><!-- </body> -->
[/code[

Un aiz koda $BODY$ liec to kodu.  

[code]<?if($PAGE_ID$='main' and $USER_LOGGED_IN$)?>             
<script type="text/javascript">             
var legend = '<b>Grupas: <a href="javascript://" onclick="group(4)" class="groupAdmin">Administrātors<\/a>, <a href="javascript://" onclick="group(3)" class="groupModer">Мoderators<\/a>, <a href="javascript://" onclick="group(2)" class="groupVerify">Pārbaudītie<\/a>, <a href="javascript://" onclick="group(1)">Lietotāji<\/a><\/b>';            
/* Tālāk neko nemainām */             
var userdata = $('td.gTableBody1').find('a[class^="group"]:last');             
if(userdata.html()!=null){userdata.after('<div>'+legend+'<\/div>');}             
function group(id){$.post('/forum/',{user:'',group:id,sort:'0',res:'2',a:'35',p:'1'},function(data){var group=window.open('','','scrollbars=1,resizable=0,menubar=0,toolbar=0,status=0,width=800,height=600');group.document.open('text/html');group.document.write(data);group.document.close();});}             
</script>             
<?endif?>


http://epg.ucoz.lv



Chigāniņč - Gribi maizi?
:) RewCrew - Pimpi laizi ! :)
Forums » Ucoz Sistema. » Skripti » Forum grupu krāsas. (Ucoz.)
Lappuse 1 no 11
Meklēšana: