text stringlengths 2 1.03M |
|---|
<?php
namespace Psalm\Internal\Analyzer;
use PhpParser;
use PhpParser\Node\Expr\ArrowFunction;
use PhpParser\Node\Expr\Closure;
use PhpParser\Node\Stmt\ClassMethod;
use PhpParser\Node\Stmt\Function_;
use Psalm\Codebase;
use Psalm\Internal\Analyzer\FunctionLike\ReturnTypeAnalyzer;
use Psalm\Internal\Analyzer\FunctionLi... |
<?php
/**
* Phanbook : Delightfully simple forum software
*
* Licensed under The BSD License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @link http://phanbook.com Phanbook Project
* @since 1.0.0
* @license ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePaymentBillsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('payment_bi... |
<?php
namespace Mapbender\WmtsBundle\DependencyInjection\Compiler;
use Mapbender\PrintBundle\Component\ImageExportService;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;
class... |
--TEST--
imap_renamemailbox() function : basic functionality
--CREDITS--
Olivier Doucet
--SKIPIF--
<?php
require_once(__DIR__.'/setup/skipif.inc');
?>
--CONFLICTS--
defaultmailbox
--FILE--
<?php
require_once(__DIR__.'/setup/imap_include.inc');
$stream_id = setup_test_mailbox('imaprenamemailbox', 1);
$newbox = IMAP_D... |
<?php
$regex = new MongoRegex('/foo[bar]{3}/imx');
echo (string) $regex . "\n"; |
{{-- @auth --}}
<nav id="sidebar">
<div class="sidebar-header">
{{-- <img src="{{asset('images/logo.png')}}" alt="poddar"> --}}
</div>
<ul class="list-unstyled components">
{{-- @if(Auth::user()->user_role_type=='superadmin') --}}
<li class="">
<a href="{{url('book... |
@extends('app')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Alta Cliente</div>
<div class="panel-body">
@if (count($errors) > 0)
<div class="alert alert-danger">
<st... |
<?php
namespace Spatie\Permission\Traits;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Spatie\Permission\Contracts\Permission;
use Spatie\Permission\Contracts\Role;
use Spatie\Permission\Permissio... |
<?php namespace TeslaMN\SocialApi\Providers\Odnoklassniki;
use TeslaMN\SocialApi\Providers\Odnoklassniki\Rest\Friends;
use TeslaMN\SocialApi\Providers\Odnoklassniki\Rest\UserInfo;
class Api
{
use Friends;
use UserInfo;
protected $config;
public function __construct()
{
$this->config = co... |
<?php
namespace raylib\Helpers;
interface Renderable
{
public function render() :void ;
} |
<?php
namespace RubtsovAV\YandexWordstatParser;
class Query
{
/**
* The requested words
*
* @var string
*/
protected $words;
/**
* The requested regions
*
* @var null|int[]
*/
protected $regions;
/**
* The requested page number
*
* @var int
*/
protected $pageNumber;
/**
* @para... |
<?php
namespace Phork\Pkg\Debug\Handlers;
/**
* The debug handler interface makes sure each debug handler has
* a proper constructor and a log method.
*
* @author Elenor Collings <elenor@phork.org>
* @package \Phork\Pkg\Debug
*/
interface HandlerInterface
{
public ... |
<?php
namespace app\models;
use yii\db\ActiveRecord;
/**
* модель категорий
*/
class Category extends ActiveRecord {
public function behaviors()
{
return [
'image' => [
'class' => 'rico\yii2images\behaviors\ImageBehave',
]
];
}
public s... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Register</div>
<div class="panel-body">
<form class="for... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Migration_Add_site_public_lang_setting extends CI_Migration
{
public function up()
{
$this->db->insert('settings', array(
'slug' => 'site_public_lang',
'title' => 'Public Languages',
'description' => 'Which are the languages r... |
<?php
return [
'database' => [
// 数据库类型
'type' => 'mysql',
// 服务器地址
'hostname' => '127.0.0.1',
// 数据库名
'database' => '',
// 用户名
'username' => 'root',
// 密码
'password' => '',
// 端口
'hostport' => '',
// 连接dsn
... |
@extends('adminlte::page')
@section('title', 'Business')
@section('content_header')
<h1>Administracion Fast Business</h1>
@stop
@section('content')
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Incidunt dicta dolor quasi error quidem asperiores nam. Consectetur quam, itaque placeat dignissimos... |
<?php declare(strict_types=1);
/*
* This file is part of phpunit/php-token-stream.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
class PHP_Token_IS_NOT_EQUAL extends PHP_Token
{
} |
<?php
/* database/structure/favorite_anchor.twig */
class __TwigTemplate_5171e1b1d3cb097afdc44f1423874e0def8e854617001dc9cebecbc1ab2b2154 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arra... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateContainersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('containers',... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta name -->
<?php echo $this->include('header/meta'); ?>
<title><?php echo $title; ?></title>
<!-- Global stylesheets -->
<?php echo $this->include('header/global'); ?>
</head>
<body class="navbar-bottom navbar-top">
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Program;
class ProgramsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$progr... |
<?php
namespace App\Http\Controllers\yonetim;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Auth;
use App\Models\users;
use App\Models\kullanicidetay;
use Hash;
class Kullanicicontroller extends Controller{
public function oturumac(){
if(request()->isMethod('POST')){
$this->val... |
<?php
namespace Concrete\Core\File;
use Concrete\Core\Application\UserInterface\ContextMenu\Item\DialogLinkItem;
use Concrete\Core\Application\UserInterface\ContextMenu\Item\DividerItem;
use Concrete\Core\Application\UserInterface\ContextMenu\Item\LinkItem;
use Concrete\Core\Entity\File\File as FileEntity;
use Concret... |
<?php
/**
* dingtalk API: dingtalk.oapi.org.openencrypt.heartbeat request
*
* @author auto create
* @since 1.0, 2019.10.09
*/
class OapiOrgOpenencryptHeartbeatRequest
{
/**
* 请求参数
**/
private $topKmsHeartbeat;
private $apiParas = array();
public function setTopKmsHeartbeat($topKmsHeartbeat)
{
$thi... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\todos;
class todoControler extends Controller
{
public function index(){
$todos = \App\todos ::all();
return view('todo.index',['todos'=>$todos]);
}
public function show ($todo){
return view('todo.show')->with('tod... |
@extends('layouts.app')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Alat Ukur
<small>Update Riwayat Alat Ukur</small>
</h1>
<ol class="breadcrum... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Contracts\Validation\Validator;
use Illuminate\Http\Exceptions\HttpResponseException;
class ApiRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return boo... |
<?php
/**
* Created by PhpStorm.
* User: david
* Date: 2/12/17
* Time: 1:22 PM
*
* /*
* Copyright 2012-2017 David Rodal
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation;
* either versio... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
/**
* Phaser Setup
*/
/**
* Theme assets
*/
function assets() {
wp_enqueue_script('phaser', get_template_directory_uri() . '/dist/scripts/phaser/phaser.min.js', array(), '1', true);
wp_enqueue_script('gt', get_template_directory_uri() . '/dist/scripts/phaser/gamecontroller.js', array(), '1', true);
w... |
<?php
namespace App\Http\Controllers\Admin;
use App\Impressions;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class ImpressionsController extends Controller
{
public function index()
{
$impressions = Impressions::paginate(5);
return view('admin/impressions/index')
... |
<?php
declare(strict_types=1);
namespace Rector\CodeQuality\Rector\Foreach_;
use PhpParser\Node;
use PhpParser\Node\Expr\ArrayDimFetch;
use PhpParser\Node\Expr\Assign;
use PhpParser\Node\Expr\BinaryOp\Coalesce;
use PhpParser\Node\Expr\BinaryOp\Identical;
use PhpParser\Node\Stmt\Expression;
use PhpParser\Node\Stmt\Fo... |
<?php
namespace OPNsense\Postfix;
use OPNsense\Base\BaseModel;
/*
Copyright (C) 2018 Michael Muenz <m.muenz@gmail.com>
Copyright (C) 2019 Felix Matouschek <felix@matouschek.org>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted pro... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitf5efe120fbadf463829ecc395a67593f
{
public static $files = array (
'65fec9ebcfbb3cbb4fd0d519687aea01' => __DIR__ . '/..' . '/danielstjules/stringy/src/Create.php',
'5255c38a0faeba867671b61dfda6... |
<?php
session_start();
//authorization
if(!$_SESSION['username']){
session_destroy();
header('Location: ../index.php');
}
else if($_SESSION['username'] && $_SESSION['role'] != 'admin'){
session_destroy();
header('Location: ../unauthorised_user.php');
}
include '../in... |
<?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 _PhpScoper5eddef0da618a\Symfony\Component\Yaml\Tests\Command;
use _PhpSc... |
@extends('layouts.dashboard')
@section('container')
<h1 class="h3 mb-2 text-gray-800">Tables</h1>
<!-- DataTales Example -->
<div class="card shadow mb-4">
<div class="card-header py-3">
<a href="/cetak-santri" targ... |
<?php
class Treebank_test extends TestCase
{
public function test_index()
{
$output = $this->request('GET', '/treebank/');
$this->assertContains('<h2>Available treebanks</h2>', $output);
}
public function test_show()
{
$this->request('GET', '/treebank/show/title');
... |
<?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class UsuarioController extends Controller {
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
{
//return "estoy en el index";//retorn... |
<a class="tag {{ tag.uri }} js-tag js-tag-{{ tag.uri }}" ng-class="{ 'current': isCurrentTag(tag), 'js-active': isCurrentTag(tag) }" ng-click="switchTag(tag)" ng-repeat="tag in tags">
{{ tag.name }}
</a> |
<?php
namespace App\Http\Controllers\Backend\Registeration;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class LoginController extends Controller
{
public function LoginForm()
{
return view('Backend.Registeration.login');
}
} |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\PostSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Posts';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="post-index">
<h1><?= Html::encode($this->t... |
<?php
/**
* @copyright Copyright (c) Metaways Infosystems GmbH, 2013
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2015-2016
*/
/// Payment e-mail subject with order ID
$str = $this->translate( 'client', 'Your order %1$s' );
$this->mail()->setSubject( sprintf( $str, ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use App\Utilizador;
class UtilizadorController extends Controller
{
public function index() {
try {
$statusCode = 200; //Ok
//reset data collection
$response = collect([]);
... |
@extends('admin_layout')
@section('admin_content')
<ul class="breadcrumb">
<li>
<i class="icon-home"></i>
<a href="index.html">Home</a>
<i class="icon-angle-right"></i>
</li>
<li>
<i class="icon-edit"></i>
<a href="#">Update categor... |
<?php
/*
*
* * Copyright 2012-2020 the original author or authors.
* *
* * 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-... |
<?php
namespace Slince\Shopify\Tests\ScriptTag;
use Slince\Shopify\Manager\ScriptTag\ScriptTagManager;
use Slince\Shopify\Tests\Base\GeneralCurdableTestCase;
class ScriptTagManagerTest extends GeneralCurdableTestCase
{
public function getFixturesDir()
{
return 'ScriptTag';
}
public function ... |
<?php
namespace App\Models;
use CodeIgniter\Model;
class DokterModel extends Model
{
protected $table = 'tbl_dokter';
protected $primaryKey = 'kode_dokter';
protected $useTimestamps = true;
protected $returnType = 'array';
protected $allowedFields = [
'kode_dokter',
'nam... |
<?php
namespace app\models;
use Yii;
use \app\models\base\SuppliersAccounts as BaseSuppliersAccounts;
/**
* This is the model class for table "suppliers_accounts".
*/
class SuppliersAccounts extends BaseSuppliersAccounts
{
} |
<?php $__env->startSection('title'); ?>
ABP-system | Stock
<?php $__env->stopSection(); ?>
<?php $__env->startSection('css'); ?>
<?php echo $__env->make('layout.css', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<link href="<?php echo e(asset('/vendors/google-code-prettify/bin/prettify.min... |
<footer class="footer">
<div class="container-fluid">
<nav class="pull-left">
<ul>
<li>
<a href="#">
Acerca de
</a>
</li>
<li>
... |
<?php
namespace App\Http\Middleware;
use App\UserAttr;
use Closure;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cache;
class ActiveUser
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class M_product extends SAM_Model {
private $table = 'ms_product';
private $pk = 'product_id';
public function __construct(){
parent::__construct();
$this->_table = $this->table;
$this->_pk = $this->pk;
}
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>商品页面</title>
<link rel="stylesheet" href="/static/style/... |
<?php
declare(strict_types=1);
namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateBasicPhpdocCamel\Models;
use Illuminate\Database\Eloquent\Model;
class Post extends Model
{
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateVotablesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('votables', fun... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Project_M extends CI_Model{
function __construct(){
parent::__construct();
}
public function get_all_message(){
return $this->db->select('*')
->from('project')
->get();
}
public function add_project($data){
$this->db->in... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| T... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EventMessage File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright © Microsoft Corporation. All rights reserved.
* @licen... |
<?php
/*
* This file is part of the highcharts-bundle package.
*
* (c) 2017 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Bundle\HighchartsBundle\Tests\API\Chart\PlotOptions;
use WBW\Bundle\HighchartsBund... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Login extends CI_Controller{
var $encrypt_field = FALSE;
public function __construct(){
parent::__construct();
}
public function index(){
$this->load->helper('strfunc');
$this->load->helper('captcha');
$this->load->helper('fi... |
<?php
defined('BASEPATH' OR exit('No direct script access allowed'));
class cCart extends CI_Controller {
function __construct(){
parent::__construct();
$this->load->library('cart');
$this->load->library('session');
$this->load->helper('url');
$this->load->model('mC... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
<?php
/**
* @copyright 2018 Vladimir Jimenez
* @license https://github.com/stakx-io/stakx/blob/master/LICENSE.md MIT
*/
namespace allejo\stakx\Document;
use allejo\stakx\DataTransformer\DataTransformerInterface;
use allejo\stakx\DataTransformer\DataTransformerManager;
use allejo\stakx\Filesystem\File;
use allej... |
<?php
/*
Plugin Name: Calendar Event
Plugin URI: https://total-soft.com/wp-event-calendar/
Description: Event Calendar plugin created for showing your events. Total-Soft Calendar is the best if you want to be original on your website.
Author: totalsoft
Version: 1.3.8
Author URI... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Card */
$this->title = Yii::t('app', 'Create Card');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Cards'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="card-create">
<h1><?= ... |
<?php
/**
* FakeClassnameTags123Api
* PHP version 5
*
* @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not us... |
<?php
/*
Custom feedback comments
https://codex.wordpress.org/Function_Reference/wp_list_comments#Comments_Only_With_A_Custom_Comment_Display
*/
function bst_comment($comment, $args, $depth) {
$GLOBALS['comment'] = $comment;
extract($args, EXTR_SKIP);
if ( 'div' == $args['style'] ) {
$tag = 'div';
$add_b... |
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class='panel-title'>Data KRS Mahasiswa </h3>
</div >
<div class="panel-body">
<table id="test" class="table table-responsive">
<thead>
<tr>
<th>TAHUN AKADEMIK</th>
<th>NO KRS</th>
<th>TGL KRS</th>
<th>IPS SEBELUMNYA</th>
<th>MAKS.... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class PaymentTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('payment',function($table){
$table->increments('id');
$table->double('payment',10... |
<div>
<h1>Customer/User Dashboard</h1>
</div> |
<?php
namespace Notification\Application\Listener;
use Notification\Application\Service\ {
GenerateNotificationWhenConsultationRequestCancelled,
SendImmediateMail
};
use Resources\ {
Application\Event\Event,
Application\Event\Listener,
Domain\Event\CommonEvent
};
class ConsultationRequestCancelle... |
<?php
namespace Tests\Feature\Comments;
use App\Models\Comment;
use Tests\Feature\VoteDownContractTest;
use Tests\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;
class DownVotesTest extends TestCase
{
use RefreshDatabase;
use VoteDownContractTest;
protected function getVoteDownUri($comment ... |
@include('header')
@include('layouts.modalcontact')
@include('layouts.menu')
@include('layouts.item')
@include('footer') |
<?php include('application/views/usuarios/parametrosUsuario.php') ?>
<!-- Modal -->
<div class="modal fade" id="add-usuario-modal" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="mod... |
<?php
/**
* Number control.
*
* @package Block_Lab
* @copyright Copyright(c) 2019, Block Lab
* @license http://opensource.org/licenses/GPL-2.0 GNU General Public License, version 2 (GPL-2.0)
*/
namespace Block_Lab\Blocks\Controls;
/**
* Class Text
*/
class Number extends Control_Abstract {
/**
* Control... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\models\Product */
$this->title = 'Update Product: ' . $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Products', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model... |
<?php
/* @var $this yii\web\View */
use yii\helpers\Html;
use yii\grid\GridView;
use yii\data\ActiveDataProvider;
use app\models\Monitoringchok;
$this->title = 'বিজ্ঞ সহকারী জজ, বগুড়া আদালত';
$this->params['breadcrumbs'][] = $this->title;
?>
<section class="col-lg-12">
<?php
$query = Monitoringchok::find();
$data... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
class ImagesPlayerController extends Controller
{
//
} |
<?php
namespace Maestroprog\Saw\ValueObject;
/**
* Обёртка для resource возвращаемого функцией proc_open().
*/
class ProcessStatus
{
private $resource;
private $pipes;
private $status;
public function __construct($processResource, array $pipes)
{
if (!is_resource($processResource) || 'p... |
<?php
namespace App\Filters;
use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Filters\FilterInterface;
class LoginFilter implements FilterInterface
{
public function before(RequestInterface $request, $arguments = null)
{
if (!service('auth')->loggedIn()) ... |
@extends('layouts.admin')
@section('content')
<div id="page-wrapper">
@include('admin.partials.page-header', ['PageHeader' => 'Sponsors'])
<div class="row">
<div class="col-md-10 col-xs-10 col-lg-10 col-sm-10">
@if(count($sponsors))
<table class="tab... |
<?php
namespace Encore\Admin\Form;
use Encore\Admin\Admin;
use Encore\Admin\Form;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\Str;
/**
* Class Builder.
*/
class Builder
{
/**
* Previous url key.
*/
const PREVIOUS_URL_KEY = '_previous_';
/**
... |
<?php
namespace Chipslays\Phrase\Engine;
use Chipslays\Phrase\Plural;
use Chipslays\Phrase\Exceptions\PhraseException;
abstract class AbstractEngine implements EngineInterface
{
protected string $root;
protected string $locale;
protected ?string $fallback;
protected array $locales = [];
public f... |
@extends('layouts.master')
@section('css')
<!-- page specific plugin styles -->
@endsection
@section('content')
<div class="main-content">
<div class="main-content-inner">
<div class="page-content">
@include('layouts.includes.template_setting')
<div class=... |
<?php
/**
* Basic util functions.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Util;
use PHP_CodeSniffer\Config;
use PHP_Code... |
<?php
/**
* Part of CI PHPUnit Test
*
* @author Kenji Suzuki <https://github.com/kenjis>
* @license MIT License
* @copyright 2015 Kenji Suzuki
* @link https://github.com/kenjis/ci-phpunit-test
*/
namespace Kenjis\MonkeyPatch\Patcher\MethodPatcher;
use PhpParser\Node;
use PhpParser\Node\Stmt\Class... |
<?php
return [
/*
* The disk on which to store added files and derived images by default. Choose
* one or more of the disks you've configured in config/filesystems.php.
*/
'disk_name' => env('MEDIA_DISK', 'public'),
/*
* The maximum file size of an item in bytes.
* Adding a large... |
<script src="<?php echo base_url();?>assets/js/lib/peitychart/jquery.peity.min.js"></script>
<!-- scripit init-->
<script src="<?php echo base_url();?>assets/js/lib/peitychart/peitychart.init.js"></script> |
<?php
class Sdemo extends CI_Controller
{
public function __construct()
{
parent::__construct();
define('BASEWEB_PATH',dirname($_SERVER['SCRIPT_NAME']));
}
public function test()
{
$this->load->model('CityModel');
$result = $this->CityModel->getDataWithCountry();
//$this-... |
<!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">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Lara... |
<form action="{{ url('/subcategories') }}" method="Post" enctype="multipart/form-data" id="form">
{{ csrf_field()}}
<div class='col-md-12'>
@include("admin.subcategories.form")
</div>
</form> |
@extends('admin/master')
@section('main-content')
<div class="content-wrapper">
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="row justify-content-center">
<!-- left column -->
<div class="col-md-10 mt-2">
@include('includes.... |
@extends('frontend.layouts.app')
@section('title') | Các khóa học đã đăng ký @endsection
@section('content')
<!-- start: Page Title -->
<div id="page-title">
<div id="page-title-inner">
<!-- start: Container -->
<div class="container">
<h2><i class="ico-stats ico-white"></i>Các khóa học đã đăng ký</h2... |
<header class="blog-header py-3">
<div class="row flex-nowrap justify-content-between align-items-center">
<div class="col-4 pt-1">
<p class="text-muted">@current_time</p>
</div>
<div class="col-4 text-center">
<a class="blog-header-logo ... |
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{blockcontactinfos}digitalmedia>blockcontactinfos_fc02586aa99596947b184a01f43fb4ae'] = 'İletişim Bilgileri Bloğu';
$_MODULE['<{blockcontactinfos}digitalmedia>blockcontactinfos_86458ae1631be34a6fcbf1a4584f5abe'] = 'Bu modül özelleştirilebilir bir blokta e-mağazanın ... |
<?php
$params = require(__DIR__ . '/params.php');
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'components' => [
'request' => [
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
'... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class Admin extends Authenticatable
{
use Notifiable;
protected $guard = 'admin';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fil... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.