From 794fa311cf57758efdade77566264befa89cdff2 Mon Sep 17 00:00:00 2001 From: Xheni Myrtaj Date: Sat, 12 May 2018 18:23:44 +0200 Subject: [PATCH] 0019204: Add facility for exporting all an individual subscriber's data including history (#313) * export subscriber data Signed-off-by: Xheni Myrtaj * replace mysqli_fetch_assoc with the Sql_Fetch_Assoc Signed-off-by: Xheni Myrtaj * remove unnecessary line Signed-off-by: Xheni Myrtaj (cherry picked from commit ba4ea2eb168cb6305f3ad3edc76f47f3db2f9852) --- public_html/lists/admin/exportuserdata.php | 222 +++++++++++++++++++++ public_html/lists/admin/user.php | 5 +- 2 files changed, 225 insertions(+), 2 deletions(-) create mode 100644 public_html/lists/admin/exportuserdata.php diff --git a/public_html/lists/admin/exportuserdata.php b/public_html/lists/admin/exportuserdata.php new file mode 100644 index 000000000..f8f0f3b92 --- /dev/null +++ b/public_html/lists/admin/exportuserdata.php @@ -0,0 +1,222 @@ +'; - echo PageLinkButton("userhistory&id=$id", s('History')); + echo '  '.PageLinkButton("userhistory&id=$id", s('History')); + echo '  '.PageLinkButton("exportuserdata&id=$id", s('Download subscriber data')); echo '