text
stringlengths
2
1.03M
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"/> <title>@yield('title', '401') | {{ env('APP_NAME', 'Laravel') }}</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta content="Coderthemes" name="author"/> <me...
@extends('layouts.app') @section('title','Profile') @section('css') <style> </style> @endsection @section('content') <div style="padding-top: 150px; padding-left: 40px; color: black; "> <div class="row"> <div class="col-sm-2"> <a href="{{ route('home') }}"> <button class="btn btn-dark"...
<?php /* * @Author: A. Leonidas * Gitgub: https://github.com/awbryleonidas */ if (!defined('BASEPATH')) { exit('No direct script access allowed'); } class History extends ADMIN_Controller { private $num_rows = 20; public function __construct() { parent::__construct(); $this...
<?php namespace Jhg\Sf4StructureMigrator\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Question\ConfirmationQuestion; use S...
<?php namespace App\Repositories; use App\Models\Article; use InfyOm\Generator\Common\BaseRepository; class ArticleRepository extends BaseRepository { /** * @var array */ protected $fieldSearchable = [ 'name', 'space_id', 'cantidad' ]; /** * Configure the Model...
<?php use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model backend\modules\master\models\VehicleType */ ?> <div class="vehicle-type-view"> <?= DetailView::widget([ 'model' => $model, 'attributes' => [ 'VHCTYP', 'TYPNME', 'TSPMDE', ]...
<?php namespace App\Http\Controllers\SuperAdmin; use Illuminate\Support\Facades\Hash; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\cusinfo; use App\Customer; use App\Admin; use Auth; use DB; use App\Addpayment; class AdminController extends Controller { public function __construct() ...
<?php namespace Symfony\Component\Security\Http\RememberMe; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Request; /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.c...
@extends('layouts.default') @section('content') <div class="top-banner-profile"> <div class="container"> <!-- menu--> <nav class="navbar navbar-default"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-...
<!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <link rel="stylesheet" href="../css/header2.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <title></title> </head> <body> <header> <div class...
<?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 /** * User: abdullah * Date: 01.01.2018 * Time: 15:15 */ namespace DesignPatterns\GangOfFour\Behavioral\ChainOfResponsibility\GreaseMonkeyExample\GreaseMonkeys; use DesignPatterns\GangOfFour\Behavioral\ChainOfResponsibility\GreaseMonkeyExample\Cars\Car; use DesignPatterns\GangOfFour\Behavioral\ChainOfRespons...
<?php namespace Neos\Cache\Tests\Unit\Backend; include_once(__DIR__ . '/../../BaseTestCase.php'); use Neos\Cache\Backend\MultiBackend; use Neos\Cache\Backend\NullBackend; use Neos\Cache\Backend\RedisBackend; use Neos\Cache\EnvironmentConfiguration; use Neos\Cache\Tests\BaseTestCase; /** * */ class MultiBackendTest...
<?php /** * Rss * Created by PhpStorm. * Author: Shantong Xu <shantongxu@qq.com> * Date: 19-7-25 * Time: 下午3:37 */ namespace backend\controllers; use common\helpers\Rss; use common\models\Article; use Yii; class RssController extends BaseController { public function behaviors() { return [ 'PageCache' =...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/privacy/dlp/v2/dlp.proto namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * The inspectTemplate contains a configuration (set of...
<div class="form-group"> {{ Form::label('title', 'Название новости') }} {{ Form::text('title', null, ['class' => 'form-control', 'placeholder' => "Название новости"]) }} </div> <div class="form-group"> {{ Form::label('description', 'Описание новости') }} {{ Form::textarea('description', null, ['class' =...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('posts', function ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Book extends Model { use HasFactory; protected $table = "books"; protected $fillable = ['name','description','auther_name']; }
<?php // smf_import.php language file $lang[0]="Ja"; $lang[1]="Nee"; $lang[2]="<center><u><strong><font size='4' face='Arial'>Fase 1: Belangrijke Vereisten</font></strong></u></center><br />"; $lang[3]="<center><strong><font face='Arial' size='2'>SMF bestanden aanwezig in de \"smf\" map?<font color='"; $lang[4]="'>&n...
<?php class ET_Builder_Module_Signup extends ET_Builder_Module_Type_WithSpamProtection { protected static $_providers; public static $enabled_providers; public $child_slug = 'et_pb_signup_custom_field'; public $module_items_config = array( 'toggle_slug' => 'fields', 'location' => 'bottom', 'show_if' ...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Application E-Commerce développée avec le Framework Laravel 6 par Ludovic Guénet"> <meta na...
<?php /** * This file is part of The DAG Framework package. * * (c) University of Pennsylvania * * For the full copyright and license information, please view the * LICENSE file that was distributed with this source code. */ namespace DAG\Bundle\ResourceBundle\DependencyInjection; use Symfony\Component\Depende...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class CompanyBranchEmployee extends APIModel { protected $fillable = ['identification_number', 'account_id', 'company_branch_id']; public function company_branch(){ return $this->belongsTo('App\CompanyB...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class PrestamoCopia extends Model { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'id_area', 'id_maquina', 'id_empleado', 'id_plano', '...
<?php namespace RebelCode\Wpra\Core\RestApi\EndPoints; use Dhii\Transformer\TransformerInterface; use Exception; use InvalidArgumentException; use RebelCode\Wpra\Core\RestApi\Transformers\RecursiveToArrayTransformer; use Traversable; use WP_Error; use WP_REST_Request; use WP_REST_Response; /** * Abstract functional...
<?php $__env->startSection('page_title'); ?> <?php echo e(config('app.name', '')); ?> - Permission <?php $__env->stopSection(); ?> <?php $__env->startSection('breadcrumb'); ?> <li class="active">Permissions</li> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class...
<?php namespace backend\modules\officeapply\models; use Yii; /** * This is the model class for table "{{%office_apply}}". * * @property integer $apply_id * @property integer $apply_num * @property integer $apply_office_id * @property integer $apply_mee_id * @property string $apply_mee_text * @property intege...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Auth; class SeccionContactoMapaRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { if (Auth::check()) ...
<?php namespace Blueprint\Models; use Illuminate\Support\Str; class Model { private $name; private $namespace; private $primaryKey = 'id'; private $timestamps = 'timestamps'; private $softDeletes = false; private $morphTo; private $columns = []; private $relationships = []; privat...
<?php return array('dependencies' => array('moment'), 'version' => '4daf576c197ed7475b9c6d544c2a2123');
<?php $TRANSLATIONS = array( "Email sent" => "Ел. пошта надіслана", "Encryption" => "Шифрування", "Unable to load list from App Store" => "Не вдалося завантажити список з App Store", "Authentication error" => "Помилка автентифікації", "Group already exists" => "Група вже існує", "Unable to add group" => "Не вдалося дод...
<?php declare(strict_types=1); namespace Netgen\Layouts\Persistence\Values\LayoutResolver; use Netgen\Layouts\Utils\HydratorTrait; final class ConditionCreateStruct { use HydratorTrait; /** * Identifier of the condition type. */ public string $type; /** * Condition value. Can be a s...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Dashboard extends CI_Controller { public function index() { $this->template->load('admin', 'default', 'dashboard'); //$this->load->view('admin/dashboard'); } }
<?php/* Arquivos CSS que são importados pela maior parte das páginas no site ou então em todas. O arquivo style.php é um compilador de CSS LESS, ele recebe o endereço do arquivo LESS através da variavel 'f' via GET, encodada em base64. Ele compila apenas LESS do interior deste site e é manipulado na maior parte das vez...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Post extends Model { //Campos se van a permitir escribir en la base de datos protected $fillable =['title','body']; }
<?php namespace Gdbots\Pbjc\Type; final class StringEnumType extends AbstractType { /** * {@inheritdoc} */ public function isString() { return true; } /** * {@inheritdoc} */ public function getMaxBytes() { return 100; } }
<?php namespace App\Facades; use Illuminate\Support\Facades\Facade; class Electrum extends Facade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() : string { return 'Electrum'; } }
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDataBanksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('data_banks', ...
<html lang="en"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css"> <style type="text/css"> @media print { .noprint { display: none; } .img-fluid { max-height: 100%; } ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class SocialCrendential extends Model { // }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class IndustriController extends Controller { return view('industri', ['industri'=>Industi::index()];) }
<?php declare(strict_types=1); namespace Rector\Removing\ValueObject; final class ArgumentRemover { /** * @var string */ private $class; /** * @var string */ private $method; /** * @var int */ private $position; /** * @var mixed */ private $v...
<?php /* * This file is part of the CLIArrayEditor package. * * (c) Máximo Cuadros <mcuadros@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CLIArrayEditor; /** * Format interface */ interface Format { /*...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call([UsersTableSeeder::class]); $this->call([DataSeeder::class]); } }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class DesgloceEvaluacion extends Model { protected $table = 'desgloce_evaluacion'; protected $fillable=['evaluacion_id','docentes_id','concepto','valor','observacion']; public $times...
<?php namespace Athorrent\Command; use Athorrent\Security\UserManager; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class CreateUserCommand extends Command { ...
<?php /* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: Codificación: UTF-8 +----------------------------------------------------------------------+ | Issabel version 4.0.0-15 | | http://www.issabel.org | +--...
<?php namespace WorkshopBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class WorkshopBundle extends Bundle { }
@extends('front.template') @section('main') <div class="row"> <div class="box"> <div class="col-lg-12"> @if(session()->has('error')) @include('partials/error', ['type' => 'danger', 'message' => session('error')]) @endif <hr> ...
<br><br> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> <meta name="gener...
<?php return [ 'host' => 'localhost', 'db_name' => 'simple_mvc', 'db_user' => 'root', 'db_password' => 'root', 'users_table' => 'users' ];
<?php use yii\helpers\Html; use yii\bootstrap\ActiveForm; $this->title = 'Forgot Password'; ?> <div> <img src='/images/Logo.png' class="img-responsive center-block"> </div> <div class="col-md-6 col-md-offset-3 col-sm-12" id="loginContainer"> <h3 class="text-center">FORGOT PASSWORD?</h3> <p cla...
<?php use yii\db\Migration; /** * Class m181211_102812_rename_yield_to_weight_column_in_farmCultures_table */ class m181211_102812_rename_yield_to_weight_column_in_farmCultures_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->renameColumn('farmCultures...
<?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...
<html> <head> <title> On the picket line </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <?php include "../../legacy-includes/Script.htmlf" ?> </head> <body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0"> <table width="744" c...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateNotificationsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('notificat...
<?php declare(strict_types=1); /** * This file is part of the Tmdb package. * * (c) Vincent Faliès <vincent@vfac.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author Vincent Faliès <vincent@vfac.fr> * @copyright Copyright...
<?php namespace App\Http\Controllers\HXXI; use App\Http\Controllers\Controller; use App\Modelos\HXXI\Hxxi_Menu; use Illuminate\Http\Request; class MenuController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index()...
<?php class BdContextBioma extends ConexaoBd { const tx_tabela = "tb_bioma"; private $campos = '*'; public function __construct() { parent::__construct(); $this->tabela = self::tx_tabela; } public function salvar($parametros) { //Gerencia a qual história essa localização ...
<?php require_once 'db_connection.php'; //print_r($_POST); header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE, OPTIONS'); header('Access-Control-Allow-Headers: Origin, Content-Type, X-Auth-Token'); $postdata = file_get_contents("php://input"); echo ("$postdat...
<?php namespace Magelicious\Core\Cron; class TheJob { public function execute() { // ... } }
<?php return [ 'The_Previous_Grade' => 'The Previous Grade', 'The_Current_Grade' => 'The Current Grade', 'The_Previous_academic_year' => 'The Previous academic year', 'The_Current_academic_year' => 'The Current academic year', 'The_Previous_Classroom' => 'The Previous Classroom', 'The_C...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Home_ajax extends CI_Controller { public $initialize; public function __construct() { parent::__construct(); $this->time->setDefault(); $this->initialize = array( 'response' => array( 'response' => '', 'res...
<?php class Account_model extends CI_Model{ public function _construct(){ $this->load->database(); } public function get_accounts($id = FALSE){ // Check if name has been passed(not null/empty) if($id === FALSE){ //If name is not empty ge...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Rds\V20140815\Models; use AlibabaCloud\Tea\Model; class ClearDedicatedHostResponse extends Model { /** * @description requestId * * @var string */ public $requestId; /** * @description data....
<?php /** * Copyright (c) 2015-present, Facebook, Inc. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to * use, copy, modify, and distribute this software in source code or binary * form for use in connection with the web services and APIs provided by * Facebook....
<?php if (Blox::info('user')) { if (($_GET['formula']=='editing-denied' || $_GET['formula']=='site-is-down') && !Blox::info('user','user-is-admin')) Blox::execute('?error-document&code=403'); } else { Blox::execute('?error-document&code=403'); } $subject = $_GET['subject'] ?: null; $obj = $_GET['obje...
@extends('main') @section('content') <div class="row"> <div class="col-md-12"> <h1>Contact Me </h1> <hr> <form action=""> <div class="form-group"> <label for="email">Email:</label> <input type="email" name='email' class="form-control"> </div> <div class="form-group"> <la...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>WebSockets Dashboard</title> <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> <base href="{{ url('/public') }}"> <link rel="stylesheet" href="../assets1/bootstrap/css/bootstrap.min.css"> <script src="https://code.jquery.com/jquery-3.6...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class CommissionToCashier extends Model { protected $table = 'transfer_com2cashier_log'; public function cashier() { return $this->belongsTo('App\Cashier'); } public function user() { return $this->belongsTo('App\Us...
<head> <!-- meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47j...
<?php /** * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Plugins\ScheduledReports; use Exception; use Piwik\API\Request; use Piwik\Common; use Piwik\Config; use Piwik\Container\StaticContainer; use Piwik\...
<?php namespace App\Http\Controllers; use App\Traits\FlashMessages; use Illuminate\Http\Request; class BaseController extends Controller { use FlashMessages; protected $data = null; /** * @param $title * @param $subTitle */ protected function setPageTitle($title, $subTitle) { ...
<?php return [ /* * A */ 'admin_panel' => 'Admin Panel', 'action' => 'Actions', 'address' => 'Address', 'agama' => 'Agama', /* * B */ 'back' => 'Back', 'bagian_grid' => 'Bagian Grid', 'item_grid' => 'Items Grid', 'barcode' => 'Barcode', 'bagian' => 'Bagian', 'bulan' => 'Bulan', /* * C */ 'confirmation_r...
<?php namespace App\Http\Controllers; use App\Post; use App\User; use Illuminate\Http\Request; class PostsController extends Controller { public function __construct() { $this->middleware('auth',['except'=>['index','show']]); } /** * Display a listing of the resource. * * @return...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ModifyUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', function (...
<?php namespace App\Http\Middleware; use Closure; class Cors { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { return $next($request) //Url a la que se le da...
<?php namespace crocodicstudio\crudbooster\controllers; use crocodicstudio\crudbooster\controllers\Controller; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Request; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\App; use Illuminate\Su...
<?php /* @var $this yii\web\View */ use yii\helpers\Html; $this->title = 'About'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="site-about"> <h1><?= Html::encode($this->title) ?></h1> <p>come later...</p> <code></code> </div>
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Purchaseorder extends CI_Controller { public function index() { $data = array( 'title' => 'Daftar Purchase Order', 'link' => 'Purchase Order', 'configurasi' => $this->Konfi...
<?php namespace Google\AdsApi\AdManager\v202105; /** * This file was generated from WSDL. DO NOT EDIT. */ abstract class ForecastAdjustmentAction { public function __construct() { } }
<?php namespace App\Traits; /** * This file is part of Restauranter, * * @license MIT * @package Restauranter */ use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Config; use App\Events\UserJoinedRestaurant; use App\Events\UserLeftRes...
<div class="form-group row"> <label class="col-sm-2 col-form-label">Numero salle</label> <div class="col-sm-10 "> <input type="text" class="form-control " name="numero_salle" placeholder="Type your title in Placeholder"> </div> </div> <div style="margin-left:300px"> <button type="resect" class="btn btn-danger btn-...
<?php /** * Database Table class * * @credits Jhon James Jacob (https://jjj.blog) * * @author GamiPress <contact@gamipress.com>, Ruben Garcia <rubengcdev@gamil.com> * * @since 1.0.0 */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; if ( ! class_exists( 'CT_DataBase' ) ) : class CT_DataBase { ...
<div class="card-artikel"> <a href="{{ route('articles.show', $article->slug) }}"> <img src="{{asset('/img/dummy/artikel.jpg')}}" class="card-img-top"> </a> <div class="card-artikel-body"> <h5 class="card-artikel-title text-center">{{ $article->title }}</h5> </div> </div>
<?php namespace App; use Illuminate\Database\Eloquent\Model; class InvoiceMaster extends Model { public $timestamps = true; protected $table = "invoice_masters"; }
<?php namespace HedgeBot\Plugins\Announcements; /** * Class AnnouncementsEndpoint * @package HedgeBot\Plugins\Announcements */ class AnnouncementsEndpoint { /** @var Announcements The plugin reference */ protected $plugin; /** * AnnouncementsEndpoint constructor. * Initializes the endpoint w...
@extends('layouts.client.master') @section('head') <link rel="stylesheet" href="{{ asset('assets/css/select2.min.css') }}" type="text/css"> @endsection @section('content') <div class="header {{$theme}} pb-6"> <div class="container-fluid"> <div class="header-body"> <h6 class=...
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-ta...
<?php namespace Nova\Foundation; use Nova\Console\Application as ConsoleApplication; use Nova\Foundation\Application; class Forge { /** * The application instance. * * @var \Nova\Foundation\Application */ protected $app; /** * The forge console instance. * * @var \No...
<!-- jQuery 3 --> <!-- jQuery 3 --> <script src="<?php echo base_url('assets/bower_components/jquery/dist/jquery.min.js') ?>"></script> <script src="https://cdn.datatables.net/1.10.13/js/jquery.dataTables.min.js"></script> <script src="https://cdn.datatables.net/1.10.13/js/dataTables.bootstrap.min.js"><...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSettingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('settings', fun...
@extends('admin.master') @section('title') Manage Comments @endsection @section('banner') Manage Comments @endsection @section('body') <div class="content-top"> <div class="col-sm-offset-12 col-sm-offset-0"> <div class="well"> <table class="table table-bordered"> ...
<?php namespace App\Http\Controllers\v0; use App\Http\Controllers\Controller; use App\Models\Attendance; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class AttendanceController extends Controller { /** * Display a listing of the resource. * * @return \Illumi...
<?php try { var_dump(gmp_div_qr()); } catch (Exception $e) { echo "\n".'Warning: '.$e->getMessage().' in '.__FILE__.' on line '.__LINE__."\n"; } try { var_dump(gmp_div_qr("")); } catch (Exception $e) { echo "\n".'Warning: '.$e->getMessage().' in '.__FILE__.' on line '.__LINE__."\n"; } var_dump(gmp_div_qr(0,1)); var_d...
{{--@extends('layouts.dashboard')--}} @extends('layouts.admin') {{--@section('breadcrumb') @parent <li class="breadcrumb-item"><a href="{{ url('/') }}"><i class="fa fa-home"></i> Inicio</a></li> <li class="breadcrumb-item"><a href="{{ route('maquinarias_obra.index') }}">Maquinarias/Obra</a></li> <li cla...
<?php use Illuminate\Database\Seeder; class UsuarioSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { \DB::table('usuarios')->insert(array( 'nombre' => 'Elias Enoc', 'email' => 'elias@elias.cl', ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Spatie\Translatable\HasTranslations; class Grade extends Model { use HasTranslations; public $translatable = ['Name_Grades']; protected $fillable=['Name_Grades','Notes']; protected $table = 'Grades'; // public $timestamps =...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSettingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('settings', fun...