text
stringlengths
2
1.03M
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\DICOM; use JMS\Serializer\Annotation\ExclusionPolicy;...
<footer class="container footer"> <div class="row "> <div class="col-md-9 izq"> <div class="panel panel-default"> <div class="panel-body"> <div class="col-md-10"> &copy; <b>Sistema Educativo</b> - "{{ config('app.name', 'CCC-SIS') }}" -...
<?php use Minifier\JSMin; class JSMinTest extends PHPUnit_Framework_TestCase { public function testMinify() { $jsText = '/* Some comment that should be deleted */ function foo() { return "bar"; }'; $this->assertEquals('function foo(){return"bar";}',JSMin::minify($jsText)); } }
<?php namespace App\Http\Controllers; use App\Plan; use Illuminate\Http\Request; use App\User; use Illuminate\Support\Facades\View; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Input; use Illuminate\Http\Concerns\InteractsWithFlashData; class UserController extends Controller { /** * Di...
<?php return [ 'Login' => 'Войти', 'Checkout' => 'Оформить заказ', 'Phone'=> 'Телефон', 'Please Login using account detail bellow' => 'Пожалуйста, войдите, используя данные учетной записи ниже', 'Password'=>'Пароль', 'Remember me' =>'Запомни меня', 'Forgot your password'=>'Забыли Ваш пароль?...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@yield('title', 'Laravel Blog')</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/1.9.6/tailwind.min.css"> @livewireStyles </head> <b...
<?php namespace App\Http\Controllers; use App\Flag; use Illuminate\Http\Request; class FlagsController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the form for cr...
<?php /** * Created by PhpStorm. * User: liow.kitloong * Date: 2020/03/29 * Time: 12:50 */ namespace KitLoong\MigrationsGenerator\Generators; use Doctrine\DBAL\Schema\Column; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; use KitLoong\MigrationsGenerator\MigrationGeneratorSetting; use KitL...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Products; use App\Cart; use App\Order; use App\Http\Requests; use Session; use Auth; use Stripe\Charge; use Stripe\Stripe; class ProductsController extends Controller { public function getIndex() {...
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
<?php class M_pengguna extends CI_Model{ function get_pengguna(){ $hsl = $this->db->query("SELECT * FROM tbl_user"); return $hsl; } function simpan_pengguna($nama,$username,$password,$level){ $passwordhash = password_hash($password, PASSWORD_DEFAULT); $hsl = $this->db->query("INSERT INTO tbl_user(user_nama,u...
<!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.0"> <title>Document</title> </head> <body> <h1>Variáveis PHP</h1> <h2>Criação e declaração de variáveis ​​PHP</h2> ...
<?php /** * Shortcode attributes * @var $atts * @var $style_box * @var $categories * @var $product_type * @var $columns * @var $order_by * @var $order * @var $number * @var $css * @var $el_class * Shortcode class * @var $this WPBakeryShortCode_Insight_Product_Carousel */ $atts = vc_map_get_attributes( $t...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class KaryawanController extends Controller { public function index() { if (request()->user()->hasRole('Karyawan')) { return view('karyawan.index'); } else { return redirect('/'); } } }
<div style="margin-top: 14px; background-color: white;padding: 30px"> <div class="media"> <div class="media-body"> <h4>Seminar/Kursus</h4> </div> <div class="media-right"> <button type="button" class="btn btn-danger btn-sm" data-toggle="modal" data-target="#addseminar"><i class="fa fa-plus-circle"></i> Tam...
<?php /** * Ferbuy Order resource * PHP Version 5 * * @package Ferbuy * @copyright 2015 FerBuy */ class Ferbuy_Order extends Ferbuy_ApiResource { /** * Mark order as shipped and return a response object. * * Mark order as shipped as soon as you have shipped it. Marking an order * as sh...
<?php namespace App\Mail; use App\User; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class Feedback extends Mailable { use Queueable, SerializesModels; /** * @var Feedback */ public $feedback; protected $name; /** * Create a ...
<html lang ="en"> <!-- Mirrored from agileui.com/demo/monarch/demo/frontend-template/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 29 Jul 2019 03:58:24 GMT --> <head> <meta name="csrf-token" content="{{ csrf_token() }}"> <style> /* Loading Spinner */ .spinner{margin:0;width:70px;h...
@extends('layouts.front') @section('content') <div id="carousel-example-generic" class="carousel slide tours-slide" data-ride="carousel"> <div class="carousel-inner" role="listbox"> @foreach ($sliders as $i => $slider) <div class="item {{$i==0?'active':''}}"> <a href="{{$slider->url}}" title="...
<?php if ((strpos(strtolower($_SERVER['SCRIPT_NAME']), strtolower(basename(__FILE__)))) !== false) { // NOT FALSE if the script"s file name is found in the URL header('HTTP/1.0 403 Forbidden'); die('<h2>Direct access to this page is not allowed.</h2>'); } $script = <<< "JS" JS; header('Content-Type: applic...
<!DOCTYPE html> <html> <head> <title> San Carlos College Alumni Portal </title> @include('includes.css') <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="San Carlos College Alumni Portal is made for all th...
<?php namespace GestionBundle\Repository; use Doctrine\ORM\EntityRepository; /** * ActiviteRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class ActiviteRepository extends EntityRepository { }
<?php namespace Kunstmaan\GeneratorBundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\DataFixtures\OrderedFixtureInterface; use Doctrine\Common\Persistence\ObjectManager; use Kunstmaan\AdminBundle\Entity\User; use Symfony\Component\Console\Output\ConsoleOutput; use Symfony\...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\SalesRule\Model; use Magento\Quote\Model\Quote\Address; use Magento\SalesRule\Model\Quote\ChildrenValidationLocator; use Magento\Framework\App\ObjectManager; use Magento\SalesRule\Model\Rule\Action...
<?php namespace app\models; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\User; /** * UserSearch represents the model behind the search form of `app\models\User`. */ class UserSearch extends User { /** * {@inheritdoc} */ public function rules() { return [ ...
@extends('layouts.errors') @section('content') <div class="container-fluid bg-primary h-100"> <div class="row align-items-center h-100"> <div class="col"> <h1 class="text-center text-light display-3"> Pàgina no trobada... </h1> <h2 class="text-center mt-...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>超管登录</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <!-- Bootstrap 3.3...
<?php require_once 'HexaController.php'; /** * @property Doctor Doctor */ class RiskNodeController extends HexaController { function __construct() { parent::__construct(); $this->load->model('RiskNodeModel'); } /* * login api */ public function index() { $this->load->view("patient/riskNode", arr...
<?php namespace App\Http\Controllers; use App\Blog; use App\Category; use Illuminate\Http\Request; use Illuminate\Support\Facades\Input; class Add_blogController extends Controller { public function __construct() { $this->middleware('auth'); } /** * Display a listing of the resource.php ...
<?php namespace Ojs\JournalBundle\Controller; use Ojs\JournalBundle\Entity\Article; use Ojs\JournalBundle\Entity\File; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Ojs\JournalBundle\Entity\ArticleFile; use Ojs\JournalBundle\Form\ArticleFileType; /** * ...
<?php return [ /* * DataTables search options. */ 'search' => [ /* * Smart search will enclose search keyword with wildcard string "%keyword%". * SQL: column LIKE "%keyword%" */ 'smart' => true, /* * Multi-term search will explode search ke...
<?php namespace App\Http\Requests\Categories; use Illuminate\Foundation\Http\FormRequest; class UpdateCategoriesRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } ...
@extends('layouts.app') @section('title', '| Welcome to my Blog') @section('content') <div class="blog-header"> <h1 class="blog-title">The Bootstrap Blog</h1> <p class="lead blog-description">The official example template of creating a blog with Bootstrap.</p> </div> <div class="row"> ...
<?= $this->extend('layout/BaseView') ?> <?= $this->section('content') ?> <!-- Page Wrapper --> <div id="wrapper"> <?= $this->include('component/Sidebar') ?> <!-- Content Wrapper --> <div id="content-wrapper" class="d-flex flex-column"> <!-- Main Content --> <...
<?php namespace App\ViewComposer; use Illuminate\Support\Facades\View; use Illuminate\Support\ServiceProvider; class ComposerServiceProvider extends ServiceProvider { public function boot() { View::composer('inc.sidebar', 'App\ViewComposer\SidebarComposer'); View::composer(['admin.city.creat...
@extends('layouts.app') @section('title',__('Home')) @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"> ...
<?php namespace Elastica\Test\Facet; use Elastica\Document; use Elastica\Facet\GeoCluster; use Elastica\Query; use Elastica\Test\Base as BaseTest; use Elastica\Type\Mapping; class GeoClusterTest extends BaseTest { /** * @group functional */ public function testQuery() { $client = $this->...
<?php /* ********************* */ /* Conexion a Oracle */ /* Ver informacion */ /* ********************* */ //Datos de coneccion $host="localhost"; $user="system"; $pass="oracle"; //Cambialo por tu password //Coneccion con el SGBD-Oracle $conexion = oci_connect($user, $pass) or die("Error: Coneccion No vali...
<?php use yii\widgets\DetailView; use yii\helpers\Html; ?> <?php if($model !== null){ ?> <table class="table table-condensed"> <td><strong>Formulación</strong></td> <td><?=Html::encode($model->formulacion) ?></td> </table> <?php } ?>
<?php // inicializacao sdk facebook require_once "config.php"; // parametrizar token de acesso $accessToken = ''; try { $response = $fb->get("/me/albums", $accessToken); $albums = $response->getGraphEdge(); echo "<pre>\n"; echo "--------------\n"; foreach($albums as $album) { echo "...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProductTagTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('product_tag'...
<?php use GetCandy\Base\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddAttributesToCustomersTable extends Migration { public function up() { Schema::table($this->prefix.'customers', function (Blueprint $table) { $table->json('attribute_...
<?php namespace App\Http\Middleware; use Closure; class CheckEmailVerified { /** * The URIs that should be excluded from email verification. * * @var array */ protected $except = [ 'platform/register', ]; /** * Handle an incoming request. * * @param \Illum...
<?php $__env->startSection('content'); ?><p>Lisa Armstrong did a good deed on Monday when she left out ex husband Ant McPartlin's possessions for people to take. </p> <p>No doubt the items were no longer wanted by Ant, 44, so Lisa made sure they went to a good home instead. </p> <p>The 43-year-old make-up artist plac...
<!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?=$main_title?> <small>Control panel</small> </h1> <ol class="breadcrumb"> <!-- <button id="simpan">Simpan</butto...
<?php /** * 验证码类 * @package * @author 后盾马震宇 <houdunwangmzy@gmail.com> */ class Code{ //资源 private $img; //画布宽度 public $width = 150; //画布高度 public $height = 45; //背景颜色 public $bgColor = "#ffffff"; //验证码 public $code; //验证码的随机种子 public $codeStr = "0123456789...
<?php /* * Copyright 2011 Facebook, 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 ag...
<?php $url = $this->uri->segment(2); $profile = $this->m_admin->cari(array("role_id" => $this->session->userdata('role_id') , "id" => $this->session->userdata('id') ) , "akun")->row() ; $sirkulasi = $this->m_admin->sendData("peminjaman")->num_rows(); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta ...
<?php <<__EntryPoint>> function main() { echo preg_match('/a{1,3}b/U', 'ab'); }
<?php // Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/) // // 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://w...
<?php namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class AuthController extends Controller { public function login(Request $request) { $credentials = $request->only(['email', 'password']); if (!$token = auth('api')->attempt($credential...
<?php use Faker\Generator as Faker; /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | This directory should contain each of the model factory definitions for | your application. Factories pro...
<?php namespace CWM\BroadWorksConnector\Ocip\Models; /** * UserSharedCallAppearanceGetEndpointRequest22 * * Get the user's Shared Call Appearance endpoint setting. * The response is either a UserSharedCallAppearanceGetEndpointResponse22 or an ErrorResponse. * * @see UserSharedCallAppearanceGetEndpointRe...
@extends('layouts.adminlte.default.layout') @section('content') <div class="content-wrapper"> <!-- Main content --> <section class="content container-fluid"> <div class="box box-default"> <!-- <div class="box-header with-border"> <img id="" src="../img/Tools.jpg" style="width:38px;"> <b>Applicat...
<?php namespace Iris; class Phones { use BaseModel; protected $fields = array( "PhoneNumber" => array("type" => "string"), "TelephoneNumber" => array("type" => "string"), "FullNumber" => array("type" => "string"), "Count" => array("type" => "string") ); public functio...
<?php /*\ | ------------------------------------------------------ | @file : Facades.php | @author : Fabien Beaujean | @description : Facades trait | @version : 3.0 | ------------------------------------------------------ \*/ namespace Gcs\Framework\Core\Facade; use Gcs\Framework\Core\Asset\Asset; use Gcs\Frame...
<ul class="menu-group list-unstyled row-space-3"> <li> <a href="#" class="link-reset menu-item icon-white" rel="nofollow"> Home </a> </li> <li> <a class="link-reset menu-item icon-white download-our-app" href="http://r.airbnb.com/l.c.hsjx?l=en" target="_blank" rel="nofollow"> TESTIMONIAL...
@extends('layouts.app') @section('content') <div class="row"> <div class="col-12"> <h2>Contratos</h2> <a href="{{ route('contract.create') }}" class="btn btn-success">Crear</a> @empty($entities) <div class="alert alert-warning"> There ...
<?php /** * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * * @author Gerrit Uitslag <klapinklapin@gmail.com> */ $lang['picker'] = 'Wrap Plugin'; $lang['column'] = 'kolommen'; $lang['box'] = 'simpele gecentreerde blok'; $lang['info'] = 'i...
<?php namespace TheCrypticAce\Suitey; class IO { public function __construct(array $argv, $input, $output) { $this->argv = new Argv($argv); $this->input = $input; $this->output = $output; } public function argv() { return $this->argv; } public function inp...
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
<?php /** * Gallery File */ class Gallery_Service extends File_Service{ public function __construct(){ print_r($this); } ////implement and override public function index(){ echo "Gallery_Service"; } ///// ...
<section class="content-header"> <h1> Album <small>Edit Album</small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li><a href="#">Media</a></li> <li><a href="#">Album</a></li> <li class="active">Edit Album</li> </ol> </section> <sec...
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Helper\Reply; use App\Booking; use App\BusinessService; use Illuminate\Support\Facades\DB; use App\Payment; use Carbon\Carbon; use Illuminate\Support\Arr; class ReportController extends Controller { ...
<?php /** * Vouchers Metabox */ if ( ! defined( 'ABSPATH' )) { exit; } class LLMS_Meta_Box_Voucher extends LLMS_Admin_Metabox { /** * Configure the metabox settings * @return void * @since 3.0.0 */ public function configure() { $this->id = 'lifterlms-voucher'; $this->title = __( 'Voucher Settings',...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/www/sites/grav/root/system/blueprints/pages/move.yaml', 'modified' => 1456438750, 'data' => [ 'rules' => [ 'slug' => [ 'pattern' => '[a-z][a-z0-9_\\-]+', 'min' => 2, ...
<div class="wraper"> <div class="col-md-8 container form-wraper" style="margin:0 auto;float:none"> <form method="POST" id="form" action="<?php echo site_url("paddys/transactions/f_doisseued_edit");?>" > <div class="form-header"> <h4>DO Issue Edit</h4> ...
<?php include("../includes/classes/AllClasses.php"); //echo '<pre>';print_r($_REQUEST);exit; $qry = "SELECT fq_forecasting_master.* FROM fq_forecasting_master WHERE fq_forecasting_master.pk_id = '".$_REQUEST['forecasted_id']."' "; //query result $rsQry = mysq...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace Platform\Http\Controllers\Auth; use Platform\User; use Validator; use Platform\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ThrottlesLogins; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; class AuthController extends Controller { /* |----------------------------...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Contracts\Repositories\AccountRepositoryInterface; class AuthenticateController extends Controller { protected $accountRepository; public function __construct(AccountRepositoryInterface $accountRepository) { $this->accoun...
--TEST-- Check if %EXTNAME% is loaded --EXTENSIONS-- %EXTNAME% --FILE-- <?php echo 'The extension "%EXTNAME%" is available'; ?> --EXPECT-- The extension "%EXTNAME%" is available
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Mascota extends Model { protected $table = "mascota"; public $timestamps = false; }
@extends('admin.layouts.content') @section('content') <div class="page-container"> <table class="table table-border table-bordered table-bg"> <thead> <tr class="text-c"> <th>日期</th> <th>发放数量</th> <th>使用数量</th> <th>抵扣金额</th> </tr> </the...
@extends('layouts.app') @section('content') <!-- Title --> @include('backend._bread-crumb', [ 'title' => 'Cart', 'breadcrumbs' => [ 0 => [ 'link' => url('/'), 'label' => 'Pos' ], 1 => [ 'link' => '#', ...
<?php namespace App\Domain\Payment\Database\Seeds; use Illuminate\Database\Seeder; use App\Domain\Payment\Entities\Payment; class PaymentTableSeeder extends Seeder { /** * Auto generated seed file * * @return void */ public function run() { Payment::factory(1000)->times(50); ...
<?php namespace Telegram\Bot\Commands; use Illuminate\Support\Str; use Telegram\Bot\Api; use Telegram\Bot\Objects\Update; /** * Class Command. * * * @method mixed replyWithMessage($use_sendMessage_parameters) Reply Chat with a message. You can use all the sendMessage() parameters except chat_id. * @method...
<?php $var1 = 10; $var2 = 15; // var_dump($var1 && $var2); // And Operator // var_dump($var1 || $var2); // Or Operator // var_dump($var1 xor $var2); // True if either one of operand is true. // var_dump(!$var1); // Not True var_dump($var1 == 10 || $var2 < 5);
<?php if (!defined('THINK_PATH')) exit(); /*a:8:{s:76:"F:\phpstudy_pro\WWW\school\public/../application/index\view\campus\edit.html";i:1585188988;s:68:"F:\phpstudy_pro\WWW\school\application\index\view\public\header.html";i:1584886127;s:65:"F:\phpstudy_pro\WWW\school\application\index\view\public\css.html";i:1584950006...
<html> <head> <title>Doctor - @yield('title')</title> @section('meta') <meta content="IE=edge;text/html;charset=utf-8" http-equiv="X-UA-Compatible"> <meta name="keywords" content="@yield('meta_keywords')"/> <meta name="description" content="@yield('meta_description')"> <meta name...
<?php /* * This file is part of the Imagine package. * * (c) Bulat Shakirzyanov <mallluhuct@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Imagine\Gmagick; use Imagine\AbstractImagineTest; class ImagineTes...
<?php use kartik\export\ExportMenu; use yii\helpers\Html; use kartik\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel backend\models\ClientSearchModel */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Список клиентов'; $this->params['breadcrumbs'][] = $this->title; ?> <div clas...
<?php namespace Omnipay\Common\Exception; /** * Runtime Exception */ class RuntimeException extends \RuntimeException implements OmnipayException { }
<?php namespace App\Listeners; use App\Events\EventRegistrationCreated; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Support\Facades\Log; class ListenEventRegistrationCreated { /** * Create the event listener. * * @return void */ publ...
@extends('layouts.app') @section('content') <div id="modal404" data-backdrop="static" class="modal fade modal-profile" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <a href="/meeting/create" class="text-back pull-left"> <i class="fa fa-angle-left"...
<?php namespace Html5; use Html\Tag; class Section extends Tag { /** * @param string $content */ public function __construct($content = '') { parent::__construct('section', $content); } }
<?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 agr...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateClassesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('classes', funct...
<?php namespace Tests\Packet\ModbusFunction; use ModbusTcpClient\Packet\ModbusPacket; use ModbusTcpClient\Packet\ModbusFunction\WriteMultipleRegistersRequest; use ModbusTcpClient\Utils\Types; use PHPUnit\Framework\TestCase; class WriteMultipleRegistersRequestTest extends TestCase { public function testPacketToStr...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class UpdateVehiclesTable01 extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('amd_vehicles'...
<?php namespace App\Http\Controllers; use App\Models\Data_peserta; use Illuminate\Http\Request; class ReportController extends Controller { public function reportData_peserta(Request $request) { $data_peserta = Data_peserta::all(); // dd($data_peserta); $pdf = \PDF::loadView('report.d...
<?php namespace App\Repositories; use App\Models\Route; use App\Traits\UploadAble; use Illuminate\Http\UploadedFile; use App\Contracts\RouteContract; use Illuminate\Database\QueryException; use Illuminate\Database\Eloquent\ModelNotFoundException; use Doctrine\Instantiator\Exception\InvalidArgumentException; /** * C...
<?php require_once '../model/Cofre.php'; session_start(); if($_SESSION['cofre']->getStatusPorta()==true){ $_SESSION['cofre']->fecharPorta(); }
<?php $__env->startSection('title', "Member Management"); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div id="myModal" class="modal fade in" style="display: block; margin-top: 160px; margin-left: 100px;"> <div class="modal-dialog modal-confirm"> <div class="m...
<?php declare(strict_types=1); namespace Symplify\MonorepoBuilder\Split\Tests\Process; use Symplify\MonorepoBuilder\HttpKernel\MonorepoBuilderKernel; use Symplify\MonorepoBuilder\Split\Process\ProcessFactory; use Symplify\PackageBuilder\Tests\AbstractKernelTestCase; final class ProcessFactoryTest extends AbstractKe...
<?php declare(strict_types=1); /* * This file has been auto generated by Jane, * * Do no edit it directly. */ namespace Afosto\Sdk\Exception; class GetTransferTransportsInternalServerErrorException extends \RuntimeException implements ServerException { private $error; public function __construct(\Afost...
<?php /** * This file is part of the CodeIgniter 4 framework. * * (c) CodeIgniter Foundation <admin@codeigniter.com> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ // Images language settings return [ 'sourceImageRequired' =...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProposalsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('proposals', f...
<?php /** * @package Joomla.Administrator * @subpackage com_plugins * * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * View to edit a plugin. * * @since...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title> EBS @yield('title')</title> <!-- Scripts --> <script src="{{ asset('js/ap...