send email; manage notis and email logs

This commit is contained in:
Tóth Richárd
2018-10-23 21:56:06 +02:00
parent 85180a91b6
commit 7a24fdee51
14 changed files with 217 additions and 98 deletions

View File

@@ -5,7 +5,7 @@ if ($this->is_id()) {
# EMAIL LISTA (50 / oldal)
$all_emails_query = "SELECT count(DISTINCT el_id) FROM email_log";
$emails_query = "SELECT * FROM email_log LIMIT ".($this->is_id()?($this->get_id()-1) * 50:"0").",50";
$emails_query = "SELECT * FROM email_log ORDER BY el_sent_date DESC LIMIT ".($this->is_id()?($this->get_id()-1) * 50:"0").",50";
$el_assoc_array = $sql->assoc_array($emails_query);
$el_count = $sql->single_variable($all_emails_query);
$next_link = true;