text stringlengths 2 1.03M |
|---|
<?php
namespace FilippoToso\Travelport\Air;
class Certificate
{
/**
* @var string $Number
*/
public $Number = null;
/**
* @var typeMoney $Amount
*/
public $Amount = null;
/**
* @var typeMoney $DiscountAmount
*/
public $DiscountAmount = null;
/**
* @va... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateFonesanatelTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('fonesanatel', function(Blueprint $table)
{
$table->increments('anal_id'... |
<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<title><?php echo e(con... |
@extends('layouts.app')
@section('content')
<div class="card card-default">
<div class="card-header">
Roles
</div>
<div class="card-body">
@if($users->count() > 0)
<table class="table">
<thead>
<th>Name</th>
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class tbl_tg extends Model
{
protected $table = 'tbl_tg';
public function user()
{
return $this->belongsTo('App\sys_user', 'usr_id','usr_id');
}
public function tg_type()
{
return $this->belongsTo('App\tg_type', 'tg_type_id','tg_type_... |
<?
/***************************************************************************
* Dolphin Smart Community Builder
* -------------------
* begin : Mon Mar 23 2006
* copyright : (C) 2007 BoonEx Group
* website : ht... |
<link href="{{asset('frogetor/assets/plugins/dropify/css/dropify.min.css')}}" rel="stylesheet">
@extends('data_entry.layout.master')
@section('content')
<div class="page-content">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card">
... |
<?php
namespace InfluxDB\Adapter\Udp;
class Options
{
private $host;
private $port;
private $tags;
public function __construct()
{
$this->setHost("localhost");
$this->setTags([]);
$this->setPort(4444);
}
public function getPort()
{
return $this->port;
... |
<?php
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class Diario
*
* @property int $id
* @property string $producto
* @property float $cantidad
* @property float $monto
* @property string $tipo_pago
* @property int $tipo_v... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Prices extends Model
{
//
public $table = 'prices'; //<- this is for UNIT PRICE
protected $fillable = [
'product_id',
'unit_price',
];
} |
<?php
class WPML_TM_Settings_Update extends WPML_SP_User {
private $index_singular;
private $index_ro;
private $index_sync;
private $index_plural;
/** @var TranslationManagement $tm_instance */
private $tm_instance;
/** @var WPML_Settings_Helper $settings_helper */
private $settings_helper;
/**
* @param ... |
<div class="page-body--content--inner">
<div class="page-body--content--body page-body--content--body--sub">
@php the_content() @endphp
</div>
</div> |
<?php return array (
'root' =>
array (
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'aliases' =>
array (
),
'reference' => '7aed976c0f01c93ac64083941f91f53ed6d154f5',
'name' => 'laravel/laravel',
),
'versions' =>
array (
'asm89/stack-cors' =>
array (
... |
<?php
/**
* Created by PhpStorm.
* User: Jenner
* Date: 2015/10/12
* Time: 15:34
*/
class CrontabTest extends PHPUnit_Framework_TestCase
{
/**
* @var string
*/
protected $log_file = "/tmp/crontab_test.log";
public function testStart()
{
if (file_exists($this->log_file)) {
... |
<?php //00572
//
// Application: Restreamer Dashboard
// Version: 1.0.1
// Developer: delta1372
// Support: Telegram @delta1372
//
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exis... |
<?php
namespace App\Entity;
use App\Repository\FormRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=FormRepository::class)
*/
class Form
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type... |
<?php
class m_bpn extends CI_Model
{
public function table($tabel)
{
return $this->db->get($tabel);
}
public function insert($data, $stable)
{
$this->db->insert($stable, $data);
}
public function get_where($where, $stable)
{
return $this->db->get_where($stable, $where);
}
public function update($wh... |
<?php
namespace FondOfSpryker\Yves\EnhancedEcommerceCheckoutConnector\Dependency;
use Generated\Shared\Transfer\StoreTransfer;
interface EnhancedEcommerceCheckoutConnectorToStoreClientInterface
{
/**
* @return \Generated\Shared\Transfer\StoreTransfer
*/
public function getCurrentStore(): StoreTrans... |
<?php
/**
* WellCommerce Open-Source E-Commerce Platform
*
* This file is part of the WellCommerce package.
*
* (c) Adam Piotrowski <adam@wellcommerce.org>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace WellCommerce\B... |
@extends('layouts.app')
@section('title') @if( ! empty($title)) {{ $title }} | @endif @parent @endsection
@section('content')
<div class="container">
<div id="wrapper">
@include('admin.sidebar_menu')
<div id="page-wrapper">
@if( ! empty($title))
... |
<?php
/**
* @author Joshua Whalen
*/
//Navigation to show if user is UNAUTHENTICATED
if(!isset($_SESSION['id'])) {
echo '<a href="index.php">Home</a> <a href="authentication_form.php">Log In</a> <a href="create_account_form.php">Create Account</a>';
}
//Navigation to show if user IS AUTHENTICATED
el... |
<?php
include "layout/header.php";
?>
<div class="button_cont text-center float-end col-3 mb-2"><a class="listbtn addbook" href="addBook.php" target="_blank" rel="nofollow noopener">Add a new Book</a></div>
<h3 class="mt-5">Existing Books : </h3>
<div class="row my-3">
<div>
<table class="table table-striped ta... |
<?php
// Prevent this from handling anything that isn't index.php.
if ($_SERVER["REQUEST_URI"] !== "/" && $_SERVER["REQUEST_URI"] !== "/index.php") {
return false;
}
// URL to the box running `node server.js`
define('RENDER_SERVER', 'http://localhost:3000/');
function react_component($module, $props) {
$props_js... |
<?php
/**
* This file is part of the Peast package
*
* (c) Marco Marchiò <marco.mm89@gmail.com>
*
* For the full copyright and license information refer to the LICENSE file
* distributed with this source code
*/
namespace Peast\Syntax\Node;
/**
* A node that represents a property in an object binding pattern.
... |
<div>
replay
</div> |
<?php
/* SVN FILE: $Id$ */
/**
* [ADMIN] メールコンテンツ一覧 ヘルプ
*
* PHP versions 4 and 5
*
* baserCMS : Based Website Development Project <http://basercms.net>
* Copyright 2008 - 2012, baserCMS Users Community <http://sites.google.com/site/baserusers/>
*
* @copyright Copyright 2008 - 2012, baserCMS Users Community
*... |
<?php namespace Anomaly\PagesModule\Page\Command;
use Anomaly\PagesModule\Page\Contract\PageRepositoryInterface;
use Anomaly\PagesModule\Page\PageCollection;
use Anomaly\Streams\Platform\Support\Collection;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\View\Factory;
/**
* Class RenderNavigation
*
* ... |
<?php
namespace EolabsIo\AmazonMwsThrottlingMiddleware;
use EolabsIo\AmazonMwsThrottlingMiddleware\Contracts\Deferrer;
class SleepDeferrer implements Deferrer
{
public function getCurrentTime(): int
{
return (int) round(microtime(true) * 1000);
}
public function sleep(int $milliseconds)
... |
@extends('index')
@section('title','Proveedores Externos Inactivos')
@section('panel','Lista Proveedores Externos Inactivos')
@section('content')
@if(count($errors) > 0)
<div class="alert alert-danger" role="alert">
@foreach ($errors->all() as $error)
<div>{{ $error... |
<!DOCTYPE html>
<html class=" ">
<head>
<!--
* @Package: Ultra Admin - Responsive Theme
* @Subpackage: Bootstrap
* @Version: 2.0
* This file is part of Ultra Admin Theme.
-->
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<me... |
<?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;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable implements MustVerify... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<title>Document</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.0/css/bulma.css">
<st... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTeamsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('teams', function ... |
<?php
/**
* @version 3.2.0
* @package com_secretary
*
* @author Fjodor Schaefer (schefa.com)
* @copyright Copyright (C) 2015-2017 Fjodor Schaefer. All rights reserved.
* @license MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softwa... |
<?php
namespace App\Providers;
use App\Models\User;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
... |
<?php
use Symfony\Component\Translation\MessageCatalogue;
$catalogue = new MessageCatalogue('ja', array (
'validators' =>
array (
'This value should be false.' => 'falseでなければなりません。',
'This value should be true.' => 'trueでなければなりません。',
'This value should be of type {{ type }}.' => '型は{{ type }}でなければなりま... |
<?php
/**
* View: Month View - Calendar Event Meta
*
* Override this template in your own theme by creating a file at:
* [your-theme]/tribe/events/v2/month/calendar-body/day/calendar-events/calendar-event/date/meta.php
*
* See more documentation about our views templating system.
*
* @link http://m.tri.be/1aiy
... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... |
<?php
/**
ADOdb Date Library, part of the ADOdb abstraction library
Download: http://phplens.com/phpeverywhere/
PHP native date functions use integer timestamps for computations.
Because of this, dates are restricted to the years 1901-2038 on Unix
and 1970-2038 on Windows due to integer overflow for dates beyond
tho... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Author;
use App\Book;
use App\BorrowHistory;
class DataController extends Controller
{
public function authors()
{
$authors = Author::orderBy('name', 'ASC');
return datatable... |
<!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">
<meta name="description" content="">
<meta name="author" content="">
<title>Integrated Libaray Management S... |
@extends('layout.principal')
@section('conteudo')
<h1>Editar Disciplina</h1>
<form method="post" action="/disciplinas/{{$disciplina->id}}">
{{method_field('PATCH')}} <!-- http nao implementa -->
{{csrf_field()}}
Nome: <input type="text" name="nome" value="{{$disciplina->nome}}... |
<?php
/*
* This file is part of the Prophecy.
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* Marcello Duarte <marcello.duarte@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Prophecy\Call;
use Except... |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Form sdk for UPYUN</title>
</head>
<body>
<form action="http://v0.api.upyun.com/gongyinglian/" method="post" enctype="Multipart/form-data">
<input type="hidden" name="policy" value="<?= $data['policy']... |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Bejan's Chicken</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Free HTML5 Website Template by gettemplates.co" />
... |
<?php
namespace App\Model;
use App\User;
use Illuminate\Database\Eloquent\Model;
use OwenIt\Auditing\Contracts\Auditable;
use App\Model\Ticket_assign_logs\Ticket_assign_logs;
class Ticket extends Model implements Auditable
{
use \OwenIt\Auditing\Auditable;
protected $fillable=['platform','platform_id','mes... |
<?php
use App\Listeners\ContentfulFetcher;
use Symfony\Component\Dotenv\Dotenv;
/** @var $container \Illuminate\Container\Container */
/** @var $events \TightenCo\Jigsaw\Events\EventBus */
if (file_exists(__DIR__.'/.env')) {
// Load env vars from .env if that file exists
$dotenv = new Dotenv();
$dotenv->... |
<?php
namespace App\Models;
use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class ModelHasPermission
* @package App\Models
* @version October 24, 2018, 7:40 pm UTC
*
* @property \App\Models\Permission permission
* @property \Illuminate\Database\Eloquent\Collection roleHasPermissions
... |
<?php
/**
* -----------------------------
* Database Configurations
* -----------------------------
*
* Most default database configurations
* are placed here.
*
*/
return array(
/**
* -----------------------------
* Default Database Connection
* -----------------------------
*
*/
'default' => ... |
<?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class Version20180416190441 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema... |
<?php
namespace BackBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Form\Extension\Core\Type\DateType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form... |
<?php
return array (
'<strong>Something</strong> went wrong' => '',
'Close' => 'Tutup',
'Followers' => '',
'Members' => '',
'Ok' => '',
'Posts' => '',
); |
<?php
use Illuminate\Auth\GenericUser;
class Admin extends TestCase
{
public function testCanShowAdminPanel()
{
$this->actingAs(new GenericUser([]));
$this->visit('admin/pages');
$this->assertResponseOk();
}
} |
<?php
namespace AlipayAop\request;
/**
* ALIPAY API: alipay.commerce.iot.servicemodel.servicelist.query request
*
* @author auto create
* @since 1.0, 2021-04-09 15:07:33
*/
class AlipayCommerceIotServicemodelServicelistQueryRequest
{
/**
* 查询商户下的设备服务列表
**/
private $bizContent;
private $apiParas = array()... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSocialAccountsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('social_a... |
<?php
use app\widgets\Alert;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;
use app\assets\itAppAsset;
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<html lang="<?= Yii::$app->language ?>">
<head>
... |
<?php
/**
* The manifest of files that are local to specific environment.
* This file returns a list of environments that the application
* may be installed under. The returned data must be in the following
* format:
*
* ```php
* return [
* 'environment name' => [
* 'path' => 'directory storing the... |
<?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
class td_smart_list_8 extends td_smart_list {
protected $use_pagination = true; // set this to true to use rela pagination on this template
protected function render_before_list_wrap() {
if(td_global::$cur_single_template_sidebar_pos == 'no_sidebar') {
$td_class_nr_of_columns = ' ... |
<?php
declare(strict_types=1);
namespace Docker\Amp;
use Amp\CancellationToken;
use Amp\Promise;
use Amp\Socket\BasicSocketPool;
use Amp\Socket\ClientSocket;
use Amp\Socket\SocketPool;
class FixedSocketPool implements SocketPool
{
private $uri;
private $socketPool;
public function __construct(string $... |
<?php
namespace App\Repository;
use App\Entity\MissingNotificationLog;
use App\Entity\Order;
use App\Service\ReviewService;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @method Order|null find($id, $lockMode = null, $lockVersion = null)
* @m... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTaxRatesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tax_rates', fu... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePacelPaymentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pacel_pay... |
<?php
// Mail entries...
Route::post('/telescope-api/mail', 'MailController@index');
Route::get('/telescope-api/mail/{telescopeEntryId}', 'MailController@show');
Route::get('/telescope-api/mail/{telescopeEntryId}/preview', 'MailHtmlController@show');
Route::get('/telescope-api/mail/{telescopeEntryId}/download', 'MailE... |
@extends('layouts.app')
@section('content')
@section('breadcrumbs', Breadcrumbs::render('contract/create'))
@include('layouts.confirm_js')
<script src="{{ asset('js/contract.js') }}"></script>
<script type="text/javascript">
$( window ).on( "load", function() {
@if(isset($message))
sweetAlert('{{$me... |
@extends('layouts.front')
@section('content')
<div class="product-big-title-area">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="product-bit-title text-center">
<h2>Shopping Cart</h2>
... |
<?php
return array(
'cache' => [
/*
|--------------------------------------------------------------------------
| Enable/Disable cell caching
|--------------------------------------------------------------------------
*/
'enable' => false,
/*
... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Product_size extends Model
{
protected $table = 'product_sizes';
protected $fillable = ['size', 'product_id'];
//public $timestamps = false;
public function product () {
return $this->belongTo('App\Product');
}
} |
@extends('../layouts.layout')
@section('title')
View Package
@endsection
@section('body')
<main id="main-container">
<!-- Hero -->
<div class="bg-body-light">
<div class="content content-full">
<div class="d-flex flex-column flex-sm-row justify-content-sm-between alig... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Z... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Producto;
use App\Factura;
use App\DetalleFactura;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use PhpParser\Node\Stmt\TryCatch;
use Tymon\JWTAuth\Facades\JWTAuth;
use Tymon\JWTAuth\Facades\JWTFactory;
use Ty... |
<?php
namespace DevGroup\Multilingual\LanguageEvents;
use yii\web\Cookie;
class GettingLanguageByCookie implements GettingLanguage, AfterGettingLanguage
{
public static function gettingLanguage(LanguageEvent $event)
{
if ($event->currentLanguageId === false) {
if (\Yii::$app->request->coo... |
<?php
declare(strict_types=1);
namespace Doctrine\Tests\Models\Taxi;
use Doctrine\ORM\Annotation as ORM;
/**
* Test model that contains only Id-columns
*
* @ORM\Entity
* @ORM\Table(name="taxi_ride")
*/
class Ride
{
/**
* @ORM\Id
* @ORM\ManyToOne(targetEntity=Driver::class, inversedBy="freeDriverR... |
<?php
namespace App\Libraries\FieldsSave
{
use App\Exceptions;
/**
* Validates and formats email
*/
class FieldSave_email extends FieldSave
{
/**
* Validates and formats field value
*/
public function prepareVal()
{
$val = trim($this->req... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Products extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model("product_model");
$this->load->model("booking_model");
$this->load->library('form_validation');... |
<?php
namespace YlsIdeas\SubscribableNotifications\Contracts;
interface CheckNotifiableSubscriptionStatus
{
public function checkMailSubscriptionStatus(): bool;
} |
<?php
/**
* Created by PhpStorm.
* User: tobias
* Date: 14.03.14
* Time: 10:21.
*/
namespace schmunk42\giiant\generators\crud\providers\core;
use schmunk42\giiant\generators\model\Generator as ModelGenerator;
use yii\db\ActiveRecord;
use yii\db\ColumnSchema;
use yii\helpers\Inflector;
use yii\helpers\StringHelper... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRolesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('roles', function ... |
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: #fff;
font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #676a6c;
font-size: 10pt;
}
.color_base {
/*azul: 03a9f4;*/
/*naranja... |
@extends('layouts.app')
@section('title','Bienvenido a Ibarra Market Online ')
@section('body-class', 'profile-page sidebar-collapse')
@section('content')
<!--jumbotron-->
<div class="page-header header-filter" data-parallax="true" style="background-image: url({{ asset('img/productos.jpg') }})">
</div>
<!-- e... |
@inject('donations', 'App\Services\DonationsService')
<div id="chatfriends" class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Donations</h3>
</div>
<div class="panel-body">
<div class="progress">
<div class="progress-bar progress-bar-danger"
... |
@extends('layouts.master')
@section('content')
<style>
#customers {
font-family: "Lucida Console", Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 70%;
}
#customers td {
border: 1px solid #ddd;
padding: 9px;
font-size: 15px;
font-weight: 900;
}
#customers tr:nth-child(ev... |
<?= $this->extend("admin/templates/base") ?>
<?= $this->section('title') ?>
<?= lang('admin/Settings.settings') .' - '. lang('admin/Settings.data') ?>
<?= $this->endSection() ?>
<?= $this->section('content') ?>
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="/admin"><?= lang('General.dashboard... |
<?php
namespace app\bbs\controller;
use think\Controller;
use think\Session;
use app\bbs\dao\Dao;
use app\bbs\model\Module;
use think\Request;
use app\bbs\model\Post;
use app\bbs\model\Floor;
use app\bbs\model\Reply;
use app\bbs\common\PageLink;
class PostAction extends Controller {
public function _initialize ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateResepsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('reseps', functio... |
<?php
/**
* Audits
*
* @category
* @package phalconskeleton
* @author Tim Marshall <Tim@CodingBeard.com>
* @copyright (c) 2015, Tim Marshall
* @license New BSD License
*/
namespace models;
use Phalcon\Mvc\Model;
class Audits extends Model
{
/**
*
* @var integer
*/
public $id;
... |
<?php $__env->startSection('action-content'); ?>
<!-- Main content -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<section class="content">
<div class="box">
<div class="box-header">
<?php if(session()->has('success_message')... |
<?php
namespace Slince\Upload\Tests;
use PHPUnit\Framework\TestCase;
use Slince\Upload\Constraint\MimeTypeConstraint;
use Slince\Upload\Exception\ConstraintException;
use Slince\Upload\Validator;
use Symfony\Component\HttpFoundation\File\UploadedFile;
class ValidatorTest extends TestCase
{
public function testVa... |
<?php
namespace App\Http\Models\BackEnd\Information;
use Illuminate\Database\Eloquent\Model;
class InformationToStore extends Model
{
protected $table='information_to_store';
protected $primaryKey='information_id';
protected $fillable=[
'information_id',
'store_id'
];
public $timestamps=false;
} |
<?php
namespace Kregel\Namecheap;
use GuzzleHttp\Client;
use GuzzleHttp\ClientInterface;
use Kregel\Namecheap\Interactions\Domains;
use Kregel\Namecheap\Interactions\Users;
/**
* Class Api
* @package Kregel\Namecheap
*/
class Api
{
/**
* @const string
*/
public const ENV_SANDBOX = 'https://api.s... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
if (Schema::hasTable('users')) {
... |
<?php
/**
* Roots includes
*/
require_once locate_template('/lib/utils.php'); // Utility functions
require_once locate_template('/lib/init.php'); // Initial theme setup and constants
require_once locate_template('/lib/wrapper.php'); // Theme wrapper class
require_once locate_template('/li... |
<?php
/**
* Copyright (c) 2017-present Ganbaro Digital Ltd
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your ... |
<?php
/**
* Created by PhpStorm.
* User: StubbornGrass
* Date: 2018/06/19
* Time: 10:18
*/
namespace App\Interfaces;
use Illuminate\Http\Request;
interface OrderInterface
{
public function index(Request $request);
public function store(Request $request);
public function update(Request $request,$... |
<?php
use App\Http\Controllers\AccountController;
use App\Http\Controllers\DashboardController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is wher... |
--TEST--
\PEAR2\Templates\Savant\Main::render() fast compiler test
--FILE--
<?php
require dirname(__FILE__) . '/../test_framework.php.inc';
chdir(__DIR__);
$savant = new \PEAR2\Templates\Savant\Main();
class Foo
{
public $var1;
function __toString()
{
return 'test';
}
}
$object = new Foo();
$o... |
<?php
/*
{INFO}{
"title": "Contact Us",
"description": "Contact Us Page",
"author": "FlexiTech Admin",
"created_at": "2015-06-19 08:53:32",
"updated_at": "2015-06-19 08:53:32",
"id": "1e96bd56-83a3-4220-9241-ca18e8856d84",
... |
<?php
/*************************************************************************************************
* Copyright 2018 JPL TSolucio, S.L. -- This file is a part of TSOLUCIO coreBOS Tests.
* The MIT License (MIT)
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and... |
<?php
/**
* @package framework
* @subpackage tests
*/
class FormTest extends FunctionalTest {
protected static $fixture_file = 'FormTest.yml';
protected $extraDataObjects = array(
'FormTest_Player',
'FormTest_Team',
);
public function testLoadDataFromRequest() {
$form = new Form(
new Controller(),
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.