app/common/helper.php
/*
 * @params menuName: class, user
 * @xu ly check url hien tai cua website neu giong voi menuName thi return active
 */
@params menuName: class, user
@xu ly check url hien tai cua website neu giong voi menuName thi return active
@params menuName : class user @xu ly check url hien tai cua website neu giong voi menuName thi return active
function checkActiveMenu($menuName)
{
    $currentUrl = getCurURL();
    return strpos($currentUrl, $menuName) > 0 ? "active" : "";
}
function checkActiveMenu ( $ menuName ) { $ currentUrl = getCurURL ( ) ; return strpos ( $ currentUrl , $ menuName ) > 0 ? " active " : " " ; }
@params menuName: class, user
 @xu ly check url hien tai cua website neu giong voi menuName thi return active
@params menuName : class user @xu ly check url hien tai cua website neu giong voi menuName thi return active