text stringlengths 2 1.03M |
|---|
<table class="table table-bordered table-striped">
<thead>
<th>id</th>
<th>prix</th>
<th>titre</th>
<th>couverture</th>
<th>genre</th>
</thead>
@foreach($lesMangas as $manga)
<tr>
<td>{{$manga->getIdManga()}}</td>
<td>{{$manga->getPrix()}}</td>
... |
@extends('layouts.appGuest')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Reset Password') }}</div>
<div class="card-body">
@if ... |
<?php
declare( strict_types = 1 );
namespace Wikimedia\Dodo;
trait WindowEventHandlers /* implements \Wikimedia\IDLeDOM\WindowEventHandler */ {
use \Wikimedia\IDLeDOM\Stub\WindowEventHandlers;
} |
<?php
namespace Drupal\workspaces\Plugin\EntityReferenceSelection;
use Drupal\Component\Utility\Html;
use Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection;
use Drupal\Core\Form\FormStateInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Provides specific access control... |
@extends('layouts.home')
@section('content')
<div class="container-fluid">
{{--
<div class="row">
<div class="col-md-12 d-flex flex-row align-items-center justify-content-between header">
<div class=" d-flex flex-row align-items-center title">
<img src="images/macawayan logo.png" alt="irosin l... |
@extends('layouts.master-admin')
@section('master-admin')
<div class="nav-left-sidebar sidebar-dark">
<div class="menu-list">
<nav class="navbar navbar-expand-lg navbar-light">
<a class="d-xl-none d-lg-none" href="trang-quan-tri">Dashboard</a>
<button class="navbar-toggler" type="bu... |
@extends('admin_layout')
@section('admin_content')
<div class="table-agile-info">
<div class="panel panel-default">
<div class="panel-heading">
Danh sách mã giảm giá
</div>
<div class="row w3-res-tb">
<div class="col-sm-3 m-r-auto">
<form class="input-group"action="{{URL::to('/list... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Response;
use DB;
class gestionRolesCreditosComController extends Controller
{
public function getUsuarioByCurp($curp) {
$usuario = DB::table('users')
->select('PK_USUARIO','PRIMER_APELLIDO'... |
<?php
namespace Drupal\Tests\Core\Plugin;
use Drupal\Component\Plugin\Definition\PluginDefinitionInterface;
use Drupal\Component\Plugin\DependentPluginInterface;
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Core\Plugin\Definition\DependentPluginDefinitionInterface;
use Drupal\Core\Plugin\PluginDe... |
<?php
/**
* Created by PhpStorm.
* User: cash
* Date: 2018/02/13
* Time: 22:24
*/
namespace App\Http\Controllers;
class ContactController extends Controller
{
public function Index()
{
return view("Contact.Index");
}
public function Success()
{
return view("Contact.Success")... |
<?php
$data = file_get_contents('php://input');
$application = getenv("VCAP_APPLICATION");
$application_json = json_decode($application, true);
$applicationName = $application_json["name"];
$ordersAppName = str_replace("ui-", "order-api-", $applicationName);
$ordersAppName = str_replace("-ui", "-order-api", $ordersApp... |
<?php
require_once "../Matrix.php";
/**
* Given n points (x0,y0)...(xn-1,yn-1), the following methid computes
* the polynomial factors of the n-1't degree polynomial passing through
* the n points.
*
* Example: Passing in three points (2,3) (1,4) and (3,7) will produce
* the results [2.5, -8.5, 10] which means th... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit81a6f84f3dafb790b83fe82508adce23
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
protected $guarded = ['id'];
public $timestamps = false;
public function products(){
return $this->hasMany('App\Models\Product');
}
} |
<?php declare(strict_types = 1);
namespace PHPStan\Type;
use PHPStan\Analyser\Scope;
use PHPStan\Reflection\ClassConstantReflection;
use PHPStan\Reflection\MethodReflection;
use PHPStan\Reflection\PropertyReflection;
use PHPStan\TrinaryLogic;
class IntersectionType implements CompoundType, StaticResolvableType
{
/... |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
class DealerResetPasswordNotification extends Notification
{
use Queueable;
public $token;
/**
*... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Excel To HTML using codebeautify.org</title>
<script src="<?php echo base_url(); ?>admin_assets/editor/ckeditor.js"></script>
</head>
<body>
<style>
.invoice {
position: relative;
background: #fff;
border: 1px solid #f4f4f... |
@extends('layouts.admin_layout')
@section('admin_content')
<div class="content container-fluid">
<div class="row">
<!-- <div class="col-lg-12"> <h4 class="page-title">Category Level</h4> </div> -->
@if($errors->any())
<div class="alert alert-danger">
<ul>
@forea... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Periode_pagu extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->model('lkpk/Periode_pagu_model');
$this->load->library('form_validation');
}
public function ind... |
@php
use App\Models\User;
use App\Models\Order;
@endphp
@extends('layouts.control_panel')
@section('title', '後台訂單管理')
@section('sass_backend')
<link href="{{ asset('css/order/manage.css') }}" rel="stylesheet">
@endsection
@section('content')
<div class="row">
<div class="col-sm-12">
<div class="o... |
<?php
namespace App\Http\Requests\Adverts;
use Illuminate\Foundation\Http\FormRequest;
use App\Entity\Adverts\Category;
use App\Entity\Region;
use Illuminate\Validation\Rule;
/**
* @property Category $category
* @property Region $region
*/
class CreateRequest extends FormRequest
{
public function authorize(... |
<?php
namespace App\Http\Controllers\Frontend;
use App\Http\Controllers\Controller;
use App\Http\Requests\Contact\StoreContactRequest;
use App\Model\Admission;
use App\Model\Album;
use App\Model\Callback;
use App\Model\Contact;
use App\Model\CustomField;
use App\Repositories\FrontCms\CmsInterface;
use App\Repositorie... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Wallet extends Model
{
protected $fillable = [
'balance', 'savings_balance', 'deposit_balance', 'account_number'
];
public function user()
{
return $this->belongsTo(User::class);
}
public function getBalance... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/oslogin/common.proto
namespace Google\Cloud\OsLogin\Common;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* The POSIX account information associated w... |
<?php
namespace Requests;
/**
* SSL utilities for Requests
*
* @package Requests
* @subpackage Utilities
*/
/**
* SSL utilities for Requests
*
* Collection of utilities for working with and verifying SSL certificates.
*
* @package Requests
* @subpackage Utilities
*/
class SSL
{
/**
* Verify the... |
<?php
declare(strict_types=1);
use Meteocat\Model\Query\XEMA\Auxiliary;
use PHPUnit\Framework\TestCase;
/**
* Class QueryXEMAAuxiliaryTest
*
* @author Màrius Asensi Jordà <marius.asensi@gmail.com>
*/
class QueryXEMAAuxiliaryTest extends TestCase
{
public function testAuxiliaryGetByFilters()
{
$qu... |
<?php
unset(); |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
/**
* App\User
*
* @property int $id
* @property string $name
* @property string $email
* @property \Illuminate\Support\Carbon|null $email_verifie... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateArticulosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('articulos', f... |
@php
/*
$layout_page = shop_cart
$cart: no paginate
$shippingMethod: string
$paymentMethod: string
$totalMethod: array
$dataTotal: array
$shippingAddress: array
$countries: array
$attributesGroup: array
*/
@endphp
@extends($templatePath.'.layout')
@section('main')
<section>
<div class="container">
<div cl... |
<?php
namespace Tests\Unit;
use App;
use App\Services\CommentService;
use App\Services\PostService;
use App\Services\TagService;
use App\User;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Facades\Auth;
use Tests\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;
class ExampleTest extends TestCa... |
<?php namespace Propaganistas\LaravelPhone;
use Illuminate\Support\ServiceProvider;
use Illuminate\Validation\Rule;
use libphonenumber\PhoneNumberUtil;
use Propaganistas\LaravelPhone\Rules;
use Propaganistas\LaravelPhone\Validation;
class PhoneServiceProvider extends ServiceProvider
{
/**
* Register services... |
<?php
class orangehrmPerformanceTrackerPluginConfiguration1 extends sfPluginConfiguration {
public function initialize() {
$enabledModules = sfConfig::get('sf_enabled_modules');
if (is_array($enabledModules)) {
sfConfig::set('sf_enabled_modules', array_merge(sfConfig::get('sf_enabled_mo... |
<?php
namespace RichanFongdasen\EloquentBlameableTest\Models\Extensions;
trait AuthenticatableTrait
{
/**
* The column name of the "remember me" token.
*
* @var string
*/
protected $rememberTokenName = 'remember_token';
/**
* Get the name of the unique identifier for the user.
... |
<?php
namespace RZ\Razor\BrowserDetector;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license inform... |
<?php
declare(strict_types=1);
namespace PhpCfdi\SatWsDescargaMasiva\Tests\Scripts\CLI;
class Arguments
{
/** @var Argument[] */
public $arguments;
public function __construct(Argument ...$arguments)
{
$this->arguments = $arguments;
}
public function parseParameters(array $parameter... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTableStudent extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('table_student',... |
@extends('admin.layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-7">
<div class="card shadow">
<div class="card-header text-center">{{ __('Admin Login') }}</div>
<div class="card-body">
... |
<?php
namespace App\Admin\Controllers;
class AdminStoreLinkController extends \SCart\Core\Admin\Controllers\AdminStoreLinkController
{
public function __construct()
{
parent::__construct();
}
} |
<?php
/**
* Created by PhpStorm.
* User: fallstar
* Date: 2019/8/14
* Time: 23:27
*/
namespace Wxfallstar\LaravelShop\Wap\Shop\Http\Controllers;
class WechatMenuController extends Controller
{
public function index(){
$buttons = [
[
"type" => "view",
"name... |
<form method="post" action="<?php echo base_url('products/update/'.$product->id);?>">
<div class="row">
<pre>
<?php
// print_r($product);
?>
</pre>
<div class="col-md-8 col-md-offset-2">
<div class="form-group">
<label class="col-md-3">Category ... |
<?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 RectorPrefix20220327\Symfony\Component\Console\Output;
use RectorPrefix2... |
<?php
namespace Specialtactics\L5Api\Models;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Illuminate\Database\Eloquent\ModelNotFoundException;
/**
* Class Builder
*
* This changes some default functionality to be more API-friendly
*
* @package Specialtactics\L5Api\Models
*/
class Build... |
<div class="form-group">
@yield('field')
</div> |
<?php
namespace Acts\CamdramAdminBundle\Controller;
use FOS\RestBundle\Controller\FOSRestController;
use FOS\RestBundle\Controller\Annotations\RouteResource;
use FOS\RestBundle\Controller\Annotations\Post;
use Symfony\Component\HttpFoundation\Request;
use Doctrine\Common\Collections\Criteria;
use Acts\CamdramAdminB... |
<!-- BEGIN INFORMATION SUCCESS DETAIL COMMENT MODAL -->
<div class="modal fade" id="pradetail_comment2" tabindex="-1" role="basic" aria-hidden="true">
<div class="modal-dialog modal-md">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden... |
<?php
class SkeletonTestModuleFrontController extends \ModuleFrontController
{
public function __construct()
{
parent::__construct();
$this->bootstrap = true;
}
public function initContent()
{
$this->setTemplate('module:skeleton/views/templates/front/test.tpl');
}
} |
<?php
use yii\helpers\Html;
use kartik\grid\GridView;
use kartik\dynagrid;
use kartik\export\ExportMenu;
use yii\bootstrap\Modal;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $searchModel backend\modules\setting\models\SimanAngkutanSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->t... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\ApprovalRulesNodeSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="approval-rules-node-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get... |
<?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 t... |
<?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\common\controller;
use app\common\library\Auth;
use think\Config;
use think\Controller;
use think\Hook;
use think\Lang;
use think\Loader;
use think\Validate;
/**
* 前台控制器基类
*/
class Frontend extends Controller
{
/**
* 布局模板
* @var string
*/
protected $layout = '';
/**... |
<?php
namespace App\Http\Controllers;
use App\CommentReply;
use App\Comment;
use Illuminate\Http\Request;
use Auth;
class CommentRepliesController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
... |
<tr id="<?PHP echo $item['field_id']; ?>">
<td>
<input class="checkbox autocb" name="field_id[]" value="<?PHP echo $item['field_id']; ?>" type="checkbox">
</td>
<td>
<?PHP echo $item['name']; ?>
</td>
<td>
<?php echo StringChopTooltip($item['label'], 70); ?>
</td>
<td>
<?PHP echo $item['ty... |
--TEST--
Testing error on non-long parameter 3 of imagecharup() of GD library
--CREDITS--
Rafael Dohms <rdohms [at] gmail [dot] com>
#testfest PHPSP on 2009-06-20
--SKIPIF--
<?php
if (!extension_loaded("gd")) die("skip GD not present");
?>
--FILE--
<?php
$image = imagecreatetruecolor(180, 30);
$result = imagecharup($... |
<?php
function msg_get_queue(int $key, int $permissions = 0666) : \SysvMessageQueue|false
{
} |
<?php
declare (strict_types=1);
namespace Rector\CodeQuality\Rector\FuncCall;
use RectorPrefix20220308\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Expr\FuncCall;
use PhpParser\Node\Expr\StaticCall;
use Rector\Core\Php\Regex\RegexPatternArgumentManipulator;
use Rector\Core\Rector\AbstractRector;
use Sy... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class BookGenres extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('book_genres', function ... |
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<title>Web Form</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/b... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="vi">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>{{$pageTitle}}</title>
<link rel="shortcut icon" href="{{ url('images/LIFESOFT.png')}}" type="ima... |
@section('title','门店添加')
@section('content')
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>
<span class="action">线下门店-新增</span>
</h3>
<h5>
<span class="action-span"... |
<?php
namespace App\Http\Controllers;
use App\Models\UserBooksCollection;
class HomeController extends Controller
{
/**
* @return array
*/
private function getCollectedBooks() {
$userBooksCollection = UserBooksCollection::where('user_id', auth()->user()->getAuthIdentifier())->first();
... |
@extends('..HR.mainn')
@section('title' ,'HR')
@section('content')
<h1 class="text-center"></h1>
<div class="container p-5">
<table class="table table-hover " id="myTable">
<thead>
<tr>
<th scope="col" class="text-dark">id</th>
<th scope="col" class="text-dark">Name</th>
<th scope... |
<?php
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://w... |
<?php
/**
* Created by PhpStorm.
* User: tagdiv
* Date: 19.08.2016
* Time: 13:54
*/
class td_block_list_menu extends td_block {
private $atts = array();
public function get_custom_css() {
// $unique_block_class - the unique class that is on the block. use this to target the specific instance via cs... |
<?php
/**
*
* @license
*
*/
namespace Ntch\Framework\WebRestful;
use Ntch\Framework\Psr\Psr4\AutoloaderClass;
use Ntch\Framework\Http\Server\Nginx;
use Ntch\Framework\Http\Request\Globals;
use Ntch\Framework\Http\Request\Header;
use Ntch\Framework\Http\Request\Body;
use Ntch\Framework\WebRestful\View\View;
cla... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Pendaftaran</title>
{{HTML::style('assets/css/bootstrap.css')}}
{{HTML::script('assets/js/jquery-1.10.2.js')}}
{{HTML::script('assets/js/bootstrap.js')}}
<style>
body { font-family: 'open_sansregular', arial, sans-serif;}
b,
strong { fon... |
@if ($paginator->hasPages())
<ul class="pagination">
<!-- Prevoius Page Link -->
@if ($paginator->onFirstPage())
<li class="page-item disabled"><a class="page-link"><span>«</span></a></li>
@else
<li class="page-item"><a href="{{ $paginator->previousPageUrl() }}"... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Http\Resources\Admin\OrderSettlementResource\OrderSettlementCollection;
use App\Http\Resources\Admin\OrderSettlementResource\OrderSettlementInfoCollection;
use App\Models\OrderSettlement;
use App\Services\OrderSettlementService;
... |
<?php
/**
* @group formatting
*/
class Tests_Formatting_WpReplaceInTags extends WP_UnitTestCase {
/**
* Check for expected behavior of new function wp_replace_in_html_tags().
*
* @dataProvider data_wp_replace_in_html_tags
*/
function test_wp_replace_in_html_tags( $input, $output ) {
return $this->assertE... |
<?php
namespace App\Http\Controllers;
use App\Project;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
class ProjectController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
... |
<!DOCTYPE html>
<html>
<head>
<meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="NeboXxRmz0tgHJfh0FDqhyUtdDje58xoaENQxAJXJW3VqDzRrxIMUEOkk4ZkexMK2HpFOq5r9aau0u/SCqgWYg==" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit... |
<div class="blog-masthead">
<div class="container">
<nav class="nav">
<a class="nav-link active" href="#">Home</a>
<a class="nav-link" href="#">New features</a>
<a class="nav-link" href="#">Press</a>
<a class="nav-link" href="#">New hires</a>
@if (Auth::check())
<a class="nav... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use App\Purchase;
use App\PurchaseDetails;
use App\Supplier;
use App\PurchaseStatus;
use App\Product;
use Validator;
use Carbon\Carbon;
class PurchaseOrderController extends Con... |
<?php declare(strict_types = 1);
namespace SlevomatCodingStandard\Sniffs\PHP;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use SlevomatCodingStandard\Helpers\NamespaceHelper;
use SlevomatCodingStandard\Helpers\ReferencedNameHelper;
use SlevomatCodingStandard\Helpers\TokenHelper;
use SlevomatCodin... |
<?php namespace backend\tests\functional;
use backend\tests\FunctionalTester;
use common\models\SignupForm;
use common\models\User;
class LoginBackendCest
{
public function _before(FunctionalTester $I)
{
}
// tests
public function FazerLogin(FunctionalTester $I)
{
$I->amOnPage('/');
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFeedsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('feeds', function ... |
<?php
class Prnsoitem_model extends MY_Model
{
public function getBinItems($stonbr, $frrack, $torack) {
$this->db->select('s.sto_rack as rack, s.sto_bin as bin_code,
s.sto_item as item_code, m.description, m.category, m.uom,
truncate(s.sto_qty, 2) as qt... |
@if($message = session()->get('message'))
<script>
alert('Product has been added to cart successfully!');
</script>
@endif
<div class="section">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<!-- ASIDE -->
<div id="aside" class... |
<?php
namespace Safe;
use Safe\Exceptions\MbstringException;
/**
*
*
* @param int $cp
* @param string $encoding
* @return string Returns a specific character.
* @throws MbstringException
*
*/
function mb_chr(int $cp, string $encoding = null): string
{
error_clear_last();
if ($encoding !== null) {
... |
<?php return array(
'IS' => 'アイスランド',
'IE' => 'アイルランド',
'AZ' => 'アゼルバイジャン',
'AC' => 'アセンション島',
'AF' => 'アフガニスタン',
'US' => 'アメリカ合衆国',
'AE' => 'アラブ首長国連邦',
'DZ' => 'アルジェリア',
'AR' => 'アルゼンチン',
'AW' => 'アルバ',
'AL' => 'アルバニア',
'AM' => 'アルメニア',
'AI' => 'アンギラ',
'AO' => 'ア... |
<?php
/**
* Suppress "error - 0 - No summary was found for this file" on phpdoc generation
*
* @package WPDataAccess\Connection
*/
namespace WPDataAccess\Connection {
use WPDataAccess\WPDA;
/**
* Class WPDADB
*
* Manage local and remote database connections.
*
* @author Peter Schulz
* @since 3.... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\CsvRow;
use Faker\Generator as Faker;
$factory->define(CsvRow::class, function (Faker $faker) {
return [
//
];
}); |
@extends('layouts.admin_layouts.admin_layout')
@section('content')
<!-- Zero Configuration Starts-->
<div class="page-body">
<div class="container-fluid">
<div class="page-title">
<div class="row">
<div class="col-6">
<h3>
{{ $title }}... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateOrderItemsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('order_items'... |
<?php
if(!isset($user))
$user = '';
?>
<!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.0, user-scalable=no, maximum-scale=1">
<meta name="description" content="Fam... |
<?php
namespace App\Http\Requests;
use App\Helper\ResponseMessage;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Contracts\Validation\Validator;
use Illuminate\Http\Exceptions\HttpResponseException;
use Illuminate\Validation\Rule;
class UpdateHospitalDoctorRequest extends FormRequest
{
/**
* De... |
<?php
namespace OC\LouvreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Doctrine\Common\Collections\ArrayCollection;
/**
* Visit
*
* @ORM\Table(name="visit")
* @ORM\Entity(repositoryClass="OC\LouvreBundle\Repository\VisitRepository")
*/
class Visit
{
... |
@extends('admin.layouts.app')
@section('pagelevel_styles')
@endsection
@section('page_content')
<!-- BEGIN CONTENT BODY -->
<div class="page-content">
<!-- BEGIN PAGE HEAD-->
<div class="portlet light bordered">
<div class="portlet-title">
<div class="caption">
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class AdminProductStoreRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
@extends('layouts.app')
@section('page-title')
<h3>Página de alertas</h3>
@endsection
@section('header_nav')
@parent
@endsection
@section('sidebar_left')
@parent
@endsection
@section('content')
<h3>New exercise</h3>
<div class="alert">
<p>
{!! Form::open(['action' =>... |
<?php
namespace ProyectoLaravel\Http\Controllers\Auth;
use ProyectoLaravel\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|----... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddLastActivedAtToUsersTable extends Migration
{
public function up()
{
Schema::table('users', function (Blueprint $table) {
$table->timestamp('last_act... |
<?php
/*
$Id: $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2007 osCommerce
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License v2 (1991)
as published by the Free Software Foundation.
*/
$o... |
<div class="user_panel">
<div class="container">
<div class="row ">
<div class="col-md-3">
<div class="box">
<a href="<?php echo base_url() ?>profile"><button >Profile & Setting</button></a>
<a href="<?php echo base_url()?>donation-history"... |
<?php
declare(strict_types=1);
namespace Ddeboer\Imap\Message;
/**
* Collection of message headers.
*/
final class Headers extends Parameters
{
/**
* Constructor.
*/
public function __construct(\stdClass $headers)
{
parent::__construct();
// Store all headers as lowercase
... |
<?php
namespace App\Jobs\Auth\BA;
use App\BAModels\AuthView;
use Illuminate\Bus\Queueable;
use App\CreditCardAuthorization;
use Illuminate\Support\Facades\Log;
use Illuminate\Queue\SerializesModels;
use App\Services\Settings\PaymentRules;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQ... |
<?php
/*
bWAPP, or a buggy web application, is a free and open source deliberately insecure web application.
It helps security enthusiasts, developers and students to discover and to prevent web vulnerabilities.
bWAPP covers all major known web vulnerabilities, including all risks from the OWASP Top 10 project!
It is... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.