text stringlengths 2 1.03M |
|---|
<nav class="main-header navbar navbar-expand navbar-white navbar-light">
<!-- Left navbar links -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
</li>
<li class="nav-item d-none d-sm-inli... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'plugins://admin/admin.yaml',
'modified' => 1562010982,
'data' => [
'enabled' => true,
'route' => '/admin',
'cache_enabled' => false,
'theme' => 'grav',
'logo_text' => '',
'bo... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Patient extends Model
{
use HasFactory;
protected $guarded = ['id']; //Menjaga hanya field id
public function doctor()
{
return $this->hasMany(Doctor::class);
... |
<?php
namespace Drupal\Core\FileTransfer;
/**
* Defines the base FileTransfer class.
*
* Classes extending this class perform file operations on directories not
* writable by the webserver. To achieve this, the class should connect back
* to the server using some backend (for example FTP or SSH). To keep securit... |
<div class="breadcrumb_container">
<div class="breadcrumb">
<ol class="breadcrumb">
<li><a href="<?php echo base_url() ?>backend_dashboard"><span class="fa fa-dashboard"></span> Dashboard</a></li>
<li><a href="<?php echo base_url() ?>backend_notice">Notice List</a></li>
<... |
<?php
return [
[
true,
'',
'',
],
[
true,
'1000',
1000,
],
[
true,
1000,
'1000',
],
[
true,
'Abč',
'Abč',
],
[
false,
'abč',
'Abč',
],
[
false,
... |
<?php
namespace Spatie\MediaLibrary\Exceptions;
use Exception;
use Spatie\MediaLibrary\Media;
use Illuminate\Database\Eloquent\Model;
class MediaCannotBeDeleted extends Exception
{
public static function doesNotBelongToModel(Media $media, Model $model)
{
$modelClass = get_class($model);
retu... |
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="{{{ asset('favicon.ico') }}}">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-sca... |
<?php
namespace ContainerXfPEoiv;
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... |
@extends('layouts.admin')
@section('content')
<div class="content-wrapper">
<div class="container-fluid">
<div class="row">
<!-- left column -->
<div class="col-md-12">
<!-- general form elements ... |
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('dashboard')): ?>
<li class="nav-item">
<a class="nav-link <?php echo e(Request::is('dashboard*') ? 'active' : ''); ?>" href="<?php echo url('dashboard'); ?>"><?php if($icons): ?>
<i class="nav-icon fa fa-dashboard"></i><?ph... |
<?php
namespace App\Services;
use App\Models\Album;
use App\Models\Artist;
use App\Models\Playlist;
use App\Models\Song;
use App\Models\SongZipArchive;
use Illuminate\Database\Eloquent\Collection;
use InvalidArgumentException;
class DownloadService
{
private $s3Service;
public function __construct(S3Service... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateOrderDetailTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('order_detai... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<style type="text/css">
.bg-secondary {
background: #222d32 !important;
color: #fff;
}
</style>
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Panel de Transportista
<small></small>
<... |
<?php
namespace App\Http\Controllers\index;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\req\NewModel;
use App\req\NavModel;
use App\req\CateModel;
use App\req\linkModel;
use App\req\ProductModel;
use App\req\ImgModel;
use App\req\VoiceModel;
class AboutController extends Controller
{
... |
<nav x-data="{ open: false }" class="bg-white border-b border-gray-100">
<!-- Primary Navigation Menu -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex">
<!-- Logo -->
<div class="flex-shrink-0 fl... |
@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">
... |
<?php
namespace App\Policies;
use App\Models\ProjectProgress;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class ProjectProgressPolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can view any models.
*
* @param \App\Models\User $user
* @return ... |
@extends('layout.site')
@section('titulo', 'Formulario disciplinas')
@section('conteudo')
@php
$carga_horaria = array("1 AULA", "2 AULAS", "3 AULAS", "4 AULAS", "5 AULAS", "6 AULAS");
@endphp
<link href="{{asset('css/usuario.css')}}" rel="stylesheet" />
</head>
<body class="fundo">
<div>
... |
<?php
session_start();
if( !isset($_SESSION['user_id']) ){
header('Location: public.php');
}
?> |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateInterviewsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('interviews',... |
<?php
namespace Spatie\Php7to5\Test;
use PHPUnit\Framework\TestCase;
use Illuminate\Filesystem\Filesystem;
use Spatie\Php7to5\DirectoryConverter;
class DirectoryConverterTest extends TestCase
{
protected function setUp() : void
{
parent::setUp();
$this->initializeTempDirectory();
}
... |
@extends('admintemplate.adminmaster')
@section('content')
<div id="content-wrapper">
@include('mails.alert')
<div class="container-fluid">
<!-- DataTables Example -->
<div class="card mb-3">
<div class="card-header">
KULLANICI LİSTESİ</di... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\support\models\TicketPriority */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="ticket-priority-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput([... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>أكاديمية مسجد الرحمن</title>
<!-- Sc... |
<?php
namespace App\GameBundle\Entity;
use App\CoreBundle\Entity\TimestampableTrait;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Hateoas\Configuration\Annotation as Hateoas;
use JMS\Serializer\Annotation as JMS;
use Symfony\Component\Validator\Constraints as Assert;
use Symfo... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Coinbase extends Model
{
use HasFactory;
} |
<?php
namespace Gis\Domain\Spatial\Model\Polygon;
use Gis\Core\DataProvider\IDataProvider;
interface IPolygonDataProvider extends IDataProvider
{
/**
* Fetch all of the polygons that belong to this layer that fall within
* the bounds specified.
*
* @param int $layerId
* @param Coord $boundsMin holds th... |
<?php
declare(strict_types = 1);
return [
'headers' => [
'server' => [
'nginx'
],
'date' => [
'Sun, 23 Feb 2020 00:01:19 GMT'
],
'content-type' => [
'text/html; charset=utf-8'
],
'transfer-encoding' => [
'chunke... |
<?php
namespace Synapse\Cmf\Framework\Media\Image\Repository\InMemory;
use Synapse\Cmf\Framework\Media\Image\Entity\Image;
use Synapse\Cmf\Framework\Media\Image\Repository\RepositoryInterface;
use Majora\Framework\Repository\InMemory\AbstractInMemoryRepository;
use Majora\Framework\Repository\InMemory\InMemoryReposit... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitf5f926481c005207f9155873ad8760e9
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
'5255c38a0faeba867671b61df... |
<?php
/**
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
namespace SprykerEco\Zed\Ratepay\Business\Api\Builder;
class InstallmentCalculation extends AbstractBuilder implements InstallmentCalculationInterface
{
public const ROOT_TAG = 'install... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Checkout extends MY_Controller
{
private $id;
public function __construct()
{
parent::__construct();
$is_login = $this->session->userdata('is_login');
$this->id = $this->session->userdata('id');
if (! $is_login) {
redirect(b... |
<?=$messages?>
<div class="row">
<div class="col-sm-9 col-sm-push-3">
<div class="row">
<div class="col-sm-6">
<?php // The image class allows the attribute system to change the image. ?>
<img src="<?=h($image_url)?>" class="image img-responsive img-... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTagsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tags', function (Blueprint $table) {
$table->... |
<?php
$lang['enter'] = "please enter ";
$lang['label_nicnumber'] = "nic number";
$lang['label_facebookid'] = "facebook id";
$lang['label_fax'] = "fax";
// list of cutomers page
$lang['page_title'] = "Customers";
$lang['label_name'] = "Name";
$lang['label_email'] = "Email";
$lang['label... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
namespace App\Http\Resources\Order;
use Illuminate\Http\Resources\Json\JsonResource;
class OrderDetailCreateResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($req... |
<?php
declare(strict_types=1);
namespace HTML;
/**
* Element that can be rendered
*
* @author Jakub Konečný
*/
interface IRenderable {
/**
* Render the element
*/
public function render(): string;
}
?> |
<?php
namespace UUP\Exchange\Types;
class UserOofSettings
{
/**
* @var OofState $OofState
*/
protected $OofState = null;
/**
* @var ExternalAudience $ExternalAudience
*/
protected $ExternalAudience = null;
/**
* @var Duration $Durat... |
<?php
namespace App\Http\Controllers\Index\Personal;
use App\Http\Controllers\Index\Controller;
use App\Models\ChildUser;
use App\Models\IndexNode;
use App\Services\CategoryService;
use Illuminate\Http\Request;
class ChildUserController extends Controller
{
/**
* Display a listing of the resource.
*
... |
<?php
// ADD WORDPRESS
define('WP_USE_THEMES', false);
require('../../../../wp-blog-header.php');
// Deal ID
$ID = $_POST['id'];
global $wpdb;
$table_db_name = $wpdb->prefix . "wpoptinlock";
$wpdb->query("DELETE FROM $table_db_name WHERE id = $ID");
?> |
<?php
/**
* Description of DeliveryArea.php
* @copyright Copyright (c) DOTSPLATFORM, LLC
* @author Yehor Herasymchuk <yehor@dotsplatform.com>
*/
namespace Dotsplatform\Zoning\Entities;
class DeliveryArea extends Entity
{
protected array $points;
public function getPoints(): array
{
return ... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
@if (session()->has('flash_notification.message'))
<div id="hide" class="alert alert-{{ session('flash_notification.level') }}">
... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2017/11/27
* Time: 15:24
*/
namespace app\improve\validate;
use think\Validate;
class Role extends Validate
{
protected $rule = [
'name' => 'require|max:16',
'pids' => 'array',
'rid' =>'require|number',
'start' =... |
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://maps.googleapis.com/maps/api/timezone/json?location='.$_POST['lat'].','.$_POST['lon'].'×tamp='.$_POST['recstart'].'&key=SECRET');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$json = curl_exec($ch);
curl_close($ch);
echo $json;
?> |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTopicsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('topics', functio... |
@extends('layouts.app')
@section('content')
<section class="content-header">
<h1>
detail_service
</h1>
</section>
<div class="content">
@include('adminlte-templates::common.errors')
<div class="box box-primary">
<div class="box-body">
... |
@extends('layouts.admin')
@section('content')
@include('includes.tinyeditor');
<h1>Post Create</h1>
<div class="row">
{!! Form::open(['method'=>'POST', 'action'=> 'AdminPostsController@store', 'files'=>true]) !!}
<div class="form-group">
{!! Form::label('title', 'Title:') !!}
... |
<!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, maximum-scale=1, shrink-to-fit=no">
<title>Apoteker Dokter Care </title>
<link rel="icon" type="image/x-icon" href="<?= base_url... |
<?php namespace Igaster\LaravelTheme;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Arr;
class Theme
{
public $name;
public $viewsPath;
public $assetPath;
public $settings = [];
/** @var Theme */
public ... |
<?php
class StringableObj { function __toString() { return 'Hello'; } }
class UnstringableObj { }
function main() {
$keys = array(
'stringable_obj' => new StringableObj(),
'array' => array(),
'bool true' => true,
'bool false' => false,
'double' => 3.141,
'null' => null,
// Last, as it sh... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Z... |
<?php
declare(strict_types=1);
namespace Inowas\Common\Soilmodel;
class BottomElevation extends AbstractSoilproperty
{
const TYPE = "hbot";
public static function create(): BottomElevation
{
return new self(null);
}
public static function fromPointValue($value): BottomElevation
{
... |
<?php
/**
* Copyright © 2020 Daniel Sloof. All rights reserved.
* See LICENSE.txt for license details.
*/
declare(strict_types=1);
namespace Danslo\PrivateParts\Test\Integration\Interception\PrivateMethodChain\Fixture;
class Intercepted
{
private function a(): int
{
return 100;
}
private f... |
<?php
namespace Marcth\GocDeploy\Repositories;
use Marcth\GocDeploy\Exceptions\ConnectionRefusedException;
use Marcth\GocDeploy\Exceptions\DirtyWorkingTreeException;
use Marcth\GocDeploy\Exceptions\GitMergeConflictException;
use Marcth\GocDeploy\Exceptions\InvalidGitBranchException;
use Marcth\GocDeploy\Exceptions\In... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Builder;
trait Likeable
{
public function scopeWithLikes(Builder $query)
{
$this->leftJoinSub(
'select post_id, sun(liked) likes, sum(!liked) dislikes from likes group by post_id',
'likes',
'likes.post_... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\models\SchoolPostReg */
$this->title = 'Create School Post Reg';
$this->params['breadcrumbs'][] = ['label' => 'School Post Regs', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="school-post-reg-create... |
<?php
$version = '2.3'; // the $ projectnumber variable is automatically replaced by doxygen with the version number
$pagetitle = 'Class Members'; // the $ title variable is automatically replaced by doxygen with the page title
include('../header-fr.php');
?>
<!-- Generated by Doxygen 1.8.9.1 -->
<div id=... |
<?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\Installer;
use Composer\Compose... |
<?php
/* TwigBundle:Exception:error.txt.twig */
class __TwigTemplate_4898f76ab5140d5b0f45e4de2f1482d918f3fc0a44f1e3bbc72ce3e92ac5054f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<h3>Seleccione el Tipo de Documento</h3>
<div class="span4"><button id="my-btn" type="button" data-trigger="hover" class="btn btn-custom-show " data-original-title="Mostrar" data-content="Muestra la lista del Tipo de documento que va a seleccionar" data-toggle="popover">Mostrar</button></div>
<script>
$('#my-bt... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\Menu;
use App\Models\MenuGroup;
class MenuController extends Controller
{
public function getListMenu()
{
$data = MenuGroup::all();
return view('backend.menu.list-group... |
@extends('client.layouts.master')
@section('content')
@include('client.layouts.threeSteps',["title"=>$title])
@yield('subContent')
@endsection
@section('stylesheets')
<style>
.step-current{
/* border: solid #f6214b;
border-width: thin;
padding: 3px;*/
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Person extends Model
{
use HasFactory;
protected $guarded =false;
} |
<?php
use App\Http\Controllers\ChangePasswordController;
use App\Http\Controllers\ProdukController;
use App\Http\Controllers\TableController;
use App\Http\Controllers\UserController;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Route;
/*
|---------------------... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CorPostRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get th... |
<?php
/**
* Created by PhpStorm.
* User: cristianoprea
* Date: 21/09/15
* Time: 14:58
*/
namespace App;
use Illuminate\Support\Facades\Session;
class FlashAlert
{
public static function errorMessage($message)
{
Session::flash('flash_error.message', $message);
}
public static function ... |
<?php $__env->startSection('admin_content'); ?>
<ul class="breadcrumb">
<li>
<i class="icon-home"></i>
<a href="index.html">Home</a>
<i class="icon-angle-right"></i>
</li>
<li>
<i class="icon-edit"></i>
<a href="#">Update Category</... |
<?php
namespace app\admin\model;
use think\Model;
use think\Db;
class Members extends Model{
//获取所有会员信息
public function getAllMembers($bis_id,$limit,$offset){
if($bis_id >= 0){
$where = [
'mem.status' => 1,
'mem.bis_id' => $bis_id
];
}el... |
<?php
/**
* Created by PhpStorm.
* User: tene
* Date: 21/06/2017
* Time: 12:47
*/
namespace ApiBundle\Controller;
use AppBundle\Entity\AuthToken;
use AppBundle\Entity\User;
use FOS\RestBundle\Controller\Annotations as Rest;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Nelmio\ApiDocBundle\Annot... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateShoppingcartTable extends Migration
{
/**
* Run the migrations.
*/
public function up()
{
Schema::create(config('cart.database.table'), functio... |
<?php
/**
* User API: WP_User_Query class
*
* @package WordPress
* @subpackage Users
* @since 4.4.0
*/
/**
* Core class used for querying users.
*
* @since 3.1.0
*
* @see WP_User_Query::prepare_query() for information on accepted arguments.
*/
class WP_User_Query {
/**
* Query vars, after parsing
*
... |
<?php
/*
* This file is part of the Arnapou PFDB package.
*
* (c) Arnaud Buathier <arnaud@arnapou.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Arnapou\PFDB\Exception;
class InvalidTableNameException extends PFD... |
<!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.0">
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
<link href="{{ asset('css/bootstrap.min.css') }}" re... |
<?php
/*
* This file is part of Swift.
* (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 CharacterStream implementation which stores characters in an internal array.
*
* @author Xavier De ... |
<?php
// +----------------------------------------------------------------------
// | 零云 [ 简单 高效 卓越 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016 http://www.lingyun.net All rights reserved.
// +----------------------------------------------------------------------
... |
<?php
namespace Thruway;
use Thruway\Authentication\AllPermissiveAuthorizationManager;
use Thruway\Authentication\AuthorizationManagerInterface;
use Thruway\Exception\InvalidRealmNameException;
use Thruway\Exception\RealmNotFoundException;
use Thruway\Logging\Logger;
use Thruway\Manager\ManagerDummy;
use Thruway\Man... |
<h2>Notificação: Solicitacao de nova conta de usuário</h2>
<div>
Recebemos a sua solicitacao de cadastro para fins de utilização do SisCad.
<br>
<p>Segue os seus dados abaixo:</p>
<br>
<p>Usuário: {{ $user->name }}</p>
<p>E-mail: {{ $user->email }}</p>
<... |
<?php
/**
* @version $Id: editor.php 10707 2008-08-21 09:52:47Z eddieajau $
* @package Joomla.Framework
* @subpackage HTML
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuan... |
@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">
@isset ($category)
Update category
@else
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Berita extends Model
{
use HasFactory, SoftDeletes;
protected $table = 'berita';
protected $dates = ['deleted_at'];
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePhotosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('photos', functio... |
<?php
namespace chenkby\region;
use yii\base\Action;
use Yii;
use yii\base\InvalidParamException;
use yii\helpers\Html;
class RegionAction extends Action
{
/**
* @var \yii\db\ActiveRecord Region Model
*/
public $model=null;
public function init()
{
parent::init();
if(!$this->... |
<?php
namespace Jane\OpenApi3\Tests\Expected\Endpoint;
class DeleteTest extends \Jane\OpenApi3\Tests\Expected\Runtime\Client\BaseEndpoint implements \Jane\OpenApi3\Tests\Expected\Runtime\Client\Endpoint
{
use \Jane\OpenApi3\Tests\Expected\Runtime\Client\EndpointTrait;
public function getMethod() : string
... |
@extends('admin.layout.index')
@section('content')
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Loại Sản Phẩm
<small>{{$loaisanpham->name}}</smal... |
<?php
namespace App\Http\Resources;
use App\Models\Status;
use Illuminate\Http\Resources\Json\JsonResource;
class StatusResource extends JsonResource
{
public function toArray($request): array
{
/**
* @var Status $item
*/
$item = $this;
return [
'id' => $item->getId(),... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\finance\client */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="client-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'account_number')->textInput(['maxlength' =... |
@extends('layouts.stakeholder')
@section('title', 'plans')
@section('titlebar', 'Data Perencanaan Pemesanan Barang')
@section('content')
<div class="row">
<div class="col-12 col-md-12 col-lg-12">
<div class="card">
@if($message = Session::get('message'))
<div class="alert alert-succe... |
<?php
/**
* This file is part of the League.csv library
*
* @license http://opensource.org/licenses/MIT
* @link https://github.com/thephpleague/csv/
* @version 9.1.1
* @package League.csv
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
de... |
<?php
namespace App\Http\Requests\Channels;
use Illuminate\Foundation\Http\FormRequest;
class UpdateChannelRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return $this->channel->use... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Purchase_model;
use App\Models\Login_model;
use App\Models\Cart_order;
use App\Models\Wishlist_Add;
class WishlistAddController extends Controller
{
function index(){
$data=Wishlist_Add::all();
return response()->json(... |
<?php
namespace Fastwf\Tests\Constraints;
use PHPUnit\Framework\TestCase;
use Fastwf\Constraint\Api\ValidationContext;
abstract class ConstraintTestCase extends TestCase
{
protected $context;
protected function setup(): void
{
$this->context = new ValidationContext(null, null);
}
} |
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* 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; ei... |
<?php
namespace Drupal\KernelTests\Core\Theme;
use Drupal\KernelTests\KernelTestBase;
/**
* Confirms that theme assets copied from Classy have not been changed.
*
* If a copied Classy asset is changed, it should no longer be in a /classy
* subdirectory. The files there should be exact copies from Classy. Once it... |
<?php
/**
* The sidebar containing the main widget area.
*
* @package rara
*/
?>
<aside id="sidebar">
<?php
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
return;
}
?>
<div id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #secondary ... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Http\Models\Transaction;
use App\Http\Models\Entity;
use App\Http\Models\Company;
use App\Http\Models\FormOfPayment;
use App\Http\Models\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\Request;
use Illuminate\Suppo... |
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
?> |
<section id="main-slider" class="no-margin">
<div class="carousel slide wet-asphalt">
<ol class="carousel-indicators">
<li data-target="#main-slider" data-slide-to="0" class="active"></li>
<li data-target="#main-slider" data-slide-to="1"></li>
<li data... |
<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<title><?php echo e(con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.