text
stringlengths
2
1.03M
<?php /* TwigBundle:Exception:error.atom.twig */ class __TwigTemplate_4fbc7ae94b2cf81bec7cc4243ab26079b6636f6e6291c02bbf8ba1d7c9c5fd42 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
@extends('backend.layouts.admin_layouts') @section('sidenav') @include('backend.layouts.partials.side_menu') @endsection @section('main') <ul class="nav nav-tabs my-4"> <li class="nav-item"> <a class="nav-link active" href="{{route('admin.favicon')}}">Favicon List</a> </li> {{-- <li class="nav-item"> <a ...
@can('asignarRoles', $user) <a href="{{ route('asignarRolUsuario', $user->id) }}" data-toggle="tooltip" data-placement="top" data-title="Roles"> <i class="fas fa-user-tag text-dark"></i> </a> @endcan @can('actualizar', $user) <a href="{{ route('editarUsuario', $user->id) }}" data-toggl...
<?php // Навигационное меню НАЧАЛО $navMenu .= '<nav class="sidebar__menu">'; $countLangs = count($langs); if($countLangs) { $navMenu .= '<fieldset class="select-wrap sidebar_select"><select class="select" name="language" data-module="select">'; for ($i = 0; $i < $countLangs; $i++) { $selected = ''; if($pa...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; use App\Model\Organization; class CreateOrganizationTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { ...
<?php /** * /home/pacho/yiiApps/gianFISAO/runtime/giiant/eeda5c365686c9888dbc13dbc58f89a1 * * @package default */ use yii\helpers\Html; use yii\widgets\ActiveForm; /** * * @var yii\web\View $this * @var app\modules\crud\models\search\Liga $model * @var yii\widgets\ActiveForm $form */ ?> <div class="liga-se...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\costfit\Bank */ $this->title = 'Create Bank'; $this->params['breadcrumbs'][] = ['label' => 'Banks', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; $this->params['pageHeader'] = Html::encode($this->title); ?> ...
<?php class DofusWeb_API { const ACCESS_DONE = 0; const ACCESS_FAIL = 1; const ACCESS_CGU = 2; const ACCESS_SHIELD = 3; public $body; public $code; public $dataAccount; public $dataDofus; public $errors; private $_cookie; private $_login; public function __construct($username, $password) { ...
<?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; /* @P...
<?php /* This file is auto-generated. Don't edit directly! */ namespace Jsor\Doctrine\PostGIS\Functions; use Jsor\Doctrine\PostGIS\AbstractFunctionalTestCase; use Jsor\Doctrine\PostGIS\PointsEntity; /** * @group postgis-2.x */ class ST_ProjectTest extends AbstractFunctionalTestCase { protected function setUp(...
<?php namespace Database\Seeders; use App\Models\Estudio; use Illuminate\Database\Seeder; class EstudioSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $estudio = new Estudio(); $estudio->clave = "GLU"; $estudio->nombre = "GLUCOSA"; $...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class ControllerLoginP extends CI_Controller { public function index() { // $databeranda['content']='admin/v-beranda'; $this->load->view('v_login_member'); } //login function aksi_login(){ $username = $this->input->post('username'); $...
<div class="col-md-12 mt-4"> @include('component.loading') <div class="form-row"> <div class="form-group col-md-{{(auth()->user()->rol =='Super-Administrador')?4:7}}"> <input type="text" class="form-control" id="exampleFormControlInput1" placeholder="Buscar" wire:model="search"> </di...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); require('./application/third_party/phpoffice/phpspreadsheet/vendor/autoload.php'); // get data library of phpspreadsheet // -- configuration of phpofice phpsreadsheet use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Writer\Xls...
@extends('diseños.base') @section('content') <div class="container mt-4"> <div class="row justify-content-center"> <div class="col-md-15"> <h2 class="text-center mb-5"> LISTADO DE LAS CATEGORIA </h2> <a type="button " href="{{ url('/CREAR_cat')}}" class="btn btn-success mb-3 mt-3 mr...
<?php require "layout/header.php"; ?> <div class="container w-75 mx-auto"> <h3 class="mb-5 mt-5 text-center">Ajouter un compte</h3> <!-- si le compte existe deja -> message erreur A FAIRE --> <form action="addAccount.php" method="post"> <div class="mb-3"> <select class="form-select" for="account_type" name=...
<?php namespace Application\EquationSolver\Operator; interface OperatorInterface { public function calculate($leftOperand, $rightOperand) : int; }
<?php declare(strict_types=1); /* * The MIT License (MIT) * * Copyright (c) 2014-2019 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ namespace OAuth2Framework\ServerBundle\Rule; use Base64Url\Base64Url; use OAuth2Frame...
<?php /* * This file is part of the Kimai time-tracking app. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace App\EventSubscriber\Actions; use App\Entity\Timesheet; use App\Event\PageActionsEvent; /** * @internal */ ab...
<!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>OPTI VIVERO</title> <!-- Bootstrap --> <link href="css/bootstrap.min.css" rel="stylesheet"> <link rel="styleshe...
@extends('adminlte::page') @section('title', 'Dashboard') @section('content_header') Dashboard @endsection @section('header') <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-12"> <h1 class="m-0">Tamb...
@extends('admin.dashboard', ['pageTitle' => 'Logs &raquo; Index']) @section('content') <div class="row"> <div class="col-md-6"> <h1 class="pull-left raw-margin-top-24">Admin Logs</h1> </div> <div class="col-md-6 text-right"> <a class="btn btn-info raw-margin-left-8" ...
<?php // Copyright 2019 NEC Corporation // // 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 applicabl...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCreateInvoices extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('create_invoic...
@extends('Dashboard.index') @section('content') <section id="main-content"> <section class="wrapper"> <div class="row"> <div class="col-lg-12"> <div class="form-horizontal"> <div class="form-group"> <div class="panel-heading"><h1> Editer l'...
<div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <h4>Jobs Reports</h4> </div> <div class="card-body"> <div c...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Mail\ContactUs; use Illuminate\Support\Facades\Mail; class ContactController extends Controller { function contact(){ return view('contact'); } function sendmail(Request $req){ $details = [ 'name' => $r...
@if($errors->any()) @foreach($errors->all() as $error) <div class="alert alert-warning alert-dismissible fade show" role="alert"> {{ $error }}<i class="fa fa-warning float-right"></i> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span a...
<?php /** * point_exppointslog */ $lang['add_time'] = '添加时间'; $lang['gain_experience'] = '获得经验'; $lang['action_phase'] = '操作阶段'; $lang['description'] = '描述'; $lang['member_login'] = '会员登录'; $lang['product_comment'] = '商品评论'; $lang['order_consumption'] = '订单消费'; /** * pointgrade */ $lang['my_upgrade_pro...
<?php class __Mustache_f81e3d973639b3ae55184933197c4cd1 extends Mustache_Template { public function renderInternal(Mustache_Context $context, $indent = '') { $buffer = ''; $buffer .= $indent . '<span class="badge badge-danger">'; $value = $this->resolveValue($context->find('status'), $...
<?php namespace Database\Factories; use App\Models\Brand; use App\Models\Type; use Illuminate\Database\Eloquent\Factories\Factory; class TypeFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Type::class; /** * De...
<?php use Packt\Chp7\Inventory\InventoryService; use Packt\Chp7\Inventory\JsonRpcServer; require 'vendor/autoload.php'; $args = getopt('p:w:', ['port=','workers=']); $workers = $args['w'] ?? $args['workers'] ?? 4; $port = $args['p'] ?? $args['port'] ?? 5557; $addr = 'tcp://0.0.0.0:' . $port; function worker(int $i...
<?php /** * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. * * @package Fuel * @version 1.8.1 * @author Fuel Development Team * @license MIT License * @copyright 2010 - 2018 Fuel Development Team * @link http://fuelphp.com */ namespace Fuel\Core; /** * Some of this cod...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ $polje=array(1=>'Ford', 2=>'Opel', 3=>'VW'); echo '<table border="3" cellpading="5">'; foreach($polje as $key=>$val) { e...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Customer extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('admin/M_Customer_Admin'); } public function index() { if($this->session->userdata('user_admin') == false){ re...
<?php include(DOCS_RESOURCES.'/algorithm-results/adjust-charts.php'); $getAdjustChartsText(false); ?>
<?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\Integration\Mvc\Router; use Integ...
<div class="col-sm-9"> <div class="panel panel-primary"> <div class="panel-heading">ตะกร้าสินค้า</div> <div class="panel-body"> <div class="row"> <div class="col-sm-12 col-md-12"> <?php if (count($order_temp) == 0): ?> <h3>ไม่มีสินค้าในตะกร้า</h3> <?php else: ?> ...
@extends("theme.$theme.layout") @section('titulo') Afiliado @endsection @section('scripts') <script src="{{asset("assets/pages/scripts/frontend/afiliados/index.js")}}" type="text/javascript"></script> @endsection @section('contenido') <!-- Content Header (Page header) --> <section class="content-header"> <div c...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Admin extends CI_Controller { public function index() { if($this->session->userdata('isLogin') == FALSE){ $this->session->set_userdata('errorMsg','Silahkan login terlebih dahulu.'); redirect(base_url('l...
<?php use yii\db\Migration; /** * Class m210926_122841_create_table_comments */ class m210926_122841_create_table_comments extends Migration { protected string $tableName = 'comments'; /** * {@inheritdoc} */ public function safeUp() { $this->createTable($this->tableName, [ ...
<!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') }}</ti...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; class UsersController extends Controller { public function index() { $users = User::orderBy('id', 'desc')->paginate(10); return view('users.index', [ 'users' => $users, ]); } pu...
<?php // +---------------------------------------------------------------------------+ // | This file is part of the Mojavi package. | // | Copyright (c) 2003, 2004 Sean Kerr. | // | ...
<div class="wrapper-mandates-images"> <div id="carousel-mandate" class="carousel slide" data-ride="carousel"> <div class="carousel-inner" role="listbox"> <?php foreach($images as $image){ echo '<img src="'.$image .'" />'; } ?> ...
<!doctype html> <html lang="en-US"> <?= view('components/layout/head') ?> <body class="page-template-default page page-id-537 wp-custom-logo elementor-default elementor-kit-946 elementor-page elementor-page-537"> <!-- Google Tag Manager (noscript) added by Site Kit --> <noscript> <iframe src="https://www.google...
<?php /** * 生成默认的用户名和密码 */ namespace console\controllers; class InitController extends \yii\console\Controller { public function actionUser() { echo 'Start Input User :'; $username = $this->prompt("Username: "); //接收用户名 $email = $this->prompt("Email: "); //接收邮箱 $role = $this->p...
@extends('layouts.master') @section('content') @can('view-report') <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="col-md-12" style="border: 2px solid #cdd1d3; height: 50px; line-height: 50px; margin-top: 5px;"> <spa...
<?php /** * Creates a custom list and inserts it in a Word document. * * @category Phpdocx * @package examples * @subpackage easy * @copyright Copyright (c) 2009-2013 Narcea Producciones Multimedia S.L. * (http://www.2mdc.com) * @license http://www.phpdocx.com/wp-content/themes/lightword/p...
<?php namespace app\models\gradeable; use app\exceptions\ValidationException; use app\exceptions\NotImplementedException; use app\libraries\Core; use app\libraries\Utils; use app\models\AbstractModel; use app\libraries\NumberUtils; /** * Class Component * @package app\models\gradeable * * All data describing the...
<?php declare(strict_types=1); namespace Setono\JobStatusBundle\Tests\Entity\Spec; use PHPUnit\Framework\TestCase; use Setono\JobStatusBundle\Entity\Job; use Setono\JobStatusBundle\Entity\JobInterface; use Setono\JobStatusBundle\Entity\Spec\Prunable; /** * @covers \Setono\JobStatusBundle\Entity\Spec\Prunable */ f...
<?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 /* * status.php * * part of pfSense (https://www.pfsense.org) * Copyright (c) 2004-2013 BSD Perimeter * Copyright (c) 2013-2016 Electric Sheep Fencing * Copyright (c) 2014-2021 Rubicon Communications, LLC (Netgate) * All rights reserved. * * originally based on m0n0wall (http://neon1.net/m0n0wall) * Cop...
<?php chdir(dirname(__FILE__)); require '../vendor/autoload.php'; // require_once '../Google/Cloud/Firestore/V1beta1/FirestoreClient.php'; // require_once '../Google/Cloud/Spanner/V1/SpannerClient.php'; $firestore_probes = require './firestore_probes.php'; $spanner_probes = require './spanner_probes.php'; require './...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php if (isset($_POST['submit-user'])) { $error = array(); $nuevoUsuario = array(); //Validar nombres $nombres = trim($_POST['nombres']); if (!empty($nombres)) { $nombres = ucwords($nombres); array_push($nuevoUsuario, $nombres); }else{ $error[1] = 'Campo obligatorio'; } // Validar email ...
<?php require_once("model/FractalsManager.php"); session_start(); /** * Controller root class * * @package Controller */ abstract class Controller { /** * Database object * @var MongoDB $_db; */ private $_db; /** * URI (request) * @var array URI */ private $_uri; ...
<? $MESS["CRM_REQUISITE_EDIT_BUTTON_CANCEL"] = "Cancel"; $MESS["CRM_REQUISITE_EDIT_BUTTON_SAVE"] = "Save"; ?>
<?php namespace Imi\Test\HttpServer\ApiServer\Controller; use Imi\Task\TaskInfo; use Imi\Task\TaskParam; use Imi\Task\TaskManager; use Imi\Controller\HttpController; use Imi\Test\HttpServer\Task\TestTask; use Imi\Server\Route\Annotation\Action; use Imi\Server\Route\Annotation\Controller; /** * @Controller("/task/") ...
<?php /** * WordPress Comment Administration API. * * @package WordPress * @subpackage Administration */ /** * {@internal Missing Short Description}} * * @since unknown * @uses $wpdb * * @param string $comment_author * @param string $comment_date * @return mixed Comment ID on success. */ function comment...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Cviebrock\EloquentSluggable\Sluggable; class Noticia extends Model { use Sluggable; protected $table='noticias'; protected $fillable=[ 'titulo', 'imagen', 'contenido', 'status_id' ]; public function etiqueta...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title><?php echo getWebOptionValue('site_title');?>| Dashboard</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable...
<?php session_start(); $_SESSION = array(); if (ini_get("session.use_cookies")) { $params = session_get_cookie_params(); setcookie(session_name(), '', time() - 60000, $params["path"], $params["domain"], $params["secure"], $params["httponly"]); } session_destroy(); header('Location:../login.php'); ?>
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/home/ncpmultiyr/www/user/plugins/admin/languages/de.yaml', 'modified' => 1547822497, 'data' => [ 'PLUGIN_ADMIN' => [ 'ADMIN_BETA_MSG' => 'Dies ist eine Beta-Version! Benutzung auf eigene Gefahr...', ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePurchaseItemsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('purchase_...
<?php namespace App\Http\Controllers\Seller; use App\Http\Controllers\Controller; use App\Product; use App\Seller; use App\Traits\ApiResponser; use App\Transformers\ProductTransformer; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; use Symfony\Component\HttpKernel\Exception\HttpExc...
<div class="modal-wrapper full-screen hidden"> <div class="modal-container "> <div class="container"> <div class="relative"> <div class="close-icon close-btn"> <img src="/static/icons/icon_close_black.svg" alt="Close Announcements"> ...
<?php namespace App\Http\Controllers; use App\Http\Requests\CreateUsuarioRequest; use App\Http\Requests; use App\Usuario; class Usuarios extends Controller{ public function index(){ return Usuarios::orderBy("id", "asc")->get(); } public function salvar(CreateUsuarioRequest $request){ $usuario = new Usu...
<?php namespace app\admin\controller; use think\Controller; use app\admin\model\Banner as BannerModel; class Banner extends Common { public function index() { $banner = new BannerModel(); $tptc = $banner->order('id desc')->paginate(15); $this->assign('tptc', $tptc); return tptc(...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; class Category extends Model { protected $fillable = ['title', 'slug', 'parent_id', 'published', 'created_by', 'modified_by']; //Mutators public function setSlugAttribute($value) { $this->attributes['slug']...
<?php /** * BSD 3-Clause License * * Copyright (c) 2017, GOMOOB All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * following conditions are met: * * * Redistributions of source code must retain the above copyright notice, ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateContactsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('contacts', fun...
<?php $admin=session_name("admin"); session_start($admin); if(!isset($_SESSION['email'])) { header('location:index.php'); } ?> <header class="main-header"> <a href="#" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels --> <!-- logo for regular state and mobile devices --> ...
<?php namespace AppBundle\Services; use BackendBundle\Entity\Notification; class NotificationService { public $manager; public function __construct($manager){ $this->manager = $manager; }//Con esto hemos conseguido tener el entitymanager de doctrine aqui para poder trabajar con entidades y repositorios. publi...
<?php require_once 'tests/units/Base.php'; use Kanboard\Event\GenericEvent; use Kanboard\Plugin\GiteaWebhook\WebhookHandler; use Kanboard\Model\TaskCreationModel; use Kanboard\Model\ProjectModel; class WebhookHandlerTest extends Base { public function testUnsupportedEvent() { $payload = json_decode(f...
<div class="modal-options-wrapper material"> <div class="options-block d-flex justify-content-center"> <div class="modal-options-close"> <span></span> <span></span> </div> <div class="options-content d-flex align-items-center flex-column"> <div class="moda...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateTestimonialsTable extends Migration { public function up() { Schema::create('testimonials', function(Blueprint $table) { $table->increments('id'); $table->timestamps(); $table->string('name_ar'); ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCommissionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('commissions...
<?php class Page_Data { public $css = ""; public $script = ""; public $images = ""; public $scut = ""; public function addScript($src) { $this->script .= "<script src='$src'></script> \n"; } public function addCSS($href) { $this->css .= "<link rel='stylesheet' type='text/css' href='$href'>\n"; } publ...
<?php /** * This is the template for generating a CRUD controller class file. */ use yii\db\ActiveRecordInterface; use yii\helpers\StringHelper; /* @var $this yii\web\View */ /* @var $generator yii\gii\generators\crud\Generator */ $controllerClass = StringHelper::basename($generator->controllerClass); $modelClass...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * 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/LICENS...
<?php namespace app\commands; use yii\console\Controller; use \app\rbac\UserGroupRule; class RbacController extends \yii\web\Controller { public function actionInit() { $authManager = \Yii::$app->authManager; // Create roles $guest = $authManager->createRole('guest'); $brand ...
<!DOCTYPE HTML> <html> <head> <title>The Tech Hub</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../../assets/css/main.css" /> <link rel='icon' href='images/fav-icons/fav-icon1.jpg' type='image/x-icon'> </head> <body> ...
<div class="span3"> <ul class="nav nav-tabs nav-stacked"> <?php foreach ( $submenu as $sm ) { echo '<li><a href="'.$base_url.$sm['link'].'">'.$sm['title'].'</a></li>'; } ?> </ul> </div> <div class="span12"> <section id="global"> <legend><h4><?=$title?...
<header class="section-header"> <div class="tbl"> <div class="tbl-row"> <div class="tbl-cell"> <h2>Change password</h2> </div> </div> </div> </header> <section class="card"> <div class="card-block"> <form action="<?php echo base_url().'admin/update-password'; ?>" method="POST" id="change_password...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateFailedJobsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('failed_jobs', function (Blueprint $table) { ...
<?php $sql_merc_rec = "SELECT NCODMERCADORIA, NOME_MERC, REF, VALOR, IMAGEM FROM mercadoria ORDER BY NCODMERCADORIA DESC limit 3"; $query_merc_rec = mysqli_query($conn, $sql_merc_rec); $sql_merc_val = "SELECT NCODMERCADORIA, NOME_MERC, REF, VALOR, IMAGEM FROM mercadoria ORDER BY VALOR ASC limit 3"; $query_merc_val...
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\XMPCrd; use JMS\Serializer\Annotation\ExclusionPolicy...
@extends('adminlte::page') @section('title', 'Habitaciones') @section('content_header') <h1 class="m-0 text-dark">Habitaciones</h1> <a href="{{ route('attendant.rooms.create') }}" class="ml-auto"> <x-adminlte-button label="Agregar" theme="success" icon="fas fa-plus"/> </a> @stop @php $heads =...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token()...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Session; use App\Http\Requests\UsersRequest; use App\Http\Requests\UsersEditRequest; use App\User; use App\Photo; use App\Role; use App\Http\Requests; use App\Http\Flash; class AdminUsersController extends Controller {...
<?php use PHPUnit\Framework\TestCase; use TaskForce\Actions\RefuseAction; class RefuseActionTest extends TestCase { /** @var RefuseAction */ public $refuseAction; /** * @author Shershnev Sergey <shv.sergey70@gmail.com> */ protected function setUp(): void { parent::setUp(); $this->refuseAction = new...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use App\Models\Member; use App\Models\User; use Illuminate\Support\Facades\Hash; use RealRashid\SweetAlert\Facades\Alert; class AuthController extends Controller { public function loginView() { ret...
<?php /** * Generated by phpSPO model generator 2020-05-29T07:19:37+00:00 */ namespace Office365\Graph; use Office365\Runtime\ClientObject; use Office365\Runtime\ResourcePath; class ChangeTrackedEntity extends ClientObject { }
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\TblAdmin; /** * TblAdminSearch represents the model behind the search form of `app\models\TblAdmin`. */ class TblAdminSearch extends TblAdmin { /** * @inheritdoc */ public function rules() ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddFirstnameToUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', fu...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreatePmaInvestModelsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('pma_invest_models', function(Blueprint $table) { $table->increments...
@extends('layouts/admin') @section('adminContent') @php use App\Models\PersonalInfo; $perInfo = PersonalInfo::select('*')->first(); @endphp @if ($perInfo) <div class="row"> <div class="col-sm-12"> <div class="panel panel-default"> {{-- Toste --}} <div style="display: none;" id="successTost" class="alert ale...
<?php namespace GFire\CoreBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class FixAssetType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $options ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\ContentImages */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="content-images-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'imageUpload')->fileInput() ?> ...