text
stringlengths
2
1.03M
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Annonce; use App\User; use App\Category; use App\Photo; use Illuminate\Support\Facades\Auth; class AnnonceController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response *...
<?php namespace App\Models\Eloquent; use Illuminate\Database\Eloquent\Model; class Treatment extends Model { public function clinic() { return $this->belongsTo('App\Models\Eloquent\Clinic'); } }
<?php namespace Aliyun\OSS\Model; /** * Class RefererConfig * * @package OSS\Model * @link http://help.aliyun.com/document_detail/oss/api-reference/bucket/PutBucketReferer.html */ class RefererConfig implements XmlConfig { private $allowEmptyReferer = true; private $refererList = array(); /** ...
<?php $__env->startSection('content'); ?> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2 mt-5 justify-content-center"> <div class="col-lg-3 col-6"> <!-- small box --> <div class="small-box bg-info-gradient">...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Info extends Model { use HasFactory; public $timestamps = false; public $fillable = ['User_Email','Address','Phone_Number']; // Info is the child table of user publi...
@extends('layouts.admin.app') @section('content') <!-- Main content --> <section class="content"> @include('layouts.errors-and-messages') <!-- Default box --> @if($employees) <div class="box"> <div class="box-body"> <h2>Nhân viên</h2> ...
<?php // Updated 9/12/2013 function random_user_agent() { $browser_freq = array ( "Internet Explorer" => 11.8, "Firefox" => 28.2, "Chrome" => 52.9, "Safari" => 3.9, "Opera"=>1.8 ); $browser_strings = array ( "Internet Explorer" => array ( "Mozilla/5.0 (co...
<?php namespace app\cms\controller; use app\cms\controller\CmsController; use app\cms\model\Pager; use think\Db; class CmsModel extends CmsController { public function _initialize() { parent::_initialize(); $this->assign('titleName','后台模块管理'); } public function index(){ $pageSize = 25; if (isse...
<?php // Check to ensure this file is included in Joomla! defined ( '_JEXEC' ) or die ( 'Restricted access' ); ?> <p><strong><?php echo JText::_('JERROR_LAYOUT_NOT_ABLE_TO_VISIT'); ?></strong></p> <ol> <li><?php echo JText::_('JERROR_LAYOUT_AN_OUT_OF_DATE_BOOKMARK_FAVOURITE'); ?></li> <li><?php echo JText...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use App\Models\Compte; class UpdateCompteRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true;...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => 'D:/wamp/www/grav_test/cmizen_test/user/plugins/problems/blueprints.yaml', 'modified' => 1461784048, 'data' => [ 'name' => 'Problems', 'version' => '1.4.0', 'description' => 'Detects and reports prob...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class MeuControlador extends Controller { public function produtos(){ echo "<h1>Produtos</h1>"; echo "<ol>"; echo "<li>Notebook</li>"; echo "<li>Impressora</li>"; echo "<li>Mouse</li>"; echo "</ol>"...
<?php namespace Refear99\EasySls\Requests; /** * Copyright (C) Alibaba Cloud Computing * All rights reserved * * The request used to delete logStore from log service. * @author log service dev */ class DeleteLogStoreRequest extends Request { private $logStore; /** * DeleteLogStoreRequest construc...
<?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 /** * User: Andy * Date: 10/02/2014 * Time: 16:54 */ namespace AVCMS\Bundles\Users\Exception; class IncorrectLoginException extends \Exception { }
<?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 namespace common\models; use Yii; use yii\base\NotSupportedException; use yii\behaviors\TimestampBehavior; use yii\db\ActiveRecord; use yii\web\IdentityInterface; /** * User model * * @property integer $id * @property string $username * @property string $password_hash * @property string $password_reset_to...
<?php namespace App\Listeners; use App\Events\SendMail; use App\Models\User; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Support\Facades\Mail; class SendMailFired { /** * Create the event listener. * * @return void */ public function...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Users/Tatiana/projects/ace_medical/system/languages/ca.yaml', 'modified' => 1531503672, 'data' => [ 'FRONTMATTER_ERROR_PAGE' => '--- title: %1$s --- # S\'ha produït un error: Frontmatter invàlid Ruta: `%2$s` **...
<?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-string */ cl...
<?php /** @param resource $statement */ function odbc_fetch_row($statement, ?int $row = null) : bool { }
<!DOCTYPE html> <html lang="en"> <!-- Mirrored from demo.interface.club/limitless/layout_3/LTR/material/form_layout_vertical.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 25 May 2016 07:53:19 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTT...
<?php class Kwf_Component_Renderer extends Kwf_Component_Renderer_Abstract { public function renderMaster($component) { static $benchmarkEnabled; if (!isset($benchmarkEnabled)) $benchmarkEnabled = Kwf_Benchmark::isEnabled(); $content = false; if ($this->_enableCache) { ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAuthorsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('authors', funct...
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="utf-8"> <link href="{{ mix('assets/css/styles.css') }}" rel="stylesheet"> <script src="{{ mix('assets/js/manifest.js') }...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); $this->load->view('templates/header'); ?> <?php echo $the_view_content;?> <?php $this->load->view('templates/footer');?>
<?php namespace App\Http\Controllers\Naics\TwentyTwo; use App\Http\Controllers\Controller; use App\Models\Naics\TwentyTwo\TwentyTwoVideos; use Illuminate\Http\Request; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Auth; use Intervention\Image\Facades\Image; use Illuminate\Support\Facades\Storag...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Investment extends CI_Controller { public function start_investment($invest_plan_id){ $this->load->model('investm', '',TRUE); //get detail data from (invest_plan_id) $choosed_plan = $this->investm->get_specific_plan...
<?php /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\DependencyResolver; use Compose...
<?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\ProductBundle\Doctrine\ORM; use Sylius\Bundle\ResourceBundle\Doctrine\ORM\Ent...
<?php defined('BASEPATH') OR exit('No direct script access allowed');?> <!-- ******************************************************* Include Header Template ******************************************************* --> <?php require_once('header.php'); ?> <!-- End Header --> <!-- ************************************...
<?php declare (strict_types=1); namespace Ssch\TYPO3Rector\Rector\v9\v4; use PhpParser\BuilderHelpers; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr\MethodCall; use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; us...
<?php /** * This file is part of the Elcodi package. * * Copyright (c) 2014 Elcodi.com * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Feel free to edit as you please, and have fun. * * @author Marc Morera <yuhu@mmoreram.com> ...
<!--A Design by W3layouts Author: W3layout Author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ --> <!DOCTYPE html> <head> <title>Trang Quan Ly Admin</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta...
<?php class TurmaSeeder extends Seeder{ public function run(){ Eloquent::unguard(); $turma = Turma::create(array( 'nome' => 'ING-K101', 'status' => '1', 'idModulo' => '1', 'idProfessor' => '1' )); $turma = Turma::create(array( 'nome' => 'ING-K102', 'status' => '1', 'idModulo' => ...
<?php namespace Gedmo\Translatable; use Doctrine\Common\EventManager; use Doctrine\ORM\Query; use Gedmo\Translatable\Query\TreeWalker\TranslationWalker; use Tool\BaseTestCaseORM; use Translatable\Fixture\Article; /** * These are tests for translation query walker * * @author Gediminas Morkevicius <gediminas.morke...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Brian2694\Toastr\Facades\Toastr; use Illuminate\Http\Request; use App\Tag; use Illuminate\Support\Str; class TagController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateChapterPackPivotTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('chapter_pack', function (Blueprint $table) { ...
@extends('adminlte::page') @section('title', 'Dashboard') @section('content_header') <h1>Agregar un nuevo servicio</h1> @stop @section('content') <form action="{{ url('dashboard/datosservicios')}}" method="POST" enctype="multipart/form-data"> {{ csrf_field() }} <div class="mb-3 mt-4"> <div class="...
<?php namespace Meax\HTMLTable; /** * A controller for content and admin related events. * */ class HTMLTableController implements \Anax\DI\IInjectionAware { use \Anax\DI\TInjectable; /** * Initialize the controller. * * @return void */ public function initialize() { $this->table = new \Meax\HTMLTabl...
@extends('layouts.admin', ['header' => 'Список категорий']) @section('content') <div class="container"> <div class="row"> <div class="col-md-12"> <a href="{{ route('admin.categories.create') }}" class="btn btn-outline-primary">@lang('_generic/generic.create')</a> </d...
<?php namespace frontend\controllers; use Yii; use yii\base\InvalidParamException; use yii\web\BadRequestHttpException; use yii\web\Controller; use yii\filters\VerbFilter; use yii\filters\AccessControl; use common\models\LoginForm; use frontend\models\PasswordResetRequestForm; use frontend\models\ResetPasswordForm; us...
<?php namespace App\Http\Requests\Admin\Blog; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Gate; class BulkDestroyBlog extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize(): bool ...
<?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 declare(strict_types=1); namespace Yiisoft\Yii\Bootstrap4\Tests; use Yiisoft\Yii\Bootstrap4\ButtonGroup; use Yiisoft\Yii\Bootstrap4\ButtonToolbar; /** * Tests for ButtonToolbar widget. * * ButtonToolbarTest */ final class ButtonToolbarTest extends TestCase { public function testContainerOptions(): voi...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateManagersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('managers', fun...
<?php /* * Copyright 2016 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 namespace Magister\Http\Controllers; class WelcomeController extends Controller { /* |-------------------------------------------------------------------------- | Welcome Controller |-------------------------------------------------------------------------- | | This controller renders the "marketing page"...
<?PHP /** * Created by Easypack. */ class EasypackExtrasCreateProcessor extends modObjectCreateProcessor { public $classKey = 'EasypackExtras'; public $primaryKeyField = 'id'; } return 'EasypackExtrasCreateProcessor';
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateThemeImagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('theme_image...
<div class="p-6 bg-white border-b border-gray-200 sm:px-20"> <div> <x-jet-application-logo class="block w-auto h-12" /> </div> <div class="mt-8 text-2xl"> Welcome to your Jetstream application! </div> <div class="mt-6 text-red-700"> Laravel Jetstream provides a beautiful, r...
<?php namespace app\admin\controller; class Config extends Common { public function initialize() { parent::initialize(); // TODO: Change the autogenerated stub } public function index() { if (request()->isAjax()) { $path = __DIR__ . '/../../../config/web_config.php'; ...
<?php /** * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ declare(strict_types=1); namespace tests\loophp\collection; use loophp\collection\Collection; use loophp\PhpUnitIterableAssertions\Traits\IterableAssertions; use PHPUnit\Frame...
<?php $delete_product_on_cart = base_url().'cart/delete_product'; ?> <style type="text/css"> .listing-style3 .box { box-shadow: 0 5px 20px 0 rgba(80,106,172,0.3); } .no_item { text-align: center; } .rel-category { position: absolute; top: 10px; left: 15px; } .rel-category span...
<?php return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=comrule', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'tablePrefix' => 'at_', ];
<?php /** * Created by PhpStorm. * User: Sandrine * Date: 16/03/2019 * Time: 21:46 */ namespace App\Repositories; use App\Groupe; class GroupeRepository extends ResourceRepository { public function __construct(Groupe $groupe) { $this->model = $groupe; } }
<?php class Auditint extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('auditint_model', 'auditint_model'); if (!isset($this->session->user)){ redirect('php/login'); } } public functio...
<?php namespace App\Rules; use Illuminate\Contracts\Validation\Rule; use App\Data\Models\ContactType; class Contact implements Rule { protected $fieldNamesArray = [ 'mobile' => 'Celular', 'whatsapp' => 'Whatsapp', 'email' => 'E-mail', 'phone' => 'Telefone Fixo', ]; /** ...
<!-- Left side column. contains the logo and sidebar --> <aside class="main-sidebar"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- Sidebar user panel --> <div class="user-panel"> <div class="pull-left image"> <img src="{{ url('images/log...
@extends('app') @section('content') <div class="page-wrapper auth"> <div class="page-inner bg-brand-gradient"> <div class="page-content-wrapper bg-transparent m-0"> <div class="height-10 w-100 shadow-lg px-4 bg-brand-gradient"> <div class="d-flex align-items-center container p-0...
<!-- Author: W3layouts Author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ --> <!DOCTYPE html> <html> <head> <title>Cinema A Entertainment Category Flat Bootstarp Resposive Website Template | Home :: w3layouts</title> <link href="c...
@include('frontend.layout.header') <section id="catagory_bar"> <ul class="catagory_top text-center"> @foreach ($Catagory as $item) @if (Request::segment(2)==$item->id) <li class="active"><a href="{{ url('catagory').'/'.$item->id }}">{{ $item->catagory }}</a></li> @else ...
<?php /** * DO NOT EDIT! * This file was automatically generated via bin/generate-validator-spec.php. */ namespace AmpProject\Validator\Spec\Tag; use AmpProject\Attribute; use AmpProject\Format; use AmpProject\Tag as Element; use AmpProject\Validator\Spec\Identifiable; use AmpProject\Validator\Spec\SpecRule; use ...
<?php namespace App\Http\Controllers; use App\invoices; use App\invoices_attachments; use App\invoices_details; use Illuminate\Support\Facades\Storage; use File; use Illuminate\Http\Request; class InvoicesDetailsController extends Controller { /** * Display a listing of the resource. * * @return \...
<?php /** * 由 PhpStorm 创造. * 用户: Administrator朕之天下 * 日期: 2018/6/1 * 时间: 13:33 */ namespace app\lib\exception; use think\exception\Handle; use think\exception\HttpException; use think\Log; use think\Request; class ExceptionHandler extends Handle { private $code; private $msg; private $errorCode; ...
<x-app-layout> <x-slot name="header"> <p class="font-semibold text-xl text-gray-800 leading-tight nomargin"> {{ __('Deals And Clearance List') }} </p> </x-slot> <div class="py-12"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <h2>All Deals and Clearance P...
<?php namespace Scalr\Tests\Service\Aws; use Scalr\Service\Aws\Sqs\DataType\QueueList; use Scalr\Service\Aws\Sqs; use Scalr\Tests\Service\AwsTestCase; /** * Amazon Sqs TestCase * * @author Vitaliy Demidov <vitaliy@scalr.com> * @since 07.11.2012 */ class SqsTestCase extends AwsTestCase { const CLASS...
<!DOCTYPE html> <html lang="en"> <head> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" con...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">Parametrizacion Observación</div> <div class="col-md-12"> ...
<?php foreach($companies as $c){ $selected = null; if($c['subdomain_companies']==$company){ $selected = 'selected'; } echo '<option data="'. $c['contact_email'].'" '.$selected.' value="'.$c['id'].'">'.$c['company_name'].'</option>'; } ?>
<?php namespace ContainerCbkscwv; 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 getSecurity_AccessListenerServic...
<?php declare(strict_types = 1); namespace PHPStan\Rules\Classes; use PHPStan\Rules\ClassCaseSensitivityCheck; use PHPStan\Rules\Generics\GenericObjectTypeCheck; use PHPStan\Rules\MissingTypehintCheck; use PHPStan\Rules\PhpDoc\UnresolvableTypeHelper; use PHPStan\Rules\Rule; use PHPStan\Testing\RuleTestCase; use const...
<?php declare(strict_types = 1); use Nette\Configurator; require __DIR__ . '/../vendor/autoload.php'; $configurator = new Configurator; //$configurator->setDebugMode(true); //$configurator->setDebugMode(['10.0.0.1']); $configurator->enableTracy(__DIR__ . '/../var/log'); $configurator->setTimeZone('Europe/Prague');...
@extends('index-admin') @section('content') <!-- ########## START: MAIN PANEL ########## --> <div class="br-pageheader"> <nav class="breadcrumb pd-0 mg-0 tx-12"> <a class="breadcrumb-item" href="#">Dashboard</a> <a class="breadcrumb-item" href="{{ route('usuarios.PlantillaDescarga') }}">Plantilla de...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Migrate extends CI_Controller { public function __construct() { parent::__construct(); $this->input->is_cli_request() or exit("Execute via command line: php index.php migrate"); $this->load->library('mig...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Category; use App\CategoryType; use App\User; use Session; class CategoriesController extends Controller { // public function __construct() // { // $this->middleware('admin'); // } /** * Displ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/video/transcoder/v1beta1/resources.proto namespace Google\Cloud\Video\Transcoder\V1beta1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Multiplexing...
@extends('layout.plantilla'); @section('contenido') <div class="container"> <h1>Desea eliminar registro ? Codigo : {{$curso->codcurso}} - Nombres : {{$curso->descripcion}}</h1> <form method="POST" action="{{ route('curso.destroy', $curso->codcurso)}}"> @method ('delete') @csrf <button type="submit" c...
<?php /** * Message translations. * * This file is automatically generated by 'yii message' 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 (key). ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddNameFieldToParseUrl extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('parse_urls',...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
@extends('layouts.smart') @section('title','Smart shop - Trang chủ') @section('slider') <div class="container-fluid"> <div class="row"> <div class="slider-wrapper"> <div class="slider-item owl-carousel owl-theme"> @foreach ($list_sliders as $slider) <div class="item"> <di...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEmailRecomendationsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('email_recomendations', function (Blueprint...
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator ...
<?php namespace ManaPHP\Http\Globals\Proxies; use ArrayAccess; use JsonSerializable; class ServerProxy implements ArrayAccess, JsonSerializable { /** * @var \ManaPHP\Http\Request */ protected $_request; /** * @param \ManaPHP\Http\Request $request */ public function __construct($r...
<?php namespace Sentinel\FormRequests; use Illuminate\Foundation\Http\FormRequest; class GroupCreateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that appl...
<?php namespace App\Http\Controllers\Admin; use App\Biz\Module; use App\My\MyAuth; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Auth; use Symfony\Component\HttpKernel\Exception\HttpException ; use Illuminate\Support\Facades\Hash ; use App\My\Helpers ; class IndexContr...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UserRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the v...
<?php /** * Created by PhpStorm. * User: zyw * Date: 2019/1/10 * Time: 8:17 */ namespace app\common\tools\validate; /** * param 类:参数处理类 * * 公共方法包括: * getFormatRule(); //获取格式化的规则列表: * getOriginParam(); //获取原始输入参数: * checkParamList(); //参数校验: * getFormatParam(); //获取经过根据规则补全格式化及校验后的参数集: * * 参数: * $rule:...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Categories */ $this->title = 'Create Categories'; $this->params['breadcrumbs'][] = ['label' => 'Categories', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="row"> <div class="col-sm-12 card c...
<?php include('model/class.expert.php');?> <select class="form-control postcode" name="catgeory_sub_id" id="catgeory_sub_id" > <option value="">Select Sub Category</option> <?php $ModelCall->where("status", 1); $ModelCall->where("catgeory_id", $_REQUEST['catgeory_id']); $ModelCall->orderBy("sub_category_name","asc");...
<?php /** * Template Name: Blog Template New * Template Post Type: post, page, lower48blog * Developed for The Fly Shop * @package The_Fly_Shop * Author: Chris Parsons * Author URL: https://steelbridge.io */ $the_blogpost_img = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full'); $the_post_de...
<?php namespace App\Http\Controllers; use App\Models\Detalle_RC; use App\Models\Detalle_RV; use App\Models\Empresa; use App\Models\Factura_Venta; use App\Models\Nota_Credito; use App\Models\Reporte_Tributario; use App\Models\Transaccion_Compra; use DateTime; use Illuminate\Http\Request; use Illuminate\Support\Facades...
<?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 $action = $App->getValue("a"); $errors = array(); $uid = $App->getValue('id'); if (isset($_POST['submit'])) { if ($App->can_edit_system_users || $uid == $App->user->uid) { $params = array(); //$query = "SELECT idu,group_id,username,pnumber,email,fname,lname,last_login FROM " . TABLE_PREFIX ...
<?php get_header(); if(have_posts()) : while(have_posts()) : the_post(); the_title(); echo '<div class="entry-content">'; the_content(); echo '</div>'; endwhile; endif; get_footer(); ?>
<?php namespace App\Http\Controllers; use App\Http\Requests\CreateAbout_Contacts_TextRequest; use App\Http\Requests\UpdateAbout_Contacts_TextRequest; use App\Repositories\About_Contacts_TextRepository; use App\Http\Controllers\AppBaseController; use Illuminate\Http\Request; use Flash; use Response; class About_Conta...
<?php $base_url = config_item('base_url'); $cdn_url = config_item('cdn_url'); ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" ng-app="mainApp" ng-controller="mainCtrl"> <head> <base href="<?php echo $base_url; ?>"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="google" c...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Articles */ $this->title = 'Новая статья'; $this->params['breadcrumbs'][] = ['label' => 'Articles', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="row"> <div class="col-md-12"> <ul class="breadc...
<?hh // strict <<file: __EnableUnstableFeatures('coeffects_provisional')>> abstract class A { protected darray<string, varray<int>> $events = darray[]; <<__RxShallow>> public static function eventMutable(<<__Mutable>>A $a): void { $a->events['$event'][0] = 1; } }