Example #1
0
<?php

require '../../../../Slim/Slim.php';
\Slim\Slim::registerAutoloader();
$db = new \modules\admin\user\models\DBUser();
$fn = new \libs\functions();
var_dump($_POST);
$db->insertUser($fn->prepareArrayDoublePointer($_POST, false));
Example #2
0
<?php
include"modules/admin/widgets/header.php";
include"modules/admin/widgets/sidebar.php";
$user = new \modules\admin\user\models\DBUser;
?>
<style>
    .col-md-6{
        font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    }
    .demo-card-image.mdl-card {
        width: 256px;
        height: 256px;
        background: url('<?=$endereco?>includes/img/tumblr_nugarh0Kql1ti4wako1_540.gif') center / cover;
    }
    .demo-card-image > .mdl-card__actions {
        height: 52px;
        padding: 16px;
        background: rgba(0, 0, 0, 0.2);
    }
    .demo-card-image__filename {
        color: #fff;
        font-size: 14px;
        font-weight: 500;
    }

    .card-create-user.mdl-card {
        width: 512px;
    }
    .card-create-user > .mdl-card__title {
        color: #000;
        height: 176px;