Navigacija

Vartotojų tinkle

Prisijungusių svečių: 36
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,966
Naujausias narys: LnKnPrK1

Naujausi straipsniai

Paskutiniai nariai

LnKnPrK1 6 dienos
inti 2 savaitės
kileedyg 9 savaitės
Reikalas15 savaitės
Kižas16 savaitės
Bruksnys17 savaitės
laleceylan5018 savaitės
minimukas19 savaitės
N-2021 savaitės
Rytis22 savaitės
DjArtas23 savaitės
WolfHammer23 savaitės
Nostesi34 savaitės
Wisedocs34 savaitės
asdasdddz37 savaitės
Paslapties K...39 savaitės
Audrius_1741 savaitės
Simbijanas53 savaitės
Karinacraft54 savaitės
Žmogus57 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 216.73.216.11
Naujienų: 529
Straipsnių: 235
Temų: 52,591
Postų: 522,551
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

LnKnPrK1
2026 Bir. 21 09:06:52
Sveiki, gal kas is administracijos gali parasyti man PM,aciu

minimukas
2026 Vas. 21 08:02:25
oi oi akinanti šypsen yra dar cia gyvu? akinanti šypsen

N-20
2026 Vas. 6 21:02:05
O mes dar gyvi šypsosi)

WolfHammer
2026 Sau. 25 01:01:35
drovus

Žmogus
2025 Geg. 31 10:05:18
Kas geresnio? šypsosi

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Lygio rodymas forume
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Mods, Panels & Infusions

Autorius: alvydas54 Peržiūrų: 786      Spausdinti temą
2011 Sau. 30 17:01:56          1 žinutė iš 1
Spausdinti pranešimą
Sveiki,
Kaip reikia padaryti, kad pvz as dabar turiu user_info_panel kur rodo nario lygy. Ir kaip reikia padaryti kad forume visi matytu to nario lygy po avataru.

Cia as turiu biski persidares ta panele (user_info_panel)

