text stringlengths 2 1.03M |
|---|
<svg xmlns="http://www.w3.org/2000/svg" class="{{$classes ?? ''}} pointer-events-none" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
<title>{{{ __('Close icon', 'tb') }}}</title>
</svg> |
<?php
$utf8 = header("Content-Type: text/html; charset=utf-8");
$link = new mysqli('localhost','root','','db_cadastro');
$link->set_charset('utf8');
?> |
<?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 maiorADV\eBaySDK\BulkDataExchange\Types;
/**
*
* @property \maiorADV\eBaySDK\BulkDataExchange\Types\... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v7/resources/feed_item.proto
namespace Google\Ads\GoogleAds\V7\Resources;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* A feed item.
*
* G... |
@extends('crud.admin.adminDefault')
@section('others')
@if (session('update_success'))
<div class="row" id="flash">
<div class="col-md-8 col-md-offset-2 alert alert-success">
{{ session('update_success') }}
</div>
</div>
@endif
<h4 class="title">Admin</h4>
... |
<?php
/**
* Part of the Fuel framework.
*
* @package Fuel
* @version 1.5
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2013 Fuel Development Team
* @link http://fuelphp.com
*/
namespace Fuel\Core;
/**
* This exception is thrown when a module cannot be found.
... |
<?php
namespace App\Methods;
use App\Methods\GenericMethod;
use App\Models\Transaction;
use App\Models\POBatch;
use App\Models\RRBatch;
use App\Models\ReferrenceBatch;
use App\Models\ReferrenceGroupBatches;
use App\Models\POGroupBatches;
use Illuminate\Support\Facades\DB;
use Illuminate\Validation\ValidationExcepti... |
<?php
namespace WsdlToPhp\PackageGenerator\Container\Model;
use WsdlToPhp\PackageGenerator\Model\StructAttribute as Model;
class StructAttribute extends AbstractModel
{
/**
* @see \WsdlToPhp\PackageGenerator\Container\ModelContainer\Model::objectClass()
* @return string
*/
protected function o... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateArtistsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('artists', funct... |
<div class="relative mt-3 md:mt-0" x-data="{ isOpen: true }" @click.away="isOpen = false">
<input wire:model.debounce.500ms="search" type="text" class="bg-gray-800 rounded-full w-64 px-4 pl-8 py-1 focus:outline-none focus:shadow-outline" placeholder="Search">
<div class="absolute top-0">
<svg class="fill-current w-4... |
<?php
/*
* Copyright (c) 2012-2017 Veridu Ltd <https://veridu.com>
* All rights reserved.
*/
declare(strict_types = 1);
namespace Test\Unit\Event\Tag;
use App\Entity\Profile\Tag;
use App\Event\Profile\Tag\Created;
use Jenssegers\Optimus\Optimus;
use Test\Unit\AbstractUnit;
class CreatedTest extends AbstractUnit ... |
@extends('dashboard.layout.app')
@section('content')
<div class="kt-subheader kt-grid__item" id="kt_subheader">
<div class="kt-container kt-container--fluid ">
<div class="kt-subheader__main">
<h3 class="kt-subheader__title">
أماكن المنتجات
... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Vegetable;
/**
* FruitSearch represents the model behind the search form of `app\models\Fruit`.
*/
class VegetableSearch extends Vegetable
{
/**
* @inheritdoc
*/
public function rules()
{
... |
<?php
namespace frontend\modules\admin\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\message\MessageRecord;
/**
* MessageRecordSearch represents the model behind the search form about `common\models\message\MessageRecord`.
*/
class MessageRecordSearch extends MessageRecord... |
<?php
declare(strict_types=1);
/**
* @author Pixel Group
* @license MIT
*
* @see https://github.com/pixel-group/google-play-scraper
*/
namespace Pixelgroup\GPlay\Scraper;
use Pixelgroup\GPlay\Exception\GooglePlayException;
use Pixelgroup\GPlay\Model\Category;
use Pixelgroup\GPlay\Util\ScraperUtil;
use ... |
<?php
namespace ContainerDgpDyCi;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getIndexControllerService exten... |
@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">{{ __('Register') }}</div>
<div class="card-body">
<form method="P... |
<?php
/**
* Controller
*
* PHP version 7.1.3
*
* @category Class
* @package OpenAPI\Server\Controller
* @author OpenAPI Generator team
* @link https://github.com/openapitools/openapi-generator
*/
/**
* Adobe Experience Manager (AEM) API
*
* Swagger AEM is an OpenAPI specification for Adobe Experienc... |
@extends('admin.layout.layout')
@section('content')
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<div class="outlet">
<!-- ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the application dashbo... |
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... |
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
$arTransParams = array(
'INIT_MAP_TYPE' => $arParams['INIT_MAP_TYPE'],
'INIT_MAP_LON' => $arResult['POSITION']['google_lon'],
'INIT_MAP_LAT' => $arResult['POSITION']['google_lat'],
'INIT_MAP_SCALE' => $arResult['POSITION']['google_scale'],
'... |
<?php
namespace common\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\Kuzov;
/**
* KuzovQuery represents the model behind the search form about `common\models\Kuzov`.
*/
class KuzovQuery extends Kuzov
{
/**
* @inheritdoc
*/
public function rules()
{
... |
@extends('layouts.sb-admin')
@section('page-title')
Create Album for apartment: {{ $apartment->name }}
@endsection
@section('content')
<div class="row">
@include('layouts.partials.error-messages')
<div class="col-md-9">
<form method="POST" action="{{ route('apartments.albums.store', ['id' => $apartme... |
<?php
/**
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Quote\Test\Unit\Model\Cart;
use Magento\Quote\Model\Cart\ShippingMethodConverter;
class ShippingMethodConverterTest extends \PHPUnit\Framework\TestCase
{
/**
* @var ShippingMethodConv... |
--TEST--
Test semi-reserved words as class methods
--FILE--
<?php
class Obj
{
function empty(){ echo __METHOD__, PHP_EOL; }
function callable(){ echo __METHOD__, PHP_EOL; }
function class(){ echo __METHOD__, PHP_EOL; }
function trait(){ echo __METHOD__, PHP_EOL; }
function extends(){ echo __METHOD_... |
<?php
/**
* Copyright 2007 Maintainable Software, LLC
* Copyright 2006-2021 Horde LLC (http://www.horde.org/)
*
* See the enclosed file LICENSE for license information (BSD). If you
* did not receive this file, see http://www.horde.org/licenses/bsd.
*
* @author Mike Naberezny <mike@maintainable.com>
* @auth... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class ClienteRequest extends FormRequest
{
public function messages()
{
return [
'required' => 'El campo :attribute es obligatorio.',
'email.email' => 'El campo :attribute no tiene un formato v... |
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Contracts\HttpClient\HttpClientInterface;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\HttpFoundation\Response;
use Doctrine\Persistence\ManagerRegistry;
use Doctrine\ORM\EntityMa... |
<?php
declare(strict_types=1);
/**
*
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Fre... |
<!-- Page Content -->
<div id="page-content-wrapper">
<a href="#menu-toggle" class="menuopener" id="menu-toggle"><i class="fa fa-bars"></i></a>
<div id="home" class="parallax first-section" data-stellar-background-ratio="0.4" style="background-image:url('img/Beranda.jpg');">
<div class="container-fluid">
... |
<?php
namespace App\Http\Controllers\Api\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Http\Requests\Api\Auth\RegisterFormRequest;
use App\User;
use Carbon\Carbon;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Contro... |
<?php
namespace App\Http\Controllers\Admin\Basic;
use App\PurchaseMoneyLog;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\DB;
class TopUserController extends Controller
{
/**
* Display a listing of the resource.
*... |
<?php
namespace App\Containers\Authorization\Actions;
use Apiato\Core\Foundation\Facades\Apiato;
use App\Containers\Authorization\Models\Role;
use App\Ship\Parents\Actions\Action;
use App\Ship\Transporters\DataTransporter;
use function is_null;
/**
* Class CreateRoleAction
*
* @author Mahmoud Zalt <mahmoud@zalt.... |
<?php
namespace App\Http\Controllers;
use Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Http\Request;
use App\Http\Requests\... |
<?php
/*
* Copyright 2016 Johannes M. Schmitt <schmittjoh@gmail.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://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
<header style="background-image: url('{{ asset('images/header.jpg') }}');">
<div class="header-content">
<div class="header-content-inner">
<h1 id="homeHeading" style="color:#222222 !important;">{{ $cache->titulo_principal }}</h1>
<hr>
<p style="color:#222222 !important;"... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
@laravelPWA
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<!-- Scripts -->
{{-- <scrip... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
@component('mail::message')
# Welcome, {{ $user->name }}
Thanku for creating an account on {{ config('app.name') }} Join App.Click the below button to login to website.
@component('mail::button', ['url' => config('app.url') ])
Login Here
@endcomponent
Thanks,<br>
{{ config('app.name') }}
@endcomponent |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class BookingProduct extends Model
{
protected $table = "booking_product";
public $timestamps = false;
protected $fillable = [
'id_booking','id_product',
'status_booking_product',
];
pu... |
<?php
namespace metastore;
/**
* Autogenerated by Thrift Compiler (0.16.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
use Thrift\Base\TBase;
use Thrift\Type\TType;
use Thrift\Type\TMessageType;
use Thrift\Exception\TException;
use Thrift\Exception\TProtocolException;
use... |
<?php
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return redirect('home');
});
Auth::routes();
Route::middleware(['auth'])->group(function () {
Route::get('home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
Route::pr... |
{{--@extends('errors::minimal')
@section('title', __('Not Found'))
@section('code', '404')
@section('message', __('Not Found'))--}}
<x-master-layout>
<h3 class="text-center">404 | ok</h3>
</x-master-layout> |
<?php
namespace PhpLab\Dev\Composer\Domain\Repositories\File;
use PhpLab\Dev\Package\Domain\Entities\ConfigEntity;
use PhpLab\Dev\Composer\Domain\Interfaces\Repositories\ConfigRepositoryInterface;
class ConfigRepository implements ConfigRepositoryInterface
{
public function tableName() : string
{
re... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Etablissement extends Model
{
protected $fillable = [
'nom_fr','nom_ar','municipalite_id','adresse','typesetablissement_id','niveauscolaire_id'
];
public function typesetablissement()
{
return $this->belongsTo('App\Ty... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Post Pagination</title>
</head>
<body>
@foreach ($posts as $value)
{{ $value->name }}
@endforeach... |
<?php
namespace App\IM\Traits;
use Mail;
use App\IM\Models\User;
use Html;
use App\IM\Config;
trait MailerTrait
{
/**
*
* @param User $receiver
* @param string $template
* @param string $subject
*/
protected function mailTo(User $receiver, $template, $subject, $params = [], $se... |
<?php
namespace App\Models;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Auth;
use Spatie\Permission\Traits\HasRoles;
class User extends Authenticatable
{
use Traits\ActiveUserHelper;
use Traits\LastActivedAtHelper;
use HasRoles;
use Notifiable {... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Maintenance extends Model
{
protected $table = "pemeliharaan";
protected $fillable = ['no_pemeliharaan','tgl_pelihara','inventaris_id','pegawai_id','kegiatan','hasil','keterangan'];
public function barang()
{
return $this->be... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\OrderglobalSD\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for RoleDTO StructType
* @subpackage Structs
*/
class RoleDTO extends AbstractStructBase
{
/**
* The grade
* @var in... |
<?php echo e($slot); ?>
<?php /**PATH /var/www/html/whipdeal/vendor/laravel/framework/src/Illuminate/Mail/resources/views/text/subcopy.blade.php ENDPATH**/ ?> |
<?php
require_once __DIR__.'/../vendor/autoload.php';
(new Laravel\Lumen\Bootstrap\LoadEnvironmentVariables(
dirname(__DIR__)
))->bootstrap();
/*
|--------------------------------------------------------------------------
| Create The Application
|-----------------------------------------------------------------... |
@extends('layouts.app')
@section('content')
<h3 class="mt-5 d-flex justify-content-center">Editar nota</h3>
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@end... |
<script type="text/javascript" src="modulo/horario/controllers/horarioCtrl.js"></script>
<?php
$Nmenu = '301';
if(isset($_SESSION['usuario_cod'])){
require_once('autentificacion/aut_verifica_menu.php');
$us = $_SESSION['usuario_cod'];
}else{
$us = $_POST['usuario'];
}
?>
<div id="Cont_horario"></div>
<input n... |
<?php
namespace SAPF\Database;
class Model
{
protected $_db;
// data
protected $_data;
// params
protected $_table;
protected $_params;
protected $_fields;
protected $_joins;
//
protected $_field_primarykey;
public function __construct(SQLDatabase $db, $table, $field_prim... |
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top">
<div class="container">
<a class="navbar-brand" href="{{ url('admin/dashboard') }}" style="font-size:25px;">Coinbaseclub</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-control... |
<nav id="site-navigation" class="main-navigation" role="navigation">
<button class="menu-toggle" aria-controls="top-menu" aria-expanded="false"><?php esc_html_e( 'Top Menu', 'rorio-theme' ); ?></button>
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => '', 'items_wrap' => '%3$s' ) ); ?>
</nav><!... |
<form action="nickname" method="post">
{{ csrf_field() }}
<input type="text" name="nickname" placeholder="Create nickname">
<input type="submit" value="Create">
</form>
or <a href="logout">logout</a>
@if($errors->any())
<h4>{{$errors->first()}}</h4>
@endif |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
use Illumina... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class AdminPlaylist extends JsonResource
{
public function toArray($request)
{
return [
'id' => $this->id,
'name' => $this->name,
'likes' => $this->likes,
'image' => $... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
require_once("Crud.php");
class pedido extends Crud {
var $controller = 'pedido';
var $item_active = 'pedido';
var $cdfield = 'cdpedido';
var $str = 100137;
public function __construct()
{
parent::__construct();
$this->grid... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class Faq extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tb_faq', function (Blueprint $... |
@extends('layout.main')
@section('content')
<h1>Calcultor</h1>
<form action="{{route('do-math')}}" method="post">
<div>{{$r}}</div>
X: <input type="text" name="x">
Y: <input type="text" name="y">
<button type="submit">DO MATH</button>
@csrf{{-- apsaugo nuo apgavysciu ir netikros formos submit --}}... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel common\models\RegulatoryOrdinanceSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Ordinances';
$this->params['breadcrumbs'][] = ['template' => "<li class='breadcrumb-item'>{link}</li>",... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateFridgesTableMakeNullable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('frid... |
<?php
namespace Shopsys\FrameworkBundle\Controller\Admin;
use Shopsys\FrameworkBundle\Component\Router\Security\Annotation\CsrfProtection;
use Shopsys\FrameworkBundle\Model\Product\Parameter\Exception\ParameterNotFoundException;
use Shopsys\FrameworkBundle\Model\Product\Parameter\ParameterFacade;
use Shopsys\Framewor... |
@extends('layouts.dashboard')
@section('title')
Import Data
@stop
@section('content')
<div class="pageheader">
<h2><i class="glyphicon glyphicon-upload"></i> Import Data</h2>
</div>
<div class="contentpanel">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class=... |
<?php
namespace Phalcon\Db\Result;
class Pdo implements \Phalcon\Db\ResultInterface
{
protected $_connection;
protected $_result;
/**
* Active fetch mode
*/
protected $_fetchMode = 4;
/**
* Internal resultset
*
* @var \PDOStatement
*/
protected $_pdoStatement... |
<?php
namespace app\common\model;
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | 微博热搜博物馆
// +---------------------------------------------------------... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... |
@extends('layouts.appc')
@section('title')
Postulantes
@endsection
@section('content')
<section>
<div class="container-fluid">
<!-- Page Header-->
<header>
<h1 class="h3 display mt-5">Postulantes</h1>
</header>
<div class="row mt-5 mb-5 pb-5">
<div class="col-lg">
... |
@extends('layouts.stisla')
@section('header')
Kategori Bencana Management
@endsection
@section('content')
<div class="container">
<div class="card">
<div class="card-header d-flex justify-content-between align-items-center">
<span>
Kategori Bencana
... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitc3463cb18190dea538d76984fa0ed4ac
{
public static $files = array (
'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
'a4a119a56e50fb... |
@extends('adminlte::page')
@section('content')
@if(session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
@if(session('error'))
<div class="alert alert-danger">
{{ session('error') }}
</div>
@endif
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Reservasi extends Model
{
protected $table ='tb_reservasi';
Protected $fillable = ['id_tamu','id_ruangan','id_transaksi','check_in','check_out','ststus','kode_reservasi'];
} |
<?php
/**
*
* Function code for the matrix division operation
*
* @copyright Copyright (c) 2013-2018 Mark Baker (https://github.com/MarkBaker/PHPComplex)
* @license https://opensource.org/licenses/MIT MIT
*/
namespace Matrix;
use Matrix\Operators\Division;
/**
* Divides two or more matrix numbers
*
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Pengajar extends CI_Controller {
function __construct(){
parent::__construct();
if($this->session->userdata('status') != "login"){
$this->session->set_flashdata('message', '0');
redirect('login');
}
$this->load->database();
$... |
<?php
namespace Prerano\Language\Block;
use Prerano\Language\BlockAbstract;
class Simple extends BlockAbstract
{
} |
<?php
namespace App\Models;
use Illuminate\Support\Facades\DB;
class JawabanModel {
public static function get_all(){
$jawab = DB::table('jawaban')
->select('jawaban.*', 'users.name as user_name', 'users.id as user_id','users.reputasi as user_reputasi', 'users.email as user_email')
... |
<?php
namespace App\Http\Controllers;
use App\Models\Travel;
use Illuminate\Auth\Events\Validated;
use Illuminate\Http\Request;
class PerjalananController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
... |
<?php
class DocumentiDO extends AbstractDO
{
}
?> |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="r8tmcunDNE63fNBIpSf2pOsaearIZ9... |
<?php
namespace App\Http\Controllers;
use App\Brand;
use App\Category;
use App\Product;
use Illuminate\Http\Request;
class FirstController extends Controller
{
public function index(){
$productViews = Product::where('publication_status',1)
->orderBy('id','DESC')
... |
<?php
namespace DSNEmpresas\TiposDocumentos\TiposDocumentosBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hell... |
<?php
/*
* Copyright (C) 2015-2018 Franco Fichtner <franco@opnsense.org>
* Copyright (C) 2014 Deciso B.V.
* Copyright (C) 2011 Scott Ullrich <sullrich@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... |
<?php
namespace Ocart\Ecommerce\Repositories\Interfaces;
use Prettus\Repository\Contracts\RepositoryCriteriaInterface;
use Prettus\Repository\Contracts\RepositoryInterface;
interface CustomerAddressRepository extends RepositoryInterface, RepositoryCriteriaInterface
{
} |
<?php
/**
* Created by PhpStorm.
* User: lequi
* Date: 11/24/14
* Time: 1:28 PM
*/
namespace App\Utils;
use Illuminate\Support\Facades\Session;
use Shop, User, ShopWarranty, ShopStatus;
class Auth extends \Illuminate\Support\Facades\Auth
{
private static $_isShopInstance = null;
private static $_isShop ... |
<?php
namespace Tests;
use Illuminate\Support\Facades\DB;
trait DetectRepeatedQueries
{
public function enableQueryLog()
{
DB::enableQueryLog();
}
public function assertNotRepeatedQueries()
{
$queries = array_column(DB::getQueryLog(), 'query');
$selects = array_filter($q... |
<?php
/**
* Our basic FAQ layout.
*
* @since DX Starter v1.3.0
* @uses assets/sass/prebuilds/elements/_section-faq-elements.scss
*/
?>
<section class="section-fullwidth section-faq-list">
<div class="row">
<div class='columns small-12'>
<header class="section-heading">
<h2 class="heading-title">This i... |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\XMPAppleFi;
use JMS\Serializer\Annotation\ExclusionPoli... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class SlittingModel extends CI_Model
{
public function __construct()
{
parent::__construct();
//load dependencise
$this->load->model("BaseModel", "BM");
$this->load->library("form_validation");
$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\Bundle\TwigBundle\CacheWarmer;
use Psr\Container\ContainerInter... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
<title>Suc... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
@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 ">{{ __('Iniciar sesión') }}</div>
<div class="card-body">
<form me... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
namespace Alitakhti\Time\Middlewares;
use Closure;
class CheckTime
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
/* public function handle($request, Closure $next)
{
dd('ok');
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.