text stringlengths 2 1.03M |
|---|
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDocumentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('documents', f... |
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>定州市政府信息公开平台</title>
<meta name="keywords" content="定州市">
<meta name="description" content="定州市">
<script language="javascript" src="/statics/js/jquery... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class MY_Input extends CI_Input
{
function _sanitize_globals()
{
$ignore_csrf = config_item('csrf_ignore');
if (is_array($ignore_csrf) && count($ignore_csrf))
{
global $URI,$RTR;
... |
<?php
namespace Payum\Core\Tests\Extension;
use Payum\Core\Action\ActionInterface;
use Payum\Core\Extension\Context;
use Payum\Core\Extension\StorageExtension;
use Payum\Core\GatewayInterface;
use Payum\Core\Model\Identity;
use Payum\Core\Model\ModelAggregateInterface;
use Payum\Core\Model\ModelAwareInterface;
use Pay... |
<div class="col-12 col-md-12">
<section id="mainTopCarousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#mainTopCarousel" data-slide-to="0" class="active"></li>
<li data-target="#mainTopCarousel" data-slide-to="1"></li>
<li data-target="#mainTopCarousel" d... |
<?php get_header();?>
<main class="main-content container">
<section class="section-body">
<?php while ( have_posts() ) : the_post(); ?>
<header class="section-header u-textAlignCenter">
<h2 class="grap--h2"><?php the_title();?></h2>
<div c... |
<?php
namespace App\Models\ServiceRequests;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use OwenIt\Auditing\Contracts\Auditable;
use Illuminate\Database\Eloquent\SoftDeletes;
class ShiftControl extends Model implements Auditable
{
use \OwenIt\Auditing\Auditable;... |
<?php
$meta = $this->meta_model->get_meta();
?>
<div class="container">
<div class="col-md-6 mx-auto">
<div class="card my-5">
<div class="card-header bg-white">
<h5 class="text-center">Daftar</h5>
</div>
<div class="card-body">
<?php
... |
<?php
namespace App\Models\SecureAccess;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use DB;
class Persona extends Authenticatable
{
use Notifiable;
protected $table = 'v_personas'... |
<?php
namespace App\Models;
use App\Actions\PublishPostAction;
use App\Http\Controllers\PostController;
use App\Jobs\CreateOgImageJob;
use App\Models\Concerns\HasSlug;
use App\Models\Concerns\Sluggable;
use App\Models\Presenters\PostPresenter;
use App\Services\CommonMark\CommonMark;
use App\View\Components\SeriesNext... |
<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\CoreBundle\Form\Type;
@trigger_error(
'The... |
<?php
/**
* @file
* Boostrap the application for the web test cases.
*
* The web tests actually create a running application. This file configures the
* application in a similar way to the real thing.
*/
// Setup the configuration variable.
global $conf;
$conf['db.options'] = array(
'driver' => 'pdo_sqlit... |
<?php //Template Name: Service Type-1
get_header();
get_template_part('breadcrums'); ?>
<div class="container">
<div class="row isotope" id="isotope-service-container">
<?php $all_posts = wp_count_posts( 'weblizar_service')->publish;
$args = array( 'post_type' => 'weblizar_service','posts_per_page' =>$all_post... |
@extends('layouts.app')
@section('title')
Erreur
@endsection
@section('content')
<div class="container">
<h2 class="title_form" >PAGE INTROUVABLE</h2>
<div class="col-sm-offset-2 col-sm-8">
<div class="panel panel-info">
<div class="panel-heading">
<h2 class="panel-title">404</h2>
</div>
<... |
@extends('layouts.master')
@section('css')
<!-- Internal Select2 css -->
<link href="{{URL::asset('assets/plugins/select2/css/select2.min.css')}}" rel="stylesheet">
@endsection
@section('page-header')
<!-- breadcrumb -->
<div class="breadcrumb-header justify-content-between">
<div class="my-auto">
<d... |
<?php
namespace App\Http\Controllers\api\v1\User;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response;
class UserController extends Controller
{
public function userNotifications()
{
return response()->json([
auth()->user()
->unRea... |
<?php
// +------------------------------------------------------------------------+
// | class.upload.et_EE.php |
// +------------------------------------------------------------------------+
// | Copyright (c) -lohe- 2008. All rights reserved. |
//... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Mapel </title>
</head>
<body>
<a class="btn btn-success" href="input-mapel.php"> Input Data Matapelajaran </a>
<div class="content">
<div class="contain... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\diputado */
$this->title = 'Actualizar Diputado: '.$model->id;
$this->params['breadcrumbs'][] = ['label' => 'Diputados', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->... |
<?=$this->draw('entity/edit/header');?>
<?php
if (!empty($vars['object']->inreplyto)) {
if (!is_array($vars['object']->inreplyto)) {
$vars['object']->inreplyto = array($vars['object']->inreplyto);
}
} else {
$vars['object']->inreplyto = array();
}
if (!empty($vars['u... |
<?php
/**
* @file
* Generic transliteration data for the PHPTransliteration class.
*/
$base = array(
0x00 => null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
0x10 => null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
... |
<?php
namespace App\Http\Controllers;
use App\Exceptions\DatabaseException;
use App\Models\Document;
use App\Services\DocumentService;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Validation\ValidationException;
use Illuminate\View\View;
use Laravel\Lumen\Routing\Controller as BaseControl... |
<!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="NADT สมาคมคนหูหนวกแห่งประเทศไทย">
<meta name="author" content... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Status;
use Faker\Generator as Faker;
$factory->define(Status::class, function (Faker $faker) {
$date_time = $faker->date . ' ' . $faker->time;
return [
'content' => $faker->text(),
'created_at' => $date_time,
'u... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Article;
use Faker\Generator as Faker;
$factory->define(Article::class, function (Faker $faker) {
return [
'title' => $faker->word(),
'content' => $faker->realText(5000, 2),
'featured_image' => $faker->imageUrl('750'... |
<?php
/**
* TOP API: taobao.rds.db.delete request
*
* @author auto create
* @since 1.0, 2012-11-05 12:39:25
*/
class RdsDbDeleteRequest
{
/**
* 数据库的ID,可以通过 taobao.rds.db.get 获取
**/
private $dbId;
/**
* rds的实例名
**/
private $instanceName;
private $apiParas = array();
public function setDbId($d... |
<?php
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
// Returns the public 'prestashop.admin.order.invoices.options.form_handler' shared service.
return $this->services['prestashop.admin.orde... |
<?php
use Illuminate\Database\Seeder;
class login_access_seeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('login_access')->insert([
'username' => 'admin',
'password' => Hash::make('12345'),
... |
<?php
$lang['text_heading_list'] = 'leave status list';
$lang['text_heading_form'] = 'leave status';
$lang['text_title'] = 'title';
$lang['text_date'] = 'date';
$lang['text_status'] = 'status';
$lang['text_modified_date'] = 'modified date';
$lang['text_action'] = 'action'; |
<?php
/*
* This file is part of ibrand/advert.
*
* (c) iBrand <https://www.ibrand.cc>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace iBrand\Component\Advert;
use Illuminate\Database\Eloquent\Relations\Relation;
use iB... |
<?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... |
<?php
/** @var \phs\system\core\views\PHS_View $this */
?>
<script type="text/javascript">
function phs_lock_accounts_autocomplete( text_id )
{
$("#" + text_id).prop( "readonly", "readonly" );
}
function phs_reset_accounts_autocomplete( id_id, text_id )
{
$("#" + id_id).val( 0 );
$("#" + text_id).val(... |
<?php
/**
* YAWIK
*
* @filesource
* @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
* @license MIT
*/
/** FileAccessAssertion.php */
namespace Core\Acl;
use Core\Entity\FileMetadataInterface;
use Laminas\Permissions\Acl\Assertion\AssertionInterface;
use Laminas\Permissions\Acl\Acl;
use La... |
<?php
namespace app\modules\configuration\models;
use Yii;
/**
* This is the model class for table "TBL_TIPOSPROCEDIMIENTOS".
*
* @property int $TIPR_ID
* @property string $TIPR_NOMBRE
* @property int $TIPR_CREATEBY
* @property string $TIPR_UPDATEAT
*/
class Tiposprocedimientos extends \yii\db\ActiveRecord
{
... |
<?php
namespace CorreosSdk\StructType;
/**
* This class stands for PeticionAnular StructType
* @subpackage Structs
*/
class PeticionAnular extends AbstractStructBase
{
/**
* The codCertificado
* Meta informations extracted from the WSDL
* - ref: xsd:codCertificado
* @var string
*/
... |
<?php
/**
* Check if variable is assosiative array
*/
if(!function_exists('is_assoc')){
function is_assoc($array) {
if(gettype($array) == "array")
return (bool)count(array_filter(array_keys($array), 'is_string'));
return false;
}
}
if (! function_exists('exc')) {
function exc($message = '', $d... |
<?php
/**
* Exception class for JiraWebhookData.
*
* @credits https://github.com/kommuna
* @author Chewbacca chewbacca@devadmin.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace JiraWebhook\Exceptions;
class JiraWebh... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TransaksiPurchaseDetail extends Model
{
public $timestamps = false;
// define table
protected $table = 'transaksi_purchase_detail';
// define primary key
protected $primaryKey = 'id_transaksi_purchase_detail';
// define... |
<!DOCTYPE html>
<html lang="en" dir="rtl">
<?php include"header.php"; ?>
<body>
<!-- Main navbar -->
<?php include"nav.php"; ?>
<!-- /main navbar -->
<!-- Page container -->
<div class="page-container">
<!-- Page content -->
<div class="page-content">
<!-- Main sidebar -->
<?php ... |
<?php
namespace Sabre\DAV\Locks;
/**
* LockInfo class
*
* An object of the LockInfo class holds all the information relevant to a
* single lock.
*
* @copyright Copyright (C) 2007-2013 fruux GmbH (https://fruux.com/).
* @author Evert Pot (http://evertpot.com/)
* @license http://code.google.com/p/sabredav/wiki/... |
<?php
namespace App\Http\Controllers;
use App\Models\Film;
use App\Models\Categorie;
use Illuminate\Http\Request;
class FilmController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$films = Film... |
<?php
namespace Illuminate\Tests\Integration\Database\EloquentTouchParentWithGlobalScopeTest;
use Illuminate\Support\Str;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Tests\Integration\Database\Da... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTasksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tasks', function ... |
<?php
namespace Http\Middlewares;
use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
use Obullo\Container\ContainerAwareTrait;
use Obullo\Config\ConfigInterface as Config;
use Obullo\Container\ContainerAwareInterface;
use Obullo\Http\Middleware\MiddlewareInter... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="csrf-token" content="{{ csrf_token() }}">
{{-- <meta name="viewport" content="width=device-width, initial-scale=1"> --}}
<met... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Photo extends Model
{
use HasFactory;
protected $table="photos";
protected $fillable = ['name','path','created_at'
];
} |
<?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
namespace Database\Seeders;
use App\Models\User;
use Carbon\Carbon;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
use Spatie\Permission\Models\Role;
use Spatie\Permission\Models\Permission;
class AdminSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return vo... |
<?php
namespace backend\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\models\Plan;
/**
* PlanSearch represents the model behind the search form about `backend\models\Plan`.
*/
class PlanSearch extends Plan
{
/**
* @inheritdoc
*/
public function rules()
{
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class Products extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('products', function (Blue... |
<?php
$about = array(
'name' => 'Русский',
'author' => array(
'name' => 'Александр Бирюков',
'email' => 'info@alexbirukov.ru',
'website' => 'http://alexbirukov.ru'
),
'release-date' => '2012-06-16'
);
/**
* Export Ensemble
*/
$dictionary = array(
'Export Ensemble will not be able to downlo... |
<div class="row">
<div class="col-xs-6 col-md-8">
<div class="checkbox">
<label>
<input checked type="checkbox" class="userColumnCb" id="filter-1" data-column="1" /> EMAIL
</label>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-md-8">
... |
@extends('metronic.layout')
@section('content')
<!--begin::Body-->
<div class="card-body p-lg-17">
<!--begin::About-->
<div class="mb-18">
<!--begin::Wrapper-->
<div class="mb-10">
<!--begin::Top-->
<div class="text-center mb-16">
... |
<div {{ $attributes }}>
<div class="card mb-4 rounded-3 shadow-sm">
<div class="card-header py-3">
<h4 class="my-0 fw-normal">{{ $header }}</h4>
</div>
<div class="card-body text-center">
<h1 class="card-title pricing-card-title">{{ $title }}</h1>
</div>
<... |
<nav class="blue-grey lighten-1" style="padding: 0 1em;">
<div class="nav-wrapper">
<div class="col s4" style="display: inline-block">
<a href="#!" class="breadcrumb">Motivo de Visita</a>
</div>
<ul id="nav-mobile" class="right">
<div class="input-field col s6 left-al... |
@extends('layouts.app')
@section('content')
@component('components.panels.default')
@slot('title')
<strong>{{ $user->fullname }}</strong>
@endslot
@include ('users/_profil')
@endcomponent
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="pill" href="... |
<input type="hidden" name="name" value="{!! $conds['name'] !!}" id="name-current">
<input type="hidden" name="status" value="{!! $conds['status'] !!}" id="status-current">
<input type="hidden" name="start" value="{!! $conds['start_date'] !!}" id="start-date-current">
<input type="hidden" name="end" value="{!! $conds['e... |
<?php
require_once __DIR__ . '/modules/deviceManager.php';
$_id = (int)$_POST['id'];
global $device;
$device = $DeviceManager->getDeviceById($_id);
if (is_string($device)) die(json_encode(array(
"result" => false,
"error" => $device
)));
if (!$device->curUserIsOwner()) die(json_encode(array(
"... |
<?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
Class VideoTableSeeder extends Seeder {
public function run() {
DB::table('servidores')->delete();
$servidores = [
['nombre' => 'YouTube', 'logo' => 'youtube.jpg'],
['nombre' => 'Metacafe', 'logo' => 'metacafe.jpg'],
['nombre' => 'Dailymotion', 'logo' => 'dailymotion.jpg']
];
DB::table('servid... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
session_start();
include_once('../../../model/connect.php');
error_reporting(0);
if($_SESSION['Type_id'] == 1){
$name = "admin";
$img = "admin.jpg";
error_reporting(0);
}
else if($_SESSION['Type_id'] == 2){
$sqlTC = "SELECT * FROM teacher_tb WHERE Teach_code = '".$_SESSION['id']."'";
$queryTC... |
@extends('admin.admin_master')
@section('admin')
<div class="col-lg-12">
<div class="card card-default">
<div class="card-header card-header-border-bottom">
<h2>Create Home About</h2>
</div>
<div class="card-body">
<form action="{{route('store.about')}}" method="POST" ... |
<?php
$region = array();
$district = array();
$role = array();
if(Auth::user()->role_id == "National" || Auth::user()->role_id == "National IVD" || Auth::user()->role_id == "admin"){
$region = Region::all()->lists('region','id');
$district = District::orderBy('district','ASC')->get()->lists('district','id');
... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Test\Trading\Types;
use DTS\eBaySDK\Trading\Types\OrderIDArrayType;
class OrderIDArrayTyp... |
<h1>User Login</h1>
<!-- <form action="login-action" method="POST"> -->
<form action="user-auth" method="POST">
@csrf
<input type="text" name="user" placeholder="enter name"> <br> <br>
<input type="password" name="password" placeholder="enter password"> <br> <br>
<button type="submit">Login</button>
</... |
<?php
namespace Honeygavi\Provisioner;
use AgaviConfig;
use AgaviConfigCache;
use Honeybee\Infrastructure\Config\SettingsInterface;
use Honeybee\ServiceDefinitionInterface;
use Honeygavi\Ui\OutputFormat\MediaTypeInfo;
use Honeygavi\Ui\OutputFormat\OutputFormat;
use Honeygavi\Ui\OutputFormat\OutputFormatMap;
use Honey... |
@extends('adminlte::layouts.app')
@section('main-content')
<link rel="stylesheet" href="{{url('/')}}/cinepolis/css/tabla.css">
<center><h1 >Pabellones</h1> </center>
<tbody>
<div id="divLegend" align="center">
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Start your development with a Design System for Bootstrap 4.">
<meta name="author" content="Creative Tim">
<title><?= $title ?></title>... |
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Created by PhpStorm.
* User: san
* Date: 12/22/2016
* Time: 5:49 PM
*/
class Register extends CI_Controller
{
function __construct() {
parent::__construct();
$this->load->helper('url');
$this->load->mod... |
<!DOCTYPE html>
<?php
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
?>
<html>
<head>
<meta charset="utf-8">
<title>Sample — CKEditor</title>
<link rel="stylesheet" href="sample.css">
</head>
<body>
<h1 class="sa... |
<?php
declare(strict_types=1);
namespace OOP\Principles\Basic\Polymorphism;
interface Figure // in general it could also be a class
{
function getSurface(): float;
}
// Rectangle and Triangle classes are polymorphic - they can appear to be of a generalized type (Figure):
class Rectangle implements Figure
{
... |
@extends('layouts.app', ['page' => __('Gerenciar turmas'), 'pageSlug' => 'turmas'])
@section('content')
<div class="row">
<div class="col-md-12">
<div class="card ">
<div class="card-header">
<div class="row">
<div class="col-8">
... |
<?php
// src/OC/PlatformBundle/Purge/OCpurger.php
namespace OC\PlatformBundle\Purge;
class OCpurger
{
private $day;
private $application;
private $minApplication;
private $minDay;
public function __construct($day, $application, $minApplication, $minDay)
{
$this->day = $day;
$this->application ... |
<?php
/*
Name: OneFramework
Author: OneDev Group (https://onedevgroup.com/)
License: Apache 2.0 license
Created by developers for developers with our <3
*/
include 'system.php';
include 'bootstrap/router.php';
include 'bootstrap/controller.php';
include 'bootstrap/model.php';
include 'bootstrap/module.php';
incl... |
<!-- DATA TABLE CSS -->
<link href="<?php echo base_url(); ?>assets/template-master/css/table.css" rel="stylesheet">
<!-- TABLES -->
<div class="container" style="min-height: 520px">
<a data-toggle="modal" data-target="#insertData" class="col-md-12 btn btn-sm btn-info triggerInsert">
<span class="glyphicon glyph... |
<?php
class Orders extends Admin_Controller {
function __construct()
{
parent::__construct();
remove_ssl();
$this->load->model('Order_model');
$this->load->model('Search_model');
$this->load->model('location_model');
$this->load->helper(array('formatting', 'utility'));
$this->lang->load('order');
... |
<?php
namespace Elgg\Bookmarks;
/**
* @group Router
* @group BookmarksRoutes
*/
class RouteResponseTest extends \Elgg\Plugins\RouteResponseTest {
public function getSubtype() {
return 'bookmarks';
}
public function groupRoutesProtectedByToolOption() {
return [
[
'route' => "collection:object:{$thi... |
<?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 ... |
<?php $__env->startSection('content'); ?><p>Britain's Got Talent fans have donated more than £7,000 to the comedian Ian Royce's funeral fund. </p>
<p>Ian passed away aged 51 after he had served as the warm-up act on various ITV shows for 13 years. He died from 'severe pneumonia and multiple organ failure'. </p>
<p>Th... |
<?php namespace App\Http\Controllers;
use Input;
use Postman;
use App\User;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Stripe, Stripe_Error;
class SubscriptionController extends Controller {
protected $postman;
public function __construct()
{
Stripe::setAp... |
<?php
namespace Drupal\Tests\Core\EventSubscriber;
use Drupal\Core\EventSubscriber\RssResponseRelativeUrlFilter;
use Drupal\Tests\UnitTestCase;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
use Symfony\Component... |
@extends('layout.master')
@section('title')
Associates Sent Messages
@stop
@section('content')
<div class="card col-md-6 offset-md-3 mt-5 rounded show-message">
<div class="cardheader">
Sent Message
<a href="{{route('associates-message')}}" class="btn-back"><i class="fas fa-times-circle"></i><... |
@extends('layouts.master')
@section('content')
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">Data Nilai Siswa Tingkat 1</h1>
</div><!-- /.col -... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class ValidasiPanitia extends Model
{
use HasFactory;
protected $table = 'tb_validasi_panitia';
protected $primaryKey = 'validasi_panitia_id';
... |
<?php
namespace Tagcade\Repository\Core;
use Doctrine\Common\Persistence\ObjectRepository;
use Doctrine\ORM\QueryBuilder;
use Tagcade\Model\Core\BaseLibraryAdSlotInterface;
use Tagcade\Model\PagerParam;
use Tagcade\Model\User\Role\PublisherInterface;
use Tagcade\Model\User\Role\UserRoleInterface;
interface ChannelRe... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nunito:... |
<?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
/**
* @version $Id$
* @package JSN_Framework
* @author JoomlaShine Team <support@joomlashine.com>
* @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
* Websites: http://www.joomlashine.com
* Technical... |
<?php
namespace App\Imports;
use App\Models\Product;
use Illuminate\Support\Facades\Hash;
use Maatwebsite\Excel\Concerns\ToModel;
use Maatwebsite\Excel\Concerns\WithHeadingRow;
class ProductImport implements ToModel
{
/**
* @param array $row
*
* @return \Illuminate\Database\Eloquent\Model|null
*... |
<?php
return [
'avatar' => 'Անձնանշան',
'edit' => 'Խմբագրել իմ էջը',
'edit_user' => 'Խմբագրել օգտագործողի տվյալները',
'password' => 'Գաղտնաբառ',
'password_hint' => 'Փոփոխություն չկատարելու համար դատարկ թողեք',
'role' => 'Դեր',
'roles' ... |
<?php
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @author Kim Chanthoeun
* @copyright Copyright (c) 2014 - 2017, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
d... |
<?php
// Define app routes
use Slim\App;
return function (App $app) {
$app->get('/', \App\Action\Home\HomeAction::class)->setName('root');
$app->get('/hello/{name}', \App\Action\Hello\HelloAction::class)->setName('hello');
$app->get('/users', \App\Action\User\UserListAction::class)->setName('user-list'... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Eav\Model\Attribute;
use Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface;
use Magento\Framework\Exception\InputException;
use Magento\Framework\Exception\NoSuchEntityException;
u... |
@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">About Us</div>
<div class="panel-body">
<b> This is About US Page </b>
</div>
... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Vdc\V20201214\Models\DescribePubUserListBySubUserResponseBody;
use AlibabaCloud\SDK\Vdc\V20201214\Models\DescribePubUserListBySubUserResponseBody\pubUserDetailList\onlinePeriods;
use AlibabaCloud\Tea\Model;
class pubUserDetailLi... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
class ForgotPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|----... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Created by PhpStorm.
* User: behruz
* Date: 2/27/16
* Time: 12:53 PM
*/
class Redirect extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('Urls');
}
public fu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.