Modificatoin nuked-clan

DimDim -  
 DimDim -
Bonjour,

J'ai un petit problème avec mon site web. En fait, j'utilise nuked-clan et aimerait bien le modifier. J'ai presque finit ma modification perso mais un problème se pose. J'aimerai pouvoir modifier le background des modules, c-a-dire passé du blanc a une couleur un peu plus foncée. Malheureusement je ne trouve pas ou je dois changer cela. Je pense que cela doit etre dans le fichier thème.php que voici :

<?php
// **************************************************************************
// ** Template Na_Gigoss - Nuked-KlaN SP4.x
// **
// ** Design by Gigoss & PHP by Ray B
// ** Thème valide XHTML 1.0 Strict & CSS
// **
// ** http://www.nk-arts.org/
// ** https://nuked-klan.org/
// **************************************************************************
function top()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked, $file, $page, $user;

include ('themes/Na_Gigoss/config.php');

echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"
. "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"fr\"><head>\n"
. "<meta name=\"keywords\" content=\"" . $nuked['keyword'] . "\" />\n"
. "<meta name=\"Description\" content=\"" . $nuked['description'] . "\" />\n"
. "<title>" . $nuked['name'] . " - " . $nuked['slogan'] . "</title>\n";
?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="content-style-type" content="text/css" />
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
<link rel="icon" type="image/x-icon" href="images/favicon.ico" />
<link title="style" type="text/css" rel="stylesheet" href="themes/Na_Gigoss/style.css" />
<script type="text/javascript" src="themes/Na_Gigoss/images/flash/flash.js"></script>
</head>
<body>

<table style="width:1000px; margin-left:auto; margin-right:auto;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:100%;">
<td style="width:59px; background-image:url(themes/Na_Gigoss/images/bordure/barreG.png); vertical-align:top;"></td>
<td style="width:882px; vertical-align:top;">
<table style="width:882px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:50px;">
<td style="width:882px; vertical-align:top;">
<table style="width:882px; height:50px; background-image:url(themes/Na_Gigoss/images/unique/utilisateur.png);" border="0" cellspacing="0" cellpadding="0">
<tr style="height:50px;">
<td style="width:882px;"><?php include ('themes/Na_Gigoss/images/unique/log.php'); ?></td>
</tr>
</table>
</td>
</tr>
<tr style="height:236px;">
<td style="width:882px; vertical-align:top;">
<table style="width:882px; height:236px; background-image:url(themes/Na_Gigoss/images/header/<?php echo $header; ?>.png);" border="0" cellspacing="0" cellpadding="0">
<tr style="height:236px;">
<?php
if (!$user)
{
?>
<td style="width:882px;">
<table style="width:882px; height:236px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:26px;">
<td style="width:882px; vertical-align:top;">
<table style="width:882px; height:26px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:26px;">
<td style="width:310px;"></td>
<td style="width:268px; text-align:center;" class="anonyme">
<a href="index.php?file=User&op=reg_screen">S'enregitrer</a> / <a href="index.php?file=User&op=oubli_pass">Perdu votre pass</a> ?
</td>
<td style="width:304px;"></td>
</tr>
</table>
</td>
</tr>
<tr style="height:210px;">
<td style="width:882px; vertical-align:top;">
<table style="width:882px; height:210px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:210px;">
<td style="width:882px;" class="name"><?php echo $nuked['name']; ?></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<?php
}

