The software he's using looks a bit like Autogallery Pro or maybe Autogallery SQL.
I had used Autogallery Pro a long time and i can recommend it. I cannot deliver a sample cause i have automated all my TGPs so i am not longer in need for using such scripts.
Hope it helps
Merry Christmas