pull/1/head
root 18 years ago
parent 1ccba83ea3
commit 4aa2323d37

@ -1857,10 +1857,10 @@
if($id == 36)
{
$row = mysql_fetch_assoc(mysql_query("select * from `alerts` where `memid`='".$_SESSION['profile']['id']."'"));
$_POST['general'] = $_REQUEST['general'] = $row['general'];
$_POST['country'] = $_REQUEST['country'] = $row['country'];
$_POST['regional'] = $_REQUEST['regional'] = $row['regional'];
$_POST['radius'] = $_REQUEST['radius'] = $row['radius'];
$_REQUEST['general'] = $row['general'];
$_REQUEST['country'] = $row['country'];
$_REQUEST['regional'] = $row['regional'];
$_REQUEST['radius'] = $row['radius'];
}
if($oldid == 41)

@ -19,10 +19,10 @@
</tr>
<tr>
<td class="DataTD" valign="top"><b><?=_("Alert me if")?></b>: </td>
<td class="DataTD" align="left"><input type="checkbox" name="general" value="1"<? if($_POST['general']) echo " checked"; ?>><?=_("General Announcements")?><br>
<input type="checkbox" name="country" value="1"<? if($_POST['country']) echo " checked"; ?>><?=_("Country Announcements")?><br>
<input type="checkbox" name="regional" value="1"<? if($_POST['regional']) echo " checked"; ?>><?=_("Regional Announcements")?><br>
<input type="checkbox" name="radius" value="1"<? if($_POST['radius']) echo " checked"; ?>><?=_("Within 200km Announcements")?></td>
<td class="DataTD" align="left"><input type="checkbox" name="general" value="1"<? if($_REQUEST['general']) echo " checked"; ?>><?=_("General Announcements")?><br>
<input type="checkbox" name="country" value="1"<? if($_REQUEST['country']) echo " checked"; ?>><?=_("Country Announcements")?><br>
<input type="checkbox" name="regional" value="1"<? if($_REQUEST['regional']) echo " checked"; ?>><?=_("Regional Announcements")?><br>
<input type="checkbox" name="radius" value="1"<? if($_REQUEST['radius']) echo " checked"; ?>><?=_("Within 200km Announcements")?></td>
</tr>
<tr>
<td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Update My Settings")?>"></td>

Loading…
Cancel
Save