<?php
defined('BASEPATH') OR exit('No direct script access allowed');

?>

            <aside class="main-sidebar">
                <section class="sidebar">
                    <!-- Sidebar user panel -->
                    <div class="user-panel">
                        <div class="pull-left image">
                            <img src="<?php echo base_url($avatar_dir . '/m_001.png'); ?>" class="img-circle" alt="User Image">
                        </div>
                        <div class="pull-left info">
                            <p><?= $this->session->userdata('id') ?></p>
                            <a href="#"><i class="fa fa-circle text-success"></i> <?php echo lang('menu_online'); ?></a>
                        </div>
                    </div>
                    <!-- Sidebar menu -->
                    <ul class="sidebar-menu">
                        <li class="header text-uppercase">MENU</li>
                        <li class="<?= active_link_controller('dashboard') ?>">
                            <a href="<?= base_url('admin/dashboard') ?>">
                                <i class="fa fa-dashboard"></i> <span>Dashboard</span>
                            </a>
                        </li>


                        <li class="header text-uppercase">ADMINISTRATION</li>
                        <li class="<?= active_link_controller('users') ?>">
                            <a href="<?= base_url('admin/users') ?>">
                                <i class="fa fa-user"></i> <span>Users</span>
                            </a>
			</li>
			<li class="<?= active_link_controller('questions') ?>">
				<a href="<?= base_url('admin/questions') ?>">
					<i class="fa fa-question"></i> <span>Questions</span>
				</a>
			</li>
			<!--
			<li class="<?= active_link_controller('medias') ?>">
				<a onclick="alert('공사중')">
					<i class="fa fa-video-camera"></i> <span>Medias</span>
				</a>
			</li>
			-->
			<li class="<?= active_link_controller('surveys') ?>">
				<!--<a onclick="alert('공사중')">-->
				<a href="<?= base_url('admin/surveys') ?>">
					<i class="fa fa-pencil-square-o"></i> <span>Surveys</span>
				</a>
			</li>
			<li class="<?= active_link_controller('medias') ?>">
				<a href="<?= base_url('admin/medias') ?>">
					<i class="fa fa-video-camera"></i> <span>Medias</span>
				</a>
			</li>
			<li class="<?= active_link_controller('pictures') ?>">
				<a href="<?= base_url('admin/pictures') ?>">
					<i class="fa fa-picture-o"></i> <span>Pictures</span>
				</a>
			</li>
			<li class="<?= active_link_controller('survey_results') ?>">
				<a href="<?= base_url('admin/survey_results') ?>">
					<i class="fa fa-files-o"></i> <span>Survey Reults</span>
				</a>
			</li>
			<li class="<?= active_link_controller('fwords') ?>">
				<a href="<?= base_url('admin/fwords') ?>">
					<i class="fa fa-times-circle"></i> <span>F-words</span>
				</a>
			</li>
                    </ul>
                </section>
            </aside>
