Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
|
Kaip padaryti, kad svečias matytu pvz viewpage.php?page_id=2 o narys viewpage.php?page_id=3 ? toj pačioj vietoj
Koks yra tavo vardas? |
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
Nelabai supratau, bet gali su https://webdnd.com/readarticle.p...icle_id=86 funkciją padaryti
|
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
|
nzn žiūrėjau kažkaip ten ne taip, nes aš user_info_panėlėje tipo <a href='/viewpage.php?page_id=2'>Svečiams info</a> o kai prisijungi ten pat pasikeičia <a href='/viewpage.php?page_id=3'>Nariams info</a>
Koks yra tavo vardas? |
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
Nu tai čia su ta funcija taip padaroma
|
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
|
bet nesuprantu kur ta kodą terpti bent pavizdėli kas parodykite pvz jei svečias tai jau ne member kažka kita reik ar kaip čia?
Koks yra tavo vardas?
Redagavo Haked 2008 Rugp. 16 22:08:27 |
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
if (!MEMBER) {
echo"<a href='/viewpage.php?page_id=3'>Nariams info</a>";
} else {
echo"<a href='/viewpage.php?page_id=2'>Svečiams info</a>";
}
|
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
|
ačiū 10 tau ;) ups db pamačiau error meta Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/ufnersky/siteurl mano/infusions/user_info_panel/user_info_panel.php on line 177
kaip susitvarkyti va user_info_panel
<?php
////////////////////////////////////
//php-fusion.co.uk - digimonas/////
//////////////////////////////////
//Mooded By SilverSlash, `Lucky, Gynejas//
////////////////////////////////
//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 {
}
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>";
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."user_info_panel/locale/English.php";
}
($locale['lsup000']);
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,10");
echo "<table cellpadding='0' cellspacing='0' width='100%'>";
if (dbrows($result) != 0) {
while ($data = dbarray($result)) {
$lastseen = time() - $data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
}
}
echo "
<hr>
<br>
<center><b>Mano ekstros</b></center><br>
<img src='".THEME."images/bullet.gif'> <a href='/viewpage.php?page_id=2'>Buk V.I.P</a><br>
<hr>
<br>
<center><b>Mano meniu</b></center><br>
if (!MEMBER) {
echo"<a href='/downloads.php'>Failų galerija</a>";
} else {
echo"<a href='/viewpage.php?page_id=3'>Failų galerija</a>";
}
<hr>
<b><img src='".BASEDIR."/infusions/user_info_panel/images/4.gif'>Statistika:</b><br>";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo "<span class='small'>° Paskutinis:</span> ".$locale['on117']."<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side' title='".$data['user_name']."'>".trimlink($data['user_name'], 12)."</a><br />\n";
$tag1= date('d');
$tag1= date('d');
$monat1= date('m');
$jahr1= date('Y');
$hanfang = mktime(0,0,0,$monat1,$tag1,$jahr1);
$hende = mktime(23,59,59,$monat1,$tag1,$jahr1);
$ganfang = mktime(0,0,0,$monat1,$tag1-1,$jahr1);
$gende = mktime(23,59,59,$monat1,$tag1-1,$jahr1);
echo "<span class='small'>° Iš viso narių:</span> ".$locale['on100'].number_format(dbcount("(user_id)", "users", "user_status<='1'"))."<br />\n";
echo "</table>";
closeside();
?>
Koks yra tavo vardas?
Redagavo Haked 2008 Rugp. 16 22:08:52 |
---
Narys
Viršesnis už Dievą
Pranešimai: 5618
Įstojęs: 2007 Bir. 3 19:06:09
|
<?php
////////////////////////////////////
//php-fusion.co.uk - digimonas/////
//////////////////////////////////
//Mooded By SilverSlash, `Lucky, Gynejas//
////////////////////////////////
//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 {
}
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>";
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."user_info_panel/locale/English.php";
}
($locale['lsup000']);
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,10");
echo "<table cellpadding='0' cellspacing='0' width='100%'>";
if (dbrows($result) != 0) {
while ($data = dbarray($result)) {
$lastseen = time() - $data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
}
}
echo "
<hr>
<br>
<center><b>Mano ekstros</b></center><br>
<img src='".THEME."images/bullet.gif'> <a href='/viewpage.php?page_id=2'>Buk V.I.P</a><br>
<hr>
<br>
<center><b>Mano meniu</b></center><br>
if (!MEMBER) {
echo"<a href='/downloads.php'>Failų galerija</a>";
} else {
echo"<a href='/viewpage.php?page_id=3'>Failų galerija</a>";
}
echo"<hr>
<b><img src='".BASEDIR."/infusions/user_info_panel/images/4.gif'>Statistika:</b><br>";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo "<span class='small'>° Paskutinis:</span> ".$locale['on117']."<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side' title='".$data['user_name']."'>".trimlink($data['user_name'], 12)."</a><br />\n";
$tag1= date('d');
$tag1= date('d');
$monat1= date('m');
$jahr1= date('Y');
$hanfang = mktime(0,0,0,$monat1,$tag1,$jahr1);
$hende = mktime(23,59,59,$monat1,$tag1,$jahr1);
$ganfang = mktime(0,0,0,$monat1,$tag1-1,$jahr1);
$gende = mktime(23,59,59,$monat1,$tag1-1,$jahr1);
echo "<span class='small'>° Iš viso narių:</span> ".$locale['on100'].number_format(dbcount("(user_id)", "users", "user_status<='1'"))."<br />\n";
echo "</table>";
closeside();
?>
Turi veikt
|
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
|
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/ufnersky/pivot-lt.xz.lt/infusions/user_info_panel/user_info_panel.php on line 177 va
Koks yra tavo vardas? |
---
Narys
Viršesnis už Dievą
Pranešimai: 5618
Įstojęs: 2007 Bir. 3 19:06:09
|
Va
<?php
////////////////////////////////////
//php-fusion.co.uk - digimonas/////
//////////////////////////////////
//Mooded By SilverSlash, `Lucky, Gynejas//
////////////////////////////////
//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 {
}
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 panele</a><br>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."news.php".$aidlink."'>Rašyti naujiena</a><br>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."articles.php".$aidlink."'>Rašyti straipsni</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]=\"Privacios žinutes\"
linktext[4]=\"Nariu saraš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>";
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."user_info_panel/locale/English.php";
}
($locale['lsup000']);
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,10");
echo "<table cellpadding='0' cellspacing='0' width='100%'>";
if (dbrows($result) != 0) {
while ($data = dbarray($result)) {
$lastseen = time() - $data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
}
}
echo "
<hr>
<br>
<center><b>Mano ekstros</b></center><br>
<img src='".THEME."images/bullet.gif'> <a href='/viewpage.php?page_id=2'>Buk V.I.P</a><br>
<hr>
<br>
<center><b>Mano meniu</b></center><br>";
if (!MEMBER) {
echo"<a href='/downloads.php'>Failu galerija</a>";
} else {
echo"<a href='/viewpage.php?page_id=3'>Failu galerija</a>";
}
echo"<hr>
<b><img src='".BASEDIR."infusions/user_info_panel/images/4.gif'>Statistika:</b><br>";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo "<span class='small'>° Paskutinis:</span> ".$locale['on117']."<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side' title='".$data['user_name']."'>".trimlink($data['user_name'], 12)."</a><br />\n";
$tag1= date('d');
$tag1= date('d');
$monat1= date('m');
$jahr1= date('Y');
$hanfang = mktime(0,0,0,$monat1,$tag1,$jahr1);
$hende = mktime(23,59,59,$monat1,$tag1,$jahr1);
$ganfang = mktime(0,0,0,$monat1,$tag1-1,$jahr1);
$gende = mktime(23,59,59,$monat1,$tag1-1,$jahr1);
echo "<span class='small'>° Iš viso nariu:</span> ".$locale['on100'].number_format(dbcount("(user_id)", "users", "user_status<='1'"))."<br />\n";
echo "</table>";
closeside();
?>
|
---
Narys
Viršesnis už Dievą
Pranešimai: 5618
Įstojęs: 2007 Bir. 3 19:06:09
|
nu tj pakeisk i downloads.php
|
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
|
ir tada visi matys downloads.php o aš noriu, kad svečiai wiewpage matytu o nariai downloads.php
srry už flood supratau klaida kur buvo (!MEMBER) reikėjo (iMEMBER) vistiek gotnix 10 tau
Koks yra tavo vardas?
Redagavo Haked 2008 Rugp. 16 23:08:04 |