text stringlengths 2 1.03M |
|---|
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class AddForeignKeysToLocationsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('locations', function(Blueprint $table)
{
$table->foreign('id_use... |
<?php
namespace Tests\Browser\Pages;
use Laravel\Dusk\Browser;
use Laravel\Dusk\Page;
use Tests\Browser\Components\SimpleForm;
use Tests\Browser\Components\LoginForm;
class Login extends Page
{
protected $email;
protected $password;
/**
* Get the URL for the page.
*
* @return string
... |
<?php
namespace Burzum\FileStorage\Storage;
use InvalidArgumentException;
use ReflectionClass;
use RuntimeException;
/**
* StorageManager - manages and instantiates Gaufrette storage engine instances
*
* @author Florian Krämer
* @copyright 2012 - 2017 Florian Krämer
* @license MIT
*/
class StorageManager {
co... |
<!DOCTYPE html>
<html lang="en">
<!-- Basic -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Mobile Metas -->
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Site Metas -->
<title>Ishakiro | Landing Page</title>
<me... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBoothsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('booths', functio... |
<?php
abstract class PhabricatorDashboardController extends PhabricatorController {
} |
<?php
namespace Spinen\ConnectWise\Models\v2019_3\Procurement;
use Carbon\Carbon;
use Spinen\ConnectWise\Support\Model;
/**
* Class PricingBreak Version v2019_3
*
* Model for PricingBreak
*
* @property Metadata $_info
* @property boolean $unlimited
* @property float $amount
* @property float $quantityEnd
* ... |
<?php
/**
* This file is part of the highcharts-bundle package.
*
* (c) 2017 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble;
use JsonSerializable;
use WBW\Li... |
<?php
declare(strict_types=1);
namespace PrettifyStudio\Twitter\Http;
use PrettifyStudio\Twitter\Contract\Configuration;
use League\OAuth2\Client\Provider\GenericProvider;
/**
* @codeCoverageIgnore
*/
class OAuth2Provider extends GenericProvider
{
public const ACCESS_TOKEN_URL = 'https://api.twitter.com/oauth... |
<?php
require_once '../src/Mind.php';
$Mind = new Mind();
/* These are two points in Turkey */
$point1 = array('lat' => 41.008610, 'long' => 28.971111); // Istanbul
$point2 = array('lat' => 39.925018, 'long' => 32.836956); // Anitkabir
//Array
//(
// [m] => 4188.59
// [km] => 4.19
// [mi] => 2.6
// [ft... |
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://hyperf.wiki
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
namespace Hyperf\Nats\Encoders;
/**
* Interface Encoder.
*/
interface Encoder
{... |
<?php $__env->startSection('content'); ?>
<link rel="stylesheet" href="<?php echo e(asset('css/style.css')); ?>" type="text/css">
<div class="layer">
<div class="menu">
<a href="../"><img src="/images/head.png" class="head"></a>
<div class="links">
<a href="<?php echo e(url('/normalgal... |
<?php
/** @var array $cartItems */
use common\models\Product;
use yii\helpers\Html;
use yii\helpers\Url;
?>
<div class="card">
<div class="card-header">
<h4>Your Cart Items</h4>
</div>
<div class="card-body p-0">
<?php if(!empty($cartItems)): ?>
<table class="table table-hover... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Ecs\V20140526\Models;
use AlibabaCloud\Tea\Model;
class JoinResourceGroupResponse extends Model
{
/**
* @description requestId
*
* @var string
*/
public $requestId;
protected $_name = [
'r... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
/*
... |
<?php
namespace danielme85\CConverter;
use Illuminate\Support\Facades\Facade;
/**
* Description of CConverterFacade
*
* @author dmellum
*/
class CConverter extends Facade {
protected static function getFacadeAccessor()
{
return 'Currency';
}
} |
@extends('layout.master')
@section('content')
<header class="header "
style="background-image: url(https://bellroy.imgix.net/cms_images/2693/de-galaxy-grey-header-image-desktop-2105.jpg?auto=format&fit=max)">
<div class="container">
<div class="row text-white">
<div class="col-md-6 ">
... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class Update1501465665SchedulesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('schedules', function (Blueprint $table) {
... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... |
<?php
/**
* Copyright 2020 Sage Intacct, Inc.
*
* 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
*
* or in the "LICENSE" file accompanyin... |
<!-- slider section -->
<section class="slider" id="home">
<div class="container-fluid">
<div class="row">
<div id="slides" class="carousel slide carousel-fade" data-ride="carousel">
<div class="header-backup"></div>
<!-- Wrapper for slides... |
<?php
namespace frontend\controllers;use app\models\User;
use app\models\Tables;
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Plant */
$this->title = 'plant' ;
$this->title = Tables::find()->where(['tablename'=>$this->title])->one()['Ctablename'];
$this->params['breadcrumbs'][] = ['la... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit0e6aaca9288cc72117cd0e3364966eaf
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
return [
'type' => 'Jenis Bisnes',
'typename' => 'Nama Jenis Bisnes',
'typelist' => 'Senarai Jenis Bisnes',
'addtype' => 'Tambah Jenis Baru',
'edittype' => 'Kemaskini Jenis',
]; |
<?php
/**
* Product loop sale flash
*
* This template can be overridden by copying it to yourtheme/woocommerce/loop/sale-flash.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We... |
<form id="deletion-form" style="display: none" method="post">
@csrf
@method('delete')
</form>
@push('scripts')
<script defer>
const deleteItem = function () {
event.preventDefault();
let confirmation = confirm("Уверены?");
let deletionForm = document.getElementB... |
<?php
/**
* This file is part of Krizalys' OneDrive SDK for PHP.
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*
* @author Christophe Vidal
* @copyright 2008-2020 Christophe Vidal (http://www.krizalys.com)
* @license https://... |
<?php
/**
* Copyright (C) 2009-2014 Graham Breach
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* T... |
<?php
/**
* Default output for a download via the [download] shortcode
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
if( ! $dlm_download ) {
return;
}
/** @var DLM_Download $dlm_download */
?>
<a class="download-link" title="<?php if ( $dlm_download->get_version()->has_version_number() ... |
<?php
namespace app\admin\model;
use think\Model;
use stdClass;
class Lawrule extends Model
{
// 表名
protected $name = 'lawrule';
// 自动写入时间戳字段
protected $autoWriteTimestamp = false;
// 定义时间戳字段名
protected $createTime = false;
protected $updateTime = false;
// 追加属性
protect... |
<?php $hal = 'opd_permohonan' ?>
@extends('layouts.opd.master')
@section('title', 'Unggah Dokumen | OPD')
@section('css')
<style type="text/css">
</style>
@endsection
@section('content')
<!-- ##### MAIN PANEL ##### -->
<div class="kt-pagetitle">
<h5>Unggah Dokumen Kelengkapan</h5>
</div><!-- kt-pagetitle -->
<di... |
<?php
/**
* AuroraCMS - Copyright (C) Diemen Design 2019
*
* @category Administration - Core - Magic Image
* @package core/magicimage.php
* @author Dennis Suitters <dennis@diemen.design>
* @copyright 2014-2019 Diemen Design
* @license http://opensource.org/licenses/MIT MIT License
* @version 0.... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class Arrears extends Model
{
protected $table = 'arrears';
protected $primaryKey = 'id';
protected $guarded = [];
public $timestamps = true;
protected function getDateFormat()
{
return time();
}
protected... |
<?php
namespace App\Policies;
use App\Models\ProgramStudi;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class ProgramStudiPolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can view any models.
*
* @param \App\Models\User $user
* @return \Illum... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePermissionModelsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('permis... |
<?php
/*
* WellCommerce Open-Source E-Commerce Platform
*
* This file is part of the WellCommerce package.
*
* (c) Adam Piotrowski <adam@wellcommerce.org>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace WellCommerce\... |
<h1>Hello laravel lover </h1>
<a href="home">Home</a>||<a href="services">Servies</a>||<a href="about">About Us</a><a href="contact">Contact Us</a>
<p>This is first laravel project for training</p> |
<?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... |
<table>
<thead>
<tr>
<td colspan="2"> <img src="logo.jpg" width="100px;"></td>
<td colspan="6">
REPUBLIQUE DU BENIN <br> MINISTERE DE
L'ENERGIE
<br>SOCIETE
BENINOISE D'ENERGIE ELECTRIQUE
</td>
</tr>
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<h2 class="panel-heading">Posts</h2>
<div class="panel-body">
<table class="table table-bordered">
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<ul class="breadcrumb">
<li><a href="{{ url('/home') }}">Dashboard</a></li>
<li><a href="{{ url('/admin/books') }}">Buku</a></li>
<li class="active">Ubah Buku</li>
</ul>
<div class="panel ... |
<?php
declare(strict_types=1);
use Cake\I18n\I18n;
use Migrations\AbstractMigration;
class Newsletter extends AbstractMigration
{
public function change()
{
switch(I18n::getLocale()) {
case 'de_DE':
$text = 'Newsletter-Funktion aktiv?<br /><div class="small">Mitglieder kön... |
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use App\Http\Controllers\Controller;
use App\Model\Tbl_User;
use App\Model\Tbl_software_user;
use App\Model\Tbl_server_u... |
<?php
namespace App\Adapters;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use joshtronic\GooglePlaces;
class GoogleMapsAdapter
{
/** @var GooglePlaces */
protected $google;
public function __construct(?float $latitude, ?float $longitude, float $radius = 0.1)
{
$this->googl... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
@include('admin.layouts.head')
@include('admin.layouts.styles')
@yield('page-styles')
</head>
<body>
<div class="wrapper">
<div class="sidebar" data-color="orange" data-image="../assets/img/sidebar-1.jpg">
<!--
... |
<?php
namespace integralBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CzModuleActive
*
* @ORM\Table(name="Cz_Module_Active")
* @ORM\Entity
*/
class CzModuleActive
{
/**
* @var integer
*
* @ORM\Column(name="SpId", type="smallint", nullable=false)
* @ORM\Id
* @ORM\GeneratedVal... |
@extends('layouts.admin')
@section('content')
<div class="row" style="margin-top:20px">
<div class="col-xl-12">
</div>
</div>
<!-- /.page-title -->
<!-- =================================== -->
<!-- Different data widgets ============ -->
<!-- ===========... |
<?php
// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
empty($_POST['phone']) ||
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = $_POST['name'];
$email_address = $_POST['em... |
<?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\Plugins\Goals;
use Exception;
use Piwik\API\Request;
use Piwik\Common;
use Piwik\DataTable;
use Piwik\DataTable\Filter\AddColumnsProcessedMetricsGo... |
<?php
namespace Tests\Core\Entity\Image;
use Core\Entity\Image\InputImage;
use Core\Entity\OptionsBag;
use Core\Exception\ReadFileException;
use Tests\Core\BaseTest;
/**
* @backupGlobals disabled
*/
class InputImageTest extends BaseTest
{
/**
* Test SaveToTemporaryFileException
*/
public functio... |
<?php
namespace Lexik\Bundle\CurrencyBundle\Adapter;
use Doctrine\ORM\EntityManager;
use Doctrine\Bundle\DoctrineBundle\Registry;
/**
* This class is used to create DoctrineCurrencyAdapter
*
* @author Yoann Aparici <y.aparici@lexik.fr>
* @author Cédric Girard <c.girard@lexik.fr>
*/
class AdapterFactory
{
/*... |
<?php
namespace app\modules\admin\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Proyek;
/**
* ProyekSearch represents the model behind the search form about `app\models\Proyek`.
*/
class ProyekSearch extends Proyek
{
/**
* @inheritdoc
*/
public function rule... |
<?php
include ('verify.php');
$encryptedpasswd= getpass() ;
$showlogin = true ;
// check cookie
if (isset($_COOKIE['logincheck']))
{
//echo 'cookies is set <BR />' ;
if (md5($encryptedpasswd) == $_COOKIE['logincheck'])
{
// echo 'cookies is also correct' ;
$showlogin = false ;
}
}
?>
<?php
i... |
<p class="text-muted text-center btn-block btn btn-primary btn-rect">Please Fill Details To Register</p>
{!! Form::text('username',null,['class'=>'form-control','placeholder'=>"Username"]) !!}
{!! Form::password('password',['class'=>'form-control','placeholder'=>"Password"]) !!}
... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use HasFactory, Notifiable;
/**
* The a... |
<?php
// +----------------------------------------------------------------------
// | 助手函数 [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016-2017 limingxinleo All rights reserved.
// +--------------------------------------------------------... |
<?php
/**
* @property PHPParser_Node_Expr $var Variable holding object
* @property string|PHPParser_Node_Expr $name Property Name
*/
class PHPParser_Node_Expr_PropertyFetch extends PHPParser_Node_Expr
{
/**
* Constructs a function call node.
*
* @param PHPParser_Node_Expr $var ... |
<link href="<?php echo base_url("assets") ?>/css/datepicker.css" rel="stylesheet">
<link href="<?php echo base_url("assets") ?>/plugins/select2/select2.min.css" rel="stylesheet" >
<script src="<?php echo base_url("assets") ?>/js/bootstrap-datepicker.js"></script>
<script src="<?php echo base_url("assets") ?>/... |
@extends('welcome')
@section('content')
<div class="content">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3... |
<?php
namespace Jetfuel\Gpp365;
use Jetfuel\Gpp365\Constants\Device;
use Jetfuel\Gpp365\Traits\ResultParser;
class DigitalPayment extends Payment
{
use ResultParser;
const CUR_TYPE = 'CNY';
const USER_ID = '1';
const DEVICE_TYPE = Device::WEB;
/**
* DigitalPayment constructor.
... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasApiToken... |
<?php
namespace tutoria\Providers;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*... |
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
require('application/libraries/REST_Controller.php');
/**
* controller for signin
*/
class Signin extends REST_Controller{
public function Signin() {
parent::__construct();
$this->load->model('signin_model');
//$this->load->library('seek... |
@extends('home')
@section('title','Sua thong tin san pham')
@section('content')
<div class="col-12">
<div class="row">
<div>
<form method="post" action="{{route('products.update',['id'=>$product->id])}}" enctype="multipart/form-data">
@csrf
... |
<?php
/**
* 应用基础控制器
*
* @author linzequan <lowkey361@gmail.com>
*
*/
class MY_Controller extends CI_Controller {
public $ctrl_name = '';
public $ctrl_pms = '';
public function __construct($file_fullname='', $opt_alias=array()) {
parent::__construct();
// 作用于所有需要登录的控制器
if($fil... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Post extends Model
{
protected $table = 'posts';
protected $fillable = [
'title' , 'body'
];
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use DB;
use Session;
use Carbon\Carbon;
class PromoController extends Controller
{
public function index(){
$promoList = DB::table('promo')->get();
return view('admin.promotion.promotion', compact('promoList'));
}
public ... |
<?php
namespace GetOlympus\Zeus\Cron;
/**
* Cron model.
*
* @package OlympusZeusCore
* @subpackage Cron
* @author Achraf Chouk <achrafchouk@gmail.com>
* @since 0.0.11
*
*/
class CronModel
{
/**
* @var array
*/
protected $options = [];
/**
* @var string
*/
prot... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
/**
* Customer
*
* PHP version 5
*
* @category Class
* @package Domainrobot
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Domainrobot JSON API
*
* Domainrobot JSON API for managing: Domains, SSL Certificates, DNS and much m... |
<?php defined('SYSPATH') or die('No direct script access.'); ?>
2012-06-11 01:42:17 --- ERROR: HTTP_Exception_404 [ 404 ]: Unable to find a route to match the URI: assets/js/bs-dropdown.min.js ~ SYSPATH/classes/kohana/request.php [ 760 ]
2012-06-11 01:42:22 --- ERROR: HTTP_Exception_404 [ 404 ]: Unable to find a route... |
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Tambah Jenis Pelanggaran</h1>
<a href="#" data-toggle="modal" data-target="#tambahModal" class="d-none d-sm-inline-block btn btn-sm btn-primary shadow-sm"><i ... |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
/* @var $this \yii\web\View */
/* @var $content string */
$base = Url::base();
?>
<header class="main-header">
<?= Html::a('<span class="logo-mini">APP</span><span class="logo-lg">' . Yii::$app->name . '</span>', Yii::$app->homeUrl, ['class' => 'logo']) ?>
... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use kartik\grid\GridView;
/* @var $this yii\web\View */
/* @var $model app\models\Pegawai */
?>
<div class="pegawai-view">
<p style="text-align: right"> Home > <a href="index.php?r=pegawai/index">Pegawai</a></p>
<div class="row">
<div class="col... |
<?php
return [
'price-text' => 'Prices are valid only for Portugal and Spain, for other countries see price list.',
'similar-products' => 'Similar products',
'discounts' => 'Discounts',
'type-of-paulownia' => 'Type of paulownia',
'without-VAT' => 'without VAT',
'min-order' =>'Minimum order 1 t... |
<?php
/**
* Copyright (C) 2020 Tencent Cloud.
*
* 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 ... |
<?php /* C:\xampp\htdocs\laravel_blog\resources\views/auth/login.blade.php */ ?>
<?php $__env->startSection('content'); ?>
<body class="hold-transition login-page">
<div class="login-box">
<div class="login-logo">
<a href="#"><b>Laravel</b>Blog</a>
</div>
<!-- /.login-logo -->
<div c... |
<?php include_once __DIR__."/../../include/header.php"; ?>
<?php include_once __DIR__."/../../include/admin/navbar.php"; ?>
<div class="container-fluid">
<div class="row">
<?php include_once __DIR__."/../../include/admin/sidebar.php"; ?>
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-md-4">
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Dashboard extends CI_Controller {
public function __construct() {
parent::__construct();
$this->load->helper(array('form', 'url'));
$this->load->library('form_validation');
$this->load->library('phpass');
$this->load->library('sess... |
<?php
if (!defined('WINPARENT')) {
define('WINPARENT', 1);
}
define('PATH_ERR', substr(dirname(__file__), 0, strpos(dirname(__file__), 'control')-1) . '/');
if (!isset($mc_global)) {
$mc_global = array(
'ltr',
'en'
);
}
$charset = 'utf-8';
$pageTitle = '404';
include(PATH_ERR . 'templates/windows/header.... |
<?php
/**
* Author: AWSM3
* Response.php
*/
declare(strict_types=1);
/** @namespace */
namespace App\Api\FileSystem;
/** @uses */
use App\Api\FileSystem\Exception\IncorrectDataItemException;
use App\Api\FileSystem\Interfaces\ResponseInterface;
/**
* Class Response
*
* @package App\Api\FileSystem
*/
class Resp... |
<?php
/**
* Plugin Options View
*
* @package TablePress
* @subpackage Views
* @author Tobias Bäthge
* @since 1.0.0
*/
// Prohibit direct script loading.
defined( 'ABSPATH' ) || die( 'No direct script access allowed!' );
/**
* Plugin Options View class
* @package TablePress
* @subpackage Views
* @author Tob... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="s... |
<?php
namespace Mosaic\Tests\Exceptions;
use Mosaic\Exceptions\HttpException;
use PHPUnit_Framework_TestCase;
class HttpExceptionTest extends PHPUnit_Framework_TestCase
{
public function test_it_holds_on_to_a_status_code()
{
$e = new HttpException("Whoops!", 503);
$this->assertEquals(503, $e... |
<?php
declare(strict_types=1);
namespace App\Exceptions;
use Exception;
class HtmlNodeNotFoundException extends Exception
{
} |
<?php
namespace backend\controllers;
use Yii;
use yii\web\Controller;
use yii\filters\AccessControl;
use yii\filters\VerbFilter;
// use backend\models\PromotionForm;
// use backend\models\Promotions;
use yii\web\UploadedFile;
use yii\data\ActiveDataProvider;
use backend\models\TovarForm;
use common\models\Category;
us... |
<?php
namespace XeroHatch\Models\Accounting\Report;
use XeroHatch\Remote;
abstract class Report extends Remote\Model
{
/**
* Xero identifier.
*
* @property string ReportID
*/
/**
* Report Name.
*
* @property string ReportName
*/
/**
* Report Type.
*
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this contro... |
<?php
namespace Modules\Answer\Repositories\Cache;
use Modules\Answer\Repositories\AnswerRepository;
use Modules\Core\Repositories\Cache\BaseCacheDecorator;
class CacheAnswerDecorator extends BaseCacheDecorator implements AnswerRepository
{
public function __construct(AnswerRepository $answer)
{
pare... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable implements MustVerifyEmail
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
... |
<?php
namespace Google\AdsApi\AdWords\v201802\rm;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class StringRuleItem
{
/**
* @var \Google\AdsApi\AdWords\v201802\rm\StringKey $key
*/
protected $key = null;
/**
* @var string $op
*/
protected $op = null;
/**
... |
<?php
namespace Ukhflf\Scanlogin;
use Encore\Admin\Extension;
/**
* Class ScanloginViewer.
*/
class ScanloginViewer extends Extension
{
use BootRoute;
} |
<?php
/*
Plugin Name: Ninja Popups
Plugin URI: http://codecanyon.net/item/ninja-popups-for-wordpress/3476479?ref=arscode
Description: Awesome Popups for Your WordPress!
Version: 4.7.2
Author: ArsCode
Author URI: http://www.arscode.pro/
*/
if (!defined('ABSPATH')) {
die('-1');
}
define('SNP_VERSION', '... |
<div class="might-like-section">
<div class="container">
<h2>You might also like...</h2>
<div class="might-like-grid">
@foreach($productRecommender as $element)
<!-- c_sousen
we are passing route path along with the slug value by
"route('sho... |
@extends('adminlte::page')
@section('content')
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>Sistem Hobike | Penyewaan Sepeda di Kota Semarang</h2>
</div>
<div class="pull-right">
<a class="btn btn-success... |
@extends('Dashboard.Layout.Layout')
@section('roleuser_show')
<h2>
Role User Section
</h2>
<div class="table-responsive">
<table class="table table-bordered table-striped table-sm">
<thead>
<tr>
<th>User-Name</th>
<th>Roles</th>
</tr>
</thead>
<tbody>
<tr>
<td>
{{$user->user_name}}
</td>
<td>
@foreach($user->roles as ... |
@extends('admin.layout')
@extends('admin.partials.header')
@extends('admin.partials.drawer')
@section('body')
@include('flash::message')
<div class="body mdl-color--white mdl-shadow--2dp mdl-cell mdl-cell--12-col">
@foreach($categories as $category)
<div class="one_category mdl-card">
<div class="mdl-card__... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Spatie\Permission\Traits\HasRoles;
class User extends Authenticatable
{
use Notifiable;
use HasRoles;
/**
* The attributes that ar... |
<div class="panel panel-footer navbar-fixed-bottom text-center" style="margin-bottom: 0px">
<p>©E-library {{date('Y')}}</p>
<p>Develope By Group-8</p>
</div> |
<?php
/*
* HTML Server Components addon for Bear Framework
* https://github.com/ivopetkov/html-server-components-bearframework-addon
* Copyright (c) Ivo Petkov
* Free to use under the MIT license.
*/
namespace IvoPetkov\BearFramework\Addons\HTMLServerComponents;
/**
* @property \IvoPetkov\BearFramework\Addons\... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.