Ejemplo n.º 1
0
                                        <button type="submit" name="btn" value="u_submit" class="btn btn-success">Submit</button>
                                        <?php 
    } else {
        if ($action == "edit") {
            ?>
                                        <button type="update" name="btn" value="u_update" class="btn btn-success">Update</button>
                                        <?php 
        }
    }
    ?>
                                        <button type="reset" class="btn btn-warning">Clear</button>
                                    </form>
                                    <?php 
} else {
    if ($action == "delete") {
        if ($db->deleteRentention($retention_id) > 0) {
            echo '<label class="control-label" for="inputSuccess">User has been disabled !</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>';
        } else {
            echo '<label class="control-label" for="inputError">User has not beeen disabled.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>';
        }
    }
}
?>
                                </div>
                               
                            </div>
                            <!-- /.row (nested) -->
                        </div>
                        <!-- /.panel-body --><div class="panel-footer">
                        </div>
                    </div>