text
stringlengths
2
1.03M
<?php namespace App\Http\Controllers; use App\Pembeli; use Hash; use Session; use Alert; use Illuminate\Http\Request; class PembeliController extends Controller { public function index(){ if(!Session::get('login')){ alert()->error('Kamu harus login dulu', 'Gagal'); return redirect('/...
<?php class Update extends CI_Controller { /* Controls Updating Elements of Cloudlog Functions: dxcc - imports the latest clublog cty.xml data lotw_users - imports lotw users */ public function index() { $data['page_title'] = "Updates"; $this->load->view('interface_assets/header', $data); ...
<?php function json_and_die($data){ echo json_encode($data); die(); } function echo_and_die($data = "test"){ echo $data; die(); } function js_json_and_die($data){ echo "<script>var testData = ".json_encode($data)."</script>"; echo "<script>console.log('testData')</script>"; } function js...
<?php namespace app\controllers; use Yii; use app\models\tblclientes; use app\models\TblCatContactos; use app\models\tblcatcontactospuestos; use app\models\tblcatubicaciones; use yii\data\ActiveDataProvider; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\db\Query; use y...
<?php namespace October\Rain\Database\Relations; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations\MorphOne as MorphOneBase; class MorphOne extends MorphOneBase { use MorphOneOrMany; use DefinedConstraints; /** * Create a new...
<?php declare (strict_types=1); namespace Rector\CodeQuality\Rector\Foreach_; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\BinaryOp\Equal; use PhpParser\Node\Expr\BinaryOp\Identical; use PhpParser\Node\Expr\BooleanNot; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Expr\Variable; use Php...
<?php if (!function_exists('html')) { /** * @return Collective\Html\HtmlBuilder */ function html() { return \Collective\Html\HtmlFacade::getFacadeRoot(); } } if (!function_exists('form')) { /** * @return Collective\Html\FormBuilder */ function form() { r...
<?php namespace backend\controllers; use Yii; use backend\models\UserBackend; use backend\models\UserBackendSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * UserBackendController implements the CRUD actions for UserBackend model. */ class UserBackendController ex...
--TEST-- basic context - should handle undefined and null --DESCRIPTION-- basic context - should handle undefined and null --SKIPIF-- <?php if( !extension_loaded('handlebars') ) die('skip '); if( !class_exists('Handlebars\Compiler') ) die('skip handlebars AST not enabled'); ?> --FILE-- <?php use Handlebars\Compiler; us...
@extends('layouts.master') @section('title') Pokemons of the Day | Pokeproject @endsection @section('content') <h2 class="mb-3" style="text-align: center">Your Pokémon of the Day</h2> <div class="mx-5"> <p style="font-size: 18px; text-align: center">Click on the button "Try your luck!" and get a tea...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Kelas_model extends CI_Model { // mengambil semua Kelas public function getAllKelas() { $this->db->select('tb_kelas.*, tb_guru.*') ->from('tb_kelas') ->join('tb_guru', 'tb_kelas.id_guru = tb_guru.id_guru'); return $th...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use App\Answer; use App\Traits\VotableTrait; class Question extends Model { use VotableTrait; protected $fillable = ['title', 'body']; public function user() { return $this->belongsTo(User::class); // $question = Question::find(1);...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Category; use Illuminate\Support\Facades\Auth; use App\Models\User; class CategoryController extends Controller { /** * Display a listing of the resource. * * @return \Illumi...
<?php /** * @file ATTENTION!!! The code below was carefully crafted by a mean machine. * Please consider to NOT put any emotional human-generated modifications as the splendid AI will throw them away with no mercy. */ namespace Swaggest\PhpCodeBuilder\Tests\Tmp\Swagger; use SplObjectStorage; use Swaggest\JsonSchem...
<?php namespace App\Http\Controllers\API\Transaction; use App\Http\Controllers\Controller; use App\Http\Resources\Transaction\TransactionResource; use App\Http\Resources\Transaction\UserTransactionMonthCollection; use App\Http\Resources\Transaction\UserTransactionMonthResource; use App\Models\SubTransaction; use App\...
<?php namespace backend\models\search; use yii\base\Model; use yii\data\ActiveDataProvider; use common\models\Task; /** * TaskSearch represents the model behind the search form of `common\models\Task`. */ class TaskSearch extends Task { /** * {@inheritdoc} */ public function rules() { ...
<div class="modal-dialog modal-lg" role="document"> <div class="modal-content"> <form id="edit_dropout_student_data" name="edit_dropout_student_data" method="post" enctype="multipart/form-data" role="form" onsubmit="return false;"> <div class="modal-header custom-modal"> ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/compute/v1/compute.proto namespace Google\Cloud\Compute\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Represents a machine image resource. A mac...
<?php include ("error.php"); $link=mysqli_connect("localhost","root","","musicfreaks") or die("Not connect to mysql"); if (!$link) { die('Could not connect: ' . mysql_error()); } {session_start(); $sid= $_SESSION['sid']; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtm...
<?php /** * Created by PhpStorm. * User: moveosoftware * Date: 3/25/19 * Time: 7:15 PM */ /** @var Foody_Accessory $feed_accessory */ /** @noinspection PhpUndefinedVariableInspection */ $feed_accessory = $template_args['page']; $feed_accessory->feed();
<?php Route::group(['middleware' => ['web', 'locale', 'theme', 'currency']], function () { Route::namespace('Webkul\Velocity\Http\Controllers\Shop')->group(function () { /** * Cart merger middleware. This middleware will take care of the items * which are deactivated at the time of buy no...
<?php declare(strict_types=1); namespace SoosyzeCore\BackupManager\Hook; use Psr\Http\Message\ServerRequestInterface; use Soosyze\Components\Form\FormBuilder; use Soosyze\Components\Validator\Validator; final class Config implements \SoosyzeCore\Config\ConfigInterface { /** * @var array */ private...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Article */ $this->title = $model->title; $this->params['breadcrumbs'][] = ['label' => 'Articles', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?> ...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <!-- Latest compiled and minified CSS --> <lin...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class productOrder extends Model { use HasFactory; protected $primaryKey = "orderNo"; public function orderDetails(){ return $this->hasMany(tblOrderDetails::class);...
<?php namespace SilverStripe\GraphQL\Scaffolding\Scaffolders\CRUD; use Exception; use GraphQL\Type\Definition\ResolveInfo; use GraphQL\Type\Definition\Type; use SilverStripe\Core\Injector\Injector; use SilverStripe\GraphQL\Manager; use SilverStripe\GraphQL\OperationResolver; use SilverStripe\GraphQL\QueryFilter\DataO...
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use T...
<?php return [ /* |-------------------------------------------------------------------------- | Cross-Origin Resource Sharing (CORS) Configuration |-------------------------------------------------------------------------- | | Here you may configure your settings for cross-origin resource shar...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Setting extends Model { protected $fillable = ['key', 'name','description','value']; protected function currency() { return 1; } }
@extends('layouts.app') @section('title', __('Submission Complete')) @section('content') <section class="success_submission"> <div class="container"> <div class="col-12 col-md-8 m-auto text-center"> <div class="bg_submission"> {{--<strong>{{__('Thank you for s...
<?php namespace Login\Controller; use Zend\Mvc\Controller\AbstractActionController; use Zend\View\Model\ViewModel; class IndexController extends AbstractActionController{ public function indexAction(){ return new ViewModel; } public function testAction(){ return new ViewModel; } }
<?php namespace App\Http\Controllers; use Carbon\Carbon; use Illuminate\Http\Request; //List Model Yang digunakan use App\ProductCategory; class ControllerProductCategory extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function ...
@extends('layouts.default') @section('content') <div class="row"> <div class="col-md-6"> <br /> <br /> <h1>Need to reset your password?</h1> {{ Form::open() }} <div class="form-group"> {{ Form::label('email', 'Email:') }} ...
<?php namespace app\models; use app\models\base\BaseModel; use Yii; use app\services\PurchaseOrderServices; use app\services\CommonServices; /** * This is the model class for table "pur_overseas_demand_rule". * * @property integer $id * @property string $min_money * @property string $max_money * @property int...
<?php declare(strict_types=1); namespace App\Game\Features\Player; abstract class AggregateRoot implements RaiseEventsInterface { /** * @var DomainEventInterface[] */ protected array $events = []; public function popEvents(): array { $events = $this->events; $this->events =...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no,viewport-fit=cover" /> <title>登录</title> <meta name="csrf-token" content="{{ csrf_token() }}"> <link rel="stylesheet" href="{{asset('callCenter/css/mai...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Tour extends Model { protected $table = 'tour'; public $timetamp = false; public function tag() { return $this->belongsTo('App\Tag', 'tag_id', 'id'); } public function company() { return $this->belongsTo('App\Company', 'company_id', 'id'); ...
<?php /* ======================================================================= * Improved File Manager * --------------------- * License: This project is provided under the terms of the MIT LICENSE * http://github.com/misterunknown/ifm/blob/master/LICENSE * ======================================================...
<?php namespace ContainerHuDRd5t; 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_Firewall_Map_Context...
<?php $this->load->view('element/breadcrumb', array('title' => 'Danh sách chi tiết')); ?> <div class="row"> <div class="col-sm-12"> <div class="white-box"> <h4 class="page-title"><?php echo (isset($head_title)) ? $head_title : ''; ?></h4> <div class="table-responsive"> ...
<?php namespace App\Containers\EducationalBackground\UI\API\Tests\Functional; use App\Containers\EducationalBackground\Models\EducationalBackground; use App\Containers\EducationalBackground\Tests\ApiTestCase; /** * Class CreateEducationalBackgroundTest. * * @group educational-background * @group api */ class Cr...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class CooperativeTrainingGraduate extends Model { protected $fillable = [ 'report_date_id', 'institution_id', 'occupation_id', 'regular_level1_male', 'regular_level1_female', 'regular_level2_male', ...
<?php namespace AppBundle\Domain\Service\Mailer; /** * Exception to be thron when there is a problem with the Mailer service * * @package AppBundle\Domain\Service\Mailer */ class MailerException extends \Exception { }
<?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 frontend\controllers; use Yii; use dektrium\user\Finder; use dektrium\user\models\RegistrationForm; use dektrium\user\models\ResendForm; use dektrium\user\models\User; use dektrium\user\traits\AjaxValidationTrait; use dektrium\user\traits\EventTrait; use yii\filters\AccessControl; use yii\web\Contro...
<?php $__env->startSection('title', __('Not Found')); ?> <?php $__env->startSection('code', '404'); ?> <?php $__env->startSection('message', __('Not Found')); ?> <?php echo $__env->make('errors::minimal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Application...
@extends('layout') @section('title') About us @endsection @section('contents') <div class="single-slider page-height3 d-flex align-items-center" data-background="images/bg/purchased-item-bg.jpg" style="background-image: url(&quot;{{ asset('images/bg/purchased-item-bg.jpg') }}&quot;);"> <div class="co...
{{-- <x-layout title="Create Task for list: {{$category->title}}"> --}} <x-layout title="Create Task for list: {{$category->title}}"> <div class="flex justify-center mx-auto w-full"> <div class="flex flex-col w-full"> <h1 class="w-full mb-4 text-center font-semibold">New task for: {{$category->title...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\Models\Turma; use Faker\Generator as Faker; $factory->define(Turma::class, function (Faker $faker) { return [ // ]; });
<?php namespace TaskForce\Utils; abstract class Data { abstract public function toSql(); abstract public function scanDirectory($path); abstract protected function convertFromCsvToSql($path); }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEmailSettingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('email_set...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ if (!defined('BASEPATH')) exit('No direct script access allowed'); if (!function_exists('pre')) { function pre($array)...
<html> <head> <title>JOOXeCROT</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuH...
<?php /** * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\CronArchive; use Exception; use Piwik\CliMulti\Process; use Piwik\Option; /** * This class saves all to be processed siteIds in an Option named '...
<?php namespace App\Entity\User; use App\Entity\Framework\LsDoc; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; use Symfony\Component\Security\Core\User\AdvancedUserInterface;...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Spatie\Translatable\HasTranslations; class BuildingDate extends Model { use HasTranslations; public $translatable = [ 'category', 'note', ]; public function __toString() { $result = "{$this->from}"; ...
@extends('layouts.dashboard') @section('sub-title') {{ $subTitle }} @stop @section('style') <link href="{{ asset('public/assets/admin/css/bootstrap-fileinput.css') }}" rel="stylesheet"> @stop @section('content') <section class="content-header"><h1>Category </h1> <a href="{{url('/category')}}" type="button" class="pul...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Model_kelas extends CI_Model { public $db_tabel = 'kelas'; /************* Penambahan siswa ke kelas **************************/ public function cari_siswa_kelas($id) { return $this->db->query("SELECT a.*, b.nama, b.j...
<?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 Propel package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ namespace Propel\Generator\Behavior\Archivable; use Propel\Generator\Exception\InvalidArgumentException; ...
<?php namespace Casperlaitw\LaravelFbMessenger\Messages; use Casperlaitw\LaravelFbMessenger\Contracts\Messages\CodeInterface; use Casperlaitw\LaravelFbMessenger\Contracts\Messages\Message; /** * Class MessengerCode * @package Casperlaitw\LaravelFbMessenger\Messages */ class MessengerCode extends Message implement...
@extends('Dashboard.index') @section('content') <?php breadCrumb(config("breadcrumb.supplier")); ?> <div id="app"> <supplier></supplier> </div> @endsection
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class SkillCategory extends Model { // }
<link href="{{ asset('new/cal.css') }}" rel="stylesheet"> <div class="container"> <div class="calc"> <div class="inputVal"> <textarea class="#input" value="" rows="2" cols="20"></textarea> </div> <div> <button value="7" id="7">7</button> <button value="8" id="8">8</button> <button ...
<?php namespace Hotel\Validators; use \Prettus\Validator\Contracts\ValidatorInterface; use \Prettus\Validator\LaravelValidator; /** * Class BookingValidator. * * @package namespace Hotel\Validators; */ class BookingValidator extends LaravelValidator { /** * Validation Rules * * @var array ...
<?php namespace Rapidmail\ApiClient\Service\V1\Api\Blacklist\Blacklist\Parameter; use Rapidmail\ApiClient\Service\Parameter\FileAttr; class BlacklistImportParamFileAttr extends FileAttr { /** * @var string[] */ const ALLOWED_MIME_TYPES = [ 'text/plain', 'text/csv' ]; }
<?php /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Here you may define all of your model factories. Model factories give | you a convenient way to create models for testing and seeding yo...
<?php namespace Whitecube\NovaPage\Pages; use Laravel\Nova\Fields\DateTime; use Laravel\Nova\Fields\Text; use Laravel\Nova\Panel; class PageResource extends StaticResource { /** * Get the URI key for the resource. * * @return string */ public static function uriKey() { return ...
<?php class WPML_ST_TM_Jobs extends WPML_WPDB_User { /** * @param wpdb $wpdb * WPML_ST_TM_Jobs constructor. */ public function __construct( &$wpdb ) { parent::__construct( $wpdb ); add_filter( 'wpml_tm_jobs_union_table_sql', array( $this, 'jobs_union_table_sql_filter' ), 10, 2 ); add_filter( 'wp...
<?php namespace App\Http\Controllers; use App\Gestor; use Illuminate\Http\Request; class GestorController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $gestores = Gestor::all(); return ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); } /** * Show the appli...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <link rel="stylesheet" href="<?php echo css...
<?php /* instalation of javascript and css */ function sfsiplus_plugin_back_enqueue_script() { /* include CSS for backend */ wp_enqueue_style("SFSIPLUSmainadminCss", SFSI_PLUS_PLUGURL . 'css/sfsi-admin-style.css' ); if(isset($_GET['page'])) { if($_GET['page'] == 'sfsi-plus-options') { wp_enqueue_style(...
<?php /* Copyright 2013 Jindrich Dolezy (dzindra) 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 applicable law or agreed to ...
<?php if(!defined('HDPHP_PATH'))exit; return array ( 'cid' => array ( 'field' => 'cid', 'type' => 'int(10) unsigned', 'null' => 'NO', 'key' => true, 'default' => NULL, 'extra' => 'auto_increment', ), 'cat_name' => array ( 'field' => 'cat_name', 'type' => 'varchar(45)', 'n...
<?php $entries = array( array('2790064128','2790129663','US'), array('2790129664','2790195199','US'), array('2790195200','2790260735','KR'), array('2790260736','2790326271','US'), array('2790326272','2790391807','HK'), array('2790391808','2790457343','US'), array('2790457344','2790522879','NZ'), array('2790522880','279...
<?php // Version: 2.1; SimpleDesk's administration/custom fields area /** * Displays SimpleDesk's administration for custom fields. * * @package template * @since 1.0 */ function template_shd_custom_field_home() { global $context, $settings, $txt, $modSettings, $scripturl; echo ' <div class="cat_bar"> <h3...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * Tests for \Magento\Framework\Data\Form\Element\Note */ namespace Magento\Framework\Data\Test\Unit\Form\Element; class NoteTest extends \PHPUnit\Framework\TestCase { /** * @var \PHPUnit_Framework_Mo...
<?php session_start(); $_SESSION["ID"] = ""; $_SESSION["Name"] = ""; $_SESSION["Type"] = ""; $username=$_POST['user1']; // Fetching Values from URL $password=$_POST['pass1']; $con = mysql_connect("localhost", "root", ""); if(! $con ) { die('Could not connect: ' . mysql_error()); } $db = mysql_select_db("enrollment", $...
<?php namespace FernleafSystems\Wordpress\Plugin\Shield\Databases\FileLocker; use FernleafSystems\Wordpress\Plugin\Shield\Databases\Base; class Select extends Base\Select { use Common; }
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Ecs\V20140526\Models; use AlibabaCloud\SDK\Ecs\V20140526\Models\DescribeInstanceAttachmentAttributesResponseBody\instances; use AlibabaCloud\Tea\Model; class DescribeInstanceAttachmentAttributesResponseBody extends Model { /...
<?php date_default_timezone_set('Asia/Jakarta'); $tgl_ambil = date('Y-m-d h:i:s'); ?> <!DOCTYPE html> <html lang="en"> <head> <!-- required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Koneksi Bootstrap --> <link href="<?php echo ba...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; use Yajra\DataTables\Facades\DataTables; use Illuminate\Validation\Rule; use App\Tag; class TagController extends Controller { /** * Display a listing of the resource. * * @return \Illumina...
<?php /* * This file is part of Graze Supervisor * * Copyright (c) 2014 Nature Delivered Ltd. <http://graze.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @see http://github.com/graze/supervisor/blob/master/LICENSE * @lin...
<?php /* vim: set expandtab tabstop=4 shiftwidth=4: */ /** * PHP version 5.3. * * Copyright (c) 2009-2013 KUBO Atsuhiro <kubo@iteman.jp>, * 2011 Shigenobu Nishikawa <shishi.s.n@gmail.com>, * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification...
<?php namespace RedBeanPHP; use RedBeanPHP\QueryWriter\AQueryWriter as AQueryWriter; use RedBeanPHP\BeanHelper as BeanHelper; use RedBeanPHP\RedException as RedException; /* PHP 5.3 compatibility */ if (interface_exists('\JsonSerializable')) { /* We extend JsonSerializable to avoid namespace conflicts, can't def...
<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.0"> <link rel="stylesheet" href="style.css"> <script src="https://kit.fontawesome.com/2deba413ff.js" crossorigin="anonymous"></scri...
<?php namespace Magento\Framework\ObjectManager\Config\Reader\Dom; /** * Proxy class for @see \Magento\Framework\ObjectManager\Config\Reader\Dom */ class Proxy extends \Magento\Framework\ObjectManager\Config\Reader\Dom implements \Magento\Framework\ObjectManager\NoninterceptableInterface { /** * Object Mana...
<?php /** * Copyright © 2015, Ambroise Maupate * * 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, mer...
<?php namespace Gigya\GigyaIM\Model\Config\Source; use Magento\Framework\Option\ArrayInterface; class DeletionFrequency implements ArrayInterface { /** * @return array */ public function toOptionArray() { return [ ['value' => '* * * * *', 'label' => __('Every minute')], ['value' => '*/5 * * * *', 'lab...
@extends('MainView.mainview')
<?php include '../superadmin-session.php'; error_reporting(0); if (isset($_POST['submit'])) { mysql_query("START TRANSACTION"); $DepositDate = date('Y-m-d', strtotime($_POST['DepositDate'])); $installment_date = date('Y-m-d', strtotime($_POST['installment_date'])); $currentdate = date("Y-m-d"); $che...
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Illuminate\Support\Facades\DB; use Spatie\Permission\Traits\HasRoles; class Admin extends Authenticatable { use Notifiable; use HasRoles; ...
@extends('layouts.master') @section('head.css') <style> table th { padding-top: 8px; padding-bottom: 8px; text-align: left; background-color: #4CAF50; color: white; } i{ color: #333; } .form-group span{ color: red; } </style> @endsection @section('body.title','Danh sách lớp học') @section('bo...
<?php namespace Alimianesa\Sepandar\SupplierModels; class GetSupplierBillArray { protected array $supplierBill; public function __construct($supplierBill) { $this->supplierBill = $supplierBill; } public function getIndex($index):GetSupplierBill { return $this->supplierBill...
<?php namespace EddBtcAltGateWayCoreLib\frontend\functions; /** * Frontend Functions * * @package Ebapg Admin * @since 1.0.0 * @author CodeSolz <customer-service@codesolz.com> */ if (!defined('CS_EBAPG_VERSION')) { exit; } use EddBtcAltGateWayCoreLib\lib\cartFunctions; class CsEbapgCustomTy { /** ...
@if(Session::has('message')) <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> {{ Session::get('message') }} </div> @endif @if(Session::has('success')) <div class="alert alert-info"> <button type="button" class="clo...
<?php declare (strict_types=1); namespace RectorPrefix20210828; use Rector\Renaming\Rector\FuncCall\RenameFunctionRector; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; # This file configures rector/rector:~0.7.0 to replace all PHP functions with their equivalent "safe" functions...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Statements</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <!-- App favicon --> <link rel="shortcut icon" href="...
<?php namespace App\Http\Middleware; use Illuminate\Http\Middleware\TrustHosts as Middleware; class TrustHosts extends Middleware { /** * Get the host patterns that should be trusted. * * @return array */ public function hosts() { return [ $this->allSubdomainsOfApplicationUrl(), ]; } }