Hi Jacgo,
Try changing this line:
require_once "C:/wamp/www/sb/core2/admin/lib/viewer_functions.php";
To this:
require_once "cmsAdmin/lib/viewer_functions.php";
Let me know if that works for you. Thanks!
Dave Edis - Senior Developer
interactivetools.com