Example #1
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");