text
stringlengths
2
1.03M
<?php namespace App\Http\Requests\BaseApp; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\JsonResponse; class RoleRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { re...
<?php namespace System\Event; class Select implements EventInterface{ }
<?php use App\User; use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Schema\softDeletes; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public fun...
@extends('layouts.back-end.app') @section('title','Web Config') @push('css_or_js') <link href="{{ asset('public/assets/select2/css/select2.min.css')}}" rel="stylesheet"> <link href="{{ asset('public/assets/back-end/css/custom.css')}}" rel="stylesheet"> <meta name="csrf-token" content="{{ csrf_token() }}">...
<?php use App\Http\Controllers\linksController; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your applicati...
<?php namespace App\Models; use CodeIgniter\Model; class CategoryModel extends Model { protected $table = 'categories'; protected $primaryKey = 'id'; protected $useAutoIncrement = true; protected $returnType = 'App\Entities\Category'; protected $allowedFields = ['name', 'slug', 'paren...
<!DOCTYPE html> <html> <head> <title>Author</title> <!-- style.css --> <link rel="stylesheet" href="<?php echo base_url();?>asset/admincss/adminpanel.css"> <!-- Javascript --> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" charset="utf-8"><...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDropboxTokensTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('dropbox_t...
<h5>Aviso de confirmación de pago</h5> <p> Haz confirmado un envío en CommerzCargo. <br> A continuacion se presentan los datos de tu envío: </p> <p> Estado de origen: {{$order->originState}} </p> <p> Ciudad de origen: {{$order->originCity}} </p> <p> Servico de carga en el origen: {{$order->origi...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class newa extends Model { //指定表名 protected $table ='new'; protected $primaryKey ='n_id'; public $timestamps = false; //黑名单 protected $guarded=[]; }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php namespace Webkul\Customer\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Routing\Controller; use Webkul\Customer\Repositories\CustomerRepository; /** * Registration controller * * @author Prashant Singh <prashant.singh852@webkul.com> * @copyright 2018 Webkul ...
@extends('voyager::master') @section('page_title', __('voyager::generic.viewing').' '.$dataType->display_name_plural) @sectione('page_header') <div class="container-fluid"> <h1 class="page-title"> <i class="{{ $dataType->icon }}"></i> {{ $dataType->display_name_plural }} </h1> ...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class ResetRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the ...
<?php /** * GetShipmentItemsResult * * PHP version 7.2 * * @category Class * @package Webcom\Amazon\Rest\FulfillmentInboundApi * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Selling Partner API for Fulfillment Inbound * * The Selling Partner API for Fulfillment Inbo...
<?php include('head.php'); ?> <?php include('assets/classes/streams.php'); $mypdo = new MyPDO('mysql:host=localhost;dbname=twitchdb;charset=utf8'); $Stream = new Stream($mypdo); ?> <?php include('includes/admin-announcement.php'); ?> <?php// include('includes/announcement.php'); ?> <?php include('includes/featuredstr...
<?php class fonctions { public function redirect($url){ header("location:".$url); } }
@extends('layout.layoutCarritoCotizador') @section('title', 'Deportes Asis') @section('header') <p>Este es el header</p> @endsection @section('content') <br><br><br><br><br><br><br> <div align='center' style="background-color:#93b950 "><span id="titulo">COTIZACION</span></div> <hr> <br> <div id="datosCliente"> ...
<!-- template login bootstrap --> <!DOCTYPE html> <html lang="en"> <head> <title id="title"><?php echo $title; ?></title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="pragma" content="no...
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Exception; use Eloquent\Phony\Mock\Builder\MockDefinition; use Exception; use Throwable; /** * Mock generation failed. */ final class MockGenerationFailedException extends Exception implements MockException { /** * Construct a mock generati...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php namespace App\Controllers; use App\Models\Usuarios; class Home extends BaseController { public function index() { $mensaje = session('mensaje'); return view('Login',["mensaje" => $mensaje]); } public function inicio() { return view('Inicio'); } public function login () { $usuario = $this->req...
<?php namespace Cars\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ // ]; ...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php namespace App\Models; class Staff extends User { protected $table = 'users'; }
<?php namespace App\Http\Controllers; use App\Models\Contact; use App\Models\Discover; use App\Models\Footer; use App\Models\Logo; use App\Models\Map; use App\Models\Title; use App\Models\Video; use Illuminate\Http\Request; class TitleController extends Controller { public function edit(Title $title){ $v...
<?php namespace app\models; use Yii; use yii\base\Model; use yii\web\UploadedFile; class MoviesUpload extends Model { public $movie; public function rules() { return [ ['movie', 'required'], [['movie'], 'file', 'extensions' => 'mp4, ogg,webm'], ]; } publi...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddColumnUserIdToBien extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('biens', funct...
<?php namespace Anteris\Autotask\API\BillingCodes; use Anteris\Autotask\HttpClient; use Anteris\Autotask\Support\Pagination\PageEntity; use GuzzleHttp\Psr7\Response; /** * Returns a collection with methods that help page through results. */ class BillingCodePaginator { /** @var BillingCodeCollection Collection...
<?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 ...
<div class="box-body"> <div class ="row"> <div class ="col-sm-12"> <div class="form-group"> <label for="lastname">Tên Học Viên : </label> <p><?php echo e($registerdefail->name); ?></p> </div> <div class="form-group"> <label ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateAuthUserDevicesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('auth_us...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreCustomerRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * ...
<?= $this->extend("Layout/index.php");?> <?= $this->section("Main-body");?> <!-- Tampilan untuk form daftar --> <div class="register-wrapper"> <!-- kode halaman navigasi register --> <?= $this->include("Layout/nav-register");?> <!-- formulir pendaftaran --> <div class="register-form"> <!-- hal...
<?php use Illuminate\Database\Seeder; use App\Parameters\Location; class LocationSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // Location::create([ 'name' => 'Casa Central', 'address' => '...
<?php namespace Drupal\Tests\commerce_payment\FunctionalJavascript; use Drupal\commerce_checkout\Entity\CheckoutFlow; use Drupal\commerce_order\Adjustment; use Drupal\commerce_order\Entity\Order; use Drupal\commerce_payment\Entity\Payment; use Drupal\commerce_payment\Entity\PaymentGateway; use Drupal\Tests\commerce\F...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class InfoUserRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get t...
<?php /** * YQueueMail компонент для отправки почты через очередь * * @author yupe team <team@yupe.ru> * @link http://yupe.ru * @copyright 2009-2013 amyLabs && Yupe! team * @package yupe.modules.queue.components * @license BSD https://raw.github.com/yupe/yupe/master/LICENSE * @since 0.1 * @abstract * */ cl...
<?php declare(strict_types=1); /** * This file is part of the Phalcon Framework. * * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ namespace Phalcon\Test\Fixtures\Http\Message; use Phalcon\Http\Message\ServerRequestFactory; clas...
<form action="{{ route('wave.settings.profile.put') }}" method="POST" enctype="multipart/form-data"> <div class="relative flex flex-col px-10 py-8 lg:flex-row"> <div class="flex justify-start w-full mb-8 lg:w-3/12 xl:w-1/5 lg:m-b0"> <div class="relative w-32 h-32 cursor-pointer group"> <img id="preview" src="...
@if (count($file_paths) < 1) <div class="fileinput fileinput-new input-group" data-provides="fileinput"> <div class="form-control" data-trigger="fileinput"><i class="glyphicon glyphicon-file fileinput-exists"></i> <span class="fileinput-filename"></span> </div> ...
<?php /* * This file is part of the FOSUserBundle package. * * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FOS\UserBundle\Controller; use FOS\UserBundle\FO...
<body> <?php $this->load->view('components/nav_gerenciamento.php'); ?> <br> <br> <br> <div class="row d-flex justify-content-center"> <form method="post" action="<?php echo base_url('/Pedido/relatorio/'.$status);?>"> <div class="form-row align-items-center"> <div class="col-auto"> <p>Data Inicial: </p> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateExamplesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('examples', fun...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class RootCause extends Model { // protected $casts = [ // 'root_name ' => 'array', // 'description ' => 'array', // ]; public $fillable = [ 'user_id', 'report_id', 'incident_id', 'root_n...
<?php class M_instruktur_latihan extends CI_Model { var $_table = 'instruktur_latihan'; var $table = 'instruktur_latihan il'; var $column_order = array('il.il_id', 'il.status','i.i_kode','i.i_nama','k.k_kategori'); //set column field database for datatable orderable var $column_search = array('il.il_i...
<?php require_once dirname(__DIR__,2) . '/vendor/autoload.php'; use Bartlett\GraphUml; use Bartlett\GraphPlantUml\PlantUmlGenerator; use Graphp\Graph\Graph; $generator = new PlantUmlGenerator(); $generator->setExecutable('vendor/bin/plantuml'); $graph = new Graph(); $builder = new GraphUml\ClassDiagramBuilder( ...
@extends('layouts.main') @section('content') <div class="container"> <div class="row justify-content-center"> @if(Session::has('message')) <div class="alert alert-success">{{Session::get('message')}}</div> @endif <div class="col-md-8"> <div class="card"> ...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit487f43671608425291743249bdd98933::getLoader();
@extends('layouts.app') @section('title', '| Crear Empresa') @section('css') <link href="{{ asset('plugins/dropzone/css/dropzone.min.css')}}" rel="stylesheet" /> <link href="{{ asset('plugins/bootstrap-fileinput/css/fileinput.min.css')}}" rel="stylesheet" /> <!-- Custom Stylesheet --> <link href="{{ asset('p...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddParentIdAndParentUserIdToRepliesTable extends Migration { public function up() { Schema::table('replies', function (Blueprint $table) { $table->inte...
<?php /** * Settings - Plugins * * @package wp-fail2ban * @since 4.2.0 */ namespace org\lecklider\charles\wordpress\wp_fail2ban; defined('ABSPATH') or exit; /** * Tab: Plugins * * @since 4.2.0 */ class TabPlugins extends TabLoggingBase { /** * {@inheritDoc} */ public function __constru...
<?php use PHPUnit\Framework\TestCase; use Kwrite\Applications\Models\BlogCategoriesCount; use Kwrite\Applications\Models\BlogSystemCreate; use Kwrite\Applications\Models\BlogSystemDelete; use KWrite\Applications\Models\BlogSystemId; use Kwrite\DBConnection\Connection; use Kwrite\MysqlEngine\Engine\Insert; use Kwrite\M...
<?php namespace App\Helpers; use Illuminate\Database\Eloquent\Builder; use Illuminate\Http\Request; abstract class QueryFilters { /** * @var Request */ protected $request; /** * @var Builder */ protected $builder; /** * Filters constructor. * * @param Request ...
<?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 Route::get('/', function () { return redirect('/home'); }); // Authentication Routes... $this->get('login', 'Auth\LoginController@showLoginForm')->name('auth.login'); $this->post('login', 'Auth\LoginController@login')->name('auth.login'); $this->post('logout', 'Auth\LoginController@logout')->name('auth.logou...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Banners extends Model { protected $fillable=['title','description','photo','status']; }
@extends('layouts.plantilla') @section('contenido') <div class="container"> <h2> EDITAR NOTA DEL ALUMNO - </h2> <form method="POST" action="{{route('nota.update',$nota->idnota)}}"> @method('put') @csrf <div class="form-row"> <div class="form-group col-md-3 text-cente...
<?php namespace App\Http\Controllers; use App\Enums\DiscordChannel; use App\Events\Notify; use App\Facade\DiscordFacade; use App\Jobs\ProcessEmbedPosting; use App\Models\LieuxSurvol; use App\Models\User; use App\Models\Vol; use Illuminate\Auth\Access\Gate; use Illuminate\Contracts\Session\Session; use Illuminate\Http...
<?php namespace frontend\modules\wap\controllers; use common\models\Area; use common\models\City; use common\models\Province; use common\models\User; use frontend\modules\wap\components\WapController; use yii; use frontend\modules\wap\services\Func; use yii\web\Controller; use yii\helpers\Json; use yii\helpers\ArrayH...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Receta extends Model { //Campos que se agregaran protected $fillable = [ 'titulo', 'preparacion', 'ingredientes', 'imagen', 'categoria_id' ]; // Obtiene la categoria de la receta via FK public function categoria() ...
<?php /** * Created by PhpStorm. * User: dell * Date: 2019/3/16 * Time: 15:40 */ namespace app\api\validate; class IDMustBePositiveInt extends BaseValidate { protected $rule = [ 'id' => 'require|isPositiveInt' ]; protected $message = [ 'id' => 'id必须是大于0的正整数', ]; }
<?php /** * [NULLED BY DARKGOTH 2014] */ defined('PHPFOX') or exit('NO DICE!'); /** * * * @copyright [PHPFOX_COPYRIGHT] * @author Raymond Benc * @package Phpfox_Component * @version $Id: translate-child-country.class.php 1329 2009-12-16 17:01:32Z Raymond_Benc $ */ class Core_Component_Block_Transla...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateItemsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('items', function ...
<x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('Create Zone') }} <x-link :href="route('zone.index')" class="ml-4">Go Back</x-link> </h2> </x-slot> <div class="py-12"> <div class="max-w-7xl mx-auto sm...
<?php echo password_hash('123456', PASSWORD_BCRYPT, array( 'cost' => 8, 'salt' => 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ));
<?php /* @var $this yii\web\View */ $this->title = Yii::$app->name; ?> <section class="bg-text-area"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="bg-text"> <h3>ДЕТИ БУДУЩЕГО</h3> <p>Присоединяйтесь к нам...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Sport extends Model { protected $fillable = ['name']; protected $hidden = [ 'created_at', 'updated_at' ]; public function events() { return $this->hasMany('App\Event'); } public function users() ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDataPinjaman extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('data_pinjaman',...
<?php /* * This file is part of the symfony package. * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Upgrade configuration. * * @package symfony * @subpac...
<?php namespace App\KayakoApi; /** * Kayako TicketPriority object. * * @author Tomasz Sawicki (https://github.com/Furgas) * @link http://wiki.kayako.com/display/DEV/REST+-+TicketPriority * @since Kayako version 4.01.240 * @package Object\Ticket */ class kyTicketPriority extends kyObjectBase { const TYPE_PUBLIC ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * O2System * * An open source HMVC Third Party Plugin for CodeIgniter v2.0 * * This content is released under the MIT License (MIT) * * Copyright (c) 2014, PT. Lingkar Kreasi (Circle Creative). * * Permission is hereby granted, free of c...
<!-- page section --> <div class="page-section spad"> <div class="container"> <div class="row"> <div class="col-md-8 col-sm-7 blog-posts"> @foreach ($article as $item) @if ($loop->first) <!-- Single Post --> <div class="single-post"> <div class="post-thumbnail"> <img src=...
@extends('user_layouts.header') @section('content') @include('user_layouts.topheader') <!-- breadcrumb start --> <div class="breadcrumb-section"> <div class="container"> <div class="row"> <div class="col-sm-6"> <div class="page-title"> ...
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator ...
<?php /** * PHPUnit * * Copyright (c) 2001-2014, Sebastian Bergmann <sebastian@phpunit.de>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must ...
<?php $email_id=$this->session->userdata('email_id'); if(empty($email_id)){ redirect('admin-logout-by-pass'); } $value1=$Slno_item; $value2=$token; $keys_id="preetishwebitem"; $value1_convered = strtr($value1,array('.' => '+', '-' => '=', '~' => '/')); $value1_convered_id=$this->encrypt->decode($value1_convered,$k...
<?php namespace Dashboard\Model; use Think\Model; class UserModel extends Model { protected $tableName = 'user'; // 对象的数据表 protected $trueTableName = 'b_user'; // 字段限定信息 protected $_validate = array( array( 'uemail', 'require', '用户名必须!' ), //...
<?php namespace Orlyapps\NovaBelongsToDepend\Http\Controllers; use \Illuminate\Http\Resources\MergeValue; use Illuminate\Routing\Controller; use Illuminate\Support\Collection; use Laravel\Nova\Http\Requests\NovaRequest; use Laravel\Nova\Panel; use Orlyapps\NovaBelongsToDepend\NovaBelongsToDepend; class FieldControll...
<?php namespace App\Providers; use Illuminate\Pagination\Paginator; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { Paginator::currentPathResolv...
@extends('admin.layouts.admin') @section('contents') <div class="col-lg-12"> <h1 class="page-header">Dashboard</h1> </div> <!--End Page Header --> </div> <div class="row"> <!-- Welcome --> <div class="col-lg-12"> <div class="alert "> <i class="fa fa-folder-open"></i><b>&nbsp;Hello !...
<?php /* @var $model common\models\Contragent */ use yii\helpers\Html; $this->title = Yii::t('app', 'Создать контрагента'); ?> <div class="task-create box-padding"> <div class="panel panel-default"> <div class="panel-heading" style="background: #fff;"> <h3 class="text-center" style="color: #3...
<?php namespace App\Controller\Stations\Reports; use App\Http\Response; use App\Http\ServerRequest; use App\Sync\Task\RadioAutomation; use App\Utilities\Csv; use Doctrine\ORM\EntityManager; use Psr\Http\Message\ResponseInterface; class PerformanceController { protected EntityManager $em; protected RadioAuto...
<?php /** * default actions. * * @package sf_sandbox * @subpackage default * @author Your name here * @version SVN: $Id: actions.class.php 12479 2008-10-31 10:54:40Z fabien $ */ class defaultActions extends sfActions { /** * Executes index action * * @param sfRequest $request A request object ...
<?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 spec\Sylius\Component\Core\Taxation\Applicator; use Doctrine\Common\Collections\ArrayCollec...
<?php namespace Fisharebest\Localization\Script; /** * Class ScriptCans - Representation of the Unified Canadian Aboriginal Syllabics script. * * @author Greg Roach <fisharebest@gmail.com> * @copyright (c) 2015 Greg Roach * @license GPLv3+ */ class ScriptCans extends AbstractScript implements ScriptInterfac...
<?php namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use App\Http\Resources\SampleResource; use App\Farmer\Models\Protocol\NetworkDetails; class NetworkDetailsSampleController extends Controller { /** * Create a new controller instance. */ public function __construct() ...
<?php /** * Created by PhpStorm. * User: starstryder * Date: 6/12/19 * Time: 4:21 PM */ /* ---------------------------------------------------------------------- Load all needed includes ---------------------------------------------------------------------- */ require_once("../csb-loader.php"); require_once...
<?php require_once "libs/sellsytools.php"; require_once "libs/sellsyconnect_curl.php"; //--------------------------------------------------------------------------- // AccountPrefs //--------------------------------------------------------------------------- //$request = array( // 'method' => 'AccountPrefs.getSt...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>权限菜单</title> <link rel="stylesheet" href="/plugins/layuimini-2/lib/layui-v2.5.5/css/layui.css" media="all"> <link rel="stylesheet" href="/plugins/layuimini-2/css/public.css" media="all"> <link rel="stylesheet" href="/plugins/layui...
<?php namespace App\Models; use CodeIgniter\Model; class UsuarioModel extends Model { protected $table = 'usuarios'; protected $returnType = 'App\Entities\Usuario'; protected $allowedFields = ['nome', 'email', 'telefone']; //datas protected $useTimestamps = true; protected $c...
@extends('layouts.app') @section('content') <h3>Create Post</h3> {!! Form::open(['action' => 'PostsController@store', 'method' => 'POST']) !!} <div class="form-group"> {!! Form::label('title', 'Title') !!} {!! Form::text('title', '', ['id' => 'title', 'class' => 'form-control', 'p...
<script src="{{ asset(mix('app.js', 'vendor/messenger')) }}"></script> @stack('js') @if(auth()->check()) <script src="https://cdn.jsdelivr.net/npm/emoji-toolkit@6.5.1/lib/js/joypixels.min.js"></script> @endif <script> @if(auth()->check()) Messenger.init({ load : { NotifyManager : { ...
<?php /* * $Id: UnitOfWork.php 6124 2009-07-20 17:47:01Z jwage $ * * 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 DISCLAIME...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateReviewsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('reviews', funct...
<?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 _PhpScoper5ece82d7231e4\Symfony\Component\DependencyInjection\Loader\Conf...
<?php namespace common\models; use yii\db\ActiveQuery; use yii\db\ActiveRecord; /** * Токен доступа (bearer). * * @property integer $id * @property string $user_id * @property string $value * * @property-read User $user */ class AccessToken extends ActiveRecord { /** * {@inheritDoc} */ pub...
<?php namespace App\Models\Front; use Illuminate\Database\Eloquent\Model; /** * @property string $email * @property string $token * @property string $created_at */ class Password_reset extends Model { /** * @var array */ protected $fillable = ['email', 'token', 'created_at']; /** * Th...
<?php namespace App\Http\Controllers\Backend\Product; use App\Models\Product\Product; use App\Models\ProductCategory\Productcategory; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Repositories\Backend\Product\ProductRepository; use App\Http\Requests\Backend\Product\ManageProductRequest; us...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/phpdocumentor/type-resolver/src', $vendorDir . '/phpdocumentor/reflec...