text
stringlengths
2
1.03M
@extends('adminlte::page') @section('title', 'Admin') @section('content') <div class="py-3"> <div class="max-w-7xl mx-auto sm:px-3 lg:px-3"> <div class="bg-white overflow-hidden shadow-xl sm:rounded-lg"> <script src="https://cdn.tailwindcss.com"></script> <link...
<?php use yii\helpers\Html; use yii\widgets\DetailView; use kartik\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\models\Application */ $this->title = 'Review Page'; $this->params['breadcrumbs'][] = ['label' => 'Applications', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->tit...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { // $this->call(UsersTableSeeder::class); factory(\App\User::class , 50)->create(); factory(\App\categor...
<section class="main"> <div class="container"> <div class="row"> <?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\admin\models\Orders */ $this->title = 'Добавить Заказ'; $this->params['breadcrumbs'...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\FaqController; use App\Http\Controllers\BlogController; use App\Http\Controllers\CartController; use App\Http\Controllers\RoleController; use App\Http\Controllers\AboutController; use App\Http\Controllers\AdminController; use App\Http\Controllers\Ord...
<div id="notifications"> <a class="nav-link dropdown-toggle" href="#" id="alertsDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fas fa-bell fa-fw"></i> <!-- Counter - Alerts --> <span class="badge badge-danger badge-counter"> @...
<?php /* Copyright (c) 2015 Franco Fichtner <franco@opnsense.org> Copyright (c) 2008 Tellnet AG All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the a...
<!-- Page info --> <div class="page-top-info" style="margin-top: 100px"> <div class="container"> <h4>Your cart</h4> <div class="site-pagination"> <a href="">Home</a> / <a href="">Your cart</a> </div> </div> </div> <!-- Page info end --> <section class="cart-section spad"> <div class=...
<?php namespace Spatie\QueryBuilder\Tests; use Illuminate\Http\Request; use Illuminate\Support\Collection; use Spatie\QueryBuilder\QueryBuilder; use Illuminate\Database\Eloquent\Model; use Spatie\QueryBuilder\Tests\Models\TestModel; use Spatie\QueryBuilder\Exceptions\InvalidIncludeQuery; class IncludeTest extends Te...
<div> {{--<img src="https://static.hitek.fr/img/actualite/i_breaking-bad.png" alt="" class="show-cover" >--}} <img src="{{$show->cover}}" alt="" class="show-cover" > <div class="hide" > <h2>{{$show->title}}</h2> <p> <span>{{$show->rating}}</span> @if($show->type == 'm...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Create User</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> <script src="h...
<?php namespace App\Database\Migrations; use CodeIgniter\Database\Migration; class AddPosts extends Migration { public function up() { $this->forge->addField([ 'id' => [ 'type' => 'INT', 'unsigned' => true, 'auto_increment' => true ], 'user_id' => [ 'type' => 'INT', 'unsigned' => true...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Compra; use App\Http\Requests\CompraRequest; class CompraController extends Controller { public function index(){ $compra = Compra::get(); return view('compras.index', ['compras' => $compra]); } public function cre...
<?php namespace Baum; use \Illuminate\Events\Dispatcher; /** * Move */ class Move { /** * Node on which the move operation will be performed * * @var \Baum\Node */ protected $node = NULL; /** * Destination node * * @var \Baum\Node | int */ protected $target = NULL; /** * Move target pos...
@extends('sistema.template.template') @section('titulo', (isset($cliente) ? "Editar" : "Cadastrar")." Cliente") @section('conteudo') <h1 class="my-4">Cliente</h1> <div class="card mb-4"> <div class="card-header"> <i class="fas fa-table mr-1"></i> Formulário de Cliente <...
<?php namespace Employee\Form; use Employee\Modal\Employee; use Laminas\Form\Element\Button; use Laminas\Form\Element\Hidden; use Laminas\Form\Element\MultiCheckbox; use Laminas\Form\Element\Radio; use Laminas\Form\Element\Select; use Laminas\Form\Element\Text; use Laminas\Form\Form; /** * Class EmployeeForm * @pa...
<?php namespace App\Http\Controllers\Api; use Illuminate\Support\Str; use Illuminate\Http\Request; use Overtrue\EasySms\EasySms; use App\Http\Requests\Api\VerificationCodeRequest; use Illuminate\Auth\AuthenticationException; class VerificationCodesController extends Controller { public function store(VerificationC...
<?php /** * * This software is distributed under the GNU GPL v3.0 license. * @author Gemorroj * @copyright 2008-2012 http://wapinet.ru * @license http://www.gnu.org/licenses/gpl-3.0.txt * @link http://wapinet.ru/gmanager/ * @version 0.8.1 beta * * PHP version >= 5.2.3 * */ class Archive_Tars implements ...
<?php trait saleTrait { private function sale_id_to_array($sale_id) { $sale_info = $this->Sale->get_info($sale_id)->row_array(); date_default_timezone_set($this->Location->get_info_for_key('timezone',$sale_info['location_id'])); $response = array(); $receipt_cart = PHPPOSCartSale::get_instance_from_sale_id...
@extends('layouts.occupation') <title>{{ config('app.name') }} - {{ $career_user->company_name }} - {{ __('menu.MENU_CREATE_PHOTO_ALBUM') }}</title> @section('content') <div class="container-fluid gedf-wrapper"> <div class="row"> <div class="col-md-6 gedf-main"> <section class="bar backgr...
<?php namespace IDCI\Bundle\PaymentBundle\Model; use Ramsey\Uuid\Uuid; class PaymentGatewayConfiguration implements PaymentGatewayConfigurationInterface { /** * @var Uuid */ protected $id; /** * @var string */ protected $alias; /** * @var string */ protected $g...
<?php namespace Tingo\ews\API\Message; /** * Class representing GetRoomListsResponseMessageType * * * XSD Type: GetRoomListsResponseMessageType * * @method GetRoomListsResponseMessageType addRoomLists(\Tingo\ews\API\Type\EmailAddressType $roomLists) * @method \Tingo\ews\API\Type\EmailAddressType[] getRoomLists...
<?php namespace App\Http\Controllers; use App\Models\Cliente; use Illuminate\Http\Request; class ClienteController extends Controller { // public function index() { $cliente= Cliente::all(); return ['clien'=>$cliente]; } public function store(Request $request) { ...
<?php use Gcphost\LaravelCP\Todo\TodoRepository as Todos; class TodosService { protected $todo; public function __construct(Todos $todo) { $this->todo = $todo; } public function index(){ return Theme::make('admin/todos/index'); } public function getCreate() { return Theme::mak...
<?php namespace App\Http\Middleware; use App\Model\Setting; use Closure; use Illuminate\Support\Facades\Auth; class UnderMaintenance { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function ha...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTeamsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('teams', function ...
<?php declare(strict_types=1); return [ /* |-------------------------------------------------------------------------- | Exception Language Lines |-------------------------------------------------------------------------- | | This is the translaction from exceptions | */ 'authent...
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Documents\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for SaveSupplierCommissionConditionRequest StructType * @subpackage Structs */ class SaveSupplierCommissionConditionRequest extends Ab...
<?php use yii\helpers\Html; /* @var $this \yii\web\View */ /* @var $content string */ $username = isset( Yii::$app->user->identity->username ) ? Yii::$app->user->identity->username : null; $userroles = common\models\User::getRolesByID(Yii::$app->user->getId()); $path = Yii::$app->homeUrl; ?> <header class="main-head...
<?php /** * sFire Framework (https://sfire.io) * * @link https://github.com/sfire-framework/ for the canonical source repository * @copyright Copyright (c) 2014-2020 sFire Framework. * @license http://sfire.io/license BSD 3-CLAUSE LICENSE */ declare(strict_types=1); use PHPUnit\Framework\TestCase; use sF...
<?php defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'dev'); require(__DIR__ . '/../../vendor/autoload.php'); require(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php'); require(__DIR__ . '/../../common/config/bootstrap.php'); $config = yii\helpers\ArrayHelper::merge( requ...
<?php require_once '../../../Classes/Phpdocx/Create/CreateDocx.php'; $docx = new Phpdocx\Create\CreateDocx(); $comment = new Phpdocx\Elements\WordFragment($docx, 'document'); $html = new Phpdocx\Elements\WordFragment($docx, 'comment');//notice the different "target" $htmlCode = '<p>This is some HTML code with a li...
<?php namespace RectorPrefix20210919\TYPO3\CMS\Core\Cache\Frontend; if (\interface_exists('TYPO3\\CMS\\Core\\Cache\\Frontend\\FrontendInterface')) { return; } interface FrontendInterface { /** * @param mixed[] $tags */ public function set($entryIdentifier, $data, $tags = [], $lifetime = null); ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Customer extends Model { use HasFactory; protected $table = 'customer'; public function city(){ return $this->belongsTo('App\Models\City'); } }
<?php // This class was automatically generated by a giiant build task // You should not change it manually as it will be overwritten on next build namespace app\models\base; use Yii; /** * This is the base-model class for table "bonificaciones". * * @property integer $id * @property string $descripcion * @prop...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Buku extends CI_Controller { public function __construct() { parent::__construct(); //cek_login } //manajemen Buku public function index() { $data['judul'] = 'Data Buku'; $data['user...
<?php namespace Victoire\DevTools\VacuumBundle\Payload; use Symfony\Component\Console\Formatter\OutputFormatterStyle; use Symfony\Component\Console\Helper\ProgressBar; use Symfony\Component\Console\Helper\QuestionHelper; use Symfony\Component\Console\Output\OutputInterface; use Victoire\Bundle\BlogBundle\Entity\Blog;...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Score extends Model { protected $fillable = ['team_name', 'goal', 'point']; public function game() { return $this->belongsTo(Game::class); } }
<?php if($errors->any()): ?> <div class="alert alert-danger"> <ul> <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><?php echo e($error); ?>...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Arr; use App\Repositories\SliderRepository; use App\Repositories\PortfolioRepository; use App\Repositories\ArticleRepository; use Config; class IndexController extends SiteController { public function __construct(Slid...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Menu extends Model { use SoftDeletes; protected $fillable = [ 'codeno', 'name', 'photo', 'price', 'description', 'category_id', 'restaurant_id' ]; public function category(){ re...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <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>{{ config('app.name', 'Laravel') }}</tit...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSubCatehoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('sub_cateh...
@extends('layouts.app') @section('title','Features') @section('css') @endsection @section('content') <div class="nk-block nk-block-lg"> <div class="nk-block-head"> <div class="nk-block-head-content"> @if(session()->has('success')) <div class="row mb-3"> <div class="col-lg-12">...
<?php /** * This file is part of phpDocumentor. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @copyright 2010-2018 Mike van Riel<mike@phpdoc.org> * @license http://www.opensource.org/licenses/mit-license.php MIT * @link ...
@extends('layouts.app') @section('content') <div class="pt-3"> <h1 class="h2 mr-4" style="padding-top: 3rem">Biodata Mahasiswa</h1> </div> <hr> <ul> <li>Nama: <strong>{{$mahasiswa->nama}} </strong></li> <li>Nomor Induk Mahasiswa: <strong>{{$mahasiswa->nim}} </strong></li> <li>Jurusan: <strong>{{$mahasis...
<?php /* * This file is part of the umulmrum/holiday package. * * (c) Stefan Kruppa * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace umulmrum\Holiday\Test\Provider\Switzerland; use umulmrum\Holiday\Provider\Switzerland\...
<!DOCTYPE html> <html lang="en"> <!-- debut entete --> <head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <!-- Favicons --> <link rel="apple-touch-icon" hre...
<div class="top-menu"> <ul class="nav navbar-nav pull-right"> <!-- BEGIN NOTIFICATION DROPDOWN --> <!-- DOC: Apply "dropdown-dark" class after "dropdown-extended" to change the dropdown styte --> <!-- DOC: Apply ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; /** * App\Models\Price * * @property int $id * @property int $sku * @property int|null $city_id * @property int $market_number * @property int $price * @property int $sub_price * @property int $changed_at * @method static \Illuminate\Datab...
<?php /** * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); yo...
<?php namespace app\shell; use biny\lib\TXShell; use biny\lib\TXLogger; /** * Created by PhpStorm. * User: billge * Date: 16-10-1 * Time: 上午11:00 */ class testShell extends TXShell { public function init() { TXLogger::addLog('init'); return 0; } public function action_index() ...
<?php namespace App\Models; use EnesCakir\Helper\Traits\BaseActions; use Illuminate\Database\Eloquent\Model; class MobileNotification extends Model { use BaseActions; // Properties protected $table = 'mobile_notifications'; protected $fillable = ['message', 'expected_at', 'sent_at']; protected $...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Add User</div> <div class="panel-body"> <form class="form...
<label class="{{ $class ?? null }}"> <span>{{ $label ?? $input ?? "ERRO" }}</span> {!! Form::password($input, $attributes) !!} </label>
@extends('layouts.admin-app') @section('title', 'Leave Type') @section('content') @include('includes.back') <!-- Start Main View --> <div class="card p-2"> <div class="row"> <div class="col-md-12"> <!-- Start Main View --> @if(session()->has('message')) ...
<?php return [ 'UserUnique' => 5000, //用户名已存在 'EmailUnique' => 5001, //用户邮箱已注册 'CreateFailure' => 5002, //创建失败 'VerificationCode' => 5003, //验证码错误 'GetUserFail' => 5004, //获取用户信息失败 'PasswordError' => 5005, //密码错误 'FrequentOperation' => 5...
<?php /** * amadeus-ws-client * * Copyright 2015 Amadeus Benelux NV * * 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 requir...
@extends('layouts.app', ['class' => 'bg-transp']) @section('content') <div class="header py-8 py-lg-8" style="background-color: rgba();"> <div class="container"> <div class="header-body text-center mt-7 mb-7"> <div class="row justify-content-center"> <div cla...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Migration_alter_reports extends CI_Migration { public function up() { $this->dbforge->drop_column('reports', 'measurement'); $this->dbforge->drop_column('reports', 'count'); $this->dbforge->add_column('reports', [ "rows" => [ "...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCategoryProductTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('categor...
<?php $__env->startSection('title'); ?> <?php echo e('Admin Login'); ?> @parent <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="login-bg"> <section id="content" class="m-t-lg wrapper-md animated fadeInUp"> <div class="container aside-xxl"> <a class="navbar-brand bloc...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); header("Content-Type:text/json;charset=utf-8"); header("Access-Control-Allow-Origin: *"); header('Access-Control-Allow-Headers: X-Requested-With, content-type, access-control-allow-origin, access-control-allow-methods, access-control-allow-headers');...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\models\SparetypesSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="sparetypes-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?...
<?php /* |-------------------------------------------------------------------------- | Prettus Repository Config |-------------------------------------------------------------------------- | | */ return [ /* |-------------------------------------------------------------------------- | Repository Pagination...
<?php /** * BuddyBoss - Groups Media * * @since BuddyBoss 1.0.0 */ ?> <div class="bb-media-container group-media"> <?php bp_get_template_part( 'media/theatre' ); if ( bp_is_profile_video_support_enabled() ) { bp_get_template_part( 'video/theatre' ); } switch ( bp_current_action() ) : // Home/Media. ca...
<?php use rsanchez\Deep\Model\MatrixRow; use rsanchez\Deep\Model\MatrixCol; class MatrixRowModelTest extends PHPUnit_Framework_TestCase { public function testCollection() { $query = MatrixRow::all(); $this->assertInstanceOf('\\rsanchez\\Deep\\Collection\\MatrixRowCollection', $query); } ...
<?php return array ( 'bot' => NULL, 'brand' => 'SA', 'client' => array ( 'type' => 'mobile app', 'name' => 'Facebook', 'version' => '237.0', ), 'device' => 1, 'model' => 'GALAXY J6', 'os' => array ( 'name' => 'Android', 'short_name' => 'AND', 'version' => '9', 'platform' ...
<?php namespace Zizaco\Entrust\Middleware; /** * This file is part of Entrust, * a role & permission management solution for Laravel. * * @license MIT * @package Zizaco\Entrust */ use Closure; use Illuminate\Contracts\Auth\Guard; class EntrustRole { protected $auth; /** * Creates a new instance of the mid...
<?php declare(strict_types=1); namespace Gacela\CodeGenerator\Domain\CommandArguments; use InvalidArgumentException; final class CommandArgumentsParser implements CommandArgumentsParserInterface { /** @var array{autoload: array{psr-4: array<string,string>}} */ private array $composerJson; /** * @p...
<?php namespace App\Http\Controllers; use App\CustomQuestion; use Illuminate\Http\Request; class CustomQuestionController extends Controller { public function index() { if(\Auth::user()->can('manage custom question')) { $questions = CustomQuestion::where('created_by', \Auth::user...
<link href="<?= $assets ?>styles/helpers/bootstrap.min.css" rel="stylesheet"/> <?php $address = ''; $address.=$biller->address; $address.=($biller->city != '')? ', '.$biller->city : ''; $address.=($biller->postal_code != '')? ', '.$biller->postal_code : ''; $address.=($biller->state != '')? ', '.$biller->state : '...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <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>{{isset($_title) ?$_title: config('app.n...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddChatMaster extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('chats', function ($table) { $table->boolean('is_...
<?php namespace BackupManager\Filesystems; use League\Flysystem\AwsS3v2\AwsS3Adapter; use Aws\S3\S3Client; use League\Flysystem\Filesystem as Flysystem; /** * Class GcsFilesystem * @package BackupManager\Filesystems */ class GcsFilesystem implements Filesystem { /** * @param $type * @return bool ...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\hoadonchitietSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Hóa Đơn Chi Tiết'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="hoadonchitiet-index"> <h1>...
<?php class ModelCustomerCustomerApproval extends Model { public function getCustomerApprovals($data = array()) { $sql = "SELECT *, CONCAT(c.`firstname`, ' ', c.`lastname`) AS name, cgd.`name` AS customer_group, ca.`type` FROM `" . DB_PREFIX . "customer_approval` ca LEFT JOIN `" . DB_PREFIX . "customer` c ON (ca.`cu...
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Documents\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for ImportHandlerResponseType StructType * Meta information extracted from the WSDL * - documentation: The response is only filled in ...
@extends('layout') @section('content') <div class="container"> <div class="row" style="margin-top: 80px;"> <div class="col-md-6 col-md-offset-3"> <div class="panel panel-default"> <div class="panel-heading">登录</div> <div class="panel-body"> <f...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Masters_model extends CI_Model { public function update_leave_type($data, $leave_type_id) { $this->db->where('leave_type_id', $leave_type_id); $this->db->update('leave_types_tbl', $data); return true; } ...
<?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. */ /** * Description of IndexController * * @author MikeCorner */ namespace Cimply_Cim_App { use \Cimply_Cim_System\Cim_...
<?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\Messenger\Tests\Transport\AmqpExt; use PHPUnit\Framew...
<?php namespace App\Actions\Fortify; use App\Models\User; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Laravel\Fortify\Contracts\CreatesNewUsers; use Laravel\Jetstream\Jetstream; class CreateNewUser implements CreatesNewUsers { use PasswordValidationRules; /** * Va...
@extends('layouts.master') @section('content') <!-- Main content --> <section class="content"> <div class="row"> <div class="col-md-9"> @if (count($errors) > 0) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error...
<?php namespace App\Http\Controllers; use App\Models\Payment; use Illuminate\Http\Request; class PaymentsController extends Controller { // READING public function index(){ if(auth()->user()->tokenCan('employee-access')) { // if u are an customer abort(403, 'unauthorized'); } ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePlatsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('plats', function (...
<?php /** * SEOmatic plugin for Craft CMS 3.x * * A turnkey SEO implementation for Craft CMS that is comprehensive, powerful, * and flexible * * @link https://nystudio107.com * @copyright Copyright (c) 2017 nystudio107 */ namespace nystudio107\seomatic\models\jsonld; use nystudio107\seomatic\models\jsonl...
<footer class="main-footer"> <div class="container"> <div class="float-right d-none d-sm-block"> <!-- <b>Version</b> 3.1.0 --> </div> <strong>Copyright &copy; Data Kemenag. 2021 Curalib All rights reserved. </div> </footer>
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div id="search"> <h4>Search ...
<!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"> <title>Laravel Time Tracker</title> {{-- Fonts --}} <link rel="stylesheet" href=...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>🍒 Bundle Charts (🌸◠‿◠)</title> <meta name="description" content="The definitive bundle charts site undistracted by library management features" /> <link rel="pre...
@extends('layouts.main') @section('title', 'Add New Attendees') @section('content') <form action="{{ route('store_attendees') }}" method="POST"> {{ csrf_field() }} @if( $errors->any()) <div class="alert alert-danger"> {!! implode('', $errors->all(':message <br>')) !!} </div> @endif <h5>CC8 Seminar Form</h5> <h...
<?php /** * Created by PhpStorm. * User: abelique * Date: 16/08/14 * Time: 14:41 */ /* * (c) Javier Eguiluz <javier.eguiluz@gmail.com> * * Este archivo pertenece a la aplicación de prueba Cupon. * El código fuente de la aplicación incluye un archivo llamado LICENSE * con toda la información sobre el copyrig...
<?php namespace Trapzpro\TradingTracker; class TradingTracker { // Build your next great package. }
<?php class ControllerPaymentEway extends Controller { private $error = array(); public function index() { $this->load->language('payment/eway'); $this->document->setTitle($this->language->get('heading_title')); $this->load->model('setting/setting'); if (($this->request->server['REQUEST_METHOD'] == 'POST...
@extends('home.layout.main') @section('title', 'Page Title') @section('content') <div class="col-sm-8"> <blockquote> <p> <img src="/storage/9f0b0809fd136c389c20f949baae3957/iBkvipBCiX6cHitZSdTaXydpen5PBiul7yYCc88O.jpeg" alt="" class="img-rounded" style="border-radius:500px; heigh...
@extends('layouts.main-menu') @section('styles') <style> #map2 { height: 100%; } </style> @stop @section('contents') <div class="content-wrapper"> <!-- Main content --> <section class="content"> <!-- Info boxes --> <hr/> <!--E...
<?php namespace rosasurfer\cache; use rosasurfer\cache\monitor\Dependency; use rosasurfer\core\assert\Assert; /** * ReferencePool * * Die einfachste CachePeer-Implementierung. Dieser Cache speichert die Objekte nur im Speicher des * aktuellen Prozesses, die Werte bleiben also nach Ende des Requests nicht erhal...
<?php /** * @package AkeebaBackup * @copyright Copyright (c)2006-2016 Nicholas K. Dionysopoulos * @license GNU General Public License version 3, or later */ namespace Akeeba\Backup\Admin\Model; // Protect from unauthorized access defined('_JEXEC') or die(); use Akeeba\Engine\Factory; use FOF30\Model\Model; u...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...