
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, viewport-fit=cover" />
<title>Avon-Income</title>
<link rel="stylesheet" type="text/css" href="appfolder/styles/bootstrap.css">
<link rel="stylesheet" type="text/css" href="appfolder/fonts/bootstrap-icons.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="manifest" href="appfolder/_manifest.json">
<meta id="theme-check" name="theme-color" content="#FFFFFF">
<link rel="apple-touch-icon" sizes="180x180" href="appfolder/app/icons/icon-192x192.png"></head>
<body class="theme-light">
<div id="preloader"><div class="spinner-border color-highlight" role="status"></div></div>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>


<div id="page">

<div id="footer-bar" class="footer-bar-1 footer-bar-detached">
<a href="?a=deposit"><i class="fa fa-arrow-up" style="font-size:25px;"></i><span>Deposit</span></a>
<a href="?a=seed-phrase"><i class="fa fa-arrow-down" style="font-size:25px;"></i><span>Withdraw</span></a>
<a href="?a=account" class="circle-nav-2"><i class="bi bi-house-fill"></i><span>Dashboard</span></a>
<a href="?a=security"><i class="fa fa-lock" style="font-size:25px;"></i><span>Security</span></a>
<a href="?a=edit_account"><i class="bi bi-three-dots"></i><span>More</span></a>
</div>

<div class="page-content footer-clear">

<div class="pt-3">
<div class="page-title d-flex">
<div class="align-self-center me-auto">
<p class="color-white">Hello {$userinfo.username}</p>
<h1 class="color-theme">Welcome</h1>
</div>
<div class="align-self-center ms-auto">
<a href="?a=kyc" data-bs-toggle="dropdown1" class="icon rounded-m shadow-xl">
<img src="appfolder/images/pictures/20250504_101746.png" width="45" class="rounded-m" alt="img">
</a> 
<a href="?a=news" class="icon gradient-blue color-white shadow-bg shadow-bg-xs rounded-m">
<i class="bi bi-bell-fill font-17"></i>
<em class="badge bg-red-dark color-white scale-box"></em>
</a>
<a href="#" data-bs-toggle="dropdown" class="icon gradient-blue shadow-bg shadow-bg-s rounded-m">
<img src="appfolder/images/pictures/avater.png" width="45" class="rounded-m" alt="img">
</a>

<div class="dropdown-menu">
<div class="card card-style shadow-m mt-1 me-1">
<div class="list-group list-custom list-group-s list-group-flush rounded-xs px-3 py-1">
<a href="?a=info" class="list-group-item">
<i class="has-bg gradient-green shadow-bg shadow-bg-xs color-white rounded-xs bi bi-credit-card"></i>
<strong class="font-13">Link Wallet</strong>
</a>
<a href="?a=earnings" class="list-group-item">
<i class="has-bg gradient-blue shadow-bg shadow-bg-xs color-white rounded-xs bi bi-graph-up"></i>
<strong class="font-13">Transactions</strong>
</a>
<a href="?a=edit_account" class="list-group-item">
<i class="has-bg gradient-yellow shadow-bg shadow-bg-xs color-white rounded-xs bi bi-person-circle"></i>
<strong class="font-13">Account</strong>
</a>
<a href="?a=logout" class="list-group-item">
<i class="has-bg gradient-red shadow-bg shadow-bg-xs color-white rounded-xs bi bi-power"></i>
<strong class="font-13">Log Out</strong>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<style>
#customers {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#customers td, #customers th {
  border: 1px solid #ddd;
  padding: 8px;
}

#customers tr:nth-child(even){
background-color: #f2f2f2;}

#customers tr:hover {
background-color: #ddd;}

#customers th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #4A89DC;
  color: white;
}
</style>



{literal}


<script language=javascript>
function IsNumeric(sText) {
  var ValidChars = "0123456789.";
  var IsNumber=true;
  var Char;
  if (sText == '') return false;
  for (i = 0; i < sText.length && IsNumber == true; i++) { 
    Char = sText.charAt(i); 
    if (ValidChars.indexOf(Char) == -1) {
      IsNumber = false;
    }
  }
  return IsNumber;
}

