Tom's Guide > Forum > Programmation > [HTML][PHP] Erreur IE et pas Firefox + Pas de chargement Flash

[HTML][PHP] Erreur IE et pas Firefox + Pas de chargement Flash

Forum Programmation : [HTML][PHP] Erreur IE et pas Firefox + Pas de chargement Flash

TomsGuide.com : 800 000 inscrits répondent à toutes vos questions high-tech et informatique. Pour obtenir de l'aide, inscrivez-vous gratuitement !
Mot :    Pseudo :           
 

Bonjour,
je suis novice en HTML et PHP et je finalise une "page" web qui fonctionne relativement bien. Le probleme est que lorsque j'utilise IE pour afficher ma page j'ai une erreur et mon animation flash n'apparait pas. Je n'ai pas le probleme sur Firefox. Est-ce quelqu'un a deja eu le probleme ? Merci de votre aide... A bientôt.

La page: www.sebastien.leforumdunet.com/backup_index.php

Voici le code:

<html>
<head>
<?php
if (isset($_GET['page']))
{
}
else
{
header("Location: ../backup_index.php?page=1" );
}
?>
<?php
session_start();
$host="*******";
$login="*******";
$passe="*******";
$base="*******";
mysql_connect($host, $login, $passe) or die("cannot connect to server" );
mysql_select_db($base) or die("cannot connect to db" );
if($_GET['action']=='login')
{
$member=$_POST['user'];
$pwd=$_POST['password'];
$query="SELECT Login, Password FROM AMSUD_ADMIN WHERE Login like '$member' and Password like '$pwd'";
$result=mysql_query($query);
$row=mysql_fetch_row($result);
if(mysql_num_rows($result)>0) $_SESSION['AMSUD_ID_MEMBER']=$row[0];
header("location: admin.php" );
}
elseif($_GET['action']=='logout')
{
session_unset(); session_destroy();
header("location: index.php" );
}
?>

<title>Field Engineer Trip</title>
<link href="http://www.sebastien.leforumdunet.com/img/accessoires-icones-087_p4.ico" rel="SHORTCUT ICON">
<link href="css/classes.css" type="text/css" rel="stylesheet">
<script language="javascript">
var mobjWindowComment;
var mobjWindowMap;
function sViewComments(post) {
if (mobjWindowComment != undefined) {
mobjWindowComment.close();
mobjWindowComment = undefined;
}
mobjWindowComment=window.open("comments.php?id=" + post, "_blank", "menuBar=0, scrollbars=1, status=0, toolbar=0, resizable=1, width=640, height=480, top=10, left=10" );
}
function sViewMap(map) {
if (mobjWindowMap != undefined) {
mobjWindowMap.close();
mobjWindowMap = undefined;
}
mobjWindowMap=window.open("img.php?img=" + map, "_blank", "menuBar=0, scrollbars=1, status=0, toolbar=0, resizable=1, width=640, height=480, top=10, left=10" );
}
</script>
<script>
function diri(){
var choix=document.formulaire.pourquoi.selectedIndex
switch (choix)
{case 0:location.href="galerie.php";break;
case 1:location.href="galerie3.php";break;
case 2:location.href="galerie2.php";break;
default:location.href="galerie.php";break;
}
}
</script>
</head>
<body topmargin="0">
<a name="haut"></a>
<table style="width: 100%" border="0">
<tbody border="0">
<!--Premiere Ligne - Banniere-->
<tr width="100%" bgcolor="black" border="0">
<!--Banniere Gauche-->
<td align="center" bgcolor="black" width="25%">
<table border="0">
<tbody>
<tr style="font-weight: bold;">
<td align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=3,0,0,0" width="252,8" height="54,4">
<param name="Flash" value="http://sebastien.leforumdunet.com/img/Movie1.swf">
<param name="quality" value="high">
<embed src="http://sebastien.leforumdunet.com/img/Movie1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="252,8" height="54,4">
</embed>
</object>
</td>
</tr>
</tbody>
</table>
</td>
<!--Banniere Centre-->
<td align="center" bgcolor="black" width="15%">
</td>
<!--Banniere Droite-->
<td align="center" bgcolor="black" width="60%">
<table border="0">
<tbody>
<tr>
<td align="center">
<a class="linkb" href="#" onclick="sViewMap('france.jpg'); return false" title="France">
<img src="img/france.gif" height="20" width="32">
</a>
<a class="linkb" href="#" onclick="sViewMap('canada.jpeg'); return false" title="Canada">
<img src="img/canada.gif" height="20" width="32">
</a>
<a class="linkb" href="#" onclick="sViewMap(''); return false" title="Prochaine destination">
<img src="img/surprise.gif" height="20" width="32">
</a>
<a class="linkb" href="#" onclick="sViewMap('cartegeante.JPG'); return false" title="Carte du monde">
<img src="img/Globe.gif" height="20" width="32">
</a>
</td>
</tr>
</tbody>
</table>

