Warning: Declaration of myTemplate::update() should be compatible with myFile::update($content) in /home/hojjateb/domains/hojjatebnelhassan.ir/public_html/Library/classes/class.mytemplate.php on line 63

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/hojjateb/domains/hojjatebnelhassan.ir/public_html/Library/classes/class.mydb.php:33 Stack trace: #0 /home/hojjateb/domains/hojjatebnelhassan.ir/public_html/Library/classes/class.mydb.php(53): myDB->connect() #1 /home/hojjateb/domains/hojjatebnelhassan.ir/public_html/Library/classes/class.main.php(441): myDB->query('select * from n...') #2 /home/hojjateb/domains/hojjatebnelhassan.ir/public_html/index.php(25): main->lastNews(1, 'fa', 7) #3 {main} thrown in /home/hojjateb/domains/hojjatebnelhassan.ir/public_html/Library/classes/class.mydb.php on line 33