<li class="<?= isset($page_title) && $page_title =="Dashboard"?"active":""; ?>">
            <a href="<?= base_url('admin/dashboard') ?>">
              <i class="fa fa-dashboard"></i> <span><?= !empty(lang('dashboard'))?lang('dashboard'):"Dashboard";?></span>
            </a>
          </li>
        <?php if(html_escape($my_info['is_verify'])==1): ?>
        <!--
          <li class="<?= isset($page_title) && $page_title =="Subscription"?"active":""; ?>">
            <a href="<?= base_url('admin/dashboard/subscription') ?>">
              <i class="fab fa-hubspot"></i> <span><?= !empty(lang('subscriptions'))?lang('subscriptions'):"Subscriptions";?></span>
            </a>
          </li>
          -->

          <?php if(html_escape($my_info['is_payment'])==1 && html_escape($my_info['is_expired'])==0 && $my_info['is_deactived']==0): ?>
          <?php  if($my_info['vcard_status']==2 || $my_info['vcard_status']==3): ?>
            <?php if(profile_status()==1 && get_user_pricing_by_id(auth('id'),'home')==1):  ?>
            <!--
            <li class="treeview <?= isset($page) && $page=="Profile"?"active":"";?>">
              <a href="#">
                <i class="fa fa-user-circle"></i>
                <span><?= !empty(lang('profile'))?lang('profile'):"Profile";?> </span>
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              
              <ul class="treeview-menu">
                
                  <li class="<?= $page_title =="Home"?"active":"";?>"><a href="<?= base_url('admin/profile/') ?>"><i class="fa fa-angle-double-right"></i> <?= get_features_name('home');?> </a></li>
                <?php if(get_user_pricing_by_id(auth('id'),'about')==1): ?>
                  <li class="<?= $page_title =="About Me"?"active":"";?>"><a href="<?= base_url('admin/profile/about') ?>"><i class="fa fa-angle-double-right"></i> <?= get_features_name('about');?></a></li>
                <?php endif;?>

                <?php if(get_user_pricing_by_id(auth('id'),'services')==1): ?>

                  <li class="<?= $page_title =="Services"?"active":"";?>"><a href="<?= base_url('admin/profile/services') ?>"><i class="fa fa-angle-double-right"></i> <?= get_features_name('services');?></a></li>
                <?php endif;?>

                <?php if(get_user_pricing_by_id(auth('id'),'review')==1): ?>

                  <li class="<?= $page_title =="Reviews"?"active":"";?>"><a href="<?= base_url('admin/profile/reviews') ?>"><i class="fa fa-angle-double-right"></i> <?= get_features_name('review');?></a></li>
                <?php endif;?>

                <?php if(get_user_pricing_by_id(auth('id'),'skills')==1): ?>

                  <li class="<?= $page_title =="Skills"?"active":"";?>"><a href="<?= base_url('admin/profile/skills') ?>"><i class="fa fa-angle-double-right"></i> <?= get_features_name('skills');?></a></li>
                <?php endif;?>

                <?php if(get_user_pricing_by_id(auth('id'),'resume')==1): ?>

                  <li class="<?= $page_title =="Resume"?"active":"";?>"><a href="<?= base_url('admin/profile/resume') ?>"><i class="fa fa-angle-double-right"></i> <?= get_features_name('resume');?></a></li>
                <?php endif;?>

                <?php if(get_user_pricing_by_id(auth('id'),'portfolio')==1): ?>

                  <li class="<?= $page_title =="Portfolio"?"active":"";?>"><a href="<?= base_url('admin/profile/portfolio') ?>"><i class="fa fa-angle-double-right"></i> <?= get_features_name('portfolio');?></a></li>
                <?php endif;?>
                  
                <?php if(get_user_pricing_by_id(auth('id'),'teams')==1): ?>

                  <li class="<?= $page_title =="Team Members"?"active":"";?>"><a href="<?= base_url('admin/profile/team') ?>"><i class="fa fa-angle-double-right"></i> <?= get_features_name('teams');?></a></li>
                <?php endif;?>

                <?php if(get_user_pricing_by_id(auth('id'),'facts')==1): ?>
                  <li class="<?= $page_title =="Facts"?"active":"";?>"><a href="<?= base_url('admin/profile/facts') ?>"><i class="fa fa-angle-double-right"></i> <?= get_features_name('facts');?></a></li>
                <?php endif;?>
              </ul>
            
          </li>
