Lines Matching refs:id
28 $id = isset($_REQUEST['id']) ? $_REQUEST['id'] : false; variable
38 if($id) $id = (int)$id; variable
40 if ($id && $action) {
43 if (db_query_safe("UPDATE phpcal SET approved=1,app_by=? WHERE id=?", [$cuser, $id])
45 $event = fetch_event($id);
47 …if ($event['email']) mail($event['email'],"Event #$id Approved: $event[sdesc]",$message,"From: PHP…
49 warn("record $id approved");
52 warn("wasn't able to approve id $id.");
56 $event = fetch_event($id);
57 if (db_query_safe("DELETE FROM phpcal WHERE id=?", [$id])
62 …if ($event['email']) mail($event['email'],"Event #$id $did: $event[sdesc]",$message,"From: PHP Web…
64 warn("record $id ".strtolower($did));
66 unset($id);
69 warn("wasn't able to delete id $id.");
77 if ($id && $in) {
97 …[$tipo, $in['ldesc'], $in['sdesc'], $in['email'], $in['url'], $in['country'], $in['category'], $id]
101 warn("record $id updated");
102 unset($id);
105 if ($id && !$in) {
106 $in = fetch_event($id);
108 unset($id);
123 if ($id) {
126 <input type="hidden" name="id" value="<?php echo $id?>" />
205 <input type="hidden" name="id" value="<?php echo $id?>" />
215 <input type="hidden" name="id" value="<?php echo $id?>" />