text stringlengths 2 1.03M |
|---|
<?php
namespace Mare06xa\Geckoboard\Classes\DatasetsSQL\Fields;
use Mare06xa\Geckoboard\Abstracts\DatasetFieldSQL;
class Date extends DatasetFieldSQL
{
public function __construct()
{
$this->type = self::DATE;
$this->rules = [
$this->type => 'date_format:Y-m-d',
];
}
... |
<table>
<thead>
<tr>
<th>Product</th>
<th>Quantity</th>
<th>Unit</th>
<th>HPP</th>
<th>Price List</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<?php echo CHtml::activeHiddenField($d... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use DB;
class FornecedorMarca extends Model{
public $timestamps = false;
protected $table = 'marca_fornecedor';
protected $fillable = ['nome','id_marca_fornecedor'];
protected $primaryKey = 'id_marca_fornecedor';
protected $connection = 'pg... |
<div class="daily-box"><div class="pageWidth">
<header class="clearfix">
<h2>
{{ trans('achievement.daily.header') }}
<span class="daily-box__day-selector">
<a class="{{ $tomorrow ? '' : 'active' }}" href="{{ route('achievement.overview', [App::getLocale()]) }}">{{ tr... |
<?php
namespace PuppetBridge\Image;
use PuppetBridge\Image\Types\Jpg;
use PuppetBridge\Image\Types\Png;
use PuppetBridge\Image\Types\Type;
class Types
{
protected static $typesMap = array(
Jpg::FORMAT => 'PuppetBridge\Image\Types\Jpg',
Png::FORMAT => 'PuppetBridge\Image\Types\Png',
);
/*... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
date_default_timezone_set('Asia/Singapore');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateItemInfosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('item_infos', ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Kategory extends Model
{
protected $fillable = ['nama_kategori','slug'];
public $timestamps = true;
public function artikel()
{
return $this->hasMany('App\Artikel','id_kategori');
}
public static function boot()
... |
@extends('layouts.admin')
@section('content')
<div class="page-content-wrapper">
<!-- BEGIN CONTENT BODY -->
<div class="page-content">
<!-- BEGIN PAGE HEADER-->
<!-- BEGIN PAGE BAR -->
<div class="page-bar">
<ul class="page-breadcrumb">
<li>
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateOrdersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('orders', functio... |
<?php
/**
* OSLogger is a lightweight, versatile logging system for PHP applications
*
* @author Lee Keitel <keitellf@gmail.com>
* @copyright 2015 Lee Keitel, Onesimus Systems
*
* @license BSD 3-Clause
*
* FileAdaptor saves logs to a file or multiple files per log level.
*/
namespace Onesimus\Logger\Adaptors;
... |
<?php
class RefBerita extends \Phalcon\Mvc\Model
{
/**
*
* @var integer
* @Primary
* @Identity
* @Column(type="integer", length=11, nullable=false)
*/
public $id;
/**
*
* @var string
* @Column(type="string", length=256, nullable=true)
*/
public $judul... |
@extends('layouts.admin')
@section('title', 'Add a image to the Gallery')
@section('content')
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<div class="col-lg-4">
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
... |
<?php
function start_elem($parser,$name,$attribs) {
var_dump($name);
}
function end_elem()
{
}
$xml = <<<HERE
<a xmlns="http://example.com/foo"
xmlns:bar="http://example.com/bar"
xmlns:baz="http://example.com/baz">
<bar:b />
<bar:c xmlns:bar="http://example.com/foo"/>
</a>
HERE;
$parser = xml_parser_c... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
//
];
... |
<?php
namespace app\models\query;
use yii\db\ActiveQuery;
/**
* This is the ActiveQuery class for [[\app\models\Documents]].
*
* @see \app\models\Documents
*/
class DocumentsQuery extends ActiveQuery
{
/**
* @inheritdoc
* @return \app\models\Documents[]|array
*/
public function all($db = n... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Ui\Config\Converter;
use Magento\Framework\View\Element\UiComponent\Config\Converter;
use Magento\Ui\Config\ConverterInterface;
/**
* Converter for htmlContent component wrapped block
*/
class H... |
<?php
class Stockholder extends MY_Controller {
public function __construct(){
parent::__construct();
$this->load->helper('form');
$this->load->helper('encryption');
$this->load->model('stockholder_model');
}
public function index(){
$content['main_content'] = 'stockholder/a... |
<?php
function static_url($path) {
$app = Framework::instance()->get('app');
return $app->getStaticUrl($path);
}
function route_url($path=null, $params=[], $amp='&') {
$router = Framework::instance()->get('router');
return $router->getUrl($path, $params, $amp);
}
function css($src, $media='all') ... |
<?php
namespace App\APi\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class Authenticate
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
public func... |
<?php
if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
{
die();
}
use \Bitrix\Main\Localization\Loc;
return [
'contact-link' => [
'name' => '<span class="icon-call-in"></span> '.Loc::getMessage("LANDING_BLOCK__CONTACTS__PRESET_LINK"),
'html' => '
<div class="landing-block-card js-animation fa... |
<?php
namespace App\Http\Controllers;
use App\Services\ClienteService;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class ClienteController extends Controller
{
private $servico;
public function __construct(ClienteService $clienteServico)
{
$this->servico = $clienteServico;
... |
<?php
declare(strict_types = 1);
namespace PublicWhip\Tests\Unit\Providers;
use DateTimeImmutable;
use PHPUnit\Framework\TestCase;
use Psr\Log\LoggerInterface;
use PublicWhip\Exceptions\Providers\CheckTypeProviderWrongTypeException;
use PublicWhip\Factories\DateTimeFactoryInterface;
use PublicWhip\Providers\CheckType... |
<?php
class course_course
{
public $G;
public function __construct(&$G)
{
$this->G = $G;
}
public function _init()
{
$this->categories = NULL;
$this->tidycategories = NULL;
$this->pdosql = $this->G->make('pdosql');
$this->db = $this->G->make('pepdo');
$this->pg = $this->G->make('pg');
$this->ev =... |
<?php
namespace Chenmobuys\LaravelUpload;
use Illuminate\Support\ServiceProvider;
class LaravelUploadServiceProvider extends ServiceProvider
{
/**
* @var array
*/
protected $commands = [
];
/**
* The application's route middleware.
*
* @var array
*/
protected $rout... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Diaz Adventure</title>
... |
<?php
namespace App\Http\Controllers\Tanant;
use App\Http\Controllers\Controller;
use App\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class TanantSubcriptionController extends Controller
{
public function subs_pay()
{
$available_plan = [
'webdevmatics_monthly' ... |
<head>
<script type="text/javascript">
function autoDetect() {
var data=$(window).load("http://localhost:8000/autodetect").serialize();
$.ajax({
type: "POST",
url: "http://localhost:8000/autodetect",
data: data,
dataType : "json",
success : functio... |
<?php
namespace ravesoft\post\models;
use paulzi\nestedintervals\NestedIntervalsBehavior;
use ravesoft\behaviors\MultilingualBehavior;
use ravesoft\models\OwnerAccess;
use Yii;
use yii\behaviors\BlameableBehavior;
use yii\behaviors\SluggableBehavior;
use yii\behaviors\TimestampBehavior;
use ravesoft\db\ActiveRecord;
... |
<?php
namespace Mezzio\Hal\Metadata;
abstract class AbstractCollectionMetadata extends AbstractMetadata
{
public const TYPE_PLACEHOLDER = 'placeholder';
public const TYPE_QUERY = 'query';
/** @var string */
protected $collectionRelation;
/** @var string */
protected $paginationParam;
... |
<?php
namespace Coldsnakedigital\GuzzleJwt;
/**
* @author Guillaume Cavana <guillaume.cavana@gmail.com>
*/
class JwtToken
{
/**
* $token.
*
* @var string
*/
private $token;
/**
* @var \DateTime|null
*/
private $expiration;
/**
* Constructor.
*
* @pa... |
@extends('layouts.app')
@section('content')
<link rel="stylesheet" href="/css/main.css">
<div id="menu">
<ul>
<li id="hm"><a href="{{route('home.medico')}}">← Torna alla home</a></li>
<li id="hm"><a href="{{route('med.visualizzaprenotazioni')}}">Genera Ricevuta Prenotazione</a></li>
... |
@extends('backend.layout.layout')
@section('content')
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center mb-3 border-bottom">
<h2 class="m-0 ">Danh Sách Đơn Đã Giao (<span class="total_order_done">{{ count ($all_order_done)}}</span>) </h2>
<div class="nav">
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class ContactUpdateRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* ... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<title>laravel demo - @yield('title')</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta... |
<ul class="breadcrumb">
<li class="btn-back"><a href="javascript:history.go(-1);" class="btn btn-mini btn-info">Kembali</a></li>
<li><a href="<?php echo site_url()?>" class="btn btn-mini"><i class="icon-home"></i></a></li>
<li><a href="<?php echo site_url('doc')?>" class="btn btn-mini">Daftar Dokumen</a></li>
<... |
<div class="alert alert-success my-popup" role="alert">
{{ session('success') }}
</div> |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\User;
use App\MesaMozo;
use App\Mesas;
use Session;
class MozoController extends Controller
{
public function index(){
$mozos = User::where('rol','mozo')->get();
return view('paneladmin.mozos.index'... |
<?php
/* THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. */
$generated_i18n_strings = array(
// Reference: node_modules/yoastseo/js/assessments/readability/fleschReadingEaseAssessment.js:17
__( 'very easy', 'wordpress-seo' ),
// Reference: node_modules/yoastseo/js/assessments/readability/fleschReadingEaseAssessment... |
<?php
class ZoneController extends BaseController
{
/*
* Display Zone
*/
public function index()
{
$zones=Zone::paginate(10);
return View::make('zone.index',compact('zones'));
}
/*
* Create Zone
*/
public function create()
{
return Vie... |
@extends('layouts.home')
@section('content')
<header>
<div class="header1">
<h1>
<span>Deepen</span>
</h1>
<nav>
<ul>
<li>
<a href="{{route('register') }}" class="btn-circle-fishy">
Register
</a>
</li>
<li>
<a href="{{... |
<?php
namespace app\cms\controller;
use app\cms\controller\CmsController;
use think\Db;
class Item extends cmsController
{
public function index(){
$searchSize = 50;
$post = $this->request->param();
$post_val = array(
'query' => $post,
);
$this->assign('searchSiz... |
@extends('backend.master')
@php
$table_name='email_templates'
@endphp
@section('table'){{$table_name}}@stop
@section('mainContent')
<section class="sms-breadcrumb mb-40 white-box">
<div class="container-fluid p-0">
<div class="row justify-content-between">
<h1>{{__('setting... |
<?php
include '../db.php';
require_once("../funktionen.php");
session_start();
$aktion = $_REQUEST['aktion'];
$id = $_REQUEST['id'];
$checkForMailNeuesMitglied = array();
$iban = $_REQUEST["iban"];
$kontoinhaber = $_REQUEST["kontoinhaber"];
$mailPaypal = $_REQUEST["mailpaypal"];
if (!empty($id) && !empt... |
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* *... |
<?php
use \Tuanduimao\Mem as Mem;
use \Tuanduimao\Excp as Excp;
use \Tuanduimao\Err as Err;
use \Tuanduimao\Conf as Conf;
use \Tuanduimao\Model as Model;
use \Tuanduimao\Utils as Utils;
/**
* 客户检索model
*/
class CustomerModel extends Model {
/**
* 初始化
* @param array $param [description]
*/
function __const... |
<?php
$app->get('/', 'LibraryCtrl:home');
$app->get('/books', 'BooksCtrl:getAll');
$app->get('/authors', 'AuthorsCtrl:getAll');
$app->get('/purchases', 'PurchasesCtrl:getAll');
$app->get('/book/{id:\d+}', 'BooksCtrl:getOne');
$app->get('/author/{id:\d+}', 'AuthorsCtrl:getOne');
$app->get('/purchase/{id:\d+}', 'Purch... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\base\NotSupportedException;
use yii\behaviors\TimestampBehavior;
use yii\db\ActiveRecord;
use yii\web\IdentityInterface;
/**
* User model
*
* @property integer $id
* @property string $username
* @property string $password_hash
* @property string ... |
@inject('data','App\Helps')
@php
$jobstepdata = $data->completeJob();
@endphp
@extends('front.master')
@section('page_header')
<div class="box box-primary">
@if(session('mesg'))
<div class="alert alert-{{ session('class') }}">{{ session('mesg') }}</div>
@endif
</div>
@if(!$jobstepdata-... |
<?php
declare (strict_types=1);
namespace Rector\CakePHP\Naming;
use RectorPrefix20210909\Nette\Utils\Strings;
use PHPStan\Reflection\ReflectionProvider;
use Rector\CakePHP\ImplicitNameResolver;
/**
* @inspired https://github.com/cakephp/upgrade/blob/756410c8b7d5aff9daec3fa1fe750a3858d422ac/src/Shell/Task/AppUsesTas... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Response;
use App\InvesticatedPerson;
use DateTime;
use DatePeriod;
use DateInterval;
use App;
use Cookie;
use Carbon\Carbon;
class InvesticatedPersonController extends Controller
{
public function __construct()
{
//have to ad... |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:65:"C:\xampp\htdocs\tp5\public/../application/admin\view\link\add.htm";i:1575292851;s:57:"C:\xampp\htdocs\tp5\application\admin\view\public\top.htm";i:1574082531;s:58:"C:\xampp\htdocs\tp5\application\admin\view\public\left.htm";i:1576494674;}*/ ?>
<!DOCTYPE html>
<html... |
@extends('layouts.app')
@section('content')
<section class="section-content">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Reset Password') ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class EjerciciosConjugador extends Model
{
protected $table = 'ejercicios_conjugador';
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBlogToCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('blog_t... |
<?php
namespace App\Http\Controllers;
use App\Developper;
use App\Game;
use Illuminate\Http\Request;
class GamesController extends Controller
{
public function getGame($game_id){
$game = Game::where('id', $game_id)->first();
return view('pages.game_details', [
'game' => $game
... |
<?php
namespace App\Extensions\Startup\Controllers\Site;
use Illuminate\Http\Request;
use App\Extensions\Startup\Controllers\SiteController;
use Log;
use Validator;
use Response;
class CardHomeController extends SiteController
{
function __construct()
{
parent::__construct();
}
... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
... |
<?php
/**
* RejectRequestTest
*
* PHP version 7.3
*
* @category Class
* @package Ory\Hydra\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* ORY Hydra
*
* Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
*
* ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
//METHOD INI DIGUNAKAN KETIKA MIGRATE DIJALANKAN
public fun... |
<?php
use Faker\Generator as Faker;
$factory->define(SIS\Tecnico::class, function (Faker $faker) {
return [
//
];
}); |
<?php
namespace DbalUtil\Connection\Ramsey\Uuid\Postgres;
use DbalUtil\Connection\ConnectionAbstractTrait;
use Ramsey\Uuid\Uuid;
trait QueryTrait
{
use ConnectionAbstractTrait;
public function insert_returning_uuid($table, array $insert) {
// TODO: (SECURITY) assert $insert is an array DONE
... |
<?php
/**
* <auto-generated>
* This code was generated by Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
* </auto-generated>
*/
namespace Mozu\Api\Clients\Commerce\Customer;
use Mozu\Api\MozuClient;
use Mozu\Api\Urls\Commerce\Customer\Cr... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateStudentparentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('studentp... |
<?php
namespace Common\Model;
use Common\Model\CommonModel;
class HandbookTypeModel extends CommonModel {
protected $_validate = array(
//array(验证字段,验证规则,错误提示,验证条件,附加规则,验证时间)
array('name', 'require', '分类名称不能为空', 1, 'regex', CommonModel:: MODEL_INSERT ),
array('about', 'require', '介绍不能为空', 1, 'regex', Commo... |
<div class="section_offset">
<div class="row">
<div class="col-md-3 col-sm-6">
<section class="infoblock type_2 animated transparent" data-animation="fadeInDown">
<i class="icon-thumbs-up-1"></i>
<h4 class="caption"><b>The Highest Product Quality</b></h4>
<p... |
<?php
namespace site\user;
/**
* 认证用户的部门
*/
class department_model extends \TMS_MODEL {
/**
*
*/
public function &byId($id, $fields = '*') {
$q = array(
$fields,
'xxt_site_member_department',
"id=$id",
);
$dept = $this->query_obj_ss($q);
return $dept;
}
/**
*
*/
public function byMpid(... |
<?php
namespace Bolt\Extension\BoltAuth\Auth\Storage\Repository;
use Bolt\Extension\BoltAuth\Auth\Pager\Pager;
use Bolt\Extension\BoltAuth\Auth\Storage\Entity;
/**
* Account meta repository.
*
* Copyright (C) 2014-2016 Gawain Lynch
* Copyright (C) 2017 Svante Richter
*
* @author Gawain Lynch <gawain.lynch@g... |
<!-- BREADCRUMB -->
<ul class="breadcrumb">
<li><a href="index.php?panel=index.php">DiRulo</a></li>
<li><a href="index.php?panel=domicilio.php">Domicilio</a></li>
<li id="showmodal">Pedido a domicilio</li>
</ul>
<!-- FIN BREADCRUMB -->
<div class="page-content-wrap">
<div class="col-md-9">
<div ... |
<?php
namespace App\Http\Controllers\admin;
use Route;
use App\Http\Controllers\Controller;
use App\Models\Role;
use App\Models\UserRole;
use Illuminate\Http\Request;
class RoleController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
... |
<?php namespace Project\Controllers;
/**
* ZN PHP Web Framework
*
* "Simplicity is the ultimate sophistication." ~ Da Vinci
*
* @package ZN
* @license MIT [http://opensource.org/licenses/MIT]
* @author Ozan UYKUN [ozan@znframework.com]
*/
use ZN\IndividualStructures\Import;
class View
{
use ViewTrait;
... |
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</body>
</html> |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* se... |
<?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\HttpKernel\Tests\ControllerMetadata;
use Fake\Importe... |
<!--new assignment-->
<script>
var page = "<?php echo $_SESSION['user_page']; ?>";
$(".date_picker").datepicker({ dateFormat: 'yy-mm-dd' });
$('.fileUpload').fileUploader({
afterEachUpload: function(data, status, formContainer){
$jsonData = $.parseJSON($(data).find('#upload_data').text());
}
});
$... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
@yield("titulo")
</title>
<link rel="stylesheet" href="/css/app.css">
</head>
<body>
@if(isset($url))
<h2>Inicio</h2>
@endif
<header>
@if(session('usuario') && isset($url))
<li>Hola {{session('usuario')->name... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CrearTiposervicioslaboratorioRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return false;
}... |
<?php namespace API;
require_once dirname(__FILE__) . '/roles.controller.php';
class RoleRoutes {
static function addRoutes($app, $authenticateForRole) {
//* /role/ routes - admin users only
$app->group('/role', $authenticateForRole('admin'), function () use ($app) {
... |
<html>
<head>
<style>
.navbar-brand {
color: white;
font-family: cursive;
font-weight: bold;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">
<h3><strong>LoginSyste... |
<?php
declare(strict_types=1);
namespace SetBased\Stratum\Backend;
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
/**
* Output decorator based on... |
<?php
namespace RenokiCo\PhpK8s\Instances;
class Affinity extends Instance
{
/**
* Add a preference affinity.
*
* @param array $expressions
* @param array $fieldsExpressions
* @param int $weight
* @return $this
*/
public function addPreference(array $expressions, array... |
<?php
namespace App;
// use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;
class ItemTicket extends \Eloquent
{
/**
*
* table name
*
*/
protected $table = 'item_ticket';
/**
*
* primary key
*
*/
protected $primaryKey = 'id';
/**
*
* created_at and updated_at stat... |
<?php
/**
* Generated by Protobuf protoc plugin.
*
* File descriptor : Address.proto
*/
namespace AgentSIB\Diadoc\Api\Proto;
/**
* Protobuf message : AgentSIB.Diadoc.Api.Proto.ForeignAddress
*/
class ForeignAddress extends \Protobuf\AbstractMessage
{
/**
* @var \Protobuf\UnknownFieldSet
*/
p... |
<?php declare( strict_types = 1 );
namespace CodeKandis\SentryClient\Tests\DataProviders\Outputs\ThrowableOutputInterfaceTest;
use ArrayIterator;
use CodeKandis\SentryClient\Outputs\ThrowableOutput;
use CodeKandis\SentryClient\Severities;
use Exception;
use LogicException;
/**
* Represents a data provider providing ... |
<link rel="stylesheet" href="<?php echo PLUGINS_PATH?>/sumoselect/sumoselect2.css" type="text/css" />
<script src="<?php echo PLUGINS_PATH?>/sumoselect/jquery.sumoselect.min.js"></script>
<script type="text/javascript" language="javascript">
$("document").ready(function(){
$("#frmRegister").validate();
$("#l... |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Webapi\Model\Soap;
use Magento\Webapi\Model\ServiceMetadata;
/**
* Webapi Config Model for Soap.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class Config
{
/** @var \M... |
<center>
<h1>User Data</h1>
<table border="1">
<tr>
<td>ID</td>
<td>Email</td>
<td>First Name</td>
<td>Last Name</td>
<td>Profile Pic</td>
</tr>
@foreach($collection as $item)
<tr>
<td>{{$item['id']}}</td>
<td>{{$item['email']}}</td>
<td>{{... |
<!DOCTYPE.php>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text.php;charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">... |
<?php
/***************************************************************************
* *
* (c) 2004 Vladimir V. Kalynyak, Alexey V. Vinokurov, Ilya M. Shalnev *
* *
* This... |
<?php
namespace App\Http\Controllers;
use App\Helpers\BaseHelper;
use Illuminate\Http\Request;
class LPUrisController extends Controller{
protected $helper;
public function __construct(BaseHelper $helper){
$this->helper = $helper;
}
//[WORKS]
public function getBaseURIs(Request $request... |
<!DOCTYPE html>
<html lang="en">
<head>
<?php include("templates/tpl_head.php"); ?>
</head>
<body class="title-image joblist style2">
<div id="bloc_principale">
<br><br><br><br>
<!-- Header Image Or May be Slider-->
<div id="header" class="container-fluid pages">
<div class="row">
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateEPCOtroservicioHasServiciosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::cre... |
<?php
// Configuration
$config = SimpleSAML_Configuration::getInstance();
$uregconf = SimpleSAML_Configuration::getConfig('module_selfregister.php');
$store = sspmod_selfregister_Storage_UserCatalogue::instantiateStorage();
/* Get a reference to our authentication source. */
$asId = $uregconf->getString('auth');
$as ... |
<?php
define ("da", "12wr35gs56dg7878hjgh9!@#8ewredserlh435r^&*%##@432h*()54354%!5kjh3alhbx3k6*^^?)(rlkehrf8ds23o3%#!!^^%k24324");
include_once 'includes/db_connect.php';
include_once 'includes/functions.php';
sec_session_start();
if (login_check($mysqli) == true) {
$logged = 'in';
} else {
$logged = 'out'... |
@extends('adminlte::page')
@section('content_header')
<h1>CONFIGURAÇÃO: PATRIMÔNIOS - MODELOS</h1>
<ol class="breadcrumb">
<div class="btn-group-horizontal">
<a href="{!! route('patrimonial_models.create') !!}" type="button" class="btn btn-sm btn-success" rel="tooltip" title="Novo"><i class="... |
<div class="p-5" id="header-footer-modal">
<div class="preview">
<div class="modal" id="header-footer-modal-preview">
<div class="modal__content">
<div class="flex items-center px-5 py-5 sm:py-3 border-b border-gray-200">
<h2 class="font-medium text-base mr-au... |
<?php
namespace RectorPrefix20210923;
if (\class_exists('Tx_Extbase_Persistence_QOM_Comparison')) {
return;
}
class Tx_Extbase_Persistence_QOM_Comparison
{
}
\class_alias('Tx_Extbase_Persistence_QOM_Comparison', 'Tx_Extbase_Persistence_QOM_Comparison', \false); |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateReviewsTable extends Migration
{
public function up()
{
Schema::create('reviews', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('user_id');
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.