Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Klausimai "eDzis"

Parašė Jaunelis· 2009 Vas. 7 01:02:12
#73

<?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_panel($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'] ? "<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 class='side-body-login'><a href='".BASEDIR."edit_profile.php' class='side'>Apra&#240;ymas</a><br>
 <a href='".BASEDIR."messages.php' class='side'>&#222;inut&#235;s</a><br>
 <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";

   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<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 >";
echo "</td>";
} else {
   openside_panel($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&#254;od&#225;?' style='vertical-align:middle;'> <input type='submit' name='login' value='Jungtis' class='button_2'></td>

</tr>
</form>\n";
}
closeside_panel();
?>



megink

Redagavo Jaunelis· 2009 Vas. 7 01:02:40