text stringlengths 2 1.03M |
|---|
<!DOCTYPE html>
<html>
<?php $this->load->view("layout/header.php")?>
<body>
<?php $this->load->view("layout/bar.php")?>
<div id="wrapper">
<?php $this->load->view("layout/wrapper.php")?>
<div id="page-wrapper">
<div id="page-inner">
<div class="row">
<div class="col-md-12">
... |
<?php
/* @Twig/layout.html.twig */
class __TwigTemplate_020df497d8f88ea8f4fdd076e5a786d55765a77f371b4b2540a0f88d5040c746 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
't... |
<?php $__env->startSection('title'); ?>
Typeofsessions
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page_title'); ?>
<p> Type of sessions</p>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('top_nav'); ?>
<?php echo $__env->make('ManageOrganiser.Partials.TopNav', \Illuminate\Support\A... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class LatihanNotifikasi extends Model
{
//
} |
<?php
namespace Apps\Http\Middleware;
use Closure;
class CheckRoleTop
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next, $role)
{
if (!$reques... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Auth;
class CheckAdmin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function... |
<?php
class Data_daerah extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->model('Model_data_daerah');
check_session();
}
function index()
{
$data['title'] = 'Manajemen Data Daerah';
$data['record'] = $this->Model_data_daerah->tampilkan_data();
$t... |
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }}
@endsection
@section('main-content')
<div class="panel-body">
<div class="container">
{!! Form::open(['route' => 'contratos.index', 'method'=>'GET', 'Class'=>'navbar-form navbar-right']) !!}
<!--<form cla... |
<?php
it('can create ssh connections', function () {
$this->config->set('server', 1);
$this->forge->shouldReceive('server')
->once()
->with(1)
->andReturn((object) [
'name' => 'production',
'ipAddress' => '123.456.789.000',
]);
$this->remote->should... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAccountNumbersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('account_... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAnimalListTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('animal_list'... |
<?php
namespace Util\Logger\Throughput;
use Util\Logger\Message\MessageInterface;
/**
* Class MemoryProcessor
*
* @package Util\Logger\Throughput
*/
class MemoryProcessor
{
/**
* @var array
*/
private $processed = [];
/**
* @param MessageInterface $message
*/
public function ... |
@extends('template/admin')
@section('head')
<title>Admin Panel</title>
@endsection
@section('body')
statistics will be displayed here
@endsection |
<header class="header">
<h1><a href="{{url('/')}}">備品リスト</a></h1>
<nav>
<ul class="nav">
<li class="nav-list"><a class="btn btn-black nav-btn" href="{{url('signup')}}">新規登録</a></li>
@if(Auth::check())
<li class="nav-list"><a class="btn btn-white nav-btn" href="{{url('logout')}}">ログ... |
<?php
/*
* This file is part of the YepSua package.
* (c) 2009-2012 Omar Yepez <omar.yepez@yepsua.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* YsFileManagerToolbar description
*
* @package YepSua
* @subpackag... |
<?php
namespace App\Domain\ValueObject\ImgDir;
use App\Domain\ValueObject\BaseValueObject;
final class BookOptions implements BaseValueObject
{
private $value;
function __construct(string $primitive)
{
$this->validate($primitive);
$this->value = $primitive;
}
public static function create(string... |
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class MarkModelFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
$models = [
'First Ml',
'Second ... |
<?php include("conexao.php"); ?>
<!DOCTYPE html>
<html style="font-size: 16px;" lang="pt-BR">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="page_type" content=... |
<?php
use PHPUnit\Framework\TestCase;
class DependencyFailureTest extends TestCase
{
public function testOne()
{
$this->fail();
}
/**
* @depends testOne
*/
public function testTwo()
{
$this->assertTrue(true);
}
/**
* @depends !clone testTwo
*/
... |
<?php
class Terminal_Python extends Terminal_Shell
{
const COMMAND_SEPARATOR = "\n";
/**
* @return array
*/
public static function getBinaries()
{
return array('python', 'python3');
}
/**
* @return array
*/
public static function getPlatforms()
{
return array();
}
/**
* @param string $comma... |
<?php
namespace Remp\MailerModule\Api\v1\Handlers\Users;
use Remp\MailerModule\Repository\UserSubscriptionsRepository;
use Tomaj\NetteApi\Handlers\BaseHandler;
use Tomaj\NetteApi\Params\InputParam;
use Tomaj\NetteApi\Response\JsonApiResponse;
class EmailChangedHandler extends BaseHandler
{
private $userSubscript... |
<!DOCTYPE html>
<html lang="fr">
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/... |
<?php
class User_model extends CI_model
{
// Edit Adv
public function ubahUser($id)
{
$session = $this->session->userdata('login_data')['token'];
$id = $this->input->post('id', true);
$name = $this->input->post('name', true);
$email = $this->input->post('email', true);
... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Masterbarang */
$this->title = 'Create Masterbarang';
$this->params['breadcrumbs'][] = ['label' => 'Masterbarangs', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="masterbarang-create">
<h1><?... |
<?php
namespace Shopsys\FrameworkBundle\Model\Security;
use Shopsys\FrameworkBundle\Model\Customer\User;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
use Symfony\Component\S... |
<?php
use Illuminate\Database\Seeder;
class ChaptersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$books = \CodeEduBook\Models\Book::all();
foreach ($books as $book) {
factory(\CodeEduBook\Models\Chap... |
<?php
/**
* @file
* Contains \Drupal\system\Tests\Update\StableBaseThemeUpdateTest.
*/
namespace Drupal\system\Tests\Update;
/**
* Tests the upgrade path for introducing the Stable base theme.
*
* @see https://www.drupal.org/node/2575421
*
* @group system
*/
class StableBaseThemeUpdateTest extends UpdatePat... |
@extends('layouts.app')
@section('content')
<?php $backUrl = (url()->previous() == url()->current()) ? route('company.index') : url()->previous(); ?>
<div class="container">
<form action="{{ route('company.update', $company->id) }}" enctype="multipart/form-data" method="post">
@csrf
@method('PU... |
<?php
namespace Home\Model;
use Think\Model;
class AddressModel extends Model
{
protected $tableName = 'address';
/**
* 添加收货地址
* @param [type] $data 收货地址数据
* @param [type] $userId 用户id
*/
public function addNewAddress($info, $userId)
{
$map = [
'user_id' => $userId,... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\admin\models\Category */
$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Categories', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="category... |
<?php
namespace App\Http\Controllers;
use App\Contact;
use Illuminate\Http\Request;
class ContactsController extends Controller
{
public function index()
{
$contacts = Contact::all();
return view('contacts.index', compact('contacts'));
}
public function store(Request $reques... |
@extends('layouts.admin')
@section('css')
<link rel="stylesheet" href="../../vendor/datatables/css/dataTables.bootstrap4.css">
<link rel="stylesheet" href="../../vendor/select2/css/select2.min.css">
<!--<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.min.css" rel="stylesheet"... |
@extends('admin.layout.admin')
@section('content')
<div class="row">
<div class="col-lg-12">
{!!Form::open(['url'=>'news','method'=>'post','files' => true,'id'=>'createNews_form'])!!}
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="content" value="{{ old('content') ... |
@extends('admin.layouts.master')
@section('container')
<h1 class="h2">Dashboard</h1>
@endsection |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class UpdateContestsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('contests', function (Blueprint $table) {
$... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TrInvoice extends Model
{
protected $table ='tr_invoice';
protected $fillable =['tenan_id','inv_number','inv_date','inv_duedate','inv_amount','inv_ppn','inv_ppn_amount','inv_outstanding','inv_faktur_no','inv_faktur_date','inv_iscancel','... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateOptionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('option__options... |
<?php
namespace app\http\middleware;
class Admin
{
public function handle($request, \Closure $next)
{
echo 'admin 中间件前置动作,可以进行身份认证等动作</br>';
// 中间件的前置行为
return $next($request);
}
} |
<?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
require_once __DIR__.'/../vendor/autoload.php';
(new Laravel\Lumen\Bootstrap\LoadEnvironmentVariables(
dirname(__DIR__)
))->bootstrap();
date_default_timezone_set(env('APP_TIMEZONE', 'UTC'));
/*
|--------------------------------------------------------------------------
| Create The Application
|---------... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{ config('app.name', 'Laravel') }}</title>
<!-- Fonts -->
<link href="https://fonts.googleapis... |
<nav x-data="{ open: false }" class="bg-white border-b border-gray-100">
<!-- Primary Navigation Menu -->
<!-- Responsive Navigation Menu noooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo-->
<div :class="{'block': open, 'hidden': ! open}" class="hidden sm:hidden">
<div cl... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use App\Settings;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|----------... |
<?php
$servername = "localhost";
$username = "root";
$password = "ceproot";
// Create connection
$conn = new mysqli($servername, $username, $password,"busreserve");
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
?> |
<?php
namespace Spatie\SchemaOrg;
use \Spatie\SchemaOrg\Contracts\LegalServiceContract;
use \Spatie\SchemaOrg\Contracts\LocalBusinessContract;
use \Spatie\SchemaOrg\Contracts\OrganizationContract;
use \Spatie\SchemaOrg\Contracts\PlaceContract;
use \Spatie\SchemaOrg\Contracts\ThingContract;
/**
* A LegalService is a... |
<!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>Document</title>
<style>
</style>
</head>
<body style="margin:50">
@php
$training = App\Training::find($t... |
<?php
namespace SmartDog23\AzureFaceApi\Services\LargePersonGroup\Get;
use SmartDog23\AzureFaceApi\Utilities\AzureFaceApiOptions;
class GetOptions extends AzureFaceApiOptions
{
public function __construct()
{
$this->_parametersClass = GetParameters::class;
$this->_headersClass = GetHeaders::c... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "tbvisitdrug".
*
* @property integer $id
* @property string $hospcode
* @property string $cid
* @property string $hn
* @property string $seq
* @property string $date_serv
* @property string $didstd
*/
class Tbvisitdrug extends \y... |
<style>
td.details-control {
background: url(<?php echo base_url('/app-assets/images/datatables/resources/details_open.png');?>) no-repeat center center;
cursor: pointer;
}
tr.shown td.details-control {
background: url(<?php echo base_url('/app-assets/images/datatables/resources/deta... |
<?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... |
<?php namespace nyx\diagnostics\debug;
// External dependencies
use nyx\events;
// Internal dependencies
use nyx\diagnostics\definitions;
use nyx\diagnostics;
/**
* Abstract Handler
*
* Provides means for concrete Handlers to deal with Conditions and debug Events. Does not actually allow for
* the implementation... |
@extends('layouts.clinical_dashboard',array
(
'statusData' => json_encode($statusData['details']),
'phaseData' => json_encode($phaseData),
'estimatedCompletionData' => json_encode($estimatedCompletionData),
'drugData' => json_encode($drugData),
'conditionData' => json_encode($conditionData),
'sponsorData' => json_encod... |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
class CandidateShared extends Notification
{
use Queueable;
/**
* Create a new notification instance... |
<?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
// If you choose to use ENV vars to define these values, give this IdP its own env var names
// so you can define different values for each IdP, all starting with 'SAML2_'.$this_idp_env_id
$this_idp_env_id = 'TEST';
//This is variable is for simplesaml example only.
// For real IdP, you must set the url values ... |
@extends('admin')
@section('main')
<div class="main-wrap">
<div class="crumb-wrap">
<div class="crumb-list"><i class="icon-font"></i><a href="/admin">首页</a><span class="crumb-step">></span><span class="crumb-name">博文管理</span></div>
</div>
<div class="search-wrap">
<d... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitf861ef6f564eebb0d5f48921a1380b6e
{
public static $files = array (
'9b552a3cc426e3287cc811caefa3cf53' => __DIR__ . '/..' . '/topthink/think-helper/src/helper.php',
'538ca81a9a966a6716601ecf48f4... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable implements MustVerifyEmail
{
use Notifiable;
/**
* The attributes that are mass assignable.
... |
<?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
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCvCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cv_categor... |
<?php
/**
* Implementation of the interface Trmsus Repository
*
* Development of business logic
*
* @author ATIJAGUAR CÍA. CLTDA. www.atijaguar.com
* @uses ITrmsusRepository
* @package Seguridad
* @subpackage Repository
*/
namespace Seguridad\Repository\Impl;
use Seguridad\Core\BaseRepository;
u... |
<?php
namespace App\Http\Controllers;
use App\Post;
use Illuminate\Http\Request;
class PostController extends Controller
{
/**
* @var Post
*/
private $post;
/**
* PostController constructor.
*
* @param Post $post
*/
public function __construct(Post $post)
{
... |
<?php
/** Saisiyat
*
* To improve a translation please visit https://translatewiki.net
*
* @ingroup Language
* @file
*
*/ |
<?php
use common\helpers\StoryHelper;
use common\helpers\Url;
use frontend\assets\RecorderAsset;
use yii\helpers\Html;
/** @var $this yii\web\View */
RecorderAsset::register($this);
$css = <<<CSS
.recorder-audio {
text-align: center;
}
.recorder-audio li {
display: table;
}
.recorder-audio li a {
display... |
@if( $item->hasRole('ALUMNO') )
<a href="#" id="{{$showEditBecas.'/'.$item->id}}" class="action-icon text-center btnFullModal" data-toggle="modal" data-target="#modalFull"><i class="fas fa-hand-holding-usd"></i></a>
@endif |
<?php
/**
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* This file is 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/
... |
<?php
namespace App\Http\Middleware;
use Closure;
use GuzzleHttp\Client;
class RecaptchaMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
... |
<?php
/**
* Created by PhpStorm.
* User: mehdidridi
* Date: 9/9/17
* Time: 7:39 PM
*/
session_start();
if (!isset($_SESSION['username'])) {
header("Location: ../index.html");
return false;
}
session_regenerate_id();
include("../php/config.php");
$data = json_decode($_POST['request']);
$eventID = $data->... |
<?php
/**
* @author moufer<moufer@163.com>
* @copyright www.modoer.com
*/
function form_group_category($select = '') {
$loader =& _G('loader');
if(!$category =& $loader->variable('category', 'group')) return;
$list = array();
foreach($category as $val) {
$list[$val['catid']] = $val['name'];
}
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Authentication Driver
|--------------------------------------------------------------------------
|
| This option controls the authentication driver that will be utilized.
| This driver manages the retrieval... |
<?php namespace App;
use Illuminate\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
class User extends Mod... |
<?php
namespace Realtydev\StatamicDatabase\Trees;
class TreeRepository
{
protected $type = 'default';
public function __construct() {}
public function save($tree)
{
$model = $this->toModel($tree);
$model->save();
}
public function delete($tree)
{
$this->toModel(... |
<section id="main-head">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="main-text-head">
<h2>Welcome to</h2>
<h1>Lyndon Marine</h1>
<p>Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, an... |
<?php
namespace Spatie\SslCertificate\Test;
use PHPUnit\Framework\TestCase;
use Spatie\SslCertificate\Downloader;
use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate\HostDoesNotExist;
use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate\UnknownError;
use Spatie\SslCertificate\SslCertificate;
... |
<!DOCTYPE html>
<html lang="en">
<?php
session_start();
ob_start();
define('__ROOT__', dirname(__FILE__));
define('LINK','http://localhost:80/iso');
require __ROOT__."/layouts/header.php";
?>
<body class="bg-gradient-primary">
<div class="container">
<div class="card o-hidden border-0 shadow-lg my-5">
... |
<?php
/*
* Copyright (c) Codiad & daeks (codiad.com), distributed
* as-is and without warranty under the MIT License. See
* [root]/license.txt for more. This information must remain intact.
*/
//////////////////////////////////////////////////////////////////
// Verify Session or Key
///////////////////////////... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateInscripcionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('inscripcio... |
<?php
namespace app\library;
class Dir
{
// 遍历的目录数组
public $mFolders = array();
// 遍历的文件数组
public $mFiles = array();
public $mDateTime = "Y-m-d H-i-s";
public $mTimeOffset = 8;
public $aa = 0;
/**
* 创建多重目录
* @access public
* @param string $dir 目录的绝对路径
* @param in... |
<?php
/**
* Created by PhpStorm.
* User: Heena M
* Date: 7/12/2016
* Time: 3:12 PM
*/
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UserSignUpRequest extends FormRequest
{
public function rules()
{
return [
'name' => 'required|unique|max:255',
... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace RectorPrefix20220220\Symfony\Component\Console\Completion\Output;
use Re... |
<?php
namespace WebzzMaster\WFirmaSdk\Services;
/**
* Description of Goods
*
* @author jmail <jarek@webzzmaster.com>
*/
class Goods extends BaseService
{
//put your code here
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFormulaItemsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('formula_it... |
<?php
namespace Cblink\Sso\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cache;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Foundation\Validation\Validates... |
<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
<?php do_action('jankx_template_comment_before_bobdy', $comment, $args); ?>
<div class="body">
<header class="comment-header">
<?php printf(
'<h4 class="comment-author fn">%1$s</h4><sp... |
<?php
namespace Google\AdsApi\AdManager\v201905;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class MimeType
{
const UNKNOWN = 'UNKNOWN';
const ASP = 'ASP';
const AUDIO_AIFF = 'AUDIO_AIFF';
const AUDIO_BASIC = 'AUDIO_BASIC';
const AUDIO_FLAC = 'AUDIO_FLAC';
const AUDIO_MID = 'AU... |
<?php
/**
* +----------------------------------------------------------------------
* | [ WE CAN DO IT JUST THINK ]
* +----------------------------------------------------------------------
* | Copyright (c) 2018 http://www.monapay.com All rights reserved.
* +-------------------------------------------------... |
<?php
/**
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
* @copyright Copyright (c) 2016 Zend Technologies Ltd (http://www.zend.com)
*/
namespace ZendTest\ComponentInstaller\Injector;
use Zend\ComponentInstaller\Injector\ExpressiveConfigInjector;
class ExpressiveConfigInjectorTest extends A... |
@extends('layouts.admin')
@section('content')
@include('alerts.success')
<table class="table table-hover">
<thead>
<center><th>Nombre</th></center>
<center><th>Correo</th></center>
<center><th>Operaciones</th></center>
</thead>
<tbody>
@foreach($users as $user)
<td>{{$user->name}}</td>
<th... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Administracija;
class AdministracijaController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
* Sh... |
@include('admin.layout.navbar')
@include('admin.layout.sidebar')
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
<ol class="breadcrumb">
<li><a href="/admin/home"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Da... |
<?php
use yii\helpers\HtmlPurifier;
function def($data){
return HtmlPurifier::process($data);
}
$this->registerCssFile('@web/css/style2.css',['depends'=>['frontend\assets\AppAsset']]);
$this->registerCssFile('@web/css/many.css',['depends'=>['frontend\assets\AppAsset']]);
?>
<div class="wrap wrap-danger" id="displa... |
<!DOCTYPE html>
<title>Malformed XML</title>
<h1>NoNonsense Forum</h2>
<h2>Error: Malformed XML</h2>
<p>
The file "<?php echo $FILE; ?>.rss" could not be read because its XML code is malformed.<br />
The administrator of the site will have to repair the file before it can be used.
</p>
<?php exit (1); ?> |
@extends('layouts.base', ['bodyClass' => 'home', 'disableFooterAds' => true])
@section('body')
@include('layouts._alerts')
<div class="bg-gray-50 overflow-hidden">
<div x-data="{ open: false }" class="pt-6 pb-12 sm:pb-16 md:pb-20 lg:pb-28 xl:pb-32">
<div class="mt-10 mx-auto max-w-screen-x... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
use GuzzleHttp\Client;
class AkunController extends MX_Controller
{
private $_client;
public function __construct()
{
parent::__construct();
$this->_client = new Client([
'base_url' => '#'
]);
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class sp extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->helper('form');
$this->load->helper('url');
$this->config->load('email_config',TRUE);
}
... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
require_once 'master_engine/connection.php';
require_once 'master_engine/database_io.php';
$alerts = 0;
$dbIO = new DatabaseIO();
$admin = $dbIO->get_entry(TBL_ADMIN , "Name" , "1" , "1");
$_SESSION['admin'] = $admin;
$dbIO = new DatabaseIO();
$alerts = $dbIO->get_alerts(TBL_PRODUCTS , "COUNT(ID)" , "Quantity... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateOpenTicketsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('open_ticket... |
<?PHP
/* Config settings should go at the very beginning */
$rows = 10;
// Set a description
$description = 'This is a skeleton for a benchmark that does nothing.';
/*
This is a hash that stores the runtimes
It is dumped in all reports. The hash keys will be used as labels/descriptions.
$times['select()'] = 0... |
<?php
namespace Vda\Datasource\Relational\Driver\Mysql;
use Psr\Log\LoggerInterface;
use Vda\Datasource\DatasourceException;
use Vda\Datasource\Relational\Driver\BaseConnection;
use Vda\Datasource\Relational\Driver\Mysqli\MysqlDialect;
use Vda\Datasource\Relational\Driver\Mysqli\MysqlQueryBuilder;
use Vda\Datasource\R... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.