text
stringlengths
2
1.03M
<?php class Artista_model extends CI_Model { function __construct(){ parent::__construct(); } function getTodosArtista(){ $query = $this->db->query("SELECT * from artista"); return $query; } function getArtista($nombre) { $this->db->select('*'); $this...
@extends('layout') @section('content') <h1>bbs</h1> <p>{{ $message }}</p> {{ Form::model($article, ['route' => ['article.update', $article->id]]) }} <div class="form-group"> {{ Form::label('content', 'Content:') }} {{ Form::text('content', null) }} </div> <div class="form-group"...
<?php namespace Oro\Bundle\SecurityBundle\Owner; use Symfony\Component\Security\Core\Util\ClassUtils; use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\Security\Acl\Exception\InvalidDomainObjectException; use Oro\Bun...
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Http\Request; class ApiPlaylistController extends Controller { public function index(){ $user = User::find(auth()->user()->id); if($user->playlist()->count() == 0){ $user->playlist()->create(); } ...
<?php namespace App\Models; use App\Traits\BasicTrait; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Course extends Model { use HasFactory, BasicTrait; public $incrementing = false; protected $keyType = 'uuid'; protected $fillable = [ '...
@extends('layouts.admin.vendor_dashboard') @section('title', 'Chart-Js') @section('content') @adminPageHeader(['title' => 'Chart-js', 'item' => 'Charts']) @endadminPageHeader <div class="row"> <div class="col-lg-6 grid-margin stretch-card"> <div class="card"> <div clas...
<?php namespace LolAPI\Util\GenericRequests; use LolAPI\APIKey; use LolAPI\GameConstants\RegionalEndpoint\RegionalEndpointInterface; class GenericRegionAndAPIKeyRequest { /** * APIKey * @var APIKey */ private $apiKey; /** * Regional endpoint * @var RegionalEndpointInterface ...
<!DOCTYPE HTML> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="Content-Language" content="en"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>NTG Hub Dashboard</title> <meta ...
<?php namespace App\Http\Controllers; use App\Cart; use App\Model\Contact; use App\Model\Order; use App\Model\OrderDetail; use App\Model\Product; use App\Model\ProductCategory; use App\Model\ProductDetail; use App\Model\ProductSize; use App\Model\Slide; use App\User; use const http\Client\Curl\AUTH_ANY; use Illuminat...
<?php /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Here you may define all of your model factories. Model factories give | you a convenient way to create models for testing and seeding yo...
<?php namespace RM\DateInterval; class InvalidArgumentException extends \Exception {}
<?php /** * PHP Version 5 * * @category Amazon * @package Amazon_FPS * @copyright Copyright 2008-2010 Amazon Technologies, Inc. * @link http://aws.amazon.com * @license http://aws.amazon.com/apache2.0 Apache License, Version 2.0 * @version 2008-09-17 */ /***********************...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class ThemCauHinhAppRequest extends FormRequest { public function authorize() { return true; } public function rules() { return [ // ]; } public function messages() ...
<?php namespace App\Models; use Eloquent as Model; use Illuminate\Database\Eloquent\SoftDeletes; /** * Class Rol * @package App\Models * @version June 18, 2019, 6:32 pm UTC * * @property string tipo */ class Rol extends Model { use SoftDeletes; public $table = 'rols'; protected $dates = ['de...
<?php return [ 'msg'=> 'Laravel Internationlization example.' , 'Good Morning'=> 'Good morning' ];
<?php use kartik\select2\Select2; use kartik\switchinput\SwitchInput; ?> <fieldset> <legend>Informações de Dados do Cadastro</legend> <div class="row"> <div class="col-md-6 tour1"> <div class="row"> <div class="col-md-8"> <div class="form-group"> <?= $form->field($model, 't...
<div class="content-wrapper"> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0 text-dark">Data Penghafal MyVoQu</h1> </div><!-- /.col --> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="brea...
<?php namespace app\models; use Yii; /** * This is the model class for table "cbac.total_ejecutivo". * * @property int $id * @property string $objetivos_generale * @property string $objetivos_especificos * @property string $id_actividad * @property int $avance_objetivos_sede * @property int $avance_ieo * @p...
<?php $lang['items_retrive_item_info']='ecupera Scheda Prodotto'; $lang['items_amazon']='Amazon'; $lang['items_upc_database']='Univeral Product Code Database'; $lang['items_cannot_find_item']='Non è possibile trovare tutte le informazioni del prodotto'; $lang['items_info_provided_by']='Informazioni fornite dal'; $l...
<?php namespace Lune\Http\Middleware\Middleware; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Message\ResponseInterface; use Lune\Http\Middleware\FrameInterface; use Lune\Http\Middleware\MiddlewareInterface; class ResponseProvider implements MiddlewareInterface { private $response; public fu...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Pedidos Activos</title> <!-- ** /////////////////////////- - CSS --///////////////////// **--> <!-- Iconos font-awesome --> <link rel="stylesheet" href="../../libraries/font-awesome/css/...
<?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\models\mgcms\db; use Yii; use app\components\mgcms\MgHelpers; use app\models\mgcms\db\User; use yii\helpers\Html; /** * This is the base model class for table "project". * * @property integer $id * @property string $name * @property string $status * @property string $localization * @proper...
<?php $this->registerCss('.pagination {margin: -5px 0} .modal-lg { width: 1010px;}'); use yii\bootstrap\Modal, yii\helpers\Html, yii\helpers\Url, yii\widgets\Pjax, kartik\dialog\Dialog, kartik\grid\GridView; app\assets\Itemgrafico::register($this); $this->title = 'Datos de Item Gráfico'; $this->params['breadcrumbs'...
<x-app-layout> </x-app-layout> <!DOCTYPE html> <html lang="en"> <head> @include('admin.admincss') </head> <body> <div class="container-scroller"> @include('admin.navbar') </div> @include('admin.adminscript') </body> </html>
<?php /** * Sets content width. */ if ( ! isset( $content_width ) ) { $content_width = 600; } /** * Odin Classes. */ require_once get_template_directory() . '/core/classes/class-bootstrap-nav.php'; if ( ! function_exists( 'morfeu_setup_features' ) ) { /** * Setup theme features. */ function morfeu_setup_...
@extends('main') @section('title', '| Call Lady') @section('content') <div class="row"> <div class="col-md-12"> <h1> Call Me</h1> <hr> <form> <div class="form-group"> <label name="email">Email:</label> <input id="email"...
@extends('layouts.app') @section('content') <h1>ログイン</h1> <div class="row"> <div class="col-md-8"> {!! Form::open(['route' => 'login.post']) !!} <div class="form-group"> {!! Form::label('email', 'メール') !!} {!! Form::email('email'...
<?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 declare(strict_types=1); namespace Rawilk\LaravelCasters\Tests\Unit; use Rawilk\LaravelCasters\Support\Name; use Rawilk\LaravelCasters\Tests\TestCase; final class NameTest extends TestCase { private Name $firstOnly; private Name $firstAndLast; protected function setUp(): void { parent...
<?php namespace App\Http\Controllers; use App\Models\Edu; use App\Models\User; use App\Models\Family; use Illuminate\Http\Request; use App\Http\Requests\FamilyStoreRequest; use App\Http\Requests\FamilyUpdateRequest; class FamilyController extends Controller { /** * @param \Illuminate\Http\Request $request ...
<?php $lang['title'] = 'Posts'; $lang['heading_create'] = 'Create post'; $lang['heading_update'] = 'Update post'; $lang['post_title'] = 'Post title'; $lang['hint_post_title'] = 'Enter post title'; $lang['content'] = 'Content'; $lang['hint_content'] = 'Enter content'; $lang['category'] = ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class TambahKolomProduk extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('produk', function...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(QuizzesTableSeeder::class); } }
<?php /** * @filesource personnel/models/admin/setup.php * @link http://www.kotchasan.com/ * @copyright 2016 Goragod.com * @license http://www.kotchasan.com/license/ */ namespace Personnel\Admin\Setup; use \Kotchasan\Login; use \Kotchasan\Language; use \Gcms\Gcms; /** * โมเดลสำหรับแสดงรายการบทความ (setup.php) ...
<?php return [ 'my site' => [ 'remote' => 'ftp://user:secretpassword@ftp.example.com/directory', 'local' => '.', 'test' => FALSE, 'ignore' => ' .git* project.pp[jx] /deployment.* /log temp/* !temp/.htaccess ', 'allowDelete' => TRUE, 'before' => [ function (Deployment\Server $server,...
<!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>Master Kode Barang -> Sub Kelompok Barang</h1> </div> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item">...
<?php namespace app\common\model; use think\Model; use think\model\concern\SoftDelete; class SendLog extends Model { use SoftDelete; protected $pk = 'id'; // 设置当前模型对应的完整数据表名称 protected $table = 'yx_send_log'; // 设置当前模型的数据库连接 protected $connection = ''; protected $deleteTime = 'delete_time...
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use App\Http\Controllers\Admin\AdminAppController; class HomeController extends AdminAppController { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middlew...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title><?php echo $__env->yieldContent('title'); ?></title> <!-- Fonts --> <link rel="preconnect" href="https://fonts.gstatic.com"> <l...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\ComputeNest\V20210601\Models; use AlibabaCloud\Tea\Model; class GetServiceResponse extends Model { /** * @var string[] */ public $headers; /** * @var GetServiceResponseBody */ public $body; ...
@extends('master') @section('mainContent') <style> .stockLebel{ margin-bottom: 30px; } </style> <div class="page-header"> <h1> Transaction <small> <i class="ace-icon fa fa-angle-double-right"></i> Sales & Distribu...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> @include('admin.sidebar') <div class="col-md-9"> <div class="panel panel-default"> <div class="panel-heading">Settings for Subject Entry</div> ...
<?php namespace LdNanoIntegration; use Shopware\Components\Plugin; use Shopware\Components\Plugin\Context\InstallContext; use Shopware\Components\Plugin\Context\UninstallContext; use Shopware\Components\Plugin\Context\ActivateContext; use Shopware\Components\Plugin\Context\DeactivateContext; class LdNanoIntegration e...
@extends('back-end.layout.app') @php $pageTitle = "التقارير" ; $row_num = 1; @endphp @section('page_title') {{$pageTitle}} @endsection @section('content') <div class="row"> <div class="col-lg-6"> <h2>التقارير</h2> </div> <div class="form-row"> <br><br> <div class="form-group ...
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();?><? $psTitle = "Payflow Pro"; $psDescription = "Accept payments on your Web site with Verisign scalable, fully customizable payment gateway solution. Payflow Pro gives you immediate connectivity to all major payment processors. <a href=\"http://v...
<?php /** * Created by PhpStorm. * User: lanlee * Date: 2018/5/21 * Time: 下午7:12 */ namespace app\api\service; use think\Cache; use think\Exception; class WxMessage { private $sendUrl = 'https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token=%s'; private $color = 'black'; pub...
<?php /* Template Name: Container No Title */?> <?php get_header();?> <div class="container"> <?php the_content();?> </div> <?php get_footer();?>
<?php // Example Configure multiple connections return [ /* |-------------------------------------------------------------------------- | PDO Fetch Style |-------------------------------------------------------------------------- | | By default, database results will be returned as...
<?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 =...
@extends('admin.layouts.index') @section('headSection') <link rel="stylesheet" href="{{ asset('public/admin/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css') }}"> @endsection @section('main-content') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!...
<?php namespace App\Tests; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use App\Repository\UserRepository; use App\Entity\User; class UserTest extends WebTestCase { public function testUserCurrentNotLogged(): void { $client = static::createClient(); $client->request('GET', '/user/curr...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Scripts --> <script src="{{ mix('js/app.js') }}" defer></script> </head> <body> <div id="app"></div> </body> </html>
@extends('layouts.master') @section('title-page') <img src="assets/images/dashboard.png" width="20" height="20" class="icon-img-title" alt=""> <h4>Track</h4> @endsection @section('breadcrumbs') <ul class="breadcrumbs"> <li class="breadcrumbs-item">Pages <i class="fas fa-chevron-right"></i> </li> <li class="b...
<x-app-layout> <x-slot name="header"> <div class="flex justify-between"> <div> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('New Price List') }} </h2> </div> </div> </x-slot> <div class="py-4"...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ChangeCommentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('comments', func...
<div class="card col-lg-6 mx-1 my-1 py-1"> <div class="card-header fs-3 border border-success border-bottom-0 border-top-0 border-5 d-flex justify-content-between bg-success bg-opacity-10"> <span> Ubah Profil </span> </div> <div class="card-body"> <form wire:submi...
<?php namespace Admin\Models; use Carbon\Carbon; use Model; /** * Status History Model Class * * @package Admin */ class Status_history_model extends Model { const UPDATED_AT = null; const CREATED_AT = 'date_added'; /** * @var string The database table name */ protected $table = 'statu...
<?php declare(strict_types=1); namespace Ats\Domain\Ad\Event; class AdCreated extends AdEvent { }
<?php namespace App\Providers; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Route; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to your controller routes. * * In addition, it is set as th...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use Carbon\Carbon; use App\Models\User; use App\Models\Message; use App\Models\Manager; use App\Models\Transaction_details; use App\Models\Project; use App\Models\Withdrawals; use App\Models...
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. T...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php declare(strict_types=1); use Rector\Doctrine\Set\DoctrineSetList; use Rector\Set\ValueObject\SetList; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return static function (ContainerConfigurator $containerConfigurator): void { $containerConfigurator->import(SetList::DE...
@include('regular.layouts.header') @yield('content') @include('regular.layouts.footer')
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call([ MPrefectureSeeder::class, MCitySeeder::class, ...
<!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>Tailwind Starter Template - Minimal Blog: Tailwind Toolbox</title> <meta name="author" content="n...
<?php namespace App\Http\Controllers; use App\DeliveryType; use Illuminate\Http\Request; class DeliveryTypeController extends Controller { public function getList(){ $deliveryTypes = DeliveryType::where('active', 1)->get(); return view('admin.DeliveryType.list')->with(['deliveryTypes' => $deliver...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateHomeAdsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('home_ads', func...
<?php namespace App\Policies; use App\Models\Address; use App\Models\User; use Illuminate\Auth\Access\HandlesAuthorization; class AddressPolicy { use HandlesAuthorization; /** * Determine whether the user can view any models. * * @param \App\Models\User $user * @return \Illuminate\Auth...
<?php namespace Ignite\Page; use Closure; class Factory { /** * Page extensions. * * @var array */ protected $extensions = []; /** * Extend the given crud config. * * @param string $alias * @param Closure $closure * @return void */ public function...
<?php /** * This model class inherits from the Setter model. It essentially wraps * that class in order to send passed data to the Cloudflare API endpoint. * @version 1.2.6 * @package JetRails® Cloudflare * @author Rafael Grigorian <development@jetrails.com> * @copyright © 2018 JETRAILS, A...
@extends('admin.layout') @section('content') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Добавить подписчика <small>приятные слова..</small> </h1> </section> <!...
<?php /* * The MIT License * * Copyright 2016 LengthOfRope, Bas de Kort <bdekort@gmail.com>. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without l...
<?php namespace App\Controller; use App\Entity\Score; use App\Entity\Song; use App\Repository\ScoreRepository; use App\Repository\SongRepository; use Doctrine\ORM\Query\Expr\Join; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Rou...
<?php /* * This file is part of CafeLatte Framework. * * (c) Thorpe Lee(Gwangbok Lee) <koangbok@gmail.com> * * For the full copyright and license information, please view * the license that is located at the bottom of this file. * * @license MIT License */ namespace CafeLatte\Interfaces; /** * Describes ...
<?php ob_clean(); ?> <?php if ($prefix == 'Imperium'): ?> <div class="col-md-12 d-flex justify-content-center" style="padding:0;"> <div class="crown"></div> <div><input type="text" readonly="true" value="<?= $mGold->mCrown ?> zk"></div> <div class="shilling"></div> <div><input type="text" readonly="true...
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInitb15588b351cae7c37e1ea15c7368e235 { public static $classMap = array ( 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', ); public static function getInitial...
<?php namespace Sammyjo20\SaloonLaravel; use Sammyjo20\Saloon\Http\SaloonRequest; use Sammyjo20\Saloon\Managers\LaravelManager; use Sammyjo20\SaloonLaravel\Clients\MockClient; use Sammyjo20\SaloonLaravel\Managers\FeatureManager; class Saloon { /** * The boot method. This is called by Saloon and from within ...
<?php /* * This file is part of the Geotools library. * * (c) Antoine Corcy <contact@sbin.dk> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace League\Geotools\Tests; use Geocoder\Model\Address; use Geocoder\Model\Addres...
<?php /** * This file is part of the mimmi20/laminasviewrenderer-bootstrap-form package. * * Copyright (c) 2021, Thomas Mueller <mimmi20@live.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types = 1); namespac...
@include('stylelink') @include('sidebar') @include('navbar') <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <style> .deskripsi-purchase{ text-align:left; line-height: normal; } .gambar{ height: 100px; width: auto; } .icon{ height: 30px; width: 30px; } </style> <div ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Cliente extends Model { protected $table = 'cat_clientes'; public function usuario(){ return $this->hasOne('App\User', 'cliente', 'cliente'); } }
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AlterNovedadesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('novedades', fu...
<?php namespace App\Http\Controllers\Frontend; use App\Http\Controllers\Controller; use App\Http\Controllers\Traits\MediaUploadingTrait; use App\Http\Requests\MassDestroyMarketingAdRequest; use App\Http\Requests\StoreMarketingAdRequest; use App\Http\Requests\UpdateMarketingAdRequest; use App\Models\MarketingAd; use G...
<main id="main" class="main-site"> <div class="container"> <div class="wrap-breadcrumb"> <ul> <li class="item-link"><a href="{{route('home')}}" class="link">home</a></li> <li class="item-link"><span>Cart</span></li> </ul> </div> <div ...
@extends('layouts.app') @section('content') <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/botman-web-widget@0/build/assets/css/chat.min.css"> <script> var botmanWidget = { aboutText: 'Write Something' , introMessage: "✋ Hi! I'm form Online Web Tutor" }; </script> ...
<?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 | ...
@extends('admin.layouts.main') @section('content') <!-- Container Fluid--> <div class="container-fluid" id="container-wrapper"> <div class="d-sm-flex align-items-center justify-content-between mb-4"> <h1 class="h3 mb-0 text-gray-800">Slider Tables</h1> <ol class="breadcrumb"> ...
<?php require_once("../../lib/init.php"); protectPage(8); // Grab the variables from the form @ $question = $_POST['question']; @ $qtype = $_POST['qtype']; $ansArray = isset($_POST['ans']) ? $_POST['ans'] : null; $req = isset($_POST['req']) ? true : false; $visible = isset($_POST['visible']) ? true : false; // Valida...
<?php namespace Cisse\Bundle\TraitsBundle\Model\Nullable\String; trait SummaryTrait { protected ?string $summary = null; public function getSummary(): ?string { return $this->summary; } public function setSummary(?string $summary): self { $this->summary = $summary; r...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <title>Home | E-Shopper</title> <link href="{{asset('shop/css/bootstrap.min.css')}}" rel="sty...
<?php declare(strict_types=1); namespace Tourware\Entities; class VacationRental extends WriteEntity { public function endpoint(): string { return 'vacationrentals'; } }
<?php /* @var $this EstadosRegistroController */ /* @var $model EstadosRegistro */ $this->breadcrumbs=array( 'Conductor'=>array('index'), 'Crear Registro', ); ?> <?php $this->widget('zii.widgets.CBreadcrumbs', array( 'links'=>$this->breadcrumbs, 'htmlOptions'=>array ('class'=>'breadcrumb'), )); ?> <?php $...
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Book; /** * SearchBook represents the model behind the search form of `app\models\Book`. */ class SearchBook extends Book { /** * {@inheritdoc} */ public function rules() { return ...
<?php use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { Model::unguard(); $this->call(UsersTableSeeder::class); $this-...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEmployeesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('employees', f...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Stok extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('Produk_model'); $this->load->model('Stok_model'); $this->load->model('Transaksi_model'); } ...
<?php declare(strict_types=1); namespace Lits\Data; use DateTimeInterface as DateTime; use Jasny\Auth\ContextInterface as Context; use Jasny\Auth\Storage\TokenStorageInterface as TokenStorage; use Jasny\Auth\StorageInterface as Storage; use Jasny\Auth\UserInterface as User; use Lits\Exception\DuplicateInsertExceptio...
<?php /** * This file is part of the CodeIgniter 4 framework. * * (c) CodeIgniter Foundation <admin@codeigniter.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CodeIgniter\Typography; /** * Typography Class */ c...