in main.php find
PHP Code:
else{
$loginbox = "<form method=\"POST\" action=\"user.php".$returnto."\">\n<input type=\"hidden\" name=\"op\" value=\"login\" />\n
<p>"._btusername."<input type=\"text\" name=\"username\" size=\"20\" />\n<br>"._btpassword."<input type=\"password\" name=\"password\" size=\"20\" />\n</p>\n";
if ($gfx_check) {
$rnd_code = strtoupper(RandomAlpha(5));
$loginbox .= "<p>"._btsecuritycode."<img src=\"gfxgen.php?code=".base64_encode($rnd_code)."\" alt=\"Security Code\" width=\"15\" height=\"30\">\n<input type=\"text\" name=\"gfxcode\" size=\"10\" maxlength=\"6\">";
$loginbox .= "<input type=\"hidden\" name=\"gfxcheck\" value=\"".md5($rnd_code)."\">\n\n";
}
$loginbox .= "<p><input type=\"submit\" value=\""._btlogin."\" /></p></form>\n";
$loginbox .= "<a href=\"user.php?op=lostpassword\">"._btlostpassword."</a></p>\n\n";
echo $loginbox;
and replace it with
PHP Code:
else{
$loginbox = "<form method=\"POST\" action=\"user.php".$returnto."\">\n<input type=\"hidden\" name=\"op\" value=\"login\" />\n
<p>"._btusername."<input type=\"text\" name=\"username\" size=\"20\" />\n"._btpassword."<input type=\"password\" name=\"password\" size=\"20\" />\n</p>\n";
if ($gfx_check) {
$rnd_code = strtoupper(RandomAlpha(5));
$loginbox .= "<p>"._btsecuritycode."<img src=\"gfxgen.php?code=".base64_encode($rnd_code)."\" alt=\"Security Code\" width=\"77\" height=\"20\">\n<input type=\"text\" name=\"gfxcode\" size=\"10\" maxlength=\"6\">";
$loginbox .= "<input type=\"hidden\" name=\"gfxcheck\" value=\"".md5($rnd_code)."\">\n\n";
$loginbox .= "<input type=\"submit\" value=\""._btlogin."\" /></p></form>\n";
}
else
$loginbox .= "<p><input type=\"submit\" value=\""._btlogin."\" /></p></form>\n";
$loginbox .= "<a href=\"user.php?op=lostpassword\">"._btlostpassword."</a></p>\n\n";
echo $loginbox;
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in
BT.Manager™ forum
My Current Demo is here
http://demo.btmanager.org/