setsession($session); } // ____________________________________________________ C O N F I G ______________________________________________ public function configform() { ?>

Config file does not exist yet, or maybe you deleted it ? Anyway, it is time to set it :

Database settings




Domain name settings

W_cms settings

(You can change everything later, set at least your admin password, and don't forget it !)
'; if ($art->secure() == 1) { echo '

cet article est privé

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

cet article n'est pas publié

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

titre() ?>

soustitre() ?>
html($app) ?>
'; } public function edit(Art $art, App $app, $list) { if ($app->session() >= self::$edit) { ?>
Infos
CSS
Contenu
'; ?>
<?= $title ?> ' : '' ?> <?= $edit == 1 ? '✏' : '' ?> <?= $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(App $app, $getlist) { echo '
'; echo '
'; echo '

W

'; $this->search(); if ($app->session() >= $app::EDITOR) { 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(App $app) { if ($app->session() >= $app::EDITOR) { echo ' '; } } public function nav($app) { echo ' session() >= 2) { ?>
Add Media
'; echo 'Media List'; echo '
'; echo '
'; echo ''; ?>
'; echo ''; } //______________________________________________________ R E C _________________________________________________ public function recordlist(App $app, $dir = "../ACRRecordings/") { echo '
'; echo 'Media List'; echo '
'; echo '
'; echo '
    '; foreach ($app->getlisterrecord($dir) as $item) { echo '
  • '; ?> id()) . '.' . $item->extension(); echo '
    '; var_dump($item->size()); var_dump(intval($item->size())); echo 'filesize = ' . readablesize(intval($item->size())); echo '
    '; echo 'extension = ' . $item->extension(); echo '
    '; ?> '; } echo '
'; ?>
'; echo '
'; } //______________________________________________________ A D M _________________________________________________ public function admincss(Config $config, array $list) { echo '
'; echo '

Default CSS for articles

'; echo '
'; echo ''; echo ''; echo ''; echo '
'; $cssfile = '..' . DIRECTORY_SEPARATOR . 'css' . DIRECTORY_SEPARATOR . 'lecture' . DIRECTORY_SEPARATOR . $config->cssread(); if (is_file($cssfile)) { $cssread = file_get_contents($cssfile); echo '
'; echo 'Edit current CSS'; echo '
'; echo ''; echo ''; echo '
'; echo '
'; } ?>
Add CSS file

Database

Status : ok

Database credentials
Actions

Create new table on your database

= 0) { $session = intval($session); $this->session = $session; } } //______________________________________________________ G E T _________________________________________________ public function session() { return $this->session; } } ?>