<?php
////////////////////////////////////
//php-fusion.co.uk - digimonas/////
//////////////////////////////////
//modded by modding.bendras.com//
////////////////////////////////
//By nepster :)////////////////
//////////////////////////////
 
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
if (iMEMBER) {
openside($userdata['user_name']);
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
 
if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n<hr>";
 
if ($userdata['user_avatar'] != "") {
echo "";
} else {
echo "";
}
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<br><center><A href=\"javascript:show_hide(show_hide1)\">
 
<div id='show_hide1'></a>
<script>show_hide(show_hide1)</script></a></div>"
;
}
/////////////////////
//Script by Nepster//
////////////////////
echo "</a><script>
var linktext=new Array()
var ns6=document.getElementById&&!document.all
var ie=document.all
function show_text(thetext, whichdiv){
if (ie) eval(\"document.all.\"+whichdiv).innerHTML=linktext[thetext]
else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[thetext]
}
function resetit(whichdiv){
if (ie) eval(\"document.all.\"+whichdiv).innerHTML=' '
else if (ns6) document.getElementById(whichdiv).innerHTML=' '
}
</script>"
;
echo "<br><br>";
echo "<i><span id=\"div2\"> </span></i>";
echo "<br><hr>";
///////////////////////////
include_once INCLUDES."exp_include.php";
showexp($userdata['user_id'],$userdata['user_posts'], "1");
 
} else {
openside($locale['060']);
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='"
.FUSION_SELF."'>
"
.$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
"
.$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='"
.$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='"
.$locale['064']."' class='button'><br>
</form>
<br>\n"
;
if ($settings['enable_registration']) {
echo "".$locale['065']."<br><br>\n";
}
echo $locale['066']."
</div>\n"
;
}
echo "<style type=\"text/css\">
#dhtmltooltip{
position: absolute;
width: 150px;
border: 2px solid black;
padding: 2px;
background-color: lightyellow;
visibility: hidden;
z-index: 100;
filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
}
</style>"
;
echo "<div id=\"dhtmltooltip\"></div><script type=\"text/javascript\">
var offsetxpoint=-60
var offsetypoint=20
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all[\"dhtmltooltip\"] : document.getElementById? document.getElementById(\"dhtmltooltip\") : \"\"
function ietruebody(){
return (document.compatMode && document.compatMode!=\"BackCompat\")? document.documentElement : document.body
}
function ddrivetip(thetext, thecolor, thewidth){
if (ns6||ie){
if (typeof thewidth!=\"undefined\") tipobj.style.width=thewidth+\"px\"
if (typeof thecolor!=\"undefined\" && thecolor!=\"\") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}
function positiontip(e){
if (enabletip){
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
if (rightedge<tipobj.offsetWidth)
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+\"px\" : window.pageXOffset+e.clientX-tipobj.offsetWidth+\"px\"
else if (curX<leftedge)
tipobj.style.left=\"5px\"
else
tipobj.style.left=curX+offsetxpoint+\"px\"
if (bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+\"px\" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+\"px\"
else
tipobj.style.top=curY+offsetypoint+\"px\"
tipobj.style.visibility=\"visible\"
}
}
function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility=\"hidden\"
tipobj.style.left=\"-1000px\"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}
document.onmousemove=positiontip
</script>"
;
echo"<br></a><a href='http://modding.bendras.com' target='_blank' title='Autoriai' onMouseover=\"ddrivetip('Autoriai: <a href='http://modai.tk','#cccccc',' target='_blank'><span style='color:005C5B'>http://modai.tk','#cccccc',</span></a> 200)\"; onMouseout=\"hideddrivetip()\"><div align='right'>©</div></a>";
closeside();
?>


O cia exp_inculide nezinau ar jums jos reikia bet ydesiu.

<?php
/*---------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit <a href='http://gnu.org' target='_blank'><span style='color:005C5B'>http://gnu.org</span></a>
+----------------------------------------------------*/

if (!defined("IN_FUSION")) { header("Location:../index.php"); exit; }
 
function showexp($exp_user,$exp_posts,$exp_type) {
if (iMEMBER) {
$posts = $exp_posts;
 
$comment = dbcount("(comment_id)", "comments", "comment_name='$exp_user'");
$shoutbox = dbcount("(shout_id)", "shoutbox", "shout_name='$exp_user'");
$rating = dbcount("(rating_id)", "ratings", "rating_user='$exp_user'");
$sum = ($posts+$comment+$shoutbox+$rating+$mod);
 
 
if ($sum <= "1") {$rang = "0";$level = "Naujokas";}
if ($sum >= "1") {$rang = "5";$level = "Bandantis prisijungti";}
if ($sum >= "5") {$rang = "25";$level = "Apsylantis";}
if ($sum >= "25") {$rang = "50";$level = "Savas";}
if ($sum >= "50") {$rang = "100";$level = "Draugas";}
if ($sum >= "100") {$rang = "250";$level = "Geradarys";}
if ($sum >= "250") {$rang = "500";$level = "Puikusis";}
if ($sum >= "500") {$rang = "1000";$level = "Karvedys";}
if ($sum >= "1000") {$rang = "2000";$level = "Kareivis";}
if ($sum >= "2000") {$rang = "4000";$level = "Princas";}
if ($sum >= "4000") {$rang = "10000";$level = "Karalius";}
$poll_posts = $rang;
$opt_posts = ($poll_posts ? number_format(100 / $poll_posts * $sum) : 0);
 
if ($exp_type == "1") {
echo"<br>Lygis: <b>$level</b>
<br>Iki kito: <b>$sum/$rang [$opt_posts%]</b>
<br>
 
<table width='100%' border='1' class='line'><tr><th width='100%'>
<img src='"
.IMAGES."line.gif' title='Procentine linija' height='8' width='$opt_posts%' align='left' >
</td></tr></table>
 
<br>Prane&#240;imø forume: <b>$posts</b>
<br>Prane&#240;imai &#240;aukykloje: <b>$shoutbox</b>
<br>Reitingavimø: <b>$rating</b>
<br>Komentarø: <b>$comment</b>"
;
 
}
 
}
}
 
?>



0 atsakymų
Peršokti į forumą: