text stringlengths 2 1.03M |
|---|
<?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 =... |
@extends('admin.layout.index')
@section('content')
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Sửa loại sản phẩm:
<small>{{$type->name}}</small>
</h1>
</d... |
<?php
$datasql_perpage = 10;
$datasql_search_fields = array("aModule", "aModuleDesc");
$datasql_table_fields = array("aModule", "aModuleDesc");
$datasql_table_orderby = array("aModule");
$datasql_edit_field_legend = array("aModule");
$datasql_edit_fields = array(
array('tab' => 'aModule',
'desc' => 'Stammdaten'... |
<?php
require_once '../admin/dbconfig.php';
require_once '../admin/conexion.php';
?>
<?php
$stmt = $DB_con->prepare('SELECT * FROM contato_mapa WHERE contato_id_user = 138 ORDER BY contato_id ASC LIMIT 1');
$stmt->execute();
if($stmt->rowCount() > 0) {
while($row=$stmt->fetch(PDO::FETCH_ASSOC)) {
e... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateContactsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('contacts', fun... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Model\ChannelModel;
use App\Tools\Wechat;
use App\Tools\Curl;
class ChannelController extends Controller
{
/*渠道展示*/
public function show()
{
return view('channel.show');
}
... |
<?php
namespace App\Http\Controllers;
use App\Category;
use App\Http\Requests\PostCreateRequest;
use App\Photo;
use App\Post;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Support\Facades\Auth;
class AdminPostController extends Controller
{
public function index()
{
$posts['pos... |
<?php
namespace FitdevPro\DI\TestsLib\Stubs;
/**
* Class MyService
* @package FitdevPro\DI\Tests\Libs\Stubs
*/
class MyService
{
public $arg1;
public $arg2;
public $param1;
public $param2;
public $method1;
public $method2;
/**
* MyService constructor.
* @param $arg1
* ... |
@php
$title = __('Verify Your Email Address');
@endphp
@extends('layouts.my')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Verify Your Email Address') }}</div>
... |
<?php
namespace SCIGAP;
interface AiravataWrapperInterface
{
/**
* This function calls Airavata Launch Experiments. Inside the implementation, all the required steps such as
* creating an experiment and then launching is taken care of.
*
* @param string $limsHost - Host where LIMS is deploye... |
<?php get_header(); ?>
<?php get_template_part('sections/home/section-home-top'); ?>
<?php get_template_part('sections/home/section-home-dark'); ?>
<?php get_template_part('sections/home/section-home-values'); ?>
<?php get_template_part('sections/home/section-home-roll'); ?>
<?php get_footer(); ?> |
{{-- @{{extends('layouts.app')}} --}}
@extends('common.layout')
@section('css')
<link href="/css/jquery.dataTables/jquery.dataTables.min.css" rel="stylesheet">
<link href="/css/jquery.dataTables/dataTables.bootstrap.css" rel="stylesheet">
<link href="/css/jquery-ui/jquery-ui.min.css" rel="stylesheet">
<style>... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2017/11/20
* Time: 12:51
*/
namespace app\index\model;
use think\Model;
class EntryFormModel extends Model{
protected $table = 'bus_entry_form';
public function add_new($data){
$res = $this->allowField(true)->save($data);
if($re... |
<?php
namespace App\Http\Controllers\User;
use App\Http\Controllers\Controller;
use App\Models\User\Portofolio;
use Illuminate\Http\Request;
class AllPortofolioController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function... |
<?php
/**
* General parent cms add update action.
*
*
* @author Mikael Mkrtcyan
* @site https://naghashyan.com
* @mail mikael.mkrtchyan@naghashyan.com
* @year 2010-2019
* @package ngs.cms.actions
* @version 9.0.0
*
*/
namespace ngs\cms\actions {
use ngs\cms\dal\dto\AbstractCmsDto;
use ngs\cms\managers\... |
<?php
use yii\db\Migration;
/**
* Class m181112_091608_alter_personil.
*/
class m181112_091608_alter_personil extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->addColumn('tb_m_personil', 'status', $this->string('20')->defaultValue('Aktif')->notNull());
}
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Ciudad extends Model
{
protected $table = 'ciudad';
protected $primaryKey = 'id_ciudad';
const CREATED_AT = 'fe_creado';
const UPDATED_AT = 'fe_actualizado';
protected $fillable = [
'nb_ci... |
<?php
namespace app\index\model;
use think\Model;
class Facility extends Model
{
//
} |
<?php
namespace fpdidev;
header("Content-Type: text/plain");
error_reporting(-1);
ini_set('display_errors', '1');
include __DIR__ . "/../vendor/autoload.php";
use Symfony\Component\Finder\Finder;
$header = <<<EOF
<?php
/**
* This file is part of FPDI
*
* @package FPDI
* @copyright Copyright (c) 2015 Setasign ... |
<!-- 鱼群跳跃 -->
<?php if ($this->options->JFishStatus === "top") : ?>
<div id="j-fish-skip"></div>
<?php endif; ?>
<section class="container-fluid j-footer">
<?php if ( $this->options->JFootRecommend && !$this->is('author') ): ?>
<?php $this->need('component/footer.recommend.php'); ?>
<?php endif; ?>... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ShopPage extends Model
{
use HasFactory;
} |
<div id="modal-delete-{{$cliente->id}}" class="flex items-center justify-center fixed left-0 bottom-0 w-full h-full bg-gray-800">
<div class="bg-white rounded-lg w-1/2">
<form action="{{route('client.destroy',$cliente->id)}}" method="POST">
@csrf
@method('DELETE')
<div class="flex flex-col items-start p... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests;
use App\User;
use Yajra\Datatables\Datatables;
class DatatablesController extends Controller
{
/**
* Displays datatables front end view
*
* @return \Illuminate\View\View
*/
public function getIndex()
{
return view('a... |
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html>
<head>
<!-- <title>Resale a Business Category Flat Bootstrap Responsive Website Template | Categories :: w3layouts</title>
-->
... |
<?php
/**
* PHP TableOfContents Library
*
* @license http://opensource.org/licenses/MIT
* @link https://github.com/boomdevs/toc
* @version 3
* @package boomdevs/toc
* @author Boomdevs <boomdevs@gmail.com>
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distribut... |
<?php
/* BloggerBlogBundle:Comment:create.html.twig */
class __TwigTemplate_ec2ba3befb78682f72214681987a5473776f45b2c2ab850aa3ce2f8885aad60e extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = a... |
<?php
namespace EventBundle\Controller;
use EventBundle\Entity\CategorieEvent;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
/**
* Categorieevent controller.
*
*/
class CategorieEventController extends Controller
{
/**
* Lists all categorieEvent e... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Tag;
class TagsController extends Controller
{
public function index(Tag $tag)
{
$posts = $tag->posts;
return view('posts.index', compact('posts'));
}
} |
<?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
class SV_UserTaggingImprovements_XenForo_BbCode_Formatter_Base extends XFCP_SV_UserTaggingImprovements_XenForo_BbCode_Formatter_Base
{
/** @var bool */
protected $canViewPublicGroups;
public function getTags()
{
$visitor = XenForo_Visitor::getInstance();
/** @noinspection PhpUnd... |
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Http\Request;
use App\User as User;
use App\vehicleO... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCommentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comments', function (Blueprint $table) {
... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to... |
<?php
$this->load->view('template/head');
$this->load->view('template/side');
?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Gangguan
<small>Histori Gangguan</small>
</h1... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePsikologsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('psikologs', f... |
@extends('frontend.layouts.app')
@section('content')
<div class="register-col">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="thumbnail" style="margin-top: 30px;">
<div class="heading-col" ... |
<?php
namespace App\Models\Client;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Payment extends Model
{
use HasFactory;
} |
<?php $this->load->view('inc/datatable'); ?>
<div class="row">
<button class="btn btn-success" onclick="add_person()"><i class="glyphicon glyphicon-plus"></i> Add New Student</button>
<!-- <button class="btn btn-success" onclick="add_parent()"><i class="glyphicon glyphicon-plus"></i> Add New Parent</button> -->
... |
<?php
namespace App\Http\Controllers\Auth;
use App\User;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
/*
|---------------------------------------... |
<?php
namespace App\Http\Controllers\Auth;
use App\User;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
/*
|--... |
<?php
namespace Database\Factories;
use App\Models\Category;
use Illuminate\Database\Eloquent\Factories\Factory;
class CategoryFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Category::class;
/**
* Define the m... |
<?php
// delete user cookies (by entering already passed expiration time)
setcookie('user', '', time() - 3600, "/");
setcookie('secret_user_cookie', '', time() - 3600, "/");
// remove all session variables
session_unset();
// destroy the session
session_destroy();
header('Location: ../../index.php#regaut'); |
<?php
/**
* @author Semenov Alexander <semenov@skeeks.com>
* @link http://skeeks.com/
* @copyright 2010 SkeekS (СкикС)
* @date 28.08.2015
*/
use skeeks\cms\modules\admin\widgets\form\ActiveFormUseTab as ActiveForm;
/* @var $this yii\web\View */
?>
<?php $form = ActiveForm::begin(); ?>
<?= $form->fieldSet(\Yii:... |
<?php
namespace PerfectOblivion\MsGraph;
use Closure;
use PerfectOblivion\MsGraph\Facades\MsGraphAdmin;
class MsGraphAdminAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Transaction extends Model
{
protected $guarded = [];
/**
* Get all of the guest transactions.
*/
public function guests()
{
return $this->hasMany(TrxGuest::class,'trx_id', 'id');
}
/**
* Get all... |
<?php
// This file was auto-generated from sdk-root/src/data/iot/2015-05-28/api-2.json |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePermissionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('permissions... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreatePartnersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('partners', function (Blueprint $table) {
... |
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Inicio') }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-xl sm:round... |
<?php
namespace huikedev\dev_admin\service\generate\provider\model;
use huikedev\huike_base\app_const\NoticeType;
use huikedev\huike_base\facade\AppRequest;
use huikedev\dev_admin\common\model\huike\HuikeModels;
use huikedev\dev_admin\service\generate\exception\ModelServiceException;
class Read
{
public functi... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CoursePost extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('course_post', function ... |
<?php
namespace Drupal\webform_devel;
use Drupal\Core\Form\OptGroup;
use Drupal\Core\Render\ElementInfoManagerInterface;
use Drupal\Core\Render\Element\Email as EmailElement;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\webform\Plugin\WebformElement\BooleanBase;
use Drupal\webform\Plugin\Webfo... |
@extends('layouts.app')
@section('content')
<div class="padding-5 grey lighten-4">
@include('notebook.subheader')
</div>
<div class="container">
<div class="row">
<div class="col s12 m8 offset-m2">
<div class="card">
<div class="card-content">... |
<?php
namespace App\Http\Controllers;
use App\Cart;
use App\Customer;
use App\Exchange;
use App\Product;
use Brian2694\Toastr\Facades\Toastr;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
class XchangeController extends Controller
{
/**
* Display a listing of the resource.
*
... |
<?php
/*
* This file is part of the core-library package.
*
* (c) 2018 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Library\Quadratus\Tests\Model\QCompta;
use WBW\Library\Quadratus\Model\QCompta\Comptes3... |
<div id="page-wrapper" style="background-color:#d2f7d6;">
<div class="row">
<div class="col-lg-12">
<h3 class="page-header">ALL REQUESTS LIST</h3>
</div>
</div>
<div class="row" style="font-size:12px;">
<!-- START -->
<ul class="nav nav-tabs">
<li class="... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Spatie\Activitylog\Traits\LogsActivity;
use App\Traits\UuidModel;
use Illuminate\Support\Facades\Log;
use App\Activity;
use Illuminate\Support\Facades\File;
/**
* Class Game
... |
<?php
namespace App;
use Illuminate\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Validator;
class GrupoPrograma extends Model implements AuthenticatableContract {
use Authenticatable;
... |
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Sec... |
<?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
/**
* Created by PhpStorm.
* User: luopan
* Date: 2018/9/19
* Time: 18:20
*/
namespace App\Services\alipay;
class AlipayNotify
{
/**
* HTTPS形式消息验证地址
*/
var $https_verify_url = 'https://mapi.alipay.com/gateway.do?service=notify_verify&';
/**
* HTTP形式消息验证地址
*/
var $http_... |
<?php
declare(strict_types=1);
/**
* This file is part of martin1982/livebroadcastbundle which is released under MIT.
* See https://opensource.org/licenses/MIT for full license details.
*/
namespace Martin1982\LiveBroadcastBundle\Tests\Service\StreamOutput;
use Martin1982\LiveBroadcastBundle\Entity\Channel\Channel... |
<div id="sidebar" class="col-lg-3 pr-0">
<ul class="nav nav-tabs" id="topReviews" role="tablist">
<li class="nav-item">
<h2>
<a class="nav-link active" id="top-reviews-tab" data-toggle="tab" href="{{ route('home') }}" role="tab" aria-controls="top-merchant" aria-selected="true"><... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSaleShippingAddressesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('s... |
<?php
/**
* @file
* Template to display the Views date filter form.
*
* Values available vary depending on the operator. The availability
* of date vs adjustment depending on the filter settings. It can
* be date-only, date and adjustment, or adjustment only.
*
* If the operator is anything but 'Is between' or ... |
@extends('layouts.auth')
@section('title', 'Login')
@section('content')
<div class="card card-primary">
<div class="card-header">
<h4>Login</h4>
</div>
<div class="card-body">
<form method="POST" action="{{ route('handleLogin') }}" class="needs-validation" novalidate="">
@csrf
... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel CRUD</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
</head>
<body>
<nav class="navbar navbar-default">
<div ... |
<?php
/**
* RedUNIT_Blackhole_Misc
*
* @file RedUNIT/Blackhole/Misc.php
* @desc Tests various features that do not rely on a database connection.
* @author Gabor de Mooij and the RedBeanPHP Community
* @license New BSD/GPLv2
*
* (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community.
* This source f... |
<?php
declare(strict_types=1);
namespace App\DataFixtures;
use App\Entity\Property;
use App\Utils\Slugger;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Common\DataFixtures\DependentFixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
final class PropertyFixtures extends Fixture implements De... |
<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */
$this->title = 'Search Detail';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="page-tittle">
<div class="container">
... |
<?php
declare(strict_types=1);
/**
* © 2015 Procurios - License MIT
*/
namespace Procurios\Json\JsonRpc\test\Request;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use Procurios\Json\JsonRpc\Request\BatchRequest;
use Procurios\Json\JsonRpc\Request\Request;
use TypeError;
/**
* @link http://www.json... |
<?php
namespace app\modules\admin\controllers;
use app\models\ImageUpload;
use Yii;
use app\models\Brand;
use app\models\BrandSearch;
use yii\base\BaseObject;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\web\UploadedFile;
/**
* BrandController implements the CRUD ac... |
<?php
// Copyright 1999-2021. Plesk International GmbH.
namespace PleskX\Api\Struct\Customer;
use Exception;
use PleskX\Api\Struct;
class GeneralInfo extends Struct
{
/** @var string */
public $company;
/** @var string */
public $personalName;
/** @var string */
public $login;
/** @var... |
<?php
namespace Litepie\User\Repositories\Criteria;
use Litepie\Contracts\Repository\Criteria as CriteriaInterface;
use Litepie\Contracts\Repository\Repository as RepositoryInterface;
class UserUserCriteria implements CriteriaInterface {
public function apply($model, RepositoryInterface $repository)
{
... |
<?php
session_start();
include_once('../koneksi.php');
if(empty($_SESSION['username'])){
header("location: ../login.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>PPKD Pekalongan</title>
<link rel="... |
<?php
namespace backend\modules\application\controllers;
use Yii;
use backend\modules\application\models\VerificationFramework;
use backend\modules\application\models\VerificationFrameworkSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* VerificationFrameworkContro... |
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
*
* @package ThinkUpThemes
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php thinkup_input_allowcomments(); ?>
<... |
<?php
namespace MRussell\Http\Tests\Exception;
use MRussell\Http\Exception\RequestException;
/**
* Class RequestExceptionTest
* @package MRussell\Http\Tests\Exception
* @coversDefaultClass MRussell\Http\Exception\RequestException
* @group Exceptions
*/
class RequestExceptionTest extends \PHPUnit_Framework_TestC... |
<?php
namespace App\Http\Middleware;
use Closure;
use Session;
class CustomAuth
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$path = $... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UserUpdateAdmin extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get t... |
<?php
$xpdo_meta_map = array (
'xPDOSimpleObject' =>
array (
0 => 'cgSetting',
1 => 'cgGroup',
),
); |
<?php
namespace PhalconRest\Constants;
class Services
{
// Phalcon
const APPLICATION = "application";
const DISPATCHER = "dispatcher";
const ROUTER = "router";
const URL = "url";
const REQUEST = "request";
const RESPONSE = "response";
const COOKIES = "cookies";
const FILTER = "filt... |
<div class="page-titles title-dark pt30 pb20 mb70 cst-bg-red">
<div class="container">
<div class="row">
<div class=" col-md-6">
<h4><span><?= (!empty($breadcrumbs['title'])) ? $breadcrumbs['title'] : 'No Title' ?></span></h4>
</div>
<div class=" col-md-6 mb0">
<ol class="breadcrumb text-md-right">
... |
@extends('layouts.landing')
@section('content')
<section class="top-box">
<div class="container">
<h2 class="block-title">{{ $page->title }}</h2>
<div class="row">
<div class="col-md-12">
<div class="">
<img src="{{ $page->... |
<?php
namespace MyBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Reclamation
*
* @ORM\Table(name="reclamation", indexes={@ORM\Index(name="fk_user3", columns={"idUser"})})
* @ORM\Entity
*/
class Reclamation
{
/**
* @var integer
*
* @ORM\Column(name="idr", type="integer", nullable=false)... |
<?php
namespace ccxt\async;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception; // a common import
use \ccxt\ExchangeError;
use \ccxt\ArgumentsRequired;
use \ccxt\BadResponse;
use \ccxt\DDoSProtect... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\model\Calendario;
use Calendar;
use Gate;
use App\User;
class CalendarController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
... |
<?php
namespace App\Http\Controllers;
use App\Models\Doctors;
use App\Models\Domicile;
use App\Models\Hospitals;
use App\Models\inquiries;
use App\Models\Patients;
use App\Models\Persons;
use App\Models\Recipe;
use App\Models\User;
use App\Models\allowed_foods;
use App\Models\Bread_and_sustitute;
use App\Models\forbi... |
@extends('layouts.Starlight')
@section('dashboard')
active
@endsection
@section('title')
dashbord
@endsection
@section('content')
<section>
<div class="sl-mainpanel">
<nav class="breadcrumb sl-breadcrumb">
<a class="breadcrumb-item" href="{{ url('/home2') }}">Home</a>
</nav>
<d... |
<?php
namespace Kronos\Tests\Log\Builder\Strategy;
use Kronos\Log\Builder\Strategy\TriggerError;
use Kronos\Log\Factory\Writer;
use Kronos\Log\Writer\TriggerError AS TriggerErrorWriter;
use PHPUnit\Framework\MockObject\MockObject;
class TriggerErrorTest extends \PHPUnit\Framework\TestCase
{
const MIN_LEVEL = 'de... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTypesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('types', function ... |
<div id="center">
<div id="content" class="narrow">
<div id="heading-with-ad" class="clearfix">
<h2><span>Sign Up <?php echo $success ? "Confirmed" : "Confirmation Failed!"; ?></span></h2>
<div id="heading-ad">
<h2>Join Hip Hop Raw <span>and become a Star!</span></h2>... |
<?php
/*
* $Id: JoinCondition.php 5843 2009-06-08 20:06:07Z hobodave $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DIS... |
@extends('seller/layouts/default')
@section('content')
<div class="container-fluid mod-seller">
@include('seller/includes/headerSubMenu')
@include('seller/includes/menuSettings')
@include('seller/includes/menuNotifications')
<div class="row">
<div class="col-lg-3">
@include('sel... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateOrdersProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('orders_products', function (Blueprint $table... |
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class diyanah extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'command:name';
/**
* The console command description.
*
* @var string
... |
<html>
<head>
<link href="<?= base_url();?>bootstrap/css/bootstrap.css" rel="stylesheet">
<title>Despesas</title>
</head>
<body>
<table class="table table-bordered">
<tr>
<th>Código</th>
<th>Motivo</th>
<th>Categoria</th>
... |
<?php
namespace GestionBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class FormationComplementaireControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createClien... |
<?php
namespace App\Http\Controllers;
use App\Models\productDetail;
use App\Models\receipt;
use App\Models\transfer;
use DateTime;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Session;
class transferController extends Controller
{... |
<!-- Static sidebar for desktop -->
<div class="hidden md:flex md:flex-shrink-0">
<div class="flex flex-col w-64 border-r border-gray-200 pt-5 pb-4 bg-white">
<div class="flex items-center flex-shrink-0 px-4 justify-center">
<img class="h-20 w-auto" src="/img/cargopanda_logo_indigo.svg" alt="Car... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.