8 && $_GET['action'] == "delete") { $etemplate_id = (int)$_GET['id']; smart_mysql_query("DELETE FROM exchangerix_email_templates WHERE template_id='$etemplate_id'"); header("Location: etemplates.php?msg=deleted"); exit(); } $query = "SELECT * FROM exchangerix_email_templates WHERE email_name!='email2users' GROUP BY email_name ORDER BY template_id"; $result = smart_mysql_query($query); $total = mysqli_num_rows($result); $query2 = "SELECT * FROM exchangerix_email_templates WHERE email_name='email2users' ORDER BY template_id"; $result2 = smart_mysql_query($query2); $total2 = mysqli_num_rows($result2); $cc = $cc2 = 0; $title = "Email Templates"; require_once ("inc/header.inc.php"); ?>
| Email Template | Language | |
|---|---|---|
|
0)
{
while ($lrow = mysqli_fetch_array($lresult))
{
echo "".$lrow['language']."";
//if ($lrow['template_id'] > 8) echo " "; } } ?> |
||
|
|
|
|
Sorry, no email templates found. |
||