text
stringlengths
2
1.03M
<?php namespace Illuminate\Tests\Integration\Queue; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Support\Facades\Bus; use Illuminate\Support\Facades\Queue; use Orchestra\Testbench\TestCase;...
<?php namespace app\common\model\shop; use app\common\model\BaseModel; /** * 商家用户权限模型 */ class Access extends BaseModel { protected $name = 'shop_access'; protected $pk = 'access_id'; /* * 获取所有权限 */ protected static function getAll($isShow = 1) { if($isShow != -1){ ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Usuario */ ?> <div class="usuario-create"> <?= $this->render('_form', [ 'model' => $model, ]) ?> </div>
<?php /** * This file is part of the Spryker Suite. * For full license information, please view the LICENSE file that was distributed with this source code. */ namespace Pyz\Zed\Quote; use Generated\Shared\Transfer\QuoteTransfer; use Spryker\Zed\Quote\QuoteConfig as SprykerQuoteConfig; class QuoteConfig extends ...
<!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, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>SB Admin - Login</title> ...
<?php namespace AppBundle\Controller; use AppBundle\Entity\Activity; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Component\HttpFoundation\Request; /** * @Route("activity...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Aviso extends Model { protected $fillable = [ 'tags', ]; // N aviso - 1 user public function user() { return $this->belongsTo(User::class); } // 1 aviso - 1 categoria public function categoria() { ...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { // Schema::defaultStringLen...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Anuncios_model extends CI_Model { const TABLE_NAME = 'anuncios'; const PRI_INDEX = 'id'; public function get($where = NULL) { $this->db->select('*'); $this->db->from(self::TABLE_NAME); if ($where !== N...
{{-- @extends('layouts.app') @section('content') department.edit template @endsection --}}
<!DOCTYPE html> <html> <head> <?php include "description.php"; ?> <title><?php print $event_description; ?> - ScaleCycle Visualization</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> ...
<?php /** * XSLT for XML sitemap * * @module sitemaps */ $xsl = '<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" ...
<?php namespace Payjs\Payjs\Actions; use Dcat\Admin\Form; use Dcat\Admin\Grid\RowAction; class Refund extends RowAction { protected static $resolvedWindow; /** * @return array|null|string */ public function title() { return '<i class="feather icon-refresh-ccw"></i> 退款'; } p...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Anggota extends Model { protected $table='anggota'; use HasFactory; }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddFieldsToUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', funct...
--TEST-- SPL: RecursiveTreeIterator --INI-- error_reporting=E_ALL&~E_NOTICE --FILE-- <?php $ary = array( 0 => array( "a", 1, ), "a" => array( 2, "b", 3 => array( 4, "c", ), "3" => array( 4, "c", ), ), ); $it = new RecursiveArrayIterator($ary); echo "-- flags = BYPASS_KEY --\n"; foreach...
@include('layout.head') @include('layout.header') <!-- Left side column. contains the logo and sidebar --> @include('layout.sidebar') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> EDIT ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\Locality */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="locality-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'short_name')->textInput(['maxlength' => true]...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel-2FA') }}</title> <link rel="s...
@extends('main') @section('title', ' - Utilisateur') @section('main-content') <div class="container col-lg-10 col-md-12 col-xs-12"> <br> <h3>Modifier l'utilisateur</h3> <br> <form method="POST" enctype="multipart/form-data" action="{{ route('saveupdateuser') }}"> @csrf ...
<div class="content"> @can('hospital_five_c_network_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.hospital-five-c-networks.create') }}"> {{ trans('global.add') }} {{ trans('crud...
<?php declare(strict_types=1); namespace App\Entity\ApiGenerator; use App\Entity; use Psr\Http\Message\UriInterface; class StationQueueApiGenerator { protected SongApiGenerator $songApiGenerator; public function __construct(SongApiGenerator $songApiGenerator) { $this->songApiGenerator = $songAp...
<?php use App\Category; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class CategorySeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('categories')->truncate(); factory(Category::class, 60)->...
<?php /** * @copyright Frederic G. Østby * @license http://www.makoframework.com/license */ namespace mako\http\routing; use Closure; /** * Route. * * @author Frederic G. Østby */ class Route { /** * Methods. * * @var array */ protected $methods; /** * Route. * * @var string */ protect...
<?php /** * Trean application API * * Copyright 2002-2016 Horde LLC (http://www.horde.org/) * * See the enclosed file LICENSE for license information (BSD). If you * did not receive this file, see http://www.horde.org/licenses/bsdl.php. * * @author Mike Cochrane <mike@graftonhall.co.nz> */ /* Determine the ba...
<?php namespace framework\tests\Container\mock; class DependencyLoopB { public function __construct(DependencyLoopC $c) {} }
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\Auth; use Illuminate\Http\Request; use App\Models\User; use App\Models\Subscriptions; use App\Models\AdminSettings; use App\Models\Withdrawals; use App\Models\Notifications; use App\Models\Transactions; use Fahim\PaypalIPN\PaypalIPNListener; use App...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v9/enums/search_engine_results_page_type.proto namespace Google\Ads\GoogleAds\V9\Enums; if (false) { /** * This class is deprecated. Use Google\Ads\GoogleAds\V9\Enums\SearchEngineResultsPageTypeEnum\SearchEngineRe...
@if(count($errors) > 0) @foreach($errors->all() as $error) <div class= "alert alert-danger"> {{$error}} </div> @endforeach @endif @if(session('success')) <div class="alert alert-success alert-dismissible text-center animated fadeInDown" role="alert"> <button type="button" cl...
<?php namespace Ciencuadras\Resource; use Ciencuadras\AuthManager; /** * Created by PhpStorm. * User: ralmira * Date: 8/10/2018 * Time: 8:38 AM */ class DistribucionEspacio extends BaseResource { public function __construct(AuthManager $authManager) { parent::__construct("distribuciones-espacio...
<!-- @extends('/layouts.master') @section('title', 'Partida') @section('movimiento') class="active" @endsection @section('content') @parent @if(Auth::user() AND Auth::user()->tienePermiso('Agregar Transaccion') AND $date = date('Y') == $anno->iValor) <section class="container-fluid"> <br> @if (count($errors) >...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Article extends Model { use HasFactory; protected $fillable = [ 'name', 'photo', 'content', 'category_id', 'tags' ]; public fu...
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Level extends Model { protected $table = "levels"; protected $fillable = ['nama_level']; }
<x-app_admin> @section('title') {{ Breadcrumbs::render('users') }} @endsection <style> tr:nth-child(even) { background-color: rgb(214, 222, 230); } tr:nth-child(odd) { background-color: rgb(250, 250, 250); } </style> <main class="flex-1 overflow-...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBahanBakusTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('bahan_bakus'...
<?php /** * @file * Contains \Drupal\worksheet\Form\SettingForm. */ namespace Drupal\worksheet\Form; use Drupal\Core\Form\FormBase; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Url; class CommentForm extends FormBase { protected $wid; protected $entity_type; /** * {@inheritdoc} */ public ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProductsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('products', fun...
<?php namespace tsvetkov\telegram_bot\entities\inputMessage; /** * OfficialDocs: https://core.telegram.org/bots/api#inputmessagecontent * * Interface InputMessageContent * @package tsvetkov\telegram_bot\entities\inputMessage */ interface InputMessageContent { }
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace app\admin\controller; class Manage extends AdminBase { /** * 首页方法 */ public function index() ...
<button type="button" class="btn btn-danger btn-xs" data-toggle="modal" data-target="#Delete<?= $galeri->id_galeri ?>"> <i class="fa fa-trash-o"></i> Delete </button> <!-- Modal --> <div class="modal modal-danger fade" id="Delete<?= $galeri->id_galeri ?>"> <div class="modal-dialog"> <div class="modal-content"> <d...
@extends('backend.layouts.master') @section('page-title','Category List') @section('page-content') <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="responsive-table"> <a href="{{route('blogCat.create')}}" class="btn btn-outline-success">Create A n...
<?php namespace Areanet\PIM\Classes\Types; use Areanet\PIM\Classes\Api; use Areanet\PIM\Classes\Type; use Areanet\PIM\Entity\Base; class SelectType extends Type { public function getPriority() { return 10; } public function getAlias() { return 'select'; } public func...
<div class="container-fluid"> <div class="d-sm-flex align-items-center justify-content-between mb-4"> <h1 class="h3 mb-0 text-gray-800"><?= $title ?></h1> </div> <a class="btn btn-sm btn-success mb-3" href="<?= base_url('admin/dataJabatan/tambahData') ?>"> <i class= "fas fa-plus"> ...
<?php namespace App\Http\Controllers; use App\Http\Requests; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\User; class UserController extends Controller { public function index(Request $request) { $users = User::orderBy('created_at', 'asc')->get(); return view('us...
<?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\ProductBundle\Doctrine\ORM; use Sylius\Bundle\ResourceBundle\Doctrine\ORM\Ent...
<!DOCTYPE html> <html lang="en"> <head> <!-- Meta Tags --> <meta charset="utf-8"> <meta name="author" content="shifttechplus"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!--[if IE]> <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![end...
@extends('layouts.cms') @section('body') <div class="main" style="height: 1000px"> <table class="table" dir="rtl"> <thead class="thead" style="background-color: #38c172"> <tr> <th scope="col">#id</th> <th scope="col">نام و نام خانودگی</th> <th scope="col">نوع دستگاه</th> <th s...
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * NbPersonne * * @ORM\Table(name="nb_personne") * @ORM\Entity(repositoryClass="AppBundle\Repository\NbPersonneRepository") */ class NbPersonne { /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id ...
<section class="content-header"> <h1>Data Berita</h1> </section> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-body"> <div class="table-responsive"> <button class="btn btn-suc...
<?php use yii\helpers\Url; use yii\widgets\Breadcrumbs; ?> <?= Breadcrumbs::widget([ 'tag' => 'h1', 'options' => ['class' => 't_nav'], 'itemTemplate' => "{link}\n", 'activeItemTemplate' => "<a href='javascript:;' class='n2'>{link}</a>\n", 'homeLink' => false, 'links' => isset($this->params['breadcrumbs']...
<?php use App\User; use App\Product; use App\Category; use App\Transaction; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // $this->call(UsersTab...
<?php /** * @copyright Copyright (C) 2015-2020 AIZAWA Hina * @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT * @author AIZAWA Hina <hina@fetus.jp> * @author Starwort <tcphone93@gmail.com> */ declare(strict_types=1); return [ '(3rd party defined)' => '', '(Session)' => '', '(T...
<?php require('fpdf/fpdf.php'); include '../includes/dbcon.php'; //$id = $_GET['cash_receipt_no']; $pdf = new FPDF(); ///var_dump(get_class_methods($pdf)); $pdf->AddPage('L'); $pdf->SetFont('Arial', '', 10); $pdf->Cell(50, 10, 'Date:' . date('d-m-Y') . '', 0, "R"); $pdf->Ln(15); $pdf->SetF...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; use App\Http\Resources\TagResource; use App\PostTag; use App\Tag; class PostTagResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @ret...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Live; use App\Models\Location; use App\Models\Information; use App\Models\Property; use App\Models\Currency; use App\Models\SystemSetting; use App\Models\Http\Helper; class HomeController { /** * Show the application dashb...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Setting extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model(array( 'mail/setting_model' )); if ($this->session->userdata('isLogIn') == false || $this->session->userdata('user_...
<?php use common\components\ClaHost; use yii\helpers\Url; ?> <?php if (isset($data) && $data) { ?> <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12"> <div class="cate-news-index"> <div class="title-cate-news-index"> <a href="<?= Url::to(['/news/news/category', 'id' => $category...
<!DOCTYPE html> <html> <head> <title>Listado de mascotas</title> </head> <body> <h1>Listado de mascotas</h1> <?php // Abrir conexión contra la BD $srv = "localhost"; $usu = "pruebas"; $pwd = "123456"; $bd = "pruebas"; $con = mysqli_connect($srv, $usu, $pwd, $bd); // Preparar sentencia...
<?php class Controller_Users extends Controller_Account { public function action_index() { $data['users'] = Model_User::find('all'); $this->template->title = "Users"; $this->template->content = View::forge(parent::get_prefix() . 'users/index', $data); } public function action_view($id = null) { $data['u...
<?php if(!isset($Translation)) die('No direct access allowed.'); ?> <?php $current_table = 'sessions'; ?> <?php $cleaner = new CI_Input(); $cleaner->charset = datalist_db_encoding; ?> <script> <?php echo $current_table; ?>GetChildrenRecordsList = function(command){ var param = { ChildTable: "<?php echo $paramet...
<?php namespace DoctorsBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Blockdays * * @ORM\Table(name="blockdays", indexes={@ORM\Index(name="doctor_bd_fk_idx", columns={"Doctor"})}) * @ORM\Entity */ class Blockdays { /** * @var integer * * @ORM\Column(name="Id", type="integer", nullable=...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @package Z...
<!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>Laravel</title> <!-- Fonts --> <link href="https://...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Venue extends Model { protected $fillable = ['name','address','capacity','price']; }
<?php namespace App\Http\Controllers\Admin\Auth; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Category; use App\Models\Restaurant; use App\DataTables\CategoryDataTable; use App\Contracts\CategoryContract; use App\Repositories\CategoryRepositories; class CategoryController extends ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Wallet; class WalletController extends Controller { public function index(){ //Buscamos la información del modelo wallet $wallet = Wallet::firstOrFail(); /** * retornamos la información de la busqueda ...
<?php /** * Customer processing order email * * This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-processing-order.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * m...
<?php declare(strict_types = 1); namespace App\Command; use App\Database\Client; use Dibi\Exception; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class Kraje extends Command { protected static $defaultName...
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Api\V2010\Account\Sms; use Twilio\Deserialize; use Twilio\Exceptions\TwilioException; use Twilio\InstanceResource; use Twilio\Version; /** * @property string accountSid * @prope...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/Authentication for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ ...
<?php namespace Drupal\social_user_export\Plugin\UserExportPlugin; use Drupal\Core\Database\Connection; use Drupal\Core\Datetime\DateFormatterInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\group\Entity\Group; use Drupal\social_group\SocialGroupHelperService; use Drupal\social_user_export\Plu...
<?php echo js_asset('views/setting/home/main_page.js'); ?> <div class="col-xs-12"> <div class="panel panel-default"> <div class="panel-body"> <h2 style="text-align: center;padding-bottom: 0px;padding-top: 0px;"><?php echo $company; ?></h2><h4 style="text-align: center;"><small><?php echo $add...
<div class="text-center"> <a class="btn btn-info" href="<?= base_url('crud/create'); ?>" role="button">Iniciar Registro</a> <!--Formas de botones <a class="btn btn-primary" href="#" role="button">Link</a> <button class="btn btn-primary" type="submit">Button</button> <input class="btn btn-primary...
@extends('layouts.plantilla') @section('title', 'dashboar') @section('cuerpo') <main class="container-fluid p-5"> <img class="imgFondo"src="../img/ferreteria.png" alt="imagen seccion articulos"> <div class="row"> <div class="col-lg-5 miTop"> <form> <div class="form-gro...
<div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $tituloMantenedor; ?> <small>Panel de Control</small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> ...
{!! Form::open(['route' => ['clinics.destroy', $id], 'method' => 'delete']) !!} <div class='btn-group'> <a href="{{ route('clinics.show', $id) }}" class='btn btn-default btn-xs'> <span class="tooltiptext">Show</span><i class="glyphicon glyphicon-eye-open"></i> </a> <a href="{{ route('clinics.edit', ...
<?php namespace Bazavlukd\VueSpaTemplate\Tests; use PHPUnit\Framework\TestCase; class ExampleTest extends TestCase { /** @test */ public function true_is_true() { $this->assertTrue(true); } }
<!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="s...
<?php namespace App; use Illuminate\Database\Eloquent\Model as Eloquent; class Tbl_category extends Eloquent { // }
<?php namespace app\admin\logic\system; use app\admin\base\BaseLogic; use app\admin\service\TriggerService; use app\common\model\system\SystemAuth; use app\common\model\system\SystemAuthNode; /** * 授权 */ class AuthLogic extends BaseLogic { protected $model_class = SystemAuth::class; public function getAut...
<?php namespace WeDevs\PM\Task\Transformers; use WeDevs\PM\Task\Models\Task; use League\Fractal\TransformerAbstract; use WeDevs\PM\Task_List\Transformers\Task_List_Transformer; use WeDevs\PM\Common\Transformers\Board_Transformer; use WeDevs\PM\Comment\Transformers\Comment_Transformer; use WeDevs\PM\Common\Transformer...
<?php /** * Representation of a result from a query against the fDatabase class * * @copyright Copyright (c) 2007-2010 Will Bond * @author Will Bond [wb] <will@flourishlib.com> * @license http://flourishlib.com/license * * @package Flourish * @link http://flourishlib.com/fResult * * @versi...
<?php namespace Canary\ServiceProvider; use Canary\Exceptions\Exception; class ServiceProvider { public function get($service) { $services = config('providers'); if (isset($services[$service]) === false) { throw new Exception('Service "' . $service . '" not found'); } ...
<?php require PATH_ABS . '/Response/admin/_includes/php/head.php'; ?> </head> <body> <?php require PATH_ABS . '/Response/admin/_includes/php/header.php'; ?> <div class="wrapper"> <div class="container"> <form role="form" method="post" action="<?=URL_BASE?>...
<?php namespace Memex\Route\RouteTypes; use Memex\Pages\PageLoader; use Memex\Route\Route; /** * Class RouteMain * * For handling the index page. */ class RouteMain extends Route { function catch(string $path): bool { return $path == "/" || preg_match("#^/index(\.(php|html))?$#", $path); ...
@include('header') <div id="global-leade-banner" style="background:url({{ asset('new-assets/images/inner-bner.jpg') }}) no-repeat; height:351px;"> <div class="container"> <div class="col-md-12 text-center"> <div class="dashboard-content"> <h1>EXPORTED FILES</h1> </div> </div> </div> </div> ...
<?php /** * PHPExcel * * Copyright (c) 2006 - 2013 PHPExcel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any...
<?php /** * This file is part of the PHPMCached package. * * (c) Hahn und Herden Netzdenke GbR <info@netzdenke.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPMCached; /** * PHPMCached main class */ class PHPM...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Orderitem extends Model { use SoftDeletes; protected $fillable = ['id_order', 'id_pizza', 'quantity', 'size', 'price', 'created_at']; protected $dates = ['deleted_at']; public function or...
<!DOCTYPE html> <html> <head> <title>Chat</title> <!-- Bootstrap CSS --> <link rel="stylesheet" href="<?= base_url(); ?>assets/css/bootstrap.css"> <!-- font-awesome --> <link rel="stylesheet" href="<?= base_url(); ?>assets/font-awesome/css/font-awesome.min.css"> <!-- Optional JavaScript --> <scrip...
<?php snippet('header') ?> <header style="background-color:yellow; height: 500px" class="furz"> <h1><?= $page->title()->html() ?></h1> <div class="intro text"> <?= $page->intro()->kirbytext() ?> </div> <hr /> </header> <section class="get-in-touch"> <div class=...
<x-guest-layout> <x-auth-card> <x-slot name="logo"> <a href="/"> <x-application-logo class="w-20 h-20 fill-current text-gray-500" /> </a> </x-slot> <!-- Session Status --> <x-auth-session-status class="mb-4" :status="session('status')" /> ...
<?php session_start(); //echo $_SESSION['username']; ?> <!DOCTYPE html> <html> <head> <title>LifePrice</title> <link rel="stylesheet" href="../static/stylesLog.css" type="text/css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script> </head...
@extends('rumahsakit.index') @section('title',"home - Rs. Harapan Bersama") @section('section') <section class="hero-area"> <div class="hero-slides owl-carousel"> <!-- Single Hero Slide --> <div class="single-hero-slide bg-img bg-overlay-white" style="background-image: url({{asset('rs/i...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class StudentQuerySeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // } }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Product extends Model { protected $table = 'product_data'; public $timestamps = false; }
<!-- START CONTAINER FLUID --> <div class=" container-fluid container-fixed-lg"> <div class="row"> <div class="col-xl-12 col-lg-12"> <!-- START card --> <div class="card card-transparent"> <div class="card-block"> <form method="POST" action="<?=base_url('admin/arisan/update')?>" role="form" autocomp...
<?php namespace App\Http\Middleware; use Illuminate\Auth\Middleware\Authenticate as Middleware; class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. * * @param \Illuminate\Http\Request $request * @return string */ ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBarangTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('barang', functio...