text stringlengths 2 1.03M |
|---|
@extends('layouts.admin')
@section('content')
@include('content.admin.catalog.attribute.create.parts.header')
@include('elements.errors.admin_error.index')
<div class="card card-body">
<form id="attribute-form" class="multitab-form" method="post" action="{{ route('admin.attributes.store') }}"
... |
@extends('layouts.app')
@section('content')
<div class="row">
<div class="col-sm-4">
<h1 class="display-3">Dobavitelji</h1>
<hr>
<a href="/dobavitelj/create" class="btn btn-primary">Nov vnos</a>
<table class="table table-striped">
<thead>
<tr>
... |
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Repository;
use Composer\Packag... |
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
/**
* Myour Testimonials Widget.
*
* @since 1.0
*/
class Myour_Testimonials_Widget extends Widget_Base {
public function get_name() {
return 'myour-testimonials';
}
public function get_title() {
return esc_html__... |
<?php
declare(strict_types=1);
namespace Phan\Analysis;
use ast\Node;
use Phan\AST\Visitor\KindVisitorImplementation;
/**
* This checks if $inner is unconditionally reachable from the passed in node.
*
* This returns false if the node is not even a descendent node.
*
* @see BlockExitStatusChecker
* @internal ... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-8">
<img class="w-100" src="/storage/{{ $post->image }}" alt="">
</div>
<div class="col-4">
<div class="d-flex align-items-center">
<div class="pr-2... |
<?php
use Illuminate\Database\Seeder;
use App\Models\Category as Category;
class CategorySeeder extends Seeder {
/**
* Run the database seeds.
*
* @return void
*/
public function run() {
$json = File::get("database/jsondata/category.json");
$data = json_decode($json);
foreach($data as $... |
<?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\Component\DependencyInjection;
use Psr\Cache\CacheItemPoolInter... |
<?php
namespace Uneak\OAuthClientBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
$this... |
<?php
namespace App\Http\Controllers;
use App\User;
use App\Qrcode;
use Carbon\Carbon;
use App\User_Presence;
use App\User_Violation;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class PresentController extends Controller
{
//melihat daftar absen
public function index()
{
//... |
@extends('layouts.admin')
@section('content')
<h1>Showing Comments</h1>
<table class="table table-striped">
<thead>
<tr>
<th>Id</th>
<th>E mail</th>
<th>Author</th>
<th>Body</th>
</tr>
</thead>
<tbody>
@foreach($comments as $comment)
<tr>
<... |
<?php
use Illuminate\Database\Seeder;
use App\Travel;
class TravelsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$travels = config('travels');
foreach ($travels as $travel) {
$Newtravel = new Travel()... |
<?php
namespace App\Http\Middleware;
use App\Traits\CommonTrait;
use Session;
use Closure;
class IsEmployerMiddleware
{
use CommonTrait;
public function __construct() {
error_reporting(0);
}
public function handle($request, Closure $next)
{
if(!Session::has('employer_id'))
{
retu... |
@extends('layouts.user_layout')
{{--header_js--}}
@section('header_js')
@stop
@section('content')
@stop |
<?php
namespace zaporylie\Vipps\Tests\Unit;
use Eloquent\Enumeration\Exception\UndefinedMemberException;
use PHPUnit\Framework\TestCase;
use Psr\Http\Message\UriInterface;
use zaporylie\Vipps\Endpoint;
use zaporylie\Vipps\EndpointInterface;
/**
* @coversDefaultClass \zaporylie\Vipps\Endpoint
*/
class EndpointTest ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class VueJsController extends Controller
{
public function index()
{
return view('vuejs.demo');
}
} |
<?php
namespace ContainerAuBIRI1;
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 getMailer_TransportFactory_Nativ... |
<?php
@foo();
(@foo());
$var = @foo();
$var = (@foo());
$var = @call() || @other();
$var = @(call()) || @(other_class());
$var = @(call() || call());
$var = @$cache[$key];
$var = @($cache[$key]);
$var = @new MyClass();
$var = @(new MyClass());
$var = (@include("file.php")) OR die("Could not find file.php!");
$va... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace AppBundle\FieldTypes;
use Sylius\Component\Grid\Definition\Field;... |
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Elementor animation control.
*
* A base control for creating entrance animation control. Displays a select box
* with the available entrance animation effects @see Control_Animation::get_animations() .
*
* @s... |
<?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
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
/*
... |
@extends('layouts.main')
@section('title', 'Pms Payslip Payment')
@section('header')
@include('inc.header')
@endsection
@section('sidebar')
@include('inc.sidebar')
@endsection
@section('content')
<div class="uk-grid">
<div class="uk-width-large-10-10">
<div class="uk-grid uk-grid-med... |
<?php
declare(strict_types=1);
// @link https://schemas.truecrimedaily.com/json-schema/tcd/sys/event/flagset-deleted/1-0-0.json#
namespace Tcd\Schemas\Sys\Event;
use Gdbots\Pbj\AbstractMessage;
use Gdbots\Pbj\Enum\Format;
use Gdbots\Pbj\FieldBuilder as Fb;
use Gdbots\Pbj\Schema;
use Gdbots\Pbj\Type as T;
use Gdbots\S... |
<h1>Login</h1>
<?php if(isset($msg)){
echo $msg;
} ?>
<form method="post" action="<?php echo base_url('login/auth')?>">
Username: <input type="text" name="username"><br/>
Password: <input type="password" name="password"><br/>
<input type="submit">
</form> |
<?php
include_once('cubeSQLServer.php');
$cubesql = New cubeSQLServer;
$rc = $cubesql->connect("localhost", 4430, "admin", "admin");
if ($rc === true) {
$tstart = microtime(true);
$rs = $cubesql->select("SHOW INFO;");
$tend = (microtime(true) - $tstart);
var_dump($rs);
echo "Time Elapsed: " . $tend . ... |
<?php
class Tallas extends Validator
{
//Declaración de propiedades para la api de tallas
private $id = null;
private $talla = null;
//Métodos para sobrecarga de propiedades para la api de tallass
public function setId($value)
{
if ($this->validateId($value)) {
$this->id = $value;
return true;
} else {
... |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Vault\Block;
use Magento\Vault\Block\Customer\IconInterface;
/**
* Interface CardRendererInterface
* @api
*/
interface CardRendererInterface extends TokenRendererInterface, IconInterf... |
<?php
namespace Barryvdh\LaravelIdeHelper;
class TypesResolving
{
const TYPES = [
'bool',
'boolean',
'integer',
'int',
'float',
'double',
'string',
'number',
'array',
'object',
'callable',
'iterable',
'callb... |
<?php $__currentLoopData = $footer_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li><a href="<?php echo route('products',['category' => $category->slug], ); ?>"><?php echo e($category->name); ?></... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateQuestionTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('question', fu... |
<?php
/**
* Multisite themes administration panel.
*
* @package WordPress
* @subpackage Multisite
* @since 3.1.0
*/
/** Load WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
if ( ! current_user_can( 'manage_network_themes' ) ) {
wp_die( __( 'Sorry, you are not allowed t... |
@extends('layouts.app')
@section('content')
<div class="module">
<div class="module-head">
<h3>Daftar Track</h3>
</div>
<div class="module-body table">
<table cellpadding="0" cellspacing="0" border="0" class="datatable-1 table table-bordered table-striped display" width="100%">
<the... |
<?php $__env->startSection('content'); ?>
<div data-aos="fade-up"
data-aos-duration="2000" class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Profile</div>
<di... |
<?php
/*
* PSX is a open source PHP framework to develop RESTful APIs.
* For the current version and informations visit <http://phpsx.org>
*
* Copyright 2010-2021 Christoph Kappestein <christoph.kappestein@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ... |
<?php if ($preSave) :?>
/**
* Code to be run before persisting the object
* @param ConnectionInterface $con
* @return boolean
*/
public function preSave(ConnectionInterface $con = null)
{
<?php if ($hasBaseClass) : ?>
if (is_callable('parent::preSave')) {
//r... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
use App\ModulTraining;
use App\JobFamily;
use App\Auth;
use App\UserChapterRecord;
use App\User;
use App\Material;
use App\FilesMaterial;
use App\Trainer;
use App\Chapter;
use App\UserTrainingAccess;
use App\Tes... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https:... |
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Schema\Synchronizer;
use Doctrine\DBAL\Connection;
use Throwable;
/**
* Abstract schema synchronizer with methods for executing batches of SQL.
*/
abstract class AbstractSchemaSynchronizer implements SchemaSynchronizer
{
/** @var Connection */
protect... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateClientDeptsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('client_dept... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Register extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->library('form_validation');
$this->load->library('encrypt');
$this->load->model('Register_model', 'test');
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAppointmentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('appointmen... |
<?php
/**
* CRM system for 9daye
*
* @author: qch <qianchaohui@9daye.com.cn>
*/
namespace commodity\modules\member\models\cardtemplate\templates;
/**
* Abstract role
*/
class AbstractTemplate
{
protected $_template;
protected $id;
protected $name;
protected $recharge_money;
public f... |
<?php
# - - - - - - - - - - - - - - - - ERP - - - - - - - - - - - - - - - - - -
# ERP
#
# Copyright (c) 2008
# Author: Augusto Gava (augusto_gava@msn.com)
# Criado: 14/1/08
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/**
* Classe propriedades.
*
* @author Augusto Gava
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Pk2maba extends Model
{
protected $table = 'pk2mabas';
protected $primaryKey = 'id_pk2maba';
protected $fillable = [
'id_pk2maba','judul_pk2maba','konten_pk2maba','foto_pk2maba'
];
} |
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\User;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
User::facto... |
<?php
/************************************************************************
* The script of company catalogue EMPRESA
* Copyright (c) 2017 - 2019 Kamil Wyremski
* http://wyremski.pl
* kamil.wyremski@gmail.com
*
* All right reserved
*
*/
if(!isset($settings['base_url'])){
die('Access denied!');
}
class ... |
<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://www.elastic.co/licensing/elastic-license
*/
namespace App\Http\Controllers\Auth;
u... |
sdfghj |
<?php
namespace Webfactor\Laravel\OpeningHours\Tests\Entities;
use PHPUnit\Framework\TestCase;
use Webfactor\Laravel\OpeningHours\Entities\OpeningHours;
class OpeningHoursStructuredDataTest extends TestCase
{
/** @test */
public function it_can_render_opening_hours_as_an_array_of_structured_data()
{
... |
<form action="index.php" method="post" name="adminForm">
<?php if ($this->ftp) : ?>
<?php echo $this->loadTemplate('ftp'); ?>
<?php endif; ?>
<table class="adminform">
<tbody>
<tr>
<td width="100%"><?php echo JText::_( 'DESCLANGUAGES' ); ?></td>
<td align="right"><?php echo $this->lists->client; ?></... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAttendancesTable extends Migration
{
public function up()
{
Schema::create('attendances', function (Blueprint $table) {
$table->bigIncrements('id... |
<?php
namespace Vkovic\LaravelEventLog\Test\Integration;
use Vkovic\LaravelEventLog\EventLogModel;
use Vkovic\LaravelEventLog\Test\Support\Events\Event;
use Vkovic\LaravelEventLog\Test\Support\Events\EventWithoutTrait;
use Vkovic\LaravelEventLog\Test\Support\Events\ProductSoldEvent;
use Vkovic\LaravelEventLog\Test\Su... |
<?php
/**
* Copyright (c) BrownBear, 2019-Present. All Rights Reserved.
*
* This file is a part of Tuleap.
*
* Tuleap 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
... |
<?php
namespace DeveoDK\DistributedGenerators\Traits;
trait BundleTrait
{
/**
* The category of the file generated
* Used for appending to filename.
* @var string
*/
protected $category;
/**
* return the namespace
* @return $namespace
*/
protected function rootName... |
<!-- ========================================================= -->
<script src="{{asset('/')}}assets/admin/vendor/jquery/jquery-1.12.3.min.js"></script>
<script src="{{asset('/')}}assets/admin//js/custom.js"></script>
<script src="{{asset('/')}}assets/admin/vendor/bootstrap/js/bootstrap.min.js"></scrip... |
<?php
/**
* @package Joomla.Platform
* @subpackage Session
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Interface for managing HTTP sessions
*
... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic -->
@include('header')
</head>
<body>
<!-- Loader -->
<div class="page-loader">
<div class="loader">
<div class="flipper">
<div class="front"></div>
<div class="back"></div>
</div>
... |
<?php
/* Welcome to Efeqdev Bones
This is the core Bones file where most of the
main functions & features reside. If you have
any custom functions, it's best to put them
in the functions.php file.
Developed by: Efeqdev Design and Web Development
URL: http://efeqdev.com
Adapted from brilliant work by Eddie Machado
URL:... |
<?php
if (!isset($_SESSION['Userid']))
header('Location: login.php');
?>
<div class="row">
<div class="col-lg-12">
<h1 class="my-page-header">
All Actions <small>The movement for a greener future through youth action</small>
</h1>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="pane... |
<?php
/**
* Created by PhpStorm.
* User: Raphael
* Date: 24.07.2016
* Time: 19:08
*/
use mihaildev\ckeditor\CKEditor;
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $bulk frontend\models\Bulk */
?>
<div class="participant-bulkForm">
<?php $form2 = ActiveForm::begin(); ?>
<?= $form2->field(... |
<?php
/*
* This file is part of the bitrix24-php-sdk package.
*
* © Mesilov Maxim <mesilov.maxim@gmail.com> and contributors
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Bitrix24\Im\Attach;
use Bitrix24\Bitrix24Entity;... |
<?php
/*
* ..:: ENGLISH ::..
* © 2017 Aljazarisoft.com all rights reserved. Please Read "Licence Agreement & Terms And Conditions" carefully before using this software!
* You agree to the Licence Agreement and Terms and Conditions by using this software
* Programmed by Ahmet ATAK <info@ahmetatak.net>
* Pow... |
<?php
// vim: foldmethod=marker
/**
* Ethna.php
*
* @author Masaki Fujimoto <fujimoto@php.net>
* @license http://www.opensource.org/licenses/bsd-license.php The BSD License
* @package Ethna
* @version $Id: f7712c23277452aebe5bd539497f6da9c46b538b $
*/
//
// PEAR OS_WINDOWS constant replacemen... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Promotion\Generator;
use Sylius\Component\Promot... |
<?php
$a = [1, 2, 3];
// echo $a; Não da pra printar uma variavel que seja uma lista no php
print_r($a); // o print_r() consegue printar a lista mostrando os valores e seus indices
echo "<br>";
echo $a[0];
$arr = ["Mauro", 1005, true];
echo "<br>";
print_r($arr);
echo "<b... |
<?php
namespace App\Http\Controllers\Admin\Page;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Models\PaginaMaster;
use Illuminate\Http\Response;
class masterpageController extends Controller
{
/**
* Display a listing of the resource.
*
* @return ... |
<?php
namespace http\Encoding\Stream;
class Deflate extends \http\Encoding\Stream {
/**
* Gzip encoding. RFC1952
*/
const TYPE_GZIP = 0;
/**
* Zlib encoding. RFC1950
*/
const TYPE_ZLIB = 0;
/**
* Deflate encoding. RFC1951
*/
const TYPE_RAW = 0;
/**
* De... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCartsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('carts', function ... |
<?php
/**
* Copyright © 2020 Magenest. All rights reserved.
* See COPYING.txt for license details.
*
* Magenest_ProductFeed extension
* NOTICE OF LICENSE
*
* @category Magenest
* @package Magenest_ProductFeed
*/
namespace Magenest\ProductFeed\Model\Generator;
use Magenest\ProductFeed\Helper\Data;
use Magenes... |
<?php
namespace TypiCMS\Modules\Places\Http\Requests;
use TypiCMS\Modules\Core\Http\Requests\AbstractFormRequest;
class FormRequest extends AbstractFormRequest
{
public function rules()
{
return [
'image_id' => 'nullable|integer',
'title.*' => 'nullable|max:255',
'... |
<?php
use Illuminate\Database\Seeder;
class SubcategoryTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('subcategories')->delete();
$subcategorys = array(
array(
'subcategory_na... |
<?php
declare(strict_types=1);
namespace BladeUI\Icons;
use BladeUI\Icons\Concerns\RendersAttributes;
use Exception;
use Illuminate\Contracts\Support\Htmlable;
class SvgElement implements Htmlable
{
use RendersAttributes;
public const SVG_ATTRIBUTES = [
'view-box',
'viewBox',
'versi... |
<?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
namespace app\controllers;
use app\models\Post;
use app\models\PostSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* PostController implements the CRUD actions for Post model.
*/
class PostController extends Controller
{
/**
* @inheritDoc
*/
... |
<?php
/////////////////////////////////////////////////////////////////////////////////////
// xbtit - Bittorrent tracker/frontend
//
// Copyright (C) 2004 - 2020 xbtitFM Team
//
// This file is part of xbtitFM.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
/**
* Class CreateMenuItemsTable
*/
class CreateMenuItemsTable extends Migration
{
/**
* Run the migrations.
*/
public function up()
{
Schema::create('menu_items', function (Blueprint $table) ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
... |
<?php
/**
* @author Michael Deepak <michaeldeepak@yahoo.com>
* Sample php file to purge limelight content
*/
include 'credentials.php';
include 'constants.php';
$pattern[] = array(
'pattern' => "http://*.example.com/images/*",
'evict' => false,
'exact' => false,
'incqs' => false
);... |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* A MIME Header with parameters.
* @package Swift
* @subpackage Mime
* @author Chris Corbyn
*/
inte... |
<?php include(APPPATH.'/views/stylesheet.php'); ?>
<body>
<div id="app">
<div class="main-wrapper">
<div class="navbar-bg"></div>
<?php include(APPPATH.'/views/topbar.php'); ?>
<?php include(APPPATH.'/views/sidebar.php'); ?>
<div class="main-content">
<section class="section">
<div class="section-heade... |
<?php
/*
* This file is part of the Jiannei/laravel-logger.
*
* (c) Jiannei <longjian.huang@foxmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Jiannei\Logger\Laravel;
use Carbon\Carbon;
use MongoDB\Client;
use Monolog\Handl... |
<?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 ... |
@extends('layouts.dashboard')
@section('header_tags')
<script src="{{ asset('js/plugins/jquery.validate.min.js') }}"></script>
<script>
$(function() {
});
</script>
@endsection
@section('content')
<div class="col-sm-16 col-xs-12">
<div class="card">
... |
<?php
namespace Wargame;
// MapGrid
//
// Copyright (c) 1998-2011 Mark Butler
/*
Copyright 2012-2015 David Rodal
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 (... |
<!--Print code -->
<style>
.hiddenprint_file {
visibility: hidden;
}
.hiddenprint_file p{
background-color:#0f834d;
padding: 15px;
color: white;
}
.woocommerce-thankyou-order-received ul li {
float: left;
}
</style>
<script>
function printContent(e... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Dds\V20151201\Models\DescribeSlowLogRecordsResponseBody\items;
use AlibabaCloud\Tea\Model;
class logRecords extends Model
{
/**
* @var string
*/
public $accountName;
/**
* @var string
*/
publ... |
<?php //00551
// --------------------------
// Created by Dodols Team
// --------------------------
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function... |
<?php
/**
* Template Name: Empty Page Template
*
* Template for displaying a page just with the header and footer area and a "naked" content area in between.
* Good for landingpages and other types of pages where you want to add a lot of custom markup.
*
* @package edgebootstrap
*/
get_header();
while ( have_p... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class test1 extends CI_Controller {
public function __construct()
{
parent::__construct();
}
public function index()
{
$this->load->view('site/chinhsach/cs');
}
}
/* End of file test1.php */
/* Location: ./application/controllers/... |
<?php
namespace App\Http\Requests\Admin\Course;
use App\Http\Requests\BaseAdminRequest;
class StoreRequest extends BaseAdminRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'name' => 'requir... |
<?php
namespace Kanboard\Controller;
class TaskBulkChangePropertyController extends BaseController
{
public function show(array $values = [], array $errors = [])
{
$project = $this->getProject();
if (empty($values)) {
$values['task_ids'] = $this->request->getStringParam('task_ids'... |
<?php
namespace App\Http\Controllers;
use DB;
use Auth;
use Exception;
use Str;
use Carbon\Carbon;
use App\User;
use App\Http\Controllers\CommonController;
use Illuminate\Http\Request;
class UserController extends Controller
{
use CommonController;
// define common variables
public $module_config;
p... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\WelcomeController;
use App\Http\Controllers\CategoryController;
use App\Http\Controllers\OrderController;
use App\Http\Controllers\ProductController;
use App\Http\Controllers\SearchController;
use App\Http\Livewire\ShoppingCart;
use App\Http\Livewire... |
<?php
declare(strict_types=1);
namespace Spiral\Writeaway\Command;
use Cycle\ORM\TransactionInterface;
use Spiral\Console\Command;
use Spiral\Writeaway\Repository\PieceRepository;
class DropCommand extends Command
{
protected const NAME = 'writeaway:drop';
protected const DESCRIPTION = 'Drop all piec... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
// use Illuminate\Database\Eloquent\Builder;
class Database extends Model
{
public function system()
{
return $this->belongsTo('App\System');
}
public function tables()
{
return $this->hasMany('App\Table');
}
/*pr... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Fakultas extends Model
{
protected $table = 'Fakultas';
public function prodi()
{
return $this->hasMany(Prodi::class, 'prodi_id');
}
} |
<?php
/*
* This file is part of the Sonata package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\DoctrineMongoD... |
@extends('layouts.dashboard')
@section('content')
<!-- begin:: Content Head -->
<div class="kt-subheader kt-grid__item" id="kt_subheader">
<div class="kt-container kt-container--fluid ">
<div class="kt-subheader__main">
<h3 class="kt-subheader__title">
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\Categoria;
class Usuario extends Model
{
use HasFactory;
protected $table = 'usuarios';
function categoria(){
return $this->belongsTo(Categoria::class, 'id_categ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.