text stringlengths 2 1.03M |
|---|
<?php
namespace App\Http\Controllers\Portal\ParticipationProject;
use App\Eco\ContactGroup\ContactGroup;
use App\Eco\ParticipantMutation\ParticipantMutation;
use App\Eco\ParticipantMutation\ParticipantMutationMolliePayment;
use App\Eco\ParticipantMutation\ParticipantMutationStatus;
use App\Eco\Task\Task;
use App\Eco\... |
<?php
/**
* @file
* Contains \Drupal.
*/
use Drupal\Core\DependencyInjection\ContainerNotInitializedException;
use Drupal\Core\Messenger\LegacyMessenger;
use Drupal\Core\Url;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Static Service Container wrapper.
*
* Generally, code in Drupal shou... |
<?php
<<__EntryPoint>> function main() {
$a = array('<foo>',"'bar'",'"baz"','&blong&');
echo "Normal: ", json_encode($a), "\n";
echo "Tags: ", json_encode($a,JSON_HEX_TAG), "\n";
echo "Apos: ", json_encode($a,JSON_HEX_APOS), "\n";
echo "Quot: ", json_encode($a,JSON_HEX_QUOT), "\n";
echo "Amp: ", json_encode($... |
@extends('layouts.master')
@section('title', 'My Account Details')
@section('content')
@if (count($data) != 0)
<table class="table table-responsive-sm">
<thead class="thead-light">
<tr>
<th scope="col"> S.N </th>
<th scope="col"> Email </th>
... |
<?php
use StarterKit\Helper\Utils;
return [
'name' => esc_html__( 'Form Textarea', 'starter-kit' ),
'base' => 'form_textarea',
'icon' => Utils::getConfigSetting( 'shortcodes_icon_uri' ) . 'font.svg',
'content_element' => true,
'category' => esc_html__( 'Form Fields', 'star... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateNotificationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('notificat... |
<?php
/**
* Copyright (c) 2016, 2017 François Kooman <fkooman@tuxed.net>.
*
* 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 rights
... |
@extends('AdminLayout')
@section('content')
<style type="text/css">
/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
width: 100%; /* Full width */
padding: 12px; /* Some padding */
border: 1px solid #ccc; /* Gray border */
border-radius: 4px; /* Rounded bor... |
<div class="row">
<div class="col-sm-12 center">
<a class="btn btn-dark btn-block btn-round" data-toggle="modal" data-target="#myModal">NUEVA CATEGORIA</a>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog"... |
<?php
/**
* Created by PhpStorm.
* User: pboethig
* Date: 03.12.16
* Time: 18:03
*/
namespace Mittax\RabbitMQBundle\Service\Connection;
use PhpAmqpLib\Connection\AMQPSSLConnection;
class SSLConnection extends AbstractConnection
{
/**
* @return AMQPSSLConnection
*/
public function getConnection... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddAlbumIdColumnArchivos extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('archivos', function (Bluepri... |
<?php
session_start();
if(!$_SESSION['loggedin'])
{
header("location: index.php");
}
else
{
include_once ('header.php');
include_once ('connection.php');
if(isset($_REQUEST['mode']))
{
$id= $_REQUEST['id'];
$sql="SELECT * FROM user WHERE id='$id' ";
$result=mysqli_query($connection,$sql);
$row=m... |
<!DOCTYPE html>
<html>
<head>
<title>FBI - Homepage</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="fav icon" href="images/FBIicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class RoleAuth extends Model
{
protected $fillable = ['rule_id', 'rule_id'];
} |
<?php
declare(strict_types=1);
/*
* This file is part of the league/commonmark package.
*
* (c) Colin O'Dell <colinodell@gmail.com>
*
* Original code based on the CommonMark JS reference parser (https://bitly.com/commonmark-js)
* - (c) John MacFarlane
*
* For the full copyright and license information, pleas... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
/**
* @property mixed customer
* @property mixed review
* @property mixed star
*/
class ReviewResource extends JsonResource {
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Requ... |
<?php
/**
* Copyright 2016 Google Inc. 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/LICENSE-2.0
*
* Unless required by ... |
<?php
namespace App\Http\Controllers\Front;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Tag;
use App\Http\Requests\TagsRequest;
class tagsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public f... |
<h3 class="help" style="float: right">
<img src="https://cdn1.iconfinder.com/data/icons/nuove/16x16/actions/messagebox_info.png" style="float: right; margin-left: 5px;">
<a href="https://www.youtube.com/watch?v=BwlZRnalTQ8" target="_blank" style="float: none">Need Some Help?</a>
</h3>
<br clear="all"> |
<?php
/*
* Made by Samerton
* https://github.com/NamelessMC/Nameless/
* NamelessMC version 2.0.0-pr12
*
* License: MIT
*
* Authme connector
*/
$page_title = $language->get('general', 'register');
require_once(ROOT_PATH . '/core/templates/frontend_init.php');
// Ensure AuthMe is enabled
$authme_enabled = $... |
<?php
namespace App\Containers\Image\Data\Repositories;
use App\Ship\Parents\Repositories\Repository;
/**
* Class ImageRepository
*/
class ImageRepository extends Repository
{
/**
* @var array
*/
protected $fieldSearchable = [
'id' => '=',
// ...
];
} |
<?php
namespace App\Http\Controllers;
use App\Founder;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use RealRashid\SweetAlert\Facades\Alert;
class FounderControler extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
pub... |
<?php
namespace App\Http\Controllers\Clases;
use App\Http\Controllers\Controller;
use App\Http\Requests\Clases\StoreClaseRequest;
use App\Models\Archivos\Archivo;
use App\Models\Clases\Clase;
use App\Models\Cursos\Curso;
use App\Models\Instituciones\Institucion;
use App\Models\Materias\Materia;
use Illuminate\Http\Re... |
--TEST--
Testing imagerectangle() of GD library
--CREDITS--
Ivan Rosolen <contato [at] ivanrosolen [dot] com>
#testfest PHPSP on 2009-06-30
--SKIPIF--
<?php
if ( ! extension_loaded('gd') ) die( 'skip GD not present; skipping test' );
?>
--FILE--
<?php
// Create a image
$image = imagecreatetruecolor( 100, 100 ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Resi Bootstrap Template - Index</title>
<!-- Favicons -->
<link href="{{asset('img/favicon.png')}}" r... |
<?php
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use WhiteBox\Rendering\Renderer;
use WhiteBox\Routing\Controllers\A_ControllerSubRouter;
use WhiteBox\Routing\Controllers\Annotations\DefineRoute;
use WhiteBox\Routing\Controllers\Annotations\DefineSubRouter;
use WhiteBox\Routin... |
<?php
function swal_error($title, $text, $type, $timer, $condition, $link)
{
?>
<script type="text/javascript">
setTimeout(function(){
var getlink = $(this).attr('href');
swal({
title : "<?= $title ?>",
text : "<?= $text ?>",
type : "<?= $type ?>",
timer : "<?= $timer ?>",
showConfirmBu... |
<?php
namespace Kendo\UI;
class ScrollViewPageable extends \Kendo\SerializableObject {
//>> Properties
/**
* Sets the ARIATemplate option of the ScrollViewPageable.
* Specifies a template is used to populate the aria-label for each pager element.
* @param string $value The id of the element which rep... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAutorLivro extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('autor_livros', fu... |
<?php $rootPath = '../';
$page = "privacy-policy";
$meta_title="Privacy Policy";
$meta_key="";
$meta_desc="Privacy Policy";
include('../parts/head.php'); ?>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5DZRJ7D"
height="0" width="0... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Carbon\Carbon;
use DB;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Image;
use phpDocumentor\Reflection\DocBlock\Tag;
use function PHPUnit\Framework\assertEmpty;
class UserController extends Controller
{
public function index... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<div class="container i-container">
<?php
echo $this->breadcrumbs->show();
?>
<hr/>
<div class="row">
<div class="col-lg-8">
<h4 class="section-title">Quizzes</h4>
<ul class="i-list">
<?php
foreach ($quizzes as $quiz) {
... |
<?php
declare(strict_types=1);
namespace Rector\NodeTypeResolver\NodeTypeResolver;
use PhpParser\Node;
use PhpParser\Node\Expr\PropertyFetch;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Stmt\Property;
use PHPStan\Type\Type;
use Rector\NodeTypeResolver\Contract\NodeTypeResolverInterface;
use Rector\NodeTypeR... |
<?php
/**
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the... |
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... |
<?php
/**
* HelloController
* Says hello to a person.
*
* @author Damien Walsh <me@damow.net>
*/
class HelloController
{
/**
* Say hello to a person.
* $params will be an array of parameters passed by the Front Controller.
*
* For this example, the /hello/<ID> route will pass:
*
*... |
<x-public-navigation/>
<div class="container mx-auto">
<x-slot name="title">
Giving Catalog - Test
</x-slot>
<div class="max-w-4xl mx-auto flex flex-col items-center md:flex-row md:justify-center">
<img src="{{ Storage::url('/logos/giving_catalog_icon.png')}} " class="h-32 z-20" alt=... |
<?php
namespace App\Test\TestCase\Controller;
use App\Controller\CategoriesController;
use Cake\TestSuite\IntegrationTestCase;
/**
* App\Controller\CategoriesController Test Case
*/
class CategoriesControllerTest extends IntegrationTestCase
{
/**
* Fixtures
*
* @var array
*/
public $fix... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use TCG\Voyager\Traits\Translatable;
class Service extends Model
{
use HasFactory;
use Translatable;
protected $translatable = ['name'];
} |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Post extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'body',
];
/**
* The attributes that should be hidden for arrays.
*
* @var array... |
<?php
namespace AdButler;
class ResourceNotFoundErrorTest extends AdButlerTestCase
{
private $cannedResponse = array(
'object' => 'error',
'type' => 'resource_not_found_error',
'status' => 404,
'message' => 'Resource not found.'
);
public function testThrowingOfError(... |
<h1>
Dear ,<?php echo $model->email; ?>!
<br>
You registered successfully</h1> |
<!-- sidebar-ara section start -->
<div class="col-md-3 col-sm-12">
<div class="row">
<!-- sidebar-area start -->
<div class="sidebar-area pct_barefwr">
<div class="col-md-12">
<div class="asrtaoic">
<div class="main-carrd-tab">
... |
<?php
namespace App\Http\Controllers;
use App\Models\Product;
use App\Models\Category;
use App\Models\OrderItem;
use Illuminate\Http\Request;
use App\Services\ProductService;
use App\Exceptions\InvalidRequestException;
use App\SearchBuilders\ProductSearchBuilder;
use Illuminate\Pagination\LengthAwarePaginator;
class... |
<?php
namespace tests\unit\models;
class Amar
{
//function for testing
public function setFirstName($firstName){
$this->first_name=$firstName;
}
public function getFirstName(){
return 'Billy';
}
} |
<!-- /*Author:
COEN276 Fall 2015 Group1
Jingbo Bai
Prinal Khandelwal
Shreyas Jaltare
Jason Zadwick*/ -->
<?php
include("../html/header.html");
include("../php/login-account-cart.php");
include("../html/nav.html");
include("../html/index-body-section.html");
include("../html/pages-footer.html");
?>
<script src="../j... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class OptionGuardian extends Model
{
use HasFactory;
} |
<!-- Sidemenu -->
<div class="main-sidebar main-sidebar-sticky side-menu">
<div class="sidemenu-logo">
<a class="main-logo" href="index.html">
<img src="{{asset('/public/images/logo-wide.png')}}" class="header-brand-img desktop-logo" alt="logo">
<img src="{{asset('/public/images/logo... |
<?php
$file_name = "Nuestro Catalogo - ";
$file_id = 9;
$laconcha = 1;
include ('header.php');
$products_section = '1';
?>
<?php
if (!$products){
#$descs = GetProdNavPath("","","","");
$categoryName = $descs[0];
$subcategoryName = $descs[1];
$categoryID = $descs[2];
$filters = $descs[3];
$level = $descs... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
// ------------------------------------------------------------------------
/**
* CSV Helpers
* Inspiration from PHP Cookbook by David Sklar and Adam Trachtenberg
*
* @author Jérôme Jaglale
* @link http://maestric.com/en/do... |
<?php
namespace App\Models\Usuarios;
use Illuminate\Database\Eloquent\Model;
class Cargo extends Model
{
protected $table = 'cargo';
protected $fillable = array(
'des_car',
'est_reg'
);
protected $primaryKey = 'id_car';
p... |
<?php
namespace Backend\Modules\Extensions\Engine;
/*
* This file is part of Fork CMS.
*
* For the full copyright and license information, please view the license
* file that was distributed with this source code.
*/
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Finder\Finder;
use Backend\... |
@extends('layouts.auth')
@section('title', 'Register')
@section('content')
<div class="card-body register-card-body">
<p class="login-box-msg">Register a new membership</p>
<form action="{{ route('auth.store') }}" method="POST" enctype="multipart/form-data">
@csrf
<div class="input-group mb-3">
... |
<!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="csrf-token" content="{{ csrf_token() }}">
<title>Laravel</title>
<!-- Fonts -->
<link href="h... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\AssetsController;
/**
* supplier Data Lists
*/
Route::get('/assets',[
App\Http\Controllers\AssetsController::class,
'index'
])->name('assets');
/**
* Create New assets Form
*/
Route::get('/assets/create', [
App\Http\Controll... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class LocationTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('locations')->insert([
['name' => 'Tangerang'],
['name... |
<?php $__env->startSection('content'); ?>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header"><center><b><?php echo e(__('Data Kelurahan')); ?></b></center></div>
<div class="card-bod... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Training extends Model
{
protected $fillable = ['category_id','name','slug','status','start_date','end_date','pretest_link','posttest_link','task_desc','trainer_name'];
protected $with = ['category'];
public function category(){
... |
<?php
return [
'admin' => [
],
]; |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class GenericController extends Controller
{
//
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Data_kirim extends CI_Controller {
public function __construct() {
parent::__construct();
if(!$this->session->userdata('logged_in')) {
redirect('login', 'refresh');
}
elseif($this->session->userdata('tingkatan') != "kap... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
@if (Auth::user()->hasRole('admin'))
<div class="sleek">
<h1>Well done!</h1>
<h2>You are logged in as an admins... |
<?php
namespace App\Http\Controllers\Api;
use App\Lead;
use App\User;
use Illuminate\Http\Response;
use App\Notifications\LeadCreated;
class LeadsController extends ApiController
{
public function store()
{
$this->validate(request(), [
'name' => 'required|min:3',
'email' => '... |
<form method="post">
<fieldset>
<legend>Edit</legend>
<input type="hidden" name="movieId" value="<?= $movie->id ?>"/>
<p>
<label>Title:<br>
<input type="text" name="movieTitle" value="<?= $movie->title ?>"/>
</label>
</p>
<p>
<label>Year:<br>
<input ty... |
<?php
$posts = get_field('whos_teaching');
if( $posts ):
?>
<?php foreach( $posts as $post): ?>
<?php setup_postdata($post); ?>
<div class="row">
<div class="col-xs-3 single-class-instructor">
<div class="single-class-instructor-headshot">
<?php
$image = get_field('instructor_head... |
@extends('layouts/home')
@section('search')
<div align="left">
<h3 class="mt-4">{{\App\Models\Course::find($class)->name}}▹教材筆記</h3>
</div>
@endsection
@section('notice')
<div id="layoutSidenav_content">
<main>
@if ($message = Session::get('alert'))
<script>alert(... |
<?php
namespace App\Controller;
use App\Controller\Extendable\TranslatableController;
use App\Controller\Traits\FormsTrait;
use App\DTO\TaskItem\TaskItemComplete;
use App\DTO\TaskItem\TaskItemCreate;
use App\DTO\TaskItem\TaskItemEdit;
use App\DTO\TaskItem\TaskItemIncrement;
use App\Entity\JsonResponse\JsonError;
use ... |
<?php
namespace HuaweiCloud\SDK\Eip\V2\Model;
use \ArrayAccess;
use HuaweiCloud\SDK\Core\Utils\ObjectSerializer;
use HuaweiCloud\SDK\Core\Utils\ModelInterface;
use HuaweiCloud\SDK\Core\SdkResponse;
class CreatePrePaidPublicipOption implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
/**
... |
<?php
namespace protecno\escuelaBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* detallesDelBanco
*/
class detallesDelBanco
{
/**
* @var integer
*/
private $id;
/**
* @var string
*/
private $nombre;
/**
* @var boolean
*/
private $estado;
/**
*... |
<footer class="footer">
<div class="container">
<p class="float-left">
由 <a href="" target="_blank">zhz</a>编码 <span style="color: #e27575;font-size: 14px;">❤</span>
</p>
<p class="float-right"><a href="mailto:{{ setting('contact_email') }}">联系我们</a></p>
</div>
</footer> |
<?php
/*
* This file is part of DbUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\DbUnit\DataSet;
/**
* A table decorator that allows filtering out table ... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Sistema - @yield('title','Sistema')</title>
<!-- Meta -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name... |
<?PHP
include "../../Services/entities/Climatiseur.php";
$clim=new Climatiseur(1,'shit','fuck','hey','lol','nice');
$listeClim=$clim->afficherClim();
?>
<!DOCTYPE html>
<html >
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" cont... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Filesystem\Filesystem;
use Carbon\Carbon;
use App\Models\Food;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('admin_users')->truncate();
DB::... |
<?php
/**
* Created by PhpStorm.
* User: Frowhy
* Date: 2016/5/24
* Time: 13:09
*/
namespace years\storage\qiniu\plugins;
use League\Flysystem\Plugin\AbstractPlugin;
/**
* Class PrivateImagePreviewUrl
* 获取私有bucket图片预览URL <br>
* $disk = \Storage::disk('qiniu'); <br>
* $re = $disk->getDriver()... |
<?php
class Clusterschool_model extends CI_Model{
public function add($data){
$this->db->insert('ci_schools', $data);
return true;
}
//---------------------------------------------------
// get all users for server-side datatable processing (ajax based)
/*public function get_all_schools($school_distr... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddClientesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('clientes', functi... |
<?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'2c102faa651ef8ea5874edb585946bce' => $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php',
'e40631d46120a9c38ea139981f8dab26' => $vendorDir . '/ircmaxell/passwo... |
<?php
namespace ArtemSchander\L5Modular\Traits;
trait MakesMessage
{
/**
* Write the Markdown template for the mailable.
*
* @return void
*/
protected function writeMarkdownTemplate()
{
$path = $this->getConfiguredFolder('views');
$file = str_replace('.', '/', $this->option('... |
<?php
/*
**********************************
PHPOS Web Operating system
MIT License
(c) 2013 Marcin Szczyglinski
szczyglis83@gmail.com
GitHUB: https://github.com/phpos/
File version: 1.0.0, 2013.10.08
**********************************
*/
if(!defined('PHPOS')) die();
class api_wintask {
const
WINTASK_HO... |
<?php
use \app\common\services\UrlService;
use \app\common\services\StaticService;
StaticService::includeAppJsStatic( "/js/m/pay/buy.js",\app\assets\MAsset::className() );
?>
<div class="order_box">
<div class="order_header">
<h2 style="text-align: center;">支付</h2>
</div>
<div class="fastway_list_box" style="paddi... |
<?php
namespace App\Controllers;
use App\Models\User_model;
use App\Models\CatatanPerjalanan_model;
use Config\Services;
class CatatanPerjalanan extends BaseController
{
function __construct()
{
Services::session();
}
public function index()
{
if (!Services::session()->get("nik")... |
<?php
namespace PhpRbacBundle\EventSubscriber;
use ReflectionMethod;
use Psr\Log\LoggerInterface;
use PhpRbacBundle\Core\RbacInterface;
use Symfony\Component\HttpKernel\KernelEvents;
use PhpRbacBundle\Attribute\AccessControl\HasRole;
use PhpRbacBundle\Attribute\AccessControl\IsGranted;
use PhpRbacBundle\Exception\Rba... |
<?php
/**
* BooleanTest
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Selling Partner API for Fulfillment Outbound
*
* The Selling Partner API for Fulfillment Outbound lets you create app... |
<?php
require("ViewsController.php");
class PagesController{
public $view;
public $View;
public function __construct(){
$this->view = new ViewsController;
$this->View = [];
}
public function render($view, $title, $data){
$this->View[... |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:74:"E:\phpStudy\PHPTutorial\WWW\shicool/application/admin\view\index\main.html";i:1526618464;s:75:"E:\phpStudy\PHPTutorial\WWW\shicool\application\admin\view\public\menu.html";i:1526631511;s:75:"E:\phpStudy\PHPTutorial\WWW\shicool\application\admin\view\public\left.htm... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<form action="{{ route('user.store') }}" method="post" enctype="multipart/form-data">
@csrf
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$p = array('admin','purchaser','manager');
if(!(in_array($this->session->userdata('type'),$p))){
redirect('auth');
}
$this->load->view('layout/header');
?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!--... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
@extends('layouts.app')
@section('title')
Crear Empresas
@endsection
@section('main-content')
<div class="container">
@include('common.errors')
{!! Form::open(['url' => 'create-company']) !!}
@include('administrator.fields-company')
{!! Form::close() !!}
</div>
@endsection |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Utils\messagesErros;
use App\Models\CarriersRate;
use App\Models\Sat\States;
use App\Models\Sat\Municipalities;
use App\Utils\GralUtils;
class RatesController extends Controller
{
/**
* Display a li... |
<?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 =... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>VEMG</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/style.css">
<link rel="stylesheet" href="https://stackpath.bootstr... |
<?php
/* Smarty version 3.1.30, created on 2018-03-01 10:48:02
from "/var/www/html/shop/application/views/smarty_templates/admin/autorun.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_5a9820b2dff1d0_9... |
<?php
namespace BAKD\Http\Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array
*/
protected $proxies;
/**
* The current proxy header mapping... |
<?php
/* File Name : viewPublicProduct.php
* Description : To view Product created by a Particular User
* Author : Himanshu Singh Date: 12th,Nov,2010 Creation
*/
header('Content-Type: text/html; charset=utf-8');
include_once("cumbari.php");
$menu = "standard";
$standard = 'class="selected"';
$show = 'class="... |
<?php
namespace backend\controllers;
use Yii;
use yii\web\Controller;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use yii\helpers\ArrayHelper;
use common\models\Post;
use common\models\Category;
use backend\models\CreatePost;
use backend\models\PostSearch;
use linslin\yii2\curl;
use yii\httpclient\Cli... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<?php
/**
* Created by PhpStorm.
* User: nifemiadeyemi
* Date: 1/29/2019
* Time: 11:14 PM
*/
class Works extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->helper('url');
}
public function index(){
$this->load->view('works');
}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.