text
stringlengths
2
1.03M
<?php namespace Drupal\Tests\link\Unit\Plugin\migrate\process; use Drupal\link\Plugin\migrate\process\FieldLink; use Drupal\migrate\MigrateExecutableInterface; use Drupal\migrate\Plugin\MigrationInterface; use Drupal\migrate\Row; use Drupal\Tests\UnitTestCase; /** * @group Link */ class FieldLinkTest extends UnitT...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * 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/LICENS...
<?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 // Check for empty fields if(empty($_POST['name']) || empty($_POST['email']) || empty($_POST['phone']) || empty($_POST['message']) || !filter_var($_POST['email'],FILTER_VALIDATE_EMAIL)) { echo "No arguments Provided!"; return false; } $name = strip_tags(htmlspecialchars($_P...
@extends('layouts.admin') @section("title", "Manage Lesson") @section('content') @can('lesson_create') <form class='row'> <div class='col-sm-2'> <input type='text' name="q" value='{{ request()->get("title") }}' class="form-control" placeholder="enter title to search"/> ...
<?php declare(strict_types=1); /* * This file has been auto generated by Jane, * * Do no edit it directly. */ namespace Afosto\Sdk\Exception; class CancelOrderForbiddenException extends \RuntimeException implements ClientException { private $error; public function __construct(\Afosto\Sdk\Model\Error $e...
<?php namespace App\Models; use CodeIgniter\Model; class BlogModel extends Model { protected $table = 'blog'; protected $primaryKey = 'post_id'; protected $allowedFields = ['post_title', 'post_description']; }
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ session_start(); if(isset($_POST['submit'])) { $login = htmlentities($_POST['login'], ENT_QUOTES, "UTF-8"); $haslo0 =...
<?php namespace BigName\BackupManager\Procedures; use BigName\BackupManager\Tasks; /** * Class BackupProcedure * @package BigName\BackupManager\Procedures */ class BackupProcedure extends Procedure { /** * @param $database * @param $destination * @param $destinationPath * @param $compressio...
@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('adminlte_lang::message.home') }} @endsection @section('main-content') <div class="container-fluid spark-screen"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <!-- Default box --> <div class="box"> <div class="bo...
<?php /** * Finance module for HiPanel * * @link https://github.com/hiqdev/hipanel-module-finance * @package hipanel-module-finance * @license BSD-3-Clause * @copyright Copyright (c) 2015-2019, HiQDev (http://hiqdev.com/) */ return [ 'Tariff' => 'Тариф', 'Tariff note' => 'Примечание тарифа', ...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $searchModel app\models\FrequencyRelationSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Related Word'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="frequency-...
<div class="messages-default-index"> <h1><?= $this->context->action->uniqueId ?></h1> <p> This is the view content for action "<?= $this->context->action->id ?>". The action belongs to the controller "<?= get_class($this->context) ?>" in the "<?= $this->context->module->id ?>" module. ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Boleta extends CI_Controller { #Constructor public function __construct(){ #Voy a heredar lo que contenga la clase CI_Controller parent::__construct(); if(!$this->session->userdata("auth")){ redire...
<?php /** * Created by PhpStorm. * User: Kamrul * Date: 2/8/2016 * Time: 10:42 AM */ ?> <!--list --> <div id="grid_common_config"></div> <script type="application/javascript"> $(document).ready(function () { {{!!$js_grid_common_config!!}} }); function commandDelete(e) { e.preventDefault ? e.preventDe...
<?php namespace Quanta\Qtags; /** * Render a Simple HTML tag with content. */ class HtmlTag extends Qtag { protected $html_tag = 'div'; protected $html_params = array(); protected $html_body = FALSE; protected $html_self_close = FALSE; /** * @return string * The rendered Qtag. */ public functi...
<?php exit('dedecms');?> a:2:{s:4:"data";a:1:{s:2:"dd";s:1:"0";}s:7:"timeout";i:1437546928;}
<?php /** * ALIPAY API: alipay.open.app.codetesttest request * * @author auto create * @since 1.0, 2016-05-11 19:52:52 */ class AlipayOpenAppCodetesttestRequest { /** * 统一对外错误码测试测试 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo; private $prodCode; pr...
<?php /* * This file is part of tronovav\GeoIP2Update. * * (c) Andrey Tronov * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace tronovav\GeoIP2Update; /** * Class Client * @package tronovav\GeoIP2Update */ class Client ...
<?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 Fy\Symfony\Component\Finder; use Fy\Symfony\Component\Finder\Comparator...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\SmsReport; use Auth; class ReportController extends Controller { public function report_list(){ $reports = SmsReport::orderBy('id', 'desc')->where('user_id', Auth::user()->id)->get(); return view('pages.report.report_list', com...
{{-- {{dd($user)}} --}} <x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> <b>Hello {{ $user->username }}</b> </h2> </x-slot> <div class="py-12"> <div class="container"> <div class="row"> <div class="col-md-8"> ...
<?php namespace spec\Dvs\FileBundle\Storage\PathGenerating; use PhpSpec\ObjectBehavior; use Dvs\FileBundle\Storage\Exception\PathGenerationException; /** * @mixin \Dvs\FileBundle\Storage\PathGenerating\DefaultFilePathStrategy */ class DefaultFilePathStrategySpec extends ObjectBehavior { public function it_is_i...
<?php namespace TomKriek\CopernicaAPI\Endpoints; use TomKriek\CopernicaAPI\CopernicaAPI; use TomKriek\CopernicaAPI\Traits\Arguments; use TomKriek\CopernicaAPI\Traits\Methods; use TomKriek\CopernicaAPI\Traits\Parameters; class AbstractEndpoint { use Methods; use Parameters; use Arguments; /* @var Cop...
<?php namespace AlibabaCloud\Baas; /** * @method string getBizid() */ class DescribeQRCodeAuthority extends Rpc { /** * @param string $value * * @return $this */ public function withBizid($value) { $this->data['Bizid'] = $value; $this->options['form_params']['Bizid'] ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Contact</title> <style> body{ background-color: black;} .form_field_error{ background-color: #828282; color: #d0d0d0; } .contact_wrapper{ width: 100%; ...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Extension\Core\Type; use Symfony\Component\Form\...
<?php namespace App\Jobs; use App\User; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; class TestJob implements ShouldQueue { use Dispatchable, InteractsWithQueue...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\Category; use Faker\Generator as Faker; $factory->define(Category::class, function (Faker $faker) { return [ 'name' => $faker->word . ' category', 'description' => $faker->paragraph(1), ]; });
@extends('user.layouts.default') @section('content') <section> <div class="max-w-screen-xl mx-auto p-4"> @if(session()->has('status')) <p>{{ session()->get('status') }}</p> @endif <div class="grid grid-cols-5 gap-4" id="responseSearch"> @forelse ($products as $product) ...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit0ec888be484376a7ed0f5d54a942e1bb::getLoader();
<?php /* * @copyright Copyright (c) 2018 Ubiquiti Networks, Inc. * @see https://www.ubnt.com/ */ declare(strict_types=1); namespace AppBundle\Event\Client; use AppBundle\Entity\Client; use AppBundle\Entity\WebhookEvent; final class ClientEditEvent extends AbstractClientEvent { /** * @var Client */ ...
@component('mail::message') @component('mail::panel') Responder para {{$name}} no email {{$emailFrom}} @endcomponent **Ocasião**: {{$occasion}} **Faixa de preço**: {{$priceRange}} **Faixa etária**: {{$ageRange}} **Signo**: {{$sign}} **Hobby**: {{$hobby}} **Relação**: {{$relation}} **Que é**: {{$whoIs}} ...
<?php /*this is a base64 encoded option set for the default dummy data. If you choose to import the dummy.xml file with the help of the framework importer this options will also be imported*/ $dynamic_pages = ""; $layerslider = "enfold_classic_slider";
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * 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/LICENS...
@extends('layouts.master') @section('title') class xi | Shariatpur Technical school and collage @endsection @section('breadcrumb') <li class="breadcrumb-item"><a href="{{ route('welcome') }}" class="">Home</a></li> <li class="breadcrumb-item"><a href="#" class="">class</a></li> <li class=...
<h4 class="text-center">LAPORAN DATA KELAS</h4> <table class="table table-bordered table-condensed"> <thead> <tr class="info"> <th>No.</th> <th>Kode Kelas</th> <th>Nama Kelas</th> <th>Kapasitas</th> </tr> </thead> <tbody> <?php $no = 1; foreach ($data_lap as $key_la...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class Historique_etat extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get t...
<?php namespace CirrusSearch\Parser\QueryStringRegex; use CirrusSearch\Parser\AST\FuzzyNode; use CirrusSearch\Parser\AST\NegatedNode; use CirrusSearch\Parser\AST\ParsedNode; use CirrusSearch\Parser\AST\PrefixNode; use CirrusSearch\Parser\AST\WildcardNode; use CirrusSearch\Parser\AST\WordsQueryNode; use CirrusSearch\S...
<?php namespace App\Http\Controllers; use App\Models\Dog; use Illuminate\Http\Request; use Illuminate\Validation\Rule; class DogController extends Controller { public function index() { $dogs = Dog::orderBy('callName'); if(request('search')) { $dogs->where('callName', 'like', '%' . request('search...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</tit...
@extends('frontend.dashboard.dashboard-master') @section('title',$sitesetting->sologan) @section('dashboard') <div class="col-md-9"> <div class="customer-dashboard-body"> <table class="table table-bordered table-sm"> <thead class="thead-light"> <tr> <th>Order...
<?php namespace backend\controllers; use common\models\db\Order; use common\models\repositories\CategoryRepository; use common\models\repositories\ClientRepository; use common\models\repositories\OrderRepository; use common\models\repositories\PartnerRepository; use Yii; use common\models\search\ClientSearchModel; us...
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\SigmaRaw; use JMS\Serializer\Annotation\ExclusionPolicy...
<?php namespace BeSimple\I18nRoutingBundle\Routing\Translator\DoctrineDBAL; use Doctrine\DBAL\Schema\Schema; use Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs; class SchemaListener { public function postGenerateSchema(GenerateSchemaEventArgs $eventArgs) { $schema = $eventArgs->getSchema(); ...
<!doctype html> <html> <head> <title>CIT :: The Red Cutter Day</title> <meta charset="UTF-8"> <link href='https://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'> <link rel="stylesheet" type="text/css" href="<?php echo base_url('seatchart/style.css')?>"> <link rel="stylesheet" ...
<?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 App\Nova; use Illuminate\Http\Request; use Laravel\Nova\Http\Requests\NovaRequest; use Laravel\Nova\Fields\ID; use Laravel\Nova\Fields\Password; use Laravel\Nova\Fields\Text; use Laravel\Nova\Fields\Currency; use Laravel\Nova\Fields\Textarea; use Laravel\Nova\Fields\Markdown; use Laravel\Nova\Fields...
@extends('layouts.admin') @section('component') <script src="{{ asset('js/admin.js') }}" defer></script> @endsection @section('content') <div id="datapipe" data-guid="{{ $Data->guid }}" ></div> <div id="root"> </div> @endsection
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInit3da93608c2e3067176268abc8d54ffbe::getLoader();
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class VoteRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the v...
<?php declare(strict_types=1); namespace PhpCfdi\SatWsDescargaMasiva\Shared; use InvalidArgumentException; use JsonSerializable; /** * Defines a period of time by start of period and end of period values */ final class DateTimePeriod implements JsonSerializable { /** @var DateTime */ private $start; ...
@extends('layouts.dashboard_master') @section('category') active @endsection @section('content') <!-- ########## START: MAIN PANEL ########## --> <div class="sl-mainpanel"> <nav class="breadcrumb sl-breadcrumb"> <a class="breadcrumb-item" href="{{ url('home') }}">Dashboard</a> <a class="breadcrumb-item" hr...
<?php /** * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/ * CC-BY License - http://creativecommons.org/licenses/by/3.0/ */ bx_import('BxDolCron'); bx_import('BxDolModuleDb'); bx_import('BxDolInstallerUi'); bx_import('BxDolEmailTemplates'); class BxDolCronModules extends BxDolCron { function __const...
<?php namespace AppBundle\Entity; use AppBundle\Entity\Lead\Timer; use Doctrine\ORM\Mapping as ORM; use AppBundle\Entity\Part\TimeTrackableTrait; use AppBundle\Entity\Part\IdentificatorTrait; use AppBundle\Validator\Constraints\UniqueLead; use Symfony\Component\Validator\Constraints as Assert; /** * @ORM\Table(name...
<?php use App\Http\Controllers\CategoryController; Route::resource('categories',CategoryController::class);
<!-- Home --> <div class="home"> <!-- Home Slider --> <div class="home_slider_container"> <div class="owl-carousel owl-theme home_slider"> <!-- Slider Item --> <div class="owl-item"> <div class="home_slider_b...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateContactsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('contacts', fun...
<style> p{ line-height: 0.20; font-size: 15px; } </style> <div style="margin-bottom: 15px;text-align: center;"> <p>List of Item</p> </div><!-- /.row --> <table width="700px" border="1" style="font-size: 12px; text-align: center;border-collapse: collapse;"> <tr> <td class="fix...
<?php namespace Q\Orm\Engines; use Q\Orm\Migration\Column; use Q\Orm\Migration\ForeignKey; use Q\Orm\Migration\Table; interface IEngine{ public static function createMigrationsTableQuery(); public static function tableToSql(Table $table); public static function columnToSql(Column $column); public sta...
<?php class Plugins extends MY_Controller{ public function index(){ $this->load->helper('form'); $this->load->model('pluginmodel'); $this->load->model('menumodel'); $menus_data = $this->menumodel->list_menu(); //**Getting menu list //Storing array key as menu id and foreach( $menus_data as $value ): ...
<?php use Propel\Generator\Manager\MigrationManager; /** * Data object containing the SQL and PHP code to migrate the database * up to version 1489355063. * Generated on 2017-03-12 21:44:23 by Antonio */ class PropelMigration_1489355063 { public $comment = ''; public function preUp(MigrationManager $mana...
<?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 namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Photo extends Model { use HasFactory; public function joueurs() { return $this->hasMany(Joueur::class); } }
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Articles</title> <link rel="stylesheet" href="{{ asset('css/app.css') }}"> </head> <body>...
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ p...
<?php namespace Cisse\Bundle\TraitsBundle\Model\NotNullable\Text; trait OsVersionTrait { protected string $osVersion; public function getOsVersion(): string { return $this->osVersion; } public function setOsVersion(string $osVersion): self { $this->osVersion = $osVersion; ...
<?php namespace App\Http\Controllers\Auth; use App\User; use Validator; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ThrottlesLogins; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; use Illuminate\Http\Request; use Alert; Use Auth; class AuthController extends Controller { ...
<?php $params = array_merge( require __DIR__ . '/../../common/config/params.php', require __DIR__ . '/../../common/config/params-local.php', require __DIR__ . '/params.php', require __DIR__ . '/params-local.php' ); return [ 'language' => 'ch-ZN', 'layout'=>false, 'id' => 'app-frontend', ...
#!/usr/bin/php -q <?php // $Id: f7661626c1fd4f77259defa6bdcd4701568a2ca1 $ /* +-------------------------------------------------------------------------+ | Copyright (C) 2004-2022 The Cacti Group | | Copyright IBM Corp. 2006, 2022 | | ...
<?php namespace Google\AdsApi\AdWords\v201809\o; /** * This file was generated from WSDL. DO NOT EDIT. */ class KeywordAttribute extends \Google\AdsApi\AdWords\v201809\o\Attribute { /** * @var \Google\AdsApi\AdWords\v201809\cm\Keyword $value */ protected $value = null; /** * @param str...
<tr> <td> @if(isset($payment['name'])) {{ ucwords($payment['name']) }} @else <p class="alert alert-danger">You need to have <strong>name</strong> key in your config</p> @endif </td> <td> @if(isset($payment['description'])) {{ $payment['desc...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Product */ $this->title = 'Изменить товар: ' . $model->name; $this->params['breadcrumbs'][] = ['label' => 'Товары', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name . ' ' . $model->code, 'url' => ['view'...
<?php class TreasuryModelTest extends ControllerTestCase { /** * * Treasury balance sheet Unit Tests */ private function getTreasury() { system("/var/www/ivc/scripts/db/mysql/reload-db.sh"); $config = array('date' => '2011-04-28', 'clubCreationDate' => '2010-12-24', 'clubId' ...
<?php declare(strict_types=1); namespace Piskvor; use fool\echolog\Echolog; use Psr\Log\LoggerInterface; /** * Class Log provides *a* PSR LoggerInterface * without making the rest of the project dependent on * a) a specific class * b) Registry or * c) DI or * d) a singleton logger * In a tiny project, any o...
<?php namespace Gongo; use Gongo\MercifulPolluter\Request as RequestPolluter; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpKernel\HttpKernelInterface; class RegisterGlobals implements HttpKernelInterface { private $app; public function __construct(HttpKernelInterface $app, array $o...
<?php namespace Spinen\ConnectWise\Models\v2019_4\Finance; use Carbon\Carbon; use Spinen\ConnectWise\Support\Model; /** * Class PurchaseOrderReference Version v2019_4 * * Model for PurchaseOrderReference * * @property Metadata $_info * @property integer $id * @property string $name */ class PurchaseOrderRefe...
<?php namespace Amranidev\Laracombee\Console; use Laracombee; use Illuminate\Console\Command; use Illuminate\Foundation\Auth\User; use Illuminate\Database\Eloquent\Model; class LaracombeeCommand extends Command { /** * Create a new command instance. * * @return void */ public function __c...
@extends('app') @section('content') {{--<blockquote>--}} {{--<p>{{ $nce->content }}</p>--}} {{--</blockquote>--}} <div class="alert alert-success">比特币价:<strong>{{ $bit_coin_price['buy']}}</strong></div> <div class="alert alert-info">上证指数:<strong>{{ $stock_price }}</strong></div> <ul cla...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAdmissionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('admissions',...
<?php get_header(); ?> <div id="content"> <div id="inner-content" class="row"> <main id="main" class="column column-70" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog"> <?php the_archive_title( '<h1 class="page-title">', '</h1>' ); the_archive_d...
<?php // ============================================================================= // Strukturierte Daten (siehe https://schema.org) zur OL Zimmerberg. // ============================================================================= function olz_event_data($args = []): string { $name = $args['name'] ?? ''; ...
@extends('layouts.auth-layout') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Reset Password') }}</div> <div class="card-body"> @...
<?php return [ 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', 'components' => [ 'cache' => [ 'class' => 'yii\caching\FileCache', ], 'formatter' => [ 'class' => 'yii\i18n\Formatter', 'dateFormat' => 'php:Y-m-d', 'datetimeFormat' => '...
<?php namespace AvailableBlockchain\Miner; use AvailableBlockchain\Entity\BlockchainEntity; use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityRepository; /** * Class Mainer * @package AvailableBlockchain\Miner */ class Mainer implements MinerInterface { /** @var EntityManager */ protected $em; /*...
<!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>PMIS - @yield('title')</title> <link href='http://fonts.googleapis.com/css?family=Orbitron:400,700' rel='s...
<?php namespace SquadMS\Foundation\Menu; use Illuminate\Support\Collection; class SquadMSAdminMenu { private Collection $store; public function __construct() { $this->store = new Collection(); } /** * Registers an menu to be rendered in the admin menu at order. * * @param...
<?php /** * Created by PhpStorm. * User: SKANDER * Date: 2/16/2018 * Time: 4:21 AM */ namespace SanteBundle\Controller\EventListener; use SanteBundle\Controller\ImageUpload; use Symfony\Component\HttpFoundation\File\UploadedFile; use Doctrine\ORM\Event\LifecycleEventArgs; use Doctrine\ORM\Event\PreUpdateEventAr...
<?php namespace ccxt; // PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: // https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code use Exception; // a common import class virwox extends Exchange { public function describe () { return array_replace_recursi...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Payments1 extends Model { use HasFactory; protected $table = 'payments1'; protected $fillable = [ 'PaymentId', 'Date', 'TenantName', 'Amount', 'St...
@extends('layouts.app') @section('content') <div class="container"> <h2>Offers of {{ $hotel->name }}</h2> @foreach($offers as $offer) <div class="panel-body"> <h2><a href="{{ action("OfferController@show", ['hotels' => $hotel, 'id' => $offer->id]) }}">{{ $offer->id }} ...
<?php /** * @package WordPress * @subpackage Traveler * @since 1.0 * * Cars modal booking * * Created by ShineTheme * */ //Logged in User Info global $firstname , $user_email; wp_get_current_user(); ?> <div class="row"> <div class="col-xs-12 col-md-8"> <h3><?php printf(st_get_language('you_are_boo...
<?php global $themeSwitcherAdded; $iframeWidth = 400; $iframeHeight = 200; $zoom = 0.7; if (!isset($themeSwitcherAdded)) { $themeSwitcherAdded = 1; ?> <style> .openThemeOptionsUL{ top: auto; max-height: 250px; overflow-y: auto; width: 100%; ...
@extends('layout') @section('content') <div class="row"> <div class="col-lg-12 margin-tb"> <div class="pull-left"> <h2>Add New gallery</h2> </div> <div class="pull-right"> <a class="btn btn-primary" href="{{ route('gallery.index') }}"> Back</a> </div> </d...
<?php declare(strict_types=1); namespace leetcode\tests; use leetcode\BestTimeToBuyAndSellStockWithTransactionFee; use PHPUnit\Framework\TestCase; class BestTimeToBuyAndSellStockWithTransactionFeeTest extends TestCase { public function testMaxProfit(): void { self::assertSame( 8, ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\OrdenesTrabajo */ $this->title = Yii::t('app', 'Update Ordenes Trabajo: {name}', [ 'name' => $model->id_ordenes_trabajo, ]); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Ordenes Trabajos'), 'url' => ['index']]; $th...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class CategoryRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get t...
<?php use Illuminate\Database\Seeder; class EventTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { \Illuminate\Support\Facades\DB::table('events')->insert([ [ 'title'=>'Match', 'sta...
<?php namespace App\Http\Controllers; use Session; use Request; use DB; use CRUDBooster; class AdminPekerjaanController extends \crocodicstudio\crudbooster\controllers\CBController { public function cbInit() { # START CONFIGURATION DO NOT REMOVE THIS LINE $this->title_field = "pekerjaan_nama"; $t...
@extends('layouts.app') @section('title') {{ $post->title}} @endsection @section('content') <div class="container"> <div class="row"> <div class="col-md-12"> <div class="card"> <img src="{{asset("imgs/uploads/$post->image")}}" class="card-img-top" style="width:350px;height:30...