user = JSON.parse(localStorage.getItem('f03_user'));

if (user) {

  let str_img = `<img src="` + user.data.url_img + `" alt="">

    <div class="profile-online bg-color-green">

    </div>`;

  let sMenu=`

  <ul>

    <li>

      <a href="/account_delete/">

        <div class="colored-icon green">

          <i class="icon f7-icons">xmark_square_fill</i>

        </div>Account Delete</a>

    </li>

    <li>

      <a href="/account_edit/">

        <div class="colored-icon green">

          <i class="icon f7-icons">arrow_turn_left_down</i>

        </div>Account Edit</a>

    </li>

    <li>

      <a href="/address/">

        <div class="colored-icon green">

          <i class="icon f7-icons">table_badge_more_fill</i>

        </div>Address</a>

    </li>

    <li>

      <a href="/image_upload/users/`+user.uuid+`" data-image="`+user.data.url_img+`"  class="image_upload">

        <div class="colored-icon green">

          <i class="icon f7-icons">photo</i>

        </div>Image Edit</a>

    </li>

    <li>

      <a href="/password_change/">

        <div class="colored-icon green">

          <i class="icon f7-icons">textformat_123</i>

        </div>Password Change</a>

    </li>

  </ul>`;  

  $$('#user_name').html(user.data.fullname);

  $$('#user_subtitle').html(user.data.email);

  $$('#user_img').html(str_img);

  $$('#user_menu').html(sMenu);



}