text
stringlengths
2
1.03M
<?php namespace App\Domain\Certificate\Requests; use Illuminate\Foundation\Http\FormRequest; class CertificateStoreRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; }...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\Materiais\MovimentoEstoqueController; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API rout...
<?php /** * Kuuzu Cart * * @copyright (c) 2007 - 2017 osCommerce; http://www.oscommerce.com * @license BSD License; http://www.oscommerce.com/bsdlicense.txt * * @copyright Copyright c 2018 Kuuzu; https://kuuzu.org * @license MIT License; https://kuuzu.org/mitlicense.txt */ namespace Kuuzu\KU\Core\Site\Admin...
<body style="background-color:#0073B3 "> <main class="flex-wrap flex-100 flex-center absolute" > <section class="container flex-wrap center" style="margin-top: 10%;"> <div class="login " style="text-align: center; margin-left: 250%; margin-top: 14%...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/> <meta name="description" content=""> <meta name="author" content=""> <title> Travel New Zealand </title> <!-- ...
<?php /** * DocumentBlockTypeTest * * PHP version 5 * * @category Class * @package Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * Billingo API v3 * * This is a Billingo API v3 documentation. Our API based on REST software architectural s...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Admin\AdminController; use Illuminate\Http\Request; use JD\Cloudder\Facades\Cloudder; use Illuminate\Support\Facades\DB; use App\Setting; class SettingController extends AdminController{ // get setting public function GetSetting(){ ...
<?php namespace frontend\models; use Yii; /** * This is the model class for table "item". * * @property int $id * @property string $name * @property int $price * @property int $category_id * @property int $created_at * @property int $updated_at * @property int $created_by * @property int $updated_by * * ...
@extends('layout.index') @section('content') <!-- Page Content --> <div class="container"> <!-- slider --> <div class="row carousel-holder"> <div class="col-md-4"></div> <div class="col-md-4"> <div class="panel panel-default"> <div class="panel-heading">Đăng nhập</div> <div class="...
<div class="col-md-3"> <div class="list-group shadoww"> <strong> <a href="<?php echo base_url();?>/nathantraders/login" class="list-group-item">Login</a> <a href="<?php echo base_url();?>/nathantraders/forgot_password" class="list-group-item">Forgot Password</a> </div> </div>
<?php include_once('Config/Config.php'); include_once('Helpers/PayPalHelper.php'); $paypalHelper = new PayPalHelper; $randNo= (string)rand(10000,20000); $orderData = '{ "intent" : "CAPTURE", "application_context" : { "return_url" : "", "cancel_url" : "" }, "purchase_units" : [ ...
<?php namespace App\State; class StateInvoiceApproved extends State { public function handle1(): void { echo "Handle 1 of " . StateInvoiceApproved::class; ln(); $this->invoiceContext->transitionTo(new StateInvoiceShipped()); } public function handle2(): void { echo...
<!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><?= $title; ?></title> </head> <body> <form action="postregister" method="POST"> <input type="tex...
<?php namespace OC\PlatformBundle\Beta; use Symfony\Component\HttpKernel\Event\FilterResponseEvent; class BetaListener { // Notre processeur protected $betaHTML; // La date de fin de la version bêta : // - Avant cette date, on affichera un compte à rebours (J-3 par exemple) // - Après cette date, on n'afficher...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class CurriculumLecture extends Model { use HasFactory; /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded = [ 'id' ]...
<div> @section('title') Exam Type @endsection <div class="page-breadcrumb d-none d-sm-flex align-items-center mb-3"> <div class="breadcrumb-title pe-3">Exam Type</div> <div class="ps-3"> <nav aria-label="breadcrumb"> <ol class="breadcrumb mb-0 p-0"> ...
<style type="text/css"> .navbar .container .navbar-default{ height: 3em; } </style> <!-- Navigation --> <nav class="navbar navbar-fixed-top navbar-default" role="navigation"> <div class="container"> <!-- Brand and toggle get grouped for better mobile displa...
<?php declare(strict_types=1); namespace Amvisie\Core; /** * Provides an array to populate string resources. * @example \Amvisie\Core\BaseResource::get('emailCaption'). emailCaption is supposed to be a key set in derived class. * @author Ritesh Gite <huestack@yahoo.com> */ abstract class BaseResource { /** ...
</div> </div> <!-- jquery main JS --> <script src="{{ asset('assets/js/jquery.min.js') }}"></script> <!-- Bootstrap JS --> <script src="{{ asset('assets/js/bootstrap.min.js') }}"></script> <script src="{{ asset('assets/js/fontawesome.min.js') }}"></script> <!-- owl carousel JS --> <script src="{{ asset('ass...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddAttributeProductTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('attribute...
<?php return [ /* |-------------------------------------------------------------------------- | Application Environment |-------------------------------------------------------------------------- | | This value determines the "environment" your application is currently | running in. This m...
@include('includes.default.head') <body> <div class="bigcontainer"> <div class="kabinettop"> <div class="logo"> <a href="{{ route('home') }}"> <img src="{{ asset('img/img_default/ten.png') }}" alt="logo"></a> </div> <div class="add"> ...
<?php /* @var $this yii\web\View */ /* @var $form yii\bootstrap4\ActiveForm */ /* @var $model app\models\ContactForm */ use yii\bootstrap4\ActiveForm; use yii\bootstrap4\Html; $this->title = 'Cadastro'; ?> <div class="site-contact"> <h1><?= Html::encode($this->title) ?></h1> <div class="row"> ...
<?php namespace App\Http\Controllers\Admins\DataTransaction; use Barryvdh\DomPDF\Facade as PDF; use App\Models\AgendaKeluar; use App\Models\AgendaMasuk; use App\Models\SuratKeluar; use App\Models\SuratMasuk; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class AgendaController extends Controller {...
@extends('admin.master') @section('content') @section('controller','Slogan') @section('action','Add') <!-- Content Header (Page header) --> <section class="content-header"> <h1> @yield('controller') <small>@yield('action')</small> </h1> <ol class="breadcrumb"> <li><a href="admin"><i class="fa fa-dashb...
<?php return [ /* |-------------------------------------------------------------------------- | Application Debug Mode |-------------------------------------------------------------------------- | | When your application is in debug mode, detailed error messages with | stack traces will be...
<?php /*LICENSE +-----------------------------------------------------------------------+ | SilangPHP Framework | +-----------------------------------------------------------------------+ | This program is free software; you can redistribute it and/or modify | | it und...
@extends('brands.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Update Vendor</div> <div class="panel-body"> ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Profile extends CI_Controller { public function index() { $this->load->view('header'); $this->load->view('Profile'); $this->load->view('footer'); } } /* End of file Controllername.php */ ?>
@extends('frontend.layout.app') @section('content') @section('title','Tour Detail') @include('frontend.include.header_2') @if ($errors->any()) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> ...
<?php namespace CCVOnlinePayments\Magento\State; use Magento\Sales\Model\Config\Source\Order\Status; class Processing extends Status { protected $_stateStatuses = \Magento\Sales\Model\Order::STATE_PROCESSING; }
<?php namespace common\interfaces; use frontend\modules\inter\models\InterModos; interface postulantesInterface { public function pushAttributeInterModo($attributesModo); public function esConvocable(); /*Esdta funcion dee dar la lista de registros*/ public function providerPersonsToConvocar(InterM...
<?php /* * This file is part of the symfony package. * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Francois Zaninotto <francois.zaninotto@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTipoReclamosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tipo_recla...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Merquen sistema de restaurante </title> <!-- Tell the browser to be responsive to screen width --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Font Awesome --> <...
<?php /* viewtopic_body.html */ class __TwigTemplate_f1f3c4601b6e93b83f46f7b9a13597ed9ecfd07d567070b00f5a943e148949b4 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } ...
<?php /** * Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * This file is licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. A copy of * the License is located at * * http://aws.amazon.com/apache2.0/ ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSettingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('settings', fun...
@extends('layouts.app') @section('content') <div class="container"> <div class="card"> <div class="card-body"> <h4 class="card-title"> <a href="{{ route('compartments.index') }}" class="mr-4"><i class="icon ion-md-arrow-back"></i></a> Show...
<?php /** * The template for displaying all single posts. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post * * @package smart */ get_header(); while (have_posts()) : the_post(); ?> <?php /** * op_single_before_post ...
<?php // @formatter:off // phpcs:ignoreFile /** * A helper file for Laravel, to provide autocomplete information to your IDE * Generated for Laravel 8.83.1. * * This file should not be included in your code, only analyzed by your IDE! * * @author Barry vd. Heuvel <barryvdh@gmail.com> * @see https://github.com/b...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use TCG\Voyager\Facades\Voyager; use Spatie\Feed\Feedable; use Spatie\Feed\FeedItem; use Spatie\Searchable\Searchable; use Spatie\Searchable\SearchResult; use Carbon\Carbon; use TCG\Voyager\Trait...
<?php namespace AlibabaCloud\Vpc\V20160428; use AlibabaCloud\Client\Request\RpcRequest; /** * Request of DescribeVRouters * * @method string getResourceGroupId() * @method string getResourceOwnerId() * @method string getVRouterId() * @method string getResourceOwnerAccount() * @method string getOwnerAccount() ...
<?php namespace App\Http\Middleware; use Closure; use App\filter; use App\filter_optie; use App\Artist; use DB; class GetGlobalData { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $n...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class CustomerController extends Controller { public function home(){ return view('customer.home'); } public function cashOut(){ return view('customer.cashOut'); } public function...
<?php declare (strict_types=1); namespace Rector\BetterPhpDocParser\Printer; use RectorPrefix20211118\Nette\Utils\Strings; use PhpParser\Node\Stmt\InlineHTML; use PHPStan\PhpDocParser\Ast\PhpDoc\ParamTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocChildNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode; use...
<?php namespace PhpMyAdmin\SqlParser\Tests\Parser; use PhpMyAdmin\SqlParser\Tests\TestCase; class DeleteStatementTest extends TestCase { /** * @dataProvider testDeleteProvider * * @param mixed $test */ public function testDelete($test) { $this->runParserTest($test); } ...
<?php namespace App\Http\Controllers; use App\StatisticInfo; use Illuminate\Http\Request; class StatisticInfoController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Sho...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\modules\productimages\models\ProductImages */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="product-images-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'product_id'...
<?php /** * The header for our theme * * This is the template that displays all of the <head> section and everything up until <div id="content"> * * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials * * @package bplate */ ?><!doctype html> <html <?php language_attributes(); ...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\Models\SekilUser; use Faker\Generator as Faker; $factory->define(SekilUser::class, function (Faker $faker) { return [ 'user_id' => $faker->numberBetween(1,10), 'sekil'=>$faker->imageUrl(), 'basliq'=>$faker->realText(...
<?php /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); ...
@extends("vpsdie.app") @section('title', '【'.$data->name.'】的黑料列表 - 黑名单主机商|失信主机商|失信VPS商家') @section('header') <div class="page-header" style="margin-top: 0px;margin-bottom:5px"> <div class="row align-items-center"> <div class="col"> <div class="page-pretitle"> ...
<!DOCTYPE html> <div id="gtco-header" class="gtco-cover gtco-cover-md" role="banner" data-stellar-background-ratio="0.5"> <div class="overlay"></div> <div class="row design row-mt-4em"> <img src="<?php echo base_url('assets/images/home_desktop.jpg'); ?>" class="hidden-xs" style="width: 100%"> <...
<?php require_once('dbconfig.php'); require_once('login_receiver.php'); if (isset($_POST['search'])) { $searchuser = explode(" ", $_POST['search']); //explodes on spaces if (count($searchuser) == 1) //one word (username) { $searchuser = str_split($searchuser[0], 2); //split on every 2 characters of username when ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use common\models\Commentstatus; /* @var $this yii\web\View */ /* @var $model common\models\Comment */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="comment-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'content')->tex...
<?php namespace Drupal\Core\Field; use Drupal\Core\Access\AccessResult; use Drupal\Core\Session\AccountInterface; /** * Defines a item list class for changed fields. */ class ChangedFieldItemList extends FieldItemList { /** * {@inheritdoc} */ public function defaultAccess($operation = 'view', AccountInt...
<?php namespace MusicBrainz\Value; use MusicBrainz\Value; /** * A relevance score for search results */ class Score implements Value { /** * The number * * @var null|int */ private $number; /** * Constructs a relevance score. * * @param null|int $number The number ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateOrderTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('order', function ...
<?php namespace PDFfiller\OAuth2\Client\Provider\Core; /** * Class ModelsList * @package PDFfiller\OAuth2\Client\Provider\Core */ class ModelsList extends ListObject { /** @var int */ protected $total = 0; /** @var int */ protected $current_page = 1; /** @var int */ protected $per_page = ...
<?php $domain = parse_domain($_SERVER['HTTP_HOST']); define("DOMAIN",$domain); $prefix = parseHostPrefix($_SERVER['HTTP_HOST']); define("hostPrefix",$prefix); $routes = [ [ 'class' => 'app\components\GroupUrlRule', 'hostPrefix' => 'm', 'routePrefix' => 'mobile', 'rules' => [ ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Landing extends CI_Controller { public function index() { $this->load->model('Customers'); print($this->Customers->get_customers()); } }
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Contracts\Auth\Guard; use Auth; //管理员身份认证 class Administrator { /** * The Guard implementation. * * @var Guard */ protected $auth; /** * Create a new filter instance. * * @param Guard $auth * @retur...
<?php /** * Mount the controller onto a mountpoint. */ return [ "routes" => [ [ "info" => "User controller.", "mount" => "user", "handler" => "\Elpr\User\UserController", ], ] ];
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Detalle_Venta extends Model { // }
<?php /* FOSUserBundle:Registration:register_content.html.twig */ class __TwigTemplate_63e0ddda284cf2f2e17f61e851ed631b13723d3c41294d4f78687064cfc01e9a extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this-...
<?php namespace Oriskami\Error; class RateLimit extends InvalidRequest { public function __construct( $message, $param, $httpStatus = null, $httpBody = null, $jsonBody = null ) { parent::__construct($message, $httpStatus, $httpBody, $jsonBody); } }
<?php final class PhabricatorApplicationSearchController extends PhabricatorSearchBaseController { private $searchEngine; private $navigation; private $queryKey; private $preface; public function setPreface($preface) { $this->preface = $preface; return $this; } public function getPreface() {...
<?php namespace PhpAmqpLib\Wire; use PhpAmqpLib\Exception\AMQPOutOfBoundsException; /** * AMQP protocol decimal value. * * Values are represented as (n,e) pairs. The actual value * is n * 10^(-e). * * From 0.8 spec: Decimal values are * not intended to support floating point values, but rather * business valu...
<?php namespace Pterodactyl\Repositories\Eloquent; use Illuminate\Support\Collection; use Pterodactyl\Models\Mod_variable; use Pterodactyl\Contracts\Repository\ModVariableRepositoryInterface; class ModVariableRepository extends EloquentRepository implements ModVariableRepositoryInterface { /** * Return the ...
<div ng-controller="logoController"> <div class="modal-header"> <h3 class="modal-title">Upload Logo </h3> <!--{{rec.provinceSelected}}--> </div> <div class="modal-body"> <form name="logoCreateForm" novalidate> <fieldset> <div class="row"> ...
<?php namespace Bdwey\Banks\Model; use Illuminate\Database\Eloquent\Model; class Banks extends Model { public $table = 'banks'; public $fillable = [ 'user_id', 'bank_name', 'account_number', 'is_main', 'is_active', 'notes' ]; /** * The attribute...
<?php @include __DIR__ . DS . 'credentials.php'; return [ 'debug' => false ];
<?php namespace App\Providers; use Carbon\Carbon; use Monolog\Logger; use Yansongda\Pay\Pay; use Illuminate\Support\ServiceProvider; use Elasticsearch\ClientBuilder as ESClientBuilder; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void ...
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Country; use Validator; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ThrottlesLogins; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; class AuthController extends Controller { /* |--------------------------...
@extends('welcome') @section('content') <section id="form"> <!--form--> <div class="container"> <div class="row"> <div class="col-sm-4 col-sm-offset-1"> <div class="login-form"> <!--login form--> <h2>Đăng nhập</h2> <...
<?php namespace PI\FrontBundle\Repository; use Doctrine\ORM\EntityRepository; use PI\FrontBundle\Entity\Evenement; /** * Created by PhpStorm. * User: Oumaima * Date: 13/02/2017 * Time: 03:21 */ class categorie extends EntityRepository { public function findCatDQL($categorie){ $query=$this->getEntityMana...
@extends('layout') @section('styles') {!! HTML::style('/css/inicio.css') !!} <style> .contentCenter p,li{ font-family: 'arial'; font-size: 16px; } .contentCenter{ margin-bottom: 3em } </style> @stop @section('pre-content') @stop @section('content') <section class="conten...
<?php $con=mysqli_connect("35.192.224.122","lee","1","smartcafe"); if (mysqli_connect_errno($con)) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $id1 = $_GET['id1']; $password1 = $_GET['password1']; $result = mysqli_query($con,"SELECT password1 FROM user where id1='$id1'"); $...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Dog extends Model { // public function events() { return $this->belongsToMany('App\Event'); } public function abilities() { return $this->belongsToMany('App\Ability'); } public function appointments(...
<?php namespace Sitecake\ServiceProviders; use Pimple\Container; use Silex\Provider\SessionServiceProvider as Provider; use Sitecake\ServiceProviders\Session\MemcacheExtension; class SessionServiceProvider extends Provider { public function register(Container $app) { parent::register($app); ...
<?php if (!defined('IN_IA')) { exit('Access Denied'); } class Datatransfer_EweiShopV2Page extends WebPage { public function main() { global $_W; global $_GPC; $item = pdo_fetch('select dt.*,w.name from ' . tablename('ewei_shop_datatransfer') . ' dt left join ' . tablename('account_wechats') . ' w on w.uniacid...
<!DOCTYPE html> <html lang="pt-br"> <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>Atualizar um produto</title> </head> <body> <h1>Atualizar um produto</h1> <form action="{{ route...
<?php namespace App\Providers; use App\Models\Answer; use App\Models\Question; use App\Policies\AnswerPolicy; use App\Policies\QuestionsPolicy; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Gate; class AuthServiceProvider extends ServiceProvider { ...
--TEST-- Test function pcntl_rfork() with wrong flags --SKIPIF-- <?php if (!extension_loaded('pcntl')) die('skip pcntl extension not available'); elseif (!extension_loaded('posix')) die('skip posix extension not available'); if (!function_exists('pcntl_rfork')) die('skip pcntl_rfork unavailable'); ?> --FILE-- <?php...
<?php /* * This file is part of Twig. * * (c) 2009 Fabien Potencier * (c) 2009 Armin Ronacher * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Represents a module node. * * @author Fabien Potencier <fabien@symfony.com> ...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2013 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
<?php /** * @param resource $result * @param string|int $row */ function pg_field_prtlen($result, $row, string|int $field = UNKNOWN) : int|false { }
@extends('backend.app') @section('title', 'Edit Event') @section('content') <section class="content"> <div class="container-fluid"> <div class="row clearfix"> <div class="col-sm-8"> <div class="block-header"> <ol class="breadcrumb brea...
<?php require_once 'Zend/Translate.php'; /** * @package framework * @subpackage tests */ class i18nTest extends SapphireTest { /** * @var string $tmpBasePath Used to write language files. * We don't want to store them inside framework (or in any web-accessible place) * in case something goes wrong with the...
<?php use common\models\Chat; use common\models\Vacancy; use common\src\helpers\Helper; use common\src\helpers\UserImageHelper; use frontend\assets\AppAsset; use frontend\forms\ProposalForm; use yii\helpers\Html; use yii\helpers\Url; use yii\log\Logger; use yii\web\View; /* @var $this View */ /* @var $model Vacancy *...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class MultiChoice extends Model { // protected $guarded = []; }
<?php namespace JanVince\SmallContactForm\Components; use Cms\Classes\ComponentBase; use JanVince\SmallContactForm\Models\Settings; use JanVince\SmallContactForm\Models\Message; use Validator; use Illuminate\Support\MessageBag; use Redirect; use Request; use Input; use Session; use Flash; use Form; use Log; use App; ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\ServicesOrder; use App\user1; use App\Model1; use DB; class AdminServicesOrderController extends Controller { public function AddNewOrder() { $modeldata=Model1::All(); $userdata=user1::All(); return view('admin...
@extends('layouts.manage') @section('content') <?php //ddd($Calendar); ?> <div class="container"> <div class="row"> <div class="col-md-6" > @if (count($errors) > 0) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> ...
<?php class Url { static public function replace($url, $options) { $query = parse_url($url, PHP_URL_QUERY); parse_str($query, $query_arr); foreach ($options as $key=>$val) { if (array_key_exists($key, $query_arr)) { $query_arr[$key] = $options[$key]; ...
<?php // GENERATED CODE -- DO NOT EDIT! // Original file comments: // Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/...
<?php namespace Tests\Repositories; use App\Models\Pegawai; use App\Repositories\PegawaiRepository; use Illuminate\Foundation\Testing\DatabaseTransactions; use Tests\TestCase; use Tests\ApiTestTrait; class PegawaiRepositoryTest extends TestCase { use ApiTestTrait, DatabaseTransactions; /** * @var Pegawa...
<?php declare(strict_types=1); /* * (c) shopware AG <info@shopware.com> * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Swag\PayPal\Test\Mock\PayPal\Client\_fixtures; class GetPaymentOrderResponseFixture { public const I...