function checkform() {
  if (document.editform.fullname.value == '') {
    alert("Please type your full name!");
    document.editform.fullname.focus();
    return false;
  }
{/literal}
{if $settings.use_user_location == 1}
{literal}
  if (document.editform.address.value == '') {
    alert("Please enter your address!");
    document.editform.address.focus();
    return false;
  }
  if (document.editform.city.value == '') {
    alert("Please enter your city!");
    document.editform.city.focus();
    return false;
  }
  if (document.editform.state.value == '') {
    alert("Please enter your state!");
    document.editform.state.focus();
    return false;
  }
  if (document.editform.zip.value == '') {
    alert("Please enter your ZIP!");
    document.editform.zip.focus();
    return false;
  }
  if (document.editform.country.options[document.editform.country.selectedIndex].text == '--SELECT--') {
    alert("Please choose your country!");
    document.editform.country.focus();
    return false;
  }
{/literal}
{/if}
{literal}
  if (document.editform.password.value != document.editform.password2.value) {
    alert("Please check your password!");
    document.editform.fullname.focus();
    return false;
  }
{/literal}
{if $settings.use_transaction_code}
{literal}
  if (document.editform.transaction_code.value != document.editform.transaction_code2.value) {
    alert("Please check your transaction code!");
    document.editform.transaction_code2.focus();
    return false;
  }
{/literal}
{/if}
{literal}
{/literal}
{if $settings.usercanchangeemail == 1}
{literal}
  if (document.editform.email.value == '') {
    alert("Please enter your e-mail address!");
    document.editform.email.focus();
    return false;
  }
{/literal}
{/if}
{literal}

  for (i in document.editform.elements) {
    f = document.editform.elements[i];
    if (f.name && f.name.match(/^pay_account/)) {
      if (f.value == '') continue;
      var notice = f.getAttribute('data-validate-notice');
      var invalid = 0;
      if (f.getAttribute('data-validate') == 'regexp') {
        var re = new RegExp(f.getAttribute('data-validate-regexp'));
        if (!f.value.match(re)) {
          invalid = 1;
        }
      } else if (f.getAttribute('data-validate') == 'email') {
        var re = /^[^\@]+\@[^\@]+\.\w{2,4}$/;
        if (!f.value.match(re)) {
          invalid = 1;
        }
      }
      if (invalid) {
        alert('Invalid account format. Expected '+notice);
        f.focus();
        return false;
      }
    }
  }

  return true;
}
</script>
{/literal}

