BossBey File Manager
PHP:
7.3.33
OS:
Linux
User:
cp181240
Root
/
home
/
cp181240
/
public_html
/
mystric.com
/
backoffice
/
include
📤 Upload
📝 New File
📁 New Folder
Close
Editing: top-customize-rightmenu.php
<ul class="nav navbar-nav navbar-right"> <!-- Notifications --> <li class="dropdown"> <?php if($_SESSION['_NOTIFICATIONS']['total']>0){?> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="icon-warning-sign"></i> <span class="badge"><?=$_SESSION['_NOTIFICATIONS']['total']?></span> </a> <?php }?> <ul class="dropdown-menu extended notification"> <?php if($_SESSION['_NOTIFICATIONS']['total']>0){?> <li class="title"> <p><?=_t('customize_top_notification_you_have')?> <?=$_SESSION['_NOTIFICATIONS']['total']?> <?=_t('customize_top_notification')?></p> </li> <?php foreach($_SESSION['_NOTIFICATIONS']['noti'] as $noti){ // echo $noty['type'] ; switch((int)$noti['type']){ case 1 : // green plus $label = 'label-success'; $icon = 'icon-plus'; break; case 2 : // yellow warning $label = 'label-warning'; $icon = 'icon-bolt'; break; case 3 : // red danger $label = 'label-danger'; $icon = 'icon-warning-sign'; break; default: // blue info $label = 'label-info'; $icon = 'icon-bullhorn'; break; } ?> <li> <a href="../notifications/view.php?id=<?=$noti['id']?>"> <span class="label <?=$label?>"><i class="<?=$icon?>"></i></span> <span class="message"><?=$noti['title']?></span> <span class="time"><?=$noti['mdate']?></span> </a> </li> <?php } ?> <?php if($_SESSION['_NOTIFICATIONS']['total']>count($_SESSION['_NOTIFICATIONS']['noti'])){?> <li class="footer"> <a href="../notifications/index.php"><?=_t('customize_top_notification_view_all')?></a> </li> <?php } ?> <?php } ?> </ul> </li> <li class="dropdown" > <?php if($_SESSION['_PENDINGTASK']['total']>0){?> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="icon-tasks"></i> <span class="badge"><?=$_SESSION['_PENDINGTASK']['total']?></span> </a> <?php }?> <ul class="dropdown-menu extended notification"> <?php if($_SESSION['_PENDINGTASK']['total']>0){?> <li class="title"> <p>You have <?=$_SESSION['_PENDINGTASK']['total']?> new notifications</p> </li> <?php foreach($_SESSION['_PENDINGTASK']['task'] as $task){ switch($noty['type']){ case 1 : // green plus $label = 'label-success'; $icon = 'icon-plus'; break; case 2 : // yellow warning $label = 'label-warning'; $icon = 'icon-bolt'; break; case 3 : // red danger $label = 'label-danger'; $icon = 'icon-warning-sign'; break; default: // blue info $label = 'label-info'; $icon = 'icon-bullhorn'; break; } ?> <li> <a href="javascript:void(0);"> <span class="label <?=$label?>"><i class="<?=$icon?>"></i></span> <span class="message"><?=$task?></span> <!-- <span class="time">1 mins</span> --> </a> </li> <?php } ?> <?php if($_SESSION['_PENDINGTASK']['total']>count($_SESSION['_PENDINGTASK']['noti'])){?> <li class="footer"> <a href="javascript:void(0);">View all notifications</a> </li> <?php } ?> <?php } ?> </ul> </li> <li class="dropdown _tutor_5"> <a href="javascript:void(0);" onclick="setPublishYoutSite()" style="padding:5px 10px 0px 0px !important; " ><button class="btn btn-sm btn-success"><i class="icon-save"></i> <?=_t('customize_top_save')?></button></a> </li> <li class="dropdown _tutor_6"> <?php ?> <a id="showRecoveryLog" data-toggle="modal" href="#recoveryLog" title="<?_t('Recovery')?>" style="padding:5px; padding-right:10px;" ><button class="btn btn-sm btn-danger"><i class=" icon-undo "></i></button></a> <?php ?> </li> <li> <a href="javascript:void(0);" onclick="calltohelp();" style="float:right; padding:5px 10px 0px 0px !important;"><button class="btn btn-sm btn-info"><i class="icon-question-sign"></i> <?=_t('banner_helps')?></button></a> </li> </ul>
Save
Cancel