text
stringlengths
2
1.03M
<?php /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); ...
<?php // CREATE TABLE test_table ( id INTEGER, description TEXT, time_zone VARCHAR(30), industry INTEGER, city VARCHAR(100), state VARCHAR(100), zipcode VARCHAR(10) ); $_testFields_ = [ [ 'fname' => 'id', 'type' => 'integer', 'key' => true ], [ 'fname' => 'start_date', 'type' => 'datetime', 'generator...
@extends('layouts.templetemaster') @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('s...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace SW\DocManagerBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\J...
<?php /* * This file is part of the Acme PHP project. * * (c) Titouan Galopin <galopintitouan@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace AcmePhp\Core\Challenge\Dns; /** * Resolves DNS through dns_get_r...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Orderreport extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('Orderreport_model'); $this->load->model('Meetingreport_model'); $this->load->model('Web_user_mod...
<?php namespace TYPO3\CMS\Func\Controller; /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license infor...
<?php namespace MadWizard\WebAuthn\Dom; // SPEC 5.7 This is a dictionary containing the client extension input values for zero or more WebAuthn extensions, as defined in §9 WebAuthn Extensions. use MadWizard\WebAuthn\Extension\ExtensionInputInterface; final class AuthenticationExtensionsClientInputs extends Abstrac...
<div class="lockscreen-footer text-center" > <strong>Copyright &copy; 2021 Photo Gallery.</strong> All rights reserved. <b></b> </div>
@extends ('layouts.dashboard') @section('content') <form method="POST" action="/user/{{ $user->id }}" enctype="multipart/form-data"> {{ method_field('PUT') }} @include('user._form') </form> @endsection @section('dropzone-javascript') @include('partials.dropzone-js') @stop @section('dropzone-styles') @i...
<?php namespace App\Http\Controllers\Admin; use App\Http\Requests\NormsRequest; use App\Model\GoodsType; use App\Model\Norms; use App\Model\NormsGroup; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\DB; class NormsController extends Controller { //规格属性列表 搜索分页 ...
<?php namespace Armincms\Targomaan\Tests\Fixtures; use Illuminate\Support\Str; use Illuminate\Database\Eloquent\Model; use Armincms\Targomaan\Contracts\Translatable; use Armincms\Targomaan\Concerns\InteractsWithTargomaan; class Page extends Model implements Translatable { use InteractsWithTargomaan; /** * Dri...
@extends('frontend.layouts.master') @section('title','キャストネーム') @section('content') <div class="ktv-title-list"><span class="icon icon-woman"></span>キャストネーム @if($girls[0]['girl_name'] !='') <span class="model-name"> {!! str_replace('-', ' ', $girls[0]['girl_name']); !!} </span> @endif </div> <div class="ktv-...
@extends('Shared.Layouts.Master') @section('title') @parent @lang("Widgets.event_widgets") @stop @section('top_nav') @include('ManageEvent.Partials.TopNav') @stop @section('menu') @include('ManageEvent.Partials.Sidebar') @stop @section('page_title') <i class='ico-code mr5'></i> @lang("Widgets.event_widgets...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Keterampilan extends Model { protected $fillable = ['keterampilan']; public function akhwats() { return $this->belongsToMany('App\Models\Admin\Akhwat', 'akhwats_skills'); } }
<!-- BEGIN PAGE LEVEL PLUGINS --> <link href="<?= base_url("assets/global/plugins/datatables/datatables.min.css") ?>" rel="stylesheet" type="text/css" /> <link href="<?= base_url("assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css") ?>" rel="stylesheet" type="text/css" /> <link href="<?= base_u...
<?php /* * This file is part of the Symfony CMF package. * * (c) 2011-2015 Symfony CMF * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Cmf\Component\Routing; use Symfony\Component\Routing\RouterInterface; /** ...
<?php namespace AwemaPL\Storage\Admin\Sections\Installations\Http\Middleware; use Closure; use Illuminate\Support\Facades\Route; use AwemaPL\Storage\Facades\Storage; class GlobalMiddleware { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure ...
<?php namespace App; use Illuminate\Contracts\Container\Container as ContainerContract; use Roots\Sage\Assets\JsonManifest; use Roots\Sage\Config; use Roots\Sage\Template\Blade; use Roots\Sage\Template\BladeProvider; /** * Theme assets */ add_action('wp_enqueue_scripts', function () { wp_enqueue_style('sage/ma...
<?php // // Open Web Analytics - An Open Source Web Analytics Framework // // Copyright 2006 Peter Adams. All rights reserved. // // Licensed under GPL v2.0 http://www.gnu.org/copyleft/gpl.html // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on ...
<h1><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('questionary/newquestion','Enter a new question');?></h1> <?php if (isset($errors)) : ?> <?php include(erLhcoreClassDesign::designtpl('lhkernel/validation_error.tpl.php'));?> <?php endif; ?> <form method="post" action="<?php echo erLhcore...
<?php namespace streltcov\geocoder; /** * Copyright 2018 Peter Streltsov * * 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 requ...
<?php /* * Copyright 2016 Denys Xavier. * * 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 ...
<?php namespace app\common\validate; use think\Validate; /** * 文章内容验证类 * Class Document * @package app\common\validate */ class Document extends Validate{ // 验证规则 protected $rule = [ 'title' => ['require','length'=>'1,30'], 'document_category_id' => ['require'], 'content' => ['req...
<?php namespace App\Libraries; class PriceParser { protected $host = "http://api.gooanalytics.com/grab/"; protected $parserConfig = []; protected $error = []; const ERROR_CODES = [ 0 => 'Domain not found in config', 1 => 'Appropriate pattern not found', 2 => "Domain cant'b...
<script src="{{ url('layui/layui.js') }}" type="text/javascript" charset="utf-8"></script> <link rel="stylesheet" href="{{ url('layui/css/layui.css') }}"> <script language="JavaScript" src="{{ url('jquery-3.2.1.min.js') }}"></script> <script language="JavaScript" src="{{ URL::asset('/') }}js/win10.js"></script> <!DOC...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep t...
<?php /** * Vonage Client Library for PHP * * @copyright Copyright (c) 2016-2020 Vonage, Inc. (http://vonage.com) * @license https://github.com/Vonage/vonage-php-sdk-core/blob/master/LICENSE.txt Apache License 2.0 */ declare(strict_types=1); namespace VonageTest\SMS\Message; use InvalidArgumentException; use V...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Edas\V20170801\Models; use AlibabaCloud\Tea\Model; class ListDeployGroupResponse extends Model { /** * @var string[] */ public $headers; /** * @var ListDeployGroupResponseBody */ public $body...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ p...
<?php # Copyright 2017 Wayne D Grant (www.waynedgrant.com) # Licensed under the MIT License require_once('BaseAnswer.php'); class PressureAnswer extends BaseAnswer { public function __construct($weather_json) { parent::__construct($weather_json); } public function generate() { $pressure...
<?php namespace Douyasi\Http\Controllers; use Douyasi\Http\Controllers\Controller; use Illuminate\Http\Request; use Auth; use Douyasi\Events\UserLogin; use Douyasi\Events\UserLogout; /** * 用户登录统一认证 * * @author raoyc <raoyc2009@gmail.com> */ class AuthorityController extends CommonController { /** * 添加路...
<?php /* * Kimkëlen - School Management Software * Copyright (C) 2013 CeSPI - UNLP <desarrollo@cespi.unlp.edu.ar> * * This file is part of Kimkëlen. * * Kimkëlen is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License v2.0 as published by * the Free Softwar...
<aside class="main-sidebar bg-secondary elevation-4"> <!-- Brand Logo --> <a href="index3.html" class="brand-link"> <!-- <img src="dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8"> --> <span class="brand-text font-weight-light">LMS</sp...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>@yield('head.title')</title> <!-- Latest compiled and minified CSS & JS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVM...
<?php /* SonataPageBundle:Page:breadcrumb.html.twig */ class __TwigTemplate_6d91fecb2a7bc7cac6419b13850a43fef5be3262b2e13a3e1620670b9ffa9c9b extends Sonata\CacheBundle\Twig\TwigTemplate14 { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; ...
<?php namespace FilippoToso\Travelport\UProfile; class typeAction { const __default = 'Add'; const Add = 'Add'; const Update = 'Update'; const Delete = 'Delete'; }
<?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 SirFaenor\OAuth1\Client\Server; use League\Oauth1\Client\Credentials\TokenCredentials; use League\OAuth1\Client\Server\Server; use League\OAuth1\Client\Credentials\TemporaryCredentials; use GuzzleHttp\Exception\BadResponseException; use League\OAuth1\Client\Credentials\CredentialsInterface; class Gar...
<!-- Modal --> <div class="modal fade" id="myApplicationStatus" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header cofirm-delete-header"...
<?php namespace App\Http\Controllers\User; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\User; use App\Setting; use Session; use Hash; class UserController extends Controller{ protected $messages_create = [ 'username.required' => 'Chúng tôi cần biết username của bạn.', 'user_name....
<?php session_start(); if (empty($_SESSION) || count($_COOKIE) == 0) { echo "<script>alert('Login dulu ya...');document.location.href='index.php';</script>"; } elseif (!isset($_SESSION['loginDonatur'])) { echo "<script>alert('Access Denied...');document.location.href='home.php';</script>"; } ...
<?php namespace Payum\Klarna\Checkout\Tests\Action\Api; use Payum\Core\Tests\GenericActionTest; use Payum\Klarna\Checkout\Action\Api\UpdateOrderAction; use Payum\Klarna\Checkout\Config; use Payum\Klarna\Checkout\Request\Api\UpdateOrder; class UpdateOrderActionTest extends GenericActionTest { protected $requestCla...
@extends('Administrator.layout') @section('content') <section class="content-header"> <h1>Dashboard</h1> </section> <section class="content"> <div> <div class="col-md-4"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-titl...
<?php namespace DMA\Friends\Classes\Notifications\Exceptions; use Exception; class TemplateNotFoundException extends Exception { }
<?php namespace Kematjaya\VisitorTrackingBundle\Features\Context; use Kematjaya\VisitorTrackingBundle\Entity\Session; use Kematjaya\VisitorTrackingBundle\EventListener\VisitorTrackingSubscriber; use Behat\Behat\Context\Context; use Behat\Behat\Context\SnippetAcceptingContext; use Behat\MinkExtension\Context\RawMinkCo...
<?php //NOTICE: DO NOT EDIT THE 'MB_VERSION' BASED ON ANY REASON, IT MAY CAUSE THE UPDATER WORK IN AN ABNORMAL WAY! define('MB_VERSION', '0.9 PreAlpha'); if (!is_file('../config.php')) response_message(500,'not installed'); require_once('../config.php'); if (defined('DEBUG_SHUT_SITE') && DEBU...
<?php namespace App\Providers; use App\Contracts\FetcherContract; use App\Services\AlphaVantageFetcher; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { ...
<?php /* * This file is part of the SexyField package. * * (c) Dion Snoeijen <hallo@dionsnoeijen.nl> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare (strict_types = 1); namespace Tardigrades\FieldType\Generator; use Tar...
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Checks if a variable is the exact same value as a constant. * * <pre> * {% if post.status is constant('Post...
<?php /** * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the...
<?php /** * OpenWeatherMap-PHP-API — A php api to parse weather data from http://www.OpenWeatherMap.org . * * @license MIT * * Please see the LICENSE file distributed with this source code for further * information regarding copyright and licensing. * * Please visit the following links to read about the usage p...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace Thecodebunny\eBayApi\Marketing\Types; /** * * @property string $campaign_id */ class BulkDeleteAdsB...
<?php /** * 123PHPSHOP * ============================================================================ * 版权所有 2015 上海序程信息科技有限公司,并保留所有权利。 * 网站地址: http://www.123PHPSHOP.com; * ---------------------------------------------------------------------------- * 这是一个免费的软件。您可以在商业目的和非商业目的地前提下对程序除本声明之外的 * 代码进行修改和使用;您可以对程序代码进...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace Onemodule\designer_pattern\Abstractfactory\Clases; use Onemodule\designer_pattern\Abstractfactory\Interfaces\Interfac...
<?php return [ 'ctrl' => [ 'title' => 'LLL:EXT:chancenportal/Resources/Private/Language/locallang_db.xlf:tx_chancenportal_domain_model_district', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'sortby' => 'sorting', ...
<a href="<?php echo base_url(); ?>" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels --> <span class="logo-mini"><b>PM</b></span> <!-- logo for regular state and mobile devices --> <span class="logo-lg"><b>Prestasi Mahasiswa</b></span> </a>
<?php namespace Drupal\Tests\responsive_image\Functional\Rest; use Drupal\Tests\rest\Functional\CookieResourceTestTrait; use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait; /** * @group rest */ class ResponsiveImageStyleXmlCookieTest extends ResponsiveImageStyleResourceTestBase { ...
@extends('layouts.main') @section('content') <div class="container w3-round-large w3-border" style="height: 800px; "> <h1 class="text-center mb-5 mt-1">Thông tin chung</h1> @error('avatar') <div class="alert alert-danger w-50 text-center"> {{ $message }} ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTableKelas extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('kelas', function ...
<?php /** * THE CODE IN THIS FILE WAS GENERATED FROM THE EBAY WSDL USING THE PROJECT: * * https://github.com/davidtsadler/ebay-api-sdk-php * * Copyright 2014 David T. Sadler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
<?php defined('BX_DOL') or die('hack attempt'); /** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defdroup Channels Channels * @indroup UnaModules * * @{ */ class BxCnlConfig extends BxBaseModProfileConfig { function __construct($aModule) { ...
<?php namespace App\ViewsComposer; use Illuminate\View\View; use App\Models\About; class AboutComposer { public function compose(View $view){ $about = About::first(); $view->with('about', $about); } }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use LaravelLocalization; class Assoziator extends Controller { public function asso(Request $request) { $eingabe = $request->input('q', ''); if (empty($eingabe)) { return redirect(LaravelLocalization::getLocalizedU...
@extends('admin.template.main') @section('content') <div class="col-md-12"> <div class="col-md-4"></div> <div class="col-md-4"> {!! Form::open(['route'=>'passengers.store','method'=>'POST']) !!} <div class="form-group"> {!!Form::label('name','Nombre') !!} {!!Form::text...
<?php namespace Oro\Bundle\PlatformBundle\Tests\Unit\Fixtures; use Oro\Bundle\PlatformBundle\EventListener\OptionalListenerInterface; use Oro\Bundle\PlatformBundle\EventListener\OptionalListenerTrait; class TestListener implements OptionalListenerInterface { use OptionalListenerTrait; public function getEna...
<?php namespace atomar\hook; use model\Extension; class Install implements Hook { /** * Hooks may receive optional params * @param $params mixed */ public function __construct($params = null) { } /** * Executed just before the hook implementation is ran * @param $exte...
<?php namespace Maatwebsite\Excel; use Closure; use Maatwebsite\Excel\Readers\Batch; use Maatwebsite\Excel\Classes\PHPExcel; use Maatwebsite\Excel\Readers\LaravelExcelReader; use Maatwebsite\Excel\Writers\LaravelExcelWriter; use Maatwebsite\Excel\Exceptions\LaravelExcelException; /** * * Laravel wrapper for PHPExce...
@extends('layouts.app_front') @section('content') <main> <div class="cont maincont"> <h1> <span> Payment </span> </h1> <span class="maincont-line1 maincont-line12"> </span> <span class="maincont-line2 maincont-line22"> </span> ...
<?php return array( //Header 'register' => 'Register', 'log_in' => 'Log in', 'log_out' => 'Log out', 'doctors' => 'Doctors', 'articles' => 'Healthy Living', 'about_us' => 'About Us', 'contact' => 'Contact', 'search_text' => 'Im looking for...', //Index 'home' => 'Home', ...
<div class="form-group"> <label class="col-sm-2 control-label" id="dosen_id"> Nama Dosen</label> <div class="col-sm-10"> {!! Form::select('dosen_id',$dosen->listDosenDanNip(),null,['class'=>'form-control','id'=> 'dosen_id','placeholder'=>"Dosen"]) !!} </div> </div> <div class="form-group"> <label class="col-sm...
<?php use Illuminate\Database\Seeder; class ClientsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { factory(\App\Models\Client::class, 5)->create(); } }
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model backend\modules\car\models\PermitDriver */ $this->title = $model->ID; $this->params['breadcrumbs'][] = ['label' => 'Permit Drivers', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="...
<?php $serverrootpath = $_SERVER['DOCUMENT_ROOT']; $includepath = $_SERVER['DOCUMENT_ROOT'] . "/portal/includes"; $rootpath = "/portal"; include("$serverrootpath/includes/db.inc.php"); include("$includepath/common.php"); user_protect(); $queryares = "select top 30 ch.CharID, ch.cCharName, ch.sLevel, sk.sSk...
<?php class About{ public function page(){ echo 'About/page'; } } ?>
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
<?php $newstr = $this->base_id.'_new_str'; $newstb = $this->base_id.'_new_stb'; $delstr = $this->base_id.'_del_str'; $delstb = $this->base_id.'_del_stb'; $gen_dialog_datasource = $this->base_id.'_gen_dialog_datasource'; $rec_dialog_datasource = $this->base_id.'_rec_dialog_datasource'; $cur_html_code = <<<HTML <div...
<?php namespace app\controllers; use Yii; use yii\web\Controller; use app\models\User; class TestController extends Controller { public function actionTest() { $tags = User::findOne(2)->longTermTAgs; foreach($tags as $tag) { echo "<p>$tag</p>"; } } }
<?php namespace app\models; use Yii; /** * This is the model class for table "abonements_clients". * * @property int $id * @property int $abonement_id * @property int $user_id * @property string $date_from * @property string $date_to * @property int $count * @property int $count_buffer * @property int $day...
<?php namespace Elixir\Kernel\Middleware; use Elixir\DI\ContainerAwareInterface; use Elixir\DI\ContainerInterface; use Elixir\HTTP\ResponseFactory; use Elixir\HTTP\ResponseInterface; use Elixir\Kernel\HTTPKernelEvent; use Elixir\Kernel\HTTPKernelInterface; /** * @author Cédric Tanghe <ced.tanghe@gmail.com> */ clas...
<?php class markitup { public static function insertProfile ($name, $description = '', $type = '', $minheight = '300', $maxheight = '800', $urltype = 'relative', $markitupButtons = '') { $sql = rex_sql::factory(); $sql->setTable(rex::getTablePrefix().'markitup_profiles'); $sql->setValue('name', $name); ...
<?php return [ 'basic' => 'Escriba aquí ...', 'select' => 'seleccione aquí ...', 'input_search' => 'ingrese busqueda ...', 'select_search' => 'filtrar busqueda por columna', ];
<?php // Login Controller Route::get('/', 'Auth\LoginController@showLoginForm')->name('login'); Route::post('/', 'Auth\LoginController@login'); Route::get('/logout', 'Auth\LoginController@logout')->name('logout'); // Profile Controller Route::get('/profile/edit', 'Auth\ProfileController@edit')->name('profile_edit');...
<?php /** * The Shortcode */ function ebor_twitter_shortcode( $atts, $content = null ) { extract( shortcode_atts( array( 'title' => '', 'user' => '', ), $atts ) ); $output = '<div class="row"> <div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 text-center"> <i class="...
@extends('layout') @section('main') <h1>Search results for: {{ $keyword }}</h1> @foreach($books as $book) <h3>{{ $book->name }}</h3> <p>{{ $book->desc }}</p> <hr> @endforeach @endsection
<?php use yii\helpers\Html; use \common\widgets\HtmlCustom; use yii\widgets\ActiveForm; use yii\helpers\Url; /* @var $this yii\web\View */ /* @var $model frontend\models\FormPhoto */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="form-photo-form"> <?php $form = ActiveForm::begin(); ?> <!-- --><?//= $...
<?php /* * This file is part of the API Platform project. * * (c) Kévin Dunglas <dunglas@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 ApiPlatform\Core\OpenApi\Model; final class ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePhaseOfDisbursmentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tbl...
<?php namespace App\LanguageFileHandling; use \Exception; class OutputHandlerFactory { public static function getFileHandler($handlerType, $project, $translations) { switch ( $handlerType ) { case 'SimpleJsonObject': return new SimpleJsonObjectOutputHandler( $project, $translations );...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Mahasiswa extends Model { protected $fillable = ['nama', 'tgl_lahir', 'nis', 'email', 'jurusan']; }
<?php /** * Copyright © Magmodules.eu. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magmodules\Channable\Service\Order\Validator; use InvalidArgumentException; use Magento\Framework\Exception\LocalizedException; use Magento\Framework\Exception\NoSuchEntityExcept...
<?php declare(strict_types=1); namespace Tests\Unit\Jwt\Verifiers; use OpenIDConnect\Config; use OpenIDConnect\Jwt\Factory as JwtFactory; use OpenIDConnect\Jwt\Verifiers\IdTokenVerifier; use OpenIDConnect\Jwt\Verifiers\LogoutTokenVerifier; use Tests\TestCase; class IdTokenVerifierTest extends TestCase { /** ...
<?php namespace ApiBundle\Response; class ApiResponseCode { const ERROR = 1000; const NOT_FOUND = 1001; const SUCCESS = 1002; const CLAIM_CREATED = 1003; const CLAIM_UPDATED = 1004; const CLAIM_INVALID = 1005; const CLAIM_NOT_EXISTS = 1006; const WRONG_INPUT = 1007; // TODO: consi...
<?php return [ Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true], Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraB...
<?php namespace App\Http\Livewire\Msf; use Livewire\Component; class MsfIndex extends Component { public $state = []; public $step = 1; protected $listeners = [ 'goToStep', 'mergeState', 'store' ]; public function store(){ dd($this->state); } public func...
--TEST-- Test for function traces with variadics (0) --SKIPIF-- <?php if (!version_compare(phpversion(), "5.6", '>=')) echo "skip >= PHP 5.6 needed\n"; ?> --INI-- xdebug.default_enable=1 xdebug.profiler_enable=0 xdebug.auto_trace=0 xdebug.trace_format=0 xdebug.dump_globals=0 xdebug.show_mem_delta=0 xdebug.collect_vars=...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use DB; use Session; use App\Http\Requests; use Illuminate\Support\Facades\Redirect; use Illuminate\Support\Facades\Redis; use App\Models\Shipping; use App\Models\DonHang; use App\Models\ChiTietDonHang; use Carbon\Carbon; use App\Models\KhachHang; use...
<?php /* WebProfilerBundle:Collector:events.html.twig */ class __TwigTemplate_1df64298ad883ca05d8971a01cdc9f9b933843700e71e3bdff6673b170212820 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 try { $this->pare...
<?php namespace AppBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class RegistroDocumentoControllerTest extends WebTestCase { /* public function testCompleteScenario() { // Create a new client to browse the application $client = static::createClient(); ...