Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=93)
-   -   Tiger Login (http://www.bvlist.com/showthread.php?t=4446)

joeroberts 9th February 2010 02:45

please show me your login.php

wMan 9th February 2010 02:53

me ?

joeroberts 9th February 2010 02:54

no his he got redirect working as the page he showed as being messed up is login.php so I need to see it to see Y it is showing like he has short tags disabled
http://i48.tinypic.com/rk0nzt.jpg

wMan 9th February 2010 08:43

replace all code till

PHP Code:

case "nozaudeta_parole": { 

with this

PHP Code:

<?php
if (defined('IN_PMBT'))die ("You can't include this file");
define('IN_PMBT'true);
require_once(
"include/config.php");
echo 
'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">';
echo 
"<html>\n";
echo 
"<head>\n";
echo 
'<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
echo 
'<script type="text/javascript" language="JavaScript" src="bbcode.js"></script>';
echo 
'<!--[if lt IE 7]><script defer type="text/javascript" src="pngfix.js"></script><![endif]-->';
echo 
"<title>".$sitename."</title>\n";
if (
is_readable("themes/$theme/favicon.ico")) { 
echo 
'<link REL="shortcut icon" HREF="themes/!!!CHANGE ME!!!/favicon.ico" TYPE="image/x-icon">'
}
$reason "";
if (
is_banned($user$reason)) {
echo 
'<meta http-equiv="refresh" content="0;url=ban.php?reson=';echo".urlencode($reason)."">\n";die();
}
if (
is_readable("themes/$theme/style.css")) {
echo 
'<link rel="StyleSheet" href="themes/!!!CHANGE ME!!!/style.css" type="text/css"><script type="text/javascript" src="global.js"></script>';
}
$logintop '<center><img src="themes/!!!CHANGE ME!!!/pics/logosmall.png"></center>
<table width="100%" cellpadding="0" cellspacing="0"> 
<tr> 
<td class="headerMenuRow1" width="100%" colspan="2" nowrap>Not registred ? <a href="login.php?op=jauns_lietotajs">signup</a><a href="login.php?op=nozaudeta_parole">Lost password ?</a> 
</td> 
</tr> 
</table> 
<table width="100%" cellpadding="0" cellspacing="0"> 
<tr> 
<td width="100%" valign="top"> 
<table width="410" cellpadding="0" cellspacing="0" style="margin:0px auto"><tr><td></td></tr></table> 
<table cellpadding="0" cellspacing="1" width="410" class="gridTable" style="margin:0px auto">'
;
$loginbottom '</table></td></tr><td class="gridFooter2" width="100%"></td></table>';
echo
"</head><body>";
switch (
$op) { 
case 
"ienakt": {
echo 
"$logintop";
echo 
'<form method="POST" action="user.php';
echo 
".$returnto."
echo
' ><input type="hidden" name="op" value="login" />
<tr> 
<td class="gridRow1" nowrap>Nick</td> 
<td width="100%" class="gridRow1"><input class="textarea" type="text" name="username" size="34" /></td> 
</tr>

<tr> 
<td class="gridRow1" nowrap>Pass</td> 
<td width="100%" class="gridRow1"> 
<input class="textarea" type="password" name="password" size="34" /> 
</td> 
</tr>

<tr> 
<td class="gridFooter" colspan="2"> 
<center><input class="button" type="submit" value="Login" /></center> 
</td> 
</tr>
</form>'
;
echo 
"$loginbottom";
break;
}

and report if that works for you

and change all !!!CHANGE ME!!! to name of ur theme


All times are GMT +2. The time now is 18:44.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.