1
Twiztid
CSS problem?
  • 2006/10/21 2:24

  • Twiztid

  • Just popping in

  • Posts: 49

  • Since: 2006/7/21


Please take a look at this link for the details of the issue, if anyone can figure this out -- you are a god send.

http://www.lifeisapigsty.com/helpmeplease.html

Using GW_Business1 theme from Graphix-Works, but we know for sure it's NOT the theme... it has to be my login bar.

I am lost..

2
gestroud
Re: CSS problem?
  • 2006/10/21 2:45

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


Just out of curiosity, what are the specs on this?

class="loginbar"

3
Will_H
Re: CSS problem?
  • 2006/10/21 3:14

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Why are you opening and closing your php so much?

Wouldn't echo functions work better with php?

ex:
echo "n";
echo 
"n";
echo 
"n";
echo 
"center">n";
echo 
"javascript:document.tablogin1.submit();">Logout | 
http://www.brantnow.com/clogin.php?site=3">brantnow | 
<a href="http://www.brantnow.com/clogin.php?site=1">brantdatea>&nbsp;|&nbsp;
<
a href="http://www.brantnow.com/clogin.php?site=2">brantadsa>n";
echo "
<input type="hidden" name="logout" value="yes">n";
echo "
td>n";
echo "
tr>n";
echo "
form>n";
echo "
table>n";
}
?>

Login

Who's Online

479 user(s) are online (343 user(s) are browsing Support Forums)


Members: 0


Guests: 479


more...

Donat-O-Meter

\n";

working ex:
echo "\n";

Anywho premise is very simple. you surround each line with

echo "\n";

the \ character lets the script know that it has not reached the end of the line which is usually represented by an "

So you place an \ before every "

saavy?

Don't get me wrong, what you have works... just not really the norm.

now about that css class....

4
Will_H
Re: CSS problem?
  • 2006/10/21 3:34

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


meh what the hey, this is what I would have expected to see. Possible that your way is better. This is just the way I was taught.

if(isset($_REQUEST['logout']) && $_REQUEST['logout']=="yes")
{
setcookie("teck_username","");
setcookie("teck_password","");
echo 
" location.href='http://www.brantnow.com/user.php?op=logout'";
}
?>

if(!isset($_COOKIE['teck_username']) || $_COOKIE['teck_username']=="")
{
echo 
"loginbar" border="0" cellpadding="0" cellspacing="0">n";
echo 
"http://www.brantnow.com/user.php?op=login" method=post>n";
echo "center">n";
echo 
"center" colspan="6" nowrap >Welcome to the brantNOW.com Network. If you are not a member: http://www.brantnow.com/register.php" target="_blank">Click here to register. It's 100% FREE!n";
echo "n";
echo 
"center">n";

echo 
"User Name:n";
echo 
"center" >n";
echo 
"uname" type="text"> n";

echo 
"Password:n";
echo 
"center">n";
echo 
"pass" type="password"> n";
echo 
"center" >n";
echo 
"submit" value="Sign in"> hidden" name="login1" value="yes"> n";
echo 
"center" nowrap style="font-weight:bold">http://www.brantnow.com/index.php">brantNOW | brantAds | brantdate  n";
echo "n";
echo 
"n";
echo 
"
n";
}
else {
echo 
"loginbar" border="0" cellpadding="0" cellspacing="0">n";
echo 
"post" name="tablogin1" >n";
echo 
"n";

echo 
"center" >Please show your support for Brantford's FREE Online Community! Make brantNOW.com your homepage. 
Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits