text
stringlengths
2
1.03M
<?php namespace Solarium\QueryType\ManagedResources\Query; use Solarium\Core\Client\Client; use Solarium\QueryType\ManagedResources\RequestBuilder\Resources as RequestBuilder; use Solarium\QueryType\ManagedResources\ResponseParser\Resources as ResponseParser; use Solarium\Core\Query\AbstractQuery; class Resources ex...
<div class="modal-header border-bottom-0"> <h5 class="modal-title mt-0" id="myLargeModalLabel">{{\App\LocalValue::getValue($shareholder->fio_tj,$shareholder->fio_ru,$shareholder->fio_en)}}</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <svg xmlns="http://www.w3.org/200...
<?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...
@extends('layouts.app') @section('content') <div class=""> <visitors-component></visitors-component> </div> @endsection
<?php namespace Silber\Bouncer; use Silber\Bouncer\Database\Models; use Silber\Bouncer\Database\Queries\Abilities; use Illuminate\Support\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Contracts\Auth\Access\Gate; abstract class BaseClipboard implements Contracts\Clipboard { /** * Determ...
<!DOCTYPE html> <html lang="en"> <head> <?php include 'includes/head.php';?> </head> <body> <!-- Header --> <?php include 'includes/header.php';?> <!-- /Header --> <!-- SECTION --> <div class="section"> <!-- CONTAINER --> <div class="container"> <!-- ROW --> <div class="row"> <!-- M...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateAppointmentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('appointmen...
<?php namespace App\Shop\Attributes; use App\Shop\AttributeValues\AttributeValue; use Illuminate\Database\Eloquent\Model; class Attribute extends Model { protected $fillable = [ 'name' ]; /** * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function values() ...
<?php namespace Ischa\BackOfficeBundle\Repository; /** * AvisRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class AvisRepository extends \Doctrine\ORM\EntityRepository { }
<?php namespace App\model; use Illuminate\Database\Eloquent\Model; class ContinuousServiceSaleItem extends Model { public function continuousService() { return $this->belongsTo('App\model\ContinuousService'); } public function sale() { return $this->belongsTo('App\model\Sale'); ...
@extends('layouts.admin') @section('title', 'Manage Calendar - new event') @section('content') <div class="container"> <div class="row titleapp"> <div class="col-md-7"> <span class="mt-4 pagetitle" >Manage Calendar</span> </div> <div class="col-md-5" style="text-align:right;"> <a id="pagetitleprimerlink" href="{{ r...
<?php /* * Unauthenticated Group */ Route::group(array('prefix' => 'admin', 'before' => 'guest'), function() { /* * CSRF protection */ Route::group(array('before' => 'csrf'), function() { /* * Admin Sign-in (post) */ Route::Post('/sign/in/post', array( ...
@extends('adminlte::page') @section('title', 'To Do List') @section('content_header') <h1>To Dos</h1> @stop @section('content') <form method="post" action="{{ route('todos.store') }}"> @csrf <x-adminlte-input name="title" label="Title" /> <x-adminlte-input name="progress" type="number" min=0 max=100 label="P...
@extends('layouts.app') @section('content') <div class="parallax overflow-hidden bg-blue-400 page-section third"> <div class="container parallax-layer" data-opacity="true" style="transform: translate3d(0px, 0px, 0px); opacity: 1;"> <div class="media v-middle"> <div ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class ChecklistController extends Controller { public function index(Request $request) { $data = array ( 'meta' => array ( 'count' => 10, 'total' => 100, ), 'links' => array ( 'first' =>...
<?php namespace Drupal\simple_sitemap\Form; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\simple_sitemap\EntityHelper; use Drupal\simple_sitemap\Simplesitemap; use Drupal\Core\Session\AccountProxyInterface; /** * Class FormHelper * @package Drupal\sim...
<?php /** * This file is part of Ranger * * @package Ranger * @author Brian Webb <bwebb@indatus.com> * @author Charles Griffin <cgriffin@indatus.com> * @license For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace In...
<?php namespace Spatie\SchemaOrg; use \Spatie\SchemaOrg\Contracts\CanalContract; use \Spatie\SchemaOrg\Contracts\BodyOfWaterContract; use \Spatie\SchemaOrg\Contracts\LandformContract; use \Spatie\SchemaOrg\Contracts\PlaceContract; use \Spatie\SchemaOrg\Contracts\ThingContract; /** * A canal, like the Panama Canal. ...
<?php $title = "Address Book"; ?><!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"> <title><?php print $title . " - " . $subTitle; ?></title> <link href="css/style.css" rel=...
<?php Route::group(['middleware' => ['web','permission:companies.browse'],'prefix'=>'companies','as'=>'companies.', 'namespace' => 'Modules\Companies\Http\Controllers'], function() { Route::get('/',function(){ return redirect()->route('companies.companies.index'); }); Route::group(['middleware' => ...
<?php namespace TJVB\MailCatchall; use Illuminate\Contracts\Config\Repository; use Illuminate\Events\Dispatcher; /** * The subscriber for the Mail events * * @author Tobias van Beek <t.vanbeek@tjvb.nl> */ class MailEventSubscriber { /** * @var Repository */ private $config; public function...
<?php defined('C5_EXECUTE') or die('Access Denied.'); ?> <div class="ccm-dashboard-content-inner"> <form method="post" action="<?php echo $this->action('save'); ?>"> <?php /** @var $token \Concrete\Core\Validation\CSRF\Token */ echo $token->output('a3020.gdpr.data_transfer.settings'); ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model frontend\models\LokRuang */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="lok-ruang-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'kode')->textInput(['maxlength' => true]) ?...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\Models\City; use Faker\Generator as Faker; use Illuminate\Support\Str; /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Department extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model(array( 'department_model' )); if ($this->session->userdata('isLogIn') == false || $this->session->userdata('us...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>boloku.id | Dashboard</title> <!-- load bootsrap --> <link href="<?php echo base_url('asset/bootstrap/css/bootstrap.min.css'); ?>" rel="stylesheet" type="text/css" /> <!-- Ionicons --> <link...
<?php return [ /* |-------------------------------------------------------------------------- | Default Cache Store |-------------------------------------------------------------------------- | | This option controls the default cache connection that gets used while | using this cachin...
<?php use yii\db\Migration; /** * Handles the creation of table `{{%promos}}`. */ class m201024_143948_create_promos_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->createTable('{{%promos}}', [ 'id' => $this->primaryKey(), 'tit...
<?php /** * Copyright (c) 2015-2015 Andreas Heigl<andreas@heigl.org> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
@can('course_schedule_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.course-schedules.create') }}"> {{ trans('global.add') }} {{ trans('cruds.courseSchedule.title_singular') }} </a> ...
<?php /* * This file is part of Monsieur Biz' Advanced Option plugin for Sylius. * * (c) Monsieur Biz <sylius@monsieurbiz.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace App; use PSS\Symf...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class ChatterTableSeeder extends Seeder { /** * Auto generated seed file. * * @return void */ public function run() { // CREATE THE USER if (!\DB::table('users')->find(1)) { \DB::table('users...
<?php include 'config.php'; $id_pos=$_POST['id']; $admin = $_POST['nama']; $password=md5($_POST['password']); $query3 = "UPDATE user_admin SET username='".$admin."', password='".$password."' WHERE id='".$id_pos."'"; $sql3 = mysql_query($query3); if($sql3){ header("location: administrator"); }else{ e...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Swaggest\\JsonSchema\\' => array($vendorDir . '/swaggest/json-schema/src'), 'Swaggest\\JsonDiff\\' => array($vendorDir . '/swaggest/json-diff/src'), 'PhpLang\\' => arr...
@extends('layouts.app', ['class' => 'bg-default']) @section('content') @include('layouts.headers.guest') <div class="container mt--8 pb-5"> <!-- Table --> <div class="row justify-content-center"> <div class="col-lg-6 col-md-8"> <div class="card bg-secondary shadow b...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class BookingByReviewShowResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request...
@extends('admin.layouts.dashboard') @section('content') <h1>Nuevo Lote</h1> @if ($errors->any()) <div class="alert alert-danger" role="alert"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> </div> @endif <form method="POST"...
<?php declare(strict_types=1); return [ 'default' => [ 'enable' => true, 'host' => env('NSQ_CLIENT_IP', '172.17.0.1'), 'port' => (int)env('NSQ_CLIENT_PORT', 4150), 'pool' => [ 'min_connections' => 1, 'max_connections' => 10, 'connect_timeout...
<div id="copyright"> <div class="container"> <div class="eleven columns alpha"> <p class="copyright">&copy; Copyright 2019. &quot;JuanFrys&quot; by <a href="https://senaintro.blackboard.com/webapps/portal/execute/tabs/tabAction?tab_tab_group_id=_602_1" rel="nofollow">David Arroyo y Jhon Carlos M...
<?php namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use App\Http\Resources\EstadoResource; use App\Models\Estado; use Illuminate\Http\Request; class EstadoController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response ...
<?php namespace Optimus\OptimusBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * APPVOutputDay * * @ORM\Table(name="APPVOutputDay") * @ORM\Entity(repositoryClass="Optimus\OptimusBundle\Repository\APPVOutputDayRepository") */ class APPVOutputDay { /** * @var integer * * @ORM\Column(name="i...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Auth; use App\Barang; use Cookie; class ChartController extends Controller { public function index(Request $request, $id){ $barang = Barang::find($request->get('barang_id')); $quantity = $request->get('qty'); } public function add(Reques...
--TEST-- Ensure ReflectionClass::implementsInterface triggers autoload. --SKIPIF-- <?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php function __autoload($name) { echo "In autoload: "; var_dump($name); } $rc = new ReflectionClass("stdClass"); try { $rc->implementsInterfac...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
<?php use yii\helpers\Html; /** * @author Paweł Bizley Brzozowski * @version 1.3.3 * @license http://opensource.org/licenses/BSD-3-Clause * * @var array $htmlOptionsResult * @var string $removeLabel * @var array $htmlOptionsRemove * @var mixed $additional * @var string $id * @var string $value * @var strin...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateGroups20180706 extends Migration { /** * Run the migrations. * * @return void */ public function up() { // Schema::create('gr...
<?php namespace App\Models; use App\Models\Product; use App\Scopes\SellerScope; final class Seller extends User { /** * Overload the boot method to add custom Global scope. * * BuyerScope adds constraint has('products') to all * queries. * * @return void */ protected stati...
<?php /** * @author mult1mate * Date: 21.12.15 * Time: 0:38 * @var array $tasks * @var array $methods */ $this->load->view('template'); ?> <table class="table table-bordered"> <tr> <th> <input type="checkbox" id="select_all"> </th> <th>ID</th> <th>Time</th> ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLocationTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('locations', function(Blueprint $table) { ...
<?php namespace App; require_once '../php/Controller.php'; require_once 'query.php'; class nom extends Controller { var $id, $art, $name, $desc_full, $description, $price, $price_old, $html, $dicQ, $video_cons, $video_models; var $...
<?php require_once 'XML/Parser.php'; /** * Class to read XML configuration files */ class ConfigReader { /** * selected environment */ private $environment; /** * sections that already have been parsed */ private $sections = array(); /** * temporarily store data during pars...
@extends('layouts.layout') @section('content') <div class="signupPage"> <header class="header"> <div>ユーザー登録</div> </header> <div class="container"> <form class="form mt-5" method="POST" action="{{ route('register') }}" enctype="multipart/form-data"> @csrf <div class="form-group @error('name')has-error @end...
<?php namespace App\Model\Backend\Purchase; use Illuminate\Database\Eloquent\Model; use App\User; use App\Model\Backend\Purchase\PurchaseDetail; use App\Model\Backend\Supplier; use DB; class PurchaseFinal extends Model { public function createdBy() { return $this->belongsTo(User::class,'purchase_creat...
<?php error_reporting(-1); require_once __DIR__ . '/../vendor/autoload.php'; date_default_timezone_set('UTC');
<?php /** * Copyright (c) 2013, Redema AB - http://redema.se/ * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of condi...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <br> <form action={{route('corretiva.update', ['corretiva' => $cor])}} method="post" autocomplete="off"> {{ csrf_field() }} @method('PUT') <input type="hidden" id="redirect_to" name="redirect...
<?php /** * @author Dor Tchizik <dor@tchizik.com> */ require "autoloader.php"; $loader = new Autoloader("/home/madara/www/Reti/src", "Reti"); $loader->register(); new \Reti\Core\Route("test", "test", function(){});
<?php use App\User; use App\RegistersUsers; use Illuminate\Database\Seeder; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { } }
<?php namespace MVNerds\CoreBundle\Model; use MVNerds\CoreBundle\Model\om\BaseTournamentPrizeQuery; /** * Skeleton subclass for performing query and update operations on the 'tournament_prize' table. * * * * You should add additional methods to this class to meet the * application requirements. This class w...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> INFO - 2019-08-01 18:38:41 --> Config Class Initialized INFO - 2019-08-01 18:38:41 --> Hooks Class Initialized DEBUG - 2019-08-01 18:38:41 --> UTF-8 Support Enabled INFO - 2019-08-01 18:38:41 --> Utf8 Class Initialized INFO - 2019-08-01 18:38:41 ...
<?php /* * Copyright 2018 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 ag...
<?php /** @var $this yii\web\View * @var $userInfo app\models\Account */ use yii\helpers\Url; $this->title = 'Главная'; ?> <div class="site-index"> <?php Yii::$app->session->getFlash('success')?> <div class=""> <h1>Здравствуйте <?php echo Yii::$app->user->identity->username ?>!</h1> <?php if(!Y...
<?php namespace UnitTest\App\Infrastructure; use App\Infrastructure\ServiceFactory; use App\Service\CustomersService; use App\Service\Service; class ServiceFactoryTest extends \PHPUnit_Framework_TestCase { public function testCreateService() { $factory = 'Hello'; $serviceFactory = new Servic...
<?php namespace Skunenieki\System\Http\Controllers; use Carbon\Carbon; use Illuminate\Http\Request; use Skunenieki\System\Models\Triathlon; use Skunenieki\System\Models\Participant; class TriathlonIndividualController extends Controller { public function index(Request $request) { $skip = $reques...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class OrderProduct extends Model { use HasFactory; public function product() { return $this->belongsTo(Product::class); } public function order() { retu...
<svg xmlns="http://www.w3.org/2000/svg" class="{{ isset($class) ? $class : '' }}" viewBox="0 0 55 37.5"><path d="M27.5,0A29.58,29.58,0,0,0,0,18.75a29.54,29.54,0,0,0,55,0A29.57,29.57,0,0,0,27.5,0Zm0,31.25A12.5,12.5,0,1,1,40,18.75,12.5,12.5,0,0,1,27.5,31.25Zm0-20a7.5,7.5,0,1,0,7.5,7.5A7.49,7.49,0,0,0,27.5,11.25Z"/></svg>
<?php /** * Router language strings. * * @package CodeIgniter * @author Kenny Saenz * @copyright 2019 * @link https://github.com/kenny1504/CodeIgniter_4-Spanish-Pack * @since Version 4.0.0 Beta 3 * @filesource * * @codeCoverageIgnore */ return [ 'invalidParameter' => 'Un parámetro...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
<!DOCTYPE html> <html lang="en" dir="ltr"> <?php include('head.php'); ?> <body> <?php include('navbar.php'); ?> <section> <div id="carouselBanner" class="carousel slide carousel-fade" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carouselBanner" data-slide-to...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class listItem extends Model { use HasFactory; }
<!-- To change this template, choose Tools | Templates and open the template in the editor. --> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Application error</title> </head> <body> <h1><?php print htmlentities($title) ?></h...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class UserCoursesSeeder extends Seeder { public function run() { DB::statement('SET FOREIGN_KEY_CHECKS=0;'); DB::table('users_courses')->truncate(); DB::statement('SET FOREIGN_KEY_CHEC...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\ContractType */ $this->title = 'Create Contract Type'; $this->params['breadcrumbs'][] = ['label' => 'Contract Types', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="contract-type-create"> <h1...
<?php namespace James\Admin\Breadcrumb; use Illuminate\Support\ServiceProvider; class BreadcrumbServiceProvider extends ServiceProvider { /** * {@inheritdoc} */ public function boot() { if (!config('admin.extensions.breadcrumb.enable', 'true')) { return; } ...
<?php /** * @link http://www.yiizh.com/ * @copyright Copyright (c) 2016 yiizh.com * @license http://www.yiizh.com/license/ */ namespace console\controllers; use common\models\User; use console\components\BaseConsoleController; use Yii; use yii\base\InvalidParamException; use yii\helpers\Console; class RbacContro...
<?php namespace Tests\Runroom\BaseBundle\Unit; use PHPUnit\Framework\TestCase; use Runroom\BaseBundle\Event\PageRenderEvent; use Runroom\BaseBundle\Service\AlternateLinks\AbstractAlternateLinksProvider; use Runroom\BaseBundle\Service\AlternateLinks\AlternateLinksBuilder; use Runroom\BaseBundle\Service\AlternateLinks\...
<?php session_start(); /***** *****\ * Author: Patryk Stachowiak * Student id: w18034888 \***** *****/ list($input, $errors) = validate_form(); $tableYear = $input['tableYear']; $componentType = $input['componentType']; $editWeek = $input['editWeek']; list($maintenanceData, $comp...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\Wishes */ $this->title = 'Update Wishes: ' . $model->id; $this->params['breadcrumbs'][] = ['label' => 'Wishes', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];...
@extends('layouts.front') @section('content') <div class="container"> <hr color="#c0c0c0"> @if (!is_null($headline)) <div class="row"> <div class="headline col-md-10 mx-auto"> <div class="row"> <div class="col-md-6"> ...
<?php namespace Drupal\commerce_payment; use Drupal\commerce\CommerceContentEntityStorage; use Drupal\commerce_order\Entity\OrderInterface; /** * Defines the payment storage. */ class PaymentStorage extends CommerceContentEntityStorage implements PaymentStorageInterface { /** * {@inheritdoc} */ public f...
@extends('web.layout.web') @section('content') <main> <!--? Hero Start --> <div class="slider-area2 welcome-image-shape hero-overly2"> <div class="slider-height2 d-flex align-items-center" background> <div class="container"> <div class="row dir"> ...
<?php /** * DataTables PHP libraries. * * PHP libraries for DataTables and DataTables Editor, utilising PHP 5.3+. * * @author SpryMedia * @copyright 2012 SpryMedia ( http://sprymedia.co.uk ) * @license http://editor.datatables.net/license DataTables Editor * @link http://editor.datatables.net */ ...
<html> <head> <title>Top Processes</title> <link rel="stylesheet" type="text/css" href="pythia.css"/> <link rel="shortcut icon" href="pythia32.gif"/> </head> <body> <script language=javascript type=text/javascript> function stopRKey(evt) { var evt = (evt) ? evt : ((event) ? event : null); var node = (evt.target) ? evt...
<?php /* * Filenme: autoload.php * This is PSR-0 compliant autoloader function. * It is basically used to load Klein php router library for REST API **/ $ignoreAuth = true; require_once("../config/globals.php"); function autoload($className) { $className = ltrim($className, '\\'); $fileName = ''; $na...
<?php return array( 'controllers' => array( 'invokables' => array( 'Users\Controller\Users' => 'Users\Controller\UsersController', ), ), 'router' => array( 'routes' => array( 'users' => array( 'type' => 'segment', 'options' => array( ...
<div class="layout-15"> <div class="product-grid-4"> @php $i = 0; $totalCount = 0; @endphp <table class="w-100"> @foreach(data_get($productSection, 'product_option_sections', []) as $productOptionSection) @php $displayMi...
<?php require_once 'Stato/Dbal/Schema.php'; use Stato\Dbal\Table; use Stato\Dbal\Column; return array( 'users' => new Table('users', array( new Column('id', Column::INTEGER, array('primary_key' => true, 'auto_increment' => true)), new Column('fullname', Column::STRING), new Column('login'...
<?php namespace Legidium\Socialize; class User { /** * The user provider. * * @var */ public $provider; /** * The user id. * * @var */ public $id; /** * The user name. * * @var */ public $name; /** * The user surname. * * @var */ public $surname; /** * The user sex. * ...
<?php return [ 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset', ], 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', 'components' => [ 'i18n' => [ 'translations' => [ '*' => [ 'class' =...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Business Casual - Start Bootstr...
<?php // Start of zlib v.2.0 use JetBrains\PhpStorm\Deprecated; use JetBrains\PhpStorm\Internal\LanguageLevelTypeAware; use JetBrains\PhpStorm\Pure; /** * Output a gz-file * @link https://php.net/manual/en/function.readgzfile.php * @param string $filename <p> * The file name. This file will be opened from the fil...
<div class="app-content content container-fluid"> <div class="content-wrapper"> <div class="content-header row"> <div class="content-header-left col-md-6 col-xs-12 mb-1"> <h2 class="content-header-title">Passenger</h2> </div> <div class="content-header-right breadcrumbs-right bread...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePartnershipsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('partnershi...
<div id="support-system-single-ticket"> <?php if ( incsub_support_has_tickets() ): incsub_support_the_ticket(); ?> <div class="support-system-ticket row <?php echo esc_attr( incsub_support_get_the_ticket_class() ); ?>" id="support-system-ticket-<?php echo incsub_support_get_the_ticket_id(); ?>"> <div class="large...
<?php class Framework { // 是否已启动框架 private static $started = false; // 模块数组 private static $module = array( 'state' => true, // 模块状态,是否开启多模块功能 'list' => array(), // 允许通过url加载的模块集 'default' => null, // 默认加载的模块 'now' => null, // 稍后加载的模块 'loaded' => array() // 已加载的模块 ); // 允许加载的App类型 private static...
<?php namespace Drupal\purge\Plugin\Purge\TagsHeader; use Drupal\purge\ServiceInterface; /** * Describes a service that provides access to available tags headers. */ interface TagsHeadersServiceInterface extends ServiceInterface, \Countable, \Iterator {}
<?php /** * VideoPress video object retrieved from VideoPress servers and parsed. * * @since 1.3 */ class VideoPress_Video { public $version = 3; /** * Manifest version returned by remote service. * * @var string * @since 1.3 */ const manifest_version = '1.5'; /** * Expiration of the video express...
<?php namespace Spatie\Permission\Traits; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations\MorphToMany; use Illuminate\Support\Collection; use Spatie\Permission\Contracts\Permission; use Spatie\Permission\Contracts\Role; trait HasRoles { use HasPermissions; public static ...
<?php /** * The main template file * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php file ex...