else
{
?>
<td style="width:882px;">
<table style="width:882px; height:236px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:26px;">
<td style="width:882px; vertical-align:top;">
<table style="width:882px; height:26px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:26px;">
<td style="width:310px;"></td>
<td style="width:268px; text-align:center;" class="login">
» <a href="index.php?file=User">Compte</a> - <a href="index.php?file=User&nuked_nude=index&op=logout">Déconnexion</a> «
</td>
<td style="width:304px;"></td>
</tr>
</table>
</td>
</tr>
<tr style="height:210px;">
<td style="width:882px; vertical-align:top;">
<table style="width:882px; height:210px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:210px;">
<td style="width:882px;" class="name"><?php echo $nuked['name']; ?></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<?php
}
?>
</tr>
</table>
</td>
</tr>
<tr style="height:36px;">
<td style="width:882px; vertical-align:top;">
<table style="width:882px; height:36px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:36px;">
<td style="width:882px;">
<div style="width:882px; height:36px; padding:0px; border:0px;">
<script type="text/javascript">
show_flash('882', '36', 'themes/Na_Gigoss/images/flash/nav.swf', '#262626', '');
</script>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr style="height:116px;">
<td style="width:882px; vertical-align:top;">
<table style="width:882px; height:116px; background-image:url(themes/Na_Gigoss/images/unique/block.png);" border="0" cellspacing="0" cellpadding="0">
<tr style="height:116px;">
<td style="width:294px;"><?php include ('themes/Na_Gigoss/images/unique/news.php'); ?></td>
<td style="width:294px;"><?php include ('themes/Na_Gigoss/images/unique/wars.php'); ?></td>
<td style="width:294px;"><?php include ('themes/Na_Gigoss/images/unique/forums.php'); ?></td>
</tr>
</table>
</td>
</tr>
<tr style="height:100%;">
<td style="width:882px; vertical-align:top;">
<table style="width:882px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:100%;">
<td style="width:165px; background-image:url(themes/Na_Gigoss/images/gauche/bg.png); vertical-align:top;">
<?php
if ($file != "Admin" && $page != "admin" && $file != "User" && $page != "user" && $file != "Forum" && $page != "forum")
{
get_blok('gauche');
}
?>
</td>
<?php
if ($file != "Admin" && $page != "admin" && $file != "User" && $page != "user" && $file != "Forum" && $page != "forum")
{
?>
<td style="width:552px; background-image:url(themes/Na_Gigoss/images/centre/bg.png); vertical-align:top;">
<?php
}

else
{
?>
<td style="width:882px; background-image:url(themes/Na_Gigoss/images/forum/bg.png); vertical-align:top;">
<?php
}

if ($file != "Admin" && $page != "admin" && $file != "User" && $page != "user" && $file != "Forum" && $page != "forum")
{
get_blok('centre');
}
}

function footer()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked, $file, $page, $user;

if ($file != "Admin" && $page != "admin" && $file != "User" && $page != "user" && $file != "Forum" && $page != "forum")
{
get_blok('bas');
}
?>
</td>
<td style="width:165px; background-image:url(themes/Na_Gigoss/images/droite/bg.png); vertical-align:top;">
<?php
if ($file != "Admin" && $page != "admin" && $file != "User" && $page != "user" && $file != "Forum" && $page != "forum")
{
get_blok('droite');
}
?>
</td>
</tr>
</table>
</td>
</tr>
<tr style="height:38px;">
<td style="width:882px; vertical-align:top;">
<table style="width:882px; height:38px; background-image:url(themes/Na_Gigoss/images/footer/foot.png);" border="0" cellspacing="0" cellpadding="0">
<tr style="height:38px;">
<!-- Interdit de retirer ou modifier les droits d'auteurs -->
<td style="width:165px;" class="copyright">Powered By <a href="https://nuked-klan.org/">Nuked-klaN</a></td>
<td style="width:552px;" class="footmessage"><?php echo $nuked['footmessage']; ?></td>
<td style="width:165px;" class="copyright">Template By <a href="http://www.nk-arts.org">Nk-Arts</a></td>
<!-- Interdit de retirer ou modifier les droits d'auteurs -->
</tr>
</table>
</td>
</tr>
</table>
</td>
<td style="width:59px; background-image:url(themes/Na_Gigoss/images/bordure/barreD.png); vertical-align:top;"></td>
</tr>
</table>

</body>
</html>
<?php
exit();
}

function news($data)
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;

$posted = _NEWSPOSTBY . " <a href=\"index.php?file=Members&op=detail&autor=" . urlencode($data['auteur']) . "\">" . $data['auteur'] . "</a> " . _THE . " ". $data['date'];

if ($data['nb_comment'] > 1) $pluriel = "s";
else $pluriel = "";

$comment = "<a href=\"index.php?file=News&op=index_comment&news_id=" . $data['id'] . "\">" . $data['nb_comment'] . " " . str_replace("s", "", _NEWSCOMMENT) . $pluriel . "</a> ";

?>
<table style="width:552px; height:22px; background-image:url(themes/Na_Gigoss/images/centre/titre.png);" border="0" cellspacing="0" cellpadding="0">
<tr style="height:22px;">
<td style="width:552px; text-align:center;"><strong><?php echo $data['titre']; ?></strong></td>
</tr>
</table>
<br />
<table style="width:552px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:100%;">
<td style="width:3px;"></td>
<td style="width:546px;">
<?php echo $data['image']; ?><?php echo $data['texte']; ?>
<br />
<br />
<?php echo $posted; ?> | <?php echo $comment; ?>
</td>
<td style="width:3px;"></td>
</tr>
</table>
<br />
<?php
}

