示例#1
0
<?php

require_once 'include/general.inc';
require_once 'include/config.inc';
require_once 'include/text.inc';
$html = xml_def();
$html .= doctype_def();
$html .= head_start($address, 'DoOPSearch Web Server - License and download');
$html .= head_end();
$html .= body_start('DoOPSearch Web Server');
$html .= link_start();
$html .= link_general($address);
$html .= link_end();
$html .= main_start();
$html .= content_start();
$html .= texts('license');
$html .= content_end();
$html .= main_end();
$html .= body_end();
echo $html;
        $msgSucesso = _('Move type deleted successfully.');
        header('Location: movimento-tipo?success=' . urlencode($msgSucesso));
        exit;
    }
} catch (Exception $e) {
    $msgErro = $e->getMessage();
}
$tipos = $regraMovimento->listarTipo();
if (!function_exists('toolbar_breadcrump')) {
    function toolbar_breadcrump()
    {
        echo '<li><a href="movimento-tipo?incluir=1"><i class="icon icon-plus"></i> <span>' . _('New type') . '</span></a></li>';
    }
}
require "header.inc.php";
content_start();
breadcrumb_menu(array(array('current' => false, 'icon' => 'icon icon-home', 'url' => 'index', 'nome' => _('Home')), array('current' => true, 'icon' => 'icon icon-building', 'url' => 'movimento-tipo', 'nome' => _('Financial\'s Move'))));
if (isset($msgErro)) {
    ?>
<div class="alert alert-danger alert-dismissible" role="alert">
    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    <i class="icon icon-cancel-circled"></i> 
    <?php 
    echo $msgErro;
    ?>
</div>
<?php 
} elseif (isset($msgSucesso)) {
    ?>
<div class="alert alert-success alert-dismissible" role="alert">
    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>