Example #1
0
            echo "javascript:access_denied();";
        }
        ?>
" class="h3_heading"><?php 
        echo ucfirst($videos['name']);
        ?>
</a></h3>
		  <p class="date_text padding_b5"><?php 
        echo $videos['CREATED_DATE'];
        ?>
</p>
		 <?php 
        echo $videos_desc;
        ?>
<a href="<?php 
        if (grant_access('easfv970')) {
            echo site_url("videogallery/preview/" . $videos['id']);
        } else {
            echo "javascript:access_denied();";
        }
        ?>
" title="Click here"><img src="<?php 
        echo base_url();
        ?>
images/frontend/arrow.gif" alt="Click here" border="0"  title="Click here" hspace="5" /></a></div>
		
		
<?php 
        $i++;
    }
    ?>
Example #2
0
        }
        ?>
		</table>
	</td></tr></table>
</td></tr>
	<table class="searchform">
	<tr><td class="darker">
	<input type="submit" value="Set default access">
	<input type="reset" value="Reset">
	</td></tr></table>
</td></tr></table>
</form>
</td></tr></table>
<?php 
    }
    if (defined('USE_CACHE') && USE_CACHE && grant_access($username, 'reload_cache', $dbLink)) {
        ?>
<table class="pagecontent">
<tr><td>
<form action="index.php" method="POST">
<input type="hidden" name="pageId" value="config">
<input type="hidden" name="configTask" value="reloadCache">
<table><tr><td>
	<table class="searchform">
	<tr class="lighter"><td>
		<b>RELOAD SEARCH CACHE:</b>
		<table align="center" class="formentry">
		<tr><td>
		Reloading the cache may take a while if you have a lot of log data.
		</td></tr></table>
	</td></tr></table>
                echo "javascript:access_denied();";
            }
            ?>
" class="h3_heading"><?php 
            echo character_limiter(strip_tags($root['news_heading']), 15);
            ?>
</a></h3>
<p class="date_text padding_b5"><?php 
            echo date('dS F Y', strtotime($root['created']));
            ?>
</p>
<?php 
            echo character_limiter(strip_tags($root['news_content']), 100);
            ?>
<a href="<?php 
            if (grant_access('easfv942')) {
                echo $sef_url;
            } else {
                echo "javascript:access_denied();";
            }
            ?>
" title="Click here"><img src="<?php 
            echo base_url();
            ?>
images/frontend/arrow.gif" alt="Click here" border="0"  title="Click here" hspace="5" /></a></div>
			<?php 
        }
        $n++;
    }
}
?>
                echo "javascript:access_denied();";
            }
            ?>
" class="h3_heading"><?php 
            echo character_limiter(strip_tags($root['testimonial_company']), 15);
            ?>
</a></h3>
      <p class="date_text padding_b5"><?php 
            echo date('dS F Y', strtotime($root['created']));
            ?>
</p>
      <?php 
            echo character_limiter(strip_tags($root['testimonial_description']), 100);
            ?>
<a href="<?php 
            if (grant_access('easfv938')) {
                echo site_url('testimonials');
            } else {
                echo "javascript:access_denied();";
            }
            ?>
" title="Click here"><img src="<?php 
            echo base_url();
            ?>
images/frontend/arrow.gif" alt="Click here" border="0"  title="Click here" hspace="5" /></a></div>
	 <?php 
        }
        $n++;
    }
}
?>
Example #5
0
if (grant_access(5, $user_type)) {
    ?>
       <li class='active has-sub'><a href='eis/index.php'><span>Employee Information System</span></a></li>
   <?php 
}
if (grant_access(6, $user_type)) {
    ?>
   <li class='active has-sub'><a href=""><span>Library</span></a>
       <ul>
           <li class='has-sub'><a href='circulation/HOME.php'><span>Circulation</span></a></li>
           <li class='has-sub'><a href='cataloging/cataloging_index.php'><span>Cataloging</span></a></li>
       </ul>  
   </li>
   <?php 
}
if (grant_access(7, $user_type)) {
    ?>
   <li class='active has-sub last'><a href='inventory_home.php'><span>Inventory</span></a>
       <ul>
           <li class='has-sub'><a href='supplies/supply_home.php'><span>Supplies</span></a></li>
           <li class='has-sub'><a href='equipment/equipment1.php'><span>Equipment</span></a></li>
       </ul>  
   </li>
    <?php 
}
?>


</ul>
</div>