Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: PRISIJUNGIMAS

Parašė _MaZvE_· 2008 Gru. 1 20:12:48
#1

Sveiki, na redaguoju bei truputi perkoduoju theme, ir sugalvojau imesti prisijungima.Imesti isejo bet kai atsijungi rodo stai ka:








Man reikia prisijungima permesti ten kur apibraugta melynai.Stai user_info_paneles kodas:



<?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) {
   ($userdata['user_name']);
       
     
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
       
        echo "<td class='side-body-login'><img src='".THEME."images/user_info/edit.png' alt=''> <a href='".BASEDIR."redaguoti_profili.php' class='side'>Aprašymas</a><br>
<img src='".THEME."images/user_info/msg.png' alt=''> <a href='".BASEDIR."zinutes.php' class='side'>Žinutės</a><br>
<img src='".THEME."images/user_info/members.png' alt=''> <a href='".BASEDIR."nariai.php' class='side'>".$locale['082']."</a><br>\n";

   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='".THEME."images/user_info/admin.png' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n";
   }
   echo "<img src='".THEME."images/user_info/logout.png' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</a><br><br><br><br>\n</td><td align='right'>";
        echo ($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='50' height='50'><br>\n" : "<img src='".THEME."images/noavatar.gif' border='0' width='50' height='50'>\n")."";
echo "</td>";
} else {
   ($locale['060']);
   echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<div align='center'><a href='".BASEDIR."register.php'><img src='".THEME."images/register.gif' border='0'></a>&nbsp;&nbsp;<a href='".BASEDIR."lostpassword.php'><img src='".THEME."images/remember.gif' border='0'></a></div>
</tr><br>
<tr>
<td align='center'><input type='text' name='user_name' class='textbox_2' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='center'><input type='password' name='user_pass' class='textbox_2' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='center'> <input type='checkbox' name='remember_me' value='y' title='Atsiminti slaptažodį?' style='vertical-align:middle;'> <input type='submit' name='login' value='Jungtis' class='button_2'></td>

</tr>
</form>\n";
}

?>






Gal galit padet?

Redagavo _MaZvE_· 2008 Gru. 1 20:12:05

Parašė _MaZvE_· 2008 Gru. 1 21:12:48
#2

up