diff -r 7be4525290cc -r 2ff220cfde13 edit_record.php --- a/edit_record.php Sun Apr 22 16:27:45 2007 +0000 +++ b/edit_record.php Mon Jun 04 18:43:11 2007 +0000 @@ -1,22 +1,4 @@ - trancer nl> | -// | Sjeemz sjeemz nl> | -// +--------------------------------------------------------------------+ - -// -// $Id: edit_record.php,v 1.9 2003/05/14 22:48:13 azurazu Exp $ -// +getOne("SELECT id FROM record_owners WHERE record_id='".$_GET["id"]."' AND user_id='".$_SESSION["userid"]."' LIMIT 1"); - if (empty($checkPartial)) { - error(ERR_RECORD_ACCESS_DENIED); - } -} -*/ - if ($_POST["commit"]) { edit_record($_POST["recordid"], $_POST["domainid"], $_POST["name"], $_POST["type"], $_POST["content"], $_POST["ttl"], $_POST["prio"]); @@ -52,38 +24,78 @@ error(ERR_RECORD_ACCESS_DENIED); } } - +include_once("inc/header.inc.php"); +?> +

""

+query("SELECT r.id,u.fullname FROM record_owners as r, users as u WHERE r.record_id='".$_GET['id']."' AND u.id=r.user_id"); +if (level(10) && ($x_result->numRows() > 0)) +{ +?> +
+
+ + + +fetchRow()) + { ?> -

""

-
>> "> >>

- - -"> -"> -
+   +
- - + + + + + +
 
?id=&domain=&delid=">trash
+
+
+ + + "> + "> + + + - - + + + -
+   + + + + +
- - - -" CLASS="input"> +
+ + " class="input"> - - -" CLASS="input"> - -.IN" class="input"> + +. + IN + " CLASS="sinput">" CLASS="input">" CLASS="sinput">
-
   - - - - - + + + + + + +
" class="sinput">" class="input">" class="sinput">
+

+    + +

+ query("SELECT r.id,u.username FROM record_owners as r, users as u WHERE r.record_id='".$_GET['id']."' AND u.id=r.user_id"); -while ($x_r = $x_result->fetchRow()) { - echo "".$x_r["username"].""; - echo ""; - echo "\"""; -} +include_once("inc/footer.inc.php"); ?> - -