text
stringlengths
2
1.03M
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class State extends Model { use SoftDeletes; protected $dates = ['deleted_at']; /** * set the slug for the state * @param $value */ public function setStateAttribute($value) ...
<?php /** * Copyright (c) 2015-present, Facebook, Inc. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to * use, copy, modify, and distribute this software in source code or binary * form for use in connection with the web services and APIs provided by * Facebook. ...
@extends('base') @section('content') @include('partials.carosel') <div class="container"> <div class="row"> <div class="col-md-3 hidden-sm hidden-xs"> <style> .dropdown-submenu{position:relative;} .dropdown-submenu img{ float:left; ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTravelPackagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('travel_p...
<!DOCTYPE html> <html lang="en"> <head> <title>SHOP|ONLINEE</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link href="https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800&display=swap" rel="stylesheet">...
@push('link') <!-- Editable CSS --> <link href="{{asset('static/admin/plugins/bower_components/datatables/jquery.dataTables.min.css')}}" rel="stylesheet" type="text/css" /> <link href="https://cdn.datatables.net/buttons/1.2.2/css/buttons.dataTables.min.css" rel="stylesheet" type="text/css" /> <style> ...
<?php declare(strict_types=1); namespace Netgen\Layouts\Sylius\BitBag\Tests\Item\ColumnProvider\Page; use Netgen\Layouts\Sylius\BitBag\ContentBrowser\Item\Page\Item as PageItem; use Netgen\Layouts\Sylius\BitBag\Item\ColumnProvider\Page\Slug; use Netgen\Layouts\Sylius\BitBag\Tests\Item\Stubs\Page as PageStub; use PHP...
<?php $__env->startSection('title'); ?> View Mail ##parent-placeholder-3c6de1b7dd91465d437ef415f94f36afc1fbc8a8## <?php $__env->stopSection(); ?> <?php $__env->startSection('header_styles'); ?> <!--page level css starts here--> <link href="<?php echo e(asset('css/pages/mail_box.css')); ?>" rel="styles...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\Catalog\Model\Api\SearchCriteria\CollectionProcessor\ConditionProcessor; use Magento\Framework\Api\SearchCriteria\CollectionProcessor\ConditionProcessor\CustomConditionInt...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class UpdateAdminsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('admins', function...
<?php namespace App\Http\Controllers\Docket; use App\EmailSentDocket; use App\SentDocketLabel; use App\SentDockets; use App\SentEmailDocketLabel; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Session; class LabelController extend...
<?php require "header.html"; ?> <!-- Small boxes (Stat box) --> <div class="row"> <div class="col-lg-3 col-xs-6"> <!-- small box --> <div class="small-box bg-aqua"> <div class="inner"> <h3 class="statistic" id="ads_blocked_today">---</h3> <p>Ads Block...
<?php /** * Inheritance: no * Variants: no Fields Summary: - code [input] - typology [select] - localizedfields [localizedfields] -- name [input] -- description [textarea] */ return Pimcore\Model\DataObject\ClassDefinition::__set_state(array( 'id' => 'MAT', 'name' => 'Material', 'description' => '', ...
<?php use Symfony\Component\Translation\MessageCatalogue; $catalogue = new MessageCatalogue('th', array ( 'validators' => array ( 'This value should be false.' => 'ค่านี้ควรจะเป็น false', 'This value should be true.' => 'ค่านี้ควรจะเป็น true', 'This value should be of type {{ type }}.' => 'ค่านี้ควรจ...
<?php namespace Rwdg\Api\Query\QueryString; use Rwdg\Api\Query\QueryString\Parameter\ParameterFactory; use Rwdg\Api\Query\QueryString\Parameter\ParameterInterface; class QueryString extends QueryStringAbstract { use \Rwdg\Api\Query\QueryString\Parameter\Filter\FilterTrait; use \Rwdg\Api\Query\QueryStri...
@extends('layouts.app_mypage') @section('content') <meta name="csrf-token" content="{{ csrf_token() }}"> <div class="container mymenu login_content" > <div class="content02"> <h2>HOSMATCH マイメニュー</h2> </div> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default" id="app"> ...
<?php class Application_Model_DbTable_SadTbCadoCategoriaDoc extends Zend_Db_Table_Abstract { protected $_schema = 'SAD'; protected $_adapter = 'db_sisad'; protected $_name = 'SAD_TB_CADO_CATEGORIA_DOC'; protected $_primary = array('CADO_ID_CATEGORIA', 'CADO_ID_DOCUMENTO')...
@extends('layouts.master_applicant') <?php session_start(); ?> @section('content') @if($list_job_vacant != null) <h1> Offered Available Position </h1> <br><br> @foreach($list_job_vacant as $jv) <div class="kotak"> <div> <div><h3><b>{{ $jv->posisi_ditawarkan }}</b></h3></div><br> <div><h4><b>Descript...
<h2>Редактирование Рекламы</h2> <hr> {!! Form::open(['url'=>route('update_events_slider', $advertising->id), 'method'=>'post', 'class'=>'form-horizontal', 'files' => true]) !!} <div class="row"> <div class="row"> {{ Form::label('title', 'Заголовок') }} <div> {!! Form::text('title', old('...
<?php return [ 'Introduction Board' => 'Introduction', 'Introduction Board Description' => 'Introduction board is generated automatically as a sample board.', 'Private' => 'Private', 'Public' => 'Public', ];
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePermissionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('permissions...
<?php namespace AlibabaCloud\Client\Traits; /** * Trait HistoryTrait * * @package AlibabaCloud\Client\Traits */ trait HistoryTrait { /** * @var array */ private static $history = []; /** * @var bool */ private static $isRememberHistory = false; /** * @return array ...
<?php Route::get('/admin', ['middleware' => 'auth', 'uses' => 'Admin\AdminmainController@dashboard']); Route::get('login', ['as' => 'auth.login', 'uses' => 'Auth\AuthController@showLoginForm']); Route::post('login', ['as' => 'auth.login', 'uses' => 'Auth\AuthController@login']); Route::get('logout', ['as' => 'auth.lo...
<?php namespace app\models; use Yii; /** * This is the model class for table "cities". * * @property int $city_id * @property string $name * @property string $hd1 * @property string $telorg * @property string $adr1 * @property string $adr2 * @property string $grafik * @property string $ispoln * * @proper...
<?php class admin_birojasa extends admin_controller{ var $controller; function admin_birojasa(){ parent::__construct(); $this->controller = get_class($this); $this->load->helper("tanggal"); $this->load->model("admin_bj_model","dm"); //$this->load->helper("serviceurl"); } function index(){ $dat...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\PaymentMethodSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="payment-method-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ])...
<?php return [ //投屏语言包 "万佳安·值得看大数据" => "WorthCloud·Echodata", "万佳安·值得看智慧门店" => "Passenger-flow Statistics", "简播·值得看大数据" => "Jianbo·Echodata", "简播·值得看智慧门店" => "Passenger-flow Statistics", "值得看·回响大数据" => "WorthCloud·Echodata", "智慧门店客流统计" => "Passenger-flow Statistics", "访客统计" ...
@extends('layouts.app') @section('content') <!-- import css and js--> <link rel="stylesheet" href="{{ asset('public/css/scrollbar.css') }}"> <link rel="stylesheet" type="text/css" href="{{ asset('public/css/menubar/bs_leftnavi.css') }}"> <script src="{{ asset('public/css/menubar/bs_leftnavi.js') }}"></script> <script s...
<?php /** * Contract for every database extension supported by phpMyAdmin * * @package PhpMyAdmin-DBI */ namespace PhpMyAdmin\Dbi; /** * Contract for every database extension supported by phpMyAdmin * * @package PhpMyAdmin-DBI */ interface DbiExtension { /** * connects to the database server * ...
--TEST-- Test mb_strstr() function : usage variation - different types of needle. --SKIPIF-- <?php extension_loaded('mbstring') or die('skip'); function_exists('mb_strstr') or die("skip mb_strstr() is not available in this build"); ?> --FILE-- <?php /* Prototype : string mb_strstr(string haystack, string needle[, bool...
<?php /* File Name : campaignOfferPreview.php * Description : Preview of Campaign Offer on Iphone * Author : Sushil Singh Date: 12th,Nov,2010 Creation */ header('Content-Type: text/html; charset=utf-8'); include_once("cumbari.php"); //include_once("classes/registration.php"); $offerObj = new offer(); $reg...
<?php class DownloadExternalDataColumn extends AbstractWrappedDatasetFieldViewColumn { private $downloadTextTemplate; private $downloadLinkHintTemplate; public function __construct( $fieldName, $datasetFieldName, $caption, $dataset, $downloadTextTemplate, //...
<?php namespace App\Http\Controllers\Admin\MasterData; use App\Http\Controllers\Controller; use App\Models\Admin\MasterData\PangkatGolongan; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; class PangkatGolonganController extends Controller { // Get All Pangkat Golongan public function ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model frontend\models\Category */ $this->title = Yii::t('app', 'Update {modelClass}: ', [ 'modelClass' => 'Category', ]) . ' ' . $model->name; $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Categories'), 'url' => ['index']]; $this->p...
<h1 style="text-align: center; margin: 4px; color:brown">Bed Assign List!</h1> <div class="container"> <div class="col-md-12"> <?php $session=session(); if(!empty($session->getFlashdata('success'))){ ?> <div class="alert alert-success"> <?php echo $session->ge...
<div class="navbar-collapse " id="navbar-menu"> <ul class="navbar-nav ml-auto"> <li class="nav-item {{ \Request::routeIs('frontend.find-room') || \Request::routeIs('frontend.room-detail') ? 'active' : '' }}"> <a class="nav-link" href="/find-room">Find Room</a> </li> <li class="n...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Task extends Model { public function getTags(){ return $this->belongsToMany('\App\Tag'); } public function getLane(){ return $this->belongsTo('\App\Lane'); } }
@include('layout.header') <div class="row" id="real-estates-detail"> <div class="col-sm-4"> <div class="panel panel-default"> <div class="panel-heading"> <header class="panel-title"> <div class="text-center"> <strong>{{ $movieInfo['tit...
@extends('backend.layouts.master') @section('title') Dashboard @endsection @section('content-header') <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0">Dashboard</h1> </div><!-- /.col --> <div class="col-sm-6"...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class CommentController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } ...
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Tymon\JWTAuth\Contracts\JWTSubject; class User extends Authenticatable implements JWTSubject { use Notifiable; /** * The attributes th...
<!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>Landing Page - Start Bootstrap Theme</titl...
@extends('layouts.layout-pages') @section('title', 'Novo Cliente') @section('content') <div id="include-client" class="container-fluid p-3"> <div class="row"> <div class="col-md-10 offset-1 p-4"> <h4>Formulário de cadastro de cliente</h4> <form action=" {{ route('clients.store') ...
<?php $video_background_section = onetone_option( 'video_background_section' ); $i = $video_background_section-1 ; $video_controls = onetone_option( 'video_controls' ); $section_background_video = onetone_option( 'section_background_video_0' ); $youtube_bg_type = one...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<!DOCTYPE html> <html lang="en"> <head> <?php $this->load->view("common/common_head"); ?> <!-- vendor css --> <link rel="stylesheet" href="<?php echo base_url($this->config->item("theme_admin")."/lib/font-awesome/css/font-awesome.css"); ?>"> <link rel="stylesheet" href="<?php echo base_url($this->confi...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Warehouse extends Model { use HasFactory; protected $guarded = ['id', 'created_at', 'updated_at']; public function shoppings(){ return $this->belongsToMany(Shoppin...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Location; use Image; class LocationController extends Controller { public function __construct() { $this->middleware('auth'); } public function addLocation(Request $request) { $this...
<div class="main-sidebar"> <aside id="sidebar-wrapper"> <div class="sidebar-brand"> <a href="#">Stisla</a> </div> <div class="sidebar-brand sidebar-brand-sm"> <a href="index.html">St</a> </div> <ul class="sidebar-menu"> <li class="menu-head...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
<!DOCTYPE html> <!-- This is a starter template page. Use this page to start your new project from scratch. This page gets rid of all links and provides the needed markup only. --> <html lang="en" dir="rtl"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title...
<?php $bg = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSiDJExJ43k-glbord_HbR8GS70kJD6kmuuPIggEaFHyFB9EyCM"; $hideLogo = true; if (session_status() == PHP_SESSION_NONE) { session_start(); } ?> @extends('templates.main') @section('content') <div class="center"> @include('parts.logo') ...
<?php namespace app\admin\controller; use app\common\controller\Backend; /** * * * @icon fa fa-circle-o */ class Cart extends Backend { /** * Cart模型对象 * @var \app\admin\model\Cart */ protected $model = null; public function _initialize() { parent::_initialize(); $...
<?php namespace App\Http\Controllers; use App\Business; use App\Contact; use App\CustomerGroup; use App\Transaction; use App\TransactionPayment; use App\User; use App\Utils\ModuleUtil; use App\Utils\TransactionUtil; use App\Utils\Util; use DB; use Excel; use Illuminate\Http\Request; use Yajra\DataTables\Facades\DataT...
<!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>Página de Contato</title> </head> <body> <h1>Vamos começar a brincadeira</h1> </body> </html>
<?php require '../db.php'; require 'secure.php'; if ($_SESSION['type'] != "p") { header("location: ../index.php"); exit(); } if ($_SERVER['REQUEST_METHOD'] == "POST" && isset($_POST['log_out']) && $_POST['log_out'] == "yes") { session_destroy(); header("location: ../login.php"); exit(); } $added...
@extends('admin.liga.root') @section('subemenu_liga_tabla','active') @section('configuraciones_liga_content') <div id="tabla"> </div> @endsection
<?hh /** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * * */ function f(): void { return async function(varray<int> $a): Awaitable<varray<int>> { // This statemen...
<!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>profile von von</title> <!-- Bootstrap core CSS --> <link hr...
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Sanctum\HasApiTokens; class User extends Authenticatable { use HasApiToken...
<?php include "db.php"; session_start(); #Login script is begin here #If user given credential matches successfully with the data available in database then we will echo string login_success #login_success string will go back to called Anonymous funtion $("#login").click() if(isset($_POST["email"]) && isset($_POST[...
<?php namespace Student\User\Factory\Action\Post; use Psr\Container\ContainerInterface; use Student\User\InputFilter; use User\Action; use User\Model\UserTable; use User\Model\UserMetaTable; use Course\Model\CourseTable; use Topic\Model\AttachmentTable; use Course\Model\ContentTable; use Assignment\Model\AssignmentWo...
<?php namespace app\controllers\merchant\shop; use app\models\merchant\system\OperationRecordModel; use app\models\merchant\user\MerchantModel; use app\models\shop\StorePaymentModel; use yii; use yii\db\Exception; use yii\web\MerchantController; use app\models\merchant\app\AppAccessModel; /** * 应用类目表控制器 * 地址:/admi...
<?php namespace API\ExploitBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\JsonResponse; use Doctrine\ORM\EntityRepository; use Symfony\Component\Form\Extensi...
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\AktaNotarisJenis; /** * AktaNotarisJenisSearch represents the model behind the search form about `app\models\AktaNotarisJenis`. */ class AktaNotarisJenisSearch extends AktaNotarisJenis { /** * @inherit...
<?php class SymbolTable { public function __construct() { $this->table = [ 'SP' => 0, 'LCL' => 1, 'ARG' => 2, 'THIS' => 3, 'THAT' => 4, 'R0' => 0, 'R1' => 1, 'R2' => 2, 'R3' => 3, 'R4' =...
<?php namespace Admin\Controllers; use Admin\Facades\AdminAuth; use Admin\Widgets\DashboardContainer; use AdminMenu; use Request; use Template; class Dashboard extends \Admin\Classes\AdminController { public $containerConfig = []; public function __construct() { parent::__construct(); Ad...
<?php namespace App\Http\Requests\Admin\Project; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Gate; use Illuminate\Validation\Rule; class StoreProject extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ pu...
<?php /** * Sets up translations for Charitable Stripe. * * @package Charitable Stripe/Classes/i18n * @version 1.0.0 * @author Eric Daams * @copyright Copyright (c) 2018, Studio 164a * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License */ // Exit if accessed directly. if ...
<?php declare(strict_types=1); namespace Tests\Feature\Admin; use App\Models\Category; use Mockery; use Stichoza\GoogleTranslate\GoogleTranslate; use Tests\Feature\Admin\CURD\TestCreate; use Tests\Feature\Admin\CURD\TestDestroy; use Tests\Feature\Admin\CURD\TestEdit; use Tests\Feature\Admin\CURD\TestForceDelete; use...
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Laracasts\Flash\Flash; use Novatree\Wallet\model\AccountModel; use Novatree\Wallet\model\UserTotalBalance; class ArtoController extends Controller { public function user_profile () { ...
<?php /** * Created by PhpStorm. * User: 风哀伤 * Date: 2019/4/4 * Time: 14:53 * @copyright: ©2019 浙江禾匠信息科技 * @link: http://www.zjhejiang.com */ namespace app\controllers; use app\models\ContactForm; class ContactController extends Controller { public $enableCsrfValidation = false; public function acti...
<li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> @if (!empty($icon)) <span class="glyphicon glyphicon-{{ $icon }}"></span> @endif {{ $title }} </a> <div class="dropdown-men...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model frontend\models\RefAgensiOkuSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="ref-agensi-oku-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ...
<?php namespace App\Http\Model; use Illuminate\Database\Eloquent\Model; class Admin_roles extends Model { protected $table = 'admin_roles'; protected $primaryKey = 'id'; public $timestamps = false; protected $guarded = []; public function tree(){ $arr = []; $data = Admin_permissi...
<main id="main" class="main-site left-sidebar"> <div class="container"> <div class="wrap-breadcrumb"> <ul> <li class="item-link"><a href="#" class="link">home</a></li> <li class="item-link"><span>Digital & Electronics</span></li> </ul> </div>...
<?php /** * Configuraton file for bitly4laravel * Populate only the needed fields and comment/remove the others */ return array( "access_token" => '44b22af8008861429c243db2fc9590831e36e637', "cache_enabled" => false, "cache_duration" => 3600, // Duration in minutes "cache_key_prefix" => "Bitly4Larave...
<?php namespace App\Http\Controllers; use App\Shortener; use Illuminate\Http\Request; class ShortController extends Controller { public function index() { $short = Shortener::all(); $name = 'Rakshya'; $age = '22'; //TODO research how to send multiple item.. //TODO : -...
<?php /* * This file is part of fof/moderator-notes. * * Copyright (c) FriendsOfFlarum. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FoF\ModeratorNotes\Command; use Flarum\User\User; class DeleteModeratorNote { ...
--TEST-- Check for environ presence --SKIPIF-- <?php if (!extension_loaded("environ")) print "skip"; ?> --FILE-- <?php echo "environ extension is available"; /* you can add regression tests for your extension here the output of your test code has to be equal to the text in the --EXPECT-- section below for the te...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Order extends Model { use HasFactory; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'user_id', '...
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Redis; use Illuminate\Http\Request; use App\Models\Category; use App\Models\Offer; class PageController extends Controller { private $availableLangugages; private $currLanguage; private $search; ...
<?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 TextAnalysis\Tokenizers; /** * Regex GeneralTokenizer * * @author yooper */ class RegexTokenizer extends TokenizerAbstract { const DEFAULT_REGEX = '/\w+|\$[\d\.]+|\S+/'; protected $pattern = null; protected $flags = 0; protected $offset = 0; public function __construct...
<div class="row full wrapper-module-container module-template {{ $style or '' }}"> <div class="col-md-14"> <div class="row full block-in"> <div class="module-header-container wow fadeInUp" data-wow-delay=".2s"> <span class="menu-title"><b>网站模板</b></span> </div> ...
<?php declare(strict_types=1); namespace OpenStack\Metric\v1\Gnocchi; use OpenStack\Common\Service\AbstractService; use OpenStack\Metric\v1\Gnocchi\Models\Metric; use OpenStack\Metric\v1\Gnocchi\Models\Resource; use OpenStack\Metric\v1\Gnocchi\Models\ResourceType; /** * Gnocci Metric v1 Service class. * * @prope...
<?php return array( 'blocks' => array( 'Blocks' => 'Bloky', 'Blocks manager' => 'Manažér blokov', 'Delete' => 'Vymazať', 'Edit' => 'Editovať', 'Name' => 'Názov', 'Create New Block' => 'Vytvoriť nový blok', 'New Block' => 'N...
<div class="modal fade modal-danger" id="confirmDelete" role="dialog" aria-labelledby="confirmDeleteLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">Confirm Delete</h4> </div> <div class="modal-body"> ...
<div> <style> nav svg{ height: 30px; } nav .hidden{ display: block!important; } </style> <div class="container" style="padding: 30px 0;"> <div class="row"> <div class="col-md-12"> <div class="panel panel-default"> ...
<form class="form-horizontal" method="POST" action="{{ route('register') }}"> {{ csrf_field() }} <div class="form-row"> <div class="col-md-6 col-xs-12"> <div class="form-group{{ $errors->has('firstname') ? ' has-error' : '' }}"> <label for="name">Nama depan</label> ...
<?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\HttpFoundation; /** * RedirectResponse represents an...
@extends('voyager::master') @section('page_title', __('voyager::generic.viewing').' '.$dataType->getTranslatedAttribute('display_name_plural')) @section('page_header') <div class="container-fluid"> <h1 class="page-title"> <i class="{{ $dataType->icon }}"></i> {{ $dataType->getTranslatedAttribu...
<?php namespace App\Exceptions; use Exception; use Illuminate\Auth\AuthenticationException; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Support\Arr; class Handler extends ExceptionHandler { /** * A list of the exception types that are not reported. * * @var arr...
<?php namespace App\Policies; use App\User; use App\Minute; use Illuminate\Auth\Access\HandlesAuthorization; class MinutePolicy { use HandlesAuthorization; /** * Determine whether the user can view any minutes. * * @param \App\User $user * @return mixed */ public function ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class WorkOrder extends Model { /** * laravel would look for the model name plural so we tell it to look for this table name instead * @var string */ protected $table = 'work_order'; protected $fillable = ['property_id', 'descri...
<!DOCTYPE html> <html> <head> <title>The Art W</title> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <!-- Favicon --> <link rel="icon" type="image/png" href="{{ asset('asset_front/images/fav-icon.png') }}"> <!-- Boots...
<?php /** * Created by PhpStorm. * User: Asus * Date: 2019/7/16 * Time: 17:01 */ namespace App\Models; use Illuminate\Database\Eloquent\Model; class ExTeam extends Model { protected $table = 'ex_team'; protected $guarded = []; }
<?php namespace Contal\Diccionario; class FifthRule { public function isRule($word) { if (substr($word) == 'é' || substr($word) == 'a' || substr($word) == 'e' || substr($word) == 'i' || substr($word) == 'o' || substr($word) == 'u') { return true; } return false; } public function convert($word) { re...
<?php return [ /* |-------------------------------------------------------------------------- | Default Queue Driver |-------------------------------------------------------------------------- | | The Laravel queue API supports a variety of back-ends via an unified | API, giving you conven...