text
stringlengths
2
1.03M
<?php use App\Providers\RouteServiceProvider; use Laravel\Fortify\Features; return [ /* |-------------------------------------------------------------------------- | Fortify Guard |-------------------------------------------------------------------------- | | Here you may specify which authen...
<?php namespace Mpbarlow\LaravelQueueDebouncer; use Mpbarlow\LaravelQueueDebouncer\Interfaces\DebouncesJobs; use Mpbarlow\LaravelQueueDebouncer\Traits\ProvidesCacheKey; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Support\Carbon; ...
<?php /** * Class Until * this class provide some static common method */ class Until { /** * @param $string * @return array * Return number in a string */ static public function getNumInString($string){ $regex = "/[0-3]/" ; preg_match_all($regex,$string,$match) ; ...
<nav class="navbar navbar-expand-lg navbar-light" id="navbar"> <div class="container-fluid"> <a class="navbar-brand" href="<?= base_url() ?>home">Dojo Ecommerce</a> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedConte...
<?php namespace System\Console; use App; use Event; use Exception; use Cms\Classes\Theme; use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; /** * Console command to sync a theme between the DB and Filesystem layers. * * theme:sync n...
<?php namespace Admin\Controller; use Think\Controller; class IndexController extends Controller { public function index(){ if (session('type') != 'admin') { $this->redirect('home/index/index'); } $config = D('config'); $this->assign('noon', $config->C('noon_meal_time'));...
<table> <tr align="center"> <th rowspan="3"><img src="<?= base_url('assets/cop.png') ?>" width="100%"> </th> </tr> </table> <br> <table align="center" width="1000px"> <tr> <th> <h1>DATA BARANG RUSAK</h1> </th> </tr> </table> <table class="table t...
<?php /** * Created by PhpStorm. * User: Vladimir Baranov <phpnt@yandex.ru> * Git: <https://github.com/phpnt> * VK: <https://vk.com/phpnt> * Date: 19.08.2018 * Time: 8:43 */ use yii\helpers\Html; use yii\helpers\Url; $this->title = Yii::t('app', 'Менеджер пользователей'); $this->params['breadcrumbs'][] = $this...
<?php use Yii; use yii\base\Model; use app\models\Zip; class Zip{ public function __construct() { } public function extract1($file_name,$path){ $zip = new ZipArchive(); $res = $zip->open($file_name); if ($res === TRUE) { $zip->extractTo($path); $zip->cl...
<?php declare (strict_types=1); namespace MailPoetVendor\Doctrine\ORM\Exception; if (!defined('ABSPATH')) exit; use Throwable; interface RepositoryException extends Throwable { }
<?php namespace App\Models; use App\User; use Illuminate\Database\Eloquent\Model; use Overtrue\LaravelSubscribe\Traits\Subscribable; /** * App\Models\Shop * * @property int $id * @property int $user_id * @property string|null $name * @property string|null $logo * @property string|null $sliders * @property ...
<?php namespace RindowTest\Web\Form\Entity; use Rindow\Web\Form\Annotation\Form; use Rindow\Stdlib\Entity\Entity; use Rindow\Stdlib\Entity\EntityTrait; class ProductWithTrait implements Entity { use EntityTrait; /** @Max(10) @GeneratedValue **/ protected $id; /** @Min(10) @Column **/ protected $i...
<?php $error = false; if (!is_writable('../application/config/config.php')){ $error = true; $requirement14 = "<span class='label label-danger'>No (Make application/config.php writable) - Permissions 755 or 777</span>"; } else { $requirement14 = "<span class='label label-success'>Ok</span>"; } if (!is_writab...
<?php declare(strict_types = 1); namespace Innmind\Rest\Server; use Innmind\Rest\Server\{ Format\Format, Format\MediaType, }; use Innmind\Immutable\Set; /** * Content types allowed for the request */ final class ContentTypeFormats { private static ?Formats $default = null; public static function d...
<?php /** * This file is part of Gitonomy. * * (c) Alexandre Salomé <alexandre.salome@gmail.com> * (c) Julien DIDIER <genzo.wm@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Gitonomy\Git\Diff; use Gitonomy\Git\Repository...
<?php namespace BIT\Typo3SurfExtended\Task; use TYPO3\Surf\Domain\Model\Application; use TYPO3\Surf\Domain\Model\Deployment; use TYPO3\Surf\Domain\Model\Node; use TYPO3\Surf\Task\ShellTask; /** * @author clubdrei.com Medienagentur GmbH */ class FusioInstallTask extends ShellTask { /** * Executes the fusio ...
@extends('layouts.app') @section('title', 'Events') <link rel="stylesheet" href="{{ asset('css/map.css') }}"> @section('content') <div class="container"> <div class="jumbotron"> @if ($errors->any()) <div class="alert alert-danger"> <ul> ...
@extends('layouts.app') @section('title', 'Categorias') @section('content') <h1 class="my-3 p-3 text-center">Categorias cadastradas</h1> <div class="d-flex justify-content-center p-3"> @if (isset($categories)) <table class="table table-striped table-dark"> <thead> ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>eaoll|Disposer</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <!--[if ie]><meta content='IE=8' http-equiv='X-UA-Compatible'/><![endif]--> <!-- bootstrap -->...
<style> .right{ text-align: right; } #dsc{ display: none; } </style> @php $tgl_report = isset($_GET['tgl_report']) ? $_GET['tgl_report'] : ''; @endphp <h1 class="h3 mb-2 text-gray-800">REPORT WITEL</h1> <!-- DataTales Example --> <div class="card shadow mb-4"> <div class="card-he...
<?php include_once 'session.php';?> <?php include_once ('header.php'); ?> <!-- page content --> <div class="right_col" role="main"> <div class=""> <div class="page-title"> <div class="title_left"> <h3>Product Record</h3> </div> ...
<?php namespace App\Http\Controllers; use App\imgImovel; use Illuminate\Http\Request; use App\Imovel; use App\Items; use Illuminate\Support\Facades\Storage; use DateTime; class ImovelController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response ...
<header class="top-header"> <nav class="navbar navbar-expand gap-3"> <div class="mobile-toggle-icon fs-3"> <i class="bi bi-list"></i> </div> <div class="top-navbar-right ms-auto"> <ul class="navbar-nav align-items-center"> <li class="nav-item search-to...
<?php declare(strict_types=1); namespace Symplify\Psr4Switcher\Tests\Utils; use Iterator; use Symplify\PackageBuilder\Testing\AbstractKernelTestCase; use Symplify\Psr4Switcher\HttpKernel\Psr4SwitcherKernel; use Symplify\Psr4Switcher\Utils\SymplifyStrings; final class SymplifyStringsTest extends AbstractKernelTestCa...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Outlet; use App\Paket; class PaketController extends Controller { public function index() { $data['paket'] = Paket::paginate(5); return view('paket/paket',$data); } public function destroy(Paket $paket) ...
<?php if(!defined('BASEPATH')) exit("Direct access is not allowed"); class MY_Public_Controller extends MY_Controller{ function __construct(){ parent::__construct(); } }
<?php declare(strict_types=1); /* * This file has been auto generated by Jane, * * Do no edit it directly. */ namespace Jane\OpenApi2\JsonSchema\Normalizer; use Jane\JsonSchemaRuntime\Reference; use Jane\JsonSchemaRuntime\Normalizer\CheckArray; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterf...
<?php declare(strict_types=1); /* * This file is part of the Yasumi package. * * Copyright (c) 2015 - 2022 AzuyaLabs * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author Sacha Telgenhof <me at sachatelgenhof dot com> */ nam...
<?php get_header(); ?> <main role="main" aria-label="Content"> <!-- section --> <section> <h1><?php the_title(); ?></h1> <?php if ( have_posts()) : while ( have_posts() ) : the_post(); ?> <!-- article --> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php the_content(); ?> ...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Ecd\V20200930\Models; use AlibabaCloud\Tea\Model; class GetSpMetadataRequest extends Model { /** * @var string */ public $regionId; /** * @var string */ public $directoryId; /** * @...
<?php namespace yii2lab\domain\behaviors\entity; use yii2lab\domain\BaseEntity; use yii2lab\domain\data\Query; use yii2lab\domain\events\ReadEvent; class SelectAttributeFilter extends BaseEntityFilter { public function prepareContent(BaseEntity $entity, ReadEvent $event) { $attributes = $event->query->getParam(...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <link href="{{ mix('/css/app.css') }}" rel="stylesheet" /> <script src="{{ mix('/js/app.js') }}" defer></script> </head> <body> <div id="root"></di...
<?php /** * Footer widgets * * @package OceanWP WordPress theme */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } // Get ID $get_id = oceanwp_custom_footer_template(); // Check if page is Elementor page $elementor = get_post_meta( $get_id, '_elementor_edit_mode', true ); // Get content $...
<?php require_once 'widget.php'; use App\Helpers\Doctrine; class WidgetEstadoTramitesComuna extends Widget { private $javascript; public function display() { if (!$this->comuna) { $display = '<p>Widget requiere configuración</p>'; return $display; } $comu...
<?php $tempdata = ['newuser' => true, 'message' => 'Thanks for joining!']; $session->setTempdata($tempdata, null, $expire);
<?php namespace branchonline\pgsqltester\cmd; /** * Codecept commands wrap the building of different types of commands. * * @author Roelof Ruis <roelof@branchonline.nl> */ interface CodeceptCommandConstructor { /** * Return the command that is built by this command director. * * @return string...
<?php namespace App\EventListener; use App\Badge\Infrastructure\ResponseFactory; use App\Badge\Model\UseCase\CreateErrorBadge; use App\Badge\Service\ImageFactory; use InvalidArgumentException; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpFoundation\Response; use Symfony\Co...
<?php declare(strict_types=1); /** * DO NOT EDIT THIS FILE as it will be overwritten by the Pbj compiler. * @link https://github.com/gdbots/pbjc-php * * Returns an array of curies using mixin "triniti:ovp:mixin:video:v1" * @link https://schemas.toofab.com/json-schema/triniti/ovp/mixin/video/1-0-5.json# */ retur...
<?php declare(strict_types=1); use Greenter\Model\Response\BillResult; use Greenter\Model\Sale\Charge; use Greenter\Model\Sale\FormaPagos\FormaPagoContado; use Greenter\Model\Sale\Invoice; use Greenter\Model\Sale\SaleDetail; use Greenter\Model\Sale\Legend; use Greenter\Model\Sale\SalePerception; use Greenter\Ws\Servi...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class RemoveFoodId extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('orders', function($tab...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class VpCommentnews extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('vp_comentnews', func...
<div class="row row-cols-1 row-cols-md-3 g-4"> <div class="col-lg-7 col-md-12"> <div class="card widget h-100"> </div> </div> <div class="col-lg-5 col-md-12"> <div class="card widget h-100"> </div> </div> <div class="col-lg-4 col-md-12"> <div class="card h...
<?php /** * NovaeZSlackBundle Bundle. * * @package Novactive\Bundle\eZSlackBundle * * @author Novactive <s.morel@novactive.com> * @copyright 2018 Novactive * @license https://github.com/Novactive/NovaeZSlackBundle/blob/master/LICENSE MIT Licence */ declare(strict_types=1); namespace Novactive\Bundle\e...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class CategoriesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('categories')->insert([ ['name'=> 'Мобільні телефони', 'code'=> ...
<?php namespace Laravel\Cashier; use Carbon\Carbon; use Stripe\Stripe; use Stripe\Charge as StripeCharge; use Stripe\Invoice as StripeInvoice; use Stripe\Customer as StripeCustomer; use Stripe\Error\Card as StripeErrorCard; use Stripe\Error\InvalidRequest as StripeErrorInvalidRequest; use InvalidArgumentException; use...
<?php declare(strict_types=1); namespace DoctrineMigrations; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! */ final class Version20200824081607 extends AbstractMigration { public function getDescription() : string {...
<?php session_start(); error_reporting(0); $uid = $_GET['uid']; $user_id=$_SESSION['user_id']; include 'parts/db_config.php'; $username = $_SESSION['username']; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <...
<?php /** * [WeEngine System] Copyright (c) 2014 WE7.CC * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details. */ defined('IN_IA') or exit('Access Denied'); load()->model('cloud'); load()->model('setting'); $dos = array('display', 'save_sms_sign'); $do = in_arra...
<?php namespace App\Http\Controllers\BackendEmp; use App\Models\NewsCategory; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class NewsCategoryController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public functi...
<?php /** * MIT licence * Version 1.1 * Sjaak Priester, Amsterdam 11-04-2019 ... 23-04-2021. * * IroWidget Widget for Yii 2.0 * * Color picker widget for the Yii 2.0 PHP Framework. * * Based on the excellent JavaScript color picker iro.js by James Daniel. * @link https://iro.js.org/ */ namespace sjaakp\iro;...
<?php /** * session 管理 * 可能有的问题: 没有对session的锁定 */ namespace Library\Common; use Library\Common\Redis\CRedis; class YySession implements \ArrayAccess, \IteratorAggregate, \Countable { private $_ttl; private static $_instance; private $_id; private $_redis; private $_oldSession; private $_ne...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\HasMany; class Country extends Model { use HasFactory; protected $fillable = ['name']; public function companies(): HasMany { ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateExercisesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('exercises', f...
<?php declare(strict_types=1); namespace Basket\Presetting; use Basket\Presetting\Repositories; class StoredPreset { private $repository; public function __construct(Repositories\Base $repository) { $this->repository = $repository; } public function populate(): StoredPreset { ...
@extends('frontend.layouts.page') {{-- Content --}} @section('content') <section id="breadcrumb" class="breadcrumb {{isset($borderTopNone) ? "border-top-none" : ""}}"> <div class="container"> <div class="row "> <div class="col-lg-4 col-md-3 text-left breadcrumb-title"> ...
<?php namespace pruebaujaveriana\Http\Controllers; use Illuminate\Auth\Access\Response; use Illuminate\Http\Request; use pruebaujaveriana\pais; use pruebaujaveriana\departamento; use pruebaujaveriana\municipio; use pruebaujaveriana\User; use Illuminate\Support\Facades\Redirect; use pruebaujaveriana\Http\Requests\U...
<!doctype html> <html lang="fr"> <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=""> <link rel="icon" href="{{asset('img/fav_logo.png')}}"> <title>Bienvenue</tit...
<?php /* ロゴ画像を得る */ function cnt_get_logoimg_uri() { $logoimgpath = get_site_url() . '/' . get_option( 'cnt_logo_img' ); return esc_url( $logoimgpath ); }
<?php return [ 'persian' => 'Persian', 'english' => 'English', 'arabic' => 'Arabic', 'login_register' => 'Register / Login', 'orders' => 'O...
<nav class="navbar navbar-expand-lg navbar-light" role="navigation"> <a class="navbar-brand" href="<?php echo base_url()?>"><img src="<?php echo base_url()?>img/logo.png" data-active-url="<?php echo base_url()?>img/logo-active.png" alt=""></a> <button class="navbar-toggler" type="button" data-toggle="collapse" data...
<?php return [ 'ab' => 'abkhasiskt', 'ace' => 'achinese', 'ach' => 'Acoli', 'ada' => 'adangme', 'ady' => 'adyghe', 'aa' => 'afar', 'afh' => 'Afrihili', 'af' => 'afrikaans', 'agq' => 'aghem', 'ain' => 'ainu', 'ak' => 'akan', 'akk' => 'Akkadian', 'akz' => 'Alabama', ...
<?php /** * General HTML request dispatcher. * * @package query-monitor */ if ( ! defined( 'ABSPATH' ) ) { exit; } class QM_Dispatcher_Html extends QM_Dispatcher { /** * Outputter instances. * * @var array<string, QM_Output_Html> Array of outputters. */ protected $outputters = array(); /** * @var ...
@php if ($model instanceof App\Models\Answer) { $name = 'answer'; $route = 'answer.vote'; }elseif($model instanceof App\Models\Question){ $name = 'question'; $route = 'question.vote'; } $formId = $name.'-'.$model->id; @endphp <a cl...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\Request; use Auth; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Contr...
<?php namespace Admin\Model; use Think\Model\ViewModel; class QuanxianJiedianModel extends ViewModel { public $viewFields = array( 'staff'=>array('id'=>'uid'), 'quanxian'=>array('jiedian_id','_on'=>'quanxian.zhiwu_id=staff.zhiwu_id'), 'jiedian'=>array('jiedian_url','_on'=>'quanxian.jiedian_id=jiedian....
<?php /** * REST API: WP_REST_Meta_Fields class * * @package WordPress * @subpackage REST_API * @since 4.7.0 */ /** * Core class to manage meta values for an object via the REST API. * * @since 4.7.0 */ abstract class WP_REST_Meta_Fields { /** * Retrieves the object meta type. * * @since 4.7.0 * ...
<?php declare (strict_types=1); namespace Sabre\DAV\FSExt; use Sabre\DAV; use Sabre\DAV\FS\Node; /** * Directory class * * @copyright Copyright (C) fruux GmbH (https://fruux.com/) * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License */ class Directory extends Node...
<?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...
<?php class Roles_Model extends CI_Model{ public function getAll(){ $api_url = ('http://localhost:8088/roles/get'); $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => $api_url, CURLOPT_RETURNTRANSFER => true, ...
<?php declare(strict_types=1); namespace Tests\CodingStandards\Sniffs\ForbiddenDumpSniff; use Symplify\EasyCodingStandardTester\Testing\AbstractCheckerTestCase; final class ForbiddenDumpSniffTest extends AbstractCheckerTestCase { public function testWrong(): void { $this->doTestWrongFile(__DIR__ . '...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\helpers\Url; Url::remember(); /* @var $this yii\web\View */ /* @var $searchModel app\models\CandieGoodsSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Товары - кенди'; $this->params['breadcrumbs'][] = $this->title; ?> <div cla...
@extends('layouts.admin') @section('title') Usuarios App @stop @section('css') <link href="{{asset('assets/admin/plugins/datatables/dataTables.bootstrap.css')}}" rel="stylesheet"> @stop @section('content') <div class="table-responsive"> <table id="tabla" class="table table-bordered"> <thead> <tr> <th>UUID</th...
<!DOCTYPE html> <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]--> <!--[if !IE]><!--> <html lang="en"> <!--<![endif]--> <head> <meta charset="utf-8" /> <title>Solo Desarrollos</title> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" /> <meta content=""...
<?php namespace Modules\Order\Entities; use Illuminate\Database\Eloquent\Model; use Modules\Branch\Entities\BranchMenu; use Modules\Order\Entities\OrderTransaction; class MenuOrderTransaction extends Model { protected $fillable = [ 'order_transaction_id', 'branch_menu_id', 'quantity' ...
<?php $__env->startSection('content'); ?> <script src="<?php echo e(url('public/adminlte/bower_components/jquery/dist/jquery.min.js')); ?>"></script> <script> $(document).ready(function () { $("#btnSubmit").click(function (event) { event.preventDefault(); var form = $('#frmAreaCost')...
<?php declare(strict_types=1); namespace Shopware\Core\Content\ProductStream\Exception; use Shopware\Core\Framework\ShopwareHttpException; class NoFilterException extends ShopwareHttpException { public function __construct(string $id) { parent::__construct('Product stream with ID {{ id }} has no filt...
<?php /** * Created by Aaron Zhang. * Date: 2018/8/24 15:20 * FileName : BaseLib.php */ class BaseLib { /** * 全局CI对象 * @var CI_Controller */ public $CI; /** * 全局配置项 * @var array */ public $config = []; public function __construct () { $this->CI = &get...
<div class="container-fluid"> <h1 class="h3 mb-4 text-gray-800">Edit Perusahaan</h1> <!-- Basic Card Example --> <div class="card shadow mb-4"> <div class="card-header py-3"> <a href="<?= base_url('admin/perusahaan') ?>" class="btn btn-info btn-sm"><i class="fas fa-arrow-circle-left"></...
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/dropzone.min.css') ?>"> <link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/basic.min.css') ?>"> <script type="text/javascript" src="<?php echo base_url('assets/dropzone.min.js') ?>"></script> <style type="text/css"> .drop...
<?php namespace Modules\Settings\Http\Controllers; use App\Entities\Category; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Routing\Controller; class StagesController extends Controller { public $page; public $category; public $request; /** * Create a new controller i...
@extends('layouts.master') @section('content') <main class="app-content"> <div class="app-title"> <div class="row"> <h1><i class="fa fa-th-list"></i>Application for Return</h1>&nbsp&nbsp <div><a href="{{ route('return-receiving.create') }}"><button class="btn btn-sm btn-primary">+ Requ...
<?php namespace JohnKrovitch\ORMBundle\DataSource\Connection; use JohnKrovitch\ORMBundle\DataSource\Query; interface Translator { public function translate(Query $query); }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class State extends Model { public function country() { return $this->belongsTo('App\Models\Country','country_id'); } }
<?php namespace App\Oriana\Contracts; class Bitfinex extends BaseContract { public $name = 'bitfinex'; protected $base_url = 'https://api.bitfinex.com/v2/'; public function getValue() { return $this->converterCop($this->requestWithoutKey('tickers?symbols=tBTCUSD')[0][9]); } }
--TEST-- Bug #27287 (segfault with deserializing object data) --SKIPIF-- <?php if (!extension_loaded("wddx")) print "skip"; ?> --FILE-- <?php class foo { } $foo = new foo(); $foo->abc = 'def'; $string = wddx_serialize_value($foo); $bar = wddx_deserialize($string); echo "OK\n"; ?> --EXPECT-- OK
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddColumnsToUsers extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', function ...
<? if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED!==true) die(); if (!CModule::IncludeModule('crm')) { ShowError(GetMessage('CRM_MODULE_NOT_INSTALLED')); return; } $CrmPerms = new CCrmPerms($USER->GetID()); if (!$CrmPerms->HavePerm('CONFIG', BX_CRM_PERM_CONFIG, 'WRITE')) { ShowError(GetMessage('CRM_PERMISS...
@extends('frontend.layouts.app') @section('content') <div class="container"> <section class="content-header"> <div class="row mb-2"> <div class="col-md-12"> <div class="row"> <div class="col-sm-6"> <h1>Kuis</h1> </di...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); // This can be removed if you use __autoload() in config.php OR use Modular Extensions // use namespace use Restserver\Libraries\REST_Controller; /** @noinspection PhpIncludeInspection */ require(APPPATH.'/libraries/REST_Controller.php'); /** * Th...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\Models\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; class RegisterController extends Controller { ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Validator; use Auth; class LoginController extends Controller { function index(){ return view('userLogin'); } function checklogin(Request $request){ $this->validate($request, [ 'email' => 'req...
<?php class Productweight_model extends CI_Model { /** get user type data */ public function get_productweights() { $query = $this->db->get("productweight"); return $query; } /** add user type data */ public function add_productweight() { $result = $this->db->insert("pro...
<?php /** * @version v5.20.0 28-Nov-2015 * @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 t...
<?php /** * 2007-2017 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Flowfield-Painting with P5js</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="styles...
<?php namespace Limbonia\Traits\Controller\Web; /** * Limbonia ModelController Trait * * This trait allows an inheriting controller to use an model * * @author Lonnie Blansett <lonnie@limbonia.tech> * @package Limbonia */ trait HasModel { /** * Initialize this controller's custom data, if there is any *...
<?php /******************************************************************************* * FPDF * * * * Version: 1.81 ...
<?php /** * @package Joomla.Administrator * @subpackage com_newsfeeds * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('bootstrap.tooltip', '.hasToolt...