text stringlengths 2 1.03M |
|---|
<?php
namespace Valet;
use DomainException;
class Brew
{
var $cli, $files;
/**
* Create a new Brew instance.
*
* @param CommandLine $cli
* @param Filesystem $files
*/
function __construct(CommandLine $cli, Filesystem $files)
{
$this->cli = $cli;
$this->fil... |
<?php
/**
* MatchOptions
*
* PHP version 5
*
* @category Class
* @package MailSlurp
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* MailSlurp API
*
* MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for de... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Sweet & Salt Restaurant</title>
<link rel="icon" href="assets... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace app\merchant\controller;
use app\merchant\controller\Base;
class Merchant extends Base
{
protected static $table='merchant';
public function info()
{
$search=[
'mer_id'=> parent::$id
];
$user = db(self::$table)->where($search)->find();
return ['d... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Books;
class BooksController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Displ... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Other_page extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->model('News_model');
$this->load->library('library');
}
public function unduh_kajian... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Models\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|... |
<div class="row">
<div class="col-lg-12">
<div class="portlet portlet-default">
<div class="portlet-body">
<ul id="userTab" class="nav nav-tabs">
<li class="active"><a href="#overview" data-toggle="tab">Overview</a>
</li>
<li><a href="#profile-settings" data-toggle="tab">Update Profi... |
<?php
use Faker\Generator as Faker;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories pro... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'ArithmeticError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php',
'AssertionError' => $vendorDir . '/symfony/polyfill-php70/Resources/stu... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateIerrsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ierrs', function ... |
<?php
if(!defined('BASEPATH'))
exit('No direct script access allowed');
require APPPATH . 'third_party/opusx/system/OPX_recargo.php';
class CTRL_Recargo extends OPX_Controller{
public $opx_recargo;
private static $message;
private static $class;
private static $input_class;
public function __construct(){
... |
<div class="footer-top">
<div class="container">
<div class="row">
<div class="col-sm-2">
<div class="companyinfo">
<h2><span>b</span>-izweb</h2>
<p>Website thương mại điện tử hàng đầu tại Việt Nam</p>
... |
<?php
namespace common\components;
/**
*
*/
class StringHelper
{
public function getShort($string, $limit = 20)
{
return substr($string, 0, $limit);
}
} |
<?php
namespace AppBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class AppBundle extends Bundle
{
} |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
class LoginController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
pu... |
<?php
namespace App\Exceptions;
use Exception;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Auth\AuthenticationException;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $do... |
@extends('admin.layout')
@section('title', 'Create New User')
@section('admin.content')
<div class="w-full p-4 bg-white border-b border-gray-200 rounded-t-md dark:bg-gray-700">
<p class="font-bold dark:text-gray-200">
Create new User
</p>
</div>
<form action="{{ route('admin.users.store') }}" method="... |
<?
define('NO_KEEP_STATISTIC', 'Y');
define('NO_AGENT_STATISTIC','Y');
require($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php');
if(!CModule::IncludeModule('crm'))
return ;
$CCrmPerms = CCrmPerms::GetCurrentUserPermissions();
if (!(CCrmPerms::IsAuthorized() && CCrmQuote::CheckReadPermissi... |
<?php $__env->startSection('main_content'); ?>
<div class="inner-title">
<div class="container">
<div class="row">
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="#">Home</a> <a href="#">Hướng dẫn</a></li>
... |
<div class="row">
<div class="form-group col-lg-6">
<label class="control-label">{{ 'Name' }}</label>
<input class="form-control form-control-sm" name="name" type="text" value="{{ isset($staff->Name) ? $staff->Name : ''}}" >
</div>
<div class="form-group col-lg-6 ">
<label>{{ 'A... |
<?php
namespace App\Models;
use CodeIgniter\Model;
use Exception;
class UserModel extends Model
{
protected $table = 'user';
protected $allowedFields = [
'name',
'email',
'password',
];
protected $updatedField = 'updated_at';
protected $beforeInsert = ['beforeInsert'];
... |
<?php
return [
'send' => 'send',
'login' => 'Sign in',
'register' => 'Register',
'logout' => 'Logout',
'new_game' => 'New game',
'my_games' => 'My games',
'my_friends' => 'Friends online',
'account' => 'My Account',
'current_games' => 'Current games',
'save' => 'Save',
'figh... |
<?php
/**
* @package yii2-grid
* @author Kartik Visweswaran <kartikv2@gmail.com>
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014
* @version 3.0.0
*/
namespace kartik\grid;
/**
* Asset bundle for GridView Widget (for resizing columns)
*
* @author Kartik Visweswaran <kartikv2@gmail.co... |
<?php
namespace TCG\Voyager\Events;
use Illuminate\Queue\SerializesModels;
class MediaFileAdded
{
use SerializesModels;
public $path;
public function __construct($path)
{
$this->path = $path;
}
} |
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">
<button type="button" class="btn btn-sm alert-info" data-dismiss="modal">{{ $customer->name_regular }}</button>
{{ l('Product consumption') }} :: <label clas... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class LoginMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|... |
@extends('const.const')
@section('content')
<section class="seo">
<form method="POST" action="{{route('seo.update',$seo->id)}}" enctype="multipart/form-data">
@csrf
{{ method_field('PATCH') }}
<input type="file" name="logo" id="real1" class="d-none image">
... |
@php
use App\Role;
$roleList = Role::all();
@endphp
@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">Register</div>
... |
<?php declare(strict_types=1);
/*
* (c) shopware AG <info@shopware.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Swag\MigrationMagento\Profile\Magento\Premapping;
use Shopware\Core\Checkout\Order\OrderStates;
use Shop... |
@extends('layouts.main')
@section('title','FAQ')
@section('content')
<div class="content container">
<div class="page-wrapper">
<header class="page-heading clearfix">
<h1 class="heading-title pull-left">Frequently Asked Questions</h1>
<div class="bre... |
<?php
/**
* This file is part of the Zimbra API in PHP library.
*
* © Nguyen Van Nguyen <nguyennv1981@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Zimbra\Mail\Request;
use Zimbra\Mail\Struct\MailDataSource... |
<?php
namespace app\models;
use Yii;
use app\models\reference_books\PropertyCategory;
use app\modules\lead\models\PropertyRequirement;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\admin\models\OwnerManageGroup;
/**
* RentalsSearch represents the model behind the search form of `app\models\R... |
<?php
// Copyright (c) 2022 Damien Dart, <damiendart@pobox.com>.
// This file is distributed under the MIT licence. For more information,
// please refer to the accompanying "LICENCE" file.
declare(strict_types=1);
namespace Yassg\Traits;
trait HasMetadata
{
private array $metadata = [];
public function ge... |
<?php
/**
* Yasmin
* Copyright 2018 Charlotte Dunois, All Rights Reserved
*
* Website: https://charuru.moe
* License: https://github.com/CharlotteDunois/Yasmin/blob/master/LICENSE
*/
/*
* This example will demonstrate how to create a webhook client and execute the webhook.
*/
require_once(__DIR__.'/vendor/auto... |
<?php
/**
* Copyright 2001-2002 Robert E. Coyle <robertecoyle@hotmail.com>
* Copyright 2001-2016 Horde LLC (http://www.horde.org/)
*
* See the enclosed file LICENSE for license information (BSD). If you
* did not receive this file, see http://www.horde.org/licenses/bsdl.php.
*
* @package Whups
*/
class Whups_Fo... |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Webapi\Test\Unit\Model\Authorization;
use Magento\Authorization\Model\UserContextInterface;
/**
* Tests Magento\Webapi\Model\Authorization\GuestUserContext
*/
class GuestUserContextTe... |
<?php
namespace App\Http\Requests;
use App\Http\Requests\Request;
class Check extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function messages(){
return [
'nameroom.required' => 'Hãy nhập mã phòng ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTestimoniesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('testimonies... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale... |
<?php
/**
* User: HP
* Date: 10/7/2018
* Time: 6:51 PM
*/
define('DB_NAME',"id7662352_liveshop");
define('DB_USER',"");
define('DB_PASSWORD',"");
define('DB_SERVER',"localhost"); |
<?php
namespace Idles;
function identity($value)
{
return $value;
} |
@if ($user->id !== Auth::user()->id)
<div id="follow_form">
@if (Auth::user()->isFollowing($user->id))
<form action="{{ route('followers.destroy', $user->id) }}" method="POST">
{{ csrf_field() }}
{{ method_field('DELETE') }}
<button class="btn btn-... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCommentTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comments', func... |
<?php
namespace backend\assets;
use yii\web\AssetBundle;
/**
* Main backend application asset bundle.
*/
class AppAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/site.css',
'css/my-style.css',
];
public $js = [
];
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class UsersSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('users')->insert([
'name' => 'Admin',
... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the valid... |
<?php
/**
* Created by php-echarts library.
* @author: cattong <aronter@gmail.com>
*/
namespace beyong\echarts\charts\bar\itemstyle;
use beyong\echarts\Property;
/**
* @property string $backgroundColor
*
*
*
*
* {_more_}
*/
class Decal extends Property {
public function __construct($array=[])
... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRelationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('relations', function (Blueprint $table) {
... |
<?php
/**
* This file is part of Lasalle Software
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
... |
<footer class="footer-info">
<div class="container">
<div class="row justify-content-center">
<div class="col-12">
<img class="footer-logo" src="@asset('images/bustung_logo.png')">
</div>
<div id="contact" class="col-md-6">
<p>電話:<a href="tel:2330 2990">2330 2990</a></p>
... |
<?php
/* @Framework/FormTable/button_row.html.php */
class __TwigTemplate_8d1691e089f84994f1a6a348be29bdd96344c6a22d4d525e58b83c9cc39e3321 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arr... |
<?php
namespace integralBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ChCatConceptos
*
* @ORM\Table(name="CH_Cat_Conceptos")
* @ORM\Entity
*/
class ChCatConceptos
{
/**
* @var string
*
* @ORM\Column(name="Id_Concepto", type="string", length=10, nullable=false)
* @ORM\Id
* @O... |
<?php
namespace PortlandLabs\Concrete5\MigrationTool\Entity\Import\Conversation;
use Doctrine\Common\Collections\ArrayCollection;
use PortlandLabs\Concrete5\MigrationTool\Entity\Import\ObjectCollection;
use PortlandLabs\Concrete5\MigrationTool\Batch\Formatter\ObjectCollection\ConversationFlagTypeFormatter;
use Portlan... |
<?php
namespace NestedPages\Entities\Confirmation;
/**
* Confirm page(s) restored from trash
*/
class TrashRestoredConfirmation implements ConfirmationInterface
{
public function setMessage()
{
$count = intval(sanitize_text_field($_GET['untrashed']));
return sprintf( esc_html( _n( '%d item restored from trash.',... |
<?php
use App\Inside\Constants;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AdvertisementMigration extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
S... |
<div>
<table>
<thead>
<th>Nome Completo</th>
<th>CPF</th>
<th>Telefone</th>
<th>Mais dados</th>
</thead>
<tbody>
@foreach($resultado as $lista)
<tr>
<td>{{ $lista->nome }}</td>
<td>{{ $lista->cpf }}</td>
<td>{{ $lista->fixo}}</td>
<td><button>{{ toUpperCase(__('mais dados')... |
<?php
/**
* 日志处理类
*/
class Log_Log {
// 日志级别 从上到下,由低到高
const EMERG = 'EMERG'; // 严重错误: 导致系统崩溃无法使用
const ALERT = 'ALERT'; // 警戒性错误: 必须被立即修改的错误
const CRIT = 'CRIT'; // 临界值错误: 超过临界值的错误,例如一天24小时,而输入的是25小时这样
const ERROR = 'ERROR'; // 一般错误: 一般性错误
const WARN = 'WARN'; // 警告性错误: 需要发出警告的错误
const NOTICE = 'NOTIC'; //... |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
use kartik\widgets\ActiveForm;
use kartik\builder\Form;
use kartik\datecontrol\DateControl;
use yii\helpers\ArrayHelper;
use kartik\grid\GridView;
use yii\widgets\Pjax;
/**
* @var yii\web\View $this
*/
$this->title = Yii::t('app', 'Default cek Lokasi Perpustakaan pa... |
@extends('layouts.app')
@section('content')
<br><br>
@if (isset($customer->id))
<?php $id = $customer->id;?>
@endif
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>Edit Customer</h2>
</div>
<div>
<a ... |
<?php
global $_W;
global $_GPC;
$shopset_level = intval($_W['shopset']['commission']['level']);
$id = intval($_GPC['id']);
if (!empty($id)) {
pdo_update('ewei_shop_goods', array('newgoods' => 0), array('id' => $id));
}
$item = pdo_fetch('SELECT * FROM ' . tablename('ewei_shop_goods') . ' WHERE id = :id and uniacid =... |
<br>
<div class="container">
<div class="row">
<div class='p-5'>
<table class='table table-dark table-striped'>
<thead>
<tr>
<th scope='col'>#</th>
<th scope='col'>First Name</th>
<th scope='col'>Last Name</th>
<th scope='col'>Arrival Date<... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateLocalizationsRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
<?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
<?php
namespace App\Exports;
use App\Employee;
use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\WithTitle;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Events\AfterSheet;
use Maatwebsite\Excel\Concerns\WithEvents;
use Ma... |
<?php
namespace App\Printers\Html;
class HtmlPrinter
{
/**
* @param $asset
* @return string
*/
public static function getAsset($asset): string
{
$asset .= '?' . env('APP_VERSION');
if (mb_strpos($asset, '.css') !== false) {
return "<link href='$asset' rel='styleshee... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');?>
<!-- Content Wrapper. Contains page content -->
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://cd... |
<?php
/**
* Integrations management plugin for HiPanel
*
* @link https://github.com/hiqdev/hipanel-module-integrations
* @package hipanel-module-integrations
* @license BSD-3-Clause
* @copyright Copyright (c) 2017, HiQDev (http://hiqdev.com/)
*/
return [
'Settings' => 'Настройки',
'Integrations... |
<?php
return [
"Students_Promotions"=>"ترقية الطلاب",
"the_old_stage"=>"المرحلة الدراسية القديمة",
"Grade"=>"المرحلة الدراسية",
"Choose"=>"اختيار",
"classrooms"=>"الصف الدراسي",
"section"=>"القسم",
"academic_year"=>"السنة",
"the_new_stage"=>"المرحلة الدراسية الجديدة",
"submit"=>"ت... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Rout... |
<?php declare(strict_types=1);
/**
* Hummingbird Anime List Client
*
* An API client for Kitsu to manage anime and manga watch lists
*
* PHP version 8
*
* @package HummingbirdAnimeClient
* @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2015 - 2021 Timothy J. Warren
* @license ht... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
public function subcategories()
{
return $this->hasMany(SubCategory::class);
}
public function specialist()
{
return $this->hasOne(Specialist::class);
}
public function servicerequest(... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Список заявок</div>
<div class="card-body">
@foreach($bids as $ind... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit87877b5efe07be5be3db63fbe00b1624
{
public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
'0e6d7bf4a5811bfa5cf40c5ccd6f... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('products', fun... |
<!DOCTYPE html>
<html>
<head>
<title>OrangeApps, Shopp'E.</title>
<link href="<?php echo base_url(); ?>assets/images/logos/orange_apps.png" rel="shortcut icon">
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<?php... |
<?php
class Home_model extends CI_model{
public function getAllHome(){
$this->db->order_by("id_lapor", "desc");
return $this->db->get('simple_lapor',4)->result_array();
}
public function tambahLaporan()
{
$ekstensi_diperbolehkan = array('doc','docx','xls','xlsx','ppt','ppt... |
<?php
$_['heading_title'] = 'Mi lista de deseos';
$_['text_account'] = 'Cuenta';
$_['text_instock'] = 'En stock';
$_['text_wishlist'] = 'Listas de deseos)';
$_['text_login'] = 'Debe <a href="%s"> iniciar sesión </a> o <a href="%s"> crear una cuenta </a> para guardar <a href="%s"> %s </a> A su <a href="%s"> li... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddPlanPriceIdToOrdersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('orders'... |
@extends('backend.home')
@section('title')
<title>Quản lý Setting</title>
@endsection
@section('content')
<div id="content" class="container-fluid">
<div class="card">
<div class="card-header font-weight-bold">
<h5 class="m-0">Cài đặt chung</h5>
</div>
... |
<?php
/* @var $this LaboRequestsController */
/* @var $model LaboRequests */
//$this->breadcrumbs=array(
// 'Labo Requests'=>array('index'),
// $model->id=>array('view','id'=>$model->id),
// 'Update',
//);
//
//$this->menu=array(
// array('label'=>'List LaboRequests', 'url'=>array('index')),
// array('label'=>'Create ... |
@extends('layouts_backend.master')
@section('title', 'Barcode Live')
@section('content')
<div class="row content-function">
<div class="col-lg-10">
<h4 class="title-fuction">Barcode Message List</h4>
<div class="table-responsive table-mh-300">
<div class="form_style">
<div id="comment-list-box... |
<!----------------------------- script buscador --------------------------------------->
<script src="<?php echo base_url('resources/js/jquery-2.2.3.min.js'); ?>" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
(function ($) {
$('#filt... |
<?php
namespace Hobocta\Encrypt\Encryptor\Implementation\OpenSsl;
use Hobocta\Encrypt\Encryptor\AbstractEncryptor;
use Hobocta\Encrypt\Encryptor\EncryptorInterface;
use Hobocta\Encrypt\Exception\EncryptException;
final class OpenSslEncryptor extends AbstractEncryptor implements EncryptorInterface
{
/**
* Op... |
<?php
/* WebProfilerBundle:Profiler:info.html.twig */
class __TwigTemplate_35edf74920a85776ea50e7c5e02e5b325ce5571601fd814069fa96e0e6ece500 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTempl... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. A... |
<?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 RectorPrefix20211211\Symfony\Component\Finder\Iterator;
use RectorPrefix... |
<?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.
*/
declare(strict_types=1);
namespace Sylius\Bundle\MoneyBundle\Twig;
use Sylius\Bundle\MoneyBundle\Tem... |
@extends('Navigation')
@section('content')
<p>Title: {{$book->title}}</p>
<a href="/booksByGenre/{{$book->genre}}">Genre: {{$book->genre}}</a>
<p>Year: {{$book->creation_year}}</p>
<p>Authors</p>
@foreach($authors as $author)
<a href="/author/{{$author->id}}">{{$author->Name}} {{$author->Surname}}</a>
<br>
@end... |
<?php
declare(strict_types = 1);
namespace App\DataFixtures;
use App\Entity\AdvertisementEntity;
use DateTime;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Common\DataFixtures\DependentFixtureInterface;
/**
*
* @author Thiago Paes <mrprompt@gmail.com>
*/
... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// $this->call(UsersTableSeeder::class);
factory(App\User::class,10)->create();
}
} |
<?php
/**
* Unit test class for the JSHint sniff.
*
* @author Juliette Reinders Folmer <phpcs_nospam@adviesenzo.nl>
* @copyright 2019 Juliette Reinders Folmer. All rights reserved.
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Standa... |
<?php
namespace Tlt\AdmnBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Doctrine\ORM\EntityRepository;
class ZoneLocationType extends AbstractType
{
private $user;
public function __con... |
<?php
session_start();
class captcha{
var $url;
var $captchaParams=array(
'randFontSizes'=>true,
'randCaptchaLeng'=>true,
'randUppercase'=>true,
'randPattern'=>true,
'randColor'=>true,
'randAngle'=>true);
var $font=array('./VeraBd.ttf','./FFF_Tusj.ttf');
p... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class InventoryController extends Controller
{
public function index(){
return view('inventory.index');
}
public function calc(){
return view('inventory.calculator');
}
} |
<?php
include_once('conexion.php');
/*function obtenerListadoJuegosPorIdUsuario($usuario){
$consulta="SELECT DISTINCT juegos.id,juegos.titulo,juegos.id_tipo_juego,tipo_juego.nombre FROM aulas_usuarios_juegos INNER JOIN juegos ON aulas_usuarios_juegos.id_juego=juegos.id INNER JOIN tipo_juego ON tipo_juego.id=jueg... |
<?php
namespace FondOfSpryker\Client\NavisionCompany;
use Codeception\Test\Unit;
use FondOfSpryker\Client\NavisionCompany\Dependency\Client\NavisionCompanyToZedRequestClientInterface;
use FondOfSpryker\Client\NavisionCompany\Zed\NavisionCompanyStubInterface;
use Spryker\Client\Kernel\Container;
class NavsisionCompan... |
<?php
//require_once("E:\Apache24\htdocs\responsive\vendor\config.php");
require_once('config.php');
GLOBAL $con;
// get the HTML
$currentdate = !empty($_GET['currentdate']) ? date('Y-m-d H:i:s', strtotime($_GET['currentdate'])) : date('Y-m-d');
$query = "SELECT tsas.*, pl.Park_Name FROM tbl_shuttle_active_status... |
<header class="topbar bg-adm">
<div class="topbar-left">
<a href="{{ route('administrator.index') }}" class="navbar-brand text-light mb-0 h1">
<img src="{{ asset('img/logo.svg') }}" class="ml-3 pr-1 topbar-logo topbar-logo-adm" alt="Logo">
<span class="pr-1">Administration</sp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.