Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai |
Autorius: Adriano | Peržiūrų: 3322 |
Adriano Narys Pulkininkas Pranešimai: 449 Įstojęs: 2007 Kov. 3 18:03:58 | |
Galit ideti user_info_panel tokia kaip sitam saite bet tik be Vid. įvertinimas ? |
|
liufo Narys Margas Pranešimai: 84 Įstojęs: 2007 Lie. 14 16:07:02 | |
http://www.php-fusion.projektas.....01.x).zip |
|
Adriano Narys Pulkininkas Pranešimai: 449 Įstojęs: 2007 Kov. 3 18:03:58 | |
bet ce yra parasyta su tuo ivertinimu |
|
Qrmiz Narys Generolas Pranešimai: 997 Įstojęs: 2005 Rugs. 4 16:09:21 | |
atsidaryk user_info_panel.php ir viską pažymėjęs ištrink, tada įdėk šitą: <?php /*---------------------------------------------------+ | PHP-Fusion 6 Content Management System +----------------------------------------------------+ | Copyright Ā© 2002 - 2005 Nick Jones | http://www.php-fusion.co.uk/ +----------------------------------------------------+ | Released under the terms & conditions of v2 of the | GNU General Public License. For details refer to | the included gpl.txt file or visit http://gnu.org +----------------------------------------------------*/ if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; } if (iMEMBER) { openside($userdata['user_name']); $sk = 0; $result = dbquery("SELECT * FROM ".$db_prefix."user_ratings WHERE rate_subject = '".$userdata['user_id']."'"); if (dbrows($result)) { while ($data = dbarray($result)) $sk = $sk+$data['rate_opt']; } $vert = (dbrows($result) > 0 ? round($sk/dbrows($result),2) : "Nėra"); $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'"); echo ($userdata['user_avatar'] ? "<center><img src='".IMAGES."avatars/".$userdata['user_avatar']."'></center><br>\n" : "<center>Nėra avataro</center><br>\n")."<br> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n"; if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a><br>\n"; } echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n"; if ($msg_count) echo "<br><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"; } 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"; } closeside(); ?> turėtų veikti |
|
mXt Narys Viršesnis už Dievą Pranešimai: 5775 Įstojęs: 2006 Bir. 9 16:06:09 | |
nu tai issimk *nesikeikiam* ex best admin! Redagavo Qrmiz 2007 Lie. 19 12:07:19 |
|
Athrax Narys Pulkininkas Pranešimai: 378 Įstojęs: 2006 Lie. 1 09:07:22 | |
Qrmiz o gali dar parasyt koda su istrintu "Narių sąrašas" ? Nes as nenoriu ko nors reikalingo istrint ir sugadint, dekui Nuotrauka |
|
liufo Narys Margas Pranešimai: 84 Įstojęs: 2007 Lie. 14 16:07:02 | |
Nu ir bot |
|
souL Narys Kapitonas Pranešimai: 537 Įstojęs: 2007 Kov. 26 16:03:39 | |
<?php Redagavo souL 2007 Lie. 19 13:07:16 |
|
mXt Narys Viršesnis už Dievą Pranešimai: 5775 Įstojęs: 2006 Bir. 9 16:06:09 | |
liufo parašė: Nu ir bot Tu cia toks vienintelis. ex best admin! |
|
Adriano Narys Pulkininkas Pranešimai: 449 Įstojęs: 2007 Kov. 3 18:03:58 | |
Table 'futbolas_7.fusion_user_ratings' doesn't exist sita rodo virs avataro kur qrmiz idejo. ka daryti kad nebutu? |
|
Athrax Narys Pulkininkas Pranešimai: 378 Įstojęs: 2006 Lie. 1 09:07:22 | |
liufo parašė: http://www.php-fusion.projektas.....01.x).zip prie ko cia profile ? ;DDD graudus... Nuotrauka |
|
Qrmiz Narys Generolas Pranešimai: 997 Įstojęs: 2005 Rugs. 4 16:09:21 | |
Nesuprantu kas čia ko prašo... Ar Athrax ar Cristiano7? To Cristiano7: o tu parsisiuntei tą, kur davė liufo? |
|
Athrax Narys Pulkininkas Pranešimai: 378 Įstojęs: 2006 Lie. 1 09:07:22 | |
Qrmiz parašė: Nesuprantu kas čia ko prašo... Ar Athrax ar Cristiano7? To Cristiano7: o tu parsisiuntei tą, kur davė liufo? Taigi liufo dave profile o ne user_info_panel Koks skirtumas kas praso Gali papostint koda ? Nuotrauka |
|
Qrmiz Narys Generolas Pranešimai: 997 Įstojęs: 2005 Rugs. 4 16:09:21 | |
Toks skirtumas, kad vienas prašo vienaip, o kitas kitaip, tai koki man kodą pastint? Šiaip pats laikas būtų išmokt skaityti, reikia tik vieną eilutę ištrinti... še: <?php /*---------------------------------------------------+ | PHP-Fusion 6 Content Management System +----------------------------------------------------+ | Copyright Ā© 2002 - 2005 Nick Jones | http://www.php-fusion.co.uk/ +----------------------------------------------------+ | Released under the terms & conditions of v2 of the | GNU General Public License. For details refer to | the included gpl.txt file or visit http://gnu.org +----------------------------------------------------*/ if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; } if (iMEMBER) { openside($userdata['user_name']); $sk = 0; $result = dbquery("SELECT * FROM ".$db_prefix."user_ratings WHERE rate_subject = '".$userdata['user_id']."'"); if (dbrows($result)) { while ($data = dbarray($result)) $sk = $sk+$data['rate_opt']; } $vert = (dbrows($result) > 0 ? round($sk/dbrows($result),2) : "Nėra"); $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'"); echo ($userdata['user_avatar'] ? "<center><img src='".IMAGES."avatars/".$userdata['user_avatar']."'></center><br>\n" : "<center>Nėra avataro</center><br>\n")."<br> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>\n"; if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a><br>\n"; } echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n"; if ($msg_count) echo "<br><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"; } 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"; } closeside(); ?> |
|
Adriano Narys Pulkininkas Pranešimai: 449 Įstojęs: 2007 Kov. 3 18:03:58 | |
Qrmiz parašė: Nesuprantu kas čia ko prašo... Ar Athrax ar Cristiano7? To Cristiano7: o tu parsisiuntei tą, kur davė liufo? ne nes ten profile.php o ten ta kur koda davej viskas ok tik virs avataro rodo : Table 'futbolas_7.fusion_user_ratings' doesn't exist |
|
Athrax Narys Pulkininkas Pranešimai: 378 Įstojęs: 2006 Lie. 1 09:07:22 | |
viskas oki, tik virs avataro raso "Table 'thecript_jeehu.fusion_user_ratings' doesn't exist" Nuotrauka |
|
Adriano Narys Pulkininkas Pranešimai: 449 Įstojęs: 2007 Kov. 3 18:03:58 | |
man irgi Table 'futbolas_7.fusion_user_ratings' doesn't exist |
|
WantedBoy Narys Ekspertas Pranešimai: 2443 Įstojęs: 2007 Bir. 6 19:06:30 | |
Raso delto kad nario raitingas iki galo neistrintas greitieji kreditai |
|
Qrmiz Narys Generolas Pranešimai: 997 Įstojęs: 2005 Rugs. 4 16:09:21 | |
<?php /*---------------------------------------------------+ | PHP-Fusion 6 Content Management System +----------------------------------------------------+ | Copyright Ā© 2002 - 2005 Nick Jones | http://www.php-fusion.co.uk/ +----------------------------------------------------+ | Released under the terms & conditions of v2 of the | GNU General Public License. For details refer to | the included gpl.txt file or visit http://gnu.org +----------------------------------------------------*/ 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'"); echo ($userdata['user_avatar'] ? "<center><img src='".IMAGES."avatars/".$userdata['user_avatar']."'></center><br>\n" : "<center>Nėra avataro</center><br>\n")."<br> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>\n"; if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a><br>\n"; } echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n"; if ($msg_count) echo "<br><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"; } 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"; } closeside(); ?> |
|
Athrax Narys Pulkininkas Pranešimai: 378 Įstojęs: 2006 Lie. 1 09:07:22 | |
dekui Nuotrauka |
|
Adriano Narys Pulkininkas Pranešimai: 449 Įstojęs: 2007 Kov. 3 18:03:58 | |
Dekui dabar jau viskas veikia... thx |
Peršokti į forumą: |