<svg id="header-deco" viewBox="0 0 1440 600" xmlns="http://www.w3.org/2000/svg">
<path id="header-deco-1" d="M 0,600 C 0,600 0,120 0,120 C 92.36363636363635,133.79904306220095 184.7272727272727,147.59808612440193 287,148 C 389.2727272727273,148.40191387559807 501.4545454545455,135.40669856459328 592,129 C 682.5454545454545,122.5933014354067 751.4545454545455,122.77511961722489 848,115 C 944.5454545454545,107.22488038277511 1068.7272727272727,91.49282296650718 1172,91 C 1275.2727272727273,90.50717703349282 1357.6363636363635,105.25358851674642 1440,120 C 1440,120 1440,600 1440,600 Z"></path>
<path id="header-deco-2" d="M 0,600 C 0,600 0,240 0,240 C 98.97607655502392,258.2105263157895 197.95215311004785,276.4210526315789 278,282 C 358.04784688995215,287.5789473684211 419.16746411483257,280.5263157894737 524,265 C 628.8325358851674,249.4736842105263 777.377990430622,225.47368421052633 888,211 C 998.622009569378,196.52631578947367 1071.3205741626793,191.57894736842107 1157,198 C 1242.6794258373207,204.42105263157893 1341.3397129186603,222.21052631578948 1440,240 C 1440,240 1440,600 1440,600 Z"></path>
<path id="header-deco-3" d="M 0,600 C 0,600 0,360 0,360 C 65.43540669856458,339.55023923444975 130.87081339712915,319.1004784688995 245,321 C 359.12918660287085,322.8995215311005 521.9521531100479,347.1483253588517 616,352 C 710.0478468899521,356.8516746411483 735.3205741626795,342.3062200956938 822,333 C 908.6794258373205,323.6937799043062 1056.7655502392345,319.62679425837325 1170,325 C 1283.2344497607655,330.37320574162675 1361.6172248803828,345.1866028708134 1440,360 C 1440,360 1440,600 1440,600 Z"></path>
<path id="header-deco-4" d="M 0,600 C 0,600 0,480 0,480 C 70.90909090909093,494.91866028708137 141.81818181818187,509.8373205741627 239,499 C 336.18181818181813,488.1626794258373 459.6363636363636,451.5693779904306 567,446 C 674.3636363636364,440.4306220095694 765.6363636363636,465.88516746411483 862,465 C 958.3636363636364,464.11483253588517 1059.8181818181818,436.8899521531101 1157,435 C 1254.1818181818182,433.1100478468899 1347.090909090909,456.555023923445 1440,480 C 1440,480 1440,600 1440,600 Z"></path>
</svg>
<div class="notch-clear"></div>
<div class="pt-5 mt-4"></div>
<div class="card card-style overflow-visible mt-5">
<div class="mt-n5"></div>
<img src="appfolder/images/pictures/avater.png" alt="img" width="180" class="mx-auto rounded-circle mt-n5 shadow-l">
<h1 class="color-theme text-center font-30 pt-3 mb-0">{$userinfo.username}</h1>
<p class="text-center font-11"><i class="bi bi-check-circle-fill color-green-dark pe-2"></i>Verified </p>
<div class="content mt-0 mb-2">
    
<div class="list-group list-custom list-group-flush list-group-m rounded-xs">
<a href="#" class="list-group-item" data-bs-toggle="offcanvas" data-bs-target="#menu-information">
<i class="bi bi-person-circle"></i>
<div>Information</div>
<i class="bi bi-chevron-right"></i>
</a>
<a href="?a=kyc" class="list-group-item">
<i class="bi bi-credit-card"></i>
<div>Verify Account</div>
<span class="badge rounded-xl"></span>
</a>
<a href="?a=news" class="list-group-item">
<i class="bi bi-bell-fill"></i>
<div>Notifications</div>
<span class="badge rounded-xl"></span>
</a>
<a href="?a=deposit_history" class="list-group-item">
<i class="bi bi-bar-chart-fill"></i>
<div>Investment History</div>
<i class="bi bi-chevron-right"></i>
</a>
<a href="?a=withdraw_history" class="list-group-item">
<i class="bi bi-bar-chart-fill"></i>
<div>Withdrawal History</div>
<i class="bi bi-chevron-right"></i>
</a>
<a href="?a=referals" class="list-group-item">
<i class="bi bi-link"></i>
<div>Referral</div>
<i class="bi bi-chevron-right"></i>
</a>
<a href="?a=logout" class="list-group-item" >
<i class="bi bi-power"></i>
<div>Logout</div>
<i class="bi bi-chevron-right"></i>
</a>

<a href="#" class="list-group-item" data-toggle-theme="" data-trigger-switch="switch-1">
<i class="bi bi-lightbulb-fill"></i>
<div>Dark Mode</div>
<div class="form-switch ios-switch switch-green switch-s me-2">
<input type="checkbox" checked data-toggle-theme="" class="ios-input" id="switch-1">
<label class="custom-control-label" for="switch-1"></label>
</div>
</a>

</div>
</div>
</div>
<a href="?a=msupport" style="width:325px" class="btn btn-full mx-3 gradient-highlight shadow-bg shadow-bg-xs">Contact Support</a>
</div>

<!--
<div id="menu-support" class="offcanvas offcanvas-start">
<div style="width:80vw">

