Creating A New Admin Menu Tab For Theme Options

Try to replace the add_options_page line with the following:

add_menu_page( 'Global Custom Options', 'Global Custom Options', 'manage_options', 'functions','global_custom_options' );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)