Esempio n. 1
0
function getOraseByTheme($ThemeID = false)
{
    $oraseByTheme = Orase::join('hoteluri', 'geo_orase.AidaID', '=', 'hoteluri.City')->select('geo_orase.id', 'geo_orase.Name')->distinct('geo_orase.id')->where('hoteluri.Themes', 'LIKE', '%|' . $ThemeID . '|%')->where('geo_orase.Activ', 1)->orderBy('geo_orase.id', 'asc')->get();
    return $oraseByTheme;
}