Ejemplo n.º 1
0
                                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                                    <h4 class="modal-title" id="myModalLabel_<?php 
        echo $row->training_id;
        ?>
">Delete <?php 
        echo $title;
        ?>
!</h4>
                                </div>
                                <div class="modal-body">
                                    Do you really want to delete the <?php 
        echo $title;
        ?>
 data?
                                    <br><?php 
        training_type($row->training_type);
        ?>
                                </div>
                                <div class="modal-footer">
                                    <button type="button" class="btn btn-success" data-dismiss="modal">Cancel</button>                            
                                    <button type="button" class="btn btn-danger" onclick="window.location = '<?php 
        echo site_url();
        ?>
admin/delete_training/<?php 
        echo $row->training_id;
        ?>
'">Confirm Delete</button>
                                </div>
                            </div>
                        </div>
                    </div> <!-- END Modal -->
Ejemplo n.º 2
0
    ?>
<div class="clean-green"><?php 
    echo Session::flashData('msg');
    ?>
</div>
<?php 
} else {
}
?>
<form action="" method="post">
<table width="100%" border="0" cellpadding="5" cellspacing="5">
  <tr>
    <td align="right">Training Type:</td>
    <td><?php 
$js = 'id = "training_type_id"';
echo form_dropdown('training_type_id', training_type(), $selected, $js);
?>
</td>
    <td></td>
  </tr>
  <tr>
    <td align="right">Title:</td>
    <td><input name="course_title" type="text" id="course_title" value="<?php 
echo $course->course_title;
?>
" size="50" /></td>
    <td></td>
  </tr>
  <tr>
    <td align="right">Description:</td>
    <td><input name="course_description" type="text" id="course_description" value="<?php 
Ejemplo n.º 3
0
        echo $training->training_id;
        ?>
" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <div class="modal-header" style="background-color: #c12e2a; color: white;">
                                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                                <h4 class="modal-title" id="myModalLabel_<?php 
        echo $training->training_id;
        ?>
">Delete Training data!</h4>
                            </div>
                            <div class="modal-body">
                                Do you really want to delete the training data?
                                <br><strong>Training type: </strong><?php 
        training_type($training->training_type);
        ?>
                                <br><strong>Institute / detail: </strong><?php 
        echo $training->institute;
        ?>
                                <br><strong>Period: </strong> 
                                <?php 
        if (!empty($training->training_start)) {
            echo date("m/d/Y", strtotime($training->training_start));
        }
        ?>
 - 
                                <?php 
        if (!empty($training->training_end)) {
            echo date("m/d/Y", strtotime($training->training_end));
        }