text stringlengths 2 1.03M |
|---|
<!-- <pre> -->
<?php
// var_dump($post_images);
?>
<div class="row margin-bottom">
<div class="col-sm-6">
<?php
if (isset($post_images[0])) {
?>
<img class="img-responsive" src="<?= base_url("uploads/post_images/" . $post_images[0]['image']) ?>" alt="Photo">
... |
--TEST--
Check xsltprocessor::registerPHPFunctions called with null to reset
--DESCRIPTION--
When being called multiple times with an array,
registerPHPFunctions adds the new functions to the allowed parameter
list - it does not replace the previously allowed functions.
--SKIPIF--
<?php
if (!extension_loaded('... |
@extends('layouts.admin.app')
@section('content')
<!-- Main content -->
<section class="content">
@include('layouts.errors-and-messages')
<div class="box">
<form action="{{ route('admin.refunds.update', $refund->id) }}" method="post" class="form" enctype="multipart/form-data">
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?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
$this->extend('_templates/default-nav', array(), 'outer_box');
$this->embed('publish/partials/publish_form');
$modal = ee('View')->make('ee:_shared/modal-form')->render([
'name' => 'modal-form',
'contents' => ''
]);
ee('CP/Modal')->addModal('modal-form', $modal); |
<?php $__env->startSection('page_title', __('voyager::generic.viewing').' '.$dataType->display_name_plural); ?>
<?php $__env->startSection('page_header'); ?>
<h1 class="page-title">
<i class="voyager-list-add"></i> <?php echo e($dataType->display_name_plural); ?>
<?php if (app(\Illuminate\Contract... |
<?php
/**
* LeadCommerce\Shopware\SDK\Entity
*
* Copyright 2016 LeadCommerce
*
* @author Alexander Mahrt <amahrt@leadcommerce.de>
* @copyright 2016 LeadCommerce <amahrt@leadcommerce.de>
*/
namespace LeadCommerce\Shopware\SDK\Entity;
/**
* Class Article
*/
class Article extends Base
{
/**
* @var int
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class kurir_order extends CI_Controller {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this co... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\Credit\StoreRequest;
use App\Models\Credit;
use App\Repository\CreditRepository;
use Illuminate\Http\Request;
class CreditController extends Controller
{
private $CreditRepository;
public function __construct(CreditRepository $repository)
{
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->library('form_validation');
$this->load->model('UserModel');
$this->um=$this->UserModel;
$this->load->model('common_model');
... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v0/services/keyword_plan_campaign_service.proto
namespace Google\Ads\GoogleAds\V0\Services;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Re... |
<!doctype html>
<html lang="en">
<head>
<title>Became a Donor</title>
</head>
<div class="header">
<h2>Online Blood Bank</h2>
</div>
<div class="logo">
<h1><a href="registration.php"><img src="img/1lo.jpg" height="150" width="150" ; alt=""></a></h1>
</div>
</div>
<p>
<img sr... |
<?php
/** Representation of filtered table grouped by some column
*/
class NotORM_MultiResult extends NotORM_Result {
private $result, $column, $active;
/** @access protected must be public because it is called from Row */
function __construct($table, NotORM_Result $result, $column, $active) {
parent::__constru... |
<?php
$this->load->view("lib/header.php");
print_r($kat);
?>
<br>
<br>
<div class="container">
<div class="card">
<div class="card-header">
<span style="font-size: 25px;;">Tambah Data Kategori</span>
</div>
<div class="card-body">
<form action="<?= base_url("Kategori/... |
@extends('core::app.layout')
@section('content')
<div id="page-content">
<ul class="breadcrumb breadcrumb-top">
@include('point-accounting::app/accounting/point/cut-off/payable/_breadcrumb')
<li>Request approval</li>
</ul>
<h2 class="sub-header">Cut Off Account Payable</h2>
@include('p... |
--TEST--
Test gmstrftime() function : usage variation - Checking day related formats which are supported other than on Windows.
--SKIPIF--
<?php
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
die("skip Test is not valid for Windows");
}
?>
--FILE--
<?php
/* Prototype : string gmstrftime(string format [, int time... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFasilitasTransaksisTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('fas... |
<?php
namespace App\Traits;
use App\MOdels\Activity;
use Illuminate\Support\Arr;
trait RecordsActivityTrait {
public $old = [];
public static function bootRecordsActivityTrait()
{
static:: updating (function ($model) {
$model->old = $model->getOriginal();
});
}
public function reco... |
@extends('layouts.register')
@section('content')
<h1>ข้อมูลเข้าระบบ</h1>
@if (isset($message))
<div class="col-md-12 col-sm-12">
<div class="block">
<div class="form-group">
<h2>{{ $message }}</h2>
</div>
</div>
</div>
@else
<div class="col... |
<?php
class UserController extends BaseController
{
private $loginInput = [
'type' => 'text',
'class' => 'form-control',
'id' => 'login',
'name' => 'login',
'placeholder' => 'Enter login',
'required' => ''
];
private $emailInput = [
'type' => 'email... |
@extends('auth.layouts.app')
@section('title-block', 'Управление категориями')
@section('content')
<div class="col-md-12">
@isset($categories)
<h1>Заказы</h1>
<table class="table text-center">
<tbody>
<tr>
<th>
#
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddStatusIdToUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', fun... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use App\Schemes\Category\CategoryableSchema;
use Illuminate\Database\Migrations\Migration;
class CreateCategoryablesTable extends Migration implements CategoryableSchema
{
/**
* Run the migrations.
*
* @return vo... |
<?php
abstract class fdb_model_row
{
protected $_tabelle; // Muss in Kind-Klassen überschrieben werden
private $_daten = array();
public function __construct($daten)
{
// https://www.php.net/manual/en/function.is-numeric
if (is_numeric($daten)) {
$db = fdb_mysql::get_instanz... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<?php
include(__DIR__ . '/../../../../core/inc/api.php');
// Perch API
$API = new PerchAPI(1.0, 'root_locator');
// APIs
$Lang = $API->get('Lang');
$HTML = $API->get('HTML');
$Form = $API->get('Form');
// Page settings
$Perch->page_title = $Lang->get('Delete Address');
// Page Initialising
include('../modes/_subna... |
<?php
//echo $module[$ctr];
?>
<ul class="sf-menu">
<li><a href="<?php echo INDEX_PAGE?>ads-manager">ADVERTISEMENT MANAGER</a></li>
<li><a href="<?php echo INDEX_PAGE?>corporate-account-manager">ABOUT US</a></li>
<li><a href="<?php echo INDEX_PAGE?>corporate-account-manager">CORPORATE ACCOUNTS</a></li>
<li><a hre... |
<!--Form Size Start-->
<div class="col-12 mb-30">
<div class="box">
<div class="box-head">
<h3 class="title">
@if(@$editData)
Update Fashion Item
@else
Add New Fashion Item
@endif
</h3>
</... |
<?php
namespace claudejanz\jquerySlider\widgets;
use yii\web\AssetBundle;
/**
* Class SliderBasicAsset
*
* @author Claude Janz <claudejanz@gmail.com>
*
*/
class SliderAsset extends AssetBundle {
public $sourcePath = '@vendor/claudejanz/jquery-slider/js';
public $js = [
'jssor.slider.mini.js',
... |
<?php
namespace console\controllers\actions\funcoesgerais;
use Yii;
use yii\base\Action;
use common\models\Produto;
use common\models\ProdutoFilial;
use common\models\ValorProdutoFilial;
use common\models\Filial;
class MorelateVerificarExistemProdutosAction extends Action
{
public function run(){
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\User;
use Illuminate\Support\Facades\DB;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('users')->insert([
'... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'C:/xampp/htdocs/grav-portfolio/system/config/streams.yaml',
'modified' => 1533058115,
'data' => [
'schemes' => [
'image' => [
'type' => 'ReadOnlyStream',
'paths' => [
... |
<a {{ $attributes->merge(['class' => "border-blue-300 border-2 text-blue-300 px-4 py-2 rounded-full hover:ring-4 hover:ring-blue-100"]) }}>{{ $slot }}</a> |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/home/yo/Descargas/landigDATA/system/languages/vi.yaml',
'modified' => 1478524438,
'data' => [
'FRONTMATTER_ERROR_PAGE' => '---
title: %1$s
---
# Error: Invalid Frontmatter
Path: `%2$s`
**%3$s**
```
%4$s
```
',... |
<?php
namespace App\Http\Middleware;
use Closure;
use App\User;
use Auth;
class IsSuperAdmin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
... |
<?php
namespace Pakettikauppa\Shipment;
/**
* Class Sender
* @package Pakettikauppa\Shipment
*/
class Sender
{
/**
* @var string
*/
public $name1;
/**
* @var string
*/
public $name2;
/**
* @var string
*/
public $addr1;
/**
* @var string
*/
pub... |
<?php
namespace Drupal\site_audit\Plugin\SiteAuditCheck;
use Drupal\site_audit\Plugin\SiteAuditCheckBase;
/**
* Provides the ContentFieldInstances Check.
*
* @SiteAuditCheck(
* id = "content_field_instances",
* name = @Translation("Field instance counts"),
* description = @Translation("For each bundle, enti... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ImagenProducto extends Model
{
use HasFactory;
protected $table = 'imagenes_productos';
protected $fillable = [
"ruta", "producto_id"
];
protected $hidden = ... |
<?php
/**
* FulfillmentChannelType.
*
* PHP version 5
*
* @author Stefan Neuhaus / ClouSale
*/
/**
* Selling Partner API for Pricing.
*
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
*
* OpenAPI spec version:... |
@extends('layout')
@section('content')
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Cập nhật tiền member : {{ $detail->fullname }}
</h1>
<ol class="breadcrumb">
<li><a href="{{ route('home') }}"><i class="fa fa-dashboard"></i> Dash... |
<?php
/**
* 2010-2018 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\registration;
use Auth;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
public function showAdminLoginForm()
{
return view('login');
}
public function adminLogin... |
<div class="row">
<div class="col-md-12">
<div class="form-group{{ $errors->has($attribute->slug) ? ' has-error' : '' }}">
{{ Form::label($attribute->slug, $attribute->name, ['class' => 'control-label']) }}
@foreach($default as $name => $details)
<br />
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
class Model_skillset extends CI_Model{
public function __construct() {
parent::__construct();
}
public function skillset_lis... |
<form wire:submit.prevent="update" class="space-y-8 divide-y divide-gray-200">
<div class="space-y-8 divide-y divide-gray-200">
<div class="mt-6 grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-5">
<div class="sm:col-span-4">
<label for="facebook" class="block text-sm font-medium t... |
<?php
use common\models\SampleStatus;
use common\models\SampleTypes;
use yii\helpers\ArrayHelper;
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\Sertificates */
/* @var $animal common\models\Animals */
/* @var $sample common\models\Samples */
/* @var $reg ... |
<?php
$con = mysqli_connect("localhost", "root", "", "dbcafe");
session_start();
if(empty($_SESSION['idnow'])){
header("location: homecafe.php");
}
$result = mysqli_query($con, "SELECT * FROM drink");
while ($row = mysqli_fetch_array($result))
{
echo "Nama Minuman: ".$row["nama_minuman"]."<br>";... |
<?php
namespace Elgg\Http;
use Elgg\Ajax\Service;
use Elgg\Amd\Config;
use Elgg\Config as Config2;
use Elgg\EventsService;
use Elgg\PluginHooksService;
use Elgg\SystemMessagesService;
use ElggSession;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony... |
<?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;
class UploadsController extends Controller
{
public function store(Request $request)
{
//'add_an_image[]' is the name of the file input element in the form, REMEMBER to include multiple attribute
$imageFiles = $re... |
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'L... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Model\Event;
use App\Model\Game;
use App\Model\Match;
use App\Model\TemporaryEvent;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Input;
use Il... |
<?php
declare (strict_types=1);
namespace RectorPrefix20210909\Symplify\EasyTesting;
use RectorPrefix20210909\Nette\Utils\Strings;
use RectorPrefix20210909\Symplify\EasyTesting\ValueObject\Prefix;
use RectorPrefix20210909\Symplify\EasyTesting\ValueObject\SplitLine;
use Symplify\SmartFileSystem\SmartFileInfo;
/**
* @... |
<?php
namespace Gazelle\Schedule\Tasks;
class HideOldRequests extends \Gazelle\Schedule\Task
{
public function run()
{
$this->db->prepared_query("
UPDATE requests
SET Visible = 0
WHERE TimeFilled < (now() - INTERVAL 7 DAY)
AND TimeFilled != '0000-00-... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Custom_Model extends CI_Model
{
// attr.
protected $table = "tablename";
// constr.
public function __construct() {
parent::__construct();
}
// functions
// we may need this function to get th... |
<?php
namespace App\Http\Controllers;
use App\Models\Autor;
use Exception;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\View\Factory;
use Illuminate\Contracts\View\View;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
class AutorController... |
<?php
namespace App\Http\Controllers\Index;
use App\Http\Controllers\Controller;
use App\Model\CateModel;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class CollectController extends Controller
{
public function add(Request $request){
$goods_id = $request -> goods_id;
$user_id =... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
/**
* receiver_id required User id you want to sent message to.
* title required Message title.
* content required Message content.
* reply_on The parent message Id, if the message is a reply on another message
*/
class CreateMessage... |
<div class="container">
<div class="row mt-3 mb-3">
<div class="col-md-6">
<div class="card">
<div class="card-header">
<?= $title; ?>
</div>
<div class="card-body">
<?php if (validation_errors()) : ?>
... |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\DICOM;
use JMS\Serializer\Annotation\ExclusionPolicy;
u... |
<?php
namespace SergiX44\FastImageCompare;
use Exception;
use FastImageSize\FastImageSize;
use Psr\Cache\CacheItemPoolInterface;
use RuntimeException;
use Symfony\Component\Cache\Adapter\AdapterInterface;
/**
* Class FastImageCompare.
*
* By default it calculates difference of images using Mean Absolute Error met... |
<?php
declare(strict_types=1);
namespace Netgen\Layouts\Sylius\Parameters\ParameterType;
use Netgen\Layouts\Parameters\ParameterDefinition;
use Netgen\Layouts\Parameters\ParameterType;
use Netgen\Layouts\Sylius\Validator\Constraint as SyliusConstraints;
use Symfony\Component\Validator\Constraints;
/**
* Parameter ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Dashboard_con extends CI_Controller {
function __construct()
{
parent::__construct();
$this->load->model('main_mod');
$this->load->model('admin_mod');
//usir jika tidak login
if($this->session->login_admin != TRUE) {
redirect(b... |
<?php
/** @var \Laravel\Lumen\Routing\Router $router */
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It is a bre... |
<!--
=========================================================
Light Bootstrap Dashboard - v2.0.1
=========================================================
Product Page: https://www.creative-tim.com/product/light-bootstrap-dashboard
Copyright 2019 Creative Tim (https://www.creative-tim.com)
Licensed under MIT (htt... |
<?php
/**
* Created by PhpStorm.
* User: joshgulledge
* Date: 3/13/18
* Time: 1:11 PM
*/
namespace LCI\Blend\Helpers;
use FilesystemIterator;
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
use Symfony\Component\Console\Helper\ProgressBar;
use Symfony\Component\Console\Output\OutputInterface;
tra... |
@extends('admin.admin_master')
@section('admin')
<div class="py-12">
<div class="container">
<a href="{{route('add.slider')}}"><button class="btn btn-info">Add Slider</button></a>
<div class="row">
<h4>Home Slider</h4>
<br>
<br>
... |
<?php
/**
* Created by PhpStorm.
* User: todd
* Date: 02/11/17
* Time: 8:59 PM
*/
namespace Greenskies\WebLogViewerBundle\Model;
use Greenskies\Collection;
class LogView
{
public static function logToArray($log)
{
$lines = Collection::createFromString($log, 'Greenskies\WebLogViewerBundle\Model\L... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Framework\GraphQl;
use Magento\Framework\App\Cache;
use Magento\Framework\GraphQl\Config\Config;
use Magento\Framework\GraphQl\Config\Data\Argument;
use Magento\Framework\... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class LabelExtendController extends Controller
{
public function detail(){
return view('labels.detail_view');
}
} |
{{--<html>--}}
{{--<head>--}}
{{-- --}}
@extends('procurement.layout')
@section("css")
<style>
.modal-dialog .modal-header .close {
position: unset;
}
.modal-dialog .modal-content .card-signup .modal-header {
padding-top: 10px;
}
</style>
@endsection
@se... |
<?php
/*
* $Id: Sluggable.php 48519 2012-02-03 23:18:52Z btowles $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAI... |
@extends('layouts.base')
@section('body')
@include('layouts.partials.nav')
@yield('content')
@isset($slot)
{{ $slot }}
@endisset
@endsection |
<?php /* basic-page with two columns template */
/* Use delegate approach to render views */
include "./_delegate-template.inc";
?> |
<?php
header("Access-Control-Allow-Origin: *");
header("Content-Type: application/json; charset=UTF-8");
header("Access-Control-Allow-Methods: PUT");
header("Access-Control-Max-Age: 3600");
header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With");
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Login extends CI_Controller {
public function __construct() {
parent::__construct();
$this->load->helper('url');
$this->load->helper('download');
$this->load->library('pagination');
$this->load->helper('cookie');
$this->load->... |
<?php
class Cursus{
public $cursus;
public $niveau1;
public $niveau2;
public $niveau3;
public $niveau4;
function __construct($cursus,$niveau1,$niveau2,$niveau3,$niveau4)
{
$this->Cursus=$cursus;
$this->niveau1=$niveau1;
$this->niveau2=$niveau2;
$this->niveau3=$niveau3;
$thi... |
<?php
$finder = PhpCsFixer\Finder::create()
->exclude([
'vendor',
])
->in(__DIR__)
;
$config = new PhpCsFixer\Config();
return $config->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'concat_space' => ['spacing' => 'one'],
'ordered_imports' => ['sort_algorithm... |
@extends('computer.master')
@section('title','Tin Tức')
@section('content')
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">{{ trans('translate.news') }}</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="... |
<?php
use Illuminate\Database\Seeder;
class QuestionsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$users = App\User::all();
for ($i = 1; $i <= 16; $i++) {
$users->each(function ($user) {
... |
{{--выпадающий список--}}
<select
@foreach($attrs as $key => $value)
{!! $key."='$value'" !!}
@endforeach
@if($isDisabled == 1)
disabled
@endif
>
@if($first_option)
<option value = "">{{$first_option}}</option>
@endif
@foreach($options as $option)
... |
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link tab-button active" id="instalacion-tab" data-bs-toggle="tab" data-bs-target="#instalacion" type="button" role="tab" aria-controls="home" aria-selected="true">Centro de Costo</button>
</li>
... |
<?php
use App\Product;
use App\ProductImage;
use App\Category;
use Illuminate\Database\Seeder;
class ProductsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//MODELS FACTORIES
// factory(Category::class, 5)->creat... |
<?php
/**
* Created by PhpStorm.
* User: bendozy
* Date: 10/6/15
* Time: 10:14 AM
*/
namespace Bendozy\ORM\Exceptions;
use Exception;
/**
* Class ModelNotFoundException
*
* When the model is not found
*
* @package Bendozy\ORM\Exceptions
*
* @author Chidozie Ijeomah
*/
class ModelNotFoundException extend... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Student extends Model
{
protected $hidden = ['created_at','updated_at'];
} |
<!DOCTYPE html>
<html>
<head>
<title>Dashboard Al Badar</title>
<!-- Vendors -->
<link rel="stylesheet" media="screen" href="/assets/vendors/easypiechart/jquery.easy-pie-chart.css">
<link rel="stylesheet" media="screen" href="/assets/vendors/easypiechart/jquery.easy-pie-chart_custom.... |
<!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">
<title>Laravel</title>
<link href="{{ asset('/css/app.css') }}" rel="stylesheet">
<!-- Fonts -->
<link href='//fonts.googleap... |
<div id="logo">
<a href="">
<?php
$route = Route::currentRouteName();
$routeArray = ['login', 'register', 'verifyUserForm'];
?>
@if ($route == $routeArray[0] || $route == $routeArray[1] || $route == $routeArray[2])
<img src="/images/{{env('APP_THEME')}}-color.svg" alt="{{env('APP_THEME')}}">
@else
... |
<?php
/**
* Jijawi
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to mail@dasprids.de so I can send yo... |
<?php
namespace Bc\App\Apps\ExampleApp\Portal;
class ExampleAppPortalError extends ExampleAppPortal {
protected function init()
{
$this->render(
$this->getThemePart('/src/main/error.php'),
$this->routeData,
[
'[:nav]' => '',
'[:body]... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<div class="phone-wrap">{!! $data['text'] !!}</div> |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class News extends Model
{
use SoftDeletes;
protected $table = 'news';
} |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\PayumBundle\Payum\Request;
use Sylius\Bundle\PaymentsBundle\Model\CreditCardInterfac... |
<?php
namespace Neos\Flow\Tests\Unit\Mvc\Routing;
/*
* This file is part of the Neos.Flow package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* sou... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" >
<title>TruyệnVN</title>
<link rel="stylesheet" type="text/css" media="screen" href="{{asset('css/plugins.... |
<?php
class movio_modules_thesaurus_controllers_dictionaryEdit_ajax_Add extends org_glizy_mvc_core_CommandAjax
{
public function execute($data)
{
$this->checkPermissionForBackend();
$this->directOutput = true;
try {
$data = json_decode($data);
$thesaurus... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use DB;
use Session;
use App\Http\Requests;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Redis;
use App\Models\Shipping;
use App\Models\DonHang;
use App\Models\ChiTietDonHang;
use Carbon\Carbon;
use App\Models\KhachHang;
use... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.