fix resources under admin -- Aug, 28,2014
second commit for resources modification -- Aug. 28, 2014
last commit for Aug. 28, 2014
fixed search by fields action in the home page. But in the conditional statement, I used hardcoded values which must match with ID of formats table. Need to fix this later on. -- Aug. 29, 2014

Note, The formatID for local server is 2,3,4,5,6 and for living server is 1,2,3,4,5