Location: PHPKode > scripts > WH Social > wh_social/framework/functions/maintenance.php
<?php

    function under_construction() {
        $maintenance = mysql_query("SELECT id, status FROM maintenance WHERE id = '1'") OR die(mysql_error());

        $check = mysql_fetch_assoc($maintenance);

        if(!$check['status'] == 0) {

            echo '<h1>Wartungsmodus - Maintenance</h1>';

            mysql_free_result($maintenance);
            exit();
            }
        }

?>
Return current item: WH Social