text stringlengths 2 1.03M |
|---|
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Menu extends Model
{
use HasFactory;
protected $fillable = [
'title',
'link',
'parent_id',
];
public function children() {
return $this->h... |
@extends('layouts.app')
@section('title', 'Edycja użytkownika')
@section('content')
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</d... |
<?php
declare(strict_types=1);
/**
* This file is part of Narrowspark Framework.
*
* (c) Daniel Bannert <d.bannert@anolilab.de>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Viserio\Component\Routing\Tests\Dispatcher;
use Narrowsp... |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2007 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... |
<?php
namespace common\widgets\provision;
use common\models\provision\ProvisionReportSummary;
use common\widgets\grid\ActionColumn;
use common\widgets\grid\IssueColumn;
use yii\base\Widget;
class ProvisionUserReportWidget extends Widget {
public ProvisionReportSummary $model;
public array $actionColumn = [
'cl... |
<?php
namespace Kendo\Dataviz\UI;
class SparklineValueAxisItemMinorTicks extends \Kendo\SerializableObject {
//>> Properties
/**
* The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart.
* @param float $value
* @return \Kendo\Dataviz\UI\Spar... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace Thecodebunny\eBayApi\Account\Types;
/**
*
* @property \Thecodebunny\eBayApi\Account\Types\RateTable[... |
<?php
// @formatter:off
namespace PHPSTORM_META {
/**
* PhpStorm Meta file, to provide autocomplete information for PhpStorm
* Generated on 2019-05-13 14:23:36.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
override(new \Illum... |
<?php
namespace ContainerCHVwLRx;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getSecurity_Csrf_TokenManagerSer... |
<?php
$type = $variaveis[0];
$entity = $variaveis[1];
$data['data'] = [];
if(file_exists(PATH_HOME . "_cdn/fieldsCustom/{$entity}/{$type}/" . $_SESSION['userlogin']['id'] . ".json"))
$data['data'] = json_decode(file_get_contents(PATH_HOME . "_cdn/fieldsCustom/{$entity}/{$type}/" . $_SESSION['userlogin']['id'] . "... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUserAssetsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_assets'... |
<?php
class ControllerModuleBanner extends Controller {
private $error = array();
public function index() {
$this->load->language('module/banner');
$this->document->setTitle($this->language->get('heading_title'));
$this->load->model('setting/setting');
if (($this->request->server['REQUEST_METHO... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSubjectBasedKnowledgeTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('s... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCitizensTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('citizens', fun... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Support\Facades\Input;
class CommonController extends Controller
{
//图片上传方法
public function upload(){
// $file = $_FILES['Filedata'];
$file = Inpu... |
@extends('template')
@section('title')
<title>test MBTI</title>
@endsection
@section('content')
<div id="breadcrumb" class="hoc clear">
<ul></ul>
</div>
@endsection
@section('content2')
<div class="wrapper row1">
<section id="ctdetails" class="hoc clear">
<ul class="nospace clear">
<li class="one_quarter fi... |
<?php
namespace Project3\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
];
} |
<?php
namespace Doctrine\Tests\ORM\Functional\Ticket;
use Doctrine\Tests\ORM\Functional\DatabaseDriverTestCase;
use Doctrine\ORM\Mapping\ClassMetadataInfo;
class DDC2387Test extends DatabaseDriverTestCase
{
/**
* @group DDC-2387
*/
public function testCompositeAssociationKeyDetection()
{
... |
<!DOCTYPE html>
<html>
<head>
<title>
<?=$titulo?>
</title>
<?php include('templates/head.inc.php');?>
<?php include('templates/scripts.inc.php');?>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<?php include('templates/header.inc.php');?>
<div class="content-wrapper">
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class StudentGroup extends Model
{
use SoftDeletes;
protected $guarded = [];
public function group()
{
return $this->belongsTo('App\Group');
}
public function student()
{
... |
<!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">
<meta name="csrf-token" content="{{ csrf_token() }}">
@yield('header')
<!-- Favicon icon -->
<link rel="ic... |
<?php
namespace frontend\modules\proveduria\controllers;
use Yii;
use common\models\Proveedores;
use common\models\ProveedoresSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\Json;
/**
* ProveedoresController implements the CRUD actions for Proveedores ... |
<?php
/*
+---------------------------------------------------------------------------+
| Revive Adserver |
| http://www.revive-adserver.com |
| ... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model frontend\models\Products */
$this->title = 'เพิ่มสินค้า';
$this->params['breadcrumbs'][] = ['label' => 'ขายสินค้า', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="products-create">
<div class="site-cont... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\post_tag;
use Faker\Generator as Faker;
$factory->define(post_tag::class, function (Faker $faker) {
return [
'id_post' => random(1,100),
'id_tag' => random(1,100),
'Posts_id' => random(1,100),
'tags_id' => ra... |
@extends('front.layout.master')
@section('content')
<!-- ##### recent news Start ##### -->
<div class="hero-area">
<div class="container">
<div class="row">
<div class="col-12">
<div class="hero-slides owl-carousel">
@foreach ($recent_news as $item)
... |
<center>
<div id="myCarousel" class="carousel slide" data-ride="carousel" style="height: 200px;width: 500px">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
... |
<div class="list-group-item px-0" >
<div class="row">
<div class="col-auto">
<!-- Avatar -->
<a href="{{route('member.user.show',$active->causer)}}" class="avatar avatar-sm">
<img src="{{$active->causer->icon}}" alt="..." class="avatar-img rounded-circle">
... |
--TEST--
Starting Debugger: trigger, XDEBUG_SESSION_START [2]
--ENV--
XDEBUG_SESSION_START=foobar
--FILE--
<?php
require 'dbgp/dbgpclient.php';
dbgpRunFile(
dirname(__FILE__) . '/empty-echo.inc',
['step_into', 'step_into', 'property_get -n $e', 'detach'],
['xdebug.mode' => 'debug', 'xdebug.start_with_request' => 't... |
@extends('layouts.admin')
@section('content')
<!--面包屑导航 开始-->
<div class="crumb_warp">
<!--<i class="fa fa-bell"></i> 欢迎使用登陆网站后台,建站的首选工具。-->
<i class="fa fa-home"></i> <a href="{{url('admin/info')}}">首页</a> » 修改密码
</div>
<!--面包屑导航 结束-->
<!--结果集标题与导航组件 开始-->
<div class="res... |
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://hyperf.wiki
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
namespace Hyperf\ConfigAliyunAcm\Signal;
use Hyperf\ConfigAliyunAcm\Process\Confi... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Dingtalk\Vdrive_1_0\Models;
use AlibabaCloud\SDK\Dingtalk\Vdrive_1_0\Models\GetQuotaInfosResponseBody\quotas;
use AlibabaCloud\Tea\Model;
class GetQuotaInfosResponseBody extends Model
{
/**
* @description 容量信息列表
*
... |
<?php
declare(strict_types=1);
/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/
namespace Afosto\Sdk\Model;
class SplIntegration
{
/**
* @var string
*/
protected $id;
public function getId(): ?string
{
return $this->id;
}
public function ... |
<?php namespace App\Controllers\Admin;
use App\Core\AdminController;
use App\Models\SolvesModel;
class DashboardController extends AdminController
{
//--------------------------------------------------------------------
public function index()
{
$db = db_connect();
$status = $db->query('SHOW TABLE STATUS')->g... |
<?php $__env->startSection('content'); ?>
<div class="breadcrumbs">
<div class="col-sm-4">
<div class="page-header float-left">
<div class="page-title">
<h1>Dashboard</h1>
</div>
</div>
</div>
<div class="col-sm-8">
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Admin Aduin | Register</title>
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="{{ asset('lte... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Resources\Fee as FeeResource;
class FeeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(Request $request)
{
//... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Mahasiswa extends Model
{
protected $table = 'mahasiswa';
protected $fillable = ['user_id', 'npm', 'tgl_lahir', 'tempat_lahir', 'telepon', 'alamat','gender'];
public function user()
{
return $this->belongsTo(User::class, '... |
<?php
namespace Neos\Flow\Mvc\Routing;
/*
* This file is part of the Neos.Flow package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source code.
... |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalconphp.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Integration\Forms\Element;
us... |
<?php
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;
AppAsset::register($this); /* 注册appAsset */
?>
<?php $this->beginPage(); /* 页面开始标志位 */ ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<?php echo $this->render('head'); /* 引入头部 */ ?>
<body>
<?php $this->beginBody(); /* body开始标志位 */ ?>
<div cla... |
<?php
namespace App\Containers\Crud\Tasks;
use Illuminate\Support\Collection;
use App\Containers\Crud\Traits\DataGenerator;
use App\Containers\Crud\Traits\FolderNamesResolver;
/**
* CreateSeedersTask Class.
*
* @author Johan Alvarez <llstarscreamll@hotmail.com>
*/
class CreateSeedersTask
{
use FolderNamesRes... |
<?php defined('SYSPATH') or die('No direct script access.');
class Controller_Rest extends Controller_Template
{
protected $json = array();
public function before()
{
//only ajax request is allowed
if ( ! $this->request->is_ajax() AND Kohana::$environment !== Kohana::DEVELOPMENT)
... |
<?php
if(isUserLoggedIn()) {
?>
<!-- BEGIN HEADER -->
<body ng-app="regetrack">
<div class="page-header navbar navbar-fixed-top">
<!-- BEGIN HEADER INNER -->
<div class="page-header-inner">
<!-- BEGIN LOGO -->
<div class="page-logo">
<a href="escanear.php">
<img sr... |
<?php
// +----------------------------------------------------------------------
// | Yzncms [ 御宅男工作室 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2018 http://yzncms.com All rights reserved.
// +----------------------------------------------------------------------
// ... |
<script src="{{ asset('jquery-3.5.1.min.js') }}"></script>
<script src="{{ asset('js/bootstrap.min.js')}}"></script>
<script src="{{ asset('main.js')}}"></script>
<script src="{{ asset('print.min.js')}}"></script> |
--TEST--
DOMNode::getLineNo()
--SKIPIF--
<?php
include('skipif.inc');
?>
--FILE--
<?php
$file = dirname(__FILE__).'/book.xml';
$doc = new DOMDocument();
$doc->load($file);
$nodes = $doc->getElementsByTagName('title');
foreach($nodes as $node) {
var_dump($node->getLineNo());
}
?>
--EXPECT--
int(4)
int(8) |
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Twig_' => array($vendorDir . '/twig/twig/lib'),
'SensioLabs\\Security' => array($vendorDir . '/sensiolabs/security-checker'),
'Ras\\Bundle\\FlashAlertBundle' => ... |
<?php
namespace HiveApi\Core\Abstracts\Events\Jobs;
use HiveApi\Core\Abstracts\Events\Interfaces\ShouldHandle;
use HiveApi\Core\Abstracts\Jobs\Job;
/**
* Class EventJob
*
* @author Arthur Devious
*/
class EventJob extends Job
{
public $handler;
/**
* EventJob constructor.
*
* @param \Hiv... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Cviebrock\EloquentSluggable\Sluggable;
use Auth;
class Task extends Model
{
use Sluggable;
public $timestamps = true;
public function setStartDateAttribute($value)
{
if(!empty($value))
{
$this->attributes['st... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUnitsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('units', function ... |
<?php
/**
* @package AcyMailing for Joomla!
* @version 4.9.4
* @author acyba.com
* @copyright (C) 2009-2015 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
class delayType{
var $values = array();
var $nu... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\SiteInformation */
$this->title = Yii::t('yii','Create').' '.Yii::t('yii','Site Information');
$this->params['breadcrumbs'][] = ['label' => Yii::t('yii','Site Information'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $thi... |
<div class="sidebar">
<div class="widget">
<ul class="nav nav-tabs nav-stacked service-menu">
<li class="{{ ($active_sidebar == 'qualifications') ? 'active' : '' }}">
<a href="{{ url('/qualifications') }}"><small>Qualifications</small></a>
</li>
<li class="{{ ($active_sidebar == 'business-manageme... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Orders extends Model
{
protected $guarded = [];
protected $with = ['vehicles','drivers','collectors'];
use HasFactory;
// In the model:
public function getCreatedA... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categories',... |
<?php
/**
* Block Post Type.
*
* @package Genesis\CustomBlocks
* @copyright Copyright(c) 2021, Genesis Custom Blocks
* @license http://opensource.org/licenses/GPL-2.0 GNU General Public License, version 2 (GPL-2.0)
*/
namespace Genesis\CustomBlocks\PostTypes;
use Genesis\CustomBlocks\ComponentAbstract;
use Ge... |
<?php
if(!function_exists('checkdnsrr')){
function checkdnsrr($hostName, $recType = '')
{
if(!empty($hostName)) {
if( $recType == '' ) $recType = "MX";
exec("nslookup -type=$recType $hostName", $res);
// check each line to find the one that starts with the host
// name. If it exists then the function s... |
@extends('layouts.app')
@section('content')
<div class="container shadow p-3 mb-5 bg-white rounded">
<div class="card mb-3 col-10 mx-auto border-0">
<div class="row no-gutters">
<div class="col-md-4 ">
<h3 class="ml-3 mt-3">PROFILE</h3>
<div class="h-45 w-75 ">
... |
<?php
/**
* Pure-PHP implementation of AES.
*
* Uses mcrypt, if available/possible, and an internal implementation, otherwise.
*
* PHP versions 4 and 5
*
* NOTE: Since AES.php is (for compatibility and phpseclib-historical reasons) virtually
* just a wrapper to Rijndael.php you may consider using Rijndael.php i... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Department */
$this->title = 'Update Department: '. $model->shortName;
$this->params['breadcrumbs'][] = ['label' => 'Departments', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->shortName, 'url' => ['view',... |
<?php
$post = input('post.schid/a');
if (empty($post)) {
$post = [0];
}
// 准备地区数据
$areas = \app\check\model\Area::where(array('area_id' => ['in', array_keys($post)]))->column('area_name', 'area_id');
foreach ($post as $aid => $schids) {
if (empty($schids)) {
continue;
}
// 已经分组完毕的学校ID集合
... |
<?php
/* SVN FILE: $Id$ */
/**
* SessionTest file
*
* Long description for file
*
* PHP versions 4 and 5
*
* CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
* Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
*
* Licensed under The Open Group Test Su... |
<?php
$MESS['REST_INTEGRATION_GRID_PAGE_TITLE'] = 'Интеграции';
$MESS['REST_INTEGRATION_GRID_GRID_HEADER_ID'] = 'ID';
$MESS['REST_INTEGRATION_GRID_GRID_HEADER_USER_ID'] = 'Пользователь';
$MESS['REST_INTEGRATION_GRID_GRID_HEADER_TITLE'] = 'Название';
$MESS['REST_INTEGRATION_GRID_GRID_HEADER_SCOPE'] = 'Доступы';
$MESS['R... |
<?php
namespace Tests\Unit\Models;
use App\Models\Comment;
use App\Models\Status;
use App\Traits\HasLikesTrait;
use App\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class StatusTest extends TestCase
{
use RefreshDatabase;
/** @test */
public function a_status_belongs_to_a... |
<?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... |
<?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 Kelunik\Chat\Search;
class SearchResult {
private $total;
private $results;
public function __construct(int $total, array $results) {
$this->total = $total;
$this->results = $results;
}
public function getTotal() {
return $this->total;
}
public fu... |
@extends('layouts.panel')
@section('inner_panel')
<div class="user_tbl" id="user_tbl">
<table class="home_tbl">
@if(Auth::user()->isAdmin())
<tr id="monitor_tr">
<td style="background-color:rgba(0,0,0,0.... |
<nav class="navbar navbar-inverse">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
... |
<?php
/* @var $factory \Illuminate\Database\Eloquent\Factory */
use App\Models\Sales\CustomerInvoiceCfdi;
use Faker\Generator as Faker;
$factory->define(CustomerInvoiceCfdi::class, function (Faker $faker) {
return [
//
];
}); |
<?php
use yii\db\Migration;
/**
* 微信支付订单管理
*
* @link https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=9_1
* @author hiscaler <hiscaler@gmail.com>
*/
class m180118_062429_create_wechat_order_table extends Migration
{
/**
* @inheritdoc
*/
public function up()
{
$this->c... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRolesUserTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('roles_users',... |
<?php
namespace Drupal\workflows\Form;
use Drupal\Core\Entity\EntityForm;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Form\SubformState;
use Drupal\Core\Plugin\PluginFormFactoryInterface;
use Drupal\workflows\StateInterface;
use Symfony\Component\DependencyInjectio... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBlogCategoryTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('blog_categ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Skater;
use App\Goaler;
use App\Pooler;
use App\Team;
class PlayersController extends Controller
{
/**
* Display a listing of the resource.
*
* @return Response
... |
@extends('layouts.app')
@section('content')
<script>
// Example starter JavaScript for disabling form submissions if there are invalid fields
(function() {
'use strict';
window.addEventListener('load', function() {
// Fetch all the forms we want to apply custom Bootstrap validation styles to
var forms = documen... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit002461b1883f22a376be7bb74c810ab1::getLoader(); |
<?php
namespace Drush\Commands\generate\Helper;
use Consolidation\SiteProcess\Util\Escape;
use DrupalCodeGenerator\Helper\OutputHandler as BaseOutputHandler;
use Drush\Drush;
use Symfony\Component\Console\Output\OutputInterface;
use Webmozart\PathUtil\Path;
/**
* Output printer form generators.
*/
class OutputHand... |
<script>
var showContent =function () {
$('[ng-controller]').show();
$('[role="progressbar"]').hide();
};
document.addEventListener("DOMContentLoaded", showContent);
</script>
<script src="/js/jquery/jquery-3.1.1.js"></script>
<script src="/js/uikit.js"></script>
<script src="/js/app.js"></s... |
<?php namespace selecao\Providers;
use Illuminate\Support\ServiceProvider;
use \selecao\Models\Setor as SetorModel;
use \selecao\Models\Observers\Setor as SetorObserver;
class SetorServiceProvider extends ServiceProvider {
public function boot()
{
SetorModel::observe(new SetorObserver);
}
pub... |
<?php
declare(strict_types=1);
namespace AkeneoE3\Domain\Resource;
use Generator;
use LogicException;
final class NonAuditableResource implements BaseResource
{
private PropertyValues $properties;
private AttributeValues $attributes;
private ResourceType $resourceType;
private string $code;
... |
@extends('layouts.app')
@section('content')
<div class="panel-body">
<form class="form-horizontal" role="form" method="POST" action="{{ url('/login') }}">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}"... |
<!DOCTYPE html>
<html>
<?php
include_once "../_partials/head.php";
?>
<body class="hold-transition skin-green sidebar-mini">
<div class="wrapper">
<!--header-->
<?php
include_once "../_partials/headeruser.php";
?>
<!-- Left side column. contains the logo and sidebar -->
<aside class... |
<?php
include('connection.php');
?>
<!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">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css... |
@extends('admin.layout')
@section('header')
<h1>
Todas las publicaciones
<small>Optional description</small>
</h1>
<ol class="breadcrumb">
<li><a href="{{ route('dashboard') }}"><i class="fa fa-dashboard"></i> Inicio</a></li>
<li class="active">Posts</li>
</ol>
@stop
@sect... |
<?php
declare(strict_types=1);
namespace Http\Client\Curl\Tests\Functional;
use Http\Client\Tests\HttpClientTest;
use Http\Client\Tests\PHPUnitUtility;
use Psr\Http\Message\StreamInterface;
/**
* Base class for functional client tests.
*/
abstract class HttpClientTestCase extends HttpClientTest
{
/**
* T... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
... |
<?php
declare(strict_types=1);
/*
* This file is part of the NucleosUserAdminBundle package.
*
* (c) Christian Gripp <mail@core23.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nucleos\UserAdminBundle\Security\Rol... |
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace phpbb\di\extension;
use Symfon... |
<!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... |
<?php
/* Copyright (C) 2011 Dimitri Mouillard <dmouillard@teclib.com>
* Copyright (C) 2013-2018 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2012-2016 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2018 Charlene Benke <charlie@patas-monkey.com>
*
* This program is free softwa... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<?php foreach($edit_about_content as $edt_abt){} ?>
<title>Edit <?php echo str_replace('-', ' ', $edt_abt->title); ?> About Content ||... |
<?php
namespace Cupon\CiudadBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
class Ciudad {
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue
*/
protected $id;
/** @ORM\Column(type="string", length=100) */
protected $nombre;
/** @ORM\Co... |
<?php
use yii\db\Schema;
use app\components\Migration;
class m161214_075713_add_reply_table extends Migration
{
public function up()
{
$tableOptionsMyISAM = '';
if( strtolower($this->db->driverName) == 'mysql' ) {
$tableOptionsMyISAM = 'CHARACTER SET utf8 COLLATE utf8_general_ci EN... |
<?php
namespace Admin\Controller;
use Admin\Controller\CommonController;
/**
* 内容管理相关模块
* @author string
*
* TODO
* 带前缀的ACTION为控制权限用的,默认为view_
* 后缀带_iframe的ACTION是在iframe中加载的,用于统一返回格式
*/
class ContentController extends CommonController {
/**
* 对应权限如下:
* view 查看 | add 添加 | edit 编辑 | delete 删除 | order 排序
... |
<?php
namespace Chamilo\Core\Repository\ContentObject\ForumTopic\Common\Rendition\Html;
use Chamilo\Core\Repository\Common\ContentObjectResourceRenderer;
use Chamilo\Core\Repository\Common\Rendition\ContentObjectRendition;
use Chamilo\Core\Repository\ContentObject\ForumTopic\Common\Rendition\HtmlRenditionImplementatio... |
<?php
namespace App\Repositories;
use App\Models\SolicitudMatricula;
use InfyOm\Generator\Common\BaseRepository;
/**
* Class SolicitudMatriculaRepository
* @package App\Repositories
* @version July 5, 2020, 5:22 pm PET
*
* @method SolicitudMatricula findWithoutFail($id, $columns = ['*'])
* @method SolicitudMat... |
<div class="row">
<div class="col-md-2">
<p style="font-size: 1.5em; margin-top: 3em;">Skills & Languages </p>
</div>
<div class="col-md-10" style="line-height: 3.5em">
<br>
<table class="table table-striped" style="fon... |
<?php
namespace Croute\Event;
use Croute\Controller;
use Croute\ControllerInterface;
use Symfony\Component\HttpFoundation\Request;
/**
* Used after the controller is instantiated, you may replace the controller by setting a new controller
* @package Croute
*/
class ControllerLoadedEvent extends RouterEvent
{
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.