I'm trying to do the simplest thing, I need a front end to let visitors/guests view the current availability.
I also need a back end so that the owner of the calendar can edit the reservations.
I tried to copy the index.php naming it admin.php and index.php, admin being the back end and index being the front end.
So I need to adapt the index.php so that no editing can be taken place.
I have not got a clue how to do that, I now did it in a non-fashioned way.
http://sun-homes.nl/availabilty_calenda ... ?id_item=1
I removed line 124: <script type="text/javascript" src="'.DIR_JS.'update_cal.js"></script>
How can I do this in a good way?