Changeset 81
Legend:
- Unmodified
- Added
- Removed
-
index.php
r71 r81 42 42 <tr><th>Stav registrací</th><td>'); 43 43 include('registrace/reg_config.php'); 44 if($AllowedRegistrationCountPerDay == 0) echo('VYÈERPANÉ'); else echo('POVOLENÉ'); 44 $Database->select_db('realmd'); 45 $DbResult = $Database->query('SELECT COUNT(*) FROM account'); 46 $Row = $DbResult->fetch_array(); 47 $AccountCount = $Row[0]; 48 $Remain = $MaximumAccountCount-$AccountCount; 49 if($Remain == 0) echo('VYÈERPANÉ'); else echo('POVOLENÉ'); 45 50 echo('</td></tr> 46 51 <tr><th>Registrace</th><td>');
Note:
See TracChangeset
for help on using the changeset viewer.