Lines Matching refs:id
55 $id = filter_input(INPUT_GET, "id", FILTER_VALIDATE_INT) ?: 0; variable
68 if (!($id = @mysql_result($res, 0))) { variable
72 if ($id) {
74 $res = db_query_safe($query, [$id]);
77 warn("Can't find user#$id");
82 if ($id && $action) {
91 user_approve((int)$id);
95 user_remove((int)$id);
105 if (!can_modify($_SESSION["username"],$id)) {
114 $userinfo = fetch_user($id);
124 if ($id) {
146 $query->add(' WHERE userid=?', [$id]);
156 db_query_safe($query, [$id, $purpose]);
164 … db_query_safe($query, [$id, $profile_markdown, $profile_html, $profile_markdown, $profile_html]);
168 warn("record $id updated");
169 $id = false; variable
175 if ($id) {
255 if ($id) {
256 $res = db_query_safe("SELECT markdown FROM users_profile WHERE userid=?", [$id]);
288 <form method="post" action="users.php?id=<?php echo $id?>">
299 <form method="post" action="users.php?id=<?php echo $id?>">
312 … db_query_safe("SELECT note, UNIX_TIMESTAMP(entered) AS ts FROM users_note WHERE userid=?", [$id]);