text
stringlengths
2
1.03M
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/documentai/v1/document.proto namespace Google\Cloud\DocumentAI\V1\Document\Page\Table; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A row of table ...
@extends('admin') @section('content') <body> <div id="wrapper"> <div class="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Login</h1> </div> </div> <div class="row"> ...
@extends('layouts.login-master') @section('title','Historical Data') @section('css') <link rel="stylesheet" href="{{ URL::asset('css/historical.css') }}"> @stop @section('content') <script src="//cdnjs.cloudflare.com/ajax/libs/list.js/2.3.1/list.min.js"></script> <script> //CLEARS SEARCHES AND FILTERS, RESETS fun...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 4.3.2 or newer * * @package CodeIgniter * @author ExpressionEngine Dev Team * @copyright Copyright (c) 2006, EllisLab, Inc. * @license http://codeigniter....
<?php namespace App\Providers; use Illuminate\Contracts\Events\Dispatcher as DispatcherContract; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; class EventServiceProvider extends ServiceProvider { /** * The event listener mappings for the application. * * @var...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Closed_answer extends Model { protected $fillable = ['id_question', 'closed_answer']; protected $primaryKey = 'id_closed_answer'; }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateClientsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { // for purchasing client ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dialogflow/v2beta1/intent.proto namespace Google\Cloud\Dialogflow\V2beta1\Intent\Message\RbmCarouselCard; use UnexpectedValueException; /** * The width of the cards in the carousel. * * Protobuf type <code>google.cloud.dialogf...
<?php /* * The MIT License (MIT) * * Copyright (c) 2013-2017 Cinchapi Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
<?php /* * Copyright 2014 Thorwald Donato Madalese * * 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 2 of the License, or * (at your option) any later version. * * This pr...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class CreateArticleRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * ...
@extends('layouts.app') @section('content') <clientes></clientes> @endsection <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<?php namespace oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_2; use un\unece\uncefact\data\specification\UnqualifiedDataTypesSchemaModule\_2; /** * @xmlNamespace urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2 * @xmlType DateType * @xmlName EndDateType * @var oasis\names\spe...
@extends("layout") @section("main") <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</title> <!-- Fonts --> <link rel="stylesheet" href="https://fonts.goo...
@extends('layout.front') @section('content') {{ HTML::style('css/blueimp-gallery.min.css') }} <style type="text/css"> ul.years{ list-style-type: none; } ul.thumbgrid{ list-style-type: none; } ul.thumbgrid li{ float: left; padding: 4px; } .gridcontai...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class City extends Model { use HasFactory; protected $fillable = [ 'id', 'province_id', 'city_name', 'postal_code', ]; public function users() ...
<?php /* * This file is part of Sulu. * * (c) MASSIVE ART WebServices GmbH * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Sulu\Bundle\SecurityBundle\DependencyInjection; use Sulu\Bundle\PersistenceBundle\DependencyInjection\Persiste...
<?php /* |-------------------------------------------------------------------------- | Create The Application |-------------------------------------------------------------------------- | | The first thing we will do is create a new Laravel application instance | which serves as the "glue" for all the components of La...
<!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"> <meta name="description" content=""> <meta name="author" content=""> <title>@yield('title')</title> <!...
<?php namespace App\Events; use App\Models\TabelDinamis; use App\Models\User; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class TabelDinamisAdde...
<?php require __DIR__ . '/../../fullstackphp/fsphp.php'; fullStackPHPClassName("03.02 - Funções para strings"); /* * [ strings e multibyte ] https://php.net/manual/en/ref.mbstring.php */ fullStackPHPClassSession("strings e multibyte", __LINE__); $string = "O último show do AC/DC foi incrível!"; var_dump([ "str...
<?php /** * GetCharactersCharacterIdMailMailIdRecipient * * PHP version 7.3 * * @category Class * @package Swagger\Client\Eve * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * EVE Swagger Interface * * An OpenAPI for EVE Online * * The version of the OpenAPI document...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php namespace Javanile\Glossar\Parsers; class PhpParser { /** * Sanitize string. * * @param mixed $string * * @return string */ public static function sanitizeString($string) { return stripslashes(trim($string, '\'"')); } /** * @param mixed $file ...
<?php // +---------------------------------------------------------------------- // | ThinkBiz System // | 功能: 数据库管理控制器 // +---------------------------------------------------------------------- // | 版权所有 2013~2017 深圳市俊网网络有限公司 [ http://www.junnet.net ] // +---------------------------------------------------------------...
<?php session_start(); if(!isset($_SESSION["logi"])){ header("location: ../Login/LoginView.php"); exit(); } else{ $login = $_SESSION["logi"]; } ?> <!doctype html> <html> <head> <title> historico </title> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to...
<?php /* @version v5.20.17 31-Mar-2020 @copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. @copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two lic...
<?php namespace App\Listeners\Order; use App\Events\Order\StoreConfirmedEvent; use App\Services\PusherService; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; class ConfirmPusher { protected $pusherService; /** * Create the event listener. * * @param Push...
<?php // License for all code of this FreePBX module can be found in the license file inside the module directory // Portions Copyright (C) 2011 Igor Okunev // Portions Copyright (C) 2011 Mikael Carlsson // Copyright 2013 Schmooze Com Inc. // if (!defined('FREEPBX_IS_AUTH')) { die('No direct script access allowed'); ...
<?php /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Carbon; use Closure; /** * A factory to generate CarbonImmutable instances ...
<?php /* forms/form.html.twig */ class __TwigTemplate_8f71b5d9d40da7256a125d07cd8455a4ce437e78621c12cf1f35ca0f9191c021 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("forms/default/fo...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddTableBankStatusToCustomerLots extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('cu...
<?php namespace App\Models; use App\Models\BaseModel; class Customer extends BaseModel { // protected $fillable = ['name','phone_1','phone_2','email']; //разрешаем для массового изменения //protected $guarded = ['_method']; //запрещаем для массового изменения public function trades() { retur...
<?php /* @var $this yii\web\View */ $this->title = 'Бигли-Шмигли'; ?> <div class="content"> <div class="container"> <div class="content-top-top"> <div class="content-top"> <div class="col-md-4 wel"> <div class="content-ic"> <i class="...
<?php namespace LSI\SystemBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * School * * @ORM\Table(name="school") * @ORM\Entity */ class School { /** * @var string * * @ORM\Column(name="school_abbr", type="string", length=10, nullable=false) */ private $schoolAbbr; /** *...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
@extends('admin.index') @section('content') <!-- Small boxes (Stat box) --> <div class="row"> <div class="col-lg-4 col-xs-6"> <!-- small box --> <div class="small-box bg-aqua"> <div class="inner"> <h3>{{ $statistics['products'] }}</h3> <p>...
<?php namespace Dvc\DictionaryConsumerBundle\Services; use AppBundle\Entity\Word; use Dvc\DictionaryConsumerBundle\Entity\Dictionary as DictionaryEntity; use Symfony\Component\Serializer\Encoder\JsonEncoder; use Symfony\Component\Serializer\Normalizer\ArrayDenormalizer; use Symfony\Component\Serializer\Normalizer\Get...
<?php declare(strict_types = 1); namespace Ikoene\MarvelApiBundle\Entity; /** * Class Url * @package Ikoene\MarvelApiBundle\Entity */ class Url { /** * A text identifier for the URL. * * @var string */ private $type; /** * A full URL (including scheme, domain, and path). ...
<?php /* vim:set softtabstop=4 shiftwidth=4 expandtab: */ /** * * LICENSE: GNU General Public License, version 2 (GPLv2) * Copyright 2001 - 2015 Ampache.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License v2 * as published by the Fre...
<?php /** * triggersProperties.php * * ProcessMaker Open Source Edition * Copyright (C) 2004 - 2008 Colosa Inc.23 * * 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 Free Software Foundation, either version ...
<?php namespace Codwelt\codviews\Controllers; use Codwelt\codviews\Models\visitas as bdvisitas; use Codwelt\codviews\Clases\graficasvisitas; use App\Http\Controllers\Controller; use Codwelt\codviews\Clases\Visitas; use Codwelt\codviews\Clases\config; use Codwelt\codviews\Models\configcodviews; use Illuminate\Support\...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css2?family=Nunito...
<?php namespace app\events; use app\models\UserModel as User; /** * Class AdminLoginAfter * @package app\event */ class AdminLoginAfter { public $user; public function __construct(User $user) { $this->user = $user; } }
<?php //ICB0 56:0 71:1f85 ?><?php //004fb if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exist...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\Empresa */ $this->title = 'Actualizar Empresa: ' . $model->nombre; $this->params['breadcrumbs'][] = ['label' => 'Empresas', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->nombre, 'url' => ['view', 'id' ...
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2019, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
<?php $this->load->view("partial/header"); ?> <script type="text/javascript"> dialog_support.init("a.modal-dlg"); </script> <ul class="nav nav-tabs" data-tabs="tabs"> <li class="active" role="presentation"> <a data-toggle="tab" href="#info_tab" title="<?php echo $this->lang->line('config_info_configuration'); ?>"...
@inject('layout', 'App\Models\Layout') @extends('layouts.'.$layout->app(), ['page_header'=>'Punches', 'page_description'=>'Edit Punch ID.']) @section('content') <div class="container-fluid"> <div class="row"> <div class="col-sm-8 col-sm-offset-2"> <div class="box box-primary pad"> {!! Form::model($pu...
<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') }}</title> <script src="{{ asset('js/app.js') }}" defer></script> <link rel="dns-prefetch...
<?php namespace DBAL\Entity; use Doctrine\ORM\Mapping as ORM; /** * This class represents a registered user. * @ORM\Entity() * @ORM\Table(name="TipoMovimiento") */ class TipoMovimiento { const ID_INGRESO = '1'; const ID_GASTO = '2'; /** * @ORM\Id * @ORM\Column(name="idTipoMovimiento", type="i...
<?php /* @var $this \yii\web\View */ /* @var $content string */ use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use app\assets\AppAsset; use yii\helpers\Url; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->langua...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use DB; use Auth; use Session; use App\Slider; use App\Http\Requests; use Illuminate\Support\Facades\Redirect; use App\Post; use App\CatePost; session_start(); class PostController extends Controller { public function AuthLogin(){ ...
<?php namespace AliPay\Request; /** * ALIPAY API: alipay.open.servicemarket.commodity.shop.offline request * * @author auto create * @since 1.0, 2016-08-25 11:11:17 */ class AlipayOpenServicemarketCommodityShopOfflineRequest { /** * 下架商户门店 **/ private $bizContent; private $apiParas = array(); private $t...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUnsubscribeLogsTable extends Migration { /** * Run the migrations. */ public function up() { Schema::create('unsubscribe_logs', function (Blueprint $table) { $table->incr...
<!doctype html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="author" content="Sarfraz Ahmed (sarfraznawaz2005@gmail.com)"> <title>Meter</title> <link href="https://fonts.googl...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>OTS | Main Page</title> <!-- Font Awesome Icons --> <link href...
<!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...
@extends('layouts.descriptive-content') @section('Page__Title', 'Frequently Asked Question') @section('Page__BreadCrumbs') <ol class="breadcrumb"> <li> <a href="{{ url('home') }}">Home</a> </li> <li class="active"> <a href="{{ url('faq') }}"> FAQ </a> </li> ...
<?php namespace ErrorHandling\Handler\Factory; use Zend\ServiceManager\Factory\FactoryInterface; use Interop\Container\ContainerInterface; use ErrorHandling\Handler\ExceptionHandler; use Zend\ServiceManager\Exception\CircularDependencyFoundException; class ExceptionHandlerFactory implements FactoryInterface { pu...
<?php namespace App\Http\Controllers\administrasi; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\User; use Spatie\Permission\Models\Role; class UserdosenController extends Controller { public function __construct() { $this->middleware(['permission:userdosen_adm.index...
<nav class="navbar navbar-default"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> ...
@extends('layouts.app') @section('content') <div class="container"> <div class="wrapper fadeInDown"> <div id="formContent"> <!-- Tabs Titles --> <!-- Icon --> <div class="fadeIn first"> <img src="{{ asset('img/login.png') }}" id="icon" alt="User Icon" />...
<?php namespace RybakDigital\Bundle\UserBundle\Entity; use Doctrine\ORM\NoResultException; use Doctrine\ORM\EntityRepository; /** * UserRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class UserRepository extends EntityRepository { /** * G...
<?php namespace App\Http\Controllers; use App\Models\Artikel; use App\Models\Galeri; use App\Models\Info; use App\Models\Infowebsite; use App\Models\Kategori; use App\Models\Kategoriartikel; use App\Models\Lapak; use App\Models\Penduduk; use App\Models\Potensi; use App\Models\Potensisub; use App\Models\Produk; use Ap...
<?php /** * Example of Mailer usage * * @author Anton Shevchuk * @created 07.09.12 18:28 */ namespace Application; use Bluz\Proxy\Layout; use Bluz\Proxy\Mailer; use Bluz\Proxy\Messages; use Bluz\Proxy\Request; return /** * @param string $email * @return \closure */ function ($email = "no-reply@nixsolutions...
@extends('shop.layout.app') @section('main-content') <section id="change-wrapper"> <div class="container"> <div class="row clearfix"> @if($user->id==Auth::user()->id) <div class="col-sm-12 change-password"> <h2> Change your password</h2> ...
<?php namespace Drupal\rest\LinkManager; use Drupal\Core\Cache\Cache; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Extension\ModuleHandlerInterface; use Symfony\Component\HttpFoundation\RequestStack; class TypeLinkManager extends LinkManagerBase implemen...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Login extends CI_Controller { function __construct(){ parent::__construct(); $this->load->model('m_users'); } public function index() { include_once APPPATH . "../vendor/autoload.php"; $google_client = new Google_Client(); ...
<?php include('conexion/conexion.php'); session_start(); $user=$_SESSION['nombreUsuario']; $tipoUsuario = $_SESSION['tipoUsuario']; $registros = mysqli_query($con, "SELECT * from bodegas where tipoBodega = 2") or die("Problemas en el select:" . mysqli_error($con)); ?> <!DOCTYPE html> <html lang="en"> <head> <meta ...
<?php /** * Copyright (c) 2017-present, Emile Silas Sare * * This file is part of OZone package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use OZONE\OZ\Core\SettingsManager; return [ 'oz_users' => [ 'plural_nam...
<?php namespace Oro\Bundle\SecurityBundle\Tests\Unit\Acl\Persistence; use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity; use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity; use Oro\Bundle\SecurityBundle\Acl\Persistence\BaseAclManager; use Oro\Bundle\SecurityBundle\Acl\Domain\BusinessUnitSecu...
<script> @if(Session::has('message')) var type = "{{ Session::get('alert-type', 'info') }}"; switch(type){ case 'info': toastr.info("{{ Session::get('message') }}"); break; case 'warning': toastr.warning("{{ Session...
<?php /** * Simple script to play with SQLite * * Be nible; * @author alex@scriptoid.com */ $user_table = <<<EUT CREATE TABLE user ( id INTEGER PRIMARY KEY, email varchar(20) ); EUT; #print $user_table; if ($db = sqlite_open('mysqlitedb', 0666, $sqliteerror)) { #create table sqlite_query($db, $user_t...
<?php class Emarsys_Suite2email_Model_Observer extends Emarsys_Suite2_Model_Observer { /** * Triggered after save commit, sends order and customer to Suite * @param Varien_Event_Observer $observer * @throws Mage_Core_Exception */ public function orderSaveAfter(Varien_Event_Observer $observer...
很抱歉出現了問題!
<?php namespace TRC\CoreBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Zone * * @ORM\Table(name="zone") * @ORM\Entity(repositoryClass="TRC\CoreBundle\Repository\ZoneRepository") */ class Zone { /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\Ge...
<div class="instagram-btn"> <div class="btn-instagram"> <i class="fa fa-instagram"></i> SIGUENOS <a href="https://www.instagram.com/cdmhfvf/" target="_blank">&#64;CDMH</a> </div> </div> <div class="content-instagram"> <div id="instafeed"></div> </div>
<div class="container-fluid"> <div class="card"> <div class="card-header"> Seznam uživatelů - <?php echo $uzivatele_list_name; ?> <div class="pull-right"> <!-- odkaz pro pridani uzivatele --> <a href="<?php echo $url_uzivatel_add_prepare;?>" class="bt...
<div class="slideshow"> <div class="container"> <div class="row"> <div class="col-md-3"> </div> <div class="col-md-9 "> <script src="<?php echo public_url() ?>/app/services/moduleServices.js"></script> <script src="<?php echo public_url() ?>/app/controllers/moduleController.js"></script> <!--B...
<?php return array ( 'Add image/file' => 'Dodaj obrazek/plik', 'Add link' => 'Dodaj odnośnik', 'Bold' => 'Pogrubienie', 'Close' => 'Zamknij', 'Code' => 'Kod', 'Enter a url (e.g. http://example.com)' => 'Wpisz url (n.p. http://example.com)', 'Heading' => 'Nagłówek', 'Image' => 'Obrazek', 'Image/File' =...
<!DOCTYPE html> <html lang="en"> <head> <title>LaraBlog</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700" rel="stylesheet"> <link href="https://fonts...
<div> <ul class="breadcrumb"> <li> <a href="#">Home</a> </li> <li> <a href="#">Data Karyawan</a> </li> </ul> </div> <div class="row"> <div class="box col-md-12"> <div class="box-inner"> <div class="box-h...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProductsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('products', fun...
<?php final class WP_Installer{ protected static $_instance = null; public $settings = array(); private $repositories = array(); protected $api_debug = ''; private $config = array(); protected $_plugins_renew_warnings = array(); protected $_gz_on = false; private $admin_messages ...
<?php defined('SYSPATH') or die('No direct script access.'); class Model_User_Talksubscription extends ORM { protected $_belongs_to = array( 'user' => array(), 'talk' => array() ); }
<?php return [ 'attribute' => [ 'standard' => [ 'subparts' => [ 'media' => 'media', 'text' => 'text', 'price' => 'price', 'property' => 'property', ], ], 'media' => [ 'standard' => [ 'subparts' => [ 'property' => 'property', ], ], ], 'price' => [ 'standard' => [ ...
@extends('layouts.app') @section('content') <div style="height: auto"> <div id="weeklyChart" style="width: 100%; height: 50vh;"></div> </div> {{--<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>--}} {{--<script type="text/javascript">--}} {{--google.charts.load("current",...
<?php /** * Part of the Stripe package. * * NOTICE OF LICENSE * * Licensed under the 3-clause BSD License. * * This source file is subject to the 3-clause BSD License that is * bundled with this package in the LICENSE file. * * @package Stripe * @version 2.0.9 * @author Cartalyst LLC * @license ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateMapelGurusTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('mapel_gurus'...
<?php /** * @see https://github.com/codenomdev/codeigniter4-framework for the canonical source repository * * @copyright 2020 - Codenom Dev (https://codenom.com). * @license https://github.com/codenomdev/codeigniter4-framework/blob/master/LICENSE MIT License */ namespace Codenom\Framework\Views\Menu; /*...
<?php declare(strict_types=1); namespace Slepic\Tests\ValueObject\Floats; use PHPUnit\Framework\TestCase; use Slepic\ValueObject\Floats\BoundedFloat; use Slepic\ValueObject\Floats\FloatOutOfBounds; use Slepic\ValueObject\ViolationExceptionInterface; final class BoundedFloatTest extends TestCase { public function...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Portuguese Portugal translation. * * @author Miguel Justo - migueljusto.net * @package PyroCMS * @subpackage Variables Module * @category Modules * @link http://pyrocms.com * @date 2012-04-1 * @version 1.1.0 */ // labels $lang[...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Product extends Model { protected $guarded = []; public function sales() { return $this->belongsToMany(Sale::class, 'product_sales'); } }
<?php namespace App\Controllers; class Payments extends BaseController { public function index() { helper('menu'); $session = session(); $data_left['menu'] = get_menu(); //Js Scripts ['script1.js' , 'script2.js' , 'script3.js'] $data_fotter['scripts'] = ["dashboard.js"]; ...
<?php /* * Copyright (c) 2012-2017 Veridu Ltd <https://veridu.com> * All rights reserved. */ declare(strict_types = 1); namespace App\Event\Profile\Attribute; use App\Entity\Company\Credential; use App\Entity\User; use App\Event\AbstractEvent; use App\Event\Interfaces\UserIdGetterInterface; /** * UpsertedBulk e...
<?php namespace SimpleMvc; class ModelEntity { protected function DatabaseConnect() { $dbCtx = new \mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_SCHEMA); return $dbCtx; } }
<form action="{{$url}}" method="post" class="form-inline" onsubmit="return confirm('Yakin Ingin Menghapus')"> @csrf @method("delete") <button class="btn btn-danger"><i class="fa fa-trash"></i></button> </form>
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Amenity extends Model { use SoftDeletes; public $table = 'amenities'; protected $dates = [ 'created_at', 'updated_at', 'deleted_at', ]; protected $fil...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; //Se debe llamar al controllador use App\Http\Controllers\UserController; use App\Http\Controllers\EventoController; //De esta manera puede ser usado al momento de declarar la ruta. Route::post('/evento/create', [EventoController::class, 'creat...