text
stringlengths
2
1.03M
@extends('layouts.app') @section('htmlheader_title') admin @endsection @section('main-content') <div class="row"> @if(Session::has('flash_message')) <div class="alert alert-success alert-dismissable fade in"> <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a> <strong>Grandioso!</st...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\CategoriasSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="categorias-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> ...
<?php use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Route; use App\Http\Controllers\IndexController; use App\Http\Controllers\ListController; use App\Http\Controllers\CardController; use App\Http\Controllers\ControlController; use App\Http\Controllers\PanelController; /* |------------------------...
<?= $this->extend('layout/main') ?> <?= $this->section('cs') ?> <!---DataTable CSS ---> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.0.1/css/bootstrap.min.css"> <link rel="stylesheet" href="https://cdn.datatables.net/1.11.3/css/dataTables.bootstrap5.min.css"> <link rel="styles...
<div class="container"> <div class="row justify-content-md-center align-items-center" style="height: 80vh;"> <div class="col-12 col-lg-6"> <p class="h1">Form Login Admin</p> <form action="/user/loginadmin" method="POST"> <?php csrf_field() ?> <div clas...
<page backbottom="30px"> <style> table { border-collapse: collapse; width: 100%; font-size: 10px; } table th { text-align: center; } table, td, th { border: 1px solid black; } .table_no_border td, .table_no_border th { border: 0px solid black; } ...
<?php /** * Created by PhpStorm. * User: ari * Date: 1/31/2015 * Time: 3:53 PM */ namespace CPath\Render\HTML\Element\Table; use CPath\Data\Map\ArrayKeyMap; use CPath\Data\Map\IKeyMap; use CPath\Data\Map\IKeyMapper; use CPath\Data\Map\ISequenceMap; use CPath\Data\Map\ISequenceMapper; use CPath\Render\Helpers\Rend...
<?php namespace Dywee\OrderCMSBundle\Service; use Dywee\CoreBundle\Model\ProductInterface; use Dywee\OrderBundle\Service\OrderElementManager; class BasketManager { /** @var OrderElementManager */ private $orderElementManager; /** @var SessionOrderHandler */ private $sessionOrderHandler; /** ...
@extends('layout') @section('cabecalho') <div class="d-flex justify-content-center p-5"> Produtos </div> @endsection @section('conteudo') @if(!empty($mensagem)) <div class="alert alert-success"> {{ $mensagem }} </div> @endif <div class="table-responsive"> <table class="table table-hover table-dark...
<style type="text/css"> .charts { width: 70%; margin: 0px auto; display: grid; grid-template-columns: 66% auto; padding-left: 0px; padding: 4em 1em; margin: 0; } .chartPenghasilan { width: 40%; /* untuk memberikan jarak dengan objek ba...
<?php /** * @file */ declare(strict_types=1); namespace Donquixote\QuickAttributes\SymbolInfo\ClassMember; interface ClassConstInfoInterface extends ClassMemberInfoInterface { }
@extends('layouts.base') @section('body') <div>app</div> @stop
<form class="make" action="{{ route('tasks') }}" method="post" style="width: 100%;"> <div id="middle_box"> <div class="calc_onlain"> <div class="tablo"> <div class="tablo_primer"> <div class="tablo_primer_text"></div> <div class="tablo_prim...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Mdl_pengaturan extends Mdl_utama { function __construct() { parent::__construct(); $this->table = array( 'name' => 'perusahaan', 'colomn' => array( ), );...
<?php return array ( 'accepted' => ':attribute ត្រូវតែទទួលយក។', 'active_url' => ':attribute គឺមិនមែនជា URL ត្រឹមត្រូវ។', 'after' => ':attribute ត្រូវតែជាផ្នែកមួយនៃការ :date បន្ទាប់ពីកាលបរិច្ឆេទ', 'alpha' => ': គុណលក្ខណៈតែប៉ុណ្ណោះដោយអក្សរ។', 'alpha_dash' => ':attribute អាចមានតែតួអក្សរលេខនិង slashes ...
<?php namespace App; use App\Category; use App\Seller; use App\Transaction; use Illuminate\Database\Eloquent\Model; class Product extends Model { const UNAVAILABLE_PRODUCT = 'unavailable'; const AVAILABLE_PRODUCT = 'available'; // protected $fillable = [ 'name', 'description', 'q...
<button type="submit" class="btn btn-success">Agregar</button>
<?php namespace Elastica\Processor; trigger_deprecation('ruflin/elastica', '7.1.0', 'The "%s" class is deprecated, use "%s" instead. It will be removed in 8.0.', Lowercase::class, LowercaseProcessor::class); /** * Elastica Lowercase Processor. * * @author Federico Panini <fpanini@gmail.com> * * @see https://www...
<?php ?> <div class="wrap"> <h1 class="wp-heading-inline"><?= __('Mitglieder importieren', 'musikcorps') ?></h1> </div>
<?php namespace Oro\Bundle\AddressBundle\Entity; use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; use Doctrine\Common\Util\ClassUtils; use Doctrine\ORM\Mapping as ORM; use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField; use Oro\Bundle\FormBundle\Entity\EmptyItem; use Oro\Bundle\FormBundl...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateOvernightStayTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('overnight...
<?php /** * A class to represent elements that have a value => comment format. * * PHP version 5 * * @category PHP * @package PHP_CodeSniffer * @author Greg Sherwood <gsherwood@squiz.net> * @author Marc McIntyre <mmcintyre@squiz.net> * @copyright 2006-2012 Squiz Pty Ltd (ABN 77 084 670 600) * @licens...
@extends('layouts.default') @section('title', 'კონტაქტი') @section('content') <div class="container text-center" align="center"> <div class="row with-padding"> <div class="col-md-12"> @if(isset($success)) <div class="alert alert-success" role="alert"> <strong>წერილი წარმატებით გაიგზავნა</stron...
@component('mail::message') # CONGRATULATIONS! You won the Scratch To Win Game by matching 3 "You Won!" Cards. This email may serve as proof of winning the game. Thank you again for partnering with Activation Machine! Thanks,<br> Activation Machine Inc. @endcomponent
<?php namespace App\Http\Controllers\UserManagement; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class UserManagementController extends Controller { public function index() { return view("usermanagement.index"); } }
<?php namespace Google\AdsApi\Dfp\v201711; /** * This file was generated from WSDL. DO NOT EDIT. */ class LongCreativeTemplateVariableValue extends \Google\AdsApi\Dfp\v201711\BaseCreativeTemplateVariableValue { /** * @var int $value */ protected $value = null; /** * @param string $uniq...
<!doctype html> <html lang="{{ app()->getLocale() }}"> <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 href="https://...
<?php namespace App\Http\Controllers; use Auth; use App\Like; use Session; use Illuminate\Http\Request; class LikesController extends Controller { public function like($id){ Like::create([ 'user_id' => Auth::id(), 'reply_id' => $id ]); Session::flash("Li...
<?php /** * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 * @copyright Aimeos (aimeos.org), 2019 * @package Controller * @subpackage Jobs */ namespace Aimeos\Controller\Jobs\Product\Import\Xml; /** * Job controller for XML product imports * * @package Controller * @subpackage Jobs */ class Sta...
<div class="form-group"> <label for="title">Title</label> <input id="title" type="text" name="title" class="form-control" value={{ old('title', optional($post ?? null)->title) }}> </div> @error('title') <div class="alert alert-danger">{{ $message }}</div> @enderror <div class="form-group"> <label for="c...
<?php namespace Database\Factories; use App\Models\Books; use Illuminate\Database\Eloquent\Factories\Factory; class BooksFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Books::class; /** * Define the model's d...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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/LICENS...
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may s...
@extends("create") @section("title") Añadir un nuevo video @endsection @section("resource_title") Añadir un nuevo video @endsection @section("form") {!! Form::open(["method" => "post", "enctype" => "multipart/form-data", "route" => "video.store"]) !!} @include("videos._model") {!! Form::close() ...
<?php # $Id$ # PHPlot error test - argument error with returning handler, redo the graph. require 'esupport.php'; set_error_handler('test_catch_return'); require_once 'phplot.php'; $data = array(array('a', 1, 1), array('b', 2, 3), array('c', 3, 5)); $plot = new PHPlot(); # Don't do any output of the error image: $plot-...
<?php namespace Http\AthleteController; use App\Models\Athlete; use App\Models\Team; use Exception; use Http\HttpTest; use Traits\Creates\CreatesAthlete; use Traits\Creates\CreatesTeam; abstract class AthleteControllerTest extends HttpTest { use CreatesAthlete, CreatesTeam; const URL = '/athletes/%s'; ...
<?php /** * Period tool. * * Period is a string representation of the day, week, month or year period: '20151112', '201511', '2015'. * Week period is like day period but value is equal to the end of the period. If week period is started from friday, * then second week of the 2015 is '20150108' - second thursday. ...
<html> <head> <title>Cetak laporan Daftar usulan judul </title> </head> <body> <!--Scrpit prnint --> <a>Gunakan Browser Google Chrome Agar Performa lebih maksimal</a><br> <button onclick="PrintDoc()"><img src="img/print.png">Print Data</button> <button onclick="PrintPreview()"><img src="img/preview.pn...
<?php use common\models\order\Order; use common\enums\OrderStatusEnum; use common\helpers\ImageHelper; use common\enums\ExpressEnum; use common\helpers\AmountHelper; $order_id = $code; $order = Order::find()->where(['id'=>$order_id])->one(); \Yii::$app->params['language'] = \Yii::$app->language = $order->language; ...
<!-- O atributo encytpe, com o valor declarado, define que o elemento enviado via formulário será um arquivo --> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method = "POST" enctype = "multipart/form-data"> <div class="mb-3"> <label for="formFile" class="form-label">Upload de uma imagem</...
@extends('layouts.app') @section('content') <div class="flex justify-center"> <div class="w-8/12 bg-white p-6 rounded-lg"> dashboard </div> </div> @endsection
<!doctype html> <html lang="{{ config('app.locale') }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> <title>{{config('app.name')}}</title> <title>{{config('app.name')}}</title> <meta name="description" content="...
<?php /* * This file is part of the API Platform project. * * (c) Kévin Dunglas <dunglas@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace ApiPlatform\Core\Tests\Bridge\Symfony\Bundle\...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use backend\models\Proyecto; use backend\models\DirectorProyecto; use yii\helpers\ArrayHelper; /* @var $this yii\web\View */ /* @var $model backend\models\DirectorProyectoPorProyecto */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="director-proyecto-po...
<?php declare(strict_types=1); namespace Cspray\AnnotatedContainer; use Generator; /** * Will produce a series of AnnotatedTarget instances for a given set of source code directories. */ interface AnnotatedTargetParser { /** * For each PHP file in the given set of $dirs yield an AnnotatedTarget for each ...
<?php include "koneksi.php"; $ambil_recent = mysql_query("select id_berita,judul,tanggal from tbl_berita order by rand() limit 20",$koneksi); ?> <div class="well sidebar-nav"> <ul class="nav nav-list"> <li class="nav-header">Menu</li> <li><a href="index.php?link=tambahBerita.php">&rarr; Tambah Beri...
<?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\Bundle\WebProfilerBundle\Csp; use Symfony\Component\HttpFoundat...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInitd5763b00f167ca3d24b68b4479b34275::getLoader();
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\EHPC\V20180412\Models; use AlibabaCloud\SDK\EHPC\V20180412\Models\ListAvailableEcsTypesResponseBody\instanceTypeFamilies; use AlibabaCloud\Tea\Model; class ListAvailableEcsTypesResponseBody extends Model { /** * @var bo...
<? $nav = []; foreach ($data['path'] as $key => $value) { $nav[$key ? $value : 'Pages'] = 'admin/members/pages/' . APP::Module('Crypt')->Encode($key); } ?> <!DOCTYPE html> <!--[if IE 9 ]><html class="ie9"><![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class OrderGoods extends Model { //查看订单商品时返回订单 public function order() { return $this->belongsTo('App\Order'); } public function sku() { return $this->hasOne('App\Sku','id','sku_id'); } }
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDocumentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('Semibecas.doc...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> ERROR - 2018-11-28 09:18:17 --> Severity: Core Warning --> PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_zip.dll' - /usr/lib/php/20131226/php_zip.dll: cannot open shared object file: No such file or directory Unknown 0 ER...
<?php /** * Plugin installation and activation for WordPress themes. * * @package TGM-Plugin-Activation * @version 2.3.6 * @author Thomas Griffin <thomas@thomasgriffinmedia.com> * @author Gary Jones <gamajo@gamajo.com> * @copyright Copyright (c) 2012, Thomas Griffin * @license http://opensource.org/...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class SiswaController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $siswa = DB::table('sisw...
<?php namespace ICanBoogie\Module\ModulesTest\Sample\Operation; use ICanBoogie\ErrorCollection; use ICanBoogie\Operation; class OnlineOperation extends Operation { protected function validate(ErrorCollection $errors) { return true; } protected function process() { return true; } }
@extends('layouts.app1') @section('profile','active') @section('isi') <div class="header pb-6 d-flex align-items-center" style="min-height: 500px; background-image: url({{ asset('assets-admin/img/theme/profile-cover.jpg') }}); background-size: cover; background-position: center top;"> <!-- Mask --> <span clas...
<?php header('Access-Control-Allow-Origin: *'); header('Content-Type: application/json'); include "../connection.php"; mysqli_set_charset($conn, 'utf8'); $response = null; $records = null; $medication = null; $presMedication = null; $tempMedicines = null; extract($_POST); if(isset($_POST['patientId'])){ $sql = "SELECT...
<?php namespace Spatie\EventSourcing\Console; use Exception; use Illuminate\Console\Command; use Illuminate\Support\Collection; use Spatie\EventSourcing\Projectionist; use Spatie\EventSourcing\StoredEventRepository; class ReplayCommand extends Command { protected $signature = 'event-sourcing:replay {projector?*}...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateMessageLog extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('message_log', fun...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use App\Models\User; class Role extends Model { use HasFactory; public function users() { return $this->hasMany(User::class); } public static function getRoleBySlug...
<?php use Illuminate\Database\Seeder; class AdminUsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { \DB::statement("SET FOREIGN_KEY_CHECKS=0"); // \DB::table('users')->truncate(); \DB::table('users')->inser...
<?php namespace App\Nova; use App\Nova\RelationFields\StudyUserFields; use Illuminate\Http\Request; use Laravel\Nova\Fields\BelongsToMany; use Laravel\Nova\Fields\HasMany; use Laravel\Nova\Fields\ID; use Laravel\Nova\Fields\Text; use Laravel\Nova\Fields\Trix; use Maatwebsite\LaravelNovaExcel\Actions\DownloadExcel; c...
<?php namespace app\models\manage\searchkey; use Yii; /** */ class JobSearchkeyItem13 extends JobSearchkeyItem { /** * @inheritdoc */ public static function tableName() { return 'job_searchkey_item13'; } }
<?php /** * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/ * CC-BY License - http://creativecommons.org/licenses/by/3.0/ */ bx_import('BxBaseSearchResult'); bx_import('BxDolAlbums'); bx_import('BxTemplVotingView'); class BxBaseSearchResultSharedMedia extends BxBaseSearchResult { var $bDynamic = false;...
<?php $countCart = 0; $countNotif = 0; //if($auth){ //$countCart = $this->load_data->Single('carts', ['member'=>$auth['id'],'status'=>0],'count'); //$countNotif = $this->load_data->Single('notification', ['member'=>$auth['id'],'status'=>0],'count'); //} ?> <header id="app-edu-main-header" class="app-edu-header-...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Pick_problem extends CI_Controller { function __construct() { parent::__construct(); $this->load->model("c/Pick_problem_model", "pick_problem"); $this->load->model("c/Problem_list_model", "problem_list"); } public function index() { ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <!DOCTYPE html> <html lang="en"> <head> <!-- Title --> <title>Login | El' Mio</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compati...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AntChain\TWC\Models; use AlibabaCloud\Tea\Model; class RentalInstallmentPerformance extends Model { // 被申请人还款期数 /** * @example 10 * * @var int */ public $repaymentPeriod; // 被申请人第几期租金支付方式 /** * @exam...
<?php namespace FondOfOryx\Zed\GiftCardProductConnector\Business\Filter; use ArrayObject; use Codeception\Test\Unit; use Exception; use Generated\Shared\Transfer\MoneyValueTransfer; use Generated\Shared\Transfer\PriceProductTransfer; class GiftCardAmountFilterTest extends Unit { /** * @var \Generated\Shared...
@extends('layouts.dash-new') @section('title', 'Add Products Variant') @section('content_header') <h1>Add Products Variant</h1> @stop @section('content') <div class="row"> <div class="col-12 col-sm-12"> <div class="card card-primary"> <div class=""> <!-- <div class="card-header"...
@extends('layouts.layout') @section('css') <link rel="stylesheet" href="/css/welcome.css"> <link rel="stylesheet" href="/css/menu_list.css"> @endsection @section('content') <div class="container"> <div class="menu"> @foreach ($drinks as $drink) <div class="menu_items"> <img src="/img/drink.png"> ...
<?php @session_start(); @ob_start(); error_reporting(0); @header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); @header( 'Date: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); @header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); @header( 'Cache-Control: private, max-age=1' ); @header("Pragma: no-cache"); @h...
<?php namespace App\Models; use App\DTO\AdmitadActionData; use App\DTO\DTO; use App\DTO\Factory\StoreEntityDataFactory; use App\DTO\OrderData; use App\DTO\StoreEntityData; use App\DTO\StoreEventData; /** * Class StoreEvent. * * @property int $id * @property string ...
<?php /** * HiPanel core package * * @link https://hipanel.com/ * @package hipanel-core * @license BSD-3-Clause * @copyright Copyright (c) 2014-2019, HiQDev (http://hiqdev.com/) */ namespace hipanel\widgets\filePreview\types; use hipanel\widgets\filePreview\Dimensions; use hipanel\widgets\filePreview\...
<?php function route_class(){ return str_replace('.','_',Route::currentRouteName()); } function category_nav_active($category_id){ return active_class((if_route('categories.show')&&if_route_param('category',$category_id))); } function make_excerpt($value,$length=200) { $...
<div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="header"> <h1 class="title"><b>ERROR</b></h1> ...
<?php namespace Doctrine\DBAL\Types; use Doctrine\DBAL\Platforms\AbstractPlatform; use function is_float; use const PHP_VERSION_ID; /** * Type that maps an SQL DECIMAL to a PHP string. */ class DecimalType extends Type { /** * {@inheritdoc} */ public function getName() { return Type...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Departamento extends Model { protected $connection = 'dinamico'; protected $table = 'departamentos'; protected $fillable = [ 'idpais', 'nombre', 'condicion' ]; public function ciudades() { ...
<?php namespace dsa\Http\ViewComposers; use Illuminate\Contracts\View\View; class HomeComposer { public function __construct( ) { } /** * Bind data to the view. * * @param View $view * @return void */ public function compose(View $view) { $twoweeks = time(...
<?php namespace App\Http\Controllers; use App\Matkul; use App\Dosen; use App\Progstu; use Illuminate\Http\Request; class MatkulController extends Controller { public function index() { $data = Matkul::all(); return view('matkul.index', compact('data')); } public function create() { ...
<?php use Illuminate\Database\Seeder; class state28TableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { //Create Cities for the state of NC - North Carolina. //If the table 'cities' exists, insert the data to the table. ...
<?php namespace AnhNhan\Converge\Modules\Examples\Examples; use AnhNhan\Converge; use YamwLibs\Libs\Html\Markup\MarkupContainer; /** * @author Anh Nhan Nguyen <anhnhan@outlook.com> */ final class BootstrapExample extends AbstractExample { public function getName() { return 'bootstrap-styles'; } ...
<?php if(!defined('LS_ROOT_FILE')) { header('HTTP/1.0 403 Forbidden'); exit; } ?> <script type="text/html" id="tmpl-ls-gdpr-consent"> <div id="tmpl-gdpr-modal-window"> <form action="post"> <input type="hidden" name="action" value="ls_save_gdpr_settings"> <?php wp_nonce_field('ls-save-gdpr-settings'); ?> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class DropKilometeresInOrders extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('orders', fu...
<?php use Illuminate\Database\Seeder; use Carbon\Carbon; function insertMonitoring($prop, $no, $period, $dc, $site, $date, $auditor, $problem, $location, $obj, $cat, $smkp, $smk3, $ohsas, $iso, $begems, $approver, $status1, $type, $root, $corrective, $due_date1, $pj1, $eviden, $preventive, $due_date2, $pj2, $status2,...
<script> window.onload = function(){ document.getElementById("txt_update_about").focus(); }; $(document).ready(function(){ $('#txt_update_about').focus(function(){ $('.about_error1').text(''); $(this).css("border-color","#006cff"); }) var rule1 = /^[\u4e00-\u9fa5\w\-\']+(\s{1}[\u4e00-\u...
<?php /** * Released under MIT License * (c) 2007 - 2020 Heinrich Stamerjohanns * */ namespace Server; use Nyholm\Psr7\Factory\Psr17Factory; class ResponseFactory { private function __construct() { } private function __clone() { } public static function create() : Response { $psr...
<?php use App\Http\Controllers\ProfilesController; use App\Http\Controllers\TweetController; use Illuminate\Support\Facades\Route; use App\Http\Controllers\TweetsController; use App\Http\Controllers\FollowsController; use App\Http\Controllers\ExploreController; use App\Http\Controllers\TweetLikesController; /* |-----...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 3 of the License, or // (at your option) any later version. // // Moodle ...
@extends('layouts.admin') @section('breadcrumb') <div class="container mt-5 mb-5"> <div class="row"> <div class="col-auto"> <h2>Daftar Pembayaran</h2> </div> </div> <hr> </div> @endsection @section('content') <div class="container mb-5"> ...
<?php defined('BASEPATH') or exit('No direct script access allowed'); use Omnipay\Omnipay; class Paypal_braintree_gateway extends App_gateway { public function __construct() { /** * Call App_gateway __construct function */ parent::__construct(); /** * REQUIRED...
<?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 namespace Google\AdsApi\AdManager\v201808; /** * This file was generated from WSDL. DO NOT EDIT. */ class updateCreativeSetResponse { /** * @var \Google\AdsApi\AdManager\v201808\CreativeSet $rval */ protected $rval = null; /** * @param \Google\AdsApi\AdManager\v201808\CreativeSet...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Micro extends Model { protected $fillable = ['title', 'macro_id']; }
<!DOCTYPE html> <html> <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"> <?php //1. include database, query, arrays, and functions files require('includes/db.php'); $sql = "includes/class_query.sq...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Reset Password</div> <div class="panel-body"> @if (sessi...
<?php echo "reviewer"; ?>
<?php namespace AppTest\Middleware; use AppTest\App; use AppTest\Mockup\TestHandler; use Laminas\Diactoros\ServerRequestFactory; class MethodNotAllowedMiddlewareTest extends App { public function testProcessSkipWhenMethodIsAllowed() { $server_request = (new ServerRequestFactory()) ->crea...