content/konto/userprofil.php
PHP-Code:
<tr>
<td>Max. anzeigbare Forcedbanner:</td>
<td>
<select name="max_forced">
<option value="3" <? if ($info['max_forced'] == 3) echo 'selected';?>>3</option>
<option value="5" <? if ($info['max_forced'] == 5) echo 'selected';?>>5</option>
<option value="10" <? if ($info['max_forced'] == 10) echo 'selected';?>>10</option>
<option value="20" <? if ($info['max_forced'] == 20) echo 'selected';?>>20</option>
<option value="30" <? if ($info['max_forced'] == 30) echo 'selected';?>>30</option>
<option value="40" <? if ($info['max_forced'] == 40) echo 'selected';?>>40</option>
<option value="50" <? if ($info['max_forced'] == 50) echo 'selected';?>>50</option>
</select>
</td>
</tr>
z.b. abändenr in
PHP-Code:
<tr>
<td>Max. anzeigbare Forcedbanner:</td>
<td>
<select name="max_forced">
<option value="3" <? if ($info['max_forced'] == 3) echo 'selected';?>>3</option>
<option value="5" <? if ($info['max_forced'] == 5) echo 'selected';?>>5</option>
<option value="10" <? if ($info['max_forced'] == 10) echo 'selected';?>>10</option>
<option value="20" <? if ($info['max_forced'] == 20) echo 'selected';?>>20</option>
<option value="25" <? if ($info['max_forced'] == 25) echo 'selected';?>>25</option>
</select>
</td>
</tr>
oder wie auch immer
solltest natürlich nicht vergessen, denjenigen usern, die momentan >25 ausgewählt haben auf 25 zu setzen
z.b. so
Code:
update vms_userdaten set max_forced = 25 where max_forced > 25