Update body class based on theme as well as a html attribute

If I am understanding you correctly you could use get_page_template_slug(). For example…

<?php echo get_page_template_slug( $post->ID ); ?>

Although, to be honest I don’t see the point of doing this over using body_class().

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