text
stringlengths
2
1.03M
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateStatesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('states', functio...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'VisualAppeal\\' => array($vendorDir . '/visualappeal/piwik-php-api/src'), 'Symfony\\Component\\Filesystem\\' => array($vendorDir . '/symfony/filesystem'), 'Symfony\\Co...
<?php /* * Code auto-generated by Laravel project creation command. */ namespace App\Providers; use Illuminate\Auth\Events\Registered; use Illuminate\Auth\Listeners\SendEmailVerificationNotification; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; use Illuminate\Support\Facades...
<?php namespace crocodicstudio\crudbooster\commands; use App; use Cache; use CRUDBooster; use DB; use Illuminate\Console\Command; use Request; use Symfony\Component\Process\Process; class CrudboosterInstallationCommand extends Command { /** * The console command name. * * @var string */ pr...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace app\assets; use yii\web\AssetBundle; /** * Main application asset bundle. * * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class AppAsset ex...
<?php namespace App\Ethereum; use Ethereum\DataType\EthD; class SmartContractParametersConverter { public function convert(array $rawParameters): array { $parameters = []; foreach ($rawParameters as $rawParameter) { if (strpos($rawParameter, '0x') === 0) { ...
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmO...
<?php namespace backend\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use common\models\NewsModel; /** * NewsSearchModel represents the model behind the search form about `common\models\NewsModel`. */ class NewsSearchModel extends NewsModel { /** * @inheritdoc */ public fu...
<?php /** * */ namespace Mvc5\Test\Plugins; use Mvc5\Plugins\Service; use Mvc5\Plugins\Session; final class SessionPlugin { /** * */ use Service; use Session { session as public; } }
--TEST-- Decode array abc --SKIPIF-- <?php if (!extension_loaded("amf")) print "skip"; ?> --FILE-- <?php $dir = dirname(__FILE__); $str = file_get_contents($dir . DIRECTORY_SEPARATOR . "amf_arr_abc.dat"); var_dump(amf_decode($str)); ?> --EXPECT-- array(3) { [0]=> string(3) "abc" [1]=> string(3) "abc" [2]=> ...
<?php if (session_id() == "") session_start(); // Initialize Session data ob_start(); // Turn on output buffering ?> <?php include_once "ewcfg10.php" ?> <?php include_once "ewmysql10.php" ?> <?php include_once "phpfn10.php" ?> <?php include_once "usersinfo.php" ?> <?php include_once "userfn10.php" ?> <?php // // Page ...
<?php namespace App\Http\Controllers\Front\Auth; use Helper; use App\Jobs\SendVerificationEmail; use App\Notifications\{WelcomeMessage, EmailVerification, LoginCredential}; use App\User; use Illuminate\Auth\Events\Registered; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class RegisterController ...
--TEST-- Test closedir() function : basic functionality --SKIPIF-- <?php if (substr(PHP_OS, 0, 3) != 'WIN') { die("skip Valid only on Windows"); } ?> --FILE-- <?php /* Prototype : void closedir([resource $dir_handle]) * Description: Close directory connection identified by the dir_handle * Source code: ext/standar...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use common\models\Address; /* @var $this yii\web\View */ /* @var $model common\models\Hotel */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="hotel-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'addressId')->dropDownList...
<?php /* * This file is part of the PiwikClient. * (c) 2013 Knp Labs <http://www.knplabs.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Knp\PiwikClient\Connection; /** * Piwik Stub Connector. * * @author Konsta...
<script type="text/javascript" src="./static/crop/js/ajaxfileupload.js"></script> <script type="text/javascript" src="./static/crop/js/artDialog4.1.6/jquery.artDialog.js?skin=simple"></script> <script type="text/javascript" src="./static/crop/js/artDialog4.1.6/plugins/iframeTools.js"></script> <div class="container"> ...
<?php return [ 'data0' => [ 'dataset_id' => 1, 'data' => 'Molestiae et et est tempore deleniti consectetur consequuntur in nisi ipsum facere illum et quia ut molestias non.', 'data_raw' => 'Voluptatem accusamus nihil dolor aliquam blanditiis adipisci laborum ut recusandae.', ], 'dat...
<!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>EMAAR - HR Workforce Tool</title> <link rel="shortcut icon" href="{!! asset('favicon.ico') !!}...
<?php /** * Rend * * 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://www.rendframework.com/license.html * If you did not receive a copy of the license and are unable to * obtai...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Videos extends CI_Controller { var $sortOptions = array( 'id' => 'Newest', 'star_rating' => 'Rating', 'size' => 'Size', 'client_name' => 'Name', 'oldest' => 'Oldest', ); function __construct...
<?php /** * WURFL API * * LICENSE * * This file is released under the GNU General Public License. Refer to the * COPYING file distributed with this package. * * Copyright (c) 2008-2009, WURFL-Pro S.r.l., Rome, Italy * * * * @category WURFL * @package WURFL_Xml_PersistenceProvider * @copyright WURFL-...
<?php use Illuminate\Database\Seeder; class DatosmaestrosTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { App\Datosmaestro::create([ 'director' => ucwords('Teniente Coronel Ricardo Jerez Soto'), 'car...
<!doctype html> <!-- Template Name: JB desks Version: 1.0.0 Author: --> <!--[if IE 8]> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="ie8 no-js"> <![endif]--> <!--[if IE 9]> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="ie9 no-js"> <![endif]--> <!--[if !IE]><!--> <html lang="...
<?php declare(strict_types=1); namespace Shopware\Core\Framework; use Shopware\Core\Framework\DataAbstractionLayer\DefinitionInstanceRegistry; use Shopware\Core\Framework\DataAbstractionLayer\ExtensionRegistry; use Shopware\Core\Framework\DependencyInjection\CompilerPass\ActionEventCompilerPass; use Shopware\Core\Fra...
<footer style="position: static;bottom:0;left:0;right:0;margin-top:10px"> <div class="footer-wrap pd-20 mb-20 card-box"> Made with love <i class="fa fa-heart text-danger"></i> <a href="https://gocodings.web.app" style="text-decoration: none;" target="_blank"> Gocodings.web.app</a> </div> </footer> <!-- js --> <scri...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class ValoracionController extends Controller { // }
<?php //00551 // -------------------------- // Created by Dodols Team // -------------------------- if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function...
<?php namespace app\apiv1\controller; use service\DataService; use think\Error; use think\Validate; use think\Db; use think\facade\Cache; /** * 应用入口控制器 * @author Anyon <zoujingli@qq.com> */ class Resource extends Base { public function index() { //获取美元的价格 $dollar = db::name('system_coin')-...
<?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 App\Http\Controllers; use App\Models\Post; use Illuminate\Http\Request; use App\Models\Hashtag; class HomeController extends Controller { public function index() { $hashtags = Hashtag::get(); $posts = Post::orderBy('created_at', 'desc')->with(['user', 'likes'])->p...
<?php namespace App\Services\Core\Sms\Chuanglan; use App\Services\Core\Sms\SmsService; use App\Helpers\Http\HttpClient; use App\Models\Orm\MessageLog; use Log; /** * 创蓝短信通道 * Class ChuanglanService * @package App\Services\Core\Sms\Chuanglan */ class ChuanglanService extends SmsService { /** * * @p...
<br> <br> <div align=center> <div class="row"> <div class="small-12 large-4 columns"> <a href="/buddy_my/index/<?php echo @$_SESSION['login_idx']?>" class="fancy radius button"><i class="fi-address-book"></i>My Buddy</a> </div> <div class="small-12 large-4 columns"> <a href="/buddy_my/memb...
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections b...
<?php /* function sherbek($name, $month, $day, $years, $age){ return "$name $month $day $years ($age years old.)\n"; } echo sherbek('Sabrina', 'October', '08', '2004','16'); */
@if (Auth::guard('admin')->check()) <p class="text-success"> You are Logged In as a <strong>ADMIN</strong> </p> @else <p class="text-danger"> You are Logged Out as a <strong>ADMIN</strong> </p> @endif @if (Auth::guard('agent')->check()) <p class="text-success"> You are Logge...
<head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Tv Guide | @yield('title') </title> {!! Html::style('assets/plugins/fontawesome-free/css/all.min.css') !!} <link rel="stylesheet" href="http://code...
@extends('dashbord.layouts') @section('title') <title>Lead Details </title> @endsection @section('content') <div class="content-wrapper"> <div class="content-header row"> </div> <div class="content-body"> <!-- users view start --> <section class="users-view"> <!-- users view med...
@extends('adminlte::page') @section('title', 'Crear Renovacion') @section('content_header') <h1>Crear Renovacion</h1> @stop @section('content') <div class="card"> <div class="card-header"> {{-- <h1>Crear Renovacion</h1> --}} {{-- {{var_dump($errors)}} --}} <h2>Detalles Generales</h2> ...
<?php require_once 'main.class.php'; require_once 'rot.function.php'; class HomeEnviroment extends Main { private $UserEmail = NULL; private $UserAvatar = NULL; private $Contacts = NULL; private $Username = NULL; private $FriendsIWantToTalk = NULL; private $Friend...
<?php namespace app\modules\admin\controllers; use Yii; use app\models\dilshod\MenuItem; use app\models\dilshod\Menu; use app\models\dilshod\MenuItemTrans; use app\models\dilshod\MenuItemSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\web\UploadedFile; /** * Me...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Categories_filter extends Model { protected $fillable=['category_id','filter_id']; public function filter(){ return $this->belongsTo(\App\Models\Filter::class); } }
<?php Route::get('/', ['as' => 'index', 'uses' => 'ImagesController@index']); Route::get('/{id}', ['as' => 'edit', 'uses' => 'ImagesController@showEditForm']); Route::post('/', ['as' => 'update', 'uses' => 'ImagesController@update']); Route::get('/create', ['as' => 'create', 'uses' => 'Images...
<?php /* * Esse arquivo faz parte de Lógica Tecnologia/SGL * (c) Renato Maldonado mallldonado@gmail.com */ namespace Tests\Feature\Repositories; use Tests\TestCase; use App\Repositories\Contracts\SuporteRepository; class SuporteRepositoryTest extends TestCase { /** * Repositório de chamados. * ...
<?php namespace Jane\OpenApi3\Tests\Expected\Normalizer; use Jane\JsonSchemaRuntime\Normalizer\CheckArray; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use ...
<!doctype html> <?php require 'core.php'; require 'connect.php'; if(!loggedin()) { header('Location:studentlogin.php'); } $cd=-1; if(isset($_GET['q'])&&!empty($_GET['q'])) $cd=$_GET['q']; if(isset($_POST['descri'])&&isset($_POST['sld'])) { if(!empty($_POST['descri'])&&!empty($_POST['sld'])) { ...
<?php declare (strict_types=1); namespace Rector\DowngradePhp80\Rector\Class_; use PhpParser\Comment; use PhpParser\Node; use PhpParser\Node\Param; use PhpParser\Node\Stmt\Class_; use PhpParser\Node\Stmt\ClassMethod; use PhpParser\Node\Stmt\Expression; use PhpParser\Node\Stmt\Property; use Rector\Core\NodeManipulator...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <!-- TITLE --> <title>Login - Wagyingo Hostel</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="format-detection" content="telephone=no"> <meta name="appl...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Emergencies extends Model { use SoftDeletes; public $table = 'emergencies'; protected $dates = [ 'updated_at', '...
<?php use yii\helpers\Html; /** @var \common\models\Product $model */ ?> <div class="product-item swiper-slide"> <div class="boundary"> <div class="product-img"> <a href="/product/<?= $model->alias ?>" data-pjax="0"> <?= Html::img('/' . $model->_preview->url . '/middle-' . $mo...
<script> function previewImage(){ const image = document.querySelector('#foto'); const imgPreview = document.querySelector('.img-preview'); imgPreview.style.display = 'block'; imgPreview.style.width = '200px'; imgPreview.style.height = '175px'; const oFReade...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class sale extends Model { use HasFactory; protected $fillable = [ 'order_id', 'customer_id', 'discount', 'vat', 'amount', 'paid', ...
<?php //put file which is connected to database include ('koneksi.php'); include ('config.php'); include_once('cek-akses-admin.php'); if(empty($_SESSION['username'])){ header("location: login.php"); } //take all parameters through get method $id_laporan = $_GET['id_laporan']; //delete data from databa...
<style> .obsah{ float: center; width: 98%; height: 85%; } a{ color: #dc3545; } a:hover{ color: #dc3545; } </style> <div class="container obsah"> <table class="table"> <thead> <tr> <th scope="col">Jméno</th> <th scope="col">Příjmení</th> <th scope="col">Osobní číslo</th>...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddFieldUsernameToUsers extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', fun...
<?php /** * Cycle DataMapper ORM * * @license MIT * @author Anton Titov (Wolfy-J) */ declare(strict_types=1); namespace Cycle\ORM\Tests\Command; use Cycle\ORM\Command\Branch\Split; use Cycle\ORM\Tests\Fixtures\TestContextCommand; use PHPUnit\Framework\TestCase; class SplitCommandTest extends TestCase { ...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Vs\V20181212\Models\DescribeParentPlatformsResponseBody; use AlibabaCloud\Tea\Model; class platforms extends Model { /** * @var string */ public $status; /** * @var int */ public $clientPort;...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\SoftDeletes; use App\Http\Traits\Attachments\HasAttachment; use Illuminate\Database\Eloquent\Relations\BelongsToMany; class Section extends Model { use SoftDeletes, HasAt...
<?php declare(strict_types=1); namespace Rabbit\HttpServer\Middleware; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Rabbit\HttpServer\Formater\ResponseFormater; use Rabbit\HttpServer\Formater\IResponseFormatTool; /** * Trait AcceptTrait * @package Rabbit\HttpServer\Midd...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card card-default"> <div class="card-header"> CyberExpertise toevoegen </div> {{ i...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Exceptions\HttpResponseException; class CreateCommentRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @...
<h1>Projects</h1> <div class="bg-success"> <?php if ($this->session->flashdata('project_created')): echo $this->session->flashdata('project_created'); endif; if ($this->session->flashdata('project_updated')): echo $this->session->flashdata('project_updated'); ...
<?php namespace PHPCR\Tests\Util\Console\Command; use PHPCR\ImportUUIDBehaviorInterface; use PHPCR\RepositoryInterface; use PHPCR\Util\Console\Command\WorkspaceImportCommand; class WorkspaceImportCommandTest extends BaseCommandTest { public function setUp() { parent::setUp(); $this->applicat...
{extend name='basis/basis'} {block name='content'} <!-- 内容首页 --> <div class="jumbotron"> <h1>{$blogUser->nickname}的个人博客</h1> </div> <h1>我的博文</h1> {volist name='NewDate' id='cDate'} <div class="media"> <div class="media-left"> <a href="{$cDate->burl}"> <img style='width:100px;' class="media-object" src...
<?php namespace frontend\controllers; use Yii; use frontend\models\ContactForm; use yii\web\Controller; /** * Site controller */ class SiteController extends Controller { /** * @inheritdoc */ public function actions() { return [ 'error' => [ 'class' => 'yii\...
<!DOCTYPE html> <html lang="en"> <head> <title>Ejercicio5 - PDO</title> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsde...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Voting System</title> <!-- Bootstrap core CSS --> <link href...
<?php // ------------------ VTC RPC ------------------------- // ------------------ VTC RPC ------------------------- // function vtc_rpc($command) { global $config; $result = new stdClass; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $config['wallet_rpcprotocol'] . '://' . $config['wallet_rpchost'] ...
<?php namespace base; use base\exceptions\InvalidRouteException; use base\exceptions\NotFoundHttpException; use Monolog\Logger; use Monolog\Handler\StreamHandler; use app\controllers; class Application { public static $app; public $base_uri; private $_db; private static $_logger; private $_runtimeP...
<div x-data="{ open: @entangle('showDropdown') }" @keyup.escape.window="open = false" > <button x-on:click=" open = !open" class=" bt-blauw"> Reageer </button> <div x-show="open" @click.outside="open = false" class="fixed bottom-0 left-0 w-full " > <form wire:submit.prevent="save" > ...
<x-app-main> <h1 class="text-center">My Time Table</h1> <div class="row text-center mt-5 justify-content-around"> <div class="card shadow-lg border-1" style="width: 18rem;"> <a href="/show/TODO" style="text-decoration: none; color:black"> <h1 style="font-size: 100px">{{ $todo->count() }}</h1> ...
@extends('employer.layouts.default') @section('content') <style> .continue-btn:hover{ color:#283251!important; } input[type="checkbox"][readonly] { pointer-events: none; } .completed { pointer-events: none; } </style> <div id="content"> <div class="container-fluid"> ...
<?php ini_set('display_errors', 'on'); require_once 'config.php'; header('Content-Type: text/html; charset=utf-8'); header('Access-Control-Allow-Origin: *'); $conexao = @mysql_connect($host, $usuario, $senha) or exit(mysql_error()); mysql_set_charset("utf8", $conexao); mysql_select_db($banco); $preenchi...
<!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"> <title>Katen - Admin</title> <!-- plugins:css --> <link rel="stylesheet" href="{{ asset('backend/vendors/iconfonts/m...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit8f69952062c5156bb81f2ab0752dfd82 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<div class="form-group"> {{Form::label($name, null, ['class' => 'control-label'])}} {{Form::text($name, $value, array_merge(['class' => 'form-control']), $attributes)}} </div>
<?php /** * This file is part of the "dibi" - smart database abstraction layer. * Copyright (c) 2005 David Grudl (https://davidgrudl.com) */ namespace Dibi\Bridges\Nette; use Nette; /** * Dibi extension for Nette Framework 2.1. Creates 'connection' service. */ class DibiExtension21 extends Nette\DI\CompilerEx...
<div class="page-header"> <h1> <small> mantenimiento de registros </small> </h1> </div> <?= form_open('asignatura_contenido/search', array('class'=>'form-search')); ?> <?= form_input(array('type'=>'text', 'name'=>'buscar', 'id'=>'buscar', 'placeholder'=>'Buscar por nombre de perfil...', 'class'=>'input-medium searc...
<?php declare(strict_types=1); namespace Lamoda\AtolClient\V5\DTO\Register; use JMS\Serializer\Annotation as Serializer; final class Company { /** * @var string * * @Serializer\Type("string") */ private $email; /** * @var Sno * * @Serializer\Type("Enum<'Lamoda\AtolClie...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Home extends CI_Controller { function __construct(){ parent::__construct(); $this->load->model('m_inven'); date_default_timezone_set('Asia/Jakarta'); } public function index() { if (!$this->session->has_userdata('logged')){ $thi...
@extends('layouts.app') @extends('layouts.dashboardItem') @extends('layouts.dashboardNav') @push('css') <link rel="stylesheet" href="{{ url('assets/modules/summernote/summernote-bs4.css') }}"> <link rel="stylesheet" href="{{ url('assets/modules/select2/dist/css/select2.css') }}"> <link rel="stylesheet" href="{{ url('a...
<x-emoji-icon-emoji :name="'womanFairyMediumSkinTone'" {{ $attributes }} />
<p class="step-title">Шаг 1 из 5 - Контактные данные</p> {{Form::open(['url' => route('store_order'), 'method'=>'POST', 'files' => true, 'class'=>'order_form'])}} <div class="general_info"> {{ Form::label('name', 'Имя: ', ['class'=>'main_label req']) }} @if (Auth::user()) {{ Form::text('name', Auth::user()->nam...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
<?php namespace Binaryk\LaravelRestify\Fields; use Binaryk\LaravelRestify\Contracts\RestifySearchable; use Binaryk\LaravelRestify\Http\Requests\RestifyRequest; use Binaryk\LaravelRestify\Repositories\Repository; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Http\Request; class HasMany extends Eag...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateImeiautorizadosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('imeiaut...
<?php class News extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('news_model'); $this->load->helper('url_helper'); } public function index() { $data['news'] = $this->news_model->get_news(); $data['title'] = 'News Arch...
<?php /** * GitQueryBranchStatsCriteria * * PHP version 5 * * @category Class * @package FrankHouweling\AzureDevOpsClient\Git * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * Git * * No description provided (generated by Swagger Codegen https://github.co...
<?php declare(strict_types=1); namespace Otis22\VetmanagerRestApi\Query\Filter; use Otis22\VetmanagerRestApi\Query\Filter; use Otis22\VetmanagerRestApi\Model\Property; use Otis22\VetmanagerRestApi\Query\Filter\Value\StringValue; final class MoreThan implements Filter { /** * @var string */ private...
<?php /** * Created by PhpStorm. * User: PedroGaspar * Date: 21/02/2018 * Time: 23:59 */ namespace prevenir\Business\Repos\Posts; use prevenir\Business\Models\Posts\People; final class PeopleRepo { public static function getByRole ($roleId, $postPerPage) { $peopleByRole = People::set('tax_query', [[ 'tax...
<!doctype html> <html lang="<?php echo e(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="<?php echo e(csrf_token()); ?>"> <title><?php echo e(con...
<?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\Console\Tests\Input; use Symfony\Component\Console\In...
<?php get_header(); ?> <div class="content"> <div id="middlecolumn"> <div id="primary"> <?php if( get_option('redo_livesearchposition') == 1 ) { ?> <div id="current-content"> <?php } ?> <div id="<?php echo $prefix; ?>primarycontent" class="hfeed"> <?php include (TEMPLATEPATH . '/theloop.ph...
<?php namespace fwe\db; abstract class AsyncConnection { /** * @var IPool */ public $pool; /** * @var array */ protected $_events = [], $_data = [], $_callbacks = []; /** * @var IEvent */ protected $_current; /** * @var \Event */ protected $_event; /** * @var int */ public $eventK...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">Change status order</div> <div class="card-body"> <form method="PO...
<?php namespace Nwidart\Modules\Tests\Commands; use Nwidart\Modules\Tests\BaseTestCase; use Spatie\Snapshots\MatchesSnapshots; class EventMakeCommandTest extends BaseTestCase { use MatchesSnapshots; /** * @var \Illuminate\Filesystem\Filesystem */ private $finder; /** * @var string ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Taskboard extends Model { protected $fillable = ['content', 'user_id','status']; public function user() { return $this->belongsTo(User::class); } }
<?php /** * PhoneColumn * * PHP version 5 * * @category Class * @package PureCloudPlatform\Client\V2 * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * PureCloud Platform API * * With the PureCloud Platform API, you can control all aspects of your PureClou...
<?php declare(strict_types=1); /* * This file is part of PHP Copy/Paste Detector (PHPCPD). * * (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. */ namespace SebastianBergmann\PHPCPD\Detecto...
<?php namespace yiitk\gii\generators\enum; use Yii; use yii\gii\CodeFile; use yiitk\helpers\InflectorHelper; use yiitk\helpers\StringHelper; use yiitk\enum\base\BaseEnum; /** * This generator will generate a enum and one or a few action view files. * * @property string $nam...
<?php // autoload_files.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', '1d1b89d124cc9cb8219922c9d5569199' => $vendorDir . '/hamcrest/hamcrest-php/hamc...