From acc42674db6482ee6d432c4a9c174ed7dfcea063 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 24 May 2018 19:03:42 +0200 Subject: W 2.2 --- class/class.aff.php | 439 ---------------------------------------------------- 1 file changed, 439 deletions(-) delete mode 100644 class/class.aff.php (limited to 'class/class.aff.php') diff --git a/class/class.aff.php b/class/class.aff.php deleted file mode 100644 index 3ae4662..0000000 --- a/class/class.aff.php +++ /dev/null @@ -1,439 +0,0 @@ -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 ?> - - - -
- - -
- '; - 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) - { - ?> - - session() >= 2) { - - ?> -
- Add Media -

Ajouter un media

-
- - - - -
-
- = 0) { - $session = intval($session); - $this->session = $session; - } -} - - //______________________________________________________ G E T _________________________________________________ - -public function session() -{ - return $this->session; -} - - -} - - - -?> \ No newline at end of file -- cgit v1.2.3