<?php
include"../z_db.php";
$username=$_SESSION['username'];
?>
<div class="app-menu navbar-menu">
  <!-- LOGO -->
  <div class="navbar-brand-box">
    <!-- Dark Logo-->
<?php
    $rr=mysqli_query($con,"SELECT ufile FROM logo");
$r = mysqli_fetch_row($rr);
$ufile = $r[0];
?>

    <a href="index.html" class="logo logo-dark">
      <span class="logo-sm">
        <img src="uploads/logo/<?php print $ufile?>" alt="" height="22">
      </span>
      <span class="logo-lg">
        <img src="uploads/logo/<?php print $ufile?>" alt="" height="30">
      </span>
    </a>
    <!-- Light Logo-->
    <a href="index.html" class="logo logo-light">
      <span class="logo-sm">
        <img src="uploads/logo/<?php print $ufile?>" alt="" height="22">
      </span>
      <span class="logo-lg">
        <img src="uploads/logo/<?php print $ufile?>" alt="" height="30">
      </span>
    </a>
    <button type="button" class="btn btn-sm p-0 fs-20 header-item float-end btn-vertical-sm-hover" id="vertical-hover">
      <i class="ri-record-circle-line"></i>
    </button>
  </div>

  <div id="scrollbar">
    <div class="container-fluid">

      <div id="two-column-menu">
      </div>
      <ul class="navbar-nav" id="navbar-nav">
    

    <li class="nav-item">
        <a href="dashboard" class="nav-link" data-key="t-analytics">
            <i class="ri-dashboard-2-line"></i>
            <span>صفحه اصلی</span>
        </a>
    </li>

    <li class="nav-item">
        <a class="nav-link menu-link" data-bs-toggle="collapse" data-bs-target="#sidebarLanding" role="button" aria-expanded="false" aria-controls="sidebarLanding">
            <i class="ri-checkbox-multiple-line"></i> <span>اطلاعیه</span>
        </a>
        <div class="menu-dropdown collapse" id="sidebarLanding">
            <ul class="nav nav-sm flex-column">
                <li class="nav-item"><a href="createservice" class="nav-link">اضافه اطلاعیه</a></li>
                <li class="nav-item"><a href="services" class="nav-link">لیست اطلاعیه</a></li>
            </ul>
        </div>
    </li>

