Skip to content

Instantly share code, notes, and snippets.

View Helpers.class.php
class Helpers {
protected $_post_id;
protected $_category_names_arr = array();
protected $_category_slugs_arr = array();
public function __construct($post_id = '') {
olirabt / AnimationArticles.class.js
Created Jan 6, 2017
Animation au chargement d'articles en ajax (wordpress)
View AnimationArticles.class.js
var AnimationArticles = function(articlesBruts, articlesContainersTab) {
this.articlesBruts = articlesBruts;
this.articlesContainersTab = articlesContainersTab;
this.newlyLoadedTab = [];
View tableau.php
Nos partenairesarray(7) {
array(1) {
string(65) "http://marketpay-dev/wp-content/uploads/2016/09/visa_logo_6-1.gif"
array(1) {
string(66) "http://marketpay-dev/wp-content/uploads/2016/09/visalogo12-291.png"
View gist:51a6e4f8968a54d66a21
function date_heure() // olivier: j'ai viré le parametre "id". On l'utilisait pas
date = new Date;
annee = date.getFullYear();
moi = date.getMonth();
mois = new Array('Janvier', 'F&eacute;vrier', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Ao&ucirc;t', 'Septembre', 'Octobre', 'Novembre', 'D&eacute;cembre');
j = date.getDate();
jour = date.getDay();
jours = new Array('Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi');
You can’t perform that action at this time.