text
stringlengths
2
1.03M
<?php namespace App\Http\Middleware; use Closure; class PEGAWAI { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { return $next($request); ...
<?php namespace dvizh\cart\assets; use yii\web\AssetBundle; class WidgetAsset extends AssetBundle { public $depends = [ 'yii\web\JqueryAsset', 'yii\bootstrap\BootstrapPluginAsset', ]; public $js = [ 'js/scripts.js', ]; public $css = [ 'css/styles.css', ]; ...
<?php namespace notifications; /** * A model class that represents a push notification. */ class Push { /** @var string The title of the push notification. */ private $title; /** @var string The message of the push notification. */ private $message; /** @var string The URL of an image for the no...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateActivitiesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { // Schema::create('activities', function(Blueprint $table){...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\permit; use Faker\Generator as Faker; use Carbon\Carbon; $factory->define(permit::class, function (Faker $faker) { $tehnickipregled = ['Remetinec', 'Vrbani', 'Split', 'Sisak', 'Dubrovnik']; return [ 'vrijedi_od...
<div class="container"> <!-- Outer Row --> <div class="row justify-content-center"> <div class="col-lg-7"> <div class="card o-hidden border-0 shadow-lg my-5"> <div class="card-body p-0"> <!-- Nested Row within Card Body --> <div class="...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...
<?php /** * A DocElement represents a logical element within a Doc Comment. * * PHP version 5 * * @category PHP * @package PHP_CodeSniffer * @author Greg Sherwood <gsherwood@squiz.net> * @author Marc McIntyre <mmcintyre@squiz.net> * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600) * @license http...
<!DOCTYPE html> <html lang="en"> @include('admin-partials.dt-styling') <body> @include('admin-partials.loader') <div id="pcoded" class="pcoded"> <div class="pcoded-overlay-box"></div> <div class="pcoded-container navbar-wrapper"> @include('admin-partials.navbar') <!-- Sid...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\DataUser; use Faker\Generator as Faker; $factory->define(DataUser::class, function (Faker $faker) { return [ 'user_id' => $faker->numberBetween(1, 29), 'house_id' => $faker->numberBetween(1, 6), 'views' => rand(1,150...
<?php require __DIR__ . '/vendor/autoload.php'; require_once "ArraySort.php"; use Openbuildings\Spiderling\Page; $page = new Page(); $link = readline("link : "); try { $page->visit($link); $result = []; $title = $page->find('title'); $result[] = $title->text() . "\n"; $meta = $page->find('meta[nam...
<?php namespace Acme\BehatBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class AcmeBehatBundle extends Bundle { }
<x-app-layout> <style> .manu { width: 960px; margin: 60px auto; border: 1px solid #222; /* background-color: blue; */ background-image: linear-gradient(yellow, #1222); border-radius: 6px; box-shadow: 0 1px 1px #777; } </style> <div class="container-fluid"> <x-slot name="header"> ...
<?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.app') @section('content') <div class="panel panel-default"> <div class="panel-heading"> Users </div> <div class="panel-body"> <table class="table table-hover"> <thead> <th> Image ...
<?php /** * The MIT License (MIT) * * Copyright (c) 2014 cepharum GmbH, Berlin, http://cepharum.de * * 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, including wit...
<?php namespace WebEd\Plugins\Features\Http\DataTables; use WebEd\Base\Http\DataTables\AbstractDataTables; use Yajra\Datatables\Engines\CollectionEngine; use Yajra\Datatables\Engines\EloquentEngine; use Yajra\Datatables\Engines\QueryBuilderEngine; use WebEd\Plugins\Features\Models\Amenities; class AmenitiesListDataTa...
<?php $__env->startComponent('mail::layout'); ?> <?php $__env->slot('header'); ?> <?php $__env->startComponent('mail::header', ['url' => config('app.url')]); ?> <?php echo e(config('app.name')); ?> <?php if (isset($__componentOriginala6c60a8eadc3b56c524581de8cda10d4f5a799b4)): ?> <?php $component = $__componentOrigin...
<div class="float-menu"> <div class="menu-icons"> <div class="icon-item navigation-switcher"> <span class="glyph burger"></span> <span class="icon-title">Навигация</span> </div> <div class="icon-item ambulance-switcher"> <span class="glyph doctor"></span> ...
<?php /** * See also: * - ResourceLoaderImageModuleTest::testContext * * @group ResourceLoader * @covers ResourceLoaderContext */ class ResourceLoaderContextTest extends PHPUnit\Framework\TestCase { use MediaWikiCoversValidator; protected static function getResourceLoader() { return new EmptyResourceLoader...
<?php /* Gibbon, Flexible & Open School System Copyright (C) 2010, Ross Parker This program 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. ...
<?php /** * sib-contact-form-integration plugin for Craft CMS 3.x * * A contact form integration for the Send in Blue API * * @link https://github.com/WC4B/sib-contact-form-integration * @copyright Copyright (c) 2020 Joel Beer */ namespace wc4b\sibcontactformintegration\models; use Craft; use craft\base\Mo...
<?php namespace Google\AdsApi\AdManager\v202005; /** * This file was generated from WSDL. DO NOT EDIT. */ class DeviceCapabilityTargeting { /** * @var \Google\AdsApi\AdManager\v202005\Technology[] $targetedDeviceCapabilities */ protected $targetedDeviceCapabilities = null; /** * @var \...
<?php /************************************************************************************* * autoconf.php * ----- * Author: Mihai Vasilian (grayasm@gmail.com) * Copyright: (c) 2010 Mihai Vasilian * Release Version: 1.0.9.1 * Date Started: 2010/01/25 * * autoconf language file for GeSHi. * ******************...
<?php /** * Created by PhpStorm. * User: Inhere * Date: 2017/3/29 0029 * Time: 22:03 */ namespace Toolkit\ObjUtil\Traits; use Toolkit\ObjUtil\Exception\GetPropertyException; use Toolkit\ObjUtil\Exception\PropertyException; use Toolkit\ObjUtil\Exception\SetPropertyException; use function get_class; use function m...
<?php namespace Senegal\BackBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class SenegalBackBundle extends Bundle { }
<?php use App\Models\Resident; use App\Models\User; use Illuminate\Support\Facades\Route; use Endroid\QrCode\Color\Color; use Endroid\QrCode\Encoding\Encoding; use Endroid\QrCode\ErrorCorrectionLevel\ErrorCorrectionLevelLow; use Endroid\QrCode\QrCode; use Endroid\QrCode\Label\Label; use Endroid\QrCode\Logo\Logo; use ...
<?php declare(strict_types=1); if (getenv('UIM_ENV_REPLACE_ENABLE')) { foreach (getenv() as $envKey => $envValue) { global $_ENV; $envUpKey = strtoupper($envKey); // Key starts with UIM_ if (strpos($envUpKey, 'UIM_') === 0) { // Valid env key, set to _ENV $c...
@extends('layout.app') @section('content') <!-- LOAD PAGE --> <!-- BANNER --> <div class="section banner-page" data-background="{{asset('images/gallerys.png')}}"> <div class="content-wrap pos-relative"> <div class="d-flex justify-content-center bd-highlight mb-3"> <div...
<?php /** * Created by PhpStorm. * User: carri_000 * Date: 23.09.2016 * Time: 20:24 */ namespace Pachisi\Board; class FourPlayerGameBoard extends GameBoardAbstract { /** * Template Method Pattern * * Forces to implement the number of fields per player in inhereted classes * * @retu...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use DateTime; use DateTimeZone; use Config; class PayoutCredentials extends Model { // Return the drivers default payout_preference details public function payout_preference() { return $this->belongsTo('App\Models\PayoutPrefer...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use App\Models\Project; use App\Models\User; use App\Models\Task; class ProjectController extends Controller { public function index() { $projetos = Project::get(); return...
<div class="page-content"> <nav class="page-breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="#">User</a></li> <li class="breadcrumb-item active" aria-current="page">Incubation Application</li> </ol> </nav> <form method="post" action=""> <div class="col-md-12 grid-margin stretch-c...
<?php require_once("res/funkcje.php"); $pola=CZYTAJ("*","BAY","number"); $urzadzenia=CZYTAJ("*","DEVICE","id"); // OBLICZANIE WYSOKOSCI OBRAZKA $w=array(); for ($i=0; $i<count($pola); $i++) { $h=0; for ($j=0; $j<count($urzadzenia); $j++) { if ($urzadzenia[$j]['bay_id']==$i+1) $h++; } $w[$i]=$h; } $WYSOKOSC=max...
</div> <footer class="bg-dark"><a href="#header">Ir arriba</a></footer> </div> </body> </html>
<?php namespace App; use Illuminate\Database\Eloquent\Model; class PurchaseAccount extends Model { protected $fillable = [ 'image', 'name', 'email', 'phone', 'address', 'due', 'paid', 'balance' ]; protected $table = 'purchase_accounts'; }
<?php namespace stjo\Http\Repositories; class publicSidebarRepo { public function ambilBacaan() { /** * Ambil Bacaan */ $bacaan = \stjo\Model\Bacaan::all()->sortBy('tgl_bacaan')->reverse()->take(5); return $bacaan; } /** * @return static */ ...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class TComprobanteSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // } }
<?php namespace Admin\Controller; use Think\Controller; use Admin\Common\Controller\CommonController; class AuthRuleController extends CommonController{ //权限菜单列表; public function index(){ //判断是否有管理组添加的权限 $pid = I('pid'); $add_group = D('AuthRule')->getRule($pid,'权限添加'); $_GET['add_ru...
<?php $this->load->view('layout/header_head'); ?> <?php $this->load->view('layout/header_body_default'); ?> <div id="page-content"> <div class="row"> <div class="col-lg-6"> <?php $this->load->view('components/panels/sensors'); ?> <?php $this->load->view('components/panels/lights'); ...
<?php declare(strict_types=1); namespace ExtendsFramework\Logger\Priority\Alert; use PHPUnit\Framework\TestCase; class AlertPriorityTest extends TestCase { /** * Get methods. * * Test that get methods will return correct values. * * @covers \ExtendsFramework\Logger\Priority\Alert\AlertPr...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php namespace common\models; use common\functions\GlobalFunctions; use Yii; use yii\mongodb\ActiveRecord; /** * Location model * * @property integer $_id * @property string $user_id * @property string $alerts * @property string $location */ class Alerts extends ActiveRecord { /** * @inheritdoc ...
<?php /* * Copyright 2022 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
<?php namespace Lexik\Bundle\FormFilterBundle\Event\Listener; use Doctrine\ORM\Query\Expr\Composite; use Doctrine\DBAL\Query\Expression\CompositeExpression; use Lexik\Bundle\FormFilterBundle\Event\ApplyFilterConditionEvent; use Lexik\Bundle\FormFilterBundle\Filter\Condition\ConditionInterface; use Lexik\Bundle\FormFi...
<?php namespace App\Console\Commands; use App\Http\Controllers\ParseController; use App\Imports\MunicipalitiesImport; use App\Imports\MunicipalitiesUpdateImport; use App\Imports\ProvincesImport; use App\Imports\TownsImport; use Illuminate\Console\Command; class Import extends Command { /** * The name and si...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateVotablesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('votables', function (Blueprint $...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Str; class SessionTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('sessions')->truncate(); $faker = \Faker...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Profil extends CI_Controller { // public function index() // { // $data['title'] = 'TPPKK Wonogiri'; // $this->load->view('templates/header', $data); // $this->load->view('pkk/profil', $data); // $this->...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Translation\Command; use Symfony\Component\Console\Co...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class OrderLogs extends Model { protected $table = "order_logs"; public $timestamps = true; protected $fillable = [ 'user_id', 'provider_id', 'sport_id', 'bet_id', 'bet_selection', 'statu...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePreChatMsgTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('chat_msg', function(Blueprint $table) ...
<?php namespace app\modules\structure\models; use app\models\BaseModel; use app\modules\manuals\models\Regions; use Yii; use yii\db\ActiveQuery; use yii\helpers\ArrayHelper; /** * This is the model class for table "dep_address". * * @property int $id * @property int|null $physical_region * @property string|null...
<fieldset class="form-horizontal"> <legend>Artikeldaten</legend> <div class="form-group"> <label class="col-sm-2 control-label" for="text">Artikel-Nr.</label> <div class="col-sm-10"> <input type="text" class="form-control" name="REX_INPUT_VALUE[1]" value="REX_VALUE[1]"> </div...
<?php Route::get('/dashboard', 'Admin\PageController@index')->name('dashboard');
<?php namespace App\Helpers; class Helper { public static function getProfileImage($user) { if($user->profileImage) { return '/public/avatar/'.$user->profileImage->path; } else { return '/public/avatar/default.png'; } } public static ...
<?php /* SyliusAdminBundle:Order/Label/PaymentState:paid.html.twig */ class __TwigTemplate_0c7303acc043220a26bf87fedb0379ceda7e4072b0860f720f37e635121c756a extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $t...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Cont...
<?php namespace glx\core; use glx\Common\_string; class Str extends Property { protected static string $_type = 'STRING'; public function __construct($options) { if (is_string($options)) { $this->value = new _string($options); ...
<?php namespace App\Http\Controllers\User; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\PinNumber; use App\Models\Client; use Illuminate\Support\Facades\Auth; use App\Log; use App\Models\Api; use App\Group; use App\Contact; use GuzzleHttp\Exception\GuzzleException; use App\Models\S...
<?php class Krs_model extends CI_Model { public $table = 'krs'; public $id = 'id_krs'; public function insert($data) { $this->db->insert($this->table, $data); } public function get_by_id($id) { $this->db->where($this->id,$id); return $this->db->get($this->table)->row(); } public function updat...
<?php namespace App\Listeners; use App\Events\ContactRequestCreated; use App\Mail\ContactRequestCreatedMail; use Illuminate\Support\Facades\Mail; class SendContactRequestEmail { /** * Handle the event. * * @param ContactRequestCreated $event * @return void */ public function handle(C...
<?php /** * UpdateClientVisitRequest * * PHP version 5 * * @category Class * @package Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * MINDBODY Public API * * No description provided (generated by Swagger Codegen https://github.com/swagger...
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";s:6:"active";s:4:"type";s:7:"boolean";s:6:"length";N;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:1;s:7:"options";a:1:{s:7:"default";b:1;}s:16:"columnDefinition";N;}}');
<div class="sidebar sidebar-style-2"> <div class="sidebar-wrapper scrollbar scrollbar-inner"> <div class="sidebar-content"> <div class="user"> <div class="avatar-sm float-left mr-2"> <img src="<?php echo base_url() ?>templateBackend/img/profile.jpg" alt="..." class="avatar-img rounded-circ...
@extends('layouts.app') @section('content') <h1>id: {{ $tasks->id }} のタスク編集ページ</h1> @include('commons.error_messages') <div class="row"> <div class="col-xs-12 col-sm-offset-2 col-sm-8 col-md-offset-2 col-md-8 col-lg-offset-3 col-lg-6 col-lg-offset-3"> {!! Form::model($tasks, ['route'...
<?php namespace App\Http\Controllers\Catalogs; use App\Core\Eloquent\Category; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Http\Requests\CategoryRequest; use Facades\App\Core\Facades\AlertCustom; class CategoryController extends Controller { /** * Display a listing of the resou...
<?php namespace partner\models; use yii; use yii\base\Model; class PartnerLoginForm extends Model { public $username; public $password; public $rememberMe = true; private $_user; public function rules() { return [ [['username', 'password'], 'required'], ['rememberMe', 'boolean'], ['password', 'vali...
<!Doctype html> <html lang="en-gb" class="no-js"> <head> <title>Red Art - Digital Painting</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <!-- **CSS - stylesheets** --> <link h...
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } global $current_user, $wpdb,$wpscfunction; if (!($current_user->ID && $current_user->has_cap('edit_published_posts'))) { exit; } $wpsc_gdpr_html= get_option('wpsc_gdpr_html'); $wpsc_terms_and_conditions_html=get_option('wpsc_terms_and_conditi...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Photo extends Model { protected $guarded = []; public function products(){ return $this->belongsTo(Product::class,'product_id'); } }
<?php use Illuminate\Database\Seeder; class AdSpacesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('ad_spaces')->insert([ [ 'type'=>'home_header', 'name'=>'Home Header'...
<?php /** * System messages translation for CodeIgniter(tm) * * @author CodeIgniter community * @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/) * @copyright Novak Urošević * @license http://opensource.org/licenses/MIT MIT License * @link https://codeigniter.com */...
<?php /* * This file is part of PHP CS Fixer. * * (c) Fabien Potencier <fabien@symfony.com> * Dariusz Rumiński <dariusz.ruminski@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Symfony\CS\Tests\Fixer\PSR2; use Symfony...
<div style="padding-left:0;padding-top:15px;border:1px solid #ddd;background-color:#ddd;"> {{ Form::open( [ 'url'=>'search/products', 'method'=>'get' ] ) }} <input type="hidden" value="" name="categoryId" id="categoryId" /> <div class="btn-group col-lg-2"> <select name="location" class="form-con...
<?php namespace L52\Repositories; use Prettus\Repository\Contracts\RepositoryInterface; /** * Interface PatrimonialTypeRepository * @package namespace L52\Repositories; */ interface PatrimonialTypeRepository extends RepositoryInterface { // }
<?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 t...
@extends('layouts.confer.regular') @section('content') <div class="background2"> <div class="container pr-5" style="padding-top:90px;"> <div class="d-flex justify-content-center h-100"> <div class="card " style="height: 500px; width: 500px;"> <div class="card-header"> ...
@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">Edit user: {{ $user->name }}</div> <div class="card-body"> <form a...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class ProductChildrenResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) ...
<?php namespace App\GraphQL\Types; use App\Book; use GraphQL\Type\Definition\Type; use Rebing\GraphQL\Support\Type as GraphQLType; class BookType extends GraphQLType { protected $attributes = [ 'name' => 'Book', 'description' => 'Collection of books and details of Author', 'model' => Book...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Postmaster extends MY_Controller { private $manually = false; private $lock_handle; public function __construct() { $temp_dir = $this->get_temp_dir(); if (!defined('APP_DISABLE_CRON_LOCK') || defined(...
<!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXo...
<?php namespace common\models; use Yii; /** * This is the model class for table "weather_detail". * * @property integer $id * @property string $station_code * @property integer $precipitation * @property integer $tmax * @property integer $tmin * @property integer $wnddir * @property integer $wndspd * @prop...
<?php namespace Google\AdsApi\AdWords\v201702\cm; /** * This file was generated from WSDL. DO NOT EDIT. */ class getReportFieldsResponse { /** * @var \Google\AdsApi\AdWords\v201702\cm\ReportDefinitionField[] $rval */ protected $rval = null; /** * @param \Google\AdsApi\AdWords\v201702\c...
<?php /** * @package ElkArte Forum * @copyright ElkArte Forum contributors * @license BSD http://opensource.org/licenses/BSD-3-Clause (see accompanying LICENSE.txt file) * * This file contains code covered by: * copyright: 2011 Simple Machines (http://www.simplemachines.org) * * @version 2.0 dev * */ /*...
@extends('apps.layouts.main') @section('content') <section class="content"> <div class="row"> <div class="col-12"> {!! Form::model($data, ['method' => 'POST','route' => ['employeeService.update', $data->id],'files'=>'true']) !!} @csrf <div class="form-group row"> <label class="col-sm-2 co...
<?php return [ 'single' => [ 'label' => 'ဖန်တီးပါ', 'modal' => [ 'heading' => ':label ဖန်တီးပါ', 'actions' => [ 'create' => [ 'label' => 'ဖန်တီးပါ', ], 'create_another' => [ 'label...
<?php require_once("usercheck.php"); $reginfo=array(); $sessreg=empty($_SESSION['reginfo1'])?'':$_SESSION['reginfo1']; if($sessreg){ $reginfo1=explode(',',$_SESSION['reginfo1']); }else{ $reginfo1[0]=''; $reginfo1[1]=''; } $p=empty($_GET['p'])?'':sqlReplace(trim($_GET['p'])); //从订单页来的标示 $shopID=empty($_GET...
<?php $__env->startSection('content'); ?><p>Bruno Fernandes insists he has quickly repaired relations with Victor Lindelof after their furious row on the pitch following Sevilla's match-winner in the Europa League last month. </p> <p>The Manchester United pair were caught on camera shouting at each other following Luu...
<?php use Laravel\Lumen\Testing\DatabaseMigrations; use Laravel\Lumen\Testing\DatabaseTransactions; use App\Http\DataProviders\DataProviderX; use App\Http\DataProviders\DataProviderY; class ExampleTest extends TestCase { public function testURL() { $response =$this->call('GET','/api/v1/transactions')...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Str; class HomeController extends Controller { public function index(){ return view('pages.home'); } public function send(Request $request){ dd($request->all(...
<nav class="navbar navbar-expand-md navbar-light fixed-top" id="navmenu"> <div class="container" id="divmenu"> <a class="navbar-brand" href="#"> <img src="<?php echo $url; ?>/assets/img/aabblages.jpg" class="img-fluid img-thumbnail"> </a> <button class="navbar-toggler" type="button" data-toggle="collapse...
 <?php include 'header.php'; include 'functions/functions.php'; $aula_atual = 'superglobal-get'; ?> <body> <h2>Variável Superglobal $_GET</h2> <hr> <small>Curso de Básico de PHP - Prof. Ivan Lourenço Gomes</small> <h3>$_GET</h3> <pre><?php print_r($_GET) ?></pre> <br> <?php $...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Contracts\Auth\Guard; use Illuminate\Contracts\Auth\Registrar; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; class AuthController extends Controller { /* |------------------------------------------------...
<?php namespace app\models; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Competition; /** * CompetitionSearch represents the model behind the search form of `app\models\Competition`. */ class CompetitionSearch extends Competition { /** * {@inheritdoc} */ public function rul...
<?php declare(strict_types=1); /* * This file is part of the jojo1981/typed-collection package * * Copyright (c) 2019 Joost Nijhuis <jnijhuis81@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed in the root of the source code */ namespace Jojo1981\T...
@extends("template") @section("content") <div class="box"> <div class="box-header"> <h3 class="box-title">Input Nilai KP</h3> </div><!-- /.box-header --> <center><table border="0" class="table"> <tr> <td>NIM</td> <td>:</td> <td>{!! Auth::user()->mahasis...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\User */ $this->title = Yii::t('app', 'Create {modelClass}', [ 'modelClass' => 'User', ]); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Users'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->titl...