Rechercher : dans
Par :

Ajouter un module sur un themes nuked klan

Dernière réponse le 4 oct 2008 à 05:41:09 gueuledange35, le 2 oct 2008 à 15:35:59 
 Signaler ce message aux modérateurs

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

Proc: E8200 @3.4 ghz /Ventirad: zalman 9500 /CM: P5n-d nforce 750i sli / Ram: 2*2go OZC ddr2 / CG: 2x 8800GT OC 676/955 /Alim: Corsair 450W / DD: 2x Samsung 500go / Ecran: 22" / souris: razer copperhead / Boitier: Advance Turboboost

No fate but what we make....

Configuration: Windows Vista
Firefox 2.0.0.16

1

gueuledange35, le 2 oct 2008 à 18:55:28

Up Proc: E8200 @3.4 ghz /Ventirad: zalman 9500 /CM: P5n-d nforce 750i sli / Ram: 2*2go OZC ddr2 / CG: 2x 8800GT OC 676/955 /Alim: Corsair 450W / DD: 2x Samsung 500go / Ecran: 22" / souris: razer copperhead / Boitier: Advance Turboboost

No fate but what we make....

Répondre à gueuledange35

2

ToooTO, le 3 oct 2008 à 04:31:31

J'ai le meme probleme si ta trouver aide moi stp

Répondre à ToooTO

3

hani_, le 3 oct 2008 à 09:38:27

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">

Répondre à hani_

4

 gueuledange35, le 4 oct 2008 à 05:41:09

Merci beaucoup!!!

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

++ Proc: E8200 @3.4 ghz /Ventirad: zalman 9500 /CM: P5n-d nforce 750i sli / Ram: 2*2go OZC ddr2 / CG: 2x 8800GT OC 676/955 /Alim: Corsair 450W / DD: 2x Samsung 500go / Ecran: 22" / souris: razer copperhead / Boitier: Advance Turboboost

No fate but what we make....

Répondre à gueuledange35