Code for old Orienteer.it website with php backend