text stringlengths 2 1.03M |
|---|
<?php
namespace App\Http\Controllers\Seller;
use App\Http\Controllers\ApiController;
use App\Seller;
use App\User;
use App\Product;
use Illuminate\Http\Request;
class SellerProductController extends ApiController
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
... |
<?php
namespace App\Http\Middleware;
use Closure;
class test
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$ip = $request->ip();
... |
<?php
namespace Omnipay\Magnius\Tests;
use Omnipay\Common\CreditCard;
use Omnipay\Magnius\Message\CompletePurchaseRequest;
use Omnipay\Magnius\Message\CompletePurchaseResponse;
use Omnipay\Magnius\Message\PurchaseRequest;
use Omnipay\Magnius\Message\Response;
use Omnipay\Tests\TestCase;
class CompletePurchaseTest ex... |
<?php
namespace Tecnoready\Common\Model\ObjectManager\DocumentManager\ExporterManager;
use RuntimeException;
/**
* Agrupa los modelos de exportacion de un modulo
*
* @author Carlos Mendoza <inhack20@gmail.com>
*/
class ChainModel
{
/**
* Tipo de objeto que genera el historial (Facturas,Presupuestos,Cont... |
<div class="main">
<div class="themed-bg"></div>
<div id="skrollr-body">
<div class="skroll-container">
<div class="header__wrapper">
<div class="header__content">
<div class="website-name">
<h1>
<a href="index.html">
<img class="... |
<?hh
<<file:__EnableUnstableFeatures('expression_trees')>>
function foo(): void {
$x = 4;
// Spliced Expressions need to be ExprTrees
$y = ExampleDsl`${$x}`;
} |
<?php
include_once('header.php');
//include_once('db.php');
?>
<script>
</script>
<style>
.modal-header, h4, .close {
background-color: #4a91e3;
color:white !important;
text-align: center;
font-size: 30px;
}
.modal-footer {
background:#4a91e3;
}
.modalstyle{
pad... |
<?php
/*
* This file is part of the Symfony package.
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Tests\Components\Console\Tester;
use Symfony\Com... |
<?php
namespace RTippin\Messenger\Tests\Http;
use RTippin\Messenger\Contracts\MessengerProvider;
use RTippin\Messenger\Models\Thread;
use RTippin\Messenger\Tests\FeatureTestCase;
class FindRecipientThreadTest extends FeatureTestCase
{
private Thread $private;
private Thread $privateWithCompany;
private M... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('products', fun... |
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:69:"/www/wwwroot/ledigou/public/../application/index/view/user/index.html";i:1563862551;s:57:"/www/wwwroot/ledigou/application/index/view/base/nav.html";i:1563862922;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>个人中心</title>
<meta name="viewp... |
<?php
/**
* [PHPFOX_HEADER]
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox
* @version $Id: add.html.php 4074 2012-03-28 14:02:40Z Raymond_Benc $
*/
defined('PHPFOX') or exit('NO DICE!');
?>
<div id="js_field_holder">
<form method="post" onsubmit="return $Core.input.ch... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
@section('title')
Gestion des équipes
@stop
@section('content')
<h1>Toutes les équipes</h1>
<a href="{{ URL::route('admin.teams.create') }}">Ajouter une équipe</a>
<table class="table">
<tr>
<th>Nom de l'équipe</th>
<th>Nombre de comptes actuels</th>
<th></th>
<th></th>
</tr>
@foreach ($teams as $team)
<t... |
<?php $__env->startSection('page_heading','Rumpun Ilmu'); ?>
<?php $__env->startSection('section'); ?>
<div class="col-sm-9">
<form role="form" action="" method="post">
<?php echo e(csrf_field()); ?>
<div class="form-group">
<label>ID rumpun ilmu</label>
<input class="form-control" placeholder="Masukkan ID... |
@extends('layouts.app')
@section('content')
{{-- <form method="POST" action="{{ route('blogs.update') }}"> --}}
<form role="form" method="post" action="{{route('blogs.update', $blog)}}">
@csrf
<h1 class="subtitle is-3 center mt-1">Create Bolg</h1>
{{-- <input type="text" name="body" value="{{ $blog->... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\Nivel */
$this->title = 'Nivel: '.$model->nivel;
$this->params['breadcrumbs'][] = ['label' => 'Niveles', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($thi... |
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>SISDOS DOSEN</title>
<!-- Custom fonts for this template-->
<lin... |
<?php
namespace Docker\Api\Model;
class EndpointSpec
{
/**
* The mode of resolution to use for internal load balancing between tasks.
*
* @var string
*/
protected $mode = 'vip';
/**
* List of exposed ports that this service is accessible on from the
outside. Ports can only be p... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are gi... |
<?php
namespace Test\Unit;
use PayPalHttp\HttpResponse;
use PHPUnit\Framework\TestCase;
class HttpResponseTest extends TestCase
{
public function testHttpResponse_construct()
{
$response = new HttpResponse(200, '{"myJSON"=> "isTheBestJSON"}', ["Content-Type" => "application/json"]);
$this->a... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use App\Role;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'n... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Ticket;
use App\ValidTicket;
use Auth;
use App\WinPercent;
class TicketController extends Controller
{
public function generate(Request $request){
/* $this->validate($request,[
... |
@extends('layouts.master')
@section('content')
<div class="row">
<div class="col-md-6 col-md-offset-3">
<a class="btn btn-default" href="{{route('todo', $todo->id)}}">Go Back</a>
</div>
</div>
<h1 class="text-center">Edit Todo</h1>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<f... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var common backend\models\Photo */
$this->title = 'Yangi';
$this->params['breadcrumbs'][] = ['label' => 'Suratlar', 'url' => 'index'];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="photo-create">
<h1><?= Html::encode($this->title) ?>... |
<?php
declare(strict_types=1);
namespace App\EntityProcessor;
use App\EntityProcessor\Handler\EntityProcessorHandlerInterface;
use Doctrine\ORM\EntityManagerInterface;
use Throwable;
final class EntityBatchProcessor
{
private const DEFAULT_FLUSH_AFTER = 20;
private $em;
private $flushAfter;
public... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Betakey extends Model
{
//
} |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* This code is partially based on the Rack-Cache library by Ryan Tomayko,
* which is released under the MIT license.
* (based on commit 02d2b48d75bcb63cf1c0c7149c077ad256542801)
*
* For the full copyright and ... |
<?php
namespace Spinen\ConnectWise\Models\v2019_2\System;
use Carbon\Carbon;
use Spinen\ConnectWise\Support\Model;
/**
* Class IntegrationRequest Version v2019_2
*
* Model for IntegrationRequest
*
* @property boolean $disabledFlag
* @property string $actionName
* @property string $helpUrl
* @property string ... |
<?php $__env->startSection('content'); ?><p>Sam Frost has revealed her ex-boyfriend Dave Bashford still holds a special place in her heart, even though they are no longer dating.</p>
<p>The couple, who had previously been friends for years before getting together, split in July after almost three years.</p>
<p>'Dave'... |
<?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
namespace App\Http\Controllers\Administrator;
use App\Http\Controllers\Controller;
use App\Model\OtherInformation;
use Illuminate\Http\Request;
class OtherInformationController extends Controller
{
public function index()
{
$information = OtherInformation::first();
return view('backend.... |
<?php
namespace frontend\controllers;
use Yii;
use frontend\models\ZReportData;
use frontend\models\ZReportDataSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* ZReportDataController implements the CRUD actions for ZReportData model.
*/
class ZReportDataController... |
<?php
/**
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', which is part of this source code package.
*
* Copyright (c) 2012-2020 John Quinn <johnquinn3@gmail.com>
*
* @author John Quinn
*/
/**
* An enum with associated values
*/
class ValuedEnum extends \buffalokiwi\buf... |
<?php
class Kitolms_Comment extends Walker_Comment {
protected function html5_comment( $comment, $depth, $args ) {
$tag = ( 'div' === $args['style'] ) ? 'div' : 'li'; ?>
<<?php echo esc_attr($tag); ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent article_comments_wrap' : ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Register;
use Auth;
use Validator;
use Session;
use DB;
use Redirect;
class AdminController extends Controller
{
//
public function __construct()
{
$this->middleware('auth');
}
public function showuser(){
... |
@php $filterSubproduct = []; @endphp
@if (count($product->category->properties) > 0)
@foreach ($product->category->properties as $key => $prop)
@php
@$filterSubproduct[$key] = $filter[$product->id.$key]
@endphp
@endforeach
@endif
<a href="{{ url($lang->lang.'/catalog/'.getProduc... |
<!-- BEGIN #sidebar -->
<div id="sidebar" class="app-sidebar">
<!-- BEGIN scrollbar -->
<div class="app-sidebar-content" data-scrollbar="true" data-height="100%">
<!-- BEGIN menu -->
<div class="menu">
<div class="menu-header">{{ __('messages.Navigation')}}</div>
<div class="menu-item active">... |
<?php
preg_match("\0//i", "");
preg_match("/\0/i", "");
preg_match("//\0i", "");
preg_match("//i\0", "");
preg_match("/\\\0/i", "");
preg_match("\0[]i", "");
preg_match("[\0]i", "");
preg_match("[]\0i", "");
preg_match("[]i\0", "");
preg_match("[\\\0]i", "");
preg_replace("/foo/e\0/i", "echo('Eek');", "");
?> |
<?php
/*
* Following code will list all the users
*/
// array for JSON response
$response = array();
// include db connect class
require_once __DIR__ . '/db_connect.php';
// connecting to db
$db = new DB_CONNECT();
// get all users from users table
$result = mysql_query("SELECT * FROM user") or die(mysql_error(... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ $category }}の一覧</title>
</head>
<body>
<p>{{ $category }}の一覧</p>
@if ($category == 'news')
<p>本日のニュースをお伝えします</p>
@endif
</body>
</html> |
@extends('layouts.admin')
@section('content')
<div class ="container-fluid">
<div class ="row">
<div class ="col-md-12">
<div class ="card">
<div class ="card-header">
Data Kota
<a href="{{route('kota.create')}}"
class="btn btn-prima... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class PublicPages extends MX_Controller {
public function __construct()
{
parent::__construct();
}
public function index()
{
$this->load->view('publicView');
}
public function call_to_welcome()
{
Modules::load('welcome')->inde... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<div class="content-wrapper container">
<header id="research" class="row">
<nav class="navbar navbar-default navbar-fixed-top navbar-resultpage">
<div class="container">
<div class="row">
<div class="col-xs-3 logo dense-col">
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::get... |
<?php
namespace Drupal\Tests\views\Unit\Controller;
use Drupal\Core\Render\RenderContext;
use Drupal\Tests\UnitTestCase;
use Drupal\views\Ajax\ViewAjaxResponse;
use Drupal\views\Controller\ViewAjaxController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use... |
<?php
namespace App\Models;
use App\Models\Traits\User\UserAttributes;
use App\Models\Traits\User\UserMethods;
use App\Models\Traits\User\UserRelationships;
use Cog\Contracts\Love\Liker\Models\Liker as LikerContract;
use Cog\Laravel\Love\Liker\Models\Traits\Liker;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Il... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSiteFooterTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('site_footer'... |
@extends('bsb.app')
@inject('lang', 'App\Lang')
@section('content')
<div class="header">
<div class="row clearfix">
<div class="col-md-12">
<h3 class="">{{$lang->get(243)}}</h3>
</div>
</div>
</div>
<div class="body">
<!-- Tabs -->
<... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Imagerecog\V20190930\Models;
use AlibabaCloud\Tea\Model;
class DetectImageElementsRequest extends Model
{
/**
* @var string
*/
public $url;
protected $_name = [
'url' => 'Url',
];
public fu... |
<?php
if (!defined('FREEPBX_IS_AUTH')) { die('No direct script access allowed'); }
sql('DROP TABLE IF EXISTS recordings'); |
<?php
namespace VerumConsilium\Browsershot;
class PDF extends Wrapper
{
/**
* Extension file of the generated output
*
* @return string
*/
protected function getFileExtension(): string
{
return 'pdf';
}
/**
* Mime Type of the generated output
*
* @return... |
<?php
declare(strict_types = 1);
namespace BlockHorizons\BlockPets\pets;
use BlockHorizons\BlockPets\events\PetInventoryInitializationEvent;
use BlockHorizons\BlockPets\events\PetLevelUpEvent;
use BlockHorizons\BlockPets\events\PetRespawnEvent;
use BlockHorizons\BlockPets\Loader;
use BlockHorizons\BlockPets\pets\crea... |
<div class="container mb-4" style="width: 100%; max-width: 100%; padding: 0px; min-height: 600px">
<div class="row mb-4">
<div class="col-md-12 mt-4">
<h2 class="pa-lc-5">Administrator</h2>
<h5 class="mb-2 mt-2 pa-lc-5">
<b>Product Inventory</b></h5>
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Faq extends Model
{
//
} |
<?php
/**
* Twigpack plugin for Craft CMS 3.x
*
* Twigpack is the conduit between Twig and webpack, with manifest.json &
* webpack-dev-server HMR support
*
* @link https://nystudio107.com/
* @copyright Copyright (c) 2018 nystudio107
*/
use craft\helpers\App;
/**
* Twigpack config.php
*
* This file exi... |
<?php if (get_option('swt_type') == 'Display') { ?>
<div class="r_comment">
<h3>最新评论</h3>
<ul>
<?php
global $wpdb;
$sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url,comment_author_email, SUBSTRING(comme... |
<?php
namespace UEC\SymfonyFormForZendFramework\Validator\Constraint;
use Symfony\Component\Validator\Constraint;
class UniqueField extends Constraint
{
public $repository_class;
public $repository_field;
public $criteria;
public function getRequiredOptions()
{
return ['repository_class'... |
<?php
namespace PhpactorHub\Pipeline\Survey;
use Maestro\Core\Inventory\RepositoryNode;
use Maestro\Core\Task\Task;
use PhpactorHub\Pipeline\BasePipeline;
use PhpactorHub\Pipeline\Task\ComposerPublishVersionsTask;
class PackageVersions extends BasePipeline
{
protected function buildRepository(RepositoryNode $rep... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* fk... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes6tyu
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group whic... |
<?php
return array(
"basic" => array(
"id" => 1,
"userId" => 1,
"departmentId" => 1,
"rank" => "p20",
"number" => "0010",
"trueName" => "陆昉宇",
"phone" => 1... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTasksTable extends Migration
{
public function up()
{
Schema::create('tasks', function (Blueprint $table) {
$table->bigIncrements('id');
... |
<?php
namespace App\Http\Controllers;
use App\Pokemon;
use App\Http\Requests;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Validation\Validator;
class PokemonController extends Controller
{
public function show()
{
... |
<?php
namespace Microweber\Controllers;
use Microweber\View;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\App;
use Cache;
use Module;
class ModuleController extends Controller
{
public $return_data = false;
public $page_url = false;
public $create_new_page = false;
public $render... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Main extends BD_Controller {
function __construct()
{
// Construct the parent class
parent::__construct();
$this->auth();
}
public function verify()
{
$theCredential = $this->user_data;
... |
<?php
/**
* The tests here verify the structure of the code. This is for outright bugs,
* not just style issues.
*/
class StructureTest extends MediaWikiTestCase {
/**
* Verify all files that appear to be tests have file names ending in
* Test. If the file names do not end in Test, they will not be run.
*/... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('products', fun... |
@extends('admin.admin_layouts')
@section('admin_content')
<!-- ########## START: MAIN PANEL ########## -->
<div class="sl-mainpanel">
<div class="sl-pagebody">
<div class="sl-page-title">
<h5>Category Table</h5>
</div><!-- sl-page-title -->
@if ($errors->any())
<div class="alert alert-danger">... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Store extends Model
{
protected $fillable = ['name','image','city'];
function product(){
return $this->hasMany(Product::class,'store_id');
}
public function admin(){
return $this->belongsTo(User::class);
}
} |
<?php
// Heading
$_['heading_title'] = 'Корзина покупок';
// Text
//$_['text_success'] = 'Товар <a href="%s">%s</a> добавлен в вашу <a href="%s">корзину</a>!';
$_['text_success'] = 'Товар <a href="%s">%s</a> добавлен в вашу корзину!';
$_['text_remove'] = 'Корзина успешно... |
@extends('layouts.app')
@section('content')
<!-- Card -->
<div class="card card-cascade wider reverse">
<!-- Card image -->
<div class="view view-cascade overlay">
<img class="card-img-top" src="{{asset('images')}}/{{$news->img}}" alt="Card image cap">
<a href="#!">
<div class="mask rgba-white-sl... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit37cfdaadc1bf0ad2f43f91612dbda92d
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-6 offset-md-3">
<h1 class="h3">
<i class="fa fa-search"></i>
Consultar Articulo
</h1>
<hr>
<nav aria-label="breadcrumb">
... |
<?php
class Locale {
static protected $messages;
static function init() {
self::$messages = [
'mixed' => [
'default' => '${path} is invalid',
'required' => '${path} is a required field',
'oneOf' => '${path} must be one of the following values: ${values}',
'notOneOf' => ... |
@extends('layouts.app')
@section('title')
Optimisations
@endsection
@section('content')
{{--<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-al... |
@extends('adminlte::master')
@section('adminlte_css')
<link rel="stylesheet"
href="{{ asset('vendor/adminlte/dist/css/skins/skin-' . config('adminlte.skin', 'blue') . '.min.css')}} ">
@stack('css')
@yield('css')
@stop
@section('body_class', 'skin-' . config('adminlte.skin', 'blue') . ' sidebar-m... |
<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Route;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In addition, it is set as th... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\AdminRequest;
use App\Traits\ResponseTrait;
use App\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Yajra\DataTables\Facades\DataTables;
use Illuminate\Support\Facades\Redirect, Illuminate... |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* PDO database connection.
*
* @package Kohana/Database
* @category Drivers
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/license
*/
class Kohana_Database_PDO extends Database {... |
<div class="input-group mb-3 {{ $config["class"] ?? "" }}" style="{{ $config["style"] ?? "" }}">
<input type="checkbox"
style="width: 30px"
class=" align-self-center @error($keyPath) is-invalid @enderror"
wire:model.debounce.500ms="{{ $keyPath }}"
{{ isset($config["requ... |
@extends('layouts.app')
@section('content')
<!-- Header start -->
@include('includes.header')
<!-- Header end -->
<!-- Inner Page Title start -->
@include('includes.inner_page_title', ['page_title'=>__('Missbrauch melden')])
<!-- Inner Page Title end -->
<!-- Page Title End -->
<div class="listpgWraper">
<div clas... |
<?php
use Faker\Generator as Faker;
use Carbon\Carbon;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your applicat... |
<?php
namespace App\Http\Requests\Subdivision;
use Illuminate\Foundation\Http\FormRequest;
class UpdateSubdivisionRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
... |
<?php
namespace Elastica;
use Elastica\Exception\InvalidException;
/**
* Elastica index template object.
*
* @author Dmitry Balabka <dmitry.balabka@gmail.com>
*
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html
*/
class IndexTemplate
{
/**
* Index template n... |
<?php
/*
* This file is part of the Sonata Project 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\UserBundle\Controller;
use FOS\UserBundle\Mode... |
<?php
namespace DeliciousBrains\WP_Offload_S3\Aws2\Guzzle\Http\Exception;
use DeliciousBrains\WP_Offload_S3\Aws2\Guzzle\Http\Message\RequestInterface;
use DeliciousBrains\WP_Offload_S3\Aws2\Guzzle\Http\Message\Response;
/**
* Http request exception thrown when a bad response is received
*/
class BadResponseExceptio... |
<?php
require('function.php');
?>
<!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">
<meta name="description" content="">
<meta name="author" content="">
<t... |
<div id="modal-add-pdf-quotes" class="modal fade in" tabindex="-1" role="dialog">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<form method="POST" action="">
<div class="modal-header">
<h5 class="modal-title">Add... |
@extends('layouts.backend.app')
@section('title','Show Post')
@push('css')
@endpush
@section('content')
<div class="container-fluid">
<a href="{{ route('admin.post.index') }}" class="btn btn-danger wave-effect" >BACK</a>
@if($post->is_approved == false)
<button type="button" class="btn btn-su... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMessagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('messages', fun... |
<?php
session_start();
// check for session
if($_SESSION)
{
// if user is of type js redirect it to jobseeker profile page
if($_SESSION['type']=="js")
header("location:profile.php");
// if user if of type jp redirect it to jobprovider profile page
if($_SESSION['type']=="jp")
head... |
@extends('layout.public')
@section('title', $title)
@section('content')
<div class="mws-panel grid_8">
<div class="mws-panel-header">
<span>
<i class="icon-table">
</i>
{{$title}}
</span>
</div>
<div class="mws-panel-body no-padding">
<div role="gr... |
@extends('layouts.app1')
@section('contenu')
<div class="hero-wrap hero-bread" style="background-image: url('/frontend/images/image_3.jpg');">
<div class="container">
<div class="row no-gutters slider-text align-items-center justify-content-center">
<div class="col-md-9 ftco-animate text-center">
<p class="... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
namespace App\Repositories;
use App\Models\suratpengantarktp;
use InfyOm\Generator\Common\BaseRepository;
/**
* Class suratpengantarktpRepository
* @package App\Repositories
* @version August 10, 2018, 3:38 am UTC
*
* @method suratpengantarktp findWithoutFail($id, $columns = ['*'])
* @method suratpengant... |
<?php
namespace App\Http\Controllers;
use App\Reservation;
use Brian2694\Toastr\Facades\Toastr;
use Illuminate\Http\Request;
class ReservationController extends Controller
{
public function reserve(Request $request){
$this->validate($request,[
'name' => 'required',
'phone' => 'requir... |
<?php session_start();
include 'dbconnection.php';?>
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/reset.css"> <!-- CSS reset -->
<link rel="stylesheet" href="css/style.css"> <!-- Re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.