text
stringlengths
2
1.03M
<div class="row clearfix" style="margin-top:-20px"> <!-- Task Info --> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" id="area_formhonor"> <form class="form-horizontal" id="formhonor" action="javascript:submitForm('formhonor')" url="<?php echo base_url()?>keu_staff/input_hon...
<?php namespace App\Jobs; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldBeUnique; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use Illuminate\Http\Request; use Illuminate\Htt...
<?php declare(strict_types=1); namespace Coduo\PHPMatcher\Tests\Matcher; use Coduo\PHPMatcher\Backtrace; use Coduo\PHPMatcher\Lexer; use Coduo\PHPMatcher\Matcher\TimeMatcher; use Coduo\PHPMatcher\Parser; use PHPUnit\Framework\TestCase; class TimeMatcherTest extends TestCase { private TimeMatcher $matcher; ...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class EditArtworks extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the ...
<?php namespace App\Services; use Log; use Imagick; use Ramsey\Uuid\Uuid; use Symfony\Component\HttpFoundation\File\UploadedFile; use Symfony\Component\HttpKernel\Exception\HttpException as Exception; use Illuminate\Support\Facades\Crypt; use Illuminate\Support\Facades\Queue; use codewithkyle\JitterCore\Jitter; use ...
<?php declare(strict_types=1); namespace App\Entity; use Doctrine\ORM\Mapping as ORM; use App\Repository\PhoneRepository; use JMS\Serializer\Annotation\Groups; use JMS\Serializer\Annotation as Serializer; use Hateoas\Configuration\Annotation as Hateoas; use Symfony\Component\Validator\Constraints\Length; use Symfony...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php /* Smarty version 2.6.26, created on 2018-05-17 00:11:01 compiled from menu.tpl */ ?> <?php if (! $this->_tpl_vars['REPORTICO_AJAX_CALLED']): ?> <?php if (! $this->_tpl_vars['EMBEDDED_REPORT']): ?> <!DOCTYPE html> <HTML> <HEAD> <TITLE><?php echo $this->_tpl_vars['TITLE']; ?> </TITLE> <LINK id="reportico_...
<?php declare(strict_types=1); namespace Crossjoin\Browscap\Parser\Sqlite; use Crossjoin\Browscap\Exception\ParserConditionNotSatisfiedException; use Crossjoin\Browscap\Exception\ParserRuntimeException; use Crossjoin\Browscap\Exception\UnexpectedValueException; use Crossjoin\Browscap\Parser\Sqlite\Adapter\AdapterFact...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12"> <div class="card"> <div class="card-header bg-primary text-white" > <span class="ti-home"></span> Create...
<?php defined('SYSTEMPATH') || exit('No direct script access allowed'); ?> CRITICAL - 2020-02-07 00:21:48 --> syntax error, unexpected '$routes' (T_VARIABLE) #0 C:\laragon\www\easywork\vendor\codeigniter4\framework\system\CodeIgniter.php(298): CodeIgniter\CodeIgniter->tryToRouteIt(NULL) #1 C:\laragon\www\easywork\vend...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
<?php namespace App\Http\Livewire; use App\Models\Post; use Livewire\Component; use Livewire\WithPagination; class Posts extends Component { use WithPagination; public $postId, $title, $description, $openModal = false, $update = false, $paginate = ...
<?php /** * IXR_Client * * @package IXR * @since 1.5 * */ class Jetpack_IXR_Client extends IXR_Client { public $jetpack_args = null; function __construct( $args = array(), $path = false, $port = 80, $timeout = 15 ) { $defaults = array( 'url' => Jetpack::xmlrpc_api_url(), 'user_id' => 0, ); $args ...
<?php /** * Created by PhpStorm. * User: admin * Date: 2017/08/08 * Time: 15:15 */ namespace Home\Controller; use Think\Controller; class LoginController extends CommonController { function login(){ //通信手册 $this->upload_url=$this->gettxl(); $this->display(); } function chec...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateBlogTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('blog', function (B...
<?php //Create Session ob_start(); session_start(); //If the Signup button is triggered if (isset($_POST['signup'])) { $valid = 1; /* Validation to check if fullname is inputed */ if (empty($_POST['fullName'])) { $valid = 0; $err_message .= " FullName can not be empty<br>"; } //Filtering fullname if ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> <title>RDA Accident Assistance</title> <meta name="description" content="Road Development Authority, Accident Management Department is Sri Lankan's Largest Accid...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\{Schema,DB}; use DateTime,DateInterval; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { // Borrar tablas ...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit10b00b18e8e3827db6c7c03b5eb269f7::getLoader();
<?php // +---------------------------------------------------------------------- // | Writen By lichunqiang // +---------------------------------------------------------------------- // | Copyright (c) 2012-2014, All rights reserved. // +---------------------------------------------------------------------- // | Author...
<?php namespace app\home\controller; use think\Controller; use think\Request; class IndexController extends Controller { /** * 显示资源列表 * * @return \think\Response */ public function index() { return view('index/index'); } /** * 显示创建资源表单页. * * @return \t...
@extends('Shared/Layout') <!--titulo de la pagina--> <!--titulo de la pagina--> <!--titulo de la pagina--> @section('titulo') - Empresa @endsection <!--body--><!--body--><!--body--> @section('seccion') <div class="container" style="padding-top:20px;padding-bottom:20px;"> <div class="row"> <div class="col-md-1...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCodeudorsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('codeudors', f...
<?php namespace App\Http\Controllers; use App\Http\Requests\CouponRequest; use App\Models\Coupon; use GuzzleHttp\Exception\RequestException; use Illuminate\Http\Request; class CouponsController extends Controller { private $request; public function __construct(CouponRequest $request) { $this->re...
@extends('layouts.admin') @section('content') <div class="app-content content"> <div class="content-overlay"></div> <div class="header-navbar-shadow"></div> <div class="content-wrapper"> <div class="content-header row"> <div class="content-header-left col-md-9 col...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]><xml><o:OfficeDocumentSettings><...
<?php return [ 'monthly' => 'Mensual', 'annual' => 'Anual', 'single' => 'Simple', 'shared' => 'Compartida', 'matrimonial' => 'Matrimonial', 'cash' => 'Efectivo', 'e_transfer_l' => 'Transferencia moneda local', 'e_transfer_e' => 'Transferencia moneda extranjera', 'p_code' => 'Código ...
<?php namespace App\Providers; use App\Folder; use App\Policies\FolderPolicy; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Gate; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * ...
@extends('master') @section('contents') <center> <h1> <b><u>This is Certificate Request List</u></b> </h1> <br> <div class="col-md-4"> @if(session()->has('msg')) <p class="alert alert-success">{{session()->get('msg')}}</p> @endif </div> </center> <br> <table class="table table-dark table-striped">...
<?php /* * This file is part of the NumberNine package. * * (c) William Arin <williamarin.dev@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace NumberNine\Controller\Admin\Ui\Comment; use Doctrine\ORM\Tools\Pa...
<?php /* * Copyright 2014 Google Inc. * * 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 defined('BASEPATH') OR exit('No direct script access allowed'); class Defect_Model extends CI_Model { public function createDefect($data) { # code... return $this->db->insert('quality_control',$data); } public function get_all_level() { $query = $this->db->get('jenis_deffect'); retur...
<?php namespace Drupal\agfirst_embedded_forms\Plugin\Field\FieldWidget; use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Field\WidgetBase; use Drupal\Core\Form\FormStateInterface; /** * Plugin implementation of the 'shortstack_embed_widget' widget. * * @FieldWidget( * id = "shortstack_embed_widget...
<?php namespace Codex\Git\Http\Middleware; use Closure; use Illuminate\Contracts\Encryption\Encrypter; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier; use Illuminate\Routing\Router; use Illuminate\Session\TokenMismatchException; class VerifyCsrfToken extends BaseVerifier { /** * @...
<?php namespace Alexusmai\LaravelFileManager\Traits; use Illuminate\Support\Collection; use Storage; trait ContentTrait { /** * Get content for the selected disk and path * @param $disk * @param $path * @return array */ public function getContent($disk, $path = null) { $...
<?php class TwigContainer extends Pimple { /** * Default config of properties * @var array */ protected static $config = array( 'twig.loader_class' => 'Twig_Loader_Filesystem', 'twig.environment_options' => array( 'auto_reload' => true ), 'twig.extensi...
<?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 (B...
<?php namespace App\Model; class Conexao{ private static $instace; public static function getConn(){ if(!isset(self::$instace)): self::$instace = new \PDO('mysql:host=localhost;dbname=pdo;charset=utf8','root',''); endif; return self:...
@extends('Layout/admin') @section('container') <div class="nano"> <div class="nano-content"> <nav id="menu" class="nav-main" role="navigation"> <ul class="nav nav-main"> ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <div id="page-wrapper"> <div class="row"></div> <div class="row"> <div class="col-lg-12"> <h4 class="page-top"> <a href="<?php echo base_url()."index.php/Common/SubCategories/Index";?>"> <span class="glyphicon glyphicon-arrow-l...
<?php /* FOSUserBundle:Group:list_content.html.twig */ class __TwigTemplate_bc340edb22dea795761b58df6fedbf4fe16b02541c0937a8110fdfaba13629a6 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = a...
@extends('layouts.app') @section('content') <h1>Halaman Beranda</h1> <input type="button" value="Home" class="btn btn-primary"> <input type="button" value="Profile" class="btn btn-success"> <br> <br> <table class="table table-bordered table-hover"> <tr> <td>Sidebar</td> <td colspan="2">Judul Utama<...
<?php namespace app\models\commands; class HostCommand extends AbstractCommand { /** * * @var string */ public $domain; public function postExecute() { $searchString = "$this->domain has address "; $lines = explode("\n", $this->output); foreach ($lines as &...
<?php if (!defined("ROOT_PATH")) { header("HTTP/1.1 403 Forbidden"); exit; } class pjAdminOptions extends pjAdmin { public function pjActionIndex() { $this->checkLogin(); if ($this->isAdmin()) { $arr = pjOptionModel::factory() ->where('t1.foreign_id', $this->getForeignId()) ->orderBy('t1.order ASC...
<?php namespace App\Http\Controllers; use App\Models\TravelPackage; use Illuminate\Http\Request; class DetailController extends Controller { public function index(Request $request, $slug) { $item = TravelPackage::with(['galleries']) ->where('slug', $slug) ->firstOrFail(); ...
<div class="row" ng-controller="NewsListController as newsCtrl"> <h1 class="title hero">>>> News <<<</h1> <div class="col-md-3 col-sm-4 col-xs-6" ng-repeat="article in newslist.articles"> <div class="card" style="width: 18rem;"> <a href="{{article.url}}" > <img class="card-img-top img-respons...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/> <meta http-equiv="X-UA-Compatible" content="ie=edge"/> <title>Order confirmation email</title> <style typ...
<?php /* +------------------------------------------------------------------------+ | Phalcon Developer Tools | +------------------------------------------------------------------------+ | Copyright (c) 2011-2015 Phalcon Team (http://www.phalconphp.com) | ...
<?php Yii::setAlias('@resourceCountryCity', realpath(dirname(__FILE__).'/../../resource/country_city')); return [ 'adminEmail' => 'admin@example.com', 'supportEmail' => 'support@example.com', 'senderEmail' => 'noreply@example.com', 'senderName' => 'Example.com mailer', 'user.passwordResetTokenExpire...
<?php /** * Created by PhpStorm. * User: jujin8 * Date: 2018/7/24 * Time: 下午4:53 */ namespace App\Http\Controllers\Api; use Illuminate\Support\Facades\Validator; use Illuminate\Http\Request; use App\Models\Feedback; class FeedbackController extends Controller { protected function validator(array $data) ...
<div class="pr-2 pl-2"> <ul class="list-inline mb-0"> <li class="list-inline-item"> <label for="raid_group_filter font-weight-light"> <span class="text-muted fas fa-fw fa-helmet-battle"></span> {{ __("Raid Group") }} </label> <select id="ra...
<?php if(isset($_POST['save_edit_re_quote_subitem'])){ Conexion::abrir_conexion(); $re_quote_subitem = ReQuoteSubitemRepository::get_re_quote_subitem_by_id(Conexion::obtener_conexion(), $_POST['id_re_quote_subitem']); $re_quote_item = ReQuoteItemRepository::get_re_quote_item_by_id(Conexion::obtener_conexion(), $r...
@extends('layouts.app') @section('content') <div class="content-heading"> <div> Shares Ledger </div> </div> <!-- START row--> <div class="row"> <div class="col-xl-12"> <!-- START card--> <div class="card card-default"> <div clas...
<!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"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> ...
<?php /* vim: set expandtab tabstop=4 shiftwidth=4: */ // +----------------------------------------------------------------------+ // | PHP Version 4 | // +----------------------------------------------------------------------+ // | Copyright (c) 1997-200...
<?php /** * @author Lukáš Unger <lookymsc@gmail.com> * @copyright Copyright (c) Lukáš Unger * @license http://mit-license.org/ * * @link https://github.com/thephpleague/oauth2-server */ namespace League\OAuth2\Server\CodeChallengeVerifiers; class S256Verifier implements CodeChallengeVerifierIn...
<!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=""> <link rel="icon" href="{{ asset('backend/im...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\DBFS\V20200418\Models; use AlibabaCloud\Tea\Model; class PublishUpgradeTaskRequest extends Model { /** * @var string */ public $regionId; /** * @var int */ public $pageNumber; /** *...
<?php namespace UUP\Exchange\Types; class FlagStatusType { const __default = 'NotFlagged'; const NotFlagged = 'NotFlagged'; const Flagged = 'Flagged'; const Complete = 'Complete'; }
<?php use Illuminate\Database\Seeder; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $user = \App\User::firstOrCreate(['email' => 'jill@harvard.edu']); $user->name = 'Jill'; $user->email = 'jill@...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTableExpertActivities extends Migration { /** * Run the migrations. * * @return void */ public function up() { if (!Schema::hasTable('expert_activities')) { Schema::create('expert_activities', fun...
<?php namespace ContainerJkmjU67; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @internal This class has been auto-generated by the Symfony Dependency Injection Component. */ class getFosCkEditor_Form_TypeService ...
<?php namespace App\SupportedApps\Shiori; class Shiori extends \App\SupportedApps { }
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2019 | +---------------------...
<template id="com-share-level"> <el-dialog :visible.sync="edit.visible" width="20%" title="修改分销商等级"> <div v-loading="edit.loading"> <el-form size="small" label-width="150px"> <el-form-item label="等级名称"> <el-select size="small" v-model="edit.level" class="selec...
<?php class Invoice extends CI_Controller { public function __construct() { parent::__construct(); if ($this->session->userdata('role_id') != '1') { $this->session->set_flashdata('pesan', '<div class="alert alert-danger alert-dismissible fade show" role="alert"> Anda Belum ...
<?php namespace App\Report\Providers; use App\Report\Repositories\EloquentReportRepository; use App\Report\Repositories\ReportRepositoryInterface; use Illuminate\Support\ServiceProvider; class RepositoryServiceProvider extends ServiceProvider { public function register() { $this->app->bind( ...
@extends('fleet.layout.base') @section('title', 'Fleet Wallet Transfer') @section('content') <div class="content-area py-1"> <div class="container-fluid"> <div class="box box-block bg-white"> <h5 class="mb-1">Transfer Amount (@lang('provider.current_balance') : {{curr...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateInvoicesTableForCashierFastspring extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::cr...
<?php /** * This file is part of Comely package. * https://github.com/comelyio/comely * * Copyright (c) 2016-2019 Furqan A. Siddiqui <hello@furqansiddiqui.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code or visit following link: *...
<?php /** * UMI.Framework (http://umi-framework.ru/) * * @link http://github.com/Umisoft/framework for the canonical source repository * @copyright Copyright (c) 2007-2013 Umisoft ltd. (http://umisoft.ru/) * @license http://umi-framework.ru/license/bsd-3 BSD-3 License */ namespace umi\form\element; use u...
<?php /* [CYASK] (C)2009 Cyask.com Revision: 3.2 Date: 2009-1-19 Author: zhaoshunyao QQ: 240508015 */ if(!defined('IN_CYASK')) { exit('Access Denied'); } function parse_template($file, $language, $tpldir, $templateid) { global $lang; $nest = 5; $tplfile = CYASK_ROOT."./$tpldir/$file.html"; $objfile = CYASK_...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Http\Requests\Auth\LoginRequest; use App\Providers\RouteServiceProvider; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class AuthenticatedSessionController extends Controller { /** * Display the login...
<?php require_once(dirname(__DIR__) . '/database.php'); require_once(dirname(__DIR__) . '/functions.php'); if(isset($_POST['postid']) && isset($_POST['replyto'])) { $author = 'Unknown'; $registered = 0; $approved = 0; $checkApproved = $mysqli->query("SELECT val...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\PotonganSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Potongan'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="potongan-index"> <h1><?= Html::encode($...
<?php namespace Dvsa\OlcsTest\Api\Domain\CommandHandler\Email; use Dvsa\Olcs\Api\Domain\Command\Result; use Dvsa\Olcs\Api\Domain\CommandHandler\Email\SendPsvOperatorListReport; use Dvsa\Olcs\Api\Entity\System\SystemParameter; use Dvsa\Olcs\Email\Domain\Command\SendEmail; use Dvsa\OlcsTest\Api\Domain\CommandHandler\Co...
<?php namespace App\Http\Controllers\Api\MiniProgram; use Illuminate\Http\JsonResponse; class LoginController extends BaseController { /** * TODO: 微信获取用户的openid * @param string code 微信code * @return JsonResponse */ public function getOpenId() { validatePost($this->post, ['code...
<?php /** * @see https://github.com/mezzio/mezzio-session for the canonical source repository * @copyright https://github.com/mezzio/mezzio-session/blob/master/COPYRIGHT.md * @license https://github.com/mezzio/mezzio-session/blob/master/LICENSE.md New BSD License */ declare(strict_types=1); namespace Mez...
<?php namespace Admin\Service; use DateTime; use Core\Test\ServiceTestCase; use Admin\Model\User; use Core\Model\EntityException; use Zend\Authentication\AuthenticationService; /** * Testes do serviço Auth * @category Admin * @package Service * @author Elton Minetto<eminetto@coderockr.com> */ /** * @group Se...
<?php namespace App\Providers; use Illuminate\Support\Facades\Event; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; class EventServiceProvider extends ServiceProvider { /** * The event listener mappings for the application. * * @var array */ protected...
@extends('layouts.frontend') @section('content') <!--================ End Header Area =================--> <!--================ Start Banner Area =================--> <section class="banner_area"> <div class="banner_inner d-flex align-items-center"> <div class="container"> <div class="ban...
<?php namespace App\Http\Controllers\SPM; use App\Http\Controllers\Controller; use App\Models\service; use Illuminate\Http\Request; class ServiceController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View ...
<?php namespace App\Controllers; use App\Models\M_berita_acara; use App\Models\M_berita_acara_barang; use App\Models\M_pegawai; use Exception; class Berita_acara extends BaseController { private $M_berita_acara; private $M_berita_acara_barang; private $M_pegawai; public function __construct() { $this->M_beri...
<?php namespace app\home\controller; class Index extends Common { /* protected function initialize() { $this->is_login(); // parent::initialize(); // TODO: Change the autogenerated stub } */ public function index() { // $this->Is_power(); $this->is_login() ...
<?php namespace App\Exceptions; use Exception; use Illuminate\Auth\AuthenticationException; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler { /** * A list of the exception types that should not be reported. * * @var array */ pro...
@extends('layouts.main') @section('content') <div class="content-wrapper-inner"> <div class="content-wrapper-settings"> <ul class="nav nav-tabs"> <li class="active"><a href="account_settings.html"><span>Photos</span><div class="profile-warning"></div></a></li> <li class="active"><a h...
<?php /** * System messages translation for CodeIgniter(tm) * * @author CodeIgniter community * @copyright Copyright (c) 2014 - 2017, British Columbia Institute of Technology (http://bcit.ca/) * @license http://opensource.org/licenses/MIT MIT License * @link https://codeigniter.com */ defined('BASEPATH') OR exit...
<?php /** * * @author tungly * List TestCase * testInitCartSuccess * testAddItemHasQuantityGtThanStockQuantityShouldThrowCartException * testAdd2ItemHasQuantityNotGtThanStockQuantityAndItemHasExistedShouldAddMoreQuantity * testAdd2ItemHasQuantityGtThanStockQuantityAndItem...
<?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\HttpKernel\Controller\ArgumentResolver; use Psr\Conta...
<?php namespace norsys\score\composer\autoload; use norsys\score\composer\part; interface type extends part { }
<?php namespace App\Entity; use App\Repository\LeadRepository; use DateTime; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass=LeadRepository::class) */ class Lead { /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @O...
<!DOCTYPE html> <html> <body class="hold-transition sidebar-mini layout-fixed"> <div class="wrapper"> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header pt-0 pb-2"> <div class="container-fluid"> <di...
<?php use App\Models\Cook\Concept; use Illuminate\Database\Seeder; use Illuminate\Database\Eloquent\Model; class ConceptTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Model::unguard(); Concept::create([ 'name' => 'Общий', ...
<?php namespace App\Http\Controllers\Master; use App\User; use App\Http\Requests\UserRequest; use Illuminate\Support\Facades\Hash; use App\Http\Requests\Curl; use Auths; use Response; use Illuminate\Http\Request; use Constants; use App\Http\Controllers\Controller; class PerusahaanCabangController extends Controll...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFiveStdsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('five_stds', fu...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Login</div> <div class="panel-body"> ...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * 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/LICENS...
<?php namespace App\Awe; class ShopProduct { private $id; private $title; private $mainName; private $firstName; protected $price; public function __construct( string $id, string $title, string $firstName, string $mainName, float $price ) { ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddPirepAcars extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('acars', function(Blueprint $table) { $table->increments('id...