added collapse
finished php script and search