text stringlengths 2 1.03M |
|---|
<?php
/**
* Database language strings.
*
* @package CodeIgniter
* @author CodeIgniter Dev Team
* @copyright 2019-2020 CodeIgniter Foundation
* @license https://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @since Version 4.0.0
* @filesource
*
* @codeCoverage... |
@extends('backend.layouts.app')
@section('content')
<div class="content">
<!-- Form inputs -->
<div class="card-header header-elements-inline">
<h5 class="card-title">Add Experience</h5>
</div>
<div class="card-body">
{!! Form::model($career,['method'=>'P... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Rds\V20140815\Models\DescribeAvailableResourceResponseBody\availableZones\availableZone\supportedEngines\supportedEngine\supportedEngineVersions\supportedEngineVersion\supportedCategorys\supportedCategory\supportedStorageTypes\sup... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- Canonical -->
<link rel="canonical" href="">
<title>Laravel 5.4</title>
<!-- Bootstrap CSS -->
... |
<?php
/*
* This file is part of the NucleosProfileBundle package.
*
* (c) Christian Gripp <mail@core23.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nucleos\ProfileBundle\Tests\EventListener;
use Nucleos\ProfileB... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateArticlesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('articles', fun... |
<?php
include "./includes/conn.php";
include "./includes/header.php";
?>
<?php
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "gtb";
// Create connection
$conn = mysqli_connect($servername, $username, $password, $dbname);
?>
<?php
/*
$sql= "SELECT topicID, topicTitle, topicDesc FROM t_topics... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Login extends MY_Controller
{
public function __construct()
{
parent::__construct();
$is_login = $this->session->userdata('is_login');
if ($is_login) {
redirect(base_url());
return;
... |
<script src="{{asset('admin/js/core/popper.min.js') }}"></script>
<script src="{{asset('admin/js/core/bootstrap.min.js') }}"></script>
<script src="{{asset('admin/js/plugins/perfect-scrollbar.min.js') }}"></script>
<script src="{{asset('admin/js/plugins/smooth-scrollbar.min.js') }}"></script>
... |
<?php namespace App\Controllers;
class Sk extends BaseController
{
public function initController(\CodeIgniter\HTTP\RequestInterface $request, \CodeIgniter\HTTP\ResponseInterface $response, \Psr\Log\LoggerInterface $logger)
{
parent::initController($request, $response, $logger);
$this->model =... |
@extends('brackets/admin-ui::admin.layout.default')
@section('title', trans('admin.admin-user.actions.index'))
@section('body')
<admin-user-listing
:data="{{ $data->toJson() }}"
:activation="!!'{{ $activation }}'"
:url="'{{ url('admin/admin-users') }}'"
inline-template>
<... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\Request;
class DoctorController extends Controller
{
public function __construct()
{
$this->middleware('auth:doctor');
}
/**
* Display a listing of the resource.
*
* @return \Illumin... |
<?php
class OtInspeccionEquiposController extends BaseController {
private static $nombre_tabla = 'estado_ot';
private static $estado_activo = 'estado_activo';
public function list_inspec_equipos()
{
if(Auth::check()){
$data["inside_url"] = Config::get('app.inside_url');
$data["user"] = Session::get('user... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Login extends CI_Controller {
public function __construct() {
parent::__construct();
$this->load->library('upload');
$this->load->library('mongo_db', array('activate' => 'default'), 'mongo_db');
... |
<?php
class Kategori_model extends CI_Model
{
function getAllKategori()
{
return $query = $this->db->get('categories')->result_array();
// return $query = $this->db->get_where(['categories', ['status' => '1']])->result_array()();
}
function getKategoriById($id)
{
return $th... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRolesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('roles', function ... |
<?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\Http\Controllers\API;
use App\Http\Controllers\Controller;
use App\Products;
use App\Orders;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
class ProductController extends Controller
{
public function create(Request $request){
try{
$validator = Validator::make($reque... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Post;
use App\Models\Tag;
use Illuminate\Support\Facades\Auth;
class PostController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function inde... |
@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">Payment</div>-->
<!-- </div>-->
<!-- </... |
<?php
/**
* OfferKeyWithIdTest
*
* PHP version 7.2
*
* @category Class
* @package OpenAPI\EbayInventoryClient
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Inventory API
*
* The Inventory API is used to create and manage inventory, and then to publish and manage th... |
<?php use Carbon\Carbon; ?>
<x-app-layout>
<x-slot name="header">
Ticket: #{{ $ticket->ticket_id }}, {{ $ticket->title }} van {{ $ticket->User->name }}
</x-slot>
@dump($ticket->User->klant)
<div class="grid grid-flow-col grid-cols-4 gap-4 ">
@livewire('ticket-show')
</div>
</... |
<?php
namespace ScnEsiWidgetTest\View\Strategy;
use Mockery,
Zend\Http\PhpEnvironment\Request,
Zend\Http\PhpEnvironment\Response,
Zend\Mvc\MvcEvent,
Zend\Mvc\Router\RouteMatch,
Zend\View\ViewEvent;
class EsiStrategyTest extends \PHPUnit_Framework_TestCase
{
/**
* @var ScnEsiWidget\View\... |
<?php
/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <i@overtrue.me>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* Guard.php.
*
* @author overtrue <i@overtrue.me>
* @copyright 2015 overtrue <i@overtrue.me>
*
* ... |
<div class="form-row">
<div class="form-group col-md-3">
{{ Form::label('awb', 'AWB') }}
{{ Form::text('awb', null, ['class' => 'form-control']) }}
</div>
<div class="form-group col-md-3">
{{ Form::label('carrier', 'Transportista') }}
{{ Form::text('carrier', null, ['class' => 'f... |
<?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\Bundle\FrameworkBundle\DependencyInjection;
use Doctrine\Common... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Backend\UserController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| To register web routes for the application. These rou... |
<?php
namespace Modules\Survay\Controllers;
use App\Models\Common_model;
use Modules\Api\Models\Api_model;
use CodeIgniter\API\ResponseTrait;
use App\Controllers\BaseController;
use Modules\Land\Models\Land_model;
use Modules\User\Models\User_model;
use App\Models\InterViewHouse_model;
use Modules\House\Models\House_... |
<div class="row" id="list">
<div class="col-md-12">
<!-- Horizontal Form -->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Motor Insurance List</h3>
<a class="btn btn-primary pull-right" href="#add">Add New</a>
</div>
<!-- /.box-header -->
<!-- form start... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rekapitulasi Hasil Pengawasan Reklame</title>
</head>
<body>
<div style="width: 100%; margin-left:-5px ; margin-right:-5px">
<table width="100%">
... |
@extends('layouts.app')
@section('title','Login')
@push('css')
@endpush
@section('content')
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-1">
@include('layouts.partial.msg')
<di... |
<?php
/*
* diag_smart.php
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2004-2016 Electric Sheep Fencing, LLC
* Copyright (c) 2006 Eric Friesen
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Li... |
<?php
/**
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
* @license http://www.larva.com.cn/license/
*/
namespace App\Validators;
use App\Services\MailVerifyCodeService;
use Illuminate\Su... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
/*
* Fresns (https://fresns.org)
* Copyright (C) 2021-Present Jarvis Tang
* Released under the Apache-2.0 License.
*/
namespace App\Http;
class UpgradeController
{
// current version
public static $version = '1.4.0';
public static $versionInt = 5;
// do some special script
public funct... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... |
<?php
namespace Symfony\Cmf\Bundle\CoreBundle\Form\Type;
use Symfony\Component\Routing\RouterInterface;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormView;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\OptionsRe... |
@extends('layouts.app')
@section('style')
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
... |
<?php
namespace SecTheater\Jarvis\Reply;
use SecTheater\Jarvis\Repositories\Repository;
class ReplyRepository extends Repository implements ReplyInterface
{
protected $model;
public function __construct(EloquentReply $model)
{
$this->model = $model;
}
public function getApproved($relati... |
<?php
/**
* ่ๆฏ้ณไน
* User: ๆ่่พ
* Date: 2018/11/19
* Time: 17:32
*/
namespace Admin\Controller;
class BgmusicController extends BaseController {
/**
* ๅ่กจ้กต
* @author: ๆ่่พ
* @time: 2018/11/19 08:32
*/
public function index()
{
$this->display();
}
/**
* ajaxๅ่กจ้กต
... |
<?php
namespace Liang\ShangPi;
use Illuminate\Support\Collection;
/**
ๅจcomposer.json
* "autoload": {
"classmap": [
"database",
"liang/src" //ๆทปๅ ่ชๅทฑ็ๅฝๅ็ฉบ้ด
],
* ๅจๅฝไปค่ก ๆง่ก composer dump-autoload
*/
class Manager
{
public $prodcts;
public function __construct()
{
$this->prodcts = Collection::make... |
<?php
/**
* Base class that represents a query for the 'objects' table.
*
*
*
* @method ContentObjectQuery orderById($order = Criteria::ASC) Order by the id column
* @method ContentObjectQuery orderByPageId($order = Criteria::ASC) Order by the page_id column
* @method ContentObjectQuery orderByContainerName($o... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Lesson extends Model
{
use HasFactory;
protected $fillable = [
'code', 'name', 'semester'
];
public function student()
{
return $this->belongsToMany(S... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\subcategory\models\Subcategory */
$this->title = Yii::t('app', 'Create Subcategory');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Subcategories'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->tit... |
@extends('layouts.app')
@section('content')
<div class="container-fluid" id="sourcing">
<!-- Title -->
<h1 class="section-title" id="services">
<span> </span>
</h1><!-- End Title -->
<div class="col-md-12">
@if (Auth::user()->role == 'admin')
<div class="row">
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Pendaftaran extends Model
{
use HasFactory;
protected $fillable = [
'nis','nama','jk','tmp_lahir','tgl_lahir','alamat','asal_sekolah','kelas','jurusan'
];
} |
@props([
'attrId' => 'checkboxGroup-'.rand(10, time()),
'value' => null,
'label' => 'Not found',
'checked' => false,
])
<li class="mb-1">
<input
type="checkbox"
class="custom-control-input"
id="{{ $attrId }}"
value="{{ $value }}"
name="{{ $attributes->... |
<?php
namespace Tests\Unit\Listeners;
use App\User;
use Tests\TestCase;
use App\Models\Status;
use App\Events\ModelLiked;
use App\Notifications\NewLikeNotification;
use Illuminate\Support\Facades\Notification;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Notifications\Messages\BroadcastMessage;
... |
<?php
/**
* PepisCMS
*
* Simple content management system
*
* @package PepisCMS
* @author Piotr Polak
* @copyright Copyright (c) 2007-2018, Piotr Polak
* @license See LICENSE.txt
* @link http://www.polak.ro/
*/
defined('BASEPATH') or exit('No dir... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Steampunked\\' => array($baseDir . '/lib/Steampunked'),
); |
@extends('layouts.master')
@section('content')
<div class="content_wrapper">
@if ($errors->has())
<div class="alert alert-danger awesome">
@foreach ($errors->all() as $error)
{{ $error }}<br>
@endforeach
</div>
@endif
... |
<!-- Preloader -->
<div class="preloader flex-column justify-content-center align-items-center">
<img class="animation__wobble" src="assets/img/AdminLTELogo.png" alt="Eco Farm Logo" height="60" width="60">
</div>
<!-- Navbar -->
<nav class="main-header navbar navbar-expand navbar-dark">
<!-- Left navbar links ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePlansTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('plans', function ... |
<?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
include("../ayar/ayarlar.php");
header("Location:../$siteurl"); ?> |
<?php
/**
* Common elements found throughout many areas of BookStack.
*/
return [
// Buttons
'cancel' => 'Cancelar',
'confirm' => 'Confirmar',
'back' => 'Atrรกs',
'save' => 'Guardar',
'continue' => 'Continuar',
'select' => 'Seleccionar',
'toggle_all' => 'Marcarlos todos',
'more' =>... |
@extends('layouts.adminLayout')
@section('content')
<div class="sidebar border-right">
<div class="logopanel">
<h1>
QCITIPARK
</h1>
</div>
<div class="sidebar-inner">
<div class="sidebar-top">
</div>
<div ... |
@extends('layouts.app')
@section('content')
<div class="box">
<div class="box-header with-border">
<a href="{{url('chart')}}" class="btn btn-danger my-2 ">Kembali</a>
<div class="box-tools pull-right">
</div>
</div>
<div class="box-body">
<div class="row">
@foreac... |
<?php
/**
* User: Ahmed Dabak
* Date: 11.04.2018
* Time: 11:45
*/
namespace Ideenkonzept\Zodiac\Zodiacs;
use Ideenkonzept\Zodiac\Zodiac;
class Sagittarius extends Zodiac {
protected $start = [ 'month' => 11, 'day' => 22 ];
protected $end = [ 'month' => 12, 'day' => 21 ];
} |
<div class="page-header">
<h2><?= t('Project tags') ?></h2>
<ul>
<li>
<i class="fa fa-plus" aria-hidden="true"></i>
<?= $this->url->link(t('Add new tag'), 'ProjectTagController', 'create', array('project_id' => $project['id']), false, 'popover') ?>
</li>
</ul>
</div>
... |
<?php
/**
* Sidebar
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*
* @cmsms_package EcoNature
* @cmsms_version 1.1.3
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
list($cmsms_layout) = cmsms_theme_page_layout_scheme();
if ($cmsms_layout == 'r_sid... |
<?php
namespace Symfony\Cmf\Component\Routing\Tests\NestedMatcher;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\RouteCollection;
use Symfony\Component\Routing\Route;
use Symfony\Cmf\Component\Routing\NestedMatcher\UrlMatcher;
use Symfony\Cmf\Component\Routing\RouteObjectInterface;
us... |
<?php
namespace SilverStripe\DynamoDb\Model;
use Aws\DynamoDb\DynamoDbClient;
use Aws\DynamoDb\SessionHandler;
use Aws\DoctrineCacheAdapter;
use Doctrine\Common\Cache\ApcuCache;
use SilverStripe\Core\Config\Config;
use SilverStripe\Control\Session;
class DynamoDbSession
{
/**
* @var DynamoDbClient
*/
... |
@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">{{ __('USER DATA') }}</div>
<div class="card-body">
@if (session('... |
<?php
namespace Security\HTMLPurifier\HTMLPurifier\HTMLModule\Tidy;
class HTMLPurifier_HTMLModule_Tidy_Transitional extends HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4
{
/**
* @type string
*/
public $name = 'Tidy_Transitional';
/**
* @type string
*/
public $defaultLevel = 'heavy';
} |
<div id="uploader-demo">
<!--็จๆฅๅญๆพitem-->
<div id="fileList" class="uploader-list"></div>
<div id="filePicker">้ๆฉๅพ็</div>
</div>
<?php
/**
* @var $this \yii\web\View
*/
$this->registerCssFile('@web/webuploader/webuploader.css');
$this->registerJsFile('@web/webuploader/web... |
<div id="rdModal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">@lang('legal/rd.title')</h5>
<button type="button" class="close" d... |
<?php
$id = 'field_' . uniqid();
?>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>
<div class="form-group">
<label>{$label}</label>
<textarea class="d-none" id="{$id}" name="{$name}">{$... |
<?php
namespace backend\modules\complaints\controllers;
use Yii;
use backend\models\Post;
use yii\data\ActiveDataProvider;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
/**
* ManageController implements the CRUD actions for Post model.
*/
class... |
<?php
namespace UserBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\EmailType;
use Symfony\Component\Form\Extension\Core\Type\PasswordType;
use Symfony\Component\Form\Extension\Core\Type\RepeatedType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Sym... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class AddForeignKeysToReceiptListDetailsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('receipt_list_details', function(Blueprint $table)
{
$ta... |
<?php
/**
* Copyright (c) BrownBear, 2018-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 App\Model\Admin;
use Searchable;
use Illuminate\Database\Eloquent\Model;
class ListingLocation extends Model
{
protected $guarded = [];
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'listing_location';
/**
* The attributes excluded from the model's ... |
<?php
namespace App\Http\Controllers\API;
use App\Helpers\ResponseFormatter;
use App\Http\Controllers\Controller;
use App\Models\ProductCategory;
use Illuminate\Http\Request;
class ProductCategroyController extends Controller
{
public function all(Request $request)
{
$id = $request->input('id');
... |
<?php
/**
* A class for reading Microsoft Excel (97/2003) Spreadsheets.
*
* Version 2.21
*
* Enhanced and maintained by Matt Kruse < http://mattkruse.com >
* Maintained at http://code.google.com/p/php-excel-reader/
*
* Format parsing and MUCH more contributed by:
* Matt Roxburgh < http://www.roxburgh.me.uk ... |
<?php
namespace App\Http\Controllers\Categories;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class CategoryController extends Controller
{
//
} |
<?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\Tests\Eve... |
<?php
/**
* Elasticsearch PHP client
*
* @link https://github.com/elastic/elasticsearch-php/
* @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
* @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Le... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePurchaseDetailsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('purchas... |
<?php
namespace app\controllers;
use Yii;
use app\models\Horarios;
use app\models\HorariosSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
/**
* HorariosController implements the CRUD actions for Horarios model.
*/
class HorariosControlle... |
<?php
require_once 'header.php';
if (!$loggedin) die();
$search = "";
$start = 0; // Variables for the first page hit
$page_counter = 0;
$per_page = 20;
$next = $page_counter + 1;
$previous = $page_counter - 1;
if(isset($_GET['start'])) // Check the page location with start value sent by get ... |
<?php
class M_unit_terusan extends CI_Model{
//put your code here
//put your code here
function __construct(){
parent::__construct();
$this->load->library('Datatables');
}
function insert($data){
$this->db->insert('t_unit_terusan', $data);
}
function selectAl... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class UserBlockAssign extends Model
{
protected $fillable=['id'];
public $timestamps=false;
public function Districts()
{
return $this->hasOne('App\Model\District','id','district_id');
}
public functi... |
@extends('layouts.app')
@section('content')
@include('tutor.headers.header')
<div class="container">
<div class="page-section">
<div class="row">
<div class="col-md-9">
<div class="tabbable paper-shadow relative" data-z="0.5">
<!--... |
@extends('layouts.master')
@section('title', 'Reset')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<div class="panel-body">
... |
@extends('layouts.layout1')
@section('content')
<h1>Employess</h1>
<ul>
@foreach ($emps as $emp)
<li>
<a href="{{route('show_epm', $emp -> id)}}">{{$emp -> firstname}} {{$emp -> lastname}} </a>
</li>
@endforeach
</ul>
<h2><a href="{{route('create')}}">NEW EMPLOYEE</a></h2>
@endsectio... |
@if($surveillance["surveillance_enabled"])
<span class="badge badge-success">{{ __('surveillance-ui::app.surveillance_status.enable') }}</span>
@else
<span class="badge badge-warning">{{ __('surveillance-ui::app.surveillance_status.disable') }}</span>
@endif
@if($surveillance["access_blocked"])
<span class="badge badge... |
<?php namespace App\Http\Controllers\SuperAdmin\Venue;
use App\Http\Controllers\SuperAdmin\AdminBaseController;
use App\Http\Requests\VenueRequest;
use App\Modules\Services\Venue\VenueService;
class VenueController extends AdminBaseController
{
protected $venue;
public function __construct(VenueService $venu... |
<!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>{{ config('app.name', 'Laravel') }}</tit... |
<?php
namespace App\Http\Requests\Cecy\Prerequisite;
use Illuminate\Foundation\Http\FormRequest;
use App\Http\Requests\Cecy\CecyFormRequest;
class IndexPrerequisiteRequest extends FormRequest
{
public function authorize()
{
return true;
}
public function rules()
{
$rules = [
... |
@extends('layouts.app')
@section('css')
<style type="text/css">
</style>
@endsection
@section('content')
<div class="card">
<div class="card-header">
<b>{!! Auth::user()->subModule() !!}</b>
<div class="card-tools">
<button type="button" class="btn btn-tool" data-card-widget="collapse" data-tog... |
<?php
declare(strict_types = 1);
/**
* UserBehavior
*
* @author Florian Krรคmer
* @copyright 2013 - 2017 Florian Krรคmer
* @copyright 2012 Cake Development Corporation
* @license MIT
*/
namespace Burzum\UserTools\Model\Behavior;
use Burzum\UserTools\Mailer\UsersMailer;
use Burzum\UserTools\Model\PasswordAndToken... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\Category;
class CategoriesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//miscelaneos
Category::create(['name' => 'Comunicado','ic... |
<?php
require_once $_SERVER["DOCUMENT_ROOT"] . "/mysql/_.session.php";
// DOMPDF
require_once $sroot . '/assets/templates/dompdf/autoload.inc.php';
// reference the Dompdf namespace
Dompdf\Autoloader::register();
use Dompdf\Dompdf;
use Dompdf\Options;
$options = new Options();
$options->setIsRemoteEnabled(true);
... |
<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv=... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Product update</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloud... |
<header class="header_area">
<div class="main_menu">
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container">
<a class="navbar-brand logo_h" href="{{route('home')}}"><img src="{{asset('img/Fevicon.png')}}" alt=""><img
src="{{asset('... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.