text
stringlengths
2
1.03M
@section('header') <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>{{$title}}</title> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> <link href="{{url('backend/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet" type="text/css" /...
<?= $MainMenu; ?> <h2>User List </h2> <div class="table-responsive"> <table class="table table-bordered table-hover table-stripped"> <thead> <tr> <th>Id</th> <th>User Name</th> <th>Name</th> <th>Last Name</th> <th>Actions</th> </tr> </thead> <tbody> <?php if(isset($users)) { foreach($user...
<?php namespace MakeupBundle\Entity; /** * ProductTreatment */ class ProductTreatment { /** * @var integer */ private $id; /** * @var \MakeupBundle\Entity\Products */ private $product; /** * @var \MakeupBundle\Entity\Treatments */ private $treatment; ...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Controllers\ApiController; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register AP...
<footer id="footer"><!--Footer--> <div class="footer-top"> <div class="container"> <div class="row"> <div class="col-sm-2"> <div class="companyinfo"> <h2><span>e</span>-shopper</h2> <p>Lorem ipsum dolor sit amet,...
@extends('../layouts.app_dashboard_admin') @section('content') <div class="container-fluid"> <div class="row"> <div class="col-11 col-md-11"> <ul class="breadcrumb"> <li> <a href="{{ asset('home') }}">Inicio</a> </li> <li>Usu...
<?php namespace Ilcfrance\Passportstagiaire\SecurityBundle\Controller; use Ilcfrance\Passportstagiaire\SecurityBundle\Form\LoginTForm as LoginTForm; use Ilcfrance\Passportstagiaire\ResBundle\Controller\IlcfranceController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Security\Core\Security; /**...
<?php // +---------------------------------------------------------------------- // | 99PHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2018~2020 https://www.99php.cn All rights reserved. // +--------------------------------------------------...
<!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- Bootstrap CSS...
<?template scope="entity"?> {% if entity.special.category %} <?php /** * {{ project.title }} Categories Form Field Tests * * PHP version 5.3 * {# align("\t", ' ') #} * @version {{ project.version }} * @package {{ project.name | class }}.UnitTest {% for author in project.authors %} * @author {{ author...
<?php return [ 'issue-2123-A' => [ 'ua' => 'Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Mobile Safari/537.36', 'properties' => [ 'Comment' => 'Chrome 64.0', 'Browser' => 'Chrome', 'Browser_T...
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use App\Models\ProductCategory; use Yajra\DataTables\DataTables; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Facades\DB; use Storage; class ProductCategoryController extends Controller { ...
@extends('backend.layouts.main') @section('title', 'Thêm mới danh mục') @section('body') <section class="main--content"> <div class="panel"> <div class="records--body"> <div class="title"> <h6 class="h6"> <i class="fa fa-plus-circle">...
<?php class About extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('header_model'); $this->load->model('about_model'); $this->load->model('contact_model'); $this->load->helper('url_helper'); } public ...
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <title>Trust One Hospital</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <link rel="shortcut icon" href="/favicon.ico"> <!-- Place favicon.ico and apple-touch-icon.png in the root d...
<?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 /** * NumberHelperTest file * * PHP 5 * * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice * ...
<?php namespace ContainerEoC31Yy; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\Exception\RuntimeException; /* * @internal This class has been auto-generated by the Symfony Dependency Injection Component. */ class getSecurity_Csrf_TokenStorageServ...
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Http\Response; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Log; use Laravel\Socialite\AbstractUser; use Laravel\Socialite\Facades\Socialite; class LoginController extends \App\Http\Controllers\Auth\LoginController { /** ...
<x-guest-layout> <x-jet-authentication-card> <x-slot name="logo"> <x-jet-authentication-card-logo /> </x-slot> <x-jet-validation-errors class="mb-4" /> @if (session('status')) <div class="mb-4 font-medium text-sm text-green-600"> {{ session('...
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2017, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
<?php declare(strict_types=1); namespace Rector\Tests\NodeTypeResolver\TypeComparator\Source; final class SomeGenericTypeObject { }
<?php namespace App\Models\Admin; use App\Models\Traits\Relationship\PermissionsGroupRelation; use App\Traits\Admin\HasTranslations; use Illuminate\Database\Eloquent\Model; class PermissionsGroup extends Model { use HasTranslations, PermissionsGroupRelation; protected array $translatable = ['name'];...
<?php namespace App\Http\Requests\Admin\VehicleType; use Illuminate\Foundation\Http\FormRequest; class StoreRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return auth()->check(); ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class M_Dispatch extends VS_Model { public function __construct() { parent::__construct(); foreach ($_POST as $clave => $valor): $this->$clave = $valor; endforeach; } function LoadHeaderOr...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Cms\Controller\Adminhtml\Wysiwyg\Images; use Magento\Framework\App\Filesystem\DirectoryList; /** * Test for \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\NewFolder class. */ class NewFolderT...
<?php declare(strict_types=1); namespace App\Consumer\Handler; use Alchemy\NotifyBundle\Notify\NotifierInterface; use App\Entity\DownloadRequest; use App\Security\Authentication\JWTManager; use Arthem\Bundle\RabbitBundle\Consumer\Event\AbstractEntityManagerHandler; use Arthem\Bundle\RabbitBundle\Consumer\Event\Event...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Tests\Compiler; use PHPUnit\Frame...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Fetch_data_model extends CI_Model { public function __construct() { parent::__construct(); } public function fetchDataModel($accessToken, $jsonArray, $fb) { header("Content-type: application/json"); if (isset($...
<?php /** * Created by PhpStorm. * User: sinao * Date: 2019/1/7 * Time: 10:00 */ namespace app\register\controller; use controller\BasicAdmin; use think\Controller; use think\Db; use think\Request; class Assignment extends Controller { //页面 public function index() { $get=$this->request->get(...
<?php /* AcmeDemoBundle:Welcome:index.html.twig */ class __TwigTemplate_24b985959f8b931e41fe09a1572c3f32 extends Twig_Template { protected $parent; public function __construct(Twig_Environment $env) { parent::__construct($env); $this->blocks = array( 'title' => array($this, 'b...
<?php include "controller.php"; include "koneksi.php"; $cont = new controller; //$query = "SELECT count(*) as total from data_tiket"; //$result=mysqli_query($conn, $query); //$data=mysqli_fetch_assoc($result); //Meyimpan data ke variabel //$no_tiket = 551 + $data['total']; $firstname = $_POST['namestudent']; $as...
<?php namespace TypeRocketPro\Extensions\Seo; use TypeRocket\Utility\ModelField; class MetaData { public $title = null; public $itemId = null; public $meta = null; public $url = null; public function setup() { add_filter( 'jetpack_enable_opengraph', '__return_false', 99 ); add...
<?php namespace App\Http\Controllers\student; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Notification; class NotificationController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateChantierMaterielsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::disableForeig...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</title> <!-- Scripts --> <script src="{{ ass...
@extends('layouts.app') @section('content') <div class="row"> <div class="col-md-12"> <h1>Informações do Revendedor</h1> <hr> <p>Nome: {{ $reseller->name }} </p> <p>Email: {{ $reseller->email }} </p> <p>CPF/CNPJ: {{ $reseller->document }} </p> ...
<?php declare(strict_types=1); /** * This file has been auto generated * Do not change it. */ namespace Commercetools\Api\Models\Error; use Commercetools\Base\DateTimeImmutableCollection; use Commercetools\Base\JsonObject; use Commercetools\Base\JsonObjectModel; use Commercetools\Base\MapperFactory; use stdClass;...
<?php use common\models\DivSemovientes; use common\models\DivSemovientesSearch; use kartik\grid\GridView; use kartik\helpers\Enum; use yii\widgets\Pjax; use kartik\helpers\Html; use yii\widgets\DetailView; use kartik\editable\Editable; use yii\helpers\ArrayHelper; use yii\helpers\Url; /* @var $this yii\web\View */ /* @...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class CategoryModel extends Model { protected $table = 'categories'; protected $fillable = [ 'name' ]; }
<?php /*----------------------------------------------------------------- !!!!警告!!!! 以下为系统文件,请勿修改 -----------------------------------------------------------------*/ namespace app\model\gen; use app\model\index\Article as Article_Index; use ginkgo\Func; //不能非法包含或直接执行 if (!defined('IN_GINKGO')) { return 'Access d...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('usuarios', function (Bl...
<?php /* ** Zabbix ** Copyright (C) 2001-2018 Zabbix SIA ** ** 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 2 of the License, or ** (at your option) any later version. ** ** Th...
<?php namespace divisisatu\controllers; use Yii; use common\models\InboundPo; use common\models\LogInboundPo; use common\models\SearchInboundPo; use common\models\SearchLogInboundPo; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\helpers\Json; use yii\helpers\Url; use ...
<?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 declare(strict_types=1); namespace PhpUnitGen\Core\Generators\Factories; use PhpUnitGen\Core\Aware\DocumentationFactoryAwareTrait; use PhpUnitGen\Core\Aware\ImportFactoryAwareTrait; use PhpUnitGen\Core\Aware\StatementFactoryAwareTrait; use PhpUnitGen\Core\Aware\ValueFactoryAwareTrait; use PhpUnitGen\Core\Contr...
@extends('master') @section('content') <style> /* CUSTOMIZE THE CAROUSEL -------------------------------------------------- */ /* Carousel base class */ .carousel { margin-bottom: 4rem; } /* Since positioning the image, we need to help out the caption */ .carousel-caption { bottom: 3rem; z-index: 10; backgrou...
<?php namespace Sven\ForgeCLI\Commands\Projects; use Sven\ForgeCLI\Commands\BaseCommand; use Sven\ForgeCLI\Contracts\NeedsForge; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Qu...
<?php namespace Order; class Transaction extends \Eloquent { protected $table = 'order_transaction_logs'; static public function recordEntry(\User $user, \Order $order, $event, $message, $data = []) { $record = new static(); $record->user_id = $user->id; $record->order_id = $o...
<?php namespace Yab\Quarx\Repositories; use Quarx; use Config; use CryptoService; use Yab\Quarx\Models\Image; use Yab\Quarx\Services\FileService; use Illuminate\Support\Facades\Schema; class ImageRepository { /** * Returns all Images. * * @return \Illuminate\Database\Eloquent\Collection|static[] ...
<?php namespace Admin\Model; class AdminModel extends \Think\Model{ protected $_validate = array( array('pwd','require','新密码不允许为空',1), // 验证确认密码是否和密码一致 array('pwd','repwd','确认密码不正确',0,'confirm'), // 验证确认密码是否和密码一致 ); public function read(){ $user = D("admin")->where(array("id"=>session("uid")))->getField("...
<?php /** * Created by PhpStorm. * User: Akshat * Date: 9/24/2017 * Time: 1:42 PM */
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Models\Category; use App\Models\Product; use Illuminate\Http\Request; class ProductCategoryController extends Controller { protected $product; protected $category; public function __construct(Product $product, Categ...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit2ee667ca3e28d0bd3cf07c332a1b8dbd::getLoader();
<?php namespace App\Http\Controllers\Web; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Cartalyst\Stripe\Laravel\Facades\Stripe; use Cartalyst\Stripe\Exception\CardErrorException; class AppController extends Controller { public function index(){ return view('app'); } /** ...
<?php namespace finca\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ // ]; }
<?php namespace App\Repositories; use App\Models\GridCard; use App\Repositories\BaseRepository; /** * Class GridCardRepository * @package App\Repositories * @version June 23, 2020, 9:43 am UTC */ class GridCardRepository extends BaseRepository { /** * @var array */ protected $fieldSearchable = ...
<div class="row option-item" data-option-item="{{$parametr->id}}"> <div class="col-12"> <div class="form-group"> <label for="select-list-{{$parametr->id}}">{{$parametr->name}}</label>&nbsp;<a class="text-danger delete-product-option" onclick="event.preventDefault();$(this).parents('.option-item'...
<?php /** * Created by PhpStorm. * User: lyx * Date: 16/3/18 * Time: 下午6:39 */ ?> @if($errors->has($field)) @foreach ($errors->get($field) as $error) <button class="btn btn-danger col-sm-12 btn-flat" style="width: 100%;"> <i class="fa fa-times-circle-o"></i> {{$error}} </button> ...
@extends('app_layouts.master') @section('main_content') <div class="container"> <div class="row card w-50 justify-content-center mx-auto m-5"> <!-- left column --> <div class="card-header"> <h3 class="card-title text-center">ADD DEPARTMENT</h3> </div> <!-- /.c...
<?php namespace App; use App\Http\Models\Role; use Illuminate\Notifications\Notifiable;; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { protected $fillable = [ 'name', 'email', 'password','role_id' ]; protected $hidden = [ 'password', 'remem...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProductVariationsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('product_variations', function(Blueprint $table) { $table->increme...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ use Magento\Quote\Api\CartRepositoryInterface; use Magento\Quote\Api\Data\CartInterface; use Magento\Store\Model\StoreManagerInterface; require __DIR__ . '/paypal_vault_token.php'; /** @var StoreManagerInterface $...
<?php //$form = \yii\bootstrap\ActiveForm::begin(); //echo $form->field($admin, 'num'); //echo $form->field($admin, 'password')->passwordInput(); //echo $form->field($admin, 'rememberMe')->checkbox(); ////echo \yii\helpers\Html::img('/' . $admin->img, ['height' => 30]); //echo \yii\bootstrap\Html::submitButton('登录', ['...
<?php declare(strict_types=1); namespace Dhtech\Auth\Events; /** * Notification that a user logging in is brand new * to this app. */ class UserRegistration extends UserEvent { }
<?php /** * Description of Links.php. * User: static7 <static7@qq.com> * Date: 2017/9/18 12:16 */ namespace app\admin\validate; use think\Validate; class Links extends Validate { protected $rule = [ 'title' => "require|max:30", 'link' => "require" ]; protected $message = [ 't...
<?php namespace App\Http\Controllers\Modules; use App\Abstracts\Http\Controller; use App\Traits\Modules; use App\Models\Module\Module; use Illuminate\Http\Request; class Tiles extends Controller { use Modules; /** * Show the form for viewing the specified resource. * * @param $alias * ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddCustomFieldPermissionTables extends Migration { /** * Run the migrations. * * @return void */ public function up() { $tableNames = confi...
<?php use_helper('sfsCategory') ?> <?php include_partial('core/box_header', array('caption' => __('Categories'))) ?> <?php echo draw_categories_tree($parentTree, $itemRouting, image_tag(sfConfig::get('app_sfshop_core_images_dir').'ar1.gif', array('width' => 3, 'height' => 5, 'align' => 'absmiddle'))) ?> <?php inclu...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateArticlesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('articles', fun...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Va...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\article\Article */ $this->title = $model->idarticle; $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Articles'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div clas...
<?php use yii\helpers\Html; use yii\widgets\DetailView; use app\modules\docs\Module; use app\themes\gentelella\widgets\Panel; use yii\bootstrap\Tabs; use app\modules\docs\models\Task; /* @var $this yii\web\View */ /* @var $model Task */ $this->title = $model->subject; //$this->params['breadcrumbs'][] = ['label' => M...
<!DOCTYPE html> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="../css/prime.css"> </head> <body> <div class="leftcontainer"> <?php session_start(); if(isset($_SESSION['email'])){ $email=$_SESSION['email']; $host="localhost"; $admin="root"; $pss="kinnukutty"; $...
<?php include "../../databaseConn.php"; session_start(); //RECEIVES THE POSTED DATA $prodName = $_POST['prodName']; //END RECEVING OF POSTED DATA $query = $conn->query("select * from `inventory` where `prodDesc` ='".$prodName."'") or die(mysqli_error()); while($fetch = $query->fetch_array())...
<?php namespace App\Listeners\Message; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\InteractsWithQueue; use LINE\LINEBot\Event\MessageEvent\VideoMessage; use Revolution\Line\Facades\Bot; class VideoMessageListener { /** * Create the event listener. * * @return void */ ...
<?php /* MIT License Copyright (c) 2017 Igor Kroitor 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 limitation the rights to use, copy, modify, merge, pu...
@extends('main') @section('content') <div class="container"> <table class="table table-bordered table-striped text-center"> <tr> <th>Imones Pavadinimas</th> <th>Kodas</th> <th>PVM Kodas</th> <th>Adresas</th> ...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:95:"D:\phpstudy\PHPTutorial\WWW\bisousuo-2\public/../application/mobile\view\index\news_detail.html";i:1532051420;}*/ ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="x-frame-options" content="allowall" /> <title>Title</title> ...
<?php # MantisBT - a php based bugtracking system # MantisBT 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 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
<?= $this->extend('_layout/home') ?> <?= $this->section('content') ?> <div class="main-agile"> <!-- banner --> <div id="home" class="w3ls-banner"> <!-- banner-text --> <div class="w3layouts-banner-top"> <div class="container"> <div class="...
<?php if($errors->any()): ?> <div <?php echo e($attributes); ?>> <div class="font-medium text-red-600"><?php echo e(__('Whoops! Something went wrong.')); ?></div> <ul class="mt-3 list-disc list-inside text-sm text-red-600"> <?php $__currentLoopData = $errors->all(); $__env->addLoop($__c...
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Variable\Controller\Adminhtml\System; /** * @magentoAppArea adminhtml */ class VariableTest extends \Magento\TestFramework\TestCase\AbstractBackendController { /** * @covers \Magento\Bac...
<?php /** * ALIPAY API: alipay.marketing.campaign.drawcamp.update request * * @author auto create * @since 1.0, 2020-08-20 13:53:40 */ class AlipayMarketingCampaignDrawcampUpdateRequest { /** * 营销抽奖活动修改 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInf...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); } /...
<?php class Email_model extends CI_Model { //Constructor function __construct() { parent::__construct(); }//Controller End // -------------------------------------------------------------------- /** * Get Email settings from database * * @access private * @param nil * @return array ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Notificaciones */ $this->title = 'Create Notificaciones'; $this->params['breadcrumbs'][] = ['label' => 'Notificaciones', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="notificaciones-create"> ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Enquiry extends Model { protected $fillable = [ 'name', 'email', 'phone', 'message' ]; }
<div class="container"> <div class="panel-group" id="accordion-<?php echo $this->count; ?>"> <?php $this->accordion_count = 0; ?> <?php while ( have_rows( 'accordion_section' ) ) : the_row(); ?> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle...
<?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\CoreBundle\Sitemap\Exception; use Sylius\Bundle\CoreBundle\Sitemap\Model\Sit...
<?php namespace App\Jobs; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use App\Services\Parser; class ParsingJob implements ShouldQueue { use Dispatchable, Int...
@php $nrc_language = config('myanmarnrc.language'); $nrc_regions = config('myanmarnrc.regions_states'); $nrc_townships = config('myanmarnrc.townships'); $nrc_citizens = config('myanmarnrc.citizens'); $nrc_characters = config('myanmarnrc.characters'); @endphp @extends('layouts.app', [ 'class' => '', 'parent...
<?php /** * JBZoo Toolbox - CI-Report-Converter * * This file is part of the JBZoo Toolbox project. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @package CI-Report-Converter * @license MIT * @copyright Copyright (C) JBZ...
@extends('admin.base') @section('content') @if(Session::has('message')) <div class="alert alert-danger" role="alert"> {{ session()->get('message') }} </div> @endif <div class="row"> <div class="card card-plain"> <div class="card-header"> <div class="bg-...
<?php namespace Master; use Zend\ModuleManager\Feature\ConfigProviderInterface; class Module implements ConfigProviderInterface { public function getConfig() { return include __DIR__ . '/../config/module.config.php'; } } ?>
<?php declare(strict_types=1); namespace Shlinkio\Shlink\Core\Options; use Laminas\Stdlib\AbstractOptions; use function Functional\contains; use const Shlinkio\Shlink\DEFAULT_REDIRECT_CACHE_LIFETIME; use const Shlinkio\Shlink\DEFAULT_REDIRECT_STATUS_CODE; class UrlShortenerOptions extends AbstractOptions { pr...
<?php namespace App\Http\Controllers; use App\Like; use App\Post; use Illuminate\Http\Request; use Illuminate\Support\Facades\Redirect; class LikeController extends Controller { public function update(Request $request,Like $like,Post $post) { $data = $request->validate([ 'status' => 'requ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('posts', function ...
@extends('core::page.media') @section('inner-title', "$album->judul - ") @section('mAlbum', 'opened') @section('js') <script src="https://cdn.enterwind.com/template/epanel/js/lib/salvattore/salvattore.min.js"></script> <script type="text/javascript" src="https://cdn.enterwind.com/template/epanel/js/lib/matc...
<?php $page_id = 'view_balance'; ?> <!DOCTYPE html> <!--[if IE 9]> <html class="no-js lt-ie10" lang="en"> <![endif]--> <!--[if gt IE 9]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head> <?php require_once('head.php'); ?> <link rel="stylesheet" href="https://cdn.datatables.net/resp...