This file contains hidden or 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
| <?php | |
| function b_tn( $texte, $nb_retour_ligne_avant=1, $nb_tab=0, $nb_retour_ligne_apres=0 ) // backslash t, n | |
| { | |
| $contenu = ""; | |
| //avant | |
| for( $i = 0; $i < $nb_retour_ligne_avant; $i++) | |
| { | |
| $contenu .= "\n"; | |
| } |
This file contains hidden or 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
| <?php | |
| class AccueilCPT extends CustomPostType | |
| { | |
| private $post_type; | |
| public function __construct() | |
| { | |
| $args = array( 'nom' => 'accueil' ); | |
| parent::__construct( $args ); |
This file contains hidden or 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
| <?php | |
| function cm( $texte, $t=0, $hierachie=0 ) | |
| { | |
| $contenu = ''; | |
| if( $hierachie == 0 ) | |
| { | |
| $contenu = b_tn( '<!-- ' . strtoupper( $texte ) . ' --> ', 2, $t, 1 ); | |
| } | |
| else | |
| { |
This file contains hidden or 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
| <?php | |
| class Utiles | |
| { | |
| public function __contstruct() | |
| { | |
| } | |
| public function b_tn( $texte, $n_avant, $t, $n_apres ) | |
| { | |
| $contenu = ''; |
This file contains hidden or 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
| #localisations img{ max-width: none; } |