text stringlengths 2 1.03M |
|---|
<script src="<?=base_url()?>assets/dashboard/assets/js/bootstrap.min.js"></script>
<script src="<?=base_url()?>assets/dashboard/assets/js/chart.min.js"></script>
<script src="<?=base_url()?>assets/dashboard/assets/js/chart-data.js"></script>
<script src="<?=base_url()?>assets/dashboard/assets/js/easypiechart.js"></scri... |
<div class="small-box bg-red">
<div class="inner">
<p>Tanggal Bayar Hari Ini</p>
<h3><?= $modelBayar ?></h3>
</div>
<div class="icon">
<i class="fa fa-credit-card"></i>
</div>
<?= \yii\helpers\Html::a('<i class="fa fa-arrow-circle-right"></i> Lihat Detail',['/user-kosan-super... |
<?php
namespace slavkovrn\ionslider;
use yii\helpers\StringHelper;
use yii\widgets\InputWidget;
class IonSliderWidget extends InputWidget {
public $skin = 'big';
public $grid = true;
public $id = '';
public $name = '';
public $class = '';
public $min = 0;
public $max = 10;
public $fr... |
<?php
/**
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace Application;
use Zend\Router\... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class ProductsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('products')->insert([
[
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\Book;
use App\BookGenre;
use App\BookUser;
use App\Genre;
use App\User;
class UserController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Re... |
<?php
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
* Copyright (C) 2011 - 2017 SalesAgility Ltd.
*
* This program is f... |
@extends('install::layouts.master')
@section('title')
@lang('install::page.title')
@endsection
@section('content')
<div class="container">
<h1 class="text-center" style="margin: 40px 0">Leopardus <strong>v{{ $settings->version }}</strong></h1>
@switch($step)
@case(1)
... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/usr/share/nginx/html/system/config/backups.yaml',
'modified' => 1562014959,
'data' => [
'purge' => [
'trigger' => 'space',
'max_backups_count' => 25,
'max_backups_space' => 5,
... |
<?php
require('_login.php');
// CUENTA LA CANTIDAD DE NOTIFICACIONES
$cant_notif = count(glob("../sitios/faucet/reportes/{*.html}",GLOB_BRACE));
// CUENTA LA CANTIDAD DE FAUCET DE CADA ROTADOR
$cant_f_xapo = count(glob("../sitios/faucet/xapo/{*.html}",GLOB_BRACE));
$cant_f_faucetbox = count(glob("../sitios/faucet/fau... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUserTokensTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_tokens', function(Blueprint $table)
{
/**
* 이 ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Cidade extends Model
{
use HasFactory;
protected $table = 'cidade';
public $timestamps = false;
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\kal_akademik;
class tahun_ajar extends Model
{
use HasFactory;
protected $table = 'tahun_ajar';
protected $guarded = [];
public function kal_akademik(){
re... |
<?php
namespace Components;
class Form{}
class Field{}
/*
Como já temos os 2 namespaces isolados em arquivos separados, vamos criar um terceiro arquivo, que vai importar o arquivo namepace_a.php. Para utilizar a classe Application\Form, utilizaremos o operador "use". O que esse operador basicamente faz é dize... |
<?php
declare(strict_types = 1);
namespace apex\core\tabcontrol;
use apex\app;
use apex\libc\db;
use apex\libc\debug;
/**
* Class that handles the tab control, and is executed
* every time the tab control is displayed.
*/
class dashboard
{
// Define tab pages
public $tabpages = array();
/**
* Process... |
<?php $__env->startSection('title'); ?>
Kelola Data Kategori Konsultasi
<?php $__env->stopSection(); ?>
<?php $__env->startSection('style'); ?>
<style>
.dropleft .dropdown-toggle::before {
display: none !important;
}
</style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('subheader'); ?>
<div cla... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Demand extends Model
{
use HasFactory;
protected $guarded = [];
protected $appends = ['formatted_date'];
public function document()
{
return $this->belongsTo(D... |
@extends('szablon')
@section('title', 'Miejsce: ')
@section('tresc')
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
<ol class="breadcrumb">
</ol>
</nav>
<div class="row">
<div>Ostatnia modyfikacja: {{$miejsce->created_at->format('Y-m-d H:i:s')}}</div>
</... |
<?php
class Category_model extends CI_Model{
public function __construct(){
$this->load->database();
}
public function get_categories(){
$this->db->order_by('name');
$query = $this->db->get('categories');
return $query->result_array();
}
public function create_category(){
$data = array(
... |
<?php
declare(strict_types=1);
namespace JeroenG\Hummingbird\Domain\Validators;
use JeroenG\Hummingbird\Application\ParserInterface;
use JeroenG\Hummingbird\Domain\Element;
final class ImagesMustHaveAnAltTag implements ValidatorInterface
{
public function validate(ParserInterface $parser): bool
{
$d... |
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|------------------------------------... |
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Cache\Persister\Collection;
use Doctrine\ORM\Cache\CollectionCacheKey;
use Doctrine\ORM\Cache\ConcurrentRegion;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\Mapping\AssociationMetadata;
use Doctrine\ORM\PersistentCollection;
use Doctrine\ORM\Persiste... |
<?php
namespace SoloCms\validate;
use Cms\exception\ParameterException;
use think\facade\Request;
use think\Validate;
class BaseValidate extends Validate
{
/**
* @return bool
* @throws ParameterException
*/
public function goCheck()
{
//获取HTTP传入的参数
$params = Request::param(... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Store\Model\Validation;
use Magento\Store\Model\Store;
use Magento\TestFramework\Helper\Bootstrap;
use PHPUnit\Framework\TestCase;
class StoreValidatorTest extends TestCa... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTblCategoryPost extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tbl_category... |
<?php
namespace bunq\Model\Generated\Endpoint;
use bunq\Model\Core\BunqModel;
use bunq\Model\Generated\Object\AdditionalInformation;
use bunq\Model\Generated\Object\Amount;
use bunq\Model\Generated\Object\AttachmentMasterCardActionRefund;
use bunq\Model\Generated\Object\LabelCard;
use bunq\Model\Generated\Object\Label... |
<?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 a... |
@push('styles')
<link rel="stylesheet" href="{{ asset('libraries/password/strengthify.min.css') }}">
@endpush
{{ view('templates/header') }}
<section class="text-center">
<section class="section parallax-container" data-parallax-img="{{ asset('img/stonewrap-parallax.jpg') }}"><div class="material-parallax para... |
<?php
namespace app\api\controller\v2;
/**
* 积分兑换接口
*/
use app\api\controller\v2\ApiCommon;
use app\common\model\Goods;
use app\common\model\Record as Record_mod;
class Record extends ApiCommon
{
protected $noNeedLogin = ['recordList'];
protected $noNeedRight = '*';
public function _initialize()
{... |
<?php
function soNumero($str) {
return preg_replace("/[^0-9]/", "", $str);
}
require_once('../../connect.php');
$alert=NULL;
if(isset($_POST)){
$data=$_POST['dataCulto'];
$nome=$_POST['inputNome'];
$idade=$_POST['inputIdade'];
$celular= soNumero($_POST['input... |
<?php
//namespace App\Open\Qq;
/* PHP SDK
* @version 2.0.0
* @author connect@qq.com
* @copyright © 2013, Tencent Corporation. All rights reserved.
*/
require_once(CLASS_PATH."ErrorCase.class.php");
class Recorder{
private static $data;
private $inc;
private $error;
public function __construct(){
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Comment extends Model
{
use HasFactory;
public function user()
{
return $this->BelongsTo(User::class);
}
public function post()
{
return $this->B... |
<?php
declare (strict_types=1);
namespace Rector\Symfony\NodeFactory\FormType;
use PhpParser\Node\Expr\ArrayDimFetch;
use PhpParser\Node\Expr\Assign;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Scalar\String_;
use PhpParser\Node\Stmt\Expression;
final class BuildFormOptionAssignsFactory
{
/**
* @par... |
@feature('boxes')
@can('box.view.all')
<div class="card">
<div class="card-header">Members Boxes</div>
{{-- TODO: change this to a list view? --}}
<ul class="list-group list-group-flush">
<li class="list-group-item">{{ Auth::user() == $user ? 'You have' : $user->getFirstname() . ' has' }} {{ $boxCount }} box{... |
<?php
use Faker\Generator as Faker;
use App\Product;
$factory->define(Product::class, function (Faker $faker) {
return [
'name' => substr($faker->sentence(3), 0, -1),//quitar el ultimo caracter
'description' => $faker->sentence(10),
'long_description' => $faker->text,
'price' => $... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Servicemesh\V20200111\Models\DescribeServiceMeshDetailResponseBody\serviceMesh\spec\meshConfig;
use AlibabaCloud\Tea\Model;
class MSE extends Model
{
/**
* @var bool
*/
public $enabled;
protected $_name = [... |
<?php
/**
* Copyright 2018 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 agr... |
<?php
include 'headeris.html';
echo '
<form action="uploadphoto.php" method="post" enctype="multipart/form-data">
Select image to upload:
<input type="file" name="fileToUpload" id="fileToUpload">
<input type="submit" value="Upload Image" name="submit">
</form>';
// for jpg
function resize_imagejpg($file,... |
@extends('layouts.app_backup')
@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 me... |
<?php
return array(
'tree' => array(
array('id' => '1','lft' => '0','rgt' => '2147483647','depth' => '0','slug' => 'r1'),
array('id' => '2','lft' => '1','rgt' => '1000021','depth' => '1','slug' => 'n1'),
array('id' => '3','lft' => '10000000','rgt' => '20000000','depth' => '1','slug' => 'n2')... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\DB;
class ProfilePegawaiController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
pu... |
<?php
if (isset($_GET['post_id'])) {
$classPost = new Post();
$postData = $classPost->So_PostData(So_Secure($_GET['post_id']));
if (count($postData) > 0) {
$so['story'] = $postData;
$html = So_GetPage('app/feed/content-view');
$data = array(
'status' => 200,
... |
@extends('layout.admin_layout')
@section('content')
<div class="app-page-title">
<div class="page-title-wrapper">
<div class="page-title-heading">
<div>Edit category Product</div>
</div>
</div>
</div>
<div class="tab-content">
<div class="tab-p... |
<?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 Rotor\Assets;
class OutputGroup
{
protected $name;
/**
* @var Asset[]
*/
protected $assets = [];
public function addAsset($asset){
$this->assets[] = $asset;
}
} |
<?php
if($from=='cashier'){
echo form_open('sales/new_item');
echo form_hidden('sale_url', $sale_url);
}else{
echo form_open('item/add');
}
?>
<div style="width: 100%; font-size: 15px; font-weight: bold; text-align: center;">
New Item Entry
</div>
<table width="100%" cellpadding="5" cellspacing="5">... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\faq\models\FaqCategory */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="faq-category-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'title')->textInput(['maxlengt... |
<?php namespace App\Database\Migrations;
class AddUsers extends \CodeIgniter\Database\Migration {
public function up()
{
$this->forge->addField([
'id' => [
'type' => 'INT',
'unsig... |
<?php
declare(strict_types=1);
namespace Saxulum\Tests\ElasticSearchQueryBuilder\Converter;
use PHPUnit\Framework\TestCase;
use Saxulum\ElasticSearchQueryBuilder\Converter\IteratableToNodeConverter;
use Saxulum\ElasticSearchQueryBuilder\Converter\ScalarToNodeConverterInterface;
use Saxulum\ElasticSearchQueryBuilder\... |
<!-- Id Field -->
<div class="form-group">
{!! Form::label('id', 'Id:') !!}
<p>{{ $bookEdition->id }}</p>
</div>
<!-- Edition Field -->
<div class="form-group">
{!! Form::label('edition', 'Edition:') !!}
<p>{{ $bookEdition->edition }}</p>
</div>
<!-- English Edition Field -->
<div class="form-group">
... |
<?php
// Copyright (C) 2015-2017 Jacob Barkdull
// This file is part of HashOver.
//
// I, Jacob Barkdull, hereby release this work into the public domain.
// This applies worldwide. If this is not legally possible, I grant any
// entity the right to use this work for any purpose, without any
// conditions, unless suc... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePermissionProfileTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('permi... |
<!DOCTYPE html>
<html>
<head>
<title>Record Time</title>
@include('dashboard.v2.admin.include.head')
</head>
<body>
@include('dashboard.v2.admin.include.sidebar')
<div class="content-wrapper">
@include('dashboard.v2.admin.include.navigation')
<div cl... |
<?php
namespace Database\Seeders;
use App\Models\escola;
use Illuminate\Database\Seeder;
class EscolaSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
escola::factory(10)->create();
}
} |
<?php
namespace App\Util;
use App\Models\ClassScheduleModel;
use App\Models\ClassScheduleRecurrenceModel;
use Carbon\Carbon;
use Carbon\CarbonPeriod;
class ClassesService
{
public function buildClasses($start, $end)
{
$startDate = Carbon::parse($start);
$endDate = Carbon::parse($end);
... |
<?php
namespace Helpers;
use Helpers\Url;
use Helpers\Session;
/*
* Document Helper - collection of methods for working with documents
*
* @author David Carr - dave@daveismyname.com - http://www.daveismyname.com
* @version 1.0
* @date June 27, 2014
*/
class Auth {
/**
* group types into collections, its pu... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
namespace app\models;
class Offer extends AppModel
{
const OFFER_ACTIVE = 1;
const OFFER_INACTIVE = 0;
const OFFER_NOT_ACCEPTED = 2;
const OFFER_REJECTED = 3;
const REQUIRE_APPROVAL = 1;
public function rules()
{
return [
[[
'file_id',
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
require(APPPATH.'/libraries/REST_Controller.php');
class Login extends REST_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('Otp_model');
$this->load->model('User_model');
}
public fu... |
<?php
return [
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'components' => [
'cache' => [
'class' => 'yii\caching\FileCache',
],
'urlManager' => [
//'enablePrettyUrl' => true,
// 'showScriptName' => false,
],
],
]; |
<head>
<!-- <link rel="stylesheet" type="text/css" href="https://fonts.googlelapis.com/icons?family=Material+Icons"> -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- <link rel="stylesheet" type="text/css" href="http://cdn.datatables.net/... |
@extends('_layouts._layout_site')
@include('_layouts._includes._head')
@section('head')
@endsection
@section('titulo')
@lang('proprietarios.proprietarios')
@endsection
@section('topo_detalhe')
<div class="container-fluid topo">
<div class="row align-items-start">
{{-- Titlle Subtitlle --}}
... |
<head>
<meta charset="UTF-8">
<title>Administracion - OneNet</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<!-- CSRF Token -->
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<!-- <link rel="stylesheet" href="htt... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fill... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/vision/v1p3beta1/text_annotation.proto
namespace Google\Cloud\Vision\V1p3beta1;
if (false) {
/**
* This class is deprecated. Use Google\Cloud\Vision\V1p3beta1\TextAnnotation\DetectedBreak instead.
* @deprecated
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\ContaReceber;
use App\CategoriaConta;
use App\Usuario;
class ContaReceberController extends Controller
{
public function __construct(){
$this->middleware(function ($request, $next) {
$value = session('user_logged');
if(!$value){
... |
<?php
/**
* This file is part of CommuneChatbot.
*
* @link https://github.com/thirdgerb/chatbot
* @document https://github.com/thirdgerb/chatbot/blob/master/README.md
* @contact <thirdgerb@gmail.com>
* @license https://github.com/thirdgerb/chatbot/blob/master/LICENSE
*/
namespace Commune\Framework\Provid... |
@extends('admin.layouts.master')
@section('content')
<div id="wrapper">
<div class="content-wrapper">
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>Create New Permission</h2>
</div>
<div class="... |
<?php declare(strict_types=1);
/*
* This file is part of Polymorphine/Container package.
*
* (c) Shudd3r <q3.shudder@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Polymorphine\Container\Tests\Records;
use PHPUnit\Framewo... |
<div class="table-responsive">
<table class="table table-striped table-bordered">
<thead class="label-success">
<tr>
<th class="text-center" rowspan="2">NO</th>
<th class="text-center" rowspan="2">Kode</th>
<th class="text-center" rowspan="2">Mata ... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?php
/**
* Theme functions and definitions
*
* @package HelloElementorChild
*/
/**
* Load child theme css and optional scripts
*
* @return void
*/
function hello_elementor_child_enqueue_scripts() {
wp_enqueue_style(
'hello-elementor-child-style',
get_stylesheet_directory_uri() . '/style.css',
[
'hel... |
<?php
/**
* Options B
* User: moyo
* Date: 22/03/2018
* Time: 11:12 AM
*/
namespace Carno\Config\Tests\Options;
class OptB
{
public $f3 = null;
public $f4 = null;
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Code extends WFF_Controller {
function __construct()
{
parent::__construct();
$this->_build_template();
}
public function index() {
$this->output->data["css"][] = STEL_PATH . "css/table.css";
$this->load-... |
<?php
App::uses('UsersController', 'Controller');
/**
* UsersController Test Case
*
*/
class UsersControllerTest extends ControllerTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.user'
);
/**
* testAdminIndex method
*
* @return void
*/
public function testAdminIndex() {
$... |
<div>
<div style="text-align: center">
<button wire:click="increment">+</button>
<h1>{{ $count }}</h1>
</div>
</div> |
<?php
return [
'about_us_heading' => 'About Us',
'home' => 'Home',
'about_p1' => 'The Madhya Pradesh Tiger Foundation Society is a non-profit organization registered under the Madhya Pradesh Society Registrikaran Adhiniyam, 1973.',
'about_p2' => 'The society was formed by Madhya Pradesh State Government... |
<h2>Спасибо, кликните по ссылке!</h2>
<a href="http://laralearn.loc/verify/{{$subs->token}}">{{$subs->token}}</a> |
<?php
/**
* This file is part of the Tmdb PHP API created by Michael Roterman.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @package Tmdb
* @author Michael Roterman <michael@wtfz.net>
* @copyright (c) 2013, Michael Roterman
... |
<?php
/**
* Case Folding Properties.
*
* Provides case mapping of Unicode characters for code points U+2460 through U+24FF
*
* @see http://www.unicode.org/Public/UNIDATA/UCD.html
* @see http://www.unicode.org/Public/UNIDATA/CaseFolding.txt
* @see http://www.unicode.org/reports/tr21/tr21-5.html
*
* PHP versions... |
<?php
$title='Party Wise Payment Details Report';
include('header.php');?>
<style>
.col-md-4 {
margin: 0;
}
</style>
<div class="container">
<div class="row mt-5">
<div class="col-md-12 ">
<h3><?php echo $title?></h3>
<hr />
<!--- Success Message --->
<div... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Documento extends Model
{
protected $table = "documentos";
protected $fillable = [];
protected $dates = ['desde','hasta'];
public function user()
{
return $this->belongsTo('App\User');
}
public function tip... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Adminhtml catalog product sets main page toolbar
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Attribute\Set\Toolbar;
/**
* @api
* @s... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Mapper;
use App\Parking;
class ParkingController extends Controller
{
//
public function __construct()
{
$this->middleware('auth');
}
public function listAllParking(){
$parking = Parking::all();
//dd($p... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?php namespace Acme\Forms;
use Laracasts\Validation\FormValidator;
class RegistrationForm extends FormValidator {
/**
* Validation rules.
*
* @var array
*/
protected $rules = [
'email' => 'required|email|unique:users',
'password' => 'required|alpha_num|m... |
<?php
/**
* GlobalSpecialCircumstanceTypes
*
* PHP version 5
*
* @category Class
* @package DocuSign\Rooms
* @author Swaagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* DocuSign Rooms API - v2
*
* An API for an integrator to access the features of DocuSign Rooms
*
... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @W... |
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... |
<?php
namespace polleria;
use Illuminate\Database\Eloquent\Model;
class Articulo extends Model
{
protected $table= "articulo";
protected $primaryKey ="idarticulo";
protected $filable = ['idcategoria','codigo','nombre','stock','descripcion','imagen','estado'];
} |
@extends('layouts.app')
@section('content')
<table id="cart" class="table table-hover table-condensed">
<thead>
<tr>
<th style="width:50%">Product</th>
<th style="width:10%">Price</th>
<th style="width:8%">Quantity</th>
<th style="width:22%" class="t... |
<div class="modal fade" tabindex="-1" role="dialog" id="ventana_modal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
... |
<?php
declare(strict_types=1);
namespace Symplify\GitWrapper;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symplify\GitWrapper\Event\GitOutputEvent;
use Symplify\GitWrapper\Ev... |
<?php
namespace app\cms\controller;
use app\cms\model\ContentCourse;
use app\cms\model\ContentCourseMaterial;
use app\cms\model\WxAudioRecommend;
use think\Db;
use think\Log;
use think\Request;
use think\Session;
class Audios extends Basic
{
/**
* 推荐音频列表
* @return \think\response\View
*/
pub... |
<?php
namespace Illuminate\Routing;
use Illuminate\Support\Collection;
class SortedMiddleware extends Collection
{
/**
* Create a new Sorted Middleware container.
*
* @param array $priorityMap
* @param \Illuminate\Support\Collection|array $middlewares
* @return void
*/
publi... |
<?php
/**
* Created by PhpStorm.
* User: elviosadoc
* Date: 01/03/17
* Time: 14:12
*/
class OrganizacaoDao extends Model
{
public function __construct(){
parent::__construct();
}
public function registar(Organizacao $entity)
{
if($this->insert($entity->parametro()))
re... |
<?php
/**
* This file is part of Railt package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Railt\Component\Position;
/**
* Providing the ability to get line code from source text.
*/
interf... |
<?php
namespace App\Http\Controllers;
use App\Outcome;
use Illuminate\Http\Request;
class OutcomeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$data = Outcome::all();
return v... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.