has("publications", ['pubid' => $VARS['pubid']])) { header('Location: app.php?page=home'); die(); } $lists = $database->select("mail_lists", ['listid', 'listname']); $lastmailed = $database->get("publications", ["[>]mail_lists" => ["mailedto" => "listid"]], ['mailedon', 'mailedto', 'listname'], ['pubid' => $VARS['pubid']]); if (strpos(URL, "https://") === 0 || strpos(URL, "http://") === 0) { $url = URL; } else { // Don't trust the URL setting, it's not an absolute URL $url = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]"; $path = explode("/", $_SERVER["REQUEST_URI"]); array_pop($path); $url .= implode("/", $path); } $url = $url . (substr($url, -1) == '/' ? '' : '/'); ?>

date(DATETIME_FORMAT, strtotime($lastmailed['mailedon'])), "y" => $lastmailed['listname']]); ?>
" required="required" />
", lang("default message", false)); ?>
view.php?id=
Unsubscribe: unsubscribe.php