text stringlengths 2 1.03M |
|---|
@extends('joesama/entree::layouts.content')
@push('content.style')
@endpush
@section('content')
<div class="row mb-3">
<div class="col-md-12">
<div class="panel">
<div class="panel-body">
{!! $view !!}
</div>
<div class="panel-footer text-right">
@php
$listUrl = request()->segme... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Chat extends Model
{
protected $table = 'chats';
protected $fillable=['title','receiver_id','sender_id','content'];
public function receiver ()
{
return $this->belongsTo('App\User','receiver_id');
}
public function s... |
<?php
require '../core/objects/Form.php';
require '../core/objects/Combobox.php';
require '../core/objects/GQArray.php';
require '../core/objects/World.php';
?>
<ul class="breadcrumb">
<li><a href="index.php">Home</a></li>
<li class="active">Sign Up</li>
</ul>
<?php
$form = new Form("Sign Up", "access/signup", ... |
@extends('layout.main')
@section('title', 'Home')
@section('content')
<section class="content">
<div class="col-md-12">
{!! session('displayMessage') !!}
<div class="box">
<div class="box-header">
<form style="float: right;" class="form-inline">
<div class="form-gro... |
<?php
namespace PhalconX\Helper;
use PhalconX\Test\TestCase;
/**
* TestCase for ClassParser
*/
class ClassParserTest extends TestCase
{
} |
@extends('admin.layouts.master')
@push('title')
ADMIN | DASHBOARD
@endpush
@push('css')
@endpush
@push('breadcrumbs')
<h1 class="mb-0 pb-0 display-4" id="title">E-learning Dashboard</h1>
<nav class="breadcrumb-container d-inline-block" aria-label="breadcrumb">
<ul class="breadcrumb pt-0">
<li class=... |
@extends($theme_back)
{{-- Web site Title --}}
@section('title')
{{ Lang::choice('core::account.site', 2) }} :: @parent
@stop
@section('styles')
<link href="{{ asset('assets/vendors/DataTables-1.10.7/plugins/integration/bootstrap/3/dataTables.bootstrap.css') }}" rel="stylesheet">
@stop
@section('scripts')
<script ... |
<?php
namespace FedEx\TrackService\ComplexType;
use FedEx\AbstractComplexType;
/**
* Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within t... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Fortify\TwoFactorAuthenticatable;
use Laravel\Jetstream\HasProfilePhoto;
use La... |
@extends('layouts.app')
@section('content')
<h1>403 Forbidden.</h1>
<p>您沒有權限可以執行目前的動作喔!</p>
@endsection |
<?php
namespace App\Http\Livewire\Backend;
use Livewire\Component;
class SiteConfig extends Component
{
public $state;
public function store()
{
dd('done');
}
public function render()
{
return view('livewire.backend.site-config');
}
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMessagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('messages', fun... |
<?php
/*
* Copyright 2014 Brian Smith <wormling@gmail.com>.
*
* 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 b... |
<?php
namespace WeglotWP\Services;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use WeglotWP\Helpers\Helper_Json_Inline_Weglot;
use WeglotWP\Helpers\Helper_Keys_Json_Weglot;
use Weglot\Client\Api\WordCollection;
use Weglot\Client\Api\TranslateEntry;
use Weglot\Client\Endpoint\Translate;
use Weglot\Client\Api\WordEntry;... |
<script src="/inspinia/js/bootstrap.min.js"></script>
<script src="/inspinia/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="/inspinia/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<!-- Custom and plugin javascript -->
<script src="/inspinia/js/inspinia.js"></script>
<script src="/inspinia... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTodosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('todos', function ... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* lo... |
<?php
declare(strict_types=1);
namespace PhpAT\Rule;
use PhpAT\Rule\Type\RuleType;
use PhpAT\Selector\SelectorInterface;
/**
* Class Rule
*
* @package PhpAT\Rule
*/
class Rule
{
/**
* @var SelectorInterface[]
*/
private $origin;
/**
* @var SelectorInterface[]
*/
private $orig... |
<?php
namespace shop\services\auth;
use shop\repositories\UsersRepository;
use shop\forms\auth\SignupForm;
use shop\entities\user\User;
use yii\mail\MailerInterface;
class SignupService
{
private $mailer;
private $users;
public function __construct(UsersRepository $users, MailerInterface $mailer)
{... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your module. These
| routes are loaded by the RouteServiceProvide... |
@extends('template.app')
<!-- Main Content -->
@section('content')
<div style="height:150px"></div>
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h2>Reset Password</h2>
<div class="panel panel-default">
<div class="panel-heading">... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTasksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tasks', function ... |
<?php
namespace Xmarket\Http\Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array
*/
protected $proxies;
/**
* The current proxy header mapp... |
<?php
declare(strict_types=1);
/**
* Copyright (c) 2016-2022 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
*
* @see https://github.com/ergebnis/github-changelog
*/
namespace Ergebnis\GitHub\Changelog\Test\AutoRe... |
<?php
Auth::routes();
Route::get('/', 'HomeController@index')->name('home');
Route::resource('usuarios', 'UserController');
Route::resource('alumno', 'Alumnos');
Route::resource('clase', 'Clases');
Route::resource('carrera', 'Carreras');
Route::resource('periodo', 'Periodos');
Route::resource('historial', 'Hi... |
<?php
namespace App\Models;
use CodeIgniter\Model;
class DbSepatuIsh extends Model
{
public function getSepatu()
{
return [
[
'merk' => 'Nike',
'harga' => 375000
],
[
'merk' => 'Adidas',
'harga' => 300... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
/**
* paypaldp.php payment module class for Paypal Website Payments Pro
*
* @package paymentMethod
* @copyright Copyright 2003-2010 Zen Cart Development Team
* @copyright Portions Copyright 2005 CardinalCommerce
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.... |
@extends('home.layouts.master')
@section('content')
<div class="container mt-5">
<div class="row">
@include('member.layouts.menu')
<div class="col-sm-9">
<div class="container-fluid">
@if($followings->count() == 0)
<p class=... |
<?php
namespace app\modules\bot\controllers\privates;
use Yii;
use app\modules\bot\components\Controller;
use app\modules\bot\components\helpers\Emoji;
/**
* Class TelegramController
*
* @package app\modules\bot\controllers\privates
*/
class TelegramController extends Controller
{
/**
* @return array
... |
<?php
namespace App\Repositories;
use App\Interfaces\UsuarioInterface;
use App\Models\Usuario;
use App\Models\Token;
use App\Functions\Pagination;
use Illuminate\Support\Facades\DB;
use DateTime;
//Camada de repositório, unica que deverá fazer buscas e alterações no banco de dados
class UsuarioRepository implements... |
@extends('layouts.app', ['title' => __('Issue Management')])
@section('content')
@include('admin.users.partials.header', ['title' => __('Add Issue')])
<div class="container-fluid mt--7">
<div class="row">
<div class="col-xl-12 order-xl-1">
<div class="card bg-secondary shad... |
<!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.0">
{{-- <meta name="viewport" content="width=1050, initial-scale=1.0" /> --}}
{{-- <meta name="viewport" content="... |
<?php return array (
'providers' =>
array (
0 => 'Illuminate\\Auth\\AuthServiceProvider',
1 => 'Illuminate\\Broadcasting\\BroadcastServiceProvider',
2 => 'Illuminate\\Bus\\BusServiceProvider',
3 => 'Illuminate\\Cache\\CacheServiceProvider',
4 => 'Illuminate\\Foundation\\Providers\\ConsoleSuppor... |
<?hh // strict
abstract class Box<T> {
abstract const type TValue;
final public function getResult(): T {
// UNSAFE
}
}
abstract class Box2 extends Box<this::TValue> {}
abstract class ReadResult extends Box2 {}
abstract class TaoQuery<TGen, TGenw as Box<TGen>> {
abstract const type TResult as Box2;
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
class AdsManagerController extends Controller
{
public function index() {
$pageTitle = 'Ads Manager';
$allAdsManager = ... |
<?php
// Usage
$book = new SimpleBook("Gamma, Helm, Johnson, and Vlissides", "Design Patterns");
$bookAdapter = new BookAdapter($book);
echo 'Author and Title: '.$bookAdapter->getAuthorAndTitle(); |
<?php
return [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mail',
// send all mails to a file by default. You have to set
// 'useFileTransport' to false and configure a transport
// for the mailer to send real emails.
'useFileTransport' => YII_ENV_DEV,
... |
<?php
/**
* Model Manager class
* Manage custom post types, taxonomies, meta data
*
* @author peshkov@UD
* @version 0.1.0
* @package UsabilityDynamics
* @subpackage lib-model
*/
namespace UsabilityDynamics\Model {
if( !class_exists( 'UsabilityDynamics\Model\Manager' ) ) {
class Manager {
/**... |
<?php
namespace WPML\PB\Gutenberg\StringsInBlock;
interface StringsInBlock {
/**
* @param \WP_Block_Parser_Block $block
*
* @return array
*/
public function find( \WP_Block_Parser_Block $block );
/**
* @param \WP_Block_Parser_Block $block
* @param array $string_translations
* @param... |
<?php
namespace App\Http\Middleware;
use Closure;
class AuthenticateWithToken {
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$data = count(\Input::all()) > 0 ? \Input:... |
<?php
/**
* This source file is part of the open source project
* ExpressionEngine (https://expressionengine.com)
*
* @link https://expressionengine.com/
* @copyright Copyright (c) 2003-2021, Packet Tide, LLC (https://www.packettide.com)
* @license https://expressionengine.com/license Licensed under Apache... |
--TEST--
Test mb_strrpos() function : usage variations - Pass different data types as $offset arg
--SKIPIF--
<?php
extension_loaded('mbstring') or die('skip');
function_exists('mb_strrpos') or die("skip mb_strrpos() is not available in this build");
?>
?>
<?php
/* Prototype : int mb_strrpos(string $haystack, string $n... |
@extends('layouts.base')
@section('content')
<div class="container-fluid">
<!-- Page-Title -->
<div class="row">
<div class="col-sm-12">
<div class="page-title-box">
<div class="row">
<div class="col">
... |
<?php
/**
* Copyright 2017 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
namespace PHPCraftdream\NirvanaPHP\DefineTraits {
use League\Route\RouteCollection;
use League\Route\RouteCollectionInterface;
trait Router {
protected $router;
public function getRouter(): RouteCollectionInterface {
if (!empty($this->router)) {
return $this->router;
}
$router = new Route... |
<?php
namespace pfcEditor\Component;
use PFC\Editor\Component\ComponentController;
class tools extends ComponentController
{
} |
<?php
if(!class_exists('Ultimate_Icon_Timeline'))
{
class Ultimate_Icon_Timeline
{
function __construct()
{
if ( Ultimate_VC_Addons::$uavc_editor_enable ) {
add_action('init', array($this, 'add_icon_timeline'));
}
add_shortcode( 'icon_timeline', array($this, 'icon_timeline' ) );
add_shortcode( 'ic... |
@extends('layouts.admin')
@section('title', 'Alle Veranstaltungen anzeigen')
@section('scripts')
<script type="text/javascript">
$(document).ready(function() {
$('#datatable').dataTable({
"oLanguage": {
"sUrl": "{{ URL::asset('assets/js/dataTables.german.txt') }}"
},
"aoColumns": [
null,
... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Auth;
use Browser;
class User extends Authenticatable
{
use HasFactory, Notifiable... |
<?php
namespace App\Repositories\Eloquent;
use App\Repositories\Eloquent\EloquentRepositoryInterface;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
/**
* Abstract class BaseRepository
* @package App\Repositories\Eloquent
*/
class BaseRepository implements EloquentRepositoryI... |
<div class="sidebar-wrapper" data-simplebar="true">
<div class="sidebar-header">
<div>
<img src="{{ 'backend/assets/images/ctp.png' }}" style="width: 80px" class="logo-icon"
alt="logo icon">
</div>
<div>
<h4 class="logo-text">C.T.P</h4>
</div>
... |
<?php
/**
* Copyright (c) 2013-2017
*
* @category Library
* @package Dwoo\Plugins\Functions
* @author Jordi Boggiano <j.boggiano@seld.be>
* @author David Sanchez <david38sanchez@gmail.com>
* @copyright 2008-2013 Jordi Boggiano
* @copyright 2013-2017 David Sanchez
* @license http://dwoo.org/LICENSE M... |
<?php
namespace Spinen\ConnectWise\Models\v2018_5\Project;
use Carbon\Carbon;
use Spinen\ConnectWise\Support\Model;
/**
* Class StatusIndicator Version v2018_5
*
* Model for StatusIndicator
*
* @property Metadata $_info
* @property integer $id
* @property string $color
* @property string $icon
* @property s... |
<?php error_reporting (-1); ?>
<LINK href="/wp-includes/css/mexicoaqui.css" rel="stylesheet" type="text/css">
<div id="classiwrapper">
<?php if (!is_admin()): ?>
<?php echo awpcp_menu_items() ?>
<?php endif ?>
<h2><?php _e('Select Payment/Category', 'AWPCP') ?></h2>
<?php foreach ($header as $part): ?>
<p><?php... |
<?php
namespace App\Http\Controllers;
use App\Models\Mm;
use Illuminate\Http\Request;
class MmController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$mms =Mm::all();
return view('mm.in... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Register</div>
<div class="panel-body">
<form class="for... |
@extends('layout.empty')
@section('title', '404 Error')
@section('content')
<!-- BEGIN error -->
<div class="error-page">
<!-- BEGIN error-page-content -->
<div class="error-page-content">
<div class="error-img">
<div class="error-img-code">404</div>
... |
<div id="mfadd" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog">
<div class="modal-dialog modal-md">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
<h4 class="modal-title">Upload Media</... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCoSoHNYDTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('Co_so_HNYD', f... |
<?php
namespace App\Models;
use CodeIgniter\Model;
class ProdukModel extends Model {
protected $table = 'produk';
public function getProduk($id = false){
if ($id == false) {
return $this->table('produk')
->get()->getResultArray();
} else {
return $thi... |
<?php
$cat = $_GET['cat'];
if(!isset($cat)) {
die('No category found!');
}
$ano_atual = date('y', time());
$ano_anterior = $ano_atual - 1;
$categorias = array("easter_c$ano_anterior", "easter_c$ano_atual", "xmas_c$ano_anterior", "xmas_c$ano_atual", "val_c$ano_anterior", "val_c$ano_atual", "hween_c$ano_anterior", "hwe... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddForeignKeysToCommentairesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('c... |
<?php
return array(
'Select' => 'Seç',
'Deselect_All' => 'Deselect All',
'Select_All' => 'Select All',
'Erase' => 'Sil',
'Open' => 'Aç',
'Confirm_del' => 'Bu faylı silmek istədiyinizdə əminsinizmi?',
'All' => 'Hamısı',
'Files' => 'Fayllar',
'Images' => 'Şəkillər',
'Archives' =>... |
@extends('layouts.html')
@section('content')
<section class="section login registro">
<div class="row no-gutters">
<div class="card card--login">
{!! Form::open(['route' => ['register'], 'class' => 'login__form']) !!}
<div class="login__header">
<h1 class="h2 ... |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "article".
*
* @property int $id ID
* @property string $title 标题
* @property string $content 内容
* @property int $category_id 分类
* @property int $status 状态
* @property int $created_by 创建人
* @property int $created_at 创建时间
* @prop... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Cambio;
class CambioController extends Controller
{
/**
* Lista de tipos de cambio ordenados por fecha de creación
* Los más recientes primero
*
* @return \Illuminate\Http\Response
*
*/
public ... |
<?php
/**
* The template for displaying Search Results pages.
* @package SpatialPixel
*/
echo NullHeader();
echo NullSection(
NullBreadcrumb(array('before' => NullTag('h1', 'Search')))
. NullHeroText(NullTag('p', 'Searching for “' . get_search_query() . '.”'))
);
echo NullLoop(array(
'num_colu... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit8900b003109e7d6420285c28fb9f8662::getLoader(); |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Dichvu_widget extends MY_Widget
{
// Nhận 2 biến truyền vào
function index(){
$this->load->model('f_homemodel');
$this->load->model('f_newsmodel');
$data['dichvu'] = $this->f_homemodel->get_data123('news_category... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCategoryTranslationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ca... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\models\InternetSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Internets');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="internet-index">
<h1><?... |
<!-- Default box -->
<div id="konten">
<div class="kotak-sp_jlh_wisman box-default">
<div class="box-header with-border">
<table border="0">
<tr>
<td class="col-xs-0">
<div class="btn-group">
<button type="bu... |
<?php
declare(strict_types=1);
/**
* Copyright (C) 2020 NxtLvL Software Solutions
*
* @author Jack Noordhuis <me@jacknoordhuis.net>
* @copyright NxtLvL Software Solutions
*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, s... |
<?php
/**
* Created by PhpStorm.
* User: kostys
* Date: 06.10.15
* Time: 14:59
*/
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
$this->title = 'Анкета абитуриента';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="col-lg-9">
<h1>Анкета убиту... |
<!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>SB Admin 2 - Blank</title... |
@extends('layouts.plantilla')
@section('title', 'Proyectos')
@section('content')
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://cdn.jsdeli... |
<?php
declare (strict_types = 1);
namespace Dumplie\Customer\Domain;
use Dumplie\Customer\Domain\Exception\EmptyCartException;
use Dumplie\Customer\Domain\Exception\ProductNotFoundException;
final class Checkout
{
/**
* @var CartId
*/
private $cartId;
/**
* @var Address
*/
priva... |
<?php
/**
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* This file is licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
... |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Validates values using callback functions or methods
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.01 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.p... |
<?php
namespace App\Http\Controllers;
use App\Components\MenuRecusive;
use App\Menu;
use Illuminate\Http\Request;
class MenuController extends Controller
{
private $menuRecusive;
private $menu;
public function __construct(MenuRecusive $menuRecusive, Menu $menu)
{
$this->menuRecusive = $menuRe... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php',
'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php',
'App\\Http\\Controllers\\App... |
<?php
/**
* This file is part of SDL package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Serafim\SDL\Enum;
use Serafim\SDL\Internal\Mapping\EnumDefinition;
#[EnumDefinition(name: 'SDL_Game... |
<?php
namespace PHPCR\Tests\Reading;
use PHPCR\PropertyInterface;
require_once(__DIR__ . '/../../inc/BaseCase.php');
// According to PHPCR\BinaryInterface
/**
* §5.10.5
*/
class BinaryReadMethodsTest extends \PHPCR\Test\BaseCase
{
/** @var PropertyInterface */
private $binaryProperty;
private $decoded... |
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. Thi... |
<?php
declare(strict_types=1);
namespace App\Entity\Traits;
use App\Entity\Interfaces\EntityGroupsInterface;
use Doctrine\ORM\Mapping as ORM;
use OpenApi\Annotations as OA;
use RuntimeException;
use Symfony\Component\Serializer\Annotation\Groups;
/**
* @OA\Schema(type="object")
*/
trait HasAutoIncrementId
{
/... |
<?php $config = include('config.php'); ?>
<html>
<head>
<link href="css/main.css" rel="stylesheet" type="text/css"/>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://cdn.datatables.net/1.10.9/css/dataTables.bootstrap.min.css... |
<?php declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20181117154052 extends AbstractMigration
{
public function up(Schema $schema) : void
{
... |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
$series = get_the_terms( $post, 'series');
$speaker = get_the_terms( $post, 'speakers');
if ($series){
$posts_array = get_posts(
array(
'posts_per_page' => -1,
'post_type' => 'attachment',
'tax_query' =... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateCourseRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
if (auth()->check() && auth()->user(... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Cliente;
class ClienteControlador extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//$clientes = Cliente::all();
$... |
<?php
namespace App\Models;
use App\Contracts\Api\Auth\TFAUser;
use App\Models\Auth\RefreshToken;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContr... |
<?php
declare(strict_types=1);
namespace Pac\Command;
use Pac\Console\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class ClearCacheCommand extends Command
{
protected function configure()
{
$this
->setName('cache:clear'... |
<?php
/*
* This file is part of the memio/validator package.
*
* (c) Loïc Faugeron <faugeron.loic@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Memio\Validator\Violation;
use PhpSpec\ObjectBehavior;
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header">Pessoas</div>
<div class="card-body">
... |
<?php
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Language" content="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Payroll</title>
<meta name="viewport"
content="width=devi... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateWantToVisitsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('want_to_vi... |
<div class="navbar-fixed">
<nav class="teal" role="navigation">
<!-- Dropdown Menu Control-->
<ul id="dropdownMenu" class="dropdown-content">
{{--<li><a href="#!" class="waves-effect waves-teal">Perfil </a></li>--}}
@if(Entrust::hasRole(['administrator','planner','signup'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.