Bonjour à Tous,
Ma bannière flash une fois placée sur le serveur n'est visible que sur IE, et non sur Opéra et Firefox. En test sur mon pc je n'avait aucun problème de compatibilité.
J'ai essayé différente méthode y compris swfobject mais le résultat est identique.
Le lien du site test comprenant la bannière:
http://samples.phuckhangminh.com/Dream/HTML/eng/home.php
Est-ce que vous auriez une idée, je sèche complètement depuis un jour.
Merci d'avance pour votre aide,
Voici mon html:
Modifié par Karl02 (01 Dec 2010 - 09:07)
Ma bannière flash une fois placée sur le serveur n'est visible que sur IE, et non sur Opéra et Firefox. En test sur mon pc je n'avait aucun problème de compatibilité.
J'ai essayé différente méthode y compris swfobject mais le résultat est identique.
Le lien du site test comprenant la bannière:
http://samples.phuckhangminh.com/Dream/HTML/eng/home.php
Est-ce que vous auriez une idée, je sèche complètement depuis un jour.
Merci d'avance pour votre aide,
Voici mon html:
[code=html]
<?php require_once('../../Connections/mycon.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
$maxRows_Market_News = 3;
$pageNum_Market_News = 0;
if (isset($_GET['pageNum_Market_News'])) {
$pageNum_Market_News = $_GET['pageNum_Market_News'];
}
$startRow_Market_News = $pageNum_Market_News * $maxRows_Market_News;
mysql_select_db($database_mycon, $mycon);
$query_Market_News = "SELECT * FROM tab_news WHERE ch_new_state = 1 ORDER BY ch_new_date DESC";
$query_limit_Market_News = sprintf("%s LIMIT %d, %d", $query_Market_News, $startRow_Market_News, $maxRows_Market_News);
$Market_News = mysql_query($query_limit_Market_News, $mycon) or die(mysql_error());
$row_Market_News = mysql_fetch_assoc($Market_News);
if (isset($_GET['totalRows_Market_News'])) {
$totalRows_Market_News = $_GET['totalRows_Market_News'];
} else {
$all_Market_News = mysql_query($query_Market_News);
$totalRows_Market_News = mysql_num_rows($all_Market_News);
}
$totalPages_Market_News = ceil($totalRows_Market_News/$maxRows_Market_News)-1;
mysql_select_db($database_mycon, $mycon);
$query_Content_news = "SELECT * FROM tab_news WHERE ch_new_state = 1 ORDER BY ch_new_date DESC";
$Content_news = mysql_query($query_Content_news, $mycon) or die(mysql_error());
$row_Content_news = mysql_fetch_assoc($Content_news);
$totalRows_Content_news = mysql_num_rows($Content_news);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><!-- InstanceBegin template="/Templates/page_principale.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Document sans titre</title>
<!-- InstanceEndEditable -->
<link href="../../Styles/reset.css" rel="stylesheet" type="text/css">
<link href="../../Styles/twoColFixLtHdr.css" rel="stylesheet" type="text/css">
<link href="../../Styles/visuel_01.css" rel="stylesheet" type="text/css">
<script src="../../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
<!-- InstanceBeginEditable name="head" -->
<link href="../../Styles/Home.css" rel="stylesheet" type="text/css">
<!-- InstanceEndEditable -->
</head>
<body>
<div class="container">
<div class="header"><!-- end .header -->
<h2>Phuc Khang Minh </h2>
<ul class="language eng">
<li><a href="#">English</a></li>
</ul>
<ul class="language fr">
<li><a href="#">Français</a></li>
</ul>
<ul class="Main_menu">
<p><span class="home"> <a href="home.php">Home</a> </span>
<span class="About us"> <a href="about-us.php">About us</a> </span>
<span class="Products"> <a href="products.php">Products</a> </span>
<span class="Contact"> <a href="contact-us.php">Contact</a> </span>
</p>
</ul>
<ul class="Main-menu2">
<li><a href="prices.php">Prices</a></li>
<li><a href="market-news.php">Market news</a></li>
<li><a href="Enquiry.php">Enquiry</a></li>
</ul>
</div>
<div class="sidebar1">
<ul class="nav">
<ul id="MenuBar1" class="MenuBarVertical">
<li><a class="MenuBarItemSubmenu" href="Rice/page_rice.php">Rice</a>
<ul>
<li><a href="Rice/rice_crop_information.php">Crop information</a></li>
<li><a href="Rice/rice_our_factory.php">Our Factory</a></li>
<li><a href="Rice/rice_white_rice.php">White Rice</a></li>
<li><a href="Rice/rice_jasmine_rice.php">Jasmine Rice</a></li>
<li><a href="Rice/rice_short_rice.php">Short Rice</a></li>
<li><a href="Rice/rice_hom_mali.php">Hom Mali Rice</a></li>
<li><a href="Rice/rice_medium_rice.php">Medium Rice</a></li>
<li><a href="Rice/rice_round_rice.php">Round Rice</a></li>
<li><a href="Rice/rice_brown_rice.php">Brown Rice</a></li>
<li><a href="Rice/rice_brand-packing.php">Brand / Packing</a></li>
<li><a href="prices.php">Price List</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="Coconut/page_coconut.php">Coconut</a>
<ul>
<li><a href="Coconut/coconut_crop_information.php">Crop Information</a></li>
<li><a href="Coconut/coconut_our_factory.php">Our Factory</a></li>
<li><a href="Coconut/coconut_desiccated_coconut.php">Desiccated Coconut</a></li>
<li><a href="Coconut/coconut_semi-husked_coconut.php">Semi-Husked Coconut</a></li>
<li><a href="Coconut/coconut_edible_copra.php">Edible Copra</a></li>
<li><a href="Coconut/coconut_coco_fiber.php">Coco Fiber</a></li>
<li><a href="Coconut/coconut_coco_pith.php">Coco Pith</a></li>
<li><a href="Coconut/coconut_virgin_coconut_oil.php">Virgin Coconut Oil</a></li>
<li><a href="prices.php">Price List</a></li>
</ul>
</li>
<li><a href="Pepper/Page-pepper.php" class="MenuBarItemSubmenu">Pepper</a>
<ul>
<li><a href="Pepper/pepper_crop_information.php">Crop Information</a></li>
<li><a href="Pepper/pepper_our_factory.php">Our Factory</a></li>
<li><a href="Pepper/pepper_white_pepper.php">White Pepper</a></li>
<li><a href="Pepper/pepper_black_pepper.php">Black Pepper</a></li>
<li><a href="prices.php">Price List</a></li>
</ul>
</li>
<li><a href="Cashew_Nuts/page_cashew nuts.php" class="MenuBarItemSubmenu">Cashew Nuts</a>
<ul>
<li><a href="Cashew_Nuts/cashew_nuts_crop_information.php">Crop Information</a></li>
<li><a href="Cashew_Nuts/cashew_nuts_products.php">Products</a></li>
<li><a href="prices.php">Price List</a></li>
</ul>
</li>
<li><a href="Coffee/page_coffee.php" class="MenuBarItemSubmenu">Coffee</a>
<ul>
<li><a href="Coffee/coffee_crop_information.php">Crop Information</a></li>
<li><a href="Coffee/coffee_robusta.php">Robusta </a></li>
<li><a href="Coffee/coffee_arabica.php">Arabica</a></li>
<li><a href="Coffee/coffee_excelsa.php">Excelsa</a></li>
<li><a href="prices.php">Price List</a></li>
</ul>
</li>
<li><a href="Star_Anise/page_star anise.php" class="MenuBarItemSubmenu">Star Anise</a>
<ul>
<li><a href="Star_Anise/star_anise_crop_information.php">Crop Information</a></li>
<li><a href="Star_Anise/star_anise_products.php">Products</a></li>
<li><a href="prices.php">Price List</a></li>
</ul>
</li>
<li><a href="Tea/page_tea.php" class="MenuBarItemSubmenu">Tea</a>
<ul>
<li><a href="Tea/tea_crop_information.php">Crop Information</a></li>
<li><a href="Tea/tea_black_tea.php">Black Tea</a></li>
<li><a href="Tea/tea_green_tea.php">Green Tea</a></li>
<li><a href="prices.php">Price List</a></li>
</ul>
</li>
<li><a href="Cassia/page cassia.php" class="MenuBarItemSubmenu">Cassia</a>
<ul>
<li><a href="Cassia/cassia_crop_information.php">Crop Information</a></li>
<li><a href="Cassia/cassia_products.php">Products</a></li>
<li><a href="prices.php">Price List</a></li>
</ul>
</li>
<li><a href="Furniture/page_furniture.php" class="MenuBarItemSubmenu">Furniture</a>
<ul>
<li><a href="Furniture/furniture_general_information.php">General Information</a></li>
<li><a href="Furniture/furniture_products.php">Products</a></li>
</ul>
</li>
<li><a href="Other_Products/other-products.php">Other Products</a></li>
</ul>
</ul>
</li>
<h2>Rice Price Table</h2>
<table width="182" summary="">
<caption>
Rice Price Table
</caption>
<thead>
<tr>
<th height="25" colspan="3" scope="col">Date: ../../..</th>
</tr>
<tr>
<th width="85" scope="col">Variety</th>
<th width="45" scope="col">Broken</th>
<th width="36" scope="col">Price (usd)</th>
</tr>
</thead>
<tbody>
<tr>
<td height="20">White long grain</td>
<td>5%</td>
<td> </td>
</tr>
<tr>
<td height="20">White long grain</td>
<td>15%</td>
<td> </td>
</tr>
<tr>
<td height="20">White long grain</td>
<td>25%</td>
<td> </td>
</tr>
<tr>
<td height="20">White long grain</td>
<td>100%</td>
<td> </td>
</tr>
<tr>
<td height="20">Jasmine</td>
<td>5%</td>
<td> </td>
</tr>
<tr>
<td height="20">Jasmine</td>
<td>100%</td>
<td> </td>
</tr>
<tr>
<td height="20">Hom Mali</td>
<td>5%</td>
<td> </td>
</tr>
<tr>
<td height="20">Short Grain</td>
<td>5%</td>
<td> </td>
</tr>
<tr>
<td height="20">Medium Grain</td>
<td>5%</td>
<td> </td>
</tr>
<tr>
<td height="20">Round Grain</td>
<td>5%</td>
<td> </td>
</tr>
<tr>
<td height="20">Glutinous</td>
<td>5%</td>
<td> </td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3"><p>- All prices are quoted per Metric Ton and FOB Ho Chi Minh City</p>
<p>- Packing 50kg net in new PP bag</p>
<p>- Minimum order: 2x 20ft FCL(25MT)</p>
<p>More Information, <a href="prices.php">click here</a></p></td>
</tr>
</tfoot>
</table>
<h3>Latest Market News</h3>
<ul class="News">
<?php do { ?>
<li>
<h4><?php echo $row_Market_News['ch_new_title']; ?></h4>
<p><?php echo $row_Market_News['ch_new_text']; ?><a href="<?php echo $row_Market_News['ch_new_link']; ?>" target="_blank">Read more...</a> .</p>
<?php } while ($row_Market_News = mysql_fetch_assoc($Market_News)); ?>
<h5>To check all news, <a href="market-news.php">click here...</a></h5>
</li>
</ul>
</div>
<div class="content">
<!-- InstanceBeginEditable name="page_banner" -->
<div id="flashcontent">
<object data="../../Styles/Bannière.swf" type="application/x-shockwave-flash" width="734" height="192" id="FlashID" title="Phuc Khang Minh Banner">
<param name="play" value="true">
<param name="movie" value="../../Styles/Bannière.swf">
<param name="menu" value="true">
<param name="quality" value="high">
<param name="scalemode" value="noborder">
<param name="wmode" value="opaque">
</object>
</div>
<!-- InstanceEndEditable -->
<h1><!-- InstanceBeginEditable name="page_title" -->Home<!-- InstanceEndEditable --></h1>
<!-- InstanceBeginEditable name="page_content" --><p align="justify"> </p>
<p align="justify">Vietnamese food products such as rice, pepper, desiccated coconut, coffee, tea, star anise, cassia and cashew nuts has become increasingly popular amongst consumers all around the world, during the last two decades. When it comes to selecting a supplier/exporter in Viêtnam, you need a reliable partner that can provides good informations, competitive prices and on-time shippment.
</p>
<p align="justify"> </p>
<p align="justify">Phuc Khang Minh International Company Ltd is proud to emphasize on all those criteria and to offer our customers global services and market analysis, that will helps you to reach a dominant and competitive position in your country or regional area. </p>
<p align="justify"> </p>
<p align="justify">We conceived this website as a tool for our customers. Through constantly updated informations on prices and market situation, we believe we can offer a real support for a mutual benefit relationship. Please feel free to check our latest quotations and to contact us for any offer, or information demand. </p>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>
<!-- InstanceEndEditable -->
</div>
<div class="footer">
<div class="vcard">
<div>
<p class="org"><strong>PHUC KHANG MINH INTERNATIONAL COMPANY LTD</strong></p>
<p class="street-address">No 72/24 Tran Dinh Xu Street</p>
<p class="postal-code">Co Giang Ward - District 1</p>
<p class="locality">Ho Chi Minh City -Viêtnam</p>
</div>
</div>
<!-- end .footer --></div>
<!-- end .container --></div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($Market_News);
mysql_free_result($Content_news);
?>
Modifié par Karl02 (01 Dec 2010 - 09:07)