?> </span></a></li> <li class=""><a href="registrars.php"><i class="icon-folder-open"></i> Registrars<span class="badge badge-info"><?php echo $r->getTotal(); ?> </span></a></li> <li class="divider"></li> <li class=""><a href="settings.php"><i class="icon-wrench"></i> Settings</a></li> <li class=""><a href="new.php"><i class="icon-plus-sign"></i> Add new</a></li> </ul> </div> <div class="span9" style="text-align: center;"> <?php if ($id >= 0) { if ($confirmed) { if ($d->delete($id)) { box('Success', 'Domain has been successfully deleted', 'info'); } else { box('Oh boy', 'Something went terribly wrong', 'warning'); } } else { $dom = $d->get($id); echo '<h3>You are about to delete</h3><br><h2>' . $dom['dom_name'] . '</h2>'; echo ' <form class="form-horizontal" action="delete.php?id=' . $id . '" method="post"> <input type="hidden" name="action" value="delete"> <div style="text-align:center;"><button type="submit" class="btn btn-warning"><i class="icon-edit"></i> Delete</button></div> </form>'; } } ?>