-->
<!--
            <?php if(get_user_pricing_by_id(auth('id'),'blog')==1 && get_user_pricing_by_id(auth('id'),'home')==1): ?>
              <li class="treeview <?= isset($page) && $page=="Blog"?"active":"";?>">
                  <a href="#">
                    <i class="fa fa-pencil-square-o"></i>
                    <span><?= get_features_name('blog');?></span>
                    <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                  </a>
                  <ul class="treeview-menu">
                      <li class="<?= $page_title =="Posts"?"active":"";?>"><a href="<?= base_url('admin/post') ?>"><i class="fa fa-angle-double-right"></i><?= !empty(lang('posts'))?lang('posts'):"Posts";?> </a></li>

                      <li class="<?= $page_title =="Blog Categories"?"active":"";?>"><a href="<?= base_url('admin/categories') ?>"><i class="fa fa-angle-double-right"></i><?= !empty(lang('categories'))?lang('categories'):"Categories";?> </a></li>

                      <li class="<?= $page_title =="Tags"?"active":"";?>"><a href="<?= base_url('admin/tags') ?>"><i class="fa fa-angle-double-right"></i><?= !empty(lang('tags'))?lang('tags'):"Tags";?> </a></li>
                  </ul>
                
              </li>
           <?php endif;?>
           -->

           <?php endif;?> <!-- profile status -->

        <?php endif; ?> <!-- check vcard status -->

          <?php  if($my_info['vcard_status']==1 || $my_info['vcard_status']==3): ?>
             <?php if(get_user_pricing_by_id(auth('id'),'vcard')==1 && is_active(auth('id'),'vcard') ==1): ?>
                <li class="<?= isset($page) && $page=="vCard"?"active":"";?>">
                  <a href="<?= base_url('admin/dashboard/profile/') ?>">
                    <i class="icofont-ui-v-card fz-20"></i> <span> <?= lang('vcards');?></span>
                  </a>
                </li>
              <?php endif; ?>
          <?php endif; ?>
        
        
        <?php  if(get_user_pricing_by_id(auth('id'),'home')==1):?>
<!--
           <li class="treeview <?= isset($page) && $page=="Settings"?"active":"";?>">
            <a href="#">
              <i class="fa fa-cog"></i>
              <span><?= !empty(lang('settings'))?lang('settings'):"Settings"; ?></span>
              <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
            </a>
            <ul class="treeview-menu">
              <li class="<?= $page_title =="Settings"?"active":"";?>">
              <a href="<?= base_url('admin/profile/settings') ?>">
                <i class="fa fa-angle-double-right"></i> <span><?= !empty(lang('setting'))?lang('setting'):"Settings";?></span>
              </a>
            </li>

              <li class="<?= $page_title =="Seo Settings"?"active":"";?>">
              <a href="<?= base_url('admin/profile/seo_settings') ?>">
                <i class="fa fa-angle-double-right"></i> <span><?= !empty(lang('seo_settings'))?lang('seo_settings'):"Seo Settings";?></span>
              </a>
            </li>

            <?php if(profile_status()==1): ?>
                <?php if($my_info['vcard_status']==2 || $my_info['vcard_status']==3): ?>
                <li class="<?= $page_title =="Service Settings"?"active":"";?>"><a href="<?= base_url('admin/profile/service_settings') ?>"><i class="fa fa-angle-double-right"></i><?= !empty(lang('service_settings'))?lang('service_settings'):"Service Settings";?> </a></li>
              <?php endif;?>
            <?php endif;?>
            </ul>

          </li>
-->
      <?php endif;?>

        
