<?php if (isset($_SESSION['url_list_by_section'][$section_name]) && !empty($_SESSION['url_list_by_section'][$section_name])) { 
       $url = $_SESSION['url_list_by_section'][$section_name];
       if($section_name == "Dashboard"){
    ?>
        <a onclick="blinkUpdate()" href="<?php echo $url; ?>" id="popup-youtube" title="<?php echo $section_name; ?>"> 
            <img style="position: relative;top: 1px;" width="61" class="pull-right" src="<?php echo $this->Url->build('/images/watch_now.jpg'); ?>" alt=""/>
        </a>
    <?php }else{ ?>
        <a  href="<?php echo $url; ?>" id="popup-youtube" title="<?php echo $section_name; ?>"> 
            <img style="position: relative;top: 1px;" width="61" class="pull-right" src="<?php echo $this->Url->build('/images/watch_now.jpg'); ?>" alt=""/>
        </a>
    <?php } ?>
<?php } ?>