</td>
</tr>
<!--Deuxieme Ligne - Infos-->
<tr width="100%" bgcolor="black" border="0">
<!--Deuxieme Ligne Gauche-->
<td align="center">
<table class="recordset" bgcolor="black" width="100%">
<tr valign="center" bgcolor="black" width="100%">
<td class="whiterecord" border="1">
<p class="textleft">
<a href="http://www.viaduc.com/public/profil/?memberId=0021eoly110m5p7e">
<img src="/img/viaduc.gif" name="" border="0" align="ABSMIDDLE"/>
</a>
<a class="main" href="http://www.viaduc.com/public/profil/?memberId=0021eoly110m5p7e">
<font size="2" face="verdana" color="white"> mon profil sur viaduc.com </font>
</a>
</p>
</td>
</tr>
</table>
</td>
<!--Deuxieme Ligne Centre-->
<td align="center">
</td>
<!--Deuxieme Ligne Droite-->
<td align="center">
<table width="100%" border="0" cellpadding="2" cellspacing="2">
<tr width="100%">
<!--Texte Galleries-->
<td align="right" width="25%">
<font color="white" face="verdana">Galeries</font>
</td>
<!--Liste Galleries-->
<td align="left" width="25%">
<form name="formulaire">
<select name="pourquoi" onchange="diri()">
<option> </option>
<option>Galerie 3</option>
<option>Galerie 2</option>
<option>Galerie 1</option>
</select>
</form>
</td>
<!--Texte Email-->
<td align="right" width="25%">
<font color="white" face="verdana">Me contacter</font>
</td>
<!--Icon Email-->
<td align="left" width="25%">
<a class="linkw" href="mailto:sroche6@wanadoo.fr" title="Envoyer un email">
<img src="img/icon_email.gif" height="18" width="60">
</a>
</td>
</tr>
</table>
</td>
</tr>
<!--Troisieme Ligne - Ligne
<tr>
<hr></hr>
</tr>-->
<!--Quatrieme Ligne - Blog-->
<tr>
<td colspan="3" width="100%">
<ul>
<?php
$nbParPage = 8;
$req1=mysql_query("SELECT * FROM AMSUD" );
$nbNews=mysql_numrows($req1);
$moy= ceil($nbNews/$nbParPage);
if ($moy>=2)
{
if (isset($_GET['page']))
{
if ($_GET['page']==1)
{
echo "Precedent ";
}
else
{
echo "<a href=\"backup_index.php?page=".($_GET['page']-1)."\">Precedent</a> ";
}
}
else
{
echo "Precedent ";
}
}
if ($moy>=2)
{
//on vérifie l'éxistence de la variable page avant les vérifications
if (isset($_GET['page']))
{
if ($_GET['page']==$moy)
{
echo " Suivant";
}
else
{
echo " <a href=\"backup_index.php?page=".($_GET['page']+1)."\">Suivant</a>";
}
echo '<font face="arial" size="2"> Page '.$_GET['page'].' de </font>';
echo "$moy";
echo '<br/><br/>';
}
else
{
echo "<a href=\"backup_index.php?page=1\">Suivant</a>";
}
}
$query="SELECT COUNT(*) FROM AMSUD";
$result=mysql_query($query);
if(mysql_num_rows($result)>0) { $row=mysql_fetch_row($result);
$nbposts=$row[0]; } else $nbposts=0;
$page=$_GET['page'];
if
(
!isset($page)) $page=1;
$idx=($page-1)*$nbParPage;
$query="SELECT intIdx, strDate, strLieu, strData FROM AMSUD ORDER BY intIdx DESC LIMIT $idx, $nbParPage";
$result=mysql_query($query);
while($row=mysql_fetch_row($result))
{
echo "<li><b><font color='#CC0000' face=Verdana size=2>$row[1]</font>
<font color='#61718A' face=Verdana size=2>$row[2]</font></b>
<font face=Verdana size=2><a class=linkb href='#haut' title='haut de page'>^</a><br>$row[3]</font>
<br><br>";
$query="SELECT COUNT(*) FROM AMSUD_COMMENTS WHERE intIdxA=$row[0]";
$resultc=mysql_query($query);
if(mysql_num_rows($resultc)>0)
{
$rowc=mysql_fetch_row($resultc);
$nbcomments=$rowc[0];
}
else $nbcomments=0;
echo "<a class=linkb href='#' onclick='sViewComments($row[0]);
return false'>commentaires ($nbcomments)</a></li><br><br>";
}
?>
</ul>
</td>
</tr>
<!--Cinquieme Ligne - Ligne
<tr>
<td>
<hr></hr>
</td>
</tr>-->
<table bgcolor="black" colspan="3" width="100%">
<tr colspan="3 width=100%">
<td colspan="3" width="100%">
<?php
if(isset($_SESSION['AMSUD_ID_MEMBER']))
{
echo "<tr height=10><td align=center><a class=linkw href='admin.php'>admin</a>
<a class=linkw href='index.php?action=logout'>logout</a></td></tr>";
}
else
{
echo "
<form name='frmLogin' method='post' action='index.php?action=login'>
<tr height=10><td><input type='text' name='user' value='user name' onfocus='if(this.value=='user name')this.value='';'></td></tr>
<tr height=10><td><input type='password' name='password' value=''></td></tr>
<tr height=10><td><input type='submit' value='submit'></td></tr>
</form>";
}
?>
</td>
</tr>
</table>
</tbody>
</table>
<?php
mysql_close()
?>

</body>
</html>

Liens sponsorisés
Inscrivez-vous ou connectez-vous pour masquer ceci.
Tom's Guide > Forum > Programmation > [HTML][PHP] Erreur IE et pas Firefox + Pas de chargement Flash
Aller à :

Il y a 2544 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici.

Attention

Vous allez répondre sur un sujet resté inactif pendant plus de 6 mois.
Assurez-vous d'apporter des éléments nouveaux à la discussion avant de poursuivre.

Répondre Annuler
Liens