text
stringlengths
2
1.03M
@extends('Dashboard.layouts.app') @section('title') {{$Blog->name}} @endsection @section('js') <script src="/admins/global_assets/js/plugins/editors/ckeditor/ckeditor.js"></script> <script src="/admins/global_assets/js/plugins/media/fancybox.min.js"></script> <script src="/admins/global_assets/js/dem...
<x-admin-home> @section('content') <div class="row mb-5"> <div class="col-md-6"> <div class="card"> <div class="card-header">{{ __('Profile') }}</div> <div class="card-body"> <form method="POST" action="{{ route('users.update', Auth::user()->id ) }}"> @csrf ...
<div class="min-h-screen flex flex-col justify-center items-center w-full"> <div class="z-20 w-full flex flex-col items-center justify-center max-w-md px-2 py-4 bg-black shadow-md overflow-hidden sm:rounded-lg"> {{ $logo }} {{ $slot }} </div> </div>
<?php declare(strict_types=1); namespace Medine\ChallengeFive\Tasks\Application\Searcher; use App\Models\Task; use Carbon\Carbon; use Illuminate\Support\Facades\Auth; final class TasksSearcher { public function __invoke(): array { return Task::get()->map(function (Task $task) { return ...
<?php namespace App\Http\Controllers; use App\Models\Employee; use App\Spatie\Permission\Models\Role; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Redirect; use Illuminate\Support\Facades\Validator; class UserController extends Controller { public...
<?php use GuzzleHttp\Middleware; use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Auth; use App\Post; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can re...
<?php namespace tests\Pagination; use Tuum\Pagination\Paginate\Page; use Tuum\Pagination\Paginate\Paginate; require_once __DIR__ . '/../autoloader.php'; class PaginateTest extends \PHPUnit\Framework\TestCase { public function testOnly4() { $list = array( [1, 4, '- 2 3 4'], [2,...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); $autoload['packages'] = array(); $autoload['libraries'] = array('database', 'session', 'pagination', 'template'); $autoload['drivers'] = array(); $autoload['helper'] = array('url','html','form', 'download', 'file'); $autoload['config'] = array(); $a...
<div class="page-header"> <h1> Overtime <small> <i class="ace-icon fa fa-angle-double-right"></i> Filter date of overtime </small> </h1> </div><!-- /.page-header --> <div class="row"> <div class="col-xs-12"> <div class="alert alert-block alert-...
<?php namespace Nip\Database\Manager; use Nip\Application; /** * Trait HasApplication * @package Nip\Database\Manager */ trait HasApplication { /** * @var Application */ protected $application; /** * @param Application $application */ public function setApplication(Application...
<?php class ModelReportReturn extends Model { public function getReturns($data = array()) { $sql = "SELECT MIN(r.date_added) AS date_start, MAX(r.date_added) AS date_end, COUNT(r.return_id) AS `returns` FROM `" . DB_PREFIX . "return` r"; if (!empty($data['filter_return_status_id'])) { $sql .= " WHERE r.return...
<?php /** * This file is part of the "Registered Users" plugin for Wolf CMS. * Licensed under an MIT style license. For full details see license.txt. * * @author Martijn van der Kleijn <martijn.niji@gmail.com> * @copyright Martijn van der Kleijn, 2009-2013 * * Original author: * * @author Andrew Waters <andr...
<?php $this->load->view('user/import_css'); ?> <?php $this->load->view('user/navbar'); ?> <?php $this->load->view('user/sidebar'); ?> <div class="content-wrapper"> <div class="content-header"> <div class="container-fluid"> <div class="row"> <div class="col-sm-12"> <ol class="breadcrumb float-sm-right"> ...
<?php // Heading $_['heading_title'] = 'Your enquiry has been placed!'; // Text $_['text_basket'] = 'Shopping Cart'; $_['text_checkout'] = 'Checkout'; $_['text_success'] = 'Success'; $_['text_customer'] = '<p>Your enquiry has been successfully processed!</p><p>You can view your or...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit61ea0c0e6f7ea8b91c4c7c703949efa1 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
@extends('layouts.admin') @section('title', config('app.name', 'Laravel').' - Realizar Assinatura') @section('content') <div class="container bg-white px-4 py-4 border"> <div class=""> <!-- general form elements --> <div> <div class="box-header border-0"> <h3>Nova Assinatura</h3> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDiagnosesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('diagnoses', f...
<?php /* @Debug/Profiler/icon.svg */ class __TwigTemplate_87df5e5d28b69ac5dc0d246fd928bf7253071fc6d187000b1f1215a5ddada9ba extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateReviewsTable extends Migration { public function up() { Schema::create('reviews', function(Blueprint $table) { $table->increments('id'); $table->timestamps(); $table->string('comment'); $table->i...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Movie extends Model { protected $fillable = [ 'titolo', 'genere', 'trama', 'regista', 'anno' ]; }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Ubigeo; class UbigeoController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the form for...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMtsCostcntrsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('mts_costcn...
<?php class CommonCommand extends CConsoleCommand { }
<?php namespace App\Notifications; use App\Booking; use App\SmsSetting; use App\Traits\SmsSettings; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Messages\NexmoMessage...
<?php /** * Class DBStorageTestAbstract * * @filesource DBStorageTestAbstract.php * @created 31.07.2019 * @package chillerlan\OAuthAppTest\Storage * @author smiley <smiley@chillerlan.net> * @copyright 2019 smiley * @license MIT */ namespace chillerlan\OAuthAppTest\Storage; use chill...
<?php namespace Database\Seeders; use Database\Seeders\RoleSeeder; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call([ RoleSeeder::class, ]);...
<?php /** * The payment token endpoint. * * @package WooCommerce\PayPalCommerce\ApiClient\Endpoint */ declare(strict_types=1); namespace WooCommerce\PayPalCommerce\ApiClient\Endpoint; use WooCommerce\PayPalCommerce\ApiClient\Authentication\Bearer; use WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentToken; use...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Member extends Model { public function group() { return $this->belongsTo('App\Group'); } }
<?php namespace ConstantCondition; class BooleanAnd { public function doFoo(int $i, bool $j, \stdClass $std, ?\stdClass $nullableStd) { if ($i && $j) { } $one = 1; if ($one && $i) { } if ($i && $std) { } $zero = 0; if ($zero && $i) { } if ($i && $zero) { } if ($one === 0 && $one) ...
<?php while (have_posts()) : the_post(); ?> <article <?php post_class(); ?>> <header> <h1 class="entry-title"><?php the_title(); ?></h1> <?php get_template_part('templates/entry-meta'); ?> </header> <div class="entry-content"> <?php the_content(); ?> <?php if ( function_exists( 'get_cfc...
<?php declare (strict_types=1); namespace RectorPrefix20211109\Symplify\Skipper\Matcher; use RectorPrefix20211109\Symplify\Skipper\FileSystem\FnMatchPathNormalizer; use Symplify\SmartFileSystem\SmartFileInfo; final class FileInfoMatcher { /** * @var \Symplify\Skipper\FileSystem\FnMatchPathNormalizer */ ...
<?php namespace Modules\Jobs\Service; use Illuminate\Support\Str; use Modules\Jobs\Entities\JobCategory; use Modules\Jobs\Repositories\JobCategoryRepository; class JobCategoryService { protected $repository; public function __construct(JobCategoryRepository $repository) { $this->repository = $re...
<?php namespace As247\Fact\Database\Schema; class SqliteSchemaState extends SchemaState { /** * Dump the database's schema into a file. * * @param string $path * * @return void */ public function dump($path) { asdb_with($process = $this->makeProcess( $this...
<?php namespace Database\Factories; use App\Models\Subjecttype; use Illuminate\Database\Eloquent\Factories\Factory; class SubjecttypeFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Subjecttype::class; /** * Def...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="apple-touch-icon" sizes="76x76" href="/assets-db/img/apple-icon.png"> <link rel="icon" type="image/png" href="/assets-db/img/favicon.png"> ...
<?php use common\helpers\Html; use yii\widgets\ActiveForm; use common\components\enums\YesNo; use common\models\mall\AttributeSet as ActiveModel; use common\models\mall\Attribute; /* @var $this yii\web\View */ /* @var $model common\models\mall\AttributeSet */ /* @var $form yii\widgets\ActiveForm */ $this->title = ($...
<?php namespace Crm\PaymentsModule\DI; use Kdyby\Translation\DI\ITranslationProvider; use Nette\DI\CompilerExtension; final class PaymentsModuleExtension extends CompilerExtension implements ITranslationProvider { private $defaults = []; public function loadConfiguration() { // set default value...
<?php /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Test\DependencyResolver; use Co...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; /** * @property integer $id * @property string $name * @property string $created_at * @property string $updated_at * */ class DocumentType extends Model { /** * The "type" of the auto-incrementing ID. * * @var string *...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends CI_Controller { public function __construct(){ parent::__construct(); // Load model $this->load->model('blog'); } /** * Index Page for this controller. * * Maps to the following URL * http://example.co...
<? session_start(); $tipo_usuario=$_SESSION["idtipo"]; $login=$_SESSION["login"]; $idusuario=$_SESSION["idusuario"]; require_once('../../conexion/conexion.php'); $nombre=strtoupper($_GET['usuario']); $sql60 = "SELECT idcategoria FROM categoria WHERE nombre_categoria='$nombre' LIMIT 1"; $result60 = $db->query($sql6...
<?php require dirname(__FILE__) . '/../vendor/autoload.php'; $secretId = "COS_SECRETID"; //"云 API 密钥 SecretId"; $secretKey = "COS_SECRETKEY"; //"云 API 密钥 SecretKey"; $region = "ap-beijing"; //设置一个默认的存储桶地域 $cosClient = new Qcloud\Cos\Client( array( 'region' => $region, 'schema' => 'https', //协议头部,默...
<?php namespace Google\AdsApi\AdManager\v202008; /** * This file was generated from WSDL. DO NOT EDIT. */ class MarketplaceComment { /** * @var int $proposalId */ protected $proposalId = null; /** * @var string $comment */ protected $comment = null; /** * @var \Googl...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Spp */ $this->title = Yii::t('app', 'Spp Baru'); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Daftar Spp'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="spp-create"> <h1><?=...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Sizeproduct extends Model { use HasFactory; protected $table='sizeproduct'; public $timestamps = FALSE; protected $fillable = ['id','name']; }
<?php namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { use CreatesApplication; protected function signIn($user = null) { $user = $user ?: factory('App\User')->create(); $this->actingAs($user); return $user; ...
<?php namespace Opg\Lpa\Pdf\Worker; class TestWorker extends AbstractWorker { /** * Return the object for handling the response * * @param $docId * @return Response\TestResponse */ protected function getResponseObject($docId) { return new Response\TestResponse($docId); ...
<?php namespace App\Exceptions; use Exception; use Illuminate\Validation\ValidationException; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Database\Eloquent\ModelNotFoundException; use Laravel\Lumen\Exceptions\Handler as ExceptionHandler; use Symfony\Component\HttpKernel\Exception\HttpException; ...
<div id="hidden_div" style="display: none;"> <div> <table style="width: 100%;" border="0"> <tr> <td style="width: 25%" align="center"> <img src="{{asset('img/LOGO1.png')}}" alt="" width="50%"> </td> <td style="width: 50%" align="center" > <p style="font-size:10;"> <b style="font-size...
<?php use App\Services\GeneticAlgorithm\Individual; use App\Services\GeneticAlgorithm\Population; use App\Services\GeneticAlgorithm\GeneticAlgorithm; use App\Appliance; use Carbon\Carbon; use App\Services\GeneticAlgorithm\Schedule; use App\Prcu; use App\Services\GeneticAlgorithm\SchedulingGA; use App\Services\GeneticA...
@extends('layouts.home') @section('title','Edit Request') @section('headerjs') <script src="https://cdn.ckeditor.com/ckeditor5/31.1.0/classic/ckeditor.js"></script> @endsection @section('content') <div class="container pt-5 mb-5"> </div> <div class="site-section"> <div class="container"> <div class=...
@extends('layouts.app_backend') @section('title', 'Danh sách keywords') @section('content') <h1>Quản lý từ khoá</h1> @if (session('success')) <div class="alert alert-success alert-dismissible" style="position: fixed; right: 15px; top: 60px; left: 60%;"> <strong>Thành công!</strong> {{ sessio...
@extends('wap.master.index') @section('title','订单列表') @section('head') <link rel="stylesheet" type="text/css" href="/wap/css/base.css"/> <link rel="stylesheet" type="text/css" href="/wap/css/address.css" /> <link rel="stylesheet" type="text/css" href="/wap/css/loaders.min.css"/> <link rel="stylesheet" t...
<?php namespace Sass\Http\Controllers\Export\OceanExport; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\Storage; use Sass\AccInvoice; use Sass\AccInvoiceCarg...
<?php namespace Scholr\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * @var array */ protected $middleware = [ \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::cla...
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
@component('layouts.app') @slot('title') Admin Panel @endslot <index></index> @slot('script') <script> let users = <?php echo json_encode($users); ?> </script> <script src="//{{ Request::getHost() }}:6001/socket.io/socket.io.js"></script> <script src="{{ mix('/js/admin/index.min.js') }}"></script> @endslot @end...
@extends('layout.app') @section('meta') @include('layout.meta') @endsection @section('title', 'Pengrajin') @section('content') <div class="container" style="padding-bottom: 100px"> <div class="row"> <div class="col-md-12 mg-bottom-30 mg-top-30"> <div class="title_custom text-ce...
@extends('backend.layouts.app') @section('title','Monthly Fee Due List') @section('content') <div id="content" class="content"> <div class="row"> <div class="col-xl-12"> <div class="panel panel-inverse" data-sortable-id="form-stuff-1...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddCategoreyIdToPagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('pages', ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Transaction; use App\Payable; use App\User; use Auth; use Config; class PaymentController extends Controller { public function index(){ $user = Auth::user(); $prefix = Config::get('rave.prefix'); $unique = uniqid($prefix.'_'); $txr...
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator c...
<?php Route::get('/login', 'Auth\AuthController@authenticate'); Route::post('/login', 'Auth\AuthController@authenticate'); Route::get('/logout', 'Auth\AuthController@logout'); /* |-------------------------------------------------------------------------- | Application Routes |----------------------------------------...
<?php namespace App\Http\Controllers; use App\BasicSetting; use App\Faqs; use App\Menu; use App\Page; use App\Service; use App\Slider; use App\Social; use App\Testimonial; use Illuminate\Http\Request; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\Session; use Intervention\Image\Facades\Image; ...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:76:"/home/wwwroot/school.wxn.fun/public/../application/admin/view/art/index.html";i:1547541560;s:69:"/home/wwwroot/school.wxn.fun/application/admin/view/public/title.html";i:1547449831;}*/ ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title><?php echo $s...
@extends('layouts.back') @section('header') <div class="header"> <h2> <i class="material-icons icon_left">border_color</i> Postovi<a href="#" onclick="history.back(-1)"><i class="material-icons pull-right">keyboard_return</i><i class="pull-right go_back">Nazad</i></a> <small>Dodavan...
<?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 | ...
<?php declare(strict_types=1); namespace L3tum\PrometheusMetricsBundle\Tests\DependencyInjection; use L3tum\PrometheusMetricsBundle\DependencyInjection\Configuration; use PHPUnit\Framework\TestCase; use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; class ConfigurationTest extends Test...
@if ($errors->any()) @foreach ($errors->all() as $error) {{ Toastr::error($error) }} @endforeach @endif
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Pembelian extends Model { /** * The database table used by the model. * * @var string */ protected $table = 'pembelians'; public function createdby(){ return $this->...
<?php /** * Created by PhpStorm. * User: isidoris-simplon * Date: 28/07/17 * Time: 07:45 */ class Game { private $id; private $playerA; private $playerB; private $boatA; private $boatB; private $shootA; private $shootB; /** * Game constructor. * @param $id * @param ...
<?php namespace app\modules\admin; use app\rbac\Rbac; use Yii; use yii\filters\AccessControl; /** * admin module definition class */ class Module extends \yii\base\Module { /** * @inheritdoc */ public $controllerNamespace = 'app\modules\admin\controllers'; public $layout = 'main'; /** ...
<?php namespace SGS\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class CategoriaFormRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * ...
<?php /** * Class carousel_galerieintegration */ class carousel_galerieintegration { /** * carousel_galerieintegration constructor. */ function __construct() { global $content, $checked, $cms, $db; $this->content = &$content; $this->checked = &$checked; $this->cms = &$cms; $this->db = &$db; //Adm...
<?php namespace app\modules\admin\controllers; use Yii; use app\modules\admin\models\Reserve; use app\modules\admin\models\ReserveSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * ReserveController implements the CRUD actions for Reserve model. */ class ReserveCon...
<?php /* * This file is part of the Silex framework. * * (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 Silex; use Silex\Exception\ControllerFrozenException; use Symfony\Comp...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>UBold - Responsive Admin Dashboard & Landing Page Template</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta content="A fully featured admin theme which can be used to build CRM, CMS, etc." name="...
<?php namespace Supervisor\Configuration\Writer; use Indigo\Ini\Renderer; /** * Provides an INI Renderer. * * @author Márk Sági-Kazár <mark.sagikazar@gmail.com> */ trait HasIniRenderer { /** * @var Renderer */ protected $renderer; /** * @return Renderer */ protected function ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Analytics; use Spatie\Analytics\Period; use Carbon\Carbon; use DateTime; use App\ConfigPage; use App\ConfigInfo; use App\User; use Auth; use DB; class TotalAnalytics extends Controller { public function index(){ $month = $this->getDayOfM...
<?php /** * ALIPAY API: alipay.commerce.cityfacilitator.station.query request * * @author auto create * @since 1.0, 2016-08-03 16:10:49 */ class AlipayCommerceCityfacilitatorStationQueryRequest { /** * 地铁购票站点查询 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $termina...
<?php class InstallerController extends \BaseController { public function install() { if (Request::isMethod('post')) { $step = Session::get('step'); $inputs = Input::all(); foreach ($inputs as $key => $value) { Session::put($key, $value); } ...
<?php namespace App\Http\Controllers\StudentAuth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Support\Facades\Auth; use Hesto\MultiAuth\Traits\LogsoutGuard; class LoginController extends Controller { /* |----------------------------------------------...
<? $segment = Request::segment(2); $sub_segment = Request::segment(3); switch ($segment) { case "": $dashboard = "active"; $payment = ""; $investiment = ""; $setting = ""; $indicated = ""; break; ...
<?php declare(strict_types=1); namespace Pnz\MattermostClient\Api; use Pnz\MattermostClient\Exception\InvalidArgumentException; use Pnz\MattermostClient\Model\Status; use Pnz\MattermostClient\Model\Team\Teams; use Pnz\MattermostClient\Model\User\User; use Pnz\MattermostClient\Model\User\Users; use Pnz\MattermostClie...
<x-dropdown> <x-slot name="trigger"> <button class="py-2 pl-3 pr-9 text-sm font-semibold w-full lg:w-32 text-left flex lg:inline-flex"> {{ isset($currentCategory) ? ucwords($currentCategory->name) : 'Categories' }} <x-icon name="down-arrow" class="absolute pointer-events-none" style...
<?php namespace App\Http\Middleware; use Closure; class LoginMiddleware { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { if(!session('nome...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\search\AuthorsSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="authors-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateOrderItemsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('order_items'...
@extends('frontend.supervisor-template') @extends('errors.alert') @section('content') <body class="hold-transition sidebar-mini"> <form action="{{ $supervisorTask->id > 0 ? route('post-supervisor-task-created' , [$supervisorTask->id] ) : route('post-supervisor-task-created' , ['id' => 0] ) }}" ...
<div class="container"> <!-- Outer Row --> <div class="row justify-content-center"> <div class="col-lg-7"> <div class="card o-hidden border-0 shadow-lg my-5"> <div class="card-body p-0"> <!-- Nested Row within Card Body --> <div clas...
<h3>Käyttöohje</h3> <p>Valitse emälle ja isälle värit taulukosta. Jos et ole varma yhdistelmistä, kokeile erilaisia. Ruksattujen kohtien muodostaman värin voi lukea taulukon yläreunasta, ja kokeilemalla löydät oikeat värit vanhemmille. Esimerkiksi ruksaamalla ruunikon ja voikon, muodostuu ruunivoikko ja lisäämällä esim...
<?php /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Util; use PHPUnit\Framework\TestCase; class GlobalStateTest extends Tes...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-10 col-md-offset-1"> <div class="panel panel-default"> <div class="panel-heading">Dashboard</div> <div class="panel-body"> ddCMS ...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<?php namespace Surfnet\StepupMiddleware\Migrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your needs! */ class Version20160719090050 extends AbstractMigration { /** * @param Schema $schema */ public funct...
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInit03dc82e6a545235fbe3532a465760262 { public static $files = array ( '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', '1d1b89d124cc9cb8219922c9d...
<?php namespace App\Models\RedshiftModels; use Illuminate\Database\Eloquent\Model; class Feed extends Model { protected $connection = 'redshift'; public $timestamps = false; protected $guarded = []; }
@extends('layout.app') @section('content') <style type="text/css"> .modal-dialog{width: 900px;} .invoice-note {margin-top: 35px;} .printable {display: none;} .customerInfo p{margin-bottom: 2px;} .customerInfo, .invoiceInfo{float: left;padding: 0 10px;} .table{margin-...
<?php /** * * Publishing and Managing State * ====== * * After applying changes, the Editor queues a worker to publish mail, feed, * and notifications, and to perform other background work like updating search * indexes. This allows it to do this work without impacting performance for * users. * * When work ...
<?php if(isset($this->model)) { if($this->multiline) { echo CHtml::activeTextArea($this->model, $this->attribute, $this->htmlOptions); } else { echo CHtml::activeTextField($this->model, $this->attribute, $this->htmlOptions); } } else { if($this->multiline) { echo ...