text
stringlengths
2
1.03M
<?php declare (strict_types=1); namespace Rector\Naming\PropertyRenamer; use PhpParser\Node; use PhpParser\Node\Expr\PropertyFetch; use PhpParser\Node\Expr\StaticPropertyFetch; use PhpParser\Node\Identifier; use PhpParser\Node\Stmt\ClassLike; use PhpParser\Node\VarLikeIdentifier; use Rector\Core\NodeAnalyzer\Property...
@extends(file_exists(resource_path('views/extend/back-end/master.blade.php')) ? 'extend.back-end.master' : 'back-end.master') @section('content') <div class="wt-haslayout wt-manage-account wt-dbsectionspace la-admin-setting" id="settings"> @if (Session::has('message')) <div class="flash_msg"> ...
<?php namespace App\Repositories\Eloquent; use Prettus\Repository\Eloquent\BaseRepository; use Prettus\Repository\Criteria\RequestCriteria; use App\Repositories\Contracts\PermissionRepository; use App\Models\Permission; use App\Repositories\Validators\PermissionValidator; /** * Class PermissionRepositoryEloquent *...
<?php error_reporting(E_ALL); ini_set('display_errors', 1); $con = mysqli_connect("localhost","moodleuser","123456","moodle"); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); exit(); } //API key $api_key = ')ma#e*lz)m*881ghgwgkc&vodfodfdopvjdqp9vb_4pdohndpw2o8g2hf=s';...
<?php /** * ApiException * PHP version 5 * * @category Class * @package MailchimpMarketing * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * Mailchimp Marketing API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/sw...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class cookiectrl extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the form for creating a new resour...
<?php if (count($this->queries) > 0) { ?> <ol id="queries-list"> <?php foreach ($this->queries as $query) { ?> <li> <dl> <?php if (!empty($query->date)) { ?> <dt><?php echo date("d F Y H:i:s", strtotime($query->date)); ?></dt> <?php } else if (!empty($query->count)) { ?> <dt><?php printf(l...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</tit...
<!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"> <meta name="csrf-token" content="Yy9V4vY9THMW7e43fvmQTcV6ceanaeJLeo4SV3mV"> <title>Goldpower</title> <!-- mor...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class AboutController extends Controller { public function index() { return view("About/index"); } }
<?php namespace App\Http\Livewire\Parametrage; use App\Models\Qualite as ModelsQualite; use Livewire\Component; class Qualite extends Component { public $nom; protected $rules = [ 'nom' => 'required|min:2', ]; public function createQualite() { $this->validate(); $item...
<?php namespace App\Model\Administrator\Accounts; use Illuminate\Database\Eloquent\Model; class AdminUserRole extends Model { protected $fillable = ['role_name','description']; public static function roles($except = null){ if($except == null){ return self::orderBy('id','asc')->pluck('rol...
<?php /** * @copyright Copyright (C) 2015-2019 AIZAWA Hina * @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT * @author AIZAWA Hina <hina@fetus.jp> */ declare(strict_types=1); use app\components\db\Migration; class m191112_153426_remove_duplicated_salmon_stats extends Migration { publ...
<?php declare(strict_types=1); namespace Xyng\Yuoshi\ContentSolutionValidators; use Xyng\Yuoshi\Model\UserTaskContentSolutions; interface ContentSolutionValidator { /** * Validate given Task, return points as int * @param UserTaskContentSolutions $contentSolution * @return float */ public...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call([ PermissionSeeder::class, UserSeeder::class, ...
@extends('layouts.dashboard') @section('content') <div class="container-fluid py-4"> <div class="row"> <div class="col-12"> <div class="card z-index-0 fadeIn3 fadeInBottom"> <div class="card-header p-0 position-relative mt-n4 mx-3 z-index-2"> ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class Admin extends Authenticatable { use HasFactory,Notifiable; protected $guard = 'adm...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
<!DOCTYPE html> <html> <head> <title> Register Account </title> <!-- Favicon --> <link href="<?= base_url()?>/assets/image/serve.png" rel="icon" type="image/png"> <link href="<?= base_url()?>/assets_penjual/js/plugins/nucleo/css/nucleo.css" rel="stylesheet" /> <meta name="viewport" content="width=d...
<?php namespace App\Providers; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Gate; use Laravel\Passport\Passport; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var arra...
<?php /* * Copyright (c) 2016, webvariants GmbH <?php Co. KG, http://www.webvariants.de * * This file is released under the terms of the MIT license. You can find the * complete text in the attached LICENSE file or online at: * * http://www.opensource.org/licenses/mit-license.php */ class dataActions extends p...
<?php namespace App\Observers; use App\Post; use App\Traits\HandleImages; use Carbon\Carbon; use Illuminate\Support\Str; class PostObserver { use HandleImages; /** * Handle the post "creating" event. * * @param \App\Post $post * @return void */ public function creating(Post $p...
<?php $__env->startSection('contenido'); ?> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12"> <h3>Nuevo Proveedor</h3> <?php if(count($errors)>0): ?> <div class="alert alert-danger"> <ul> <?php foreach($errors->all() as $error): ?> <li><?php echo e($error); ?></li> <?php ...
<?php namespace Moonwalker\Core; use Psr\Http\Message\ServerRequestInterface; class Utility { private static $headers; public static function extractIP (ServerRequestInterface $request) { if (! static::$headers) static::$headers = require_once __DIR__ . '../app/Config/reverse-proxy.ph...
<?php namespace App\Http\Controllers; use App\Models\Reservoir; use Illuminate\Http\Request; class ReservoirController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $reservoirs = \App\Models\Res...
@extends('layouts.app') @section('className',"sub-banner") @section('website') <div class="container"> <div class="row justify-content-center p-5"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Confirm Password') }}</div> <div class="c...
<?php namespace App\Models\AWB; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class awb_mst_terms extends Model { use HasFactory; protected $table = 'awb_mst_terms'; const CREATED_AT = 'date_created'; const UPDATED_AT = 'date_modified'; }
<?php namespace Ruudk\Payment\AdyenBundle\Plugin; use JMS\Payment\CoreBundle\Plugin\AbstractPlugin; use JMS\Payment\CoreBundle\Model\FinancialTransactionInterface; use JMS\Payment\CoreBundle\Model\PaymentInstructionInterface; use JMS\Payment\CoreBundle\Plugin\Exception\Action\VisitUrl; use JMS\Payment\CoreBundle\Plug...
@extends('backend.layouts.master') @section('content') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> ...
<?php use ParsPogoda\User; use Illuminate\Support\Str; use Faker\Generator as Faker; /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | This directory should contain each of the model factory ...
<?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; // email verification and Reset Password. // class User extends Authenticatable implements...
<style> .well:hover { cursor:pointer; } </style> <script type="text/javascript"> $( document ).ready(function() { $("#startDate").datepicker(); $("#endDate").datepicker(); $("#startDate").datepicker("option", "dateFormat", "dd-mm-yy"); $("#endDate").datepicker("option", "dateFormat", "dd-mm-yy"); $("#startDate...
<?php namespace app\webcontroller\controller; use think\Controller; use think\Request; use think\Db; class GoodsOffer extends Common { private $model; public function _initialize() { parent::_initialize(); // TODO: Change the autogenerated stub $this->model=new \app\common\model\GoodsOf...
<?php defined('BASEPATH') OR exit('No Direct Script Acces Allowed'); /** * */ class Setting extends MY_Controller { public function __construct() { parent::__construct(); $this->is_loggedin();//cek apakah user sudah login } public function index() { $kode_sub = 'mm_setting'; $username = $t...
<?php /** * Fuzzy plugin for Craft CMS 3.x * * Fuzzy dates and events * * @link https://github.com/mckenzieclark * @copyright Copyright (c) 2020 John Clark */ namespace mckenzieclark\fuzzy\services; use mckenzieclark\fuzzy\Fuzzy; use \DateTime; use Craft; use craft\base\Component; /** * @author John...
<?php if (!defined('BASEPATH')) { exit('No direct script access allowed'); } class Mtransaccion extends CI_Model { public $variable; public function __construct() { parent::__construct(); $this->load->library('session'); } public function actualizarDeposito($id, $comprobante...
@extends('admin.layouts.app') @section('content') <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>Edit Product: {{ $item->name }}</h1> </div> <div class="...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</tit...
<?php namespace frontend\models; use yii\base\Model; use yii\data\ActiveDataProvider; use frontend\models\Ementa; /** * EmentaSearch represents the model behind the search form of `frontend\models\Ementa`. */ class EmentaSearch extends Ementa { /** * {@inheritdoc} */ public function rules() {...
@extends('admin.layouts.leftbar') @section('topTitle') Imóveis @endsection @section('title') Imóveis @endsection @section('content') <div class="row"> <div class="col-md-12"> <div class="widget p-4"> <a href="{{ route('admin.property.create') }}" class="btn btn-primary">Adicionar</a> <a href="{{ route('ad...
<x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> Laravel 8 Jetstream Livewire CRUD Example Tutorial - XpertPhp </h2> </x-slot> <div class="py-12"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <div class="bg-white overflow-hidden shadow-xl sm:rounded-lg...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Test extends Model { use HasFactory; protected $table='tests'; }
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); // Penduduk Controller // Created by : Mugi Rachmat // Site : www.infomugi.com // Date : 2019-03-28 11:41:59 class Penduduk extends CI_Controller { function __construct() { parent::__construct(); /...
<div align=left> <a href='database.php'><img src='https://cdn2.iconfinder.com/data/icons/flat-database/512/new_database-512.png' width='50px' height='50px'></a> <a href='droptable.php'><img src='https://www.iconexperience.com/_img/v_collection_png/512x512/shadow/table_row_delete.png' width='50px' height='50px'></a> <a ...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Leave_model extends CI_Model { public function getLeaveType() { $query = "SELECT `leave_list`.*,`leave_type`.`type` FROM `leave_list` JOIN `leave_type` ON `leave_list`.`type` = `leave_t...
<?php rex_be_controller::includeCurrentPageSubPath();
<?php namespace TheCrypticAce\Lazy; final class HigherOrderCollectionProxy { /** * The collection being operated on. * * @var \TheCrypticAce\Lazy\Collection */ protected $collection; /** * The method being proxied. * * @var string */ protected $method; /**...
<?php namespace PawprintDigital\LaravelCharts\Features\Highcharts; use Illuminate\Support\Collection; trait Dataset { /** * Set the dataset color. * * @param string|array $color * * @return self */ public function color($color) { if ($color instanceof Collection) { ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENS...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Facility; use Session; class FacilityController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $faci...
<?php /** * Created by PhpStorm. * User: HP ELITEBOOK 840 G5 * Date: 3/9/2020 * Time: 4:21 PM */ namespace frontend\controllers; use frontend\models\Employeeappraisalkra; use frontend\models\Experience; use frontend\models\Personal; use Yii; use yii\filters\AccessControl; use yii\filters\ContentNegotiator; use yi...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); // FPDF lib include( APPPATH . 'libraries/fpdf-1.8.1/fpdf.php' ); // FPDI lib include( APPPATH . 'libraries/fpdi-1.6.1/fpdi.php' ); /** * SMIT_PDF class. * * @class SMIT_PDF * @author Iqbal */ class SMIT_PDF { var $CI; var $qualified; ...
<?php /** * Created by PhpStorm. * User: synthetic * Date: 01.07.16 * Time: 23:07 */ namespace AppBundle\ServersHandle\ObjectMapper; class StrategyRegistry implements StrategyRegistryInterface { /** * @var array */ private $strategies = []; /** * Add strategy * * @param str...
<?php /** * Created by PhpStorm. * User: ISAV-HP * Date: 31.07.2019 * Time: 7:27 */ ?> <h3>Основное представление для конструирования макета страницы</h3> <div id="div1" class="div1"> <p>div1</p> <a href="#" id="select2">Подгрузить сюда php-файл с представлением для рендера select2</a> </div> <br> <div...
<?php namespace App\Http\Controllers\Owner\Auth; use App\Http\Controllers\Controller; use App\Models\Owner; use App\Providers\RouteServiceProvider; use Illuminate\Auth\Events\Registered; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Hash; use Illuminate\Validation\Ru...
<?php if (!defined('ABSPATH')) { die(); } ?> <table class="table fny-border"> <?php if(FNY_DATABASE_BACKUP_EMAIL_AVAILABLE):?> <tr> <td><strong>Email Notification:</strong></td> <td><input type="text" id="fny-backup-email-notification" value="<?php echo FNYBackupConfig::get('FNY_DATABASE_BACKUP_EMAIL_NOTIFIC...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
<?php ob_start(); ?> <?php session_start(); $user_id = $_SESSION['user_id']; ?> <?php if(!$user_id){ header("location: index.php"); exit; } ?> <?php //Initialize Values require_once('php/php_image_magician.php'); $userid = $_SESSION['user_id']; $src = NULL; $ext = ""; //Based upon file, convert for use in da...
<?php namespace common\models; class VehicleCharges extends \common\models\base\VehicleChargesBase { }
<?php /** * PHP Service Bus (publish-subscribe pattern implementation). * * @author Maksim Masiukevich <dev@async-php.com> * @license MIT * @license https://opensource.org/licenses/MIT */ declare(strict_types = 1); namespace ServiceBus\Application; use Amp\Loop; use Amp\Promise; use Psr\Log\LoggerInterface; ...
<?php if(!defined('PageSecurity')){require($_SERVER['DOCUMENT_ROOT'].'/System/Classes/FileFolderSecurity.class.php');} ?>
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
<?php /* @var $this yii\web\View */ $this->title = 'My Yii Application'; ?> <?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\jui\DatePicker; use kartik\datecontrol\DateControl; ?> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'login')->label('Имя') ?> <?= $form->field($model, 'password...
<?php session_start(); $title="Schedule"; if(isset($_SESSION['uid'])){ include("template/base_header.php"); require_once("api.php"); ?> <div class="container mainContainer" style="padding-top: 0"> <?php if(isset($_REQUEST['status'])) { echo htmlentities($_REQUEST['status']); }?> ...
<?php namespace app\models; use Yii; /** * This is the model class for table "{{%administrators}}". * * @property integer $id * @property integer $emploeeId * * @property Emploees $emploee */ class Administrators extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static function tabl...
@if(auth()->guard('web')->check() || auth()->guard('admin')->check()) @extends('dashboard.base') @section('content') <div class="container-fluid"> @include('flash') {{--session message--}} <div class="db-item-list"> <div class="row"> @if(auth()->guard('admin')->check() && Request::segment(1)...
<?php namespace App\MYMODEL\Helpers; use App\Logging\Api_log; use Illuminate\Database\Query\Builder; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\File; class Myhelper { public static function DieError(int $response_code = null, string $error_key, string $error_message): void { ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Spatie\Permission\Models\Role; // use Spatie\Permission\Contracts\Role; use Illuminate\Support\Facades\Validator; use Spatie\Permission\Models\Role as ModelsRole; class RoleController extends Controller { public function index() { ...
<?php require 'config.inc.php'; require '../common.inc.php'; require DT_ROOT.'/module/'.$module.'/friend.inc.php'; ?>
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Pais */ $this->title = 'Actualizar País: ' . $model->idPais; $this->params['breadcrumbs'][] = ['label' => 'Paises', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->idPais, 'url' => ['view', 'id' => $model->i...
<?php namespace Database\Seeders; use App\Models\sponsor; use Illuminate\Database\Seeder; class sponsorSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { sponsor::factory()->count(6)->create(); } }
<?php namespace Database; use Database\Connectors\ConnectionFactory; use Database\Connectors\ConnectionFactoryInterface; class ConnectionResolver implements ConnectionResolverInterface { /** * All of the registered connection configs. * * @var array */ protected $connections = array(); ...
<?php namespace Plugins\Managers; use App\Http\Functions\Validate; use App\Http\Models\Resources; use MiladRahimi\PhpRouter\Url; class ResourceManager { public $name; public $type; public $value; public $resource; public $status; /* * * pages/contact * addresses/general ...
<?php namespace App\Entity; use Doctrine\ORM\Mapping as ORM; /** * TFacturaAux * * @ORM\Table(name="t_factura_aux") * @ORM\Entity(repositoryClass="App\Repository\TFacturaAuxRepository") */ class TFacturaAux { /** * @var int * * @ORM\Column(name="Id_Factura_Aux", type="integer", nullable=false...
<?php namespace AliOpen\Vod; use AliOpen\Core\RpcAcsRequest; class ObjectCachesRefreshRequest extends RpcAcsRequest { private $resourceOwnerId; private $resourceOwnerAccount; private $ownerAccount; private $objectPath; private $ownerId; private $objectType; public function __construct(){ ...
<?php /** * ALIPAY API: alipay.marketing.card.template.modify request * * @author auto create * @since 1.0, 2019-08-08 19:58:29 */ class AlipayMarketingCardTemplateModifyRequest { /** * 会员卡模板修改 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo; private $...
<?php namespace Sleighdogs\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier; class VerifyCsrfToken extends BaseVerifier { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ // ]; }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Pendaftaran Peserta Seminar</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> <link href="https://cdn....
<?php namespace Virton\Database; use App\Blog\Entity\Post; use Virton\Database\Query; use Virton\Database\PaginatedQuery; use Pagerfanta\Pagerfanta; /** * Class Table * @package Virton\Database */ class Table { /** * @var null|\PDO */ protected $pdo; /** * @var string */ protec...
<div class="small well text-info reply-list" style="margin-left: 40px"> <p>{{$reply->body}}</p> <lead> by {{$reply->user->name}}</lead> <div class="actions"> {{--<a href="{{route('post.edit',$post->id)}}" class="btn btn-info btn-xs">Edit</a>--}} <a class="btn btn-primary btn-xs" data-toggl...
<?php //MySQLi Procedural $conn = mysqli_connect("localhost","root","theresa1","fast"); if (!$conn) { die("Connection failed: " . mysqli_connect_error()); } ?>
<?php /* * This file is part of the brainbits blocking package. * * (c) brainbits GmbH (http://www.brainbits.net) * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Brainbits\Blocking\Tests\Storage; use Brainbits\Blocking...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
<?php /** * CsMap2Proj.php * * A helper script to generate a Mentor Code -> Proj4 string lookup table using the common property that ties both of * them together: The EPSG code. * * For each CS-Map coordinate system with an epsg code, we fire off a request to spatialreference.org for the matching proj4 string *...
<?php namespace common\models; use yii\behaviors\TimestampBehavior; use yii\db\ActiveRecord; /** * User model * * @property integer $id * @property string $username * @property string $password_hash * @property string $password_reset_token * @property string $email * @property string $auth_key * @property in...
<?php /** * Message translations. * * This file is automatically generated by 'yii message/extract' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message ...
<?php /** * This file is part of the Jumph package. * * (c) Peter Nijssen * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Jumph\Bundle\ProjectBundle\Dashboard; use Jumph\Bundle\DashboardBundle\Entity\DashboardBlockInte...
<?php declare(strict_types=1); /* * This file is part of DOCtor-RST. * * (c) Oskar Stark <oskarstark@googlemail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace App\Tests\Rule; use App\Rule\ExtendAbstractAdmin; us...
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ require_once __DIR__ . '/../../../../app/autoload.php'; $testsBaseDir = dirname(__DIR__); $integrationTestsDir = realpath("{$testsBaseDir}/../integration/"); $autoloadWrapper = \Magento\Framework\Autoload\Autoload...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Bundle\AssociationBundle\DependencyInjection; use Sylius\Bundle\ResourceBundle\Depen...
@if(!$widget->team->subscriptionIsActive) <div class="text-gray-100 text-xs py-1 text-center" style="font-size: 0.5rem;"><a href="https://coinembed.com" target="_blank" class="font-bold hover:text-white hover:underline">CoinEmbed</a> is Sponsored by <a href="https://cantrip.io" target="_blank" class="font-bold hove...
<?php class Pedido extends CI_Controller { public function __construct() { parent::__construct(); logueado(); date_default_timezone_set('America/Santiago'); setlocale(LC_ALL, 'es_ES.UTF-8'); } public function index() { $data['pedidos'] = Pedido_model::orderBy(...
<?php namespace Pitch\Form\Form; use Pitch\Form\FormProcessorInterface; use Symfony\Component\Form\FormError; use Symfony\Component\Form\FormInterface; use Symfony\Component\HttpFoundation\Request; class FormProcessor implements FormProcessorInterface { public function handleFormRequest( FormInterface $fo...
<?php defined('BASEPATH') or exit('No direct script access allowed'); require APPPATH . 'libraries/REST_Controller.php'; class barang extends REST_Controller { public function __construct() { parent::__construct(); $this->load->model('barang_model'); } public function index_get() { $barang = ...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\User */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="user-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'username')->textInput() ?> <?= $form->field($mode...
<!DOCTYPE html> <html lang="en"> <head> <title>Register</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/a...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Auth\Middleware\Authenticate as Middleware; class Authenticate extends Middleware { /* public function handle($request, Closure $next, ...$guards) { return parent::handle($request, $next, $guards); // TODO: Change the autogenerated stub...