text stringlengths 2 1.03M |
|---|
<?php
return array(
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every ... |
<div class="breadcrumbs">
<div class="container">
<div class="title-breadcrumb">
Coming Soon
</div>
</div>
</div> |
<?php
session_start();
if(!isset($_SESSION["datos-usuario"])){
header("Location:index.php");
}
?> |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\Documents\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for SaveFeeGroupResponse StructType
* @subpackage Structs
*/
class SaveFeeGroupResponse extends AbstractStructBase
{
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
namespace Spatie\DbSnapshots\Commands;
use Illuminate\Console\Command;
use Illuminate\Console\ConfirmableTrait;
use Spatie\DbSnapshots\Commands\Concerns\AsksForSnapshotName;
use Spatie\DbSnapshots\SnapshotRepository;
class Load extends Command
{
use AsksForSnapshotName;
use ConfirmableTrait;
prote... |
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... |
<div class="page-content-wrapper ">
<div >
<table id="table1">
<tr>
<td id="td1"><button class="btn btn-warning" >Update/Delete</button></td>
<td id="td2"><button class="btn btn-danger" id="myBtn">Add Product</button></td>
</tr>
</table>
</... |
@if ($row['products'])
@foreach ($row['products'] as $product)
<div id="row-{!! $appRouter['current']['as'] !!}-{!! $product['id'] !!}" class="item">
<div class="ui grid">
<div class="four wide column">
<img class="ui image fluid" src="{{ $product['image'] }}">
</div>
<div class="ten wide column"... |
<?php
namespace Leonardomanrich\Cpanelwhm\Requests\Injectors;
use Leonardomanrich\Cpanelwhm\Requests\Request;
class DefaultInjector implements Injector
{
public function inject(Request $request): void
{
$request->addOption('timeout', 10)
->addOption('connect_timeout', 2);
}
} |
@component('Centaur::components.form.main', [
'id' => $id ?? '',
'name' => $name ?? '',
'class' => $class ?? '',
'method' => $method ?? '',
'param' => $param ?? '',
'route' => $route ?? '',
])
@slot('csrf')
@csrf
@endslot
@slot('elements')
<div class="form-group @error ('avata... |
--TEST--
suhosin file upload filter (array index whitelist)
--INI--
suhosin.log.syslog=0
suhosin.log.sapi=0
suhosin.log.script=0
suhosin.log.file=255
suhosin.log.file.time=0
suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp
auto_append_file={PWD}/suhosintest.$$.log.tmp
file_uploads=1
suhosin.request.array_index_whitel... |
<?php
require_once __DIR__ . '/../sharedRequirements.php';
$Username = $_POST['userName'];
$appToken = $_POST['appToken'];
$APPID = $_POST['appID'];
$APPPass = $_POST['appPass'];
if(empty($Username) || empty($appToken) || empty($APPID) || empty($APPPass)){
generalReturn(true,7,$Language);
}
if(!OPENAPI40\User::che... |
<?php
namespace Cstopery\AlipayUserCertify\Libarys\Zmop\Request;
/**
* ALIPAY API: alipay.fund.auth.order.voucher.create request
*
* @author auto create
* @since 1.0, 2019-05-07 14:19:16
*/
class AlipayFundAuthOrderVoucherCreateRequest
{
/**
* 资金授权发码接口
**/
private $bizContent;
private $apiParas = array();... |
#!/usr/bin/env php
<?php
use Mfn\PHP\Analyzer\Console;
require_once __DIR__ . '/../bootstrap.php';
ini_set('memory_limit', -1);
$app = new \Symfony\Component\Console\Application();
$app->add(new Console\Analyze());
$app->add(new Console\Graphviz());
$returnCode = $app->run();
exit($returnCode); |
<?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*
* @defgroup TridentCore Trident Core
* @{
*/
/**
* @see BxBaseServiceLogin
*/
class BxTemplServiceLogin extends BxBaseServiceLogin
{... |
<table class="table table-hover table-responsive" id="fares-table">
<thead>
<th>Code</th>
<th>Name</th>
<th>Price</th>
<th>Cost</th>
<th>Notes</th>
<th class="text-center">Active</th>
<th class="text-right">Action</th>
</thead>
<tbody>
@foreach($fa... |
<?php session_start();
if(!$_SESSION['login'])
header("location:index.php");
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title>Online Ticket Reserving System</title>
<link rel="stylesheet" type="text/css" href="css/style_admin.css"... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\AreaResponsable */
$this->title = $model->id_area_responsable;
$this->params['breadcrumbs'][] = ['label' => 'Area Responsables', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class TagsSeed extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run() {
DB::table("tags")->insert([
['name' => 'HTML'],
['name' => 'CSS'],
... |
<div class="container-fluid woocommerce-container-fluid">
<div class="container">
<div class="row">
<div id="content" class="col-12">
<h1 class="fs-60 text-center text-black damion mb-50"><?php the_title(); ?></h1>
</div>
</div>
</div>
</div>
<div class="band-blue"></div>
<div class="band-white"></... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2015, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
namespace Webaction\Admiko;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use Webaction\Admiko\Commands\AdmikoCommand;
class AdmikoServiceProvider extends PackageServiceProvider
{
public function configurePackage(Package $package): void
{
/*
... |
<header class="header" id="header">
<div class="navegador-top-color">
<div class="contenedor">
<div class="navegador-top">
<div class="navegador-top__contacto">
<ul>
<li><i class="fas fa-map-marker-alt"></i> Av. Libertadores 123 - San ... |
<?php
namespace Strimoid\Helpers;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Psr7\Response;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Str;
use Strimoid\Facades\Guzzle;
class OEmbed
{
protected array $mimetypes = [
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateJipphy16tt03sTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('jipphy16t... |
@php
$column['value'] = $column['value'] ?? data_get($entry, $column['name']);
$column['prefix'] = $column['prefix'] ?? '';
$column['suffix'] = $column['suffix'] ?? '';
$column['disk'] = $column['disk'] ?? null;
$column['escaped'] = $column['escaped'] ?? true;
$column['wrapper']['element'] = $co... |
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php
$textarea = Helper::options()->commentsHTMLTagAllowed;
function threadedComments($comments, $options) {
$commentClass = '站外';
if ($comments->authorId) {
if($comments->authorId == $comments->ownerId) {
$commentClass = '作者';
}e... |
<?php
/**
*
*/
class Model extends DataBase
{
private $MtiMiddle= "http://172.17.6.79/apmtr/api.php";
function __construct($DB=JUEGO,$AutoCommit = true)
{
parent::__construct($DB);
}
function cleanInput($input) {
$search = array(
'@<script[^>]*?>.*?</script>@si', // Elimina Javascr... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\ProjectQuestionnaire */
$this->title = $model->ProjectQuestionnaireID;
$this->params['breadcrumbs'][] = ['label' => 'Project Questionnaires', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->ti... |
@extends('layouts.profile')
@section('title', 'Profileの新規作成')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 mx-auto">
<h2>Profile新規作成</h2>
<form action="{{ action('Admin\ProfileController@update') }}" method="post" enctype=... |
<?php
/**Dado un array de enteros y un array con las posiciones.Realizar una funcion que desplace
* el array de enteros, apartir de las posiciones de el array .Los huecos generados se
* pondra un cero.
*
* array enteros 23 4 10 12 3 45 9
*
* posiciones 3 5 2
*
* primer desplazamiento
*
* 23 4 10 0 12 3 ... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
DEBUG - 2021-03-28 06:01:34 --> Session: "sess_save_path" is empty; using "session.save_path" value from php.ini.
DEBUG - 2021-03-28 06:01:38 --> Session: "sess_save_path" is empty; using "session.save_path" value from php.ini.
DEBUG - 2021-03-28... |
<?php
namespace Forum\Errors;
use Symfony\Component\HttpFoundation\Response;
class BadRequestErrorHandler extends ErrorHandler
{
/**
* @var string
*/
protected $message = 'Bad Request';
/**
* @var int
*/
protected $status_code = Response::HTTP_BAD_REQUEST;
/**
* @retur... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
class UserMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "grupo_expensas".
*
* @property integer $id
* @property integer $grupo_id
* @property integer $tipo_expensa_id
* @property integer $mes
* @property integer $year
* @property string $importe
*/
class GrupoExpensas extends \yii\db\Ac... |
@extends('layouts.admin')
@section('content')
<style>
.required-field span {
color: red;
}
</style>
<!-- Page-Title -->
<div class="row">
<div class="col-sm-12">
<div class="page-title-box">
<div class="btn-group pull-right">
... |
<?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
/**
* 页面导航控制器
*
* @author Hyber
* @usage none
*/
class NavigationApp extends BackendApp
{
var $_navi_mod;
function __construct()
{
$this->NavigationApp();
}
function NavigationApp()
{
parent::BackendApp();
$this->_navi_mod =& m('navigation');... |
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flarum\Core\Repository;
use Flarum\Core\Discussion;
use Flarum\Core\User;
use Illumina... |
<?php
namespace TheHostingTool\Component\Persistence\Repository;
use Doctrine\Common\Persistence\ObjectRepository;
/**
* Repository Interface
*/
interface RepositoryInterface extends ObjectRepository
{
/**
* Create a new instance of a model.
*/
public function createNew();
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCarritoArticuloTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('carrito... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSpecialsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('specials', fun... |
@extends('frontend.layouts.master')
@section('title','TRANG ĐẶT XE')
@section('main-content')
<!-- Breadcrumbs -->
<div class="breadcrumbs">
<div class="container">
<div class="row">
<div class="col-12">
<div class="bread-inner">
... |
<?php
namespace App\Http\Middleware;
use Illuminate\Support\Facades\Auth;
use Closure;
class CheckAdminAuth
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $n... |
<?php
namespace App\Providers;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Event;
class EventServiceProvider extends ServiceProvider
{
/*... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\URL;
class ProductResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $requ... |
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
/**
* @ORM\Entity(repositoryClass="App\Repository\CategorieRecommandationRepository")
*/
class CategorieRecommandation
{
//Définition des différents champs de la base de données avec caractéristiques
... |
<?php
/**
* Html2Pdf Library - Tests
*
* HTML => PDF converter
* distributed under the OSL-3.0 License
*
* @package Html2pdf
* @author Laurent MINGUET <webmaster@html2pdf.fr>
* @copyright 2017 Laurent MINGUET
*/
namespace Spipu\Html2Pdf\Tests;
/**
* Class ExamplesTest
*/
class ExamplesTest extends \PH... |
<?php
namespace Bavix\Helpers\Results;
use Bavix\Helpers\Arr;
/**
* Class PregObject
*
* @package Bavix\Helpers\Results
*
* @property array $matches
* @property int $flags
* @property int $offset
* @property int $result
*/
class PregObject
{
/**
* @var array
*/
protected $data = [];... |
<div class="content-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col">
<h3 class="text-center mt-3">Galery Surat</h3>
<div class="row">
<div class="col">
</div>
</div>
</div>
</div>
<div class="row mt-2" style="margin-left: 1... |
<?php
namespace MatthiasMullie\ApiOauth\Controllers\User;
use MatthiasMullie\ApiOauth\Controllers\Authenticate\AuthenticateTrait;
use MatthiasMullie\ApiOauth\Controllers\Authorize\AuthorizeTrait;
use MatthiasMullie\ApiOauth\Controllers\Base;
use League\Route\Http\Exception\BadRequestException;
class Post extends Bas... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
namespace MauticPlugin\MauticGSBundle\Google\google_api_php_client\src\Google\Service;
/*
* Copyright 2010 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 ... |
<?php
/**
* Copyright 2013 CPI Group, LLC
*
* 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 ... |
<?php
use yii\helpers\Html;
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>cms-ityong</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Access-Control-Allow-Origin" content="*">
<meta conten... |
<div class="row">
<div class="col-lg-12">
<h1>Konntak <small>Alamat dan Nomor Telepon</small></h1>
<div class="alert alert-dismissable alert-warning">
<button data-dismiss="alert" class="close" type="button">×</button>
Ini adalah Halaman Kontak
</div>
</div>... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class City extends Model
{
public function transportFares(){
return $this->hasMany(TransportFare::class);
}
} |
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylorotwell@gmail.com>
*/
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|... |
<?php
/*
+--------------------------------------------------------------------------
| WeCenter [#RELEASE_VERSION#]
| ========================================
| by WeCenter Software
| © 2011 - 2014 WeCenter. All Rights Reserved
| http://www.wecenter.com
| ========================================
| Support... |
<?php
//
// Description
// ===========
//
// Arguments
// ---------
//
// Returns
// -------
//
function qruqsp_i2c_deviceUpdate(&$ciniki) {
//
// Find all the required and optional arguments
//
ciniki_core_loadMethod($ciniki, 'ciniki', 'core', 'private', 'prepareArgs');
$rc = ciniki_core_prepareArg... |
<?php
/**
* Password - A command-line tool to help you manage your password
*
* @author admin@dowte.com
* @link https://github.com/dowte/password
* @license https://opensource.org/licenses/MIT
*/
namespace Tests;
use Dowte\Password\pass\Password;
use Dowte\Password\pass\PasswordDb;
error_reporting(0);
defi... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Feature extends Model
{
public function categories()
{
return $this->belongsToMany(Category::class);
}
} |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\CreateSliderRequest;
use App\Http\Requests\UpdateSliderRequest;
use App\Repositories\SliderRepository;
use App\Http\Controllers\AppBaseController;
use Illuminate\Http\Request;
use Flash;
use Prettus\Repository\Criteria\RequestCriteria;
use App\Criteria\allCr... |
<?php
namespace Modules\Edu\Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
use Modules\Edu\Entities\Video;
class VideoSeederTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Model::unguard();
fac... |
@extends('admin.template')
@section('konten')
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">Data Akomodasi</h1>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class=... |
<?php
namespace Tgallice\FBMessenger\Callback;
use Tgallice\FBMessenger\Model\Callback\MessageEcho;
class MessageEchoEvent extends CallbackEvent
{
const NAME = 'message_echo_event';
/**
* @var int
*/
private $timestamp;
/**
* @var MessageEcho
*/
private $messageEcho;
/*... |
<?php
/*
* Create and populate a drop down menu from customers data
*/
require 'database.php';
echo "<form action='lookup.php' method = 'get'>";
echo "<select name='id'>";
$pdo = Database::connect();
$sql = "SELECT * FROM customers";
foreach ($pdo->query($sql) as $row) {
//Display the contents ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTaiStatusesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tai_statuse... |
<?php
namespace App\Scheduler\Run\Provider;
use App\Scheduler\Run\RemoteClient\ExternalRemoteClient;
use App\Scheduler\Run\Storage\TimeHitStorage;
use Base\RemoteCall\RemoteCallClient;
use Verse\Run\Provider\RequestProviderProto;
class SchedulerClockProvider extends RequestProviderProto
{
private $interval = 1... |
<?php
var_dump(exif_read_data(dirname(__FILE__).'/image009.jpg'));
?> |
<?= \backend\widgets\selector\Select::widget([
'name' => 'SendForm[attachment_id]',
'value' => $model->attachment_id,
'type' => 'news',
'label' => '图文',
])?>
<script>
function beforSubmit() {
var val = $('input[name="SendForm[attachment_id]"]').val();
if (!val){
rfAffir... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use App\Models\proyectosDetalle_model;
class proyectos_model extends Model
{
protected $table = 'proyectos';
protected $primaryKey = 'id';
protected $fillable = [
'id','name','priori'
];
public function proyectosDetalle()
{
return $... |
<h1>Books</h1>
<a class="btn btn-info btn-large" href="<?php echo site_url(); ?>">Home</a>
<a class="btn btn-success btn-large" href="<?php echo site_url('book/create'); ?>">Add New Book</a>
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Act... |
<?php
namespace bazilio\stubsgenerator;
use yii\console\Controller;
use yii\console\Exception;
class StubsController extends Controller
{
public $outputFile = null;
protected function getTemplate()
{
return <<<TPL
<?php
/**
* Yii app stub file. Autogenerated by yii2-stubs-generator (stubs cons... |
<?php
namespace App\Http\Resources\Hold;
use App\Http\Resources\Condition\ConditionResource;
use Illuminate\Http\Resources\Json\JsonResource;
class HoldResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array|\I... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" value="{{ csrf_token() }}" />
<title>Mediacube test task</title>
<link href="{{ mix('css/app.css... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePersonneAPrevenirsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pers... |
<?php
return [
'password-reset-instructions' => 'To restore your password, please enter the following link:',
'password-updated' => 'Your password was updated',
'super-admin-delete-restriction' => "You can't delete super admin.",
'cant-delete-users' => "You don't have permissions to delete users.",
... |
<?php
header("Content-Type: text/html; charset=utf-8");
echo("utf8 character: …");
?> |
<?php
namespace Illuminate\Auth;
use Illuminate\Http\Request;
use Illuminate\Contracts\Auth\Guard;
class RequestGuard implements Guard
{
use GuardHelpers;
/**
* The guard callback.
*
* @var callable
*/
protected $callback;
/**
* The request instance.
*
* @var \Ill... |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Handles serialized data
*
* When set, the field attempts to unserialize the data into it's
* actual PHP representation. When the model is saved, the value
* is serialized back and saved as a string into the column.
*
* @package Jam
* @categor... |
<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
include_once('simple_html_dom.php');
include_once('dlPage.php');
include_once('getTime.php');
$data=getIntraDay("BARC");
$dataset=array();
foreach($data as $bit){
array_push($dataset,$bit[4]);
}
var_dump($data);
$acos=trader_sma($dataset,5);
//var_dump(... |
<p align="center"><img src="<?PHP echo SITE_IMAGES_URL.site_logo_img; ?>" alt="Hyperion, Inc logo" width="60" height="90" border="0" /></p>
<div class="admin_menu">
<p><a href="<?PHP echo SITE_URL; ?>admin/articles.php">Articles</a></p>
<p><a href="<?PHP echo SITE_URL; ?>admin/forms_view.php">Forms</a></p>
<p class="me... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit46e3cbac6d53adf48884676d5b966e8b::getLoader(); |
<?php
namespace Midnite81\LaravelBase\Contracts\Services;
interface UuidGenerator
{
/**
* Generate a new UUID.
*
* @return string
*/
public function generate();
} |
@extends('layouts.master')
@section('title', 'View Posts')
@section('content')
<div class="container-fluid px-4">
<div class="card mt-2">
<div class="card-header">
<h4> View Posts
<a href="{{url('admin/add-post')}}" class="btn btn-primary float-end">Add Posts</a>
... |
<?php
namespace Webkul\Pos\DataGrids\Admin;
use Webkul\Ui\DataGrid\DataGrid;
use DB;
/**
* PosProductRequest DataGrid
*
* @author Vivek Sharma <viveksh047@webkul.com> @vivek-webkul
* @copyright 2019 Webkul Software Pvt Ltd (http://www.webkul.com)
*/
class PosProductRequestDataGrid extends DataGrid
{
protect... |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2012 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... |
<?php
$g_lang["head_no_tags"] = "Creëer een graaf door middel van een bogenmatrix";
$g_lang["text"] = "<p>Op deze pagina kunt u een bogenmatrix invoeren en een graaf plotten</p>";
$g_lang["adjacency_matrix_description"] = "Voer een bogenmatrix in. Gebruik een komma \",\" als scheidingsteken and klik o... |
<html>
<head>
<style>
html{
overflow: none;
}
body{
margin:50px auto;
overflow: none;
background-size: cover;
height:100%;
width: 100%;
}
h1{
font-family: 'Montserrat',,sans-serif;
color:#42ab9e;
text-align: center;
}
h1 span{
color:#777;
}
h2{
font-family: 'Monts... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/osconfig/v1beta/guest_policies.proto
namespace Google\Cloud\Osconfig\V1beta;
if (false) {
/**
* This class is deprecated. Use Google\Cloud\Osconfig\V1beta\SoftwareRecipe\Step\InstallRpm instead.
* @deprecated
*/... |
<?php
namespace backend\controllers;
use Yii;
use common\models\User;
use yii\data\ActiveDataProvider;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\rbac\DbManager;
use yii\web\ForbiddenHttpException;
/**
* UserController implements the CRUD actions for User model.
*... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Model_kriteria extends CI_Model {
function edit($data) {
$check = $this->db->set($data)->where('id_kriteria', $data['id_kriteria'])->update('tbl_kriteria');
if ($check) {
$jumlah = $this->db->select('sum(bobot... |
<?php
/**
* EfrontSearch Class file
*
* @package eFront
* @version 3.5.0
*/
//This file cannot be called directly, only included.
if (str_replace(DIRECTORY_SEPARATOR, "/", __FILE__) == $_SERVER['SCRIPT_FILENAME']) {
exit;
}
/**
* EfrontSearch class
*
* This class manipulates search
* @author Tsirakis N... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\ValidationException;
class UserController extends Controller
{
... |
@extends('admin.layout.master')
@section('body')
<div class="row">
<div class="col-md-12">
<div class="tile">
<h3 class="tile-title ">Short Code</h3>
<div class="tile-body">
<div class="table-responsive">
<table class="table table-striped table-hover">
<thead>
<tr>
<th... |
<?php
namespace Muebleria\Http\Controllers;
use Illuminate\Http\Request;
use Validator;
use Muebleria\User;
use JWTAuth;
class UserController extends Controller
{
public function store(Request $request){
$validator = Validator::make($request->all(), [
'name' => 'string|required|max:20',
'p... |
<?php
/*
* This file is part of the Integrated package.
*
* (c) e-Active B.V. <integrated@e-active.nl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Integrated\Bundle\ContentBundle\Form\Type\ContentType\Fields;
use I... |
<?php
namespace Test\Unit;
use Test\TestCase;
use Web3\Validators\FilterValidator;
class FilterValidatorTest extends TestCase
{
/**
* validator
*
* @var \Web3\Validators\FilterValidator
*/
protected $validator;
/**
* setUp
*
* @return void
*/
public function s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.