text stringlengths 2 1.03M |
|---|
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateServicesTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('services', function(Blueprint $table)
{
... |
<?php
Wind::import('ADMIN:library.AdminBaseController');
Wind::import('APPCENTER:service.srv.helper.PwApplicationHelper');
Wind::import('APPCENTER:service.srv.helper.PwManifest');
/**
* 后台 - 我的应用
*
* @author Zhu Dong <zhudong0808@gmail.com>
* @copyright ©2003-2103 phpwind.com
* @license http://www.windframework.co... |
@extends('layouts.app')
@section('content')
@if ($errors->any())
<div class="alert alert-danger">
<strong>Whoops!</strong> Something went wrong.<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\PetTypeRequest;
use App\PetType;
use Illuminate\Http\Request;
class PetTypeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(PetTypeRequest $re... |
<?php
include ('../config.php');
$isbn = mysqli_real_escape_string($conn, $_POST['barcode']);
$sql = "SELECT * FROM books WHERE isbn = $isbn AND status = 'LOANED'";
$result = $conn->query($sql);
$row = $result->fetch_assoc();
if ($result->num_rows > 0) {
$sql = "UPDATE LENDS SET status = 'FINISHED' WHERE targetbook... |
<?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 an... |
<?php
namespace App\Http\Controllers;
use Specialtactics\L5Api\Http\Controllers\RestfulChildController as BaseChildController;
abstract class ChildController extends BaseChildController
{
} |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class Staff extends Model
{
protected $table = 'staff';
} |
<?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
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProduitUserTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('produit_use... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'plugins://pagination/pagination.yaml',
'modified' => 1483473142,
'data' => [
'enabled' => true,
'built_in_css' => true,
'delta' => 0
]
]; |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\QuizRequest;
use Illuminate\Http\Request;
use App\Models\Quiz;
use App\Models\Region;
class QuizController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function ind... |
<?php
/**
* Elasticsearch PHP client
*
* @link https://github.com/elastic/elasticsearch-php/
* @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
* @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Le... |
<?php
include 'loader.php';
?>
<!DOCTYPE HTML>
<html>
<head>
<title>Nuevo Shop a Ecommerce Online Shopping Flat Bootstarp Resposive Website Template | Home :: w3layouts</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<met... |
@extends('admin.layouts.app')
@section('style')
<link rel="stylesheet" href="{{asset('css/products.css')}}">
<link href="https://unpkg.com/gijgo@1.9.13/css/gijgo.min.css" rel="stylesheet" type="text/css"/>
@endsection
@section('content')
{{-- MODAL --}}
<div class="modal hide bd-example-modal-lg" id... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Migration_Install_ion_auth extends CI_Migration {
private $tables;
public function __construct() {
parent::__construct();
$this->load->dbforge();
$this->load->config('ion_auth', TRUE);
$this->tables = $this->config->item('tables', ... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Facades\Auth;
class Planner extends Model
{
use SoftDeletes;
protected $table = 'planner';
protected $primaryKey = 'id';
protected $fillable = ['user_id', 'task_i... |
<?php
if (Sentry::check())
{
$user_id = Sentry::getuser()->id;
$empresa = User::find($user_id)->empresas->first();
$productos = Empresa::find($empresa->id)->productos;
// $producto = Productos::find();
}
else{
$avatar = Recursos::ImgAvatar($perfil);
}
... |
@extends('layouts.admin')
@section('content')
<h1>Create Post</h1>
<div class="row">
{!! Form::open(['method'=>'POST', 'action'=>'AdminPostsController@store', 'files'=>true]) !!}
<div class="form-group">
{!! Form::label('title', 'Title:') !!}
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Xác thực địa chỉ Email của bạn') }}</div>
<div class="card-body">
... |
<!doctype html>
<html lang="en">
<head>
<title>Antrian</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/boot... |
<?php
return [
'backup' => [
/*
* The name of this application. You can use this name to monitor
* the backups.
*/
'name' => env('APP_NAME', 'laravel-backup'),
'source' => [
'files' => [
/*
* The list of directorie... |
<?php
namespace App\Http\Resources\Stories;
use App\Helpers\Status;
use App\Repositories\Likes\LikeRepository;
use App\Services\Stories\StoryService;
use Illuminate\Http\Resources\Json\JsonResource;
use \Illuminate\Http\Request;
class StoryResource extends JsonResource
{
/**
* @param Request $request
... |
<?php
/**
* Sitengine - An example serving as a pattern
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
*
* @category Sitengine
* @package Sitengine_Newsletter
* @copyright Copyright (c) 2007, Christian Hoegl, Switzerland (... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCeoNewsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ceo_news', functi... |
@extends('layouts.admin')
@section('main_admin')
<section class="content">
<div class="row">
<div class="col-md-4">
<div class="box box-info">
<div class="box-header">
<h3 class="box-title">Thêm mới phương thức giao hàng</h3>
</div>
... |
<x-layouts.app>
<div class="row">
<div class="col-md-8">
<div class="card card-profile card-plain">
<div class="row">
<div class="col-lg-12 ps-0 my-auto">
<div class="card-body text-left">
<div class="p-md-0 pt-3">
<h5 class="font-weight-bolder mb-0">Rol</h5>
... |
<div class="container">
<div class="row justify-content-md-center">
<div class="col-9">
<div class="card">
<div class="card-header">
Tambah Pesanan
</div>
<!-- <?php echo json_encode(json_decode($json), JSON_PRETTY_PRINT); ?> -... |
<?php
declare(strict_types=1);
namespace Square\Models;
use Exception;
use Square\ApiHelper;
use stdClass;
class V1OrderState
{
public const PENDING = 'PENDING';
public const OPEN = 'OPEN';
public const COMPLETED = 'COMPLETED';
public const CANCELED = 'CANCELED';
public const REFUNDED = 'REF... |
<?php
namespace Bee\MVC;
/*
* Copyright 2008-2014 the original author or authors.
*
* 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/LICENSE-2.0
*... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTermsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('terms', function ... |
<?php
namespace NsLibrary\Builder;
use NsLibrary\Config;
use NsUtil\Helper;
class ControllerCreate {
private static $namespace;
public static function save($dados, $entidade) {
$controllersDefault = [
'Linktable',
'Trash',
'Uploadfile',
'Usuario',
... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUserJobsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_jobs', function (Blueprint $table) {
... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| API Keys
|--------------------------------------------------------------------------
|
| Set the public and private API keys as provided by reCAPTCHA.
|
| In version 2 of reCAPTCHA, public_key is the Site key,... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Auth_model extends CI_Model {
public $tables = array();
public $activation_code;
public $forgotten_password_code;
public $new_password;
public $identity;
public $_ion_where = array();
public $_ion_select = array();... |
<?php
include 'cache.php';
/* detect user agent */
$client_ua = array_key_exists('HTTP_USER_AGENT', $_SERVER) ? $_SERVER['HTTP_USER_AGENT'] : "";
if (!is_string($client_ua)) die('client ua error');
$not_ie_flag = strpos($client_ua, 'MSIE') === false ? 1 : 0;
/* set framework settings */
... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\MessageController;
use App\Http\Controllers\UserController;
/*
|--------------------------------------------------------------------------
| API Routes
|------------------------------------------------------------------... |
<?php
//https://stackoverflow.com/questions/20711891/php-easier-way-to-hide-show-menu-items-to-logged-in-logged-out-users
session_start();
if ($_SESSION["userlevel"]=="")
{
header('location:index.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="... |
@extends('layouts.app')
@section('title','Welcom Homepage')
@section('content')
<div class="container">
<br> <br>
<h1 align="center">การจัดการข้อมูล ปรับสถานะการเข้าร่วมอบรม</h1>
<div class="row">
<div class="col-md-12">
<br>
<form name='frmMain' metho... |
<?php
require_once 'HTMLPurifier/AttrDef/HTML/Bool.php';
/**
* XHTML 1.1 Legacy module defines elements that were previously
* deprecated.
*
* @note Not all legacy elements have been implemented yet, which
* is a bit of a reverse problem as compared to browsers! In
* addition, this legacy module m... |
.registerbtn {
background-color: #4CAF50;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
}
.registerbtn:hover {
opacity: 1;
}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="" />
<meta name="author"... |
@extends ('layouts.admin3')
@section ('contenido')
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12" style="float:right;">
<div class="info-box bg-green">
<span class="info-box-icon"><i class="fa fa-user"></i></span>
<div class="info-box-content">
<span class="info-box-text">S. Selec... |
<?php
require __DIR__ . '../vendor/autoload.php';
use SignNow\AmqStomp\Exceptions\StompException;
use SignNow\AmqStomp\Messages\Map;
use SignNow\AmqStomp\Stomp;
try {
// make a connection
$con = new Stomp("tcp://localhost:61613");
// connect
$con->connect();
// send a message to the queue
$body = ["city" ... |
<?php
namespace BT\FrontBundle\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://symfony.co... |
<?php
class mseAliasRemoveProcessor extends modObjectRemoveProcessor {
public $checkRemovePermission = true;
public $objectType = 'mseAlias';
public $classKey = 'mseAlias';
public $languageTopics = array('msearch2');
}
return 'mseAliasRemoveProcessor'; |
<?php
namespace paperbagsng\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
/**
* Register any application services.
... |
@extends('admin.akun.home')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
@if(Session::has('pesan_sukses'))
<div class="alert alert-success alert-block">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>{!! session('pe... |
@extends('layouts.app')
@section('title')
Description
@endsection
@section('content')
<div class="container">
<br>
<div class="row justify-content-center">
<div class="col-md-6">
<h2>Post Description</h2>
</div>
<div class="col-md-6">
<div class="float-right">
<a href="{{ r... |
<?php
namespace Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses;
trait FooTrait
{
public function doBar()
{
$baz = self::class;
if (true) {
}
}
} |
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Users') }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-xl sm:rounde... |
<?php
/**
* COmanage Registry CO Model
*
* Portions licensed to the University Corporation for Advanced Internet
* Development, Inc. ("UCAID") under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* UCAID ... |
<?php
namespace App\Http\Requests\Ajax\Hrm\JobTitle;
use App\Http\Requests\FeatureRequest;
class ShowRequest extends FeatureRequest
{
/**
* @var array
*/
protected $refs = [
'module' => 'job_title',
'action' => 'read',
];
} |
<?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
/*******************************************************************************
* Copyright 2009-2019 Amazon Services. 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 ... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use App\Contract\Admins\Customer\CustomerGroupContract as CustomerGroupContract;
class RepositoryServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
... |
<?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
/**
* @file
* Contains \Drupal\forum\Tests\Migrate\d7\MigrateForumSettingsTest.
*/
namespace Drupal\forum\Tests\Migrate\d7;
use Drupal\migrate_drupal\Tests\d7\MigrateDrupal7TestBase;
/**
* Tests migration of Forum's variables to configuration.
*
* @group forum
*/
class MigrateForumSettingsTest extends ... |
<?php
namespace Zeero\DataBase\ORM\traits;
use PDOStatement;
use Zeero\Core\Exceptions\DbNotFoundException;
use Zeero\Database\DataBase;
use Zeero\DataBase\QueryBuilder\Select;
/**
* Trait
*
* contains all CRUD operation in ORM
*
* @author carlos bumba <carlosbumbanio@gmail.com>
*/
trait OperationTrait
{
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pages', function ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Freelancer - Start Bootstrap Theme</title>
<!-- Favicon-->
... |
@extends('admin.layout.index')
@section('content')
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Thể Loại
<small>Danh sách</small>
</h1>
</div>
<!-- /.col-lg-12 -->
@if(session('thongbao'))
<div class="alert aler... |
<?php
declare(strict_types=1);
namespace Yiisoft\Data\Reader\Filter;
interface FilterInterface
{
public static function getOperator(): string;
public function toArray(): array;
} |
<div id="category_tree">
<div class="tit">所有商品分类</div>
<dl class="clearfix" style=" overflow:hidden;" >
<div class="box1 cate" id="cate">
<?php $_from = $this->_var['categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'cat');$this->_foreach['no'] = arra... |
<?php
/**
* @defgroup Watchlist Users watchlist handling
*/
/**
* Implements Special:EditWatchlist
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
... |
<?php declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (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.
*/
namespace PHPUnit\Util;
use const ENT_COMPAT;
use const ENT_SUBSTI... |
<?php
namespace Oro\Bundle\UIBundle\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\Reference;
class ContentProviderPass implements CompilerPassInterface
{
... |
<?php
namespace App\Http\Controllers;
use DB;
use Illuminate\Http\Request;
class UserController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the applicatio... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class UserPicture extends Model
{
// la foto dell'user appartiene all'user
public function user() {
return $this->belongsTo('App\User');
}
} |
<!-- Header -->
<div class="header bg-gradient-default pb-8 pt-5 pt-md-8">
</div>
<!-- Page content -->
<div class="container-fluid mt--8">
<!-- Table -->
<div class="row">
<div class="col">
<div class="card shadow">
... |
<?php
/**
* Mockery
*
* 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://github.com/padraic/mockery/blob/master/LICENSE
* If you did not receive a copy of the lice... |
<?php
/**
* Hestia functions and definitions
*
* @package Hestia
* @since Hestia 1.0
*/
define( 'HESTIA_VERSION', '2.5.6' );
define( 'HESTIA_VENDOR_VERSION', '1.0.2' );
define( 'HESTIA_PHP_INCLUDE', trailingslashit( get_template_directory() ) . 'inc/' );
define( 'HESTIA_CORE_DIR', HESTIA_PHP_INCLUDE . 'core/' )... |
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200806172942 extends AbstractMigration
{
public function getDescription() : string
{... |
<?php
namespace AragornYang\Onix\ProductFeatures;
use AragornYang\Onix\CodeInList;
use AragornYang\Onix\CodeLists\CodeList6BarcodeIndicator;
trait HasBarcode
{
/** @var CodeInList */
protected $barcode;
public function getBarcode(): string
{
return $this->barcode ? $this->barcode->code() : '... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class UserMealSubcategories extends Model
{
//
} |
<?php
namespace Bolt\Tests\Extension;
use Bolt\Asset\File\JavaScript;
use Bolt\Asset\File\Stylesheet;
use Bolt\Asset\Snippet\Snippet;
use Bolt\Asset\Widget\Widget;
use Bolt\Filesystem\Adapter\Memory;
use Bolt\Filesystem\Filesystem;
use Bolt\Filesystem\Handler\Directory;
use Bolt\Filesystem\Manager;
use Bolt\Tests\Bol... |
<?php
/**********************************************************************************************************************************
*
* Size Control Settings
*
* Author: Webbu Design
*
********************************************************************************************************************************... |
<?php
include "connect.php";
$d_name = $_POST['d_name'];
if($d_name != ""){
$sql = "SELECT * FROM department WHERE d_name = '$d_name'";
$result = mysqli_query($conn,$sql)
or die("3. ไม่สามารถประมวลผลคำสั่งได้") . mysql_error();
$total = mysqli_num_rows($result);
if ($total == 0){
$sql = "INSERT INTO... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Profiles extends PS_Controller{
public $menu_code = 'DBPROF'; //--- Add/Edit Profile
public $menu_group_code = 'DB'; //--- System security
public $title = 'Profiles';
public function __construct()
{
parent::__construct();
$this... |
<!DOCTYPE html>
<html lang="en">
<!-- Mirrored from themes.iamabdus.com/bigbag/1.1/cart-page.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 17 Jan 2017 09:29:48 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head>
<!-- SITE T... |
<?php
namespace Moell\Mojito\Http\Controllers;
use Illuminate\Http\Request;
use Moell\Mojito\Http\Requests\Menu\CreateOrUpdateRequest;
use Moell\Mojito\Models\Menu;
use Moell\Mojito\Models\Role;
use Moell\Mojito\Resources\Menu as MenuResource;
class MenuController extends Controller
{
/**
* @author moell<mo... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Item;
use App\Models\Trader;
use App\Models\TraderItem;
use Illuminate\Http\Request;
class TraderController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Res... |
<?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
| ... |
<!-- jQuery -->
<script src="{{asset('adminbackend/vendors/jquery/dist/jquery.min.js')}}"></script>
<!-- Bootstrap -->
<script src="{{asset('adminbackend/vendors/bootstrap/dist/js/bootstrap.bundle.min.js')}}"></script>
<!-- FastClick -->
<script src="{{asset('adminbackend/vendors/fastclick/lib/fastclick.js')}}"></scrip... |
<?php
return [
'rest-user-details-api' => [
'route_value' => '/rest/user-details/api',
'auth_check_requirements' => 'none',
'page_filename' => 'index',
'redirect_to' => '',
'route_type' => 'rest-web-service',
'allowed_request_methods' => ['GET'],
'controller_type' => 'oop-mapped',
'controller_class_n... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Link;
use Illuminate\Http\Request;
use Auth;
class LinkController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function __constr... |
<?php
namespace GreenCheap\User\Controller;
use GreenCheap\Application as App;
use GreenCheap\Application\Exception;
use GreenCheap\Routing\Annotation\Request;
use GreenCheap\Routing\Annotation\Route;
use GreenCheap\User\Annotation\Access;
use GreenCheap\User\Model\Role;
use GreenCheap\User\Model\User;
use JetBrains\... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCarsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cars', function (Blueprint $table) {
// to do... |
<?php
namespace App\Traits;
use Auth;
use DB;
use Input;
use Carbon\Carbon;
use Redirect;
use App\User;
use App\ProfileEducation;
use App\ProfileEducationMajorSubject;
use App\DegreeLevel;
use App\DegreeType;
use App\ResultType;
use App\MajorSubject;
use App\Country;
use App\Http\Requests;
use Illuminate\Http\Request... |
<?php
namespace Oro\Bundle\MessageQueueBundle\Test\Functional;
/**
* It is expected that this trait will be used in classes that have "getContainer" static method.
* E.g. classes derived from Oro\Bundle\TestFrameworkBundle\Test\WebTestCase.
*/
trait MessageQueueExtension
{
use MessageQueueAssertTrait;
/**... |
<?php $__env->startSection('content'); ?>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">
Lista de Legumbres
<a href="<?php echo e(route('legumbres.create')); ?>" class="b... |
</div>
<script>
CKEDITOR.replace('editor1');
</script>
</body>
</html> |
<?php defined('BASEPATH') || exit('No direct script access allowed');
/**
* Bonfire
*
* An open source project to allow developers to jumpstart their development of
* CodeIgniter applications.
*
* @package Bonfire
* @author Bonfire Dev Team
* @copyright Copyright (c) 2011 - 2015, Bonfire Dev Team
* @lice... |
<div class="page-content-wrapper">
<!-- BEGIN CONTENT BODY -->
<div class="page-content">
<div>
<h3 class="page-title"> Notifications> Help contents> Detail</h3>
<!-- <div style="width: 100%;"></div>-->
<button class="btn blue btn-outline" style="display: block; positi... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<?php echo $tittle ?>
</h1>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#"><i class="fa fa-dashboard"></i... |
<?php
/**
* ObjectSerializer
*
* PHP version 5
*
* @category Class
* @package GoDaddyDomainsClient
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* No descrip... |
<?php declare(strict_types=1);
/**
* This file is part of the Propel package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Propel\Generator\Behavior\NestedSet\Component\Query;
use Propel\Generat... |
@extends('layouts.admin')
@section('main-content')
<!-- Page Heading -->
<h1 class="h3 mb-4 text-gray-800">{{ $title ?? __('Blank Page') }}</h1>
<!-- Main Content goes here -->
<div class="card">
<div class="card-body">
<form action="{{ route('user.update', $user->id) }}" method="... |
<?php
/**
* ActivityEfficiencyFormulaParams
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package Servicepool2.0
* @subpackage model
* @author Your name here
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
*/
class ActivityEfficiencyFormulaParams exte... |
<?php
// Load libSSE via autoloader
require_once __DIR__ . '/../../vendor/autoload.php';
use Sse\Data;
use Sse\SSE;
use Sse\Event;
// Create a libSSE data instance, which is shared across all data instances
// in all PHP scripts. This allows easy cross-script communications for some of
// the magic we done here.
$da... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.