Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Objetivos de Aprend. e Desenvolvimento -->
- <li class="<?php
- if(
- $page_name == 'learning_goals') {
- echo 'opened active';
- }
- $curType = '';
- if(strpos(urldecode($_SERVER[REQUEST_URI]), 'Pré-escola') !== false)
- $curType = 'Pré-escola';
- else if(strpos($_SERVER[REQUEST_URI], 'Maternal') !== false)
- $curType = 'Maternal';
- ?>">
- <a href="#">
- <i class="fa fa-times"></i>
- <span>Objetivos de Aprend. e Desenvolvimento</span>
- </a>
- <ul>
- <li class="<?php if($curType == 'Maternal') { echo 'active'; } ?>">
- <a href="<?php echo site_url('accountant/learning_goals/Maternal'); ?>">
- <i class="entypo-dot"></i>
- <span>Maternal</span>
- </a>
- </li>
- <li class="<?php if($curType == 'Pré-escola') { echo 'active'; } ?>">
- <a href="<?php echo site_url('accountant/learning_goals/' . urlencode('Pré-escola')); ?>">
- <i class="entypo-dot"></i>
- <span>Pré-escola</span>
- </a>
- </li>
- </ul>
- </li>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement