aboutsummaryrefslogtreecommitdiff
path: root/app/class/w.home.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-12-22 04:58:54 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-12-22 04:58:54 +0100
commit920610490ea8c0e7ed4d8711eb5c7fc885239457 (patch)
tree1ee709a3662dacc3a5151305c6b0854d641cefba /app/class/w.home.php
parent08edd92a2135d486603687b181979854b60a3bcc (diff)
downloadwcms-920610490ea8c0e7ed4d8711eb5c7fc885239457.tar.gz
wcms-920610490ea8c0e7ed4d8711eb5c7fc885239457.zip
login level session separate by basepath
Diffstat (limited to 'app/class/w.home.php')
-rw-r--r--app/class/w.home.php85
1 files changed, 0 insertions, 85 deletions
diff --git a/app/class/w.home.php b/app/class/w.home.php
deleted file mode 100644
index a23c60f..0000000
--- a/app/class/w.home.php
+++ /dev/null
@@ -1,85 +0,0 @@
-<?php
-
-
-$aff->header();
-
-echo '<main class="home">';
-
-
-if ($app->session() >= $app::EDITOR) {
-
- $app->bddinit($config);
-
- $opt = new Opt(Art2::classvarlist());
- $opt->setcol(['id', 'tag', 'linkfrom', 'contenu', 'description', 'title', 'datemodif', 'datecreation', 'secure']);
- $table = $app->getlisteropt($opt);
- $app->listcalclinkfrom($table);
- $opt->settaglist($table);
- $opt->submit();
-
-
-
-
-
-
-
-
-
-
-
- $opt->setcol(['id', 'tag', 'linkfrom', 'contenu', 'description', 'title', 'datemodif', 'datecreation', 'secure', 'linkto']);
-
-
- $aff->option($app, $opt);
-
- $filtertagfilter = $app->filtertagfilter($table, $opt->tagfilter(), $opt->tagcompare());
- $filtersecure = $app->filtersecure($table, $opt->secure());
-
- $filter = array_intersect($filtertagfilter, $filtersecure);
- $table2 = [];
- $table2invert = [];
- foreach ($table as $art) {
- if (in_array($art->id(), $filter)) {
- $table2[] = $art;
- } else {
- $table2invert[] = $art;
- }
-
-
- }
-
- if(!empty($opt->invert())) {
- $table2 = $table2invert;
- }
-
- $app->artlistsort($table2, $opt->sortby(), $opt->order());
-
-
- echo '<div id="flex">';
-
-
- $aff->home2table($app, $table2, $app->getlister());
-
-
-
-
- echo '<div id="map">';
- $aff->mapheader();
- if(isset($_GET['map'])) {
- $aff->mermaid($app->map($table2));
- }
- echo '</div>';
-
-
-
-
-
- echo '</div>';
-
-}
-
-
-
-echo '</main>';
-
-?> \ No newline at end of file