<?php /* Smarty version 3.1.27, created on 2025-03-02 11:45:40
         compiled from "my:email_template_edit" */ ?>
<?php
/*%%SmartyHeaderCode:211387011367c444e4d3e996_38550072%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6632525062c6494d5895591c1739c9d980c0dcba' => 
    array (
      0 => 'my:email_template_edit',
      1 => 1740915940,
      2 => 'my',
    ),
  ),
  'nocache_hash' => '211387011367c444e4d3e996_38550072',
  'variables' => 
  array (
    'tmpl' => 0,
    'frm' => 0,
    'errors' => 0,
    'wisiwing' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_67c444e4dac549_83419783',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_67c444e4dac549_83419783')) {
function content_67c444e4dac549_83419783 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '211387011367c444e4d3e996_38550072';
?>
 <?php echo $_smarty_tpl->getSubTemplate ("my:admin_header", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>
 <h3>Edit Email Template &quot;<?php echo $_smarty_tpl->tpl_vars['tmpl']->value['name'];?>
&quot;</h3> <?php if ($_smarty_tpl->tpl_vars['frm']->value['status'] == "success") {?> <div class="alert alert-success">Temaplte is updated</div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['errors']->value['text']) {?> <div class="alert alert-danger"><?php echo $_smarty_tpl->tpl_vars['errors']->value['text'];?>
</div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['errors']->value['html']) {?> <div class="alert alert-danger"><?php echo $_smarty_tpl->tpl_vars['errors']->value['html'];?>
</div> <?php }?>  <?php echo '<script'; ?>
> function send_test() { open("", "test_email", "width=300, height=100"); document.edit_email.target = "test_email"; document.edit_email.a.value = "newsletter"; document.edit_email.action.value = "test_email"; document.edit_email.submit(); document.edit_email.target = "_self"; document.edit_email.a.value = "email_templates"; document.edit_email.action.value = ""; } <?php echo '</script'; ?>
>  <form method=post name=edit_email> <input type=hidden name=a value=email_templates> <input type=hidden name=action value=edit> <input type=hidden name=save value=1> <input type=hidden name=type value="<?php echo $_smarty_tpl->tpl_vars['tmpl']->value['id'];?>
"> <table class=form> <tr> <th>Subject:</th> <td><input type="text" name="subject" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tmpl']->value['subject'], ENT_QUOTES, 'UTF-8', true);?>
" class=inpts size=100></td> </tr> <tr> <th>Use Presets?</th> <td> <select name=use_presets class=inpts> <option value=1 <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['use_presets'] == 1) {?>selected<?php }?>>Yes</option> <option value=0 <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['use_presets'] == 0) {?>selected<?php }?>>No</option> </select> </td> </tr> <tr> <th>Text Message:</th> <td><textarea name=text cols=100 rows=20 class=inpts><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tmpl']->value['text'], ENT_QUOTES, 'UTF-8', true);?>
</textarea></td> </tr> <tr> <th>HTML Message:<br> <input type="checkbox" name="use_html" value=1 <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['use_html']) {?>checked<?php }?>> Use it?</th> <td><textarea name=html class=<?php if ($_smarty_tpl->tpl_vars['wisiwing']->value) {?>ckeditor<?php } else { ?>inpts<?php }?> cols=100 rows=20><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tmpl']->value['html'], ENT_QUOTES, 'UTF-8', true);?>
</textarea></td> </tr> <tr> <th></th> <td><input type=submit value="Update" class="btn-sm btn-success sbmt"> <input type=button value="Send Test E-mail" class=sbmt onclick="send_test()"> <a class="sbmt btn-sm btn-danger" href="?a=email_templates">Cancel</a></td> </tr> </table> </form> <?php echo $_smarty_tpl->getSubTemplate ("my:start_info_table", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>
 <?php if (!$_smarty_tpl->tpl_vars['tmpl']->value) {?> Select e-mail type to edit system messages.<br> If checkbox opposite to template name is switched off e-mail will be not sent. <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "registration") {?> Users will receive this e-mail after registration.<br><br> Personalization:<br> #name# - first and last user name.<br> #username# - user login<br> #password# - user password<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br><br> *Password will be replased with ***** if you use double opt-in confirmation for user registration. <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "confirm_registration") {?> Users will receive this e-mail if you use double opt-in confirmation for user registration.<br><br> Personalization:<br> #name# - first and last user name.<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br><br> * Do not edit following part:<br> #site_url#/?a=signup&action=confirm&c=#confirm_string#<br><br> This string will be replaced with uniq confirmation url for every user. <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "forgot_password") {?> Users will receive this e-mail if forgot they password and request new password.<br><br> Personalization:<br> #name# - first and last user name.<br> #username# - user login<br> #password# - user password<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br> #ip# - IP address of visitor that requested password.<br> <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "bonus") {?> Users will receive this e-mail if admin add deposit to they account and select checkbox "send notification".<br><br> Personalization:<br> #name# - first and last user name.<br> #amount# - bonus amount<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br> <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "penalty") {?> Users will receive this e-mail if admin add penalty to they account and select checkbox "send notification".<br><br> Personalization:<br> #name# - first and last user name.<br> #amount# - penalty amount<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br> <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "change_account") {?> Users will receive this e-mail after edit account information.<br><br> Personalization:<br> #name# - first and last user name.<br> #email# - user e-mail address.<br> #ip# - IP address of visitor that requested password.<br> #password# - user password<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br> <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "withdraw_request_user_notification") {?> Users will receive this e-mail after withdraw request.<br><br> Personalization:<br> #username# - username.<br> #name# - first and last user name.<br> #amount#- withdraw amount.<br> #ip# - IP address of user that requested withdraw.<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br> <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "withdraw_request_admin_notification") {?> Administrator will receive this e-mail after user withdraw request.<br><br> Personalization:<br> #username# - username.<br> #name# - first and last user name.<br> #amount#- withdraw amount.<br> #ip# - IP address of user that requested withdraw.<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br> <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "withdraw_user_notification") {?> User will receive this e-mail after withdraw process. (After autopay if enabled, admin direct and mass withdraw processes)<br><br> Personalization:<br> #username# - username.<br> #name# - first and last user name.<br> #amount# - withdraw amount.<br> #batch# - batch.<br> #account# - user account.<br> #currency# - payment currency.<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br> <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "withdraw_admin_notification") {?> User will receive this e-mail after withdraw process autopay if enabled<br><br> Personalization:<br> #username# - username.<br> #name# - first and last user name.<br> #amount# - withdraw amount.<br> #batch# - batch.<br> #account# - user account.<br> #currency# - payment currency.<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br> <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "deposit_admin_notification") {?> Administrator will receive this e-mail after user made deposit<br><br> Personalization:<br> #username# - username.<br> #name# - first and last user name.<br> #amount# - deposit amount.<br> #batch# - batch.<br> #account# - user account.<br> #currency# - payment currency.<br> #plan# - investment package name.<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br> #upline# - name of user`s upline who made deposit<br> <?php }?> <?php if ($_smarty_tpl->tpl_vars['tmpl']->value['id'] == "brute_force_activation") {?> User will receive this e-mail if his account locked after number of incorrect login attempts<br><br> Personalization:<br> #username# - username.<br> #ip# - user IP address.<br> #max_tries# - amount on max incorrect attempts.<br> #activation_code# - activation code.<br> #site_url# - your site url (check settings screen to set this variable)<br> #site_name# - your site name (check settings screen to set this variable)<br><br> * Do not edit following part:<br> #site_url#?a=activate&code=#activation_code#<br> This string will be replaced with unique activation url. <?php }?> <?php echo $_smarty_tpl->getSubTemplate ("my:end_info_table", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>
 <?php echo $_smarty_tpl->getSubTemplate ("my:admin_footer", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>
 <?php }
}
?>