Panelių bazė
Sveiki, jūs panelių bazėje.
Neaktyvuotų panelių: 0
Viso panelių: 377
Ieškoti panelės
Neaktyvuotų panelių: 0
Viso panelių: 377
Ieškoti panelės
Panelės peržiūra
Pavadinimas | User_Info_panele+Pakvetimu sistema |
Įdėjo | gipsy - Pateikta: 2011-11-16 - Peržiūrėta: 5470 |
Aprašymas | User_Info_panele+Pakvetimu sistema |
Panelė | Code openside("Vartotojo zona/Pakvetimai");
if (!defined("IN_FUSION")) { die("Access Denied"); }
if (iMEMBER) {
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
if(iMEMBER) {
echo "<center><span style='color:white'><strong>Tavo nuoroda:</strong></span></center>
http://www.bhop.LT/invite.php?invite=".$userdata['user_id'];
closeside();
}
if(iMEMBER) {
$result = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$userdata['user_id']."'"));
echo "<center><span style='color:silver'>Tu jau pakvietes</span> <b>$result</b> <span style='color:silver'>draugus</span></center>";
}
echo "<table border='0' cellspacing='0' cellpadding='0' align=\"center\" style=\"padding-left: 0px;\"><tr><td>\n";
if ($userdata['user_avatar'] != "") {
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' height='100' style='border: 0px solid #FFF'>\n";
} else {
echo "<a href='edit_profile.php' target='_blank'><img src='".BASEDIR."images/noav.gif' width='100' height='100' border='0'>\n";
}
echo"</td></tr></table>";
echo "<a href='".BASEDIR."edit_profile.php' class='a'>Redaguoti profilį</a><br>
<a href='".BASEDIR."messages.php' class='a'>Žinutės (naujų: ".sprintf($msg_count).")</a><br>
<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='a'>Mano profilis</a><br>
<a href='".BASEDIR."members.php' class='a'>Narių sarašas</a><br>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['global_123']."</a><br />\n";
}
echo "<a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['global_124']."</a>\n";
if ($msg_count) { echo "<br /><br /><div style='text-align:center'><strong><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a></strong></div>\n"; }
} else {
echo "<br><div align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
<span style='padding-left: 19px; font-family: Tahoma; font-size: 10px; color:#ffffff;'>Vardas:</span>
<input type='text' name='user_name' class='pass' value='' onBlur=\"if(this.value=='') this.value='';\" onFocus=\"if(this.value=='') this.value='';\"><br>
<img src='".THEME."images/bg_l.png' alt=''><br>
<span style='font-family: Tahoma; font-size: 10px; color:#ffffff;'>Slaptažodis:</span>
<input type='password' name='user_pass' class='pass' value='' onBlur=\"if(this.value=='') this.value='';\" onFocus=\"if(this.value=='') this.value='';\"><br>
<span style='padding: 0px 0px 0px 25px;'>
<input type='checkbox' name='remember_me' value='y' title='Prisiminti mane'>
<span style='font-family: Tahoma; font-weight: bold; font-size: 10px; color:#dadada;'>Prisiminti mane</span></span>
<input type='submit' name='login' value='' class='inne'>
</form>\n";
if ($settings['enable_registration']) {
echo "<img src='".THEME."images/bg_l.png' alt=''><br>
<a href='".BASEDIR."register.php' ><span style='font-family: Tahoma; font-weight: bold; font-size: 10px;'>Dar ne narys? Užsiregistruok!</a></span><br>
<a href='".BASEDIR."lostpassword.php' ><span style='font-family: Tahoma; font-weight: bold; font-size: 10px;'>Pamiršai slaptažodį? Gauk naują!</a></span>\n";
}
echo "</div>\n";
}
$result = dbquery("SELECT * FROM `".DB_PREFIX."invites` GROUP by `invite_user_id` ORDER by COUNT(*) DESC LIMIT 5");
echo "<table class='tbl-border' width='100%'>";
while ($data = dbarray($result)) {
$time = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$data['invite_user_id']."'"));
$data2 = dbarray(dbquery("SELECT * FROM `".DB_PREFIX."users` WHERE `user_id`='".$data['invite_user_id']."'"));
echo "<tr><td class='tbl2' align='left'>
<a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."'
title='Perюiыrлti ".$data2['user_name']." profilб'>".$data2['user_name']."</a></td><td align='right' class='tbl1'>
$time</td></tr>";
}
echo "</table>";
closeside(); |
Rašyti komentarą
Turite prisijungti, norėdami parašyti komentarą.
Zmogus prase paneles su pakvetimais.
Stai Foto:
http://www.part.l...b81995.PNG
Nieko gero bet smagu kad daliniesi
Tau kai paziuri nieko gero. :D
Cia seip nera toks gera tokia panele ,ce tik reikejo zmogui sito kad sudeciau viska i viena uzvien ir padalinau kam reiks tas pasinaudos.
BL cia mano kurta panele!!! :D
Tu gal su galva nebendrauji ,kokia dar tavo panele
is savo senesnes paneles User_info_panele
Dedejau pakvetimu koda ir viskas. :)
geras
13 eilutei sintakses klaida:d
Kaip istaisyt 13eilutes klaida?