PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in D:\wwwroot\3htm\wwwroot\shangbiao\smarty\Smarty.class.php on line 64 PHP Warning: Creating default object from empty value in D:\wwwroot\3htm\wwwroot\shangbiao\smarty.php on line 5 PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in D:\wwwroot\3htm\wwwroot\shangbiao\class\conn.php:5 Stack trace: #0 D:\wwwroot\3htm\wwwroot\shangbiao\class\class.php(4): require_once() #1 D:\wwwroot\3htm\wwwroot\shangbiao\header.php(8): require_once('D:\\wwwroot\\3htm...') #2 D:\wwwroot\3htm\wwwroot\shangbiao\sbcategory_2.php(4): require_once('D:\\wwwroot\\3htm...') #3 {main} thrown in D:\wwwroot\3htm\wwwroot\shangbiao\class\conn.php on line 5