<?php include "z_db.php";?>
<!doctype html>
<html class="no-js" lang="fa">
<?php
    $rrs=mysqli_query($con,"SELECT * FROM section_title Where id=1");
$rs = mysqli_fetch_array($rrs);
$test_title = "$rs[test_title]";
$test_text="$rs[test_text]";
$enquiry_title="$rs[enquiry_title]";
$enquiry_text="$rs[enquiry_text]";
$enquiry_text="$rs[enquiry_text]";
$contact_title="$rs[contact_title]";
$contact_text="$rs[contact_text]";
$port_title="$rs[port_title]";
$port_text="$rs[port_text]";
$service_title="$rs[service_title]";
$service_text="$rs[service_text]";
$why_title="$rs[why_title]";
$why_text="$rs[why_text]";
$about_title="$rs[about_title]";
$about_text="$rs[about_text]";

$main_title_p="$rs[main_title_package]";
$sub_main_title_p="$rs[sub_main_title_package]";

$main_title_la="$rs[main_title_last_news]";
$sub_main_title_la="$rs[sub_main_title_last_news]";
?>



<?php
    $rt=mysqli_query($con,"SELECT * FROM sitecontact where id=1");
    $tr = mysqli_fetch_array($rt);
    $phone1 = "$tr[phone1]";
    $phone2 = "$tr[phone2]";
    $email1 = "$tr[email1]";
    $email2 = "$tr[email2]";
    $longitude = "$tr[longitude]";
    $latitude = "$tr[latitude]";
?>
<!-- Mirrored from theme-land.com/digimx/demo/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 11 Jul 2022 15:12:40 GMT -->
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- SEO Meta Description -->
    <meta name="description" content="">
    <meta name="author" content="Themeland">
    <?php
    $rr=mysqli_query($con,"SELECT * FROM siteconfig where id=1");
    $r = mysqli_fetch_array($rr);
    $site_title = "$r[site_title]";
    $site_about = "$r[site_about]";
    $site_footer = "$r[site_footer]";
    $follow_text = "$r[follow_text]";
?>
    <!-- Title  -->
    <title>Naim Aria- <?php print $site_title ?></title>

    <!-- Favicon  -->
    <link rel="icon" href="assets/img/favicon.png">

    <!-- ***** All CSS Files ***** -->

    <!-- Style css -->
    <link rel="stylesheet" href="assets/css/style.css">

    <!-- Responsive css -->
    <link rel="stylesheet" href="assets/css/responsive.css">

</head>

<body>
    <!--====== Preloader Area Start ======-->
    <div id="preloader">
        <!-- Digimax Preloader -->
        <div id="digimax-preloader" class="digimax-preloader">
            <!-- Preloader Animation -->
            <div class="preloader-animation">
                <!-- Spinner -->
                <div class="spinner"></div>
                <!-- Loader -->
                <div class="loader">
                    <span data-text-preloader="N" class="animated-letters">N</span>
                    <span data-text-preloader="A" class="animated-letters">A</span>
                    <span data-text-preloader="I" class="animated-letters">I</span>
                    <span data-text-preloader="M" class="animated-letters">M</span>
                    <span data-text-preloader="A" class="animated-letters">A</span>
                    <span data-text-preloader="R" class="animated-letters">R</span>
                    <span data-text-preloader="I" class="animated-letters">I</span>
                    <span data-text-preloader="A" class="animated-letters">A</span>
                </div>
                <p class="fw-5 text-center text-uppercase">Loading</p>
            </div>
            <!-- Loader Animation -->
            <div class="loader-animation">
                <div class="row h-100">
                    <!-- Single Loader -->
                    <div class="col-3 single-loader p-0">
                        <div class="loader-bg"></div>
                    </div>
                    <!-- Single Loader -->
                    <div class="col-3 single-loader p-0">
                        <div class="loader-bg"></div>
                    </div>
                    <!-- Single Loader -->
                    <div class="col-3 single-loader p-0">
                        <div class="loader-bg"></div>
                    </div>
                    <!-- Single Loader -->
                    <div class="col-3 single-loader p-0">
                        <div class="loader-bg"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--====== Preloader Area End ======-->

    <!--====== Scroll To Top Area Start ======-->
    <div id="scrollUp" title="Scroll To Top">
        <i class="fas fa-arrow-up"></i>
    </div>
    <!--====== Scroll To Top Area End ======-->

    <div class="main overflow-hidden">
        <!-- ***** Header Start ***** -->
        <header id="header">
            <!-- Navbar -->
            <nav data-aos="zoom-out" data-aos-delay="800" class="navbar navbar-expand">
                <div class="container header">
                    <!-- Navbar Brand-->
                    <?php
    $rt=mysqli_query($con,"SELECT ufile FROM logo where id=1");
    $tr = mysqli_fetch_array($rt);
    $ufile = "$tr[ufile]";
