text stringlengths 2 1.03M |
|---|
<?php
namespace App\Models\TypesActivities;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Video extends Model
{
use HasFactory;
const COMPONENT = 'VIDEO';
} |
@extends('adminlte::page')
@section('title', 'List Menu')
@section('content')
<div class="content">
<div class="container-fluid">
<!-- /.card -->
<div class="card">
<div class="card-body">
<h3 class="card-title">Menus</h3>
</div>
<div class="card-bo... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Rout... |
<?php
namespace App\Logic\Forms\Ajax\DepositType;
use App\Logic\Interfaces\IPageForm;
use App\Logic\Models\DepositTypeModel;
use App\Logic\Validations\ExtendedValidator;
use Sim\Auth\DBAuth;
use Sim\Exceptions\ConfigManager\ConfigNotRegisteredException;
use Sim\Form\Exceptions\FormException;
use Sim\Form\FormValue;
u... |
<!DOCTYPE html>
<?php
include_once "menuWithLogout.php";
?>
<html lang="en">
<head>
<title>Delivery and Transport</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->... |
@extends('adminlte::page')
@section('title', 'AdminLTE')
@section('content_header')
<h1 class="m-0 text-dark">Dashboard</h1>
@stop
@section('content')
<div class="row">
<div class="col-12">
<a href="/home/add"> Tambah</a>
<div class="card">
<div class="card-b... |
<?php
/*
* Copyright 2014 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 agreed t... |
<?php
declare(strict_types=1);
namespace App\Policies;
use App\Models\AttendanceExport;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class AttendanceExportPolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can view the attendance export.
*/
public fun... |
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\User;
use App\Role;
use Validator;
use Session;
use Auth;
use Route;
use Sentinel;
use Activation;
use DB;
use Hash;
use Mail;
use Carbon\Carbon;
class FacturacionController extends Controller
{
public function __... |
<?php namespace App\Http\Requests;
use App\Http\Requests\Request;
class RegisterUserRequest extends Request {
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
... |
<?php
/*
AUTOMATIC IMAGE ROTATOR
Version 2.2 - December 4, 2003
Copyright (c) 2002-2003 Dan P. Benjamin, Automatic, Ltd.
All Rights Reserved.
http://www.hiveware.com/imagerotator.php
http://www.automaticlabs.com/
DISCLAIMER
Automatic, Ltd. makes no representations or warranties about
the suitability o... |
<?php
/**
* Piwik - free/libre analytics platform
* Piwik Proxy Hide URL
*
* @link http://piwik.org/faq/how-to/#faq_132
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
if (file_exists('config.php')) {
include 'config.php';
}
// -----
// Important: read the instructions in README.md or a... |
<?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding yo... |
<?php
$items = $modx->getOption('items', $scriptProperties, '');
$config = $modx->migx->customconfigs;
if (!empty($items)) {
$items = $modx->fromJson($items);
$rows = $modx->migx->checkRenderOptions($items);
$hooksnippets = $modx->fromJson($modx->getOption('hooksnippets', $config, ''));
if (is_array... |
<?hh // strict
function test(KeyedContainer<arraykey, mixed> $kc): void {
$kc[] = 1;
} |
<?php
namespace GT3\ThemesCore;
use GT3\ThemesCore\Assets\Script;
defined('ABSPATH') OR exit;
class Lazy_Images {
private static $instance = null;
/** @return Lazy_Images */
public static function instance(){
if(is_null(static::$instance)) {
static::$instance = new static();
}
return static::$instance... |
<?php
namespace test;
echo "ok\n"; |
<?php
namespace Database\Seeders;
use App\Models\Role;
use Illuminate\Database\Seeder;
use Spatie\Permission\Models\Permission;
use Spatie\Permission\PermissionRegistrar;
class RoleSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMessagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('messages', fun... |
<?php
@include('shared/header.php');
?>
<?php
$stanze = array(
"generali" => array(
"luce" => saIO::led(2, 91),
"luce piano" => saIO::led(3, 91),
"luce tavolo snack" => saIO::led(5, 91)
),
"Telo oscurante" => array(
"abbassa" => saIO::led(1... |
<?php
namespace App\Entities\FoodOrdering;
use App\Entities\BaseModel;
use App\Entities\Centre;
use App\Entities\Local;
use DateTime;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Collectio... |
<!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">
<title>Web Attendance Management System</title>
<link href="{{ asset('/css/app.css') }}" rel="stylesheet">
<link href="{... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-widt... |
<?php
namespace hosting\core\libs;
use \Shipard\Form\Wizard;
/**
* Class WizardDeleteAccount
* @package hosting\core\libs
*/
class WizardDeleteAccount extends Wizard
{
public function doStep ()
{
if ($this->pageNumber == 1)
{
$this->doRemove();
}
}
public function createHeader ()
{
$hdr = [];
... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/dcomdico/Sites/ORX-Site/system/languages/bg.yaml',
'modified' => 1575294134,
'data' => [
'GRAV' => [
'NICETIME' => [
'NO_DATE_PROVIDED' => 'Не е въведена дата',
'B... |
<?php
_deprecated_file( __FILE__, '3.10', 'Tribe__Events__Pro__Recurrence' );
class TribeRecurrence extends Tribe__Events__Pro__Recurrence {
} |
<?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding yo... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Banner;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\File;
class BannerController extends Controller
{
public function __construct(){
$this->middleware('auth');
}
/**
* Display a list... |
<?php
namespace app\admin\controller;
class Product extends Base{
//品牌管理
public function ProductBrand(){
return $this->fetch();
}
//分类管理
public function ProductCategory(){
return $this->fetch();
}
//分类添加
public function ProductCategoryAdd(){
return $... |
<?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 return array('dependencies' => array(), 'version' => '678ea83bc8e1bc01b23e1e8934a95a23'); |
<?php
namespace SPatompong\UnitConversion\Tests;
use PHPUnit\Framework\TestCase;
use SPatompong\UnitConversion\Weight;
class WeightTest extends TestCase
{
/** @test */
public function true_is_true()
{
$this->assertTrue(true);
}
/** @test */
public function it_can_convert_kilograms_to... |
<?php
class application extends APPObject {
use paginas_fixas,
template_site;
function __construct(){
# CONFIGURATIONS #
$this->rootDir("/");
$this->uiTemplateDefault("site");
header("Content-Type: text/html;charset=utf-8");
$this->empresa = "Detto Mó... |
<?php
/** ______________________________________________
* o O | |
* ((((( o < Generated with Cook Self Service V3.1.9 |
* ( o o ) |___________________________________... |
<div class="modal fade" id="modal-debt_pay">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h6 class="modal-title text-dark">
<i class="fas fa-pencil-alt fa-sm mr-1"></i> Pembayaran Cicilan
</h6>
... |
<?php
// TODO eventually throw error
list(0=>$a,0=>$b, 1=>$c+$b) = $arr; |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCompetitionMembersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comp... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Model;
use Faker\Generator as Faker;
$factory->define(App\Question::class, function (Faker $faker) {
return [
'title' => rtrim($faker->sentence(rand(5, 10)), "."),
'body' => $faker->paragraphs(rand(3, 7), true),
'vie... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Produk_model extends CI_Model {
public function get_produk()
{
$query = $this->db->get('tb_sekolah');
return $query->result_array();
}
public function get_excel()
{
return $this->db->get('tb_sekolah');
}
}
?> |
<?php
namespace dir_params;
use easytest;
function setup_runs_for_directory() {
echo __DIR__;
return array(
array(2, 4),
array(8, 16)
);
}
function teardown_runs_for_directory($args) {
echo __DIR__;
easytest\assert_identical(array(array(2, 4), array(8, 16)), $args);
}
function... |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:91:"D:\www\www.twothink.com\public/../application/home/view/default/article\article\detail.html";i:1496373782;s:80:"D:\www\www.twothink.com\public/../application/home/view/default/base\common.html";i:1496373782;s:77:"D:\www\www.twothink.com\public/../application/home/v... |
<?php
namespace App\Models\Builders;
use App\Models\Tables\Constant;
use Core\ValueObjects\Coordinates;
use Illuminate\Database\Eloquent\Builder;
/**
* Class LocationBuilder.
*
* @package App\Models\Builders
*/
class LocationBuilder extends Builder
{
/**
* @var string
*/
private $locationsTable... |
<?php
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Auth;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\GroupController;
use App\Http\Controllers\ContactController;
/*
|--------------------------------------------------------------------------
| Web Routes
|-----------------... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Storage;
class Comment extends Model
{
protected $fillable = ['review_id', 'fio', 'avatar', 'text', 'type'];
public function user ()
{
return $this->belongsTo('App\User');
}
public function ge... |
@extends('layouts.admin')
@section('content')
@include('alerts.request')
{!!Form::model($categoria,['route'=>['categoria.update',$categoria],'method'=>'PUT'])!!}
@include('categoria.forms.usr')
{!!Form::submit('Actualizar',['class'=>'btn btn-primary'])!!}
{!!Form::close()!!}
@endsection |
<?php /** @noinspection ALL */
namespace Dharmvijay\LaravelApiResponse;
use http\Exception\BadMethodCallException;
use Illuminate\Http\JsonResponse;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
use Symfony\Component\HttpFoundation\Response as ResponseHTTP;
use Illuminate\Support\Facades\... |
<?php
namespace Seracademico\Services\Mestrado;
use Seracademico\Repositories\Mestrado\AlunoFrequenciaRepository;
class AlunoFrequenciaService
{
/**
* @var AlunoFrequenciaRepository
*/
private $repository;
/**
* AlunoFrequenciaService constructor.
* @param AlunoFrequenciaRepository $... |
<?php
$lang["item_kits_add_item"] = "إضافة مجموعة";
$lang["item_kits_all"] = "";
$lang["item_kits_cannot_be_deleted"] = "لايمكن حذف مجموعة/مجموعات";
$lang["item_kits_confirm_delete"] = "هل أنت متأكد أنك تريد حذف المجموعة؟";
$lang["item_kits_description"] = "وصف المجموعة";
$lang["item_kits_discount_percent"] = "";
$la... |
<?php
/*
* This file is part of Psy Shell
*
* (c) 2012-2014 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Psy\Test\CodeCleaner;
use Psy\CodeCleaner\UseStatementPass;
class UseStatementPassTest extends... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\DataIzinSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="data-izin-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
'opt... |
<?php
namespace markpthomas\gis;
/**
* UserController
* Controls everything that is user-related
*/
class UserController extends Controller
{
/**
* Construct this object by extending the basic Controller class.
*/
public function __construct()
{
parent::__construct();
// VERY... |
<?php
/**
* This file is part of the Cloudinary PHP package.
*
* (c) Cloudinary
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cloudinary\Test\Unit\Logger;
use Cloudinary\Test\Unit\TestHelpers\TestLogger;
use Cloudinar... |
<?php
namespace App\Services;
interface ClientServiceInterface
{
public function store(string $lrs_id, string $oauth_name, string $authority_name= '',
string $authority_mbox = '',
array $scopes = []);
} |
<?php
namespace App\Http\Controllers;
use App\Models\Admin;
use App\Models\Personne;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Hash;
class AuthController extends Controller
{
public static function register(Request $request)
{
$fi... |
<section style="padding:60px">
<!-- main, sidebar -->
<div class="main">
<div class="wrap">
<div class="col-md-12" >
<div class="content_bottom" style=" margin-left:100px; background-color: white;">
<script type="text/javascript">
function cekform(){
if(!$("#NIK").val()){
alert... |
<?php
/**
* Copyright (C) 2015-2019 Virgil Security, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* (1) Redistributions of source code must retain the above copyright
*... |
<?php
/**
* This file is part of the CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace CodeIgniter\Database\SQLite3;
use CodeIgniter\Databas... |
<?php
/**
* File containing the ezcDocumentRstXhtmlBodyVisitor class
*
* @package Document
* @version 1.3rc1
* @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* HTML visitor for the RST AST, which only produces contents to b... |
<?php
class Aturan_model extends CI_model
{
// Menampilkan seluruh isi tabel Pengetahuan
public function getAllAturan()
{
// menampilkan seluruh data gejala yang ada di tabel gejala.
// $queryRule = "SELECT `tbl_pengetahuan`.`id`,`tbl_kerusakan`.`kode_kerusakan`,`tbl_kerusakan`.`nama_kerusakan`,`tbl_geja... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class User_model extends CI_Model {
function __construct(){
parent::__construct();
}
public function insert_user($data){
$query = $this->db->insert('conference_attendee', $data);
if ($query) {
return true;
}else{
return false;
}... |
<?php
/* @var $this yii\web\View */
/* @var \app\utils\JsonRpcDataProvider $provider */
use yii\grid\GridView;
use yii\bootstrap4\LinkPager;
$this->title = 'Admin';
$this->params['breadcrumbs'][] = $this->title;
?>
<?= GridView::widget([
'dataProvider' => $provider,
'columns' => [
'url',
[
... |
<?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of La... |
<?php
namespace s9e\TextFormatter\Tests\Configurator\RulesGenerators;
/**
* @covers s9e\TextFormatter\Configurator\RulesGenerators\EnforceContentModels
*/
class EnforceContentModelsTest extends AbstractTest
{
/**
* @testdox <div> has an allowChild rule and an allowDescendant rule for <b>
*/
public function testAl... |
<?php
namespace App\Http\Controllers;
use App\Models\Poll;
use App\Models\Option;
use App\Models\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\Request;
class OptionController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/... |
<?php
namespace Apxiaoxv\Modules\Commands;
use Illuminate\Support\Str;
use Apxiaoxv\Modules\Support\Config\GenerateConfigReader;
use Apxiaoxv\Modules\Support\Stub;
use Apxiaoxv\Modules\Traits\ModuleCommandTrait;
use Symfony\Component\Console\Input\InputArgument;
class RequestMakeCommand extends GeneratorCommand
{
... |
<?php
class Beeminder_Tests_ClientTest extends PHPUnit_Framework_TestCase
{
// ------------------------------------------------------------
// -- Creation
// ------------------------------------------------------------
public function testCreateWithoutDriver()
{
$client = new Beeminde... |
<?php
declare(strict_types=1);
namespace RevisionTen\Calendar\Command;
use RevisionTen\Calendar\Handler\EventPublishHandler;
use RevisionTen\Calendar\Entity\Event;
use RevisionTen\CQRS\Command\Command;
use RevisionTen\CQRS\Interfaces\CommandInterface;
final class EventPublishCommand extends Command implements Comma... |
@extends('layouts.app')
@section('content')
@if(session('success'))
<div class="alert alert-success">
{{session('success')}}
</div>
@elseif(session('warning'))
<div class="alert alert-warning">
{{session('warning')}}
</div>
@elseif(session('error'))
<div class="alert alert-danger">
{{session('error')}}
</d... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Products extends CI_Controller {
// Default Constructor
public function __construct() {
// Call the parent constructor
parent::__construct();
// Load some of the CodeIgniter Library
$this->load->library('form_validation');
$this... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\FaskesTabel;
class faskesController extends Controller
{
//get all Data Faskes
public function get_all_data(){
return response() ->json(FaskesTabel::all(),200);
}
//get Data Faskes by Id
public function show($i... |
<?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
/*
|--------------------------------------------------------------------------
| 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
/**
* PHPExcel
*
* Copyright (c) 2006 - 2012 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... |
@extends('dashboard.layouts.app_dashboard')
@section('content')
<div class="container">
@component('dashboard.components.breadcrumb')
@slot('title') Список категорий @endslot
@slot('parent') Главная @endslot
@slot('active') Категории @endslot
@endcomponent
... |
<?php
namespace Bolt\Twig\Extension;
use Bolt\Twig\Runtime;
use Twig\Extension\AbstractExtension;
use Twig\TwigFilter;
use Twig\TwigTest;
/**
* Text functionality Twig extension.
*
* @internal
*
* @author Gawain Lynch <gawain.lynch@gmail.com>
*/
class TextExtension extends AbstractExtension
{
/**
* {@... |
<?hh <<__EntryPoint>> function main(): void {
ini_set("intl.error_level", E_WARNING);
ini_set("intl.default_locale", "nl");
$intlcal = IntlCalendar::createInstance('Europe/Amsterdam');
$intlcal->setTime(strtotime('2012-01-01') * 1000);
var_dump($intlcal->inDaylightTime());
$intlcal->setTime(strtotime('2012-04-01') * 1... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Dessinateur extends Model
{
protected $table = 'dessinateur';
public $timestamps = false;
protected $primaryKey = 'id_dessinateur';
protected $fillable = ['id_dessinateur', 'nom_dessinateur', 'prenom_dessinateur'];
public f... |
<?php
namespace App\Domain\Users\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class AccountDisabledNotification extends Notification implements ShouldQueue
{
use Queueable;
... |
<?php
declare(strict_types=1);
namespace AtlassianConnectBundle\Tests\Functional;
/**
* Tests JWTAuthenticator and LegacyJWTAuthenticator.
*/
final class AuthenticatorTest extends AbstractWebTestCase
{
public function testProtectedRouteWithoutAuthentication(): void
{
$client = self::createClient();... |
<?php $this->load->view("catalog_search/active_filter_tokens");?>
<?php if (isset($rows)): ?>
<?php if ($rows): ?>
<?php
//sort
$sort_by=$search_options->sort_by;
$sort_order=$search_options->sort_order;
//set default sort
if(!$sort_by)
{
$sort_... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateEventsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('events', functio... |
<?php
namespace App\Controllers;
use App\Models;
class Cargo extends BaseController
{
public function formInsert()
{
echo view('insert_cargo');
}
public function formUpdate()
{
echo view('update_cargo');
}
public function Inserir()
{
$TB_CARGO_NOME = $this->request->getPost()['TB_CARGO_NOME'];
... |
<?= $this->extend('archive') ?>
<?= $this->section('subcontent') ?>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th class="col-archive-year">Olimpiade</th>
<th>Soal</th>
<th>Pembahasan</th>
<th>Latihan</th>
</tr>
</thead>
<tbody>
<tr>
<td>KSN-K 2021</td>
<td><a href="/da... |
@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">
... |
<?php
namespace TuFracc\Providers;
use Illuminate\Routing\Router;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to the controller routes in your routes file.
*
* In addition,... |
<svg {{ $attributes }} xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"/>
</svg> |
<?php
/**
* @Filename: Category.php
* @Author: 肖子恒
* @Date: 2018/12/24
* @Time:10:39
*/
namespace app\admin\controller;
class Category extends Admin
{
public function __construct()
{
parent::__construct();
}
/**
* @Function ajax_list 分类列表页数据
* @Author: 肖子恒
* @Date: 2018/12/... |
<!-- Content Wrapper. Contains page content -->
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
... |
<?php
/**
* The template for displaying comments.
*
* The area of the page that contains both current comments
* and the comment form.
*
* @package scores
*/
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comme... |
<link href="{{ URL::asset('html_2.0/assets/css/bootstrap.min.css') }}" rel="stylesheet" type="text/css">
<link href="https://cdn.jsdelivr.net/npm/remixicon@2.3.0/fonts/remixicon.css" rel="stylesheet">
<link href="{{ URL::asset('html_2.0/assets/css/style.css') }}" rel="stylesheet" type="text/css">
<link href="{{ URL::as... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class CursosController extends Controller
{
public function index()
{
return view('cursos.index');
}
public function crear()
{
return view('cursos.crear');
}
public function mostrar($curso)
{... |
<?php
namespace app\controllers;
use Yii;
use app\models\Articles;
use app\models\ArticleSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\data\Pagination;
/**
* ArticleController implements the CRUD actions for Articles model.
*/
class ArticleController extends... |
<?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\MXF;
use JMS\Serializer\Annotation\ExclusionPolicy;
use... |
<?php
namespace App\models;
use Illuminate\Database\Eloquent\Model;
class Banner extends Model
{
//
protected $table = 'banner';
public $timestamps = false;
protected $guarded = [];
} |
<?php
/* ::base.html.twig */
class __TwigTemplate_3d70639742d8bdd7483a7d4b1825137cfb61e60d5ef8d0e33aa3806c85f71e67 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'titlePa... |
@if(count($errors) > 0)
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">×</span></button>
<ul>
@foreach($errors->all() as $error)
<li>{!!$error!!}</li>
@endforeach
</ul>
</div>
@e... |
<?php
/*
* This file is part of Packagist.
*
* (c) Jordi Boggiano <j.boggiano@seld.be>
* Nils Adermann <naderman@naderman.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Form\Model;
use App\Entity\User;
c... |
<?php
/**
* Copyright 2010 SURFnet B.V.
*
* 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 a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.