Skip to content

Instantly share code, notes, and snippets.

<?php
namespace App\Http\Controllers;
use App\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
use App\Estado;
use Illuminate\Support\Facades\Auth;
@extends('adminlte::page')
@section('title', 'Museu Virtual')
<link href="{{ asset('css/customize.css') }}" rel="stylesheet" type="text/css" >
@section('content')
<h1 align="center" >Usuarios</h1>
<div class="box-tools col-md-6" id="header">
<form role="form" action="{{ route('usuario.pesquisar') }}" method="POST" >
<?php
namespace App\Http\Controllers;
use App\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
use App\Estado;
use Illuminate\Support\Facades\Auth;
@extends('adminlte::page')
@section('title', 'Museu Virtual')
<script type="text/javascript">
function validarSenha(){
password = document.f1.password.value
password_confirmation = document.f1.password_confirmation.value
if (password == password_confirmation)
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Publicacao;
use App\User;
use App\Categoria;
use Illuminate\Support\Facades\DB;
use Storage;
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Publicacao;
use App\User;
use App\Categoria;
use Illuminate\Support\Facades\DB;
use Storage;
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Publicacao;
use App\User;
use App\Categoria;
use Illuminate\Support\Facades\DB;
use Storage;
@extends('layouts.app')
@section('content')
<script src="{{ asset('js/menssagem.js') }}"></script>
<h1 align="center" >Publicacões</h1>
@if (Auth::user()->tipousuario == 1)
@forelse ($publicacao->slice(0,1) as $publicacoes)
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Publicacao;
use App\User;
use Illuminate\Support\Facades\DB;
use Storage;
use File;
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
use App\User;
use App\Estado;
use App\Relacao;