?>

                    <a class="navbar-brand" href="index.php">
                        <img class="navbar-brand-regular" src="dashboard/uploads/logo/<?php print $ufile?>" alt="brand-logo">
                        <img class="navbar-brand-sticky" src="dashboard/uploads/logo/<?php print $ufile?>" alt="sticky brand-logo">
                    </a>
                    <div class="ml-auto"></div>
                    <!-- Navbar -->
                     <style>
/* Make menu RTL and change text color on mobile/responsive */
@media (max-width: 991px) {
    .navbar-nav.items {
        direction: rtl; /* RTL for mobile menu */
        text-align: right; /* align text right */
    }

    .navbar-nav.items .nav-link {
        color: #414465 !important; /* change link text color */
    }

    .navbar-nav.items .dropdown-item {
        color: #414465 !important; /* change dropdown text color */
    }
}
</style>

                    <ul class="navbar-nav items">
                        <li class="nav-item">
                            <a class="nav-link" href="index.php">صفحه اصلی</a>

                        </li>
                        <li class="nav-item">
                            <a href="about.php" class="nav-link">درباره ما</a>
                        </li>
                        <!---<li class="nav-item">
                            <a href="services" class="nav-link"></a>
                        </li> --->
                        <li class="nav-item">
                            <a href="portfolio.php" class="nav-link">دستاورد ها</a>
                        </li>
                        
                        
                        
<style>
    .dropdown-toggle::after {
        display: none !important;
    }
</style>

<li class="nav-item dropdown">
    <a class="nav-link dropdown-toggle" href="#" id="dropdownSubjects" role="button" data-bs-toggle="dropdown" aria-expanded="false">
        مواد درسی
    </a>
    <ul class="dropdown-menu" aria-labelledby="dropdownSubjects">
        <li><a class="dropdown-item" href="view_kankor_m.php">مواد درسی کانکور</a></li>
        <li><a class="dropdown-item" href="view_asasat_m.php">مواد درسی اساسات</a></li>
    </ul>
</li>

<li class="nav-item dropdown">
    <a class="nav-link dropdown-toggle" href="#" id="dropdownExams" role="button" data-bs-toggle="dropdown" aria-expanded="false">
        امتحانات انلاین
    </a>
    <ul class="dropdown-menu" aria-labelledby="dropdownExams">
        <li><a class="dropdown-item" href="https://q-kankor.naimaria.af">امتحانات آزمایشی کانکور انلاین</a></li>
        
    </ul>
</li>

<li class="nav-item">
    <a class="nav-link" href="view_kankor_marks.php">
        نتایج امتحانات
    </a>
</li>







                    </ul>
                    <!-- Navbar Icons -->
                    <ul class="navbar-nav icons">
                    <?php
   $q="SELECT * FROM  social ORDER BY id DESC LIMIT 5";
 $r123 = mysqli_query($con,$q);

while($ro = mysqli_fetch_array($r123))
{

	$id="$ro[id]";
    $fa="$ro[fa]";
    $social_link="$ro[social_link]";

print "
<li class='nav-item social'>
<a href='$social_link' class='nav-link'><i class='fab $fa'></i></a>
</li>
";
}?>
                    </ul>

                    <!-- Navbar Toggler -->
                    <ul class="navbar-nav toggle">
                        <li class="nav-item">
                            <a href="#" class="nav-link" data-toggle="modal" data-target="#menu">
                                <i class="fas fa-bars toggle-icon m-0"></i>
                            </a>
                        </li>
                    </ul>

                    <!-- Navbar Action Button -->
                    <ul class="navbar-nav action">
                        <li class="nav-item ml-3">
                            <a href="contact.php" class="btn ml-lg-auto btn-bordered-white"><i class="fas fa-paper-plane contact-icon mr-md-2"></i>تماس با ما</a>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>
        <!-- ***** Header End ***** -->
