text
stringlengths
2
1.03M
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
@extends('layouts.app') @section('content') <section class="section"> <div class="section-header"> <h1>จัดการเรียนการสอน</h1> </div> <div class="section-body"> <div class="card"> <div class="card-header" style="display: block;"> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateInstagramTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('instagram', f...
<?php namespace Backend\Widgets; use Input; use October\Rain\Support\Util; use Backend\Classes\WidgetBase; /** * Search Widget * Used for building a toolbar, Renders a search container. * * @package october\backend * @author Alexey Bobkov, Samuel Georges */ class Search extends WidgetBase { /** * {@inh...
@extends('monkyz::layouts.monkyz') @section('content') <div class="row"> <div class="col-sm-12"> <p> <a href="http://www.1353.it" target="_blank"> <img src="https://img.shields.io/badge/powered%20by-lab1353-brightgreen.svg"> </a> <img src="https://poser.pugx.org/lab1353/monkyz/downloads"> <i...
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. T...
<?php namespace App\Transformers; use App\Models\User; use League\Fractal\TransformerAbstract; class UserTransformer extends TransformerAbstract { public function transform(User $user) { return [ 'id' => (int) $user->id, 'name' => $user->name, 'email' ...
<?php final class PhabricatorRepositoryAjaxSearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Repositories'); } public function getApplicationClassName() { return 'PhabricatorDiffusionApplication'; } public function newQuery() { ...
<?php namespace nadar\quill; /** * Block Listener * * Block listeneres writes from $line->input into the $line->output. * * @author Basil Suter <basil@nadar.io> * @since 1.0.0 */ abstract class BlockListener extends Listener { /** * {@inheritDoc} */ public function type(): int { r...
<!DOCTYPE html> @extends('layouts.master') @section('content') <head> </head> <body>
<!DOCTYPE html> <html> <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>JS Axios Demo</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://stackpath....
<?php namespace Config; use CodeIgniter\Config\BaseService; use CodeIgniter\Database\BaseConnection; /** * Services Configuration file. * * Services are simply other classes/libraries that the system uses * to do its job. This is used by CodeIgniter to allow the core of the * framework to be swapped out easily ...
<?php /* ConnectionWebBundle:Frontend:privacy.html.twig */ class __TwigTemplate_c1172dde7f04051858099ba12038d7c09a3bc6f4b04cf73705ea770b9120f5e1 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("Con...
<!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, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Dashboard</ti...
<?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\Notifier\Message; use Symfony\Component\Notifier\Exce...
<?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. */ use yii\helpers\Url; ?> <!-- Footer --> <footer id="footer"> <div id="footer-in"> <ul> ...
<?php return array( 'test' => array( 'bar' => 'baz', ), );
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class MyTestMail2 extends Mailable { use Queueable, SerializesModels; public $details; /** * Create a new message ins...
<?php namespace App\Policies; use App\Survey; use App\User; use Illuminate\Auth\Access\HandlesAuthorization; class SurveyPolicy { use HandlesAuthorization; /** * Determine whether the user can view any models. * * @param \App\User $user * @return mixed */ public function viewA...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Insurance extends Model { // }
--TEST-- Test date_timezone_get() function : basic functionality --FILE-- <?php /* Prototype : DateTimeZone date_timezone_get ( DateTime $object ) * Description: Return time zone relative to given DateTime * Source code: ext/date/php_date.c * Alias to functions: DateTime::setTimezone */ echo "*** Testing date_...
<?php if(!defined('BASEPATH')) exit('No direct script access allowed'); //Swings Inventory_dash class Inventory_dash extends CI_Controller { public function __construct(){ parent::__construct(); //start session $user_id=$this->session->userdata('user_id'); $user_name=$this->session->userdata('user_name'...
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-4"> <div class="container"> <a class="navbar-brand" href="{{ url('/') }}"> {{ config('app.name', 'Laravel') }} </a> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedCo...
<?php /** * Elasticsearch PHP client * * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Le...
<?php declare(strict_types=1); /* * This file has been auto generated by Jane, * * Do no edit it directly. */ namespace Bzzhh\Pezos\Generated\Proto\Model; class HelpersScriptsNormalizeTypePostBody { /** * @var mixed */ protected $type; /** * @return mixed */ public function ...
<?php /** * @category Emarsys * @package Emarsys_Emarsys * @copyright Copyright (c) 2019 Emarsys. (http://www.emarsys.net/) */ namespace Emarsys\Emarsys\Block; use Emarsys\Emarsys\Helper\Data as EmarsysHelper; use Magento\{ Checkout\Model\Session, Customer\Model\Session as CustomerSession, Framew...
@extends('layouts.app') @section('title', 'New Band') @section('description', 'New Band') @section('page_level_css') <style> #tbl_custom_price tr td { width: 60px; height: 20px; } #tbl_custom_price { border: none; } #tbl_custom_price tr...
<!-- Modal --> <div class="modal fade" id="user-sign-up" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="t...
@extends('admin.layout') @section('content') <ul class="breadcrumb"> <li class="breadcrumb-item"> <a href="#">Početna</a> </li> </ul> <div class="content-i"> <div class="content-box"><div class="row"> <div class="col-lg-10"> <div clas...
<?php namespace App\Http\Requests; class RegisterRequest extends ApiRequestCommon { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the re...
<?php // +---------------------------------------------------------------------- // | ShopXO 国内领先企业级B2C免费开源电商系统 // +---------------------------------------------------------------------- // | Copyright (c) 2011~2099 http://shopxo.net All rights reserved. // +-------------------------------------------------------------...
<?php namespace rklandesverband\ews\API\Type; use rklandesverband\ews\API\Type; /** * Class representing ConflictResultsType * * * XSD Type: ConflictResultsType * * @method integer getCount() * @method ConflictResultsType setCount(integer $count) */ class ConflictResultsType extends Type { /** * @v...
<?php /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * 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.md. * It is also ...
<?php namespace Concrete\Controller\Backend\File; use Concrete\Core\File\FileList; use Concrete\Core\File\Filesystem; use Concrete\Core\File\FileTransformer; use Concrete\Core\File\Set\Set; use Concrete\Core\Http\Response; use Concrete\Core\Permission\Checker; use Concrete\Core\Search\Pagination\Pagination; use Concr...
<?php /** * Created by PhpStorm. * User: Usuario * Date: 30/05/2016 * Time: 12:01 PM */ namespace App\Http\Controllers; use Feed; use App\News; use Illuminate\Support\Facades\App; class FeedController extends Controller { public function feed() { // create new feed $feed = App::make("fee...
<?php namespace Drupal\google_plus_login\Controller; use Drupal\Component\Utility\UrlHelper; use Drupal\Core\Cache\CacheableMetadata; use Drupal\Core\Controller\ControllerBase; use Drupal\Core\Logger\LoggerChannelFactoryInterface; use Drupal\Core\Routing\TrustedRedirectResponse; use Drupal\Core\Routing\UrlGeneratorIn...
@extends('app') @section("class5") class="active" @stop @section('content') <h1>About Me {{ $first }}</h1> <p> Lorem Epusem </p> @stop
<?php namespace App\Repositories; use App\State; class StateRepository extends AbstractRepository { function __construct(State $model) { $this->model = $model; } }
<?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. */ //Считываем инфу по документам "Оплата от клиентов" header("Content-type: text/html; charset=utf-8"); error_reporting(E_ALL ^...
<?php namespace common\models; use Yii; /** * This is the model class for table "ad_place". * * @property integer $id * @property string $name * @property string $timestamp * * @property AddPool[] $addPools */ class AdPlace extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static f...
<a href="{{ url('admin/clients/restore/'. $id ) }}" class="btn btn-info"><i class="fa fa-edit"></i></a>
@extends('dashboard') @section('css') <link rel="stylesheet" href="{{url('/')}}/assets/css/print.css" /> @endsection @section('title') {{$emp->name}} | {{config('app.name')}} @endsection @section('header') @include('dashboard.partials.header') @endsection @section('content') @component('dashboard.partials.nav-pa...
<?php // uncomment the following to define a path alias // Yii::setPathOfAlias('local','path/to/local-folder'); // This is the main Web application configuration. Any writable // CWebApplication properties can be configured here. Yii::setPathOfAlias('bootstrap', dirname(__FILE__).'/../extensions/bootstrap'); return a...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Property_type extends Model { public function unit_group() { return $this->hasMany(Unit_group::class); } }
@extends('layout.main') @push('show') <link rel="stylesheet" href="{{asset('css/login.css')}}"> @endpush @section('content') <div class="container"> @if(isset(Auth::user()->email)) <script>window.location="/student"; </script> @endif @if($validator =Session::get('error')) <div class="alert alert...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Hash; class UpdatePasswordRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { ...
<?php declare(strict_types=1); namespace App\Api\UI\Controller; use App\Module\Link\Domain\Repository\LinkRepository; use App\Module\User\Domain\Repository\AccountRepository; use App\Module\User\Domain\Repository\IdentityRepository; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface;...
<?php /** * Mobile Detect Library * - export - * ===================== * * Use the resulting JSON export file in other languages * other than PHP. Always check for 'version' key because * new major versions can modify the structure of the JSON file. * * The result of running this script is the export.json file...
<?php namespace App\Http\Controllers; use App\Models\Admin; use App\Models\Booking; use App\Models\Testimonial; use Illuminate\Http\Request; use Cookie; use Illuminate\Support\Facades\DB; class AdminController extends Controller { //Login public function dashboard() { $bookings=Booking::selectRaw...
<?php namespace app\admin\controller; use app\admin\model\MemberModel; use app\admin\model\MemberGroupModel; use think\Db; class Member extends Base { //*********************************************会员组*********************************************// /** * [group 会员组] * @author [莫镇柱] [251439200@qq.com...
<?php namespace common\models\db; use Yii; /** * This is the model class for table "{{%promotion_condition_config}}". * * @property int $id ID * @property int $store_id Store ID * @property string $name name of condition * @property string $operator Operator of condition * @property string $type_cast php type...
<?php namespace App\Http\Controllers\Dashboard; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Category; use App\Client; use App\Order; use App\Product; use App\User; class WelcomeController extends Controller { // public function index() { ...
@extends('backend.layouts.app') @push('styles') <link href="https://cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css" rel="stylesheet"> <link href="https://cdn.datatables.net/1.10.21/css/dataTables.bootstrap4.min.css" rel="stylesheet"> @endpush @section('content') <div class="right_col" role="main"> <!-...
<?php /* SonataIntlBundle:CRUD:show_datetime.html.twig */ class __TwigTemplate_c458d7ae38ca0f2ae5754fed6ba5a6832b82451a331553d9099b28d245df782c extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 12 $this->parent = $this->load...
<?php namespace App\Exports; use Maatwebsite\Excel\Concerns\FromArray; use Maatwebsite\Excel\Concerns\WithHeadings; class DataPemegangPolisExport implements FromArray, WithHeadings { private $data; public function __construct($data) { $this->data = $data; } public function array(): arr...
<?php /* Smarty version 3.1.34-dev-7, created on 2022-01-17 17:51:13 from 'C:\xampp\htdocs\CerNet2.0\templates\item\update_campana_extraccion.tpl' */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.34-dev-7', 'unifunc' => 'content_61e59...
<?php declare(strict_types=1); namespace Mezzio\Hal; use Mezzio\Hal\Response\CallableResponseFactoryDecorator; use Negotiation\Negotiator; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use function is_callable; use function strstr...
<?php declare(strict_types=1); namespace Ray\Aop; use PHPUnit\Framework\TestCase; use function assert; use function class_exists; use function passthru; use function serialize; use function unserialize; class WeaverTest extends TestCase { public function testConstruct(): Weaver { $matcher = new Mat...
<?php return [ "DIR_NETWORK" => "public/files/cc_network/", "DIR_GROUP" => "public/files/cc_group/", "EXT_NETWORK_LOGO" => "jpg,png,jpeg", "EXT_GROUP_LOGO" => "jpg,png,jpeg", "SPACE_PERMISSION_TYPES" => array("visibility","invite","post_type","contact_list"), ];
<?php declare(strict_types=1); /* * This file is part of the ************************ package. * _____________ _______________ * ______/ \__ _____ ____ ______ / /_ _________ * ____/ __ / / / / _ \/ __`\/ / __ \/ __ \/ __ \___ * __/ / / / /_/ / __/ / \ / /_/ / / / / ...
<?php /** * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Joas Schilling <coding@schilljs.com> * * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Fo...
<?php /* Prototype : mixed opendir(string $path[, resource $context]) * Description: Open a directory and return a dir_handle * Source code: ext/standard/dir.c */ /* * Open a directory using opendir() with different directory permissions */ echo "*** Testing opendir() : usage variations ***\n"; // create the ...
<h2>Listado de todos los <span class='muted'>presupuestos</span> existentes en el sistema</h2> <br/> <p><?php echo Html::anchor('presupuesto/create', '<span class="glyphicon glyphicon-plus"></span> Crear nuevo presupuesto', array('class' => 'btn btn-success')); ?></p> <?php if ($presupuestos): ?> <table class="table ta...
<?php header('P3P:CP="HONK IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'); umask(0000); use Symfony\Component\ClassLoader\ApcClassLoader; use Symfony\Component\HttpFoundation\Request; $loader = require_once __DIR__.'/../app/bootstrap.php.cache'; // Use APC for autoloading to improve performance....
<?php namespace app\model\_added; /** * @author Петухов Леонид <l.petuhov@okonti.ru> */ class data extends \RD_Obj_Data { /** Возвращает элемент таблицы по ID или новый элемент */ public function getByKeyOrNew($id) { if (!$id) { return $this->newItem();} $sql = "SELECT :col: FROM :tab: WHERE :key: = {$id}...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Ektp extends Model { use HasFactory; protected $fillable =['user_id','image_kartu_keluarga','image_ijazah','image_foto']; }
@extends('admin.admin_master') @section('admin') <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>Calendario</h1> </div> <div class="col-sm-6"> {{-- <ol class="b...
<!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <div class="d-sm-flex align-items-center justify-content-between mb-4"> <h1 class="h3 mb-0 text-gray-800"><?= $title; ?></h1> </div> <table class="table table-striped table-bordered"> <tr> <th class="text-center">No<...
<?php $stmt = $dbh->prepare('SELECT * FROM maintenance LEFT JOIN trottinette ON maintenance.id_trottinette = trottinette.id'); $stmt->execute(); $maintenances_response = $stmt->fetchAll(); ?>
<?php namespace App\Http\Livewire; use App\Models\Earning; use App\Models\PaymentMethod; use App\Models\Payout; use Exception; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Auth; class EarningLivewire extends BaseLivewireComponent { // public $model = Earning::class; // public $...
<?php /* Example template for use with post thumbnails Requires WordPress 2.9 and a theme which supports post thumbnails Author: mitcho (Michael Yoshitaka Erlewine) */ ?> <h3>Related Photos</h3> <?php if ($related_query->have_posts()):?> <ol> <?php while ($related_query->have_posts()) : $related_query->the_post(); ?> ...
<?php /** * Copyright 2014 Christopher Davis <http://christopherdavis.me> * * 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 ...
<div class="page-banner"> <div class="page-banner__bg-image" style="background-image: url( {{ get_template_directory_uri() . '/front/images/library-hero.jpg' }} ); "></div> <div class="page-banner__content container t-center c-white"> <h1 class="headline headline--large">Welcome!</h1> <h2 class="headline he...
<?php /** * LICENSE: The MIT License (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * https://github.com/azure/azure-storage-php/LICENSE * * Unless required by applicable law or agreed to in writing, software * distributed under the L...
<?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...
<!doctype html> <html lang="de"> <head> <?php include "../inc/meta.inc"; ?> <base href="<?php echo dirname($_SERVER['SCRIPT_NAME']); ?>"> <title>Serviceportal Stadt Bielefeld: Unterstützung durch Open Source basierte Geofunktionalität – FOSSGIS 2021</title> <link rel="stylesheet" href="./css/normalize.css"> <li...
@extends('layouts.app') @section('section-title') <h3> {{ trans('layout.section.dashboard.title.dashboard') }}</h3> @stop @section('section-description') <span> {{ trans('layout.section.dashboard.description.dashboard')}}</span> @stop @section('content') <div class="container-fluid container-fullw bg-white"> <div...
<?php namespace app\controllers; use Yii; use yii\filters\AccessControl; use yii\web\Controller; use app\services\UserService; class LandingController extends Controller { public $layout = 'landing'; public function behaviors() { return [ 'access' => [ 'class' => Acce...
<?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 use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { // $this->call(UsersTableSeeder::class); Model::unguard(); $th...
@extends('dashboard') @section('content') <!-- Collapsable Card Example --> <div class="card shadow mb-4"> <!-- Card Header - Accordion --> <a href="#collapseCardExample" class="d-block card-header py-3" data-toggle="collapse" role="button" aria-expanded="true" aria-controls="collapseCardExample"> <h6 class="m...
<?php /* @var $this yii\web\View */ use yii\helpers\Url; $this->title = 'obuv.co | Гарантийные обязательства | Интернет-магазин обуви. Доставка по Украине.'; ?> <section class="oc-content"> <div class="container-fluid oc-margin"> <div class="row row-offcanvas row-offcanvas-right"> <div class="col-xs-12 <...
<?php /** * WithdrawByInventoryItemGroupRequest * * PHP version 7.3 * * @category Class * @package ld\php\sdkEbayInventory * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Inventory API * * The Inventory API is used to create and manage inventory, and then to publish ...
<?php class kreo { private static $instance; public static $environ; public static $stack; public static $firm; public static $abbr; public static $brand; public static $acronym; public static $slogan; public static $path; public static $url; public static $domain; public static $email; public static $p...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Auth; use App\Document; use Exception; use File; class DocumentController extends Controller { public function create(){ return view('empresa.validar.create'); } public function store(Request $requerimiento){ $mensajes =...
<?php namespace App\Listeners; use App\Events\NewQuestionnaireCreatedEvent; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\InteractsWithQueue; class MakeQuestionnaireAvailableTobeTaken implements ShouldQueue { /** * Create the event listener. * * @return void */ public f...
<?php namespace LE_ACME2\Utilities; defined('ABSPATH') or die(); class KeyGenerator { /** * Generates a new RSA keypair and saves both keys to a new file. * * @param string $directory The directory in which to store the new keys. * @param string $privateKeyFile The filename for the private k...
<!DOCTYPE html> <html lang=""> <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>Title Page</title> <!-- Bootstrap CSS --> <link rel="stylesheet" href="<?php echo base_url('') ;?>assets/css/bootst...
@extends('layouts.app') @section('content') <div class="card-body"> @if (session('status')) <div class="alert alert-success" role="alert"> {{ session('status') }} </div> @endif </div> <body class="antialiased"> <div 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 Symfony\Component\Serializer\Normalizer; /** * Defines the most basic ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Post extends Model { protected $table = 'posts'; public $timestamps = true; protected $fillable = array('title', 'image', 'content', 'category_id'); public function category() { return $this->belongsTo(Category::c...
<?php /** * CPgsqlSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2013 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CPgsqlSchema is the class for retrieving metadata information from a PostgreSQL database. * * ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class FdraftPlayer extends Model { protected $fillable = [ 'name', 'aka', 'profile', 'cost', 'score', 'fan_draft_id' ]; public function teams() { return $this->belongsToMany('App\Fdra...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSettingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('settings', fun...
<?php namespace App\Model\Factory; use App\Model\PdoDb; /** * Class ModelFactory * Creates the Model if it doesn't exist * @package App\Model */ class ModelFactory { /** * Model * @var array */ private static $models = []; /** * Returns the Model if it exists or creates it before...
<?php namespace App\Model\Administracion\Configuracion; use Illuminate\Database\Eloquent\Model; class SysClientesModel extends Model { public $table = "sys_clientes"; public $fillable = [ 'id' ,'id_uso_cfdi' ,'rfc_receptor' ,'nombre_comercial' ,'razon_social' ,'calle' ...
<?php //usermap.php //displays usermap for a given userid or IP. include_once("includes.php"); if (!logged_in() || !check_admin_user()) { //eject this user. header("Location: index.php?r=".urlencode($_SERVER['REQUEST_URI'])); exit; } display_header("Usermap", $status); display_usermap($dbConn, $_REQUES...
<div class="row clearfix mt-5"> <div class="col-md-2"> <div class="nav flex-column nav-pills"> <a class="nav-link @if($tab_menu == 'user.info') active @endif" href="{{route('users.show', $user->id)}}">User Info</a> <a class="nav-link @if($tab_menu == 'reports') active @endif" href="...
<!DOCTYPE html> <html lang="en"> <head> <title>Login</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!--===============================================================================================--> <link rel="icon" type="image/png" href="{{ asset('lg/imag...
<?php namespace App; use RuntimeException; use GuzzleHttp\Exception\ClientException; use Illuminate\Support\Collection; use Carbon\Carbon; use App\Store; class WeisMarketsStoreScanner extends StoreScanner { protected $baseUri = 'https://www.weismarkets.com/api/'; private $csrfToken; private $orderId; ...