Skip to content

Instantly share code, notes, and snippets.

🌌
woot woot woot woot woot

olirabt

🌌
woot woot woot woot woot
  • SUPERSPACE
  • Paris
Block or report user

Report or block olirabt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Helpers.class.php
<?php
class Helpers {
protected $_post_id;
protected $_category_names_arr = array();
protected $_category_slugs_arr = array();
public function __construct($post_id = '') {
$this->setPostId($post_id);
}
@olirabt
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 = [];
this.articlesTraites;
this.newlyLoadedContainer;
this.init();
}
View tableau.php
Nos partenairesarray(7) {
[0]=&gt;
array(1) {
["logo_partenaire_hp"]=&gt;
string(65) "http://marketpay-dev/wp-content/uploads/2016/09/visa_logo_6-1.gif"
}
[1]=&gt;
array(1) {
["logo_partenaire_hp"]=&gt;
string(66) "http://marketpay-dev/wp-content/uploads/2016/09/visalogo12-291.png"
View gist:51a6e4f8968a54d66a21
//TEST HEURE
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.