text stringlengths 2 1.03M |
|---|
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-lg-12">
<h3>Masukan data diri anda di bawah ini:</h3>
</div>
</div>
@if ($errors->any())
<div class="alert alert-danger">
<strong>maaf, </strong> coba ulangi kembali.<br>
<ul>... |
<?php
declare (strict_types=1); namespace MailPoetVendor\Doctrine\ORM\Query\AST\Functions; if (!defined('ABSPATH')) exit; use MailPoetVendor\Doctrine\DBAL\Types\Type; use MailPoetVendor\Doctrine\DBAL\Types\Types; use MailPoetVendor\Doctrine\ORM\Query\AST\Node; use MailPoetVendor\Doctrine\ORM\Query\AST\TypedExpression;... |
<?php
namespace Tests\Unit\Statistics;
use App\Models\Thread;
use App\Statistics\ThreadStatistics;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ThreadStatisticsTest extends TestCase
{
use RefreshDatabase;
protected $threadStatistics;
public function setUp(): void
{
... |
<?php
declare(strict_types=1);
/**
* CakePHP : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?php
namespace FilippoToso\Travelport\System;
class CacheEntry
{
/**
* @var string $_
*/
public $_ = null;
/**
* @var typeCacheKey $Key
*/
public $Key = null;
/**
* @param string $_
* @param typeCacheKey $Key
*/
public function __construct($_ = null, $Key... |
<div class="row">
<div class="col-lg-12">
<?php if(!empty($message)){ ?>
<div class="alert alert-success" role="alert"><?php echo $message ?></div>
<?php $this->session->unset_userdata("message"); } ?>
<div class="ibox float-e-margins">
<div class="ibox... |
<?php
namespace aop\request;
/**
* ALIPAY API: anttech.oceanbase.passinfo.logininfo.query request
*
* @author auto create
* @since 1.0, 2021-08-26 14:00:31
*/
class AnttechOceanbasePassinfoLogininfoQueryRequest
{
/**
* 获取登录用户信息
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
... |
<?php
/**
* @package hubzero-cms
* @copyright Copyright 2005-2019 HUBzero Foundation, LLC.
* @license http://opensource.org/licenses/MIT MIT
*/
use Hubzero\Content\Migration\Base;
// No direct access
defined('_HZEXEC_') or die();
/**
* Migration script to rename production_collections primary key
**/
cl... |
@extends('installer::layout')
@section('content')
<div class="row">
<div class="col-lg-12">
<div class="wrapper">
<nav class="stepper">
<ul class="stepper__list">
<li class="stepper__list__item stepper__list__item--current">
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class StoreAdminPost extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get th... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace PWCode\eBaySDK\Shopping\Types;
/**
*
* @property string $Name
* @property string[] $Value
*/
class... |
<?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('layouts.main-app')
@scopedstyle('layouts.movie')
<style>
.card-font-size-lg {
font-size: 1rem;
}
.card-font-size-lg .card-title {
font-min-size: 1.2rem;
}
</style>
@endscopedstyle
@section('content.header')
<ol class="breadcrumb mb-4 mb-md-5">
<li class="breadcru... |
<?php
declare(strict_types=1);
namespace Cortex\Auth\Providers;
use Cortex\Auth\Models\Role;
use Illuminate\Http\Request;
use Cortex\Auth\Models\Admin;
use Cortex\Auth\Models\Member;
use Cortex\Auth\Models\Ability;
use Cortex\Auth\Models\Manager;
use Cortex\Auth\Models\Session;
use Cortex\Auth\Models\Guardian;
use C... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->call(PraesidiumMembersTableSeeder::class);
}
} |
<!-- Optional JavaScript -->
{{-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.perfect-scrollbar/1.5.0/perfect-scrollbar.min.js"></script>
<script src="https://unpkg.com/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://unpkg.com/@coreui/coreui/dist/js/coreui.min.js"... |
<?php
namespace YiiMan\LibUploadManager\lib\imageManager\Gd;
use YiiMan\LibUploadManager\lib\imageManager\Image;
class Font extends \YiiMan\LibUploadManager\lib\imageManager\AbstractFont
{
/**
* Get font size in points
*
* @return int
*/
protected function getPointSize()
{
ret... |
<?php
/**
* Created by PhpStorm.
* User: huzhaer
* Date: 2016/1/6
* Time: 19:28
*/
//纯写字楼,商业综合体楼,酒店写字楼
?>
@if($typeInfo == 201 || $typeInfo == 203 || $typeInfo == 204)
<p class="caption">
<span class="back_color"></span>
基础信息
</p>
<ul class="input_msg enter_build">
<li>
... |
<?php
namespace app\controllers;
use Yii;
use app\models\Account;
use app\models\AccountSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* AccountController implements the CRUD actions for Account model.
*/
class AccountController extends Controller
{
public fu... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... |
<?php
namespace BecasMds\FormacionBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class NivelEducativoType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $... |
<?php
/**
* This file is part of the contentful/contentful-management package.
*
* @copyright 2015-2021 Contentful GmbH
* @license MIT
*/
declare(strict_types=1);
namespace Contentful\Tests\Delivery\Unit\SystemProperties;
use Contentful\Management\SystemProperties\Space;
use Contentful\Tests\Management\BaseT... |
<?php
/**
* @version V4.96 24 Sept 2007 (c) 2000-2007 John Lim (jlim#natsoft.com.my). All rights reserved.
* Released under both BSD license and Lesser GPL library license.
* Whenever there is any discrepancy between the two licenses,
* the BSD license will take precedence.
*
* Set tabs to 4 for best viewing.
*
* Lates... |
<?php
namespace App\Http\Controllers\Frontend;
use Auth;
use Carbon\Carbon;
use App\Http\Controllers\Controller;
use App\Http\Requests\MassDestroyAppointmentRequest;
use App\Http\Requests\StoreAppointmentRequest;
use App\Http\Requests\UpdateAppointmentRequest;
use App\Models\Appointment;
use App\Models\AppointmentTim... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<title>
Visa apllication - Register
</title>
<link href="{{asset('/css/reset.min... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header bg-primary text-light d-flex justify-content-between align-items-center">
<h5 class... |
<nav class="navbar navbar-expand-md navbar-light navbar-laravel">
<div class="container">
<a class="navbar-brand" href="{{ url('/') }}">
{{ config('app.name', 'Laravel') }}
</a>
<button class="navbar-toggler" type="button" data-toggle="coll... |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* This core class is the main interface to all
* models, builders, and meta data.
*/
abstract class Jelly_Core
{
/**
* @var string The prefix to use for all model's class names
* This can be overridden to allow you to place
* ... |
<?php
$hour_1 = date('H');
if($hour_1 < 2 )
{
echo "<h1>This Report Disabled untill 6:00 PM";
}else {
$from_date = '';
$to_date = '';
if($this->input->post('fromdate')!=null)
$from_date = $this->input->post('fromdate');
if($this->input->post('todate')!=null)
$to_date = $this->input->post('todate');
?>... |
<div class="card mb-1">
<div class="card-body">
<h5 class="mb-0"><?= sprintf(lang('igniter.user::default.text_welcome'), $customer->first_name); ?></h5>
</div>
</div>
<div class="card-group mb-1">
<div class="card mr-sm-1">
<div class="card-body">
<?php if (!empty($customer->add... |
<?php
namespace App\Http;
use App\Http\Middleware\ClientVisit;
use App\Http\Middleware\ToHome;
use App\Http\Middleware\UICheckData;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are ... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\models\Si */
$this->title = 'Update Si: ' . $model->si_id;
$this->params['breadcrumbs'][] = ['label' => 'Sis', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->si_id, 'url' => ['view', 'id' => $model->si_id]];
$... |
<div class="wrapper">
<div class="container">
<!-- Page-Title -->
<div class="row">
<div class="col-sm-12">
<div class="page-title-box">
<div class="btn-group pull-right">
</d... |
<?php
namespace app\admin\validate\training;
use think\Validate;
class Main extends Validate
{
/**
* 验证规则
*/
protected $rule = [
];
/**
* 提示消息
*/
protected $message = [
];
/**
* 验证场景
*/
protected $scene = [
'add' => [],
'edit' => [],
... |
<?php
namespace Udp\Handlers;
use Mix\Udp\Handler\UdpHandlerInterface;
use Mix\Udp\UdpSender;
/**
* Class UdpHandler
* @package Udp\Handlers
* @author liu,jian <coder.keda@gmail.com>
*/
class UdpHandler implements UdpHandlerInterface
{
/**
* 监听数据
* @param UdpSender $udp
* @param string $data
... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js sidebar-large lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js sidebar-large lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js sidebar-large lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js sidebar... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Welcome</div>
<div class="panel-body">
Your Application... |
<?php
include("inc/header.php");
?>
<?php
$login = Session::get('cslogin');
if ($login == false) {
header("Location: login.php");
}
?>
<?php
if (isset($_GET['csconfirm'])) {
$id = $_GET['csconfirm'];
$price = $_GET['price'];
$time = $_GET['time'];
$csConfirm = $csmr->confirmByCustomer($id, $price, $time... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2015, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
/*
* +----------------------------------------------------------------------+
* | ThinkSNS Plus |
* +----------------------------------------------------------------------+
* | Copyright (c) 2018 Chengdu ZhiYiChuangXiang Technology Co., Ltd. |
* +--... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'plugins://error/error.yaml',
'modified' => 1439382775,
'data' => [
'enabled' => true,
'routes' => [
404 => '/error'
]
]
]; |
There was a request to reset your current password.
Please, click a link below to generate a new password.
<?php echo url_for('@password?user='.$user->getId().'&code='.$code,array('absolute'=> true)) ?>
Ignore this message otherwise. |
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('read_orcamento')): ?>
<?php $__env->startSection('title', 'Orcamentos'); ?>
<?php $__env->startSection('content'); ?>
<h1>Orçamentos <a href="<?php echo e(url('orcamento/create')); ?>" class="btn btn-info btn-lg"><i class="fa fa-pl... |
<?php $__env->startSection('kontent'); ?>
Ini Halaman Pertama 2
<?php $__env->stopSection(); ?>
<?php echo $__env->make('templates.master4', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\State;
use App\Zone;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\ShippingZone;
class ShippingZonesController extends Controller
{
public function __construct()
{
$this->middleware('a... |
<?php
namespace App\Http\Controllers;
use App\Models\Tag;
use Illuminate\Http\Request;
class TagsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$tags = Tag::all()->get();
retur... |
<?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2017-2020
*/
namespace Aimeos\Controller\Jobs\Order\Export\Csv;
class StandardTest extends \PHPUnit\Framework\TestCase
{
private $context;
private $object;
protected function setUp() : void
{
$this->co... |
<?php
namespace App\Http\Controllers;
use App\Ingredient;
use Illuminate\Http\Request;
class IngredientController extends Controller
{
public function index(){
$ingredients = Ingredient::select('id', 'name', 'unitPrice', 'quantity', 'max_quantity')->get();
return response()->json(['data'=> $ingredients]... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddPasswordFieldToCustomersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('cu... |
<?php
namespace MediaWiki\Page\Hook;
use Article;
/**
* @stable to implement
* @ingroup Hooks
*/
interface ShowMissingArticleHook {
/**
* This hook is called when generating the output for a non-existent page.
*
* @since 1.35
*
* @param Article $article Article corresponding to the page
* @return boo... |
<?php
/*
|--------------------------------------------------------------------------
| Laravel 2-Step Verification Web Routes
|--------------------------------------------------------------------------
|
*/
Route::group(['prefix' => 'verification', 'as' => 'laravelphp2step::', 'namespace' => 'briyanadityatama\laravel... |
<?php
namespace app\admin\controller;
use app\util\BaseController;
use think\Db;
use think\Exception;
use think\exception\DbException;
/**
* NewsController
* Class News
* @package app\admin\controller
*/
class News extends BaseController
{
public $table = 'ContentNews';
/**
* 获取列表
* @return a... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use Notifiable;
//protected $table = 'usuarios';
/**
* The attributes that are mass assignable.
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTempSearchTermTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('temp_sea... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>DooPHP Blog Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="Shortcut Icon" href="http://doophp.com/favicon... |
<?php
namespace Unitable\Graham\Engines\Hosted\Events;
use Illuminate\Foundation\Events\Dispatchable;
use Unitable\Graham\Subscription\Subscription;
class AfterProcessSubscription {
use Dispatchable;
/**
* The event subscription.
*
* @var Subscription
*/
public Subscription $subscri... |
<?php
$info = '';
$warning = '';
$content = '';
$modules = [
// "login" => array( "key" => "login", "search" => "module:ycom_auth_login", "name" => "ycom:auth - Login"),
// "pswchange" => array( "key" => "pswchange", "search" => "module:ycom_auth_pswchange", "name" => "ycom:auth - Change Password... |
<?php
include_once('../controller/config.php');
$my_type="Admin";
if($my_type == 'Admin'){
$sql1="SELECT COUNT(id) FROM main_notifications WHERE _isread='0'";
$result1=mysqli_query($conn,$sql1);
$row1=mysqli_fetch_assoc($result1);
$notfi_count=$row1['COUNT(id)'];
?>
<span class="label label-w... |
@extends('layouts.app')
@section('content')
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="{!! route('classeServicos.index') !!}">Classe Servico</a>
</li>
<li class="breadcrumb-item active">Edit</li>
</ol>
<div class="container-fluid">
... |
<?php
include APP_PATH."/admin/config/route.php";
return [
]; |
<?php
/**
* The MIT License (MIT)
*
* Webzash - Easy to use web based double entry accounting software
*
* Copyright (c) 2014 Prashant Shah <pshah.mumbai@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model frontend\models\Profile */
$this->title = 'Update '. $model->user->username . "'s Profile ";
$this->params['breadcrumbs'][] = ['label' => 'Profile', 'url' => ['index']];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="profile-update">
<h... |
@extends('welcome')
@section('background')
style="background-image: url('iGamma/img/bg13.jpg')"
@endsection
@section('cover')
<h1 class="title"> Blog i-Gamma</h1>
<h4>Bienvenido</h4>
@endsection
@section('content')
<div class="main main-raised py-4">
<div class="container pb-4">
@... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Site extends Model
{
protected $fillable = ["orgainization_id", "name", "is_testing_site", "operation_capacity", "days_of_operation", "hours_of_operation", "shifts_per_day", "testing_capacity", "time_spent_per_test", "tests_per_hour"];
... |
<?php
declare(strict_types=1);
namespace Rector\DowngradePhp70\Rector\FunctionLike;
use PhpParser\Node;
use PhpParser\Node\Expr\Assign;
use PhpParser\Node\Expr\Cast;
use PhpParser\Node\Expr\Cast\Bool_;
use PhpParser\Node\Expr\Cast\Double;
use PhpParser\Node\Expr\Cast\Int_;
use PhpParser\Node\Expr\Cast\String_;
use P... |
<?php
namespace Oro\Bundle\EntityConfigBundle\Tests\Unit\Layout\Mapper;
use Doctrine\Common\Persistence\ManagerRegistry;
use Oro\Bundle\EntityConfigBundle\Entity\FieldConfigModel;
use Oro\Bundle\EntityConfigBundle\Layout\Mapper\AttributeBlockTypeMapperInterface;
use Oro\Bundle\EntityConfigBundle\Layout\Mapper\ChainAt... |
<?php
namespace App\Http\Controllers;
use App\Models\RecommendPC;
use Illuminate\Http\Request;
class RecommendPCController extends Controller
{
public function getRecommendPC(Request $request)
{
$recommend_pc = RecommendPC::all();
return $this->makeResponse(true, $recommend_pc);
}
prot... |
@extends('layouts.master')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="card mt-2">
<div class="card-header"><h3 class="font-weight-light my... |
@extends('layouts.customer.v_main_customer')
@section('title', $title)
@section('outCSS')
<link href="<?= asset('dashboard/libs/summernote/summernote-bs4.css') ?>" rel="stylesheet" type="text/css" />
@endsection
@section('contents')
@if (\session()->has('message'))
{!! \session()->get('message') !!}
... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Models\Donasi\Selain_Uang\DonasiFeedModel;
use App\Http\Models\Payment\Resource\PaymentModel;
use App\Http\Models\Users\Detail\AdminModel;
use App\Http\Models\Users\Detail\DonaturModel;
use App\Http\Models\Users\Detail\RootModel;
use App\Http\Models\Dompet\Reso... |
<?php
return [
/**
* AuthorizationController
*/
'activation_code_does_not_exist' =>'Activation code does not exist',
/**
* DisksController
*/
'state_abnormal' =>'state abnormal',
'file_update_strategy_error' =>'File update strategy error',
'privilege_policy_error' =>'privi... |
<?php namespace App\Http\Controllers;
use View;
use Auth;
use Hash;
use DB;
use DateTime;
use Validator;
use Request;
use Response;
use App\Models\Usuario;
use App\Models\Asignacion;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Input;
class UsuariosController extends Controller {
publi... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Export_excel extends CI_Controller {
function __construct(){
parent::__construct();
$this->load->model('admin/Admin_m');
$this->load->model('admin/Model_data');
$this->load->library('Excel');
}
public function index(){
if ($... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Language extends Model
{
protected $fillable = [
'lang_code','name'
];
} |
<?php
// If we have not pressed one of the bajillion buttons, get kicked!
if (!isset($_POST["TurnHuman"]) && !isset($_POST["Starve"]) && !isset($_POST["TurnSurv"]) && !isset($_POST["Zombify"]) && !isset($_POST["TurnMerc"]) && !isset($_POST["ChatBan"]) && !isset($_POST["ChatUnBan"]) && !isset($_POST["KickBtn"]) && !isse... |
<?php
function getPermissionDefault($level) {
$roles = array();
$roles['T'] = array(
'kkdvlt' => array(
'index' => 1,
'create' => 0,
'edit' => 0,
'delete' => 0,
'approve'=> 1
),
'kkdvvtxk' => array(
'index' => 1,
... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class Authenticate
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
public fun... |
<?php
/**
* @author: Albaraa Mishlawi
* @package: albaraam/php-gcm
*/
namespace pusher\gcm\exceptions;
class TooManyRecipientsException extends LogicException {} |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsShared
*/
/**
* evaluate compiler parameter
*
* @param array $params parameter array as given to the compiler function
* @param integer $index array index of the parameter to convert
* @param mixed $default value to be returned if the ... |
<div class="line"></div>
<h3>Simple Form</h3>
<form style="max-width: 25rem;">
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email" type="email">
<small id="em... |
<?php declare(strict_types=1);
namespace Fazland\FattureInCloud\Model\Subject;
final class Supplier extends Subject
{
} |
<?php
$db_config = get_db_config();
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections... |
<?php
namespace App\Http\Controllers\Admin;
use App\Models\LogUserLogin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
class LogUserLoginController extends Controller
{
public function index(Request $request)
{
$user = Auth::user();
$us... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
use Spatie\Permission\Models\Role;
class RolController extends Controller
{
public $search;
/************************************************************************************************************************ */
p... |
<?php
/**
* Scholarship Theme Customizer panel for Additional Settings.
*
* @package Mystery Themes
* @subpackage Scholarship
* @since 1.0.0
*/
/**
* Add postMessage support for site title and description for the Theme Customizer.
*
* @param WP_Customize_Manager $wp_customize Theme Customizer object.
*/
add... |
<?php
namespace project;
use Illuminate\Database\Eloquent\Model;
class Game extends Model
{
public function comments()
{
return $this->hasMany(GameComment::class);
}
public function user()
{
return $this->belongsTo(User::class);
}
public function addComment($body, $userid)... |
<!DOCTYPE html>
<html>
<head>
<title>User Data</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src='http://maxcdn.bootstrapcdn.com/bootstrap... |
<?php
/**
* Admin View: Page - Addons
*
* @var string $view
* @var object $addons
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
$view = isset( $_GET['view'] ) ? sanitize_text_field( $_GET['view'] ) : '';
$theme = wp_get_theme();
?>
<div class="wrap woocommerce wc_addons_wrap">
<div... |
<?php $__env->startSection('content'); ?>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header">
Motor
</div>
<div class="card-body">... |
<?php
return array(
'DS' => 'DIRECTORY_SEPARATOR',
'PS' => 'PATH_SEPARATOR'
); |
<?php
namespace App\Http\Controllers\Author;
use App\Feedback;
use Brian2694\Toastr\Facades\Toastr;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
class FeedbackController extends Controller
{
// public function index()
// {
// $questions = Auth::u... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Receipts extends Model
{
protected $table = "receipts";
protected $primarykey = "id";
protected $fillable = ['name','path','event','user_id'];
public $timestamps = false;
} |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title=L('admin_manage');
include $this->admin_tpl('header');
?>
<div class="subnav">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('admin_manage')?></h2>
<div class="content-menu ib-a blue line-x"><a href="?app=admin&control... |
<?php
require '../vendor/autoload.php';
$app = new \Slim\Slim([
'debug' => false,
'templates.path' => '../templates'
]);
require '../src/dependencies.php';
require '../src/routes_client.php';
require '../src/routes_api.php';
$app->run(); |
<?php
namespace App\Http\Controllers\frontend;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
Use DB;
use Carbon;
use Session;
class UserController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function inde... |
<?php
namespace Dvsa\Olcs\Api\Domain\CommandHandler\Task;
use Doctrine\Common\Collections\Criteria;
use Dvsa\Olcs\Api\Domain\Command\Result;
use Dvsa\Olcs\Api\Domain\CommandHandler\AbstractCommandHandler;
use Dvsa\Olcs\Api\Domain\Util\DateTime\DateTime;
use Dvsa\Olcs\Api\Entity\Application\Application;
use Dvsa\Olcs\... |
@component('mail::message')
# Your post was liked
{{ $liker->name }} liked your post
@component('mail::button', ['url' => route('posts.show', $post)])
View Post
@endcomponent
Thanks,<br>
{{ config('app.name') }}
@endcomponent |
<?php
return [
'replies_count' => 'Комментарий|Комментария'
]; |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="ترجمه تخصصی متون و مقالات">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body>
<img class="page_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.