text stringlengths 2 1.03M |
|---|
@extends('layouts.app')
@section('content')
<h1>Posts Page</h1>
@stop |
<h1>Хуй</h1> |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBookingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bookings', fun... |
<?php
namespace App\View\Components;
use Illuminate\View\Component;
class TvCard extends Component
{
public $tvshow;
public function __construct($tvshow)
{
$this->tvshow = $tvshow;
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contra... |
{!! HTML::script('assets/tinymce/tinymce.min.js')!!}
<script type="text/javascript">
tinymce.init({
selector: $textarea,
theme: "modern",
plugins: [
"advlist autolink link image lists charmap preview hr anchor pagebreak spellchecker",
"searchreplace wordcount visualblocks visualchars code... |
@extends('layouts.master')
@section('title','添加广告信息')
@section('content')
<ul class="breadcrumb">
<li>
<i class="icon-list-ul"></i>
<a href="">添加广告信息</a>
<i class="icon-angle-right"></i>
</li>
</ul>
<!--面包屑导航 结束-->
<div class="portlet-body">
... |
<?php
/**
* Admin.
*/
namespace Extendify\Library;
use Extendify\Library\App;
use Extendify\Library\User;
use Extendify\Library\SiteSettings;
/**
* This class handles any file loading for the admin area.
*/
class Admin
{
/**
* The instance
*
* @var $instance
*/
public static $instanc... |
<?php
declare(strict_types=1);
namespace Bizkit\VersioningBundle\Writer;
use Bizkit\VersioningBundle\Version;
use Symfony\Component\Yaml\Yaml;
final class YamlFileWriter extends AbstractFileWriter
{
public function write(Version $version): void
{
$yaml = Yaml::dump([
'parameters' => [
... |
<?php
namespace Base;
use \KluAdminQuery as ChildKluAdminQuery;
use \DateTime;
use \Exception;
use \PDO;
use Map\KluAdminTableMap;
use Propel\Runtime\Propel;
use Propel\Runtime\ActiveQuery\Criteria;
use Propel\Runtime\ActiveQuery\ModelCriteria;
use Propel\Runtime\ActiveRecord\ActiveRecordInterface;
use Propel\Runtime... |
@if($errors->any())
<ul class="alert alert-danger">
@foreach($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
@endif |
<?= $this->extend('layout/template_news') ?>
<?= $this->section('content') ?>
<div class="container">
<div class="row">
<div class="col">
<h1>HOME</h1>
<?php
// d($tes);
// untuk var_dump di CI4
?>
</div>
</div>
</div>
<?= $... |
<?php
namespace Twilio;
use Twilio\Exceptions\TwimlException;
/**
* Twiml response generator.
*/
class Twiml {
protected $element;
/**
* Constructs a Twiml response.
*
* @param \SimpleXmlElement|array $arg
* @throws TwimlException
* :param SimpleXmlElement|array $arg: Can be any o... |
<?php
namespace App\Http\Controllers;
use App\TransactionDetail;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class DashboardTransactionController extends Controller
{
public function index()
{
$sellTransactions = TransactionDetail::with(['transaction.user', 'product.galleries'])... |
<?php
/**
* ALIPAY API: koubei.trade.ticket.ticketcode.cancel request
*
* @author auto create
* @since 1.0, 2018-06-07 16:00:00
*/
class KoubeiTradeTicketTicketcodeCancelRequest
{
/**
* 口碑凭证码撤销核销
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
private... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\search\AutoModelSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="auto-model-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Servicios';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="servicio-index">
<h1><?= Html::encode($this->title) ?></h1>
<p>
<?= Html::a... |
<div class="col-m col-12 profile-header">
<img src="<?=isset_get($data['user'], 'profile_picture', 'unset');?>" alt="profile-picture" height="250" width="250" class="img-circel online">
</div>
<div class="col-m col-12 profile-menu">
<nav class="profile-menu-res">
<a href="profile/<?=$data['user']->id;?>... |
<?php
/*
* This file is part of the "dragon-code/pretty-routes" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see... |
<?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... |
@extends('layouts.main')
@section('content')
<div class="row">
<form method="POST" class="m-auto tile w-100" action="{{ route('password.email') }}">
@csrf
<div class="px-5 py-4">
<x-auth-session-status class="alert alert-info" :status="session('status')" />
... |
<?php
if (!function_exists('essb_yoast_custom_data')) {
function essb_yoast_custom_data() {
global $post;
$r = array('title' => '', 'description' => '');
$yoast_title = get_post_meta( $post->ID, '_yoast_wpseo_title', true);
$yoast_description = get_post_meta( $post->ID, '_yoast_wpseo_metadesc', true);
... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/home/grav/www/html/system/languages/no.yaml',
'modified' => 1482874754,
'data' => [
'FRONTMATTER_ERROR_PAGE' => '---
Tittel: %1$s
---
# Feilmelding: Ugyldig Frontmatter
Pane: \'%2$s\'
**%3$s **
```
%4$s
```
',... |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Api\V2010\Account;
use Twilio\ListResource;
use Twilio\Options;
use Twilio\Serialize;
use Twilio\Values;
use Twilio\Version;
class AddressList extends ListResource {
/**
... |
<?php
namespace Tests\Unit;
use App\Concert;
use App\Exceptions\NotEnoughTicketsException;
use App\Order;
use App\Ticket;
use Carbon\Carbon;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class ConcertTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public functio... |
<?php
namespace App\Http\Controllers;
use App\Models\Berita;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Response;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\Validator;
use Ramsey\Uuid\Uuid;
class BeritaController extends Controller
{
... |
<?php
/**
* Rest model for Vehicle Type
*/
namespace api\common\models;
class VehicleType extends \common\models\VehicleType
{
} |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use App\Models\UserProfileImage;
use Illuminate\Http\Request;
use Auth;
use Illuminate\Support\Facades\Hash;
class UserProfileController extends Controller
{
public function index(){
$profileImage = UserProfileImage::where('user_id', Aut... |
<?php
namespace App\Http\Controllers\Bbs;
use App\Models\Bbs\User;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class BaseController extends Controller
{
public function __construct()
{
//parent::__construct();
}
/**
* 返回指定 guard 的 auth
* @return \Illuminate\Co... |
<?php $__env->startSection('content'); ?><p>Health Minister Edward Argar today failed to rule out a return to compulsory working from home in England as coronavirus case numbers continue to increase. </p>
<p>Mr Argar said there are 'no plans at the moment' to advise all workers who can work from home to do so as he le... |
<?php
require_once (LOGER_ROOT . '/LogStorage.php');
require_once (LOGER_ROOT . '/Logger.php');
define('DS', DIRECTORY_SEPARATOR);
/**
* 写文件日志类
* @author sunnyzeng
* @version 1.0
* @created 03-五月-2017 15:09:34
*/
class File implements LogStorage
{
protected $config = [
'time_format' => ' c ',
'file... |
<?php
require_once("./conn/conn.php");
require_once("./conn/function.php");
session_start();
?>
<?php
$file = $_FILES['myfile']; //得到传输的数据,以数组的形式
$name = $file['name']; //得到文件名称,以数组的形式
$upload_path = "./images/shiming/"; //上传文件的存放路径
$wznr=addslashes($_POST['pengyou-wz-nr']);
@$pengyou_user=$_SESSION['pengyou_use... |
<div class="container">
<div class="card o-hidden border-0 shadow-lg my-5 col-lg-7 mx-auto">
<div class="card-body p-0">
<!-- Nested Row within Card Body -->
<div class="row">
<div class="col-lg">
<div class="p-5">
... |
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]--> |
<div class="portlet box yellow-gold edit-form-main">
<div class="portlet-title togglelable">
<div class="caption">
<i class="fa fa-pencil"></i>{!! trans('admin::messages.edit-name', ['name' => trans('admin::controller/offer-recommendation.offer-recommendation') ]) !!}
</div>
<div... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<a href="{{url('/facebook/redirect')}}" class="btn btn-primary">Login com Facebook</a>
</div>
</div>
</d... |
<?php
namespace Design311\WebsiteBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class RecipeIngredientType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder,... |
<?php
/* $Id: server_engines.php,v 2.16 2005/12/07 09:52:16 cybot_tm Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* display list of server enignes and additonal information about them
*/
if ( ! defined( 'PMA_NO_VARIABLES_IMPORT' ) ) {
define( 'PMA_NO_VARIABLES_IMPORT', true );
}
/**
* requirements
*/
requi... |
<!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">
<title>View</title>
</head>
<h1>{{ $title }}</h1>
<p>{{ $text }}</p>
<body>
</body>
</html> |
<?php namespace x\panel;
function _abort($value, $key, $fn) {
if (\defined("\\DEBUG") && \DEBUG) {
\Guard::abort('Unable to convert data <code>' . \strtr(\htmlspecialchars(\json_encode($value, \JSON_PRETTY_PRINT)), [' ' => ' ', "\n" => '<br>']) . '</code> because function <code>' . $fn . '</code> does... |
<script>
// Popup window code
function newPopup(url) {
popupWindow = window.open(
url,'popUpWindow','height=300,width=400,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
}
</script>
<div class="row">
<ul class="nav nav-pills">
<li class='<?php echo Arr:... |
<!-- Masthead -->
<header class="masthead text-white text-center">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto">
<h1 class="mb-5">All the world’s currencies<br>at your fingertips!</h1>
</div>
<div class="col-md-10 col-lg-8 col-xl-7... |
<?php
namespace backend\controllers;
use backend\models\Apple;
use yii\data\ActiveDataProvider;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* AppleController implements the CRUD actions for Apple model.
*/
class AppleController extends Controller
{
/**
* @inh... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\CommentSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="comment-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
... |
<?php
namespace App\Commands;
class QueryCommand extends AbstractCommand {
protected $helpText = 'q [soql] - Execute an SOQL query and return the result';
protected $titleText = 'Query';
public function aliases() {
return [
'q',
'query',
];
}
public functio... |
<?php
/**
* @file
* Definition of Kula\Core\Component\Database\StatementPrefetch
*/
namespace Kula\Core\Component\Database;
use Kula\Core\Component\Database\Connection;
/**
* An implementation of StatementInterface that prefetches all data.
*
* This class behaves very similar to a \PDOStatement but as it alwa... |
<!-- batas-->
<!DOCTYPE html>
<html>
<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 content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
... |
<?php
/*
Code included from the Enhanced Paypal Shortcodes plugin.
http://thewpwarrior.com/wordpress-plugin-enhanced-paypal-shortcodes/
Use shortcodes to easily embed a fully functional paypal button on your WordPress website.
Can be used for Buy Now and Subscription buttons. <a href="https://www.paypal.com/cgi-bin/web... |
<?= $this->extend("Layouts/main") ?>
<?= $this->section("content") ?>
<div class="container">
<h1>Table de routage </h1>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Table de routage</h3>
</div>
<div class="panel-body">
<... |
<?php
namespace Info\PageBundle\DBAL;
use Doctrine\DBAL\Types\Type;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Strokit\CoreBundle\DBAL\EnumType;
class PageTypeEnum extends EnumType
{
protected $name = 'pagetype_enum';
protected $values = array('top','bottom');
public static function getArray()
... |
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver;
use Doctrine\DBAL\DriverManager;
use Doctrine\DBAL\FetchMode;
use Doctrine\DBAL\Platforms\PostgreSqlPlatform;
use Doctrine\Tests\DbalFunctionalTestCase;
/**
* @requires extension pdo_pgsql
*/
class PDOPgsqlConnectionTest extends DbalFunctionalTestCase
{
pr... |
<?php
namespace app\common\model;
use think\Model;
use think\model\concern\SoftDelete;
class AdminRemittance extends Model {
use SoftDelete;
protected $pk = 'id';
// 设置当前模型对应的完整数据表名称
protected $table = 'pz_admin_remittance';
// 设置当前模型的数据库连接
protected $connection = '';
protected $deleteTim... |
@extends('layout.admin')
@section('content')
@if (Session::has('message'))
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="{!! Session::get('class') !!}">{!! Session::get('message') !!}</div>
</div>
</div>
</div>
@endif
<div class="clearfix"></div>
<div id="main-container" ... |
<?php
?>
@extends('layouts.admin')
@section('header')
Blood Group
@endsection
@section('content')
{{--@if( Auth::user()->photo_id=='')--}}
{{--no pic--}}
{{--@else--}}
{{--pic--}}
{{--@endif--}}
<table class="table table-hover table-responsive">
<thead>
<tr>
... |
@extends('layout.authentication')
@section('title', 'Login')
@section('content')
<div class="container">
<div class="col-md-12 content-center">
<div class="card-plain">
<form class="form" method="" action="">
<div class="header">
<div... |
<?php
/**
* ImageDeleteResponseItem
*
* PHP version 7.2
*
* @category Class
* @package Ory\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Ory APIs
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a va... |
<x-web.layout.master :pageData="$pageData">
{{-- Modlitby matiek --}}
<x-web.page.section name="PAGE: ({{$pageData['title']}}) -" class="static-page pad_b_50">
</x-web.page.section>
</x-web.layout.master> |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAttractionWorkingHoursTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('... |
<?php
namespace venveo\hubspottoolbox\controllers;
use craft\web\Controller;
/**
*
* https://craftcms.com/docs/plugins/controllers
*
* @since 2.0.0
*/
class HubspotController extends Controller
{
// Public Methods
// =========================================================================
/**
... |
<?php if(! defined('BASEPATH')) exit('No direct script access allowed');
/**
* signup model
*/
class Material_type_dropdown_model extends CI_model
{
function material_type_dropdown()
{
//$ipJson = json_encode($input);
$this->db->select('mat_type');
$this->db->from('gmt_material');
... |
@extends('layouts.admin.index')
@section('title', 'Event Organisers')
@section('pagespecificstyles')
<!-- style -->
<!-- /style -->
@endsection
@section('content')
<!-- ============================================================== -->
<!-- Bread crumb and right sidebar toggle -->
<!-- ==============================... |
<?php
namespace app\models;
/**
* This is the ActiveQuery class for [[PropertyDetail]].
*
* @see PropertyDetail
*/
class PropertyDetailQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* @inheritdoc
* @return Propert... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
<title>Welcome user - Home</title>
</head>
<body>
<div class="w-full bg-gray-200 shadow-md text-lg fon... |
@extends('layouts/master')
@section('title')
{{ $title }}
@endsection
@section('content')
<!-- Striped Rows -->
<div class="row clearfix">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="card">
<div class="header">
... |
<?php
namespace AJT\Toggl;
use GuzzleHttp\Client;
/**
* A TogglClient
*/
class ReportsClient extends TogglClient
{
/**
* Factory method to create a new TogglClient
*
* The following array keys and values are available options:
* - base_url: Base URL of web service
* - api_key: API key... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\HomeController1;
use App\Http\Controllers\AdminController;
use App\Http\Controllers\CategoryController;
use App\Http\Controllers\BrandProductController;
use App\Http\Controllers\CartController;
/*
|-------------------------------------------------... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class orderRequest extends Model
{
//
function user ()
{
return $this->belongsTo(user::class );
}
} |
<?php
/**
* Weather and ExampleWeather as services.
*/
return [
// Services to add to the container.
"services" => [
"weather" => [
"active" => true,
"shared" => true,
"callback" => function () {
$config = $this->get("configuration");
... |
<header class="s-header">
<div class="header-logo">
<a class="site-logo" href="<?php echo base_url('admin/dashboard') ?>">
<img src="<?php echo base_url('assets/images/logo.png') ?>" alt="Logo Mablix" />
</a>
</div>
<nav class="header-nav">
<a href="#0" class="header-n... |
<?php
namespace App\Http\Controllers\Auth;
use App\Models\User;
use Polyel\Http\Request;
use Polyel\Auth\AuthManager;
use App\Http\Controllers\Controller;
use Polyel\Auth\Controller\AuthVerifyEmail;
class VerificationController extends Controller
{
/*
│--------------------------------------------------------... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2019 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
namespace Dhii\Expression\Renderer\FuncTest;
use Dhii\Expression\ExpressionInterface;
use Dhii\Expression\Renderer\ExpressionContextInterface;
use Dhii\Expression\Renderer\RenderExpressionAndTermsCapableTrait as TestSubject;
use InvalidArgumentException;
use Xpmock\TestCase;
use Exception as RootException;
use ... |
<?php
/**
* The main template for implementing Theme/Customzer Options
*
* @package Catch Themes
* @subpackage Catch Base
* @since Catch Base 1.0
*/
if ( ! defined( 'CATCHBASE_THEME_VERSION' ) ) {
header( 'Status: 403 Forbidden' );
header( 'HTTP/1.1 403 Forbidden' );
exit();
}
/**
* Implements Catchbase t... |
<section class="content-header" style="background: #ecedee;">
<h1>
<b><a href="#"> </a> PENGATURAN VOUCHER</b>
<small></small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<?php
/////============================================================... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model app\models\ContactForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\captcha\Captcha;
$this->title = 'Контакты';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-contact">
<h1><?= Html:... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProcessDevolutionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('proc... |
<?php
namespace App\Http\Controllers;
use Request;
use App\Http\Controllers\Controller;
use DB;
use Illuminate\Support\Facades\Input;
class AjaxController extends Controller
{
public function getModel($maker){
//if(Request::ajax()){
$result = DB::Select("select model from ctr_vehicles where maker='$m... |
<?php
namespace dlaser\AdminBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpExce... |
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\Api\Models\Cart;
use Commercetools\Base\DateTimeImmutableCollection;
use Commercetools\Base\JsonObject;
interface CartPagedQueryResponse extends JsonObject
{
public const FIELD_LIMIT = 'limit... |
<?php
namespace patabrava\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
declare(strict_types=1);
namespace Helis\SettingsManagerBundle\Tests\Unit\Provider;
use Helis\SettingsManagerBundle\Provider\AbstractBaseCookieSettingsProvider;
use PHPUnit\Framework\TestCase;
use Symfony\Component\HttpFoundation\Cookie;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFo... |
<?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
namespace Eden\Core;
/**
* Core Factory Class
*
* @package Eden
* @category Core
* @author Christian Blanquera... |
<?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\Translation\Tests\Loader;
use Symfony\Component\Trans... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddUserIdToPosts extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('posts',function($t... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row" style="margin-top:20px">
@include('flash::message')
</div>
<div class="row" style="margin-bottom:10px">
<div class="col-md-3">
<h3>Product Catalogue.</h3>
</div>
<div ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Spatie\Translatable\HasTranslations;
class StudentParent extends Model
{
use HasTranslations;
public $translatable= ['father_name','father_job','mother_name','mother_job'];
protected $guarded ;
public function ParentAttachmen... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
class AdminMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle(Request $request, Closure $... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddColumnToReservation extends Migration
{
protected $table = 'reservations';
/**
* Run the migrations.
*
* @return void
*/
public function up()
... |
@extends('emails/layouts/default')
<!-- Traduction Laravel-france -->
<!-- Maj:2/05/2013 - frontend.php -->
@section('content')
<p>Bonjour {{ $user->first_name }},</p>
<p>Bienvenue sur SiteNameHere!, validez votre inscription en cliquant sur le lien ci-dessous :</p>
<p><a href="{{ $activationUrl }}">{{ $activation... |
<?php
/**
* This file is part of SebastianFeldmann\Git.
*
* (c) Sebastian Feldmann <sf@sebastian-feldmann.info>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SebastianFeldmann\Git\Command\Config;
use PHPUnit\Framework\... |
<?php
namespace AppBundle\Entity;
class Build
{
private $id;
private $name;
private $project;
private $status;
private $files;
/**
* Get id
*
* @return guid
*/
public function getId()
{
return $this->id;
}
/**
* Set name
*
* @par... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
/*
... |
<?php
namespace Kunstmaan\UserManagementBundle\Controller;
use Doctrine\ORM\EntityManager;
use Kunstmaan\AdminBundle\Controller\BaseSettingsController;
use Kunstmaan\AdminBundle\Entity\Group;
use Kunstmaan\AdminBundle\FlashMessages\FlashTypes;
use Kunstmaan\AdminBundle\Form\GroupType;
use Kunstmaan\AdminListBundle\Ad... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "request".
*
* @property integer $id
* @property string $name
* @property string $address
* @property string $email
* @property string $phone
* @property string $date_create
*/
class Request extends \yii\db\ActiveRecord
{
/*
... |
<?php
return [
'depot_laravel_validation_required' => "Pachet obligatoriu. Instalaţi prettus/laravel-validation ('composer require prettus/laravel-validation'), vă rog.",
'league_fractal_required' => "Pachet obligatoriu. Instalaţi league/fractal ('composer require league/fractal') (0.12.*), vă rog.",
]; |
<?php
namespace App\utis;
use Auth;
use App\Log;
use App\Historico;
use App\Regional;
use App\Instituto;
use App\Setor;
use App\Estado;
use DB;
use Illuminate\Support\Facades\Redirect;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | T... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Airport extends Model
{
public function flights()
{
return $this->hasMany(Flight::class);
}
} |
<?php
namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var string[]
*/
protected $dontReport = [
//
];
/**
... |
</div>
<script src="<?php echo $base_url; ?>/lib/js/scripts.js"></script>
<?php wp_footer(); ?>
</body>
</html> |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AdminLTE 2 | Dashboard</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.