<!--
         
        <?php  if($my_info['vcard_status']==2 || $my_info['vcard_status']==3): ?>
             <?php if(profile_status()==1): ?>
            <li class="<?= $page_title =="Manage Features"?"active":"";?>">
              <a href="<?= base_url('admin/profile/manage_features') ?>">
                <i class="fa fa-cogs"></i> <span><?= !empty(lang('manage_features'))?lang('manage_features'):"Manage Features";?></span>
              </a>
            </li>

         <?php if(get_user_pricing_by_id(auth('id'),'appointment')==1): ?>
            <li class="<?= $page_title =="Appointment"?"active":"";?>">
              <a href="<?= base_url('admin/profile/appointment') ?>">
                <i class="fa fa-calendar"></i> <span><?= get_features_name('appointment');?></span>
              </a>
            </li>
        <?php endif;?>
            <li class="<?= $page_title =="Layouts"?"active":"";?>">
              <a href="<?= base_url('admin/profile/layouts') ?>">
                <i class="fa fa-laptop"></i> <span><?= !empty(lang('layouts'))?lang('layouts'):"Layouts";?></span>
              </a>
            </li>

             <li class="<?= $page_title =="Layouts Banner"?"active":"";?>">
              <a href="<?= base_url('admin/profile/layouts_banner') ?>">
                <i class="fa fa-file-image-o"></i> <span><?= !empty(lang('layout_banner'))?lang('layout_banner'):"Layouts Banners";?></span>
              </a>
            </li>
-->
          <?php endif;?><!-- profile status -->
        <?php endif; ?> <!-- check vcard status -->
        
        <?php if(is_allow()==1 && get_user_pricing_by_id(auth('id'),'pwa')==1): ?>
<!--
          <li class="<?= isset($page_title) && $page_title =="PWA"?"active":""; ?>">
            <a href="<?= base_url('admin/profile/pwa/') ?>">
              <i class="icofont-share-alt"></i> <span><?= !empty(lang('pwa'))?lang('pwa'):"PWA";?></span> <span class="ab-position label label-danger"><?= lang('new') ;?></span>
            </a>
          </li>
-->
        <?php endif ?>
          <?php $check_rating = $this->admin_m->check_my_rating(); ?>
          <?php if($check_rating == 0): ?>
<!--
          <li class="<?= $page_title =="Rating"?"active":"";?>">
            <a href="<?= base_url('admin/profile/rating'); ?>">
              <i class="fa fa-smile-o"></i> <span><?= !empty(lang('feedback'))?lang('feedback'):"Feedback";?></span>
            </a>
          </li>
-->
        <?php endif;?>
<!--
          <li class="">
            <a href="<?= base_url(html_escape($my_info['username'])); ?>">
              <i class="fa fa-eye"></i> <span><?= !empty(lang('view_profile'))?lang('view_profile'):"View Profile";?></span>
            </a>
          </li>
        
-->
          <?php endif; ?> <!-- is_payment, is_expired -->
      <?php endif; ?> <!-- is_payment -->
      
          <?php if($my_info['is_deactived']==0): ?>
<!--
            <li class="<?= $page_title =="Deactive"?"active":"";?>">
              <a href="<?= base_url('admin/profile/deactive_account/1/'.html_escape($my_info['username'])); ?>" class="action_btn" data-msg="<?= !empty(lang('de_active_msg'))?lang('de_active_msg'):"Want to deactive your account?";?>">
                <i class="fa fa-ban"></i> <span><?= !empty(lang('deactive_account'))?lang('deactive_account'):"Deactive Account";?></span>
              </a>
            </li>
-->
          <?php else: ?>
<!--
            <li class="<?= $page_title =="Deactive"?"active":"";?>">
              <a href="<?= base_url('admin/profile/deactive_account/0/'.html_escape($my_info['username'])); ?>" class="action_btn" data-msg="<?= !empty(lang('ac_active_msg'))?lang('ac_active_msg'):"Want to active your account?";?> ">
                <i class="fa fa-check"></i> <span><?= !empty(lang('active_account'))?lang('active_account'):"Active Account";?></span>
              </a>
            </li>
-->
          <?php endif;?>