Jump to content

IE Parse error


sstangle73

Recommended Posts

my page looks great in FF but when i go to IE it dies. :(

http://stangle.info/sstangle73

 

Test LOGIN:

Username: Test

Password: Password

 

code:

<?php
session_start(); 
include("database.php");
include("login.php");
include("func.php");



$query="SELECT * FROM users WHERE Username = '$_GET[username]' LIMIT 1"; 
$result=mysql_query($query); 
while($array=mysql_fetch_assoc($result)){
$pID=$array['ID'];
$puser=$array['username'];
$pdname=$array['dname'];
$pname=$array['name'];
$pemail=$array['email'];
$pbdate=$array['bdate'];
$page=birthday($pbdate);
$psex=$array['sex'];
$pcity=$array['city'];
$pstate=$array['state'];
$plocation=$pcity . " ," . $pstate;
$pquote=$array['quote'];
$pcolor=$array['color'];
$psch=$array['schedule'];
}
$query1b="SELECT * FROM profile WHERE ID = '$pID' LIMIT 1"; 
$result1b=mysql_query($query1b); 
while($array1b=mysql_fetch_assoc($result1b)){
$pabout=$array1b['about'];
}
$query2="SELECT * FROM users WHERE ID = '$_GET[username]' LIMIT 1"; 
$result2=mysql_query($query2); 
while($array2=mysql_fetch_assoc($result2)){
$pID=$array2['ID'];
$puser=$array2['username'];
$pdname=$array2['dname'];
$pname=$array2['name'];
$pemail=$array2['email'];
$pbdate=$array2['bdate'];
$page=birthday($pbdate);
$psex=$array2['sex'];
$pcity=$array2['city'];
$pstate=$array2['state'];
$plocation=$pcity . " ," . $pstate;
$pquote=$array2['quote'];
$pcolor=$array2['color'];
$psch=$array2['schedule'];
}
$query2b="SELECT * FROM profile WHERE ID = '$pID' LIMIT 1"; 
$result2b=mysql_query($query2b); 
while($array2b=mysql_fetch_assoc($result2b)){
$pabout=$array2b['about'];
}

if("$pcolor"=="$array2[color]"){
PageTop($_SESSION['level'], $_SESSION['ID'], $_SESSION['username'], '#FF0000');
} else {
PageTop($_SESSION['level'], $_SESSION['ID'], $_SESSION['username'], $pcolor);
}
if($logged_in){

if("$pID"=="$array2[iD]"){
echo "The profile you tried to visit is not valid!";
} else {

?>

<br><br>

<table>
<tr><td>

<!--MainBox-->


<table class=border align=left width=445px>
<tr><td colspan=2>
<center><h2><? if($pdname==$array2['dname']){ echo $pname; }else{ echo $pdname; } ?>!</h2></center>
</td></tr>
<tr><td>
<?php
$query55="SELECT * FROM image WHERE ID = '$pID' && `Default`='1' LIMIT 1"; 
$result55=mysql_query($query55) or die(mysql_error()); 
while($array55=mysql_fetch_assoc($result55)){
$pURL=$array55['URL'];
        $pTITLE=$array55['TITLE'];
}
if(strlen($pURL) != '0'){
?>
<table>
<tr>
<td>
<img src='<? echo $pURL; ?>' width='170' height='127' alt="<?php echo $pTITLE; ?>">
</td></tr>
<tr><td>
<center><b><? echo $pTITLE; ?></b></center>
</td></tr>
</table>
<?php
}else{
?>
<img src="http://x.myspace.com/images/no_pic.gif" width=170 height=127 alt="No IMG">
<?php
}
?>
</td>
<td><table>
<tr><td><a href="i<?php echo $pID; ?>">View All Images</a></td></tr><tr><td>Future links</td></tr><tr><td>Future links</td></tr><tr><td>Future links</td></tr></table>
</td>
</tr>
<tr><td colspan=2>	<br>
<center>"<? if($pquote==$array2['quote']){ echo $pname . "'s quote will be here soon!"; }else{ echo $pquote; } ?>"</center>
<br>
</td></tr></table>

<!--End Main Box-->
 <br><br>
<!--URL-->

<table class=border align=left width=445px>
<tr><th><center><h3>My URLs</h3></center></th></tr>
<tr><td><center><a href="<? echo $pID; ?>">http://stangle.info/<? echo $pID; ?></a></center></td></tr><tr><td><center>or</center></td></tr><tr><td><center><a href="<? echo $puser; ?>">http://stangle.info/<? echo $puser; ?></a></center></td></tr>
</table>

<!--End URL-->
 <br><br>
<!--ABOUT ME-->

<?php
if($pabout!=$array2b['about']){
?>
<table class=border align=left width=445px>
<tr><td><center>
<h3>About <?php echo $pdname; ?></h3>
</center></td></tr>
<tr><td>
<?php echo $pabout; ?>
</td></tr>
</table>
<?php
}
?>

<!--END ABOUT ME-->
 <br><br>


</td>



<td>
     
</td>



<td valign="top">

<!--NAS-->

<table class=border align="right" width="380px">
<tr><td><br><br>
<center><? echo $pname . " " . $page . " " . $psex;  ?></center>
<br><br></td></tr></table>

<!--End NAS-->
 <br><br>
<!--Schedule-->

<?php
if($psch!=$array2['schedule']){
?>
<table class=border align=right width=380px>
<tr><td><center>
<?php
$query3="SELECT * FROM 9perschedule WHERE ID = '$pID' LIMIT 1";  
$result3=mysql_query($query3) or die(mysql_error());
while($array3=mysql_fetch_assoc($result3)){ 
$pSID=$array3['ID']; 
$ptype=$array3['Type'];
$phra=$array3['HRa'];
$phrb=$array3['HRb'];
$pp1at=$array3['Period1at'];
$pp1as=$array3['Period1as'];
$pp1bt=$array3['Period1bt'];
$pp1bs=$array3['Period1bs'];
$pp2at=$array3['Period2at'];
$pp2as=$array3['Period2as'];
$pp2bt=$array3['Period2bt'];
$pp2bs=$array3['Period2bs'];
$pp3at=$array3['Period3at'];
$pp3as=$array3['Period3as'];
$pp3bt=$array3['Period3bt'];
$pp3bs=$array3['Period3bs'];
$pp4at=$array3['Period4at'];
$pp4as=$array3['Period4as'];
$pp4bt=$array3['Period4bt'];
$pp4bs=$array3['Period4bs'];
$pp5at=$array3['Period5at'];
$pp5as=$array3['Period5as'];
$pp5bt=$array3['Period5bt'];
$pp5bs=$array3['Period5bs'];
$pp6at=$array3['Period6at'];
$pp6as=$array3['Period6as'];
$pp6bt=$array3['Period6bt'];
$pp6bs=$array3['Period6bs'];
$pp7at=$array3['Period7at'];
$pp7as=$array3['Period7as'];
$pp7bt=$array3['Period7bt'];
$pp7bs=$array3['Period7bs'];
$pp8at=$array3['Period8at'];
$pp8as=$array3['Period8as'];
$pp8bt=$array3['Period8bt'];
$pp8bs=$array3['Period8bs'];
$pp9at=$array3['Period9at'];
$pp9as=$array3['Period9as'];
$pp9bt=$array3['Period9bt'];
$pp9bs=$array3['Period9bs'];
}
if($ptype == '9Per'){
?>
<table>
<tr><td><center> </center></td><th><center>My Schedule</center></th></tr>
<?php if("$phra"=="$phrb"){ ?>
<tr><td><center>Homeroom A+B</center></td><td><center><?php echo $phra; ?></center></td></tr>
<?php } else { ?>
<tr><td><center>Homeroom A</center></td><td><center><?php echo $phra; ?></center></td></tr>
<tr><td><center>Homeroom B</center></td><td><center><?php echo $phrb; ?></center></td></tr>
<?php } ?>
<tr><td><center> </center></td><td><center>Subject</center></td><td><center>Teacher</center></td></tr>
<?php if("$pp1at"=="$pp1bt"){ ?>
<tr><td><center>Period 1 A+B</center></td><td><center><?php echo $pp1as; ?></center></td><td><center><?php echo $pp1at; ?></center></td></tr>
<?php } else { ?>
<tr><td><center>Period 1 A</center></td><td><center><?php echo $pp1as; ?></center></td><td><center><?php echo $pp1at; ?></center></td></tr>
<tr><td><center>Period 1 B</center></td><td><center><?php echo $pp1bs; ?></center></td><td><center><?php echo $pp1bt; ?></center></td></tr>
<?php } ?>
<?php if("$pp2at"=="$pp2bt"){ ?>
<tr><td><center>Period 2 A+B</center></td><td><center><?php echo $pp2as; ?></center></td><td><center><?php echo $pp2at; ?></center></td></tr>
<?php } else { ?>
<tr><td><center>Period 2 A</center></td><td><center><?php echo $pp2as; ?></center></td><td><center><?php echo $pp2at; ?></center></td></tr>
<tr><td><center>Period 2 B</center></td><td><center><?php echo $pp2bs; ?></center></td><td><center><?php echo $pp2bt; ?></center></td></tr>
<?php } ?>
<?php if("$pp3at"=="$pp3bt"){ ?>
<tr><td><center>Period 3 A+B</center></td><td><center><?php echo $pp3as; ?></center></td><td><center><?php echo $pp3at; ?></center></td></tr>
<?php } else { ?>
<tr><td><center>Period 3 A</center></td><td><center><?php echo $pp3as; ?></center></td><td><center><?php echo $pp3at; ?></center></td></tr>
<tr><td><center>Period 3 B</center></td><td><center><?php echo $pp3bs; ?></center></td><td><center><?php echo $pp3bt; ?></center></td></tr>
<?php } ?>
<?php if("$pp4at"=="$pp4bt"){ ?>
<tr><td><center>Period 4 A+B</center></td><td><center><?php echo $pp4as; ?></center></td><td><center><?php echo $pp4at; ?></center></td></tr>
<?php } else { ?>
<tr><td><center>Period 4 A</center></td><td><center><?php echo $pp4as; ?></center></td><td><center><?php echo $pp4at; ?></center></td></tr>
<tr><td><center>Period 4 B</center></td><td><center><?php echo $pp4bs; ?></center></td><td><center><?php echo $pp4bt; ?></center></td></tr>
<?php } ?>
<?php if("$pp5at"=="$pp5bt"){ ?>
<tr><td><center>Period 5 A+B</center></td><td><center><?php echo $pp5as; ?></center></td><td><center><?php echo $pp5at; ?></center></td></tr>
<?php } else { ?>
<tr><td><center>Period 5 A</center></td><td><center><?php echo $pp5as; ?></center></td><td><center><?php echo $pp5at; ?></center></td></tr>
<tr><td><center>Period 5 B</center></td><td><center><?php echo $pp5bs; ?></center></td><td><center><?php echo $pp5bt; ?></center></td></tr>
<?php } ?>
<?php if("$pp6at"=="$pp6bt"){ ?>
<tr><td><center>Period 6 A+B</center></td><td><center><?php echo $pp6as; ?></center></td><td><center><?php echo $pp6at; ?></center></td></tr>
<?php } else { ?>
<tr><td><center>Period 6 A</center></td><td><center><?php echo $pp6as; ?></center></td><td><center><?php echo $pp6at; ?></center></td></tr>
<tr><td><center>Period 6 B</center></td><td><center><?php echo $pp6bs; ?></center></td><td><center><?php echo $pp6bt; ?></center></td></tr>
<?php } ?>
<?php if("$pp7at"=="$pp7bt"){ ?>
<tr><td><center>Period 7 A+B</center></td><td><center><?php echo $pp7as; ?></center></td><td><center><?php echo $pp7at; ?></center></td></tr>
<?php } else { ?>
<tr><td><center>Period 7 A</center></td><td><center><?php echo $pp7as; ?></center></td><td><center><?php echo $pp7at; ?></center></td></tr>
<tr><td><center>Period 7 B</center></td><td><center><?php echo $pp7bs; ?></center></td><td><center><?php echo $pp7bt; ?></center></td></tr>
<?php } ?>
<?php if("$pp8at"=="$pp8bt"){ ?>
<tr><td><center>Period 8 A+B</center></td><td><center><?php echo $pp8as; ?></center></td><td><center><?php echo $pp8at; ?></center></td></tr>
<?php } else { ?>
<tr><td><center>Period 8 A</center></td><td><center><?php echo $pp8as; ?></center></td><td><center><?php echo $pp8at; ?></center></td></tr>
<tr><td><center>Period 8 B</center></td><td><center><?php echo $pp8bs; ?></center></td><td><center><?php echo $pp8bt; ?></center></td></tr>
<?php } ?>
<?php if("$pp9at"=="$pp9bt"){ ?>
<tr><td><center>Period 9 A+B</center></td><td><center><?php echo $pp9as; ?></center></td><td><center><?php echo $pp9at; ?></center></td></tr>
<?php } else { ?>
<tr><td><center>Period 9 A</center></td><td><center><?php echo $pp9as; ?></center></td><td><center><?php echo $pp9at; ?></center></td></tr>
<tr><td><center>Period 9 B</center></td><td><center><?php echo $pp9bs; ?></center></td><td><center><?php echo $pp9bt; ?></center></td></tr>
<?php } ?>
</table>
<?php
} else if($ptype== 'block'){
} else {
echo $pdname . " has not made a schedule yet!";
}
?>
</center>
</td></tr>
</table>
<?php
}
?>

<!--End Schedule-->





</td>
</tr>
</table>
<?php
}
} else {
echo "You have to Be logged in to view that";
displaylogin3($ID);
}
Valid();
PageBottom();
?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.