If you are looking for a text based TGP script, check out
ATO Scripts Gallery Admin. You can make as many pages as you want... on as many domains as you want, as long as they are on the same server, in any directory structure you want. The script can also be used as a click tracker, traffic router, or a link rotator.