Ajouter un module sur un themes nuked klan

Fermé
Utilisateur anonyme - 2 oct. 2008 à 15:35
 Utilisateur anonyme - 4 oct. 2008 à 05:41
Bonjour,

J'ai quelques problemes pour installé un module sur mon site nuked klan, en effet l'installation n'est pas automatique, je dois ajouter une ligne de code PHP, et comme je n'y connais rien a ce langage je galere un peu....


Voila les instruction:

INSTALLATION:
1 - Dézipper et uploader le contenue de l'archive sur votre FTP.
2 - L'installation se fait par : http://yoursite.com/install.php
3 - Ajouter cette ligne de code juste après la balise <BODY> de vos fichiers theme.php
Code:
//-------------------mise à jour des précences-------------------//
include("modules/Presence/maj.php");


Je bloque a la 3eme etape, j'ai deja essayé d'ajouter cette ligne un peu partout (au hasard) mais ça n'a rien donné.

Voici quelques lignes du Themes.php que je donne modifié. Pouvez vous me dire a quel endroit je doit ajouter la ligne de code svp.

<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');


Je vous met aussi le lien de mon site, si vous voulez voir:

http://doctorsclan.rcongames.com/

Merci d'avance

A voir également:

3 réponses

Utilisateur anonyme
2 oct. 2008 à 18:55
Up
0
j'ai le meme probleme si ta trouver aide moi stp
0
hani_ Messages postés 333 Date d'inscription lundi 22 septembre 2008 Statut Membre Dernière intervention 18 novembre 2009 20
3 oct. 2008 à 09:38
ajoute ta ligne -> include("modules/Presence/maj.php");

en "l'entourant" de balise php -> <?php include("modules/Presence/maj.php"); ?>

et ça fait le juste


<body>

ICI

<table style="width:1000px; margin-left:auto; margin-right:auto;" border="0" cellspacing="0" cellpadding="0">

aç devrait donner precisement :


<body>

<?php
include("modules/Presence/maj.php");
?>

<table style="width:1000px; margin-left:auto; margin-right:auto;" border="0" cellspacing="0" cellpadding="0">
0
Utilisateur anonyme
4 oct. 2008 à 05:41
Merci beaucoup!!!

j'essaye ça demain (là je suis trop naz)

++
0