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évrier', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'); | |
j = date.getDate(); | |
jour = date.getDay(); | |
jours = new Array('Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'); |
View tableau.php
Nos partenairesarray(7) { | |
[0]=> | |
array(1) { | |
["logo_partenaire_hp"]=> | |
string(65) "http://marketpay-dev/wp-content/uploads/2016/09/visa_logo_6-1.gif" | |
} | |
[1]=> | |
array(1) { | |
["logo_partenaire_hp"]=> | |
string(66) "http://marketpay-dev/wp-content/uploads/2016/09/visalogo12-291.png" |
View AnimationArticles.class.js
var AnimationArticles = function(articlesBruts, articlesContainersTab) { | |
this.articlesBruts = articlesBruts; | |
this.articlesContainersTab = articlesContainersTab; | |
this.newlyLoadedTab = []; | |
this.articlesTraites; | |
this.newlyLoadedContainer; | |
this.init(); | |
} |
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); | |
} |