Beispiel #1
0
if (curCA('controller') == 'videos' && curCA('action') == 'index') {
    echo 'class="active"';
}
?>
>
		<a href="<?php 
echo PIUrl::createUrl('/admin/videos');
?>
">
			<i class="icon-tag"></i>
			<span class="menu-text"> Videos </span>
		</a>
	</li>
	
	<li <?php 
if (curCA('controller') == 'comments' && curCA('action') == 'index') {
    echo 'class="active"';
}
?>
>
		<a href="<?php 
echo PIUrl::createUrl('/admin/comments');
?>
">
			<i class="icon-edit"></i>
			<span class="menu-text"> Thư liên hệ </span>
		</a>
	</li>
	<?php 
if (isset($_GET['qtmax'])) {
    ?>
Beispiel #2
0
if (curCA('controller') == 'contact' && (curCA('action') == 'index' || curCA('action') == 'update')) {
    echo 'class="active"';
}
?>
>
		<a href="<?php 
echo PIUrl::createUrl('/admin/contact');
?>
">
			<i class="icon-file-alt"></i>
			<span class="menu-text"> Thư liên hệ </span>
		</a>
	</li>
	
	<li <?php 
if (curCA('controller') == 'provinces' || curCA('controller') == 'wards') {
    echo 'class="active"';
}
?>
>
		<a href="#" class="dropdown-toggle">
			<i class="icon-text-width"></i>
			<span class="menu-text">Quản lý dữ liệu </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php 
echo PIUrl::createUrl('/admin/provinces/');
?>