XFileSharing Pro - Log In - Question

Posts: 16
Joined: Nov 17, 2008 8:57 pm

Log In - Question

#1 Postby ForgottenMemorie » Nov 19, 2008 5:41 pm

I bought XFileSharing Pro.. Yay!

Question: I want my premium customers to be able to login like : http://www.shareator.com/

Code: Select all

What code will i need to add to the index.html ?

User avatar
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Nov 20, 2008 6:43 am

In main.html, after menu code add:

Code: Select all

<a href="<TMPL_VAR site_url>/?op=registration"><b>signup</b></a>   
<a href="<TMPL_VAR site_url>/?op=forgot_pass">forgot pass</a>
<form method="POST" action="<TMPL_VAR site_url>/" name="FL">
<input type="hidden" name="op" value="login">
Login:<input type="text" name="login" value="<TMPL_VAR login_cooked>" class="myForm" size=12>
Password:<input type="password" name="password" class="myForm" size=12>
<input type="image" src="<TMPL_VAR site_url>/images/login.gif" style="margin-bottom:-5px;">