%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/alliance/domains/congress-eldw.eu/public_html/inc/classes/
Upload File :
Create Path :
Current File : /home/alliance/domains/congress-eldw.eu/public_html/inc/classes/Insert.php

<?php

class Insert extends Load {

	var $bd;
	var $language;
	var $sect;
	var $nom_table='insert';
	var $clef_primaire='id_insert';
	var $table=array('section','ordre','type','date_debut','date_fin','date_crea','calendrier'); 
	var $table_lang=array('titre','soustitre','permalien'); 

	function Insert() {
		//constructor
		parent::Load();
		$this->bd = new BaseOps;
		$this->language = new Lang;
	
	}
	
	

	//Afficher les actus
	function afficher_actus(){
		$trad=new Traduction;
		$lang=new Lang;
		$page=new Page;
		$list_top=$this->hotpage->listHotpage("top");
		$type="top";
		if($list_top!=null){	
			foreach($list_top as $uneactu){
				$actu=$page->aff_actu($uneactu['id_page'],$this->language->id());
				include("templates/accueil/actu.php");
			}
		}
		$type="bottom";
		$list_bottom=$this->hotpage->listHotpage("bottom");
		if($list_bottom!=null){
			foreach($list_bottom as $uneactu){
				$actu=$page->aff_actu($uneactu['id_page'],$this->language->id());
				include("templates/accueil/actu.php");
			}
		}
		if($list_bottom==null && $list_top==null){
			include("templates/accueil/no_actu.php");
		}
	}
	
	
	
}

?>

Zerion Mini Shell 1.0