text stringlengths 2 1.03M |
|---|
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/security/privateca/v1beta1/service.proto
namespace Google\Cloud\Security\PrivateCA\V1beta1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Request me... |
<?php
$params = require __DIR__ . '/params.php';
$db = require __DIR__ . '/db.php';
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'components' => [
... |
<div class="task">
<strong>strtolower</strong> — Преобразует строку в нижний регистр
<div class="func-description">
string strtolower ( string str )
</div>
<pre>
<code class="php">
$string = 'Hello World!';
/*
Строчка ниже выведет 'hello world!'
*/
echo strtolower($string);
</code>
</pre>
Преобр... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v1/resources/billing_setup.proto
namespace Google\Ads\GoogleAds\V1\Resources\BillingSetup;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Con... |
<script src="https://cdn.ckeditor.com/ckeditor5/19.0.0/classic/ckeditor.js"></script>
<style>
.coordinates {
background: rgba(0, 0, 0, 0.5);
color: #fff;
position: absolute;
bottom: 40px;
left: 10px;
padding: 5px 10px;
margin: 0;
font-size: 11px;
... |
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="{{asset("assets/$theme/dist/img/user2-160x160.jpg")}}" cl... |
@extends('layouts.user')
@section('title')
<title>Matrimonial - {{$user->uname}}</title>
@endsection
@section('content')
<div class="row">
<div class="col-md-12">
<img class="thumbnail user-image" src="{{asset('images')}}/{{$user->propic}}">
<div class="user-info">
<table class="table table-stripped">
<tr... |
@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">{{ __('Verify Your Email Address') }}</div>
<div class="card-body">
... |
<?php
namespace App;
require_once "conf.php";
use App\lib\Helper;
class CronJob
{
public function __construct()
{
$this->dir = __DIR__.'/uploads/';
$this->deleted_count = 0;
// delete from output folder
$this->deleteOldFiles(glob($this->dir."output/*"));
// delete fr... |
<?php
/**
* This source file is part of the open source project
* ExpressionEngine (https://expressionengine.com)
*
* @link https://expressionengine.com/
* @copyright Copyright (c) 2003-2021, Packet Tide, LLC (https://www.packettide.com)
* @license https://expressionengine.com/license Licensed under Apache... |
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="_css/estilo.css"/>
<meta charset="UTF-8"/>
<title>Curso de PHP - CursoemVideo.com</title>
</head>
<body>
<div>
<pre>
<?php
$v = array("A", "J", "M", "X", "K");
print_r($v);
array_pop($v);
print_r($v);
?>
</p... |
@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">{{ __('Register') }}</div>
<div class="card-body">
<form method="P... |
<?php
namespace Rougin\Slytherin\Application;
/**
* Auryn Container Test
*
* @package Slytherin
* @author Rougin Gutib <rougingutib@gmail.com>
*/
class AurynContainerTest extends ApplicationTestCases
{
/**
* Prepares the application instance.
*
* @return void
*/
public function setUp... |
@extends('layouts.master')
@section('content')
<div class="container-fluid">
<div class="row mr-0" >
<div class="col-md-12 mt-2" >
<div class="card p-3">
<div class="d-flex justify-content-between">
<div class=""><span class="display... |
<?php
/**
* This is the model class for table "comment".
*
* The followings are the available columns in table 'comment':
* @property integer $id
* @property string $create_date
* @property string $text
* @property integer $ticket_id
* @property integer $author_id
*
* The followings are the available model r... |
<?php namespace IntegrityInvoice\Repositories;
use IntegrityInvoice\Repositories\CompanyDetailsRepositoryInterface;
use Company;
class DbCompanyDetailsRepository implements CompanyDetailsRepositoryInterface{
public function getAll($tenantID = "", $perPage = "")
{
return Company::where('tenantID','=', $tenantID... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCatedraticoCursoTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('catedr... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFuncaoTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('funcao', functio... |
<?php
namespace Build\Core\Http\Requests;
/*
* This file is part of the Build package.
*
* (c) Centagon <contact@centagon.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
class WebsiteRequest extends \Illuminate\Foundation\H... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>
@section('title')
Laravel - Taylor Otwell
@show
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="A fully featured admi... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/jerrybrahm/repos/outrage/system/languages/tr.yaml',
'modified' => 1538527076,
'data' => [
'NICETIME' => [
'NO_DATE_PROVIDED' => 'Tarih yok',
'BAD_DATE' => 'Yanlış tarih',
... |
<?php
namespace shop\tests\unit\entities\User;
use Codeception\Test\Unit;
use shop\entities\User\User;
class ConfirmSignupTest extends Unit
{
public function testSuccess()
{
$user = new User([
'status' => User::STATUS_WAIT,
'email_confirm_token' => 'token',
]);
... |
<?php
if(!isset($_SESSION))
{
session_start();
}
?>
<!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=iso-8859-1" />
<title>BTS PenTe... |
<?php
App::uses('UserDetail', 'Model');
/**
* UserDetail Test Case
*
*/
class UserDetailTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.user_detail',
'app.user'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this... |
@extends('Layout.app')
@section('content')
@include('Component.HomeBanner')
@include('Component.HomeService')
@include('Component.HomeCourse')
@include('Component.HomeProject')
@include('Component.Contact')
@include('Component.HomeReview')
@endsection |
<?php
if (isset($_POST["enviar"])) {
// Recibimos los datos del formulario (POST)
$nuevoEquipo = $_POST["nuevoEquipo"];
$city = $_POST["city"];
$date = $_POST["date"];
// Necesitamos incluir el fichero bbdd.php
require_once('bbdd.php');
// Insertamos datos en la bbdd
insertarNuevoEquip... |
@extends('layouts.dashboardApp')
@section('title', 'Add Duration')
@section('header')
<script src="/js/dashboard/duration.js"></script>
@endsection
@section('content')
<div class="main-div-content">
<div class="row">
<div class="col-md-6 main-div-content-left">Add duration</div>
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\Author;
use App\Models\Book;
class BookSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//membuat sample penulis
$author1 = Author::create([... |
@extends('Admin.index')
@section('title','Vacancies')
@section('breadcrumbs','Vacancies')
@section('main_content')
@if(session('success'))
<div class="alert alert-success alert-dismissable" align="center" style="width: 734px;
margin-left: 431px;">
<a href="" class="close" data-dismiss="alert" aria-label="close... |
<?php
/*use Illuminate\Database\Seeder;
class UserTalbeSeeder extends Seeder
{
*
* Run the database seeds.
*
* @return void
public function run()
{
//
}
}
*/
//让我们使用该方法来创建 50 个假用户
use Illuminate\Database\Seeder;
use App\Models\User;
class UsersTableSeeder extends Seeder
{... |
<?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 App\Controller;
use App\Utils\Util;
use Symfony\Bundle\FrameworkBundle\... |
<?php
use Illuminate\Database\Seeder;
use App\Models\Local;
class LocalTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Local::insert([ 'name' => 'Explanada del Jockey',
'capacity' => 400,
'addres... |
@extends('website.backend.layouts.main')
@section('content')
<div class="col-md-12 col-sm-12 ">
<div class="x_panel">
<div class="x_title">
<h2>Crear Articulo </h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
... |
<header class="navbar navbar-fixed-top navbar-inverse">
<div class="container">
<div class="col-md-offset-1 col-md-10">
<a href="/" id="logo">Sample App</a>
<nav>
<ul class="nav navbar-nav navbar-right">
@if (Auth::check())
<li><a href="{{route('users.index')}}">用户列表</a><... |
<div class="complete-content">
<div id="homepage-long-version-two">
<div class="container full-width-container ihome-banner">
<div class="banner col-sm-12 col-xs-12 col-md-12">
<ul>
<!-- THE BOXSLIDE EFFECT EXAMPLES WITH LINK ON THE MAIN SLIDE EXAMPLE -->
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFacultiesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('faculties', f... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\CompanyAssets;
use Illuminate\Support\Facades\DB;
use Barryvdh\DomPDF\Facade as PDF;
class AssetsController extends Controller
{
public function get_assets(Request $request){
... |
<?php
use yii\helpers\Url;
?>
<div class="o-page__sidebar js-page-sidebar">
<div class="c-sidebar">
<h4 class="c-sidebar__title">Dashboards</h4>
<ul class="c-sidebar__list">
<li class="c-sidebar__item">
<a class="c-sidebar__link" href="<?= Url::to(['/site/index'])?>"... |
<!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>Trippi</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/cs... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('images', functio... |
<?php
/*
|--------------------------------------------------------------------------
| Language File For Krisawzm.Embed Plugin
|--------------------------------------------------------------------------
|
| If you translate this to a different language,
| please share it on Github!
|
| https://github.com/krisawzm/embe... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class Barang extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
* Show the form for creating a new resource.
... |
<!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">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?fam... |
<nav class="navbar navbar-inverse navbar-fixed-bottom">
<div class="navbar-fluid">
<p style="color:white;" class="text-center">copyright@2017</p>
</div>
</nav> |
<?php
$params = require(__DIR__ . '/params.php');
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'components' => [
'request' => [
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
'... |
@extends('layouts.app')
@section('content')
<section class="content-header">
<h1 class="pull-left">Infomes</h1>
</section>
<div class="content">
<div class="clearfix"></div>
@include('flash::message')
<div class="clearfix"></div>
<div class="box box-primary">
... |
<?php
namespace App\Http\Livewire;
use Livewire\Component;
use App\Models\Link;
class CreateLink extends Component
{
public $type;
public $url;
protected $rules=[
'type' => 'required',
'url' => 'required',
];
public function create(){
$this->validate();
Link::cre... |
<?php
/**
* This program 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 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will... |
<?php
/**
* FeatureSku.
*
* PHP version 5
*
* @author Stefan Neuhaus / Ashutosh
*/
/**
* Selling Partner APIs for Fulfillment Outbound.
*
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazo... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSaskaitasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('saskaitas', f... |
<?php
namespace App\Controllers;
use App\Helpers\HttpRequestHelper;
use Psr\Http\Message\ResponseInterface as IResponse;
use Psr\Http\Message\ServerRequestInterface as IRequest;
use Slim\Views\Twig;
class LocationController
{
/**
* @param Psr\Http\Message\ServerRequestInterface $request
* @param Psr\Ht... |
<?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 Symfony\Bridge\Monolog\Processor;
use Monolog\Processor\WebProcessor as... |
<?php
/**
* @package iitpConnect.Site
*
* @copyright Copyright (C) 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_EXEC') or die;
class PostController extends BaseController
{
public $postType = NULL;
public $single = ... |
<?php echo $this->extend('Admin/layout/principal'); ?>
<?php echo $this->section('titulo'); ?> <?php echo $titulo; ?> <?php $this->endSection(); ?>
<!--Aqui enviamos para o template princial os estilos -->
<?php echo $this->section('estilos'); ?>
<?php $this->endSection(); ?>
<!-- Aqui enviamos para o template p... |
<?php
namespace DroneMill\FoundationApi\Providers;
use Illuminate\Support\ServiceProvider;
class ConfigHijackServiceProvider extends ServiceProvider
{
public function register()
{
$config = $this->app['config'];
/*if (strpos(\Request::url(), $config->get('web.url')) !== false)
{
$config->set('app.request... |
<div class="row">
<div class="col-md-12">
<h2>Admin Dashboard</h2>
<h5>Welcome Jhon Deo , Love to see you back. </h5>
</div>
</div>
<!-- /. ROW -->
<hr />
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-6">
<div class="panel panel-back noti-box">
<span class="icon-box bg-... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateGpasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('gpas', function (B... |
<?php
/**
* This file is part of Serlo.org.
*
* Copyright (c) 2013-2021 Serlo Education e.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/LICEN... |
{{--
Если у пользователя устаревший браузер, то выведется сообщение --}}
<!--[if lt IE 9]>
<link rel="stylesheet" href="{{ asset('css/reject.css') }}">
<script src="{{ asset('js/reject.min.js') }}" data-text="@lang('s.browser_you_are_using_is_outdated')"></script>
<![endif]-->
{{--
Если у пользователя выключен JS, то... |
<?php
namespace app\Guards;
interface AdminStatefulGuard extends Guard
{
/**
* Attempt to authenticate a user using the given credentials.
*
* @param array $credentials
* @param bool $remember
* @return bool
*/
public function attempt(array $credentials = [], $remember = fals... |
<?php
namespace Drupal\Tests\group\Kernel;
use Drupal\Core\Session\AccountInterface;
use Drupal\group\Entity\GroupInterface;
/**
* Tests the behavior of group creators.
*
* @todo Move to Drupal\Tests\group\Functional\GroupCreatorWizardTest when we
* remove the functionality that auto-creates creator membership... |
<?php
namespace App\Http\Controllers\Backend;
use Illuminate\Http\Request;
use App\Model\Transaction;
use App\Http\Controllers\Controller;
use App\Repositories\TransactionRepository;
class TransactionController extends Controller
{
protected $transactionRepository;
public function __construct(Transacti... |
<!-- Page Header -->
<?php include 'form-header.php'; ?>
<!-- Set service_id -->
<?php $service_id = '6'; ?>
<!-- Error Handling -->
<?php include 'error/error-handling.php'; ?>
<!-- Service Error Handling -->
<?php include 'error/error-handling-cicl.php'; ?>
<!-- Variables for family compos... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<!-- <div class="container-fluid"> -->
<div class="row">
<div class="col-sm-6">
<h3 class="ml-3"><?= $kontensubmenu; ?>... |
@component('vendor.mail.html.message')
@slot('header')
@component('mail::header', ['url' => 'https://winwincr.co.uk'])
Win Win Management
@endcomponent
@endslot
<div class="div">
<p>For the attention of {{ $supplier->name }}</p>
<p>Please complete the tender req... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title><?= $title; ?>... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito... |
<?php
namespace ContainerNpGbrYw;
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 getDebug_ArgumentResolver_Defaul... |
<?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
public function index()
{
$request->session()->flash('flash.banner', 'Yay it works!');
$request->session()->flash('flash.bannerStyle', 'success');
return view('home.index');
}
} |
<?php
class LiveMsg{
public $id;
public $user;
public $live;
public $msg;
public $type;
public static $sqlStruct='(user,live,msg,type) values(?,?,?,?)';
public static $updateStruct='set user=?, live=?,msg=?,type=? where id=?';
function __construct($values)
{
$this->user=$v... |
<?php
/* @var $this source\core\base\BaseView */
/* @var $model source\models\Content */
$this->title = '新建页面';
$this->params['breadcrumbs'][] = ['label' => '页面管理', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<?= $this->render('_form', [
'model' => $model, 'bodyModel' => $bodyModel,
])... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use DB;
class ProdutosController extends Controller
{
//
public function index(Request $request){
$produtos = DB::table('produtos')
->where('status', '0')
->orderB... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\ProductHistorique */
$this->title = Yii::t('app', 'Save As New {modelClass}: ', [
'modelClass' => 'Product Historique',
]). ' ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Product Historiques'), '... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddColumnCategorieId extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('examplaires', ... |
<?php
/**
* Jwt Controller
*
* @author Adi
* @author Brata
* @package Rest Controller
* @copyright 2020 PT Asia Sekuriti Indonesia
*/
defined('BASEPATH') or exit('No direct script access allowed');
use Firebase\JWT\JWT;
use Firebase\JWT\ExpiredException;
class JwtAuth
{
private $CI;
/**
* Jwt ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCountryStateCityTables extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('coun... |
<?php
namespace WPGraphQL\Type\PostObject\Connection;
use GraphQL\Type\Definition\ResolveInfo;
use GraphQLRelay\Connection\ArrayConnection;
use WPGraphQL\AppContext;
use WPGraphQL\Data\ConnectionResolver;
use WPGraphQL\Data\DataSource;
use WPGraphQL\Types;
/**
* Class PostObjectConnection - connects posts to other ... |
<?php
namespace App\Http\Controllers\company;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
use jeremykenedy\LaravelRoles\Models\Role;
class CompanyController extends Controller
{
/**
* Display a... |
<?php
use Illuminate\Database\Seeder;
use Faker\Generator as Faker;
use App\Course;
class CourseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run(Faker $faker)
{
for ($i=0; $i < 10; $i++) {
$newCourse = new Course;
... |
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>LEAD | Administrador</title>
<meta name="description" content="A responsive bootstrap 4 admin dashboard template by hencework" />
<link href="{{ asset(... |
<?php
global $action;
global $model;
$order_id = $action[2];
$user_id = session()->value("user_id");
//print_r($order);
$SC = new Shop();
$order = $SC->getOrders(array("order_id" => $order_id));
if($order) {
$user = $model->getUser();
// Does it make sense to run any of this without the shop?
//if(defined("SITE_S... |
<?php $__env->startSection('content'); ?>
<div class="be-content">
<div class="page-head">
<h2 class="page-head-title">Tolls</h2>
<ol class="breadcrumb page-head-nav">
<li><a href="#">Home</a></li>
<li><a href="#">Configuration</a></li>
<li class="active">Tolls<... |
<!-- Content -->
<body>
<!-- Feature -->
<section id="feature" class="transparent-bg">
<!-- Container -->
<div class="container">
<div class="center wow fadeInDown">
<h2>Buat Data Guru</h2>
</div>
<!-- Row -->
<div class="row">
<f... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit83e1251c9f6fd44cf50e38fdd9a23fd7
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
protected $table = "categories";
protected $fillable = ['name'];
public function articles(){
return $this->hasMany('App\Article');
}
} |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "providers".
*
* @property int $id
* @property int $paid_chart_account_id
* @property int|null $recurrent_chart_account_id
* @property int|null $cost_center_id
* @property float|null $initial_balance
* @property bool|null $related_c... |
@props(['footer' => ''])
<section>
<div class="bg-gradient-to-br pb-5 from-indigo-900 to-green-900 overflow-auto">
<div class="container max-w-5xl mx-auto px-4">
<h1 class="mt-10 text-white text-5xl font-bold">
{{ $headline }}
</h1>
<div class="my-5 ml-6"... |
<?php
declare(strict_types=1);
namespace User\Controller;
use Laminas\Mvc\Controller\AbstractActionController;
use Laminas\Authentication\AuthenticationService;
use Laminas\View\Model\ViewModel;
use RuntimeException;
use User\Form\Auth\CreateForm;
use User\Model\Table\UsersTable;
class AuthController extends Abstra... |
<?php /* Smarty version 2.6.18, created on 2014-06-29 16:21:50
compiled from 7/aolsol1403864409/index.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_... |
<?php
/**
* @author Johan Palmfjord <johan.plago@gmail.com>
* @copyright Johan Palmfjord, 2016
* @version 1.0
*/
namespace AppBundle\WebService\SR\Responses\Entity;
use JMS\Serializer\Annotation as Jms;
class Song
{
/**
* @var string
*
* @Jms\Type("string")
*/
private $title;
/**... |
<?php
namespace DoctrineModule\Stdlib\Hydrator\Strategy;
use InvalidArgumentException;
use Zend\Hydrator\Strategy\StrategyInterface;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Persistence\Mapping\ClassMetadata;
use Doctrine\Common\Util\Inflector;
/**
* @license MIT
* @link http://www.doctri... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth as FacadesAuth;
use Iluminate\Support\Facades\Auth;
class LoginController extends Controller
{
public function index()
{
return view('login.index', [
'title' => 'Login'
]);
}... |
<?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
/**
* Copyright 2011-2016 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.horde.org/licenses/lgpl21.
*
* @author Jan Schneider <jan@horde.org>
* @category Horde
* @package Core
*/
class Horde_Core_Fa... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>PDM - Accedi</title>
<link rel="stylesheet" href="../../css/bootstrap.css">
<link rel = "stylesheet" type = "text/cs... |
@extends('layout.admin.layoout.admin')
@section('content')
<div class="col-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<h4 class="card-title">Create Subject</h4>
<form class="forms-sample" action="{{route('admin.creating.subject')}}" method="POST" enctype="multi... |
<?php
/*
* Copyright 2016 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
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddColumnDescriptionCategories extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('cate... |
@extends('admin.layouts.master')
@section('content')
<!-- begin #content -->
<!-- <div id="content" class="content"> -->
<!-- begin breadcrumb -->
<ol class="breadcrumb float-xl-right">
<li class="breadcrumb-item"><a href="javascript:;">Home</a></li>
<li class="breadcrumb-item"><a href="javascript:;">Job Titl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.