5
You need to have a login form on the site closed page. There is no other way of getting access to your site.
To open your site again now you need to change a value in your MySQL database. This query can change that:
UPDATE xoops_config SET conf_value=0 WHERE conf_name = 'closesite'
I've just used 'xoops_' as the database prefix, if it is different to what you use then change 'xoops' to the actual prefix you have in your database.
Once you get back into the admin section, change your system_siteclosed.html template so that it also includes a form to login. This is the original login form:
<form action="<{$xoops_url}>/user.php" method="post">
<table cellspacing="0" align="center" style="border: 1px solid silver; width: 200px;">
<tr>
<th style="background-color: #2F5376; color: #FFFFFF; padding : 2px; vertical-align : middle;" colspan="2"><{$lang_login}>th>
tr>
<tr>
<td style="padding: 2px;"><{$lang_username}>td><td style="padding: 2px;"><input type="text" name="uname" size="12" value="" />td>
tr>
<tr>
<td style="padding: 2px;"><{$lang_password}>td><td style="padding: 2px;"><input type="password" name="pass" size="12" />td>
tr>
<tr>
<td style="padding: 2px;"> td>
<td style="padding: 2px;"><input type="hidden" name="xoops_login" value="1" /><input type="submit" value="<{$lang_login}>" />td>
tr>
table>
form>
You might still want to change some of the style elements, like backgound-color or so, to make it suit the rest of your system_siteclosed.html template.