text stringlengths 2 1.03M |
|---|
<?php
/**
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
<?php
/**
* TechDivision\Import\Callbacks\AbstractEavAwareCallback
*
* PHP version 7
*
* @author Tim Wagner <t.wagner@techdivision.com>
* @copyright 2019 TechDivision GmbH <info@techdivision.com>
* @license https://opensource.org/licenses/MIT
* @link https://github.com/techdivision/import
* @link ... |
<html>
<head>
<title>301 Moved Permanently</title>
</head>
<body>
<h1>Moved Permanently</h1>
<p>
The resource has moved to
<a href="https://wincent.com/blog/synergy-3.1-now-available"
>https://wincent.com/blog/synergy-3.1-now-available</a
>
</p>
</body>
<script type="... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/aiplatform/v1beta1/model_monitoring.proto
namespace Google\Cloud\AIPlatform\V1beta1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* The config for fe... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTicketDetailsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ticket_details', function (Blueprint $table) {
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Auth extends CI_Controller {
public function index()
{
if (isLogin()) {
if (isAdmin()) {
redirect('/admin');
}
redirect('/');
}
$this->load->view('auth/login');
}
public function register()
{
if (isLogin()) {
... |
<?php
/*
* Copyright 2021 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 agre... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// $this->call(CarreraSeeder::class);
$this->call([
CamposSeeder::class,
ValoresPerso... |
<?php
namespace App\Services\Error;
use monsieurluge\result\Error\Error;
/**
* "file not found" Error.
*/
final class FileNotFound implements Error
{
/**
* @inheritDoc
*/
public function code(): string
{
return 'api-9';
}
/**
* @inheritDoc
*/
public function mes... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* RecordOperation File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'yii\\swiftmailer\\' => array($vendorDir . '/yiisoft/yii2-swiftmailer'),
'yii\\gii\\' => array($vendorDir . '/yiisoft/yii2-gii'),
'yii\\faker\\' => array($vendorDir . '... |
<?php
namespace CpdnIDP\Plugins;
use Phalcon\Events\Event;
use Phalcon\Mvc\User\Plugin;
use Phalcon\Dispatcher;
use Phalcon\Mvc\Dispatcher\Exception as DispatcherException;
use Phalcon\Mvc\Dispatcher as MvcDispatcher;
use \Exception;
/**
* NotFoundPlugin
*
* Handles not-found controller/actions
*/
class NotFound... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>网站已关闭</title>
</head>
<body>
<center>
<h1><font color="blue">光线视频网已关闭</font></h1>
<h2>您还可以浏览<a href="http://www.liboya.net">李博雅的个人网站</a></h2>
</center>
</body>
</html> |
<section class="main-content-wrapper">
<section id="main-content">
<div class="row">
<div class="col-md-12">
<ul class="breadcrumb">
<li><a href="<?php echo $domain_admin?>">管理后台</a></li>
<li><?php echo $title;?></li>
</ul>
... |
@extends('layouts.master')
@section('content')
<div class="content mt-3">
<div class="animated fadeIn">
<div class="row">
<div class="offset-3 col-lg-6">
<div class="card">
<div class="card-header">
<st... |
<?php
/*-----------------------------------------------------------------
!!!!警告!!!!
以下为系统文件,请勿修改
-----------------------------------------------------------------*/
namespace app\model\api;
use app\model\User as User_Base;
use ginkgo\Config;
use ginkgo\Arrays;
use ginkgo\Func;
// 不能非法包含或直接执行
if (!defined('IN_GINKGO'... |
<?php
use App\Models;
namespace App\Controllers\Admin;
class Mediapartner extends AdminBaseController
{
private $uploadPath = ROOTPATH .'public/images/mediapartner';
public function index()
{
$data['mediapartner'] = $this->mediapartner->orderBy('isactive', 'ASC')->orderBy('sequence')->findAll();
return view('... |
@extends('admin::layouts.master')
@section('content')
<div class="page-header">
<ol class="breadcrumb">
<li><a href="{{ route('admin.home') }}">Trang chủ</a></li>
<li><a href="{{ route('admin.get.list.vocabulary') }}" title="danh mục">Từ vựng</a></li>
<li class="active">Cập nhật</li>
</ol>
</div... |
<?php
namespace App\Models;
use App\Http\Controllers\Representation;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Location extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var array
*/
prot... |
<!-- ============================================================== -->
<!-- Left Sidebar - style you can find in sidebar.scss -->
<!-- ============================================================== -->
<aside class="left-sidebar">
<!-- Sidebar scroll-->
<div class="scroll-sidebar">
<!-- User profile -... |
<?php
namespace App\Models\Shopping;
use App\Models\Sale\Packager\Package;
use App\Traits\Authorable;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class CartItem extends Model
{
use HasFactory;
use Authorable;
protected $fillable = ['cart_id','product_id'... |
<?php
namespace Starweb\Api\Generated\Normalizer;
use Jane\JsonSchemaRuntime\Reference;
use Symfony\Component\Serializer\Exception\InvalidArgumentException;
use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface;
use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait;
use Symfony\Component... |
<?php
namespace App\Services;
use App\Tipo;
class ResponseTipo
{
public function index()
{
return datatables(Tipo::latest())
->editColumn('action', function ($tipo) {
$button = '<div class="text-lg-right text-nowrap">';
$button .=
'<a... |
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container">
<a href="{{ route('home') }}" class="navbar-brand">Weibo App
</a>
<ul class="navbar-nav justify-content-end">
@if (Auth::check())
<li class="nav-item"><a href="{{ route('users.index') }}... |
<?php
include('db.class.php');
$sql = "select * from Users where 1";
$obj = new Db();
$stmt = $obj->conn->prepare($sql);
$stmt->execute();
$res = $stmt->fetchAll(PDO::FETCH_ASSOC);
echo $json = json_encode($res);
//echo "<hr>";
//$data = json_decode($json);
//print_r($data); |
<?php
namespace InstagramAPI\Media;
abstract class MediaDetails
{
/** @var int */
private $_filesize;
/** @var string */
private $_filename;
/** @var int */
private $_width;
/** @var int */
private $_height;
/**
* @return int
*/
public function getWidth()
{
... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title = 'Signup';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-signup">
<h1><?= Html::encode($this->title) ?... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $model sims\models\PermissionForm */
$this->title = 'Create Permission Form';
$this->params['breadcrumbs'][] = ['label' => 'Permission Forms', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this... |
<?php
namespace App\Exports;
use App\Models\Location;
use Carbon\Carbon;
use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\WithCustomStartCell;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithStyles;
use PhpOffi... |
<?php
namespace backend\controllers;
use Yii;
use common\models\Driver;
use yii\data\ActiveDataProvider;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* DriverController implements the CRUD actions for Driver model.
*/
class DriverController extends Controller
{
/**... |
<?php
/**
* Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
*/
namespace Temando\Shipping\ViewModel;
/**
* Return Shipment Details Provider Interface
*
* All view models that allow shipping an RMA must implement this.
*
* @package Temando\Shipping\ViewModel
* @author ... |
<?php
namespace backend\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\ProductCategory;
/**
* ProductCategorySearch represents the model behind the search form about `common\models\ProductCategory`.
*/
class ProductCategorySearch extends ProductCategory
{
/**
* @in... |
<?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 a... |
<?php
return [
'serviceUrl' => env('SMS_URL','http://localhost'),
'username' => env('SMS_USERNAME','username'),
'password' => env('SMS_PASSWORD','password')
]; |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\models\MostActiveUsers */
$this->title = Yii::t('app', 'Create Most Active Users');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Most Active Users'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>... |
<?php
namespace App\Http\Controllers\Modals;
use Akaunting\Money\Currency as MoneyCurrency;
use App\Abstracts\Http\Controller;
use App\Jobs\Setting\CreateCurrency;
use App\Models\Setting\Currency;
use App\Http\Requests\Setting\Currency as Request;
class Currencies extends Controller
{
/**
* Instantiate a ne... |
@if ($paginator->hasPages())
<nav class="flexbox mt-30">
@if ($paginator->onFirstPage())
<a class="btn btn-white disabled"><i class="ti-arrow-left fs-9 mr-4"></i> Previous</a>
@else
<a href="{{ $paginator->previousPageUrl() }}" class="btn btn-white">Previous <i class="ti-arrow-left fs-9 mr-4"></... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class ActivityLogs extends Model
{
//
public function User(){
return $this->belongsTo('App\User');
}
public function Perfomee(){
return $this->belongsTo('App\User', 'performee_id');
}
public function Project(){
... |
<?php
/**
* @author Björn Schießle <bjoern@schiessle.org>
*
* @copyright Copyright (c) 2018, ownCloud GmbH
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Found... |
<?php
/**
* Copyright 2021 Catch-e Pty Ltd.
*
* 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 o... |
<?php
namespace App\Http\Controllers\Api\Auth;
use App\Http\Controllers\Controller;
use App\Http\Requests\Api\Auth\LoginFormRequest;
use Illuminate\Http\Request;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Http;
class LoginController extends Controller
{
pub... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
#
# Copyright (c) 2015 Cossack Labs Limited
#
# 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 agree... |
<?php
namespace RentGorilla\Commands;
use RentGorilla\Commands\Command;
class CreateAreaCommand extends Command
{
public $name;
public $province;
public function __construct($name, $province)
{
$this->name = $name;
$this->province = $province;
}
} |
<?php
namespace App\Models;
class Estado implements ModelInterface
{
private $id, $nome, $sigla;
public function __construct($id, $nome, $sigla)
{
$this->id = $id;
$this->nome = $nome;
$this->sigla = $sigla;
}
public function __destruct()
{
}
public functi... |
<?php
namespace Spatie\LaravelIgnition\Support\Composer;
use function app_path;
use function base_path;
use Illuminate\Support\Str;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\SplFileInfo;
class ComposerClassMap
{
protected $composer;
protected string $basePath;
public function __... |
<div class="account-panel account-sidebar" id="dashboard_side_bar_menu">
<a href="{{route('dashboard')}}"><h2>My Account</h2></a>
{!! Form::open(['method'=>'post', 'url'=>'dashboard/user-profile-pic-change','files'=>true, 'id'=>'profile_picture_form']) !!}
<div class="account-profile-img">
@if(!empt... |
<?php
return array (
'name' => 'AboutPage',
'label' => 'About Page',
'_id' => 'AboutPage5b4f29f7e4c70',
'fields' =>
array (
0 =>
array (
'name' => 'TitleTxt',
'label' => 'Title Text',
'type' => 'html',
'default' => '',
'info' => 'Text for the About Page Title',
'... |
<?php
namespace business\communication;
require_once '../autoload.php';
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-08-12 at 02:56:03.
*/
class EmailServiceTest extends \PHPUnit_Framework_TestCase {
/**
* @var EmailService
*/
protected $object;
/**
* Sets up the fixture, for exa... |
@extends('admin.layouts.admin')
@section('title')
<title>Trang chủ</title>
@endsection
@section('css')
<link rel="stylesheet" href="{{asset('backend/Slider/add.css')}}">
@endsection
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content ... |
<footer class="app-footer">
<div>
<strong>@lang('labels.general.copyright') © {{ date('Y') }} <a href="https://kellydevittceramics.com">Kelly Devitt Ceramics</a></strong> @lang('strings.backend.general.all_rights_reserved')
</div>
<div class="ml-auto">Powered by <a href="https://stonestreetsof... |
<?php
/* @var $this \yii\web\View */
/* @var $content string */
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\ActiveForm;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;
use app\controllers\PostController;
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DO... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class EmailRequestList extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get ... |
<?php
/**
* @deprecated This file is going to be removed in Psalm 5
*/
/** */
require __DIR__ . '/Psalm/Internal/Cli/Psalm.php';
\Psalm\Internal\Cli\Psalm::run($argv); |
<?php
declare(strict_types=1);
namespace App\Shared\Domain;
final class ResponseContent
{
public function __construct(private string $content)
{
}
public function toString(): string
{
return $this->content;
}
public static function internalServerError(): self
{
retur... |
<?
global $DB, $MESS, $APPLICATION;
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/filter_tools.php");
IncludeModuleLangFile(__FILE__);
IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/form/errors.php");
define('FORM_CRM_DEFAULT_PATH', '/crm/configs/import/lead.php');
$DBType = mb_strto... |
<?php
namespace SecurionPay\Connection;
use SecurionPay\Exception\ConnectionException;
class CurlConnection extends Connection
{
private $extraOptions;
public function __construct($extraOptions = array())
{
if (!extension_loaded('curl')) {
throw new \Exception('Please install the PHP... |
<?php
//File purchaseOrder_attr.php
require_once 'obj2Dom.php';
class purchaseOrder {
function placeOrder($po) {
ob_start();
var_dump($po);
$buffer = ob_get_flush();
file_put_contents('buffer.txt', $buffer);
ob_end_clean();
$obj = new obj2Dom('purchaseOrder');
$obj->trans2Dom($po);
... |
<?php
namespace App\Http\Controllers\Master;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
class PerawatController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
... |
<?php
/**
* Displays header site branding
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.0
*/
?>
<div class="site-branding">
<div class="wrap">
<?php the_custom_logo(); ?>
<div class="site-branding-text">
<?php if ( is_front_page() ) : ?>
<div style="background-ima... |
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form action="SubRamon.php" method="post" enctype="multipart/form-data">
Nombre De Usuario<br>
<input type ="text" name="NU" id ="NU"></input><br>
<p><input type="file" name="archivo" id="archivo"></input>
<... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTripPlansTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('trip_plans', ... |
<?php
/**
* @link http://github.com/zendframework/zend-mvc for the canonical source repository
* @copyright Copyright (c) 2005-2018 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-mvc/blob/master/LICENSE.md New BSD License
*/
namespace Zend\Mvc\View\Http;
u... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Models\User\Departement;
use App\Models\User\Commune;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Session;
class DepartementController extends Controller
{
/**
* Display a listing of the resource.
*
... |
<?php
/*
|--------------------------------------------------------------------------
| AzerusGram by Azerus
|--------------------------------------------------------------------------
|
|Author : https://www.kmarous.fr
|Mail : developer@mybestplace.fr
|
*/
Route::get('/', function () {
return view('welcome');
});... |
<?php
namespace App\Http\Controllers;
use Alert;
use App\Models\Artikel;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Str;
use Validator;
class ArtikelController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
... |
<?php
namespace backend\modules\rpjmdrenstra\controllers;
use Yii;
use common\models\TaSasaranRPJMD;
use backend\modules\rkpdrenja\models\TaSasaranRPJMDSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* RkpdController implements the CRUD actions for RkpdProgram mode... |
<?php
namespace RectorPrefix20210603;
if (\class_exists('Tx_Extbase_Validation_Validator_AlphanumericValidator')) {
return;
}
class Tx_Extbase_Validation_Validator_AlphanumericValidator
{
}
\class_alias('Tx_Extbase_Validation_Validator_AlphanumericValidator', 'Tx_Extbase_Validation_Validator_AlphanumericValidator... |
<?php
namespace Intaro\HStore\Doctrine\Query;
use Doctrine\ORM\Query\AST\Functions\FunctionNode;
use Doctrine\ORM\Query\Lexer;
/**
* Function avals() gets hstore values as array
*/
class AValsFunction extends FunctionNode
{
public $hstoreExpression = null;
public function getSql(\Doctrine\ORM\Query\SqlWal... |
<?php
declare(strict_types=1);
namespace LaminasTest\Diactoros;
use InvalidArgumentException;
use Laminas\Diactoros\Stream;
use Laminas\Diactoros\UploadedFile;
use PHPUnit\Framework\TestCase;
use ReflectionProperty;
use RuntimeException;
use function basename;
use function file_exists;
use function file_get_content... |
<!-- Numerocontrato Field -->
<div class="form-group col-sm-6">
{!! Form::label('numerocontrato', 'Numerocontrato:') !!}
{!! Form::text('numerocontrato', null, ['class' => 'form-control']) !!}
</div>
<!-- Horascontratadas Field -->
<div class="form-group col-sm-6">
{!! Form::label('horascontratadas', 'Hora... |
<?php
declare (strict_types=1);
namespace Rector\StaticTypeMapper\TypeFactory;
use PHPStan\Type\ObjectType;
use PHPStan\Type\Type;
use PHPStan\Type\UnionType;
use ReflectionClass;
use RectorPrefix20210909\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
final class UnionTypeFactory
{
/**
* @param string[... |
@extends('index')
@section('title')
O que eu não gosto tanto do PHP [PT-BR]
@endsection
@section('content')
<p>O PHP assim como o Java é uma linguagem alvo de muitas previsões,
todo mês são textos novos marcando a morte do PHP por X motivo mas a verdade
é que essas postagens já estão ficando batidas e nem são mais
... |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class AdminPasswordReset extends Notification
{
use Queueable;
private $verification_data;
/**
*... |
<?php
include 'config.php';
$response = [];
$studid = $_REQUEST['removestudent'];
$sql = "DELETE FROM tblstudents WHERE id='$studid'";
$result = mysqli_query($con,$sql);
if(mysqli_num_rows($result) === '1')
{
$response['success'] = 'true';
}
else {
$response['errors'] = 'false';
}
mysqli_close($con);
exit(json_e... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<html>
<head>
<title><?php echo $search_title;?></title>
<?php include("header.php");?>
<!--post-->
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 category-post-area">
<?php if(count($search_post)):?>
<?php foreach($search_post as $... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitc176e99159d40f7b84cbcd894d913d9f
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
namespace App\Console\Commands;
use MegaHelpers;
use App\SettingsPlex;
use App\Lib\Api\Plex;
use Illuminate\Console\Command;
class UpdateMediaCacheFromPlex extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'megamaid:upda... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Pedidos
<small>Delivery</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<... |
<?php
namespace App\Providers;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\Route;
class RouteServiceProvider extends ServiceProvide... |
<?php
include_once 'funciones/funciones.php';
$productos=$_POST['Productos'];
$cantidadb=$_POST["cantidadb"];
$imagenb=$_POST['imagenb'];
$cantidad=$_POST['cantidad'];
$nombreb=$_POST["nombreb"];
$descripcion=$_POST['descripcion'];
$preciob=$_POST["preciob"];
$imagen=$_POST['imagen'];
$marca=$_POST['marca'];
$nombre=... |
<div class="row wrapper border-bottom white-bg page-heading">
<div class="col-sm-4">
<h2>Gérer les Administrateurs </h2>
</div>
</div>
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-lg-12">
<div class="ibox-title">
... |
<?php
//file : app/config/constants.php
return [
'ADMIN_NAME' => 'administrator'
]; |
@extends('layouts.panel')
@section('title','PPO explorer')
@section('panelHeading','PPO explorer')
@section('panelBody')
<div class="col-md-12 pri-cat">
<h4 id="pri-cat-heading">Select Primary Categories: </h4>
<div class="btn-group btn-group-sm pri-cat-btn-group" role="group">
<button type='button' class='btn btn-... |
<?php
namespace Respect\Validation\Rules;
use Egulias\EmailValidator\EmailValidator;
class Email extends AbstractRule
{
public function __construct(EmailValidator $emailValidator = null)
{
$this->emailValidator = $emailValidator;
}
public function getEmailValidator()
{
if (!$this-... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSaleReturnDetailsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sale_... |
<form action="" method="get" autocomplete="off">
<div class="row form-group">
<div class="col-md-3">
<div class="form-group">
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Date range from');?></label>
<div class="row">
<div class="col-md-... |
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
public function inde... |
<?php
/**
* If you need an environment-specific system or application configuration,
* there is an example in the documentation
* @see https://docs.zendframework.com/tutorials/advanced-config/#environment-specific-system-configuration
* @see https://docs.zendframework.com/tutorials/advanced-config/#environment-spe... |
<?php
namespace App\Http\Controllers;
use App\Applicant;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;
use App\Mail\AppReg;
// use PHPMailer\PHPMailer\PHPMailer;
// use PHPMailer\PHPMailer\Exception;
class ApplicantController extends Controller
{
/**
* Display a listing of the resource.
... |
<?php
namespace ACP\Helper\Select\Value;
use ACP\Helper\Select;
use WP_User;
final class User
implements Select\Value {
/**
* @param WP_User $user
*
* @return int
*/
public function get_value( $user ) {
return $user->ID;
}
} |
<?php
namespace Gedmo\Tree\Strategy\ORM;
use Doctrine\Common\Cache\Cache;
use Doctrine\DBAL\Connection;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\Mapping\ClassMetadataInfo;
use Doctrine\ORM\Version;
use Doctrine\Persistence\ObjectManager;
use Gedmo\Exception\RuntimeException;
use Gedmo\Mapping\Event\A... |
<div class="footer black">
<div class="container">
<!-- div class="arrow"><b class="caret"></b></div -->
<div class="row">
<div class="col-md-3">
<div>
<h3>Information</h3>
<ul>
<li><?= $this->Html->link('About Us', ['controller' => 'Pages', 'action' => 'about_us... |
<?php
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://w... |
<?php
/**
* Copyright 2018 Cloud Creativity Limited
*
* 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 ... |
<?php
/**
* Created by PhpStorm.
* User: Ricardo
* Date: 08/06/2018
* Time: 10:34 AM
*/ |
<?php
/*
* This file was automatically generated by sel-utils and
* released under the MIT License.
*
* License: https://github.com/sel-project/sel-utils/blob/master/LICENSE
* Repository: https://github.com/sel-project/sel-utils
* Generated from https://github.com/sel-project/sel-utils/blob/master/xml/protocol/... |
<?php
final class PhabricatorApplicationHerald extends PhabricatorApplication {
public function getBaseURI() {
return '/herald/';
}
public function getIconName() {
return 'herald';
}
public function getShortDescription() {
return pht('Create Notification Rules');
}
public function getTitl... |
@extends('front.Users.Layout.app')
@section('body')
<div id="fh5co-pricing">
<div class="container">
<div class="row animate-box">
<div class="col-md-8 col-md-offset-2 text-center fh5co-heading">
<h2>Béo phì loại 3 là gì? Cách khắc phục?</h2>
<p>Béo phì có phải nguyên nhân của nhiều... |
<?php
namespace App\Http\Controllers;
use App\Album;
use Illuminate\Http\Request;
class AlbumsController extends Controller
{
public function index()
{
$albums = Album::with('Photos')->get();
return view('albums.index')->with('albums', $albums);
}
public function create()
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.