<tr>
                                <th align="left" scope="row" style="width: 40%">
                                    <?php 
esc_html_e('Enable Chat on', 'lfapps-chat');
?>
                                    <span class="info"><?php 
esc_html_e('(Select the types of posts on which you wish to enable LiveChat. Note: Only LiveChat or LiveComments may be enabled for each of these options.)', 'lfapps-chat');
?>
</span>
                                </th>
                                <td align="left" valign="top">
                                    <?php 
$excludes = array('_builtin' => false);
$post_types = get_post_types($args = $excludes);
$post_types = array_merge(array('post' => 'post', 'page' => 'page'), $post_types);
$used_types = LFAPPS_Chat_Admin::get_comments_display_post_types();
foreach ($post_types as $post_type) {
    $post_type_name = 'livefyre_chat_display_' . $post_type;
    $checked = '';
    if (get_option('livefyre_apps-' . $post_type_name)) {
        $checked = 'checked';
    }
    $post_type_name_comments = 'livefyre_apps-livefyre_display_' . $post_type;
    $disabled = false;
    if (isset($used_types[$post_type_name_comments])) {
        $disabled = true;
    }
    ?>
                                        <input <?php 
    echo $disabled ? 'disabled' : '';
    ?>