text
stringlengths
2
1.03M
@extends('listContainer') @section('title') List of Computers @endsection @section('heading') List of Computers @endsection @section('list') <a href="{{ route('computer.create') }}" class="btn btn-success">Create Computer</a> <table class="table table-striped"> <tr> <th>Name</th> ...
<section class="content"> <div class="box"> <div class="box-header"> <h3 class="box-title">Tabel Kandidat</h3> <br> <br> <?php echo $this->session->flashdata('message2'); ?> </div> <div class="box-body"> <table id="example2" class="table table-bordered table-striped"> ...
@extends('fontEnd.master') @section('content') <div class="banner"> <div class="container"> @if(isset($projects)) @foreach($projects as $project) <div class="panel panel-success"> <!-- Default panel contents --> <div class="panel-heading">{{$project->student_name}}</div> <div c...
<div class="card-body"> <div class="row"> <div class="col-md-12"> <div class="form-group"> <label for="texto1">Texto</label> <input type="text" class="form-control" id="texto1" name="texto1" value="{{ old('texto1', isset($element) ? $element->texto1 : null) }}"> </div> </div> <div class="col-md-12"...
<?php class MACantwoord { /** * @var KvKNummere $kvkNummer */ protected $kvkNummer = null; /** * @var Authentiek $authentiek */ protected $authentiek = null; /** * @var DatumMetIndicator $datumAanvang */ protected $datumAanvang = null; /** * @var Datum...
<?php declare (strict_types=1); namespace ECSPrefix202206\Symplify\ComposerJsonManipulator\ValueObject; /** * @api */ final class ComposerJsonSection { /** * @var string */ public const REPOSITORIES = 'repositories'; /** * @var string */ public const REQUIRE_DEV = 'require-dev'; ...
<?php /** * CoolMS2 Common Module (http://www.coolms.com/) * * @link http://github.com/coolms/common for the canonical source repository * @copyright Copyright (c) 2006-2015 Altgraphic, ALC (http://www.altgraphic.com) * @license http://www.coolms.com/license/new-bsd New BSD License * @author Dmitry Popo...
<div class="container"> <h2>TA聯絡頁面</h2> <form> <table align="center"> <ul class="tatable"> <li class="table-header"> <div class="col col-1">學年度</div> <div class="col col-2">開課名稱</div> <div class="col col-3">授課老師</div...
<div class="modal-body"> <h3 class="h3 mb-0 text-gray-800">Masukkan Data Tabel 8d1 - D4</h3> <form action="aksi_tambah_audit_auditor.php" name="modal_popup" enctype="multipart/form-data" method="POST"> <!--- aks9_tambah_audit_auditor...
<?php /* * use crypto for php * $encrypted = cryptoJsAesEncrypt("my passphrase", "value to encrypt"); * $decrypted = cryptoJsAesDecrypt("my passphrase", $encrypted); */ /** * Decrypt data from a CryptoJS json encoding string * * @param mixed $passphrase * @param mixed $jsonString * @return mixed */ function cryptoJsA...
<?php use Illuminate\Database\Seeder; use App\Role; use App\User; use App\ExamType; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $roles = ['Admin', 'Teacher' , 'Student', 'Support' , 'Secretary']; ...
<?php /* * This file is a part of the DiscordPHP project. * * Copyright (c) 2015-present David Cole <david.cole1340@gmail.com> * * This file is subject to the MIT license that is bundled * with this source code in the LICENSE.md file. */ namespace Discord\Parts\Channel; use Discord\Helpers\Collection; use Dis...
<?php use yii\helpers\Html; use yii\widgets\DetailView; use yii\widgets\Breadcrumbs; /* @var $this yii\web\View */ /* @var $model app\models\ForexRate */ $this->title = $model->Name; $this->params['breadcrumbs'][] = ['label' => 'Forex Rates', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <?= ...
<script> function printDiv() { var divToPrint=document.getElementById('divToPrint'); var WindowObject=window.open('','Print-Window'); WindowObject.document.open(); WindowObject.document.writeln('<!DOCTYPE html>'); WindowObject.document.writeln('<html><head><title></title><s...
<?php return array ( 'bot' => NULL, 'brand' => 'IZ', 'client' => array ( 'type' => 'mobile app', 'name' => 'Facebook', 'version' => '219.0', ), 'device' => 1, 'model' => 'A32F', 'os' => array ( 'name' => 'Android', 'short_name' => 'AND', 'version' => '8.1', 'platform' => ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta mame="description" content=" " /> <meta content="ALL" name="ROBOTS"/> <meta content="FOLLOW" name="ROBOTS"/> <meta content="" name="copyright"/> <meta name="distribution" content="Gl...
@extends('master.home-master') @section('css') <link href="{{asset('css/bootstrap.min.css')}}" rel="stylesheet"> <link href="{{asset('font-awesome/css/font-awesome.css')}}" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" type="text/css" rel="stylesheet"> <l...
<?php /** * PHPExcel * * Copyright (c) 2006 - 2009 PHPExcel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later ve...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTotalStocksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('total_stock...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class book extends Model { protected $table = 'booking'; }
@extends('layouts.plantilla') @section('contenido') <div class="row"> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12"> <h3>Ingreso de Vehiculo</h3> @if (count($errors)>0) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{$error}}</li> @...
<?php namespace PrincipalBundle\Repository; use Doctrine\ORM\EntityRepository; /** * centrosmedicosRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class centrosmedicosRepository extends EntityRepository { public function findAllOrderedByName()...
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class App extends BaseConfig { /** * -------------------------------------------------------------------------- * Base Site URL * -------------------------------------------------------------------------- * * URL to your CodeIgniter root. Typicall...
<?php header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE"); header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, X-Requested-With"); $inData = json_decode(file_get_contents('php://input'), true); $conn = new mysqli("localh...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\PendidikanSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="pendidikan-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', 'opti...
@extends('admin.admin_master') @section('admin') <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <div class="content-wrapper"> <div class="container-full"> <!-- Content Header (Page header) --> <section class="content"> ...
<?php namespace app\Controller; class index { public function index() { echo 'asdasdasdasd'; } }
<?php namespace Risan\OAuth1\Test\Unit\Signature; use PHPUnit\Framework\TestCase; use Risan\OAuth1\Signature\HmacSha1Signer; use Risan\OAuth1\Signature\SignerInterface; use Risan\OAuth1\Credentials\TokenCredentials; use Risan\OAuth1\Credentials\ClientCredentials; use Risan\OAuth1\Signature\KeyBasedSignerInterface; us...
<form id="sent" action="{{ route('offline.add.gratifikasi') }}" method="post" enctype="multipart/form-data"> {{ csrf_field() }} <div class="col-sm-12 col-md-4"> <div class="form-group"> <label>Nama</label> <input type="text" class="form-control" name="nama" required> </di...
<?php return array( // This should be an array of module namespaces used in the application. 'modules' => array( 'Contato', 'ZendDeveloperTools', 'BjyProfiler' ), // These are various options for the listeners attached to the ModuleManager 'module_listener_options' => array(...
<pre class="is-paddingless" v-hljs> <code class="js"> vue-table class="box is-paddingless raises-on-hover is-rounded" path="/examples/table/init" :filters="filters" :intervals="intervals" @clicked="clicked" @excel="$toastr.info('You just pressed Excel', 'Event')" @create="$toastr.success...
<?php namespace Oro\Bundle\ConfigBundle\Tests\Unit\DependencyInjection\SystemConfiguration; use Oro\Bundle\ConfigBundle\DependencyInjection\SystemConfiguration\ProcessorDecorator; use Symfony\Component\Config\Definition\Processor; class ProcessorDecoratorTest extends \PHPUnit_Framework_TestCase { /** @var Proces...
<?php namespace Admin\Http\Controllers; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\File; use App\Models\Log; use App\Models\Gallery; class LogsController extends Controller { publi...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use App\User; use Carbon\Carbon; class TestUserSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { DB::transaction(function () { User::upd...
<?php use App\User; use Illuminate\Database\Seeder; use Spatie\Permission\Models\Permission; use Spatie\Permission\Models\Role; class UserRoleSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // Reset cached roles and permissions ...
<?php namespace eagle\modules\assistant\services\rule; use eagle\modules\order\models\OdOrder; use eagle\models\assistant\DpRule; use eagle\modules\assistant\models\DpInfo; class Message extends Due { public $success_count = 0; const CS_ORDERMSG = 4; // protected $msgType = 'message'; // 设置规则判断的优先级 protect...
<?php /* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\search\query@[annot]][1]/ */ /* Type: array */ /* Expiration: 2019-05-07T09:18:23+00:00 */ $loaded = true; $expiration = 1557220703; $data = array(); /* Child Type: array */ $data['return'] = unserialize(base64_decode('YToxOntpOjA7TzozMToiRG9jd...
<?php namespace Oro\Bundle\WorkflowBundle\Translation\KeyTemplate; class TransitionWarningMessageTemplate extends TransitionTemplate { const NAME = 'transition_warning_message'; /** * @return string */ public function getTemplate() { return parent::getTemplate() . '.warning_message'...
<?php declare(strict_types=1); namespace GraphQL\Validator\Rules; use function array_keys; use function count; use GraphQL\Error\Error; use GraphQL\Language\AST\BooleanValueNode; use GraphQL\Language\AST\EnumValueNode; use GraphQL\Language\AST\FloatValueNode; use GraphQL\Language\AST\IntValueNode; use GraphQL\Languag...
<?php namespace rdn\SiteBundle\Repository; /** * UserRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class UserRepository extends \Doctrine\ORM\EntityRepository { }
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Login') }}</div> <div class="card-body"> <form method="POST...
<?php namespace Malyusha\Filterable; use Illuminate\Database\Eloquent\Builder; use Illuminate\Support\Arr; use Malyusha\Filterable\Exceptions\ModelNotSet; abstract class BaseFilter implements FilterInterface { /** * Filtered eloquent model class. * * @var string */ protected $model; ...
<?php namespace App\Http\Controllers\Site; use App\Http\Controllers\Controller; use App\Http\Requests\Site\SuppliersRequest; use App\Models\Category; use App\Models\Client; use Illuminate\Database\Eloquent\Model; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class AddSuppliersController extends C...
<?php namespace Drupal\KernelTests\Core\File; use Drupal\Component\Render\FormattableMarkup; /** * Tests filename munging and unmunging. * * Checks performed, relying on 2 <= strlen('foo') <= 5. * * - testMunging() * - (name).foo.txt -> (name).foo_.txt when allows_insecure_uploads === 0 * - testMungeBullByt...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\Setting */ $this->title = 'Update Setting: ' . $model->id; $this->params['breadcrumbs'][] = ['label' => 'Settings', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->i...
<?php declare(strict_types=1); namespace Alchemy\AclBundle\Repository; interface UserRepositoryInterface { public function getUsers(?int $limit = null, ?int $offset = null): array; }
@extends('main') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-primary"> <div class="panel-heading">Reset Password</div> <div class="panel-body"> <form class="form...
<?php if ( ! defined( 'ABSPATH' ) ) exit; /** * Class NF_Fields_Email */ class NF_Fields_Email extends NF_Abstracts_UserInfo { protected $_name = 'email'; protected $_nicename = 'Email'; protected $_type = 'email'; protected $_section = 'userinfo'; protected $_icon = 'envelope-o'; protec...
<?php /** * Created by dougw on 10/18/13 4:36 PM * * Copyright Zoosk, Inc. 2013 */ require_once dirname(__FILE__) . '/../zPushTestConfig.php'; class ZJSONToolsTest extends PHPUnit_Framework_TestCase { public function setUp() { } /** * Tests that the JSON encoding function works properly. * NOTE - This w...
--TEST-- swoole_server: get last error --SKIPIF-- <?php require __DIR__ . '/../include/skipif.inc'; skip_if_in_valgrind(); ?> --FILE-- <?php require __DIR__ . '/../include/bootstrap.php'; /** * Time: 下午4:34 */ $simple_tcp_server = __DIR__ . "/../include/api/swoole_server/opcode_server.php"; $port = get_one_free_po...
<?php // Under MIT License // Distribute, Modify and Contribute under MIT License. // Use of Software under MIT License. ?> <?php set_time_limit(500); //include_once("common/conDb.php"); //MYSQL CONNECTION include('connect_msaccess_server.php'); //MICROSOFT ACCESS SERVER CONNECTION ?> <table border="0" cellpad...
@extends('layouts.app') @section('content') <table class="table"> <thead> <tr> <th>Category Name</th> </tr> </thead> <tbody> @if(count($category) > 0) @foreach($category as $cat) <tr> <td>{{$cat->name}}</td> <td><a href="{{ route ('category.edit', [ 'id' => $cat->id]) }}" cla...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Category extends Model { public function posts() { return $this->hasMany('App\Post'); } }
<?php $__env->startSection('content'); ?> <section id="services" class="section"> <header class="section__header" style="background: transparent"> <ol class="breadcrumb"> <?php /*<li><a href="/">Главная</a></li>*/ ?> <li><a href="/categories">Каталог</a></li> <li class="active"><?php echo e($data->par...
@extends("website.layouts.master") @section('content') <div class="ro-section"> <div class="ro-product-page"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="ro-title"> <h4>PRODUCT:</h4> ...
<?php namespace app\admin\model; use think\Model; class KindAct extends Model { // 自动写入时间戳字段 protected $autoWriteTimestamp = 'int'; // 定义时间戳字段名 protected $createTime = 'createtime'; protected $updateTime = 'updatetime'; }
<?php declare(strict_types=1); namespace Zae\ContentSecurityPolicyReporting\Http\Controllers; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Zae\ContentSecurityPolicyReporting\Contracts\CspLimiter; use Zae\ContentSecurityPolicyRe...
<?php namespace App\Models\Admin; use Illuminate\Database\Eloquent\Model; class Menu extends Model { protected $table = "menu"; protected $fillable = ['nombre','url','icono']; protected $guarded = 'id'; //public $timestamps = 'false'; }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use App\Models\Brand; class CreateBrandsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::c...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace RectorPrefix20210904\Symfony\Component\VarDumper\Caster; use RectorPrefi...
<!DOCTYPE html> <html lang="en"> <head> @include('includes/ad-head') </head> <body> <div class="main-wrapper"> {{-- Header --}} @include('includes/ad-header') {{-- Header --}} {{-- Sidebar --}} @include('includes/ad-sidebar') {{-- Sidebar --}} {{-- ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateNhaSanXuatTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('nha_san_xuat...
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, maximum-scale=1"> <title>FCYT</title> <link rel="icon" href="favicon.png" type="image/png"> <link rel="shortcut icon" href="favicon.ico" type="img/x-icon"> <link href='https://fonts.googleap...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php declare(strict_types=1); namespace Rector\RectorCI\RectorSet; use Doctrine\ORM\EntityManagerInterface; use Rector\RectorCI\DateTime\DateTimeProvider; use Rector\RectorCI\Entity\GithubRepositoryRectorSetInstallation; use Rector\RectorCI\Github\Query\GetGithubRepositoryQuery; use Rector\RectorCI\RectorSet\Excepti...
<!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <h1 class="h3 mb-4 text-gray-800"><?= $judul; ?></h1> <a href="<?= base_url(); ?>notaris/konfirmasi_bayar/" class="btn btn-warning float-left"> Konfirmasi Pembayaran</a> <br> <br> <table class="table table-striped">...
<?php function gravatar_url($email) { $email=md5($email); return "https://gravatar.com/avatar/{$email}".http_build_Query([ 's'=>60, 'd'=>'https://d31i9b8skgubvn.cloudfront.net/assets/img/hr-tech-conf/speakers/emmanuel.png' ] ); }
<?php namespace App; use Illuminate\Database\Eloquent\Model; class PaymentMethod extends Model { public function subscription() { return $this->hasMany('App\Subscription'); } }
<?php namespace Crossword\Line; use \Crossword\Field; /** * Crossword Column */ class Column extends Line{ /** * @var string Line type column */ protected $type = self::TYPE_COLUMN; /** * @param Field $field */ public function addField(Field $field){ $this->fields[$fie...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class solicitud extends Model { protected $table = 'solicitudes'; protected $primaryKey = 'N_solCDP'; //Relacion uno a uno public function cdp(){ return $this->hasOne('App/cdp','id_cdp'); } public function dependencia(){ return $th...
<?php $this->load->view('public/header.php') ?> <body style="max-width:640px;"> <div id="pjax-container" style="padding-bottom: 60px"> <header class="dis-box header-menu b-color color-whie"> <a class="" href="javascript:history.go(-1)"> <i class="iconfont icon-jiantou icon-write...
<?php /* +---------------------------------------------------------------------------+ | OpenX v2.8 | | ========== | | ...
@props(['comment']) <article class="flex bg-gray-100 border border-gray-200 p-6 rounded-xl space-x-4"> <div class="flex-shrink-0"> <img src="https://i.pravatar.cc/60?u={{$comment->id}}" alt="" width="60" height="60" class="rounded-xl"> </div> <div> <header class="mb-4"> <h3 clas...
<?php namespace App\Modules\Matches\Http\Controllers; use App\Modules\Matches\Match; use View; use Widget; class MatchesWidget extends Widget { public function render(array $parameters = []) : string { $limit = isset($parameters['limit']) ? (int) $parameters['limit'] : self::LIMIT; $matches...
<div class="nav-tabs-custom"> <ul class="nav nav-tabs" id="myTab"> <li class="active"><a href="#tab_terima" data-toggle="tab"><i class="fa fa-database"></i> Sych Kirim data ke server .</a></li> <li><a href="#tab_kirim" data-toggle="tab" style=" background: green; color: #fff;"><i class="fa f...
<?php interface ITemplateDataGenerator { function generate_data($context); } /* End of file itemplatedatagenerator.php */ /* Location: ./WalkerCMS/helpers/itemplatedatagenerator.php */
<?php namespace DynamicsCRM; class Guid { public static function newGuid() { // http://stackoverflow.com/questions/18206851/com-create-guid-function-got-error-on-server-side-but-works-fine-in-local-usin if (function_exists ( 'com_create_guid' )) { return com_create_guid (); } el...
<?php namespace App\Http\Controllers; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; use Symfony\Component\HttpFoundation\Response; use Tymon\JWTAuth\Facades\JWTAuth; class AuthController extends Controller { public function register(Request $request) { /...
<?php /** * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. * * @package Fuel * @version 1.8.2 * @author Fuel Development Team * @license MIT License * @copyright 2010 - 2019 Fuel Development Team * @link https://fuelphp.com */ namespace Fuel\Core; /** * Autoloader clas...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class Rpost extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validat...
<?php require_once "../data/function.php"; $request = json_decode(file_get_contents('php://input'), true); $requestMethod = $_SERVER['REQUEST_METHOD']; switch ($requestMethod) { case 'POST': try { hapusKelas($request); if (mysqli_affected_rows($conn) > 0) { $response[...
<?php namespace App\Http\Controllers; use App\Http\Requests; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\UserAction; use App\Income; use App\Expense; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Carbon; class HomeController extends Controller { /** * Create a new co...
<?php namespace App\Http\Middleware; use Closure; use Session; class IsAdminLogin { public function handle($request, Closure $next) { if (!$request->session()->has('admin_login')) { return redirect()->route('AdminLogin'); } return $next($request); } }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0"> <meta name="description" content="Smarthr - Bootstrap Admin Template"> <meta name="keywords" content="admin, estimates, bootstrap, business, corporate, c...
<?php namespace App\Http\Controllers; use App\Models\Company; use Illuminate\Http\Request; class CompanyController extends Controller { /** * Display a template. * * @return \Illuminate\Contracts\Support\Renderable */ public function index() { return view('company.index'); ...
<?php assert(isset($rexFileCategory) && is_int($rexFileCategory)); $csrf = rex_csrf_token::factory('mediapool'); // ----- SYNC DB WITH FILES DIR // ---- Dateien aus dem Ordner lesen $folderFiles = []; $path = rex_path::media(); $iterator = rex_finder::factory($path)->filesOnly()->ignoreFiles(['.*', ...
<!DOCTYPE html> <html> <head> <title>WHITE LABEL</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <!-- Op...
<?php declare(strict_types=1); namespace J0hnys\Typed\Types; use J0hnys\Typed\Type; final class StringType implements Type { use Nullable; public function validate($value): string { return $value; } public function __toString(): string { return 'string'; } }
@extends('plantilla') @section('content') <div class="content-wrapper"> <section class="content-header"> <h1>Gestor de Doctores</h1> </section> <section class="content"> <div class="box"> <div class="box-header"> <button class="btn btn-primary btn-lg" data-togg...
<?php include_once("Php/Controller/InfraToolsFactory.php"); include_once("Php/Controller/ConfigInfraTools.php"); $InfraToolsFactory = InfraToolsFactory::__create(); $InfraToolsConfig = ConfigInfraTools::__create(); phpinfo(); ?>
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Dosen; class DosenController extends Controller { public function __construct() { $this->Dosen = new Dosen; } public function Dosen() { $data = ['Dosen'=>$this->Dosen->allData()]; return vie...
<?php namespace laboratorio\Providers; use Illuminate\Contracts\Auth\Access\Gate as GateContract; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array ...
<?php namespace Arbory\Base\Pages; use Illuminate\Database\Eloquent\Model; class Redirect extends Model { public const AVAILABLE_STATUSES = [ 301, 302 ]; /** * @var array */ protected $fillable = [ 'from_url', 'to_url', 'status' ]; /** ...
<?php namespace App; use App\role; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; use App\notifications\AdminResetPasswordNotify; class Admin extends Authenticatable { use Notifiable; public function role() { return $this->BelongsToMany(role::clas...
<?php namespace Respect\Validation\Rules\CountrySubdivision; use Respect\Validation\Rules\AbstractSearcher; /** * Validator for Russia country subdivision. * * ISO 3166-1 alpha-2: RU * * @link http://www.geonames.org/RU/administrative-division-russia.html */ class RuCountrySubdivision extends AbstractSearcher ...
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- | Register The Auto Loader |------------------------------------...
<?php namespace AppBundle\Entity; use AppBundle\Entity\Traits\BlameableUserEntity; use AppBundle\Entity\Traits\CommentTrait; use AppBundle\Entity\Traits\IdTrait; use AppBundle\Entity\Traits\LikeTrait; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; use Gedmo\Timestampable\Traits\Time...
<nav class="main-header navbar navbar-expand navbar-white navbar-light"> <!-- Left navbar links --> <ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a> </li> </ul> <!-- Right ...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); include"../includes/conecta.php"; $projeto = 4; session_start(); if(!isset($_SESSION['user']) || !isset($_SESSION['login']) || !isset($_SESSION['senha']) || !isset($_SESSION['nome']) || !isset($_SESSION['nivel'])) { echo "Esta área é restrita. Clique ";...