text stringlengths 2 1.03M |
|---|
<?php declare(strict_types=1);
namespace Neomerx\Tests\JsonApi\Extensions\Issue169;
/**
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
<?php
/**
* SurveyReportAggregateMultidropdownAnswerTest
*
* PHP version 5
*
* @category Class
* @package AnketologClient
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
* @link https://github.com/swagger-api/swagger-codegen... |
<nav class="navbar col-lg-12 col-12 p-0 fixed-top d-flex flex-row">
<div class="text-center navbar-brand-wrapper d-flex align-items-top justify-content-center">
<a class="navbar-brand brand-logo" href="{{url('admin/dashboard')}}">
{{-- <img src="{{asset('images/logo_2.png')}}" alt="logo" /> --}}
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Inasistencia extends Model
{
protected $table = 'insistencias';
protected $primaryKey = 'id';
public $timestamps=false;
protected $fillable = [
'descripcionInsistencia','documento','codigoDocumento','recomendacionesusuarios_id... |
<?php
/**
* This file is part of Totara Learn
*
* Copyright (C) 2019 onwards Totara Learning Solutions LTD
*
* 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 3 of the Licens... |
<?php
$id = $_GET['ide'];
$y = $isi->tampilId("kelas", "id_kelas", $id);
foreach($y as $a)
{
//$idkel = $a['id_kelas'];
$nama = $a['nama_kelas'];
$foto = $a['foto_kelas'];
$desk = $a['deskripsi'];
$pesan = $a['pesan'];
$kondisi = $a['kondisi'];... |
<?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 PWW\DataFactoryBundle\Controller;
use PWW\DataFactoryBundle\Entity\Grouped;
use PWW\DataFactoryBundle\Form\GroupedType;
use FOS\RestBundle\Controller\Annotations\QueryParam;
use FOS\RestBundle\Controller\Annotations\RouteResource;
use FOS\RestBundle\Controller\Annotations\View;
use FOS\RestBundle\Req... |
@extends('layouts.app')
@section('title')
Edit city | System Management
@endsection
@section('main')
<div class="w-full">
<h1 class="text-xl text-gray-600">Edit city</h1>
<div class="w-2/3 mt-16 mx-auto bg-white p-6 border rounded-lg">
<form method="POST" action="/cities/{{$city->id}}" class="space-y-4">
@csrf... |
<?php
/**
* Intreface DAO
*
* @author: http://phpdao.com
* @date: 2021-05-04 15:32
*/
interface RaporPrestasiDAO{
/**
* Get Domain object by primry key
*
* @param String $id primary key
* @Return RaporPrestasi
*/
public function load($id);
/**
* Get all records from table
*/
public function qu... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\jui\DatePicker;
use kartik\select2\Select2;
use yii\helpers\ArrayHelper;
use app\models\Provinces;
use kartik\widgets\DepDrop;
use app\models\Amphures;
use app\models\Districts;
use yii\helpers\Url;
use app\models\Departments;
use kartik\checkbox\Checkbox... |
<?php
session_start();
require("conectar_basedatos.php");
define('CLIENTE_PARTICULAR', '1');
define('CLIENTE_EMPRESA', '2');
$numero_fila_estados = 0;
$numero_fila_grupos = 0;
$identificador = $_SESSION['identificador'];
$tipo_usuario = $_SESSION['tipo'];
$empresa = $_SESSION['empresa'];
if ($tipo_usuario ... |
<?php
/**
* AdditionalFieldTableDTO
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Abletech.Arxivar.Server.WebApi.Services
*
* No description provided (generated by Swagger Codegen https:/... |
<?php
namespace ContainerVJ71HNj;
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 getTranslation_Loader_IniService... |
<div class="copyright col-md-12">
<div class="col-md-1"> </div>
<div class="col-md-5 copyright1">
<h1> Connect with us </h1>
<ul>
<li><a href="https://www.facebook.com/beyondpluscentre/"><img src="{{ asset("/public/assets/bptheme1/img/facebook.png") }}"></a></li>
<... |
@extends('userlayout')
@section('content')
<!-- Page content -->
<div class="container-fluid mt--6">
<div class="content-wrapper">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-6">
<div class="card">
<!-- Card body -... |
<?php
// X4DSBAdmin2Bundle::base.html.twig
return array (
'b2eca9f' =>
array (
0 =>
array (
0 => '@X4DSBAdmin2Bundle/Resources/public/css/bootstrap.min.css',
1 => '@X4DSBAdmin2Bundle/Resources/public/css/plugins/metisMenu/metisMenu.min.css',
2 => '@X4DSBAdmin2Bundle/Resources/public/css... |
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Tools\Console\Command\SchemaTool;
use Doctrine\ORM\Tools\SchemaTool;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\Sym... |
<?php $__env->startSection('content'); ?>
<?php if($errors->has('name')): ?>
<div class="alert alert-danger alert-dismissible text-center">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button><?php echo e($errors->first('name')); ?></div>
<?php... |
<?php
namespace Object;
class DataSource extends \Object\Table\Options {
/**
* Db link
*
* @var string
*/
public $db_link;
/**
* Db link flag
*
* @var string
*/
public $db_link_flag;
/**
* Primary key
*
* @var array
*/
public $pk;
/**
* Columns
*
* @var array
*/
public $colu... |
<?php
/**
* @copyright Copyright © 2014 Rollun LC (http://rollun.com/)
* @license LICENSE.md New BSD License
*/
namespace rollun\datahandler\Providers\DataHandlers\PluginManager\Factory;
use Interop\Container\ContainerInterface;
use rollun\datahandler\Providers\DataHandlers\FormulaDataProvider;
use rollun\datahand... |
<?php
/* forms/fields/userinfo/userinfo.html.twig */
class __TwigTemplate_98fe042c887d9e419906ea3756ffbd84d0cea7710504f4c72b6b22498f74f118 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arr... |
<form action="">
<input type="text">
<input type="text">
<input type="text">
<input type="text">
<input type="text">
</form> |
<?php
/**
* Import.php
*
* @since 2011-05-23
* @category Library
* @package PdfImage
* @author Nicola Asuni <info@tecnick.com>
* @copyright 2011-2015 Nicola Asuni - Tecnick.com LTD
* @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)
* @link https://gi... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Auth;
use League\Fractal;
use League\Fractal\Manager;
use EllipseSynergie\ApiResponse\Contracts\Response;
class ApiController extends Controller
{
public $response;
/**
* @param Response
*/
public function __construct(R... |
@extends('home.template')
@section('title', 'About')
@section('content')
<div class="breadcrumb-container">
<div class="container">
<ol class="breadcrumb">
<li class="breadcrumb-item"><i class="fa fa-home pr-2"></i><a class="link-dark" href="{!! url('/') !!}">Home</a></li>
... |
@extends('layouts.admin')
@section('content')
@endsection |
@extends('backend.layout.app')
@section('content')
@include('backend.layout.header')
@include('backend.layout.sidebar')
<div class="dashboard-wrapper pt-5">
<div class="container-fluid py-5">
<div class="row justify-content-center py-5">
<div class="col-md-12">
... |
<?php
/**
* GetCharactersCharacterIdPlanetsPlanetIdLinkTest
*
* PHP version 5
*
* @category Class
* @package nullx27\ESI
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* EVE Swagger Interface
*
* An OpenAPI for EVE Online
*
* OpenAPI spec version: 0.4.... |
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In addition, it is set as th... |
<?php
namespace App\Models;
use Astrotomic\Translatable\Contracts\Translatable as TranslatableContract;
use Astrotomic\Translatable\Translatable;
use Illuminate\Database\Eloquent\Model;
class Post extends Model implements TranslatableContract
{
use Translatable;
protected $table = 'posts';
public $tr... |
@component('mail::message')
# Notification
Dear {{ auth()->user()->fullname }}
@component('mail::panel')
{{ $message }}
@endcomponent
Thanks,<br>
{{ config('app.name') }}
@endcomponent |
<?php
namespace Packages\News\Http\Requests\Article;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Validation\Rule;
class StoreRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<!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>matrimony</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel... |
<?php
/*
* Copyright 2014 Baidu, 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 to in writ... |
<div
x-data="{
settings: false,
lang: @entangle('lang'),
langModal: false,
initQuill() {
var toolbarOptions = [
[{ 'header': [1, 2, 3, false] }],
['bold', 'italic', 'underline', 'strike'],
['blockquote', 'code-block'],
... |
<?php
namespace Oro\Bundle\QueryDesignerBundle\Tests\Unit\Grid\DatagridConfigurationBuilder;
use Oro\Bundle\EntityBundle\Provider\VirtualRelationProviderInterface;
use Oro\Bundle\QueryDesignerBundle\Tests\Unit\Fixtures\QueryDesignerModel;
class VirtualRelationsTest extends DatagridConfigurationBuilderTestCase
{
... |
<?php
/**
* Created by PhpStorm.
* User: vash
* Date: 22/03/20
* Time: 5:38 AM
*/
namespace Vsynch\Contacts\Events;
use App\User;
use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
class ContactRequested
{
use Dispatchable, SerializesModels;
public $user;
public $... |
<!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>TAMS | Admin</title>
<!-... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Inventory extends Model
{
// use HasFactory;
protected $table = 'inventory';
protected $fillable = ['nama_barang', 'harga', 'stok'];
} |
<?php
namespace App\Http\Middleware;
use Closure;
class CheckVerifiedEmail
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $n... |
<?php
namespace ravesoft\media\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
/**
* MediaSearch represents the model behind the search form about `ravesoft\media\models\Media`.
*/
class MediaSearch extends Media
{
/**
* @inheritdoc
*/
public function rules()
{
return [
... |
@extends('layouts.admin')
@section('content')
<h1>Media</h1>
@if(isset($photos))
{{@csrf_field()}}
<table class="table table-hover">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Created</th>
<th>Updated</th>
</tr>... |
<?php
/*
* Idfy
*
* This file was automatically generated for Idfy by APIMATIC v2.0 ( https://apimatic.io ).
*/
namespace IdfyLib\Models;
use JsonSerializable;
/**
* @todo Write general description for this model
*/
class CollectionWithPagingDocumentSummary implements JsonSerializable
{
/**
* The offs... |
@extends('admin.app-admin')
@section('title') Categories @endsection
@section('page-header')
<!-- Page header -->
@php
// dd(Request::segment(3));
@endphp
<div class="page-header page-header-light">
<div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline">
<div class="d-flex">
... |
<?php
include_once "connect.php";
$select = "SELECT * FROM cursos";
$query = mysqli_query($conn, $select);
while($resultado=mysqli_fetch_array($query)){
echo json_encode($resultado)."<br>";
}
?> |
@extends('layouts.master')
@section('title','Hasil Dashboard')
@section('content')
<!-- BEGIN: Content -->
<div class="content">
<div class="grid grid-cols-12 gap-6">
<div class="col-span-12 xxl:col-span-9">
<div class="grid grid-cols-12 gap-6">
<!-- BEGIN: Weekly Top Products -... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Jadwal_model extends Main_model
{
protected $table = 'jadwal';
protected $childTable = 'detail_jadwal';
//Related tables
private $_MATA_KULIAH = 'mata_kuliah',
$_KELAS = 'kelas',
$_DOSEN = 'dosen',
$_RUANGAN = 'ruangan';
//PRIMARY... |
<?php
namespace giicms\user\controllers;
use Yii;
use yii\web\Controller;
/**
* Login controller for the `user` module
*/
class LogoutController extends Controller
{
/**
* Renders the index view for the module
* @return string
*/
public function actionIndex()
{
Yii::$app->user->... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model frontend\modules\repayment\models\Employer */
$this->title = 'View Refund Status';
?>
<div class="password-reset-beneficiary">
<div class="panel panel-info">
<div class="panel-heading">
<?= Html::encode($this->title) ?>
</... |
<?php
/*
* This file is part of fof/moderator-notes.
*
* Copyright (c) 2020 FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace FoF\ModeratorNotes\Model;
use Flarum\Database\AbstractModel;
use Flarum\Fo... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\BaseController;
use App\Models\Seller\Report;
use App\Models\Seller\Supplier;
use Config;
use Lang;
use Redirect;
use Input;
use View;
use App\Helpers\ShoppingPortal;
class AccountController extends BaseController
{
public $data = array();
... |
<?php
$baseUrl = Yii::app()->request->baseUrl;
$this->cssFile('engine');
?><?php $this->beginContent('application.views.layouts.base'); ?>
<div class="header">
<?php $this->widget('bootstrap.widgets.TbNavbar',CMap::mergeArray(array(
'brand'=>CHtml::image($baseUrl.'/images/conexting_small.png','Conexting')
),array(
... |
@extends('template.index')
@section('content')
<legend>Edit Berita</legend>
{{Form::model($berita,array('url'=>route('admin.berita.update',['berita'=>$berita->id_berita]),'method'=>'PUT','class'=>'form-horizontal','files'=>true))}}
<div class="row">
<div class="col-md-8">
{{Bootstrap::horizontal('col-sm-10'... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\typeOfAssistance;
use Faker\Generator as Faker;
$factory->define(typeOfAssistance::class, function (Faker $faker) {
return [
//
];
}); |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Unit\Registry;
use Phalcon\Regist... |
<?php /** @var \App\Models\Form[]|\Illuminate\Database\Eloquent\Collection $forms */ ?>
@extends('master', ['title' => trans('form.heading.list')])
@section('content')
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item active" aria-current="page">{{ trans('form.he... |
<?php
declare(strict_types=1);
/*
* This file is part of Sulu.
*
* (c) Sulu GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Twig\Extensions\Tests\Unit;
use PHPUnit\Framework\TestCase;
use Sulu\Twig\Extensions\CountExtensio... |
<?php
namespace Lonban\Lottery\Database\Model;
use Illuminate\Database\Eloquent\Model;
class LonbanLotteryIntegral extends Model
{
protected $table = 'lonban_lottery_integral';
protected $guarded = [];
} |
<?php
namespace Drupal\Tests\webform\Functional\Element;
use Drupal\webform\Entity\Webform;
/**
* Tests for table elements.
*
* @group Webform
*/
class WebformElementTableTest extends WebformElementBrowserTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = ['webform',... |
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20191006184914 extends AbstractMigration
{
public function getDescription() : string
{... |
<?php
/* @var $this \yii\web\View */
/* @var $content string */
use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use common\widgets\Alert;
// back to default theme
AppAsset::register($this);
// Register matrial theme class
/* if (class... |
<?php
/**
* TaxType
*
* PHP version 7.3
*
* @category Class
* @package HubSpot\Client\Crm\Extensions\Accounting
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Accounting Extension
*
* These APIs allow you to interact with HubSpot's Accounting Extension. It allows yo... |
<?php
namespace App\Http\Requests\Auth;
use Illuminate\Foundation\Http\FormRequest;
class RegisterFormRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
<?php
namespace App\Http\Controllers;
use App\Cannel;
use App\Category;
use App\Course;
use App\Video;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->midd... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\EmployeeSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Employees';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="employee-index">
<h1><?= Html::enc... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Pancake
*
* A simple, fast, self-hosted invoicing application
*
* @package Pancake
* @author Pancake Dev Team
* @copyright Copyright (c) 2010, Pancake Payments
* @license http://pancakeapp.com/license
* @link http://pancakeapp.com
... |
<?php
namespace App\Commands;
use Illuminate\Console\Scheduling\Schedule;
use LaravelZero\Framework\Commands\Command;
class ServersCommand extends Command
{
/**
* The signature of the command.
*
* @var string
*/
protected $signature = 'servers';
/**
* The description of the comm... |
<?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\Mime\Header;
use Symfony\Component\Mime\... |
<html>
<head>
<title><?= $titulo ?></title>
</head>
<body>
<h1>Formulário de cadastro de usuário</h1>
<form method="POST" action="index.php?r=usuario&p=cadastrar">
<p>Nome do Usuário:</p>
<p>
<input type="text" maxlength="120" name="txtNomeUsua... |
<?php
/*
* This file is part of the API Platform project.
*
* (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.
*/
declare(strict_types=1);
namespace ApiPlatform\Core\Bridge\Symfony\Bundle;
clas... |
@extends('admin.newmain')
@section('title')
Sản Phẩm
@stop
@section('content')
<h1>Sản Phẩm <small>Tất cả sản phẩm</small></h1>
<ol class="breadcrumb">
<li><a href="{{asset('admin')}}"><i class="icon-dashboard"></i>Trang chủ</a></li>
<li class="active"><i class="icon-file-alt">... |
<?php
/**
* @var $model News
*/
?>
<div class="row">
<div class="col-lg-12">
<h1 class="page-header text-center"><?= $this->h1; ?></h1>
<ul class="list-inline preview-links text-center">
<li>
<?= CHtml::link(
'Список',
... |
<x-home-master>
@section('content')
<!-- Title -->
<h1 class="mt-5">{{$cr->name}}</h1>
<!-- Author -->
<p class="lead">
{{$cr->release->system->name}}-{{$cr->release->release_name}}
</p>
<hr>
<!-- Date/Time -->
<p>Posted on {{$cr-> created... |
<?php $__env->startSection('content'); ?>
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<style>
html, body {
background-image:url(paris2.jpg);
}</style>
<center> <h2><div class="panel-heading">Selamat D... |
<?php
declare(strict_types=1);
namespace Landingi\BookkeepingBundle\Wfirma\Invoice;
use JsonException;
use Landingi\BookkeepingBundle\Bookkeeping\Contractor;
use Landingi\BookkeepingBundle\Bookkeeping\Invoice;
use Landingi\BookkeepingBundle\Bookkeeping\Invoice\InvoiceBook;
use Landingi\BookkeepingBundle\Bookkeeping\I... |
<?php
// 配置操作类
// +----------------------------------------------------------------------
// | PHP version 5.3+
// +----------------------------------------------------------------------
// | Copyright (c) 2012-2014 http://www.bcahz.com, All rights reserved.
// +---------------------------------------------------------... |
<?php
if ( ! defined( 'FW' ) ) {
die( 'Forbidden' );
}
register_post_type(
'size_guide',
array(
'labels' => array(
'name' => __( 'Size Guides', 'zoa' ),
'singular_name' => __( 'Size Guides', 'zoa' ),
'add_new_item' => __( 'Add New Size Guide', 'zoa' ),
'edit_item' => __( 'Edit S... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
namespace Ribrit\Mars\Database\Repositories\Setting;
use Illuminate\Support\Facades\Cache;
use Ribrit\Mars\Database\Contracts\Setting\SettingContract;
use Ribrit\Mars\Database\Models\Setting\Setting;
use Ribrit\Mars\Database\Repositories\Repository;
class SettingRepository extends Repository implements Setting... |
<script>
init_datepicker(".dates");
$(".btns").on('click',function() {
var start = $("#start").val();
var end = $("#end").val();
var bagian = $("#bagian").val();
if( start == "" || end == "" || bagian == "" || bagian == "0") {
swal("Oops!!","All parameter is required","error");
} else {
var url = "... |
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-2 text-gray-800 text-center"><?= $judulHalaman ?></h1>
<p class="mb-4 text-center"><?= $detailHalaman ?></p>
<div class="row justify-content-center">
<?php echo $this->session->flashdata('message')... |
<?php
namespace App\Http\Controllers\API\V1;
use App\Http\Controllers\Controller;
use App\Http\Requests\API\StoreWasteProductRequest;
use App\Models\WasteProduct;
use Illuminate\Http\Request;
class WasteProductController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Il... |
<?php
/**
* @file
* @license https://opensource.org/licenses/Apache-2.0 Apache-2.0
*/
namespace Wikimedia\CSS\Sanitizer;
use Wikimedia\CSS\Grammar\TestMatcherFactory;
/**
* @covers \Wikimedia\CSS\Sanitizer\FontFeatureValuesAtRuleSanitizer
*/
class FontFeatureValuesAtRuleSanitizerTest extends RuleSanitizerTestBa... |
<?php
/**
* Other
*
* PHP version 7.2
*
* @category Class
* @package Finbricks\Api\Info
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Finbricks.com API - Account information
*
* Finbricks.com API - Account information
*
* The version of the OpenAPI document: 1.1.... |
<?php
declare(strict_types=1);
namespace Ssch\TYPO3Rector\Rector\v9\v0;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\ArrayDimFetch;
use PhpParser\Node\Expr\BinaryOp\Mul;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Scalar\LNumber;
use PhpParser\Node\Scalar\String_;
use Rector\Core\Rec... |
@extends('layouts.master')
@section('title')
Show book
@stop
{{--
This `head` section will be yielded right before the closing </head> tag.
Use it to add specific things that *this* View needs in the head,
such as a page specific styesheets.
--}}
@section('head')
<link href="/css/books/show.css" type='text/c... |
<?php
namespace Nemundo\Workflow\App\Wiki\Content\Form;
use Nemundo\App\Content\Form\ContentTreeForm;
use Nemundo\Package\Bootstrap\FormElement\BootstrapLargeTextBox;
use Nemundo\Package\Bootstrap\FormElement\BootstrapTextBox;
use Nemundo\Workflow\App\ContentTemplate\Content\Data\LargeTextTemplateContent;
use Nemund... |
<div class="wraper light-bg">
<div class="mt-78 pb-20 newsfeed-section">
<div class="container">
<div class="row pt-40 mb-3">
<div class="col-lg-4">
<form role="form" name="categoryForm" ng-submit="submitCategory();" novalidate>
<div class="form-group">
<label for="category">Category name... |
@extends('crm.layouts.base_crm')
@section('title', 'Propiedad')
@section('navbar_content')
@include('crm.layouts.components.navbar')
@endsection
@section('left_sidebar_navbar_content')
@include('crm.layouts.components.left_sidebar')
@endsection
@section('pages_css_files')
<link href="{{ asset('plugins/... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Deudas extends CI_Controller {
public function index()
{
$this->load->helper('form');
$this->load->library('form_validation');
$user = $this->ion_auth->user()->row();
$data['user_name'] = $user->username;
$data['title... |
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AdminLTE 2 | Dashboard</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootst... |
@extends('adminlte::page')
<script src="{{asset('js/jquery-3.4.1.js')}}"></script>
<link rel="stylesheet" href="{{asset('css/bootstrap.css')}}">
<script src="{{asset('js/popper.min.js')}}"></script>
<script src="{{asset('js/bootstrap.js')}}"></script>
<head>
<title>Ocs_map_os</title>
</head>
@section('content')
... |
<?php
namespace Composer;
use Composer\Semver\VersionParser;
class InstalledVersions
{
private static $installed = array (
'root' =>
array (
'pretty_version' => 'No version set (parsed as 1.0.0)',
'version' => '1.0.0.0',
'aliases' =>
array (
),
'reference' => NULL,
'name' => 'l... |
@extends('Admin.layout.index')
@section('content')
<link href="{{asset('css/persian-datepicker.css')}}" rel="stylesheet">
<script src="{{asset('js/persian-date.js')}}" type="text/javascript"></script>
<script src="{{asset('js/persian-datepicker.js')}}" type="text/javascript"></script>
<div class="box... |
<?php
namespace Comment\Action;
use Common\Action\MemberbaseAction;
class CommentAction extends MemberbaseAction{
protected $comments_model;
function _initialize() {
parent::_initialize();
$this->comments_model=D("Comments");
}
function index(){
$uid=sp_get_current_userid();
$where=array("uid"=>$uid);... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Province extends Model{
use HasFactory;
protected $table = 'provinces';
protected $primaryKey = 'id';
public function department() {
return $this->belongsTo(Depa... |
<?php
/**
* Copyright (c) 2014: Jonathan Enzinna <jonnyfunfun@gmail.com>
*
* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
* To Public License, Version 2, as pub... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit79d59667d2c208e91fd3be96be795cfb
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.