News:

Wondering if this will always be free?  See why free is better.

Main Menu

φορμα εισοδου smf

Started by entergeozax, January 05, 2009, 12:26:04 PM

Previous topic - Next topic

entergeozax

γεια σας, παρακατω σας δινω εναν κωδικα ο οποιος λειτουργει ως φορμα εισοδου για το smf 1.1.x και για το smf 2.x

html code
<dt>Εισάγετε τα στοιχεία σας</dt>
            <dd><form action="http://www.simplemachines.org/community/index.php?action=login" method="post" target="_top">

<div align="center">
  <center>

<table width="100%" cellpadding="4" cellspacing="0" border="0" class="forumline" style="border-collapse: collapse" bordercolor="#111111">
  <tr>
   <th height="25" class="thHead" nowrap="nowrap" bgcolor="#FF6600"><font color="#FFFFFF">Είσοδος μέλους</font></th>
  </tr>
  <tr>
   <td class="row1" bgcolor="#FFFFFF">
    <table border="0" cellpadding="3" cellspacing="0" width="100%" style="border-collapse: collapse" bordercolor="#111111">
        <tr>
         <td width=45%" align="center"><span class="gen">Όνομα χρήστη:</span><font color="#FF0000"><p>
           <input type="text" class="post" name="username" size="7" maxlength="40" value="" />
         </font></td>
        </tr>
        <tr>
         <td align="center"><span class="gen">Κωδικός χρήστη:</span><font color="#FF0000"><p>
           <input type="password" class="post" name="password" size="7" maxlength="32" />
         </font></td>
        </tr>
        <tr align="center">
         <td><span class="gen">Αυτόματη σύνδεση σε κάθε επίσκεψη:
            <input type="checkbox" name="autologin" value="ON" /></span></td>
        </tr>
        <tr align="center">
         <td><input type="hidden" name="redirect" value="" /><input type="submit" name="login" class="mainoption" value="Σύνδεση" /></td>
        </tr>
        <tr align="center">
         <td><span class="gensmall">
            <a href="http://www.simplemachines.org/community/index.php?action=register">
            <font color="#0000FF">Εγγραφή</font></a></p>
            <a href="http://www.simplemachines.org/community/index.php?action=reminder">
            <font color="#0000FF">Ξεχάσατε τον κωδικό σας;</font></a></span></td>

        </tr>
      </table></td>
  </tr>
</table>

  </center>
</div>

</form></dd>


εσεις το μονο που εχετε να κανετε ειναι να αντικαταστησετε τα url του κωδικα με τα δικα σας url.

edit code:

find:
<dd><form action="http://www.simplemachines.org/community/index.php?action=login" method="post" target="_top">

replace with:
<dd><form action="http://www.my_site.com/index.php?action=login" method="post" target="_top">

find:
<a href="http://www.simplemachines.org/community/index.php?action=register">

replace with:
<a href="http://www.my_site.com/index.php?action=register">

find:
<a href="http://www.simplemachines.org/community/index.php?action=reminder">

replace with:
<a href="http://www.my_site.com/index.php?action=reminder">

Advertisement: