text stringlengths 2 1.03M |
|---|
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
public static $seeders = [];
public function run()
{
foreach (self::$seeders as $seeder){
$this->call($seeder);
}
// \App\Models\User::factory(10)->create();
}
... |
<?php
/**
* Plugin Name: Event Manager
* Plugin URI: http://github.com/helsingborg-stad/api-event-manager/
* Description: Manage events locally, and import from XCAP & CBIS.
* Version: 1.0.0
* Author: Kristoffer Svanmark, Sebastian Thulin, Tommy Morberg, Jonatan Hanson
* A... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model app\models\LoginForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title = '登入';
?>
<div class="site-login">
<div class="columns">
<div class="column is-6">
<h1 class="title is-2">登入</h1>... |
<?php
/**
* This file is part of the "dibi" - smart database abstraction layer.
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
*/
/**
* This class is static container class for creating DB objects and
* store connections info.
*
* @package dibi
*/
class dibi
{
/** column type */
const TEXT = ... |
<?php
/**
* Created by PhpStorm.
* User: Lukas Figura
* Date: 15/02/2017
* Time: 19:40
*/
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Badge;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
class UsersController extends Contr... |
<?php
namespace project\src\main\services\example;
use UnexpectedValueException;
use org\turbosite\src\main\php\managers\WebServiceManager;
/**
* An example of a service that throws a 500 error due to exception not being catched
*/
class ExampleServiceThatThrows500UnhandledException extends WebServiceManager{
... |
<?php
$cars = array("Volvo", "BMW", "Toyota");
$arrlength = count($cars);
for($x = 0; $x < $arrlength; $x++) {
echo $cars[$x];
echo "\n";
}
?> |
<?php
/**
* Plugin Name: Simple Calendar
* Plugin URI: https://simplecalendar.io
* Description: Add Google Calendar events to your WordPress site in minutes. Beautiful calendar displays. Fully responsive.
* Author: Simple Calendar
* Author URI: https://simplecalendar.io
* Version: 3.1.19
* Text Domain... |
<?php
namespace App\Mail;
use App\general_setting;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class UserInvoiceEmail extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instanc... |
<?php
return array (
1970831 =>
array (
0 => 13,
1 => 'あきる野市',
2 => '下代継',
),
1970013 =>
array (
0 => 13,
1 => '福生市',
2 => '武蔵野台',
),
1970012 =>
array (
0 => 13,
1 => '福生市',
2 => '加美平',
),
1978601 =>
array (
0 => 13,
1 => '福生市',
2 => '大字福生',
... |
<html>
<head>
<title>
Who should we be for in 2004?
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include "../../legacy-includes/Script.htmlf" ?>
</head>
<body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0">
<table wi... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Contracts\Auth\Guard;
class ProfileFilter
{
protected $guard; // to store injected guard
public function __construct(Guard $guard){
$this->guard = $guard;
}
/**
* Handle an incoming request.
*
* @param \Illum... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
... |
--TEST--
swoole_curl: https
--SKIPIF--
<?php
require __DIR__ . '/../include/skipif.inc';
?>
--FILE--
<?php
require __DIR__ . '/../include/bootstrap.php';
use Swoole\Runtime;
use function Swoole\Coroutine\run;
const N = 8;
Runtime::enableCoroutine(SWOOLE_HOOK_NATIVE_CURL);
$s = microtime(true);
run(function () {
... |
<?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 _PhpScoper5eddef0da618a\Symfony\Component\DependencyInjection\Dumper;
us... |
<?php
namespace App\Twig;
use App\Entity\Printer;
use App\Service\ContainerParametersHelper;
use Symfony\Component\Yaml\Yaml;
use Twig\Extension\AbstractExtension;
use Twig\TwigFilter;
use Twig\TwigFunction;
class CardExtension extends AbstractExtension
{
private $notificationConfig = [];
private $unreachab... |
<?php
$suppress_authorization = true;
include('../../lib/application.php');
function action_index()
{
global $title, $subtitle;
$title = "My Account";
$subtitle = null;
global $factory;
unset($_SESSION['user_id']);
unset($_SESSION['subscriber_id']);
unset($_SESSION['user_name']);
unset($_SESSION['u... |
<?php
return [
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'components' => [
'db' => [
'class' => '\yii\db\Connection',
'dsn' => 'mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=menlara',
'username' => 'root',
'password' => 'root',
... |
<?php $this->titre = "Page d'erreur"; ?>
<p class="erreur">Une erreur est survenue : <?= $msgErreur ?></p> |
@extends('layouts.layout-admin')
@section('content')
<div class="page-content">
<!--breadcrumb-->
<div class="page-breadcrumb d-sm-flex align-items-center mb-3">
<div class="breadcrumb-title pe-3 d-none d-sm-flex">Home</div>
<div class="ps-3 d-sm-flex d... |
<?php
/**
* Copyright 2012-2014 Rackspace US, 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
*
* Unless required by applicable la... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>KGA | Daftar Katalog</title>
<style>
th.dpass, td.dpass {display: none;}
</style>
<!-- Select 2 -->
<link rel="stylesheet" href="<?php echo base_url('assets/select2/css/se... |
<main id="mainContent" class="main-content">
<div class="page-container">
<div class="container">
<div class="cart-area ptb-60">
<div class="container">
<div class="cart-wrapper">
<h3 class="h-title mb-30 t-uppercase"><i class="fa fa-en... |
<?php
namespace Miracuthbert\LaravelRoles\Models\Traits;
use Illuminate\Support\Arr;
use Illuminate\Support\Carbon;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Cache;
use Miracuthbert\LaravelRoles\Helpers\ConfigHelper;
use Miracuthbert\LaravelRoles\Helpers\Users;
use Miracuthbert\LaravelRoles\Mo... |
@extends('layouts.app', ['page' => 'Product Information', 'pageSlug' => 'products', 'section' => 'inventory'])
@section('content')
<style>
</style>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header">
<h4 class="card-... |
<?php
use Faker\Generator as Faker;
$factory->define(App\Author::class, function (Faker $faker) {
return [
//
];
});
$factory->afterCreating(App\Author::class, function ($author, $faker) {
$author->profile()->save(factory(App\Profile::class)->make());
});
$factory->afterMaking(App\Author::class,... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\AttributeValue;
class AttributeValuesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$sizes = ['small', 'medium', 'large'];
$colors =... |
<?php
/*
* vpn_ipsec_phase2.php
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2004-2013 BSD Perimeter
* Copyright (c) 2013-2016 Electric Sheep Fencing
* Copyright (c) 2014-2021 Rubicon Communications, LLC (Netgate)
* Copyright (c) 2008 Shrew Soft Inc
* All rights reserved.
*
* originally based... |
<?php
/**
* Created by PhpStorm.
* User: thuyshawn
* Date: 6/05/2015
* Time: 6:27 PM
*/
namespace App\Services;
class BootstrapGridForeachLoop {
protected $grid;
protected $bootstrapClass;
protected $columns;
protected $link;
public function __construct($class, $columns)
{
}
p... |
use Illuminate\Support\Facades\Route;
//use
use App\Http\Controllers\Api\{{ $model_name }}\{{ $action_name }}{{ $model_name }}Controller;
//route
Route::match(array('POST', 'GET'), '{{ strtolower($model_name_kebab) }}/{{ strtolower($action_name_kebab) }}', ['uses' => {{ $action_name }}{{ $model_name }}Controller::clas... |
<?php
declare(strict_types=1);
/*
* This file is part of the Doctrine Behavioral Extensions package.
* (c) Gediminas Morkevicius <gediminas.morkevicius@gmail.com> http://www.gediminasm.org
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
... |
<?php
namespace ccxt\async;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception; // a common import
use \ccxt\ExchangeError;
use \ccxt\ArgumentsRequired;
use \ccxt\InvalidOrder;
class bithumb exten... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| HTTP protocol
|--------------------------------------------------------------------------
|
| Set to force the use of HTTPS for REST API calls
|
*/
$config['force_https'... |
<?php
/**
* Exporter
*
* Copyright (c) 2001-2014, Sebastian Bergmann <sebastian@phpunit.de>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must... |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_config
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Remove Root Controller for global con... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit3f08d86212408dce96c19985dc841a3f
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?hh
/**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
/**
* Original thrift service:-
* Bar
*/
interface BarAsyncIf extends \IThriftAsyncIf {
/**
* Original thrift definition:-
* string
* baz(1: set<i32> a,
* 2: list<map<i... |
<?php
/**
* Buddyexpress Desk
*
* @package Bdesk
* @author Buddyexpress Core Team <admin@buddyexpress.net
* @copyright 2014 BUDDYEXPRESS NETWORKS.
* @license Buddyexpress Public License http://www.buddyexpress.net/Licences/bpl/
* @link http://labs.buddyexpress.net/bdesk.b
*/
if(!isset($params['titl... |
<?php
namespace ElementorPro\Modules\Woocommerce\Widgets;
use Elementor\Controls_Manager;
use ElementorPro\Plugin;
use ElementorPro\Modules\QueryControl\Controls\Group_Control_Posts;
use ElementorPro\Modules\QueryControl\Module;
use ElementorPro\Modules\Woocommerce\Skins;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exi... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use function GuzzleHttp\Psr7\str;
use Illuminate\Support\Str;
class User extends Authenticatable
{
use Notifiable;
const VERIFIED_USER = '1';
... |
<?php
namespace Sabre\VObject;
use Sabre\VObject\Component\VCalendar;
use Sabre\VObject\Recur\EventIterator;
/**
* This class helps with generating FREEBUSY reports based on existing sets of
* objects.
*
* It only looks at VEVENT and VFREEBUSY objects from the sourcedata, and
* generates a single VFREEBUSY obje... |
<?php
namespace SMTC\UserBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use SMTC\UserBundle\Entity\User;
/**
* @ORM\Entity
* @ORM\HasLifecycleCallbacks
*/
class Player extends User
{
public function __construct()
{
parent::__construct();
$this->addRole('ROLE_PLAYER');
}
} |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateConfigurationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('configurations', function(Blueprint $table)
... |
<?php
/**
* Here you can initialize variables via \Codeception\Util\Fixtures class
* to store data in global array and use it in Tests.
*
* ```php
* // Here _bootstrap.php
* \Codeception\Util\Fixtures::add('user1', ['name' => 'davert']);
* ```
*
* In Tests
*
* ```php
* \Codeception\Util\Fixtures::get('user1... |
<?php
require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/conn.php';
use League\CLImate\CLImate;
use Application\Model\{
User,
Category
};
use Application\TableGateway\CRUD;
/**
* IV e KEY foram geradas externamente através do uso da random_bytes
* Como a random_bytes retorna binário... |
<?php
if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
class dashboard extends Patient_Controller
{
public $school_name;
public $school_setting;
public $setting;
public $payment_method;
public $patient_data;
public function __construct()
{
parent::__cons... |
<?php
namespace App\Http\Controllers;
use App\Helpers\PaginationHelper;
use App\Product;
use Illuminate\Http\Request;
use App\Category;
class SearchController extends Controller
{
use PaginationHelper;
public function getSearch(Request $request)
{
$queryParam = $request->get('q');
$query... |
<?php
/**
*
* @property string $encryptionKey
*/
class WebUser extends CWebUser
{
/**
* @param string $text
* @return string
*/
public function decrypt($text)
{
return Yii::app()->securityManager->decrypt($text, $this->encryptionKey);
}
/**
* @param string $text
... |
<?php
/**
* Marker interface specifying a many-to-many junction table.
*
* Verifies the `@junction` and `@foreign` annotations.
*
* @junction authors_to_books
* @foreign author Author
* @foreign book Book
*/
interface AuthorsToBooks
{
} |
@extends('layouts.admin_layout')
@section('title', 'Track | Dashboard')
@section('pagename')
<a href="/admin/tracks/{{ $track->id }}" class="navbar-brand" >{{ $track->name }} Track</a>
@endsection
@section('content')
<div class="track-container">
<div class="track-image">
<img height="300" src="/images/{{... |
<body id="bgadmin">
<div class="section"></div>
<main>
<center>
<div class="section"></div>
<div class="container">
<div class="z-depth-1 grey lighten-4 row" style="display: inline-block; padding: 32px 48px 0px 48px; border: 1px solid #FFF; width: 50%;">
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
/**
* App\Marketplace
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string $name
* @property string $amazon_marketplace_id
* @property string $endpo... |
<?php
/**
* User: YL
* Date: 2019/11/12
*/
namespace Jmhc\Restful\Middleware;
use Hyperf\HttpServer\Contract\RequestInterface;
use Hyperf\Utils\Collection;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandle... |
<?php
return array(
/*
* Package URI
*
* @type string
*/
'uri' => 'admin',
/*
* Domain for routing.
*
* @type string
*/
'domain' => '',
/*
* Page title
*
* @type string
*/
'title' => env('APP_NAME', 'Laravel'),
/*
* The ... |
<?php
use MatthiasMullie\Api\RequestHandler;
use MatthiasMullie\ApiOauth\Validators\ValidatorFactory;
use MatthiasMullie\ApiOauth\YamlRouteProviderWithContext;
use MatthiasMullie\PathConverter\Converter;
use Symfony\Component\Yaml\Yaml;
require __DIR__.'/vendor/autoload.php';
$contents = file_get_contents(__DIR__.'/... |
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\LangueRepository;
use Doctrine\Common\Collections\Collection;
use ApiPlatform\Core\Annotation\ApiResource;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validato... |
<?php
return [
'cities0' => [
'title' => 'Кашира',
],
'cities1' => [
'title' => 'Домодедово',
],
'cities2' => [
'title' => 'Видное',
],
'cities3' => [
'title' => 'Шатура',
],
'cities4' => [
'title' => 'Егорьевск',
],
'cities5' => [
... |
<?php
/* SmartPsyBundle:Question:new.html.twig */
class __TwigTemplate_09f8b3a9b905567fe08c41028f31f069448c27639915ae84265de0c079477b52 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate(... |
<?php
namespace Asiapay\Pdcptb\Model\Pdcptb;
use Magento\Framework\Session\SessionManager;
class Session extends SessionManager
{
public function __construct()
{
$this->init('pdcptb');
}
} |
<?php
namespace App\Projects\DgmeStudents\Contents;
use App\Mainframe\Features\Content\DynamicContent;
use Faker\Factory;
class SampleContent extends DynamicContent
{
// public $view = 'mainframe.contents.dummy';
// public $text;
// public $key;
// public $order;
//
// public function __con... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Dashboard') }}</div>
<div class="card-body">
@if (session('... |
<?php
namespace Subapp\WebApp\Grid;
/**
* Class GridFilter
*
* @package Subapp\Webapp\Grid
*/
class GridFilter
{
/**
* @var array
*/
protected $parameters = [];
/**
* @var array
*/
protected $filters = [];
/**
* @var Grid
*/
protected $grid;
... |
<?php
/**
* Bitrix Framework
* @package bitrix
* @subpackage main
* @copyright 2001-2014 Bitrix
*/
namespace Bitrix\Main\Web;
class IpAddress
{
protected $ip;
/**
* @param string $ip
*/
public function __construct($ip)
{
$this->ip = $ip;
}
/**
* Creates the object by a host name.
*
* @param st... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Use MorphMap in relationships between models
|--------------------------------------------------------------------------
|
| If true, the morphMap feature is going to be used. The array values that
... |
<?php
class SiteController extends Controller
{
/**
* Declares class-based actions.
*/
public function actions()
{
return array(
// captcha action renders the CAPTCHA image displayed on the contact page
'captcha'=>array(
'class'=>'CCaptchaAction',
'backColor'=>0xFFFFFF,
),
// page action ... |
<?php
# @Date: 2019-10-01T13:50:44+01:00
# @Last modified time: 2019-10-01T16:03:26+01:00
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTodosTable extends Migration
{
/**
* Run the migrations.
*
* @ret... |
@extends('dashboard.app')
@section('title' , 'Trash Box')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="card mb-5">
<div class="card-header">
<h3 class="float-left">{{__('Trashed Categories')}}</h3>
... |
<?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
*/
/**
* Propel's main resource pool and initialization & configuration class.
*
* This static class is... |
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\Api\Models\ProductType;
use Commercetools\Api\Models\Common\LocalizedString;
use Commercetools\Base\DateTimeImmutableCollection;
use Commercetools\Base\JsonObject;
interface AttributeLocalizedEnu... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Laporan extends CI_Controller
{
function __construct() {
parent::__construct();
$this->load->model('laporanadmin_model');
}
public function penjualan()
{
if(!(isset($_SESSION[$this->config->item('sess_prefix').'loggedi... |
<?php
namespace App\Http\Requests\Api\Auth;
use App\Http\Requests\Api\ApiMasterRequest;
class ResendPhoneVerificationRequest extends ApiMasterRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true... |
<?
$MESS["SPCAT3_NO_SHOP"] = "The e-Store module is not installed";
$MESS["SPCAT3_TECH_INSTR"] = "Technical instructions";
?> |
<script>
function confirm_conference(conference_id, individual_id) {
window.location.href = "conferences/confirm_conference_participation/" + conference_id + "/" + individual_id;
}
</script>
<div class="content">
<div class="conferenceslist" id="wrapper">
<h1> List of Conferences</h1>
... |
<?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 an... |
<? if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Profiler Sections
| -------------------------------------------------------------------------
| This file lets you determine whether or not various sections of Profil... |
<?php
use App\Http\Middleware\AdminAuthenticate;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Admin\LoginController;
use App\Http\Controllers\Admin\FandomController;
use App\Http\Controllers\Admin\ThematicController;
use App\Http\Controllers\Admin\HeroController;
use App\Http\Controllers\Admin\NewsC... |
<?php
use Illuminate\Database\Seeder;
class ManagerTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$faker = \Faker\Factory::create();
$data = [];
for($i = 0;$i<100;$i++){
$data[] = [
... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\models\Catespecialidad */
$this->title = 'Actualizar Especialidad: ' . $model->IDESPECIALIDAD;
$this->params['breadcrumbs'][] = ['label' => 'Catespecialidads', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->ID... |
<?php
class CheckIndexMultiply extends Handler {
use ScalarAddressMode, QuaternaryOperator, MayEmitError;
public function changesOperand($i) {
return ($i == 4 || $i == 5);
}
public function getOperandType($i) {
switch($i) {
case 1: return "U32"; // index
case 2: return "U32"; // dimension (i.e. the... |
<div class="clear20"></div>
<!--footer-->
<div id="footer_container">
<div id="footer" class="center-clear">
<ul>
<li><a href="index.html" class="active">Главная</a></li>
<li><a href="about.html">О компании</a></li>
<li><a href="news.html">Новости</a></li>
... |
@extends('layouts/main')
@section('title', 'Campaign')
@section('contentTitle', 'All Campaign')
@section('content')
@php
$page = 'campaign';
@endphp
<!--begin::Container-->
<div class="container">
@if ($message = Session::get('message'))
<div class="alert alert-{{ Session::get('type') }}... |
<?php
/**
* @file views_helper/helper_fotos_raadplegen.php
*
* Hier kan de helper leuke herinneringen ophalen en foto's van afgelopen jaren bekijken.
*/
?>
<script>
</script>
<article>
<div class="btn-group">
<?php
foreach($personeelsfeesten as $personeelsfeest) {
echo anchor('in... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Answer_comment extends Model
{
protected $guarded = [];
protected $table = "answers_comments";
public function question(){
return $this->belongsTo('App\Answers', 'answer_id');
}
} |
<?php
class Product {
public $no_of_item = 10;
function __construct(){
echo $this->no_of_item;
}
function categories(){
echo "this is a dummy categories";
}
}
// for constructor we doesn't need to call the function
$pdt1 = new Product();
echo "<br>";
//$pdt2 = new Product; //here you may use class name wi... |
@extends('template.utama')
@section('title', 'SIASKRIP PTIK UNJ')
@push('custom-css')
<!-- DataTables -->
<link rel="stylesheet" href="{{ asset('adminlte/plugins/datatables-bs4/css/dataTables.bootstrap4.min.css') }}">
<link rel="stylesheet" href="{{ asset('adminlte/plugins/datatables-responsive/css/responsive.b... |
<?php
namespace Chronos\Scaffolding\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Validator;
use Intervention\Image\Facades\Image;
class ProfileController extends Controller
{
public function edit()
... |
<?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 an... |
<?php
use yii\helpers\Url;
use yii\helpers\Html;
?>
<p>
Bonjour <?= Html::encode($username) ?><br/>
Pour activer votre compte, cliquez sur le lien suivant:<br/>
<br/>
<strong><?= Html::a('Activer Mon Compte', $activationUrl ) ?></strong>
</p> |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/var/www/grav-skeleton-photographer-site/user/plugins/error/languages.yaml',
'modified' => 1473856516,
'data' => [
'en' => [
'PLUGIN_ERROR' => [
'ERROR' => 'Error',
'ERRO... |
<?php
/**
* Publishable behavior class.
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2012, Magenta Creations (http://mg-crea.com)
* @package WebSocket.Network.Http
* @license MIT License (http://www.opensource.org/lice... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\DataClient;
use Carbon\Carbon;
use GuzzleHttp\Psr7\Message;
use Illuminate\Support\Facades\Validator;
use Illuminate\Database\QueryException;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\VarDumper\Cloner\Data;
c... |
<?php
/*
* <auto-generated>
* This code was generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
* </auto-generated>
*/
namespace Mozu\Api\Contracts\PaymentService;
/**
* Address information to supply for a contact.
*/
class A... |
<?php
include_once( 'class.jetpack-admin-page.php' );
// Builds the landing page and its menu
class Jetpack_React_Page extends Jetpack_Admin_Page {
protected $dont_show_if_not_active = false;
protected $is_redirecting = false;
function get_page_hook() {
$title = _x( 'Jetpack', 'The menu item label', 'jetpack' ... |
@extends('layouts.app')
@section('content')
<div class="row">
<div class="col-lg-3 col-xs-6" >
<!-- small box -->
<div class="small-box bg-aqua" >
<div class="inner">
<span><b><center>server elkanet</center></b></span>
<span style="color: white; font-family: Verdana,Arial,He... |
<?php
namespace Google\AdsApi\Dfp\v201805;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
abstract class LiveStreamEventAction
{
public function __construct()
{
}
} |
@extends('layouts.app')
@section('colour')
mm-active
@endsection
@section('content')
<div class="content-header row align-items-center m-0">
<nav aria-label="breadcrumb" class="col-sm-4 order-sm-last mb-3 mb-sm-0 p-0 ">
<ol class="breadcrumb d-inline-flex font-weight-600 fs-13 bg-white mb-0 ... |
<?php
namespace App\Http\Livewire;
use Livewire\Component;
class CourseDetailsComponent extends Component
{
public function render()
{
return view('livewire.course-details-component')->layout("layouts.base");
}
} |
@extends('layout')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Create Post</div>
<div class="card-body">
<form action="{{route('products... |
<?php
Class Admin extends MY_Controller
{
function __construct()
{
parent::__construct();
$this->load->model('admin_model');
}
/*
* Lay danh sach admin
*/
function index()
{
$input = array();
$list = $this->admin_model->get_list($input);
$th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.