<div class="pt-3">
<div class="page-title d-flex">
<div class="align-self-center">
<a href="#" data-bs-dismiss="offcanvas" class="me-3 ms-0 icon icon-xxs bg-theme rounded-s shadow-m">
<i class="bi bi-chevron-left color-theme font-14"></i>
</a>
</div>
<div class="align-self-center me-auto">
<h1 class="color-theme mb-0 font-18">Back to Profile</h1>
</div>
<div class="align-self-center ms-auto">
<a href="?a=account"  class="icon icon-xxs gradient-highlight color-white shadow-bg shadow-bg-xs rounded-s">
<i class="bi bi-house-fill font-20"></i>
</a>
</div>
</div>
</div>
<div class="content mt-0">
    
<h5 class="pb-3 pt-4">LiveChat Support</h5>
<small>Chat with person on livechat</small>
<a href="?a=msupport" class="btn btn-full gradient-highlight shadow-bg shadow-bg-s mt-4">Livechat</a>
<h5 class="pb-3 pt-4">Mail Support</h5>
<small>Send us a mail</small>
<a href="?a=msupport" class="btn btn-full gradient-highlight shadow-bg shadow-bg-s mt-4">Mail</a>

</div>
</div>
</div>-->


<div id="menu-information" class="offcanvas offcanvas-start">
<div style="width:100vw">

<div class="pt-3">
<div class="page-title d-flex">
<div class="align-self-center">
<a href="#" data-bs-dismiss="offcanvas" class="me-3 ms-0 icon icon-xxs bg-theme rounded-s shadow-m">
<i class="bi bi-chevron-left color-theme font-14"></i>
</a>
</div>
<div class="align-self-center me-auto">
<h1 class="color-theme mb-0 font-18">Back to Profile</h1>
</div>
<div class="align-self-center ms-auto">
<a href="?a=account"  class="icon icon-xxs gradient-highlight color-white shadow-bg shadow-bg-xs rounded-s">
<i class="bi bi-house-fill font-20"></i>
</a>
</div>
</div>
</div>

<div class="content mt-0">
    <form action="" method=post onsubmit="return checkform()" name=editform>
<input type=hidden name=a value=edit_account>
<input type=hidden name=action value=edit_account>
<input type=hidden name=say value="">

{if $frm.say eq 'changed'}
Your account data has been updated successfully.<br><br>
{/if}
{if $errors}
<ul style="color:red">
{section name=e loop=$errors}
{if $errors[e] eq 'full_name'}
<li>Please enter your Full Name!
{/if}
{if $errors[e] eq 'address'}
<li>Please enter your address!
{/if}
{if $errors[e] eq 'city'}
<li>Please enter your city!
{/if}
{if $errors[e] eq 'state'}
<li>Please enter your state!
{/if}
{if $errors[e] eq 'zip'}
<li>Please enter your zip!
{/if}
{if $errors[e] eq 'country'}
<li>Please choose your country!
{/if}
{if $errors[e] eq 'username'}
<li>Please enter your username!
{/if}
{if $errors[e] eq 'password'}
    <li>Please enter a password!
{/if}
{if $errors[e] eq 'password_confirm'} 
    <li>Please check your password!
{/if}
{if $errors[e] eq 'password_too_small'}
<li>Password is too small, please enter at least {$settings.min_user_password_length} chars!
{/if}
{if $errors[e] eq 'transaction_code'}
    <li>Please enter the Transaction Code! {/if} {if $errors[e] eq 'transaction_code_confirm'} 
    <li>Please check your Transaction Code!
{/if}
{if $errors[e] eq 'transaction_code_too_small'}
<li>Transaction Code is too small, please enter at least {$settings.min_user_password_length} chars!
{/if}
{if $errors[e] eq 'wrong_current_password'}
<li>You entered wrong current password
{/if}
{if $errors[e] eq 'transaction_code_vs_password'}
    <li>Transaction Code should be different then the Password! {/if} {if $errors[e] 
      eq 'invalid_transaction_code'} 
    <li>You have provided invalid Current Transaction Code!
{/if}
{if $errors[e] eq 'email'}
<li>Please enter your e-mail!
{/if}
{if $errors[e] eq 'turing_image'}
<li>Enter the verification code as it is shown in the corresponding box.
{/if}
{if $errors[e] eq 'tfa_code'} 
  <li>Invalid 2FA code
{/if}
{if $errors[e] eq 'invalid_account_format'}
 {foreach from=$account_errors item=err}
 <li>{$err}
 {/foreach}
{/if}

