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 "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" ><tr><td class=row1>\n";

working ex:
echo "<table class=\"loginbar\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";

Anywho premise is very simple. you surround each line with

echo "<html>\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.

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

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

echo 
"<td nowrap ><strong>User Name:</strong></td>n";
echo 
"<td align="center" >n";
echo 
"<input name="uname" type="text"> </td>n";

echo 
"<td nowrap ><strong>Password</strong>:</td>n";
echo 
"<td align="center">n";
echo 
"<input name="pass" type="password"> </td>n";
echo 
"<td align="center" >n";
echo 
"<input type="submit" value="Sign in"> <input type="hidden" name="login1" value="yes"> </td>n";
echo 
"<td align="center" nowrap style="font-weight:bold"><a href="http://www.brantnow.com/index.php">brantNOW</a> | <a href="http://www.brantads.com/index.php">brantAds</a> | <a href="http://www.brantdate.com/index.php">brantdate</a>&nbsp;&nbsp;<a href="http://www.brantnow.com/index.php"></a></td>n";
echo "</tr>n";
echo 
"</form>n";
echo 
"</table>n";
}
else {
echo 
"<table class="loginbar" border="0" cellpadding="0" cellspacing="0">n";
echo 
"<form method="post" name="tablogin1" >n";
echo 
"<tr >n";

echo 
"<td align="center" >Please show your support for Brantford's FREE Online Community! <strong>Make brantNOW.com your homepage.</strong> </td>n";
echo 
"</tr>n";
echo 
"<tr>n";
echo 
"<td align="center">n";
echo 
"<a href="javascript:document.tablogin1.submit();">Logout</a>&nbsp;|&nbsp;
<a href="
http://www.brantnow.com/clogin.php?site=3">brantnow</a>&nbsp;|&nbsp;
<a href="http://www.brantnow.com/clogin.php?site=1">brantdate</a>&nbsp;|&nbsp;
<
a href="http://www.brantnow.com/clogin.php?site=2">brantads</a>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

140 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits