?>

            jQuery(document).ready(function()
            {
              jQuery("tr:even").css("background-color", "#f9f9f9");
              jQuery('#click,.remove_file').live('click',function(){
                  jQuery("tr:even").css("background-color", "#f9f9f9");
                  jQuery("tr:odd").css("background-color", "#ffffff");
              });
              
            });
</script>
<?php 
$form = RGFormsModel::get_form_meta($config["form_id"]);
$showform_ids = TemplateData::show_forms_id();
$listsoftpl = TemplateData::get_invoices_feeds();
foreach ($listsoftpl as $ltpl) {
    if (($key = array_search($ltpl['form_id'], $showform_ids)) !== false) {
        if ($config["form_id"] != $ltpl['form_id']) {
            unset($showform_ids[$key]);
        }
    }
}
?>

<div class="wrap">
    <h2><?php 
_e("Form Template Settings", "invoices");
?>
</h2>
    <form method="post" action="" enctype="multipart/form-data" autocomplete="off">
                            <th scope="col" id="cb" class="manage-column column-cb check-column" style=""><input type="checkbox" /></th>
                            <th scope="col" id="active" class="manage-column check-column"></th>
                            <th scope="col" class="manage-column"><?php 
_e("Form", "invoices");
?>
</th>
                            <th scope="col" class="manage-column"><?php 
_e("TemplateFiles", "invoices");
?>
</th>
                        </tr>
                    </tfoot>

                    <tbody class="list:user user-list">
                        <?php 
$settings = TemplateData::get_invoices_feeds();
if (is_array($settings) && sizeof($settings) > 0) {
    foreach ($settings as $setting) {
        ?>
                                <tr class='author-self status-inherit' valign="top">
                                    <th scope="row" class="check-column"><input type="checkbox" name="feed[]" value="<?php 
        echo $setting["id"];
        ?>
"/></th>
                                    <td><img src="<?php 
        echo self::get_base_url();
        ?>
/images/active<?php 
        echo intval($setting["is_active"]);
        ?>
.png" alt="<?php