text stringlengths 2 1.03M |
|---|
<div class="table-responsive">
<table class="table table-hover table-sm" style="width: 100;font-size: 12px" border="2px">
<thead style=" color:black; font-size: 14px" class="bg-success">
<tr>
<th scope="col" style="width: 1%">No.</th>
<th scope="col" style="width: 20%">Project</th>
... |
@extends('layouts.app')
@section('content')
<div class="box">
<div class="box-header">
<h3 class="box-title">Cidade #{{$cidade->id}}</h3>
</div>
<div class="col-md-12">
<div class="box-body">
<div class="row">
<div class="col-md-12">
<div class="form-group">
{!! Form::lab... |
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h2>
<a href="<?php echo \Idno\Core\Idno::site()->config()->getDisplayURL() . '?q=' . urlencode($vars['subject'])?>"><?php echo htmlspecialchars($vars['subject'])?></a>
</h2>
</div>
</div>
<?php
if (!empty($vars['items'])) {
... |
<?php
namespace App\Providers;
use Laravel\Passport\Passport;
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
... |
@extends('admin.en.layouts.main')
@section('title')
<title>链接管理</title>
@endsection
@section('content')
<div class="main" id="mainWrapper">
<h3>链接列表</h3>
<div class="wrapper table-scroll-wrapper">
<div class="row">
<div class="col-md-12">
<div clas... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateClassesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('classes', funct... |
<?php
/**
* Controller to attache role for user for Yii2
*
* @author Elle <elleuz@gmail.com>
* @version 0.1
* @package UserController for Yii2
*
*/
namespace app\modules\developeruz\Yii2DbRbac\controllers;
use Yii;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
use yii\helpers\Url;
use yii\web\Control... |
<?php
/**
* This file is part of the Spryker Demoshop.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Orm\Zed\ProductLabel\Persistence;
use Spryker\Zed\ProductLabel\Persistence\Propel\SpyProductLabelLocalizedAttributesQuery as BaseSpyProductLa... |
<?php
/**
* Person post type
*/
namespace Firebelly\PostTypes\Person;
// Custom image size for post type?
// add_image_size( 'people-thumb', 300, 300, true );
// Register Custom Post Type
function post_type() {
$labels = array(
'name' => 'People',
'singular_name' => 'Person',
'm... |
<?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
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class NewOrdersTableCreate extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('orders', func... |
@extends('../layouts.layout')
@section('title')
Product
@endsection
@section('styles')
<style>
.file {
visibility: hidden;
position: absolute;
}
</style>
@endsection
@section('body')
<!-- Main Container -->
<main id="main-container">
<!-- Hero -->
... |
<?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
/*
* 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\Http\Controllers;
use App\Models\Book;
use Illuminate\Http\Request;
use App\Http\Requests\BookUpdateRequest;
use App\Http\Requests\BookCreateRequest;
use App\Models\Customer;
class BookController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illumi... |
<?php
//prp($listarReclamos);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?= cargar_headers() ?>
<?= mostrar_nav_bar() ?>
<meta charset="UTF-8">
<title>Listando Reclamos</title>
</head>
<body>
<h3 align="center">Seguimiento de Reclamo, según el criterio de búsqueda</h3>
<br>
<div class="c... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laporan Penjualan</title>
<link rel="stylesheet" href="<?php echo ... |
<?php
/**
* Created by PhpStorm.
* User: Maslov
* Date: 27.03.2017
* Time: 22:59
*/
namespace app\controllers;
use yii\web\Controller;
class TournamentsController extends Controller
{
public function actionIndex()
{
return $this->render('tournaments');
}
} |
<?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
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use PDF;
use App\User;
use App\materia;
class Reporte_Auto_FaltaController extends Controller
{
public function reporte_auto_falta(Request $request)
{
$user = \DB::select('select * from users ORDER BY apellido');
$pdf = PDF:... |
@extends('layouts.navbar')
<!-- Main Content -->
@section('body')
<div class="container">
<div class="row">
<div class="col s12 m6">
<div class="panel panel-default">
<h4 class="header col s12 light"></h4>
<h5 class="header col s12 light">... |
<?php
/*
* Your installation or use of this SugarCRM file is subject to the applicable
* terms available at
* http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/.
* If you do not agree to all of the applicable terms or do not have the
* authority to bind the entity as an authorized representative... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Dashboard extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->library('form_validation');
$this->load->model('administrator/model_dashboard');
}
function render_view($da... |
<?php
/*
Version 1.12
*/
/* An autoloader for ReCaptcha\Foo classes. This should be required()
* by the user before attempting to instantiate any of the ReCaptcha
* classes.
*/
spl_autoload_register(function ($class) {
if (substr($class, 0, 10) !== 'ReCaptcha\\') {
/* If the class does not lie under th... |
<?php
/**
* This file is part of Totara Learn
*
* Copyright (C) 2020 onwards Totara Learning Solutions LTD
*
* 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 3 of the Licens... |
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
{{ $title }}
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<div class="row">
<div class="col-xs-12">
{!! Fo... |
<!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">
<title>刷新会员卡等级</title>
</head>
<body>
<form method="post">
... |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "quality_dynamic_column".
* @property integer $id
* @property integer $campaign_id
* @property integer $channel_id
* @property string $sub_channel
* @property integer $time
* @property string $name
* @property string $value
*/
c... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit0c66fc03b805c31a1749b14133348ef8
{
public static $files = array (
'1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php',
);
public static $prefixLen... |
<div class="card-container">
<div class="container-fluid">
<div class="row pad_top_20">
<div class="col-md-6 table-search-input">
<input type="text" id="product_search" name="search" class="form-control" placeholder="Search..">
</div>
</div>
</div>
<... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class CostumerProducts extends Model
{
use HasFactory;
protected $fillable = [
'c_id', 'products_id', 'price', 'interval', 'exact_day', 'unity'
];
protected $appends = ... |
<?php
namespace App\Excel\Exports\PhotoKunjungan;
use Maatwebsite\Excel\Concerns\Exportable;
use Maatwebsite\Excel\Concerns\WithEvents;
use Maatwebsite\Excel\Events\BeforeExport;
use Maatwebsite\Excel\Events\AfterSheet;
use Maatwebsite\Excel\Sheet;
use DB;
use App\Models\trans_d_resultwo_foto;
class FiberIb implem... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateDonationRequestsTable extends Migration {
public function up()
{
Schema::create('donation_requests', function(Blueprint $table) {
$table->increments('id');
$table->integer('client_id')->unsigned();
... |
<?php
/*
|--------------------------------------------------------------------------
| Documentation for this config :
|--------------------------------------------------------------------------
| online => http://unisharp.github.io/laravel-filemanager/config
| offline => vendor/unisharp/laravel-filemanager/docs/conf... |
<?php
namespace App\Repository;
use App\Entity\ContactFormTypeEntity;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Symfony\Bridge\Doctrine\RegistryInterface;
/**
* @method ContactFormTypeEntity|null find($id, $lockMode = null, $lockVersion = null)
* @method ContactFormTypeEntity|null ... |
<?php
namespace common\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\Email;
/**
* EmailSearch represents the model behind the search form about `common\models\Email`.
*/
class EmailSearch extends Email
{
/**
* @inheritdoc
*/
public function rules()
{
... |
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">Semua Laporan</h1>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<section class="content">
<div class="container-fluid">
<!-- Small b... |
<?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\Config\Definition\Dumper;
use Symfony\Component\Confi... |
<section class="bannercontainer bannercontainerV1">
<div class="fullscreenbanner-container">
<div class="fullscreenbanner">
<ul>
@foreach ($featuredCourses as $featuredCourse)
<li data-transition="fade" data-slotamount="5" data-masterspeed="700" data-title="Slide 1">
... |
<x-emoji-icon-emoji :name="'dragonFace'" {{ $attributes }} /> |
<?php
namespace App\Http\Traits;
trait Author {
protected static function boot()
{
self::creating(function($model){
$model->created_by = auth()->user()->id ?? null;
});
self::updating(function($model){
$model->updated_by = auth()->user()->id ?? null;
}... |
<?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* create nl_listing_detail_table and add index
*/
class Version20160422081831 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema)
... |
<script type="text/javascript">
$(document).ready(function() {
// $.ajax({
// url : "<?php echo site_url('index.php/Universitas/get_universitas_aktif_all')?>",
// type: "GET",
// dataType: "JSON",
// success: function(response){
// response.forEach(... |
<?php
namespace DCarbone\PHPFHIRGenerated\R4\FHIRElement\FHIRBackboneElement\FHIRAuditEvent;
/*!
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: December 26th, 2019 15:44+0000
... |
<?php
namespace App\Http\Controllers\AdminAuth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\Models\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{... |
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
<div class="container-fluid d-flex flex-column">
@extends('layouts.navbar')
<div class="edit container-fluid mt-5">
<div class="row d-flex justify-content-center w-auto">
<div class="col-md-3 pt-5 d-flex flex-column">
<a ... |
<?php
namespace Sphere\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesResources;
clas... |
<!DOCTYPE html>
<html lang="en"><head>
<title>@yield('title')</title>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Accept-CH" content="DPR,Width,Viewport-Width" />
<meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1" />
<meta na... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDocumentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('documents', f... |
<?php
class WPML_ST_Translations_File_Registration {
const PATH_PATTERN_SEARCH_MO = '#(-)?([a-z]+)([_A-Z]*)\.mo$#i';
const PATH_PATTERN_REPLACE_MO = '${1}%s.mo';
const PATH_PATTERN_SEARCH_JSON = '#(DOMAIN_PLACEHOLDER)([a-z]+)([_A-Z]*)(-[-_a-z0-9]+)\.json$#i';
const PATH_PATTERN_REPLACE_JSON = '${1}%s${4}.json'... |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\CanonRaw;
use JMS\Serializer\Annotation\ExclusionPoli... |
<?php
namespace phpcassa\Util;
/**
* A clock that can provide microsecond precision.
*
* @package phpcassa\Util
*/
class Clock {
/**
* Get a timestamp with microsecond precision
*/
static public function get_time() {
// By Zach Buller (zachbuller@gmail.com)
$time1 = \microtime();... |
<?php
namespace Sbine\RouteViewer;
use Laravel\Nova\Nova;
use Laravel\Nova\Tool;
class RouteViewer extends Tool
{
/**
* Perform any tasks that need to happen when the tool is booted.
*
* @return void
*/
public function boot()
{
Nova::script('route-viewer', __DIR__.'/../dist/js... |
<?php
/**
* CDummyCache class file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright Copyright © 2008-2011 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
/**
* CDummyCache is a placeholder cache component.
*
* CDummyCache does not cache a... |
<?php
include_once 'includes/templates/header.php';
?>
<main class="principal">
<div class="contenedor">
<?php
require_once('includes/funciones/db_conexion.php');
$sql = " SELECT * FROM vehiculo ";
$resultado = $conn->query($sql);
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateClassesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('classes', funct... |
<?php
namespace PHPCR\Tests\Util\Console\Command;
use LogicException;
use PHPCR\Util\Console\Command\NodeRemoveCommand;
class NodeRemoveCommandTest extends BaseCommandTest
{
public function setUp()
{
parent::setUp();
$this->application->add(new NodeRemoveCommand());
}
public functio... |
<?php
/*
* upgrade2.php - corrected Client/server model
*
* Scenario 2 capacity additions:
* 1. Upgrade LAN from 4 Mbps to 16 Mbps
* 2. Add 2 more DASDs to the Mainframe
*
* Revised by njgunther@perfdynamics.com Thu Nov 15 11:33:23 2001
* Updated by njgunther@perfdynamics.com Sun Nov 25 07:05:09 2001
*
* ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAuthorities extends Migration
{
/*
authorities table stors personel information
*/
public function up()
{
Schema::create('authorities', func... |
<?php
namespace App\Jobs;
use App\Models\Pivots\TransactionTag;
use App\Services\AccountsService;
use App\Services\TagsService;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\Serializes... |
<?php
$id = $this->uri->segment(3);
if ($id=="ok"){
?>
<div class="alert alert-success">
<button class="close" data-dismiss="alert">×</button>
<strong>Success!</strong> Input Label
</div>
<?php
} else if ($id=="change") {
?>
<div class="alert alert-success">
<button class="close" data-dism... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Post extends Model
{
public function category(){
return $this->belongsTo('App\Category');
}
public function tags() {
return $this->belongsToMany('App\Tag');
}
} |
<?php
/**
* @package info.ajaxplorer
*
* Copyright 2007-2009 Charles du Jeu
* This file is part of AjaXplorer.
* The latest code can be found at http://www.ajaxplorer.info/
*
* This program is published under the LGPL Gnu Lesser General Public License.
* You should have received a copy of the license along wi... |
<?php
// autogenerated file 30.09.2013 15:20
// $Id: $
// $Log: $
//
//
require_once 'EbatNs_ComplexType.php';
/**
* Contains the message portion of a listing tip that is returned by the Listing
* Analyzer engine.
*
* @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/ListingTipMessageType.htm... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="target-densitydpi=device-dpi">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'ACES I4.0') }}</title>
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class NewsTranslation extends Model
{
protected $table = 'news_translations';
protected $fillable = [
'news_id',
'title',
'content',
];
public $timestamps = null;
} |
<?php
/**
* Souin Cache powered by Luc Michalski
*
* @author Luc Michalski
* @copyright 2021 Evolutive Group
* @license You are just allowed to modify this copy for your own use. You must not souintribute it. License
* is permitted for one Prestashop instance only but you can install i... |
<!DOCTYPE html>
<html lang="en" dir="rtl">
<head>
<meta charset="utf-8" />
<title> العملاء | @yield("title")</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta content="" name="descripti... |
<?php
namespace Parse\Test;
use Parse\ParseACL;
use Parse\ParseException;
use Parse\ParseObject;
use Parse\ParseQuery;
use Parse\ParseUser;
class ParseQueryAggregateTest extends \PHPUnit_Framework_TestCase
{
public static function setUpBeforeClass()
{
Helper::setUp();
}
public function setUp... |
<?php
declare(strict_types=1);
namespace frontend\models\account;
use frontend\models\{cities\Cities, users\Users};
use yii\base\Model;
/**
* Class SignForm
* @package frontend\models\account
*/
class SignForm extends Model
{
public $city_id;
public $email;
public $name;
public $password;
publ... |
<?php $__env->startSection('content'); ?>
<div class="col-lg-5 col-md-7 ml-auto mr-auto">
<form class="form" method="post" action="<?php echo e(route('password.email')); ?>">
<?php echo csrf_field(); ?>
<div class="card card-login card-white">
<div class="card-header... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Tipo extends Model
{
protected $table = 'tipos';
protected $fillable = ['nombre_tipo', 'descripcion'];
protected $hidden = ['created_at', 'updated_at'];
public function empleados()
{
return $this->hasMany('App\Mo... |
<?php
/*
* This file is part of the PHP_CodeCoverage package.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Renders a PHP_CodeCoverage_Report_Node_Directory node.
*
* @s... |
<?php
namespace App\Http\Controllers\Auth;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Http\Request;
use App;
class RegisterControll... |
<?php
abstract class Publicize_Base {
/**
* Services that are currently connected to the given user
* through publicize.
*/
public $connected_services = array();
/**
* Services that are supported by publicize. They don't
* necessarily need to be connected to the current user.
*/
public $services;
/**
* ... |
<?php
namespace ShiftOneLabs\LaravelNomad\Tests;
use ReflectionMethod;
use Illuminate\Config\Repository;
use Illuminate\Foundation\Application;
use Illuminate\Database\Schema\Builder;
use ShiftOneLabs\LaravelNomad\FeatureDetection;
use ShiftOneLabs\LaravelNomad\Tests\Stubs\PdoStub;
use Illuminate\Database\Connectors\... |
<footer id="fh5co-footer" role="contentinfo" class="fh5co-section">
<div class="container">
<div class="row row-pb-md">
<div class="col-md-4 fh5co-widget">
<h4>enSaiz</h4>
<p><p>Somos una MIPYMES con servicios de Hospedaje y Restaurantes. Contamos con equipo especializado, con más de 7 años de experi... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Http\Requests\StoreUpdateModule;
use App\Http\Resources\ModuleResource;
use App\Services\ModuleService;
class ModuleController extends Controller
{
protected $moduleService;
public function __construct(ModuleService $modu... |
<?php echo "<?php\n"; ?>
declare(strict_types=1);
namespace <?php echo $namespace; ?>;
use <?php echo $view_model->getFullName(); ?>;
use App\Shared\UserInterface\Responder\TwigResponder;
<?php if ($has_form) {?>
use Symfony\Component\HttpFoundation\RedirectResponse;
<?php }?>
use Symfony\Component\HttpFoundation\Re... |
<div class="form-row">
<div class="col-md-6 mb-3">
<label class="col-form-label" for="name">Nombre</label>
<div class="input-group">
<span class="input-group-append">
<button class="btn btn-primary" type="button">N</button>
</span>
<input
... |
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ExampleTest extends TestCase
{
public function testNewUserRegistration()
{
$this->visit('/register')
->type('Taylo... |
@extends('layouts.main')
@section('content')
<section class="header-image kalydeco-header">
<div class="container">
<h1 class="page-title col-lg-6 col-xs-12 col-sm-12">Lorem ipsum dolor sit amet, consectetur adipiscing elit</h1>
<div class="kalydeco-logo">
<img class="" src="{{ asset('... |
<?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\Tests;
use Symfony\Component\Form\FormError;
ab... |
@extends('layout-tertiary-unit')
@section('content')
<!-- Load Javascript Libraries (AngularJS, JQuery, Bootstrap) -->
<script src="{{ asset('bower_components/angular/angular.min.js') }}"></script>
<!-- Angular Utils Pagination -->
<script src="{{ asset('bower_components/angularUtils-pagination/d... |
<?php
function moeda_padrao(){
$data = Model('Configuracoes')::where('chave','moeda_padrao')->first();
return ( !empty($data['valor']) ? $data['valor'] : 'BRL' );
} |
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
$arTemplateDescription = array(
"NAME" => GetMessage("VOTE_WITH_DESC_NAME"),
"DESCRIPTION" => GetMessage("VOTE_WITH_DESC_DESC"),
);
?> |
<?php
namespace app\ebcms\controller;
class Manager extends \app\ebcms\controller\Common
{
public function index()
{
if (request()->isGet()) {
return $this->fetch();
}
}
public function add()
{
if (request()->isGet()) {
return \ebcms\Form::fetch(... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use HasFactory, Notifiable;
/**
* The a... |
<?php
namespace App\Http\Controllers;
use App\Report;
use App\ReportProducts;
use App\Subesz\ReportService;
use App\Subesz\UserService;
use App\User;
use Auth;
use Carbon\Carbon;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\View\Factory;
use Illuminate\Http\Request;
use Illuminate\View\Vi... |
@extends("la.layouts.app")
@section("contentheader_title", "Edit acc_account: ")
@section("contentheader_description", $acc_account->$view_col)
@section("section", "Acc_accounts")
@section("section_url", url(config('laraadmin.adminRoute') . '/acc_accounts'))
@section("sub_section", "Edit")
@section("htmlheader_title"... |
<?php
declare(strict_types=1);
namespace MemMemov\UnitRobot\UnitTest\Builder;
use PHPUnit\Framework\TestCase;
final class DeclarationsTest extends TestCase
{
public function testItCanCreateNamespaceDeclaration(): void
{
$declarations = new Declarations();
$sourceClassNamespace = 'some $sourc... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use App\User;
class ReviewMail extends Mailable
{
use Queueable, SerializesModels;
public $toMail;
public $guest_id;
/**
* C... |
<?php
namespace app\models;
use Yii;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
/**
* This is the model class for table "alarm".
*
* @property string $id
* @property string $title
* @property string $time
* @property string $is_sos
* @property string $created_at
* @property string $updated_a... |
<?php
/**
* This file is part of the Loops framework.
*
* @author Lukas <lukas@loopsframework.com>
* @license https://raw.githubusercontent.com/loopsframework/base/master/LICENSE
* @link https://github.com/loopsframework/base
* @link https://loopsframework.com/
* @version 0.1
*/
namespace Loops\Form\Element\Va... |
<?php
/*
* This file is main part of the search.
*
* model is called for search file as default
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace src\store\packages\providers\migrations;
use Symfony\Component\Yaml\Yaml;
us... |
<?php
namespace App\Http\Controllers\Blog\Admin;
use App\Http\Requests\BlogPostUpdateRequest;
use App\Models\BlogPost;
use App\Repositories\BlogPostRepository;
use App\Repositories\BlogCategoryRepository;
use App\Http\Requests\BlogPostCreateRequest;
class PostController extends BaseController
{
/**
* @var B... |
<?php
namespace FM\LessqlBundle\Tests;
use FM\LessqlBundle\FMLessqlBundle;
/**
* Class FMSummernoteBundleTest.
*/
class FMLessQLBundleTest extends \PHPUnit\Framework\TestCase
{
public function testBundle()
{
$bundle = new FMLessqlBundle();
$this->assertInstanceOf('Symfony\Component\HttpKern... |
<?php $this->layout = 'admin_login';?>
<div class="login-wrapper" id="login-wrapper">
<span href="#" class="button" id="toggle-login"><?= __('login')?></span>
<div id="login">
<div id="triangle"></div>
<h1><?= __('welcome_login')?></h1>
<?= $this->Flash->render() ?>
<?= $this->Fo... |
<?php
class ComunFather
{
//Genera el contenido cambiante, donde $f es la variable que contiene el nombre del controlador que va a cargar
//si el controlador existe lo carga caso contrario lo que cargara sera un controlador por default que contiene
//la pagina default principal
... |
<?php
/*
* This file is part of the Integrated package.
*
* (c) e-Active B.V. <integrated@e-active.nl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Integrated\Bundle\WorkflowBundle\Controller;
use Braincrafted\Bundl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.