text stringlengths 2 1.03M |
|---|
@extends('layouts.main')
@extends('layouts.app-index')
@section('titulo','Perfume-Shop')
@section('conteudo')
<div>
<table class="table table-sm">
<div>
<h4>Tabela de vendas</h4>
</div>
@foreach ($Venda as $venda)
<thead>
<th>data da venda</th>... |
<?php
/**
* Created by PhpStorm.
* User: zpp
* Date: 2017/2/20
* Time: 22:55
*/
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\Url;
?>
<!DOCTYPE html>
<html class="login-bg">
<head>
<title>必应商城 - 后台管理</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
... |
@extends('layouts.backend')
@section('content')
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">เพิ่มประเภทบทบาท</h1>
<... |
<?php
namespace Hal\Violation;
use Hal\Metric\Metric;
interface Violation
{
const INFO = 0;
const WARNING = 1;
const ERROR = 2;
const CRITICAL = 3;
/**
* @return string
*/
public function getName();
/**
* @param Metric $metric
*/
public function apply(Metric $metr... |
<?php
namespace App\DataTables;
use App\AttendencePermission;
use Yajra\DataTables\Html\Button;
use Yajra\DataTables\Html\Column;
use Yajra\DataTables\Html\Editor\Editor;
use Yajra\DataTables\Html\Editor\Fields;
use Yajra\DataTables\Services\DataTable;
class AttendencePermissionsDataTable extends DataTable
{
/**... |
<?php
namespace App\Providers;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
// make all URLs use https
... |
<footer class="main-footer">
<div class="pull-right hidden-xs">
<b>Version</b> 2.4.0
</div>
<strong>Copyright © 2019 <a href="javascript:;">Proweaver</a>.</strong> All rights
reserved.
<?php echo $this->session->userdata('admin');?>
</footer> |
<?php
/**
* phpVMS - Virtual Airline Administration Software
* Copyright (c) 2008 Nabeel Shahzad
* For more information, visit www.phpvms.net
* Forums: http://www.phpvms.net/forum
* Documentation: http://www.phpvms.net/docs
*
* phpVMS is licenced under the following license:
* Creative Commons Attribution Non... |
<?php
class BrokerController extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('Webservice_general_model');
$this->load->library('form_validation');
}
public function index(){
$data['currentPage']='broker';
$this->load->view('broker/brokerL... |
<?php
<<__EntryPoint>> function main() {
try { var_dump(dcngettext(1,1,1,1)); } catch (Exception $e) { echo "\n".'Warning: '.$e->getMessage().' in '.__FILE__.' on line '.__LINE__."\n"; }
var_dump(dcngettext('1','1','1',1,1));
var_dump(dcngettext("test","test","test",1,1));
var_dump(dcngettext("test","test","test",0,0))... |
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Registros guardados...</h3>
</div>
<!-- /.box-header -->
<div class="box-body">
<?php
$nombre = "tabla_registros";
$campos = array("fecha","... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProductCategoryRelationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create... |
<?php
namespace App\Http\Controllers\Backend;
use App\Http\Controllers\Controller;
use App\Models\Admin;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
class ProfileController extends Controller
{
public function index()
{
$data = [
... |
<?php
/**
* Description of Token
*
* @author dineshkumar.devaraj
*/
class Token
{
public $useremail = NULL;
public $userid = NULL;
public $generated_token = NULL;
public function generateToken($guid = NULL)
{
$sql = "SELECT trim(global_value) FROM lgt_licens... |
<?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\Form\Extension\Validator\Constraints;
use Symfony\Com... |
<?php
spl_autoload_register(function ($className){
$className = ltrim($className, '\\');
$fileName = __DIR__.'/lib/';
$namespace = '';
if(strchr($className, 'Test') !== false){
$fileName = __DIR__.'/';
}
if ($lastNsPos = strripos($className, '\\')) {
$namespace = substr($cla... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AppCatalogs File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @lice... |
<?php
/**
* This file is part of Contao Affiliate Marketing Tip Bundle.
*
* @link https://www.oveleon.de/
* @source https://github.com/oveleon/contao-affiliate-marketing-tip
* @copyright Copyright (c) 2019 Oveleon GbR (https://www.oveleon.de)
*/
namespace Oveleon\ContaoAffiliateMarketingTip;
use Contao... |
<?php
use App\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definit... |
<?php
namespace App\Repositories\Back\Products;
use App\Models\Image;
use App\Models\Product;
use App\Services\Uploads\handleUploadImage;
class ImageRepository
{
use handleUploadImage;
CONST WIDTH_IMG = 192;
CONST HEIGHT_IMG = 192;
CONST FIRST_NAME = 'product';
public function createImages($fil... |
<?hh
enum E: int {
}
enum F:int {
} |
{{-- Styles --}}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<link rel="stylesheet" href="{{asset('css/main.css')}}" type="text/css">
<link rel="preconn... |
<?php
namespace Doctrine\DBAL\Driver\SQLSrv;
use Doctrine\DBAL\Driver\AbstractSQLServerDriver;
/**
* Driver for ext/sqlsrv.
*/
class Driver extends AbstractSQLServerDriver
{
/**
* {@inheritdoc}
*/
public function connect(array $params, $username = null, $password = null, array $driverOptions = []... |
<?php
declare (strict_types = 1);
namespace CodelyTv\Shared\Domain\Bus;
use ReflectionClass;
use ReflectionMethod;
use function CodelyTv\Utils\Shared\camel_to_snake;
use function CodelyTv\Utils\Shared\snake_to_camel;
use function Lambdish\Phunctional\filter;
use function Lambdish\Phunctional\map;
use function Lambdi... |
@if ( $categories )
<div id="content-page" class="content group">
<div class="hentry group">
{!! Form::open(['url'=>(isset($article->id) ? route('admin_articles_update', ['alias'=>$article->alias]) : route('admin_articles_store')), 'class'=>'contact-form', 'method'=>'POST', 'enctype'=>"multipart/form-data" ]) !!}
... |
<?php
namespace Dhii\Collections\UnitTest;
use Dhii\Collection\MakeCapableMapTrait as TestSubject;
use Dhii\Collection\MapFactoryInterface;
use Xpmock\TestCase;
use Exception as RootException;
use PHPUnit_Framework_MockObject_MockObject as MockObject;
use PHPUnit_Framework_MockObject_MockBuilder as MockBuilder;
/**
... |
<?php
/*
* This file is part of Laravel Eloquent Flag.
*
* (c) Anton Komarev <a.komarev@cybercog.su>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cog\Flag\Scopes\Classic;
use Illuminate\Database\Eloquent\Builder;
us... |
<!DOCTYPE html>
<html lang="es">
@section('adminlte_css')
<link rel="stylesheet" href="{{ asset('vendor/adminlte/plugins/iCheck/square/blue.css') }}">
<link rel="stylesheet" href="{{ asset('vendor/adminlte/css/auth.css') }}">
@yield('css')
@stop
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" ... |
<div>
<div class="flex flex-row flex-wrap-reverse justify-between mt-4 px-2 py-2">
<div class="w-full md:w-1/2">
<x-jet-input class="w-full" type="search" wire:model="search" placeholder="Search by Name" />
</div>
</div>
<br>
<div class="cotainer">
<div class="grid md... |
@extends('layouts.app')
@section('content')
@if ($errors->any())
<div class="container">
<div class="row">
<div class="col-12">
<div class="alert alert-danger pb-1">
<ul>
@foreach ($errors->all() as $error)
... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v3/common/tag_snippet.proto
namespace Google\Ads\GoogleAds\V3\Common;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* The site tag and event s... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Category;
class CategoryController extends Controller
{
//
// FUNCTION TO INSERT CATEGORY TO categories TABLE IN DB
public function addCategory(Request $request){
if($request->ismethod('post')){
$data=$request->all();
... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito... |
<?php
/**
* File_Name:UserController.php
* Author: leek
* Date: 2017/8/23
* Time: 15:24
*/
namespace App\Http\Controllers\API;
use App\Components\HomeManager;
use App\Components\UserManager;
use App\Http\Controllers\ApiResponse;
use App\Http\Controllers\Controller;
use App\Libs\wxDecode\ErrorCode;
use App\Libs\w... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Http\Requests\Category\Store;
use App\Http\Requests\Category\Update;
use App\Models\Category;
use Illuminate\Http\Request;
class CategoryController extends Controller
{
/**
* Display a listing of the resource.
*
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Districts extends Model
{
use HasFactory;
protected $fillable = [
'daerah',
'negeri',
];
} |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class AdminPageController extends Controller
{
public function getDashboard(){
return view('admin.pages.dashboard');
}
} |
<?php
namespace Botble\Menu\Models;
use Botble\Base\Models\BaseModel;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Support\Str;
class MenuNode extends BaseModel
{
/**
* The database table used by the model.
*
* @var strin... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comments', function (Bl... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class Categories extends Model
{
protected $table = "categories";
protected $primaryKey = 'categories_id';
protected $fillable = ['modules_id','title', 'subtitle', 'insert_users_id', 'update_users_id', 'status', 'states_id', 'cd_ibge', ... |
<?php
/**
* require all composer dependencies; requiring the autoload file loads all composer packages at once
**/
require_once(dirname(__DIR__, 2) . "/vendor/autoload.php");
/**
* require mailer-config.php
**/
require_once("mail-config.php");
// verify user's reCAPTCHA input
$recaptcha = new \ReCaptcha\ReCaptcha... |
<?php
namespace common\models\base;
use common\models\User;
use Yii;
use yii\behaviors\TimestampBehavior;
/**
* This is the model class for table "orders".
*
* @property int $id
* @property int $user_id
* @property string $name
* @property string $email
* @property string $address
* @property string|null $co... |
<?php $__env->startSection('title','后台首页'); ?>
<?php $__env->startSection('css'); ?>
<link id="beyond-link" href="<?php echo e(_ADMIN_); ?>/css/common.css" rel="stylesheet" />
<link id="beyond-link" href="<?php echo e(_ADMIN_); ?>/css/main.css" rel="stylesheet" />
<style>
.xiao li{
list-style: none;
line-height:... |
<?php
// * @copyright OPENCART.PRO 2011 - 2017.
// * @forum http://forum.opencart.pro
// * @source See SOURCE.txt for source and other copyright.
// * @license GNU General Public License version 3; see LICENSE.txt
class ControllerExtensionFeedOpenbaypro extends Controller {
private $error = array();
public functio... |
<?php
/**
* Created by PhpStorm.
* User: Bruce Xie
* Date: 2019-04-13
* Time: 03:10
*/
define('APP_PATH', strtr(dirname(__DIR__), '\\', '/'));
spl_autoload_register(function ($class_name) {
require_once APP_PATH . '/' . str_replace('\\', '/', $class_name) . '.php';
});
$func = $_GET['func'] ?? '';
/... |
<?php
use Illuminate\Support\Facades\Session;
?>
@extends('layouts.dashboard')
@section('content')
<!--main content start-->
<section id="main-content">
<section class="wrapper">
<div class="row">
<div class="col-lg-12">
<h3 class="page-heade... |
@extends('layouts.app')
@section('content')
<div class="page-header">
<h1>
@lang('messages.settings_settings')
<small>
<i class="ace-icon fa fa-angle-double-left"></i>
@lang('messages.settings_update')
</small>
</h1>
</div><!-- /.page-heade... |
<?php
/**
* Created by IntelliJ IDEA.
* User: lyp09
* Date: 2018/4/15
* Time: 10:38
*/
namespace app\index\controller;
use app\index\model\Apply;
use app\index\model\User;
use app\index\model\Role;
use app\commons\base;
use app\index\model\UserLogs;
use think\Session;
class Users extends base
{
public funct... |
<?php namespace Admin\DashboardWidgets;
use Admin\Classes\BaseDashboardWidget;
use Admin\Models\Customers_model;
use Admin\Models\Orders_model;
use Admin\Models\Reservations_model;
/**
* Statistic dashboard widget.
*/
class Statistics extends BaseDashboardWidget
{
/**
* @var string A unique alias to identi... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Z... |
<section class="discover-area padding-top-110 padding-bottom-80" style="margin-top: 60px">
<div class="container" >
<div class="row justify-content-center">
<div class="col-lg-10">
<div class="section-title">
<h3 class="title extra"><... |
<?php
namespace ProfilePress\Core\Themes\DragDrop\Registration;
use ProfilePress\Core\Admin\SettingsPages\DragDropBuilder\DragDropBuilder;
use ProfilePress\Core\Themes\DragDrop\AbstractBuildScratch;
use ProfilePress\Core\Admin\SettingsPages\DragDropBuilder\Fields;
class Tulip extends AbstractBuildScratch
{
publi... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class PricesDelivery extends Model
{
protected $fillable = [
'prices','company_delivery_id','area_id','city_id'
];
public function city()
{
return $this->belongsTo('App\Models\City','city_id');
}
public functi... |
<!--end::Card-->
<!--begin::Modal - View Users-->
<div class="modal fade" id="kt_modal_view_cache" tabindex="-1" aria-hidden="true">
<!--begin::Modal dialog-->
<div class="modal-dialog mw-650px">
<!--begin::Modal content-->
<div class="modal-content">
<!--begin::Modal header-->
<div class="modal-header pb-0... |
<?php
use Faker\Generator as Faker;
$factory->define(App\ModelsUser::class, function (Faker $faker) {
return [
//
];
}); |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<!-- Control sidebar content goes here -->
</aside>
<!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->
<!-- jQuery -->
<script src="<?php echo base_url()."dists/"; ?>plu... |
<?php $__env->startSection('content'); ?>
<?php if($errors->has('name')): ?>
<div class="alert alert-danger alert-dismissible text-center">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button><?php echo e($errors->first('name')); ?></div>
<?php... |
@extends('app')
@section('head')
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{--<link rel="stylesheet" href="http://v3.bootcss.com/examples/dashboard/dashboard.css">--}}
<style>
body{
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class cashDrawer extends Controller
{
//
} |
<?php
namespace KatTheWaffle\IucnApi\Model;
/**
* Interface SpeciesInterface
* @package KatTheWaffle\IucnApi\Model
*/
interface SpeciesInterface
{
/**
* @return string
*/
public function getAssessor(): string;
/**
* @return string
*/
public function getAuthority(): string;
... |
<x-layouts.base-layout :title="$pageData['title']">
<section class="py-12 md:py-24 bg-dark text-white">
<div class="container">
<div class="pt-8 grid grid-cols-2 gap-x-8 mb-24">
<div class="flex items-center">
<article>
<div class="flex... |
<?php
/**
* Pimf
*
* @copyright Copyright (c) Gjero Krsteski (http://krsteski.de)
* @license http://opensource.org/licenses/MIT MIT License
*/
namespace Pimf\Contracts;
/**
* A simply interface to give the view-adapters ro re-unite the template an the variables.
*
* @package Contracts
* @author Gjero Krs... |
<?php
declare(strict_types=1);
namespace Arcanedev\SeoHelper\Traits;
/**
* Trait Seoable
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
trait Seoable
{
/* -----------------------------------------------------------------
| Main Methods
| ------------------------------------------------... |
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200813220518 extends AbstractMigration
{
public function getDescription() : string
{... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Reservation extends CI_Controller {
function __construct()
{
parent::__construct();
$this->load->helper('url');
include 'ChromePhp.php';
}
/**
* Index Page for this controller.
*
* Maps t... |
@extends('layouts.admin')
@section('content')
<h1>Edit Users!</h1>
<div class="row">
<div class="col-sm-3">
<img src="{{$user->photo? URL::to('/images/' . $user->photo->file):URL::to('/images/1478243356sample_01.jpg')}}" alt="Just Sample Change yours!" class="img-resp... |
@extends('layouts.template')
@section('metadata')
@php $image = asset($service->image); @endphp
@include('meta::manager', [
'title' => 'Realizamos '. $service->name. ' rápido y económico aquí en CAMI & VALE INDUSTRIAL S.A.C',
'description' => $service->description,
'keywords' => $service... |
<?php
declare(strict_types=1);
namespace Ublaboo\DataGrid\Tests\Cases;
use Tester\Assert;
use Tester\TestCase;
use Ublaboo;
require __DIR__ . '/../bootstrap.php';
require __DIR__ . '/../Files/TestingDataGridFactory.php';
final class ColumnLinkTest extends TestCase
{
/**
* @var Ublaboo\DataGrid\DataGrid
*/
p... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDraftCommentsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::create('draft_commen... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMenusTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('menus', function(Blueprint $table) {
$table->increments('id');
... |
<?php
declare(strict_types=1);
namespace Symplify\SymfonyStaticDumper\Tests\Routing;
use Symplify\PackageBuilder\Testing\AbstractKernelTestCase;
use Symplify\SymfonyStaticDumper\Routing\RoutesProvider;
use Symplify\SymfonyStaticDumper\Tests\TestProject\HttpKernel\TestSymfonyStaticDumperKernel;
final class RoutesPro... |
<?php
use App\Jobs\ProcessPlanning;
use Illuminate\Support\Facades\Route;
use App\Modules\Planning\Models\Planning;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register... |
<?php
namespace Dcat\Admin\Widgets\Metrics;
use Dcat\Admin\Admin;
use Dcat\Admin\Support\JavaScript;
/**
* 环形图卡片.
*
* Class Round
*/
class Round extends RadialBar
{
/**
* @var array
*/
protected $options = [
'icon' => null,
'title' => null,
'header' => null,
... |
<div class="col-lg-12">
<section class="panel panel-body">
{!! Form::open(['route' => 'deals.email', 'class' => 'bs-example ajaxifyForm', 'files' => true]) !!}
<input type="hidden" name="deal_id" value="{{ $deal->id }}">
<input type="hidden" name="from" value="{{ \Auth::user()->id }}">
... |
<script src="<?php echo base_url();?>assets/js/jquery-3.3.1.min.js"></script>
<script src="<?php echo base_url();?>assets/js/jquery-ui.js"></script>
<script src="<?php echo base_url();?>assets/js/popper.min.js"></script>
<script src="<?php echo base_url();?>assets/js/bootstrap.min.js"></script>
<script src="<?p... |
<?php
namespace Container6TvIixp;
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 getSecurity_Firewall_Map_Context... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\models\SkillsSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'skills');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="skills-index... |
<?php
namespace Oro\Component\ChainProcessor\Tests\Unit;
use Oro\Component\ChainProcessor\Context;
use Oro\Component\ChainProcessor\ProcessorBag;
use Oro\Component\ChainProcessor\ProcessorBagConfigBuilder;
use Oro\Component\ChainProcessor\ProcessorRegistryInterface;
/**
* @SuppressWarnings(PHPMD.TooManyMethods)
* ... |
<div class="card">
<div class="card-header bg-transparent">
<div class="d-flex justify-content-between">
{{ $heading }}
</div>
</div>
<div class="card-body p-3">
<p class="card-text">
{{ $body }}
</p>
</div>
</div>
<br> |
<?php
$input = "Alien";
echo str_pad($input, 10); // produces "Alien "
echo str_pad($input, 10, "-=", STR_PAD_LEFT); // produces "-=-=-Alien"
echo str_pad($input, 10, "_", STR_PAD_BOTH); // produces "__Alien___"
echo str_pad($input, 6 , "___"); // produces "Alien_"
?> |
--TEST--
Mosquitto\Client::setReconnectDelay()
--SKIPIF--
if (!extension_loaded('mosquitto')) die('skip - Mosquitto extension not available');
--FILE--
<?php
include(dirname(__DIR__) . '/setup.php');
$client = new Mosquitto\Client;
$client->setReconnectDelay(10);
var_dump($client);
$client->setReconnectDelay(0);
var_... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePartsPrepStationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('parts... |
<?php
declare(strict_types=1);
namespace Symplify\MonorepoBuilder;
use Symfony\Component\Console\Style\SymfonyStyle;
use Symplify\MonorepoBuilder\ValueObject\File;
final class VersionPropagator
{
/**
* @var SymfonyStyle
*/
private $symfonyStyle;
public function __construct(SymfonyStyle $symfo... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Objetivo;
use App\Models\Criterio;
class ObjetivoController extends Controller {
public function index(){
$objetivos = Objetivo::get(); // SELECT * FROM objetivo
return view("objetivos.objetivos")->with('objetivos', $objetivos);... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
h3{
margin-left: 23px;
color: blue;
}
</style>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.cs... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use App\Mail\MultiMail;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;
class MailController extends Controller
{
public function sendEmail(){
$details = [
'title' => 'Hello Everyone',
'body' =>... |
<?php
namespace App\Controllers;
use App\Models\KategoriModel;
class About extends BaseController
{
public function __construct()
{
$this->kategoriModel = new KategoriModel();
}
public function index()
{
$data = [
'title' => 'Tentang Kami',
'allkategori' =... |
<?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2016 Lukáš Piják (http://lukaspijak.com)
*/
namespace Nette\Sms;
use Nette;
class Gate
{
use Nette\StaticClass;
const ISO = 'iso';
const GATE = 'gate';
const SENDER = 'sender';
const GATE_SYSTEM_NUMBER = 'gSystem';
... |
<?php declare(strict_types=1);
namespace Shopware\Core\System\SalesChannel\Exception;
use Shopware\Core\Framework\ShopwareHttpException;
use Symfony\Component\HttpFoundation\Response;
class LanguageOfSalesChannelDomainDeleteException extends ShopwareHttpException
{
/**
* @deprecated tag:v6.5.0 - $language p... |
<!DOCTYPE html>
<html lang="en">
<head>
<?php $this->load->view("_partials/head.php") ?>
</head>
<body id="page-top">
<!-- Page Wrapper -->
<div id="wrapper">
<?php $this->load->view("_partials/sidebar.php") ?>
<!-- Content Wrapper -->
<div id="content-wrapper" class="d-flex flex-column">
<!-- Main ... |
<?php
// +----------------------------------------------------------------------
// | FileName: EmplEvent.class.php
// +----------------------------------------------------------------------
// | Dscription: ERP系统用户资料监控事件处理
// +----------------------------------------------------------------------
// | Date: 2018-... |
{{ Form::hidden($name, $value, $attributes) }} |
<!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>Document</title>
</head>
<body>
@foreach($o... |
<!--
Autor: Isabel Martínez Guerra.
Fecha de creación:
-->
<html>
<head>
<title>IMG DWES mostrar 3-0</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<?php
/**
* @since
* Fecha de m... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Desa extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->model('desa_model');
if ($this->session->userdata('kader_id')==null) {
redirect('auth');
}
}
public function index()
{
$data['v... |
<!-- link to Google Fonts -->
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro|Cutive+Mono" rel="stylesheet" type="text/css" />
<!-- Fancybox Styles (goes before main so main can override defaults) -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.c... |
<?php
namespace Neat\Parser\Exception;
/**
* Parser exception.
*/
class UnexpectedValueException extends \UnexpectedValueException implements ExceptionInterface {} |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD Lic... |
<table class="table mb-0">
<thead>
<tr>
<th colspan="4" style="background: aliceblue;">Customer Information (Customer No: {{ $data->getCustomer->CUSTOMER_NO ?? $data->getReseller->RESELLER_NO ?? '' }})</th>
</tr>
<tr>
<th><small><strong>Name</strong></small></th>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.