<div class="main">
		<br />
                <div class="container">
                    <div class="row">
                        <div class="col-md-24 col-xs-24">
                            <!--article-area start-->
                            <div class="article-area article-area_with-background-image">
                                <div class="row">
                                    <div class="col-md-24 col-xs-24">
                                        
                                        <h1 class="help-center-name">
                                            Imtihon yo'nalishlari 
                                        </h1>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-18 col-md-offset-3 col-xs-18 col-xs-offset-3">
                                        <div class="own-search-in-category">
                                            <form role="search" class="search" data-search="" action="https://help.dnevnik.ru/hc/ru/search" accept-charset="UTF-8" method="get">
                                                <input name="utf8" type="hidden" value="✓">
                                                <input type="search" name="query" id="query" placeholder="Bilet savolini qidirish">
                                                <input type="submit" name="commit" value="Поиск">
                                            </form>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-24 col-xs-24">
                                        <div class="own-category-list">
                                            <ul class="category-list">
                                                
                                                <li>
                                                    <a href="<?=base_url();?>users/imtihon/3">
                                                        Tibbiyot
                                                    </a>
                                                </li>
                                                
                                                <li>
                                                    <a href="<?=base_url();?>users/imtihon/8">
                                                        Ona tili va Adabiyot
                                                    </a>
                                                </li>
                                                
                                                <li>
                                                    <a href="<?=base_url();?>users/imtihon/5">
                                                        English tili
                                                    </a>
                                                </li>
                                                
                                                <li>
                                                    <a href="<?=base_url();?>users/imtihon/7">
                                                        Informatika (AKT)
                                                    </a>
                                                </li>
                                                
                                                <li>
                                                    <a href="<?=base_url();?>users/imtihon/6">
                                                        Avtotest
                                                    </a>
                                                </li>
                                                
                                                <li>
                                                    <a href="<?=base_url();?>users/imtihon/1">
                                                        Koreys tili
                                                    </a>
                                                </li>
                                            </ul>
                                        </div>
                                        
                                        <div>
                                            
                                            <section class="promoted-articles">
                                                <h3>Qo'shimcha havolalar</h3>
                                                <ul>
                                                    <li>
                                                        <a href="/users/imtihon/">Imtihon yo'nalishlari</a>
                                                    </li>
                                                    <li>
                                                        <a href="/users/imtihon_topshirish">Imtihon topshirish</a>
                                                    </li>
                                                    <li>
                                                        <a href="/users/natija">Mening natijalarim</a>
                                                    </li>
                                                    <li>
                                                        <a href="/users/bilimdonlar_faoliyati">Bilimdonlar faoliyati</a>
                                                    </li>
                                                    <li>
                                                        <a href="/users/profilni_tahrirlash">Profilni tahrirlash</a>
                                                    </li>
                                                    <li>
                                                        <a href="/users/avatar_yuklash">Fotosuratni yuklash</a>
                                                    </li>
                                                    <li>
                                                        <a href="/users/shaxsiy">Shaxsiy ma'lumotlarni ko'rsatish</a>
                                                    </li>
                                                </ul>
                                            </section>
                                        </div>
                                        
                                        <hr class="own-hr">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-9 col-xs-9">
                                        <p class="paragraph paragraph_without-line-height paragraph_bold">
                                            Qo'llab quvvatlash markazi ish tartibi:
                                        </p>
                                        <p class="paragraph paragraph_without-line-height paragraph-with-clock-ico">
                                            har kuni 9:00 - 21:00
                                            <br>
                                            (toshkent vaqti bilan)
                                        </p>
                                    </div>
                                    <div class="col-md-6 col-xs-6">
                                        <p class="paragraph paragraph_without-line-height paragraph_bold">
                                            Telefon orqali bog'lanish:
                                        </p>
                                        <p class="paragraph paragraph_without-line-height paragraph_marginbottom paragraph-with-telephone-ico">
                                            8 (977) 728-76-39
                                        </p>
                                        <a href="#" class="button-phone">
                                            Sayt orqali bog'lanish
                                        </a>
                                    </div>
                                    <div class="col-md-6 col-md-offset-2 col-xs-6 col-xs-offset-2">
                                        <p class="paragraph paragraph_without-line-height paragraph_bold">
                                            E-mail orqali bog'lanish:
                                        </p>
                                        <address class="address-with-envelope-ico">
                                            <a href="#">
                                                info@imtihon.uz
                                            </a>
                                        </address>
                                        
                                    </div>
                                </div>
                            </div>
                            <!--article-area end-->
                        </div>
                    </div>
                </div>
                <!--container end-->
            </div>
            
            
            
            
            
            
