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

Parašė ---· 2009 Vas. 4 17:02:59
#3

Kaip tik isijungiau senai kurta dizaina tai ir kodas ten:
         $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
        echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
        echo "<td class='sub-header'><table width='100%' border='0' cellpadding='0' cellspacing='0' style='background-color: #000000;'><tr>";
   if (iMEMBER) {
echo"<td height='35' background='".THEME."images/linija.jpg' class='sub-header'><center>
<a href='".BASEDIR."edit_profile.php' target=''>Profilis</a> |
<a href='".BASEDIR."messages.php' class='side'>&#222;inut&#235;s [naujø: <b><span style='color:#ff0000'>".sprintf($msg_count)."</span></b>]</a>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo " | <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a>";

   }
                echo" | <a href='".BASEDIR."setuser.php?logout=yes' target='_blank'>Atsijungti</a></td>";
} else {
echo" <td height='35' background='".THEME."images/linija.jpg' class='sub-header' style='padding-top:1px;'><center>
    <form name='loginform' method='post' action='".FUSION_SELF."'>
    Vartotojas <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'>
    Slapta&#254;odis <input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'>


<input type='submit' name='login' value='Prisijungti' class='button'>";
if ($settings['enable_registration']) {
      echo " <a href=".BASEDIR."register.php>Registracija</a> | <a href=".BASEDIR."lostpassword.php>Priminti</a><center><br>\n";
   }
   echo"</div>\n";
}



Redagavo ---· 2009 Vas. 4 17:02:16