Пример #1
0
<?php

include '../class/Call.class.php';
include '../function/Uppercase.func.php';
include 'topo.php';
$produtos = Produto::listarProdutos();
?>
<style rel="stylesheet" type="text/css" media="print">
<!--
.bt_imprimir, #sup { display: none; }
#container { height: auto !important; }
.tbl_listaProd { display:block;	}
.tbl_listaProd tr td { border: 1px solid #000; }
.tbl_listaProd thead { color: #000 !important; font-weight: bold !important; }
-->
</style>
<style rel="stylesheet" type="text/css" media="screen">
	table{
		border: 0;
		width: 900px;	
	}
	table tr td{
		height: 30px;	
	}
       #bt_imprimir { margin-top: 40px !important; }
       .tbl_listaProd { margin-top: 20px !important; }
</style>
<script>
	$(document).ready(function() {
		$('table thead').css('background','url(../imagens/layout/menu.png)');
                $('table thead').css('background-position','0px -90px');
Пример #2
0
<?php

require_once 'Core/Produto.php';
$prod = new Produto();
$produtos = $prod->listarProdutos();
?>

<!-- Content Header (Page header) -->
<section class="content-header">
    <h1>
        Lista de Produtos
        <small>listagem</small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="home"><i class="fa fa-dashboard"></i> Home</a></li>
        <li><a href="produto">Produtos</a></li>
        <li class="active">Lista de produtos</li>
    </ol>
</section>

<!-- Main content -->
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">
                    <h3 class="box-title">Produtos</h3>
                </div>
                <!-- /.box-header -->
                <div class="box-body table-responsive">
                    <table id="grid1" class="table table-bordered table-striped">