<li class="nav-item">
        <a class="nav-link menu-link" data-bs-toggle="collapse" data-bs-target="#aboutus" role="button" aria-expanded="false" aria-controls="aboutus">
            <i class="ri-checkbox-multiple-line"></i> <span>درباره ما</span>
        </a>
        <div class="menu-dropdown collapse" id="aboutus">
            <ul class="nav nav-sm flex-column">
                <li class="nav-item"><a href="add_about_us2.php" class="nav-link">اضافه درباره دوم</a></li>
                <li class="nav-item"><a href="view_about_us2.php" class="nav-link">مشاهده درباره دوم</a></li>
                <li class="nav-item"><a href="add_about_us3.php" class="nav-link">اضافه درباره سوم</a></li>
                <li class="nav-item"><a href="view_about_us3.php" class="nav-link">مشاهده درباره سوم</a></li>

            </ul>
        </div>
    </li>

    <li class="nav-item">
        <a class="nav-link menu-link" data-bs-toggle="collapse" data-bs-target="#sidebarPortfolio" role="button" aria-expanded="false" aria-controls="sidebarPortfolio">
            <i class="ri-rhythm-fill"></i> <span>دستاورد ها</span>
        </a>
        <div class="menu-dropdown collapse" id="sidebarPortfolio">
            <ul class="nav nav-sm flex-column">
                <li class="nav-item"><a href="createportfolio" class="nav-link">اضافه</a></li>
                <li class="nav-item"><a href="portfolio" class="nav-link">مشاهده</a></li>
            </ul>
        </div>
    </li>

    <li class="nav-item">
        <a class="nav-link menu-link" data-bs-toggle="collapse" data-bs-target="#sidebarTitle" role="button" aria-expanded="false" aria-controls="sidebarTitle">
            <i class="ri-image-fill"></i> <span>عنوان ویب سایت</span>
        </a>
        <div class="menu-dropdown collapse" id="sidebarTitle">
            <ul class="nav nav-sm flex-column">
                <li class="nav-item"><a href="static" class="nav-link"> عنوان و تصویر ویب سایت </a></li>
                <li class="nav-item"><a href="s_photo_index.php" class="nav-link">تصویر دوم</a></li>
                
            </ul>
        </div>
    </li>

    <li class="nav-item">
        <a class="nav-link menu-link" data-bs-toggle="collapse" data-bs-target="#sidebarTestimony" role="button" aria-expanded="false" aria-controls="sidebarTestimony">
            <i class="ri-message-line"></i> <span>نخبگان</span>
        </a>
        <div class="menu-dropdown collapse" id="sidebarTestimony">
            <ul class="nav nav-sm flex-column">
                <li class="nav-item"><a href="newtestimony" class="nav-link">اضافه</a></li>
                <li class="nav-item"><a href="testimony" class="nav-link">لیست نخبگان</a></li>
            </ul>
        </div>
    </li>

    <li class="nav-item">
        <a class="nav-link menu-link" data-bs-toggle="collapse" data-bs-target="#sidebarWhy" role="button" aria-expanded="false" aria-controls="sidebarWhy">
            <i class="ri-rocket-line"></i> <span>چرا ما</span>
        </a>
        <div class="menu-dropdown collapse" id="sidebarWhy">
            <ul class="nav nav-sm flex-column">
                <li class="nav-item"><a href="addwhy" class="nav-link">اضافه</a></li>
                <li class="nav-item"><a href="why" class="nav-link">مشاهده</a></li>
            </ul>
        </div>
    </li>

    <li class="nav-item">
        <a class="nav-link menu-link" data-bs-toggle="collapse" data-bs-target="#sidebarNews" role="button" aria-expanded="false" aria-controls="sidebarNews">
            <i class="ri-draft-line"></i> <span>جدیدترین اخبار و دوره‌ها</span>
        </a>
        <div class="menu-dropdown collapse" id="sidebarNews">
            <ul class="nav nav-sm flex-column">
                <li class="nav-item"><a href="add_new_news_package.php" class="nav-link">اضافه</a></li>
                <li class="nav-item"><a href="view_news_package.php" class="nav-link">مشاهده</a></li>
            </ul>
        </div>
    </li>


    <li class="nav-item">
        <a class="nav-link menu-link" data-bs-toggle="collapse" data-bs-target="#paragraph" role="button" aria-expanded="false" aria-controls="paragraph">
            <i class="ri-book-2-line"></i> <span>مقالات</span>
        </a>
        <div class="menu-dropdown collapse" id="paragraph">
            <ul class="nav nav-sm flex-column">
                <li class="nav-item"><a href="add_paragraph.php" class="nav-link">اضافه</a></li>
                <li class="nav-item"><a href="view_paragraph.php" class="nav-link">مشاهده</a></li>
            </ul>
        </div>
    </li>


     <li class="nav-item">
        <a class="nav-link menu-link" data-bs-toggle="collapse" data-bs-target="#edunews" role="button" aria-expanded="false" aria-controls="edunews">
            <i class="ri-book-2-line"></i> <span>آخرین اخبار آموزشی
</span>
        </a>
        <div class="menu-dropdown collapse" id="edunews">
            <ul class="nav nav-sm flex-column">
                <li class="nav-item"><a href="add_edu_news.php" class="nav-link">اضافه</a></li>
                <li class="nav-item"><a href="view_edu_news.php" class="nav-link">مشاهده</a></li>
            </ul>
        </div>
    </li>

    <li class="nav-item">
        <a class="nav-link menu-link" data-bs-toggle="collapse" data-bs-target="#sidebarUpload" role="button" aria-expanded="false" aria-controls="sidebarUpload">
            <i class="ri-file-text-line"></i> <span>اپلود مواد درسی و نتایج</span>
        </a>
        <div class="menu-dropdown collapse" id="sidebarUpload">
            <ul class="nav nav-sm flex-column">
                <li><a href="upload_asast.php" class="nav-link">اپلود مواد درسی اساسات</a></li>
                <li><a href="upload_kankor.php" class="nav-link">اپلود مواد درسی کانکور</a></li>
                <li><a href="upload_time_table.php" class="nav-link">اپلود تقسیم اوقات</a></li>
                <li><a href="upload_kankor_marks.php" class="nav-link">اپلود نتایج </a></li>
            </ul>
        </div>
    </li>

    <li class="nav-item">
        <a class="nav-link menu-link" data-bs-toggle="collapse" data-bs-target="#sidebarConfig" role="button" aria-expanded="false" aria-controls="sidebarConfig">
            <i class="ri-tools-fill"></i> <span>سایت کانفیگ</span>
        </a>
        <div class="menu-dropdown collapse" id="sidebarConfig">
            <ul class="nav nav-sm flex-column">
                <li><a href="settings" class="nav-link">تنظیمات سایت</a></li>
                <li><a href="sections" class="nav-link">عنواین</a></li>
                <li><a href="logo" class="nav-link">تغیر لوگو</a></li>
                <li><a href="contact" class="nav-link">تغیر تماس با ما</a></li>
            </ul>
        </div>
    </li>
</ul>

    </div>
    <!-- Sidebar -->
  </div>

  <div class="sidebar-background"></div>
</div>
<!-- Left Sidebar End -->
<!-- Vertical Overlay-->
<div class="vertical-overlay"></div>
