blob: 9e2a362a4b2792b2d4d04e18cee1e42cc4c30b8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?xml version="1.0" encoding="UTF-8" ?>
<page>
<info>
<name>Users:Delete</name>
<template>phpexec</template>
<access>0:0</access>
</info>
<data>
<code>
<![CDATA[
<?PHP
Uses('user', 'links');
if($_POST['back']) {
header('Location: ' . $GLOBALS['links']->GetNeonLink('Users', null, false));
exit();
}
if(!$_POST['id']) exit();
$GLOBALS['user']->Delete($_POST['id']);
header('Location: ' . $GLOBALS['links']->GetNeonLink('Users', null, false));
exit();
?>
]]>
</code>
</data>
</page>
|