I all.
I desperately deeds HELP.
I have a web page (
www.pinscher.no) that are not displaying in IE 7
And t be frank, I have no clue what so ever, what is generating this error.
So, peace someone help me figuring out what is wrong.
Thanks in advance.
Odd Egil
<?php
// $Id: index.php 2008-04-07 Odd Egil Hansen $
/*
WebsiteBaker Project <http://www.websitebaker.org/>
Copyright (C) 2004-2008, Ryan Djurovich
WebsiteBaker is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or(at your option) any later version.
WebsiteBaker is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with websitebaker; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
if(!defined('WB_URL')) {
header('Location: ../index.php');
exit(0);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-- title></title -->
<?php simplepagehead(); ?>
<link href="<?php echo TEMPLATE_DIR; ?>/screen.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo TEMPLATE_DIR; ?>/print.css" rel="stylesheet" type="text/css" media="print" />
<link rel="stylesheet" href="<?php echo TEMPLATE_DIR; ?>/css/template_css_brown.css" type="text/css" media="screen" />
<?php if (function_exists("find_my_class") )
{
$path_to_js = WB_URL."/modules/fe-codehighlight/prettify.js";
$path_to_css = WB_URL."/modules/fe-codehighlight/prettify.css";
ob_start();
page_content();
$content = ob_get_contents();
ob_end_clean();
find_my_class($content, "pre", "prettyprint", $path_to_css, $path_to_js);
}
?>
<?php
// this allows to include the optional module files (frontend.css, frontend.js) into the head section
if(function_exists('register_frontend_modfiles')) {
register_frontend_modfiles('css');
register_frontend_modfiles('js');
}
?>
</head>
<body>
<a name="pagetop">
</a>
<div>
<table width= "100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="<?php echo TEMPLATE_DIR; ?>/images/space.gif" width="770" height="1" alt="" /></td>
</tr>
<tr>
<td><div class="background">
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?php echo TEMPLATE_DIR; ?>/images/center.jpg">
<tr>
<td width="116"><img src="<?php echo TEMPLATE_DIR; ?>/images/left.jpg" width="116" alt="" /></td>
<td class="title"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="100" colspan="2" class="title" style="padding-top:0px;"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" style="padding-left:10px;"><a href="<?php echo WB_URL; ?>"><?php page_title('', '[WEBSITE_TITLE]'); ?></a></td>
<td></td>
</tr>
</table></td>
</tr>
<tr align="left">
<td width="100%" height="29" valign="bottom" class="mainlevel-nav"><table align="left" cellpadding="0" cellspacing="0" class="moduletable">
<tr>
<td>
<ul id="mainlevel-nav">
<?php if(SHOW_MENU) { /* Only shown menu if we need to */ ?>
<?php show_menu2(0, SM2_ROOT, SM2_START, SM2_PRETTY, '<li [if(class=mainlevel_nav)]>[a]<span>[menu_title]</span></a>'); ?>
<?php } ?></ul>
</td>
<td align="left"><?php ShowRssSiteFeed('ISO-8859-10');?></td>
</tr>
</table>
</td>
</tr>
</table></td>
<td width="26"><img src="<?php echo TEMPLATE_DIR; ?>/images/right.jpg" width="26" alt="" /></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="11" height="25" background="<?php echo TEMPLATE_DIR; ?>/images/shadowl.jpg"> </td>
<td height="25" bgcolor="#F1F1F1" style="border-bottom: 1px solid #999999; border-top: 5px solid #FFFFFF;">[[editthispage]] <span class="pathway"><?php show_breadcrumbs(); ?>
</span>
</td>
<td height="25" align="right" bgcolor="#F1F1F1" style="border-bottom: 1px solid #999999; border-top: 5px solid #FFFFFF;"></td>
<td width="11" height="25" align="right" background="<?php echo TEMPLATE_DIR; ?>/images/shadowr.jpg"> </td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="padding-left:8px; background-repeat: repeat-y;" background="<?php echo TEMPLATE_DIR; ?>/images/shadowl.jpg"> </td>
<td valign="top" style="background-repeat: repeat-y;"background="<?php echo TEMPLATE_DIR; ?>/images/lb.gif"> <div class="leftrow">
<?php ob_start(); // start output buffer
show_menu(1,1,-1,true,'<tr align="left"><td>[a][menu_title][/a]</td></tr>','','','','class="mainlevel"','class="mainlevel" id="active_menu"'); // call menu
$foo=ob_get_contents(); // put outputbuffer in $foo
ob_end_clean(); // clear outputbuffer
if ($foo<>"") { // some code to execute cause there is some block
echo '<p>';
echo '</p>';
echo '<table cellpadding="0" cellspacing="0" class="moduletable">';
echo '<tr>';
echo '<th valign="top">';
echo 'Meny</th>';
echo '</tr>';
echo '<tr>';
echo '<td>';
echo '<table width="100%" border="0" cellpadding="0" cellspacing="0">';
echo $foo;
echo '</table>'; // show the block (as saved in $foo)
echo '</td>';
echo '</tr>';
echo '</table>';
} else { // some code for no info
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<?php if(SHOW_SEARCH) { ?>
<td width="100%" height="29">
<table width="99%" cellpadding="0" cellspacing="0" class="moduletable">
<tr>
<th valign="top" align="left" >Søk</th>
</tr>
<tr>
<td align="center" valign="middle" >
<div align="center" class="search"><p>
<form name="search" action="<?php echo WB_URL.'/search/index'.PAGE_EXTENSION; ?>" method="post">
<div align="center" class="search">
<input alt="search" class="inputbox" type="text" name="string" size="20" value="<?php echo $TEXT['SEARCH']; ?>..." onblur="if(this.value=='') this.value='<?php echo $TEXT['SEARCH']; ?>...';" onfocus="if(this.value=='<?php echo $TEXT['SEARCH']; ?>...') this.value='';" /></div>
<input type="hidden" name="submit" value="<?php echo $TEXT['SEARCH']; ?>" />
</form>
</p></div>
</td>
</tr>
<tr>
<th valign="top" align="left" >Nyhetsbrev</th>
</tr>
<tr>
<td><p>
<div align="center" class="search">
<?php if(function_exists('newsletter_info')) {
newsletter_info('Nyhetsbrev','nyheter@pinscher.no',true,false); }
?>
</div>
</p></td>
</tr>
<tr>
<td>
<?php
if(FRONTEND_LOGIN AND !$wb->is_authenticated()) {
?>
<table cellpadding="0" cellspacing="0" class="moduletable">
<tr>
<p>
<th valign="top">
<?php echo $TEXT['LOGIN']; ?>
</th>
</p>
</tr>
<tr>
<td>
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center">
<p><input type="submit" name="submit" value="<?php echo $TEXT['LOGIN']; ?>" /></p>
<p><a href="<?php echo FORGOT_URL; ?>"><?php echo $TEXT['FORGOT_DETAILS']; ?></a></p>
<!-- p><// ?php if(is_numeric(FRONTEND_SIGNUP)) { ? >
<a href="<// ?php echo SIGNUP_URL; ? >"><// ?php echo $TEXT['SIGNUP']; ? ></a></p-->
<!-- <//?php } ? -->
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<?php
} elseif(FRONTEND_LOGIN AND $wb->is_authenticated()) {
?>
<table cellpadding="0" cellspacing="0" class="moduletable">
<tr>
<p><th valign="top"> <?php echo $TEXT['LOGGED_IN']; ?></th>
</p>
</tr>
<tr>
<td>
<form name="logout" action="<?php echo LOGOUT_URL; ?>" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center">
<p><?php echo $TEXT['WELCOME_BACK']; ?>, <a href="<?php echo PREFERENCES_URL; ?>"></p>
<p><?php echo $wb->get_display_name(); ?></a></p>
<p><input type="submit" name="submit" value="<?php echo $MENU['LOGOUT']; ?>" /></p>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<?php
}
?>
</td>
</tr>
<tr>
<td><?php page_content(5); ?></td>
</tr>
</table>
</td>
<?php
}
?>
</tr>
</table>
</div>
</td>
<td valign="top" bgcolor="#FAFAFA" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td align="left" valign="top"><?php page_content(3); ?></td>
<td align="left" valign="top"><?php page_content(4); ?></td>
</tr>
<tr align="left" valign="top">
<td style=" border-top: 4px solid #FFFFFF; padding: 5px;" colspan="2">
<div class="main">
<table class="contentpaneopen">
<tr>
<td class="contentheading" width="100%">
[[editthispage]] <?php page_title('','[PAGE_TITLE]'); ?>
</td>
</tr>
</table>
<table class="contentpaneopen">
<tr>
<td valign="top" colspan="2">
<?php if (class_exists('imageOptimizer')) {
ob_start();
page_content();
$content = ob_get_contents();
ob_end_clean();
image_optimize($page_id, $content);
}
else {
page_content();
}
?>
<br /><br /></td>
</tr>
</table>
</div></td>
</tr>
</table>
</td>
<?php ob_start(); // start output buffer
echo "<div id=\"mynews\">"; //
display_news_items(11, 3, 60, 1, 'Fra styret', 'Les mer', 'For tiden ingen nyheter', true, '<a><img>', false, ' (m.d.Y)', 3, 1);
display_news_items(12, 1, 0, 1, 'Fra avlsrådet', 'Les mer', 'For tiden ingen nyheter', true, '<a><img>', false, ' (m.d.Y)', 3, 1);
display_news_items(14, 3, 0, 1, 'Pinschertreff', 'Les mer', 'For tiden ingen nyheter', true, '<a><img>', false, ' (m.d.Y)', 3, 1);
display_news_items(13, 3, 0, 1, 'Utstilling', 'Les mer', 'For tiden ingen nyheter', true, '<a><img>', false, ' (m.d.Y)', 3, 1);
echo "</div>";
page_content(2); // call menu
$foo=ob_get_contents(); // put outputbuffer in $foo
ob_end_clean(); // clear outputbuffer
if ($foo<>"") { // some code to execute cause there is some block
echo '<td valign="top" style="background-repeat: repeat-y; "background="'.TEMPLATE_DIR.'/images/rb.gif">';
echo '<div class="rightrow">';
echo '<p>';
echo '</p>';
echo '<table cellpadding="0" cellspacing="0" class="moduletable">';
echo '<tr>';
echo '<th valign="top">';
echo 'Nyheter</th>';
echo '</tr>';
echo '<tr>';
echo '<td>';
echo '<table width="100%" cellspacing="1" cellpadding="0" border="0" align="">';
echo '<tr>';
echo '<td>';
echo $foo; // show the block (as saved in $foo)
echo '</td>';
echo '</tr>';
echo '</table>';
echo '</td>';
echo '</tr>';
echo '</table>';
echo '</div>';
echo '</td>';
} else { // some code for no info
}
?>
<td valign="top" style="padding-right: 8px; background-repeat: repeat-y;" background="<?php echo TEMPLATE_DIR; ?>/images/shadowr.jpg"> </td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?php echo TEMPLATE_DIR; ?>/images/center2.jpg">
<tr>
<td width="26"><img src="<?php echo TEMPLATE_DIR; ?>/images/left2.jpg" /></td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30" align="left"><a href="#pagetop"><img src="<?php echo TEMPLATE_DIR; ?>/images/ltop.jpg" alt="Top!" border="0" /></a> </td>
<td align="center"><div class="footer"><div align="center"><?php page_footer(); ?> <br />© <?php page_title('','[WEBSITE_TITLE]'); ?> Powered by <a href="http://www.websitebaker.org/" target="_blank">
websitebaker</a> </div>
</div>
</td>
<td width="30" align="right"><a href="#pagetop"><img src="<?php echo TEMPLATE_DIR; ?>/images/rtop.jpg" alt="Top!" border="0" /></a></td>
</tr>
</table>
</td>
<td width="26"><img src="<?php echo TEMPLATE_DIR; ?>/images/right2.jpg" /></td>
</tr>
</table>
</div></td>
</tr>
</table>
</div>
</body>
</html>