Bonjour,
Je n'arrive pas à comprendre pourquoi tous les moteurs de recherches me font celà :
Code de Article.php
<?php require_once('Connections/swtor.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_DetailRS1 = 10;
$pageNum_DetailRS1 = 0;
if (isset($_GET['pageNum_DetailRS1'])) {
$pageNum_DetailRS1 = $_GET['pageNum_DetailRS1'];
}
$startRow_DetailRS1 = $pageNum_DetailRS1 * $maxRows_DetailRS1;
$colname_DetailRS1 = "-1";
if (isset($_GET['recordID'])) {
$colname_DetailRS1 = $_GET['recordID'];
}
mysql_select_db($database_swtor, $swtor);
$query_DetailRS1 = sprintf("SELECT * FROM Articles WHERE id = %s", GetSQLValueString($colname_DetailRS1, "int"));
$query_limit_DetailRS1 = sprintf("%s LIMIT %d, %d", $query_DetailRS1, $startRow_DetailRS1, $maxRows_DetailRS1);
$DetailRS1 = mysql_query($query_limit_DetailRS1, $swtor) or die(mysql_error());
$row_DetailRS1 = mysql_fetch_assoc($DetailRS1);
if (isset($_GET['totalRows_DetailRS1'])) {
$totalRows_DetailRS1 = $_GET['totalRows_DetailRS1'];
} else {
$all_DetailRS1 = mysql_query($query_DetailRS1);
$totalRows_DetailRS1 = mysql_num_rows($all_DetailRS1);
}
$totalPages_DetailRS1 = ceil($totalRows_DetailRS1/$maxRows_DetailRS1)-1;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Ordre Ancestral Wiki SWTOR : Classes dans SWTOR</title>
<link href="css/master.css" rel="stylesheet" type="text/css" media="screen" />
<!--[if IE 7]>
<link href="css/ie7-only.css" rel="stylesheet" type="text/css" media=screen>
<![endif]-->
<!--[if lt IE 7]>
<link href="css/ie6-only.css" rel="stylesheet" type="text/css" media=screen>
<![endif]-->
</head>
<body>
<?php include("include/header.php"); ?>
<div id="container">
<div id="content">
<div id="intro">
<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<div>
<h2><?php echo nl2br($row_DetailRS1['titre']); ?></h2>
</div>
<b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div><!--/intro-->
<p>
<?php echo nl2br($row_DetailRS1['contenu']); ?>
</p>
<p> <br>
par <?php echo $row_DetailRS1['auteur']; ?><?php echo $row_DetailRS1['date']; ?></p>
</div><!--/content-->
<?php include("include/menugauche.php"); ?>
</div><!--/container-->
<?php include("include/footer.php"); ?>
</body>
</html>
Code entré dans le "systeme d'article":
<h4><u>Partenaires</u></h4><h4>Table Example</h4>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th>Partenaire:</th><th>Description:</th>
</tr>
<tr>
<td><img src="upload/Qyzen_Fess_2.jpg" width="200" height="210" /></td><td width="500" ><span style=" float:right;">Nom :Qyzen-Fess
Race: Homme Trandoshan
Obtention: Tython, vers les niveaux 7-8
Equipements: Armures Lourdes
Rôle: Tank
Stat primaire: Visée
Stat secondaire: Endurance
Arme principale: Vibrolame
Arme secondaire: Générateur de bouclier
Bonus missions équipage: + 15 Archéologie + 5 Bio analys</span></td>
</tr>
<tr class="alt">
<td>54</td><td>233</td>
</tr>
<tr>
<td>2</td><td>23</td>
</tr>
<tr class="alt">
<td>54</td><td>233</td>
</tr>
<tr>
<td>2</td><td>23</td>
</tr>
<tr class="alt">
<td>54</td><td>233</td>
</tr>
<tr>
<td>2</td><td>23</td>
</tr>
<tr class="alt">
<td>54</td><td>233</td>
</tr>
</tbody>
</table>
Et j'obtiens un énorme saut de ligne sous lA <h4>Partenaire</h4>
Demo :
http://ordreancestral.com/wiki/article.php?recordID=33
Voilà le code source d'après firefox:
<h4><u>Partenaires</u></h4><h4>Table Example</h4><br />
<table cellpadding="0" cellspacing="0"><br />
<tbody><br />
<tr><br />
<th>Partenaire:</th><th>Description:</th><br />
</tr><br />
<tr><br />
<td><img src="upload/Qyzen_Fess_2.jpg" width="200" height="210" /></td><td width="500" ><span style=" float:right;">Nom :Qyzen-Fess<br />
Race: Homme Trandoshan<br />
Obtention: Tython, vers les niveaux 7-8<br />
Equipements: Armures Lourdes<br />
Rôle: Tank<br />
Stat primaire: Visée<br />
Stat secondaire: Endurance<br />
Arme principale: Vibrolame <br />
Arme secondaire: Générateur de bouclier<br />
Bonus missions équipage: + 15 Archéologie + 5 Bio analys</span></td><br />
</tr><br />
<tr class="alt"><br />
<td>54</td><td>233</td><br />
</tr><br />
<tr><br />
<td>2</td><td>23</td><br />
</tr><br />
<tr class="alt"><br />
<td>54</td><td>233</td><br />
</tr><br />
<tr><br />
<td>2</td><td>23</td><br />
</tr><br />
<tr class="alt"><br />
<td>54</td><td>233</td><br />
</tr><br />
<tr><br />
<td>2</td><td>23</td><br />
</tr><br />
<tr class="alt"><br />
<td>54</td><td>233</td><br />
</tr><br />
</tbody><br />
</table><br />
</p>
<p> <br>