text
stringlengths
2
1.03M
@extends('container.app') @section('content') start content @endsection
<?php namespace Oneup\UploaderBundle\Tests\Controller; class MooUploadTest extends AbstractControllerTest { protected function getConfigKey() { return 'mooupload'; } protected function getRequestParameters() { return []; } protected function getRequestFile() { ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ChangeShippingProviderToForeignKey extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('shipments', function (Blueprint $table)...
<?php // unserialize() のフィルタリング // オブジェクトはすべて、__PHP_Incomplete_Class のオブジェクトに変換します $data = unserialize($foo, ["allowed_classes" => false]); // MyClassとMyClass2以外のすべてのオブジェクトを、__PHP_Incomplete_Class のオブジェクトに変換します $data = unserialize($foo, ["allowed_classes" => ["MyClass", "MyClass2"]]); // デフォルト (第二引数を省略した場合) の挙動は以下のよ...
<?php class User extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('barang'); } // Login public function login() { $this->form_validation->set_rules('username', 'Username', 'required'); ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePasiensTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('pasiens', funct...
<section class="content-header"> <h1> Price <small><?php echo $heading?></small> </h1> <ol class="breadcrumb"> <li><?php echo anchor('home','<span class="glyphicon glyphicon-home"></span> Home')?></li> <li><?php echo anchor($breadcrumb,'List')?></li> <li class="active"><?php echo $heading?></li> </ol> <...
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Customer\Test\Block\Account; use Magento\Mtf\Block\Form; use Magento\Customer\Test\Fixture\Customer; /** * Authentication wrapper block. */ class AuthenticationWrapper extends Authenti...
@if($title) <li> {{$title}} </li> @endif @if($bodyMessage) <li> {{$bodyMessage}} </li> @endif
@extends('layouts.admin') @section('content') <div class="app-content content"> <div class="content-wrapper"> <div class="content-header row"> <div class="content-header-left col-md-6 col-12 mb-2"> <div class="row breadcrumbs-top"> <di...
<?php /** * Copyright 2014 Openstack Foundation * 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 ...
<?php /* * This file is part of the Predis package. * * (c) Daniele Alessandri <suppakilla@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Predis\Command; /** * @link http://redis.io/commands/zcount * @aut...
<?php /* * File: /src/Core/Events.php * * Project: dhl-status * * File Created: 26-12-2021 20:24:50 * * Author: Jan Loeper <kalte_sterne@arcor.de> ...
<?php $form = array( 'name' => 'form_tnevaluador' ); $url = "'".base_url()."index.php/TNEvaluador'"; $js_cancel_button = 'onClick="location.href='.$url.'"'; $DESC_TNEvaluador = array( 'name' => 'DESC_TNEvaluador', 'value' => $tnevaluador->result()[0]->DESC_TNEvaluador, 'placeholder' => 'Descripcion de TNEvaluador'...
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, '...
<?php namespace App\Http\Controllers\api; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Http\Controllers\Controller; use App\Models\contentPhoto; class addPhotoDataAPI extends Controller { public function add(Request $request){ $saveName = $request->get('saveName'); $pho...
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Download_Base extends Controller_Admin_Download_Base { public function before() { $this->_initialize(); } }
<?php namespace app\assets; use yii\web\AssetBundle; /** * Ассет-бандл для js-плагина JavaScript Cookie * * @link https://github.com/js-cookie/js-cookie */ class JsCookieAsset extends AssetBundle { public $sourcePath = '@bower/js-cookie'; public $js = [ 'src/js.cookie.js', ]; }
<?php /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Content extends Model { protected $fillable = ['content']; /** * この投稿を所有するユーザ。( Userモデルとの関係を定義) */ public function user() { return $this->belongsTo(User::class); } }
<div class="form-group row"> <label for="street" class="col-md-4 col-form-label text-md-right">{{ __('Street') }}</label> <div class="col-md-6"> <input id="street" type="text" class="form-control{{ $errors->has('street') ? ' is-invalid' : '' }}" value="{{ old('street') }}"...
@extends('layout.sv_layout') @section('title', 'Chi tiết hồ sơ') @section('body') <div class="row"> <div class="col-md-8"> <div class="applicant-cover"> <div class="row"> <div class="col-md-8 d-flex text-white align-middle"> <img class=...
<?php use Illuminate\Database\Seeder; class AccountData extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $email = "admin@gmail.com"; $pass = "admin123"; $type = "admin"; DB::table('accounts')->insert([ '...
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use T...
<?php /* TwigBundle:Exception:traces.xml.twig */ class __TwigTemplate_9999e1d1266e8ffa29cfccff8ae5fb6efedc16cf6f9c46ba20e5c22709774390 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="icon" type="image/png" href="<?php echo e(url('public/logo', $general_setting->site_logo)); ?>" /> <title><?php echo e($general_setting->site_title); ?></title> <meta name="descrip...
<?php class Repartidor_model extends CI_Model { public function __construct() { parent::__construct(); $this->load->database(); } public function selectRepartidorDisponible(){ $sql="SELECT * FROM MUsuario where RepartidorDisponible = 1 and ID_perfil=6"; $result = $this->db->query...
<?php namespace App; use Illuminate\Database\Eloquent\Relations\Pivot; class ChannelUser extends Pivot { // }
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php /** * Copyright (c) 2018 VectorNetworkProject. All rights reserved. MIT license. * * GitHub: https://github.com/VectorNetworkProject/TheMix * Website: https://www.vector-network.tk */ namespace VectorNetworkProject\TheMix\event\level; use InkoHX\LeveLibrary\event\level\PlayerLevelUpEvent; use pocketmine\ev...
<?php class UsernameException extends Exception {} class PasswordException extends Exception {} $username = 'john'; $password = ''; try { if (empty($username)) { throw new UsernameException(); } if (empty($password)) { throw new PasswordException(); } ...
<?php namespace frontend\controllers; use Yii; use backend\models\Animals; use yii\data\ActiveDataProvider; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * AnimalsController implements the CRUD actions for Animals model. */ class AnimalsController extends Controller { ...
@extends('layouts.apps.dashboard') @section('breadcrumbs') <ol class="breadcrumb bg-transparent mb-0 pb-0 pt-1 px-0 me-sm-6 me-5"> <li class="breadcrumb-item text-sm"><a class="opacity-5 text-dark" href="javascript:;">Master</a></li> <li class="breadcrumb-item text-sm text-dark active" aria-current="page">Produk</...
@extends('layouts.base') @section('content') <div class="row"> <div class="col-md-6 col-md-offset-3"> <h1>Cards List</h1> <ul class="list-group"> @forelse($cards as $card) <li class="list-group-item"><a href="{{ $card->path() }}">{{ $card->title }} ({{ $card->notes()->count() }})</a></li> @emp...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Room extends Model { use HasFactory; protected $fillable = [ 'code', 'size', 'description', 'price', 'status' ]; public function us...
<?php declare(strict_types = 1); return new \PHPStan\Reflection\Native\NativeFunctionReflection( 'ncurses_scrl', [ new \PHPStan\Reflection\Native\NativeParameterReflection( 'count', false, PHPStan\Type\IntegerType::__set_state(array()), false, false ), ], false, PHPStan\Type\IntegerType::...
<script> function ulang(){ document.getElementById("rating_code").value = ""; document.getElementById("rating_name").value = ""; } </script> <!-- BEGIN PAGE TITLE & BREADCRUMB--> <div class = "page-bar"> <ul class="page-breadcrumb"> <li> <a href="<?php echo base_url();?>"> Beranda </...
<?php namespace App\Http\Requests\UserDevice; use Illuminate\Foundation\Http\FormRequest; class CreateUserDeviceRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } ...
@extends('layouts.admin') @section('content') <!-- Page Wrapper --> <div class="page-wrapper"> <!-- Page Content --> <div class="content container-fluid"> <div class="crms-title row bg-white"> <div class="col p-0"> <h3 cl...
<?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 RectorPrefix20210828\Symfony\Component\ErrorHandler; use RectorPrefix202...
<?php defined('BASEPATH') or exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php Header('Location: ./public');
<?php return array_replace(require __DIR__.'/nz-national.php', array( '01-22' => '= 01-22 if Tuesday,Wednesday,Thursday then previous Monday and if Friday,Saturday,Sunday then next Monday', ));
<?php namespace App\Entity\Translation; use ApiPlatform\Core\Annotation\ApiFilter; use ApiPlatform\Core\Annotation\ApiResource; use App\Entity\Vuln; use App\Traits\DescriptionTrait; use App\Traits\NameTrait; use App\Traits\RemediationTrait; use Doctrine\ORM\Mapping as ORM; use ApiPlatform\Core\Bridge\Doctrine\Orm\Fil...
<?php declare(strict_types=1); namespace Wirgen\Keitaro\Model; /** * Class Domain * * @property int $id * @property string $name * @property string $network_status * @property int $default_campaign * @property string $state * @property string $created_at * @property string $updated_at * @property bool $wil...
<?php /* * This file is part of the SagePayPi package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Lumnn\SagePayPi\Transaction; use Lumnn\SagePayPi\AddressInterface; /** * Repeat Transaction Request. */ interface ...
<?php class Database { # ==================================================================== # Public Database Variables; # -------------------------------------------------------------------- # ==================================================================== # Private Database Variables; # -------------------...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\models\TaskSentenceSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="task-sentence-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ...
@extends('user.layouts.app') @section('title', '基本情報の編集') @section('header') <h1 id="title">基本情報の編集</h1> @endsection @section('content') <main> {{ Form::open(['route'=>"user.my_account.update", 'method'=>'get']) }} <div class="shop-detail"> <table class="table"> <tbody...
--TEST-- Testing error on non-long parameter 3 of imagestring() of GD library --CREDITS-- Rafael Dohms <rdohms [at] gmail [dot] com> #testfest PHPSP on 2009-06-20 --SKIPIF-- <?php if (!extension_loaded("gd")) die("skip GD not present"); ?> --FILE-- <?php $image = imagecreatetruecolor(180, 30); $result = imagestring($...
<?php declare(strict_types=1); use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddUsableToRegionsTable extends Migration { public function up(): void { Schema::table('regions', static function (Blueprint $table): voi...
@extends('admin.layouts.master') @section('content') <div class="d-sm-flex align-items-center justify-content-between mb-4"> <h1 class="h3 mb-0 ml-4 text-gray-800">skill</h1> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="./">Home</a></li> <li class...
--TEST-- get_defined_functions() function : basic functionality --FILE-- <?php /* Prototype : array get_defined_functions ( void ) * Description: Gets an array of all defined functions. * Source code: Zend/zend_builtin_functions.c */ echo "*** Testing get_defined_functions() : basic functionality ***\n"; functi...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Money extends Model { protected $fillable = [ 'money_type','stock' ]; }
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Gejala extends CI_Controller { public function index() { $data['gejala'] = $this->db->get('gejala')->result_array(); $this->load->view('header'); $this->load->view('sistem-pakar/gejala', $data); $this->load->view('footer'); } }
<?php use yii\db\Migration; class m171006_132748_create_db_account extends Migration { public function safeUp() { } public function safeDown() { echo "m171006_132748_create_db_account cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration cod...
<?php namespace App\Models\Site; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class SliderImage extends Model { use HasFactory; protected $table = 'siteslidersimages'; }
<?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms * * $Id: table_forum_threadprofile.php 31607 2012-09-13 08:38:40Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class table_forum_threadprofile extends discuz_table { pub...
<?php session_start(); if(!empty($_SESSION['id_usuario']) AND $_SESSION['permissao'] != 1 AND $_SESSION['menu_scouter_ligacao_new'] == 1){ include_once("conection/conexao.php"); $idfuncionario = $_SESSION['id_usuario']; ?> <!doctype html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"...
<?php namespace KitAdminBundle\Controller; use KitAdminBundle\Entity\ConfigCategory; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; /** * Configcategory controller. * */ class ConfigCategoryController extends Controller { /** * Lists all configCate...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Dingtalk\Vcarbon_1_0\Models; use AlibabaCloud\Tea\Model; class WriteUserCarbonResponse extends Model { /** * @var string[] */ public $headers; /** * @var WriteUserCarbonResponseBody */ public...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\TimetableSlotOnModule */ $this->title = $model->timetable_slot_module_id; $this->params['breadcrumbs'][] = ['label' => 'Timetable Slot On Modules', 'url' => ['index']]; $this->params['breadcrumbs'][] = $th...
<?php namespace Turiknox\SLog\Model; use Magento\Framework\Api\DataObjectHelper; use Magento\Framework\Api\SearchCriteriaInterface; use Magento\Framework\Api\Search\FilterGroup; use Magento\Framework\Api\SortOrder; use Magento\Framework\Exception\CouldNotSaveException; use Magento\Framework\Exception\StateException; u...
<?php /** * @backupGlobals disabled * @backupStaticAttributes disabled */ require_once "src/Store.php"; $server = 'mysql:host=localhost;dbname=shoestores'; $username = 'root'; $password = 'root'; $DB = new PDO($server, $username, $password); class StoreTest extends PHPUnit_Fr...
<!-- Copyright 2017-2019 Carmelo Romeo (carmelo.romeo85@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 required by applicable law ...
<?php /* * This file is part of the Geocoder package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ namespace Geocoder\Provider\SPW\Tests; use Geocoder\IntegrationTest\ProviderIntegrationTest; use Geoc...
<?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...
<?php namespace Aspose\Imaging\DrawingImages; use com\aspose\imaging\imageoptions\BmpOptions as BmpOptions; use com\aspose\imaging\sources\StreamSource as StreamSource; use com\aspose\imaging\Image as Image; use com\aspose\imaging\Color as Color; use com\aspose\imaging\Pen as Pen; use com\aspose\imaging\Graphics as Gr...
<?php namespace Longman\TelegramBot\Commands\SystemCommands; use Illuminate\Support\Facades\Storage; use Longman\TelegramBot\Commands\UserCommand; use Longman\TelegramBot\Request; class GetstatCommand extends UserCommand { /** * @var string */ protected $name = 'getstat'; /** * @var str...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Component\Locale\Context; use Sylius\Component\Storage\StorageInterface; /** * @au...
<?php namespace App\View\Components; use Illuminate\View\Component; use Illuminate\Support\Facades\Cookie; class Layout extends Component { public $theme = 'light'; public $selectedTheme = 'system'; /** * Create a new component instance. * * @return void */ public function __cons...
<?php /** * Class Billet * * @author Open Source Team * @copyright 2021 Pagar.me (https://pagar.me) * @license https://pagar.me Copyright * * @link https://pagar.me */ namespace Pagarme\Pagarme\Block\Payment\Info; use Exception; use Magento\Framework\Exception\LocalizedException; use Magento...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePublisherSeriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('publish...
<?php /* * This file is part of the Active Collab DateValue project. * * (c) A51 doo <info@activecollab.com>. All rights reserved. */ declare(strict_types=1); namespace ActiveCollab\DateValue; class DateRange implements DateRangeInterface { use DateRangeTrait; public function __construct(DateValueInter...
<?php /* * Copyright 2008 Sven Sanzenbacher * * This file is part of the naucon package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Naucon\HtmlBuilder\Tests; use Naucon\HtmlBuilder\HtmlDiv; use Naucon\HtmlBuilder\Ht...
<?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. */ // Instance ENVIRONMENT $dotenv = new Dotenv\Dotenv(ROOT); $dotenv->load();
<?php namespace App\DataTables; use App\Mail; use App\Newsletter; use Yajra\DataTables\Html\Button; use Yajra\DataTables\Html\Column; use Yajra\DataTables\Html\Editor\Editor; use Yajra\DataTables\Html\Editor\Fields; use Yajra\DataTables\Services\DataTable; class NewsletterMailsDataTable extends DataTable { priv...
<?php require '../../lib/three_seventy_api.php'; require '../config.php'; use ThreeSeventyApi\Client; // Returns the details for a specific callback object. class GetCallback { public function run() { // Load the config $config = getConfig(); // Create Client object $client...
<?php /** * Deprecated API functions for scheduling actions * * Functions with the wc prefix were deprecated to avoid confusion with * Action Scheduler being included in WooCommerce core, and it providing * a different set of APIs for working with the action queue. */ /** * Schedule an action to run one time ...
<?php namespace AsyncAws\Sqs\Tests\Unit\Input; use AsyncAws\Core\Test\TestCase; use AsyncAws\Sqs\Input\PurgeQueueRequest; class PurgeQueueRequestTest extends TestCase { public function testRequest(): void { $input = new PurgeQueueRequest([ 'QueueUrl' => 'queueUrl', ]); /*...
<? $MESS["SENDER_CONFIG_ROLE_LIST_ADD"] = "Add"; $MESS["SENDER_CONFIG_ROLE_LIST_ADD_ACCESS_CODE"] = "Add access permission"; $MESS["SENDER_CONFIG_ROLE_LIST_AVAILABLE_DEAL_CATEGORY"] = "Pipeline"; $MESS["SENDER_CONFIG_ROLE_LIST_DELETE"] = "Delete"; $MESS["SENDER_CONFIG_ROLE_LIST_EDIT"] = "Edit"; $MESS["SENDER_CONFIG_ROL...
<?php namespace App\Controllers; use App\Models\UserModel; use CodeIgniter\CodeIgniter; class Profil extends BaseController { protected $UserModel; protected $validasi; public function __construct() { $this->UserModel = new UserModel(); $this->validasi = \Config\Services::validation()...
<?php /** * Copyright 2018 cw1997. All Rights Reserved. * Project: think-auth * File: Auth.php * Author: cw1997 [867597730@qq.com] * Website: changwei.me * Date: 2018/4/24 * Time: 15:53 */ namespace cw1997\auth; use think\Db; use think\Request; class Auth { public static function addPerm($strName, $strM...
@extends($rootLayout) @section('title', $__t('Products')) @section('activeNav', 'products') @section('viewJsName', 'products') @section('content') <div class="row"> <div class="col"> <div class="title-related-links"> <h2 class="title">@yield('title')</h2> <div class="float-right"> <button class="btn btn-...
<?php /** * User: Andy * Date: 2019/7/19 * Time: 22:46 */ namespace app\lib\exception; class CategoryMissException extends BaseException { public $code = '401'; public $msg = '找不到分类数据'; public $errorCode = 10003; }
<?php namespace App\Http\Controllers; use App\Models\Reference; use Illuminate\Http\Request; class ReferenceController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return Reference::all(); ...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 5.1.6 or newer * * @package CodeIgniter * @author ExpressionEngine Dev Team * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc. * @license http://codei...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class DetailLaporanView extends Model { protected $table = 'detail_aduans_view'; public function kategori_aduan() { return $this->hasOne('App\Kategori', 'id_kategori', 'id_kategori'); } public function masyarakat() { ...
<?php return [ 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset', ], 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', 'components' => [ ], ];
<?php namespace App\Http\Controllers; use App\Trainer; use Illuminate\Http\Request; class TrainerCtroller extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $trainers = Trainer::all(); retu...
<?php namespace Database\Seeders; use App\Models\SubClasificacion; use Illuminate\Database\Seeder; class SubClasificacionSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { SubClasificacion::insert( [ ['...
<?php /* TransportExceptionEvent class in Swift Mailer. 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. This program is...
@extends('backend.layouts.app') @section('content') @include('backend.layouts.headers.cards') <div class="container-fluid mt--6"> <div class="row"> <div class="col-xl-5 order-xl-1 mb-5 mb-xl-0"> <div class="card card-profile shadow"> <div class="row ...
<?php /* * This file is part of the Tmx package. * (c) kreemer <kreemer@me.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tmx; /** * Represents a layer. * * A layer contains different tiles which can be printed ...
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $config = [ 'id' => 'basic', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'charset' => 'UTF-8', 'defaultRoute' => 'site', 'language' => 'ru-RU', 'aliases' => [ '@bower' => '@vendor/bower-...
<?php namespace App\Http\Livewire\User; use Livewire\Component; class PasswordUpdateComponent extends Component { public function updated($fields) { $this->validateOnly($fields,[ 'password' => 'required|4', 'new_password' => 'required|4', ]); } public functio...
<?php include 'assets/views/app.php'; ?> <?php if (User::isLoggedIn()) { ?> <?php $reservations = $dbManipulator->getRezervari(!User::isAdmin() ? $_SESSION['user']['id'] : null); ?> <div class="container container-body"> <table class="table"> <thead> <tr> <th sc...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css"> <div class="content-wrapper"> <section class="content-header"> <?php echo $pagetitle; ?> ...
@extends('layouts.app') @section('content') <div class="flex justify-center"> <div class="w-8/12"> <div class="p-6"> <h1 class="text-2xl font-medium mb-1">{{ $user->name }}</h1> <p>Posted {{ $posts->count() }} {{ Str::plural('post', $posts->count()) }} and ...
<div class="modal-header"> <h3 class="modal-title custom-font"><font class="text-blue"><strong>Cab Request Id : </strong> <?php echo $c_request_id; ?></font> </h3> </div> <div class="modal-body"> <p> ...