PDA

Zobacz pełną wersję : Problem z index.php



alvi
07-07-2008, 21:25
Witam.

Wrzuciłem sobie ostatnio kod z JOBRAPIDO na stronę i okazuję się że nie działa strona na IE.

oto kod index.php



<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!-- <style type="text/css">

.jetitle { font-family:Tahoma; font-weight:bold; font-size:16px; color:black }
.jetitlelink { font-family:Tahoma; font-weight:bold; font-size:16px; color: #3E7FC2; text-decoration: none; }
.jecategory { font-family:Tahoma; font-size:12px; font-weight: bold; color: #000000}
.jelink1 { font-family:Tahoma; font-size:12px; color: #000000}
.jelink2 { font-family:Tahoma; font-size:10px; color: #3E7FC2}
.jelink3 { font-family:Tahoma; font-size:11px; color: #3E7FC2; font-weight: bold; text-decoration: none; }
.jefooter { font-family:Tahoma; font-size:10px; color: #000000}
#link_tables td { border:1px dashed gray }
.Stile2 {font-weight: bold}
</style>-->
<!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">
<head>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/waterandstone_blue/css/template_css.css" rel="stylesheet"

type="text/css"/>
</head>
<body class="waterbody">

<div align="center">
<div id="container">
<div id="containerbg">
<div id="outerleft">
<!-- start logo -->
<div id="logo">
<a href="index.php"><img src="<?php echo $mosConfig_live_site; ?

>/templates/waterandstone_blue/images/logo.gif" alt="logo image" border="0" align="top" /></a>
</div>
<!-- end logo -->
<!-- start top menu. position:top -->
<div id="topmenu">
<?php mosLoadModules('user3',-1); ?>
</div>
<!-- end top menu. position:top -->
<!-- start image header -->
<div id="imgheader">
<img src="<?php echo $mosConfig_live_site; ?

>/templates/waterandstone_blue/images/img_header.jpg" alt="header image" />
</div>
<!-- end image header -->
<div id="container_inner">
<!-- start left column. -->
<div id="leftcol">
<?php mosLoadModules('left'); ?>
</div>
<div id="leftcolmenu">
<?php mosLoadModules('user6'); ?>
</div>
<!-- end left column. -->
<!-- start content top wrapper -->

<div align="center">
<br><?php mosLoadModules( 'banner', -1 ); ?> <br>
<!-- Search Google -->
<center>
<form method="get" action="http://www.google.pl/custom" target="google_window">
<table bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
<label for="sbi" style="display: none">WprowadĽ wyszukiwane hasła</label>
<input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
<label for="sbb" style="display: none">Prze¶lij formularz wyszukiwania</label>
<input type="submit" name="sa" value="Wyszukaj" id="sbb"></input>
<input type="hidden" name="client" value="pub-7274188678931355"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="channel" value="1102686310"></input>
<input type="hidden" name="ie" value="ISO-8859-2"></input>
<input type="hidden" name="oe" value="ISO-8859-2"></input>
<input type="hidden" name="flav" value="0001"></input>
<input type="hidden" name="sig" value="Fv10-MHsT-iQXbl9"></input>
<input type="hidden" name="cof"

value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center ;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000 000;GFNT

:0000FF;GIMP:0000FF;LH:50;LW:490;L:http://kuzniaraciborska.com.pl/templates/waterandstone_blue/images/logo.gif;S:ht

tp://kuzniaraciborska.com.pl;FORID:1"></input>
<input type="hidden" name="hl" value="pl"></input>
</td></tr></table>
</form>
</center>



<form action="http://www.jobrapido.pl/" name="f" target="_blank">

<table style="border:gray solid 1px">
<tr><td>
<table style="margin-top:0px;margin-bottom:0px;margin-left:10px;margin-right:10px" border="0" cellspacing="0"

cellpadding="0">

<tr>
<td style="padding-bottom:2px">
<span style="font-family:Verdana,Arial,Sans-Serif; font-size:16px; font-

weight:bold;">Jakiej pracy szukasz?</span> </td>
<td><img src="images/1px.gif" height="1" width="10"></td>
<td style="padding-bottom:2px">
<span style="font-family:Verdana,Arial,Sans-Serif; font-size:16px; font-

weight:bold;">Gdzie?</span> </td>
<td>
<img src="images/1px.gif" height="1" width="10"> </td>
<td>
<div align="center"><img src="http://www.jobrapido.pl/images/pl/logojb.gif" alt="oferty" width="69"

height="16" border="0"/> </div></td>
</tr>
<tr>
<td>
<input size="15" type="text" name="w" style="font-size:16px; width:155; font-family:Verdana,Arial,Sans-Serif;"

></td>
<td></td>
<td>
<input size="15" type="text" name="l" style="font-size:16px; width:155; font-family:Verdana,Arial,Sans-

Serif;"></td>
<td></td>
<td valign="middle">
<input style="font-size:16px; padding:2px; font-family:Verdana,Arial,Sans-Serif;" type="submit" value="ZnajdĽ

pracę"></td>
</tr>
<tr>
<td valign="top">
<span style="font-family:Verdana,Arial,Sans-Serif; font-size:9px;">
Zawód, Stanowisko, Słowo kluczowe</span></td>
<td></td>
<td valign="top">
<span style="font-family:Verdana,Arial,Sans-Serif; font-size:9px;">
Miejscowo¶ć lub województwo</span></td>
<td></td>
</tr>

</table>
</td></tr></table>
</form>


<!-- Search Google -->

</div>


<?php
if (mosCountModules('user2') >= 1 OR mosCountModules('user1') >= 1 ) {
?>
<div id="content_top_wrapper">
<!-- start content top 1. -->
<div id="content_top1">
<?php mosLoadModules('user2'); ?>
</div>
<!-- end content top 1 -->
<!-- start content top 2. -->
<div id="content_top2">
<?php mosLoadModules('user1'); ?>
</div>
<!-- end content top 2 -->
</div>
<?php
}
?>
<!-- end content top wrapper -->
<!-- start main body -->

<div id="content_main">
<?php mosPathWay(); ?>
<table width="519" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<?php mosMainBody(); ?>
</td>
</tr>
</table>
</div>

<!-- end main body -->
</div>
</div>

<div id="outerright">
<!-- start right top header. -->
<div id="rightcol_top">
<?php mosLoadModules('header'); ?>
<?php mosLoadModules('user4'); ?>
</div>
<!-- end right top header.-->
<!-- start right column. -->
<div id="rightcol">
<?php mosLoadModules('top'); ?>
<?php mosLoadModules('right'); ?>

</div>
<!-- end right column. -->
<!-- (C) 2000-2006 stat24.com/counter -->

<center><iframe src="http://counters.stat24.com/statcnt.html?

type=14&id=d6zi0QdabRXAc0BsH86xau9J1fSZE8pM4f7R0JnCh3r.p7&time=6&data=0&lang=pl" width=88 height=31 scrolling="no"

frameborder="0"></iframe> </center>
</div>

<div class="clear">
</div>
<?php
if (mosCountModules('banner') >= 1) {
?>
<!-- start banner. -->
<div id="banner">
<?php mosLoadModules('banner'); ?>
</div>
<!-- end banner. -->
<?php
}
?>



<div id="blackline">
<br>
<?php include_once('includes/footer.php'); ?>
</div>

<div class="clear">


</div>
<div id="bottompadding"></div>


</div>


</div>


<?php mosLoadModules('debug', -1);?>

</div>
</body>
</html>
<!-- copyright notice
<table>
<tr>
<td height="13" colspan="3" align="left" id="copyright">
<?php include_once('includes/footer.php'); ?></td>

</tr>
</table> -->
A to informacja na stronie w IE



Nie można wyświetlić strony XML
Nie można przeglądać wejścia XML przy użyciu arkusza stylów XSL. Popraw błąd, a następnie kliknij przycisk Odśwież (http://javascript%3Cb%3E%3C/b%3E:location.reload%28%29) lub spróbuj ponownie później.
Tag końcowy 'td' nie odpowiada tagowi początkowemu 'img'. Błąd podczas przetwarzania zasobu 'http://www.kuzniaraciborska.co...
<td><img src="images/1px.gif" height="1" width="10"></td>

Z resztą można zobaczyć na stronie. Nie wiem jak sobie z tym poradzić. Pozdrawiam.