text stringlengths 2 1.03M |
|---|
<!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/css2?family=Nunito... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Восстановить пароль</div>
<div class="panel-body">
@if (... |
<?php include('includes/header.php'); ?>
<div class="page-container">
<?php include("includes/sidebar.php"); ?>
<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
<div class="page-content">
<h3 class="page-title">Admin Details</h3>
<!-- BEGIN PAGE HEADER-->
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRoutesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('routes', functio... |
@extends('admin.layouts.app')
@section('content')
<div class="row">
<div class="col-sm-12">
<h4 class="page-title">Guidelines</h4>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="javascript:void(0)">CMS</a></li>
<li class="breadcrumb-item active">Guidelines</li... |
@extends('layouts.main')
@section('title','Neto Grifos')
@section('styles')
<link rel="stylesheet" href="{{asset('css/app.css')}}">
@include('reporte_excel.excel_select2_css')
@endsection
@section('breadcrumb')
<ol class="breadcrumb">
<li><a href="#">Reportes</a></li>
<li><a href="#">Reportes Diario</a></li>
</o... |
<?php
namespace app\admin\controller;
use \think\Controller;
use app\admin\controller\Common;
class Index extends Common
{
public function index()
{
return $this->fetch();
}
} |
<?php
namespace App\Ledger;
use Psr\Container\ContainerInterface;
use App\Ledger\BankImport;
use App\Ledger\ImportBankWizard;
use Seriti\Tools\Template;
use Seriti\Tools\BASE_TEMPLATE;
class ImportBankWizardController
{
protected $container;
public function __construct(ContainerInterface $container)
... |
<?php
namespace App\Exports;
use App\Models\User;
use Maatwebsite\Excel\Concerns\Exportable;
use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\WithMapping;
class UsersExport implements FromCollecti... |
<?php
namespace App\Http\Model;
use Illuminate\Database\Eloquent\Model;
class BaseModel extends Model
{
} |
@extends('layouts-verticalmenu-light.master')
@section('css')
@endsection
@section('content')
<!-- Page Header -->
<div class="page-header">
<div>
<h2 class="main-content-title tx-24 mg-b-5">Echart</h2>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Charts</... |
<?php
/**
* Test: Nette\DI\Compiler and addExtension on loadConfiguration stage.
*
* @author Josef Kříž
* @package Nette\DI
*/
use Nette\DI\CompilerExtension;
require __DIR__ . '/../bootstrap.php';
abstract class BaseExtension extends CompilerExtension
{
public $loaded = false;
public function lo... |
<?php
namespace Gitter\Tests;
use Gitter\Client;
use Gitter\Model\Symlink;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Filesystem\Filesystem;
class RepositoryTest extends TestCase
{
protected static $tmpdir;
protected $client;
protected static $repositoriesCreated = false;
public static fu... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Login;
class AboutController extends Controller
{
public function index(Request $req)
{
if (session()->has('logged')) {
$id = session()->get('logged');
$get_info = new Login;
$req = $get_info->index($id);
$link_url = '/about'... |
<?php
namespace nickurt\PostcodeApi;
use nickurt\PostcodeApi\Exception\InvalidArgumentException;
use nickurt\PostcodeApi\Providers\Provider;
class ProviderFactory
{
/**
* @param string $provider
* @return Provider $class
* @throws InvalidArgumentException
*/
public static function create(... |
<!DOCTYPE html>
<html>
<body>
<section class="personal-info-section" id="personal-information">
<div class="row">
<div class="col-md-3 personal-info-left">
<div class="re-img-box">
... |
<?php
namespace Egov\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction()
{
return $this->render('EgovMainBundle:FrontOffice:indus.html.twig', array());
}
} |
<?php
/**
* @version $Id: debuglink.php 5317 2012-11-20 23:03:43Z btowles $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
defined('JPATH_PLATFORM') or die;
class JFormFieldDebu... |
<?php
namespace App\Models\System\Traits;
use App\Scopes\System\ArchivableScope;
trait Archivable {
public static function bootArchivable()
{
static::addGlobalScope(new ArchivableScope);
}
public function archive()
{
$this->{$this->getQualifiedArchivedAtColumn()} = now();
$thi... |
<?php
/**
* @package Joomla.Site
* @subpackage com_newsfeeds
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT.'/h... |
<?php
/**
* Copyright (c) 2011-present Mediasift Ltd
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice... |
<?php
/** This file is part of KCFinder project
*
* @desc Base configuration file
* @package KCFinder
* @version 3.12
* @author Pavel Tzonkov <sunhater@sunhater.com>
* @copyright 2010-2014 KCFinder Project
* @license http://opensource.org/licenses/GPL-3.0 GPLv3
* @license http://opensou... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use App\Models\Owner;
class OwnerController extends Controller
{
public function storeByArray($request) {
try {
$isOwnerExists = $this->checkIfOwnerExistsByNik($request['nik']);
... |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:38:"./oscshop/mobile/view/order/index.html";i:1542385586;s:38:"./oscshop/mobile/view/public/base.html";i:1516611140;s:41:"./oscshop/mobile/view/public/top-nav.html";i:1512008342;}*/ ?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv=Content-Type content="text/html;c... |
@extends('admin.layout.index')
@section('styles')
{!!Html::style('/vendors/dropzone/dist/min/dropzone.min.css')!!}
@endsection
@section('content')
<section class="content-header">
<h1 class="text-center">Administración de Productos</h1>
<h3 class="text-center">Administración de Campos Adicionales del Producto: ... |
<?php
/**
* @package redaxo\core\form
*/
abstract class rex_form_base
{
/** @var string */
protected $name;
/** @var string "get" or "post" */
protected $method;
/** @var string */
protected $fieldset;
/** @var array */
protected $elements;
/** @var array */
protected $par... |
<?php
use Baethon\Phln as p;
class HasTest extends \PHPUnit\Framework\TestCase
{
public function test_it_checks_for_array_properties()
{
$this->assertTrue(p\has(['b' => null], 'b'));
$this->assertFalse(p\has(['b' => null], 'a'));
}
public function test_it_checks_for_object_properties(... |
<?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
use yii\db\Migration;
/**
* Handles the creation of table `category`.
*/
class m180216_002523_create_category_table extends Migration
{
/**
* @inheritdoc
*/
public function up()
{
$this->createTable('category', [
'id' => $this->primaryKey(),
'parent_id'=>$... |
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Fertilizante</title>
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Font Awesome -... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Section extends Model
{
use HasFactory;
protected $guarded = ['id'];
//Relacion uno a muchos
public function lessons(){
return $this->hasMany('App\Models\Lesson'... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class OrderInTransitMail extends Mailable
{
use Queueable, SerializesModels;
/**
* @var array
*/
public $data;
/**
... |
<?php
namespace Imperium\Models;
use Illuminate\Database\Eloquent\Model;
class Place extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['name','description','price','schedule','visitationTime','coordinates','points','rating'];
prot... |
<?php
namespace aop\request;
/**
* ALIPAY API: alipay.overseas.transfer.cancel request
*
* @author auto create
* @since 1.0, 2021-06-02 19:37:35
*/
class AlipayOverseasTransferCancelRequest
{
/**
* 汇款撤销
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
... |
<?php
/*
* This file is part of the Sonata package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\Tests\Controller;
use Sonata\AdminBundle\A... |
<?php
rex_yform_manager_table_api::importTablesets(rex_file::get(rex_path::plugin("collect", "places", 'install/rex_collect_places.tableset.json')));
rex_yform_manager_table_api::importTablesets(rex_file::get(rex_path::plugin("collect", "places", 'install/rex_collect_places_review.tableset.json')));
rex_yform_manager_... |
<?php
App::uses('HtmlHelper', 'View/Helper');
App::uses('Inflector', 'Utility');
class BoostCakeHtmlHelper extends HtmlHelper {
/**
* Overwrite HtmlHelper::useTag()
* If $tag is `<input type="radio">` then replace `<label>` position
* Returns a formatted existent block of $tags
*
* @param string $tag Tag name
*... |
<?php
declare(strict_types=1);
namespace App\Application\Actions\Admin;
use Psr\Http\Message\ResponseInterface as Response;
use App\Infrastructure\Services\ContentService;
use App\Infrastructure\Services\AuthService;
use App\Infrastructure\Utils\JsonUtils;
/**
* Create a user
*/
class AdminContentCreateAction ex... |
<div class="meta-message">
<div class="p-1">
<ul class="quick-replies list-unstyled">
<?php foreach ($metaMessage as $item) : ?>
<li>
<?php if ((!isset($item['editable']) || $item['editable'] == true) && (!isset($messagesStats) || $messagesStats['total_message... |
@extends('template_backend.home')
@section('sub-judul','Ubah Data Mempelai Pria')
@section('content')
@if(count($errors)>0)
@foreach($errors->all() as $error)
<div class="alert alert-danger alert-dismissible show fade">
<div class="alert-body">
<button class="close" data-dis... |
<?php
namespace GameX\Forms\User;
use \GameX\Core\BaseForm;
use \GameX\Core\Auth\Helpers\AuthHelper;
use \GameX\Core\Auth\Models\UserModel;
use \GameX\Core\Forms\Elements\Text;
use \GameX\Core\Forms\Elements\Password;
use \GameX\Core\Validate\Rules\PasswordRepeat;
use \GameX\Core\Validate\Rules\Callback;
use \GameX\Co... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMobileBannersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mobile_ba... |
<?php
$parent = isset($_POST['id']) ? (int)$_POST['id'] : 0;
$result = array();
$data = array();
try {
$db = new PDO('sqlite:data/treeview-city.sqlite');
foreach($db->query('SELECT c.* ,
(SELECT COUNT(*) FROM city c2 WHERE c2.parent = c.id) as child_count
FROM city c WHERE c.parent='.$parent)
... |
<? php
interface ShipmentDAOImplement implements ShipmentDAO{
public function addShipment($shipment){
if(isset($_GET['addShipment'])){
$id= $_GET['addShipment'];
$sql_select = mysqli_query($con,"insert FROM tbl_shipment");
}
$sql_select_payment = mysqli_query($... |
<?php
function daugyba ( $a='5', $b='4'){
return $a * $b;
}
echo daugyba (5,4);
?> |
@extends('layouts.adminlte')
@section('title','Kategori')
@section('nama_halaman','Lowongan Kerja')
@section('content')
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="col-md-12">
<div class="card card-primary card-outline">
<div class="card-header">
<... |
@extends('layouts.dashboard_app')
@section('title')
Update | Working service heading | dashboard
@endsection
@section('service')
active
@endsection
@section('dashboard_content')
<!-- ########## START: MAIN PANEL ########## -->
<div class="sl-mainpanel">
<nav class="breadcrumb sl-breadcrumb">
<a c... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Sylius\Bundle\ResourceBundle\ExpressionLanguage;
use PhpSpec\ObjectBehavior;
use Symfo... |
<?php
namespace Deflopian\EducationTests;
use Illuminate\Support\ServiceProvider;
class EducationTestsServiceProvider extends ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* Bootstrap the application event... |
<?php
namespace Modules\Product\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Validation\Rule;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\Storage;
use Modules\Product\Entities\Product;
use Hashids\Hashids;
use DataTables;
use Auth;
use File;
use DB;
use Gate;
class Prod... |
<?php
declare(strict_types=1);
namespace Tests\BitBag\SyliusWishlistPlugin\Application;
use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Component\Config\Loader\DelegatingLoader;
use Symfony\Component\Config\Loader\LoaderInter... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\BukuController;
use Illuminate\Http\Request;
Route::resource('books', BukuController::class);
/*
|--------------------------------------------------------------------------
| Web Routes
|------------------------------------------------------------... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAdminsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('Admin', function... |
<?php
session_start();
if (isset($_SESSION['usuario']) == 1) {
$ses=$_SESSION['usuario'];
if($ses['tipo_usuario'] == "Administrador") {
?>
<!DOCTYPE html>
<html>
<head>
<?php include 'plantillas/head.php'; ?>
</head>
<body>
<header id="header">
<?php include 'plantillas/header.php'; ?>
</header>
<... |
<?php
namespace App\Mail;
use App\Suggestion;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class ReplyMail extends Mailable
{
use Queueable, SerializesModels;
public $suggestions;
/**
* Create a new me... |
<?php
namespace App\Http\Controllers;
use App\Models\Brand;
use Illuminate\Http\Request;
class BrandController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$x = Brand::all();
// dd($bra... |
<?php
namespace App\Http\Controllers\Frontend;
use App\Http\Controllers\Controller;
use App\Http\Controllers\Traits\MediaUploadingTrait;
use App\Http\Requests\MassDestroyEventRequest;
use App\Http\Requests\StoreEventRequest;
use App\Http\Requests\UpdateEventRequest;
use App\Models\Event;
use Gate;
use Illuminate\Http... |
<?php
/**
* Copyright (C) 2015 IASA - Institute of Accelerating Systems and Applications (http://www.iasa.gr)
*
* 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.or... |
<?php
/*
* Template Name: Case Study Template
*/
get_header(); ?>
<div id="inner-content" class="inner_page">
<div class="title_full_width">
<div class="container">
<h1><?php the_title();?></h1>
</div>
</div>
<div class="main_content">
<div class="container">
<?php
$paged = (get_query_var('paged')) ? get_qu... |
@extends('/admin/layouts')
@section('breadcum')
Print Absen {{$kelas->nm_kelas}}
@endsection
@section('breadcumSub')
Controller
@endsection
@section('content')
<div class="box">
<div class="box-header">
<h3 class="box-title">
Riwayat Absensi tanggal {{date('d-m-Y')}}
</h3>
<a target=... |
<?php
return [
/*
|--------------------------------------------------------------------------
| View Storage Paths
|--------------------------------------------------------------------------
|
| Most templating systems load templates from disk. Here you may specify
| an array of paths that should be... |
<?php
require_once '../../csrest_lists.php';
$auth = array(
'access_token' => 'your access token',
'refresh_token' => 'your refresh token');
$wrap = new CS_REST_Lists('List ID', $auth);
$result = $wrap->get_deleted_subscribers('Deleted Since', 1, 50, 'email', 'asc');
//$result = $wrap->get_bounced_subscriber... |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Customer\Test\Unit\Model\Metadata;
use Magento\Customer\Api\AddressMetadataManagementInterface;
use Magento\Customer\Model\Attribute;
use Magento\Customer\Api\Data\AttributeMetadataInterf... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit47aa94b917c89a4ddc7a890083aaf66c
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
namespace App\Command;
use App\Services\Mail;
use App\Utils\Telegram;
use Exception;
use RuntimeException;
class Backup extends Command
{
public $description = ''
. '├─=: php xcat Backup [选项]' . PHP_EOL
. '│ ├─ full - 整体数据备份' . PHP_EOL
. '│ ├─ simple ... |
<?php
/**
* DO NOT EDIT!
* This file was automatically generated via bin/generate-validator-spec.php.
*/
namespace AmpProject\Validator\Spec\Tag;
use AmpProject\Format;
use AmpProject\Html\Attribute;
use AmpProject\Validator\Spec\Identifiable;
use AmpProject\Validator\Spec\SpecRule;
use AmpProject\Validator\Spec\... |
@extends('layouts.admin')
@section('content')
<h1>Create New Users</h1>
{!! Form::open(['method'=>'POST', 'action'=>'AdminUsersController@store', 'files'=> true]) !!}
<div class="form-group">
{!! Form::label('name', 'Name:') !!}
{!! Form::text('name', null, ['class'=>'form-control']) !!}
... |
<div class="container">
<div class="row">
<hr>
<div class="col-lg-12">
<div class="col-md-8">
<a href="#">Terms of Service</a> | <a href="#">Privacy</a>
</div>
<div class="col-md-4">
<p class="muted pull-right">© {{ $year }} Socialight. All rights reserved</p>
</div>
... |
<?php
class Latihan extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->model('Model_materi');
$this->load->model('Model_latihan');
$this->load->helper('url');
}
function index()
... |
<?php
require('dbconn.php');
?>
<?php
if ($_SESSION['RollNo']) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LIBRARY MANAGEMENT SYSTEM </... |
@extends('layouts.app', ['page' => 'Editar Proveedor', 'pageSlug' => 'providers', 'section' => 'providers'])
@section('content')
<div class="container-fluid mt--7">
<div class="row">
<div class="col-xl-12 order-xl-1">
<div class="card">
<div class="card-heade... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class StoreCategory extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the... |
<?php
namespace App\Http\Controllers;
use App\Models\Category;
use Illuminate\Http\Request;
class CategoryController extends Controller
{
public function index()
{
return response()->json(Category::get());
}
} |
<?php
namespace App\Models\App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use OwenIt\Auditing\Contracts\Auditable;
use OwenIt\Auditing\Auditable as Auditing;
use Illuminate\Database\Eloquent\SoftDeletes;
use App\Models\Authentication\Role;
class Catalogue extends ... |
<?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 =... |
<!-- Bootstrap core JavaScript-->
<script src="<?= base_url('assets/templates/') ?>vendor/jquery/jquery.min.js"></script>
<script src="<?= base_url('assets/templates/') ?>vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Core plugin JavaScript-->
<script src="<?= base_url('assets/templates/') ?>vendor/jquery... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddRedressalStatusToComplaintsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table(... |
<?php
namespace App\Http\Controllers;
use App\Post;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\Validator;
use App\Category;
class PostController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
... |
<?php
// locale: vietnamese - Viet Nam (vi_VN)
// author: Oanh Nguyen https://github.com/oanhnn
return array(
"months" => explode('_', 'Tháng một_Tháng hai_Tháng ba_Tháng tư_Tháng năm_Tháng sáu_Tháng bảy_Tháng tám_Tháng chín_Tháng mười_Tháng mười một_Tháng mười hai'),
"monthsNominative" => explode('_',... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Models\User;
use App\Providers\RouteServiceProvider;
use Illuminate\Auth\Events\Registered;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\Rules;
c... |
<?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 Ini... |
<?php
namespace BiasedRandom;
/**
* The Randomizer class.
*
* @method int add() add(Element $element) add an element
* @method int add() add(mixed $data, $weight = 0.0) add an element
*/
class Randomizer
{
/**
* @var array $elements
*/
private $elements = array();
/**
* @param $metho... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Terjual extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->model('KwitansiModel');
$this->load->model('PesananModel');
isKasir();
}
public function index()
{
$data = [
'title' =>... |
@extends('Admin.Layout.principal')
@section('conteudo-principal')
<section class= "section">
<table class="highlight">
<thead>
<tr>
<th>Games</th>
<th class="center-align">Desenvolvedora</th>
<th class="center-align"> ... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('posts', function (Blueprint $table) {
$table... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model frontend\models\Pvaction */
$this->title = 'Update pv Action: ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => 'pv Actions', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' =>... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @property EncuestasPstSostenibilidad $encuestasPstSostenibilidad
* @property int $encuesta_pst_sosteniblidad_id
* @property string $tipo_agua
* @property string $uso_agua
*/
class Agua_Reciclada extends Model
{
/**
* The table as... |
<?php
namespace Popstas\Transmission\Console\Tests;
use GuzzleHttp;
use GuzzleHttp\ClientInterface;
use Popstas\Transmission\Console\Tests\Helpers\TestCase;
use Popstas\Transmission\Console\WeburgClient;
class WeburgClientTest extends TestCase
{
/**
* @var WeburgClient $client
*/
private $client;
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAdminProfilesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('admin_pro... |
<?php
namespace Dbout\WpMuPlugins;
/**
* Class DisableComment
* @package Dbout\WpMuPlugins
*
* @see https://github.com/solarissmoke/disable-comments-mu/blob/master/disable-comments-mu.php
*
* @author Dimitri BOUTEILLE <bonjour@dimitri-bouteille.fr>
* @link https://github.com/dimitriBouteille Github... |
<?php
namespace App\Classes\Services;
use App\ForTimeHistoryTest;
use App\Classes\DataConverter as DataConverter;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;
class ForTimeHistoryTestService
{
// Класс для работы с моделью ForTimeHistoryTest БД: Добавить запись, удалить, редактировать,... |
index.blade.php
<h1>houdunren.com</h1> |
<!--sidebar end-->
<!--main content start-->
<section id="main-content">
<section class="wrapper site-min-height">
<!-- page start-->
<section class="panel">
<header class="panel-heading">
<i class="fa fa-user"></i> <?php echo lang... |
@extends('layouts.blog_master')
@section('list-post')
@if ($posts)
@foreach ($posts as $post)
<div class="post-item">
<h3>{{$post->title}}</h3>
<div class="post-meta">
<span class='meta'><i class="fa fa-user"></i> Admin</span>
<span class='meta'><i class="fa fa-calen... |
<?php
/**
* Created by PhpStorm.
* User: jianguog
* Date: 16/5/18
* Time: 10:08
*/
namespace Addons\OverSea\Model;
use Addons\OverSea\Model\UserInfosDao;
use Addons\OverSea\Model\ServicesDao;
use Addons\OverSea\Model\OrderActionsDao;
use Addons\OverSea\Model\PaymentsDao;
use Addons\OverSea\Model\CommentsDao;
use... |
{{ csrf_field() }}
<div class="row">
<div class="col-md-6">
<fieldset>
<legend>Required</legend>
<div class="form-group">
<label for="title">Title</label>
<input type="text" name="title" id="title" class="form-control" placeholder="My Feed" value="{{ isset($feed) ? $feed->title : old('title') }}">
<... |
<div class="content__inner">
<header class="content__title">
<a href="<?=site_url('subpages/add')?>" type="button" class="btn btn-primary"><i class="zmdi zmdi-collection-item-9-plus"></i> Add Sub Pages</a>
<div class="actions">
<a href="#" class="actions__item zmdi zmdi-trending-up"></a... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class DropGruposVoosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
}
/**
* Rever... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.