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, App $app) { echo '
'; echo ' '; echo '
'; } public function dump($getlist) { 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() >= $app::EDITOR) { ?>
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, $app) { ?>

CSS

Current global css : cssread() ?>

Default CSS
cssread(); if (is_file($cssfile)) { $cssread = file_get_contents($cssfile); echo '
'; echo 'Edit current CSS'; echo '
'; echo ''; echo ''; echo '
'; echo '
'; } ?>
Add CSS file

Database

Database credentials

Passwords

Admin
Others

Current Table : arttable(); ?>

Select Table

The table is where all your articles are stored, select the one you want to use.

Add table

Create new table in your database. You need at least one to use W_cms

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