Jump to content

[SOLVED] ok, sry... maybe I was wrong..


MikeDXUNL

Recommended Posts

alright, I was wrong.. It isnt just from my localhost.

the bottom half of PHP is still not displaying in IE or Opera Browsers... (but the source code shows the valid code..)

 

[dont mind messy code]

Example of code:

 


<?php
include 'incl/dbconnect.php';
include 'incl/variables.php';

$show_name = $_GET['username'];





html_head();
?>
<table class="header" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="images/header.jpg" border="0"></td>
</tr>
</table>

<?php
searchpane();
?>

<table class="hello_user_main" border="0" cellpadding="5" cellspacing="0">
<tr>
<td valign="top">
	<?php 
		greeting($_SESSION['username'], $_SESSION['type']); 
		echo "\n<br />\n";
	 	userstats($_SESSION['username'], $_SESSION['id']); 
	?>
</td>
<td align="right" valign="top"><?php google_ads($_SESSION['type']); ?></td>
</tr>
</table>

<div id="txtHint7" style="margin-bottom: 7px;"> </div>
<table class="hello_user" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>				

<ul id="profile_tabs" class="shadetabs">
<li><a href="mini/profile.php?username=<?php echo $show_name; ?>&v=<?php echo $v; ?>" rel="profile_con" class="selected">Profile</a></li>
<li><a href="mini/show_owned.php?username=<?php echo $show_name; ?>&v=<?php echo $v; ?>&page=<?php echo $pageNumber; ?>" rel="profile_con">Owned</a></li>
<li><a href="mini/show_played.php?username=<?php echo $show_name; ?>&v=<?php echo $v; ?>&page=<?php echo $pageNumber; ?>" rel="profile_con">Played</a></li>
<li><a href="mini/show_wishlist.php?username=<?php echo $show_name; ?>&v=<?php echo $v; ?>&page=<?php echo $pageNumber; ?>" rel="profile_con">Wish List</a></li>
</ul>

<div id="profile_div" style="background-color: #edf9fd; border-top:1px solid gray; border-bottom:1px solid gray; width:100%;">
<br />

</div>

<script type="text/javascript">

var countries=new ddajaxtabs("profile_tabs", "profile_div")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()

</script>
</td>
</tr>

</table>

</body>
</html>

 

What source code in IE shows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>VideogameAnthology.com - Video Game wants, needs, and haves!</title>

<link rel="stylesheet" type="text/css" href="style.css">

<link rel="stylesheet" type="text/css" href="pagination.css">

<link rel="stylesheet" type="text/css" href="ajax/user_tabs.css">

<script type="text/javascript" src="ajax/user_tabs.js"></script>

<script type="text/javascript" src="js/finduser.js"></script>

<script type="text/javascript" src="js/loginuser.js"></script>

<script type="text/javascript" src="js/checkall.js"></script>

 

 

 

</head>

 

<body><table class="header" cellpadding="0" cellspacing="0" border="0">

<tr>

<td><img src="images/header.jpg" border="0"></td>

</tr>

</table>

 

<table class="infopane" border="0" cellpadding="5" cellspacing="0">

<tr>

<td valign="top">

<form method="GET" action="search.php">

<input type="text" name="q" class="search" />

<select name="whereat">

<option value="videogames">Games</option>

<option value="consoles">Consoles</option>

</select>

<input type="submit" value="Go" class="submit_search" />

</form>

</td>

<td align="right">

<a href="javascript:;" onmousedown="toggleSlide('login');">Login</a>

  /  

<a href="javascript:;" onmousedown="toggleSlide('logout');">Logout</a>

</td>

</tr>

<tr>

<td>

<div id="login" style="display:none; overflow:hidden; height:25px;"><form action="login.php" name="loginForm" method="post">

<input type="text" name="username" />

<input type="password" name="password" />

<input type="submit" name="loginForm" value="Login" class="submit_search2" />

</form></div>

<div id="logout" style="display:none; overflow:hidden; height:25px;"><strong><em>You have to be logged in to logout!</em></strong></div>

</td>

</tr>

</table>

<table class="hello_user_main" border="0" cellpadding="5" cellspacing="0">

<tr>

<td valign="top">

<strong>Hello,  Guest.</strong>

<br />

<a href="login.php">Login</a> / <a href="register.php">Register</a> </td>

<td align="right" valign="top"><script type="text/javascript"><!--

google_ad_client = "pub-3309289771010952";

google_ad_width = 468;

google_ad_height = 60;

google_ad_format = "468x60_as";

google_ad_type = "text_image";

google_ad_channel = "";

google_color_border = "356AA0";

google_color_bg = "c6f1ba";

google_color_link = "043651";

google_color_text = "043651";

google_color_url = "043651";

//-->

</script>

<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></td>

</tr>

</table>

 

<div id="txtHint7" style="margin-bottom: 7px;"> </div>

<table class="hello_user" border="0" cellpadding="5" cellspacing="0">

<tr>

<td>

 

<ul id="profile_tabs" class="shadetabs">

<li><a href="mini/profile.php?username=Admin&v=g" rel="profile_con" class="selected">Profile</a></li>

<li><a href="mini/show_owned.php?username=Admin&v=g&page=1" rel="profile_con">Owned</a></li>

<li><a href="mini/show_played.php?username=Admin&v=g&page=1" rel="profile_con">Played</a></li>

<li><a href="mini/show_wishlist.php?username=Admin&v=g&page=1" rel="profile_con">Wish List</a></li>

</ul>

 

<div id="profile_div" style="background-color: #edf9fd; border-top:1px solid gray; border-bottom:1px solid gray; width:100%;">

<br />

<*iframe src ="mini/profile.php?username=Admin&v="></iframe*></div>

 

<script type="text/javascript">

 

var countries=new ddajaxtabs("profile_tabs", "profile_div")

countries.setpersist(true)

countries.setselectedClassTarget("link") //"link" or "linkparent"

countries.init()

 

</script>

</td>

</tr>

 

</table>

 

</body>

</html>

 

 

The Red is shown in the source code but not displayed...

any help would be appreciated. div (txtHint7) is used to handle AJAX btw.

 

Thanks,

Mike

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.