Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
Aš turiu user info panelę ir noriu šiek tiek ja apkirpti galite padėti
va:
http://www.tracers.gan.lt/va.bmp
o čia kodas:
<?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 "<center><img border='0' alt='".$locale['on106']."' title='".$locale['on106']."' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></center>\n";
} else {
echo "<center><img border='0' alt='".$locale['on107']."' title='".$locale['on107']."' src='".BASEDIR."images/noimage.gif'></center>\n";
}
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<br><center><A href=\"javascript:show_hide(show_hide1)\">
<img src='".THEME."images/bullet.gif' border=0> <font color=red><b>Administravimas</b></font></a></center>
<div id='show_hide1'></a>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."index.php".$aidlink."'>Administracijos panelė</a><br>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."news.php".$aidlink."'>Rašyti naujieną</a><br>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."articles.php".$aidlink."'>Rašyti straipsnį</a><br>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."submissions.php".$aidlink."'>Pateikimai</a><br>
<script>show_hide(show_hide1)</script></a></div>";
}
/////////////////////
//Script by Nepster//
////////////////////
echo "</a><script>
var linktext=new Array()
linktext[0]=\"kasnors\"
linktext[1]=\"kasnors2\"
linktext[2]=\"Profilio redagavimas\"
linktext[3]=\"Privačios žinutės\"
linktext[4]=\"Narių sąrašas\"
linktext[5]=\"Atsijungti\"
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><a href='".BASEDIR."edit_profile.php' class='side' alt='Profilis' title='Profilis'><img src='".IMAGES."profile.png' alt='' onMouseover=\"show_text(2,'div2')\" onMouseout=\"resetit('div2')\"></a>
<a href='".BASEDIR."messages.php' class='side' alt='Privacios zinutes' title='Privacios zinutes'><img src='".IMAGES."private.png' alt='' onMouseover=\"show_text(3,'div2')\" onMouseout=\"resetit('div2')\"></a>
<a href='".BASEDIR."members.php' class='side' alt='Nariai' title='Nariai'><img src='".IMAGES."users.png' alt='' onMouseover=\"show_text(4,'div2')\" onMouseout=\"resetit('div2')\"></a>
<a href='".BASEDIR."setuser.php?logout=yes' class='side' alt='Atsijungti' title='Atsijungti'><img src='".IMAGES."exit.png' alt='' onMouseover=\"show_text(5,'div2')\" onMouseout=\"resetit('div2')\"></a><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 enaašip=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
enaašip=true
return false
}
}
function positiontip(e){
if (enaašip){
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){
enaašip=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: http://modai.tk','#cccccc', 200)\"; onMouseout=\"hideddrivetip()\"><div align='right'>©</div></a>";
closeside();
?>
Gugiss
Narys
Ekspertas
Pranešimai: 3061
Įstojęs: 2008 Vas. 23 15:02:01
<?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 "<center><img border='0' alt='".$locale['on106']."' title='".$locale['on106']."' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></center>\n";
} else {
echo "<center><img border='0' alt='".$locale['on107']."' title='".$locale['on107']."' src='".BASEDIR."images/noimage.gif'></center>\n";
}
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<br><center><A href=\"javascript:show_hide(show_hide1)\">
<img src='".THEME."images/bullet.gif' border=0> <font color=red><b>Administravimas</b></font></a></center>
<div id='show_hide1'></a>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."index.php".$aidlink."'>Administracijos panelė</a><br>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."news.php".$aidlink."'>Rašyti naujieną</a><br>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."articles.php".$aidlink."'>Rašyti straipsnį</a><br>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."submissions.php".$aidlink."'>Pateikimai</a><br>
<script>show_hide(show_hide1)</script></a></div>";
}
/////////////////////
//Script by Nepster//
////////////////////
echo "</a><script>
var linktext=new Array()
linktext[0]=\"kasnors\"
linktext[1]=\"kasnors2\"
linktext[2]=\"Profilio redagavimas\"
linktext[3]=\"Privačios žinutės\"
linktext[4]=\"Narių sąrašas\"
linktext[5]=\"Atsijungti\"
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><a href='".BASEDIR."edit_profile.php' class='side' alt='Profilis' title='Profilis'><img src='".IMAGES."profile.png' alt='' onMouseover=\"show_text(2,'div2')\" onMouseout=\"resetit('div2')\"></a>
<a href='".BASEDIR."messages.php' class='side' alt='Privacios zinutes' title='Privacios zinutes'><img src='".IMAGES."private.png' alt='' onMouseover=\"show_text(3,'div2')\" onMouseout=\"resetit('div2')\"></a>
<a href='".BASEDIR."members.php' class='side' alt='Nariai' title='Nariai'><img src='".IMAGES."users.png' alt='' onMouseover=\"show_text(4,'div2')\" onMouseout=\"resetit('div2')\"></a>
<a href='".BASEDIR."setuser.php?logout=yes' class='side' alt='Atsijungti' title='Atsijungti'><img src='".IMAGES."exit.png' alt='' onMouseover=\"show_text(5,'div2')\" onMouseout=\"resetit('div2')\"></a><br>";
echo "<i><span id=\"div2\"> </span></i>";
closeside();
?>
MMOG.lt - atrask naują pasaulį
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
va ka meta Parse error: syntax error, unexpected $end in /home/ufnersky/tracers.gan.lt/infusions/user_info_panel/user_info_panel.php on line 62
MAnjack
Garbės narys
Legenda
Pranešimai: 11821
Įstojęs: 2006 Kov. 2 20:03:58
Virš ?> įdėk }
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
aciu labai bet dabar atsitiko tiap, kad kai atsijunges nera isvis jokios paneles prisijungti arba uzsiregistruoti
Hardrock
Garbės narys
Generolas
Pranešimai: 1086
Įstojęs: 2005 Geg. 12 23:05:47
Po tavo įdėtu } pridėk 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";
}
Peršokti į forumą:
Žaliems
Nebeegzistuojančios svetainės
Bendri PHP-F klausimai
WordPress
Kiti PHP, HTML, MySQL klausimai
Expert PHP, MySQL klausimai
Kitos TVS
C#, Python, Java, JS, C++ klausimai
Naujų modų pristatymai
Mods, Panels & Infusions
Themes
Dalinuosi, dovanoju!
Jūsų saitai
Klausimai apie domenus ir hostingus
VPS/DS serverių konfigūravimas ir valdymas
Viskas apie skaitliukus, top'us ir lankomumą
Dizaino konkursai
Parduodu - perku dizainą, banerį
Parduodu - perku - keičiuosi reklama
Parduodu - perku domeną, tinklapį
Siūlau - ieškau hostingo/VPS serverio
Parduodu - perku skriptą, modifikaciją, tvs
Socialiniai tinklai - Facebook ir kiti
Legalus verslas, teisiniai klausimai
Visa kita kas susiję su darbu ir pinigais
LTStartups.com - Lietuvos startuolių bendruomenė
Off-Topic diskusijos
IT naujienos
Portalo informacija
Narių pasiūlymai
Geležis ir programinė įranga
Grafika
Out Of Place
Su e-verslu nesusijęs darbas ir prekyba
Dalinuosi, dovanoju!