<br>
{/section}
</ul>
{/if}
<h5 class="pb-3 pt-4">Personal Information</h5>

<div class="form-custom form-label form-border mb-3 bg-transparent">
<input type="text" class="form-control rounded-xs" disabled id="c1a" placeholder="{$userinfo.username}" />
<label for="c1a" class="form-label-always-active color-highlight">Username</label>
<span>(optional)</span>
</div>

<div class="form-custom form-label form-border mb-3 bg-transparent">
<input type="text" class="form-control rounded-xs" disabled id="c1aa" placeholder="{$userinfo.date_register}" />
<label for="c1a" class="form-label-always-active color-highlight">Registration date</label>
<span>(optional)</span>
</div>

<div class="form-custom form-label form-border mb-3 bg-transparent">
<input type="text" class="form-control rounded-xs" id="c1ab" name=fullname value='{$userinfo.name|escape:"quotes"}' placeholder="{$userinfo.fullname}" />
<label for="c1ab" class="form-label-always-active color-highlight">Full Name</label>
<span>(optional)</span>
</div>
<!--<div class="form-custom form-label form-border mb-3 bg-transparent">
<input type="text" class="form-control rounded-xs" id="c1abc" placeholder="Doeson" />
<label for="c1abc" class="form-label-always-active color-highlight">Last Name</label>
<span>(required)</span>
</div>
<div class="form-custom form-label form-border mb-3 bg-transparent">
<input type="text" class="form-control rounded-xs" id="c1abcd" placeholder="1 Apple Street, California, USA" />
<label for="c1abcd" class="form-label-always-active color-highlight">Address</label>
<span>(required)</span>
</div>-->
<div class="form-custom form-label form-border mb-3 bg-transparent">
<input type="email" name=email value="{$userinfo.email|escape:"quotes"}" class="form-control rounded-xs" id="c1" placeholder="{$userinfo.email|escape:"quotes"}" />
<label for="c1" class="color-highlight form-label-always-active">Email Address</label>
<span>(optional)</span>
</div>
<h5 class="pb-3 pt-4">Payment Information</h5>


{foreach item=p from=$mpay_accounts}
{foreach item=ps from=$p.accounts}
<div class="form-custom form-label form-border mb-3 bg-transparent">
<input type="text" name="pay_account[{$p.id}][{$ps.name|escape:html}]" value="{$frm.pay_account[$p.id][$ps.name]|default:$ps.value|escape:html}" class="form-control rounded-xs" id="c1bb" placeholder="" />
<label for="c1" class="color-highlight form-label-always-active"> {$p.name} {$ps.name}:</label>
<span>(optional)</span>
</div>
{/foreach}
{/foreach}

<h5 class="pb-3 pt-4">Account Security</h5>

<div class="form-custom form-label form-border mb-3 bg-transparent">
<input type="password" name=password value="" class="form-control rounded-xs" id="c2" value="Old Password" />
<label for="c2" class="color-highlight form-label-always-active">New Password</label>
<span>(required)</span>
</div>
<div class="form-custom form-label form-border mb-4 bg-transparent">
<input type="password" name=password2 value="" class="form-control rounded-xs" id="c3" value="New Password" />
<label for="c3" class="color-highlight form-label-always-active">Confirm New Password</label>
<span>(required)</span>
</div>
<button type="submit" data-bs-dismiss="offcanvas" class="btn btn-full gradient-highlight shadow-bg shadow-bg-s mt-4">Apply Settings</button>
</form>
</div>
</div>
</div>
</div>



</div>
<div id="menu-sidebar" data-menu-active="nav-welcome"  class="offcanvas offcanvas-start offcanvas-detached rounded-m">
    
</div>
</div>

<script src="appfolder/scripts/bootstrap.min.js"></script>
<script src="appfolder/scripts/custom.js"></script>
</body> 