text stringlengths 2 1.03M |
|---|
<?php
// Register Custom Taxonomy
function graphics_categories() {
$labels = array(
'name' => 'Plus Categories',
'singular_name' => 'graphics',
'menu_name' => 'Plus Categories',
'all_items' => 'All Plus Categories',
'parent_item' => 'Parent Plus Category',
'parent_i... |
@extends('layout')
@section('title')
Edit Project
@endsection
@section('content')
<div class="content">
<h1>EDIT PROJECT</h1>
</div>
<form method="POST" class="content" action="/projects/{{$project->id }}">
@method('PATCH')
@csrf
<div class="field">
<label class="label" for="title">Title</label>
... |
2
3
<p><em>Copyright © 2016</em></p>
</body>
</html> |
<?php
/*
* This file is part of Sulu.
*
* (c) Sulu GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\SecurityBundle\UserManager;
use Doctrine\ORM\NoResultException;
use Doctrine\Persistence\ObjectManager;
use Sulu\Bund... |
<?php
$jsplist = [];
/**
* jQuery Bootstrap Datepicker
*/
$jsplist["JSP_BOOTSTRAP_DATEPICKER"] = [
'js' => ['public/assets/plugins/datetimepicker/bootstrap-datetimepicker.min.js'],
'css' => ['public/assets/plugins/datetimepicker/bootstrap-datetimepicker.css']
];
/**
* jQuery Bootstrap Select2
*/
$jsplist["... |
<?php
namespace Spatie\WebTinker;
use Psy\Shell;
use Psy\Configuration;
use Psy\ExecutionLoopClosure;
use Illuminate\Support\Collection;
use Illuminate\Foundation\Application;
use Illuminate\Database\Eloquent\Model;
use Laravel\Tinker\ClassAliasAutoloader;
use Spatie\WebTinker\OutputModifiers\OutputModifier;
use Symf... |
@extends('layouts.admin_layout')
@section('title', 'Главная')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div clas... |
<?php
namespace Tests\Unit;
use App\Laravue\Models\Survey;
use App\Laravue\Models\Tag;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Support\Facades\Schema;
use Tests\TestCase;
class ClasssTest extends TestCase
{
use RefreshDatabase, WithFaker;
... |
<?php
/**
* @group Media
*/
class ExifBitmapTest extends MediaWikiMediaTestCase {
/**
* @var ExifBitmapHandler
*/
protected $handler;
protected function setUp() {
parent::setUp();
$this->checkPHPExtension( 'exif' );
$this->setMwGlobals( 'wgShowEXIF', true );
$this->handler = new ExifBitmapHandler;... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
for ($i = 0;$i < 1000;$i++) {
$this->call(bookSeeder::class);
}
}
} |
@extends('admin.master')
@section('content')
<hr/>
<h3 class="text-center text-success">{{Session::get('message')}}</h3>
<hr/>
<table class="table table-bordered table-hover">
<tr>
<th>Book List Id:</th>
<th>{{$viewBookListById->id}}</th>
</tr>
<tr>
<... |
<div class="slider">
<ul class="slides">
<li>
<img src="http://pietershof.be/wp-content/uploads/landhuis_sauna.jpg">
</li>
<li>
<img src="http://www.lisamora.lt/wp-content/uploads/2015/12/rusiska.jpg">
</li>
<li>
<img src="http://www.silent... |
<?php
namespace Foxliscom\Geo\Services;
use Foxliscom\Geo\Factories\FoxlisGeoAccountFactory;
use Foxliscom\Geo\Factories\FoxlisGeoFactory;
class FoxlisGeoService
{
private $foxlisGeoFactory;
private $foxlisGeoAccountFactory;
private $options;
private $apiDataGeo = [];
private $apiDataAccount = ... |
<?php
use App\Table;
use Illuminate\Database\Seeder;
class TableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(Table::class, 20)->create();
}
} |
<?php
namespace Christophrumpel\LaravelFactoriesReloaded\Tests;
use Christophrumpel\LaravelFactoriesReloaded\LaravelFactoryExtractor;
use Illuminate\Support\Facades\Config;
class LaravelFactoryExtractorTest extends TestCase
{
/** @test
* @dataProvider factoryNameProvider
*/
public function it_can_r... |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* The default email message class.
*
* @author Chris Corbyn
*/
class Swift_Mime_SimpleMessage extend... |
@extends('front.layout.base')
@section('content')
<section class="contact_section layout_padding">
<div class="container">
<div class="row">
<div class="col-md-6 ">
<div class="heading_container ">
<h2 class="">
Contact Us
</h2>
</div>
... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\CatTipoCuentas */
$this->title = 'Create Cat Tipo Cuentas';
$this->params['breadcrumbs'][] = ['label' => 'Cat Tipo Cuentas', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="cat-tipo-cuentas-create">... |
@php
$space_map_search_fields = setting_item_array('space_map_search_fields');
$usedAttrs = [];
foreach ($space_map_search_fields as $field){
if($field['field'] == 'attr' and !empty($field['attr']))
{
$usedAttrs[] = $field['attr'];
}
}
$selected = (array) request(... |
<?php
declare(strict_types=1);
/**
* Circles - Bring cloud-users closer together.
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Maxence Lange <maxence@artificial-owl.com>
* @copyright 2021
* @license GNU AGPL version 3 or any later v... |
<?php
namespace CodeDelivery\Repositories;
use Prettus\Repository\Eloquent\BaseRepository;
use Prettus\Repository\Criteria\RequestCriteria;
use CodeDelivery\Repositories\CategoryRepository;
use CodeDelivery\Models\Category;
use CodeDelivery\Validators\CategoryValidator;
/**
* Class CategoryRepositoryEloquent
* @pa... |
<?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\Models;
use Illuminate\Database\Eloquent\Model;
class Province extends Model
{
protected $fillable = ['name'];
public function districts(){
return $this->hasMany(District::class);
}
} |
<?php
declare(strict_types=1);
namespace Rector\Autodiscovery\Tests\Rector\FileSystem\MoveInterfacesToContractNamespaceDirectoryRector;
use Iterator;
use Rector\Autodiscovery\Rector\FileSystem\MoveInterfacesToContractNamespaceDirectoryRector;
use Rector\Core\Testing\PHPUnit\AbstractFileSystemRectorTestCase;
final c... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Article extends Model
{
//
//protected $fillable=['Title','excerpt','body'];
protected $guarded=[];
function path()
{
return route('articles.show',$this);
}
function author()
{
return $this->belongsTo(U... |
<?php
namespace Freshbitsweb\LaravelCartManager\Core;
use Freshbitsweb\LaravelCartManager\Exceptions\ItemNameMissing;
use Freshbitsweb\LaravelCartManager\Exceptions\ItemPriceMissing;
use Illuminate\Contracts\Support\Arrayable;
class CartItem implements Arrayable
{
public $id = null;
public $modelType;
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>TORREAPI TEST</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></scr... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Routing\Route;
use Illuminate\Support\Facades\DB;
class DataModel extends Model
{
use HasFactory;
public function getmenu(){
$Routname=Route::currentRouteName();
... |
<?php
/**
* Created by PhpStorm.
* User: wenwu
* Date: 2018/9/4
* Time: 21:43
*/
namespace Redis;
use Predis\Client;
class Redis{
private static $redis=null;
private static $server;
private function __construct($server=[]){
if(count($server)==0) {
$select = session('redisServerAndD... |
<?php
namespace App\Http\Controllers;
use App\Exceptions\UserNotFoundException;
use App\Services\UserService;
class UsersController2 extends Controller
{
public function show($username)
{
try {
$user = (new UserService())->findByUsername($username);
// So now that we have ... |
@extends('layouts.plantilla')
@section('content')
<div>
<br>
<form class="form-inline ml-3">
<div class="input-group input-group-sm">
<input class="form-control form-control-navbar" name="search" type="search" placeholder="Buscar clientes segun ciudad" aria-label="Search">
<... |
<?php
/**
* Ban management page.
*
* Allows administrators and moderators to create, modify, and delete bans.
*
* @copyright (C) 2008-2012 PunBB, partially based on code (C) 2008-2009 FluxBB.org
* @license http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
* @package PunBB
*/
if (!defined('FORUM_ROO... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Search\BannerSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="banner-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
... |
@extends ('layouts.users')
@section ('content')
@include('css.input_select_center_bg')
<div class="row justify-content-center mt-5 mb-2">
<img src="{{asset('img/cauchos.png')}}" alt="" style="width: 50px;">
<h2 class="ml-2">
Cauchos y Accesorios
</h2> ... |
@include('Admin.layouts.header')
@include('Admin.layouts.sidebar')
@yield('content')
@include('Admin.layouts.footer')
@stack('scripts') |
<!doctype html>
<html class="no-js" lang="zxx">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>SayG AMS</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='s... |
@extends('layout.app')
@section('content')
<form id="login-form" action="{{ route('login') }}" method="POST" role="form" style="display: block;">
{{ csrf_field() }}
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<input type="email" name="email" id="email" t... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class CategoryDetail extends Model
{
public function category(){
return $this->belongsTo('App\Category');
}
} |
<?php
namespace Modules\Activity\Models;
use App\BaseModel;
use Kalnoy\Nestedset\NodeTrait;
use Illuminate\Database\Eloquent\SoftDeletes;
class ActivityCategory extends BaseModel
{
use SoftDeletes;
use NodeTrait;
protected $table = 'bravo_activity_category';
protected $fillable = [
... |
@extends('home.home_user')
@section('content')
<div class="row">
<div class="col-md-12 stretch-card">
<div class="card">
<div class="card-body">
<div class="panel-heading">
<h3 class="panel-title">{!! trans('messages.user.title') !!}</h... |
<div class = "col-md-12 Preg">
<div class = "col-md-2 bar-text">
<h5>HTML</h5>
</div>
<div class = "bar col-md-8 bar-space">
<span class = "bar-unfill" style ="width:0">
<span class = "bar-fill">
</span>
</span>
</div>
<div class = "col-md-2 bar-text"... |
<?php
namespace Database\Seeders;
use App\Models\Reply;
use App\Models\Thread;
use Illuminate\Database\Seeder;
class ThreadSeeder extends Seeder
{
public function run()
{
Thread::factory()->count(50)->create(['author_id' => 1]);
Reply::factory()->create(['author_id' => 1, 'replyable_id' => 1... |
@extends('layouts.app')
@section('content')
<!-- ここにページ毎のコンテンツを書く -->
<h1>タスク一覧</h1>
@if (count($tasks) > 0)
<table class="table table-striped">
<thead>
<tr>
<th>id</th>
<th>名前</th>
<th>ステータス</th>
... |
<div class="container">
<form action="" method="POST" enctype="multipart/form-data">
<div class="label">
<h3>Input Dosen</h3>
</div>
<div class="form-box">
<div class="form-input">
<label for="nip">NIP</label>
<input type="text" name... |
<?php
namespace App\Exceptions;
class ConfigurationException extends Exception
{
} |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\BssOpenApi\V20171214\Models;
use AlibabaCloud\Tea\Model;
use AlibabaCloud\SDK\BssOpenApi\V20171214\Models\UpgradeResourcePackageResponse\data;
class UpgradeResourcePackageResponse extends Model {
protected $_name = [
... |
<?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
/*
* 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 Symfony\Component\Security\Core\Encoder;
use Symfony\Component\Security... |
<?php
namespace App\Enums;
use BenSampo\Enum\Enum;
final class UserRole extends Enum
{
const Member = 0;
const Administrator = 1;
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class File extends Model
{
protected $guarded = [];
protected $table = 'files';
} |
<?php
namespace PlentymarketsAdapter\RequestGenerator\Order\Customer;
use PlentyConnector\Connector\TransferObject\Order\Customer\Customer;
use PlentyConnector\Connector\TransferObject\Order\Order;
/**
* Interface CustomerRequestGeneratorInterface
*/
interface CustomerRequestGeneratorInterface
{
/**
* @pa... |
<?php
/**
* @package WPSEO\Main
*/
if ( ! function_exists( 'add_filter' ) ) {
header( 'Status: 403 Forbidden' );
header( 'HTTP/1.1 403 Forbidden' );
exit();
}
/**
* @internal Nobody should be able to overrule the real version number as this can cause serious issues
* with the options, so no if ( ! defined() )
... |
<!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">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ co... |
<?php
namespace App\Http\Controllers\Client;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Models\Product;
class ProductController extends Controller
{
public function view_detail($alias, $id)
{
$product = Product::find($id);
$cat... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
use Auth;
use App\Notification;
use App\UserNotification;
use App\Model\StudentCourse;
class DashboardController extends Controller
{
protected function index()
{
$x = User::all();
$one_row = count($x);
i... |
<?php
namespace App\Services;
use App\Repositories\RepositoryInterface;
use Jenssegers\Mongodb\Eloquent\Model;
abstract class BaseService
{
protected RepositoryInterface $repository;
public function __construct(RepositoryInterface $repository)
{
$this->repository = $repository;
}
public... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CustomerParcels extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('customer_parcels',... |
<?php
namespace App\Web\GraphQL\Mutation;
use GraphQL\Type\Definition\ResolveInfo;
use GraphQL\Type\Definition\Type;
use SilverStripe\GraphQL\MutationCreator;
use SilverStripe\GraphQL\OperationResolver;
use SilverStripe\Security\Member;
use App\Web\Member\Operator;
class CreateOperatorMutationCreator extends Mutatio... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Brainindustrial\V20200920\Models\GetSummaryReportChartResponse\summaryLineChartDataRsp\summaryLineChartData;
use AlibabaCloud\Tea\Model;
class multipleScoreList extends Model
{
/**
* @var string
*/
public $name... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use Session;
use DB;
use Illuminate\Support\Facades\Redirect;
use RealRashid\SweetAlert\Facades\Alert;
session_start();
class ApplicantController extends Controller
{
public function index()
{
return view('ap... |
<?php
/*
* This file is part of php-cache organization.
*
* (c) 2015 Aaron Scherer <aequasi@gmail.com>, Tobias Nyholm <tobias.nyholm@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Cache\Bridge\SimpleCache\Tests;
use Cache... |
<?php
namespace App\Middleware;
/**
* Middleware
* @author Yifan Wu
* @package Middleware
*/
class Middleware
{
protected $container;
public function __construct($container)
{
$this->container = $container;
}
} |
<?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 Symfony\Component\HttpFoundation\Session\Storage;
use Symfony\Component... |
@extends('admin.templates.default')
@section('content')
<div class="box">
<div class="box-header">
<h3 class="box-title">Edit Data Penulis</h3>
</div>
<div class="box-body">
<form action="{{ route ('admin.author.update', $author) }}" method="POST">
@c... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
namespace EsTeh\Exception\Database;
use Exception;
/**
* @author Ammar Faizi <ammarfaizi2@gmail.com> https://www.facebook.com/ammarfaizi2
* @package \EsTeh\Exception\Database
* @license MIT
*/
class UnknownDriverException extends Exception
{
} |
<?php
// This file was auto-generated from sdk-root/src/data/rekognition/2016-06-27/api-2.json |
<?php
/**
* File containing the ezcWorkflowException class.
*
* @package Workflow
* @version 1.4.1
* @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* General exception for the Workflow component.
*
* @package Workflow
* ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateGstsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('gsts', function (B... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProjectsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('projects', fun... |
<?php
namespace App\Http\Controllers;
use App\Buyer;
use App\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class BuyerController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function __construct()
... |
<?php declare(strict_types=1);
namespace Application\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20210624200457 extends AbstractMigration
{
public function up(Schema $schema) : void
... |
<?php
namespace App\Relations\Controller;
use Base\Controller\BasicController;
use Service\Relations\Model\RelationModel;
use Service\Relations\RelationsService;
use Service\User\Model\UserModel;
use Service\User\Model\UserNicknameModel;
use Service\User\UserService;
class Users extends BasicController
{
prote... |
<div class="ibox">
<div class="ibox-content">
<h4 class="border-bottom pb-1">{{ $userFirmante->pivot->texto }}</h4>
@if($userFirmante->hasFirma())
<div class="text-center">
<img class="img-fluid" src="{{ $userFirmante->firma_url }}" alt="Firma" style="max-height: 100px">
</div>
@endif
... |
<?php
namespace Adminyjob\Controller;
use Think\Controller;
class ContentController extends PublicController{
public function add_content(){
$title = "内容添加";
$this->assign('title',$title);
$this->display();
}
public function content_management(){
$title = '内容管理';
$thi... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Banking extends CI_Controller {
function __construct() {
parent::__construct();
$this->load->helper('array');
$this->load->model('user_model');
$this->load->model('user_cars_booking_model');
$this->load->model('user_cars_model');... |
<?php
/**
* Created by Josh L. Rogers
* Copyright (c) 2017 All Rights Reserved.
* 12/17/2017
*
* checkbook_submit.php
*
**/
require_once $_SERVER['WEB_ROOT'] . '/setup/init.php';
$submit_type = !empty($_GET['submission']) ? (string)filter_var($_GET['submission'], FILTER_SANITIZE_STRING) : 'new';
$record['c... |
<?php
/* @Security/Collector/security.html.twig */
class __TwigTemplate_fee0100ab3806950da56c384381f023c0a45f320951f98be4dcc85e681a52aad extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
try {
$this->parent = $... |
<?php
namespace app\controllers;
use app\models\ConsoleCommandForm;
use app\modules\hlib\lib\Flash;
use Yii;
use yii\base\InvalidConfigException;
use Exception;
use yii\filters\AccessControl;
use yii\web\Controller;
/**
* Class AdminController
* @package app\controllers
*/
class AdminController extends Controller... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\Request;
use App\Models\offer;
use App\Models\images;
use DB;
class MyListController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
... |
--TEST--
Decimal128: [decq624] fold-down full sequence
--DESCRIPTION--
Generated by scripts/convert-bson-corpus-tests.php
DO NOT EDIT THIS FILE
--FILE--
<?php
require_once __DIR__ . '/../utils/tools.php';
$canonicalBson = hex2bin('18000000136400000040B2BAC9E0191E0200000000FE5F00');
$canonicalExtJson = '{"d" : {"$num... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\System\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for CreateSequenceRangeFromPoolRequest StructType
* @subpackage Structs
*/
class CreateSequenceRangeFromPoolRequest extends AbstractStruc... |
<?php
include('../../../Connection/config.php');
$brg = $_GET['brgdetil'];
// query SQL untuk delete data
$query="DELETE from detil_po where id_barang='$brg'";
mysql_query($query);
// mengalihkan ke halaman datatables
header('location:'.$_SERVER['HTTP_REFERER']);
?> |
<?php
namespace Kendo\Dataviz\UI;
class ArcGaugeColor extends \Kendo\SerializableObject {
//>> Properties
/**
* The color of the pointer in the specified range.
* @param string $value
* @return \Kendo\Dataviz\UI\ArcGaugeColor
*/
public function color($value) {
return $this->setPropert... |
<?php
namespace App\Http\Controllers\Process;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use RealRashid\SweetAlert\Facades\Alert;
use App\Http\Controllers\Part\StockController;
use App\Http\Controllers\Log\LogPartStockController;
use App\Http\Controllers\Setting\NumberingFormController;
use App... |
@if (session('toast_success'))
<script>
swal("{{ session('toast_success') }}");
</script>
@endif
<!--
The following code snippet is aimed at automaticlly displaying error
messages if any once a user enters a value less than 3 characters
or any other error in the entire project
-->
@if (count($errors) > ... |
<?php
namespace App\Http\Controllers;
use App\Categories;
use App\Goods;
use Illuminate\Http\Request;
class CategoriesController extends Controller
{
public function categoryAction($name){
$category = Categories::find(['latin-url' =>$name]);
if ($category){
&goods = Goods::find(['cate... |
<?php
return [
/*
|--------------------------------------------------------------------------
| API Keys
|--------------------------------------------------------------------------
|
| Set the public and private API keys as provided by reCAPTCHA.
|
| In version 2 of reCAPTCHA, public_k... |
<div class="x_content">
<br>
<form action="{{ route(AppHelper::getBaseRoute('security.update')) }}" method="post"
class="form-horizontal form-label-left input_mask">
@csrf @method('put')
@if(session('security_success'))
<div class="alert alert-success">{{ session('security... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
//custom import
use Illuminate\Support\Facades\DB;
use App\Model\menu_list as menuList;
class cart_submenu extends Model
{
public function makeCartSubMenu($data)
{
$value = $this
->where('menu_id', $data['menu_id'])
... |
<!DOCTYPE html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8" />
<title>LuxSpace</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="" />
<meta property="og:type" content="" />
... |
<?php
use App\User;
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| rese... |
<?php
$id = "";
$id_maskapai = "";
$from = "";
$to = "";
$depart_at = "";
$arrive_at = "";
$price = "";
if($op=="edit"){
foreach ($sql->result() as $obj){
$op = "edit";
$id = $obj->id;
$id_maskapai = $obj->id_maskapai;
$from = $obj->rute_from;
$to = $obj-... |
<?php
namespace App\Http\Controllers\Api;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Category;
use Auth;
class CategoryController extends Controller
{
public function index(Request $request){
$posts = Category::orderBy('id','DESC');
if(empty($request->search))
{... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Documento extends Model
{
protected $table = 'tbDocumento';
protected $primaryKey = 'codDocumento';
protected $fillable = ['nomeDocumento', 'imagemDocumento', 'codOrgaoEmissor'];
public static $rules = [
'nomeDocumento... |
<?php declare(strict_types=1);
namespace Shopware\Docs\Convert;
use Cocur\Slugify\Slugify;
class DocumentMetadata
{
private const INITIAL_VERSION = '6.0.0';
private const META_TITLE_PREFIX = 'Shopware 6: ';
/**
* @var Document
*/
private $document;
public function __construct(Documen... |
<div class="top-bar clearfix">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-12">
<p>
<span><i class="fa fa-building-o"></i> <strong>Contact: </strong> Green Road, Dhaka, 1205</span>
<span> <i class="fa fa-... |
<?php
namespace App;
use Laravel\Passport\HasApiTokens;
use Spatie\Permission\Traits\HasRoles;
use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use HasApiTokens, Notifiable, HasRole... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.