text stringlengths 2 1.03M |
|---|
<?php namespace Laravel\Routing;
use Laravel\IoC;
use Laravel\Str;
use Laravel\View;
use Laravel\Event;
use Laravel\Bundle;
use Laravel\Request;
use Laravel\Redirect;
use Laravel\Response;
use FilesystemIterator as fIterator;
abstract class Controller {
/**
* The layout being used by the controller.
*
* @var ... |
@extends('layouts.admin2')
@section('content')
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js"></script>
<script type="text/javascript" src="https... |
<?php
namespace App\Http\Controllers;
use App\Task;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
// $this->middleware('auth');
}
/**
* Show the a... |
<?php
//set display code in MediaMaster
//all have same basic format
//could be set as display_functions to keep clean code
class HTML5AudioDisplayHandler extends AbstractHandler
{
private $mediacode;
public function handle(string $request): ?string
{
if ($request === "wpvideoshortcode") {
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDropdownsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('dropdowns', f... |
<?php
namespace Drupal\entity_activity_tracker\EventSubscriber;
use Drupal\Core\Config\ConfigCrudEvent;
use Drupal\Core\Config\ConfigEvents;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\entity_activity_tracker\Event\ActivityEventInterface;
use Drupal\entity_activity_tracker\Event\TrackerCreateEvent;
... |
<?php
defined("DUPXABSPATH") or die("");
/**
* A stub for returning an object
*/
class DUPX_API_REQUEST
{
public $report = array('operation' => '', 'process_time' => '');
public $result;
}
/**
* A stub for returning an object error response from a failed request
*/
class DUPX_API_ERROR
{
public $re... |
@extends('admin.layout2')
@section('content')
<div class="row breadcrumbs">
<div class="col-md-12">
<ol class="breadcrumb">
<li><a href="{{ url('admin') }}">Home</a></li>
<li><a href="{{ url('admin/daerah') }}">Daerah</a></li>
<li class="active">Tambah Daerah</li>
<... |
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\DataTable\Renderer;
use Piwik\Common;
use Piwik\DataTable\Renderer;
use Piwik\DataTable\Simple;
use Piwik\DataTable;
use Piwik\Date;
use Piwik\Peri... |
--TEST--
Test fopen and fclose() functions - usage variations - "w+t" mode
--SKIPIF--
<?php
if( substr(PHP_OS, 0, 3) == "WIN" )
die('skip Do not run on Windows');
?>
--FILE--
<?php
/*
fopen() function:
Prototype: resource fopen(string $filename, string $mode
[, bool $use_include_path [, ... |
<style type="text/css">
.box.box-primary { border-top-color: #3c8dbc; margin-top:10px;}
.box {
position: relative;
border-radius: 3px;
background: #ffffff;
border-top: 3px solid #d2d6de;
margin-bottom: 20px;
width: 100%;
box-shadow: 0 1px 1px rgba(0,0,0,0.1); padding:10px 20px;}
h1 {margin:1... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
add_theme_support( 'post-thumbnails' );
add_action( 'wp_enqueue_scripts', 'onefourthree_scripts' );
/**
* Enqueue scripts and styles
*/
function onefourthree_scripts() {
/*
* Enqueue Scripts
*/
wp_enqueue_style( 'style-name', get_stylesheet_uri() );
// jQuery
wp_enqueue_script( 'jquery' );
wp_enqu... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class Transaction extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit1920f71a52f10bc0a672921294e889db
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
'25072dd6e2470089de65ae7bf... |
<?php
/**
* @package Joomla.Platform
* @subpackage Base
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Tree Node Class.
*
* @package Joomla.... |
<!DOCTYPE html>
<!-- saved from url=(0022)http://localhost:3000/ -->
<html lang="pt-BR"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" co... |
<link rel="stylesheet" href="<?php echo base_url();?>assets/js/jquery-ui/css/smoothness/jquery-ui-1.9.2.custom.css" />
<script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery-ui/js/jquery-ui-1.9.2.custom.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.valida... |
<div class="ekit-admin-fields-container-fieldset">
<?php
$filter = \ElementsKit_Lite\Libs\Framework\Attr::instance()->utils->get_option('settings', []);
$this->utils->input([
'type' => 'radio',
'name' => 'settings[filter_widget_module]',
'value' => 'basic... |
@extends('default')
@section('content')
<section class="box special">
<h2>Modification de commentaire</h2>
{!! Form::model($comment ,['url' => '/blog/edit/'.$comment->id_comment, 'method' => 'put']) !!}
{!! Form::token() !!}
<div class="row uniform 50%">
<div class="12u 12u(mobilep)">
{... |
<?php
declare(strict_types=1);
namespace OtherCode\ComplexHeart\Tests\Domain\Traits;
use Mockery\Adapter\Phpunit\MockeryTestCase;
use OtherCode\ComplexHeart\Domain\Exceptions\InvariantViolation;
use OtherCode\ComplexHeart\Tests\Sample\ValueObjects\ProductName;
/**
* Class HasInvariantsTest
*
* @author Unay Santi... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
@extends('layouts.userdashboard')
@section('title','Register')
@section('content')
<div class="container" style="height:auto;min-height: 100vh">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="flash-message">
@foreach (['danger', 'warning', 'success',... |
@extends('template')
@section('content')
<div class="row">
<div class="col-sm-12">
<div class="page-title-box">
<div class="btn-group pull-right">
<ol class="breadcrumb hide-phone p-0 m-0">
... |
<?php
declare(strict_types=1);
/*
* This file is part of Biurad opensource projects.
*
* PHP version 7.1 and above required
*
* @author Divine Niiquaye Ibok <divineibok@gmail.com>
* @copyright 2019 Biurad Group (https://biurad.com/)
* @license https://opensource.org/licenses/BSD-3-Clause License
*
* For... |
<?php
/**
* @author Tomáš Blatný
*/
namespace PhoenixCMS\Config;
use PhoenixCMS\Utils\HashMap;
interface ILoader
{
/**
* @param string $path
* @return HashMap
*/
function load($path);
} |
<?php declare(strict_types=1);
/*
* This file is part of the feed-io package.
*
* (c) Alexandre Debril <alex.debril@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FeedIo\Feed;
use FeedIo\Feed\Node\CategoryIn... |
<?
class NoPrimaryIdException extends DataIntegrityException {
public function __construct($obj) {
parent::__construct(array('className' => get_class($obj), 'variables' => $obj->getVariableDump()), 2);
}
public function getDataToString($data = null) {
if (!$data) $data = $this->data;
return '
<dl>
... |
<?php
namespace Vynyl\Campaigner\DTO;
class DatabaseColumnCollection implements ResourceCollection
{
private $databaseColumns = [];
public function __construct()
{
}
public function addDatabaseColumn(DatabaseColumn $databaseColumn)
{
$this->databaseColumns[] = $databaseColumn;
}... |
<?php
only_admin_access();
$form_rand_id = uniqid() . rand();
$data = false;
if (isset($params["data-category-id"])) {
$data = get_category_by_id($params["data-category-id"]);
}
if ($data == false or empty($data)) {
include('_empty_category_data.php');
}
if (!$data['id'] and isset($params["parent-category-id"]... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>LaraLogViewer - Created by Darshan Baraiya</title>
<meta name="description" content="... |
<!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>စုစံစားသောက်ဆိုင်</title>
{{-- csrf --}}
<meta name="csrf-token" content="{{ csrf_token() }}">
<... |
<?php
define("MAIN", "MAIN");
// load the common code
require_once __DIR__ . '/lib.php';
// figure out how many records have been requested
$n = 1;
if(isset($_REQUEST['n']) && is_numeric($_REQUEST['n']) && $_REQUEST['n'] >= 1){
$n = intval($_REQUEST['n']);
}
// figure out what type to respond with
$type = $n ===... |
<?php
/**
* @author Stephen "TheCodeAssassin" Hoogendijk
*/
require 'vendor/autoload.php';
// vagrant ip
$host = '192.168.33.10';
$url = parse_url(getenv('SCALINGO_INFLUX_URL'));
function randFloat($min, $max)
{
$range = $max-$min;
$num = $min + $range * mt_rand(0, 32767)/32767;
$num = round($num, 4);
... |
?> |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\ModelNotFoundException;
class Project extends Model
{
public const STATUS_BEHIND = 'behind';
public const STATUS_CURRENT = 'current';
public const STATUS_INSECURE = 'insecure';
protected $guarded = ['id'];
... |
<?php
namespace Ticketpark\HtmlPhpExcel\Elements;
use Doctrine\Common\Collections\ArrayCollection;
use Ticketpark\HtmlPhpExcel\Elements\Base\BaseElement;
/**
* Row
*
* @author Manuel Reinhard <manu@sprain.ch>
*/
class Row extends BaseElement
{
/**
* A collection of cells within the row
*
* @va... |
<?php
namespace App\Controllers;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
use App\Models\SiteWwtpModel as Site;
use App\Models\CompanyModel as Company;
use App\Models\KecamatanModel as Kecamatan;
use App\Models\LoggerModel as Logger;
use App\Models\LoggerDetailModel as Detai... |
<?php
class Product_model extends CI_Model {
private $ci;
private $table = 'products';
private $select_fields = '*';
function __construct() {
parent::__construct();
$this->ci = & get_instance();
$this->ci->load->model('logios_model');
}
/**
* Get products
* @param array $filters
* @... |
<header class="main-header">
<!-- Logo -->
<a href="{{ route('home') }}" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>BDL</b></span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg">KLIKO</span>
</a>
<!-... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Migration_Sales_Tax_Data extends CI_Migration
{
public function __construct()
{
parent::__construct();
$this->load->library('sale_lib');
}
public function up()
{
$number_of_unmigrated = $this->get_count_of_unmigrated();
erro... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Passport\HasApiTokens;
class User extends Authenticatable
{
use HasApiTokens,Notifiable;
/**
* The attributes that are mass as... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCodConPractitionersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cod... |
<?php
namespace Nemundo\Iso\Data\Region;
use Nemundo\Model\Id\AbstractModelIdValue;
class RegionId extends AbstractModelIdValue {
/**
* @var RegionModel
*/
public $model;
public function __construct() {
parent::__construct();
$this->model = new RegionModel();
}
} |
<?php
// print_r($blockwise_schoolinfo);
?>
<!DOCTYPE html>
<html lang="en">
<!-- BEGIN HEAD -->
<head>
<style>
/******************* Timeline Demo - 3 *****************/
.main-timeline3{overflow:hidden;position:relative}
.main-timeline3:before{content:"";width:10px;height:100%;border:3px solid #959595;p... |
<?php
namespace App\Http\Controllers\Product\Product\Backend;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Contracts\EloquentsDbRepository\IProductDbRepository;
class BulkController extends Controller
{
protected $productRepository;
public function __construct(IProductDbReposito... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
namespace App\Filters;
abstract class Filters
{
protected $builder;
protected $filters = [];
public function apply($builder)
{
$this->builder = $builder;
foreach ($this->getFilters() as $filter => $value)
{
if(method_exists($this, $filter))
{
... |
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... |
<!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">
<title>Laravel</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<!... |
<?php
/*
* This file is part of the Ivory Google Map package.
*
* (c) Eric GELOEN <geloen.eric@gmail.com>
*
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Ivory\Tests\GoogleMap\Helper\Collector\Overlay;
use Ivory\Google... |
<?php
/**
* This file is part of the contentful/contentful package.
*
* @copyright 2015-2020 Contentful GmbH
* @license MIT
*/
declare(strict_types=1);
namespace Contentful\Delivery\Console;
use Contentful\Delivery\Cache\CacheWarmer;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\C... |
<?php
namespace AIOSEO\Plugin\Common\Sitemap;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Handles outputting the sitemap.
*
* @since 4.0.0
*/
class Output {
/**
* Outputs the sitemap.
*
* @since 4.0.0
*
* @param array $entries The sitemap entries.
* @return void
*/... |
<?php
/**
* @copyright Copyright (c) 2017 Dmitry Bashkarev
* @license https://github.com/bashkarev/clickhouse/blob/master/LICENSE
* @link https://github.com/bashkarev/clickhouse#readme
*/
namespace bashkarev\clickhouse;
use yii\db\Exception;
/**
* @author Dmitry Bashkarev <dmitry@bashkarev.com>
*/
class Socket... |
<link rel="stylesheet/less" type="text/css" href="/public/css/navbar.less">
<link href="/public/css/knowsAlready.css" rel="stylesheet">
<header>
<nav class="navbar navbar-default">
<div class="container-fluid" id="specContainer">
<div class="navbar-header">
<a class="navbar-brand... |
<form class="form-horizontal" method="post" enctype="multipart/form-data">
<fieldset>
<!-- Text input-->
<div class="form-group">
<label class="col-md-2 control-label" for="title">Название*</label>
<div class="col-md-6">
<input id="title" name="title" place... |
<?php
/*
* This file is part of the ONGR package.
*
* (c) NFQ Technologies UAB <info@nfq.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace ONGR\FilterManagerBundle\Tests\Functional\Search\ViewData\SingleTermChoice;
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePhotoAlbumsTable extends Migration
{
public function up()
{
//
Schema::create('photo_albums', function (Blueprint $table) {
$table->incre... |
<?HH
/**
* Hack Fast Algos
*
* Implementation of a Left-Leaning Red-Black Tree (LLRB Tree)
*
* Note: Red-Black Trees are very confusing. I've written some notes on to make it easier to grasp.
* Also, check out the Wikipedia tree rotation animation to which I've linked nearby.
*
* Learn more
* @link https://en.... |
<?php
namespace app\common\model;
use think\Model;
class ReceivingAddr extends Model
{
/**
* 获取收货地址
*
*/
public function getReceivingAddrList($uid)
{
$list = $this->where('user_id',$uid)->order('add_time desc')->select()->toArray();
return $list;
}
} |
<?php
namespace App\ZendEngine3\ZendTypes;
/**
* Class ZvalStruct
*
* @package App\ZendEngine3\ZendTypes
*
* Zend/zend_types.h line 182
*/
class ZvalStruct {
/** @var ZendValue Value */
public $value;
/** @var int Active type */
public $u1_v_type;
/** @var int */
public $u1_v_type_flags;... |
@extends('layouts/candy_index')
@section('main')
<!---------------------------------------- FIN DE HEADER --------------------------------------------->
<!----------------------------------------INICIO SECCION PRINCIPAL------------------------------->
<div class="d-none d-md-block">
<section id="principal... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Validator;
class Menu extends Controller
{
public function upload(Request $request)
{
//Création d'un menu
$id_menu = DB::table('menu')->insertGetId([
... |
<?php
use Illuminate\Database\Seeder;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$user = new \App\User;
$user->email = 'admin@rtgnetworks.com';
$user->password = \Illuminate\Support\Facades\H... |
<div class="section showcase-widget" data-widget="{{ $widget_class }}">
<div class="container">
<div class="heading-box">
<h2 class="box-title">{{ $setting->title }}</h2>
<p class="desc-lg">{{ $setting->subtitle }}</p>
</div>
<div class="testimonials style1 owl-carous... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="<?php echo base_url('intern/css/bootstrap.css')?>">
<link rel="stylesheet" href="<?php echo base_url('intern/css/bootstrap-grid.css')?>">
<link rel="stylesheet" href="<... |
<?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
/**
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyrig... |
<?php
namespace app\hbfenlei\index\wxapp;
use app\common\controller\index\wxapp\Sorts AS _Sort;
//小程序获取栏目信息
class Sorts extends _Sort
{
/**
* 获取栏目数据
* @return \think\response\Json
*/
public function index(){
return parent::index();
}
public function hot(){
return pa... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use App\Models\Kota;
class UpdateKotaRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
... |
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#ekle_duzenle" data-toggle="tab">Ekle / Düzenle</a></li>
<li class=""><a href="#not" data-toggle="tab">Notlar</a></li>
<li class=""><a href="#stok_kullanilan" data-toggle="tab">Kullanılan Stoklar</a></li>
</ul>
... |
@php
$multiple = Arr::get($field, 'multiple', false);
$sortable = Arr::get($field, 'sortable', true);
$value = old(square_brackets_to_dots($field['name'])) ?? $field['value'] ?? $field['default'] ?? '';
if (!$multiple && is_array($value)) {
$value = Arr::first($value);
}
$field['wrapper'] = $field['wrapperAttribu... |
<?php
function store_locations() {
return array(
array('latLng' => array(30.2675,-97.7409), 'name' => 'Zevo Toys'),
array('latLng' => array(30.2707,-97.7490), 'name' => 'Foo Bars'),
array('latLng' => array(30.2705,-97.7409), 'name' => 'Mainway Toys'),
array('latLng' => array(30.2686... |
<?php
declare(strict_types=1);
namespace Bolt\Twig;
use Bolt\Configuration\Config;
use Bolt\Entity\Content;
use Bolt\Entity\Field;
use Bolt\Repository\ContentRepository;
use Bolt\Repository\FieldRepository;
use Tightenco\Collect\Support\Collection;
use Twig\Environment;
use Twig\Extension\AbstractExtension;
use Twig... |
@extends('layouts.app')
@section('owncss')
<link rel="stylesheet" href="{{asset('/tree/dist/jquery.tree-multiselect.min.css')}}">
@endsection
@section('content')
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>Edit role</h2>
</div>
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
{{ HTML::style('/css/bootstrap.min.css')}}
{{ HTML::style('/css/style.css')}}
</head>
<header>
<div class='header'>
<div><div>
<div id='tit'>
<h1 style='color:white'><b>EXAM PORTAL</b></h1>
</div>
</div>
</header>
<body>
<di... |
@extends('product.layout')
@section('content')
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>Laravel </h2>
</div>
<div class="pull-right">
<a class="btn btn-success" href="{{ route('product.create') }}"> Create New Employee</a>
... |
<?php
namespace App\Repositories;
use App\Models\AboutU;
use App\Repositories\Support\AbstractRepository;
use Illuminate\Support\Facades\Auth;
class AboutURepository extends AbstractRepository
{
public function model(){
return AboutU::class;
}
public function getData()
{
return $this->... |
<meta charset="utf-8">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" co... |
<?php
namespace SecucardConnect\Client;
use Exception;
/**
* /**
* Indicates business related errors happening when a API call could not performed properly.<br/>
* Happens for example when input data are invalid or if not enough balance exist for a product or the API was
* not used properly.<br/>
* Holds detai... |
<?php
/*---------------------------------------------------------------------------
小微OA系统 - 让工作更轻松快乐
Copyright (c) 2013 http://www.smeoa.com All rights reserved.
Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
Author: jinzhu.yin<smeoa@qq.com> ... |
@extends('layouts.master')
@section('content')
<!--Message Display Here -->
<script type="text/javascript" src="{{ asset('assets/js/jquery-3.3.1.min.js') }}"></script>
<script type="text/javascript">
$(function() {
$(".alert").fadeOut(5000);
});
</script>
<script type="text/javascript">
$(docum... |
<?php
/**
* 提现查询
* User: yangdong
* Date: 2018/4/4
* Time: 下午4:47
*/
namespace Pay\request;
use Pay\RequestCheckUtil;
class WithdrawQueryRequest
{
/**
* @sting required 商户ID
**/
private $merid;
/**
* @string required 商户单号
*/
private $reqid;
private $apiParas = [];
p... |
<?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 App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CategoryRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return True;
}
/**
* Get t... |
<?php
/**
* User: Danilo G. Zutin
* Date: 29.10.15
* Time: 20:14
*/
namespace DispatcherBundle\Services;
use DispatcherBundle\Entity\JobRecord;
use Doctrine\ORM\EntityManager;
class WebLabDeustoServices
{
public function __construct(EntityManager $em, GenericLabServerServices $labServerServices)
{
... |
<footer>
<p>Copyright Arif Faishal 2020.</p>
</footer> |
<?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... |
@extends('adminlte::page')
@section('title', 'SISGA')
@section('content_header')
@stop
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12"> <!-- Col1 -->
<div class="card min-cards">
<form action="{{ route('prenez_ft.crear',[$finca->id_finca, $series->id]) }... |
<div>
<ul class="uk-breadcrumb">
<li><a href="@route('/settings')">@lang('Settings')</a></li>
<li class="uk-active"><span>@lang('API Access')</span></li>
</ul>
</div>
<div class="uk-margin-top uk-form" riot-view>
<div class="uk-grid">
<div class="uk-width-2-3">
<div c... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Filename & Format
|--------------------------------------------------------------------------
|
| The default filename (without extension) and the format (php or json)
|
*/
'filena... |
@extends("theme.$theme.layout")
@section('titulo')
Roles
@endsection
@section("scripts")
<script src="{{asset("assets/pages/scripts/admin/index.js")}}" type="text/javascript"></script>
@endsection
@section('contenido')
<div class="row">
<div class="col-lg-12">
@include('includes.mensaje')
<div cla... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
namespace Laminas\ApiTools\ApiProblem\View;
use Laminas\ApiTools\ApiProblem\ApiProblem;
use Laminas\View\Strategy\JsonStrategy;
use Laminas\View\ViewEvent;
use function is_string;
/**
* Extension of the JSON strategy to handle the ApiProblemModel and provide
* a Content-Type header appropriate to the respon... |
<?php
echo hash('sha224', '') . "\n";
echo hash('sha224', 'a') . "\n";
echo hash('sha224', '012345678901234567890123456789012345678901234567890123456789') . "\n";
/* FIPS-180 Vectors */
echo hash('sha224', 'abc') . "\n";
echo hash('sha224', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
echo hash(... |
<?php
namespace Lampion\Session;
/**
* Interface, defininf what a session class should look like
* @author Matyáš Teplý
*/
interface SessionInterface {
/**
* @param string $name
* @param mixed $value
*/
public static function set(string $namem, $value);
/**
* @param string $name
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\PromesaPago;
use App\User;
use App\Funcion;
use Validator;
use Auth;
use DB;
use Carbon\Carbon;
use Session;
use Barryvdh\DomPDF\Facade as PDF;
use Illuminate\Support\Facades\Storage;
use App\Funciones;
use App\Model\Ingresos\Factura;
use App\... |
<?php
namespace Freshbitsweb\LaravelCartManager\Core;
use BadMethodCallException;
use Freshbitsweb\LaravelCartManager\Contracts\CartDriver;
use Freshbitsweb\LaravelCartManager\Events\CartCleared;
use Freshbitsweb\LaravelCartManager\Events\CartCreated;
use Freshbitsweb\LaravelCartManager\Traits\CartItemsManager;
use F... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.