text stringlengths 2 1.03M |
|---|
<?php
namespace BackBundle\Manager;
use BackBundle\Entity\Book;
use BackBundle\Form\BookType;
use Symfony\Bundle\FrameworkBundle\Routing\Router;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RedirectResponse;
/**
* Class BookManager
* @package BackBundle\Manager
*/
class BookM... |
<?php
defined('C5_EXECUTE') or die("Access Denied.");
if (!Loader::helper('validation/numbers')->integer($_REQUEST['fID'])) {
die(t('Access Denied'));
}
$selectedField = Loader::helper('text')->entities($_REQUEST['ccm_file_selected_field']);
$u = new User();
$form = Loader::helper('form');
$fp = FilePermissions::ge... |
<?php
use Illuminate\Database\Seeder;
use App\Models\Reply;
use App\Models\User;
use App\Models\Topic;
class ReplysTableSeeder extends Seeder
{
public function run()
{
// 所有用户 ID 数组,如:[1,2,3,4]
$user_ids = User::all()->pluck('id')->toArray();
// 所有话题 ID 数组,如:[1,2,3,4]
$topic_i... |
<?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
$pageTitle = "Login"
?>
@extends('layouts.frontLayout.front_design')
@section('content')
<body class="login-page sidebar-collapse">
<div class="page-header header-filter" id="loginpagehdr">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-6 ml-auto mr-auto">
... |
<?php
namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Database\QueryException;
use Throwable;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $dontRep... |
<?php echo $this->Form->create(null, array( 'url' => DOMAINAD.'products/copy','type' => 'post','enctype'=>'multipart/form-data','name'=>'image')); ?>
<div id="khung">
<div id="main">
<div class="toolbar-list" id="toolbar">
<ul>
<li id="toolbar-new"> <a href="javascript:void(0);"... |
<!-- Stepper -->
<!-- <div class="steps-form-2">
<div class="steps-row-2 setup-panel-2 d-flex justify-content-between">
<div class="steps-step-2">
<a type="button" class="btn btn-amber btn-circle-3 waves-effect ml-0" data-toggle="tooltip" data-placement="top" title="Basic Information"><i class="... |
<?php
namespace App;
//use Illuminate\Database\Eloquent\Model;
use Zizaco\Entrust\EntrustPermission;
class Permission extends EntrustPermission
{
//
protected $fillable =['name','dispaly_name','discription'];
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Company_structure_type extends MY_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 -
* Si... |
<?php class Promo extends CI_Controller
{
public function __construct()
{
parent::__construct();
if (!$this->session->has_userdata('login')) {
redirect('login');
}
$this->load->model('Message_model', 'message');
}
public function index()
{
$title_page = 'Admin - Promo list';
$breadcrumb = [
... |
<?php
/**
* Class to check up e-mail
*
* @author W3school.info Admin <jeetu91.singh@gmail.com>
* @copyright Copyright (c) 2015, w3school.info
*/
class verifyEmail {
protected $stream = false;
/**
* SMTP port number
* @var int
*/
protected $port = 25;
/**
* email address for request
* @var string
... |
<div class="row justify-content-center mt-3">
<div class="col-md-12 text-center">
@if (session('success'))
<div class="alert alert-success alert-dismissible fade show" role="alert">
{!! session('success') !!}
<a href="#" class="close btn" data-dismiss="alert" aria... |
<script src="js/jquery-1.12.0.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootbox.min.js"></script>
<script src="js/waitme.min.js"></script>
<script src="js/toastr.min.js"></script>
<script src="js/sweetalert.min.js"></script>
<script src="js/validator.min.js"></sc... |
<?php namespace App\Inv\Repositories\Models\Master;
use App\Inv\Repositories\Models\Master\Permission;
use App\Inv\Repositories\Factory\Models\BaseModel;
use App\Inv\Repositories\Entities\User\Exceptions\BlankDataExceptions;
use App\Inv\Repositories\Entities\User\Exceptions\InvalidDataTypeExceptions;
class RoleUser e... |
<?php
@define('PLUGIN_CREATIVECOMMONS_NAME', '创作共用协议');
@define('PLUGIN_CREATIVECOMMONS_DESC', '选择并显示一份保护你文章内容的创作共用协议');
@define('PLUGIN_CREATIVECOMMONS_TXT', '显示协议文本?');
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', '为了有效传达协议信息,对所选协议显示一份简短说明。');
@define('PLUGIN_CREATIVECOMMONS_CAP', '此作品的原创内容遵循“<a href="#license_uri#">创... |
<?php
return [
'avatar' => 'Avatar',
'edit' => 'Edit My Profile',
'edit_user' => 'Edit User',
'password' => 'Password',
'password_hint' => 'Leave empty to keep the same',
'role' => 'Role',
'role_default' => 'Default Role',
'roles' ... |
<?php
/**
* @link https://github.com/ixocreate
* @copyright IXOLIT GmbH
* @license MIT License
*/
declare(strict_types=1);
namespace Ixocreate\Misc\Schema\Type;
use Ixocreate\Schema\Type\AbstractType;
final class MockType extends AbstractType
{
public static function serviceName(): string
{
retu... |
<?php
/**
* EmailCommseqStep
*
* PHP version 5
*
* @category Class
* @package ultracart\v2
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* UltraCart Rest API V2
*
* UltraCart REST API Version 2
*
* OpenAPI spec version: 2.0.0
* Contact: support@ultra... |
<?php
/*
* blog_article表
* 文章
*/
namespace app\common\model;
use think\Model;
class ArticleModel extends Model
{
protected $table = 'blog_article'; //默认数据表
protected $pk = 'id'; //默认主键
//定义时间戳字段名:默认create_time和update_time,如果一致可省略
//如果想关闭某时间戳字段,将值设置为false即可:$create_time = false;
protected $autoWr... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSuppliersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('suppliers', function (Blueprint $table) {
... |
<?php
/**
* Copyright 2017 Google 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 law or agr... |
@extends('layouts.Recruit.penQus.penQus')
@section('title', '题组信息总览')
@section('mainInfor', 'Written test design overview')
@section('ol')
@parent
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{url('/')}}">Home</a></li>
<li class="breadcrumb-item"><a href="{{url('/recruit/qus/desview')}}"... |
<?php
/**
* Created by Nivanka Fonseka (nivanka@silverstripers.com).
* User: nivankafonseka
* Date: 9/7/18
* Time: 12:32 PM
* To change this template use File | Settings | File Templates.
*/
namespace SilverStripers\ElementalSearch\Tasks;
use SilverStripe\Control\HTTPRequest;
use SilverStripe\Core\ClassInfo;
u... |
<?php
namespace Warehouse\MediaType\CollectionJson\Transformer;
use Warehouse\MediaType\CollectionJson\CollectionJson;
use Illuminate\Database\Eloquent\Model;
class EloquentModelTransformer implements CollectionJsonTransformable
{
/**
* @var Model
*/
private $result;
public function __construc... |
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
use Illumina... |
<?php
$upgrade_array = array (
# start
array (59, 501619, 1, '-'),
array (3, 501620, 1, 'All'),
array (37, 501621, 1, 'Subscription+Expires'),
array (10208, 501622, 1, 'Account+Balance'),
array (3, 501623, 1, 'Location'),
array (55, 501624, 1, 'Location'),
array (63, 501625, 1, 'Locat... |
@extends('layouts.frontend')
@section('title', 'Profile Page')
@section('body_class', 'profile-page')
@section('content')
<div class="col-sm-10 col-sm-offset-1">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h1 class="text-center">Profile</h1>
</div>
<div class... |
@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 text-center">{{ __('Employer Registration') }}</div>
<div class... |
<?php
/*
* Person_basic interface dependent on DataBase.
* Person_basic used by index.php and regest.php
* 2016-09-24 21:15
*/
interface Person_basic {
// user regest: make sure [email] is unique, and then save information by interface DataBase
public function regest(); // return boolean;
// user login: check em... |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\ExifIFD;
use JMS\Serializer\Annotation\ExclusionPolicy;... |
<?php
$servername = "sql310.epizy.com";
$username = "epiz_26370859";
$password = "qh0aetllFTM";
$dbname = "epiz_26370859_mainproject";
$conn = new mysqli($servername, $username, $password, $dbname);
if ($conn->connect_error)
{
die("Connection failed: " . $conn->connect_error);
}
$report =$_FILES... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit6454aa61d36164254036b36c455b0d68::getLoader(); |
@extends('layouts.player.player') @section('content')
<style>
.fixed-img {
height: 9rem;
width: 9rem;
}
.pagiImg {
height: 3.5rem;
width: 1.5rem;
}
/* carsouel ki css */
@media (max-width: 768px) {
.carousel-inner .carousel-item > div {
disp... |
<?php
/**
* @author Lu Wei
*
* Created by IntelliJ IDEA.
* User: Administrator
* Date: 2018/6/8
* Time: 9:47
*/
namespace app\modules\mch\models;
use app\models\Goods;
class SetGoodsSortForm extends MchModel
{
public $store_id;
public $goods_id;
public $sort;
public function rules()
{
... |
<?php
namespace App\Http\Controllers;
use App\User;
use Illuminate\Http\Request;
use App\Services\GoogleSendService;
class PushNotificationController extends Controller {
public function sendPushNotification(Request $request) {
// GoogleSendService $google_send_service_instance, string $device_token = '',... |
<?php
namespace knx\FacturacionBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Symfony\Component\Validator\Constraints as Assert;
/**
* knx\FacturacionBundle\Entity\FacturaCargo
*
* @ORM\Table(name="factura_cargo")
* @ORM\Entity
* @ORM\Entity(repositoryClass="knx\Factu... |
<?php
namespace App\Http\Controllers\Admin;
use App\Chatfblog;
use Barryvdh\DomPDF\Facade as PDF;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Session;
class ChatfblogController extends Controller
{
private $model;
private $data;
private $perPage;
p... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateJeemat03tt02sTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('jeemat03t... |
<?php
// BackCommandeBundle:Daf:retrait.html.twig
return array (
'37790b0' =>
array (
0 =>
array (
0 => '@MainFrontBundle/Resources/public/js/bootstrap-typeahead.min.js',
),
1 =>
array (
),
2 =>
array (
'output' => '_controller/js/37790b0.js',
'name' => '37790b... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{$meta['titulo']}}</title>
<meta name="description" content="{{$meta['descripcion']}}">
<meta name="keywords" content="{{$... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
@extends('admin.master')
@section('title')
Edit News
@endsection
@section('mainContent')
<div id="page-wrapper"><br>
<h3 class="text-center text-primary"> Write News</h3>
<div class="row">
<div class="col-lg-12">
<h3 class="text-center text-success">{{Session::get('message')}}</h3> ... |
<?php
/**
* Created by PhpStorm.
* User: bubasuma
* Date: 3/4/16
* Time: 11:15 AM
*/
namespace rest\modules\v1\models;
/**
* Class Notification
* @package rest\modules\v1\models
*
* @property User actor
* @property User lastActor
*/
class Notification extends \common\models\Notification
{
private $_ent... |
@extends('layouts.app')
@section('content')
<div class="panel panel-default">
<div class="panel-heading">
<h2>Update Availability</h2>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-6">
<form class="form-horizontal" action="{{ action('Availab... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class LinkUserShopAndRole extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', functio... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be... |
<?php
if (!defined('_TB_VERSION_')) {
exit;
}
/**
* Class TextBanner
*
* @since 1.0.0
*/
class TextBanner extends Module
{
const LINK = 'TEXTBANNER_LINK';
const TEXT = 'TEXTBANNER_TEXT';
const BGCOLOR = 'TEXTBANNER_BGCOLOR';
const BGCOLOR_HOVER = 'TEXTBANNER_BGCOLORHOVER';
const FGCOLOR = '... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class PenyesuaianTabelUsers extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::table('us... |
<?php
require_once 'conexion/conexion.php';
session_start();
$cod_equipo = $_SESSION['cod_equipo'];
$cant_input = $_POST['cant_input'];
$sql_us = "SELECT * FROM usu_equipo";
$res_us = $conn->query($sql_us);
$cant_usu_equ = $res_us->num_rows + 1;
$sql_usu_equ = "";
for ($i=1; $i <= $cant_input ; $i++) {
$cod_usuario... |
<?php namespace App\Controllers;
use CodeIgniter\Controller;
use App\Models\UserModel;
class Login extends Controller
{
public function index()
{
helper(['form']);
echo view('login');
}
public function auth()
{
$session = session();
$model = new UserModel();
... |
<?php
namespace CentralCondo\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
/**
* Register any application services.... |
<?php
namespace Github\Normalizer;
use Jane\Component\JsonSchemaRuntime\Reference;
use Github\Runtime\Normalizer\CheckArray;
use Symfony\Component\Serializer\Exception\InvalidArgumentException;
use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface;
use Symfony\Component\Serializer\Normalizer\Denormal... |
<?php
namespace App\Services;
/**
* StockService
*
* @author epic-code
*/
class StockService {
} |
<?php
use Liuggio\StatsdClient\Entity\StatsdData;
use Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface;
/**
* MediaWiki adaptation of StatsdDataFactory that provides buffering functionality.
*
* @see BufferingStatsdDataFactory
*/
interface IBufferingStatsdDataFactory extends StatsdDataFactoryInterface {
/*... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Avatar extends Model
{
protected $table = 'avatars';
} |
<?php
namespace app\controllers;
use Yii;
use Exception;
use yii\filters\AccessControl;
use yii\data\Pagination;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\data\ActiveDataProvider;
use app\models\CustomerEntity;
use app\models\CustomerEntitystatus;
use app\models\C... |
@extends('user.layout.master')
@section('title,ecommerce-Signup')
@section('content-section')
<section id="breadcrumbs" class="breadcrumbs">
<div class="container">
<ol>
<li><a href="index.html">Home</a></li>
<li>SignUp</li>
</ol>
<h2>SIGNUP</h2>
</div>
</se... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Paket extends Model
{
use HasFactory;
public $timestamps = false;
protected $fillable = ['id_outlet', 'jenis', 'nama_paket', 'harga'];
public function outlet()
{
... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
/* AcmeDemoBundle:Demo:contact.html.twig */
class __TwigTemplate_d80104c095517db45b1e1859819d1990dd9f14c4702a5a8a0dd374c96547aaaf extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("AcmeDemoBund... |
<!DOCTYPE html>
<html>
<head>
@include('layouts.link')
<meta charset="UTF-8">
<title>D&D</title>
</head>
<body>
@include('layouts.header')
<div class="container"></div>
</body>
</html> |
<?php
/*
* This file is part of the Cocorico package.
*
* (c) Cocolabs SAS <contact@cocolabs.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cocorico\CoreBundle\Event;
use Cocorico\CoreBundle\Model\Manager\BookingManager;... |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
class newPractitionerAccountRequestReceived extends Notification
{
use Queueable;
/**
* Create a new... |
<style>
.message {
border: double 4px #ccc;
margin: 10px;
padding: 10px;
background-color: #fafafa;
}
.msg_title {
margin: 10px 20px;
color: #999;
font-size: 16pt;
font-weight: bold;
}
.msg_content {
margin: 10px 20px;
color: #aaa;
font-size: 12pt;
}
</style>
<di... |
<?
/**
* 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 and a... |
@extends('admin.index')
@section('content')
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.3.4/themes/default-dark/style.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.3.4/themes/default/style.min.css">
<style>
.tree1, .tree1 ul {... |
<?php
namespace App\Model\Web\Teacher;
use Illuminate\Database\Eloquent\Model;
class UpdateTeacherRoutine extends Model
{
protected $fillable = [
'Day',
'ShortName'
];
} |
@extends('spark::layouts.auth')
@section('content')
<div class="middle-box text-center loginscreen animated fadeInDown">
<div>
<div>
<h1 class="logo-name">IN+</h1>
</div>
<h3>Welcome to IN+</h3>
<p>Perfectly designed and precisely prepared ad... |
<?php
/**
* PEAR_Frontend, the singleton-based frontend for user input/output
*
* PHP versions 4 and 5
*
* @category pear
* @package PEAR
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2009 The Authors
* @license http://opensource.org/licenses/bsd-license.php New BSD License
* @version ... |
<?php
namespace Phalcon\Http\Request;
/**
* Phalcon\Http\Request\Exception
* Exceptions thrown in Phalcon\Http\Request will use this class
*/
class Exception extends \Phalcon\Exception
{
} |
<?php
namespace Magium\Assertions;
interface SelectorAssertionInterface extends AssertInterface
{
public function assertSelector($selector);
} |
<?php
Route::post('save/item_rating', function()
{
$data = array(
'item_id' => Input::get('item_id'),
'score' => Input::get('score'),
'added_on' => DB::raw('NOW()'),
'ip_address' => Request::getClientIp()
);
Jraty::add($data);
});
?> |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model SignupForm */
use frontend\models\SignupForm;
use yii\bootstrap4\ActiveForm;
use yii\helpers\Html;
use yii\jui\AutoComplete;
use yii\web\JsExpression;
//use yii\jui\DatePicker;
$this->title = 'Crear cuenta';
$this->params['... |
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<h1>About Us</h1>
</body>
</html> |
<?php
namespace app\common\model\comment;
use app\common\model\BaseModel;
/**
* 超管后台用户模型
*/
class Comment extends BaseModel
{
protected $pk = 'comment_id';
} |
<?php
namespace App\Http\Middleware;
use Closure;
use Auth;
class AdminMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRecruitsUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('recruits_... |
<?php
/**
* This file is part of prooph/event-store-http-middleware.
* (c) 2018-2019 Alexander Miertsch <kontakt@codeliner.ws>
* (c) 2018-2019 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this sourc... |
<?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
/**
* This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make... |
<?php
namespace App\Http\Livewire\Admin;
use Livewire\Component;
use App\Models\User;
use Livewire\WithPagination;
class UserIndex extends Component
{
use WithPagination;
protected $paginationTheme = 'bootstrap';
public $search;
public function updatingSearch(){
$this->resetPage();
}
... |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
?>
<?=
// $this->title = 'Server Modules List';
$this->params['breadcrumbs'][] = $this->title;
?>
<article class="box post post-excerpt">
<div class="content">
<div class="row">
<header>
<h2><?= Html::a($model->tit... |
<?php
namespace Imobiliare\Nomenclator;
use \Illuminate\Database\Eloquent\SoftDeletingTrait;
class TipCategorieTeren extends \Eloquent
{
use SoftDeletingTrait;
protected $table = 'tip_categorie_terenuri';
protected $fillable = ['nume'];
public static function getRecord( $id )
{
return se... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'email',... |
<?php
namespace Vidal\DrugBundle\Command;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
/**... |
<?php
/*
* Your installation or use of this SugarCRM file is subject to the applicable
* terms available at
* http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/.
* If you do not agree to all of the applicable terms or do not have the
* authority to bind the entity as an authorized representative... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Cont... |
<?php
use PHPUnit\Framework\TestCase;
/**
* @covers DateRangeParser
*/
final class DateRangeParserTest extends TestCase
{
public function testSimpleDate()
{
$dp = new \DateRangeParser('2018-03-31');
$d = $dp->parse();
$this->assertEquals('2018-03-31 00:00:00', $d['start']);
$... |
@extends('admin.layouts.app')
@section('page-heading')
<div class="col-sm-4">
<h2>Pages</h2>
<ol class="breadcrumb">
<li>
<a href="{{ route('admin.page.index') }}">Pages</a>
</li>
<li class="active">
<strong>Listes</strong>
</li>
</ol>
</div>
<div cla... |
<?php require_once("sessions.php");?>
<?php require_once("../includes/functions.php");?>
<?php
$_SESSION = array();
if(isset($_COOKIE[session_name()])){
setcookie(session_name(),'',time()-(60*60*24*7), '/');
}
session_destroy();
redirect_to("../login.php?logout=1");
?> |
<?php
/**
* @file classes/form/validation/FormValidatorUrl.inc.php
*
* Copyright (c) 2000-2012 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @class FormValidatorUrl
* @ingroup form_validation
* @see FormValidator
*
* @brief Form validation check for URLs.
*... |
@extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h2 class="text-center color-azul"> Restablecer Contraseña</h2>
<div class="panel panel-default">
<div class="panel-heading fondo-naranja-oscuro color-... |
<?php
namespace FilippoToso\Travelport\Hotel;
class OptionalServiceApplicabilityType
{
const __default = 'Itinerary';
const Itinerary = 'Itinerary';
const Passenger = 'Passenger';
const Segment = 'Segment';
const PassengerSegment = 'PassengerSegment';
const PassengerOD = 'PassengerOD';
con... |
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://appediary.herokuapp.com/</loc>
<lastmod>2020-07-01</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
@foreach ($r... |
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
p {
text-align: center;
font-size: 60px;
margin-top:0px;
}
</style>
</head>
<body onload="a()">
<p>Installment plan will Be Running in:</p>
<p id="demo"></p>
<input type="button" name="aa" id="aa" onclick... |
<?php
/**
* PHPUnit
*
* Copyright (c) 2002-2011, 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
echo '
<header class="main-header">
<!-- Logo -->
<a href="dashboard.php" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>ITZY</b></span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Libreria</b>ITZY<... |
<?php namespace Illuminate\Database\Query\Processors;
class MySqlProcessor extends Processor {
/**
* Process the results of a column listing query.
*
* @param array $results
* @return array
*/
public function processColumnListing($results)
{
return array_map(function($r) { $r = (object) $r; return $r... |
<?php
/**
* ownCloud
*
* @author Frank Karlitschek
* @copyright 2012 Frank Karlitschek frank@owncloud.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* versi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.