function block_gauche($block)
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked;
?>
<table style="width:165px; height:22px; background-image:url(themes/Na_Gigoss/images/gauche/titre.png);" border="0" cellspacing="0" cellpadding="0">
<tr style="height:22px;">
<td style="width:162px; text-align:center;"><strong><?php echo $block['titre']; ?></strong></td>
<td style="width:3px;"></td>
</tr>
</table>
<br />
<table style="width:165px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:100%;">
<td style="width:2px;"></td>
<td style="width:158px;"><?php echo $block['content']; ?></td>
<td style="width:5px;"></td>
</tr>
</table>
<br />
<?php
}

function block_droite($block)
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked;
?>
<table style="width:165px; height:22px; background-image:url(themes/Na_Gigoss/images/droite/titre.png);" border="0" cellspacing="0" cellpadding="0">
<tr style="height:22px;">
<td style="width:3px;"></td>
<td style="width:162px; text-align:center;"><strong><?php echo $block['titre']; ?></strong></td>
</tr>
</table>
<br />
<table style="width:165px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:100%;">
<td style="width:5px;"></td>
<td style="width:158px;"><?php echo $block['content']; ?></td>
<td style="width:2px;"></td>
</tr>
</table>
<br />
<?php
}

function block_centre($block)
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked;
?>
<table style="width:552px; height:22px; background-image:url(themes/Na_Gigoss/images/centre/titre.png);" border="0" cellspacing="0" cellpadding="0">
<tr style="height:22px;">
<td style="width:552px; text-align:center;"><strong><?php echo $block['titre']; ?></strong></td>
</tr>
</table>
<br />
<table style="width:552px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:100%;">
<td style="width:3px;"></td>
<td style="width:546px;"><?php echo $block['content']; ?></td>
<td style="width:3px;"></td>
</tr>
</table>
<br />
<?php
}

function block_bas($block)
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked;
?>
<table style="width:552px; height:22px; background-image:url(themes/Na_Gigoss/images/centre/titre.png);" border="0" cellspacing="0" cellpadding="0">
<tr style="height:22px;">
<td style="width:552px; text-align:center;"><strong><?php echo $block['titre']; ?></strong></td>
</tr>
</table>
<br />
<table style="width:552px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:100%;">
<td style="width:3px;"></td>
<td style="width:546px;"><?php echo $block['content']; ?></td>
<td style="width:3px;"></td>
</tr>
</table>
<br />
<?php
}

function opentable()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked, $file, $page;

if ($file != "Admin" && $page != "admin" && $file != "User" && $page != "user" && $file != "Forum" && $page != "forum")
{
?>
<table style="width:552px; height:22px; background-image:url(themes/Na_Gigoss/images/centre/titre.png);" border="0" cellspacing="0" cellpadding="0">
<tr style="height:22px;">
<td style="width:552px; text-align:center;"><strong><?php echo $file; ?></strong></td>
</tr>
</table>
<br />
<table style="width:552px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:100%;">
<td style="width:3px;"></td>
<td style="width:546px;">
<?php
}

else
{
?>
<table style="width:882px; height:22px; background-image:url(themes/Na_Gigoss/images/forum/titre.png);" border="0" cellspacing="0" cellpadding="0">
<tr style="height:22px;">
<td style="width:882px; text-align:center;"><strong><?php echo $file; ?></strong></td>
</tr>
</table>
<br />
<table style="width:882px;" border="0" cellspacing="0" cellpadding="0">
<tr style="height:100%;">
<td style="width:3px;"></td>
<td style="width:876px;">
<?php
}
}

function closetable()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked, $file, $page;

if ($file != "Admin" && $page != "admin" && $file != "User" && $page != "user" && $file != "Forum" && $page != "forum")
{
?>
</td>
<td style="width:3px;"></td>
</tr>
</table>
<br />
<?php
}

else
{
?>
</td>
<td style="width:3px;"></td>
</tr>
</table>
<br />
<?php
}
}
?>

Mon site web est http://rpl.teamfr.com

Merci d'avance,

DimDim.

2 réponses

DimDim
 
Ben en fait, le background dans image est une simple barre verticale. J'aimerai pouvoir mettre de la couleur plus foncé . Et donc je dois calculer les dimensions et remplacer la barre verticale par un carré de couleur plus foncé. C'est bien ca?
0
internetasso Messages postés 1054 Date d'inscription   Statut Membre Dernière intervention   177
 
si tu souhaites modifier le background il faut aller le chercher dans le dossier "images" de ton theme ou template, tu l'édite avec photoshop (par exemple) tu mets la photos ou le dessin que tu veux sans le renommer tu le re-upload avec ton filezilla sur ton disque dans le dossier images en question en écrasant le précédent et le tour est joué...
La création d'un site commence par la réflexion de son devenir...
-1