text stringlengths 2 1.03M |
|---|
<?php
declare(strict_types=1);
namespace Rector\NodeTypeResolver\NodeVisitor;
use PhpParser\Node;
use PhpParser\Node\Stmt\Namespace_;
use PhpParser\Node\Stmt\Use_;
use PhpParser\NodeVisitorAbstract;
use Rector\Core\PhpParser\Node\BetterNodeFinder;
use Rector\NodeTypeResolver\Node\AttributeKey;
final class Namespace... |
--TEST--
Test array_diff_key() function : usage variation - Passing float indexed array
--FILE--
<?php
/* Prototype : array array_diff_key(array arr1, array arr2 [, array ...])
* Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments.
* Source code: ext/standard... |
@extends('admin.layouts.app')
@section('content')
<div class="col-md-6" style="display: block;">
<a class="btn btn-warning" href="{{route('comments.create')}}" role="button"> @include('admin.layouts.rightarrow') Add New Comment</a>
</div>
<table class="table mt-3">
<thead>
<tr>
... |
@include('layouts.header')
@yield('it')
@include('layouts.footer') |
<?php
/**
* @author Guillaume Gagnaire <contact@42php.com>
* @link https://www.github.com/42php/42php
* @license https://opensource.org/licenses/mit-license.html MIT
* @copyright 2015-2017 42php
*/
namespace Core;
/**
* Handle a REST API
*
* Class Api
* @package Co... |
<?php
namespace app\core;
/**
* Inspired by Composer/ClassLoader
*/
class Loader
{
protected $dirs = [];
/**
* Add dir lookup
*
* @param string $dir
*/
public function add($dir)
{
$this->dirs[] = rtrim(strtr($dir, '\\', '/'), '/').'/';
return $this;
}
/... |
<?php
use Illuminate\Database\Seeder;
class PersonSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(App\Person::class, 150)->create()->each(function ($person) {
$log = factory(App\Log::class)->make();
... |
<?php
return array (
'Next' => 'Далее',
'Of course, your new social network needs a name. Please change the default name with one you like. (For example the name of your company, organization or club)' => 'Конечно, ваша новая социальная сеть нуждается в названии. Пожалуйста, измените название по умолчанию на то, ко... |
<?hh
<<__EntryPoint>> function main(): void {
echo "\n*** Testing array_keys() on various arrays ***";
$arrays = varray[
varray[],
varray[0],
varray[ varray[] ],
darray["Hello" => "World"],
darray["" => ""],
darray[0 => 1, 1 => 2, 2 => 3, "d" => varray[4,6, "d"]],
darray["a" => 1, "b" => 2, "c" =>3, "d" =... |
<?php
namespace App\Providers;
use DB;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* List of Local Enviroment Providers
* @var array
*/
protected $localProviders = [
\Barryvdh\LaravelIdeHelper\Ide... |
<?php
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Default utility for PHP sub-processes.
*
* @since Class available since Release 3.... |
<?
$MESS["CATALOG_RECOMMENDED_PRODUCTS_TPL_ELEMENT_DELETE_CONFIRM"] = "Будет удалена вся информация, связанная с этой записью. Продолжить?";
$MESS["CATALOG_RECOMMENDED_PRODUCTS_TPL_MESS_BTN_BUY"] = "Купить";
$MESS["CATALOG_RECOMMENDED_PRODUCTS_TPL_MESS_BTN_ADD_TO_BASKET"] = "В корзину";
$MESS["CATALOG_RECOMMENDED_PRODU... |
<?php
namespace Phalcon\Test\Unit\Mvc\Model\MetaData;
use Phalcon\Di;
use UnitTester;
use Phalcon\Test\Models\Robots;
use Phalcon\Test\Proxy\Mvc\Model\Metadata\Libmemcached;
/**
* \Phalcon\Test\Unit\Mvc\Model\Metadata\LibmemcachedCest
* Tests the \Phalcon\Mvc\Model\Metadata\Libmemcached component
*
* @copyright ... |
<?php
namespace App\Controller\System;
use App\Controller\Core\Application;
use Doctrine\DBAL\DBALException;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
class FilesSearchController extends AbstractController
{
/**
* @var Application
*/
private $app;
public function __c... |
<?php
/**
* Created by PhpStorm.
* User: admin
* Date: 2018/11/30
* Time: 17:17
*/
//两数之和
/**
* @param $arr
* @param $num
* @return array
*/
function num_and($arr, $num){
for ($i=0;$i<count($arr);$i++){
$target = $num-$arr[$i];
for ($j=$i+1;$j<count($arr);$j++){
if ($arr[$j]==$... |
<?php
class LDAP {
public static function getLDAPByMultiple($types, $values)
{
return LdapLookup::lookupUserDetailsByKeys($values, $types, true, false);
}
public static function getLDAP($type, $value)
{
return LdapLookup::lookupUserDetailsByKeys(array($value), array($type), true, false);
}
}
# adapted fro... |
<input type="text" class="gdpr-text-field" name="gdpr_popup_dismiss_text" value="<?php if($content!=""){?>
<?= esc_html_x($content, 'gdpr-framework');?>
<?php } else { ?><?= esc_html_x('Decline', 'gdpr-framework');?><?php } ?>" /> |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTopicsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('topics', functio... |
<?php
use Mockery as m;
class DatabaseSoftDeletingTraitTest extends PHPUnit_Framework_TestCase
{
public function tearDown()
{
m::close();
}
public function testDeleteSetsSoftDeletedColumn()
{
$model = m::mock('DatabaseSoftDeletingTraitStub');
$model->shouldDeferMissing();
... |
<div class="container-fluid">
<!-- Icon Cards-->
<div class="row">
<div class="col-lg-12" style="margin-top: 130px;">
<center>
<b><font style='font-size: 100px; color: #f44336;'>404</font><b><br>
<b><font style='font-size: 50px;'>Halaman Tidak Ditemukan</font><b>
</center>
... |
<?php
namespace Wargame;
/**
* Copyright 2015 David Rodal
* User: David Markarian Rodal
* Date: 12/19/15
* Time: 11:01 AM
*
* This program 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 vers... |
<?php
ini_set('display_errors', "on");
//ini_set('error_reporting', E_ALL & ~E_NOTICE);
ini_set('error_reporting', E_ALL);
include_once 'human_gateway_client_api/HumanClientMain.php';
$account = "conta";
$password="senha";
$body = "Este e um teste de envio de mensagem simples utilizando php.";
$to="550091951711";
$m... |
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('Autos') }} </h2>
</x-slot>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 ml-8 mr-8">
@forelse($autos as $auto)
<div class="m-3 text-center shadow mt-5 ">
... |
<?php
/* @var $this yii\web\View */
$this->title = 'My Yii Application';
?>
<div class="site-index">
<div class="jumbotron">
</div>
<div class="body-content">
<div class="row">
<div class="col-lg-4">
<h2>List of functions</h2>
<p>Exhaustive ... |
<?php
/* This file has been prefixed by <PHP-Prefixer> for "Hello Prefixed World for Joomla" */
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nunito:... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Extcad extends CI_Controller {
public function index()
{
$this->load->library('upload');
$this->load->view('extcad.php');
$this->load->helper('url');
}
public function send()
{
$subject = ... |
<?php
namespace app\admin\controller;
class Readset extends Comm{
public function readset()
{
return view();
}
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class LandingPageController extends Controller
{
public function __invoke()
{
if(admin()) return redirect(route('admin.home'));
return redirect(route('home'));
}
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class WelcomeController extends Controller
{
public function index()
{
return view('Welcome');
}
} |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\ConditionLimitNumber */
$this->title = 'Update Condition Limit Number: ' . $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Condition Limit Numbers', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $mode... |
<?php
namespace Oro\Bundle\ApiBundle\Tests\Functional\Command;
use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
class HelpViewOptionForDumpApiDocCommands extends WebTestCase
{
protected function setUp(): void
{
$this->initClient();
}
/**
* @param string $output
*/
private f... |
<?php
namespace Backend\Modules\ContentBlocks\Command;
use Backend\Core\Language\Locale;
use Backend\Modules\ContentBlocks\Entity\ContentBlock;
use Symfony\Component\Validator\Constraints as Assert;
final class CreateContentBlock
{
/**
* @var string
*
* @Assert\NotBlank(message="err.FieldIsRequire... |
<?php
include 'header.php';
?>
<!-- nav part end -->
<section class="page-title page-title-overlay " data-background="images/background/about.jpg">
<div class="container">
<div class="row">
<div class="col-lg-7">
<h1 class="text-white position-relative">Professor<span class="watermark-sm">Profess... |
<?php
/* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\stylecustomizer\inline\styleset$paddingtop@[annot]][1]/ */
/* Type: array */
/* Expiration: 2020-07-03T15:20:29+10:00 */
$loaded = true;
$expiration = 1593753629;
$data = array();
/* Child Type: array */
$data['return'] = unserialize(base64_dec... |
<?php
/**
* This phpFile is auto-generated.
*/
declare(strict_types=1);
namespace PHPTdGram\Schema;
/**
* Returns the received vector of objects containing a string; for testing only. This is an offline method. Can be called before authorization.
*/
class TestCallVectorStringObject extends TdFunction
{
publ... |
<?php
/***********************************************************************
| Cerb(tm) developed by Webgroup Media, LLC.
|-----------------------------------------------------------------------
| All source code & content (c) Copyright 2002-2019, Webgroup Media LLC
| unless specifically noted otherwise.
|
| This s... |
<?php
namespace app\Services;
use App\Models\Slider;
class SliderService
{
public function all($limit = 3)
{
return Slider::limit($limit)->get();
}
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTripsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('trips', function ... |
<?php
declare (strict_types=1);
namespace RectorPrefix20211201\Psr\Container;
/**
* Describes the interface of a container that exposes methods to read its entries.
*/
interface ContainerInterface
{
/**
* Finds an entry of the container by its identifier and returns it.
*
* @param string $id Iden... |
@extends('layouts.app-all')
@section('style')
@stop
@section('content')
<!-- Intro Banner
================================================== -->
<!-- add class "disable-gradient" to enable consistent background overlay -->
<div class="intro-banner" data-background-image="images/home-background.jpg">
<div class="conta... |
<!DOCTYPE html>
<html lang="en">
<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">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qp... |
<?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of La... |
@extends( 'layouts.master' )
@section( 'asset' )
@include('layouts.partials.datatable')
@stop
@section( 'title' )
{{ $title }}
@stop
@section('title-button')
{{ HTML::buttonAdd() }}
@stop
@section( 'breadcrumb' )
<li > Dashboard</li >
<li > {{ $title }} </li >
@stop
@section( 'content' )
Tambah Author <br>
{{ ... |
<?php
namespace Liuggio\Fastest\Process;
class ProcessFactoryTest extends \PHPUnit_Framework_TestCase
{
/**
* @test
*/
public function shouldCreateACommandUsingParallelTests()
{
$factory = new ProcessFactory(10);
$process = $factory->createAProcess('fileA', 2, 10, true);
... |
<?php
namespace Bitrix\Report\VisualConstructor\Entity;
use Bitrix\Main\Entity\Query;
use Bitrix\Report\VisualConstructor\Config\Common;
use Bitrix\Report\VisualConstructor\Helper\Util;
use Bitrix\Report\VisualConstructor\Internal\DashboardTable;
use Bitrix\Report\VisualConstructor\Internal\Model;
/**
* Dashboard e... |
<?php
session_start();
if(!(isset($_SESSION['etudiant']))){
header("location:acceuil.php");
}
?>
<?php
include("cnxbdd.php");
$etu=$_GET['etu'];
$total = $db->prepare('
SELECT *
FROM
etudiant WHERE NumeroEtudiant= ?');
$params=array($etu);
$total->execute($params);
$sq=$total->fetch(PDO:... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSiteContentTypesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('site_c... |
<?php
declare(strict_types=1);
namespace Doctrine\Migrations\Version;
use DateTimeImmutable;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use Doctrine\Migrations\EventDispatcher;
use Doctrine\Migrations\Events;
use Doctrine\Migrations\Exception\SkipMigrati... |
<?php
$version = '2.3.1'; // the $ projectnumber variable is automatically replaced by doxygen with the version number
$pagetitle = 'Member List'; // the $ title variable is automatically replaced by doxygen with the page title
include('../header.php');
?>
<!-- Generated by Doxygen 1.8.10 -->
<div id="nav... |
<?php
/*
* (c) Jérémy Marodon <marodon.jeremy@gmail.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Th3Mouk\KahlanFixtures\Tests\Extractors;
use Illuminate\Support\Collection;
use Th3Mouk\KahlanFixtures\Extractor;
des... |
C:\xampp\htdocs\GESOL\app/views/proyectos/show.blade.php |
<?php
class Provincia extends Maestro {
protected $table = 'provincias';
protected $fillable = array(
'pais_id',
'provincia',
);
public $rules = array(
'pais_id' => 'Required|Integer|Exists:paises,id',
'provincia' => 'Required|Min:3',
);
public function pais(... |
<?php
namespace Google\AdsApi\AdWords\v201710\cm;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class BatchJob
{
/**
* @var int $id
*/
protected $id = null;
/**
* @var string $status
*/
protected $status = null;
/**
* @var \Google\AdsApi\AdWords\v201710\cm... |
<?php
/**
* Simple timer interface
*
* @package idno
* @subpackage core
*/
namespace Idno\Stats {
class Timer {
private static $timers = [];
/**
* Start a timer.
* @param type $timer
*/
public static function start($timer) {
... |
<?php
/**
* This file is part of PHPWord - A pure PHP library for reading and writing
* word processing documents.
*
* PHPWord is free software distributed under the terms of the GNU Lesser
* General Public License version 3 as published by the Free Software Foundation.
*
* For the full copyright and license inf... |
<?php
use Emergence\People\User;
User::$fields['GitHubToken'] = [
'default' => null,
'excludeFromData' => true
]; |
<?php
/*
* App core Class
* Creates URL & Loads core controller
* URL FORMAT - /controller/method/params
*/
class Core {
protected $currentController = 'Pages';
protected $currentMethod = 'Index';
protected $params = [];
public function __construct()
{
// print_r($this->getUrl());
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateInvoicesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('invoices', fun... |
<?php
namespace Fortytwo\Wordpress\Plugin\TwoFactorAuthenticationForCf\Value;
use Fortytwo\Wordpress\Plugin\TwoFactorAuthenticationForCf\Interfaces\ValueInterface;
use Fortytwo\Wordpress\Plugin\TwoFactorAuthenticationForCf\Utils\Configuration;
use Fortytwo\Wordpress\Plugin\TwoFactorAuthenticationForCf\Value\AbstractVa... |
<?php
declare(strict_types = 1);
namespace PSX\Model\AsyncAPI;
class MessageBindings implements \JsonSerializable
{
protected ?HttpMessageBinding $http = null;
public function setHttp(?HttpMessageBinding $http) : void
{
$this->http = $http;
}
public function getHttp() : ?HttpMessageBindi... |
<?php
class Kwf_Util_Fulltext_Backend_ZendSearch extends Kwf_Util_Fulltext_Backend_Abstract
{
public function getSubroots()
{
return array_keys(Kwf_Util_Fulltext_Lucene::getInstances());
}
public function optimize($debugOutput = false)
{
foreach (Kwf_Util_Fulltext_Lucene::getInstanc... |
<?php
namespace App\Http\Requests\Blog\Post;
use Illuminate\Foundation\Http\FormRequest;
class EditPostRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return false;
}
/**
... |
<?php
/**
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
<?php
/**
* DispatchRouteHistoricalEntry
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Samsara API
*
* # Introduction The Samsara REST API lets you interact with the Samsara Cloud from an... |
<?= $this->extend('layout/template'); ?>
<?= $this->section('content'); ?>
<main id="main">
<!-- ======= Contact Section ======= -->
<section class="breadcrumbs">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<h2>Form Analisa K3</h... |
<?php
namespace BasoCoop\Http\Controllers\Auth;
use BasoCoop\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|-----------------... |
<?php
/**
* Settings text strings
* Contains all text strings used in the general settings sections of BookStack
* including users and roles.
*/
return [
// Common Messages
'settings' => 'הגדרות',
'settings_save' => 'שמור הגדרות',
'settings_save_success' => 'ההגדרות נשמרו',
// App Settings
... |
<?php
namespace app\tests\unit;
use app\components\currency\RussianCentralBank;
use app\models\Currency;
use Codeception\Test\Unit;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\Exception\TransferException;
use Psr\Http\Message\ResponseInterface;
class RussianCentralBankTest exten... |
<?php
namespace App\Controller;
use App\Utility\AuthState;
class CharactersPowersController
extends AppController
{
public function initialize()
{
parent::initialize();
$this->loadComponent('QueueLammy');
$this->mapMethod('charactersAdd', [ 'referee' ]);
$this->mapMethod('charactersDelete',... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $__env->yieldContent('title'); ?></title>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<l... |
<?php
namespace App\Models;
use App\User;
use Illuminate\Database\Eloquent\Model;
class Blog extends Model
{
protected $table = "blog";
protected $fillable = ['id','title','writer','image','view','slug','content','deleted','status','created_at','updated_at'];
public function blog_tag()
{
ret... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class StoreDivisionRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* ... |
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
class Tb_apresentacao_supervisora_localizacao extends CI_Model {
public function __construct()
{
parent ::__construct();
$this->db = $this->load->database('DAQ', TRUE);
}
//--------------------------------------------... |
<!-----------------------------------------------------------------------------------
--
-- Breadcrumbs
--
------------------------------------------------------------------------------------->
<div class="medlab_breadcrumbs_wrapper">
<div class="container">
<ol class="breadcrumb medlab_breadcrumbs">
... |
<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\PageBundle\Site;
use Sonata\PageBundle\Request... |
<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>ERP | Enterprice Reso... |
<?php
namespace Shopsys\FrameworkBundle\Model\Mail;
use Doctrine\ORM\EntityManagerInterface;
use Shopsys\FrameworkBundle\Component\Domain\Domain;
use Shopsys\FrameworkBundle\Component\UploadedFile\UploadedFileFacade;
use Shopsys\FrameworkBundle\Model\Order\Mail\OrderMail;
use Shopsys\FrameworkBundle\Model\Order\Statu... |
<?php
namespace App\Exceptions;
use Exception;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler {
/**
* A list of the exception types that should not be reported.
*
* @var array
*/
protected $dontReport = [... |
<!DOCTYPE html>
<!--
Git hUBThis is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html lang="en">
<head>
@include('layouts.partials._head')
</head>
<body class="hold-transition sidebar-mini">
<div class="wrapper... |
<?php
namespace ModuleBZ\SchemaOrg\Traits\Thing\CreativeWork\CreativeWorkSeason;
use ModuleBZ\SchemaOrg\DataType\Text;
trait TTVSeason{
/**
* The country of the principal offices of the production company or individual responsible for the movie or program.
* @var String $countryOfOrigin
*/
protected $country... |
<?php
/**
* Name: Ion Auth
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
*
* Added Awesomeness: Phil Sturgeon
*
* Created: 10.01.2009
*
* Description: Modified auth system based on redux_auth with extensive customization. This is basically what Redux Auth 2 should be.
... |
<x-head></x-head>
<x-header></x-header>
<section class="banniere" id="banniere">
<div class="contenu">
<h2>Que Des Plats Délicieux</h2>
<p>A Tunis , le restaurant Resto vous accueille tous les jours de 9h a 19h sauf le Dimanche.
</p>
<a href="#" class="btn1">Notre Menu</a>
<a... |
<?php
namespace AppBundle\Controller;
use AppBundle\Entity\Product;
use AppBundle\Form\ProductType;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
class ProductController extends Controller
{
/**
... |
<?php
error_reporting (E_ALL);
$a = array(4);
$str = serialize($a);
print('Serialized array: '.$str."\n");
$b = unserialize($str);
print('Unserialized array: ');
var_dump($b);
print("\n");
$str = serialize(array(4.5));
print('Serialized array: '.$str."\n");
$b = unserialize($str);
print('Unserializ... |
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Mapping;
use Closure;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\Type;
class LazyDataType extends Type
{
/** @var Closure */
private $initializer;
/** @var Type */
private $wrapped;
public static function create(C... |
<?php
namespace app\index\controller;
use app\api\service\CheckService;
use think\Cache;
use think\Controller;
use think\Db;
use think\cache\driver\Redis;
use think\Exception;
header('Access-Control-Allow-Origin: *');
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
header('Acc... |
<?php
namespace App\Http\Controllers\Auth\Login;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Validation\ValidationException;
use Illuminate\Foundation\Auth\ThrottlesLogins;
use App\Model\User;
trait AuthUserLogin
{
use ThrottlesLogins;
/**
* Show the application's... |
<?php
/** @var $this yii\web\View */
/** @var $model blog\forms\manage\Blog\TagForm */
$this->title = 'Обновление умения';
$this->params['breadcrumbs'][] = 'Портфолио';
$this->params['breadcrumbs'][] = [
'label' => 'Умения',
'url' => ['index']
];
$this->params['breadcrumbs'][] = 'Обновление умения';
?>
<di... |
@extends("layouts.app")
@section("content")
<!-- ======= Breadcrumbs Section ======= -->
<section class="breadcrumbs">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<h2>Métie {{$jobs->title}}</h2>
</div>
</div>
</section><!-... |
<?php
return [
'fields' => [
'id' => 'ID',
'name' => '名称',
'username' => '用户名',
'email' => '邮箱',
'http_path' => 'HTTP路径',
'password' => '密码',
'password_confirmation' => '确认密码',
'created_at' => '创建时间',
'updated_at' => '更新时间',
'permissio... |
<html>
<head>
<meta charset="UTF-8">
<title>BSGames | Painel</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" /... |
<?php
namespace Dcux\SSO\Action;
use Lay\Advance\Core\App;
use Lay\Advance\Core\Configuration;
use Dcux\SSO\Kernel\Action;
class GetThemes extends Action
{
public function onGet()
{
global $CFG;
$data = array();
$k=$_REQUEST['k'];
$param=explode('.', $k);
$data['theme... |
<div class="card card-primary">
<div class="card-header">
<h3 class="card-title">Tambah Data Pesanan Pembelian</h3>
</div>
<!-- /.card-header -->
<!-- form start -->
<form action="<?php echo base_url('PesananPembelian/addaction') ?>" method="post">
<div class="card-body">
... |
@extends('shared.layout')
@section('content')
<h1>HOME</h1>
@endsection |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateOptionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('options', funct... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.