text stringlengths 2 1.03M |
|---|
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\models\AssistanceSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Assistances';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="assistance-index">... |
<link href="<?php echo base_url("asset/css/bootstrap.css"); ?>" rel="stylesheet" type="text/css">
<script src="<?php echo base_url("asset/js/jquery.js"); ?>" language="javascript"></script>
<script src="<?php echo base_url("asset/js/bootstrap.js"); ?>" language="javascript"></script>
<div class="container">
<... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
use Spatie\Tags\Tag;
class CandidateController extends Controller
{
public function edit($id)
{
$candidate = auth()->user();
if ($candidate->id != $id) {
abort(403, 'Forbidden');
}
//... |
<footer id="footer">
<p>
<span data-trans="footer.language"></span></br>
<span>
<a data-language="en" class="lang-btn" onClick="switchLangu(event)">EN</a> // <a data-language="fr" class="lang-btn" onClick="switchLangu(event)">FR</a>
</span>
</p>
<p class="copyright">©... |
@extends('layouts.admin')
@section('content')
@if(count($replies ) > 0 )
<h1>Replies</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Author</th>
<th>Email</th>
<th>Body</th>
</tr>... |
<?php
namespace Safe;
use Safe\Exceptions\GettextException;
/**
* The bindtextdomain function sets or gets the path
* for a domain.
*
* @param string $domain The domain.
* @param string $directory The directory path.
* An empty string means the current directory.
* If NULL, the currently set directory is retu... |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
use webadmin\widgets\ActiveForm;
?>
<?php $form = ActiveForm::begin(); ?>
<div class="row">
<div class="col-lg-offset-3 col-sm-offset-1 col-lg-6 col-sm-10 col-xs-12">
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
... |
<?php
/**
* Copyright 2010-2016 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.horde.org/licenses/lgpl21.
*
* @author Jan Schneider <jan@horde.org>
* @category Horde
* @license http://www.horde.org/lice... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\LibSchool */
$this->title = 'Изменить учебное заведение: ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Учебные заведения', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['v... |
<section id="sliderSection">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-8">
<div class="slick_slider">
@foreach($slide as $sl)
<div class="single_iteam"> <a href="single_page.html"> <img src="upload/slide/{{$sl->Hinh}}" alt=""></a>
<div class="slider_article">
... |
@foreach($subcategories as $subcategory)
<tr data-id="{{$subcategory->id}}" data-parent="{{$dataParent}}" data-level = "{{$dataLevel + 1}}">
<td data-column="name">{{$subcategory->name}}</td>
</tr>
@if(count($subcategory->subcategory))
@include('subCategoryView',['subcategor... |
<?php
namespace App\Http\Controllers\Back;
use App\Http\Requests\FormateurRequest;
use App\Models\Formateur;
use App\Http\Controllers\Controller;
class FormateurController extends Controller
{
public function __construct(){
$this->middleware('auth');
}
/**
* Display a listing of the resou... |
@extends('dashboard.layout-dashboard')
@section('content')
<div class="page-header">
<div class="page-header-content">
<div class="page-title">
<h4><i class="icon-arrow-left52 position-left"></i> <span class="text-semibold" style="color: #bb0a0a !important">Laporan Tabungan</span></h4>
</div>
</div>... |
<?php
include_once 'module.php';
abstract class Template implements ModuleDisplay {
public $title = "Familize.com";
public $ajax = false;
public $icon;
public $jsIncludes = array('/js/prototype.js', '/js/prototype_test.js', '/js/behaviour.js', '/js/scriptaculous.js', '/js/g_ajax.js', '/js/modalbox.js', '/js/toolt... |
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
{{ $thisPageName }}
</h3>
</div>
<div class="panel-body">
<div class="container-fluid">
<div class="panel panel-default">
<div class="panel-body">
... |
@extends('site.template')
@section('main')
<main id="politicas">
<Politicas/>
</main>
@endsection
@section('js')
<script src="{{asset('js/politicas.js')}}"></script>
@endsection |
<?php
namespace Database\Seeders;
use App\Models\Position;
use Illuminate\Database\Seeder;
class PositionSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$position1 = new Position();
$position1->name = "super administrad... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/admin/css/ch-ui.admin.css">
<link rel="stylesheet" href="/admin/font/css/font-awesome.min.css">
<script type="text/javascript" src="/admin/js/jquery.js"></script>
<script type="text/javascript" src="/admin/j... |
<?php
declare(strict_types=1);
namespace GuzabaPlatform\Classes\Models;
use Azonmedia\Reflection\ReflectionClass;
use Guzaba2\Base\Base;
use Guzaba2\Kernel\Kernel;
use Guzaba2\Mvc\ActiveRecordController;
use Guzaba2\Orm\ActiveRecord;
class Classes extends Base
{
/**
* Returns a tree of all ActiveRecord cla... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
... |
<?php
if(!extension_loaded('msgpack'))
{
dl('msgpack.' . PHP_SHLIB_SUFFIX);
}
//error_reporting(0);
function test($type, $variable, $object, $result = null)
{
$serialized = msgpack_pack($variable);
$unserialized = msgpack_unpack($serialized, $object);
var_dump($unserialized);
if ($result)
{
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Task extends Model
{
public function user()
{
return $this -> belongsTo(User::class);
}
} |
@extends('layouts.master')
@section('column-a')
<!-- Begin Content -->
<div class="container">
<div class="row">
<div class="reveal" id="vehicle-modal" data-reveal>
<div class="large-12 columns">
{!! Form::open(array('url' =>... |
<?php
namespace App\Exports;
use Maatwebsite\Excel\Concerns\FromArray;
class BooksExport implements FromArray
{
protected $dataArray;
public function __construct(array $dataArray)
{
$this->dataArray = $dataArray;
}
public function array(): array
{
return $this->dataArray;
... |
<?php
/* TwigBundle:Exception:exception.xml.twig */
class __TwigTemplate_43ebe2f02ff700385661e89554d51714f4b08db582c1f77bf8ab91889d5abb67 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arra... |
<div class="card-body table-responsive p-0" id="div-tabla-scrollbar">
<table class="table table-sm">
@if(sizeof($archivos) == 0)
@include('layouts.private.busquedaSinResultados')
@else
<tbody>
@foreach ($archivos as $archivo)
<td title="{{ __('Fecha de registro') }}: {{ $archivo-... |
<?php
use ActiveRecord\Column;
class AdapterTest extends DatabaseTest
{
const InvalidDb = '__1337__invalid_db__';
public function set_up($connection_name=null)
{
if (($connection_name && !in_array($connection_name, PDO::getAvailableDrivers())) ||
'skip' == ActiveRecord\Config::instanc... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use SammyK\LaravelFacebookSdk\SyncableGraphNodeTrait;
class User extends Authenticatable
{
use Notifiable;
use SyncableGraphNodeTrait;
/**
* The keys of the array are the names of ... |
<?php defined('PHPFOX') or exit('NO DICE!'); ?>
<?php $aContent = array (
'block_id' => '83',
'type_id' => '0',
'ordering' => '2',
'm_connection' => 'pages.view',
'component' => 'like',
'location' => '1',
'disallow_access' => NULL,
'can_move' => '1',
'module_id' => 'pages',
'source_parsed' => NULL,
... |
@extends('layouts.app')
@section('footer')
<div class="container">
</div>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script type="text/javascript">
Highcharts.chart('container', {
chart: {
type: 'column'
},
title: {
text: 'Monthly Average Rainfall'
},
subt... |
<?php
namespace App\Http\Controllers;
use App\Accessories;
use App\AccessoryStock;
use App\AccessoryStockOut;
use App\Brand;
use App\Cylinder;
use App\Events\OrderEvent;
use App\Location;
use App\Order;
use App\OrderedProduct;
use App\Stock;
use App\StockOut;
use App\Type;
use App\User;
use Carbon\Carbon;
use Illumin... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class mesBDController extends Controller
{
public function home(){
return view('mesBD');
}
} |
<?php namespace MicheleAngioni\LaravelJsLangConverter\Generators;
use Illuminate\Filesystem\Filesystem as File;
use JShrink\Minifier;
class LangJsGenerator
{
/**
* The file service.
*/
protected $file;
/**
* The source path of the language files.
*/
protected $sourcePath;
/**... |
<?php
require_once 'model/cliente.php';
class clienteController{
private $model;
public function __CONSTRUCT(){
$this->model = new cliente();
}
public function Index(){
require_once 'view/header.php';
require_once 'view/cliente/cliente.php';
}
... |
<?php
require_once 'Swift/Mime/MimeEntity.php';
require_once 'Swift/Mime/Attachment.php';
require_once 'Swift/Mime/AbstractMimeEntityTest.php';
require_once 'Swift/FileStream.php';
require_once 'Swift/Mime/Grammar.php';
class Swift_Mime_AttachmentTest extends Swift_Mime_AbstractMimeEntityTest
{
public function te... |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author cyrille
*/
interface OSM_Objects_IDirty {
/**
* @return bool
*/
public function isDirty();
public function setDirty($dirty=true);
} |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class symptomSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('symptoms')->insert([
"name"=>'Pulpitis',
"namear"=>'التهاب ... |
<?php
if (!function_exists('base_uri')) {
/**
* Returns the base uri of the deployer application.
*
* @return string
*/
function base_uri(): string
{
return rtrim($_SERVER['SCRIPT_NAME'], '/index.php');
}
}
if (!function_exists('normalize_pascal_case')) {
/**
* Ret... |
<?php
namespace Config;
use CodeIgniter\Filters\CSRF;
use CodeIgniter\Filters\Honeypot;
use Myth\Auth\Filters\RoleFilter;
use CodeIgniter\Config\BaseConfig;
use Myth\Auth\Filters\LoginFilter;
use CodeIgniter\Filters\DebugToolbar;
use Myth\Auth\Filters\PermissionFilter;
class Filters extends BaseConfig
{
/**
* Con... |
<?php
namespace Modules\Item\Repositories;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Modules\Asll\Entities\Vessel;
use Carbon\Carbon;
class ProductPriceRepository
{
/**
* POST ASLL Employee
*
* QUERY:
*
* @param Request $request
* @return void
*/
... |
<?php
namespace rollun\api\megaplan\Command;
use rollun\api\megaplan\Exception\InvalidArgumentException;
use rollun\api\megaplan\MegaplanClient;
abstract class AbstractPutMegaplanCommand extends AbstractMegaplanCommand
{
protected $itemData;
/**
* @var array
*/
protected $extraFields;
... |
<?php
/**
* Created by PhpStorm.
* User: CristianoGD
* Date: 30/09/2015
* Time: 13:59
*/
namespace Usuario\Controller\Plugin;
use Zend\Mvc\Controller\Plugin\AbstractPlugin;
use Zend\Cache\Storage\Adapter\Filesystem as CacheFilesystem;
class Cache extends AbstractPlugin
{
public $cache;
public functio... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Admin Panel</title>
<link href="/admin/css/bootstrap.min.css" rel="stylesheet">
<link href="/admin/css/font-awesome.min.css" rel="stylesheet">
<link href="/admin/css/datepicker3.css" re... |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of GastosController
*
* @author sergio
*/
namespace Modules\Admin\Http\Controllers\gym;
use Modules\Admin... |
<?php
namespace RectorPrefix20210608;
if (\class_exists('tslib_content_stdWrapHook')) {
return;
}
class tslib_content_stdWrapHook
{
}
\class_alias('tslib_content_stdWrapHook', 'tslib_content_stdWrapHook', \false); |
<?php
namespace Oro\Component\ChainProcessor\Tests\Unit\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Definition;
use Oro\Component\ChainProcessor\DependencyInjection\LoadProcessorsCompilerPass;
use Oro\Component\ChainProcessor\ProcessorBag... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateHomepageSettingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('homepa... |
<section class="max-w-4xl p-6 mx-auto bg-white rounded-md shadow-md dark:bg-gray-800">
<form action="/dashboard/service" method="POST">
@csrf
<div class="grid grid-cols-1 gap-6 mt-4 sm:grid-cols-2">
<div>
<label class="text-gray-700 dark:text-gray-200" for="username">Icon... |
<?php
use think\migration\Migrator;
use think\migration\db\Column;
class Addadmin extends Migrator
{
/**
* Change Method.
*
* Write your reversible migrations using this method.
*
* More information on writing migrations is available here:
* http://docs.phinx.org/en/latest/migrations... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="author" content="向军大叔">
... |
<?php declare(strict_types=1);
namespace Shopware\Production\Organization\System\Organization\Aggregate\OrganizationResetPasswordToken;
use Shopware\Core\Framework\DataAbstractionLayer\EntityDefinition;
use Shopware\Core\Framework\DataAbstractionLayer\Field\FkField;
use Shopware\Core\Framework\DataAbstractionLayer\Fi... |
<?php
//============================================================+
// File name : kor.php
// Begin : 2004-03-03
// Last Update : 2010-10-26
//
// Description : Language module for TCPDF
// (contains translated texts)
// Korean
//
// Author: Nicola Asuni
//
// (c) Copyright:
// ... |
@extends('frontend.layouts.app')
@section('content')
<section class="gry-bg py-4 profile">
<div class="container">
<div class="row cols-xs-space cols-sm-space cols-md-space">
<div class="col-lg-3 d-none d-lg-block">
@if(Auth::user()->user_type == 'seller')
... |
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">广告位</h3>
</div>
<div class="panel-body">
<a href="http://www.startbbs.com">StartBBS</a>-一款轻量简单易用的开源社区程序
</div>
</div> |
<?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
$activate = array(
'hantus-sidebar-primary' => array(
'search-1',
'recent-posts-1',
'archives-1',
),
'hantus-footer-widget-area' => array(
'text-1',
'categories-1',
'archives-1',
'search-1',
)
);
/* the default ti... |
<!-- Category Id Field -->
<div class="form-group">
{!! Form::label('category_id', 'Category:') !!}
<p>{{ $post->category['name'] }}</p>
</div>
<!-- User Id Field -->
<div class="form-group">
{!! Form::label('user_id', 'Author:') !!}
<p>{{ $post->user['name'] }}</p>
</div>
<!-- Title Field -->
<div cl... |
<?php
namespace ProduitBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class MarqueType extends AbstractType
{
/**
* {@inheritdoc}
*/
public function buildForm(FormBuilderInterface $builder... |
@extends('template.templateEtud')
@section('contenu')
<h1>Bienvenue sur la gestion des optionnelles !</h1>
<div class="col-sm-5 col-md-3">
<div class="thumbnail">
<a href="{{url('doc/doc1.pdf')}}" TARGET="_blank">
<img src="{{url('img/adobe-pdf-logo.jpg')}}" width="100">
</a>
<d... |
<?php
namespace App\Observers;
use App\Models\Topic;
use App\Handlers\SlugTranslateHandler;
use App\Jobs\TranslateSlug;
// creating, created, updating, updated, saving,
// saved, deleting, deleted, restoring, restored
class TopicObserver
{
public function creating(Topic $topic)
{
//
}
publ... |
<?php
/**
* Swift Mailer MIME Library Headers component
* Please read the LICENSE file
* @copyright Chris Corbyn <chris@w3style.co.uk>
* @author Chris Corbyn <chris@w3style.co.uk>
* @package Swift_Message
* @license GNU Lesser General Public License
*/
require_once dirname(__FILE__) . "/../ClassLoader.php";
/... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<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>{{ co... |
<?php View::includeFile('user-login-header.php');?>
<div class="gl-4 centered">
<div class="g-form wrapper g-card bg-white">
<div class="border-buttom-main_ text-align-center">
<div>
<i class="fa fa-5x fa-check" style="color:green"></i>
</div>
<h3><?=__('reset_pass_success... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit997920de0a81946b49ff04449e94704a
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<div class="flex flex-col">
<div class="-my-2 py-2 overflow-x-auto sm:-mx-6 sm:px-6 lg:-mx-8 lg:px-8">
<div class="align-middle inline-block min-w-full shadow overflow-hidden sm:rounded-lg border-b border-gray-200">
<table class="min-w-full">
<thead>
<tr>
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class AddAuthorRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Train extends Model
{
public function get_train_id()
{
$ret = train::groupBy('train_id')->orderBy('train_id', 'asc')->get(['train_id']);
return $ret;
}
//
} |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Contact extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('Contact_m', 'kontak');
$this->load->library('form_validation');
$this->load->library('session')... |
<?php
namespace Dealskoo\User\Http\Controllers\Auth;
use Dealskoo\User\Http\Controllers\Controller;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\View\Factory;
use Illuminate\Http\Request;
use Illuminate\Validation\ValidationException;
use Illuminate\View\View;
class ConfirmablePasswordCo... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?php
/**
* This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make... |
<?php
namespace Codenom\Framework\Components;
use CodeIgniter\Autoloader\FileLocator;
use CodeIgniter\Config\Services;
class DirSearch
{
/**
* @var \CodeIgniter\Autoloader\FileLocator
*/
protected $loader;
public function __construct()
{
$this->loader = Services::locator();
}
} |
<script src="<?php echo base_url();?>public/dist/sweetalert.js"></script>
<link rel="stylesheet" href="<?php echo base_url();?>public/dist/sweetalert.css">
<div class="breadcrumb flat row nopadding" style="margin-top:-10px;">
<a href="<?= base_url();?>">Home</a>
... |
<?php
namespace Davaxi\Sparkline;
/**
* Trait StyleTrait.
*/
trait StyleTrait
{
/**
* @var array (rgb)
* Default: #ffffff
*/
protected $backgroundColor = [255, 255, 255];
/**
* @var array (rgb)
* Default: #1388db
*/
protected $lineColor = [
... |
<?php
namespace Concrete\Core\Backup\ContentImporter\Importer\Routine;
use Concrete\Core\Block\BlockType\BlockType;
use Concrete\Core\Entity\Express\Entity;
use Concrete\Core\Permission\Category;
use Concrete\Core\Tree\Type\ExpressEntryResults;
use Concrete\Core\Validation\BannedWord\BannedWord;
use Doctrine\ORM\Id\Uu... |
<?php
/**
* ALIPAY API: alipay.merchant.order.consumer.query request
*
* @author auto create
* @since 1.0, 2020-03-06 20:40:35
*/
class AlipayMerchantOrderConsumerQueryRequest
{
/**
* 订单详情查询
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
private $pro... |
@extends('layouts.app')
@section('content')
<section class="content-header">
<h1>
Usuarioscreados
</h1>
</section>
<div class="content">
@include('adminlte-templates::common.errors')
<div class="box box-primary">
<div class="box-body">
<div ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
use HasFactory;
protected $fillable = [
'order_number',
'user_id',
'user_name',
'user_email',
'user_cnpj_cpf',
... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model app\models\LoginForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title = 'Login';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-login">
<h1><?= Html::encode($this->title... |
<div class="box box-panel box-panel-language mb-0">
<div class="card">
<img class="card-img" src="/img/panel_language.png">
</div>
</div> |
<?php
/* TwigBundle:Exception:trace.html.twig */
class __TwigTemplate_bc2fe9921b17a451f4774133a392075055d90e927ed8c28ce3465d033076947d extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
use App\Models\Admin;
use Illuminate\Database\Seeder;
class AdminDatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Admin::create([
'name' => 'Ahmed',
'email' => 'ahmed.monsef@gmail.com'... |
<?php
namespace Saiks24\Command;
class TestCommand implements CommandInterface
{
private $time;
private $status;
private $id;
/**
* TestCommand constructor.
*
* @param int $time
* @param string $status
*/
public function __construct(int $time, string $status = 'undefi... |
<?php
/*
* This file is part of the Active Collab User project.
*
* (c) A51 doo <info@activecollab.com>. All rights reserved.
*/
defined('BASE_PATH') || define('BASE_PATH', realpath(__DIR__));
date_default_timezone_set('GMT');
require dirname(__DIR__) . '/vendor/autoload.php';
require __DIR__.'/src/TestCase.php'... |
<?php
declare (strict_types=1);
namespace PhpParser\Builder;
use RectorPrefix20211211\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
use PhpParser\Node\Name;
use PhpParser\Node\Stmt;
class Class_ extends \PhpParser\Builder\Declaration
{
protected $name;
protected $extends = null;
protected $... |
<?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
$vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest.php',
$vendorDir . '/symfony/var-dumper/Resources/functions/dump.php',
$vendorDir . '/nikic/php-parser/lib/boots... |
<?php
/**
* @package Divante\VsbridgeIndexerCore
* @author Agata Firlejczyk <afirlejczyk@divante.pl>
* @copyright 2019 Divante Sp. z o.o.
* @license See LICENSE_DIVANTE.txt for license details.
*/
namespace Divante\VsbridgeIndexerCore\Api\Client;
use Divante\VsbridgeIndexerCore\Exception\ConnectionDisable... |
<?php
/*
Copyright 2012-2015 David Rodal
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version
This program is distributed in the hop... |
@extends('layouts.app_admin')
@section('content')
@if (Auth::check())
<?php $user = Auth::user(); ?>
{{ $user->name }}
@else
<div id="admin_main_visual">
<img src="./images_choice/choice_admin.jpg" alt="adminトップ画像">
</div>
<div clas... |
<?php namespace Consumer;
class Interaction {
private static $db = NULL;
private static $client = null;
/**
* Connect to websocket server listener
*/
private static function ensureStreamConnected() {
if (self::$client) {
return;
}
self::$client = @stream_sock... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use DB;
use Session;
use App\Http\Requests;
use Auth;
use Illuminate\Support\Facades\Redirect;
use App\khohang;
session_start();
class KhohangController extends Controller
{
public function getdanhsach_kho(){
$khohang=khohang::all();... |
<?php
use Illuminate\Support\Facades\Auth;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteS... |
<?php
namespace App\Http\Livewire\User;
use Illuminate\Support\Facades\Auth;
use Livewire\Component;
class Login extends Component
{
public $email;
public $password;
protected $rules = [
'email' => 'required|email|exists:users,email',
'password' => 'required|min:8'
];
protect... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<script>
$(document).ready(function() {
oTable = $('#UnitTable').dataTable({
"aaSorting": [
[1, "asc"]
],
"aLengthMenu": [
[10, 25, 50, 100, -1],
[10, 25, 50, 100, "<?= lang('all') ?>... |
<!-- Sidebar -->
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
<!-- Sidebar - Brand -->
<a class="sidebar-brand d-flex align-items-center justify-content-center" href="index.html">
<div class="sidebar-brand-icon rotate-n-15">
<i class="fas fa-l... |
<?php
namespace Psalm\Tests;
use const DIRECTORY_SEPARATOR;
use Psalm\Config;
use Psalm\Context;
class IssueSuppressionTest extends TestCase
{
use Traits\ValidCodeAnalysisTestTrait;
use Traits\InvalidCodeAnalysisTestTrait;
/**
* @return void
*/
public function testIssueSuppressedOnFunction(... |
<?php
namespace App\Model\Entity;
use Cake\ORM\Entity;
/**
* Configuration Entity
*
* @property string $key
* @property string $value
* @property string $description
* @property string $data_type
*/
class Configuration extends Entity
{
/**
* Fields that can be mass assigned using newEntity() or patch... |
@extends('admin.admin_master')
@section('title','Manage Purchase List')
@section('admin')
<!-- Page Wrapper -->
<div class="page-wrapper">
<!-- Page Content -->
<div class="content container-fluid">
<!-- Page Header -->
<div class="page-header">
<div class="row align-items-center">
<div class="co... |
@extends('admin.index')
@section('head')
@endsection
@section('content')
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Edit Admin Users</h1>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.