text
stringlengths
2
1.03M
<?php namespace App\Exceptions; use Exception; use Illuminate\Http\JsonResponse; /** * This class handles API exceptions and error codes. * * Format for error codes is as follows: * * 401xx - for 401 'Unauthorised' errors * 403xx - for 403 'Permission Denied' errors * 400xx - for 400 'Bad data' errors ...
<?php namespace RectorPrefix20210904; if (\class_exists('Tx_About_Controller_AboutController')) { return; } class Tx_About_Controller_AboutController { } \class_alias('Tx_About_Controller_AboutController', 'Tx_About_Controller_AboutController', \false);
<html> <link rel="icon" type="images/png" href="favicon.png"> <head> <link rel="stylesheet" href="../style.css"> <link rel="stylesheet" type="text/css" href="engine1/style.css" /> <script type="text/javascript" src="engine1/jquery.js"></script> </head> <body> <?php include('../header4.php');?> <?php includ...
<?php namespace Acme\OtherExamplesBundle\Payum\FooBarGateway\Action; use Payum\Core\Action\ActionInterface; use Payum\Core\Request\CaptureRequest; class CaptureAction implements ActionInterface { protected $gatewayUsername; protected $gatewayPassword; public function __construct($gatewayUsername, $gatew...
<?php namespace Elementor; if ( ! defined( 'ABSPATH' ) ) exit; class shopcar_widget_about_text extends Widget_Base { public function get_categories() { return array( 'shopcar_widgets' ); } public function get_name() { return 'shopcar-about-text'; } public function get_title() {...
<?php use Faker\Generator as Faker; use Illuminate\Database\Seeder; class CompaniesSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run(Faker $faker) { for($i = 0; $i < 35; $i++) { DB::table('companies')->insert([ ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Photos extends Model { //指定表名 protected $table='photos'; //指定id protected $primaryKey ='id'; //自动维护时间戳 public $timestamps= true; //批量赋值 //protected $fillable =['status','slogan','summary']; protected function getDateFormat(){ return time();...
@extends('admin_theme') @section('content') <div class="content-wrapper"> <section class="content-header"> <h1> Employee Section <small>All Employees...</small> </h1> <ol class="breadcrumb"> <li><a href="{{URL()}}"><i class="fa fa-dashboard"></i> Home </a>...
<?php /** @license * Copyright 2019-2011 Rafael Gutierrez Martinez * Copyright 2012-2013 Welma WEB MKT LABS, S.L. * Copyright 2014-2016 Where Ideas Simply Come True, S.L. * Copyright 2017 nabu-3 Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in...
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Shipping\Model\Order\Pdf; use Magento\Shipping\Helper\Carrier; /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Packaging extends \Magento\Sales\Model\Order\Pdf\AbstractPdf { /...
<?php session_start(); session_destroy(); header("location: ../index.php"); ?>
<?php namespace App\Methods; use Illuminate\Support\Facades\DB; use Illuminate\Validation\ValidationException; // For Pagination with Collection use Illuminate\Support\Collection; use Illuminate\Pagination\LengthAwarePaginator; use Illuminate\Pagination\Paginator; use App\Models\User; use App\Models\UserDocumentCate...
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Code for displaying server selection * * @package phpMyAdmin */ /** * display server selection in list or selectbox form, or option tags only * * @uses $GLOBALS['cfg']['DisplayServersList'] * @uses $GLOBALS['cfg']['Servers'] * @uses implode() * @...
<?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\Ldap; use Symfony\Component\Ldap\Adapter\EntryManager...
<?php /** * Docket Cache. * * @author Nawawi Jamili * @license MIT * * @see https://github.com/nawawi/docket-cache */ namespace Nawawi\DocketCache; \defined('ABSPATH') || exit; $has_proxy = false; $proxy_title = ''; if ($this->pt->is_behind_proxy()) : $has_proxy = true; $cf = $this->pt->is_cloudfl...
@extends('layouts.material') @section('titulo') Painel {{ mostraAcesso($funcionario_logado) }} @endsection @section('content') <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header card-header-icon" data-background-color="orange" style="color: ...
<nav class="navbar navbar-light" style="background-color: #e3f2fd;"> <div class="navbar-header"> <a class="navbar-brand" href="{{ $resource_url }}">{{ $resource_name }}</a> </div> <ul class="nav navbar-nav"> <li><a href="{{ $resource_url }}">View All</a></li> ...
@extends('admin.layout') @section('title', 'All Packages') @section('content') <div class="row match-height"> <div class="col-xl-12 col-lg-12"> <div class="card"> <div class="card-header"> <h4 class="card-title">All Tourist Packages Bookings</h4> ...
<?php return [ 'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')), // capture release as git sha // 'release' => trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')), // When left empty or `null` the Laravel environment will be used 'environment' => env('SENTRY_ENV...
<?php declare(strict_types = 1); namespace Enobrev\API\Middleware; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\MiddlewareInterface; use Psr\Http\Server\RequestHandlerInterface; use RuntimeException; use Enobrev\Log; /**...
<?php /** * EducationContentReference * * PHP version 5 * * @category Class * @package Swagger\Client * @author http://github.com/swagger-api/swagger-codegen * @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2 * @link https://github.com/swagger-api/swagger-codegen */ /** * Copyrig...
<?php /* * This file is part of the Dektrium project. * * (c) Dektrium project <http://github.com/dektrium/> * * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ use yii\helpers\Html; use yii\widgets\ActiveForm; use dektrium\user\a...
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ '/pay-via-ajax', '/success','...
<?php namespace App\Http\Controllers; use App\Models\Book; use App\Models\Bucket; use App\Models\DetailBook; use Illuminate\Http\Request; use Symfony\Component\HttpFoundation\Session\Session; class ListsController extends Controller { /** * Class constructor. */ public function __construct() { ...
<?php namespace App\Controller\Admin; use App\Controller\Traits\LogViewerTrait; use App\Entity; use App\Http\Response; use App\Http\ServerRequest; use Azura\Exception; use Doctrine\ORM\EntityManager; use Psr\Http\Message\ResponseInterface; class LogsController { use LogViewerTrait; /** @var EntityManager */ ...
<?php namespace Asadbekinha\OctoPayment\Exception; use Exception; class OctoException extends Exception { const ERROR_INTERNAL_SYSTEM = -32400; const ERROR_INSUFFICIENT_PRIVILEGE = -32504; const ERROR_INVALID_JSON_RPC_OBJECT = -32600; const ERROR_METHOD_NOT_FOUND = -32601; const ERROR_INVALID_AM...
<?php /** * Autogenerated by Thrift Compiler (0.13.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ use Thrift\Base\TBase; use Thrift\Type\TType; use Thrift\Type\TMessageType; use Thrift\Exception\TException; use Thrift\Exception\TProtocolException; use Thrift\Protocol\TProt...
<?php $id=$_POST['Data']; include_once("../config/seeker.php"); $ob1=new seeker(); $result=$ob1->seeker_search($id); $n=mysqli_num_rows($result); if($n>0) { ?> <table width="796" border="1"> <tr> <th width="99">Name</th> <th width="191">Mobile_number</th> <th width="186">Experience</th> <th width="143...
<?php /** * Sticky Header - Customizer. * * @package Astra Addon * @since 1.0.0 */ if ( ! class_exists( 'Astra_Ext_Transparent_Header_Loader' ) ) { /** * Customizer Initialization * * @since 1.0.0 */ class Astra_Ext_Transparent_Header_Loader { /** * Member Variable * * @var instance */ ...
<!DOCTYPE html> <html class="loading" lang="en" data-textdirection="ltr"> <!-- BEGIN: Head--> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=...
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\Product; use App\Models\Category; use App\Models\ProductsImage; use App\Helpers\Helper; use App\Models\Size; use App\Models\Color; class ProductController extends Controller { /** * D...
<?php /* * This file is part of the Cocorico package. * * (c) Cocolabs SAS <contact@cocolabs.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Cocorico\CoreBundle\Model; use DateTime; class DateRange { /** ...
<?php declare(strict_types=1); /* * This file has been auto generated by Jane, * * Do no edit it directly. */ namespace Afosto\Sdk\Exception; class GetSessionBillingMethodServiceUnavailableException extends \RuntimeException implements ServerException { private $error; public function __construct(\Afos...
<?php namespace Italia\Spid\Spid\Saml\In; use Italia\Spid\Spid\Saml\SignatureUtils; use Italia\Spid\Spid\Saml; /* * Generates the proper response object at runtime by reading the input XML. * Validates the response and the signature * Specific response may complete other tasks upon succesful validation * such as cre...
<?php /** * Created by PhpStorm. * User: huy * Date: 08/11/16 * Time: 15:14 */ namespace App\Repository\Tax; interface TaxRepo { public function getAll($column = array('*')); public function create($attributes); public function update($id, $attribute); public function delete($id); public fun...
<!-- ============================================== HEADER ============================================== --> <header class="header-style-1"> <!-- ============================================== TOP MENU ============================================== --> <div class="top-bar animate-dropdown"> <div clas...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Contracts\Auth\Guard; use Illuminate\Contracts\Auth\Registrar; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; class AuthController extends Controller { private $redirectTo = '/'; /* |----------------...
<!DOCTYPE HTML> <html lang="en"> <head> <title>Housesgardens.com - administrators </title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="UTF-8"> <link rel="icon" type="image/png" href="{{asset('builder/logo-e...
<!doctype html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="Content-Language" content="en"> <title>Analytics Dashboard - This is an example dashboard created using build-in elements...
<?php /* @WebProfiler/Profiler/search.html.twig */ class __TwigTemplate_fac2b9df3435fe19cd498a38037a6f5b69fd890b9df17d8a3a9cce8495bb13c1 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array...
<?php use Faker\Generator as Faker; $factory->define(App\EmployeeQualification::class, function (Faker $faker) { return [ 'employee_id'=>$faker->unique()->numberBetween($min = 1, $max = 500), 'qualification_id'=>$faker->unique()->numberBetween($min = 1, $max = 200) ]; });
<?php namespace App; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\Config\Resource\FileResource; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Kernel as BaseKernel; use Symfony\Compo...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <!-- jQuery library --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> <!-- Latest compiled JavaScript --...
<?php /** * amadeus-ws-client * * Copyright 2015 Amadeus Benelux NV * * 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 requir...
<?php Auth::routes(['verify' => true]); Route::get('/home', 'HomeController@index')->name('home'); Route::get('/', function () { return 'homw'; }); // route to social media Route::get('redirect/{social}','socialController@redirect'); Route::get('callback/{social}','socialController@callback');
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use App\Models\CompanyProfile; use App\Models\CompanySize; use App\Models\CompanyImage; use App\Models\Invite; use App\Models\CompanyReview; use App\User; use Auth; use Hash; use Mail; use Inp...
<?php declare(strict_types=1); namespace App\Invoice\Domain\Service; use App\Invoice\Domain\Repository\InvoiceRepository; use App\Invoice\Domain\ValueObject\InvoiceNumber\InvoiceNumberInterface; use App\Invoice\Domain\ValueObject\InvoiceNumber\OrderedYearSortedInvoiceNumber; use App\Shared\Domain\Exception\AbstractD...
<?php namespace LaravelRocket\Foundation\Tests\Helpers; use LaravelRocket\Foundation\Tests\TestCase; class StringHelperTest extends TestCase { public function testGetInstance() { /** @var \LaravelRocket\Foundation\Helpers\StringHelperInterface $helper */ $helper = app()->make(\LaravelRocket\Fo...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Contact; class ContactController extends Controller { public function contact(){ return view('pages.contact'); } public function putContact(Request $request){ $data = $request->all(); $result = Conta...
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; class User extends Authenticatable { use Notifiable; /** * The att...
<?php /* @var $this CustomerController */ /* @var $model Customer */ $this->breadcrumbs=array( 'Customers'=>array('index'), $model->id=>array('view','id'=>$model->id), 'Update', ); $this->menu=array( array('label'=>'List Customer', 'url'=>array('index')), array('label'=>'Create Customer', 'url'=>array('create'))...
<!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.0"> <title>More Info About Member</title> {{-- <style> @font-face { font-family: 'Signika'; font-style: normal; font...
@extends('layouts.dashboard') @section('dashboard-content') <div class="row"> <div class="col-lg-8 offset-lg-2 col-md-10 offset-md-1"> <div class="card mb-3"> <div class="card-header text-white bg-dark"> Fuel Types <a class="btn btn-sm btn-outline-light float-rig...
<?php /** * * @copyright 2008 - https://www.clicshopping.org * @Brand : ClicShopping(Tm) at Inpi all right Reserved * @Licence GPL 2 & MIT * @licence MIT - Portion of osCommerce 2.4 * @Info : https://www.clicshopping.org/forum/trademark/ * */ use ClicShopping\OM\CLICSHOPPING; ?> <div class="col-md-<?php e...
<?php namespace App\Models; use App\Models\Traits\Attributes\ArticleAttributes; use App\Models\Traits\ModelAttributes; use App\Models\Traits\Relationships\ArticleRelationships; use Illuminate\Database\Eloquent\SoftDeletes; class Article extends BaseModel { use ModelAttributes, SoftDeletes, ArticleAttributes, Art...
<?php use Illuminate\Database\Seeder; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('users')->delete(); $users = [ [ 'id' => '1', 'name' => 'Maarte...
<?php namespace frontend\models; use Yii; /** * This is the model class for table "title". * * @property int $id * @property string $name 职称名 * @property string $insert_time 插入时间 * @property string $update_time 更新时间 */ class Title extends \yii\db\ActiveRecord { /** * {@inheritdoc} */ public ...
<!-- DataTables --> <link rel="stylesheet" href="<?= base_url() ?>assets/plugins/datatables/dataTables.bootstrap4.css"> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <section class="content"> <!-- For Messages --> <?php $this->load->view('admin/includes/_messages.php') ?> ...
<?php namespace English\HomeBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class HelpControllerTest extends WebTestCase { /* public function testCompleteScenario() { // Create a new client to browse the application $client = static::createClient(); ...
<?php /* * @author Hiraku NAKANO * @license MIT https://github.com/hirak/prestissimo */ namespace Hirak\Prestissimo; use Composer\Package; /** * dirty hack for getCacheKey compatiblity */ class FileDownloaderDummy extends \Composer\Downloader\FileDownloader { public function __construct() { // do...
@extends('layouts.admin.admin_app') @section('admin_content') <div class="page-content"> <div class="container-fluid"> <!-- start page title --> <div class="row"> <div class="col-12"> <div class="page-title-box d-sm-flex align-items-center justify-content-between"> ...
--TEST-- PEAR_PackageFile_Parser_v2->getTask --SKIPIF-- <?php if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; } ?> --FILE-- <?php require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc'; class foolit extends PEAR_PackageFile_v2 { function setTasksNs($ns) { unset($this->_packageInfo['...
<?php /** * Part of the Fuel framework. * * @package Fuel * @version 1.7 * @author Fuel Development Team * @license MIT License * @copyright 2010 - 2013 Fuel Development Team * @link http://fuelphp.com */ namespace Fuel\Core; /** * Event Class * * @package Fuel * @category Core * @a...
<?php return [ 'key' => env('COCKTAILDB_KEY', '1') ];
<?php include_once('./_common.php'); define("_INDEX_", TRUE); include_once(G5_THEME_MSHOP_PATH.'/shop.head.php'); ?> <script src="<?php echo G5_JS_URL; ?>/swipe.js"></script> <script src="<?php echo G5_JS_URL; ?>/shop.mobile.main.js"></script> <?php echo display_banner('메인', 'mainbanner.10.skin.php'); ?> <div id="...
<?php /* * Copyright (c) 2008-2016 vip.com, All Rights Reserved. * * Powered by com.vip.osp.osp-idlc-2.5.11. * */ namespace com\vip\xstore\order\common\pojo\vo; class InfOnlineInAfterSaleVO { static $_TSPEC; public $scenarioCode = null; public $applyId = null; public $afterSaleType = null; public $userId = n...
<?php namespace SMartins\Exceptions\Handlers; use SMartins\Exceptions\JsonApi\Error; use SMartins\Exceptions\JsonApi\Source; use SMartins\Exceptions\JsonApi\ErrorCollection; class ValidationHandler extends AbstractHandler { /** * {@inheritdoc} */ public function handle() { $errors = (ne...
<?php namespace Exam\Shared\Form; use Zend\Expressive\Helper\UrlHelper; use Zend\Expressive\Template; class Link { /** * @var Template\TemplateRendererInterface */ private $template; /** * @var UrlHelper */ private $urlHelper; public function __construct(Template\TemplateRen...
<?php namespace Google\AdsApi\Dfp\v201702; /** * This file was generated from WSDL. DO NOT EDIT. */ class ProductActionErrorReason { const NOT_APPLICABLE = 'NOT_APPLICABLE'; const DEALS_LEGAL_AGREEMENT_NOT_ACCEPTED = 'DEALS_LEGAL_AGREEMENT_NOT_ACCEPTED'; const UNKNOWN = 'UNKNOWN'; }
<?php /** * MIT License * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file. */ namespace SprykerEco\Yves\Payolution\Exception; use Exception; class InstallmentNotFoundException extends Exception { }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <title>Home | E-Shopper</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <lin...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Model\EntitySnapshot; /** * Interface AttributeProviderInterface */ interface AttributeProviderInterface { /** * @param string $entityType * @return array */ pub...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateStateReservesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('state_res...
@extends('layouts.auth') @section('content') <body class="hold-transition register-page"> <div class="register-box"> <div class="register-logo"> <a href="#">DokterPraktek</a> </div> <!-- /.register-logo --> <div class="card"> <div class="card-body register-ca...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:...
<!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"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha...
<?php namespace App\Repositories\Order; use App\Repositories\BaseRepository; use App\Repositories\Subjects\SubjectRepositoryInterface; class OrderRepository extends BaseRepository implements OrderRepositoryInterface { public function getModel() { return \App\Models\Order::class; } }
<div class="widget-promo data-img" data-bg="<?php echo base_url('build/images/states/'.strtoupper($city_data->state).'.jpg'); ?>"> <div class="overlay"> <h3>Do you need an Emergency Locksmith in <span class="location-inblock"><?php echo ucwords($location); ?></span>?</h3> <h2><a href="tel:<?php echo $city_data->ph...
<?php /* Database credentials. Assuming you are running MySQL server with default setting (user 'root' with no password) */ define('DB_SERVER', 'localhost'); define('DB_USERNAME', 'root'); define('DB_PASSWORD', ''); define('DB_NAME', 'mydatabase'); /* Attempt to connect to MySQL database */ $mysqli = new mysqli(DB_SE...
<?php /** * @author yupoxiong<i@yufuping.com> * @date 2019/3/11 */ //分页配置 return [ 'type' => '\tools\BearPage', 'var_page' => 'page', 'list_rows' => 10, ];
<?php session_start(); include('conf/config.php'); include('conf/checklogin.php'); check_login(); $client_id = $_SESSION['client_id']; if (isset($_POST['deposit'])) { $tr_code = $_POST['tr_code']; $account_id = $_GET['account_id']; $acc_name = $_POST['acc_name']; $account_number = $_GET['account_number...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class OrderProduct extends Model { protected $table = 'order_product'; protected $fillable = ['product_id', 'order_id']; public function porduct() { $this->hasOne(Product::class , 'productd_id', 'id'); } }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Role extends Model { use HasFactory; protected $fillabale =[ 'name' ]; }
<?php use Illuminate\Database\Seeder; class SubsubcategoriesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { \App\Models\Subsubcategory::create([ 'name' => 'Milk', 'subcategory_id'=>'1' ]); ...
--TEST-- Bug #72819 (EXIF thumbnails not read anymore) --SKIPIF-- <?php if (!extension_loaded('exif')) print 'skip exif extension not available';?> --INI-- output_handler= zlib.output_compression=0 --FILE-- <?php $infile = dirname(__FILE__).'/bug72819.jpg'; var_dump(strlen(exif_thumbnail($infile))); ?> ===DONE=== --EX...
<?php $__env->startSection('title', 'Questions/Orders'); ?> <!--Grid row--> <?php $__env->startSection('content'); ?> <style type="text/css"> table { max-width: 1200px; } table { white-space:nowrap; } td { /* css-3 */ white-space: -o-pre-wrap; word-wrap: break-word; white-space: pre-wrap; white-s...
<?php namespace Doinc\PersonaKyc\Exceptions; use Exception; use JetBrains\PhpStorm\Pure; class PersonaRecordNotUnique extends Exception { #[Pure] public function __construct() { parent::__construct( "Record not unique", 10006 ); } }
<!DOCTYPE html> <html lang="en"> @include('layouts.partials.head') @include('layouts.partials.header') @yield('content') @include('layouts.partials.footer') </html>
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> @guest @else <meta name="api-token...
{% set list = { 'Facebook':'https://www.facebook.com/sharer/sharer.php?u=cmcm.io', 'Twitter' : 'https://twitter.com/home?status=http://cmcm.io%20-%20A%20simple%20content%20manager%20for%20designers.', 'Google':'https://plus.google.com/share?url=http://cmcm.io', 'LinkedIn':'https://www.linkedin.com/shareArticle?mi...
<?php return [ Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle::class => ['all' => t...
<?php declare(strict_types=1); // @link https://schemas.extratv.com/json-schema/extra/iam/node/ios-app/1-0-0.json# namespace Extra\Schemas\Iam\Node; use Gdbots\Pbj\AbstractMessage; use Gdbots\Pbj\Enum\Format; use Gdbots\Pbj\FieldBuilder as Fb; use Gdbots\Pbj\Schema; use Gdbots\Pbj\Type as T; use Gdbots\Pbj\WellKnown\...
@extends('app') @section('style') @endsection @section('content') @include('app.pasantia.restore.entrega') @endsection @section('script') <script> $(function(){ var currentDate = new Date(); $("#fecha_dia").datepicker({ format: 'yyyy-mm-dd', maxDate: 0, changeYear: true ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Zone extends Model { protected $fillable = ['Nom', 'Restriction', 'Etat']; }
<?php use Faker\Generator as Faker; /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | This directory should contain each of the model factory definitions for | your application. Factories pro...
<?php namespace IntegrationBundle\Service; use Symfony\Bundle\FrameworkBundle\Routing\Router; /** * @author Philip Washington Sorst <philip@sorst.net> */ class UrlService { /** * @var string */ private $baseUrl; /** * @var Router */ private $router; public function __const...
<?php use Illuminate\Database\Seeder; use App\Models\Role; class RolesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $role = Role::create([ 'name' => 'Webmaster', ]); $role = Role::create([ ...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class GroupCreateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Ge...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Dark</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content=...
<?php namespace Sentry\Laravel\Tests\Tracing; use ReflectionClass; use Sentry\Laravel\Tests\SentryLaravelTestCase; use Sentry\Laravel\Tracing\BacktraceHelper; use RuntimeException; use Sentry\Laravel\Tests\ExpectsException; use Sentry\Laravel\Tracing\EventHandler; class EventHandlerTest extends SentryLaravelTestCase...