Conditional Checks for Custom Post Types
http://justintadlock.com/archives/2011/07/20/conditional-checks-for-custom-post-types
<?php
if ( 'movie' == get_post_type() ) {
/* Custom code for 'movie' post type. */
} elseif ( 'book' == get_post_type() ) {
/* Custom code for the 'book' post type. */
}
?>