Here's an example of the code you should place on your site.
Code:
<?
include("gals_functions.php"); // This makes the magic happen.
get_gals("galleries",147); // Getting the gals
$block1=show_gals("thumbs","galleries", 7, 1, 49, 147, "sloth_out.php?&pct=65&f=1&url=",3,2,"#CC0000",1,"#000000"); // Fetching the gals with format.
?>
<html><body>
<!-- Gals Output -->
<?=$block1;?>
</body></html>
Very easy as you see.
Who else want his SimpleTGP Script?