text stringlengths 2 1.03M |
|---|
<!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.0">
<title>Document</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="stylesheet" href="... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
// add customer
class add_customer extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->library('session');
$this->load->database();
}
// Show view Page
public function inde... |
<?php
namespace Crater\Traits;
use Carbon\Carbon;
use Crater\Models\CustomField;
use Crater\Models\CustomFieldValue;
trait HasCustomFieldsTrait
{
public function fields()
{
return $this->morphMany('Crater\Models\CustomFieldValue', 'custom_field_valuable');
}
public function addCustomFields(... |
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20201106103404 extends AbstractMigration
{
public function getDescription() : string
{... |
@extends('layouts.app')
@section('content')
<div class="jumbotron text-center">
<h1></h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has
been the industry's standard dummy text ever since the 1500s, when an unknown printer took a
gall... |
<?php
/**
* Linna Framework.
*
* @author Sebastian Rapetti <sebastian.rapetti@alice.it>
* @copyright (c) 2018, Sebastian Rapetti
* @license http://opensource.org/licenses/MIT MIT License
*/
declare(strict_types=1);
namespace Linna\Tests;
use Linna\TestHelper\Mvc\MultipleModel;
use PHPUnit\Framework\TestCase;
... |
<?php
namespace metastore;
/**
* Autogenerated by Thrift Compiler (0.14.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
use Thrift\Base\TBase;
use Thrift\Type\TType;
use Thrift\Type\TMessageType;
use Thrift\Exception\TException;
use Thrift\Exception\TProtocolException;
use... |
<?php
header('HTTP/1.1 404 Not Found'); |
@extends('layout.main')
@section('title', 'Dashboard')
@section('content')
<section class="v-row-center">
<div class="section-body">
<h3>Hi there! Im <span class="cl-theme">Restu Alam</span></h3>
<h1 style="margin-bottom: 1rem;">Welcome to <span class="cl-theme">Web Service</span></h1>
<p>... |
<?php
require_once "ppk_swap.inc.php";
unsetLogonUser();
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="2;url=./">
<title>用户退出</title>
</head>
<body>
<p>你已退出. You had logged out.</p>
<p><a href="./">返回主页</a></p> |
<?php
namespace Src\User\Model\Repository\Eloquent;
use Src\User\Model\Business\Contract\ILogin;
final class LoginRepository implements ILogin
{
private $model;
public function __construct($model)
{
$this->model = $model;
}
public function login($email)
{
return $this->model... |
@extends('layouts.auth_app')
@section('content')
<div class="row wrapper border-bottom white-bg page-heading">
<div class="col-lg-6">
<h2>Mandi Samiti</h2>
<ol class="breadcrumb">
<li>
<a href="{{ route('dashboard') }}">Home</a>
<... |
<!DOCTYPE html>
<html>
<head>
<title>Owner</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/style.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?... |
<?php
namespace App\Http\Controllers\Owner;
use App\Http\Controllers\Controller;
use App\CounterManager;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
class CounterController extends Controller
{
public function __construct() {
$this->middleware(fu... |
<?php
namespace frontend\tests\unit\controllers\cda;
use Yii;
use frontend\controllers\cda\CdaCartografiaControllerFachada;
/**
* CdaCartografiaControllerFachadaTest implementa la verificaicon de los valores, consulta información para aplicar reglas de negocio, y transacciones conforme las acciones para el modelo Cd... |
<?php
declare(strict_types=1);
mb_internal_encoding("UTF-8");
use Eliepse\Argile\Core\Application;
require __DIR__ . "/../bootstrap/bootstrap.php";
$app = Application::getInstance();
// Setup routes
include_once __DIR__ . '/../routes/web.php';
$app->run(); |
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Mascota
*
* @ORM\Table(name="mascota", indexes={@ORM\Index(name="fk_Mascota_Usuario_idx", columns={"Usuario_id"})})
* @ORM\Entity
*/
class Mascota
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=... |
@section('title')
Pengumuman Lainnya
@endsection
@extends('layouts.headfoo')
@section('content')
<!-- MAIN START -->
<!-- FIRST ROW -->
<!-- FIRST ROW END -->
<content>
<div class="container-fluid">
<div class="col-sm-1"></div>
<div class="col-sm-10">
<... |
<?php
namespace Phprest\Util;
use Doctrine\Common\Annotations\AnnotationReader;
use League\Container\ContainerInterface;
use League\Route\RouteCollection;
use Phprest\Annotation\Route;
use Phprest\Application;
abstract class Controller
{
/**
* @var ContainerInterface
*/
protected $container;
/... |
<?php
/**
* @package Gantry 5 Theme
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU/GPLv2 and later
*
* http://www.gnu.org/licenses/gpl-2.0.html
*/... |
<div class="block">
<div class="block-header block-header-default">
<h3 class="block-title">Mobile App</h3>
<div class="block-options">
@include('pages.leads.leadSearch')
</div>
</div>
<div class="block-content">
{{-- <p>The second way is to use <a href="be_ui_gri... |
<?php
namespace App\Http\Requests\Team;
use App\Exceptions\EvilInputException;
use App\Match;
use App\Team;
use App\User;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Validation\Validator;
class Update extends FormRequest
{
public function authorize()
{
return true;
}
public fu... |
<?php
/**
*
* Halcyon Image Board
* Copyright (C) 2010 Steven Utiger
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or any later version.
*
* ... |
@extends('admin.partials.assets')
<!DOCTYPE html>
<html class="loading" lang="en" data-textdirection="ltr">
<head>
@yield('assets')
</head> <?php
$pool = 123456790;
$imp_id= substr(str_shuffle(str_repeat($pool, 4)), 0, 4);
?>
<div class="row justify-content-md-center">
<div class="col-md-6">
<d... |
<?php
/**
* Generated by phpSPO model generator 2020-05-26T22:12:31+00:00
*/
namespace Office365\Graph;
use Office365\Runtime\ClientValueObject;
class RecentNotebookLinks extends ClientValueObject
{
/**
* @var ExternalLink
*/
public $OneNoteClientUrl;
/**
* @var ExternalLink
*/
... |
<?php
/**
* Lombardia Informatica S.p.A.
* OPEN 2.0
*
* @see http://example.com Developers'community
* @license GPLv3
* @license https://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3
*
* @package lispa\amos\basic\template
* @category CategoryName
* @author Lombardia Infor... |
<?php $__env->startSection('content'); ?><p>Actor Ryan O'Neal reunited with daughter Tatum and his grandchildren in a heartwarming Instagram this week, marking the first time they'd been photographed together in 17 years.</p>
<p>And the 79-year-old actor's grandson Sean McEnroe, 32, called bringing the family back tog... |
<?php namespace Biboro\Http\Middleware;
use Config;
use Closure;
use Illuminate\Contracts\Auth\Guard;
use Illuminate\Http\RedirectResponse;
class RedirectIfAuthenticated {
/**
* The Guard implementation.
*
* @var Guard
*/
protected $auth;
private $account;
/**
* Create a new filter instance.
*
... |
<!--start main content-->
<section id="main-content">
<div class="space-30"></div>
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="panel">
<div class="panel-body">
<div class="ro... |
@extends('admin.layouts.layout')
@section('content')
@php $org_nmae ='Users'; @endphp
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content">
<div class="row"> <div class="col-md-12">
<div cl... |
<?php
namespace App\Http\Middleware;
use Closure;
class cors
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
return $next($request)
-... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit60897afde6196482e1c6db015f7af2de
{
public static $files = array (
'1d1b89d124cc9cb8219922c9d5569199' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest.php',
'0e6d7bf4a5811bfa5cf40... |
@extends('layouts.admin')
@section('content')
<!-- ============================================================== -->
<!-- Page wrapper -->
<!-- ============================================================== -->
<div class="page-wrapper">
<div class="row page-titles">
<div class="col-md-5 col-12 align-sel... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
$this->app->bind(
'App\Contracts\OrderAPIClientRequestIn... |
<?php
/**
* DomainStudioSourceSuggestion
*
* PHP version 5
*
* @category Class
* @package Domainrobot
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Domainrobot JSON API
*
* Domainrobot JSON API for managing: Domains, SSL Certificates, DNS a... |
@title('Register')
@extends('layouts.small')
@section('small-content')
@if (! session()->has('githubData'))
<p>To register, we require you to login with your Github account. After login you can choose your password in the settings screen.</p>
{{--<a href="{{ route('login.github') }}" class="btn b... |
@extends('wecourse.layout')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">首页</div>
<div class="panel-body">
You are logged in!
</div>
</div>
</div>
</div>
</div>
@endsectio... |
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'cebe\\gravatar\\' => array($vendorDir . '/cebe/yii2-gravatar'),
'Ikimea\\Browser\\' => array($vendorDir . '/ikimea/browser/lib'),
'HTMLPurifier' => array($vendor... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class InvoicesItem extends Model
{
protected $fillable = [
// 'invoice_id', 'product_id', 'name', 'quantity', 'price',
'invoice_id', 'name', 'quantity', 'price',
];
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Course;
use App\Student;
use App\Movement;
use Validator;
class StudentsController extends Controller
{
public function __construct()
{
$this->middleware('auth');
... |
<?php
declare(strict_types=1);
namespace Neighborhoods\Buphalo\V2\FloatingPointMap;
use Neighborhoods\Buphalo\V2\FloatingPointMapInterface;
class Factory implements FactoryInterface
{
use AwareTrait;
public function create(): FloatingPointMapInterface
{
return clone $this->getFloatingPointMap();... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Categorias extends CI_Controller {
public function __construct(){
parent::__construct();
//Esiste uma sessao
}
public function index(){
$data = array(
'titulo' => 'Categorias cadastradas',... |
<?php
$app = require __DIR__ . '/../bootstrap/app.php';
$app->run(); |
{{-- VENTANA MODAL EDIT GRUPO--}}
<div wire:ignore.self class="modal fade" id="editGrupoModal" tabindex="-1" role="dialog" aria-labelledby="editGrupoModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="mo... |
<?php
$connections = [
'test' => 'mysql://vnn:password@localhost/vnnaroundme',
'production' => 'mysql://vnn:password@localhost/vnnaroundme'
]; |
@extends('layouts.temp')
@section('judul1', 'Analisis Emiten Perusahaan')
@section('judul', 'Analisis Emiten')
@section('content')
<div class="page-section">
<div class="container ">
<div class="col col-md-12 p-3">
<div class="row">
@foreach($data as $p)
<card class="col col-md-6">
<div class="shadow... |
<table id="<?php echo $id ?>" width="100%">
<?php if (isset($options['title'])): ?>
<tr><td bgcolor="<?php echo $op_color["core_color_5"] ?>">
<font color="<?php echo $op_color["core_color_25"] ?>"><?php echo $options['title'] ?></font><br>
</td></tr>
<?php else: ?>
<tr><td bgcolor="<?php echo $op_color["core_color_7"]... |
@extends('layouts.app')
@section('content')
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-lg-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>System Setting</h5>
<div class=... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'App\\Actions\\Fortify\\CreateNewUser' => $baseDir . '/app/Actions/Fortify/CreateNewUser.php',
'App\\Actions\\Fortify\\PasswordValidationRules' => $baseDir . '/app/Acti... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitb3bb1b7468ace2dd92a3cbb504e82549
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
'25072dd6e2470089de65ae7bf... |
@extends('layouts.main')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Student Leave
</h1>
<ol class="breadcrumb">
<li><a href="#"><i c... |
<?php
/* partial_bb_meta.phtml */
class __TwigTemplate_fbaab970d3dc6144e78753ce0fac88dfb7c23971ac5a6b15974fad54bb365e7e extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
... |
<?php
class Indicastandar extends MY_Model {
function __construct() {
parent::__construct();
$this->table = "Indicastandar";
$this->vista = "v_Indicastandar";
$this->idname = "id";
}
protected function getWhere($params){
$search = $params['busqueda'];
$wher... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>First Steps Into PHP</title>
</head>
<body>
<form>
N: <input type="text" name="num1" />
M: <input type="text" name="num2" />
<input type="submit" />
</form>
<?php
if (isset($_GET['num1']) && isset($_GET['num2']))... |
<?php
namespace Hpayments\Tests;
use Exception;
use Hpayments\FuturePayment;
use Hpayments\Item;
use Hpayments\Items;
use Hpayments\MerchantAccounts;
use Hpayments\Payer;
use Hpayments\Payment;
use Hpayments\RecurrentCharge;
use Hpayments\RecurrentPayment;
use Hpayments\RecurrentTransaction;
use Hpayments\RedirectUrl... |
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="{{ mix('css/app.css')}}">
</head>
<body>
<div class="container mt-5">
<div class="row mb-5">
<div class="col-6">
<a class="btn btn-dark mb-3" href="{{ route... |
@extends('layouts.admin_layout.master')
@section('content')
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
... |
<?php
namespace Hollogram\Stapler\File;
use Symfony\Component\HttpFoundation\File\File as SymfonyFile;
use Hollogram\Stapler\Interfaces\File as FileInterface;
class File extends SymfonyFile implements FileInterface
{
/**
* An array of key value pairs for valid image
* extensions and their associated MI... |
@extends('layouts.app')
@section('content')
<!-- Bootstrap Boilerplate... -->
<form action="/address" method="POST" class="form-horizontal">
<div class="panel-body">
<!-- Display Validation Errors -->
<!-- New Task Form -->
@csrf
<!-- Task Name -->
<script>
fu... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class asignacion_model extends CI_Model {
public function get_asignacion(){
$this->db->select('a.id_asignacion, en.nombres, en.apellidos, i.id_inmobiliario, o.modelo,m.marca,c.categoria, en.dui_enc, a.fecha_asig, e.estado');
$this->db->from('... |
@extends('principal')
@section('contenido')
<br>
<div class="breadcrumbs">
<div class="container">
<ol class="breadcrumb breadcrumb1 animated wow slideInLeft" data-wow-delay=".5s">
<li><a href="{{url('/')}}"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>In... |
@extends('layouts.default')
@section('content-wrapper')
<div class="contain__def center">
<h1 class="title__pages font-blue center relaway">Vacantes</h1>
<section class="contain__information center">
@foreach( $vacancies as $vacancy )
<div class="vacancy__item">
<h2>{{ $vacancy->title }}</h2>... |
<?php defined('SYSPATH') or die('No direct script access.');
abstract class Controller_User extends Controller_Common_User {
/**
* @var bool Should View be automatically included?
*/
public $auto_view = TRUE;
// public $auto_view = FALSE;
/**
* @var Kostache View model
*/
public $view;
/**
config menu
... |
<?php
if (!defined('RAPIDLEECH')) {
require_once('index.html');
exit();
}
if (!file_exists(HOST_DIR . 'download/GenericXFS_DL.php')) html_error('Cannot load "'.htmlentities(HOST_DIR).'download/GenericXFS_DL.php" (File doesn\'t exists)');
require_once(HOST_DIR . 'download/GenericXFS_DL.php');
class filescdn_com ext... |
<?php
namespace TYPO3\Flow\Command;
/*
* This file is part of the TYPO3.Flow package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source code.
*/... |
<?php
include('config.php');
if(empty($_GET['id']))
{
header('location:adminviewcar.php');
exit();
}
#if id found then execute delete query
$delete=mysqli_query($con,"DELETE FROM car WHERE carid = '".$_GET['id']."'") or die(mysqli_error($con));
if($delete==1)
{
?><script>
alert('Delete Success....');
window.lo... |
<?php
/**
* This file is part of PHPWord - A pure PHP library for reading and writing
* word processing documents.
*
* PHPWord is free software distributed under the terms of the GNU Lesser
* General Public License version 3 as published by the Free Software Foundation.
*
* For the full copyright and license inf... |
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
<a class="navbar-brand" href="index.php">Enterprise</a>
<button class="btn btn-link btn-sm order-1 order-lg-0" id="sidebarToggle" href="#"><i
class="fas fa-bars"></i></button>
<!-- Navbar Search-->
<form class="d-none d-md-inli... |
--TEST--
Comparisons with NAN should yield false, even at compile-time
--FILE--
<?php
echo "** CONST\n";
var_dump(0 < NAN);
var_dump(0 <= NAN);
var_dump(0 > NAN);
var_dump(0 >= NAN);
echo "** VAR\n";
$nan = NAN;
var_dump(0 < $nan);
var_dump(0 <= $nan);
var_dump(0 > $nan);
var_dump(0 >= $nan);
--EXPECT--
** CONST
boo... |
<div class="partion">
<div class="row phara-margin">
<h3 class="text-center title-tab" style=" font-family:UvfAphroditePro;" id = "nameTitle{{$tabWeb->id}}">
{{$tabWeb->title}}
</h3>
<div class="row">
<div class="col-xs-1"></div>
<div class="col-xs-10">
<table class="table-... |
@extends('layouts.configuracion')
@section('title', 'Editar permisos')
@section('css')
<link rel="stylesheet" href="https://cdn.datatables.net/1.11.1/css/dataTables.bootstrap5.min.css">
<link href="{{ asset('css/configuracion/style.css') }}" rel="stylesheet">
@endsection
@section('content')
... |
<div class="buttons-social-media-share">
<ul class="share-buttons">
<li><a href="https://www.facebook.com/sharer/sharer.php?u={{ request()->fullUrl() }}&title={{ $post->title }}"
title="Compartir en Facebook"
target="_blank">
<img alt="Compartir on Facebook"
... |
30 mtime=1556803104.654608185
24 SCHILY.fflags=extent |
<?php
include_once('MailChimp.php');
$api_key = 'f165592fb351731bba436a58e0a1127e-us8';
$list_id = '633f9eab5f';
$success_message = 'Your email address has been subscribed successfully!';
// Error messages are taken from MailChimp
$MailChimp = new MailChimp($api_key);
$result = $MailChimp->call('lists/subscribe', a... |
<?php
/**
* Mini-cart
*
* Contains the markup for the mini-cart, used by the cart widget.
*
* This template can be overridden by copying it to yourtheme/woocommerce/cart/mini-cart.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the n... |
<footer id="footer" class="color-bg">
<div class="sub-form-row">
<div class="container">
<div class="col-xs-12 col-sm-8 col-sm-offset-2 no-padding">
<form role="form">
<input placeholder="Subscribe to our newsletter">
<button class="le-butt... |
<?php
require "../../env.php";
require "../must_admin.php";
require(ROOTPATH."/models/obit.php");
require(ROOTPATH."/models/event.php");
$page = "obit";
$data_obit = get_obit();
$data_event = get_events();
include(ROOTPATH."/view/template.php"); |
<?php
require_once 'models/categoria.php';
require_once 'models/producto.php';
class categoriaController {
public function index() {
Utils::isAdmin();
$categoria = new Categoria();
$categorias = $categoria->getAll();
require_once 'views/categoria/index.php';
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateGroupsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('groups', functio... |
<?php
namespace App\Service;
use App\Dto\Order as OrderDto;
use App\Dto\UserItem as UserItemDto;
use App\Dto\UserPromocode as UserPromocodeDto;
use App\Entity\Item;
use App\Entity\Order;
use App\Entity\Promocode;
use App\Entity\User;
use App\Entity\UserItem;
use App\Entity\UserPromocode;
use App\Repository\LastBotA... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCustomersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('customers', f... |
<div class="container-fluid">
<!-- NGIKUTIN ARTIKEL PAGE SEHATQ.COM -->
<!-- INI SCRIPT UNTUK LAYOUT ARTIKEL -->
<style type="">
.content-section {
min-height: 2000px;
}
.sidebar-section {
position: absolute;
height: 100%;
width: 100%;
}
.sidebar-item {
position: absolute;
top: 0;
left: 0;
width: 100%... |
<?php
declare(strict_types=1);
namespace Nashgao\Pelias\Attribute;
class Layers extends AbstractAttribute implements ArrayLikeInterface
{
public bool $address;
public bool $borough;
public bool $coarse;
public bool $country;
public bool $county;
public bool $localadmin;
public bool ... |
</div>
<!-- END wrapper -->
<!-- jQuery -->
<script src="<?= base_url() ?>assets/dashboard/js/jquery.min.js"></script>
<script src="<?= base_url() ?>assets/dashboard/js/bootstrap.bundle.min.js"></script>
<script src="<?= base_url() ?>assets/dashboard/js/modernizr.min.js"></scr... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Resources\PSUResource;
use App\Models\PSU;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
class PSUController extends Controller
{
public function __construct()
{
$this->middleware('auth.jwt', ['except' => ['index', 'show... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\PaymentBundle\Form\Type;
use Sylius\Bundle\ResourceBundle\Form\Type\AbstractR... |
<?php
namespace Tests\Unit;
use Tests\TestCase;
use Edamam\Support\Measurement;
class MeasurementTest extends TestCase
{
protected function getOntology(string $measure)
{
return 'http://www.edamam.com/ontologies/edamam.owl#Measure_'.$measure;
}
/** @test */
public function it_has_a_gram_... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call(UsersTableSeeder::class);
$this->call(CategoriesTableSeeder::class);
$this->call(ProductsTa... |
<?php include_once '../../common/header.php'; ?>
<?php include_once '../../common/right-sidebar.php'; ?>
<?php include_once '../parents-left-sidebar.php'; ?>
<div class="main-container">
<div class="pd-ltr-20 customscroll-10-p height-100-p xs-pd-20-10">
<div class="min-height-200px">
<div cla... |
@include('layouts.master')
<!-- /.navbar -->
@include('layouts.header')
<!-- Main Sidebar Container -->
@include('layouts.sidebar')
<div class="content-wrapper">
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
... |
<?php
namespace App\Http\Requests\Categories;
use Illuminate\Foundation\Http\FormRequest;
class StoreCategoryRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
... |
<?php
namespace App\Http\Livewire\Sales;
use App\Http\Repositories\Sales\SalesRepository;
use Livewire\Component;
use Livewire\WithPagination;
class TablePenjualanList extends Component
{
use WithPagination;
protected $paginationTheme = 'bootstrap';
public $penjualanList;
public $penjualanPage;
... |
<!-- Modal -->
<div class="modal fade" id="social_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Get Social</h5... |
<?php
/**
* InlineObject12Test
*
* PHP version 5
*
* @category Class
* @package com.spoonacular.client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* spoonacular API
*
* The spoonacular Nutrition, Recipe, and Food API allows you to access over 380,000 recipes, thous... |
<?php
namespace App\Http\Livewire;
use App\Delivery;
use App\Company;
use App\Estate;
use Livewire\Component;
use Livewire\WithPagination;
class Deliveries extends Component
{
use WithPagination;
protected $paginationTheme = 'bootstrap';
protected $queryString = [
'search' => ['except' => ''],
... |
<?php
class Functions {
/*
Returns reddit posts by the given arguments
*/
public function getPosts($redditName, $sorting, $postsLimit, $removePinned) {
$result = json_decode(file_get_contents("https://www.reddit.com/r/" . $redditName . "/" . $sorting . ".json?limit=" . $postsLimit), true);
... |
@extends('layouts.admin')
@section('admin_content')
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">All Shop Category</h1>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class="breadcrumb... |
<!DOCTYPE html>
<html lang="en">
<head>
<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, minimum-scale=1.0, user-scalable=yes"/>
<title>AllGiftCards CMS</titl... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Books */
$this->title = 'Редактировать запись: ' . ' ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Books', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $m... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Tb_peserta_model extends CI_Model
{
public $table = 'tb_peserta';
public $id = 'id';
public $order = 'DESC';
function __construct()
{
parent::__construct();
}
// datatables
function json() {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.