text
stringlengths
2
1.03M
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Diaz Adventure</title> ...
<?php namespace CWM\BroadWorksConnector\Ocip\Models; /** * UserPersonalAssistantExclusionNumberAddRequest * * Add a User Personal Assistant Exclusion Number. * The response is either a SuccessResponse or an ErrorResponse. * * @see SuccessResponse * @see ErrorResponse * @Groups [{"id":"f53ece1c00394ef2...
<?php /** * Money * * PHP version 7.3 * * @category Class * @package SellingPartnerApi */ /** * Selling Partner API for Direct Fulfillment Payments * * The Selling Partner API for Direct Fulfillment Payments provides programmatic access to a direct fulfillment vendor's invoice data. * * The version of the...
<?php /* * This file is part of the Unicoee package. * * (c) Mark Fluehmann dbiz.apps@gmail.com * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ if (! function_exists('array_keys_exist')) { /** * Evaluate if at least one...
<?php namespace App\Http\Controllers; class LoginController extends Controller { public function __construct() { //$this->middleware('check:abc'); } public function index() { echo '管理员,您好!'; } public function login() { echo '登录失败,请重新登录!'; } }
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\User; use Illuminate\Support\Facades\Hash; class RegisterController extends Controller { public function __construct() { $this->middleware(['guest']); } public functio...
<?php session_start(); if(!isset($_SESSION['loggedIn']) || $_SESSION['loggedIn']!='true' || $_SESSION['userType']!='Admin'){ header("Location: ../login.php"); } ?>
<?php namespace App\Repositories\Interfaces; use Illuminate\Support\Collection; interface CandidatoRepositoryInterface extends RepositoryInterface { public function findByEmail(string $data); }
<?php /* @var $factory \Illuminate\Database\Eloquent\Factory */ use App\Models\UserAddress; use Faker\Generator as Faker; $factory->define(UserAddress::class, function (Faker $faker) { $addresses=[ ["北京市", "市辖区", "东城区"], ["河北省", "石家庄市", "长安区"], ["江苏省", "南京市", "浦口区"], ["江苏省",...
<?php /** * This file is part of the streak package. * * (C) Alan Gabriel Bem <alan.bem@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 Streak\Infrastructure\Domain\Clock; use Strea...
<?php declare(strict_types = 1); namespace Contributte\Aop\JoinPoint; use Contributte\Aop\Exceptions\UnexpectedValueException; use Contributte\Aop\PhpGenerator\AdvisedClassType; class AroundMethod extends MethodInvocation { /** @var callable[] */ private array $callChain = []; /** * @param mixed[] $arguments ...
@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">{{ __('Dashboard') }}</div> <div class="card-body"> @if (session('...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Userplanningadmin extends MY_Controller { function __construct() { parent::__construct(); $this->load->model('Userplanningmodel'); /** * css du module **/ $this->data['module_css'] = load_module_css($this->data['module_css'], 'use...
<?php namespace Mems\AdminBundle\Controller\User; use Admingenerated\MemsAdminBundle\BaseUserController\ExcelController as BaseExcelController; /** * ExcelController */ class ExcelController extends BaseExcelController { }
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSiteSchedulesMetaTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('site_...
<?php /** * This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}. * See [README.md](README.md#generating-data) for more information. * * Pull requests changing data in these files will not be accepted. See the * [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make...
<?php //由代码生成器自动生成 namespace app\index\validate; use think\Validate; class Enewsbq extends Validate{ protected $rule = [ 'bqid' => 'require|number|float|boolean|email|array|accepted|date|alpha|alphaNum|alphaDash|chs|chsAlpha|chsAlphaNum|chsDash|activeUrl|url|ip|length:4,25|max:25|min:5', 'bqname' =...
<?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 | ...
@extends('layouts.website') @section('content') <div class="index-block contentPages hypeContentText"> <div class="container"> <div class="innerdiv"> <div class="sectionTitle"><h1>Frequently Asked Questions</...
<?php $__env->startSection('title', __('Dashboard')); ?> <?php $__env->startSection('main_content'); ?> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1><?php echo e(__('Dashboard')); ?> <small><?php echo e(__('Control panel')); ?></small> ...
<?php if ( ! defined( 'ABSPATH' ) ) { die( 'You are not allowed to call this page directly.' );} ?> <div class="mepr-access-row grid mepr-left-aligned-grid"> <div class="col-1-12"> <?php if ( $index > 0 ) : ?> <span class="mepr-rule-access-and-or"><strong><?php _e( 'OR', 'memberpress' ); ?></strong></span> <?p...
@extends('layouts.app') @section('content') <h1>Edit Post</h1> {!! Form::open(['action' => ['PostsController@update', $post->id], 'method' => 'POST', 'enctype' => 'multipart/form-data']) !!} <div class="form-group"> {{Form::label('title','Title')}} {{Form::text('title', $post->ti...
<?php namespace RectorPrefix20210603; if (\class_exists('Tx_Extbase_MVC_Exception_InvalidArgumentType')) { return; } class Tx_Extbase_MVC_Exception_InvalidArgumentType { } \class_alias('Tx_Extbase_MVC_Exception_InvalidArgumentType', 'Tx_Extbase_MVC_Exception_InvalidArgumentType', \false);
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Support\Facades\Redirect; use Illuminate\Support\Facades\URL; class EnsureEmailIsVerified { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param...
<div class="regionalSales allSalesReport"> <h3 class="commonHeadingV2">Branches Sales</h3><input type="text" name="search_branch" id="search_branch" onkeyup="search()"> <input type="hidden" name="search_key" id="search_key" value="<?php echo $config['search_key'];?>"> <div class="customClear"></div> <di...
<?php namespace App\Listeners; use Mail; use App\Events\PurchaseEmailEvent; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; class SendPurchaseEmail { /** * Create the event listener. * * @return void */ public function __construct() { // } /** * Handle the event....
<?php /** * Managing Currencies * * * @category API wrapper * @package OnApp * @author * @copyright © 2016 OnApp * @link http://www.onapp.com/ * @docs https://docs.onapp.com/display/42API/Currencies * @see OnApp */ /** * Managing Currencies * * * The Availability class use...
<?php namespace App\Models\Tenant; use App\Models\Tenant\Catalogs\CurrencyType; class DocumentFee extends ModelTenant { public $timestamps = false; protected $table = 'document_fee'; protected $fillable = [ 'document_id', 'date', 'currency_type_id', 'amount', ]; ...
<?php namespace Flugg\Responder\Tests\Unit\Http\Responses; use Flugg\Responder\Contracts\ErrorSerializer; use Flugg\Responder\ErrorFactory; use Flugg\Responder\Exceptions\InvalidErrorSerializerException; use Flugg\Responder\Http\Responses\ErrorResponseBuilder; use Flugg\Responder\Serializers\JsonSerializer; use Flugg...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLevelsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('levels', functio...
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * Description of Pctt * * @author TR17358PS */ class Arquivo_Model_DataMapper_Pctt { private $db; public function __construct() { $this->db = Zend_Db_Table_Abstract::ge...
<?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 Grav\Common\GPM\Remote; use Grav\Common\Iterator; class Packages extends Iterator { private $plugins; private $themes; protected static $cache; public function __construct($refresh = false, $callback = null) { // local cache to speed things up if (!isset(self::$cac...
<?php /* Plugin Name: Audio player Plugin URI: http://wpaudioplayer.com Description: Audio Player is a highly configurable but simple mp3 player for all your audio needs. You can customise the player's colour scheme to match your blog theme, have it automatically show track information from the encoded ID3 tags and mor...
@if ($paginator->hasPages()) <ul class="pagination justify-content-center" role="navigation"> {{-- Previous Page Link --}} @if ($paginator->onFirstPage()) <li class="page-item disabled"><span class="page-link">&laquo;</span></li> @else <li class="page-item"><a class=...
<?php namespace Logit\Providers; use Logit\Notification; use Illuminate\Support\Facades\Auth; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ pub...
<?php /** * Frenet Shipping Gateway * * @category Frenet * * @author Tiago Sampaio <tiago@tiagosampaio.com> * @link https://github.com/tiagosampaio * @link https://tiagosampaio.com * * Copyright (c) 2020. */ use Mage_Sales_Model_Quote_Item as QuoteItem; use Frenet_Shipping_Model_Quote_Item_Price_CalculatorInt...
@extends('authentication::layouts.base') @section('head_css') @parent {{ HTML::style('packages/palmabit/catalog/css/catalog.css') }} @stop @section('container') <div class="row"> <div class="col-md-2 nav bs-sidenav"> @include('authentication::layouts.sidebar') </div> <div class="col-md-10"...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <title>layout 后台大布局 - Layui</title> <link rel="stylesheet" href="/status/layui/css/layui.css"> <mrta name="csrf-token" content="{{csrf_token}}"> </head> <body class="layui...
@extends('admin.master') @section('content') @section('title') @lang('payment.payment_history') @endsection <div class="container-fluid"> <div class="row bg-title"> <div class="col-lg-3 col-md-4 col-sm-4 col-xs-12"> <ol class="breadcrumb"> <li class="active breadcrumbColor"><a href="{{ url('dashboard')...
<?php namespace frontend\models; use yii\db\ActiveRecord; class OrderGoods extends ActiveRecord{ public function rules() { return [ ['order_id','required'], ['goods_id','required'], ['goods_name','required'], ['logo','required'], ['price','r...
<?php namespace Web\MaestrasBundle\Util; class Util { static public function getSlug($cadena, $separador = '-') { // Código copiado de http://cubiq.org/the-perfect-php-clean-url-generator $slug = iconv('UTF-8', 'ASCII//TRANSLIT', $cadena); $slug = preg_replace("/[^a-zA-Z0-9\/_|+ -...
<?php namespace MobileCart\FedexBundle\Api\RateV10\SimpleType; /** * Identifies a kind of FedEx facility. * * */ class FedExLocationType extends SimpleTypeAbstract { const FEDEX_EXPRESS_STATION = 'FEDEX_EXPRESS_STATION'; const FEDEX_GROUND_TERMINAL = 'FEDEX_GROUND_TERMINAL'; const FEDEX_OFFICE = 'F...
<?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 = [ 'id', 'name', 'e...
<?php namespace GymWebsite\Http\Controllers\Auth; use GymWebsite\Http\Controllers\Controller; use Illuminate\Foundation\Auth\SendsPasswordResetEmails; class ForgotPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Contro...
<?php namespace App\Controller; use App\Exception\ContentGoneException; use App\Service\Lodestone\LinkshellService; use App\Service\Lodestone\ServiceQueues; use App\Service\LodestoneQueue\LinkshellQueue; use Lodestone\Api; use App\Common\Service\Redis\Redis; use Symfony\Bundle\FrameworkBundle\Controller\AbstractContr...
<?php /** * Created by PhpStorm. * User: hr * Date: 2018/9/25 * Time: 11:36 */ namespace app\index\model; interface UserModel { }
<?php class DummyModel extends BaseModel { }
<?php namespace Carnage\Cqrs\Persistence\EventStore; class InMemoryEventStore implements EventStoreInterface, LoadEventsInterface { private $store; private $events; public function load($aggregateType, $id) { if (!isset($this->store[$aggregateType][$id])) { throw new NotFoundExce...
@extends('layouts.master') @section('title', 'Perguntas Frequentes') @section('content') <div class="container faq"> <div class="content"> <div class="formulario"> <h2>Perguntas Frequentes</h2> {!! Html::ul($errors->all(), ['class'=>'alert alert-danger']) !!} {!! Form::model($pergun...
<?php namespace App\Transformers; use App\Models\UserSubject; use League\Fractal\TransformerAbstract; class UserSubjectTransformer extends TransformerAbstract { protected $defaultIncludes = [ 'subject', ]; public function transform(UserSubject $us) { if (empty($us)){ retu...
<?php /** * Created by PhpStorm. * User: Jungle * Date: 2018/2/23 * Time: 10:30 */ namespace App\Org\Util; class Arrays { /** +---------------------------------------------------------- * 把返回的数据集转换成Tree +---------------------------------------------------------- * @access public +---...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class TipoReclamo extends Model { use HasFactory; protected $connection = 'mysql_connect_4'; protected $table = "tipo_reclamo"; protected $primaryKey = 'id_tipo'; public $ti...
<?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 //Get posted parameters $json = file_get_contents('php://input'); $obj = json_decode($json, TRUE); function IsNullOrEmptyString($question){ return (!isset($question) || trim($question)===''); } $jsonIterator = new RecursiveIteratorIterator( new RecursiveArrayIterator(json_decode($json, TRUE)), Recur...
<?= $header; ?> <?php if (session('mensaje')){ echo '<div class="alert alert-danger" role="alert">'; echo session('mensaje'); echo '</div>'; } ?> <div class="card"> <div class="card-header"> <h5>Edición de modelo de vehículo</h5> </div> <div class="card-body"> ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddColumnEficiencia extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('formulario_precebo', function($table) { ...
<?php /** * Checkout.com Packages\Checkoutapi\Client\Adapter\CheckoutapiClientAdapterConstant. * * PHP Version 5.6 * * @category Api * @package Checkoutapi * @license https://checkout.com/terms/ MIT License * @link https://www.checkout.com/ */ /** * CheckoutapiClientAdapterConstant. * * Constant class for...
<?php /** * CodeIgniter * * An open source application development framework for PHP 5.2.4 or newer * * This content is released under the MIT License (MIT) * * Copyright (c) 2014, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of th...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel backend\models\search\ChoferesSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Choferes'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="choferes-index box box-primary"> ...
<?php namespace App\Console; use App\Console\Commands\ListingsImport; 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 */ prot...
<?php namespace MargaTampu\LaravelInspector\Http\Controllers; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use MargaTampu\LaravelInspector\InsAuth; use MargaTampu\LaravelInspector\InsLog; use MargaTampu\LaravelInspector\Http\Resources\InsLogCollection; use MargaTampu\LaravelInspector\Http\Resourc...
<?php /** * InlineObject3Test * * PHP version 5 * * @category Class * @package OpenAPI\Client * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use t...
<?php namespace Entity\EntityBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * OffreEmploi * * @ORM\Table(name="offre_emploi") * @ORM\Entity(repositoryClass="Entity\EntityBundle\Repository\OffreEmploiRepository") */ class OffreEmploi { /** * @var int * * @ORM\Column(name="id", type="integ...
<?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. */ declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Doctrine\ORM; use Doctrine\ORM\QueryBuil...
<?php declare (strict_types=1); namespace RectorPrefix20211030\Symplify\Astral\ValueObject\NodeBuilder; use PhpParser\Builder\Property; /** * @api * Fixed duplicated naming in php-parser and prevents confusion */ final class PropertyBuilder extends \PhpParser\Builder\Property { }
<?php /** * 2017 PHPIST * * NOTICE OF LICENSE * * @author Yassine Belkaid <yassine.belkaid87@gmail.com> * @copyright 2017 PHPIST * @license MIT License */ if (!defined('_PS_VERSION_')) { exit; } class PhpistCustomerRegistrationBlocker extends Module { public function __construct() { $...
<?php namespace Fhir\V_301\FHIRResource\FHIRExplanationOfBenefit; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: March 20th, 2018 * * PHPFHIR Copyright: * * Copyright ...
@extends('back.layouts.base') @section('titulo') <title>Renovación de ayudantía técnica - Sicdeudo</title> @stop @section('content') @include('back.layouts.content-title', ['titulo' => 'Renovación de Ayudantía Técnica']) <div class="row"> <div class="col-xs-12"> <div class="card-box"> <div class="row"> ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?><!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?= $this->lang->line('sale') . ' ' . $inv->reference_no; ?></title> <link href="<?= $assets ?>styles...
<?php namespace App\Http\Controllers; use App\AboutUs; class HomeController extends Controller { public function aboutUs() { return view('pages.about-us', [ 'aboutUs' => (new AboutUs())->getAll() ]); } }
<?php declare(strict_types = 1); use PHPUnit\Framework\TestCase; use Sop\PKCS5\PBEKD\PBEKDF; use Sop\PKCS5\PBEKD\PBEKDF2; use Sop\PKCS5\PRF\HMACSHA1; /** * @group pbe * @group kdf * * @internal */ class PBEKDF2Test extends TestCase { /** * @return PBEKDF */ public function testCreate() { ...
@extends('layouts.app') @section('css') @endsection @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-header">產品類別 - Edit</div> <div class="card-body"> ...
<?php $cfg['token'] = 'token'; $cfg['webhook'] = 'webhook'; $cfg["max_connections"] = 40; $cfg['defaultdata'] = [ 'count' => 0, 'text' => [], 'start' => false, //($user_id > 0), 'column' => [ 1 => 1, 2 => 1, 3 => 3, 4 => 3, 5 => 2, 6 => 2, 7 => 2, 8 => 2, 9 => 2, 10 => 1, ], 'sort' => false, ...
<?php use App\Models\LoyalCustomer; return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and pas...
<?php $url = "127.0.0.1/news"; echo "<script type='text/javascript'>"; echo "window.location.href='$url'"; echo "</script>"; ?>
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Address extends Model { protected $table = 'addresss'; // 关联数据表 public $timestamps = true; // 维护时间戳 protected $fillable = ['name','phone','user_id','huo','xhuo']; // 批量赋值属性 }
<?php namespace PHPSTORM_META { /** * PhpStorm Meta file, to provide autocomplete information for PhpStorm * Generated on 2017-03-22. * * @author Barry vd. Heuvel <barryvdh@gmail.com> * @see https://github.com/barryvdh/laravel-ide-helper */ $STATIC_METHOD_TYPES = [ new \Illuminat...
<?php include 'Partials/header.php' ?> <input type="hidden" id="base_path" value="<?php echo base_url(); ?>"> <div class="container-fluid mt-3 w-100"> <div class="card"> <div class="card-header"> <strong>Issue Materials</strong> </div> <form class="m-3" id="formBody" method="post" enctype="multipart/...
<?php use_helper('ysJQueryRevolutions') ?> <?php use_helper('ysJQueryUICore'); ?> <?php use_helper('ysJQueryUIMenu'); ?> <!-- style exceptions for IE 6 --> <!--[if IE 6]> <style type="text/css"> .fg-menu-ipod .fg-menu li { width: 95%; } .fg-menu-ipod .ui-widget-content { border:0; } </style> <![endif]--> <script ...
<?php /** * This phpFile is auto-generated. */ declare(strict_types=1); namespace AurimasNiekis\TdLibSchema; /** * An ordinary language pack string. */ class LanguagePackStringValueOrdinary extends LanguagePackStringValue { public const TYPE_NAME = 'languagePackStringValueOrdinary'; /** * String v...
<?php $fp = fopen ("path.php", "r"); $path = fgets ($fp, 255); fclose ($fp); if(session_id() == '') { session_start(); } $_SESSION['path']=$path; ?> <!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-sca...
<?php /* @var $this \yii\web\View */ /* @var $content string */ use backend\assets\AppAsset; use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use common\widgets\Alert; use webvimark\modules\UserManagement\components\GhostMenu; use webvimark\modules\UserManagement\Use...
@extends('layouts.menu') <meta name="csrf-token" content="{{ csrf_token() }}" /> @auth @section('content') <div class="col-md-12"> <div class="card "> <form method="POST" action="{{ route('upeditaudit',array('lid' =>$lid)) }}" name="formedit" enctype="multipart/f...
<?php namespace app\controllers; use Yii; use yii\filters\AccessControl; use yii\web\Controller; use yii\web\Response; use yii\filters\VerbFilter; use app\models\LoginForm; use app\models\ContactForm; use app\models\CookmannMenu; use app\models\CookmannMenuSearch; use app\models\CookmannCallback; use app\models\Cookm...
<center> <br> <h1>404-Page Not Found</h1> </center>
<?php // +---------------------------------------------------------------------- // | OneThink [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2013 http://www.onethink.cn All rights reserved. // +-----------------------------------------------...
<?php namespace backend\controllers; use Yii; Yii::$app->getModule('debug')->instance->allowedIPs = []; use backend\models\UserGradoAcademico; use backend\models\UserGradoAcademicoSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * UserGradoAcademicoController imple...
@extends('layouts.app') @section('title', '创建隧道') @section('content') <div class="offset-md-2 col-md-8"> <div class="card "> <div class="card-header"> <h5>更新隧道</h5> </div> <div class="card-body"> <form method="POST" action="{{ route('tunnel.update') }}"> ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * BlizzCMS * * An Open Source CMS for "World of Warcraft" * * This content is released under the MIT License (MIT) * * Copyright (c) 2017 - 2019, WoW-CMS * * Permission is hereby granted, free of charge, to any person obtaining a copy *...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEntrevistasTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('entrevistas', function (Blueprint $table) { ...
--TEST-- XMLWriter: libxml2 XML Writer, membuffer, flush --EXTENSIONS-- xmlwriter --FILE-- <?php $xw = new XMLWriter(); $xw->openMemory(); $xw->startDocument('1.0', 'UTF-8', 'standalone'); $xw->startElement("tag1"); $xw->endDocument(); // Force to write and empty the buffer echo $xw->flush(true); ?> --EXPECT-- <?xml ...
@extends('layouts.app') @section('content') <div id="content"> <div class="card"> <div class="card-header title"> <h4><strong>Editar categoria</strong></h4> </div> <div class="card-body"> <form action={{ url('/categories/store/') }} metho...
<?php /* * Copyright (c) Romain Cottard * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Eureka\Component\Database; /** * Class Connection * * @author Romain Cottard * @codeCoverageIgnore *...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\OpenSearch\V20171225\Models; use AlibabaCloud\Tea\Model; class CompileSortScriptResponse extends Model { /** * @var string[] */ public $headers; /** * @var CompileSortScriptResponseBody */ pu...
<?php namespace App\Modules\Awards\Models; use HTML, SoftDeletingTrait, BaseModel; class Award extends BaseModel { use SoftDeletingTrait; protected $dates = ['deleted_at', 'achieved_at']; protected $fillable = [ 'title', 'url', 'position', 'achieved_at', 'gam...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class userController extends Controller { // function home () { return view('welcome');} function about () { return view('About');} function contact () { return view('Contact');} ...
<?php // Headers header('Access-Control-Allow-Origin: *'); header('Content-Type: application/json'); header('Access-Control-Allow-Methods: DELETE'); header('Access-Control-Allow-Headers: Access-Control-Allow-Headers,Content-Type,Access-Control-Allow-Methods, Authorization, X-Requested-With'); include_once...
@extends('layouts.dashboard') @section('content') <div class="w-75"> @if ($errors->any()) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> </div> @endif ...
<?php namespace Elgg\lib\output; /** * @group Output */ class FormatAttributesTest extends \Elgg\TestCase { public function testGeneralUsage() { $attrs = [ 'A' => 'Hello & &amp; < &lt;', 'b' => false, // ignored 'c' => true, 'd' => null, // ignored 'e' => ['&', '&amp;', '<', '&lt;'], 'f' => (o...