get_template_part() doesn’t work

The get_template_part() function is intended to include a template-part file in the template – i.e. on the front end.

Use include() instead, along with get_template_directory():

function theme_options() {
    include( get_template_directory() . '/content-options.php' );
}

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