php error happened

Technical information
Error type8192
Error descriptionFunction get_magic_quotes_gpc() is deprecated
URLzamosc.ap.gov.pl/kolegiata/kolegiata_calosc_view.php?editid1=15
Error file/home/zamoscap/public_html/kolegiata/include/phpfunctions.php
Error line471
SQL queryselect `TableName`, `AccessMask` from `kolegiata_ugrights` where `GroupID` in (-3)

More info