text
stringlengths
2
1.03M
<div class="menu-w color-scheme-dark color-style-bright menu-position-side menu-side-left menu-layout-compact sub-menu-style-over sub-menu-color-bright selected-menu-color-light menu-activated-on-hover menu-has-selected-link"> <div class="logo-w "> <a class="logo" href="{{ url('/dashboard') ...
<?php return [ [ 'key' => 'dashboard', 'name' => 'admin::app.acl.dashboard', 'route' => 'admin.dashboard.index', 'sort' => 1 ], [ 'key' => 'sales', 'name' => 'admin::app.acl.sales', 'route' => 'admin.sales.orders.index', 'sort' => 2 ], [ ...
<?php namespace App\Http\Controllers; use App\Models\Buku; use Illuminate\Http\Request; class BukuController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $book = Buku::all(); // Mengambil semua isi tab...
<?php namespace Users\Model\Table; use ArrayObject; use Cake\Core\Configure; use Cake\Datasource\EntityInterface; use Cake\Event\Event; use Cake\ORM\Query; use Cake\ORM\RulesChecker; use Cake\ORM\Table; use Cake\Validation\Validator; use Users\Model\Table\Traits\AccountValidationTrait; use Users\Model\Table\Traits\Aut...
<?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 namespace Osiset\ShopifyApp; use Illuminate\Routing\Redirector; use Illuminate\Routing\UrlGenerator; use Illuminate\Support\Facades\Blade; use Illuminate\Support\ServiceProvider; use Osiset\ShopifyApp\Actions\ActivatePlan as ActivatePlanAction; use Osiset\ShopifyApp\Actions\ActivateUsageCharge as ActivateUsageC...
<?php /** * Cookie Consent Popup */ ?> <div id="cookie-popup" class="cookie-popup"> <div class="contain contain-narrow"> <div class="cookie-popup__content"> <div id="popup-main"> <p class="cookie-popup__text"> Our site uses cookies to collect the necessary data to improve your browsing experien...
<?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 ...
<?php /** * Shareholder * * PHP version 5 * * @category Class * @package Hraph\PaygreenApi * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Intégration de PayGreen par API * * * The version of the OpenAPI document: 1.0.0 * Contact: serviceclient@paygreen.fr * Gener...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Model class for Item table */ class Item extends PS_Model { /** * Constructs the required data */ function __construct() { parent::__construct( 'bs_items', 'id', 'itm_' ); } /** * Implement the where clause * * @param ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\Domain */ $this->title = 'Редактировать: ' . $model->domain; $this->params['breadcrumbs'][] = ['label' => 'Сайты', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->domain, 'url' => ['view', 'id' => $model-...
<?php return [ 'lists' => 'Danh sách nhận hoa hồng', 'detail' => 'Chi tiết nhận hoa hồng', 'user_id' => 'Nhân viên', 'discount' => 'Chiết khấu', 'discount_total' => 'Tiền chiết khấu', ];
<?php use App\Models\TaskStatus; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AlterTableTaskStatuses extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('task_statuses', function...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Comment</title> <link rel="stylesheet" type="text/css" href="{{asset('css/main.css')}}"> <link rel="...
@extends('backend.main') @section('content') <style type="text/css"> .subscriptionrequest{text-align: center; margin-top: 20px; } .subscriptionrequest h1{color:#0E4F88; font-size:36px; border-bottom: 2px #0E4F88 solid; padding-bottom: 10px;} .subscriptionrequest p{font-size: 16px; font-weight: bold;} </style> <...
<form id="dailychallan" class="form-horizontal" name="dailychallan" method="post" enctype="multipart/form-data" action="dailychallan_ss.php"> <div class="col-md-6 first"> <div class="form-group<?php echo !empty($sys_co_code_Error)?'error':'';?>"> <label for="Company" id="label_sys_co_code" class="col-md-4 con...
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
<?php /* * This file is part of invis1ble/ddd-es-cqrs-boilerplate. * * (c) Invis1ble <opensource.invis1ble@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace IdentityAccess\Infrastructu...
@extends('layouts.app') @section('content') @section('title','Dashboard') <div class="col-xl-{{ ($userAdmin->user_type == 1) ? '6' : '12' }} col-lg-12 col-md-12 col-sm-12 col-12 layout-spacing"> <div class="widget widget-one"> <div class="widget-heading"> <h6 class="">Ticket Trends</h6> ...
@extends('layouts.guest') @section('pageTitle') {{$post -> title}} @endsection @section('content') <div class="mt-3 mb-3"> <h1>{{$post->title}}</h1> <h4>{{$post->date}}</h4> <p>{{$post->content}}</p> <div class="mt-5"> @if ($post->comments->isNotEmpty()) <h3>Commenti</h3> <ul> @foreach ($post->comments...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateListingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('listings', fun...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Topnav extends Model { protected $namespace = ''; protected $fillable = ['topnav_bgcolor','topnav_logo','topnav_behaviour','topnav_height','topnav_color']; }
<?php /** * @author Gasper Kozak * @copyright 2007-2011 This file is part of WideImage. WideImage is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Lic...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Http\Requests\LoginFormRequest; use Illuminate\Http\Request; class AuthController extends Controller { /** * @return View */ public function showLogin() { return view('login.login_form'); } ...
<!DOCTYPE html> <html lang="en"> <head> <title><?= $title ?? getenv('APP_NAME') ?> </title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/assets/css/bootstrap.min.css"> <link rel="stylesheet" href="/assets/css/assets.css"> <script s...
<?php namespace modmore\Gitify\Command; use modmore\Gitify\BaseCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class ClearCacheCommand extends BaseCommand { public $loadConfig = false; public $loadMODX = false; protected function configu...
<?php namespace Epartment\NovaDependencyContainer; use Illuminate\Database\Eloquent\Model; use Laravel\Nova\Fields\Field; use Laravel\Nova\Http\Requests\NovaRequest; use Illuminate\Support\Str; class NovaDependencyContainer extends Field { /** * The field's component. * * @var string */ p...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Page Title</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" media="screen" href="main.css" /> <script src="main.j...
<?php use GlenScott\OAuth\Consumer; use GlenScott\OAuth\Token; use GlenScott\OAuth\SignatureMethod_HMAC_SHA1; use GlenScott\OAuth\SignatureMethod_PLAINTEXT; use GlenScott\OAuth\Server; use GlenScott\OAuth\Request; require_once dirname(__FILE__) . '/common.php'; require_once dirname(__FILE__) . '/Mock_OAuthDataStore.p...
<?php /** * (c) FSi sp. z o.o. <info@fsi.pl> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace FSi\Bundle\DataGridBundle\Tests\Fixtures; class Entity { private $name; private $author; ...
<?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 header ('Content-type: text/html; charset=UTF-8'); ?> @extends('template') @section('content') <div class="row"> <div class="col-lg-6"> <div class="panel panel-default"> <div class="panel-heading"> <h4>{!! trans('messages.t_atividadepedagogicas') !!}</h...
<?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Queue\SerializesModels; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Contracts\Bro...
@extends('admin.layout') @component('shared._breadcrumb') @slot('title', 'Rutas') @slot('description', 'home') @slot('state', 'tabla')@endcomponent @section('content') <div class="card"> <div class="card-header card-default"> <div class="float-right mt-10"> ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\linea */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="linea-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'descripcion')->textInput(['maxlength' => true]) ?> ...
<?php namespace Test\Ecotone\Messaging\Unit\Config\Annotation\ModuleConfiguration; use Ecotone\AnnotationFinder\InMemory\InMemoryAnnotationFinder; use Ecotone\Messaging\Config\Annotation\InMemoryAnnotationRegistrationService; use Ecotone\Messaging\Config\Annotation\ModuleConfiguration\SplitterModule; use Ecotone\Mess...
<?php namespace ContainerJazIMP6; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @internal This class has been auto-generated by the Symfony Dependency Injection Component. */ class getMaker_AutoCommand_MakeFunctio...
<?php $__env->startSection('main-content'); ?> <div class="container"> <div class="row"> <div class="col s12 subject-header"> <p class="teal-text">IPPIS SAVING DEDUCTIONS</p> </div> </div> <div class="row"> <div class="col s12 subject-header"> <span><a cl...
<?php namespace Google\AdsApi\AdManager\v201908; /** * This file was generated from WSDL. DO NOT EDIT. */ class ProposalLineItemError extends \Google\AdsApi\AdManager\v201908\ApiError { /** * @var string $reason */ protected $reason = null; /** * @param string $fieldPath * @param ...
<!doctype html> <html class="no-js" lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Login</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="<?php ec...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use DB; use Session; use Illuminate\Support\Facades\Redirect; use App\Http\Requests; use Cart; session_start(); class CheckoutController extends Controller { public function login_checkout() { $category_product = DB::table('tbl_categ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller |----------------------------...
<?php define('REST', true); require dirname(__DIR__, 1) . '/index.php';
<?php namespace Maestro\Core\Task; use Amp\Promise; use Generator; use Maestro\Core\Filesystem\Filesystem; use Maestro\Core\Report\TaskReportPublisher; use Maestro\Core\Vcs\Repository; use Maestro\Core\Vcs\RepositoryFactory; use function Amp\call; class GitSurveyHandler implements Handler { public function __con...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateOBASTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('z_obas', function ...
@extends('Front.master') @section('css') <link rel="stylesheet" href="{{ asset('css/Front/index.css') }}"> @endsection @section('title') <title>Trang Chủ</title> @endsection @section('content') @if (session('alert')) <script>alert('Đã đăng ký tài khoản thành công!')</script> @endif <div class="content">...
<section class="pop-out-container"> <div class="container"> <div class="row"> <div class="col-xs-0 col-sm-2"></div> <div class="col-xs-12 col-sm-8 text-center"> <div class="pop-out"> <?php dynamic_sidebar('sidebar-footer-center'); ?> </div> </div> <div class="col-...
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> <style lang="css"> </style> <div> <h1 >Hey {{$name_user}}</h1> <div id="source"></div> <bu...
<?php $dbh = new PDO("mysql:dbname=test;host=127.0.0.1;port=3306", "root", "backstreetboys");
<?php /* * This file is part of Laravel Love. * * (c) Anton Komarev <anton@komarev.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Cog\Laravel\Love\Console\Commands; use Cog\Contracts\Lov...
<head> <link rel="stylesheet" href="/assets/bower_components/bootstrap/dist/css/bootstrap.min.css"> <!-- Font Awesome --> <link rel="stylesheet" href="/assets/bower_components/font-awesome/css/font-awesome.min.css"> <!-- Ionicons --> <link rel="stylesheet" href="/assets/bower_components/Ionicons/css/ionicons....
<?php include (__DIR__."/header.php"); $description = " <br><br> Reportico provides a theme() method to change the overall look and feel. Reportico contains theme files (stylesheets, HTML templates, javascript etc) under the <b>theme</b> in Reportico. To switch theme just provide this folder name to the theme method. ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddEntradaIdToComentariosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('come...
<?php namespace Fusion\Fieldtypes; class ToggleFieldtype extends Fieldtype { /** * @var string */ public $name = 'Toggle'; /** * @var string */ public $icon = 'toggle-on'; /** * @var string */ public $description = 'Field for a simple true or false value.'; ...
<?php include 'modele/modele_monnaie.php'; include 'vue/vue_monnaie.php'; ?>
@extends(/*'layouts.app'*/ 'default') @section('bg-image') /img/home-bg.jpg @endsection @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Login') }}</div> ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class CamilaController extends Controller { // public function Guardar(Resquest $_request){ $usuario = new CamilaController; $usuario->name = $_request-> name; $usuario->apellido = $_request-> apellido; $usuari...
@extends('layouts.sidebar') @section('content') <div class="content-body"> <!-- <section class="content"> --> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> <h3 cla...
<?php namespace Google\AdsApi\AdWords\v201710\cm; /** * This file was generated from WSDL. DO NOT EDIT. */ class DraftAsyncErrorService extends \Google\AdsApi\Common\AdsSoapClient { /** * @var array $classmap The defined classes */ private static $classmap = array ( 'AdError' => 'Google\\A...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; use Illuminate\Support\Str; class CommuneResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array|\Illuminate\Contracts\Support\...
<?php $username = "s2307935"; $password = "s2307935"; $database = "d2307935"; //connect to mysql $link = mysqli_connect("127.0.0.1", $username, $password, $database); // Check connection if(!$link){ die("ERROR: Could not connect. " . mysqli_connect_error()); } //prepared sql $sql = "DELETE FROM ANNOUNCEMENTS WHER...
<?php /** * Class Types_Field_Type_Phone_Mapper_Legacy * * Mapper for "Phone" field * * @since 2.3 */ class Types_Field_Type_Phone_Mapper_Legacy extends Types_Field_Mapper_Abstract { /** * @var Types_Field_Type_Phone_Factory */ protected $field_factory; /** * @param $id * @param $id_post * * @re...
<?php namespace Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; class CourseFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition() { return [ 'title' => $this->faker->word(4, true)...
<?php namespace Google\AdsApi\Dfp\v201711; /** * This file was generated from WSDL. DO NOT EDIT. */ class MobileApplicationPage { /** * @var int $totalResultSetSize */ protected $totalResultSetSize = null; /** * @var int $startIndex */ protected $startIndex = null; /** ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateToolsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tools', function ...
<?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. */ namespace Phalcon\Support\Helper\Str; /** * Converts a string to uppercase using mbst...
<?php require("controllers/homeadminControllers.php");
<?php session_start(); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' /> <meta name="viewport" content="width=device-width" /> <title>Jabatan Alam Sekitar</title> <meta name="keywords" content="" />...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Session; use Auth; use Illuminate\Database\Eloquent\Builder; class InterestsController extends Controller { public function index($buddy){ $auth = Session::get('user'); if($auth){ $data['buddy'] = \App\Buddy::where...
<?php namespace Home\Controller; use Home\Controller\HomeBaseController; class GoodsController extends HomeBaseController { public function index(){ $gc_model = D('GoodsClass'); $list = $gc_model->index('gc_id')->order('gc_id ASC')->select(); $list_tree = self::treeArray($list); ...
<?php return [ 'title' => 'Blog', 'single' => 'record', 'model' => 'App\Blog', 'columns' =>[ 'id', 'active', 'title', ], 'edit_fields' => [ 'active' => [ 'type' => 'bool', ], 'title' => [ 'type' => 'text', ], ...
<?php namespace PHPBlockchain; use PHPBlockchain\Transaction; /** * A unit of the Blockchain is called a Block represented by this class */ class Block { /** * Indicates the position of a block in the blockchain * * @var int */ public $index; /** * Current timestamp when bloc...
<section class="modal-wrapper-log"> <div class="modal fade" id="sign-in-form" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <form id="log-form" action="{{route('process.login')}}" method="post"> @csrf ...
@extends("layouts.app") <style> body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; border-radius: 20px; padding: 50px; margin: 50px; } </style> @section("content") @if(count($comentarios)>0) <table id="tabla_comentarios" class="table table-striped table-bordered"> ...
<?php namespace Measoft; use SimpleXMLElement; class Response { /** @var bool $success */ private $success; /** @var SimpleXMLElement $xml Результат */ private $xml; /** @var string $error Сообщение об ошибке */ private $error; public function __construct(bool $success, SimpleXMLElemen...
@extends('layouts.backend.app') @push('header') <link rel="stylesheet" href="{{asset('backend/vendors/datatables.net-bs4/css/dataTables.bootstrap4.min.css')}}" /> <link rel="stylesheet" href="{{asset('backend/vendors/datatables.net-buttons-bs4/css/buttons.bootstrap4.min.css')}}" /> <link rel="stylesheet" href="http://c...
<!DOCTYPE html> <html> <head> <title>test</title> <link rel="stylesheet" href="<?php echo base_url().'assets/css/style2.css' ?>"> <link rel="stylesheet" href="<?php echo base_url().'assets/css/animate-3.7.0.css'?>"> <link rel="stylesheet" href="<?php echo base_url().'assets/css/font-awesome-4.7.0.min....
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Post extends Model { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'title', 'description' ]; /** * The attributes that should be hidden for ar...
<?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 Modules\User\Events\Handlers; use Illuminate\Mail\Message; use Illuminate\Support\Facades\Mail; use Modules\Core\Contracts\Authentication; use Modules\User\Events\UserHasRegistered; class SendRegistrationConfirmationEmail { /** * @var AuthenticationRepository */ private $auth; p...
<?php use PHPUnit\Framework\TestCase; if (!class_exists('BigML\BigML')) { include '../bigml/bigml.php'; } if (!class_exists('BigML\Fields')) { include '../bigml/fields.php'; } use BigML\BigML; use BigML\BigMLRequest; use BigML\Fields; class Test27Fields extends TestCase { protected static $username; # "you_...
<?php namespace Tests\Feature; use App\Models\Tenant; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Tests\TestCase; class SetupEnvironmentTest extends TestCase { use RefreshDatabase; /** @test */ public function it_can_setup_an_environment() { ...
<?php return array ( 'endpoint-request' => 'App\\Http\\Livewire\\EndpointRequest', 'endpoint-request-details' => 'App\\Http\\Livewire\\EndpointRequestDetails', 'endpoint-requests' => 'App\\Http\\Livewire\\EndpointRequests', 'endpoint-url' => 'App\\Http\\Livewire\\EndpointUrl', );
<?php namespace CreditSafe\API\Exception; class ListPortfolioEventRulesNotFoundException extends \RuntimeException implements ClientException { public function __construct() { parent::__construct('', 404); } }
<?php /** * Bitrix Framework * @package bitrix * @subpackage crm * @copyright 2001-2016 Bitrix */ namespace Bitrix\Crm\WebForm\Internals; use Bitrix\Main\Localization\Loc; use Bitrix\Main\Entity\Result as EntityResult; Loc::loadMessages(__FILE__); abstract class Model { protected $id = null; protected $params...
<?php namespace Timiki\Bundle\RpcServerBundle\Tests\InvalidMethod; use Timiki\Bundle\RpcServerBundle\Mapping as Rpc; /** * @Rpc\Method("invalid") */ class NoExecuteMethod { }
@extends('layouts.main') @section('content') <style> .gallery{ margin-top: 150px; display: grid !important; grid-template-columns: 1fr !important; gap: 30px; } .gallery img{ width: 100%; height: 100%; } ...
<?php namespace sisVentas; use Illuminate\Database\Eloquent\Model; class Tipo extends Model { protected $table='tipo'; protected $primaryKey='idtipo'; public $timestamps=false; protected $fillable =[ 'idsubcategoria', 'nombre', 'estado' ]; protected $guarded =...
<?php declare(strict_types=1); namespace GravitateNZ\fta\auth\Security; use Symfony\Component\Security\Core\User\UserInterface; interface LockableUserInterface extends UserInterface { public function incrementFailedLogins(?\DateTimeInterface $time = null): int; public function clearLoginAttempts(): void; ...
<?php /** * Thanks to https://github.com/flaushi for his suggestion: * https://github.com/doctrine/dbal/issues/2873#issuecomment-534956358 */ namespace Fy\Carbon\Doctrine; use Fy\Carbon\Fy\CarbonImmutable; use Doctrine\DBAL\Types\VarDateTimeImmutableType; class DateTimeImmutableType extends VarDateTimeImmutableTy...
<?php namespace Database\Seeders; use App\Models\User; use Illuminate\Database\Seeder; class UserSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { User::create(['username' => 'admin', 'password' => \Hash::make('123456'), 'role_id...
<?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 namespace MediaWiki\Permissions\Hook; use User; /** * @stable to implement * @ingroup Hooks */ interface UserGetRightsHook { /** * This hook is called in User::getRights(). * * @since 1.35 * * @param User $user User to get rights for * @param string[] &$rights Current rights * @return bool|vo...
<?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 class browser { public $document; private $windows_list = array(); private $cookiejar; private $proxy; private $url; private $start_url; private $lnk; private $session_key = 'BROWSING_SESSION'; function init(){ classes::extend_include_path(dirname(__FILE__)); http::init(); } fun...
<?php namespace Wallabag\ApiBundle\Entity; use Doctrine\ORM\Mapping as ORM; use FOS\OAuthServerBundle\Entity\Client as BaseClient; /** * @ORM\Table("oauth2_clients") * @ORM\Entity */ class Client extends BaseClient { /** * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue(strategy="AU...
<?php /** * Copyright (c) 2010 Emerson Casas Salvador <salvaemerson@gmail.com> e Odair Rubleski <orubleski@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the “Software”), to deal in the Software without restriction, ...
<?php declare(strict_types=1); namespace Stu\Module\Index\View\ShowRegistration; use Stu\Module\Control\GameControllerInterface; use Stu\Module\Control\ViewControllerInterface; use Stu\Orm\Repository\FactionRepositoryInterface; final class ShowRegistration implements ViewControllerInterface { public const VIEW_...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Product extends Model { protected $fillable = ['name', 'quantity', 'price', 'description', 'category_id']; public function category() { return $this->belongsTo(Category::Class); } }
<?php /** * @copyright (c) 2011 aircheng.com * @file ucenter.php * @brief 用户中心api方法 * @author chendeshan * @date 2018/4/13 7:46:55 * @version 5.1 */ class APIUcenter { ///用户中心-账户余额 public function getUcenterAccoutLog($userid = '') { $userid = $userid ? IFilter::act($userid,'int') : IWeb::$app...