Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
6,121 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
/************************************************************** **********/ | ||
/* Modification par Jireck zero_bmag */ | ||
/* This program is free software. You can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation; either version 2 of the License. */ | ||
/************************************************************************/ | ||
global $theme; $rep=false; | ||
if (file_exists("themes/".$theme."/html/central.html")) {$rep=$theme;} | ||
elseif (file_exists("themes/default/html/central.html")) {$rep="default";} | ||
else { | ||
echo "central.html manquant / not find !< br />"; | ||
die(); | ||
} | ||
if ($rep) { | ||
ob_start(); | ||
include("themes/".$rep."/html/central.html"); | ||
$Xcontent=ob_get_contents(); | ||
ob_end_clean(); | ||
echo meta_lang(aff_langue($Xcontent)); | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?php | ||
/************************************************************************/ | ||
/* Theme for NPDS / Net Portal Dynamic System */ | ||
/*======================================================================*/ | ||
/* This theme use the NPDS theme-dynamic engine (Meta-Lang) */ | ||
/* */ | ||
/* Theme : jpb Jireck Bmag NBOR */ | ||
/* */ | ||
/* This program is free software. You can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation; either version 2 of the License. */ | ||
/************************************************************************/ | ||
|
||
global $pdst; | ||
switch ($pdst) | ||
{ | ||
case "-1": | ||
case "0": | ||
case "3": | ||
case "5": | ||
echo "</section>";/* Fermeture de Col_princ ouvert dans le header.php */ | ||
echo "</section>";/* Fermeture du corps ouvert dans le header.php */ | ||
break; | ||
|
||
case "1": | ||
case "2": | ||
echo "</section>";/* Fermeture de Col_princ ouvert dans le header.php */ | ||
echo '<aside id="rightcol" class="col w19 notablet nomobile aside">'; | ||
rightblocks(); | ||
echo "</aside>"; | ||
echo "</section>";/* Fermeture du corps ouvert dans le header.php */ | ||
break; | ||
|
||
case "4": | ||
echo "</section>";/* Fermeture de Col_princ ouvert dans le header.php */ | ||
echo '<aside id="leftcol" class="col w19 notablet nomobile aside">'; | ||
leftblocks(); | ||
echo "</aside>"; | ||
echo '<aside id="rightcol" class="col w19 notablet nomobile aside">'; | ||
rightblocks(); | ||
echo "</aside>"; | ||
echo "</section>";/* Fermeture du corps ouvert dans le header.php */ | ||
break; | ||
|
||
case "6": | ||
echo "</section>";/* Fermeture de Col_princ ouvert dans le header.php */ | ||
echo '<aside id="leftcol" class="col w19 notablet nomobile aside">'; | ||
leftblocks(); | ||
echo "</aside>"; | ||
echo "</section>";/* Fermeture du corps ouvert dans le header.php */ | ||
break; | ||
default : | ||
echo "</section>";/* Fermeture de Col_princ ouvert dans le header.php */ | ||
echo "</section>";/* Fermeture du corps ouvert dans le header.php */ | ||
break; | ||
|
||
} | ||
// ContainerGlobal permet de transmettre à Theme-Dynbamic un élément de personnalisation après | ||
// le chargement de footer.html / Si vide alors rien de plus n'est affiché par TD | ||
$ContainerGlobal="\n</div>\n"; | ||
|
||
// Ne supprimez pas cette ligne / Don't remove this line | ||
require_once("themes/themes-dynamic/footer.php"); | ||
// Ne supprimez pas cette ligne / Don't remove this line | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
<?php | ||
/************************************************************************/ | ||
/* Theme for NPDS / Net Portal Dynamic System NBOR */ | ||
/*======================================================================*/ | ||
/* This theme use the NPDS theme-dynamic engine (Meta-Lang) */ | ||
/* */ | ||
/* Theme : jpb Jireck Bmag NBOR */ | ||
/* */ | ||
/* This program is free software. You can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation; either version 2 of the License. */ | ||
/************************************************************************/ | ||
|
||
global $pdst; | ||
$pdst=4; | ||
if(!$user){ | ||
|
||
$blg_actif = sql_query("SELECT * FROM ".$NPDS_Prefix."lblocks WHERE actif ='1' AND member ='0'"); | ||
$nb_blg_actif = sql_num_rows($blg_actif); | ||
$bld_actif = sql_query("SELECT * FROM ".$NPDS_Prefix."rblocks WHERE actif ='1' AND member ='0'"); | ||
$nb_bld_actif = sql_num_rows($bld_actif); | ||
|
||
/* | ||
La variable $pdst permet de gŽrer le nombre et la disposition des colonnes | ||
"-1" -> col_princ | ||
"0" -> col_LB + col_princ | ||
"1" -> col_LB + col_princ + col_RB | ||
"2" -> col_princ + col_RB | ||
"3" -> col_LB + col_RB + col_princ | ||
"4" -> col_princ + col_LB + col_RB | ||
"5" -> col_RB + col_princ | ||
"6" -> col_princ + col_LB | ||
La gestion de ce paramŽtre s'effectue dans le fichier "pages.php" du dossier "themes | ||
Nomination des div : | ||
col_princ contient le contenu principal | ||
col_LB contient les blocs historiquement dit de gauche | ||
col_RB contient les blocs historiquement dit de droite | ||
*/ | ||
|
||
|
||
|
||
if ($nb_blg_actif == 0) { | ||
switch ($pdst) | ||
{ | ||
case "0": $pdst='-1'; break; | ||
case "1": $pdst='2'; break; | ||
case "3": $pdst='5'; break; | ||
case "4": $pdst='2'; break; | ||
case "6": $pdst='-1'; break; | ||
} | ||
} | ||
if ($nb_bld_actif == 0) { | ||
switch ($pdst) | ||
{ | ||
case "1": $pdst='0'; break; | ||
case "2": $pdst='-1'; break; | ||
case "3": $pdst='0'; break; | ||
case "4": $pdst='6'; break; | ||
case "5": $pdst='-1'; break; | ||
} | ||
} | ||
} | ||
|
||
// ContainerGlobal permet de transmettre à Theme-Dynbamic un élément de personnalisation avant | ||
// le chargement de header.html / Si vide alors la class body est chargée par défaut par Theme dynamique | ||
$ContainerGlobal="\n<div id=\"container\">\n"; | ||
|
||
// Ne supprimez pas cette ligne / Don't remove this line | ||
require_once("themes/themes-dynamic/header.php"); | ||
global $powerpack; | ||
if (!isset($powerpack)) {include ("powerpack.php");} | ||
// Ne supprimez pas cette ligne / Don't remove this line | ||
|
||
// Insertion Message "chat en cours" juste en dessous du header - avant la Partie Centrale | ||
// if (if_chat()) echo "<b>-: Chat en Cours :-</b>"; | ||
|
||
/************************************************************************/ | ||
/* Le corps de page de votre Site - En dessous du Header */ | ||
/* On Ouvre les Différent Blocs en Fonction de la Variable $pdst */ | ||
/* Le corps englobe : */ | ||
/* col_LB + col_princ + col_RB */ | ||
/* Si Aucune variable pdst dans pages.php */ | ||
/* ==> Alors affichage par defaut : col_LB + col_princ soit $pdst=0 */ | ||
/* =====================================================================*/ | ||
echo '<section id="corps" class="row w100 automobile" role="main">'; | ||
switch ($pdst) { | ||
case "-1": | ||
echo '<section id="centralcol" class="col w100 autotablet">'; /* la partie centrale */ | ||
break; | ||
case "0": | ||
echo '<aside id="leftcol" class="col w19 notablet nomobile aside">'; /* la colonne de gauche qui aura les BLOCS de gauche */ | ||
leftblocks(); | ||
echo '</aside>'; | ||
echo '<section id="centralcol" class="col w89 autotablet content">'; | ||
break; | ||
|
||
case "1": | ||
echo '<aside id="leftcol" class="col w19 notablet nomobile aside">'; /* la colonne de gauche qui aura les BLOCS de gauche */ | ||
leftblocks(); | ||
echo '</aside>'; | ||
echo '<section id="centralcol" class="col w61 autotablet">'; | ||
break; | ||
case "2": | ||
echo '<section id="centralcol" class="col w89 autotablet">'; | ||
break; | ||
case "3": | ||
echo '<aside id="leftcol" class="col w19 notablet nomobile aside">'; | ||
leftblocks(); | ||
echo '</aside>'; | ||
echo '<aside id="rightcol" class="col w19 notablet nomobile aside">'; /* la colonne de droite qui aura les BLOCS de droites */ | ||
rightblocks(); | ||
echo '</aside>'; | ||
echo '<section id="centralcol" class="col w61 autotablet content">'; | ||
break; | ||
case "4": | ||
echo '<section id="centralcol" class="col w61 autotablet content">'; | ||
break; | ||
|
||
case "5": | ||
echo '<aside id="rightcol" class="col w19 notablet nomobile aside">'; /* la colonne de droite qui aura les BLOCS de droites */ | ||
rightblocks(); | ||
echo '</aside>'; | ||
echo '<section id="centralcol" class="col w89 autotablet content">'; | ||
break; | ||
|
||
case "6": | ||
echo '<section id="centralcol" class="col w89 content">'; | ||
break; | ||
|
||
|
||
|
||
default: | ||
echo '<aside id="leftcol" class="col w19 notablet nomobile aside">'; | ||
leftblocks(); | ||
echo '</aside>'; | ||
echo '<section id="centralcol" class="col w89 autotablet content">'; | ||
break; | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<header class="header1" class=""> | ||
<div id="headhaut" class="row w100 aligncenter"> | ||
<div id"slogan" class="col w25 alignmiddle automobile">!slogan! </div> | ||
<div id="download"class="col w50 alignmiddle notablet nomobile"><a class="btn btn-warning" href="#" role="button">Télécharger la dernière version</a></div> | ||
<div id="recherche" class="col w25 alignmiddle automobile">!search!</div> | ||
</div> | ||
|
||
<div id="decohead" class="row w100"> | ||
<div id="subligne" class="row w100 "> | ||
<div id="logo" class="col w30 automobile"> <a href="index.php"><img src="themes/!theme!/images/logohead.png" ></a> | ||
</div> | ||
<div id="membre" class="col w30 alignmiddle automobile"> | ||
<p> !nb_online! // !member! </p> | ||
</div> | ||
<div id="date" class="col w30 alignright automobile "> | ||
<h1>Made in France</h1> | ||
!date! | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
|
||
<nav class="navbas" role="navigation"> | ||
<a href="index.php">Home</a> | ||
<a href="forum.php">Forums</a> | ||
<a href="sections.php">A propos de</a> | ||
<a href="topics.php">Les Sujets</a> | ||
<a href="submit.php">Ecrire un Article</a> | ||
<a href="download.php">Download</a> | ||
</nav> | ||
|
||
|
||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h4 class="h4-blocL">!B_title!</h4><!-- "Titre du Bloc" --> | ||
<p> !B_content! </p><!-- "Contenu du Bloc" --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h4>!B_title!</h4><!-- "Titre du Bloc" --> | ||
<p> !B_content! </p><!-- "Contenu du Bloc" --> |
Oops, something went wrong.