public function Init() { FDSSmarty::init(); FDSSmarty::asignar("title", "Codigo Limpio es Dropsize MVCf"); FDSSmarty::verifica_template(FPATH_TEMPLATES . "/index.tpl"); FDSSmarty::load_set_template(); }
* http://www.codigolimpio.com * * Wherever third party code has been used, credit has been given in the code's comments. * * DropsizeMVCf is released under the GPL * */ /** * Main drop * * @package com.dropsizemvcf * @author Isaac Trenado * @since 1.0.0 */ /* * Example use Smarty With DropsizeMVCf * * Para usar esta clase, es necesario tener instalado Dropsize MVCf Smarty * */ define('_DSEXEC', 1); define('FTITLE', 'DropSize MVCf | Codigolimpio.com'); include "Smarty/libs/Smarty.class.php"; include "FDSSmarty.php"; FDSSmarty::init(); $larMeses = array("01" => "Enero", "02" => "Febrero", "03" => "Marzo", "04" => "Abril", "05" => "Mayo", "06" => "Junio", "07" => "Julio", "08" => "Agosto", "09" => "Septiembre", "10" => "Octubre", "11" => "Noviembre", "12" => "Diciembre"); FDSSmarty::asignar("nombre", "SuperChinazoPoderoso"); FDSSmarty::asignar("meses", $larMeses); FDSSmarty::verifica_template("templates/index.tpl"); FDSSmarty::load_set_template();