text stringlengths 2 1.03M |
|---|
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* 启动应用服务。
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
//DB::listen(function ($query){
//... |
<?php
namespace Ucenter\Controller;
use Think\Controller;
class ConfigController extends BaseController
{
public function _initialize()
{
parent::_initialize();
if (!is_login()) {
$this->error('请登陆后再访问本页面。');
}
$this->setTitle('编辑资料');
$this->_assignSelf();... |
<?php
namespace App\Models;
use App\Traits\CanGetTableNameStatically;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Repository extends Model
{
use HasFactory;
use CanGetTableNameStatically;
} |
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8" />
<title>Customer | Profile</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/f252491b10.js" crossorigin="anonymous"></script>
<link href="//netdna.bootstrapcdn.com/font-aweso... |
<?php
namespace APV\Table\Models;
use APV\Product\Models\Product;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class Table
* @package APV\Table\Models
*/
class Ta... |
<?PHP
/* comment \*/
$VAR = (INT)<<<HM
1336
HM;
Print(++$VAR); |
<?php
namespace App\Contracts\Http\Resource;
use Illuminate\Http\Resources\Json\ResourceCollection;
class CollectionTransformer extends ResourceCollection
{
public function all($request)
{
return $this->collection ? $this->collection->map->all($request) : [];
}
} |
<?php
/**
* This file is part of Totara LMS
*
* Copyright (C) 2017 onwards Totara Learning Solutions LTD
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License,... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class M_menu extends CI_Model
{
function get_master_menu()
{
return $this->db->get_where('n_menu', array('parent'=>0))->result();
}
function get_sub_menu()
{
return $this->db->where('parent > 0')->get('n_menu')->result();
}
function ge... |
<?php
namespace App\Http\Middleware;
use Closure;
use Auth;
class Admin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (!Auth::user()... |
<?php
/* @var $this NewsController */
/* @var $data Content */
?>
<!-- article - text -->
<div class="prev-article row">
<div class="blog-prev-date col-md-3 col-sm-3">
<?php echo Content::get_picture_responsive($data->id); ?>
<span class="info hidden-xs">
<span class="block"><i c... |
<?php
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Phalcon\Tests\Integration\Cache\Cache;
use In... |
<?php
namespace App\Http\Controllers\Mail;
use App\Contactmails;
use App\Mail\Contact;
use App\Mail\AdminContact;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Sup... |
<?php
namespace App\Models;
use App\Notifications\VerifyUserNotification;
use Carbon\Carbon;
use Hash;
use Illuminate\Auth\Notifications\ResetPassword;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Fou... |
<?php
require_once(__DIR__ . "/../model/config.php");
$array = array(
'exp'=> '',
'exp1'=> '',
'exp2'=> '',
'exp3'=> '',
'exp4'=> '',
);
$username = filter_input(INPUT_POST, "username", FILTER_SANITIZE_STRING);
$password = filter_input(INPUT_POST, "p... |
<?php
$this->load->view('admin/tree/head');
$this->load->view('admin/tree/navbar');
$this->load->view('admin/tree/sidebar');
?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
... |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\Microsoft;
use JMS\Serializer\Annotation\ExclusionPolic... |
<?php
use DevLucid\lucid;
class ModelPatches extends \DevLucid\Model implements \DevLucid\ModelInterface
{
public static $_table = 'patches';
public static $_id_column = 'patch_id';
# Use this property to mark columns as read-only. Any attempt to set the value of the columns in this array
# will thr... |
<?php include 'header.php'; ?>
<?php include 'search-form.php'; ?>
<?php include 'flash.php'; ?>
<?php foreach ($categories as $category): ?>
<a name="<?php _e($category->url); ?>"></a>
<h3><?php _e($category->name); ?> <?php echo $lang->t('jobs|jobs'); ?> <a href="<?php _e(BASE_URL . "categories/{$category->i... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class AuthController extends Controller
{
public function register(Request $request)
{
$validator = Validator::make($request->all(), [... |
@extends('adminlte::page')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header">Edit config #{{ $config->id }}</div>
<div class="card-body">
... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="styleshee... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Backpack\CRUD\CrudTrait;
class FileService extends Model
{
use CrudTrait;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'user_id', 'tuning_type_id', 'make', 'mo... |
@extends('layouts.layout')
@section('content')
<div class="container p-5 h-100 moco-layout-height">
<div class="card">
<div class="card-header text-center font-weight-bold">
<h2 class="blue-grey-darker-hover">{{ __('Stock restocking') }}</h2>
</div>
<div ... |
<html lang="en">
<title>Omnis Agro</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content=... |
<?php
namespace ClouSale\AmazonSellingPartnerAPI;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\RequestOptions;
class SellingPartnerOAuth
{
/**
* @param $clientId
* @param $clientSecret
* @return mixed
*
* @throws GuzzleException
*/
public stati... |
@extends('layouts.master')
@section('content')
<div class="container mb-2" style="margin-top: 7rem;">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Dashboard') }}</div>
<div class="card-body">
... |
<?php
include "menu.php";
?>
conteudo da página (vagas) |
@extends('layouts.front')
@section('content')
<!-- client area end -->
<section class="offer-area" id="area">
<div class="container">
<h3>Alarm System</h3>
<hr>
<h4>Best Alarm System – Home Alarm , Office Alarm, Theft Alarm Solution, Shop Alarm for Bang... |
<?php
use yii\db\Migration;
/**
* Class m190516_160921_abiturient
*/
class m190516_160921_abiturient extends Migration
{
/*
/**
* {@inheritdoc}
public function safeUp()
{
}
/**
* {@inheritdoc}
public function safeDown()
{
echo "m190516_160921_... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<?php
namespace App\Data\Models;
use Webpatser\Uuid\Uuid;
trait UsesUuid
{
protected static function bootUsesUuid()
{
static::creating(function ($model) {
if (! $model->getKey()) {
$model->uuid = (string) Uuid::generate(4);
}
});
}
public func... |
@extends('layouts.default')
@section('title', '所有用户')
@section('content')
<div class="offset-md-2 col-md-8">
<h2 class="mb-4 text-center">所有用户</h2>
<div class="list-group list-group-flush">
@foreach ($users as $user)
@include('users._user')
@endforeach
</div>
<div class="mt-3">... |
<?php
namespace Omneo\Qantas\Modules;
use Omneo\Qantas\Entities;
use Omneo\Qantas\Parsers;
use Omneo\Qantas\Requests;
use Omneo\Qantas\Exceptions;
use Carbon\Carbon;
Class Transactions Extends AbstractModule
{
/**
* @param int $frequentFlyerNumber
* @param Requests\TransactionFinalizeQuote $request
... |
Stef + Ash xo<br>
Co-Founders
<br>
<a href="http://www.beautyjunkie.com.au">www.beautyjunkie.com.au</a><br>
BEAUTY JUNKIE PTY LTD<br>
ABN 23 615 793 998<br><br>
<a href="http://www.beautyjunkie.com.au/"><img src="{{asset('assets/email/images/logo.png')}}" style="margin-right:8px;width:32px;height:32px;" /></a>
<a href... |
<?php
namespace App\Http\Requests\Admin\Info;
use Illuminate\Foundation\Http\FormRequest;
class MemoryInfoRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**... |
@extends('dosen.layouts.master')
@section('title', 'Edit Mata Kuliah Dosen')
@section('content')
<legend>Edit Profil Dosen</legend>
<div class="card-body">
<div class="table-responsive">
<form action="/updatepilihmatkul/{{$dosen->id}}" method="POST">
{{csrf_field()}}
<div class="cu... |
<?php //00551
// --------------------------
// Created by Dodols Team
// --------------------------
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_exists('dl')){@dl($__ln);}if(function... |
<form method="POST" action="<?= base_url($global->url)?>" enctype="multipart/form-data">
<div class="box box-primary animated bounceInRight">
<div class="box-header with-border">
<h3 class="box-title"><?= ucwords($global->headline)?></h3>
</div>
<div class="box-body">
<div class="form-group">
<label>Id... |
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class tachesType extends AbstractType
{
/**
* {@inheritdoc}
*/
public function buildForm(FormBuilderInterface $builder, ar... |
<?php
$params = require __DIR__ . '/params.php';
$db = require __DIR__ . '/db.php';
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'components' => [
... |
<?php
/**
* Created by PhpStorm.
* User: BDD
* Date: 2019/11/25
* Time: 14:07
*/
namespace common\enums;
class GoodsEnum extends BaseEnum
{
//裸钻信息
//净度
public static function getClarityList()
{
return \Yii::$app->services->goodsAttribute->getValuesByAttrId(DiamondEnum::CLARITY);
}
... |
<?php
namespace App\Models\Admin;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class PurchaseReturn extends Model
{
use SoftDeletes;
protected $table = 'purchase_return';
protected $fillable = [
'adjustment', 'created_by', 'updated_by',
];
public... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateModelBooksTable extends Migration
{
public function up()
{
Schema::create('book', function (Blueprint $table) {
$table->increments('id');
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\OrderItemSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="order-book-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
... |
@extends('params::layouts.params')
@section('params-content')
<div class="btn-toolbar mb-1" role="toolbar" aria-label="Toolbar with button groups">
<div class="btn-group form-btn-group" role="group" aria-label="">
<a class="btn btn-primary" href="{{ url('params/unit/create') }}">@lang('params::... |
<?php
declare(strict_types=1);
namespace DV\Mvc\EventSubscriber;
use DV\Mvc\Controller\AuthenticatedActionControllerException;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symf... |
<?php
/**
* Author: Nil Portugués Calderó <contact@nilportugues.com>
* Date: 12/18/15
* Time: 11:36 PM.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NilPortugues\SchemaOrg\Properties;
use NilPortugues\SchemaOrg\Schem... |
<?php
namespace AlibabaCloud\Aegis\V20161111;
use AlibabaCloud\Client\Request\RpcRequest;
/**
* Request of DescribeSasAssetStatisticsColumn
*
* @method string getSourceIp()
*/
class DescribeSasAssetStatisticsColumn extends RpcRequest
{
/**
* @var string
*/
public $product = 'aegis';
/**
... |
<?php
/**
* DeliverytimelineApi
* PHP version 5
*
* @category Class
* @package FrankHouweling\AzureDevOpsClient\Work
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Work
*
* No description provided (generated by Swagger Codegen https://github.com/swagger... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
/**
* @author Alex Phillips
* @license MIT
* @package PokemonAPI
*
* Date: 3/18/14
* Time: 7:02 PM
*/
namespace PokemonAPI;
/**
* Class PokemonAPI - this is really only meant to provide a global URL
* as well as provide a single file to include to
* include al... |
<?php
class MyObjet implements ArrayAccess
{
public function offsetSet($offset, $value) { }
public function offsetExists($offset) { }
public function offsetUnset($offset) { }
public function offsetGet ($offset)
{
return function ($var) use ($offset) { // here is the problem
var_d... |
<?php
use think\facade\Route;
// 无需token的接口
// no token apis
Route::rule('index/login', 'Index/login', 'POST')
->middleware(\app\middleware\CheckParam::class);
// 通用接口
// general apis
Route::rule('index/:name', 'Index/:name', 'POST')
->middleware([\app\middleware\CheckParam::class, \app\middleware\Auth::cla... |
<?php
namespace App\Filters;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Http\Request;
abstract class QueryFilter
{
/**
* The request object.
*
* @var Request
*/
protected $request;
/**
* The builder instance.
*
* @var Builder
*/
protected $builde... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Admin_kehilangan extends CI_Controller {
public function index()
{
$isi['data'] = $this->db->query("SELECT * FROM barang");
$this->load->view('admin/view_kehilangan',$isi);
}
} |
<?php
namespace SilverStripe\ORM;
use BadMethodCallException;
use InvalidArgumentException;
use SilverStripe\Core\Config\Config;
use SilverStripe\Core\Injector\Injector;
/**
* ManyManyList backed by a dataobject join table
*/
class ManyManyThroughList extends RelationList
{
/**
* @var ManyManyThroughQuery... |
<?php
$webRoot = '/vim';
if (file_exists(__DIR__ . '/config.php')) {
include(__DIR__ . '/config.php');
}
class Template
{
private $vars = array();
private $templatesPath = __DIR__ . '/templates';
public function __construct($template, $parent = null) {
$this->template = $template;
$t... |
<?php
session_start();
if($_SESSION['url'] !== 1){
header("Location:../girindex.php");
} else {
include "adminheader.php";
$_SESSION ['sil']=2;
$_SESSION ['onay']=2; ?>
<div class="row">
<div class="col-md-9">
<div class="content-box-large">
<div class="panel-heading">
<div class="panel-title">YORUM... |
@extends('layouts.plantilla')
@section('titulo')
Eneatipos: Los Numeros de Nuestra Vida
@endsection
@section('principal')
<div class="central">
<h2>EL CUATRO: ¿Cómo es en las relaciones?</h2>
<p>Estas características, en el plano social hacen que sea, básicamente, una persona
introspectiva.... |
<!DOCTYPE html>
<html lang="th">
<head>
<!-- herd -->
<?php require 'separate/home/head.php';?>
<script src="<?php echo base_url();?>assets/form_validator/jquery.min.js"></script>
<script src="<?php echo base_url();?>assets/js/bootstrap.min.js"></script>
<script... |
<?php
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\Tokenizer\Resolver;
use PhpCs... |
<?php
namespace App\Services;
use App\Models\Propriedade;
class PropriedadeService{
public function create(array $attributes){
try {
$propriedade = new Propriedade;
$propriedade->users_id = $attributes['users_id'];
$propriedade->nome = ucwords($attributes['nome']);
... |
@extends('layouts.app')
@section('title')
Teams & Users Index
@endsection
@section('content')
@if (session()->get('success'))
<div role="alert">
{{ session()->get('success')}}
</div>
@endif
<p>List of Teams</p>
<ul>
@foreach ( $teamAndUsers as $tu)
<li>
<h2>{{ $tu->team->team_name}}</h2>
@if( isset ($tu->users)... |
<?php
/**
* PEAR_Command_Config (config-show, config-get, config-set, config-help, config-create commands)
*
* PHP versions 4 and 5
*
* @category pear
* @package PEAR
* @author Stig Bakken <ssb@php.net>
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2009 The Authors
* @license http:... |
@extends('admin.master')
@section('content')
<div class="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
<div class="white-box">
<div class="col-sm-12">
... |
<?php
//error handler
//invoke the error handler
//error handler
function customError($errno, $errstr)
{
echo "<b>Error:</b> [$errno] $errstr<br />";
echo "Terminating script";
die();}
//set error handler
set_error_handler("customError",E_USER_WARNING);
//trigger error
$myvar=2;
if ($myvar>1)
{
trigge... |
<?php
/*
* This file is part of Totara LMS
*
* Copyright (C) 2010 onwards Totara Learning Solutions LTD
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Subjects extends ExistModel
{
protected $fillable = ['name', 'profiles_id', 'teacher_id', 'deleted'];
public function teacher()
{
return $this->belongsTo(Persons::class)->where('deleted', "=", 0);
}
} |
<div class="col-lg-12">
<section class="panel panel-default">
<form id="frm-lead" action="{{ route('leads.bulk.email') }}" method="POST">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="module" value="leads">
<div class="table-responsive">
<table class="table ta... |
<?php
/**
* @package OnlinePublisher
* @subpackage Tests.Model
*/
if (!isset($GLOBALS['basePath'])) {
header('HTTP/1.1 403 Forbidden');
exit;
}
class TestEmailaddress extends AbstractObjectTest {
function __construct() {
parent::__construct('emailaddress');
}
function testProperties() {
$obj = ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateStudentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('students', fun... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Live Chat Visitor</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="{{ $app_url }}/assets/visitor/icono.min.css">
<... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Auth\Events\PasswordReset;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\Password;
use Illuminate\Support\Facades\Hash;
class PasswordController extends Controller
{
public function forgotPassword(Request $request)
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base ... |
<?php declare(strict_types=1);
namespace Shopware\Core\Migration;
/**
* @deprecated tag:v6.5.0 Will be deleted. Migrations are now namespaced by major version
*/
class Migration1536232620SalesChannelType extends \Shopware\Core\Migration\V6_3\Migration1536232620SalesChannelType
{
} |
<?php
namespace BestBant\Facades;
use Illuminate\Support\Facades\Facade;
class Mailing extends Facade {
protected static function getFacadeAccessor()
{
return 'mailing';
}
} |
<?php
use Monolog\Handler\StreamHandler;
return [
/*
|--------------------------------------------------------------------------
| Default Log Channel
|--------------------------------------------------------------------------
|
| This option defines the default log channel that gets used whe... |
<?php $__env->startSection('titlePage','Chỉnh sửa trang'); ?>
<?php $__env->startSection('content'); ?>
<?php
$heading = array(
'heading_link' => url("admin/page"),
'heading_link_text' => 'Danh sách trang',
'heading_text' => 'Chỉnh sửa',
'heading_button' => '<a class="btn btn-primar... |
<?php
namespace Elgg;
use Elgg\Collections\Collection;
use Elgg\Config\DatarootSettingMigrator;
use Elgg\Config\WwwrootSettingMigrator;
use Elgg\Database\ConfigTable;
use ConfigurationException;
use Elgg\Project\Paths;
/**
* Access to configuration values
*
* @since 1.10.0
*
* @property int $action_tim... |
<?php
/**
* This software is intended for use with Oxwall Free Community Software http://www.oxwall.org/ and is
* licensed under The BSD license.
* ---
* Copyright (c) 2011, Oxwall Foundation
* All rights reserved.
* Redistribution and use in source and binary forms, with or without modification, are permitted... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Layanan;
use DataTables;
class AboutController extends Controller
{
public function index()
{
return view('admin.layanan.about.index');
}
public function json() {
... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Illuminate\Database\Eloquent\Model;
use App\Rko;
use App\Rs;
class User extends Authenticatable
{
use Notifiable;
/**
* The attribute... |
<?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\Exports;
use App\Buku;
use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithMapping;
use Maatwebsite\Excel\Concerns\WithHeadings;
class BukuExport implements FromCollection, WithMapping, WithHeadings
{
/**
* @return \Illuminate\Support\Collection
*/
pu... |
<!-- BASIC MEMBERS START-->
<section>
<div class="content-page">
<div class="content">
<!-- Start Content-->
<div class="container-fluid">
<div class="row page-title">
<div class="col-md-12">
<nav aria-label="br... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace Morebec\Orkestra\Framework\Authorization;
use Morebec\Orkestra\Messaging\MessageInterface;
use Symfony\Component\HttpFoundation\Request;
/**
* The authorization context is a type of object passed to Security Voters in order to pass more than a single object.
* This is used by the code generated by ... |
<?php
$vendorDir = dirname(__DIR__);
return array (
'yiisoft/yii2-faker' =>
array (
'name' => 'yiisoft/yii2-faker',
'version' => '2.0.3.0',
'alias' =>
array (
'@yii/faker' => $vendorDir . '/yiisoft/yii2-faker',
),
... |
<?php return unserialize('a:2:{i:0;O:26:"Doctrine\\ORM\\Mapping\\Table":5:{s:4:"name";s:13:"disponibilite";s:6:"schema";N;s:7:"indexes";N;s:17:"uniqueConstraints";N;s:7:"options";a:0:{}}i:1;O:27:"Doctrine\\ORM\\Mapping\\Entity":2:{s:15:"repositoryClass";N;s:8:"readOnly";b:0;}}'); |
<meta charset="utf-8">
<title>
{{ trans('global.global_title') }}
</title>
<meta http-equiv="X-UA-Compatible"
content="IE=edge">
<meta content="width=device-width, initial-scale=1.0"
name="viewport"/>
<meta http-equiv="Content-type"
content="text/html; charset=utf-8">
<!-- Tell the browser to be... |
<aside class="main-sidebar">
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<!-- Isikan query untuk user profil-->
<img src="<?= Yii::$app->request->baseUrl ?>/<?=$model->photo ?>" class="img-c... |
<?PHP
namespace Vpg\Disturb\Workflow;
use \Phalcon\Mvc\User\Component;
use Vpg\Disturb\Context\ContextStorageService;
use Vpg\Disturb\Workflow\WorkflowConfigDto;
/**
* Class WorkflowManager
*
* @package Disturb\Workflow
* @author Jérome BOURGEAIS <jbourgeais@voyageprive.com>
* @license https://github.com/vp... |
<?php
/*+***********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initi... |
<?php
namespace BitmovinApiSdk\Apis\Encoding\Encodings\Muxings\Mp3\Customdata;
use Carbon\Carbon;
use BitmovinApiSdk\Configuration;
use BitmovinApiSdk\Common\HttpWrapper;
use BitmovinApiSdk\Common\ObjectMapper;
use BitmovinApiSdk\Common\BitmovinApiException;
class CustomdataApi
{
/** @var HttpWrapper */
priv... |
<?php return array(
'root' => array(
'pretty_version' => '1.0.0+no-version-set',
'version' => '1.0.0.0',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => NULL,
'name' => 'laravel/laravel',
'dev' => true,
... |
<?php
/**
* Install plugin network administration panel.
*
* @package WordPress
* @subpackage Multisite
* @since 3.1.0
*/
if ( isset( $_GET['tab'] ) && ( 'plugin-information' == $_GET['tab'] ) ) {
define( 'IFRAME_REQUEST', true );
}
/** Load WordPress Administration Bootstrap */
require_once( dirname( __FILE__... |
<?php
namespace App\Http\Api;
use App\Enums\Image\ImageFormatsEnum;
use App\Http\Requests\ViewRequest;
use App\Models\Bucket;
use App\Models\Image;
use App\Models\View;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Http\Request;
use Illuminate\Http\... |
<?php
namespace App\Http\Controllers\Admin\Users;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class MetersDataController extends Controller
{
//
} |
<?php
/**
*
* Reputation System
*
* @copyright (c) 2014 Lukasz Kaczynski
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should us... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.