text
stringlengths
2
1.03M
<?php /* Это - скрипт-обозреватель, который обходит сайт (список сайтов) и ищет в них новые элементы RSS. Скрипт запускается либо вручную (разумеется, тогда полнота найденной информации целиком и полностью ложится на того, кто запускает скрипт), либо автоматически сервером. Для последней цели можно, например, использов...
<?php class AIOWPSecurity_Captcha { function __construct() { //NOP } function display_captcha_form() { global $aio_wp_security; if($aio_wp_security->configs->get_value('aiowps_enable_bp_register_captcha') == '1' && defined('BP_VERSION')){ //if buddy press f...
<?php namespace App\EventListener; use App\Service\EnvironmentService; use App\Service\SiteService; use App\Service\UserService; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Session\S...
<?php declare(strict_types=1); namespace App\Entity\Promotion; use Doctrine\ORM\Mapping as ORM; use Sylius\Component\Core\Model\PromotionCoupon as BasePromotionCoupon; /** * @ORM\Entity * @ORM\Table(name="sylius_promotion_coupon") */ class PromotionCoupon extends BasePromotionCoupon { }
<?php namespace Weirdan\RunWithoutXdebug; if (file_exists(__DIR__ . '/../vendor/autoload.php')) { // standalone require __DIR__ . '/../vendor/autoload.php'; } elseif (file_exists(__DIR__ . '/../../../autoload.php')) { // global or project require __DIR__ . '/../../../autoload.php'; } call_user_func(f...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Common */ $lang['save'] = 'Save'; $lang['edit'] = 'Edit'; $lang['update'] = 'Update'; $lang['delete'] = 'Delete'; $lang['department'] = 'Department'; $lang['branch'] = 'Branch'; $lang['batch'] = 'Batch'; $lang['semester'] = 'Semester'; $lan...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Carbon\Carbon; use Illuminate\Database\Eloquent\SoftDeletes; class Slider extends Model { use SoftDeletes; protected $fillable = [ 'title', 'description', 'image' ]; protected $dates = [ 'deleted_at', ]; }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use Prettus\Validator\Contracts\ValidatorInterface; use Prettus\Validator\Exceptions\ValidatorException; use App\Http\Requests\UserCreateRequest; use App\Http\Requests\UserUpdateRequest; use App\Repositories\UserRepository; use...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class UserController extends Controller { public function __construct() { $this->middleware('auth'); } public function index() { if (request()->user()->hasRole('user')) { return view('user.index'); ...
@include('header') @include('navbar') {{-- article --}} <div class="container"> {{-- article info --}} <div class="row"> <div class="col col-8"> <div> <div class="card mb-3"> {{-- <h4 class="card-title card-body"> {{ $articles->title }}</h4> --}} {{-- <h5 c...
<?php namespace App\Http\Controllers; use App\Phone; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class phonesController extends Controller { public function index() { $phones=DB::table('phones') ->join('manufacturers', 'phones.manufacturer_id', '=', 'manufacturers.id'...
<?php namespace App\Repositories\Employees; use App\Contracts\Repositories\Employees\iEmployeeRepository; use App\DTO\Employees\EmployeeDTO; use App\DTO\Employees\EmployeesDTOCollection; use App\DTO\Employees\Genders\GenderDTO; use App\Exceptions\EntityNotFoundException; use App\Filters\Employees\StoreEmployeeFilter;...
<?php use PHPUnit\Framework\TestCase; use app\services\transfer\Response; use app\services\transfer\responsedecoders\ResponseDecoder; /** * @covers app\services\transfer\Transfer */ class ResponseTest extends TestCase { public function testCreate(): void { $responseDecoder = $this->createMock(Respo...
@extends('brackets/admin-ui::admin.layout.default') @section('title', trans('admin.order.actions.index')) @section('body') <order-listing :data="{{ $data->toJson() }}" :url="'{{ url('admin/orders') }}'" inline-template> <div class="row"> <div class="col"> ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; class RoleController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /* use Spatie\Activitylog\Traits\LogsActivity; use Spatie\Activitylog\LogOptions; */ class Caso extends Model { use HasFactory; //use LogsActivity; /* public function getActivitylo...
<?php /** * /var/www/html/yiiyak/console/runtime/giiant/eeda5c365686c9888dbc13dbc58f89a1 * * @package default */ use yii\helpers\Html; use yii\widgets\ActiveForm; /** * * @var yii\web\View $this * @var backend\modules\crud\models\search\IcsrTest $model * @var yii\widgets\ActiveForm $form */ ?> <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"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:...
<?php /* @Twig/Exception/exception.xml.twig */ class __TwigTemplate_dd611a00c4898079f1ca8bab0963e69b4e11b9daf03e8ca0168109dc2dc70e0c extends Twig_Template { private $source; public function __construct(Twig_Environment $env) { parent::__construct($env); $this->source = $this->getSourceCon...
<?php /* A simple RESTful webservices base class Use this as a template and build upon it */ class SimpleRest { private $httpVersion = "HTTP/1.1"; public function setHttpHeaders($contentType, $statusCode){ $statusMessage = $this -> getHttpStatusMessage($statusCode); header($this->httpVersion. " ". $stat...
<?php namespace app\index\controller; use think\Db; use think\Controller; use think\Request; use think\exception\DbException; class Search extends Controller { public function index() { $swt = db::query("select * from swt where source in ('KWD','PFT') and id>55943"); // halt($swt); fo...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\KecamatanSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="kecamatan-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> ...
<?php namespace Cmixin\BusinessDay; use Cmixin\BusinessDay\Calculator\MixinConfigPropagator; use SplObjectStorage; class BusinessCalendar extends HolidayObserver { /** * @var callable|null */ public $businessDayChecker = null; /** * @var SplObjectStorage<object,callable>|null */ ...
@extends('admin.index') @section('content') <div class="box"> <div class="box-header"> <h3 class="box-title">{{ $title }}</h3> </div> <!-- /.box-header --> <div class="box-body"> {!! Form::open(['url'=>aurl('cities/'.$country->id),'method'=>'put' ]) !!} <div class="form-group"> {!! Form::label...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Chat extends Model { protected $table = "chat"; protected $fillable = [ "usuario", "mensaje" ]; }
<!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <title>{{ config('app.name') }} |@yield('title')</title> <!--favicon--> <link rel="icon" href="{{ asset('backend/...
<?php declare (strict_types=1); namespace Ssch\TYPO3Rector\Rector\v7\v1; use PhpParser\Node; use PhpParser\Node\Expr\MethodCall; use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition...
<div class="menu"> <ul> <li> @if($active_tab == 1) <a class="active" href="{{ action('ChairController@index') }}">Review</a> @else <a href="{{ action('ChairController@index') }}">Review</a> @endif </li> | <li>@if($ac...
<?php use Illuminate\Database\Seeder; use \App\Carrera; class CarreraSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // Carrera::create([ 'code'=>'123', 'namecarre'=>'Ingenieria de Sistemas', ...
<?php declare(strict_types=1); // @link https://schemas.toofab.com/json-schema/toofab/curator/event/teaser-deleted/1-0-0.json# namespace Toofab\Schemas\Curator\Event; 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 Gdb...
<?php namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\Testing\DatabaseMigrations; class ReadThreadsTest extends TestCase { use DatabaseMigrations; protected $thread; public function setUp() { parent::setUp(); $this->thread = create('App\Thread'); } /...
<?php /** * Created by PhpStorm. * User: john-smith * Date: 15.01.18 * Time: 21:25 */ namespace DesignPatterns\Creational\StaticFactory\Tests; use DesignPatterns\Creational\StaticFactory\StaticFactory; use PHPUnit\Framework\TestCase; class StaticFactoryTest extends TestCase { public function testCanCreateBo...
<?php namespace catcher\command\install; use catcher\CatchAdmin; use catcher\library\InstallLocalModule; use think\console\Command; use think\console\Input; use think\console\input\Option; use think\console\Output; use think\facade\Console; class InstallProjectCommand extends Command { protected $databaseLink = ...
<?php class MY_Model extends CI_Model { function __construct() { // Call the Model constructor parent::__construct(); } public function getSingleResult($table='',$condition=array(),$selectedFields=array()) { if($table!=''){ if(!empty($selectedFields)){ $fields=implode(",",$selectedF...
<?php declare(strict_types=1); // @link http://acme-schemas.triniti.io/json-schema/acme/canvas/block/tiktok-embed-block/1-0-0.json# namespace Acme\Schemas\Canvas\Block; use Gdbots\Pbj\AbstractMessage; use Gdbots\Pbj\FieldBuilder as Fb; use Gdbots\Pbj\Schema; use Gdbots\Pbj\Type as T; use Triniti\Schemas\Canvas\Mixin\...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
<?php return [ [ 'label'=>'Người dùng', 'route'=>'admin.user.index', 'items' => [ [ 'label'=>'Danh sách người dùng', 'route'=>'admin.user.index' ], [ 'labe...
<?php /** * Created by PhpStorm. * User: Memberistrator * Date: 2018/1/4 * Time: 10:54 */ namespace app\member\model; use think\Model; use think\Db; class Changedoc extends Model { protected $autoWriteTimestamp=true; protected $createTime='addtime'; protected $resultSetType = 'collection';// 查询数据集对象 ...
<?php session_start(); session_destroy(); header('location:login.php'); exit(); ?>
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta charset="utf-8" /> <title>普通网站管理系统</title> <meta name="description" content="overview &amp; stats" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> ...
<?php /* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\user\user$uisfullrecord@[annot]][1]/ */ /* Type: array */ /* Expiration: 2020-11-28T04:59:30+00:00 */ $loaded = true; $expiration = 1606539570; $data = array(); /* Child Type: array */ $data['return'] = unserialize(base64_decode('YToxOntpOjA7Tz...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCustomersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('customers', f...
<?php namespace Tests\Feature; use App\Thread; use App\User; use Illuminate\Validation\ValidationException; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Tests\TestCase; class CreateThreadsTest extends TestCas...
<?php namespace AppBundle\Controller; use AppBundle\Entity\Baby; use AppBundle\Form\BabyType; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; class BabyController extends Controller { /** * @p...
@extends('admin.adminMaster') @section('coupon') active @endsection @section('admmincontent') <div class="sl-mainpanel"> <nav class="breadcrumb sl-breadcrumb"> <a class="breadcrumb-item" href ="">Rj sagor</a> <span class="breadcrumb-item active">coupon</span> <span class="breadcrumb-...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * Description of Curl * * @author ASEP-M */ class Curl { public function _get_response($url, $method = 'GET', $params = NULL) { set_time_limit(0); $curl = curl_init($url); // Set curl options ...
<?php namespace App\Http\Requests\Inventario; use Illuminate\Foundation\Http\FormRequest; class UploadDetalleInventarioRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return auth()-...
<?php namespace Fungku\HubSpot\Api; class Events extends Api { /** * @var string */ protected $baseUrl = "http://track.hubspot.com"; /** * Trigger a custom event. * * This only works for enterprise accounts. * * @param string $hubId Your HubSpot portal ID...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use DB; class UserSeederTable extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('users')->insert([ 'roled_id' => 1, 'name' => 'MD.Adm...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter/v1/securitycenter_service.proto namespace Google\Cloud\SecurityCenter\V1; if (false) { /** * This class is deprecated. Use Google\Cloud\SecurityCenter\V1\ListAssetsResponse\ListAssetsResult instead. * ...
<?php namespace App\Patterns\Mediator; class ConcreteMediator implements Mediator { private $component1; private $component2; public function __construct(Component1 $c1, Component2 $c2) { $this->component1 = $c1; $this->component1->setMediator($this); $this->component2 = $c2;...
<!DOCTYPE html> <html lang="en"> <head> <?php $this->load->view('partials/head.php') ?> </head> <body id="page-top"> <div id="wrapper"> <!-- load sidebar --> <?php $this->load->view('partials/sidebar.php') ?> <div id="content-wrapper" class="d-flex flex-column"> <div id="content" data-url="<?= base_url('ka...
<?php namespace MercadoLibre\NativeSelling\ClaimsGet; use MercadoLibre\Base\BaseParameter; /** * @property String claim_id */ class ClaimsGetParameter extends BaseParameter { public function __construct($data = []) { parent::__construct($data, array( 'claim_id' => [self::PARAM_TYPE_STRING, self::PARA...
<?php /** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ declare(strict_types=1); namespace Phalcon\Tests\Unit\Http\Request\File; use Uni...
<div class="modal fade bd-example-modal-lg" id="create" role="dialog"> <div class="modal-dialog"> {{!!Form::open(['url'=>'administrativos','method'=>'POST' , 'name'=> 'FormularioAdministrativoCreate'])!!} {{ csrf_field() }} <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <b...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email',...
@extends('layouts.master') @section('title') الفواتير المدفوعة @stop @section('css') <!-- Internal Data table css --> <link href="{{ URL::asset('assets/plugins/datatable/css/dataTables.bootstrap4.min.css') }}" rel="stylesheet" /> <link href="{{ URL::asset('assets/plugins/datatable/css/buttons.bootst...
@extends('admin.app') @section('title') Daftar Artikel @endsection @section('content') <section class="section"> <div class="section-header"> <div class="section-header-back"> <a href="features-posts.html" class="btn btn-icon"><i class="fas fa-arrow-left"></i></a> </div> <h1>Daftar A...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php namespace ProcessWire; /** * Return link css if the directory ( assets/css/templates/{template-name.css }) exists * * @param array|string $options Options to modify default behavior: * - `link_href` (link): link href to css file. * - `file_location` (link): Check is a file exists. * */ function linkCss(...
<?php namespace App\Http\Controllers; use App\Imports\DepartmentsImport; use App\Imports\UsersImport; use Illuminate\Http\Request; use Maatwebsite\Excel\Excel; class ImportController extends Controller { public function show() { return view('imports'); } public function store(Request $reques...
<?php //摄像头列表 $lang['look_camera_title'] = '摄像头管理'; $lang['look_camera_name'] = '名称'; $lang['look_camera_sn'] = 'sn'; $lang['look_camera_key'] = 'key'; $lang['look_camera_area'] = '学校地区'; $lang['look_camera_school'] = '学校名称'; $lang['look_camera_time'] = '申请时间'; $lang['look_cam...
<?php /** * The sidebar containing the main widget area * * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials * * @package WordPress * @subpackage Twenty_Seventeen * @since 1.0 * @version 1.0 */ if ( ! is_active_sidebar( 'sidebar-1' ) ) { return; } ?> <aside id="secondary...
<?php declare(strict_types=1); namespace PhpPp\Core\Component\Tests\Behavior\Collection\ScalarCollection; use PhpBehavior\{ BehaviorTestCase\AbstractClassBehaviorTestCase, BehaviorTestCase\ClassImplementTrait }; use PhpPp\Core\Contract\{ Array_\ToArrayInterface, Collection\CollectionInterface, Co...
<?php /* * This file is part of the Predis package. * * (c) Daniele Alessandri <suppakilla@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Predis\Command; /** * @group commands * @group realm-hash */ clas...
<?php namespace App\Http\Controllers\Auth; use App\Mail\WelcomeToStoreMail; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Mail; us...
<?php namespace app\admin\controller; use app\admin\controller\user\User; use app\admin\model\Mainmenu; use app\admin\model\MenuPower; use app\admin\model\UserPower; use app\common\controller\HController; use app\common\lib\Util; use app\middleware\CkPower; use think\Db; use think\db\exception\PDOException; use think...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use dosamigos\datepicker\DatePicker; /* @var $this yii\web\View */ /* @var $model app\models\DetailBeliSupplier */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="detail-beli-supplier-form"> <?php $form = ActiveForm::begin(); ?> <?php if(Yi...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class DataAbsen extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('data', function (Bluepri...
<section id="contentSection"> <div class="row"> <div class="col-lg-8 col-md-8 col-sm-8"> <div class="left_content"> <?php if ($this->router->fetch_method() == 'index'): ?> <?php $this->load->view('home/main'); ?> <?php endif; ?> ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); $active_group = 'default'; $query_builder = TRUE; $db['default'] = array( 'dsn' => '', 'hostname' => 'localhost', 'username' => 'root', 'password' => '', 'database' => 'arsip', 'dbdriver' => 'mysqli', 'dbprefix' => '', 'pconnect' => FALSE, ...
<?php class PhpArrayGeneratorTest extends PHPUnit_Framework_TestCase { public function testOne() { //Extract translations $translations = Gettext\Extractors\PhpCode::fromFile(__DIR__ . '/files/phpcode.php'); $array = Gettext\Generators\PhpArray::toArray($translations); $this->...
<!-- Como este archivo se va a incluir, se agrega un formulario --> {!! Form::open(array( 'url'=>'almacen/categoria', 'method'=>'GET', 'autocomplete'=>'off', 'role'=>'search' )) !!} <div class="form-group"> <div class="input-group"> <input class="form-control" name="searchText" placeholder="Buscar..." ...
<?php namespace App\Http\Controllers; use App\Models\PlantsTypeCategory; use Illuminate\Http\Request; use Illuminate\Support\Str; class PlantsTypesCategoriesController extends Controller { public function index() { //$a = PlantsTypeCategory::find(1); //dd($a->types); $categories = Pl...
<?php App::uses('CartaRegiaoInfo', 'Model'); class CartaRegiaoInfoService { public $CartaRegiaoInfo; public function __construct() { $this->CartaRegiaoInfo = new CartaRegiaoInfo(); } /* * API */ public function get($id) { $cartaRegiaoInfo = $this->CartaRegiaoInfo->find...
<?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...
<html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>CarTal</title> <meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="{{asset('css/app.css')}}"> </head> <bod...
<?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 use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBlogRepliesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('blog_replie...
<?php declare(strict_types=1); use Ssch\TYPO3Rector\Rector\v9\v5\RemoveInternalAnnotationRector; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return static function (ContainerConfigurator $containerConfigurator): void { $containerConfigurator->import(__DIR__ . '/../../../....
@extends('charity.layout') @section('header') <section class="content-header"> <h1> Affiliate Management </h1> <ol class="breadcrumb"> <li><a href="{{ url(config('backpack.base.route_prefix', 'admin')) }}">{{ config('backpack.base.project_name') }}</a></li> <li class="acti...
<?php /* * This file is part of the lsoex/wallpaper-api. * * (c) lsoex <i@lsoex.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Drizzle\Wallpaper\Exceptions; class Exception extends \Exception { }
@extends('admin.layouts.app_admin') @section('content') <div class="container"> @component('admin.components.breadcrumb') @slot('title') Добавить размер @endslot @slot('parent') Главная @endslot @slot('active') Размеры @endslot @endcomponent <hr/> ...
<h1>Hello {{ $user->name }} </h1> <p> Tolong klik tombol reset password untuk reset password anda <a href="{{ url('reset_password/'.$user->email.'/'.$code) }}">Reset Password</a> </p>
<?php namespace rhp\services; interface ServiceResponse { }
<?php namespace RectorPrefix20210824; if (\class_exists('Tx_Fluid_View_StandaloneView')) { return; } class Tx_Fluid_View_StandaloneView { } \class_alias('Tx_Fluid_View_StandaloneView', 'Tx_Fluid_View_StandaloneView', \false);
<?php header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Methods: GET, OPTIONS"); /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ class FoodLicense extends CI_Co...
<?php namespace App\Filters; use CodeIgniter\HTTP\RequestInterface; use CodeIgniter\HTTP\ResponseInterface; use CodeIgniter\Filters\FilterInterface; class GuestFilter implements FilterInterface { public function before(RequestInterface $request, $arguments = null) { if(service('auth')->isLoggedIn()){...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { public function up(): void { Schema::create('users', function (Blueprint $table) { $table->bigIncrements('id'); ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep the fr...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v5/common/simulation.proto namespace Google\Ads\GoogleAds\V5\Common; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A container for simulatio...
<?php ob_start(); include('opendb.inc'); include('SimpleImage.php'); $image = new SimpleImage(); $product=$_POST['product']; $cat=$_POST['cat']; $id_lang=$_REQUEST['id_lang']; function gen_random_string() { $chars ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890";//length:36 $final_rand=''; ...
<?php /** * easy image resize function * @param $file - file name to resize * @param $width - new image width * @param $height - new image height * @param $proportional - keep image proportional, default is no * @param $output - name of the new file (include path if needed) * @param $delete_original - if t...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Mailgun, Postmark...
@extends('edu::layouts.front') @section('content') <div class="container mt-5 mb-5"> <div class="row"> <div class="col-12 col-md-9 mb-3"> <div class="card shadow-sm"> <div class="card-header bg-white justify-content-between">话题讨论</div> <di...
<?php declare(strict_types=1); namespace App\Data\Database\EntityRepository; use App\Data\Database\CleanableInterface; use App\Data\Database\Entity\AuthenticationToken; use App\Infrastructure\DateTimeFactory; use DateTimeImmutable; use Doctrine\ORM\Query; use Ramsey\Uuid\UuidInterface; class AuthenticationTokenRepos...
<?php /** * Pimcore * * This source file is available under two different licenses: * - GNU General Public License version 3 (GPLv3) * - Pimcore Enterprise License (PEL) * Full copyright and license information is available in * LICENSE.md which is distributed with this source code. * * @copyright Copyright (...
<?php /* * This file is part of Rocketeer * * (c) Maxime Fabre <ehtnam6@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Rocketeer\Abstracts; abstract class AbstractPackageManager extends AbstractBinary { ...
<?php namespace Dnetix\Redirection\Message; use Dnetix\Redirection\Contracts\Entity; use Dnetix\Redirection\Entities\Status; use Dnetix\Redirection\Traits\LoaderTrait; use Dnetix\Redirection\Traits\StatusTrait; class RedirectResponse extends Entity { use LoaderTrait, StatusTrait; /** * @var string ...