Fatal error: Call to a member function selectRecord() on a non-object in D:\www\zgdcost.com\class\template.class.php on line 40