예제 #1
0
						<ul class="dropdown-menu scrollable-dropdown" role="menu">
			        	<?php 
foreach (getLangList() as $iso => $lang) {
    ?>
						  		<li <?php 
    if ($iso == getLang()) {
        echo 'class="active"';
    }
    ?>
>
							  		<a href="<?php 
    echo getUrl(getPage(), getPath(), true, array('lang' => $iso));
    ?>
">
								  		<span> <img src="<?php 
    echo getThemeRoot() . '/flags/' . $iso . '.png';
    ?>
"> </span>
								  		<span><?php 
    echo $lang['name'];
    ?>
 <code><?php 
    echo $lang['nativeName'];
    ?>
</code></span>
							  		</a>
						  		</li>

						  		<?php 
}
?>
예제 #2
0
파일: Page.php 프로젝트: VSG24/ccms
 function get_footer($name = null)
 {
     $filename = getThemeRoot() . '/';
     $filename .= $name === null ? "footer.php" : $name;
     include $filename;
 }