Example #1
0
<?php

$category = "blog";
$path = realpath($_SERVER["DOCUMENT_ROOT"]) . "/";
include_once $path . "php/config.php";
include_once $path . "php/template.php";
$template = new Template();
$template->setCategory($category);
$template->setColor("130");
$template->setup($source, $path, $base_url);
$template->draw($cdn_url, $base_url, $pathjs, $css_mode, $source, "Recherches et veille");
Example #2
0
<?php

$category = "portfolio";
$path = realpath($_SERVER["DOCUMENT_ROOT"]) . "/";
include_once $path . "php/config.php";
include_once $path . "php/template.php";
$template = new Template();
$template->setCategory($category);
$template->setColor("165");
$template->setup($source, $path, $base_url);
$template->draw($cdn_url, $base_url, $pathjs, $css_mode, $source, "Différents projets");
Example #3
0
<?php

$category = "tutoriels";
$path = realpath($_SERVER["DOCUMENT_ROOT"]) . "/";
include_once $path . "php/config.php";
include_once $path . "php/template.php";
$template = new Template();
$template->setCategory($category);
$template->setColor("320");
$template->setup($source, $path, $base_url);
$template->draw($cdn_url, $base_url, $pathjs, $css_mode, $source, "Des trucs à garder en mémoire");
?>