text
stringlengths
2
1.03M
<?php /** * Created by Reliese Model. */ namespace App\Models; use Carbon\Carbon; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; /** * Class Unidade * * @property int $id * @property string $nome * @property string|null $logo * @property string $usuario * @property st...
<?php return array ( 'barryvdh/laravel-debugbar' => array ( 'providers' => array ( 0 => 'Barryvdh\\Debugbar\\ServiceProvider', ), 'aliases' => array ( 'Debugbar' => 'Barryvdh\\Debugbar\\Facade', ), ), 'barryvdh/laravel-ide-helper' => array ( 'providers' => arra...
@include('templates.header') <script src="https://unpkg.com/vue@2.5.16/dist/vue.js"></script> <body class="nav-md"> <div class="container body"> <div class="main_container"> @include('templates.sidebar_left') <!-- top navigation --> @include('templates.top_navigation') <!-- /top navigation --> ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class MesPosible extends Model { protected $table = ['mesesPosibles']; protected $fillable = ['mes','id']; public function trabajadores() { $this->hasMany('App/Trabajador'); } }
<?php namespace MPQueue\OutPut; /** * 命令行输出 * Class OutPut * @package MPQueue\OutPut */ class OutPut { static private $outFile = null; /** * 设置输出文件 * @param $outFile */ public static function setOutFile($outFile = null){ self::$outFile = $outFile; } /** * 正常输出 ...
<?php if ( ! defined( 'ABSPATH' ) ) exit; /** * Class NF_Fields_ProductQuantity */ class NF_Fields_Quantity extends NF_Fields_Number { protected $_name = 'quantity'; protected $_section = ''; protected $_icon = 'hashtag'; protected $_aliases = array(); protected $_type = 'quantity'; prot...
<?php class pemberitahuan extends CI_Controller{ function __construct() { parent::__construct(); $this->load->model('model_daftar'); $this->load->library('ciqrcode'); chek_session(); } function index(){ $data['sekolah_otomatis'] = $this->model_daftar->tampi...
<?php $__env->startSection('breadcrumb'); ?> <li>ESTADOS</li> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-xs-12"> <div class="card"> <div class="card"> <div class="card-header"> <div class=...
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wc-settings', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shal...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace App\Support\Units; use App\Contracts\Unit; use PhpUnitsOfMeasure\PhysicalQuantity\Mass; class Fuel extends Unit { public $responseUnits = [ 'kg', 'lbs', ]; /** * @param float $value * @param string $unit * * @throws \PhpUnitsOfMeasure\Exception\NonNum...
<?php namespace AppBundle\Entity; /** * Project */ class Project { /** * @var string */ private $name; /** * @var \DateTime */ private $created = 'CURRENT_TIMESTAMP'; /** * @var \DateTime */ private $updated; /** * @var integer */ private $i...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
<div class="clearfix"></div> <div class="container_fullwidth"> <div class="col-sm-9" style="width: 100%;" > <div class="panel panel-default"> <div class="panel-body"> <!-- Hình ảnh --> <div class="col-sm-6"> <div class="panel panel-success"> <div class="panel-heading"><b>ẢN...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateStudentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('students', fu...
<?php namespace Oro\Bundle\ApiBundle\Tests\Unit\Metadata; use Oro\Bundle\ApiBundle\Metadata\FieldMetadata; use Oro\Bundle\ApiBundle\Util\ConfigUtil; /** * @SuppressWarnings(PHPMD.TooManyPublicMethods) */ class FieldMetadataTest extends \PHPUnit\Framework\TestCase { public function testClone() { $fi...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddMovilColumnToRepresentativesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table...
<?php /** * Author: Andrei Baicus <andrei@themeisle.com> * Created on: 17/10/2018 * * @package utilities.php */ /** * Check if we're delivering AMP * * @return bool */ function neve_is_amp() { return function_exists( 'is_amp_endpoint' ) && is_amp_endpoint(); } /** * Get hooks by location * ...
--TEST-- Test strripos() function : usage variations - heredoc string containing special chars for 'haystack' argument --FILE-- <?php /* Prototype : int strripos ( string $haystack, string $needle [, int $offset] ); * Description: Find position of last occurrence of a case-insensitive 'needle' in a 'haystack' * Sour...
<?php include_once 'customer_complaints_header.php'; ?> <div class="container"> <table class="table"> <thead> <th class="text-center">Sr. No</th> <th class="text-center">Complaint id</th> <th class="text-center">Complaint Body</th> <th class="text-center">Dep...
<?php $__env->startSection('content'); ?> <h1 class="mt-2 mb-3">Редактировать пост</h1> <form method="post" action="<?php echo e(route('post.update', ['id' => $post->post_id])); ?>" enctype="multipart/form-data"> <?php echo method_field('PATCH'); ?> <?php echo $__env->make('parts.form'...
<?php /** * GetDogmaDynamicItemsTypeIdItemIdOk * * PHP version 7.3 * * @category Class * @package Swagger\Client\Eve * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * EVE Swagger Interface * * An OpenAPI for EVE Online * * The version of the OpenAPI document: 1.10.1 ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateReportDepartTables extends Migration { /** * Run the migrations. */ public function up() { Schema::create('report_departs', function (Blueprint $table) { $table->increm...
<?php namespace app\admin\controller; use think\Controller; use think\Request; use think\Cache; use app\admin\repository\RoleRepository; use think\Validate; class RoleController extends Controller { protected $rep; public function __construct() { $this->rep = RoleRepository::repositoryInit(); } /** * [index ...
@extends('app') @section('content') <div class="container"> @include('common.errors') {!! Form::open(['route' => 'locations.store']) !!} @include('locations.fields') {!! Form::close() !!} </div> @endsection
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. T...
@section('meta') <title>{{$wipon->page_title_field}}</title> <meta name="description" content="{{$wipon->seo_description_field}}"> <meta name="keywords" content="{{$wipon->seo_keywords_field}}"> @include('front.seotext',['seo_text' => $wipon->seo_text_field]) @endsection
<!-- Notifications menu --> <li class="relative"> <button class="relative align-middle rounded-md focus:outline-none focus:shadow-outline-purple" @click="toggleNotificationsMenu" @keydown.escape="closeNotificationsMenu" @click.outside="closeNotificationsMenu" aria-label="Notifications" aria-...
<?php declare(strict_types=1); use Crwlr\RobotsTxt\RulePattern; use Crwlr\RobotsTxt\UserAgentGroup; use PHPUnit\Framework\TestCase; final class UserAgentGroupTest extends TestCase { private UserAgentGroup $userAgentGroup; protected function setUp(): void { $this->userAgentGroup = new UserAgentGr...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\HTML; use App\News; class NewsController extends Controller { public function index(Request $request) { $posts = News::all()->sortByDesc('updated_at'); //Eloquentを使いすべてのnewsテーブルを取得し、投稿日時順に新しい方から並べる ...
<?php namespace Google\AdsApi\AdWords\v201802\cm; /** * This file was generated from WSDL. DO NOT EDIT. */ class AdGroupAd { /** * @var int $adGroupId */ protected $adGroupId = null; /** * @var \Google\AdsApi\AdWords\v201802\cm\Ad $ad */ protected $ad = null; /** * @...
<!doctype html> <!--[if lt IE 7]><html lang="en" class="no-js ie6"><![endif]--> <!--[if IE 7]><html lang="en" class="no-js ie7"><![endif]--> <!--[if IE 8]><html lang="en" class="no-js ie8"><![endif]--> <!--[if gt IE 8]><!--> <html lang="en" class="no-js"> <!--<![endif]--> <!-- Start of edurepo Zendesk Widget script -->...
<?php /* * By adding type hints and enabling strict type checking, code can become * easier to read, self-documenting and reduce the number of potential bugs. * By default, type declarations are non-strict, which means they will attempt * to change the original type to match the type specified by the * type-decla...
<?php use yii\db\Migration; /** * Handles the creation of table `{{%user}}`. */ class m191028_125909_create_user_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->createTable('{{%user}}', [ 'id' => $this->primaryKey(), 'email' =>...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta name="description" content="" /> <meta name="author" content="" /> <title>Connexion HSP</title> <link rel="icon" type="image/x-icon" hre...
<?php /** * px2-move-contents path_detector */ namespace tomk79\pickles2\moveContents; /** * px2-move-contents path_detector */ class path_detector{ /** メインオブジェクト */ private $main; /** * constructor * @param mixed $main メインオブジェクト */ public function __construct($main){ $this->main = $main; } /** ...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Schema::defaultStringLength(7...
<?php /** * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyr...
<?php use App\Http\Controllers\Admin\Prospects\Activities\ProspectActivitiesController; // Prefix: admin/prospects/activities Route::get('{prospect}', [ProspectActivitiesController::class, 'index'])->name('dashboard'); Route::get('{prospect}/create', [ProspectActivitiesController::class, 'create'])->name('create'); ...
<?php $param1 = isset($type) ? $type.'/' : ''; $param2 = isset($lead_source) ? encode_id($lead_source).'/' : ''; $source = $this->config->item('lead_source'); ?> <div class="page-content"> <div class="container"> <div class="unassigned-content"> <div class="page-title"> <div cla...
<?php echo "Hello World! and this file is from pep app server in south east asia and end to end SSL". "<br>"; echo "Today is " . date("Y/m/d") . "<br>"; echo "Today is " . date("Y.m.d") . "<br>"; echo "Today is " . date("Y-m-d") . "<br>"; echo "-------------------"; echo "Today is " . date("l") . "<br>" ; echo "---...
<?php namespace RectorPrefix20210607; if (\class_exists('Tx_Extbase_Persistence_Generic_Exception_InconsistentQuerySettings')) { return; } class Tx_Extbase_Persistence_Generic_Exception_InconsistentQuerySettings { } \class_alias('Tx_Extbase_Persistence_Generic_Exception_InconsistentQuerySettings', 'Tx_Extbase_Per...
<?php /** * Event * * @author Team phpManufaktur <team@phpmanufaktur.info> * @link http://www.phpmanufaktur.info/de/kitframework/erweiterungen/event.php * @copyright 2013 Ralf Hertsch <ralf.hertsch@phpmanufaktur.de> * @license MIT License (MIT) http://www.opensource.org/licenses/MIT */ namespace phpManufaktur\...
<?php namespace Domains\Customer\Models; use Database\Factories\UserFactory; use Domains\Shared\Models\Concerns\HasUuid; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Rel...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Login</title> <!-- Bootst...
<?php /* * This file is part of the CoreB2C project. * * (c) CoreB2C project <http://github.com/coreb2c> * * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ namespace coreb2c\auth\controllers\rbac; use yii\rbac\Permission; use yi...
@extends('layouts.main') @section('title') {{$data['title']}} @endsection @section('navbar') @include('partials.navbar') @endsection @section('content-header') @push('icon-header') <i class="fas fa-tachometer-alt"></i> @endpush <div class="container"> @include('partials.content-header') ...
<?php namespace App\Http\Controllers\UserManagement; use App\Entities\Department; use App\Entities\Role; use App\Http\Requests\StoreUser; use App\Http\Requests\UpdateUser; use App\User; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Mekaeil\LaravelUserManagement\Http\Controllers\Admin\UsersContro...
<?php namespace models; class homeModel{ public static function getLojaItems(){ $sql = \MySql::conectar()->prepare("SELECT * FROM `tb_admin.estoque`"); $sql->execute(); return $sql->fetchAll(); } public static function getTotalCarrinho(){ ...
<?php namespace App\Http\Controllers; use DB; use Auth; use Illuminate\Http\Request; use Carbon\Carbon; use App\Http\Controllers\Controller; use App\Lib\Deposit\Stripe\Stripe; use App\Models\Cartorio as CartorioModel; use App\Models\Certidoe as CertidoeModel; use App\Models\CertidaoType as CertidaoTypeModel; use...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\ReceiptController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your applica...
<?php namespace App\Http\Controllers\User; use App\Events\UserProfileDetailsUpdates; use App\Http\Controllers\Controller; use App\Http\Requests\ProfileDetailsRequest; use App\Models\File; use App\Models\User; use App\Models\UserProfile; use App\Services\RecipeService; use App\Services\UserProfileService; use App\Servi...
<div class="row"> <div class="col-md-12 dd_dd"> <div class="col-md-6"> <div class="m1"> <a href="{{URL::to('main')}}"><img src="{{url('public/site/image/show_contest.png')}}">&nbsp;Show me contest</a> </div> <div class="dd211"> <p>Edit your team for </p> </div> ...
<?php return unserialize('a:1:{i:0;O:54:"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route":9:{s:10:"' . "\0" . '*' . "\0" . 'service";N;s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'path";s:4:"/img";s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'name"...
<?php /** * OuterEnum * * PHP version 7.1 * * @category Class * @package OpenAPI\Client * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this fo...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php include 'db_connection.php'; ?> <html> <head> <title>Issues Classification</title> <meta name="description" content="website description" /> <meta name="keywords" content="website keywords, website keywords" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <link rel="stylesheet"...
<?php Broadcast::channel('chat', function ($user) { return [ 'id' => $user->id, 'name' => $user->name ]; });
<?php date_default_timezone_set('America/El_Salvador');//seteamos zona horaria require_once('class.ezpdf.php');//llamamos libreria require '../logica/conexion.php'; $pdf = new Cezpdf('a4',"landscape"); //instacia de la clase, defino papel $pdf->selectFont('fonts/Helvetica.afm');//setemos la fuente $pdf->ezSetCmMargins(...
<?php /** * Created by PhpStorm. * User: bryce * Date: 9/13/15 * Time: 2:58 AM */ namespace WordWrap\Assets\View; use WordWrap\LifeCycle; class Editor extends View { /** * @var string the id of this editor */ private $editorId; /** * @var string the content to fill this editor with...
<table id="tracker" class="table table-hover table-condensed"> <thead> <tr> <th>Row</th> <th>Date</th> <th>Close...
<?php require_once(APPPATH."helpers/tgl_indo.php"); ?> <div class="content-wrapper"> <div class="container-fluid"> <!-- Breadcrumbs--> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="#">Kuesioner</a> </li> <li class="breadcrumb-item active">Halaman Ja...
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * Indicates whether the XSRF-TOKEN cookie should be set on the response. * * @var bool */ protected $addHttpCookie = true; /** ...
<div class="full-width bg-white col_padding_bottom"> <div class="content"> <div class="headbox"> <span class="text_left text-uppercase">Nghệ Sĩ Quan Tâm</span> </div> <hr /> @if(isset($artists) && count($artists) > 0) <div class="loader-container active" > ...
<?php class User extends CI_Model { protected $nama_table = 'users'; public function save() { $data = [ 'email' => $this->input->post('email'), 'password' => md5($this->input->post('password')), ]; if($this->db->insert($this->nama_table, $data)){ ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<?php /** * Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
<?php // This file is auto-generated. Do not edit!
<?php /** * @package Joomla.Platform * @subpackage Form * * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; JFormHelper::loadFieldClass('filelist'); /** * S...
@extends('layouts.app') @section('title', 'Dashboard') @section('content') <livewire:studentdashboard /> @endsection
--TEST-- swoole_coroutine: max coro nesting limit --SKIPIF-- <?php require __DIR__ . '/../include/skipif.inc'; ?> --FILE-- <?php require __DIR__ . '/../include/bootstrap.php'; function woo(int $current_deep, $target_deep) { $ret = go(function () use ($current_deep, $target_deep) { if ($current_deep++ >= $t...
<?php namespace App\Models; use App\Contracts\BookDetailInterface; use App\Contracts\BookInterface; use App\Contracts\CategoryInterface; use App\Contracts\LanguageInterface; use Illuminate\Contracts\Pagination\Paginator as PaginatorInterface; use Illuminate\Pagination\Paginator; use Symfony\Component\DomCrawler\Crawl...
<div class="row wrapper border-bottom white-bg page-heading"> <div class="col-lg-10"> <h2>Usuários Cadastrados</h2> <ol class="breadcrumb"> <li> <a href="<?=base_url('/dashboard')?>">Dashboard</a> </li> <li> <a href="<?=base_url('/k...
<?php /** * This file is part of the Nette Framework (https://nette.org) * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); namespace ECSPrefix20220418\Nette\Utils; use ECSPrefix20220418\Nette; /** * Floating-point numbers comparison. */ class Floats { use Nette\StaticClas...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use App\ResearchPapers; class ResearchPaperSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $data1 = ResearchPapers::get(); DB::table('research_pap...
<?php namespace Email_Campaign\Http\Controllers\Auth; use Email_Campaign\User; use Email_Campaign\Http\Controllers\Controller; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController extends Controller { /* |------...
<?php use App\User; use Illuminate\Database\Seeder; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { factory(User::class)->times(29)->create(); User::create([ 'name' => 'lorem ipsum', ...
<?php namespace App\Models; use CodeIgniter\Model; class UsersModel extends Model { protected $table = 'users'; protected $primaryKey= 'id'; protected $allowedFields = ['name','email','password']; }
<?php defined( 'ABSPATH' ) || exit; global $wpdb; $message_id = false; if(isset($_GET['message_id'])) $message_id = intval($_GET['message_id']); $participants = BP_Better_Messages()->functions->get_participants( $thread_id ); if($message_id){ $stacks = BP_Better_Messages()->functions->get_stacks( $thread_id, $message_...
<x-app-layout> <x-slot name="header"> <div class="flex justify-between"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('Add New Invoice') }} </h2> <a href="{{ route('invoice.index') }}" class="border border-emerald-400 px-3 py-1">Bac...
<?php namespace Webparking\TypeSafeCollection\Tests\Feature; use Webparking\TypeSafeCollection\Tests\Data\Comment; use Webparking\TypeSafeCollection\Tests\Data\User; use Webparking\TypeSafeCollection\Tests\Data\UserCollection; use Webparking\TypeSafeCollection\Tests\TestCase; class ConstructorTest extends TestCase {...
<?php namespace App\Http\Controllers\Api; use App\Http\Controllers\ResourceController; use Illuminate\Http\Request; use App\Models\Sale; use App\Models\Coupon; use App\Models\SaleItems; use App\Models\SalesItem; use App\Mail\PurchaseSuccessful; use App\Models\Location; use App\Mail\NewSale; use Illuminate\Support\Fac...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\admin\models\user */ $this->title = 'Update User: ' . $model->id; $this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->...
<?php namespace Drupal\Core\Config; use Drupal\Core\Extension\ExtensionDiscovery; use Drupal\Core\Extension\Extension; use Drupal\Core\Extension\ProfileHandlerInterface; /** * Storage used by the Drupal installer. * * This storage performs a full filesystem scan to discover all available * extensions and reads f...
@foreach($dispute as $message) @if($message->user_id != auth()->id()) @php $user = \App\User::where('id', $message->user_id)->first(); @endphp @if($user->hasRole('admin')) <div style="height:40px;width:40px;float:right;border: 1px solid darkgray; bord...
<?php namespace App\Http\Middleware; use Closure; use JWTAuth; use Exception; use Tymon\JWTAuth\Facades\JWTAuth as FacadesJWTAuth; use Tymon\JWTAuth\Http\Middleware\BaseMiddleware; class JwtMiddleware extends BaseMiddleware { /** * Handle an incoming request. * * @param \Illuminate\Http\Request...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
<!DOCTYPE html> <html lang="ar"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Example 1</title> <style> .clearfix:after { display: table; clear: both; } a { color: #5D6975; text-decoration: underlin...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Category extends Model { use HasFactory; protected $table = 'categories'; protected $fillable = ['id','nama_kategori','created_at','updated_at']; }
<?php /** * BasesfGuardForgotPassword * * This class has been auto-generated by the Doctrine ORM Framework * * @property integer $user_id * @property string $unique_key * @property timestamp $expires_at * @property sfGuardUser $User * * @method integer getUserId() Returns the current rec...
<?php namespace Amp\File; use Amp\ByteStream\ClosedException; use Amp\ByteStream\StreamException; use Amp\Parallel\Worker\TaskException; use Amp\Parallel\Worker\Worker; use Amp\Parallel\Worker\WorkerException; use Amp\Promise; use Amp\Success; use function Amp\call; final class ParallelFile implements File { /**...
<form id='dpForm' action="{{ route('profile.update_avatar',['user'=>Auth::user()]) }}" method="post" enctype="multipart/form-data"> @csrf <div class="d-flex justify-content-end" > <input id="profile-image-upload" class="hidden" type="file" onchange="readURL(this);"> <input id="profile-image-link" class="hi...
<?php namespace BioprogrammeProductionBundle\Form; use BioprogrammeBranchBundle\Entity\Base; use BioprogrammeProductionBundle\Entity\MachineOrderReference; use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\...
<?php namespace TYPO3\CMS\Form\Tests\Unit\Filter; /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and licens...
<?php use app\models\UserFunction; use app\widgets\SimpleDynaGrid; use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $searchModel app\models\search\UserSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ /* @var $role \app\models\Roles */ $this->title = $role->name.Yii::t('app', 'User Config'); ...
<?php echo MD5("000000a");
<?php /* Project Name: IonicEcommerce Project URI: http://ionicecommerce.com Author: VectorCoder Team Author URI: http://vectorcoder.com/ Version: 2.1 */ namespace App\Http\Controllers\App; //validator is builtin class in laravel use Validator; use DB; //for password encryption or hash protected use Hash; use App\Adm...
<?php namespace tea\tests\syntax; use tea\tests\PHPDemoUnit\{ NS1\Demo as PHPClassDemo, function php_function_demo, const PHP_CONST_DEMO }; require_once dirname(__DIR__, 1) . '/__public.php'; require_once UNIT_PATH . '_mixed2.php'; #internal class TeaDemoClass { public static $static_prop1 = 'static prop value'; ...
<?php return [ // ----------------------- 菜单配置 ----------------------- // 'config' => [ // 菜单配置 'menu' => [ 'location' => 'default', // default:系统顶部菜单;addons:应用中心菜单 'icon' => 'fa fa-wechat', ], // 子模块配置 'modules' => [ ], ], // --...
@extends('layouts.admin') @section('content') <div class="container"> <div class="row"> <h3>Nova Categoria</h3> <?php $icon = Icon::create('floppy-disk'); ?> {!! form($form->add('salve', 'submit', [ 'attr' => ['class' => 'btn btn-primary btn-...