0byt3m1n1-V2
Path:
/
home
/
nlpacade
/
www.OLD
/
classes
/
[
Home
]
File: PluginsClassiques.class.php
<?php include_once(realpath(dirname(__FILE__)) . "/Baseobj.class.php"); include_once(realpath(dirname(__FILE__)) . "/Cache.class.php"); include_once(realpath(dirname(__FILE__)) . "/Modulesdesc.class.php"); class PluginsClassiques extends Baseobj{ var $nom_plugin; function PluginsClassiques($nom=""){ $this->Baseobj(); $this->nom_plugin = $nom; } function init(){ } function destroy(){ } function getTitre(){ if(! isset($_SESSION['navig']->lang)) $lang="1"; else if(isset($_SESSION['navig']->lang)) $lang=$_SESSION['navig']->lang; $modulesdesc = new Modulesdesc(); $modulesdesc->charger($this->nom_plugin, $lang); return $modulesdesc->titre; } function getChapo(){ if(! isset($_SESSION['navig']->lang)) $lang="1"; else if(isset($_SESSION['navig']->lang)) $lang=$_SESSION['navig']->lang; $modulesdesc = new Modulesdesc(); $modulesdesc->charger($this->nom_plugin, $lang); return $modulesdesc->chapo; } function getDescription(){ if(! isset($_SESSION['navig']->lang)) $lang="1"; else if(isset($_SESSION['navig']->lang)) $lang=$_SESSION['navig']->lang; $modulesdesc = new Modulesdesc(); $modulesdesc->charger($this->nom_plugin, $lang); return $modulesdesc->description; } function ajout_desc($titre, $chapo, $description, $lang=1, $devise=""){ $modulesdesc = new Modulesdesc(); $res = $modulesdesc->verif($this->nom_plugin, $lang); $modulesdesc->plugin = $this->nom_plugin; $modulesdesc->titre = $titre; $modulesdesc->chapo = $chapo; $modulesdesc->description = $description; $modulesdesc->lang = $lang; $modulesdesc->devise = $devise; if($res) $modulesdesc->maj(); else $modulesdesc->add(); } function demarrage(){} function inclusion(){} function pre(){} function action(){} function boucle($texte, $args){} function post(){} function apres(){} function avantcommande(){} function aprescommande(){} function mail(){} function avantclient(){} function apresclient(){} function statut($commande){} function confirmation($commande){} function modprod($ref){} } ?>
©
2018.