|
Magnum
18 messages
Barrette de RAM
|
Le 04 Décembre 2004 à 16h11
Bonjour, j'ai un forum mais les noms de categorie et les noms de forum sont en noir, Que dois-je modifier pour les mettre en bleu ?
merci.
|
|
Azzaro
73 messages
DVD-RW
|
Le 04 Décembre 2004 à 16h13
tu regarde le tuto que j'ai fai 
|
|
Magnum
18 messages
Barrette de RAM
|
Le 04 Décembre 2004 à 16h14
J'ai etais sur ton Tuto juste avant de m'enregistré mais, je trouve pas.
|
|
Zorik21
274 messages
Processeur
|
Le 04 Décembre 2004 à 16h15
Et tu poste dans la bonne section la prochaine fois! ensenoir:
Merci et Déplacé!
|
|
Magnum
18 messages
Barrette de RAM
|
Le 04 Décembre 2004 à 16h21
Il ya un enorme problème, j'ai un site phpNuke, et dans mon fichier index de thème, j'ai $bgcolor1 = "#d5d5d5";
$bgcolor2 = "#7b91ac";
$bgcolor3 = "#ffffff";
$bgcolor4 = "#d5d5d5";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
Je dois modifier quoi Stp ?
|
|
Pouzy
14155 messages
No-Life
Administrateur
|
Le 04 Décembre 2004 à 16h23
$textcolor1 = "#000000";
$textcolor2 = "#000000";
Une de ces deux la, forcément vu que c'est la couleur noire #000000
|
|
Magnum
18 messages
Barrette de RAM
|
Le 04 Décembre 2004 à 16h24
Ok, Quel est la couleur bleu stp ?
|
|
Azzaro
73 messages
DVD-RW
|
Le 04 Décembre 2004 à 16h25
montre moi index_body.tpl
|
|
Magnum
18 messages
Barrette de RAM
|
Le 04 Décembre 2004 à 16h26
Code <?php
/************************************************************/
/* 3D-Fantasy.com Theme */
/* by Francisco Burzi */
/* */
/* Based on my theme Kaput with more clean design and used */
/* in my 3D Portal http://3d-fantasy.com */
/* Remember to change the logo. The default logo has been */
/* left as a "reference only". */
/************************************************************/
/************************************************************/
/* IMPORTANT NOTE FOR THEMES DEVELOPERS! */
/* */
/* When you start coding your theme, if you want to */
/* distribute it, please double check it to fit the HTML */
/* 4.01 Transitional Standard. You can use the W3 validator */
/* located at http://validator.w3.org */
/* If you don't know where to start with your theme, just */
/* start modifying this theme, it's validate and is cool */
/************************************************************/
/************************************************************/
/* Theme Colors Definition */
/* */
/* Define colors for your web site. $bgcolor2 is generaly */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the */
/* other two bgcolor variables follows the same criteria. */
/* $texcolor1 and 2 are for tables internal texts */
/************************************************************/
$bgcolor1 = "#d5d5d5";
$bgcolor2 = "#7b91ac";
$bgcolor3 = "#ffffff";
$bgcolor4 = "#d5d5d5";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
include("themes/3D-Fantasy/tables.php");
/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/
function themeheader() {
global $user, $banners, $sitename, $slogan, $cookie, $prefix, $db;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body bgcolor=\"#ffffff\" text=\"#000000\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\"><br>\n\n\n";
if ($banners == 1) {
include("banners.php");
}
$topics_list = "<select name=\"topic\" onChange='submit()'>\n";
$topics_list .= "<option value=\"\">"._ALLTOPICS."</option>\n";
$toplist = $db->sql_query("select topicid, topictext from ".$prefix."_topics order by topictext");
while(list($topicid, $topics) = $db->sql_fetchrow($toplist)) {
$topicid = intval($topicid);
if ($topicid==$topic) { $sel = "selected "; }
$topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n";
$sel = "";
}
if ($username == "Anonymous") {
$theuser = " <a href=\"modules.php?name=Your_Account&op=new_user\">"._CREATEACCOUNT."";
} else {
$theuser = " "._HELLO." $username!";
}
$public_msg = public_message();
$tmpl_file = "themes/3D-Fantasy/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
blocks(left);
$tmpl_file = "themes/3D-Fantasy/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
/************************************************************/
/* Function themefooter() */
/* */
/* Control the footer for your site. You don't need to */
/* close BODY and HTML tags at the end. In some part call */
/* the function for right blocks with: blocks(right); */
/* Also, $index variable need to be global and is used to */
/* determine if the page your're viewing is the Homepage or */
/* and internal one. */
/************************************************************/
function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4;
if ($index == 1) {
$tmpl_file = "themes/3D-Fantasy/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
blocks(right);
}
$footer_message = "$foot1<br>$foot2<br>$foot3<br>$foot4";
$tmpl_file = "themes/3D-Fantasy/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
$tmpl_file = "themes/3D-Fantasy/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home */
/************************************************************/
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
$posted = ""._POSTEDON." $datetime "._BY." ";
$posted .= get_author($aid);
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
}
$tmpl_file = "themes/3D-Fantasy/story_page.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. Just simple. */
/************************************************************/
function themesidebox($title, $content) {
$tmpl_file = "themes/3D-Fantasy/blocks.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
?>
|
|
Azzaro
73 messages
DVD-RW
|
Le 04 Décembre 2004 à 16h35
Putain je me rappellais plus que c'était aussi mal foutu phpnuke.
Bon je pense que tu dois modifié les
$textcolor1 = "#000000";
$textcolor2 = "#000000";
modifie le 1 il doit correspondre au catégorie l'autre au nom des forums.
|
|
Magnum
18 messages
Barrette de RAM
|
Le 04 Décembre 2004 à 20h25
Sa ne change rien ! Je viens de tout modifier.
|
|
Azzaro
73 messages
DVD-RW
|
Le 04 Décembre 2004 à 22h27
désolé moi et le phpnuke sa fait 92.
|
|
Pouette Man
921 messages
Carte Mère
Ancien Combattant
|
Le 04 Décembre 2004 à 23h48
Citation de Magnum Ok, Quel est la couleur bleu stp ?
Il y a pleins de nuances de bleu qui existe ! Si tu as photoshop par exemple, tou peut faire comme si tu choisisais une couleur et dans la fenetre, il s'affiche le code hexadecimal de la couleur en question !
Exemple :
#007EFF
#0006FF
#00FCFF
.....
|
|
Magnum
18 messages
Barrette de RAM
|
Le 05 Décembre 2004 à 18h33
Merci
Maintenant, le plus gros problème c'est que Sa ne change rien ! Je viens de tout modifier, les noms de catègories et noms de forums sont toujours en Noir.
|