text stringlengths 2 1.03M |
|---|
<?php
/**
* Define your URI routes here.
*
* $route[Request Method][Uri] = array( Controller class, action method, other options, etc. )
*
* RESTful api support, *=any request method, GET PUT POST DELETE
* POST Create
* GET Read
* PUT Update, Create
* DELETE Delete
*
* Use lowercase for Request M... |
<?php
namespace budyaga\users;
use Yii;
class Module extends \yii\base\Module
{
public $controllerNamespace = 'budyaga\users\controllers';
public $userPhotoUrl = '';
public $userPhotoPath = '';
public $customViews = [];
public $customMailViews = [];
public function init()
{
p... |
<footer class="main-footer">
<div class="pull-right d-none d-sm-inline-block">
<ul class="nav nav-primary nav-dotted nav-dot-separated justify-content-center justify-content-md-end">
<li class="nav-item">
<a class="nav-link" href="javascript:void(0)">FAQ</a>
</li>
<li class="nav-item... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class building_model extends CI_Model
{
public function __construct()
{
parent::__construct();
$this->load->database();
}
public function getDataBuildings()
{
}
public function getDataBuildingByID($bld... |
<?php
namespace Tests\Dummies;
use Metamorphosis\TopicHandler\Producer\AbstractHandler;
use Metamorphosis\TopicHandler\Producer\HandleableResponseInterface;
use RdKafka\Message;
class ProducerHandlerDummy extends AbstractHandler implements HandleableResponseInterface
{
public function __construct($record, string ... |
<?php
/**
* This file is part of the DreamFactory Services Platform(tm) SDK For PHP
*
* DreamFactory Services Platform(tm) <http://github.com/dreamfactorysoftware/dsp-core>
* Copyright 2012-2014 DreamFactory Software, Inc. <support@dreamfactory.com>
*
* Licensed under the Apache License, Version 2.0 (the "License... |
<?php
/* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\attribute\key\settings\topicssettings$aktopictreeid@[annot]][1]/ */
/* Type: array */
/* Expiration: 2021-10-09T03:43:03-05:00 */
$loaded = true;
$expiration = 1633768983;
$data = array();
/* Child Type: array */
$data['return'] = unserialize(b... |
<?php
namespace Config;
/**
* Paths
*
* Holds the paths that are used by the system to
* locate the main directories, app, system, etc.
*
* Modifying these allows you to restructure your application,
* share a system folder between multiple applications, and more.
*
* All paths are relative to the project's ... |
<?php
namespace Minz\Obs\Plugins;
use League\Flysystem\Plugin\AbstractPlugin;
class Bucket extends AbstractPlugin
{
public function getMethod()
{
return 'bucket';
}
/**
* @param $bucket
* @return mixed
*/
public function handle($bucket)
{
return $this->files... |
<?php
namespace App\Entity;
use App\Repository\PostRepository;
use App\Entity\Comment;
use App\Entity\Traits\BlameableEntity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Gedmo\Timestampable\Traits\TimestampableEntity;
use Hateoas\Configuration\Annotation as Hateoas;
use JMS\Serializer\... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
namespace RcmUser\Acl\Provider;
use RcmUser\Acl\Entity\AclResource;
use RcmUser\Acl\Entity\RootAclResource;
/**
* Class RootResourceProvider
*
* PHP version 5
*
* @category Reliv
* @package RcmUser\Acl\Provider
* @author James Jervis <jjervis@relivinc.com>
* @copyright 2015 Reliv International
*... |
<?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... |
<footer class="footer">
<div class="container">
<p style="color: #ffffff;margin: 10px 0 10px 0; text-align: center" > 本站以分享各类网络文章文章为主,为你带来简洁舒适的阅读体验</p>
<p style="text-align: right"> 提示 :所有文章来源于网络, 如果有版权问题请与<button class="btn-link" type="button" onclick="contactUs()">我们</button>联系, 我们将及时删除!</p>
<... |
<?php
declare(strict_types=1);
namespace EonX\EasyApiToken\Tests\Encoders;
use EonX\EasyApiToken\Encoders\BasicAuthEncoder;
use EonX\EasyApiToken\Exceptions\InvalidArgumentException;
use EonX\EasyApiToken\Exceptions\UnableToEncodeEasyApiTokenException;
use EonX\EasyApiToken\Tests\AbstractTestCase;
use EonX\EasyApiTo... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;
class CreateCommonArticlesTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Model::unguard();
... |
<?php
namespace Concrete\Core\Page\Controller;
use Concrete\Core\Block\Block;
use Concrete\Core\Block\BlockController;
use Concrete\Core\Controller\Controller;
use Concrete\Core\Foundation\Environment;
use Concrete\Core\Html\Service\Html;
use Concrete\Core\Http\Request;
use Concrete\Core\Page\Page;
use Concrete\Core\R... |
<?php
return array (
8680505 =>
array (
0 => 43,
1 => '球磨郡多良木町',
2 => '槻木',
),
8680624 =>
array (
0 => 43,
1 => '球磨郡湯前町',
2 => '中猪',
),
8688515 =>
array (
0 => 43,
1 => '人吉市',
2 => '城本町',
3 => '800',
),
8680424 =>
array (
0 => 43,
1 => '球磨郡あさぎり... |
<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- csrf token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>Your ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddCategoryForeignKeyToPostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('P... |
<?php $__env->startSection('content'); ?>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-10 col-md-8 col-sm-offset-1 col-md-offset-2">
<h1 class="text-center">Awesome Posts</h1>
</div>
</div>
<div class="row">
<div c... |
<?php
namespace RestoBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Plat
*
* @ORM\Table(name="plat")
* @ORM\Entity(repositoryClass="RestoBundle\Repository\PlatRepository")
*/
class Plat
{
/**
* @var int
*
* @ORM\Column(name="id", t... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\ICE\V20201109\Models;
use AlibabaCloud\Tea\Model;
class RegisterMediaInfoRequest extends Model
{
/**
* @description 媒资业务类型
*
* @var string
*/
public $businessType;
/**
* @description 分类
... |
<?php
namespace backend\controllers;
use Yii;
use common\models\world\Region;
use common\models\world\RegionSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* RegionController implements the CRUD actions for Region model.
*/
class RegionController extends Controlle... |
<?php
/*
-- ---------------------------------------------------------------
-- MARKETPLACE
-- CREATED BY : RIZKY MUSTHOFA
-- COPYRIGHT : Copyright (c) 2020
-- LICENSE : http://opensource.org/licenses/MIT MIT License
-- CREATED ON : 2020-03-18
-- UPDATED ON : V.1
-- -----------------------------------------------... |
<html>
<head>
<style type="text/css">
.table-wrapper-scroll-y {
display: block;
max-height: 340px;
overflow-y: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
</style>
</head>
<body>
<?php $array_hari=array(1=>'Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday');
$hari=$arra... |
<div class="container"><h1>Testimoni</h1>
<hr>
<form enctype="multipart/form-data" action="/AdminWRBOnline/handleAddTesti/" method="POST">
<div class="form-group">
<label for="nama">Nama</label>
<input type="text" class="form-control" name="nama" required="" id="nama" placeholder="Mas Agus">
</div>
<div class="... |
<?php
class agency_albums_peer extends db_peer_postgre
{
protected $table_name = 'agency_albums';
public static function instance()
{
return parent::instance('agency_albums_peer');
}
public function get_item($primary_key)
{
$item = parent::get_item($primary_key);
$fields = array('images', 'additiona... |
@extends('layouts.admin_layout')
@section('admin_content')
<div class="table-agile-info">
<div class="panel panel-default">
<div class="panel-heading">
Danh sách các lời mời thi đấu
</div>
<div class="row w3-res-tb">
<div class="col-sm-5 m-b-xs">
</div>
<div class="co... |
<?php
namespace App\Http\Controllers;
use App\Category;
use App\Produit;
use Illuminate\Http\Request;
class FrontController extends Controller
{
public function index(){
$categories = Category::with(['produits', 'produits.produitImages'])
->orderBy('id' , 'desc')
->get();
return response()->json($catego... |
<?php
//membuat koneksi
$conn=mysqli_connect("localhost","root","","morfeen");
//Cek koneksi
if(!$conn)
{
die('Connection Failed : '.mysqli_connect_errno()
.' - '.mysqli_connect_error());
}
function addFreelance($data)
{
global $con;
$nama = $data["nama"];
$ala... |
<?php
namespace qpf\htmc\input;
class Form
{
/**
* 表单ID
*
* @var string
*/
public $id = 'form';
/**
* CSS类
*
* @var string
*/
public $class;
/**
* 表单提交URL
*
* @var string
*/
public $action = '';
/**
* 表单提交方式
*
... |
<?php
declare(strict_types=1);
namespace App\Http\Api;
use App\Http\Api\Entity\ProfileInterface;
use App\Http\Api\Factory\ProfileFactory;
use App\Http\Api\Factory\ProfileFactoryInterface;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
use http\Exception\RuntimeException;
class AuthSchApi implement... |
<?php
namespace App\Http\Livewire\Dashboard;
use App\Models\Review;
use Livewire\Component;
class StatReview extends Component
{
public function render()
{
$reviews = Review::all();
return view('livewire.dashboard.stat-review', [
'reviews' => $reviews,
]);
}
} |
<?php
namespace admin\modules\tracking\models;
use Yii;
use yii\web\NotFoundHttpException;
use yii\base\Model;
use common\models\OrderTracking;
/**
* SeriesSearch represents the model behind the search form about `common\models\NumberSeries`.
*/
class FunctionTracking extends Model
{
public static function Cr... |
@extends('layouts.app')
@section('content')
<div class="container">
<ol class="breadcrumb">
<li><a href="/">Home</a></li>
<li>Register</li>
</ol>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div>
<a href="/auth/facebook">
... |
<?php namespace Fisharebest\Localization\Locale;
use Fisharebest\Localization\Territory\TerritoryIn;
/**
* Class LocaleUrIn
*
* @author Greg Roach <fisharebest@gmail.com>
* @copyright (c) 2015 Greg Roach
* @license GPLv3+
*/
class LocaleUrIn extends LocaleUr {
public function territory() {
retur... |
<?php
// Heading
$_['heading_title'] = 'Page non trouvée!';
// Text
$_['text_not_found'] = 'La page que vous cherchez n`a pas pu être trouvée! .';
/*
Copyright (C) 2016-2017 Apptiko.
Created by Apptiko - http://extension.apptiko.com.
Time-stamp-code:Sat1117070351
*/ |
@extends('layouts.admin')
@section('page')
<a class="navbar-brand" href="{{route('admin.index')}}">الرئيسية</a>
@endsection
@section('content')
<div class="row">
<div class="col-lg-12 text-right">
@include('includes.erroralert')
@include('includes.succalert')
@error('... |
<div class='header ui-widget-header'><?php echo gT("CPDB CSV summary"); ?></div>
<div class='messagebox ui-corner-all'>
<div class='uploadsummary'>
<?php
$uploadSummary ='';
if (empty($errorinupload))
{
$uploadSummary .= "<div class='successheader'>" . gT('Upload... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Offer</title>
</head>
<body>
<div id="... |
<?php
use hscstudio\mimin\components\Mimin;
use yii\helpers\Html;
use yii\helpers\Url;
use app\widgets\grid\GridView;
use yii\widgets\Pjax;
use kartik\export\ExportMenu;
use dmstr\widgets\Alert;
use yii\bootstrap\Modal;
$this->registerCss('
/* Important part */
.modal-dialog{
overflow-y: initial !important
}
.mod... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddHelpsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('helps', function (Blueprint $table) {
$table->i... |
<!DOCTYPE html>
<html>
<head>
@include('includes.head')
</head>
<body>
<header>
@include('includes.header')
</header>
<div class="container">
<div class="row justify-content-center">
<input type="text" name="search" placeholder="Search Ticket">
<button class="btn btn-primary btn-submi... |
<?php $__env->startSection('page-title'); ?>
<?php echo e('Dashboard : '.$subZone->name); ?> <a href="/dashboard-alarms" class="btn-warning btn btn-sm btn-alarm"><i class="fas fa-exclamation-triangle"></i></a>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page-icon','chart-bar'); ?>
<?php $__env->star... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Section extends Model
{
use HasFactory;
public const PSYCHOSOCIAL = 1;
public const HOUSING = 2;
public function referrals()
{
return $this->belongstoMany(... |
<html>
<head>
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
// Load the Visualization API and the corechart package.
google.charts.load('current', {'packages':['corechart']});
// Set a ca... |
@extends('app')
@section('content')
<div id="crud" class="row">
<div class="col-sm-12">
<h1 class="page-header">CRUD LARAVEL y VUEjs</h1>
</div>
<div class="col-sm-7">
<a href="#" class="btn btn-primary pull-right" data-toggle="modal" data-target="#create">
Nueva Tarea
</a>
<table class="table table-str... |
<?php
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
$search = $this->ev->get('search');
$this->u = '';
if($search)
{
... |
<?php
namespace App\Entity;
use ApiPlatform\Core\Annotation\ApiFilter;
use ApiPlatform\Core\Annotation\ApiResource;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter;
use App\Filter\CustomerNameOrCompanyFilter;
use DateTime;
use Doctrine\ORM\Mapp... |
<?php
/* TwigBundle:Exception:exception.atom.twig */
class __TwigTemplate_7eaaadad3847bc92b3427f0e98047ad88bca6f1ddf7c218322347172660e85c4 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arr... |
<?php
namespace App\Notifications\Auca;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\Facades\Lang;
use Illuminate\Support\Facades\Config;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;
class AucaVerifyEmail extends Notificati... |
@extends('layouts.app')
@section('search', route('users.search'))
@section('delete', route('users.destroy', $user->id))
@section('header')
<div class="row align-items-center py-4">
<div class="col-7 col-lg-6">
<h6 class="h2 text-white d-inline-block mb-0">Users</h6>
<nav aria-label="... |
<?php
class Test extends CI_Controller {
public function index()
{
$this->readExcel();
}
public function readExcel(){
$this->load->library('excel');
$objReader = PHPExcel_IOFactory::load('assets/upload/classs.xls');
$sheetData = $objReader->getActiveSheet()->toArray(true,true,true,true);
e... |
<?php
class Kwc_Articles_Detail_QuestionsAnswers_Component extends Kwc_Abstract_List_Component
{
public static function getSettings()
{
$ret = parent::getSettings();
$ret['componentName'] = trlKwf('Questions and answers');
$ret['generators']['child']['component'] = 'Kwc_Articles_Detail_Q... |
<?php declare(strict_types=1);
namespace Vinnia\Shipping;
use DateTimeInterface;
class CancelPickupRequest
{
public string $id;
public string $service;
public Address $requestorAddress;
public Address $pickupAddress;
public DateTimeInterface $date;
public string $locationCode;
public fun... |
<?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\Controllers;
use App\Models\Bank;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class BankController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
if (... |
<?php
namespace backend\controllers;
use Yii;
use common\models\TransaksiInfrastruktur;
use backend\models\TransaksiInfrastrukturSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* TransaksiInfrastrukturController implements the CRUD actions for TransaksiInfrastruktu... |
<?php
namespace App\Modules\SpaceAllocation\Models;
use App\Libraries\CommonFunction;
use Illuminate\Database\Eloquent\Model;
class EmployeeDetails extends Model {
protected $table = 'space_emp_details';
protected $fillable = array(
'id',
'type_id',
'reg_id',
'year',
... |
<?php
/*
* Copyright 2011 Johannes M. Schmitt <schmittjoh@gmail.com>
*
* 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 requir... |
<?php
namespace Database\Factories;
use App\Models\Film;
use App\Models\Review;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
class ReviewFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Review:... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePrTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('prms_prlist', functi... |
@extends('layouts.adminlte-boot-4.admin')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<div class="content-header">
<div class="container-fluid">
<div class="row mb-0">
<div class="col-sm-6">
<h1 class="m-0... |
<div class="single-channel-page" id="content-wrapper">
<div class="single-channel-image">
<img class="img-fluid" alt="" style="height: 289.23px;" src="<?php echo base_url('asset/img/user/background/').$data_user['back_image'] ?>">
<div class="channel-profile">
... |
<?php
if (!defined('IN_IA')) {
exit('Access Denied');
}
class Wap_EweiShopV2ComModel extends ComModel
{
public function getSet()
{
return '';
}
}
?> |
<?php
namespace Foostart\Contact;
use Illuminate\Support\ServiceProvider;
use LaravelAcl\Authentication\Classes\Menu\SentryMenuFactory;
use URL, Route;
use Illuminate\Http\Request;
class ContactServiceProvider extends ServiceProvider {
/**
* Bootstrap the application services.
*
* @return void
... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Blade;
class RoleServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap servic... |
@extends ('layout/admin')
@section ('contenido')
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<h3>Editar Articulo: {{ $persona->nombre }}</h3>
@if (count($errors)>0)
<div class="alert alert-danger">
<ul>
@foreach ($err... |
<?php
function create_dropdown($identifier,$pairs,$firstentry,$multiple="")
{
// Start the dropdown list with the <select> element and title
$dropdown = "<select name=\"$identifier\" multiple=\"$multiple\">";
$dropdown .= "<option name=\"\">$firstentry</option>";
// Create the dropdown e... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\LibrarySubLang */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="library-sub-lang-form">
<?php $form = ActiveForm::begin(['action'=>$action]); ?>
<?= $form->field($model, 'lang')->hidd... |
<?php
if (!isset($_SESSION['USERID'])){
redirect(web_root."admin/index.php");
}
// $autonum = New Autonumber();
// $res = $autonum->single_autonumber(2);
?>
... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ env('APP_NAME') }} | Reset Account</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="BankON">
<meta name="author" content="Vinicius Medeiros">
<!--=========================... |
<?php
use App\Http\Controllers\AnswerController;
use App\Http\Controllers\QuestionController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class OrderSku extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('order_sku', function (Blu... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Barang;
use App\User;
use App\Jenisbarang;
use App\Satuan;
use Auth;
use Excel;
class JenisbarangController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
p... |
<!DOCTYPE html>
<html lang="pt-br">
<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="">
<meta name="author" content="">
<title><?=$title?></title>
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePresensisTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('presensi', fu... |
<?php
/**
* Angela
* 课程安排控制器
* 2017年11月21日17:54:32
*
*/
namespace App\Controller;
use App\Service\ElectiveService;
use App\Service\TeacherService;
use App\Service\CategoryService;
use App\Service\SubjectsService;
use App\Service\SemesterService;
use App\Service\CourseService;
use App\Service\RoleService;
use Ap... |
<?php
namespace api\modules\v1;
//use yii\base\Module AS yiiModule;
/**
*
*/
class Module extends \yii\base\Module
{
public $controllerNamespace = 'api\modules\v1\controllers';
public function init()
{
parent::init();
}
} |
<?php
namespace ContainerShpvg7F;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getDoctrineMigrations_UpToDateCo... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('posts', function ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class FactorCompare extends Model
{
use HasFactory;
public function SI()
{
return $this->belongsTo(SecInfo::class, 'SI_id');
}
public function factor()
{
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateSeriRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return false;
}
/**
* Ge... |
<?php
namespace Omt\ImageHelper\Gd\Commands;
use Omt\ImageHelper\Commands\AbstractCommand;
use Omt\ImageHelper\Gd\Color;
class PickColorCommand extends AbstractCommand
{
/**
* Read color information from a certain position
*
* @param \Omt\ImageHelper\Image $image
* @return boolean
*/
... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
class LanguageMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle(Request $request, Closur... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as... |
<?php
namespace app\lib\exception;
/**
* Class ForbiddenException
* 禁止访问
* @package app\lib\exception
*/
class ForbiddenException extends BaseException{
public $code = 403;
public $msg = "您没有权限访问";
public $errorCode = 10001;
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户管理_喇叭传媒</title>
<meta name="description" content="" />
... |
<?php
namespace App\Http\Requests\API\Download;
/**
* @property array $songs
*/
class SongRequest extends Request
{
public function rules(): array
{
return [
'songs' => 'required|array',
];
}
} |
<section id="moisCourant">
<h2 id="MoisFrais">Frais Forfaitaires du mois de : <?php echo $_SESSION['mois']['libelle']; ?></h2>
<p>
Nombre d'étapes : <span class='frais'>
<?php echo $_SESSION['FraisForfait']['ETP']; ?>
</span> / KmParcourus : <span class='frais'>
<?php... |
<?php
namespace App\Exports;
use App\User;
use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\WithMapping;
use PhpOffice\PhpSpreadsheet\Shared\Date;
class UsersExport implements FromCollection, WithMapping, WithHeadings
{
public function collect... |
@extends('users-mgmt.base')
@section('action-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">Update user</div>
<div class="panel-body">
<fo... |
<?php
use Illuminate\Database\Seeder;
class ConfigTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('config')->delete();
DB::table('config')->insert([
'config' => 'roundTime',
'v... |
<footer class="footer">
<div class="container">
<p class="pull-left">
由 <a href="http://weibo.com/u/1837553744?is_hot=1" target="_blank">Summer</a> 设计和编码 <span style="color: #e27575;font-size: 14px;">❤</span>
</p>
<p class="pull-right"><a href="mailto:{{ setting('contact_email')... |
<?php
namespace App\Models;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use App\Notifications\ResetPassword;
use Auth;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*... |
@extends('admin/layout')
@section('books')
active
@endsection
@section('book')
active
@endsection
@section('content')
<div class="container-fluid">
<!-- Breadcrumb-->
<div class="row pt-2 pb-2">
<div class="col-sm-9">
<h4 class="page-title">Manage Books</h4>
<ol class="breadcrumb">
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMasterClassesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('master_cl... |
<?php if ( ! $isWizard or ! empty(PMXI_Plugin::$session->deligate) and PMXI_Plugin::$session->deligate == 'wpallexport' or $isWizard and "new" != $post['wizard_type']): ?>
<h4><?php _e('When WP All Import finds new or changed data...', PMWI_Plugin::TEXT_DOMAIN); ?></h4>
<?php else: ?>
<h4><?php _e('If this import is r... |
<main role="main" class="col-md-9 col-lg-10 px-4 mt-3">
<h1 class="h3"><?= $titulo_pagina ?></h1>
<!-- Button -->
<div class="row">
<div class="col-12">
<a class="btn btn-primary" href="<?= base_url('usuarios/adicionar') ?>" title="Novo Usuário">Novo Usuário</a>
</div>
</div>
<!-- FlashDat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.