text stringlengths 2 1.03M |
|---|
<?php
namespace AlibabaCloud\Edas;
/**
* @method string getBuildPackId()
* @method string getComponentIds()
* @method string getGroupId()
* @method string getBatchWaitTime()
* @method string getReleaseType()
* @method string getBatch()
* @method string getAppEnv()
* @method string getPackageVersion()
* @meth... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<title>Laravel</title>
<!-- Fonts -... |
<!-- Page Wrapper -->
<div id="wrapper">
<!-- Sidebar -->
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
<!-- Sidebar - Brand -->
<a class="sidebar-brand d-flex align-items-center justify-content-center" href="index.html">
<div clas... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class EjemplarRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true; //Se autoriza su implementa... |
<?php
/**
* Created by PhpStorm.
* User: Joe
* Date: 3/22/17
* Time: 1:23 PM
*/
namespace Adext\ApiNodes\Media;
class StartingKeyword
{
} |
<!-- Page content -->
<div id="page-content-wrapper">
<div class="page-content">
<!-- Content Header (Page header) -->
<section class="content-header z-depth-1">
<div class="header-icon">
<i class="fa fa-table"></i>
</div>
<div class="header-title"... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
namespace GDO\Avatar\Websocket;
use GDO\Websocket\Server\GWS_CommandForm;
use GDO\Avatar\Method\Upload;
use GDO\Websocket\Server\GWS_Commands;
use GDO\Websocket\Server\GWS_Global;
use GDO\Websocket\Server\GWS_Message;
use GDO\Avatar\GDO_Avatar;
/**
* Websocket method wrapper for avatar upload.
* Sends an even... |
@extends('layouts.app')
@section('content')
<div class="jumbotron jumbotron-fluid">
<div class="container">
<div class="row">
<div class="col-md-8 offset-md-2">
<h1 class="display-3">Inloggen</h1>
<p class="lead text-xs-center">Dit is enkel voor het praesidium, om een codex te kopen hoef je je ... |
<?php
$filename = dirname(__FILE__)."/tmp_savehtmlfile".time().".html";
$doc = new DOMDocument('1.0');
$root = $doc->createElement('html');
$root = $doc->appendChild($root);
$head = $doc->createElement('head');
$head = $root->appendChild($head);
$title = $doc->createElement('title');
$title = $head->appendChild($title)... |
<?hh // strict
class C {
public type const test;
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTeamsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('teams', function ... |
<?php
/**
* Open Source Social Network
*
* @package Open Source Social Network
* @author Open Social Website Core Team <info@openteknik.com>
* @copyright (C) OpenTeknik LLC
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://ww... |
<?php
/**
* Created by PhpStorm.
* User: oleh
* Date: 09.10.16
* Time: 11:24
*/
namespace App;
use Illuminate\Database\Eloquent\Model;
class Blog extends Model
{
protected $table = 'blog';
} |
<?php
namespace App\Http\Controllers;
use App\Models\Course;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use App\Models\Instructor;
class InstructorController extends Controller
{
private $view_path = 'instructors.';
public function index()
{
/* Define new instructor
... |
@extends('admin.layout.admin')
@section('title', 'لوحة التحكم | مستخدمين لوحه التحكم')
@section('content')
<div id="content" class="main-content">
<div class="layout-px-spacing">
<div class="app-content content">
<div class="content-wrapper">
<div class="cont... |
@extends('layouts.data_table')
@section('table_title')
Provinsi
@overwrite
@section('table_content')
<table id="table_province" class="stripe hover" style="width:100%; padding-top: 1em; padding-bottom: 1em;">
<thead>
<tr>
<th data-priority="1" class="w-1/6 text-left text-blue-900">Nama</th>
... |
@extends('layouts.app')
@section('title', 'Editing as - Medium')
@section('content')
<div class="my-5">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="d-flex flex-column">
<div class="d-flex">
<a href="{{ $p... |
@extends('welcome')
@section('content')
<br>
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Invite Member </div>
<div class="">
... |
@extends('admin.layout')
@section('content')
<!-- =============================================== -->
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Blank page
<small>it all starts here</sma... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Input;
class Field extends Model
{
protected $fillable = ['cat_id','value','trans','tag','type'];
} |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/container/v1/cluster_service.proto
namespace Google\Cloud\Container\V1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* AutoprovisioningNodePoolDefaults con... |
<?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 Version20181008112636 extends AbstractMigration
{
public function up(Schema $schema) : void
{... |
<?php
// +-----------------------------------------------------------------------+
// | This file is part of Piwigo. |
// | |
// | For copyright and license information, please view the COPYING.txt |
// | f... |
<?php
namespace App\Providers;
use App\Observers\ProjectObserver;
use App\Observers\TaskObserver;
use App\Project;
use App\Task;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public f... |
<?php
namespace App\Http\Controllers;
use App\Comment;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class CommentsController extends Controller {
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index() {
//
... |
<?php namespace App;
use Illuminate\Database\Eloquent\Model;
class Messages extends Model {
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['id', 'email', 'name', 'body'];
} |
<?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 Symfony\Bundle\FrameworkBundle\Command;
use Symfony\Component\Console\I... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ co... |
<?php
declare(strict_types=1);
namespace Symplify\SimplePhpDocParser\Tests\SimplePhpDocParser;
use Symplify\PackageBuilder\Testing\AbstractKernelTestCase;
use Symplify\SimplePhpDocParser\SimplePhpDocParser;
use Symplify\SimplePhpDocParser\Tests\HttpKernel\SimplePhpDocParserKernel;
use Symplify\SimplePhpDocParser\Val... |
<?php
namespace App\Policies;
use App\Models\Message;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
/**
* Class MessagePolicy
* @package App\Policies
*/
class MessagePolicy {
use HandlesAuthorization;
/**
* @param User $user
* @param Message|null $message
*/... |
<?php
require __DIR__ . '/vendor/autoload.php';
$zipFile = new \PhpZip\ZipFile();
try {
$zipFile
->addDirRecursive(__DIR__ . '/dist_install', '/', \PhpZip\Constants\ZipCompressionMethod::DEFLATED)
->saveAsFile('smf21_rus_install.zip')
->close();
$zipFile
->addDirRecursive(__D... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\modules\vehicleManagement\models\VehicleModel */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="vehicle-model-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'met... |
<?php
namespace Atlantis\Struct\EditorJS\Blocks;
use Atlantis;
class Hr
extends Atlantis\Struct\EditorJS\Block {
protected function
OnReady(array $Raw):
void {
parent::OnReady($Raw);
($this->Data)
->Mode('Atlantis\\Util\\Filters::StrippedText');
return;
}
public function
__ToString():
string {
s... |
<?php
namespace App\Http\Controllers;
use App\Models\Channel;
use App\Models\RequestStat;
use App\Models\Whitelist;
use Carbon\Carbon;
use DB;
use Exception;
use Illuminate\Contracts\View\View;
use Illuminate\Database\Query\Builder;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\RedirectResponse;
use Illuminat... |
<?php
namespace api\modules\v1\components;
use api\modules\v1\Module;
use Yii;
use yii\filters\ContentNegotiator;
use yii\filters\RateLimiter;
use yii\filters\VerbFilter;
use yii\rest\Controller as BaseController;
use yii\web\ForbiddenHttpException;
use yii\web\NotFoundHttpException;
use yii\web\Response;
/**
* ... |
<!-- Header -->
<div class="header">
<div class="header-left">
<a href="{{ route('admin.dashboard') }}" class="logo logo-small">
<img src="{{ asset('assets/img/logo-icon.png') }}" alt="Logo" width="30" height="30">
</a>
</div>
<a href="javascript:void(0);" id="toggle_btn">
... |
<!DOCTYPE html>
<html>
<head>
<title> Login Page </title>
<style>
Body {
background-color: black;
}
button {
background-color: #2D2926FF;
width: 100%;
color: orange;
padding: 15px;
margin: 10px 0px;
}
... |
<div class="col-sm-12">
<div class="card">
<div class="card-body">
<h4 class="card-title">
<svg class="c-icon">
<use xlink:href="{{ asset('coreui/vendors/@coreui/icons/svg/free.svg#cil-book') }}"></use>
</svg>
Data Kompetensi Da... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Uuids;
class Lot extends Model
{
//
protected $primaryKey='lotId';
protected $fillable=['lotNumber'];
public $incrementing = false;
public $timestamps = false;
public function images()
{
return $this->hasMany('App\P... |
<?php get_footer(); ?> |
<?php
class Menu {
public $name;
// Tambahkan parameter $name ke constructor
public function __construct($name) {
// Tetapkan $name ke property name
$this->name = $name;
}
public function hello() {
echo 'Saya adalah '.$this->name;
}
}
// Berikan 'GULAI' ke new Menu() sebagai argument... |
<div>
<x-hub::button type="button" wire:click.prevent="$set('showBrowser', true)">
{{ __('adminhub::components.collection-search.btn') }}
</x-hub::button>
<x-hub::slideover :title="__('adminhub::components.collection-search.title')" wire:model="showBrowser">
<div
class="space-y-4"
x-data="{
... |
<?php
/*
* Copyright 2014 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 agreed t... |
<?php
namespace Modules\Admin\Http\Requests;
use Modules\Core\Internationalisation\BaseFormRequest;
class CreateFishTypeRequest extends BaseFormRequest
{
public function rules()
{
return [
'type' => 'required|unique:admin__fishtypes,type|max:255',
];
}
public function tra... |
<form id="orderRealty" method="post" class="needs-validation" novalidate>
@csrf
<table class="border-bottom mb-2" width="100%" cellspacing="0" cellpadding="5">
<tr>
<td width="10%" valign="top">
<div class="checkbox-other">
<input type="checkbox" value="Оформление права собст... |
<?php
namespace Psalm\Tests\Loop;
use const DIRECTORY_SEPARATOR;
use Psalm\Tests\Traits;
class ForeachTest extends \Psalm\Tests\TestCase
{
use Traits\InvalidCodeAnalysisTestTrait;
use Traits\ValidCodeAnalysisTestTrait;
/**
* @return iterable<string,array{string,assertions?:array<string,string>,error... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class PathshalaCategory extends Model
{
protected $fillable = [
"id", "category", "image", "status"
];
public function videos() {
return $this->hasMany('App\PathshalaVideo', 'category_id');
}
} |
<?php
/**
* ScimEmailTest
*
* PHP version 5
*
* @category Class
* @package PureCloudPlatform\Client\V2
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* PureCloud Platform API
*
* With the PureCloud Platform API, you can control all aspects of your PureCl... |
<?php
function construir_array_de_inserts($adata=null,$tabla=null,$insert="INSERT INTO ")
{
if($adata!=null&&$tabla!=null):
$contar=0;
$datos_array=array();
$data="";
foreach ($adata as $key => $value) {
$c=count($value);
$data.="(";
foreach ($value... |
@extends('layouts.admin')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<h1>Modifica il post</h1>
<form action="{{route('admin.posts.update', $post->id)}}" method="post">
@csrf
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateV52Overall extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('orders', function ... |
<?php
use Inteve\AssetsManager\AssetFile;
use Tester\Assert;
require __DIR__ . '/../bootstrap.php';
test(function () {
$file = new AssetFile('js/scripts.Js', NULL);
Assert::true($file->isOfType('js'));
Assert::true($file->isOfType('JS'));
Assert::false($file->isOfType('Css'));
}); |
<?php
namespace App\Http\Controllers\Backend\Admin;
use App\Http\Controllers\Controller;
use App\Models\PostComment;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class PostCommentController extends Controller
{
/**
* Display a listing of the resource.
* @return \Illuminate\Http\Respo... |
<!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">
<title>Module UserLog</title>
{{-- Laravel Mix - CSS File --}}
{{-- <link rel="styl... |
<div class="modal-content">
<form action="javascript:;"
onsubmit="callback({
route: 'backoffice/cobranzaletra/{{$cobranzaletra->id}}',
method: 'PUT',
data:{
view: 'editar',
seleccionartipopago: seleccionartipopago()
}
},
... |
<?php
namespace AlipaySDK\aop\request;
/**
* ALIPAY API: alipay.security.risk.content.detect request
*
* @author auto create
* @since 1.0, 2019-07-29 16:06:11
*/
class AlipaySecurityRiskContentDetectRequest
{
/**
* 小程序内容风险检测服务
**/
private $bizContent;
private $apiParas = array();
private $terminalType;... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CardAddJsonRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Ge... |
<?php
namespace App\Http\Middleware;
use Closure;
class Cors
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next){
//->header("Access-Control-Allo... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class CheckIsAdmin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $nex... |
<?php
namespace AdobeConnectClient\Tests;
use AdobeConnectClient\Helpers\HeaderParse;
use PHPUnit\Framework\TestCase;
class HeaderParseTest extends TestCase
{
protected $cookieName = 'BREEZESESSION';
protected $cookieValue = 'na9breezx3385yw9ymhhzb5p';
protected $headerLine = '';
protected functio... |
<?php
namespace App\Repository;
use App\Models\Benefits;
use Prettus\Repository\Eloquent\BaseRepository;
class BenefitsRepository extends BaseRepository
{
/**
* @return string
*/
public function model()
{
return Benefits::class;
}
public function getList()
{
return B... |
<?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 Symfony\Component\Console\Tests\Descriptor;
use Symfony\Component\Conso... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "tbl_documentation".
*
* @property integer $DocumentationID
* @property string $Title
* @property string $DocumentContent
* @property integer $CategoryID
*
* @property Category $category
*/
class Documentation extends \yii\db\Activ... |
<?php
/**
* 2007-2016 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... |
<?php
namespace SebastianBerc\Configurations\Parsers;
use SebastianBerc\Configurations\Contracts\ParserInterface;
use SebastianBerc\Configurations\FileObject;
use Symfony\Component\Yaml\Yaml;
/**
* Class YamlParser
*
* @author Sebastian Berć <sebastian.berc@gmail.com>
* @package SebastianBerc\Configurations\Par... |
<?php
namespace Tests\Auth;
use BookStack\Actions\ActivityType;
use BookStack\Auth\SocialAccount;
use BookStack\Auth\User;
use Illuminate\Support\Facades\DB;
use Laravel\Socialite\Contracts\Factory;
use Laravel\Socialite\Contracts\Provider;
use Mockery;
use Tests\TestCase;
class SocialAuthTest extends TestCase
{
... |
<?php
namespace BotMan\BotMan\Storages\Drivers;
use Redis;
use RuntimeException;
use Illuminate\Support\Collection;
use BotMan\BotMan\Interfaces\StorageInterface;
class RedisStorage implements StorageInterface
{
const KEY_PREFIX = 'botman:storage:';
/**
* @var Redis
*/
protected $redis;
pr... |
@extends('layouts.backend')
@section('title','Dashboard')
@section('content')
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
... |
@extends('layouts.admin')
@push('styles')
<link rel="stylesheet" href="{{asset('highlight/styles/monokai.min.css')}}">
@endpush
@section('content')
<div class="bg-white shadow rounded-sm px-6 py-8">
@if ($errors->any())
<div class="error-block" role="alert">
<span class="bloc... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
class Authenticate extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param \Illuminate\Http\Request $request
* @return st... |
@extends('theme/main')
@section('title','Forest Products')
@section('content')
<div class="container mt-2">
<!-- Home -->
<div class="home" style="background-image:url({{asset('client/images/forest1.jpg')}} ); width: 102.8%;height: 253px;left: -14px;top: -20px;" >
</div>
<span class="span_title">Forest Produc... |
<?php
namespace App\Database\Migrations;
class Add_transaction extends \CodeIgniter\Database\Migration
{
public function up()
{
$this->forge->addField([
'id' => [
'type' => 'INT',
'constraint' => 5,
'unsigned' =>... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tags', function (Bluepr... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call([
RolesTableSeeder::class,
UsersTableSeeder::class,
TagsTableSeeder::cl... |
@extends('view.layout.index')
@section('content')
<h1>Thank you for Your Order!</h1>
<a href="{{ route('home') }}" class="beta-btn primary" >Home Page</a>
@endsection |
<footer class="bg-dark py-2 mt-2">
<div class="container">
<div class="row my-2">
<div class="col-sm-4 pb-10">
<div>
<h3>Pages</h3>
<ul class="py-4">
<li class="pb-1">
<a href="/">Home</a>
</li>
... |
<div class="content_wrapper relative col-lg-10 col-md-8 col-sm-8 col-xs-12 ">
<div class="white_card">
<h6>Manage Class Rooms</h6>
<hr>
<!-- Data Table Plugin Section Starts Here -->
<button class="btn btn-default add_row btn_map btn_add_call addBtnPosition" data-toggle="modal" oncl... |
<?php
namespace Google\AdsApi\AdManager\v202111;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class UnarchiveMobileApplications extends \Google\AdsApi\AdManager\v202111\MobileApplicationAction
{
public function __construct()
{
}
} |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\StadiumsSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="tadiums-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
... |
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class UserTest extends TestCase
{
use RefreshDatabase;
/** @test 可以註冊帳號 */
public function it_can_register_user()
{
$this->assertTrue(true);
}
/** @test 可以登入帳號 */
public functi... |
<!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>Admin Cafetar... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\User;
use App\Models\Category;
use App\Models\Budget;
use App\Models\Ledger;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
... |
--TEST--
IntlCalendar::get/getActualMaximum/getActualMinimum(): bad arguments (procedural)
--INI--
date.timezone=Atlantic/Azores
--SKIPIF--
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled');
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
$c = new IntlGregorianCalendar(NULL, 'pt_PT');... |
<?php
/*
* This file is part of Respect/Validation.
*
* (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
*
* For the full copyright and license information, please view the "LICENSE.md"
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Respect\Validation\Rules;
use... |
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsorigin}prestashop>statsorigin_f0b1507c6bdcdefb60a0e6f9b89d4ae8'] = 'Origem dos visitantes';
$_MODULE['<{statsorigin}prestashop>statsorigin_a69c2a3091fe48c7f4f391595aa3ac19'] = 'Adiciona um gráfico ao painel de estatísticas mostrando os sites de onde os seus ... |
<?php
/**
* Skeleton subclass for performing query and update operations on the 'cc_backup' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package ... |
<?php
namespace App\Http\Controllers;
use App\Models\About;
use App\Models\Order;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
class AboutController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
/**
* Display a listing of th... |
@extends('layouts.app') <!--Extender las herramientas que se utilizan en todas las ventanas-->
@section('title', 'Registrar ova') <!-- Seccion titulo de la pagina-->
@section('content') <!-- Inicio de contenido-->
@include('admin.template.partials.errors') <!-- ... |
<?php
namespace Inventory\Controller;
use Inventory\Service\ItemSearchService;
use Inventory\Services\ArticleSearchService;
use Inventory\Services\AssetSearchService;
use Inventory\Services\SparePartsSearchService;
use User\Model\UserTable;
use ZendSearch\Lucene\Index\Term;
use ZendSearch\Lucene\Search\Query\Wildcard;... |
@extends('layouts.appAdmin')
@section('contenido')
<!-- Content Wrapper. Contains page content -->
<style>
.table{
width: 100%;
margin-bottom: 1rem;
color:#212529;
text-align: center;
}
.table th, .table td {
padding: .75rem;
vertical-align: center;
border-t... |
<?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2020-2021
*/
namespace Aimeos\Admin\JQAdm\Product\Supplier;
class StandardTest extends \PHPUnit\Framework\TestCase
{
private $context;
private $object;
private $view;
protected function setUp() : void
{... |
--TEST--
FR #78270 (Usage of __vectorcall convention with FFI)
--SKIPIF--
<?php
require_once('skipif.inc');
if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
require_once('utils.inc');
try {
FFI::cdef(<<<EOC
__vectorcall int zend_atoi(const char *str, size_t str_len);
... |
<?php
/* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
Codificación: UTF-8
+----------------------------------------------------------------------+
| Issabel version 1.4-1 |
| http://www.issabel.org |
+--... |
<?php
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');
require(__DIR__ . '/../vendor/autoload.php');
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
require(__DIR__ . '/../common/config/bootstrap.php');
$config = yii\helpers\ArrayHelper::merge(
require(__DIR... |
<?php
?>
<div id="wrapper">
<?=$this->renderElement('navigation', array());?>
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">批量导入<?=$coupon['name'];?></h1>
</div>
<!-- /.col-lg-12 -->
</div>
... |
<?php
namespace Rakit\Validation\Rules;
use Rakit\Validation\Helper;
use Rakit\Validation\Rule;
class NotIn extends Rule
{
/** @var string */
protected $message = "The :attribute is not allowing :disallowed_values";
/** @var bool */
protected $strict = false;
/**
* Given $params and assig... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class ArticleRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get th... |
<div class="question">
<div class="media">
<div class="media-body o-h">
<div class="q">
<h3 class="mt-0 q__title"><a href="{{ route('questions.show', $question->slug) }}">{{ $question->title }}</a></h3>
<div class="q__btngroup">
... |
<?php
//include the code from database.php
require_once('includes/database.php');
$username = '';
$password = '';
$login_status = 2;
if ( isset($_POST['username']) )
$username = trim($_POST['username']);
if ( isset($_POST['password']) )
$password = trim($_POST['password']);
if (!empty($username)) {
//Th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.