<?php //Konfiguracja $stan="off"; [...] ?>
index.php
<?php include "config.php"; if ($stan="on") { include "online.html"; } else { if ($stan="off") { include "offline.html"; } } ?>
Co tu jest źle? Bo niezależnie co ustawię w config'u, to i tak includuje się online.html...
