Problema, se me desvia parte de la web a la izquierda Leido 7.323 veces

 
 
Pregunta
Resuelta.


Bueno como se puede ver en esta imagen, los bloques se desvían hacia la izquierda, y no consigo solucionarlo, lo que quiero es que quede alineado y que se vean las barras laterales del fondo, aqui dejo el código, haber si me decis donde esta el problema.



// ---------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------------
//
// Nuked-KlaN 1.7.x
// Nuked-Klan SP4
// Compatible con Internet Explorer / Firefox / Opera
//
//
//
// THEME: T2anarchy
//
//
// Autor : Realizado por www.themes-nk.es
// Disador : Rad
// Codeur : Rad
//
//
// Plus de thèmes disponibles sur classik-nk.com !
// Pour tout renseignement, report de bug, demande de thème , reportez vous sur le Forum.
// Les Sources des thèmes sont disponibles sur le site afin de faciliter toute modification.
// WWW.CLASSIK-NK.COM
//
// ------------------------------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------------------------------------
function top() /// ouverture de la fonctions top Défini le haut et la gauche du site
{
global $nuked, $op, $file, $page;
include ('themes/classik_clan/config/config_rooster.php');

echo"
<!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>
<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />
<meta http-equiv=\"content-style-type\" content=\"text/css\" />
<meta name=\"keywords\" content=\"" . $nuked['keyword'] . "\" />
<meta name=\"Description\" content=\"" . $nuked['description'] . "\" />
<title>:: $nuked[name] :: $nuked[slogan] - </title>
<link href=\"themes/classik_clan/style.css\" rel=\"stylesheet\" type=\"text/css\">
<script type=\"text/javascript\" src=\"themes/classik_clan/flash.js\"></script>
</head>
<body>
<table width=\"950\" height=\"180\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td>
";


<script type="text/javascript">show_flash('950', '180', 'themes/classik_clan/images/header_classik_clan.swf', '#FFFFFF', '

echo "team=" . $nuked['name'];

');</script>


echo "
</td>
</tr>
</table>
<table width=\"950\" height=\"160\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/blockes.png\">
<tr>
<td width=\"0\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
<td width=\"233\" valign=\"top\" style=\"padding-top:3px;\">";include('themes/classik_clan/block_news.php');echo"</td>
<td width=\"238\" valign=\"top\">";include('themes/classik_clan/block_forum.php');echo"</td>
<td width=\"240\" valign=\"top\">";include('themes/classik_clan/block_dl.php');echo"</td>
<td width=\"0\" valign=\"center\">";include('themes/classik_clan/block_user.php');echo"</td>
<td width=\"40\"><table width=\"40\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table>
";




echo "
<table width=\"950\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/background.png\">
<tr>
<td width=\"950\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
<td valign=\"top\"><table width=\"950\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"950\" valign=\"top\"><table width=\"227\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td valign=\"top\"><table width=\"227\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/haut_block_rooster.jpg\">
<tr>
<td></td>
</tr>
</table>

<table width=\"227\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/corps_block_gauche.jpg\">
<tr>
<td valign=\"top\">



<table width=\"227\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/bas_block_gauche.jpg\">
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table>
<table width=\"227\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td valign=\"top\">
"; get_blok('gauche'); echo "
</td>
</tr>
</table></td>
<td width=\"950\" valign=\"top\"><table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td valign=\"top\">
";
if ($op == "index" && $file != "Admin" && $page != "admin") get_blok('centre');
}

function footer()
{
global $nuked, $op, $file, $page;
if ($op == "index" && $file != "Admin" && $page != "admin") get_blok('bas');
echo "
</td>
</tr>
</table></td>
<td width=\"224\" valign=\"top\"><table width=\"224\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/block_sta3ts.jpg\">
<tr>
<td valign=\"top\"><table width=\"224\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td></td>
</tr>
</table>

</tr>
</table>
<table width=\"224\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td valign=\"top\">
"; get_blok('droite'); echo "
</td>
</tr>
</table></td>
</tr>
</table></td>
<td width=\"0\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table>
<table width=\"950\" height=\"46\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/footer.png\">
<tr>
<td valign=\"top\"><table width=\"950\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td></td>
</tr>
</table>
<table width=\"950\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"0\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
<td width=\"0\"><table width=\"0\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td align=\"center\" style=\"padding-bottom: 5px;\">
<span style=\"color: #414141;\"> </span><a href=\"http://www.classik-nk.com/\" alt=\"Classik-NK: Création de thèmes Nuked Klan - NK\" style=\"color: #414141;\"></a>
</td>
</tr>
</table></td>
<td width=\"419\" align=\"center\" valign=\"center\" style=\"color: #414141; padding-top: 5px;\">
<strong>$nuked[footmessage]</strong>
</td>
<td width=\"0\" align=\"left\">
";include('Includes/copyleft.php');echo"
</td>
<td width=\"0\"></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>";
exit;
}

function news($data)
{
echo "
<table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td>
<table height=\"0\" width=\"419\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/mini_haut_news.jpg\">
<tr>
<td></td>
</tr>
</table>
<table width=\"419\" height=\"30\" background=\"themes/classik_clan/images/tnoticias.png\">
<tr>
<td width=\"419\" align=\"left\" style=\"color: white;\" valign=\"center\">
<strong>$data[titre]</strong>
</td>
<td width=\"125\" valign=\"center\">
<a href=\"index.php?file=News&op=index_comment&news_id=$data[id]\" style=\"color: #414141;\">
Commentaires ($data[nb_comment])</a>
</td>
</tr>
</table>
<table width=\"419\" height=\"2\" background=\"themes/classik_clan/images/cnoticias.png\">
<tr>
<td align=\"center\" valign=\"center\">
Par $data[auteur]
le $data[date] à $data[heure]
</td>
</tr>
</table>

</td>
</tr>
<tr>
<td width=\"419\" background=\"themes/classik_clan/images/cnoticias.png\" class=\"contenu_news\" align=\"left\">
$data[image] $data[texte]
</td>
</tr>
<tr>
<td width=\"419\" height=\"30\" background=\"themes/classik_clan/images/bnoticias.png\">
</td>
</tr>
</table>";
}

function block_gauche($block)
{
echo"
<table width=\"227\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td width=\"227\" height=\"29\" background=\"themes/classik_clan/images/tblocki.png\" align=\"center\">
<table width=\"227\" height=\"29\">
<tr>
<td align=\"center\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"227\" background=\"themes/classik_clan/images/cblocki.png\" align=\"left\" class=\"contenu_colonnes\">
$block[content]
</td>
</tr>
<tr>
<td width=\"227\" height=\"10\" background=\"themes/classik_clan/images/bblocki.png\">
</td>
</tr>
</table>";
}

function block_droite($block)
{
echo"
<table width=\"224\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td width=\"224\" height=\"29\" background=\"themes/classik_clan/images/tblockd.png\" align=\"center\">
<table width=\"224\" height=\"29\">
<tr>
<td align=\"center\" style=\"color: white\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"224\" background=\"themes/classik_clan/images/cblockd.png\" align=\"left\" class=\"contenu_colonne_droite\">
$block[content]
</td>
</tr>
<tr>
<td width=\"224\" height=\"10\" background=\"themes/classik_clan/images/bblockd.png\">
</td>
</tr>
</table>";
}

function block_centre($block)
{
echo"
<table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td>
<table height=\"4\" width=\"419\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/mini_haut_news.jpg\">
<tr>
<td></td>
</tr>
</table>
<table width=\"419\" height=\"17\" background=\"themes/classik_clan/images/haut_block_centre.jpg\">
<tr>
<td width=\"419\" align=\"center\" style=\"color: white;\" valign=\"center\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"419\" background=\"themes/classik_clan/images/corps_news.jpg\" class=\"contenu_news\" align=\"left\">
$block[content]
</td>
</tr>
<tr>
<td width=\"419\" height=\"17\" background=\"themes/classik_clan/images/bas_news.jpg\">
</td>
</tr>
</table>";
}

function block_bas($block)
{
echo"
<table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td>
<table height=\"4\" width=\"419\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/mini_haut_news.jpg\">
<tr>
<td></td>
</tr>
</table>
<table width=\"419\" height=\"17\" background=\"themes/classik_clan/images/haut_block_centre.jpg\">
<tr>
<td width=\"419\" align=\"center\" style=\"color: white;\" valign=\"center\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"419\" background=\"themes/classik_clan/images/corps_news.jpg\" class=\"contenu_news\" align=\"left\">
$block[content]
</td>
</tr>
<tr>
<td width=\"419\" height=\"17\" background=\"themes/classik_clan/images/bas_news.jpg\">
</td>
</tr>
</table>";
}

function opentable()
{
echo"
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td width=\"419\">
</td>
</tr>
<tr>
<td width=\"419\">
";
}

function closetable()
{
echo"
</td>
</tr>
<tr>
<td width=\"419\">
</td>
</tr>
</table>";
}


 

 





 
Respuesta correcta
Ha recibido:
1 premios
Ahí tienes:

www.megaupload.com/?d=MO7DHMEW

No se si se puede hacer de mejor manera, he añadido una tabla que centra el contenido. Si tienes algún problema con quitar la línea que he añadido, lo solucionas, aunque no creo que te de problema alguno.

Esta es la linea:

<td><table width=\"40\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"></table></td>

Por si se rompe el link:





// ---------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------------
//
// Nuked-KlaN 1.7.x
// Nuked-Klan SP4
// Testé compatible sur Internet Explorer / Firefox / Opera
//
//
//
// THEME: classik_brown
//
//
// Auteur : Réalisé par www.classik-nk.com ( Création de thèmes Nuked Klan )
// Designer : ClassikD
// Codeur : ClassikD
//
//
// Plus de thèmes disponibles sur classik-nk.com !
// Pour tout renseignement, report de bug, demande de thème , reportez vous sur le Forum.
// Les Sources des thèmes sont disponibles sur le site afin de faciliter toute modification.
// WWW.CLASSIK-NK.COM
//
// ------------------------------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------------------------------------
function top() /// ouverture de la fonctions top Défini le haut et la gauche du site
{
global $nuked, $op, $file, $page;
include ('themes/classik_clan/config/config_rooster.php');

echo"
<!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>
<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />
<meta http-equiv=\"content-style-type\" content=\"text/css\" />
<meta name=\"keywords\" content=\"" . $nuked['keyword'] . "\" />
<meta name=\"Description\" content=\"" . $nuked['description'] . "\" />
<title>:: $nuked[name] :: $nuked[slogan] - </title>
<link href=\"themes/classik_clan/style.css\" rel=\"stylesheet\" type=\"text/css\">
<script type=\"text/javascript\" src=\"themes/classik_clan/flash.js\"></script>
</head>
<body>
<table width=\"950\" height=\"180\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td>
";


<script type="text/javascript">show_flash('950', '180', 'themes/classik_clan/images/header_classik_clan.swf', '#FFFFFF', '

echo "team=" . $nuked['name'];

');</script>


echo "
</td>
</tr>
</table>
<table width=\"950\" height=\"160\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/blockes.png\">
<tr>
<td width=\"0\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
<td width=\"233\" valign=\"top\" style=\"padding-top:3px;\">";include('themes/classik_clan/block_news.php');echo"</td>
<td width=\"238\" valign=\"top\">";include('themes/classik_clan/block_forum.php');echo"</td>
<td width=\"240\" valign=\"top\">";include('themes/classik_clan/block_dl.php');echo"</td>
<td width=\"0\" valign=\"center\">";include('themes/classik_clan/block_user.php');echo"</td>
<td width=\"40\"><table width=\"40\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table>
";




echo "
<table width=\"950\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/background.png\">
<tr>
<td width=\"190\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
<td valign=\"top\"><table width=\"950\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"950\" valign=\"top\"><table width=\"227\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td valign=\"top\"><table width=\"227\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/haut_block_rooster.jpg\">
<tr>
<td></td>
</tr>
</table>

<table width=\"227\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/corps_block_gauche.jpg\">
<tr>
<td valign=\"top\">



<table width=\"227\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/bas_block_gauche.jpg\">
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table>
<table width=\"227\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"40\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"></table></td>
<td valign=\"top\">
"; get_blok('gauche'); echo "
</td>
</tr>
</table></td>
<td width=\"950\" valign=\"top\"><table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td valign=\"top\">
";
if ($op == "index" && $file != "Admin" && $page != "admin") get_blok('centre');
function footer()
{
global $nuked, $op, $file, $page;
if ($op == "index" && $file != "Admin" && $page != "admin") get_blok('bas');
echo "
</td>
</tr>
</table></td>
<td width=\"224\" valign=\"top\"><table width=\"224\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/block_sta3ts.jpg\">
<tr>
<td valign=\"top\"><table width=\"224\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td></td>
</tr>
</table>

</tr>
</table>
<table width=\"224\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td valign=\"top\">
"; get_blok('droite'); echo "
</td>
</tr>
</table></td>
</tr>
</table></td>
<td width=\"0\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table>
<table width=\"950\" height=\"46\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/footer.png\">
<tr>
<td valign=\"top\"><table width=\"950\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td></td>
</tr>
</table>
<table width=\"950\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"0\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
<td width=\"0\"><table width=\"0\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td align=\"center\" style=\"padding-bottom: 5px;\">
<span style=\"color: #414141;\"> </span><a href=\"http://www.classik-nk.com/\" alt=\"Classik-NK: Création de thèmes Nuked Klan - NK\" style=\"color: #414141;\"></a>
</td>
</tr>
</table></td>
<td width=\"419\" align=\"center\" valign=\"center\" style=\"color: #414141; padding-top: 5px;\">
<strong>$nuked[footmessage]</strong>
</td>
<td width=\"0\" align=\"left\">
";include('Includes/copyleft.php');echo"
</td>
<td width=\"0\"></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>";
exit;
}
}

function news($data)
{
echo "
<table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td>
<table height=\"0\" width=\"419\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/mini_haut_news.jpg\">
<tr>
<td></td>
</tr>
</table>
<table width=\"419\" height=\"30\" background=\"themes/classik_clan/images/tnoticias.png\">
<tr>
<td width=\"419\" align=\"left\" style=\"color: white;\" valign=\"center\">
<strong>$data[titre]</strong>
</td>
<td width=\"125\" valign=\"center\">
<a href=\"index.php?file=News&op=index_comment&news_id=$data[id]\" style=\"color: #414141;\">
Commentaires ($data[nb_comment])</a>
</td>
</tr>
</table>
<table width=\"419\" height=\"2\" background=\"themes/classik_clan/images/cnoticias.png\">
<tr>
<td align=\"center\" valign=\"center\">
Par $data[auteur]
le $data[date] à $data[heure]
</td>
</tr>
</table>

</td>
</tr>
<tr>
<td width=\"419\" background=\"themes/classik_clan/images/cnoticias.png\" class=\"contenu_news\" align=\"left\">
$data[image] $data[texte]
</td>
</tr>
<tr>
<td width=\"419\" height=\"30\" background=\"themes/classik_clan/images/bnoticias.png\">
</td>
</tr>
</table>";
}

function block_gauche($block)
{
echo"
<table width=\"227\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td width=\"227\" height=\"29\" background=\"themes/classik_clan/images/tblocki.png\" align=\"center\">
<table width=\"227\" height=\"29\">
<tr>
<td align=\"center\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"227\" background=\"themes/classik_clan/images/cblocki.png\" align=\"left\" class=\"contenu_colonnes\">
$block[content]
</td>
</tr>
<tr>
<td width=\"227\" height=\"10\" background=\"themes/classik_clan/images/bblocki.png\">
</td>
</tr>
</table>";
}

function block_droite($block)
{
echo"
<table width=\"224\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td width=\"224\" height=\"29\" background=\"themes/classik_clan/images/tblockd.png\" align=\"center\">
<table width=\"124\" height=\"29\">
<tr>
<td align=\"center\" style=\"color: white\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"224\" background=\"themes/classik_clan/images/cblockd.png\" align=\"left\" class=\"contenu_colonne_droite\">
$block[content]
</td>
</tr>
<tr>
<td width=\"224\" height=\"10\" background=\"themes/classik_clan/images/bblockd.png\">
</td>
</tr>
</table>";
}

function block_centre($block)
{
echo"
<table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td>
<table height=\"4\" width=\"419\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/mini_haut_news.jpg\">
<tr>
<td></td>
</tr>
</table>
<table width=\"419\" height=\"17\" background=\"themes/classik_clan/images/haut_block_centre.jpg\">
<tr>
<td width=\"419\" align=\"center\" style=\"color: white;\" valign=\"center\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"419\" background=\"themes/classik_clan/images/corps_news.jpg\" class=\"contenu_news\" align=\"left\">
$block[content]
</td>
</tr>
<tr>
<td width=\"419\" height=\"17\" background=\"themes/classik_clan/images/bas_news.jpg\">
</td>
</tr>
</table>";
}

function block_bas($block)
{
echo"
<table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td>
<table height=\"4\" width=\"419\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/mini_haut_news.jpg\">
<tr>
<td></td>
</tr>
</table>
<table width=\"419\" height=\"17\" background=\"themes/classik_clan/images/haut_block_centre.jpg\">
<tr>
<td width=\"419\" align=\"center\" style=\"color: white;\" valign=\"center\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"419\" background=\"themes/classik_clan/images/corps_news.jpg\" class=\"contenu_news\" align=\"left\">
$block[content]
</td>
</tr>
<tr>
<td width=\"419\" height=\"17\" background=\"themes/classik_clan/images/bas_news.jpg\">
</td>
</tr>
</table>";
}

function opentable()
{
echo"
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td width=\"419\">
</td>
</tr>
<tr>
<td width=\"419\">
";
}

function closetable()
{
echo"
</td>
</tr>
<tr>
<td width=\"419\">
</td>
</tr>
</table>";
}


 

 


 
Puedes pasarme el theme con el problema?
 

 


 
Respuesta correcta
Ha recibido:
1 premios
Ahí tienes:

www.megaupload.com/?d=MO7DHMEW

No se si se puede hacer de mejor manera, he añadido una tabla que centra el contenido. Si tienes algún problema con quitar la línea que he añadido, lo solucionas, aunque no creo que te de problema alguno.

Esta es la linea:

<td><table width=\"40\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"></table></td>

Por si se rompe el link:





// ---------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------------
//
// Nuked-KlaN 1.7.x
// Nuked-Klan SP4
// Testé compatible sur Internet Explorer / Firefox / Opera
//
//
//
// THEME: classik_brown
//
//
// Auteur : Réalisé par www.classik-nk.com ( Création de thèmes Nuked Klan )
// Designer : ClassikD
// Codeur : ClassikD
//
//
// Plus de thèmes disponibles sur classik-nk.com !
// Pour tout renseignement, report de bug, demande de thème , reportez vous sur le Forum.
// Les Sources des thèmes sont disponibles sur le site afin de faciliter toute modification.
// WWW.CLASSIK-NK.COM
//
// ------------------------------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------------------------------------
function top() /// ouverture de la fonctions top Défini le haut et la gauche du site
{
global $nuked, $op, $file, $page;
include ('themes/classik_clan/config/config_rooster.php');

echo"
<!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>
<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />
<meta http-equiv=\"content-style-type\" content=\"text/css\" />
<meta name=\"keywords\" content=\"" . $nuked['keyword'] . "\" />
<meta name=\"Description\" content=\"" . $nuked['description'] . "\" />
<title>:: $nuked[name] :: $nuked[slogan] - </title>
<link href=\"themes/classik_clan/style.css\" rel=\"stylesheet\" type=\"text/css\">
<script type=\"text/javascript\" src=\"themes/classik_clan/flash.js\"></script>
</head>
<body>
<table width=\"950\" height=\"180\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td>
";


<script type="text/javascript">show_flash('950', '180', 'themes/classik_clan/images/header_classik_clan.swf', '#FFFFFF', '

echo "team=" . $nuked['name'];

');</script>


echo "
</td>
</tr>
</table>
<table width=\"950\" height=\"160\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/blockes.png\">
<tr>
<td width=\"0\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
<td width=\"233\" valign=\"top\" style=\"padding-top:3px;\">";include('themes/classik_clan/block_news.php');echo"</td>
<td width=\"238\" valign=\"top\">";include('themes/classik_clan/block_forum.php');echo"</td>
<td width=\"240\" valign=\"top\">";include('themes/classik_clan/block_dl.php');echo"</td>
<td width=\"0\" valign=\"center\">";include('themes/classik_clan/block_user.php');echo"</td>
<td width=\"40\"><table width=\"40\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table>
";




echo "
<table width=\"950\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/background.png\">
<tr>
<td width=\"190\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
<td valign=\"top\"><table width=\"950\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"950\" valign=\"top\"><table width=\"227\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td valign=\"top\"><table width=\"227\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/haut_block_rooster.jpg\">
<tr>
<td></td>
</tr>
</table>

<table width=\"227\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/corps_block_gauche.jpg\">
<tr>
<td valign=\"top\">



<table width=\"227\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/bas_block_gauche.jpg\">
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table>
<table width=\"227\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"40\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"></table></td>
<td valign=\"top\">
"; get_blok('gauche'); echo "
</td>
</tr>
</table></td>
<td width=\"950\" valign=\"top\"><table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td valign=\"top\">
";
if ($op == "index" && $file != "Admin" && $page != "admin") get_blok('centre');
function footer()
{
global $nuked, $op, $file, $page;
if ($op == "index" && $file != "Admin" && $page != "admin") get_blok('bas');
echo "
</td>
</tr>
</table></td>
<td width=\"224\" valign=\"top\"><table width=\"224\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/block_sta3ts.jpg\">
<tr>
<td valign=\"top\"><table width=\"224\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td></td>
</tr>
</table>

</tr>
</table>
<table width=\"224\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td valign=\"top\">
"; get_blok('droite'); echo "
</td>
</tr>
</table></td>
</tr>
</table></td>
<td width=\"0\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table>
<table width=\"950\" height=\"46\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/footer.png\">
<tr>
<td valign=\"top\"><table width=\"950\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td></td>
</tr>
</table>
<table width=\"950\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"0\"><table width=\"0\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table></td>
<td width=\"0\"><table width=\"0\" height=\"0\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td align=\"center\" style=\"padding-bottom: 5px;\">
<span style=\"color: #414141;\"> </span><a href=\"http://www.classik-nk.com/\" alt=\"Classik-NK: Création de thèmes Nuked Klan - NK\" style=\"color: #414141;\"></a>
</td>
</tr>
</table></td>
<td width=\"419\" align=\"center\" valign=\"center\" style=\"color: #414141; padding-top: 5px;\">
<strong>$nuked[footmessage]</strong>
</td>
<td width=\"0\" align=\"left\">
";include('Includes/copyleft.php');echo"
</td>
<td width=\"0\"></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>";
exit;
}
}

function news($data)
{
echo "
<table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td>
<table height=\"0\" width=\"419\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/mini_haut_news.jpg\">
<tr>
<td></td>
</tr>
</table>
<table width=\"419\" height=\"30\" background=\"themes/classik_clan/images/tnoticias.png\">
<tr>
<td width=\"419\" align=\"left\" style=\"color: white;\" valign=\"center\">
<strong>$data[titre]</strong>
</td>
<td width=\"125\" valign=\"center\">
<a href=\"index.php?file=News&op=index_comment&news_id=$data[id]\" style=\"color: #414141;\">
Commentaires ($data[nb_comment])</a>
</td>
</tr>
</table>
<table width=\"419\" height=\"2\" background=\"themes/classik_clan/images/cnoticias.png\">
<tr>
<td align=\"center\" valign=\"center\">
Par $data[auteur]
le $data[date] à $data[heure]
</td>
</tr>
</table>

</td>
</tr>
<tr>
<td width=\"419\" background=\"themes/classik_clan/images/cnoticias.png\" class=\"contenu_news\" align=\"left\">
$data[image] $data[texte]
</td>
</tr>
<tr>
<td width=\"419\" height=\"30\" background=\"themes/classik_clan/images/bnoticias.png\">
</td>
</tr>
</table>";
}

function block_gauche($block)
{
echo"
<table width=\"227\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td width=\"227\" height=\"29\" background=\"themes/classik_clan/images/tblocki.png\" align=\"center\">
<table width=\"227\" height=\"29\">
<tr>
<td align=\"center\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"227\" background=\"themes/classik_clan/images/cblocki.png\" align=\"left\" class=\"contenu_colonnes\">
$block[content]
</td>
</tr>
<tr>
<td width=\"227\" height=\"10\" background=\"themes/classik_clan/images/bblocki.png\">
</td>
</tr>
</table>";
}

function block_droite($block)
{
echo"
<table width=\"224\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td width=\"224\" height=\"29\" background=\"themes/classik_clan/images/tblockd.png\" align=\"center\">
<table width=\"124\" height=\"29\">
<tr>
<td align=\"center\" style=\"color: white\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"224\" background=\"themes/classik_clan/images/cblockd.png\" align=\"left\" class=\"contenu_colonne_droite\">
$block[content]
</td>
</tr>
<tr>
<td width=\"224\" height=\"10\" background=\"themes/classik_clan/images/bblockd.png\">
</td>
</tr>
</table>";
}

function block_centre($block)
{
echo"
<table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td>
<table height=\"4\" width=\"419\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/mini_haut_news.jpg\">
<tr>
<td></td>
</tr>
</table>
<table width=\"419\" height=\"17\" background=\"themes/classik_clan/images/haut_block_centre.jpg\">
<tr>
<td width=\"419\" align=\"center\" style=\"color: white;\" valign=\"center\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"419\" background=\"themes/classik_clan/images/corps_news.jpg\" class=\"contenu_news\" align=\"left\">
$block[content]
</td>
</tr>
<tr>
<td width=\"419\" height=\"17\" background=\"themes/classik_clan/images/bas_news.jpg\">
</td>
</tr>
</table>";
}

function block_bas($block)
{
echo"
<table width=\"419\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td>
<table height=\"4\" width=\"419\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_clan/images/mini_haut_news.jpg\">
<tr>
<td></td>
</tr>
</table>
<table width=\"419\" height=\"17\" background=\"themes/classik_clan/images/haut_block_centre.jpg\">
<tr>
<td width=\"419\" align=\"center\" style=\"color: white;\" valign=\"center\">
<strong>$block[titre]</strong>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"419\" background=\"themes/classik_clan/images/corps_news.jpg\" class=\"contenu_news\" align=\"left\">
$block[content]
</td>
</tr>
<tr>
<td width=\"419\" height=\"17\" background=\"themes/classik_clan/images/bas_news.jpg\">
</td>
</tr>
</table>";
}

function opentable()
{
echo"
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td width=\"419\">
</td>
</tr>
<tr>
<td width=\"419\">
";
}

function closetable()
{
echo"
</td>
</tr>
<tr>
<td width=\"419\">
</td>
</tr>
</table>";
}


 

 


 
Muchas gracias queda perfecto :D