text
stringlengths
2
1.03M
<!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"> <link rel="stylesheet" href="css/style.css"> <title>Agenzia Viaggi</title> </head> <body> @include('partials.header') <main...
<?php use Phalcon\Mvc\Application; try { # Include Composer require __DIR__ . '/../libraries/autoload.php'; # Include services require __DIR__ . '/../config/services.php'; # Handle the request $application = new Application($di); # Include modules require __DIR__ . '/../con...
@if(count($errors)>0) <div class="alert alert-danger alert-errors"> <ul> @foreach($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> </div> @endif
<?php /** * @package gantry * @subpackage features * @version 2.0 January 1, 2010 * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2010 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only * * Gantry uses the Joomla Framework (http://www....
<?php namespace App\Http\Controllers\admin; use App\Http\Controllers\Controller; use App\Models\courses; use Illuminate\Http\Request; class CourseController extends Controller { function add_course(Request $req,$id=''){ $id = base64_decode($id); $data = courses::find($id); if($id != ''){...
<?php /* WebProfilerBundle:Collector:config.html.twig */ class __TwigTemplate_8244e4e612a89c1f05c08803942d774b extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("WebProfilerBundle:Profiler:layout.htm...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class ProductRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get th...
<?php namespace app\core; use app\libs\Database; /** * Model */ abstract class Model { /** * @var Database */ public $db; /** * Model constructor. */ public function __construct() { $this->db = new Database; } }
--TEST-- Check for libsodium box --EXTENSIONS-- sodium --FILE-- <?php $keypair = sodium_crypto_box_keypair(); var_dump(strlen($keypair) === SODIUM_CRYPTO_BOX_KEYPAIRBYTES); $sk = sodium_crypto_box_secretkey($keypair); var_dump(strlen($sk) === SODIUM_CRYPTO_BOX_SECRETKEYBYTES); $pk = sodium_crypto_box_publickey($keypair...
<?php declare(strict_types=1); namespace ReallySimpleJWT\Exception; use Exception; use Throwable; /** * Simple PHP exception class for all validation exceptions so exceptions are * more specific and obvious. */ class ValidateException extends Exception { /** * Constructor for the Validate Exception clas...
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2016, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
<?php /** * This file is part of the Spryker Suite. * For full license information, please view the LICENSE file that was distributed with this source code. */ namespace Orm\Zed\ShoppingList\Persistence; use Spryker\Zed\ShoppingList\Persistence\Propel\AbstractSpyShoppingList as BaseSpyShoppingList; /** * Skelet...
<?php /*** * Copyright (c) 2017 d-r-p (Lib4RI) <d-r-p@users.noreply.github.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE ...
<?php $MESS["SALE_HANDLERS_PAY_SYSTEM_TEMPLATE_IFRAME_WOOPPAY_DESCRIPTION"] = "Услугу предоставляет сервис <b>&laquo;Wooppay&raquo;</b>."; $MESS["SALE_HANDLERS_PAY_SYSTEM_TEMPLATE_IFRAME_WOOPPAY_SUM"] = "Сумма к оплате: #SUM#"; $MESS["SALE_HANDLERS_PAY_SYSTEM_TEMPLATE_IFRAME_WOOPPAY_WARNING_RETURN"] = "<b>Обратите вним...
<?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 /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /* * Authors: * - Kunal Marwaha * - kostas * - François B * - Tim Fish * - Claire...
<?php use yii\helpers\Html; use yii\widgets\DetailView; use frontend\models\LineasremitoSearch; use kartik\grid\GridView; use yii\widgets\Pjax; use frontend\models\Personas; /* @var $this yii\web\View */ /* @var $model frontend\models\Remito */ $this->title = "Remito Nº ".$model->Codigo; $this->params['breadcrumbs']...
@extends('bantuan.layout.master') @section('title') PMII - Sarawak Baitulmal Management System (SBMS) @endsection @section('styles') @endsection @section('content') <!-- Page Heading --> <h1 class="h3 mb-4 text-gray-800">Bantuan Am Masjid dan Surau</h1> <div class="row"> &emsp; <a class="btn btn-info" href="{{...
<?php return [ 'all' => 'Tous', 'date' => 'Date', 'empty-logs' => 'La liste des logs est vide!', ];
@extends('layouts.dashboard',[ 'page_title'=>'', 'menu'=>1, 'breadcrumb'=>[ '系統管理' => '', '冷氣電閘紀錄' => Request::url() ] ]) @section('style') @parent <link href="/css/datatables.min.css" rel="stylesheet"> <style> div.dt-buttons { position: relative; float: left; } ...
<?php namespace App\Providers; 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\...
<div class="ui accordion"> @forelse ($faq_items as $faq_item) <div class="title"> <i class="dropdown icon"></i> {{ $faq_item->{'question_' . App::getLocale()} }} </div> <div class="content"> <p class="transition"> {!! $faq_item->{'answer_' ...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use App\Movie; use App\MovieRating; class MovieRatingSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $data = []; foreach(Movie::all() as $movie){ ...
<?php use Illuminate\Database\Seeder; class jogosTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $nomes_jogos =['Diablo 3', 'Dishonored', 'Far Cry 3', 'Mortal Kombat', 'Resident Evil 6', 'Skyrim', 'Tomb Raider']; $...
@extends('layouts.petition') @section('content') <div class="petition-layout"> <header style="background-image:url(http://loremflickr.com/1200/740?random={{ $petition->id }});"> <div> <div class="container"> <h1>{{ $petition->title }}</h1> </d...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fo...
<?php namespace App\Http\Controllers; use App\Exceptions\ProductNotBelongsToUser; use App\Http\Requests\ProductRequest; use App\Http\Resources\Product\ProductCollection; use App\Http\Resources\Product\ProductResource; use App\Model\Product; use Illuminate\Http\Request; use Symfony\Component\HttpFoundation\Response; u...
@extends ('layouts.admin3') @section ('contenido') <!-- div usuario seleccionado--> <div class="row"> <div class="col-md-3 col-sm-6 col-xs-12" style="float:right;"> <div class="info-box bg-light-blue"> <span class="info-box-icon"><i class="fa fa-user text-orange"></i></span> <div class="info-box-conte...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2013 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
@extends('layouts.backend.app') @section('title', 'Post') @push('css') <style> .inner{ padding-left: 13px !important; } .bs-searchbox{ float: left; } </style> <!-- Bootstrap Select Css --> <link href="{{ asset('assets/backend/plugins/bootstrap-select/css/bootstrap-select.css') }}" rel="st...
<?php namespace Myapp\BackBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $crawler = $client->request('GET', '/'); $this->assertContains('H...
<?php namespace App\Validations; class CustomRules{ // Rule is to validate mobile number digits public function mobileValidation(string $str, string $fields, array $data){ /*Checking: Number must start from 5-9{Rest Numbers}*/ if(preg_match( '/^[5-9]{1}[0-9]+/', $data['mobile'])){ /*Chec...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Mikvo</title> <!-- Fonts --> <script src="https://kit.fontawesome.com/cf0dea4152.js" cross...
<?php //proteksinya admin pake cek login dari simple login $this->simple_login->cek_login(); //gabungkan semua layout require('head.php'); require('header.php'); require('nav.php'); require('content.php'); require('footer.php'); ?>
<?php /* * * * Copyright 2012-2020 the original author or authors. * * * * 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 * * * * https://www.apache.org/licenses/LICENSE-...
@extends('layouts.app') @section('content') <aside id="colorlib-hero" class="breadcrumbs"> <div class="flexslider"> <ul class="slides"> <li style="background-image: url( {{ asset('images/cover-img-1.jpg') }});"> <div class="overlay"></div>...
<x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('My Clients') }} </h2> </x-slot> <div class="py-2"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <div class="py-3"> <x-button.basic...
<?php namespace Algolia\AlgoliaSearch\Model\Source; class SortOrderProduct extends AbstractTable { protected function getTableData() { $productHelper = $this->productHelper; return [ 'attribute' => [ 'label' => 'Attribute', 'values' => function () ...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Dapros_infomedia_model extends CI_Model { protected $tbl; protected $limit = 0; protected $offset = 10; function __construct() { parent::__construct(); $this->tbl = "dbprofile_validate_forcall_3p"; ...
<?php return [ /* |-------------------------------------------------------------------------- | Application Environment |-------------------------------------------------------------------------- | | This value determines the "environment" your application is currently | running in. This m...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Tax\Helper; use Magento\Framework\Pricing\PriceCurrencyInterface; use Magento\Store\Model\Store; use Magento\Customer\Model\Address; use Magento\Tax\Model\Config; use Magento\Customer\Model\Session...
<?php namespace SimpleValidator\Validators; use PDO; use SimpleValidator\Base; /** * @author Olivier Maridat */ class Exists extends Base { private $pdo; private $key; private $table; public function __construct($field, $error_message, PDO $pdo, $table, $key = '') { parent::__construc...
<?php /** * SendOauth2C Wrapper For Microsoft and Google OIDC/OAUTH2 For PHPMailer * PHP Version 5.5 and greater * * @version 1.0.0 * @category Class * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project * @author Max Stewart (decomplexity) <SendOauth2@decomplexity.com> * @copyrigh...
<?php /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
<!doctype html> <html class="no-js" lang="en" dir="ltr"> <head> <meta charset="utf-8"/> <meta http-equiv="x-ua-compatible" content="ie=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title> @yield('title', 'Micky Shirts') </title>...
{{-- * @author Archie Disono (webmonsph@gmail.com) * @link https://github.com/disono/Laravel-Template * @license https://github.com/disono/Laravel-Template/blob/master/LICENSE * @copyright Webmons Development Studio --}} <div class="form-row justify-content-end"> @if(isset($csvSource)) ...
<?php require_once "helpers/pdo.php"; require_once "helpers/get_functions.php"; session_start(); // if they are not set, assign null values $item_id = isset($_SESSION['item_id']) ? $_SESSION['item_id'] : ''; $user_id = isset($_SESSION['user_id']) ? $_SESSION['user_id'] : ''; $min_price = isset($_SESSION['min_price']) ...
<?php namespace Box\Spout\Reader; /** * Interface SheetInterface */ interface SheetInterface { /** * @return IteratorInterface Iterator to iterate over the sheet's rows. */ public function getRowIterator(); /** * @return int Index of the sheet */ public function getIndex(); ...
@extends('layouts.app') @section('content') <div class="container"> <h1>Teste</h1> </div> @endsection
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace yii\web; use Yii; use yii\base\InvalidConfigException; use yii\helpers\StringHelper; /** * The web Request class represents an HTTP request * * It encaps...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddForeignKeys extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('service_centers', fu...
<?php /** * Copyright 2017 Google Inc. All Rights Reserved. * * 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 ...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(CustomerSeeder::class); $this->call(WorkTypeSeeder::class); $this->call(ProjectSeeder::clas...
<?php namespace App\Exports; use Maatwebsite\Excel\Concerns\FromCollection; use Maatwebsite\Excel\Concerns\WithHeadings; use Maatwebsite\Excel\Concerns\ShouldAutoSize; use Maatwebsite\Excel\Concerns\WithEvents; use Maatwebsite\Excel\Events\AfterSheet; class TestExport implements FromCollection, WithHeadings, ShouldA...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTableModelsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('table_model...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddUzColumnToDeseasesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('deseases...
<?php namespace Tests\Browser\UseCases\Guest; use Tests\DuskTestCase; use App\Navigator; use App\NavigatorView; use App\NavigatorItem; use App\Curriculum; use Illuminate\Foundation\Testing\DatabaseMigrations; use Laravel\Dusk\Browser; use Laravel\Dusk\Chrome; use App\User; class GuestNavigatorTest extends DuskTestCa...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSalaryPeriodTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('salary_per...
<?php namespace Picqer\Financials\Exact; /** * Class ReasonForLogistic. * * @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=LogisticsReasonForLogistics * * @property string $ID Primary key. * @property int $Active Indicates if the reason code is active. * @property string $Code Code...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTaksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tasks', function (Blueprint $table) { $table->in...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\WeeklyMenuController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your appl...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> @if($errors->any()) {!! implode('', $errors->all('<div>:message</div>')) !!} @endif @if(session('success')) <div class="alert alert sucess">{{session('success')}}</div> @endi...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit9ebd1692518766108e7bb69cb79a46ab { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<!doctype html> <html> <head> <meta charset="UTF-8"> <!--IE Compatibility modes--> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!--Mobile first--> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other h...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePloplesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('ploples', funct...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateServiceManagerTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('manager_...
<?php use Illuminate\Database\Seeder; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('users')->insert([ 'name' => 'Super Usuário', 'email' => 'superUsuario@abv.com', ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateGamedetailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('gamedetails...
<article> <div class="row"> <div class="span8"> <div class="post-image"> <div class="post-heading"> <h3><a href="#"><?php echo $detail['post_title'];?></a></h3> </div> </div> ...
<?php namespace App\Models; use CodeIgniter\Model; class ModelAuth extends Model { public function login_user($username, $password){ return $this->db->table('tb_user')->where([ 'username' => $username, 'password' => $password ])->get()->getRowArray(); } }
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Sk extends CI_Controller { public function __construct() { parent::__construct(); is_logout(); $this->load->model('Sk_model', 'sk'); } public function index() { $data = [ 'user' ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class JurusanController extends Controller { public function data (){ return view ('index'); } public function Tambah Siswa() { return view('tambah-siswa'); } { public function jumlah siswa() retu...
<?php namespace App\Http\Livewire\Components; use App\Models\Professor; use Livewire\Component; class SidebarProfessors extends Component { public $professors; public function render() { $this->professors = Professor::where('user_id', auth()->id())->get(); return view('livewire.components.sidebar-profe...
@include('admin.layouts.head') <body> @include ('admin.layouts.navbar') @include ('admin.layouts.sidebar') <div class="main-panel" id="app"> @yield('content') </div> @include ('admin.layouts.footer') </body> @yield('page-scripts') @include('admin.layouts.scripts') </html>
<?php declare(strict_types=1); namespace Api\Tests\Controllers; use Api\Controllers\BaseController; use Api\Models\Response; use PHPUnit\Framework\TestCase; class BaseControllerTest extends TestCase { public function testCorrectStatusCodeForEncodingError(): void { $baseControllerStub = $this->getMoc...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Message extends Model { use HasFactory; protected $fillable=["msg","name","email"]; }
@extends('layouts_admin.master') @section('content') <div class="card"> <div class="card-header">Category</div> <div class="card-body"> @if ($errors->any()) <div class="alert alert-danger alert-dismissible fade show" role="alert"> @foreach ($errors->all() as $error){{ $error }}@endf...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Gentelella...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <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'...
<?php /** * The template for displaying comments. * * This is the template that displays the area of the page that contains both the current comments * and the comment form. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Start_454 */ /* * If the current post is protected by a password ...
<!-- Left side column. contains the sidebar --> <aside class="main-sidebar"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- Sidebar user panel --> <div class="user-panel"> <div class="pull-left image"> <img src="/storage/...
<?php namespace ChromeDevtoolsProtocol\Model\Debugger; /** * Request for Debugger.resume command. * * @generated This file has been auto-generated, do not edit. * * @author Jakub Kulhan <jakub.kulhan@gmail.com> */ final class ResumeRequest implements \JsonSerializable { /** * Set to true to terminate executi...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Dashboard Admin - Desa Mo...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl ?>/assets/admin/css/public.css"> <title>Document</title> </head> <body> <?php if(Yii::app()->user->hasFlash('hasArticle')) { echo Yii::app()->user->getFlash('hasArticle');...
<?php namespace App\Model\Language\Service\Get\GetLanguages; use App\Model\Language\Repository\LanguageRepository; use App\Model\Language\Service\Get\GetLanguagesInterface; class GetLanguages implements GetLanguagesInterface { private LanguageRepository $repository; public function __construct(LanguageRepos...
<?php namespace App\View\Components; use App\Dalla\Content as ModelContent; use Illuminate\View\Component; class Content extends Component { protected $content; protected $template; /** * Create a new component instance. * * @return void */ public function __construct(ModelConten...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class UserSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('users')->insert([ 'numero_identificacao' => NULL, 'tipo_docume...
<?php @session_start(); //include_once("database/connection.php"); //include_once("core/simple99.php"); //$sql = "update sys_users_verify set suv_status=1 where suv_cli_uid='" . $_SESSION["usr_uid"] . "' and suv_token='".SIMPLE99::getParam("token")."'"; //$db->query($sql); session_unset()...
<?php namespace Migrations; use Core\Migrate; class CreateTableArticle { public function up() { Migrate::createTable('articles', array( 'id int(10) AUTO_INCREMENT', 'category_id varchar(191)', 'title varchar(191)', 'text text', 'image varchar(1...
<?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 defined('BASEPATH') OR exit('No direct script access allowed'); class Produk_model extends CI_Model { var $table = 'tblproduk'; var $column_order = array('kodeproduk','namaproduk', 'jenisproduk','stok'); var $column_search = array('kodeproduk','namaproduk', 'jenisproduk','stok'); var $order = a...
@extends('layouts.master') @section('content') <div class="container"> <div class="row" style="height: 100vh"> <div class="col-md-6 offset-3" style="top: 30%;"> <div class="panel-body text-center"> {!! Form::open(['method'=>'POST', 'route' => 'login.form'], ['class' => 'q-form...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Bare - Start Bootstrap Template</title> <!-- Bootstrap core CSS ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class AddForeignKeysToStatistiquesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('statistiques', function(Blueprint $table) { $table->foreign('...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderIniteb804f8eb775656ffb8e6fa2796f50aa { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php class WooCommerce_Product_Search_ServiceV2 { const SEARCH_TOKEN = 'product-search'; const SEARCH_QUERY = 'product-query'; const TERM_IDS = 'term-ids'; const LIMIT = 'limit'; const DEFAULT_LIMIT = 10; const TITLE = 'title'; const EXCERPT = 'excerpt'; const CONTENT = '...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateMerchantAccountInfosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('me...
<?php use yii\helpers\Html; use app\modules\docs\models\Task; /** @var $this \yii\web\View */ /** @var $model Task */ ?> <ul style="padding-left: 15px;margin-bottom: 0;"> <?php foreach ($model->getAttachedFilesLinks() as $url => $filename): ?> <li><?= Html::a($filename, $url); ?></li> <?php endforea...
<!DOCTYPE html> <html> <head> <title><?php echo $title;?></title> <style type="text/css"> #outtable{ padding:20px; border:1px solid #e3e3e3; width:100%; } #outtable table tr th{ margin-bottom:10px; } .short{ width:20%; } .normal{ width:80%; } tabl...
<?php declare(strict_types=1); namespace Test\Common; use Behat\Mink\Driver\Goutte\Client; use Behat\Mink\Driver\GoutteDriver; use Behat\Mink\Element\NodeElement; use Behat\Mink\Session; use Behat\Mink\WebAssert; use PHPUnit\Framework\Assert; use PHPUnit\Framework\TestCase; abstract class BrowserTest extends TestCas...