text stringlengths 2 1.03M |
|---|
<?php declare(strict_types=1);
namespace Neomerx\JsonApi\Representation;
/**
* Copyright 2015-2020 info@neomerx.com
*
* 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.apa... |
<?php
use PragmaRX\Tracker\Support\Migration;
class CreateTrackerSessionsTable extends Migration
{
/**
* Table related to this migration.
*
* @var string
*/
private $table = 'tracker_sessions';
/**
* Run the migrations.
*
* @return void
*/
public function migra... |
<?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
/**
* @author Félix Girault <felix.girault@gmail.com>
* @license FreeBSD License (http://opensource.org/licenses/BSD-2-Clause)
*/
namespace Parkour\Functor;
use Parkour\Functor;
/**
*
*/
class Add extends Functor {
/**
* Adds two values.
*
* @param mixed $first First value.
* @param mixed $sec... |
<!--
Copyright (c) 2017 Peng Hanlin.
The software is published under the Apache License v2.0.
Authorized by Peng Hanlin in Nanchang, China.
Monday, 11, September, 2017
-->
<div class="col-md-2 sidebar">
<ul class="nav nav-sidebar">
<li><a href="index.php">个人资料</a></li>
<li><a href="b... |
<head>
<title>Laravel Sample</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<div class="container ops-main">
<div class="row">
<div class="col-md-6">
<h2>書籍登録</h2>
</div>
</div>
<div class="row">
<d... |
@section('manufacturers-list-content')
@if($manufacturerslist)
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">{{ trans('admin.manufacturers_list') }}</h3>
<div class="box-tools pull-right">
<a href="{{ route('admin.add_manufacturers_content') }}" class="btn btn-primary pull-r... |
<?php
/*****************
@author Leongchunwai<2546858999@qq.com>
****************/
?>
<style type="text/css">
#<?php echo $id;?> > div.progress{margin:5px;}
</style>
<div id="<?php echo $id;?>" style="position:relative">
<input class="processId" type="hidden" value="0"></input>
<input class="updating" type="hid... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Pcdn\V20170411\Models;
use AlibabaCloud\Tea\Model;
class DeleteDomainResponseBody extends Model
{
/**
* @var string
*/
public $requestId;
/**
* @var string
*/
public $resourceId;
/**
... |
<?php
namespace src\controllers;
use src\classes\Curl;
use src\classes\Database;
use src\classes\Logger;
class BloggerController
{
protected static $client_id = '707703118466-gvcj2sjjic0r1ackbu2jaf5ss842eld9.apps.googleusercontent.com';
protected static $client_secret = 'YXx-PcIbuoEkdTs7rFOQHKsr';
pr... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/matt/git/alexs-website/system/languages/cs.yaml',
'modified' => 1482763952,
'data' => [
'INFLECTOR_UNCOUNTABLE' => [
0 => 'vybavení',
1 => 'informace',
2 => 'rýže',
... |
<?php
namespace Vietland\AevitasBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://sy... |
<?php
/**
* example_Controller code
*
* Here we deal with setting up a basic controller.
* Your controllers will always have a '_Controller' suffix and extend either
* the 'application_Controller' or 'Ivy_Controller'.
*/
class example_Controller extends application_Controller
{
/**
* Every controller MUST have... |
<?php
/**
* ALIPAY API: alipay.fund.coupon.operation.query request
*
* @author auto create
* @since 1.0, 2018-05-21 16:48:43
*/
class AlipayFundCouponOperationQueryRequest
{
/**
* 资金授权明细查询接口
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
private $pro... |
@extends('layouts.app')
@section('title', $obj->name.' | Test Category | PacketPrep')
@section('description', 'Category Labels')
@section('keywords', 'label')
@section('content')
<nav aria-label="breadcrumb">
<ol class="breadcrumb border bg-light">
<li class="breadcrumb-item"><a href="{{ url('/home')}}">Home</a>... |
<?php
namespace Namshi\JOSE\Signer\OpenSSL;
use Namshi\JOSE\Signer\SignerInterface;
/**
* None Signer.
*/
class None implements SignerInterface
{
/**
* {@inheritdoc}
*/
public function sign($input, $key)
{
return '';
}
/**
* {@inheritdoc}
*/
public function veri... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMatriculasTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('matriculas', function(Blueprint $table)
{
$table->increments('id');
$... |
<?php
class HelloController{
function test(){
echo "this is a test";
ww_view("/welcome");
ww_import("/aa/bb");
}
} |
<?php
Route::group(['prefix' => 'api', 'middleware' => ['auth-apps']], function ()
{
Route::group(['prefix' => 'v1/e-commerce/price-rules'], function ()
{
Route::get('/', ['as' => 'api.v1.routes.e.commerce.price.rules', 'middleware' => ['acl-apps:interactivesolutions_honeycomb_e_commerce_price_rules_ro... |
<?php defined ( 'BASEPATH' ) or exit ( 'No direct script access allowed' );
class BaseController extends CI_Controller {
protected $role = '';
protected $vendorId = '';
protected $name = '';
protected $roleText = '';
protected $global = array ();
protected $lastLogin = '';
function logout()
{
$this->se... |
<?php
namespace ContainerUefsxn8;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getTranslation_WriterService ext... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class equipo extends Model
{
use HasFactory;
protected $table = 'equipo';
protected $primaryKey = 'e_id';
public $timestamps = false;
protected $fillable = ['e_nom', 'e_pre',... |
<?php
namespace App\Http\ViewComposers;
use App\Domain\Service\Queries\GetAllServicesQuery;
use Illuminate\Contracts\View\View;
use Illuminate\Foundation\Bus\DispatchesJobs;
/**
* Class ServiceComposer
* @package App\Http\ViewComposers
*/
class ServiceComposer
{
use DispatchesJobs;
/**
* @param View... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Restaurant;
class RestaurantController extends Controller
{
public function index()
{
$restaurants = Restaurant::all();
return view('restaurants.index', compact('restaurants'));
}
public function show(R... |
<?php
namespace app\index\controller;
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2017/9/22
* Time: 9:24
*/
use rongCloud\RongCloud;
//const appKey = '8luwapkv8r49l';
//const appSecret = '9xKUVAQqynY';
const appKey = 'tdrvipkstqxz5';
const appSecret = 'lo1NtAShrAQ7';
//const appKey = 'lmxuhwagl0eqd';
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace frontend\modules\facilityeq\controllers;
use Yii;
use frontend\modules\facilityeq\models\StreetSearch;
use frontend\modules\facilityeq\models\ImageUpload;
use yii\web\Controller;
use yii\web\UploadedFile;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
... |
<?php
/**
* Allows Custom HTTP Security Headers to be added to the wiki as configured in the LocalSettings.php file.
*
*The MIT License (MIT)
*Copyright (c) 2016 Morgan Shatee Byers
*Permission is hereby granted, free of charge, to any person obtaining a copy
*of this software and associated documentation fil... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title> <?php echo $judul;?> </title>
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="<?php echo base_url('asse... |
<?php
use Symfony\Component\Routing\Matcher\Dumper\PhpMatcherTrait;
use Symfony\Component\Routing\RequestContext;
/**
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcher extends Symfony\Component\Routing\Matcher\UrlMatcher
{
use PhpMatcherTrait;
public funct... |
@extends('layouts.app')
@section('content')
<section class="content-header">
<h1>
Marcas
</h1>
</section>
<div class="content">
@include('adminlte-templates::common.errors')
<div class="box box-primary">
<div class="box-body">
<div cl... |
@section('extra_head')
@extends('backoffice/layout/master')
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.13/js/bootstrap-multiselect.js"></script>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.13/css/bootstrap-multiselect.css">
<?php... |
<?php
return array_replace(require __DIR__.'/ca-national.php', [
'3rd-monday-after-02-01' => '= third Monday after 02-01',
'3rd-friday-after-08-01' => '= third Friday after 08-01',
]); |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categories',... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAppointmentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('appointmen... |
<?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\Api;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Mail;
use App\Mail\ForgetPassword;
use Illuminate\Support\Facades\Hash;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Validator;
class Fo... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap4\ActiveForm */
/* @var $model app\models\LoginForm */
use yii\helpers\Html;
use yii\bootstrap4\ActiveForm;
$this->title = 'Login';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-login">
<h1><?= Html::encode($this->title) ?></h1>
... |
<?php
namespace Viewflex\Listo\Publish\Demo\Items;
use Viewflex\Listo\Base\BasePublisherRepository;
class ItemsRepository extends BasePublisherRepository
{
/*
|--------------------------------------------------------------------------
| Column Mapping
|------------------------------------------------... |
@extends('layouts.main')
@section('meta-title')
{{ $user->first_name }} {{ $user->last_name }} | Team NFC
@endsection
@section('page-title')
<img class="page-avatar page-avatar--circle" src="{{ $user->avatar }}" alt="{{ $user->first_name }} {{ $user->last_name }} profile image" /> {{ $user->first_name }} {{ $... |
<?php
class Gebruikscode
{
const __default = 'a10';
const a10 = '10';
const a11 = '11';
const a12 = '12';
const a20 = '20';
const a21 = '21';
const a30 = '30';
const a31 = '31';
const a40 = '40';
const a80 = '80';
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreatePaymentsTable extends Migration {
public function up()
{
Schema::create('payments', function(Blueprint $table) {
$table->increments('id');
$table->string('method', 255);
$table->enum('status', array... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use App\Models\BillofLandingStageComponent;
class UpdateBillofLandingStageComponentRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public funct... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- TITLE -->
<title>@yield('title')</title>
<meta name="description" content="@yield('description')">
<meta name="keywords" content="@yield('keywords')">
<meta name="author" content="Saleh Khaled">
<meta name="viewport" conten... |
<?php
namespace App\Notifications;
use App\Models\Order;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
class orderNotification extends Notification
{
use Queueable;
protected $order_notif... |
<?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
/*
Copyright 2013 © iMIS <jalexiscv@gmail.com>
*/
//------------------------------------------------------------------------------------------
// Definiciones
// Conexión con la Base de Datos.
$db_server = "localhost";
$db_name = "agb";
$db_username = "root";
$db_password = "";
// Acceso al script.
$aut... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
public function posts()
{
return $this->hasMany(Post::class, 'category_id');
}
} |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\TuanRumah */
$this->title = 'Update Tuan Rumah: ' . $model->id_tuan;
$this->params['breadcrumbs'][] = ['label' => 'Tuan Rumahs', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id_tuan, 'url' => ['view', ... |
<?php
namespace app\controllers;
use yii\filters\AccessControl;
class VisitorsLogController extends \app\libs\controller\BaseController
{
public $layout = "@app/views/layouts/backend/main.php";
public function behaviors() {
return [
'access' => [
'class' => AccessControl:... |
<?php
require 'config/config.php';
include("includes/classes/User.php");
include("includes/classes/Post.php");
include("includes/classes/Message.php");
include("includes/classes/Notification.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'includes/head.php'; ?>
<title>Settings | Twitbook</title>
</he... |
@extends('layouts.app')
@section('content')
<h3>Сумма - {{$profit->sum}} UAH</h3>
<h3>Источник дохода - {{$profit->source}}</h3>
<h3>Комментарий - {{$profit->comment}}</h3>
<h3>Категория - {{$profit->category->name}}</h3>
<h3>Пользователь - {{$profit->user->name}}</h3>
<h4><a href="{{route('profits.index')}}">Назад</a>... |
<?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... |
@extends('layouts.dashboard')
@section('content')
<supervisores-component :user="{{ Auth::user() }}"><supervisores-component>
@endsection |
@extends($layout)
@section('content')
<div class="section">
<div class="container">
<table class='table table-bordered table-striped'>
<tr><td>Installation</td><td>{{sys_settings('installation')}}</td></tr>
<tr><td>Title</td><td><a href='#' data-url='{{url('system_s... |
<?php
namespace App\Models;
use CodeIgniter\Model;
class ProductosAdminModel extends Model
{
protected $table = 'producto';
protected $primaryKey = 'id_producto';
protected $useAutoIncrement = true;
protected $returnType = 'array';
protected $useSoftDeletes = false;
protected $al... |
<?php
// My modifications to mailer script from:
// http://blog.teamtreehouse.com/create-ajax-contact-form
// Added input sanitizing to prevent injection
// Only process POST reqeusts.
if ($_SERVER["REQUEST_METHOD"] == "POST") {
// Get the form fields and remove whitespace.
$name = ... |
<?php
namespace App\CoreBundle\Command;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class... |
<?php
use Illuminate\Database\Seeder;
use App\Role;
class RoleTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//Usuario con permisos de edicion GENERAL - MODO DIOS
$role = new Role();
$role->nombre = 'super'... |
<?php namespace App\Models;
use View;
use Auth;
use Illuminate\Database\Eloquent\Model;
class Coberturas extends Model {
protected $table = 'Coberturas';
}
?> |
<?php
namespace app\modules\webdriver\models;
class User extends \yii\base\Object implements \yii\web\IdentityInterface
{
public $id;
public $username;
public $password;
public $authKey;
public $accessToken;
private static $users = [
'100' => [
'id' => '100',
'... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<?= form_open('home/userRegister', array('class'=>'form-horizontal')); ?>
<legend>Ingreso al sistema</legend>
<?= my_validation_errors(validation_errors()); ?>
<div class="control-group">
<?= form_label('Usuario: ', 'login', array('cla... |
<?php
namespace P3x\Template;
use P3x\Template as tpl;
/**
* Class Face
* @package P3x\Template
*/
class Face
{
/**
* @var array|null
*/
protected $arguments = null;
/**
* Face constructor.
* @param array ...$arguments
*/
public function __construct(... $arguments)
{
... |
<?php namespace Acme\Contactform\Controllers;
use Backend\Classes\Controller;
use BackendMenu;
class Applications extends Controller
{
public $implement = [
'Backend\Behaviors\ListController',
'Backend\Behaviors\FormController',
'Backend\Behaviors\ReorderController'
];
public $lis... |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
class ResetPassword extends Notification implements ShouldQueue
{
use Queueable;
protected $token;
/... |
<?php
$row_data = array(
'My Book',
2012,
'Hans',
'32',
'fantasy'
);
$field_mappings = array(
'book[].name',
'book[].year',
'book[].author[].name',
'book[].author[].age',
'book[].category[]'
);
$expected_entry = array('book' => array(
'name' => 'My Book',
'year' ... |
<?php
/**
* ZfcUser Configuration
*
* If you have a ./config/autoload/ directory set up for your project, you can
* drop this config file in it and change the values as you wish.
*/
$settings = array(
/**
* Zend\Db\Adapter\Adapter DI Alias
*
* Please specify the DI alias for the configured Zend\... |
<?php
namespace SepiaRiver;
use SepiaRiver\BinlinerException;
class Validation
{
public function __construct($validation)
{
if (
is_callable($validation) ||
in_array(
gettype($validation),
['string', 'integer', 'array']
)
) {... |
@extends('layouts.app')
@section('content')
<div class="card p-3 mb-2 bg-secondary text-white">
<h5 class="card-header">Details</h5>
<div class="card-body">
<div class="mb-4">
<form action = "/showhr/<?php echo $users[0]->BookingId; ?>" method = "post">
<input type = "hidden" name = "_tok... |
<?php
namespace app\index\controller;
use think\Cache;
use think\Db;
use think\Controller;
use think\Request;
use app\index\controller\Jssdk;
/**
* 表白墙
*/
class Love extends Base
{
public static $baseurl = 'http://cd.cdhand.com/public/index.php/index/love/index';
public function index()
{
return view();
}
p... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This m... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\DB;
use App\Tevo\Brokerage;
use App\Tevo\Category;
use App\Tevo\Configuration;
use App\Tevo\Event;
use App\Tevo\Office;
use App\Tevo\Performer;
use App\Tevo\Venue;
class CreateTevoHarvestTables... |
<?php
namespace App\Http\Controllers;
use App\Survey;
use App\Category;
use App\Scale;
use App\Post;
use App\Department;
use App\Industry;
use App\Person;
use Illuminate\Http\Request;
class SurveyController extends Controller
{
/**
* Store a newly created resource in storage.
*
* @param \Illumina... |
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=petto_db',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
]; |
@extends('admin.layouts.app')
@section('content')
<div class="layout-px-spacing">
<div class="row layout-top-spacing">
<div class="col-xl-12 col-lg-12 col-md-12 col-12 layout-spacing">
<div class="widget-content-area br-4">
... |
<?php
namespace App\Http\Controllers;
use App\Models\Tenant;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class TenantsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminat... |
<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:67:"D:\demo\fastadminR\public/../application/index\view\user\index.html";i:1588765311;s:61:"D:\demo\fastadminR\application\index\view\layout\default.html";i:1588765311;s:58:"D:\demo\fastadminR\application\index\view\common\meta.html";i:1588765311;s:61:"D:\demo\fastadmi... |
<?php
namespace App\Http\Controllers\Comments;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\CommentField;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;
use Validator;
class commentFieldController extends Controller
{
public function getCommentField($i... |
<?php
/*
[UCenter] (C)2001-2099 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: avatar.php 1144 2013-01-31 06:47:43Z zhangjie $
*/
error_reporting(0);
_get_script_url();
define('UC_API', strtolower(($_SERVER['HTTPS'] == 'on' ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].substr($_SERV... |
<?php
date_default_timezone_set("UTC");
echo date( DATE_ATOM, strtotime( "2006-03-03 08:47:55" ) ), "\n";
echo date( DATE_W3C, strtotime( "2006-03-03 08:47:55" ) ), "\n"; |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This m... |
<?php
namespace AlbaBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
/**
* Class DashboardController
* @package AlbaBundle\Controller
* @Route("/adminpanel")
*/
c... |
<?php
declare(strict_types=1);
namespace Sylius\RefundPlugin\Refunder;
use Prooph\ServiceBus\EventBus;
use Sylius\RefundPlugin\Creator\RefundCreatorInterface;
use Sylius\RefundPlugin\Event\ShipmentRefunded;
use Sylius\RefundPlugin\Model\RefundType;
use Sylius\RefundPlugin\Model\ShipmentRefund;
final class OrderShip... |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:53:"D:\lyk\public/../application/h5\view\trip\detail.html";i:1557992690;s:45:"D:\lyk\application\h5\view\public\header.html";i:1557896290;s:45:"D:\lyk\application\h5\view\public\footer.html";i:1557906908;}*/ ?>
<html>
<head>
<meta charset="utf-8">
<meta name="v... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use \Serverfireteam\Panel\CrudController;
use Illuminate\Http\Request;
class categoriesController extends CrudController{
public function all($entity){
parent::all($entity);
$this->filter ... |
<?php declare(strict_types=1);
namespace Boxalino\DataIntegrationDoc\Framework\Console\Product;
use Boxalino\DataIntegrationDoc\Framework\Integrate\Mode\Configuration\DeltaTrait;
use Boxalino\DataIntegrationDoc\Framework\Integrate\Type\ProductTrait;
use Boxalino\DataIntegrationDoc\Framework\Util\DiConfigurationInterfa... |
@extends('layouts.master')
@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') }}</div>
<div class="card-body">
<... |
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";s:5:"aprix";s:4:"type";s:7:"integer";s:6:"length";N;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:0;s:7:"options";a:0:{}s:16:"columnDefinition";N;}}'); |
<?php
/*
* @author Vladislav Lyshenko <vladdnepr1989@gmail.com>
*/
namespace App;
class Walker
{
/**
* @var Advice[]
*/
private $advices = [];
/**
* @var float
*/
private $avgX = 0.0;
/**
* @var float
*/
private $avgY = 0.0;
/**
* @var float
*/
... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model frontend\modules\admin\models\Country */
$this->title = Yii::t('country','Create country');
$this->params['breadcrumbs'][] = ['label' => Yii::t('admin','Country'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div c... |
<?php
/**
* Bluz Framework Component
*
* @copyright Bluz PHP Team
* @link https://github.com/bluzphp/framework
*/
declare(strict_types=1);
namespace Bluz\Crud;
use Bluz\Http\Exception\NotImplementedException;
/**
* Crud
*
* @package Bluz\Crud
* @author Anton Shevchuk
* @link https://github.com... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "tasks".
*
* @property int $id
* @property string $final_date
* @property int $dt_add
* @property int $category_id
* @property string $deskription
* @property string $expire
* @property string $name
* @property string $address
* ... |
<?php
use App\Models\Language;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddRtlLanguages extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
$language... |
<?php /*a:1:{s:87:"D:\phpstudy_pro\WWW\www.agency.com\application\index\view\reserve_goods\dl_dinghuo.html";i:1568801345;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit" />
<meta name="force-rendering" content="webkit" />
<meta http-equiv="X-UA-Compatible" cont... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Comment */
$this -> title = 'Create Comment';
$this -> params['breadcrumbs'][] = ['label' => 'Comments', 'url' => ['index']];
$this -> params['breadcrumbs'][] = $this -> title;
?>
<header class="admin-index">
<h1><?= Html ::enco... |
@extends('homes.layout')
@section('title','饿了么-网上订餐_外卖_饿了么订餐官网')
@section('content')
<link href="/home/css/vendor.eb86f5.css" rel="stylesheet">
<link href="/home/css/profile.4b02a0.css" rel="stylesheet">
<div ng-view="" role="main" class="ng-scope">
<div class="profile-container container" profile-contain... |
<?php
// If install.php was deleted, don't allow access!
defined('OKAY_TO_MIGRATE') OR die('No direct access allowed.');
require_once 'Migration.php';
class Migrator
{
protected $db;
protected $current_version; // checked by constructor
protected $migrations_dir;
function __construct(&$db, $migrations_dir=nul... |
<?php
namespace App\Http\Controllers;
use App\Models\BookBorrowDetails;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\DB;
class BookBorrowDetailsController extends Controller
{
//create data start
public function store(Request $request){
$valida... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateMedalTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('medal', function(Blueprint $table)
{
$table->integer('id', true);
$table->... |
<?php
namespace App;
use DB;
use App\Quotation;
use Illuminate\Database\Eloquent\Model;
class Log extends Model
{
protected $table = 'tbl_log';
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.