{{define "backend_menu"}}
      <aside class="app-sidebar shadow-lg" data-bs-theme="dark">
        <!--begin::Sidebar Brand-->
        <div class="sidebar-brand">
          <!--begin::Brand Link-->
          <a href="/ehongmd/main" class="brand-link" style="padding-left: 5px;">
            <!--begin::Brand Image-->
            <img
              src="/images/logoEHMD.png"
              alt="รายงาน"
              class="brand-image shadow"
              style="opacity: 1; margin-left: 0;"
            />
            <!--end::Brand Image-->
            <!--begin::Brand Text-->
            <span class="brand-text fw-bold text-white" style="color: #ffffff !important; margin-left: 5px;">ระบบงาน EHONG MD</span>
            <!--end::Brand Text-->
          </a>
          <!--end::Brand Link-->
        </div>
        <!--end::Sidebar Brand-->
        <!--begin::Sidebar Wrapper-->
        <div class="sidebar-wrapper">
          <nav class="mt-2">
            <!--begin::Sidebar Menu-->
            <ul class="nav sidebar-menu flex-column" data-lte-toggle="treeview" role="navigation" aria-label="Main navigation" data-accordion="false" id="navigation">
              
              <!-- <li class="nav-item menu-open">
                <a href="#" class="nav-link active">
                  <i class="nav-icon bi bi-speedometer"></i>
                  <p>
                    Dashboard
                    <i class="nav-arrow bi bi-chevron-right"></i>
                  </p>
                </a>
                <ul class="nav nav-treeview">
                  <li class="nav-item">
                    <a href="./main.html" class="nav-link active">
                      <i class="nav-icon bi bi-circle"></i>
                      <p>Dashboard v1</p>
                    </a>
                  </li>
                  <li class="nav-item">
                    <a href="main.html" class="nav-link">
                      <i class="nav-icon bi bi-circle"></i>
                      <p>Dashboard v2</p>
                    </a>
                  </li>
                  <li class="nav-item">
                    <a href="./index3.html" class="nav-link">
                      <i class="nav-icon bi bi-circle"></i>
                      <p>Dashboard v3</p>
                    </a>
                  </li>
                </ul>
              </li> -->

              <li class="nav-header">หน้าหลัก</li>
              <li class="nav-item">
                <a href="/ehongmd/main" class="nav-link {{if eq .CurrentPage "main"}}active{{end}}"><i class="bi bi-speedometer"></i><p>Dashboard</p></a>
              </li>
              
              <!-- <li class="nav-header">ระบบงาน EHONG MD</li>
              <li class="nav-item">
                <a href="ecc_report" class="nav-link {{if eq .CurrentPage "ecc_report"}}active{{end}}"><i class="bi bi-person-circle"></i><p>ระบบงาน EHONG MD</p></a>
              </li> -->
              
              <li class="nav-header">ระบบงาน</li>
              <li class="nav-item {{if eq .MenuArea "main_1"}}menu-open{{end}}">
                <a href="#" class="nav-link {{if eq .MenuArea "main_1"}}active{{end}}">
                  <i class="nav-icon bi bi-box-arrow-in-right"></i>
                  <p>
                    ระบบเช่าสถานที่
                    <i class="nav-arrow bi bi-chevron-right"></i>
                  </p>
                </a>
                <ul class="nav nav-treeview">

                  <!-- <li class="nav-item">
                    <a href="/ehongmd/ehongmd/main_1/dashboard" class="nav-link {{if eq .FullPage "ehongmd/ehongmd/main_1/dashboard"}}active{{end}}">
                      <i class="nav-icon bi bi-circle"></i>
                      <p>Dashboard</p>
                    </a>
                  </li> -->
                  <li class="nav-item">
                    <a href="/ehongmd/ehongmd/main_1/index" class="nav-link {{if eq .FullPage "ehongmd/ehongmd/main_1/index"}}active{{end}}">
                      <i class="nav-icon bi bi-circle"></i>
                      <p>รายงาน</p>
                    </a>
                  </li>
                  <li class="nav-item">
                    <a href="/ehongmd/ehongmd/main_1/index_2" class="nav-link {{if eq .FullPage "ehongmd/ehongmd/main_1/index_2"}}active{{end}}">
                      <i class="nav-icon bi bi-circle"></i>
                      <p>จัดการ สถานที่</p>
                    </a>
                  </li>
                  <li class="nav-item">
                    <a href="/ehongmd/ehongmd/main_1/index_3" class="nav-link {{if eq .FullPage "ehongmd/ehongmd/main_1/index_3"}}active{{end}}">
                      <i class="nav-icon bi bi-circle"></i>
                      <p>จัดการการจ่ายค่าเช่า</p>
                    </a>
                  </li>

                </ul>
              </li>

              <!-- <li class="nav-item {{if eq .MenuArea "main_2"}}menu-open{{end}}">
                <a href="#" class="nav-link {{if eq .MenuArea "main_2"}}active{{end}}">
                  <i class="nav-icon bi bi-box-arrow-in-right"></i>
                  <p>
                    ระบบงานลูกค้าเก่า
                    <i class="nav-arrow bi bi-chevron-right"></i>
                  </p>
                </a>
                <ul class="nav nav-treeview">

                  <li class="nav-item">
                    <a href="/ehongmd/ehongmd/main_2/dashboard" class="nav-link {{if eq .FullPage "ehongmd/ehongmd/main_2/dashboard"}}active{{end}}">
                      <i class="nav-icon bi bi-circle"></i>
                      <p>Dashboard | ระบบงานลูกค้าเก่า</p>
                    </a>
                  </li>
                  <li class="nav-item">
                    <a href="/ehongmd/ehongmd/main_2/index" class="nav-link {{if eq .FullPage "ehongmd/ehongmd/main_2/index"}}active{{end}}">
                      <i class="nav-icon bi bi-circle"></i>
                      <p>รายงาน</p>
                    </a>
                  </li>
                  
                </ul>
              </li> -->

            </ul>
            <!--end::Sidebar Menu-->
          </nav>
        </div>
        <!--end::Sidebar Wrapper-->
      </aside>
{{end}}
