text stringlengths 2 1.03M |
|---|
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTabAdminTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tbl_admin', fu... |
<?php
namespace Xhgui\Profiler;
class ProfilingData
{
/** @var array */
private $excludeEnv;
/** @var callable|null */
private $simpleUrl;
/** @var callable|null */
private $replaceUrl;
public function __construct(array $config = array())
{
$this->excludeEnv = isset($config['p... |
<?php declare(strict_types=1);
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### #####... |
<?php
namespace App\Observers;
use App\Product;
use App\Restocking;
class ProductObserver
{
public static function dispatchAttachment(Product $product, $relationName, $pivotIds, $pivotIdsAttributes)
{
if ($relationName === 'orders') {
static::attachingToOrder($product, $pivotIdsAttributes... |
<footer class="footer text-faded text-center py-5">
<div class="container">
<p class="m-0 small text-warning"><b>Copyright © Sipakar Diagnosa Tumor Otak 2018</b></p>
</div>
</footer>
<div style="position:fixed;left:20px;bottom:20px;">
<a href="https://api.whatsapp.com/send?phone=6289668997397&text=Halo%2... |
<?php
use yii\helpers\ArrayHelper;
$params = ArrayHelper::merge(
require(__DIR__ . '/params.php'),
require(__DIR__ . '/params-local.php')
);
return [
'basePath' => dirname(__DIR__),
'bootstrap' => [
'log',
'app\modules\main\Bootstrap',
'app\modules\contact\Bootstrap',
'... |
<?php
/* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Domain\Payload;
/**
* Holds the status codes for the payload
*/
cl... |
<?php
use Faker\Generator as Faker;
$factory->define(App\BankDetails::class, function (Faker $faker) {
return [
//
];
}); |
<?php
/**
* This file is part of the ZBateson\MailMimeParser project.
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*/
namespace ZBateson\MailMimeParser\Header\Part;
use ZBateson\MailMimeParser\Header\Part\HeaderPart;
/**
* A literal header string part. The value of the part is stripped of CR ... |
<?php
use Larabook\Statuses\StatusRepository;
use Laracasts\TestDummy\Factory as TestDummy;
class StatusRepositoryTest extends \Codeception\TestCase\Test
{
/**
* @var \IntegrationTester
*/
protected $tester;
protected $repo;
protected function _before()
{
$this->repo = new Statu... |
<?php
// Reenviar las solicitudes de Vercel a index.php normalmente
require __DIR__ . '/../public/index.php'; |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Cache;
class Link extends Model
{
//允许修改字段
protected $fillable = ['title', 'link'];
public $cache_key = 'larabbs_links';
protected $cache_expire_in_seconds = 1440 * 60;
public function getAllCached... |
<div class="portlet">
<div class="portlet-title">
<div class="caption">{{ lang('leave_setup_policy.title') }}</div>
<div class="tools"><a class="collapse" href="javascript:;"></a></div>
</div>
<div class="portlet-body form">
<div class="form-group">
<label class="control-label col-md-3">{{ lang('leave_se... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\ForumController;
use App\Http\Controllers\ReplyController;
use App\Http\Controllers\CommentsController;
Route::get('/', function () {
return view('welcome');
});
Route::resource('forum', ForumController::class);
Route::post('reply/store/{id}', ... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Http\Requests\MassDestroyEducationRequest;
use App\Http\Requests\StoreEducationRequest;
use App\Http\Requests\UpdateEducationRequest;
use App\Models\Education;
use Gate;
use Illuminate\Http\Request;
use Symfony\Component\HttpFoun... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<?php namespace App\Http\Requests;
use App\Http\Requests\Request;
class BookCategoriesRequest extends Request {
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
... |
<?php
/**ROUTER OPTIONS!**/
/**
* holds the name of the Default controller
* first letter will be auto capitalized if needed
*/
$routers["DefaultControllerNamespace"] = "Controllers";
/**
* holds the name of the Default controller
* first letter will be auto capitalized if needed
*/
$routers["DefaultController"]... |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "me_back_to_office_annexes".
*
* @property int $id
* @property int $btor_id
* @property string|null $file
* @property string|null $type
*
* @property MeBackToOfficeReport $btor
*/
class BackToOfficeAnnexes extends \yii\db\Activ... |
<!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>website sd</title>
<!-- Fonts -->
<link href="https... |
@extends('users.layout')
@section('content')
<div class="row">
<div class="col-lg">
@card(['type' => 'default', 'header' => __('User Destroy')])
{!! form($form) !!}
@endcard
</div>
</div>
@endsection |
<div class="card">
<div class="card-header">
<?php if ($this->session->flashdata('Supplement_mgs') !== NULL) {
echo $this->session->flashdata('Supplement_mgs');
} ?>
<?= $this->session->flashdata('DiscountcodeMsg') ?>
<?= $this->session->flashdata('payAvailMsg') ?>
<... |
<?php return array (
'domain' => NULL,
'plural-forms' => NULL,
'messages' =>
array (
'' =>
array (
'' =>
array (
0 => 'Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
Language:
Language-Team:
Last-Translator:
MIME-Version: 1.0
Project-Id-Version:
Report... |
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.86623 9.0986L13.0642 10.1556C13.4582 10.2346 13.7652 10.5416 13.8452 10.9356L14.9012 16.1336L18.4192 5.5806L7.86623 9.0986ZM14.6672 20.9996C14.6462 20.9996 14.6262 20.9... |
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
*
*/
protected $addHttpCookie = true;
/**
* Th... |
<?php
namespace Concrete\Core\Install\Preconditions;
use Concrete\Core\Install\PreconditionInterface;
use Concrete\Core\Install\PreconditionResult;
class PdoMysqlExtension implements PreconditionInterface
{
/**
* {@inheritdoc}
*
* @see PreconditionInterface::getName()
*/
public function g... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CategoryStoreRequest extends FormRequest
{
public function authorize()
{
return true;
}
public function rules()
{
return [
'name' => 'required|string|min:2|max:255',
'slug... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\ModuloTipo;
use Faker\Generator as Faker;
$factory->define(ModuloTipo::class, function (Faker $faker) {
return [
//
];
}); |
<?php
namespace RectorPrefix20210607;
if (\class_exists('Tx_Extbase_Persistence_Exception_UnknownObject')) {
return;
}
class Tx_Extbase_Persistence_Exception_UnknownObject
{
}
\class_alias('Tx_Extbase_Persistence_Exception_UnknownObject', 'Tx_Extbase_Persistence_Exception_UnknownObject', \false); |
<x-emoji-icon-emoji :name="'flagsForFlagNorthernMarianaIslands'" {{ $attributes }} /> |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
class NotifyToSubsscribedUser extends Notification implements ShouldQueue
{
use Queueable;
public $post;
... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator ... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class EmployeeRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get t... |
<?php
namespace Addon\Authorizenet\Libraries;
use App\Libraries\Interfaces\Gateway\MerchantCc;
class AuthorizenetCc implements MerchantCc
{
public $cim;
public $aim;
public function initApi()
{
require_once 'api/AuthorizeNet.php';
$login_id = \App::get('configs')->get('settings.autho... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Person extends Model
{
protected $fillable = [
'name',
'first_surname',
'second_surname',
'email',
'birthday',
];
protected $appends = [
'fullname',
'surname'
];
public fun... |
--TEST--
Whitespace 02
--FILE--
<?php
require 'lib.php';
echo <x> {'a'}<x /></x>;
--EXPECT--
<x>a<x></x></x> |
<?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 ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$mensaje = isset($mensaje) ? $mensaje : "";
foreach ($arr as $key) {
$numero = $key['id_queja'];
$fechacreacion = $key['fecha_registro'];
$genero = $key['genero'];
$persona = $key['persona'];
$munipersona = $key['municipiocon'];
$deptope... |
<?php
class PaymentsController extends \BaseController {
/**
* Display a listing of payments
*
* @return Response
*/
public function index()
{
$payments = Payment::all();
return View::make('payments.index', compact('payments'));
}
/**
* Show the form for creating a new payment
*
* @return Res... |
<?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\Queue;
use Illuminate\Contracts\Queue\Factory;
class QueueFactory implements F... |
@extends('layouts.app')
@section('content')
<div class="container">
<h1>Phase {{ $material->id }}</h1>
<div class="table-responsive">
<table class="table table-bordered table-striped table-hover">
<tbody>
<tr>
<th>ID.</th><td>{{ $material->id }}</td>
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class BlogTag extends Model
{
use HasFactory;
protected $table = 'blog_tag';
public $fillable = ['blog_id', 'tag_id'];
} |
<?php
namespace App\Controllers;
use \App\Libraries\Oauth;
use \OAuth2\Request;
use CodeIgniter\API\ResponseTrait;
use App\Models\UserModel;
class User extends BaseController
{
use ResponseTrait;
public function login(){
$oauth = new Oauth();
$request = new Request();
$respond = $oa... |
<?php
namespace Shemi\Laradmin\FormPanels\Traits;
use Shemi\Laradmin\Models\Panel;
trait HasJsonStructure
{
public function structure()
{
return [
'id' => null,
'title' => "New {$this->getName()} Panel",
'type' => $this->getCodename(),
'position' => 'm... |
<!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>E-comm project</title>
<!-- font-awesome js -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/aja... |
<?php
/*
* This file is part of the DatabaseUtilsServiceProvider.
*
* (c) Gridonic <hello@gridonic.ch>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Gridonic\Tests;
use Gridonic\Provider\DatabaseUtilsServiceProvider;
... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Session;
class LoginController extends Controller
{
/*
|----------------------------------------------------... |
<?php
/**
* +----------------------------------------------------------------------
* 创建日期:2018年5月25日15:34:24
* 最新修改时间:2018年5月25日15:34:24
* +----------------------------------------------------------------------
* https://github.com/ALNY-AC
* +----------------------------------------------------------------------
* 微信:... |
@extends('layouts.scaffold')
@section('main')
<h1>Create Estimate</h1>
{{ Form::open(array('route' => 'estimates.store')) }}
<ul>
<li>
{{ Form::label('title', 'Title:') }}
{{ Form::text('title') }}
</li>
<li>
{{ Form::label('file', 'File:') }}
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCmfFixedassettiaokusTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cm... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMenusTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('menus', function ... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP
// +----------------------------------------------------------------------
// | Copyright (c) 2008 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licen... |
@extends('english.layouts.app')
@section('title', 'News Portal - Unicode')
@section('content')
<div class="container">
<div class="white gapping">
<!--news 1 start-->
<h1 class="mainNewsHeading">
<a href="detailsenglish.php">Study only, not implementation: The repo... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSettingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('settings', fun... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Repositories\MenuRepository;
use App\Repositories\UserRepository;
use App\Repositories\SocialRepository;
use App\Repositories\Repository;
use Illuminate\Validation\Rule;
use Validator;
use Auth;
use Hash;
use Lang;
use File;
use App\Repositori... |
<div class="row" style="width: 70%;">
<div class="col-md-12 grid-margin stretch-card"style="width: 70%; padding-top: 55px; height: 70%;">
<?php if($message!=''){?>
<div class="alert alert-warning">
<?php echo $message; ?>
</div>
<?php }?>
<div class="card" style="... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use App\User;
use App\Taller;
class Reserva extends Model
{
public function user()
{
return $this->belongsTo(User::class);
}
public function taller()
{
return $this->belongsTo(Taller::class);
}
} |
@extends('admin.admin_master')
@section('title')
{{ trans('admin/sidebar.dashboard') }} | {{ trans('admin/header.change-password') }}
@endsection
@section('admin')
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<div class="container-full">
<section class="... |
@extends('back.template.main')
@section('backContent')
@endsection |
<?php
/**
* @abstract This Component Class is created to access TCPDF plugin for generating reports.
* @example You can refer http://www.tcpdf.org/examples/example_011.phps for more details for this example.
* @todo you can extend tcpdf class method according to your need here. You can refer http://www.tcpdf.org/exa... |
<?php
namespace Google\AdsApi\AdManager\v201908;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
abstract class LabelAction
{
public function __construct()
{
}
} |
<?php
/**
* delivery option list
* @author auto create
*/
namespace Skvarovski\TopSdk\domain;
class AELogisticsShippingMethodDTO
{
/**
* estimated shipping cost based on dimension and weight of a parcel
**/
public $delivery_cost;
/**
* delivery time on working days
**/
public $delivery_estimate_d... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class District extends Model
{
public function region(){
return $this->belongsTo(Region::class);
}
} |
<?php
/**
* This file is part of the Zemit Framework.
*
* (c) Zemit Team <contact@zemit.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Zemit\Modules\Api\Controllers;
use Zemit\Modules\Api\Controller;
/**
* C... |
@extends('layouts.adminLayout.admin_design')
@section('content')
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.html" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a><a href="#" title="Go to Home" class="tip-bottom"> Products</a><a href="#" class="current">Ad... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CustomerWallet extends Model
{
//
} |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By defau... |
<?php
namespace Napp\NovaBugsnag;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
use Laravel\Nova\Events\ServingNova;
use Laravel\Nova\Nova;
class CardServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
pub... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Procurement;
use App\Notifications\ProcurementNotification;
use App\Post;
use Notification;
use App\Notifications\ProcurementNotify;
use App\User;
class ProcurementsController extends Controller
{
/**
* Display a listing of the reso... |
<?php
namespace XF;
use XF\Mvc\Entity\Entity;
use XF\Util\File;
use XF\Util\Json;
class DevelopmentOutput
{
protected $enabled;
protected $basePath;
protected $metadataFilename = '_metadata.json';
protected $skipAddOns = [];
protected $metadataCache = [];
protected $typeLoaded = [];
protected $batchMode = f... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateEventsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('events', functio... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Raport</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtk... |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {mailto} function plugin
*
* Type: function<br>
* Name: mailto<br>
* Date: May 21, 2002
* Purpose: automate mailto address link creation, and optionally
* encode them.<br>
*
* Examples:
... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrintUsageSummaryByUser File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reser... |
<h1>Comments</h1>
<p>Blog comments are created from people commenting on your posts. After a person has commented, the author is sent an email notification.
He can then login to FUEL and publish the comment (assuming the <dfn>monitor_comments</dfn> setting is set) and reply to the comment.
Comments are powered by a <df... |
<?php
/**
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the... |
<?php
wp_enqueue_script('custom_tour_inbox');
wp_enqueue_script('st-qtip');
$booking_data = $message_data['booking_data'];
$check_in = STInput::request('check_in', '');
$check_out = STInput::request('check_out', '');
$adult_number = STInput::request('adult_number');
$child_number = STInput::request('child_number');
$in... |
<?php
// $Id: x64.php,v 1.1.8.1 2008/06/12 20:34:31 smk Exp $
return array(
'en' => array('Chan ', 'Ge ', 'Lou ', 'Zong ', 'Geng ', 'Jiao ', 'Gou ', 'Qin ', 'Yong ', 'Que ', 'Chou ', 'Chi ', 'Zhan ', 'Sun ', 'Sun ', 'Bo ',
'Chu ', 'Rong ', 'Beng ', 'Cuo ', 'Sao ', 'Ke ', 'Yao ', 'Dao ', 'Zhi ', 'Nu ', 'Xie ', 'J... |
<?php
/**
* Created by PhpStorm.
* User: max
* Date: 9/21/17
* Time: 10:37 AM
*/
use yii\web\View;
?>
<!-- BEGIN Page Footer -->
<footer class="page-footer" role="contentinfo">
<div class="d-flex align-items-center flex-1 text-muted">
<span class="hidden-md-down fw-700"><?php echo date('Y'); ?> © <?p... |
<?php
class Test extends MY_Controller
{
public $viewFolder = "";
public function __construct()
{
parent::__construct();
$this->viewFolder = "tests_v";
$this->load->model("test_model");
if (!get_active_user()) {
redirect(base_url("login"));
}
}
pub... |
<?php
namespace TransPerfect\GlobalLink\Console\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TransPerfect\GlobalLink\Cron\CancelTranslations;
class CancelTranslationsCommand extends Command
{
... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
require __DIR__ . '/../../../Magento/Catalog/_files/product_virtual.php';
/** @var \Magento\Quote\Model\Quote $quote */
$quote = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create('Magento\Quote\Mo... |
@extends('admin.Admin.index')
@section('content')
<div class="container">
<div>
<h3>Chỉnh Sửa Sản Phẩm</h3>
</div>
<div class="col-md-6">
<form action="{{action('admin\Product2@update',[$data->id])}}" method="POST" enctype="multipart/form-data" onsubmit="button.di... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class SiswaController extends Controller
{
public function index()
{
$data['result'] = \App\Siswa::all();
return view('siswa/index')->with($data);
}
public function create()
{
return view('siswa/form');
}
public function store(Req... |
<?php
/**
* @package JCE
* @copyright Copyright (c) 2009-2014 Ryan Demmer. All rights reserved.
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* JCE is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed ... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Enquête de Satisa... |
<?php
namespace app\index\controller;
use app\common\controller\Common;
class Tool extends Common{
public function tool(){
$tool_name=input('get.tool_name');
$this->assign('tool_name','');
$tool=db('article')->where('arc_type','3')->field('arc_id,arc_title,create_time');
$pageP... |
@extends('layouts.master')
@section('content')
<div class="row small-spacing">
@if(Session::has('success'))
<div class="alert alert-success">
{{Session::get('success')}}
</div>
@endif
<div class="col-xs-12">
<div class="box-content">
<h4 class="box-title">Data Post</h4>
<table ... |
<?php
/**
* @file
* Hooks provided by Pathologic.
*
* @ingroup pathologic
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Allow modules to alter a URL Pathologic is about to create.
*
* This hook is invoked after Pathologic has torn apart a URL it thinks it can
* alter properly and is just about to call the url... |
@extends('layouts.main')
@section('content')
@include('pages.incl_fonction')
<script src="{{ asset('/assets/vendor/jquery/jquery.min.js') }}"></script>
<div class="container-fluid" id="container-wrapper">
@if(session()->has('ok'))
<div class="alert alert-success alert-dismissible" role="alert" style="hei... |
@extends('home.template')
@section('template_body')
<div class="container">
<br>
<center>
<table class="table table-striped table-hover ">
<tr>
<th> <h3> Name </h3> </th>
<th> <h3> title at </h3> </th>
<th> <h3> body</h3> </th>
<... |
<?php
namespace App\Http\Livewire;
use App\Facades\Cart;
use Livewire\Component;
class CartIndex extends Component
{
public $cart;
public function mount()
{
$this->cart = Cart::get();
}
public function render()
{
return view('livewire.cart-index');
}
public functio... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateClientesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('clientes', function (Blueprint $table) {
... |
<?php
namespace RectorPrefix20210607;
if (\class_exists('Tx_Extbase_Persistence_QOM_Selector')) {
return;
}
class Tx_Extbase_Persistence_QOM_Selector
{
}
\class_alias('Tx_Extbase_Persistence_QOM_Selector', 'Tx_Extbase_Persistence_QOM_Selector', \false); |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Create By : Aryo
* Youtube : Aryo Coding
*/
class Mod_barang extends CI_Model
{
var $table = 'barang';
var $column_search = array('kdbarang','nama','harga','satuan');
var $column_order = array('kdbarang','nama','harga','satuan');
var ... |
<script type="text/javascript">
$('#section_id').on('change',function(){
var section=$(this).val();
if (section!='') {
$.get("{{concatenateLangToUrl('admin/getshoprental')}}"+'/'+section,function(res){
var json=JSON.parse(res);
var... |
<?php
namespace Boomveltest\Multiauth\Model;
use Boomveltest\Multiauth\Notifications\AdminResetPasswordNotification;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class Admin extends Authenticatable
{
use Notifiable;
public function roles()
{
re... |
<?php
namespace frontend\assets;
use Yii;
use yii\base\Exception;
use yii\web\AssetBundle;
/**
* AdminLte AssetBundle
* @since 0.1
*/
class AdminLteAsset extends AssetBundle
{
public $sourcePath = '@vendor/almasaeed2010/adminlte/dist';
public $css = [
'css/AdminLTE.min.css',
];
public $js... |
<?php
namespace SuperModels\Repositories\Contracts;
use SuperModels\Repositories\CustomQuerys\CustomQuerys as Custom;
interface CustomQuerysInterface
{
public function skipCustom($status = true);
public function getCustom();
public function getByCustom(Custom $custom);
public function pushCustom(Cust... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.