text stringlengths 2 1.03M |
|---|
<?php
return [
'role' => 'Role',
'roles' => 'Roles',
'table' => [
'name' => 'Name',
],
'tabs' => [
'role_information' => 'Role Information',
'general' => 'General',
'permissions' => 'Permissions',
],
'permissions' => [
'allow_all' => 'Allow all',
... |
<?php
/**
* getsqlController
* Получить описания всех таблиц
* @author Виталий Евсюков
*/
namespace lib;
class getsqlController extends DatasetsController
{
public function runStrategy()
{
$entities = array('TABLE', 'VIEW', 'PROCEDURE', 'FUNCTION', 'TRIGGER');
/**
* ops - ключ о... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
//$this->call(UsersTableSeeder::class);
$this->call(CategorisTableSeeder::class);
$this->call(ArtikelTableSeeder:... |
<?php
namespace App\Exports;
use App\Models\Members;
use Maatwebsite\Excel\Concerns\FromCollection;
use Illuminate\Contracts\View\View;
use Maatwebsite\Excel\Concerns\FromView;
class immoExport implements FromView
{
/**
* @return \Illuminate\Support\Collection
*/
public $data;
public function __c... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class TextJobMail extends Mailable
{
use Queueable, SerializesModels;
public $details;
/**
* Create a new message instance.
*... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Models\Person;
use Illuminate\Support\Facades\Auth;
class PersonController extends Controller
{
public function index(Request $request)
{
$user = Auth::user();
if(!$request->sort){
... |
<?php
if(!defined('QUERYPAGE_NO_INCLUDES')) {
require_once 'charts/chart.base.php';
require_once 'charts/chart.google.base.php';
if(isset($APP['register_custom_chart_type_func']))
$APP['register_custom_chart_type_func']();
foreach(array_keys(QueryPage::$chart_types) as $type)
require_once (isset(QueryPag... |
<?php
declare(strict_types=1);
namespace Ivory\Type;
use Ivory\Lang\Sql\Types;
abstract class TypeBase implements IType
{
private $schemaName;
private $name;
private $typeModifier;
public function __construct(string $schemaName, string $name, string $typeModifier = '')
{
$this->schemaName... |
<?php
namespace app\models;
use Yii;
use thamtech\uuid\helpers\UuidHelper;
/**
* This is the model class for table "lgu_employee_position".
*
* @property int $Id
* @property int $LguProfileId
* @property int $EmployeePositionId
* @property int $EmployeeStatusId
* @property int $NoOfEmployee
* @property string... |
<?php
namespace Laminas\Http\Header;
use DateTime;
use DateTimeZone;
use Exception;
use Laminas\Http\Header\Exception\InvalidArgumentException;
use function is_numeric;
use function is_string;
use function sprintf;
use function strtolower;
use function strtotime;
/**
* Abstract Date/Time Header
* Supports headers... |
<?php
namespace Illuminate\Foundation;
use Closure;
use Illuminate\Container\Container;
use Illuminate\Contracts\Foundation\Application as ApplicationContract;
use Illuminate\Contracts\Foundation\CachesConfiguration;
use Illuminate\Contracts\Foundation\CachesRoutes;
use Illuminate\Contracts\Foundation\MaintenanceMode... |
<?php
namespace App\Http\ViewComposers;
use Illuminate\View\View;
use App\Http\Controllers\ResourceController;
class ResourceComposer
{
public $resources = [];
public function __construct()
{
$this->resources = ResourceController::index();
}
public function compose(View $view)
{
... |
<!--SLIDER-->
<div class="slider">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" id="slider-nav" class="active"></li>
<li data-target="#myCarousel" data-slide-... |
@extends('auth')
@section('title')
密码重置
@endsection
@section('content')
<p class="login-box-msg">请填写新密码</p>
<form action="/password/reset" method="post">
{!! csrf_field() !!}
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group has-feedback">
<input type="email" name="e... |
<?php
namespace frontend\controllers;
use Yii;
use frontend\models\UploadForm;
use frontend\models\Item;
use frontend\models\ItemSearch;
use frontend\models\MasterNegeri;
use frontend\models\MasterDaerah;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelpe... |
<?php
// Error warning
echo validation_errors('<div class="alert alert-warning">','</div>');
// Attribut
$attribut='class="alert alert-info"';
// form open
echo form_open(base_url('admin/user/edit/'.$user->id_user),$attribut);
?>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Nama user</l... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Cproduccione extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'capacidad', 'codigo', 'costoadicional', 'costohora', 'descripcion','estado','nombre'
];
... |
<?php
/* This file has been prefixed by <PHP-Prefixer> for "Hello Prefixed World for Joomla" */
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*... |
@if ($items)
<div class="row">
@foreach ($items as $key => $item)
<div class="item">
<div class="col-md-3 col sm-4 col-xs-12">
<div class="panel panel-default">
<div class="panel-heading text-center">
<img s... |
<?php
namespace Google\AdsApi\AdManager\v202102;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class updateProposalsResponse
{
/**
* @var \Google\AdsApi\AdManager\v202102\Proposal[] $rval
*/
protected $rval = null;
/**
* @param \Google\AdsApi\AdManager\v202102\Proposal[] $rv... |
<?php
namespace App\Http\Requests\Accounting;
use Illuminate\Foundation\Http\FormRequest;
class StoreVatRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Языковые ресурсы для проверки значений
|--------------------------------------------------------------------------
|
| Последующие языковые строки содержат сообщения по умолчанию, используемые
| к... |
<?php
namespace Illuminate\Support;
use CachingIterator;
use Countable;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Jsonable;
use IteratorAggregate;
use JsonSerializable;
use Traversable;
/**
* @template TKey of array-key
* @template TValue
*
* @extends \Illuminate\Contracts\Supp... |
<?php /*a:1:{s:56:"D:\phpEnv\www\www.ytv.com\app\admin\view\admin\edit.html";i:1618066488;}*/ ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Tags extends Model
{
protected $fillable = ['name','slug'];
public function posts(){
return $this->belongsToMany('App\Models\Posts');
}
} |
<?php
/* Cachekey: cache/stash_default/overrides.5b3f65a2baa2a97503a5101d528e08ea/ */
/* Type: array */
/* Expiration: 2021-09-13T03:14:25+00:00 */
$loaded = true;
$expiration = 1631502865;
$data = array();
/* Child Type: object */
$data['return'] = unserialize(base64_decode('Tzo0MzoiQ29uY3JldGVcQ29yZVxGaWxlc3lzd... |
<?php
/**
* @copyright Copyright (C) 2015-2018 AIZAWA Hina
* @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT
* @author AIZAWA Hina <hina@bouhime.com>
*/
use app\components\db\Migration;
use app\components\db\WeaponMigration;
class m180126_090404_rapid_deco extends Migration
{
use Weapo... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Training extends Model
{
protected $fillable = ['ru_name', 'en_name', 'ua_name', 'year',
'ru_description', 'ua_description', 'en_description', 'color'];
} |
<x-app-layout>
<div class="container py-8">
@foreach ($categories as $category)
<section class="mb-6">
<div class="flex item-center mb-2">
<h1 class="text-lg uppercase font-semibold text-gray-700">
{{ $category->name }}
</h1>
<a href="{{route('categories.show',$category)}}"... |
<?php
namespace Admin\FormWidgets;
use Admin\Classes\BaseFormWidget;
use Admin\Traits\FormModelWidget;
use Admin\Traits\ValidatesForm;
use Admin\Widgets\Form;
use Igniter\Flame\Exception\ApplicationException;
use Igniter\Flame\Html\HtmlFacade as Html;
use Illuminate\Support\Facades\DB;
/**
* Record Editor
*/
class... |
<?php
/*
* This file is part of Laravel Credentials.
*
* (c) Graham Campbell <graham@alt-three.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace GrahamCampbell\Credentials\Presenters\RevisionDisplayers\User;
/**
* ... |
@extends('layouts.app')
@section('content')
@if($errMsg)
{{ $errMsg }}<br/>
@endif
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Login') }}</div>
... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Test class for \Magento\Catalog\Controller\Product (downloadable product type)
*/
namespace Magento\Downloadable\Controller;
class ProductTest extends \Magento\TestFramework\TestCase\AbstractController
{
... |
<?php
namespace Database\Seeders;
use App\Models\SubRubrosHijo;
use Illuminate\Database\Seeder;
class SubRubrosHijoTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
SubRubrosHijo::factory(3)->create();
}
} |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
// laravel knows that since this model is name Movie,
// its database table name is "movies"
class Movie extends Model {
protected $table = 'movies';
} |
<?php
namespace ClinchPad\Tests;
use ClinchPad\exception\ClinchPadAPIException;
use PHPUnit\Framework\TestCase;
/**
* ClinchPadFields test library.
*
* @package ClinchPadClient\Tests
*/
class ClinchPadFieldsTest extends TestCase
{
/**
* Tests library functionality for field information.
* @throws ... |
<?php
/* Turkceye Ceviren eka7a - http://e-piksel.com */
// Heading
$_['heading_title'] = 'Müşteri Etkinlik Raporu';
// Text
$_['text_extension'] = 'Eklentiler';
$_['text_edit'] = 'Müşteri Etkinlik Raporu Düzenle';
$_['text_success'] = 'Başarılı: Müşteri... |
</div>
<!-- /row -->
</section>
</section>
<!--footer end-->
</section>
<!-- js placed at the end of the document so the pages load faster -->
<script src="{{asset('lib/jquery/jquery.min.js');}}"></script>
<script src="{{asset('lib/bootstrap/js/bootstrap.min.js');}}"></script>
<scrip... |
@extends('layouts.master')
@section('content')
<div class="row mt-2 mb-3">
<div class="col-lg-6 col-md-6 col-sm-6">
<h2 class="_head01">Clients</h2>
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
<ol class="breadcrumb">
<li><a href="#"><span>Clients</span></a></li>
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFailedJobsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('failed_jobs'... |
<?php
/*
* This file is part of Sulu.
*
* (c) Sulu GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\MediaBundle\Media\ImageConverter;
use Sulu\Bundle\MediaBundle\Media\ImageConverter\Transformation\TransformationInter... |
<?php
$to = "backpiper.com@gmail.com";
$from = $_REQUEST['email'];
$name = $_REQUEST['name'];
$subject = $_REQUEST['subject'];
$cmessage = $_REQUEST['message'];
$headers = "From: $from";
$headers = "From: " . $from . "\r\n";
$headers .= "Reply-To: ". $from . "\r\n";
$headers .= "MIME-Versio... |
@include('site.header', ["title" => "Liste des cabinets agrée par opc Burundi"])
<style>
.content-principal{
margin: auto;
width: 75%;
}
.content-principal table{
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
table , td ,th,td {
border: 1px solid black;
text-align: left;
... |
<?php
namespace App\GraphQL\Mutation;
use Folklore\GraphQL\Support\Mutation;
use GraphQL\Type\Definition\ResolveInfo;
use GraphQL\Type\Definition\Type;
use GraphQL;
use App\Post;
class createPostMutation extends Mutation
{
protected $attributes = [
'name' => 'createPostMutation',
'description' => ... |
<?php
namespace App\Http\Controllers\Api;
use App\Events\Notices\MakeNoticeEvent;
use App\Http\Controllers\Controller;
use App\Http\Resources\CommonResource;
use App\Models\Common\Comment;
use App\Models\Common\Thumb;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Modules\Post\Entities\Post;
c... |
<?php
namespace App;
use App\Bautizo;
use App\Matrimonio;
use App\Confirmacione;
use Illuminate\Database\Eloquent\Model;
class Libro extends Model
{
protected $table = 'libros';
protected $fillable = [
'no_libro',
'no_folios',
'partidas',
'folio_actual',
'partida_actual',
'tipo... |
<?php
namespace Feed\Http\Controllers\Auth;
use Feed\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
class ResetPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|------------... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMessagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('messages', fun... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBlogPostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('blog_posts', ... |
@extends('admin.inc.navbar')
@section('content')
<!-- partial -->
<div class="main-panel">
<div class="content-wrapper">
<div class="row">
<div class="col-lg-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<h... |
<?php
namespace SearchQuery\FilterQueryString\Filters\NullClauses;
trait WhereNullClause
{
private function isNull($query, $filter, $values)
{
foreach((array)$values as $value) {
$query->whereNull($filter);
}
return $query;
}
} |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Amp_environment_model extends CI_Model
{
public function __construct()
{
parent::__construct();
$this->load->database();
}
public function index($ampId)
{
$this->db->select('*');
$this->db->from('amp_environment');
$this->db->w... |
<?php
/*
* $Id$
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CO... |
<?php
/**
* Created by PhpStorm.
* User: asus
* Date: 2018/1/21
* Time: 22:11
*/
namespace app\api\validate;
class AddressNew extends BaseValidate
{
protected $rule = [
'name' => 'require|isNotEmpty',
'mobile' => 'require|isMobile',
'province' => 'require|isNotEmpty',
'city' ... |
<?php
class ControllerLocalisationCurrency extends Controller {
private $error = array();
public function index() {
$this->load->language('localisation/currency');
$this->document->setTitle($this->language->get('heading_title'));
$this->load->model('localisation/currency');
$this->getList();
}
public f... |
<!DOCTYPE HTML>
<html lang="{{ config('app.locale') }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ config('app.name', 'Waslni') }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Fr... |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "customer_profile_group".
*
* @property int $id
* @property int $id_customer_profile
* @property int $id_customer_group
*/
class CustomerProfileGroup extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public s... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
//
protected $guarded = [];
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Role extends Model
{
use HasFactory;
protected $guarded = [];
// Get users
public function users()
{
return $this -> hasMany('App\Models\User', 'role_id', 'i... |
@extends('template.interno')
@section('contenido')
@section('css-plugin')
<link rel="stylesheet" href="//cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css">
@endsection
<!--Breadcrumb Start-->
<div class="breadcrumb-area pt-20 pb-20">
<div class="container">
<div class="row">
<div class="col-md-12">
... |
<?php
/*
* Copyright 2014 Google Inc.
*
* 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
*
* Unless required by applicable law or agreed ... |
<?php echo _css('selectize,datepicker')?>
<?php echo card_open('Form','bg-green',true)?>
<form id='form-a'>
<input hidden class='data-sending' id='id' value='<?php if(isset($id))echo $id?>'>
<div class='col-md-12 col-xl-12'>
<div class='form-group'>
<label class='form-label'><?php echo $title->... |
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Planes') }}
</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:round... |
@extends('layouts.doc')
@section('content')
<div class="page-content--bge5">
<div class="container">
<div class="login-wrap">
<div class="login-content">
<div class="login-logo">
{{--<a href="#">
<img src="i... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/*... |
<?php
namespace App\Services\SocialLink;
use App\SocialLink as SocialLinkModel;
use App\DTOs\{CreateSocialLinkDto, UpdateSocialLinkDto};
use App\Repositories\Settings\Settings as SettingsRepository;
final class SocialLinkService implements SocialLink
{
/** @var SettingsRepository */
private SettingsRepositor... |
<?php
namespace app\services\transfer;
use app\services\transfer\interfaces\RequestInterface;
use app\services\transfer\interfaces\BodyInterface;
/**
* Class Request
* represents an http request
* specify http request type by calling one of the child classes (PUT,GET,POST etc)
*/
abstract class Request implement... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Model;
use Faker\Generator as Faker;
$factory->define(App\Blogmodels\Evento::class, function (Faker $faker) {
$title = $faker->sentence(3);
return [
'nombre' => $title,
'slug' => str_slug($title),
'descripcion'... |
<?php
// PHP FUNCTION ADALAH POTONGAN PROGRAM PADA BARIS KODE PHP UNTUK MEMPERMUDAH
// 2 JENIS FUNCTION
// - BUILD IN FUNCTION -> FUNGSI DARI PHP
// - USER DEFINED FUNCTION -> YANG KITA BUAT SENDIRI
// CONTOH -> DATE/TIME _> TIME() , DATE() , MKTIME () , STRTOTIME()
// Date: untuk menampilkan ... |
<?php
/*
Plugin Name: OneLogin SAML SSO
Plugin URI: https://github.com/onelogin/wordpress-saml
Description: Give users secure one-click access to WordPress from OneLogin. This SAML integration eliminates passwords and allows you to authenticate users against your existing Active Directory or LDAP server as well increas... |
<?php
namespace App\Models;
use Jenssegers\Date\Date;
use App\Models\ScreeningPlan;
use App\Models\Criteria;
use App\Models\Lookup\AssessmentType;
/**
* Class Assessment
*
* @property int $id
* @property int $screening_plan_id
* @property int $criterion_id
* @property int $assessment_type_id
* @property \Jens... |
<?php
namespace App\Http\Controllers\Api;
use App;
use App\Esteraha\Services\SMSService;
use App\Http\Requests\SetDeviceTokenRequest;
use App\Transformers\UserTransformer as UserTransformer;
use Auth;
use App\Models\User;
use App\Models\DeviceToken;
use App\Models\Role;
use Illuminate\Http\Request;
use App\Http\Reque... |
@extends("../layout.layout-main")
@section("head-title")
Dettaglio
@endsection
@section("header-title")
DETTAGLIO
@endsection
@section("main-content")
<div class="show-content">
<div class="image">
<img src="{{ asset("img/$item->image") }}" alt="">
</div>
<ul class="no_style_list">
@for... |
<?php
namespace Dynamic\Elements\PullQuote\Elements;
use DNADesign\Elemental\Models\BaseElement;
use SilverStripe\Assets\Image;
use SilverStripe\Forms\FieldList;
use SilverStripe\ORM\FieldType\DBField;
use SilverStripe\ORM\FieldType\DBHTMLText;
/**
* Class ElementPullQuote
* @package Dynamic\Elements\PullQuote\Ele... |
<?php
namespace App\Http\Controllers;
use App\ProductoElaborado;
use Illuminate\Http\Request;
class ProductosElaboradosController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
... |
<?php
namespace ProcureTest\GR\Command;
use Doctrine\ORM\EntityManager;
use ProcureTest\Bootstrap;
use Procure\Application\Command\TransactionalCmdHandlerDecorator;
use Procure\Application\Command\GR\ReverseCmd;
use Procure\Application\Command\GR\ReverseCmdHandler;
use Procure\Application\Command\GR\Options\GrPostOpti... |
<?php
namespace monsieurgourmand\Bundle\InterfaceBundle\Route\Kit;
use monsieurgourmand\Bundle\InterfaceBundle\Model\Kit;
use monsieurgourmand\Bundle\InterfaceBundle\Model\KitTechnicalForm;
use monsieurgourmand\Bundle\InterfaceBundle\Service\MGD;
/**
* Class TechnicalForm
*
* @author Alice Dahan <alice@monsieurgo... |
@extends('layout')
@section('title', "Crear")
@section('content')
{{-- @if($errors->any())
<div class="alert alert-danger mt-1 mb-1" role="alert">
Corregir los Siguientes Errores!
@foreach ($errors->all() as $err)
<li> {{$err}} </li>
@endforeach
</div>
@endif --}}
<div class="row">
<div class="... |
@extends("layouts.master")
@section("content")
<ul>
@foreach($posts as $post)
{{-- route(viewName, id ) --}}
<li><a href="{{ route('posts.show', $post->id) }}"> {{ $post->title }} </a></li>
@endforeach
</ul>
@endsection("content")
@section("footer")
@endsection("footer") |
<?php
/* Turkceye Ceviren eka7a - http://e-piksel.com */
// Heading
$_['heading_title'] = 'Google Sitemap';
// Text
$_['text_extension'] = 'Eklentiler';
$_['text_success'] = 'Başarılı: Google Sitemap beslemesi güncellendi!';
$_['text_edit'] = 'Google Sitemap Düzenle';
// Entry
$_['entry_status'] ... |
<div class="col-md-8">
<div class="card shadow mb-4">
<div class="card-header">
Tambah SPP Baru
</div>
<div class="card-body">
<?= form_open_multipart(base_url('admin/index/create_spp'));
?>
<div class="row">
<div class="col-m... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'AddAccountToOrder' => $baseDir . '/app/database/migrations/2014_02_23_124327_add_account_to_order.php',
'AddAvaialbleToProducts' => $baseDir . '/app/database/migration... |
<?php
namespace addons\third\controller;
use addons\third\library\Application;
use addons\third\library\Service;
use think\addons\Controller;
use think\Cookie;
use think\Hook;
/**
* 第三方登录插件
*/
class Index extends Controller
{
protected $app = null;
protected $options = [];
public function _initialize... |
<style type="text/css">
.search-data{
display: none;
}
.gif-loader {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0,0,0,0.5);
display: flex;
justify-content: center;
align-items: center;
display: none;
z-index:1060;
}
.gif-loader__img {
... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<?php
namespace Modules\Auth\Http\Controllers\Backend;
use Modules\Core\Http\Controllers\BaseBackendController;
use Modules\Auth\Datatables\ApiKeyManager;
use Modules\Admin\Traits\DataTableTrait;
class ApiManagerController extends BaseBackendController
{
use DataTableTrait;
public function manager()
{
... |
<?php
/**
* osCommerce Online Merchant
*
* @copyright (c) 2016 osCommerce; https://www.oscommerce.com
* @license MIT; https://www.oscommerce.com/license/mit.txt
*/
namespace OSC\OM;
use OSC\OM\HTML;
use OSC\OM\OSCOM;
class Db extends \PDO
{
protected $connected = false;
protected $server;
prote... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2018, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
@extends('layouts.default')
@section('content')
<div class="jumbotron">
<h1>Hello Laravel</h1>
<p class="lead">
你现在所看到的是 <a href="https://learnku.com/courses/laravel-essential-training/5.5">Laravel </a>
</p>
<p>
一切, 将从这里开始。
</p>
<p>
... |
<div id="divMensajeError{!! $entidad !!}"></div>
{!! Form::model($modelo, $formData) !!}
{!! Form::hidden('listar', $listar, array('id' => 'listar')) !!}
@switch($accion)
@case('aceptar')
{!!'<div class="callout callout-warning"><p class="text-primary">¿Esta seguro de aceptar el trámite?</p></div>' !!}
@break
@ca... |
@extends('layouts.app')
@section('content')
<style>
select[readonly].select2 + .select2-container {
pointer-events: none;
touch-action: none;
}
</style>
<section>
<div class="content-wrapper">
<h3><small>REGISTRATION / ADMISSION FORM</small></h3>
<div class="row">
<form id="form-pati... |
<?php namespace Zofe\Rapyd;
use ReflectionClass;
use ReflectionMethod;
class Documenter
{
public static function showCode($filepath)
{
if (file_exists(app_path() ."/".$filepath)) {
$file = app_path() ."/".$filepath;
} elseif (file_exists(app_path() ."/../workbench/".$filepath)) {
... |
<?php
namespace EncryptDecrypt\Database\Type;
use EncryptDecrypt\Traits\EncryptDecrypt;
use Cake\Database\DriverInterface;
use Cake\Database\Type\BaseType;
use InvalidArgumentException;
use PDO;
/**
* Class EncryptType
* @package App\Model\Types
*/
class EncryptType extends BaseType
{
use EncryptDecrypt;
... |
@extends('admin.layouts.admin_master')
@section('content')
<div class="app-inner-bar">
<div class="inner-bar-center">
<ul class="nav">
<li class="nav-item">
<a role="tab" data-toggle="tab" class="nav-link active" href="#tab-content-0">
<span>Create User Group... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Documento extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'titulo',
'descripcion',
'imagen',
'activo',
'puesto_id',
... |
<div class="container">
<div class="jumbotron">
<h1>Login</h1>
<form class="form-horizontal" role="form" action="<?php echo URL; ?>Login/identification" method="post">
<div class="form-group">
<label for="pseudo" class="col-sm-2 control-label">Nom login : </label>
... |
<?php if(!defined('IN_DBSEO')) die('Access denied.');
// #############################################################################
// DBSEO "Forum URL" class
/**
* Lets you construct & lookup custom URLs
*/
class DBSEO_Rewrite_Forum_Page extends DBSEO_Rewrite_Forum
{
public static $format = 'Forum_Forum_Page';
... |
<meta name="description" content="Liam Hammett is a software developer that loves working with PHP, Laravel and Vue.">
<meta property="og:site_name" content="Liam Hammett">
<meta property="og:locale" content="en_US">
<meta property="og:description" content="Liam Hammett is a software developer that loves working with ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1" />
<!-- Meta tags and links taken from Instagram... -->
<meta name="robots" content="noimageindex, noarchive" />
<meta name="apple-mobile-web-app-status-bar-styl... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateReviewsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('reviews', funct... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.