From cdea8caa5617f0cb77bcbc9803759abd2df50644 Mon Sep 17 00:00:00 2001 From: Niklas Olmes Date: Fri, 24 Apr 2026 19:30:00 +0200 Subject: stipcrm --- template.email.php | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 template.email.php (limited to 'template.email.php') diff --git a/template.email.php b/template.email.php new file mode 100644 index 0000000..9c76425 --- /dev/null +++ b/template.email.php @@ -0,0 +1,63 @@ + +prepare($sql); + $stmt->bind_param('ii', $_SESSION['auth_userid'], $_GET['id']); + $stmt->execute(); + $r = $stmt->get_result(); + $l = $r->fetch_object(); + + $_title = 'E-Mail-Template: "' . $l->name . '" (ID ' . $l->ID . ')'; + include_once __DIR__ . "/header.php"; +?> + +

+ +(' . $_SESSION['auth_user'] . ')', '=4tags'], + ['from', 'cc', 'bcc'], + ['%subject'], + ['*text'], + ]; + $entrytable = "email_templates"; + + include __DIR__ . '/autoform.php'; + $stmt->reset(); +})(); + +include_once __DIR__ . "/footer.php"; +?> -- cgit v1.3.1