text stringlengths 2 1.03M |
|---|
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class PekerjaanController extends Controller
{
public function index()
{
$user = Auth::user()->load([
'driver'=> function($query){
$query->with([
'k... |
@extends('main')
@section('custom-style')
<link href="{{url('assets/global/css/plugins.css')}}" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="{{url('assets/global/plugins/select2/select2.css')}}"/>
<link type="text/css" rel="stylesheet" href="{{ url('vendors/bootstrap-date... |
<x-button-dropdown appendIcon="mdi mdi-menu">
@can('leave_category_update')
<button
class="dropdown-item"
onclick="defaultModal('{{ trans('edit_leave_category') }}', '{{ route('leave.categories.edit', $id) }}')"
>
<i class="mdi mdi-file-edit"></i>
</butto... |
@extends('layouts.oust')
@section('content')
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">Add Employee</h1>
</div>
<div class="col-sm-6">
<ol class="... |
<?php
/**
* Nano
*
* Just another php framework
*
* @package nano
* @link http://madebykieron.co.uk
* @copyright http://unlicense.org/
*/
/**
* Composer
*/
require PATH . 'vendor/autoload' . EXT;
/**
* Boot the environment
*/
require SYS . 'boot' . EXT;
/**
* Boot the application
*/
require APP . 'r... |
<?php
namespace Caffeinated\Modules\Repositories;
use Illuminate\Support\Str;
class LocalRepository extends Repository
{
/**
* Get all modules.
*
* @return \Illuminate\Support\Collection
*/
public function all()
{
return $this->getCache()->sortBy('order');
}
/**
... |
<?php
namespace miMoto\LoginBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class UsuarioType extends AbstractType
{
// public function buildForm(FormBuild... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateLessonConstantsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('lesson_... |
@props(['name','formAttributes', 'value' => ''])
{{--form input Dynamic || value should be current data stored--}}
<label for="name" >{{str_replace(array('_','id'), ' ',ucfirst($name))}}</label >
@if(isset($formAttributes))
@if(str_contains($formAttributes,'required' ))<span class="text-danger" >*</span >@endif
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel ">
<div class="panel-heading bg-yellow">Daftar Perumahan
<div class="panel-title pull-right">
<a href="{{ UR... |
<?php
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://doc.swoft.org
* @contact group@swoft.org
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace Swoft\Db\Bean\Wrapper;
use Swoft\Bean\Wrapper\AbstractWrapper;
use Swoft\Db\Bean\Annotation\Stat... |
@extends ('layouts.admin')
<link rel="stylesheet" href="{{asset('css/botones.css')}}">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
@secti... |
<?php
/**
* CakePHP Socket connection class.
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions... |
<?php
namespace Inacho\Exception;
class CreditCardTypeException extends CreditCardException
{
} |
<?php
use Illuminate\Support\Facades\Route;
Route::group(['prefix' => 'v1'], function() {
Route::apiResource('users', 'UserController');
}); |
<?php
namespace App\Http\Controllers;
use App\Empresa;
use App\Industry;
use App\Relacionista;
use Illuminate\Http\Request;
class EmpresasController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
... |
<?php
/*
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Tests\Controller;
use App\Entity\Timesheet;
use App\Entity\User;
use App\Tests\DataFixtures\TimesheetFixtur... |
<?php
/* Cachekey: cache/stash_default/overrides.26ebccce9958208233473874ab7043ba/ */
/* Type: array */
/* Expiration: 2022-02-10T22:00:00-05:00 */
$loaded = true;
$expiration = 1644548400;
$data = array();
/* Child Type: object */
$data['return'] = unserialize(base64_decode('Tzo0MzoiQ29uY3JldGVcQ29yZVxGaWxlc3lzd... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Month extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'date',
'exp... |
<?php
namespace App\Entities;
use Illuminate\Database\Eloquent\Model;
class Promotion extends Model
{
protected $table = 'promotions';
protected $fillable = [
'promotionId', 'type', 'name', 'description', 'category_id', 'product_id', 'discount','num_product_discount','start_at','end_at'
];
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Proveedores */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="proveedores-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'identificacion')->textInput(['maxlength' =... |
<?php
/**
* Custom template tags for this theme.
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package Avani
*/
if ( ! function_exists( 'avani_posted_on' ) ) :
/**
* Prints HTML with meta information for the current post-date/time and author.
*/
function avani_post... |
<?php
namespace Core;
use Core\Exceptions\MethodNotExists;
use Core\Exceptions\RouteNotFound;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class Router extends Obj
{
public function dispatch(Request $request): Response
{
$originalUri = $request->getRe... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Stateful Domains
|--------------------------------------------------------------------------
|
| Requests from the following domains / hosts will receive stateful API
| authentication cookies. T... |
<?php
/**
* Plugin API: WP_Hook class
*
* @package WordPress
* @subpackage Plugin
* @since 4.7.0
*/
/**
* Core class used to implement action and filter hook functionality.
*
* @since 4.7.0
*
* @see Iterator
* @see ArrayAccess
*/
final class WP_Hook implements Iterator, ArrayAccess {
/**
* Hook callba... |
@extends('layouts.app')
@section('customStyle')
<style>
</style>
@endsection
@section('content')
<div>
<h1 style="Sales Estimate-align : center background-color: grey;">Sales Estimate</h1> <hr>
<div class="row">
<form action="" method="POST" enctype='multipart/form-data' autocomplete="off"> @csr... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class distributor extends Model
{
protected $table = 'distributor';
protected $fillable = ['nama_distributor','no_hp','alamat'];
public function sepatu(){
return $this->hasOne(sepatu::class,'sepatu_id');
}
public function listDistributor... |
<?php
/**
* Created by PhpStorm.
* User: Taufan
* Date: 06/11/2018
* Time: 8:54
*/
/**
* Credential Authentication item
*/
return [
'Auth' => [
'AppToken' => '6dfc00935b79be967ff259351c35c097',
'ApiKey' => 'dcc99ba6-3b2f-479b-9f85-86a09ccaaacf',
'ApiSecret' => '5e636b16-df7f-4a53-afb... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/compute/v1/compute.proto
namespace Google\Cloud\Compute\V1\AccessConfig;
use UnexpectedValueException;
/**
* This signifies the networking tier used for configuring this access configuration and can only take the following value... |
<?php
namespace LoveThatFit\CartBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* UserAddressesRepository
*
* This class was generated byfindAddressByUserId the Doctrine ORM. Add your own custom
* repository methods below.
*/
class UserAddressesRepository extends EntityRepository
{
public function findA... |
<?php
return array (
'who_we_are' => 'Who We Are ',
'left_compass'=>'BUSINESS WISDOM ',
'right_compass'=>'AT YOUR DISPOSAL',
'who_we_are_detail1'=>'BASSEL SALEH & CO is a firm of Certified Public Accountants and Financial Advisors operating throughout the state of Syria. We have one aim:',
'who_we_are... |
<?php class Member extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->model(['ModelBuku', 'ModelUser', 'ModelBooking']);
}
public function index()
{
$this->_login();
}
private function _login()
{
$email = htmlspecialchars($this->input->post('email', true));
$password = $t... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Url extends Model
{
use HasFactory;
protected $appends = ['shortUrl'];
public function getShortUrlAttribute() {
return env('APP_URL') . '/' . $this->slug;
}
} |
@extends('app')
@section('header_styles')
<link rel="stylesheet" href="{{ asset('public/bower_components/datatables/media/css/dataTables.bootstrap.css') }}">
<link rel="stylesheet" href="{{ asset('public/bower_components/datatables/media/css/buttons.dataTables.css') }}">
<style>
td {word-wrap: brea... |
<?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 t... |
<?php
/**
* This file is part of Serlo.org.
*
* Copyright (c) 2013-2021 Serlo Education e.V.
*
* 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/LICEN... |
<?php
namespace App\Model;
use App\Http\Traits\RemarkCreator;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Company extends Model
{
use SoftDeletes,RemarkCreator;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected ... |
<?php return array (
'codeToName' =>
array (
32 => 'space',
33 => 'exclam',
34 => 'quotedbl',
35 => 'numbersign',
36 => 'dollar',
37 => 'percent',
38 => 'ampersand',
39 => 'quotesingle',
40 => 'parenleft',
41 => 'parenright',
42 => 'asterisk',
43 => 'plus',
44 =>... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class activities_model extends CI_Model {
public function __construct() {
$this->load->database();
}
public function get_all_butanding($limit = 0, $start = 0){
//total possible results
$this->db->where('trash = 0'... |
<?php namespace Riedayme\FacebookKit;
class FacebookUserInfoToken
{
Const URL = 'https://graph.facebook.com/me?fields=name,picture&access_token=%s';
public $access_token;
public $useragent;
public $proxy;
public function Required($data)
{
if (!$data['access_token']) {
die('access_token Empty');
}
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Srmklive\PayPal\Services\ExpressCheckout;
use Srmklive\PayPal\Services\PayPal as PayPalClient;
class PayPalPaymentController extends Controller
{
public function handlePayment()
{
$provider = new PayPalClient([]);
$res=... |
<?php
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
protected $fillable = [
'name',
'description'
];
} |
<?php
namespace App\Models;
use App\Models\Follow;
use App\Models\UserProfile;
use App\Models\UserRating;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Spatie\Permission\Traits\HasRoles;
class User extends A... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator c... |
<?php namespace Boss;
use Illuminate\Database\Eloquent\Model;
class Facility extends Model {
protected $fillable = [
'name',
'type',
'license_number',
'license_expiration',
'phone',
'fax',
'site_url',
'address_street',
'address_city',
'address_state',
'address_zip',
'picture',
'company_id... |
version https://git-lfs.github.com/spec/v1
oid sha256:dfa402d42ce99895a3cce2c67054abe6e834eb59019e40d91b6ace5e0da69629
size 3851 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
/**
* This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how t... |
<?php
require "vendor/autoload.php";
use ARandomInvestor\AMFEIX\StorageContract;
use Web3\Web3;
use \ARandomInvestor\AMFEIX\provider\bitcoin\Blockchain_com;
use function \Denpa\Bitcoin\to_bitcoin;
date_default_timezone_set("UTC");
if($argc < 3){
echo "Usage: " . escapeshellarg(PHP_BINARY) . " " . escapeshellarg... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePhonesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('phones', functio... |
<?php
namespace Doctrine\Tests\DBAL;
require_once __DIR__ . '/../TestInit.php';
use Doctrine\Common\EventManager;
use Doctrine\DBAL\Configuration;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Events;
use Doctrine\Tests\Mocks\DriverConnectionMock;
use Doctrine\Tests\Mocks\DriverMock;
class ConnectionTest extends ... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codeigniter.com/user_guide/license.html CodeIgniter License
* @link http://co... |
@extends('layouts.app')
@section('content')
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-md-4">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-he... |
<!-- Page header -->
<div class="page-header">
<div class="page-header-content header-elements-md-inline">
<div class="page-title d-flex">
<h4>
<i class="icon-menu mr-2"></i>
<span class="font-weight-semibold"><?php echo $title; ?></span> - <?php echo $header; ?>
</h4>
<a href="#" class="header-elem... |
<?php
namespace App\Http\Controllers;
use App\Pet;
use Illuminate\Http\Request;
class HomeController extends Controller
{
protected $request;
public function __construct(Request $request)
{
$this->request = $request;
}
/**
* Show the application dashboard.
*
* @return \I... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Menu</title>
</head>
<body>
mi primer laravel
</body>
</html> |
<?php
namespace FondOfSpryker\Zed\CompanyBusinessUnitsCartsRestApi\Dependency\Facade;
use Codeception\Test\Unit;
use FondOfSpryker\Zed\CompanyBusinessUnitQuoteConnector\Business\CompanyBusinessUnitQuoteConnectorFacadeInterface;
use Generated\Shared\Transfer\CompanyBusinessUnitQuoteListRequestTransfer;
use Generated\S... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
INFO - 2015-12-14 08:32:29 --> Config Class Initialized
INFO - 2015-12-14 08:32:29 --> Hooks Class Initialized
DEBUG - 2015-12-14 08:32:29 --> UTF-8 Support Enabled
INFO - 2015-12-14 08:32:29 --> Utf8 Class Initialized
INFO - 2015-12-14 08:32:29 ... |
{{-- Navbar --}}
<div class="navbar-bg"></div>
<nav class="navbar navbar-expand-lg main-navbar">
<form class="form-inline mr-auto">
<ul class="navbar-nav mr-3">
<li><a href="#" data-toggle="sidebar" class="nav-link nav-link-lg"><i class="fas fa-bars"></i></a></li>
<li><a href="#" data-toggle="... |
<?php
namespace Drupal\commerce_log;
use Drupal\commerce_log\Plugin\LogTemplate\LogTemplate;
use Drupal\Component\Plugin\Exception\PluginException;
use Drupal\Component\Utility\Html;
use Drupal\Component\Utility\Xss;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Dr... |
<footer class="main-footer">
<div class="float-right d-none d-sm-block">
<b>Version</b> 1.1.0
</div>
<strong>Copyright © <?= date('Y') ?> <a href="javascript:void(0)">...</a>.</strong>
</footer> |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRolsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('rol', function (Bl... |
<?php
/*
* This file is part of Hashids.
*
* (c) Ivan Akimov <ivan@barreleye.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hashids\Tests;
use Hashids\Math\Bc;
use Hashids\Math\Gmp;
use PHPUnit\Framework\TestCase;
/**
... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\PostController;
use Laravel\Socialite\Facades\Socialite;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you ca... |
<?php
/**
* Timezone Model
*
* @package GoferEats
* @subpackage Model
* @category Timezone
* @author Trioangle Product Team
* @version 1.0
* @link http://trioangle.com
*/
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Timezone extends Model {
/**
* The attri... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFamiliasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('familias', fun... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0 minimal-ui"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple... |
<?php
include('login.php');
if(!isset($_SESSION['login_user'])){
header("location:home.php");
}
?>
<?php
require_once("koneksi.php");
if (!isset($_SESSION)) {
session_start();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- start: Meta -->
<meta charset="utf-8">
<title>7Clothing | Online Di... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Prices extends Model
{
protected $table = 'prices';
protected $fillable = [
'id',
'title',
'description',
'price'
];
protected $dates = [
'created_at',
'updated_at'
];
} |
<?php
namespace PHPGraphQLServer\Schema;
use GraphQL\Type\Definition\ObjectType;
use GraphQL\Type\Definition\Type;
use GraphQL\Type\Schema;
use PHPGraphQLServer\Schema\User\UserDao;
include "user/UserType.php";
// MAIN QUERY
$queryType = new ObjectType([
'name' => 'Query',
'fields' => [
'User' => [
'type' =>... |
<?php
namespace Wikimedia\Dodo\Tests\W3C;
use Wikimedia\Dodo\Node;
use Wikimedia\Dodo\HTMLElement;
use Wikimedia\Dodo\Element;
use Wikimedia\Dodo\DOMException;
use Wikimedia\Dodo\Tests\Harness\W3CTestHarness;
// @see vendor/fgnass/domino/test/w3c/level1/html/HTMLElement133.js.
class HTMLElement133Test extends W3CTestH... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddTypeToRefLotStatuses extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('ref_lot_sta... |
<?php if (isset($success_message) && $success_message!=""){ ?>
<script>
setTimeout(function() {
$.bootstrapGrowl('<?php echo $success_message;?>', {
type: 'success',
align: 'center',
width: 'auto',
allow_dismiss: false
});
}, 1);
</script>
<?php } ?>
<?php
if (iss... |
<?php
/**
* File containing the ezcWorkflowConditionIsAnything class.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasApiToke... |
<?php
/**
* The MIT License
*
* Copyright (c) 2012-2015, Mega Mitch, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the right... |
<?php
namespace App\Http\Controllers\Frontend;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class UserController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function index()
{
return view('frontend.user.index');
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateGalleriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('galleries', f... |
<?php
namespace App\Http\Controllers\Warehouse;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Area;
use App\Articulo;
use App\Bodega;
use App\Categoria;
use App\Colaboradore;
use App\User;
use App\IngresoCaja;
use App\Proveedore;
use App\IngresoCajaDetalle;
use App\Estante;
use App\Ingreso... |
<?php
/*
[UCenter Home] (C) 2007-2008 Comsenz Inc.
$Id: cp_password.php 12934 2009-07-29 02:35:59Z zhengqingpeng $
*/
if(!defined('IN_UCHOME')) {
exit('Access Denied');
}
if(submitcheck('pwdsubmit')) {
if($_POST['newpasswd1'] != $_POST['newpasswd2']) {
showmessage('password_inconsistency');
}
if($_POST['new... |
<?php
/**
* php-fixed-length-file-parser
*
* @link https://github.com/fanatique/php-fixed-length-file-parser A parser class for handling fixed length text files in PHP
* @license http://sam.zoy.org/wtfpl/COPYING DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
* @package Fanatique
* @subpackage Parser
*... |
<?php
//use Illuminate\Routing\Route;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
|... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2 p-b-85 p-t-90">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<div class="panel-body">
... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class ModelBooking extends CI_Model
{
public function getData($table)
{
return $this->db->get($table)->row();
}
public function getDataWhere($table, $where)
{
$this->db->where($where);
return $this->db... |
<?php
$lang['required'] = "Pole %s je vyžadováno.";
$lang['isset'] = "Pole %s musí mít hodnotu.";
$lang['valid_email'] = "Pole %s musí obsahovat platnou e-mailovou adresu.";
$lang['valid_emails'] = "Pole %s musí obsahovat platné e-mailové adresy.";
$lang['valid_url'] = "Pole %s musí obsahovat platnou URL.";
$lan... |
<?php
/* @var $this yii\web\View */
/* @var $searchModel app\models\EnrollmentFeeSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
use yii\helpers\Html;
use kartik\export\ExportMenu;
use kartik\grid\GridView;
$this->title = Yii::t('app','Create Fee');
$this->params['breadcrumbs'][] = $this->title;
?>
<d... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\EmpaquesBuscar */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="empaques-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
'options'... |
<?php
namespace Concrete\Core\Http\Middleware;
use Concrete\Core\Config\Repository\Repository;
use Concrete\Core\Utility\Service\Validation\Strings;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class ContentSecurityPolicyMiddleware implements MiddlewareInterface
{
... |
<?php
namespace App\Http\Controllers;
use App\Http\Resources\Lookups\CountryCollection;
use App\Models\Lookups\Country;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use App\Http\Resources\Lookups\Country as CountryResource;
class CountryController extends Controller
{
/**
* Display... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Login extends CI_Controller {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this controll... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class Admin extends Authenticatable
{
use HasFactory, Notifiable;
/**
* The ... |
<?php
namespace app\common\entity;
use think\Model;
class ManageGroup extends Model
{
protected $createTime = 'create_time';
protected $updateTime = 'update_time';
protected $table = 'manage_group';
protected $autoWriteTimestamp = true;
public function getId()
{
return $this->id;
... |
<?php
namespace Database\Seeders;
use App\Models\User;
use App\Models\UserRole;
use Illuminate\Database\Seeder;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
UserRole::factory(1)->create(['title' => 'Admin', 'slug' ... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Dingtalk\Vlive_1_0\Models;
use AlibabaCloud\Tea\Model;
class UpdateLiveFeedHeaders extends Model
{
public $commonHeaders;
/**
* @var string
*/
public $xAcsDingtalkAccessToken;
protected $_name = [
... |
<?php
/**
* Financial History Test
*
* @author Alex Peshkov <alex.peshkov@valtech.co.uk>
*/
namespace Dvsa\OlcsTest\Api\Domain\QueryHandler\Application;
use Dvsa\Olcs\Api\Domain\QueryHandler\Application\FinancialHistory;
use Dvsa\OlcsTest\Api\Domain\QueryHandler\QueryHandlerTestCase;
use Dvsa\Olcs\Api\Domain\Repo... |
<h3>Your form was successfully submitted!</h3> |
<?php
/*
* This file is part of the Qsnh/meedu.
*
* (c) XiaoTeng <616896861@qq.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace App\Http\Requests\Backend\Administrator;
use Illuminate\Support\Facades\Hash;
use App\Http\Requests\B... |
<script type="text/html" id="tmpl-whats-new-toolbar">
<?php if ( bp_is_active( 'media' ) ) : ?>
<div class="post-elements-buttons-item show-toolbar" data-bp-tooltip-pos="up-left" data-bp-tooltip="<?php esc_attr_e( 'Show formatting', 'buddyboss' ); ?>" data-bp-tooltip-hide="<?php esc_html_e( 'Hide formatting', 'budd... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.