text stringlengths 2 1.03M |
|---|
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Head of the file-->
<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() }}">
<t... |
<?php
namespace JmesPath;
/**
* Returns data from the input array that matches a JMESPath expression.
*
* @param string $expression Expression to search.
* @param mixed $data Data to search.
*
* @return mixed|null
*/
if (!function_exists(__NAMESPACE__ . '\search')) {
function search($expression, $data)
... |
<?php
namespace App\Http\Controllers;
use App\Models\Customer;
use App\Models\Group;
use Illuminate\Http\Request;
class CustomerController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$customer... |
@extends('layout.master')
@section('title', 'SI-PKL : Siswa - Dashboard')
@section('sidebar')
@include('layout.sidebarsiswa')
@endsection
@section('content')
siswa
@endsection |
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\Api\Models\ShoppingList;
use Commercetools\Api\Models\Common\ReferenceCollection;
use Commercetools\Exception\InvalidArgumentException;
use stdClass;
/**
* @extends ReferenceCollection<ShoppingL... |
--TEST--
Phar: rename_dir and mount test
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--INI--
phar.readonly=0
phar.require_hash=0
--FILE--
<?php
$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
$pname = 'phar://' . $fname;
$file = "<?php
Phar::mapPhar('hio');
__HALT_COMPILER(); ?>";... |
<?php
require_once dirname(__DIR__, 3) . "/php/classes/autoload.php";
require_once dirname(__DIR__, 3) . "/php/lib/xsrf.php";
require_once ("/etc/apache2/capstone-mysql/encrypted-config.php");
/**
* api for signing out
*
* @author Gkephart
* @version 1.0
**/
//verify the xsrf challenge
if(session_status() !== PHP_... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Admin Constu... |
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Dashboard') }}
<!--Hello World-->
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white ... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Image;
use Faker\Generator as Faker;
$factory->define(Image::class, function (Faker $faker) {
return [
'url' => $faker->imageUrl(1024, 1024, false, true)
];
}); |
<?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 PhpLab\Dev\Phar\Commands;
use PhpLab\Core\Console\Widgets\LogWidget;
use PhpLab\Core\Legacy\Yii\Helpers\FileHelper;
use PhpLab\Dev\Phar\Domain\Helpers\PharHelper;
use PhpLab\Dev\Phar\Domain\Libs\Packager;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface... |
<?php
use yii\helpers\Html;
use yii\bootstrap4\ActiveForm;
/**
* @var yii\web\View $this
* @var backend\models\Statues $model
* @var yii\bootstrap4\ActiveForm $form
*/
?>
<div class="statues-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRestaurantsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('restaurants... |
<?php
require_once realpath(__DIR__.'/../vendor/autoload.php');
use SelvinOrtiz\Utils\Flux\Flux;
use SelvinOrtiz\Utils\Flux\Helper;
// The subject string (URL)
$str = 'http://www.selvinortiz.com';
// Building the pattern (Fluently)
$flux = Flux::getInstance()
->startOfLine()
->find('http')
->maybe('s')
->the... |
<?php
/**
* @copyright Copyright (C) 2015-2018 AIZAWA Hina
* @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT
* @author AIZAWA Hina <hina@bouhime.com>
*/
declare(strict_types=1);
use app\components\db\Migration;
use app\components\db\VersionMigration;
class m181101_073835_splatoon2_v4_2 ext... |
<?php
namespace app\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Pages;
/**
* PagesSearch represents the model behind the search form of `app\models\Pages`.
*/
class PagesSearch extends Pages
{
/**
* {@inheritdoc}
*/
public function rules()
{
return [
... |
<?php
$params = require __DIR__ . '/params.php';
$db = require __DIR__ . '/db.php';
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'components' => [
... |
@extends('layout.master')
@section('content')
<!-- –––––––––––––––[ PAGE CONTENT ]––––––––––––––– -->
<main id="mainContent" class="main-content">
<!-- Page Container -->
<div class="page-container ptb-10">
<div class="container">
<div class="row">
... |
<?php
namespace App\Http\Controllers\Apis\Controllers\getReviews;
use App\Http\Controllers\Apis\Controllers\index;
use App\Http\Controllers\Apis\Resources\objects;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Http\Controllers\Apis\Helper\helper;
class getReviewsRules extends index
{
... |
<nav class="navbar navbar-dark fixed-top bg-dark flex-md-nowrap p-0 shadow">
<a class="navbar-brand col-sm-3 col-md-2 mr-0" href="{{route('home')}}">{{config('app.name')}}</a>
<input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search">
<ul class="navbar-nav px-3... |
<?php
namespace App\Http\Controllers;
use App\Models\Account;
use Illuminate\Http\Request;
class AccountsController extends Controller {
public function index()
{
$accounts = Account::all(['title','amount','account_number','type']);
return view('admin.account.... |
<?php
namespace Statamic\API;
use Statamic\Data\Services\TaxonomiesService;
class Taxonomy
{
/**
* Get all collections
*
* @return \Illuminate\Support\Collection
*/
public static function all()
{
return app(TaxonomiesService::class)->all()->sortBy(function ($taxonomy) {
... |
<?php
namespace DTS\eBaySDK\Test\Shopping\Services;
use DTS\eBaySDK\Shopping\Services\ShoppingBaseService;
use DTS\eBaySDK\Shopping\Services\ShoppingService;
use DTS\eBaySDK\Test\Shopping\Mocks\Service;
use DTS\eBaySDK\Test\Mocks\HttpHandler;
class ServiceTest extends \PHPUnit_Framework_TestCase
{
public function... |
@extends(env('THEME').'.layouts.admin')
@section('specific-css')
<link rel="stylesheet" href="{{asset(env('THEME'))}}/assets/vendor/select2/select2.css" />
<link rel="stylesheet" href="{{asset(env('THEME'))}}/assets/vendor/jquery-datatables-bs3/assets/css/datatables.css" />
<link rel="stylesheet" href="{{as... |
@extends('admin.blog.comments.index')
@section('title', trans('admin/blog.comments.list.title', ['total' => $comments->total()]), @parent)
@section('comments')
@section('subtitle', trans('admin/blog.comments.list.title', ['total' => $comments->total()]))
<div class="mail-box">
<div class="mail-... |
<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
];
/**
* Re... |
<?php
declare(strict_types=1);
namespace Denpa\Levin\Tests\Types;
use Denpa\Levin\Tests\TestCase;
use Denpa\Levin\Types\Boolean;
use Denpa\Levin\Types\BoostSerializable;
class BooleanTest extends TestCase
{
/**
* @return void
*/
public function testGetSerializeType(): void
{
$this->ass... |
<?php
namespace Arrilot\Tests\BitrixModels\Stubs;
class BxUserWithAuth
{
public function getId()
{
return 1;
}
public function getUserGroupArray()
{
return [1, 2, 3];
}
public function isAuthorized()
{
return true;
}
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateVideosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('videos', functio... |
<!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>Bangladesh Ordnance Factories</title>
<style>
table, th, td {
border: 1px solid black;
... |
<?php
/**
* Whois servers list
*
* This class supposed to be instantiated for using the phpWhois library
*
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2
* @license
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU... |
<?php
/**
* 2014 - 2021 Watt Is It
*
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License X11
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/mit-license.php
* If you did not receive a... |
<?php
use App\Category;
use App\Descriptors;
class DescriptorsTableSeeder extends BaseSeeder
{
protected function addDescriptorToCategories($map)
{
Category::all()->each(function (Category $category) use ($map) {
if (array_key_exists($category->name, $map)) {
$descriptors =... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddUserIdToEmployee extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('employees', fun... |
<?php
namespace Devel\Traits;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Str;
trait HasRelationships
{
/**
* Get the list of a model's relationships
*
* @return array
*/
public fu... |
<?php namespace App\Services;
use App\User;
use Validator;
use Illuminate\Contracts\Auth\Registrar as RegistrarContract;
class Registrar implements RegistrarContract {
/**
* Get a validator for an incoming registration request.
*
* @param array $data
* @return \Illuminate\Contracts\Validation\Validator
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSkillLevelsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('skill_level... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\AppPenanggungjawab */
/* @var $form yii\widgets\ActiveForma */
?>
<div class="app-penanggungjawab-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'id_petugas')->textInput() ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('products', fun... |
<?php namespace SFrame\Cache;
class Cache
{
protected $_default_expire = 36000;
/**
* @var CacheInterface
*/
protected $_store = null;
public function __construct(CacheInterface $store)
{
$this->_store = $store;
}
/**
* 获取缓存
* 如果缓存不存在,可以通过回调函数获取数据源设置... |
<!DOCTYPE html>
<html>
<head>
<title><?php echo $this->lang->line('generate'); ?> <?php echo $this->lang->line('certificate'); ?></title>
<link rel="icon" href="<?php echo IMG_URL; ?>favicon.ico" type="image/x-icon" />
<link href="https://fonts.googleapis.com/css?family=Great+Vib... |
@extends('admin.layouts.master')
@section('main')
<div class="container-fluid">
<div class="row pt-4">
<div class="col-6">
<h3>Qalereya</h3>
</div>
<div class="col-6">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<... |
<?php
if (!defined('ABSPATH'))
die('No direct access allowed');
global $WOOF;
?>
<div class="woof_qt">
<div class="woof_quick_search_wraper <?php echo $class ?>">
<input id="woof_quick_search_form" class="form-control woof_quick_search_wraper_textinput" data-text_group_logic="<?php echo $text_g... |
<?php
namespace App\DAOs;
use App\DTOs\DTO_Phieuthu;
use Illuminate\Support\Str;
class DAO_Phieuthu
{
public function add(DTO_Phieuthu $dto_phieuthu)
{
app('db')->table('phieuthu')->insert([
'id'=>(string)Str::uuid(),
'giaphong' => $dto_phieuthu->getGiaphong(),
... |
<?php
/**
* FormIt
*
* Copyright 2009-2012 by Shaun McCormick <shaun@modx.com>
*
* FormIt 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 2 of the License, or (at your option) any
* late... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AntChain\TWC\Models;
use AlibabaCloud\Tea\Model;
class LeaseNotaryRecord extends Model
{
// 存证阶段
/**
* @example PLACE_ORDER
*
* @var string
*/
public $phase;
// 交易哈希,存证记录唯一标识
/**
* @example 04181b49e... |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_contact
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JLoader::register('ContactHelper', JPATH_A... |
<section class="content-header">
<h1>Page Details<small>cms page content</small></h1>
<ol class="breadcrumb">
<li><a href="<?php echo $this->config->item('admin_url'); ?>"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="<?php echo $this->config->item('admin_url'); ?>manage_cms/"><i class="fa files-o"><... |
<?php namespace EventSourcery\PersonalData;
use EventSourcery\Serialization\SerializableValue;
use Ramsey\Uuid\Uuid;
class PersonalDataKey implements SerializableValue {
private $key;
public static function generate(): PersonalDataKey {
return new static(Uuid::uuid4()->toString());
}
public... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class VideoSubtitle extends Model
{
use HasFactory;
/**
* @var string
*/
protected $table = 'video_subtitles';
/**
* @var string[]
*/
protected $fillabl... |
<?php
/*
* Made by Samerton
* https://github.com/NamelessMC/Nameless/
* NamelessMC version 2.0.0-pr13
*
* License: MIT
*
* API signup completion
*/
$page = 'complete_signup';
const PAGE = 'complete_signup';
$page_title = $language->get('general', 'register');
require_once(ROOT_PATH . '/core/templates/fro... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... |
<?php
function devcode_style_script()
{
wp_enqueue_style( 'miestilo', get_template_directory_uri() . '/assets/css/main.css', array() ,'1.0.0' , 'all' );
wp_enqueue_script('jquery');
wp_enqueue_script( 'skel', get_template_directory_uri() . '/assets/js/skel.min.js', array ( 'jquery' ), '3.0.1', true);
wp_enqueue... |
<?php
/* CAT:Misc */
/* Include all the classes */
require_once("bootstrap.php");
use pChart\pDraw;
use pChart\pCharts;
/* Create a pChart object and associate your dataset */
$myPicture = new pDraw(700,230);
/* Add data in your dataset */
$myPicture->myData->addPoints([1,3,4,3,5]);
/* Choose a nice font */
$my... |
<?php /* C:\xampp\htdocs\ows_news\application\views/admin/NewsDetails.blade.php */ ?>
<?php $__env->startSection('content'); ?>
<div class="row" style="margin: 0px;">
<div class="col-md-2" style="padding-left: 5px">
<img src="<?= base_url() ?>asset/upload/<?= $PostDetails["news_image"]?>" alt="" style="width: 150... |
<?php
/** @var array $data */
$delete = $data ['delete']
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="h... |
<?php
/**
* @version $Id$
* @package utf8
* @subpackage strings
*/
//---------------------------------------------------------------
/**
* UTF-8 aware alternative to ucfirst
* Make a string's first character uppercase
* Note: requires utf8_strtoupper
* @param string
* @return string with first character as upper case ... |
<?php
namespace Illuminate\Container;
use ArrayAccess;
use Closure;
use Exception;
use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Contracts\Container\CircularDependencyException;
use Illuminate\Contracts\Container\Container as ContainerContract;
use LogicException;
use ReflectionClass;
... |
<?php
/**
* @author Pavel Brousek <brousek@ics.muni.cz>
*/
namespace SimpleSAML\Module\perun\transformers;
use SimpleSAML\Module\perun\SingularAttributeTransformer;
/**
* Get list(s) of endpoints of selected type.
*/
class EndpointList extends SingularAttributeTransformer
{
const BINDING_PREFIX = 'urn:oasis... |
<?php
namespace Acme\MayaBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Acme\MayaBundle\Entity\EstadoCompra;
use Acme\BackendBundle\Services\UtilService;
/**
* @Route(path="/gat... |
<?php namespace XisoDev\EloquentSluggable\Tests;
use XisoDev\EloquentSluggable\Tests\Models\Post;
use XisoDev\EloquentSluggable\Tests\Models\PostWithOnUpdate;
/**
* Class OnUpdateTests
*
* @package Tests
*/
class OnUpdateTests extends TestCase
{
/**
* Test that the slug isn't regenerated if onUpdate is ... |
<?php
namespace Gielfeldt\Lock\Example;
require 'vendor/autoload.php';
use Gielfeldt\Lock;
$lockService = new Lock\LockService([
'storage' => new Lock\Storage\Memory(),
]);
$lock1 = $lockService->acquire('mylock');
$lock2 = $lockService->acquire('mylock');
$lock3 = $lockService->acquire('mylock2');
$lock1->se... |
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysqli';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = '';
$g_default_timezone = 'Europe/Berlin';
$g_crypto_master_salt = 'FYDCzYse9qtzLamdvp4IdXctTDqY48B5UcnOTyheMAA=';
$g... |
<?php
declare(strict_types = 1);
use Attogram\Currency\Config;
use Attogram\Currency\CurrencyExchangeRates;
$autoload = __DIR__ . '/../vendor/autoload.php';
if (!is_readable($autoload)) {
print 'Vendor autoload file not found: ' . $autoload . "\n";
exit(1);
}
/** @noinspection PhpIncludeInspection */
require... |
<?php namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Contracts\Auth\Guard;
use Illuminate\Contracts\Auth\Registrar;
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
class AuthController extends Controller {
/*
|-----------------------------------------------... |
{{link_to("Setup/Supplier","主供货商")}} | {{link_to("Setup/Customer","长期客户")}} | {{link_to("Setup/Cat","商品类型")}} | {{link_to("Setup/Good","商品信息")}} |
<?php
declare(strict_types=1);
namespace parallel\Runtime\Error;
use Error;
class IllegalInstruction extends Error
{
} |
<?php
namespace App\Repositories;
use Prettus\Repository\Contracts\RepositoryInterface;
/**
* Interface CicloLayoutReporteRepository
* @package namespace App\Repositories;
*/
interface CicloLayoutReporteRepository extends RepositoryInterface
{
//
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class KhachHang extends Model
{
protected $table = 'khach_hang';
public $incrementing = false;
protected $fillable = ['id', 'tenkhachhang', 'sdt', 'diachi', 'email', 'diemtichluy', 'trangthai'];
} |
<?php
/*
* Plugin Name: GF Timed Content
* Description: Bridge to custom JS for timed content and countdown/up timers.
* Version: 1.0
* Author: Zubin Mathai & Russell Brown
* Author URI: https://www.gangaji.org
*/
// register the script on plugin load
function gf_timed_content_enqueue() {
// use file timestamp as ver... |
<?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 MonorepoBuilder20211025\Symfony\Component\Console\Output;
use MonorepoBu... |
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="Комплекс сухого обогащения серии БСМ-СМВИ" />
<meta name="description" content="Комплекс сухого обогащения серии БСМ-СМВИ" />
<met... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\captcha\Captcha;
use frontend\assets\ContactAsset;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var \frontend\models\ContactForm $model
*/
$contact = \Yii::t('contact', 'Contact');
$this->title = $contact;
$this->params['breadc... |
@if(count($errors))
<script type="text/javascript">
$(document).ready(function () {
//showNotification();
});
</script>
<div class="alert-area">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="a... |
<?php
/* MessagerieBundle:Default:liremessage.html.twig */
class __TwigTemplate_9e0fd0b4764029a4269d46a5803d986e598b3533ff5237ebdd710d9b251d2b26 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("::t... |
@extends('layouts.show')
@section('content')
@include('layouts.navbar')
<!-- Body -->
<div id="body-container">
<div id="review-container">
<div class="info">
<h1 style="display:inline;">{{$resena->titulo}}</h1><br>
<h2 style="display:inline;">{{$resena-... |
<a href="{{route('genealogy_type_id', [strtolower($type), base64_encode($data->id)])}}">
<img src="{{$data->logoarbol}}" alt="{{$data->name}}" title="{{$data->name}}" height="56">
</a> |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit51e89240b23d544d46f59a031f37fc53::getLoader(); |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\ResourceCollection;
use PhpParser\Node\Expr\Cast\Object_;
class ServiceOrderCollection extends ResourceCollection
{
public $preserveKeys = true;
/**
* Transform the resource collection into an array.
*
* @param \Illuminate... |
<?php
// Include the user model
include ('Models/userModel.php');
// create variables and call functions from the user model to be used in this page.
$currentUser = User::getCurrentUser();
$studentInfo = User::getTeacherInfos();
/* If the form submit button was clicked, then continue. */
if ($_SERVER['REQUEST_METHOD'... |
<?php
/*
|--------------------------------------------------------------------------
| Register The Laravel Class Loader
|--------------------------------------------------------------------------
|
| In addition to using Composer, you may use the Laravel class loader to
| load your controllers and models. This is use... |
<?php
declare (strict_types = 1);
namespace app\middleware;
use app\exceptions\CheckException;
use app\service\ImageCaptchaService;
class CheckImageCapcha
{
/**
* 处理请求
*
* @param \think\Request $request
* @param \Closure $next
* @return Response
* @throws CheckException
*/
... |
<?php
declare(strict_types=1);
namespace Faf\TemplateEngine\Elements;
use Faf\TemplateEngine\Helpers\ParserElement;
/**
* Class TrimCharlist
*
* @package Faf\TemplateEngine\Elements
*/
class TrimCharlist extends ParserElement
{
/**
* {@inheritdoc}
*/
public function name(): string
{
... |
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\DowngradePhp80\Rector\MethodCall\DowngradeReflectionPropertyGetDefaultValueRector;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->rule(DowngradeReflectionPropertyGetDefaultValueRector::class);
}; |
#!@PHP@
<?php
// @NAME@
require_once 'phar://@LIBPATH@/deployer.phar/bin/dep'; |
<?php
include './library/configServer.php';
include './library/consulSQL.php';
?>
<!DOCTYPE html>
<html lang="es">
<head>
<link rel="icon" href="./assets/img/logo.png" type="">
<title>MENTHA ECOS</title>
<?php include './inc/link.php'; ?>
</head>
<body id="container-page-product">
<?php include './inc/navba... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePaketsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('paket', function... |
<div class="row">
<!-- form area -->
<div class="col-sm-12">
<div class="panel panel-default thumbnail">
<div class="panel-heading no-print">
<div class="btn-group">
<a class="btn btn-primary" href="<?php echo base_url("dashboard_doctor/appointment/ap... |
<?php
namespace Selevia\EnvValidator\Validator\Exception;
class InvalidFormatException extends \RuntimeException implements EnvValidatorExceptionInterface
{
static public function fromFilename(string $filename): self
{
return new self("Cant recognize format of $filename");
}
} |
@extends('frontEnd.layout')
@section('content')
<!-- START Section Category Products -->
<section class="sec_category_products pt-5 pb-5">
<div class="container-fluid pl-5 pr-5">
<!-- Filter Products-->
<div class="filter_products clearfix">
<div class="float-lef... |
<?php
namespace php_active_record;
/* connector: [42] - This is now scheduled as a cron task.
We created a script for FishBase and turned it over to them. This script is now installed in their system.
The script reads their MS Acccess database and creates tab-delimited text files.
They then zip these files and host it ... |
<?php
namespace backend\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\models\ImTransferHead;
/**
* ImTransferHeadSearch represents the model behind the search form about `backend\models\ImTransferHead`.
*/
class ImTransferHeadSearch extends ImTransferHead
{
/**
* @inher... |
<?php
namespace Zmittapp\AuthBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfo... |
@extends('admin.layouts.app')
@section('content')
<ul>
<li>
<a href="{{route('admin.users.index')}}">users</a>
</li>
<li>
<a href="{{route('admin.posts.index')}}">posts</a>
</li>
<li>
<a href="{{ url('categories') }}">categories</a>
... |
<?php declare(strict_types = 1);
namespace SlevomatCodingStandard\Sniffs\Commenting;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use SlevomatCodingStandard\Helpers\Annotation\VariableAnnotation;
use SlevomatCodingStandard\Helpers\AnnotationHelper;
use SlevomatCodingStandard\Helpers\TokenHelper;
... |
<?php
final class PhabricatorSlowvoteSearchEngine
extends PhabricatorApplicationSearchEngine {
public function buildSavedQueryFromRequest(AphrontRequest $request) {
$saved = new PhabricatorSavedQuery();
$saved->setParameter(
'authorPHIDs',
array_values($request->getArr('authors')));
$save... |
<?php
namespace RectorPrefix20210827;
if (\class_exists('Tx_Workspaces_Service_AutoPublishTask')) {
return;
}
class Tx_Workspaces_Service_AutoPublishTask
{
}
\class_alias('Tx_Workspaces_Service_AutoPublishTask', 'Tx_Workspaces_Service_AutoPublishTask', \false); |
<?php
namespace backend\controllers;
use Yii;
use app\models\Feeds;
use app\models\FeedsSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* FeedsController implements the CRUD actions for Feeds model.
*/
class FeedsController extends Controller
{
/**
* @inh... |
<?php
namespace TecSecret\BrazilCustomerAttributes\Observer;
/**
*
* Observer to copy quote fields to order
*
*
* NOTICE OF LICENSE
*
* @category SystemCode
* @package Systemcode_BrazilCustomerAttributes
* @author Eduardo Diogo Dias <contato@systemcode.com.br>
* @copyright System Code LTDA-ME
* @... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.