<?php

include 'categories.php';
include 'getPhotos.php';

header('Content-type: text/xml');

if($_GET['action'] == 'cat')
{
	print getCategories();
}
else if($_GET['action'] == 'photos')
{
	print getPhotosFromID($_GET['id']);
}

?>