<div class="container ">
                            <h1 align="center" class="h1"><img src="/assets/images/graduate.png"></h1>

    <div class="row">
        <div class="col-md-17 col-xs-17">
            <div class="news-list__posts">
                    <?
                        $yangilik_query = mysql_query("SELECT COUNT(*) FROM `yangiliklar`");
                        $total = mysql_result($yangilik_query, 0);
                        $yangilik_query = mysql_query("SELECT * FROM `yangiliklar` ORDER BY `vaqt` DESC ");
                        $i = 0;
                        if ($yangilik = mysql_fetch_array($yangilik_query)) {
                            $matn = $yangilik['matn'];
                         echo '
                            
                            <h1 class="h1">Yangiliklar</h1>
                            <div class="news-item ">
                                <div class="news-item__title">
                                    <a class="link link_no-decoration" href="#">' .$yangilik['sarlavha']. '</a>
                                </div>
                                <div class="news-item__date">
                                    8&nbsp;июня&nbsp;2016
                                </div>
                                <div class="news-item__content">
                                    <div class="news-item__text">
                                        ' . $matn . '
                                        <a class="links news-item__read-more" href="/news/1174512">Davomini o\'qish</a>
                                    </div>
                                </div>
                            </div>';
                        }
                        ?>
            </div>
        </div>
        <div class="col-md-7 col-xs-7">
        <?
            $session = get_session_details();
            $loggeduser = (object)$session->userdetails;
            $userid = $loggeduser->userid;

            $foydalanuvchi_query = mysql_query("SELECT * FROM `users` WHERE `user_id` = '{$userid}'");
            $user = mysql_fetch_assoc($foydalanuvchi_query);
        ?>
                <div class="news-list__press">
                    <div class="news-list__press__background"></div>
                    <?
                        if (!file_exists(('' .base_url(). '' .$user['avatar']. ''))) {
                            echo '<img class="news-list__press__logotype"  src="' .base_url(). '' .$user['avatar']. '"  />';
                        } else {
                            echo 'berasm';
                        }
                        ?>
                    <div class="news-list__press__contacts">
                        <div class="news-list__press__contacts__mail">
                            <h3 class="h3 h3_margin-0px">
                                <a href="/users/anketa_malumoti/<?=$user['username'];?>">
                                <?php
                                   echo $user['firstname']. ' ' .$user['lastname'];
                                ?>
                                </a>
                            </h3>
                            <p class="paragraph paragraph_color-grey paragraph_without-line-height paragraph_top-10 paragraph_font-size-14"><?=$user['joylashuv'];?></p>
                            <img src="<?=base_url();?>assets/images/black-email.png" alt="Email">
                            <a href="mailto:<?=$user['email'];?>" class="news-list__press__contacts__mail__link"><?=$user['email'];?></a>
                        </div>
                    </div>
                </div>
                <hr class="hr hr_margin">
                <div class="search_imtihon">
                    <form action="#" method="GET">
                        <input type="submit" class="search__magnifier" value="">
                        <input type="text" name="condition" class="search__input" placeholder="Yangiliklardan izlash" maxlength="100">
                    </form>
                </div>
        </div>
    </div>
</div>
<br />





<?
/*$imtihon_yonalishlari = mysql_result(mysql_query("SELECT count(*) FROM `exam_category`"), 0);
$imtihonlar = mysql_result(mysql_query("SELECT count(*) FROM `exams`"), 0);
$biletlar = mysql_result(mysql_query("SELECT count(*) FROM `questions`"), 0);
$bilimdonlar = mysql_result(mysql_query("SELECT count(*) FROM `users`"), 0);
echo '
<span style="border-bottom: 1px solid #c7c7c7;" class="block__item block__item_bottom my">
    <span class="w-table">
        <span class="w-table">
            <span class="w-table__column w-table__column_wide w-social_my">
                <span class="social__title">
                <b>TIZIMDAGI</b><br />
                    Imtihon yo\'nalishlari: <b>' .$imtihon_yonalishlari. 'ta</b><br />
                    Imtihonlar: <b>' .$imtihonlar. 'ta</b><br />
                    Savollar: <b>' .$biletlar. 'ta</b><br />
                    A\'zolar: <b>' .$bilimdonlar. 'ta</b><br />
                </span>
            </span>
        </span>
    </span>
</span>';

<div  style="margin-top: 10px;" id="js-register-btn" class="b-bottom xb-fixed b-button-group-vertical">
    <a href="<?=base_url();?>users/anketa_malumoti" class="button b-button">
        Profilni ko'rish
    </a>    
</div>
<div style="margin-top: 10px;">
    <a href="<?=base_url();?>main/logout">
        <span class="b-button b-button__white ng-scope">
            Profildan chiqish
        </span>
    </a>
</div>*/
?>


