setsession($session); } public function lecture(Art $art, App $app) { echo '
'; if ($art->secure() == 1) { echo '

cet article est privé

'; } if ($art->secure() == 2) { echo "

cet article n'est pas publié

"; } if ($this->session() >= $art->secure()) { ?>

titre() ?>

soustitre() ?>
html($app) ?>
'; } public function edit(Art $art, $list) { if ($this->session() >= self::$edit) { ?>
Infos
CSS
Contenu
'; ?>
<?= $title ?> <?= $pre ?> <?= $art->titre() ?>
'; echo ' '; echo '
'; } public function lien($getlist, $lien) { echo '
'; echo ' '; echo '
'; } public function home($getlist) { echo ' '; } public function dump($getlist) { echo ' '; } public function home2($getlist) { echo '
'; if ($this->session() >= 2) { echo ' '; } echo '
'; } public function home2table($getlist) { echo '
'; echo '
'; echo '

W

'; $this->search(); if ($this->session() >= 2) { echo '

Home

'; echo ''; echo ''; foreach ($getlist as $item) { $liento = 0; $lienfrom = 0; foreach ($getlist as $lien) { if (in_array($item->id(), $lien->lien('array'))) { $liento++; } } foreach ($item->lien('array') as $count) { $lienfrom++; } echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } echo '
titrerésumélien fromlien todernière modifdate de créationedit
' . $item->titre() . '' . $item->intro() . '' . $lienfrom . '' . $liento . '' . $item->datemodif('hrdi') . '' . $item->datecreation('hrdi') . 'modifier
'; } echo '
'; echo '
'; } public function aside($list) { if ($this->session() >= 2) { echo ' '; } } public function nav($app) { echo ' '; echo '
'; $this->addmedia(); $this->medialist(); echo '
'; echo ''; } public function addmedia() { if ($this->session() >= 2) { ?>
Add Media
'; echo 'Media List'; echo '
'; echo '
'; echo ''; ?>
'; echo ''; } //______________________________________________________ S E T _________________________________________________ public function setsession($session) { if ($session <= 2 and $session >= 0) { $session = intval($session); $this->session = $session; } } //______________________________________________________ G E T _________________________________________________ public function session() { return $this->session; } } ?>