text
stringlengths
2
1.03M
<!doctype html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>Ok</title> </head> <body> <h1>할인 정보</h1> <p> 할 인: <?= $task['name'] ?></p> <p> 기 한: <?= $task['due_date'] ?></p> <p> 가 격: <?= $price['priceVal'] ?></p> </body> </html>
<?php /** * Code related to the individual form fields. * * @package toolbelt */ /** * Display an input field. * * @param string $type The field type to display. * @param array<string> $atts The field attributes. * @param array<mixed> $default_attrs The default field attributes. * @return string The ...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class OrderRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Profil extends Model { protected $guarded = []; public function user() { return $this->belongsTo(User::class); } }
<?php namespace AmoCRM2\Models; use AmoCRM2\Models\Traits\SetDateCreate; /** * Class Unsorted * * Класс модель для работы со Списком неразобранных заявок * * @package AmoCRM2\Models * @author dotzero <mail@dotzero.ru> * @link http://www.dotzero.ru/ * @link https://github.com/dotzero/amocrm-php * * For the ...
<?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 Version20201217161700 extends AbstractMigration { public function getDescription() : string {...
<?php namespace QiQiuYun\SDK\Helper; /** * 短信模板ID */ class SmsTemplate { /** * 验证码模板 */ const VERIFY = 289; const COURSE_APPLY = 292; const COURSE_PUBLISH = 293; const COURSE_PLAY = 294; const HOMEWORK_CHECK = 295; const BUY_SUCCESS_WITH_ACCOUNT = 298; const JOIN_ACTIVITY_F...
@extends('layouts.app') @section('title','Editar Categoria') @section('content') <h4>Editar - {{ $category->name }}</h4> {!! Form::open(['route'=>[ 'categories.update', $category ], 'method'=>'PUT']) !!} <div class="form-group"> {!! Form::label('name','Nombre') !!} {!! Form::text('name', $...
<?php declare(strict_types=1); namespace Printing; class TestCase extends \PHPUnit\Framework\TestCase { }
<?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // no direct access defined('_JEXEC') or die; jimport('jooml...
<?php declare(strict_types=1); namespace Xaben\DataFilter\DataType; class IntegerDataType implements DataTypeInterface { public function prepare(mixed $value): int { return (int) $value; } }
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep the fr...
<?php /** * Created by PhpStorm. * User: dima * Date: 08.02.18 * Time: 14:26 */ /* @var $comments array */ use yii\helpers\Html; ?> <?php foreach ($comments as $comment): ?> <?= Html::tag('h4', Html::encode($comment['author'])); ?> <?= Html::tag('p', Html::encode($comment['text'])); ?> <hr> <?php e...
<?php return array( /* |-------------------------------------------------------------------------- | Application Debug Mode |-------------------------------------------------------------------------- | | When your application is in debug mode, detailed error messages with | stack traces will be shown on every ...
<?php namespace App\Http\Controllers; use App\Models\Category; use Illuminate\Http\Request; use Illuminate\Http\Response; use Session; class CategoryController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() ...
<?php /** * yform. * * @author jan.kristinus[at]redaxo[dot]org Jan Kristinus * @author <a href="http://www.yakamara.de">www.yakamara.de</a> */ class rex_yform_action_redirect extends rex_yform_action_abstract { public function executeAction(): void { // spezialfaelle - nur bei request oder label ...
<?php namespace Appino\Blockchain\Objects; class LatestBlock{ public $hash; public $time; public $block_index; public $height; public $txIndexes; public function __construct($params){ $this->hash = data_get($params, 'hash'); $this->time = data_get($params, 'time'); ...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\CatalogSearch\Test\Unit\Model\Layer\Filter; use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper; use PHPUnit_Framework_MockObject_MockObje...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\Test\MerchantData\Types; use DTS\eBaySDK\MerchantData\Types\ProductSuggestionsType; class...
<?php namespace App\Http\Resources\Admin; use Illuminate\Http\Resources\Json\JsonResource; class LeadStatusGroupResource extends JsonResource { public function toArray($request) { return parent::toArray($request); } }
<div class="share"> <span>Share:</span> <span class="addthis_toolbox"> <a class="no-ajaxy addthis_button_facebook"><span class="icon-facebook"></span></a> <a class="no-ajaxy addthis_button_twitter"><span class="icon-twitter"></span></a> <a class="no-ajaxy addthis_button_mailto hide" target="_blank"><spa...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Http\Response; use App\Http\Requests\HelloRequest; use Validator; use Illuminate\Support\Facades\DB; use App\Person; use Illuminate\Support\Facades\Auth; class HelloController extends Controller { public function index(Request $req...
@extends('layouts.admin.master') @section('title', 'Edit Customer Clearance') @section('content') <div ng-app="EditCustomerClearanceApp" ng-controller="EditCustomerClearanceController" ng-cloak> <div class="card" ng-init="editCusClearanceInfo({{$id}}); clearance.id={{$id}}"> <div class="card-body"> ...
<?php namespace App; class ReligionCategory { public string $name; public int $commonality; public string $founder_title; public string $leader_title; public int $pantheon_max_size; public int $pantheon_min_size; public array $gathering_places; public bool $has_pantheon; public ...
<?hh show(getallheaders()); show(HH\get_headers_secure()); function show($a) { ksort(&$a); var_dump($a); }
@php use Illuminate\Support\Facades\Route; use Illuminate\Support\Str; $section = Str::of(Route::currentRouteName())->explode('.')->pull(1); @endphp <div class="vh-100 sticky-top d-flex flex-column flex-shrink-0 p-3 bg-dark text-white" style="width: 280px;"> {{-- <a href="/" class="d-flex al...
<?php namespace backend\controllers; use kartik\mpdf\Pdf; use Yii; use app\models\Pages; use yii\data\ActiveDataProvider; use yii\web\Controller; use frontend\models\Schedule; use frontend\models\Common; use mPDF; // use kartik\mpdf\Pdf; class ScheduleController extends Controller{ // отображает список доступн...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddDeletedAtAndDeletedByIdToAppointments extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::t...
<?php class Kwc_IncludeCode_Page2_Child_Component extends Kwc_Abstract { public static function getSettings() { $ret = parent::getSettings(); $ret['flags']['hasHeaderIncludeCode'] = true; return $ret; } public function getIncludeCode() { return $this->getData(); ...
<?php include "header.php"; include "vendor_ui.php"; ?> <!-- <script src="/assets/js/galleria.min.js"></script> --> <script src="vendor.js"></script> <div class="main main-raised mt-3"> <div class="section section-basic"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> ...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * Name: Ion Auth Lang - Spanish * * Author: Wilfrido García Espinosa * contacto@wilfridogarcia.com * @wilfridogarcia * * Location: https://github.com/benedmunds/CodeIgniter-Ion-Auth * * Created: 05.04.2010 * * Des...
<?php use App\Http\Controllers\AssuranceController; use App\Http\Controllers\CarController; use App\Http\Controllers\HomeController; use App\Http\Controllers\MessageController; use App\Http\Controllers\PdfController; use Illuminate\Support\Facades\Route; use App\Http\Controllers\ClientController; use App\Http\Controll...
<?php declare (strict_types=1); namespace ConfigTransformer202205302\PhpParser\Builder; use ConfigTransformer202205302\PhpParser\Builder; use ConfigTransformer202205302\PhpParser\BuilderHelpers; use ConfigTransformer202205302\PhpParser\Node; use ConfigTransformer202205302\PhpParser\Node\Stmt; class TraitUseAdaptation...
<?php /** * [PHPFOX_HEADER] */ defined('PHPFOX') or exit('NO DICE!'); /** * * @copyright [PHPFOX_COPYRIGHT] * @author Raymond Benc * @package Module_Quiz * @version $Id: callback.class.php 7059 2014-01-22 14:20:10Z Fern $ */ class Quiz_Service_Callback extends Phpfox_Service { /** * Class constr...
<div id="blurryscroll" aria-hidden="true"></div> <!-- Static navbar --> <nav class="navbar navbar-expand-lg navbar-light"> <a class="navbar-brand" href="index.php?a=home" style=" font-weight: bold;"><?php S('app_full_name') ?></a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="...
<?php /** * Sitemaps XML format docs @link https://www.sitemaps.org/protocol.html * Sitemap validator @link https://validator.w3.org/#validate_by_uri */ return array( /** * Option to enabled\disable Sitemap generation, if disabled shows 404 error */ 'is_enabled' => true, /** * Option to ...
<?php /** * PHPExcel * * Copyright (c) 2006 - 2012 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 auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Smc\V20190601\Models\ListTagResourcesRequest; use AlibabaCloud\Tea\Model; class tag extends Model { /** * @var string */ public $key; /** * @var string */ public $value; protected $_name ...
<!DOCTYPE html> <html lang="pt-br"> <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"> <!-- Bootstrap Icons --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bo...
<?php namespace Database\Factories; use App\Models\Recepcionista; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; class RecepcionistaFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Recepci...
<?php namespace App\Http; use App\Http\Middleware\Api\v1\FindMovieMiddleware; use App\Http\Middleware\Api\v1\FindPersonMiddleware; use App\Http\Middleware\JsonMiddleware; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware sta...
<script> function copyToClipboard(element) { var $temp = $("<input>"); $("body").append($temp); $temp.val($(element).text()).select(); document.execCommand("copy"); //alert swal({ text: "Berhasil di Copy : " + $temp.val(), icon: "success", timer: 1000 }); $temp.remove(); } </script> <d...
<!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Listar Jogos</title> <script src="http://maps.google.com/maps/api/js?sensor=true" type="text/javascript"></script> <script sr...
<?php namespace App\Http\Controllers; use DB; use Illuminate\Http\Request; use Illuminate\Support\Facades\Redirect; use Session; session_start(); class Schedule_controller extends Controller { public function __construct(){ date_default_timezone_set('Asia/Dhaka'); } public function index(){ ...
<?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('dashboard.metronic') @section('title', ' جدول الشركات') <!-- BEGIN CSS --> @section('stylesheets') <link rel="stylesheet" href="{{ asset('vendor/plugins/datatables/datatables.min.css') }}"> <link rel="stylesheet" href="{{asset('vendor/plugins/datatables/plugins/bootstrap/datatables.bootstrap-rtl.css')}}"> @...
<?php namespace App\Http\Resources; use App\Exceptions\AuthenticationException; use App\Exceptions\UserNotFoundException; use Illuminate\Http\Resources\Json\JsonResource; class ErrorResource extends JsonResource { public static $wrap = 'error'; /** * Transform the resource into an array. * ...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class HelperServiceProvider extends ServiceProvider { public function register() { $this->app->bind('Helper', 'App\Helpers\Helper'); } }
<?php namespace App; use Illuminate\Database\Eloquent\Model; class FonteDivulgacao extends Model { protected $fillable=[ 'id', 'nome', 'fonteDivulgacao' ]; protected $table = 'fonte_divulgacao'; }
<script type="text/javascript"> function isEven(n) { return n % 2 == 0; } function isOdd(n) { return Math.abs(n % 2) == 1; } function increaseForm() { var counterForm = $("#counterForm").val(); var counterNow = parseInt(counterForm) + parseInt(1); $("#counterForm").val(counterNow); return counte...
<?php declare(strict_types=1); class ArticleBorrowedApi extends Api { public function __construct() { Auth::access(); $this->loadModels(['ArticleBorrowed', 'Article']); } public function new() { } public function read($id = null) { } public function update() { } public function delete(...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class TypePerson extends Model { protected $fillable = ['tipus']; public function people() { return $this->belongsTo('App\Person', 'idtipo', 'id'); } }
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class IzvrsilacPristup { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure ...
<?php namespace que\utility\structure\lists; /** * Created by PhpStorm. * User: Wisdom Emenike * Date: 6/30/2019 * Time: 11:51 PM * * Title: Single linked list * Description: Implementation of a single linked list */ class SingleLinkedList { /** * Link to the first node in the list */ pri...
<?php namespace App\Http\Controllers; use App\Http\Requests; use Illuminate\Http\Request; use DB; use PDF; class ItemController extends Controller { public function __construct() { $this->middleware('auth'); } public function pdfview(Request $req){ $items = DB::table("event_registration")...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Category extends Model { public function categories(){ return $this->hasMany('App\Category','id_parent'); } }
<?php namespace TMG\Api\ReputationBundle\Handler; use DateTime; use TMG\Api\ApiBundle\Entity\Repository\ReputationEmailRepository; use TMG\Api\ApiBundle\Entity\Reputation; use TMG\Api\ApiBundle\Handler\ApiHandler; class ReputationEmailHandler extends ApiHandler { /** @var ReputationEmailRepository $repository *...
<?php namespace Pwnraid\Bnet\Test\Warcraft; use Pwnraid\Bnet\Test\TestClient; use Pwnraid\Bnet\Warcraft\Realms\RealmRequest; class RealmRequestTest extends \PHPUnit_Framework_TestCase { public function testAll() { $request = new RealmRequest(new TestClient('wow')); $response = $request->all()...
<?php use OpenDialogAi\ActionEngine\Actions\ActionResult; use OpenDialogAi\AttributeEngine\Attributes\ArrayDataAttribute; use OpenDialogAi\AttributeEngine\Attributes\BasicCompositeAttribute; use OpenDialogAi\AttributeEngine\Attributes\BooleanAttribute; use OpenDialogAi\AttributeEngine\Attributes\FloatAttribute; use O...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
<?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Queue\SerializesModels; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Contracts\Bro...
<html> @include('header') <div class="main_container"> <div class="main"> <a href="{{ url()->previous() }}"><button type="button" class="btn btn-secondary" style="margin-left:10px;">@lang('products.return')</button></a><br><br> <div class="row"> <div class="col-md-5"> <form method="p...
<?php /* * Made by Samerton * https://github.com/NamelessMC/Nameless/ * NamelessMC version 2.0.0-pr9 * * License: MIT * * Panel templates page */ if (!$user->handlePanelPageLoad('admincp.styles.templates')) { require_once(ROOT_PATH . '/403.php'); die(); } const PAGE = 'panel'; const PARENT_PAGE =...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Prisijungimas') }}</div> <div class="card-body"> <form meth...
<?php $lang['ftp_no_connection'] = "Geçerli bir bağlantı ID'si bulunamadı. Lütfen herhangi bir dosya işlemi yapmadan önce bağlı olduğunuzdan emin olunuz."; $lang['ftp_unable_to_connect'] = "FTP sunucusuyla belirtiğiniz sunucu adıyla bağlantı kurulamadı."; $lang['ftp_unable_to_login'] = "FTP sunucusuna giriş yapıla...
<?php use App\Http\Controllers\StudentData; use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API ...
<div class="table-responsive"> <table id="income-vs-expenses-summary-table" class="display" cellspacing="0" width="100%"> </table> </div> <script> $("#income-vs-expenses-summary-table").appTable({ source: '<?php echo_uri("expenses/income_vs_expenses_summary_list_data"); ?>', order: [[0, "de...
<?php /* *帮助类 */ namespace yphp; class cliHelp { public function newController($file) { return "<?php namespace ".MODULE."\\controllers; class ".$file."Controller extends \\yphp { public function index() { //put some } } "; } public function newModel($file) { r...
<?php //INSERT.PHP = CREATE NEW EVENT ON CALENDAR/WEEKLY/DAY VIEW (SETS TIME AUTOMATICALLY TO 12:00AM ON CALENDAR VIEW) if(!empty($_POST)) { $title = $_POST['title']; $description = $_POST['description']; $date = $_POST['date']; //NEED TO ADD $dateStartTime = $_POST['dateStartTime']; $duration =...
<?php namespace Neos\Flow\Persistence\Doctrine; /* * This file is part of the Neos.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 * sourc...
<?php namespace Nexmo\Laravel\Tests; use Vonage\Client; class TestServiceProvider extends AbstractTestCase { /** * Define environment setup. * * @param \Illuminate\Foundation\Application $app * * @return void */ protected function getEnvironmentSetUp($app) { $app['c...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<?php /** * Hotlink class. * * @package Unsplash */ namespace Unsplash; use WP_Query; use WP_Post; /** * WordPress hotlink interface. */ class Hotlink { /** * Plugin class. * * @var Plugin */ public $plugin; /** * Constructor. * * @param Plugin $plugin Instance of the plugin abstraction. *...
<?php namespace WatchTower\Tests; use ErrorException; use PHPUnit\Framework\TestCase; use ReflectionException; use WatchTower\Events\ExceptionEvent; use WatchTower\Exceptions\WatchTowerException; use WatchTower\Handlers\HandlerInterface; use WatchTower\Handlers\SomethingWentWrong; use WatchTower\Outputs\Browser; use ...
<?php /** * @license LGPLv3, https://opensource.org/licenses/LGPL-3.0 * @copyright Aimeos (aimeos.org), 2015-2021 */ return array( 'manager' => array( 'lists' => array( 'type' => array( 'delete' => array( 'ansi' => ' DELETE FROM "mshop_text_list_type" WHERE :cond AND siteid = ? ' ...
<?php // Send Javascript header header('Content-type: text/javascript'); // Load variables and locales include_once '../../config.php'; $variables = SYS_PATH.'/core/json/variables.json'; $config = json_decode(file_get_contents($variables)); include_once '../process/locales.loader.php'; ...
<?php namespace app\models; class User extends \yii\base\BaseObject implements \yii\web\IdentityInterface { public $id; public $username; public $password; public $authKey; public $accessToken; private static $users = [ '100' => [ 'id' => '100', 'username' => '...
<?php /** * This is the model class for table "renodcm3_tb_treatmentservice". * * The followings are the available columns in table 'renodcm3_tb_treatmentservice': * @property integer $Id * @property string $TSCode * @property string $Name * @property double $UnitPrice * @property integer $UnitId * @property ...
<?php class Iblock { private $service; public function __construct() { $this->service = new CIBlock; } public function create($data){ $arFields = [ 'ACTIVE' => isset($data['ACTIVE']) ? $data['ACTIVE'] : 'Y', 'NAME' => $data['NAME'], ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Http\Requests\Auth\LoginRequest; use App\Providers\RouteServiceProvider; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class AuthenticatedSessionController extends Controller { /** * Display the login...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
--TEST-- swoole_server/task: task [enable_coroutine] --SKIPIF-- <?php require __DIR__ . '/../../include/skipif.inc'; ?> --FILE-- <?php require __DIR__ . '/../../include/bootstrap.php'; Swoole\Runtime::enableCoroutine(); $pm = new ProcessManager; $randoms = []; for ($n = MAX_REQUESTS; $n--;) { $randoms[] = random_b...
<?php namespace App\Controllers; use CodeIgniter\Config\ForeignCharacters; class pages extends BaseController { public function index() { $data = [ 'title' => 'Home | Muhammad Nur Wahid ...
<?php global $object, $post, $prev_id, $next_id, $inside, $mon_docs, $mon_id; if ( is_single() ) $object = $post; $post_id = $object->ID; $logged = is_user_logged_in(); $oz_meta = get_post_custom( $post_id ); // $count = 0; foreach ( $oz_meta as $key => $value ) { if ( strpos( $key, 'oz_' ) !== 0 ) { unset( $oz_met...
<?php return [ 'Order_num' => '订单编号', 'Wxpay_order_num' => '微信支付订单号', 'User_id' => '用户id', 'Status' => '订单状态', 'Status 0' => '待付款', 'Status 1' => '已付款', 'Status 2' => '已发货', 'Status 3' => '已完成', 'Status 4' => '已关闭', 'Status 5' => '异常', 'Wuliu' => '发货物流公...
@extends('layouts.internal') @section('content') {{-- route: /products/{productcategory}/{slug} -- shows index view of products Properties and Methods of $category: ==================================== id title featured_image created_at updated_at delet...
@extends('master') @section('pageTitle', 'Employees') @section('content') <h3 style="color:black;font-family: 'Abel', sans-serif;font-size: 200%;">Employees </h3> <div class="box box-default"> <div class="box-body"> <div class="col-md-12"> <button class="btn btn-app pull-right" id="btnAddEmp" data-toggle...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; class RegisterController extends Controller { /* ...
<?php /* * This file is part of the Imagine package. * * (c) Bulat Shakirzyanov <mallluhuct@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Imagine\Test\Gd; use Imagine\Gd\Imagine; use Imagine\Test\Image\Abs...
<?php /* * 3.6 Discrete Fourier Transform (Specral) Test */ namespace georgkott\nistphp\tests; use georgkott\nistphp\tests\interfaces\NistTestInterface; class DiscreteFourierTransform implements NistTestInterface { const IDENTIFY = 6; const INDENT = 7; public $indent; public $warning; public fun...
@extends('admin.Layouts.main') @section('title', 'Dashboard') @section('content') <x-page-info pageTitle="Dashboard page" /> <!-- Content Row --> <div class="row"> <!-- Earnings (Monthly) Card Example --> <div class="col-xl-3 col-md-6 mb-4"> <div class="card border-left-primary shadow h-100 py-2"> ...
<?php namespace Some\Other; class Component { public function foo() { } public function bar() { } }
<?php namespace App\Http\Controllers\Client\Auth; use App\Models\Customer; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Auth; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { use AuthenticatesUsers; public func...
<?php namespace Oro\Component\PhpUtils\Tests\Unit; use Oro\Component\PhpUtils\PhpIniUtil; class PhpIniUtilTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider parseBytesProvider */ public function testParseBytes($value, $expectedValue) { $this->assertEquals($expectedValue, Php...
<!DOCTYPE html> <html> <head> <title>Household Services In London, United Kingdom | 99 Right Deals</title> <meta name="description" content="Tons of household services in United Kingdom are awaiting for you on 99 Right Deals like house cleaning, cooking, dusting, grass cutting, driving and so on." /> <!-- xxx Head C...
@extends('layouts.main') @section('title','搜索:'.request()->get('keywords')) @section('content') @if (blank($items)) <div class="card border-light mb-3"> <div class="card-body"> <p class="text-danger">搜索结果为空</p> </div> </div> @else <div class="card ...
<?php /** * Simple mobile navigation * * Used when theme option "Off Canvas Menu Style" is set to "Simple dropdown". * * @package Salient WordPress Theme * @subpackage Partials * @version 10.5 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } global $post; $nectar_options = get_nect...
<?php declare(strict_types=1); namespace GraphQL\Type\Definition; use GraphQL\Error\InvariantViolation; use GraphQL\Language\AST\InputObjectTypeDefinitionNode; use GraphQL\Language\AST\InputObjectTypeExtensionNode; use GraphQL\Language\AST\TypeDefinitionNode; use GraphQL\Utils\Utils; use function count; use functio...
<?php use GDO\UI\GDT_Dialog; /** @var $field GDT_Dialog **/ ?> <div <?=$field->htmlID()?> <?=$field->htmlAttributes?>> <dialog <?php if ($field->opened) : ?>open="open"<?php endif;?>> <div class="gdo-dialog-inner"> <?php if ($field->title) : ?> <h3><?=$field->title?></h3> <?php endif; ?> <?=$field->htm...
@extends('layouts.master') @section('title', 'Admin') @section('content') <table class="table"> <thead class="thead-dark"> <tr> <th scope="col">Id_user</th> <th scope="col">Nom</th> <th scope="col">Prenom</th> <th scope="col">Email</th> ...