vue decomposé l'arbre techno - Page 3
Kommunauty
Connexion
Inscription

decomposé l'arbre techno


Homer Messages : 1925

pour la page intermédiaire, faut juste mettre 3 liens qui pointe sur les 3 autres pages des races, je vois pas ou est la complication :-\

mardi 5 février 2013

stryker Messages : 367

alors soit je sais pas faire des liens soit ya un truc spécial a faire en php ...

Parse error: syntax error, unexpected '<' in C:\wamp\www\Revolution\uni1\includes\pages\ShowTechTreePage0.php on line 22

<?php

/*
 _  \_/ |\ | /¯¯\ \  / /\    |¯¯) |_¯ \  / /¯¯\ |  |   |´¯|¯` | /¯¯\ |\ |
 ¯  /¯\ | \| \__/  \/ /--\   |¯¯\ |__  \/  \__/ |__ \_/   |   | \__/ | \|
 @copyright:
Copyright (C) 2010 por Brayan Narvaez (principe negro)
Copyright (C) 2008 - 2009 By lucky from Xtreme-gameZ.com.ar

@support:
Web http://www.xnovarevolution.com.ar/
Forum http://www.xnovarevolution.com.ar/foros/

Proyect based in xg proyect for xtreme gamez.
*/

if(!defined('INSIDE')){ die(header("location:../../"));}
function ShowTechTreePage0($CurrentUser, $CurrentPlanet)
{
global $id, $humana, $zehethbra;
echo <a href="includes/pages/ShowTechTreePage1.php">Humain</a> <a href="includes/pages/ShowTechTreePage2.php">Lantien</a>;
}
return display(parsetemplate(gettemplate('techtree/techtree_body'), $parse));

?>

mardi 5 février 2013 (Dernière édition mardi 5 février 2013)

Homer Messages : 1925

le return doit etre dans la fonction non ?

function ShowTechTreePage0($CurrentUser, $CurrentPlanet)
{
    global $id, $humana, $zehethbra;
echo <a href="includes/pages/ShowTechTreePage1.php">Humain</a> <a href="includes/pages/ShowTechTreePage2.php">Lantien</a>;

return display(parsetemplate(gettemplate('techtree/techtree_body'), $parse));
}
    
mardi 5 février 2013 (Dernière édition mardi 5 février 2013)

stryker Messages : 367

ça change rien l'erreur vient du echo xD

mardi 5 février 2013

Homer Messages : 1925

ah, met des " " entre les < et > final

jl'avais pas vu

mardi 5 février 2013

stryker Messages : 367

non plus ça ne change rien...:


 1 <?php
 2
 3 /*
 4  _  \_/ |\ | /¯¯\ \  / /\    |¯¯) |_¯ \  / /¯¯\ |  |   |´¯|¯` | /¯¯\ |\ |
 5  ¯  /¯\ | \| \__/  \/ /--\   |¯¯\ |__  \/  \__/ |__ \_/   |   | \__/ | \|
 6  @copyright:
 7 Copyright (C) 2010 por Brayan Narvaez (principe negro)
 8 Copyright (C) 2008 - 2009 By lucky from Xtreme-gameZ.com.ar
 9
10 @support:
11 Web http://www.xnovarevolution.com.ar/
12 Forum http://www.xnovarevolution.com.ar/foros/
13
14 Proyect based in xg proyect for xtreme gamez.
15 */
16
17 if(!defined('INSIDE')){ die(header("location:../../"));}
18 function ShowTechTreePage0($CurrentUser, $CurrentPlanet)
19 {
20 global $id, $humana, $zehethbra;
21 echo "<a href="includes/pages/ShowTechTreePage1.php">Humain</a> <a href="includes/page/ShowTechTreePage2.php">Lantien</a>";
22
23 return display(parsetemplate(gettemplate('techtree/techtree_body'), $parse));
24 }
25 ?>

toujour pareil :

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\wamp\www\Revolution\uni1\includes\pages\ShowTechTreePage0.php on line 21

mercredi 6 février 2013

Homer Messages : 1925

ah, met un \ devant les " de lien

echo "<a href=\"includes/pages/ShowTechTreePage1.php\">Humain</a> <a href=\"includes/page/ShowTechTreePage2.php\">Lantien</a>";

mercredi 6 février 2013

stryker Messages : 367

yeahhhh ça progresse les liens sont pas au bon endroit mais bon c'est un bon début

bon du coup j'ai modifié le lien vu que les pages appelées sont dans le même dossier.

echo "<a href=\"ShowTechTreePage1.php\">Humain</a> <a href=\"ShowTechTreePage2.php\">Lantien</a>";

et par contre ça me met ça

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

ça c'est beaucoup moins drole xD

mercredi 6 février 2013

Homer Messages : 1925

c'est sencé retournée quoi ? return display(parsetemplate(gettemplate('techtree/techtree_body'), $parse));

mercredi 6 février 2013

stryker Messages : 367

c'est pour appeler les templates de la page ça y est sur toute les page "Show.....Page.php"

rectification, les liens je remet celui la :

echo "<a href=\"includes/pages/ShowTechTreePage1.php\">Humain</a> <a href=\"includes/page/ShowTechTreePage2.php\">Lantien</a>";

parceque sinon il me demande ou est la page dans le xnova mais a la source :

Not Found

The requested URL /Revolution/uni1/ShowTechTreePage1.php was not found on this server.

et si je met la page la, pour qu'il le retrouve, ça me renvoi a la page d'accueil de Wamp xD

mercredi 6 février 2013

Page suivante »