text stringlengths 2 1.03M |
|---|
<?php if( isset( $filtrar ) ){
for ($i=0; $i <count($filtrar) ; $i++) { ?>
<a class="home-link" href="<?php echo base_url()."politicos/?id=".$filtrar[$i]['id_politico']?>">
<div class="display_box" align="left">
<div style="float:left; margin-right:6px;">
... |
<?php
session_start();
$uid=$_SESSION['uid'];
mysql_connect("localhost","root","");
mysql_select_db("health_assistant");
$q4="SELECT name FROM user_registration WHERE user_id='$uid'";
$ex=mysql_query($q4);
$rw=mysql_fetch_row($ex);
$patnt=$rw[0];
require('html_table.php');
$pdf=new PDF();
$pdf->AddPage();
$pdf->SetFo... |
<?php
namespace App\Http\Controllers\Vendor;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Withdraw;
use Auth;
class WithdrawController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public functio... |
<?php
namespace Crudle\Entity\Property;
use Crudle\Entity\Exception\UndefinedException;
trait PrivateAttributes
{
/**
* @var mixed[]
*/
protected $attributes = [];
/**
* @param mixed $key
* @param mixed|null $default
* @return mixed
*/
protected function get($key, $defa... |
<?php
include("../include/config.php");
$id=$_GET['id'];
$q="delete from category
where cat_id=$id";
mysqli_query($link,$q);
header("location:category_view.php");
?> |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Column Chart Class
*
* A vertical bar chart that is rendered within the browser using SVG or VML.
* Displays tips when hovering over bars. For a horizontal version of this
* chart, see the Bar Chart.
*
*
* @author Kevin Hill <kevin... |
<?php session_start() ?>
<!DOCTYPE html>
<html>
<head>
<?php $route = Route::current()->uri(); ?>
@if($route == 'administrador') <?php $route='Bienvenido '.session()->get('administrador')->nombre ?> @endif
@if($route == 'administrador/RegistroMascota') <?php $route='Registrar Mascota' ?> @... |
@extends('Admin.includes.layouts.master')
@section('title')
لوحة التحكم
@endsection
@section('content')
<div class="page-wrapper">
<!-- ============================================================== -->
<!-- Bread crumb and right sidebar toggle -->
<!-- =====================================... |
<?php
namespace App\Models;
use Illuminate\Auth\Authenticatable;
use Illuminate\Database\Eloquent\SoftDeletes;
use Laravel\Lumen\Auth\Authorizable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\Access\Authorizable as Aut... |
<?php
Route::get('/home','FrontController@index')->name('home');
Route::get('lang/{locale}', 'FrontController@lang'); //for Localisation
Route::get('/course_list','FrontController@formations_index')->name('course_list');
Route::get('check-translation', function(){
\App::setLocale('fr');
\Carbon\Carbon::setLoca... |
<?php
Route::prefix('v1')
->middleware('auth.basic.once:api,key')
->namespace('v1')
->group(base_path('routes/api/v1.php')); |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class city extends Model
{
public function companies(){
return $this->belongsToMany(Company::class, 'company_city');
}
public function comments(){
return $this->morphMany(Comment::class, 'commentable'); //Função criada ... |
@extends('admin.layouts.dashboard')
@section('content')
<div id="layoutSidenav">
<div id="layoutSidenav_content">
<h1>Hola a la administración</h1>
</div>
</div>
@endsection |
@extends('admin.layouts.default')
@section('content')
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-2 text-gray-800">Subscriptions</h1>
<!-- DataTales Example -->
<div class="card shadow mb-4">
<div class="card-body">
<div... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Auth\VerifiesEmails;
class VerificationController extends Controller
{
/*
|--------------------------------------------------------------------------
| Email V... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\ListController;
use App\Http\Middleware\FirstMiddleware;
use App\Http\Controllers\AuthorController;
Route::get('/', [ListController::class, 'index']);
Route::post('/', [ListController::class, 'post']);
Route::get('/verror', [ListController::class, '... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateOrganisationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('organisat... |
<?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 App\Services;
use Carbon\Carbon;
abstract class TimeService
{
public static function transform($date): String
{
$restTime = now()->timestamp - $date->timestamp;
if ($restTime < 1) {
return '1 segundo';
}
$timeFormat = array(
365 * 24 * 60 * 60 => 'ano',
... |
<?php
use yii\bootstrap4\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\search\OrderSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Orders';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="order-index">
<h1><?= Html::en... |
<?php namespace Artuu\Imager\Overrides;
use Flarum\Settings\SettingsRepositoryInterface;
use Flarum\User\AssertPermissionTrait;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Intervention\Image\ImageManager;
use League\Flysystem\FilesystemInterface;
use Psr\Http\Message\ServerRequestInterface;
use Tobscur... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCartsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('carts', function ... |
<!DOCTYPE html>
<html>
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('/css/app.css')); ?>">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('/css/style.css')); ?>">
<body>
<a href="/Daftar_Game"> Beranda</a>
<br/>
<br/>
<div class="container">
<div class="card">
<di... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Signifyd\Model\SignifydGateway;
/**
* Exception of interaction with Signifyd API
*
* @deprecated 100.3.5 Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* offici... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\Agenda */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Agendas', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="agenda-view">
<h1><?= Ht... |
<?php
/* @WebProfiler/Profiler/layout.html.twig */
class __TwigTemplate_886ddefe7db03a7a0fc0454b63664fb0219a84c22181ec60ef49471f0f31e89d extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate... |
<nav class="main-header navbar navbar-expand bg-white navbar-light border-bottom">
<!-- Left navbar links -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" data-widget="pushmenu" href="#"><i class="fa fa-bars"></i></a>
</li>
<li cla... |
<?php
/* @var $this yii\web\View */
use yii\helpers\Html;
use frontend\assets\ChartAsset;
ChartAsset::register($this);
$this->title = 'Organigrama';
//$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-chart">
<h1><?= Html::encode($this->title) ?></h1>
</div>
<div class="chart" id="organigrama"></d... |
<?= $this->include('admin/layout/header') ?>
<div class="row">
<div class="col-md-12">
<!-- DATA TABLE -->
<h3 class="title-5 m-b-35">LAPORAN</h3>
<div class="table-data__tool">
<div class="table-data__tool-right">
<a class="btn btn-primary" href="<?= base_url('adm_l... |
<?php
namespace App\Http\Controllers;
use App\Models\Course;
use App\Models\Venue;
use Illuminate\Http\Request;
class VenueController extends Controller
{
public function createvenue (Request $request) {
$request->validate([
"name" => "required|string",
"description" => "required|... |
<?php
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model common\models\Source */
?>
<div class="source-view">
<?= DetailView::widget([
'model' => $model,
'attributes' => [
'id',
'name',
],
]) ?>
</div> |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class RegisterEmail extends Mailable
{
use Queueable, SerializesModels;
public $name;
public $status;
/**
* Create a new m... |
<?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.
*/
class SearchFilter implements SearchFilterInterface
{
private $year;
private $month;
private $day;
private $user_i... |
<?php
namespace JiraRestApi\Test;
use PHPUnit\Framework\TestCase;
use JiraRestApi\Dumper;
use JiraRestApi\Issue\Reporter;
class SerializeTest extends TestCase
{
/**
* @see https://github.com/lesstif/php-jira-rest-client/issues/18
*/
public function testDefaultAssignee()
{
$r = new Repor... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito... |
<?php
/**
* Created by PhpStorm.
* User: DragonGlass
* Date: 3/9/2021
* Time: 10:37 AM
*/
namespace App\Models;
use CodeIgniter\Model;
class salaryslipModel extends Model
{
public function salaryslipempinfosalary($id)
{
$query=$this->db->query("SELECT * from empinfo join salary where empinfo.em... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014-2019 British Columbia Institute of Technology
* Copyright (c) 2019-2020 CodeIgniter Foundation
*
* Permission is hereby granted, free of charge... |
<?php
namespace Grav\Plugin\Database;
class PDO extends \PDO
{
public function __call($func, $args)
{
if(!\in_array($func, ['select', 'selectall', 'update', 'delete', 'insert'])) {
throw new \RuntimeException($func." is not a valid statement");
}
if(\count($args) === 2){
... |
<?php
namespace App\Http\Controllers\Backend;
use App\Http\Controllers\Controller;
use Auth;
use Illuminate\Http\Request;
class HomeController extends Controller
{
public function __invoke()
{
$a = Auth::guard('admin')->id();
if($a === null){
return redirect('/admin/login');
... |
<?php
namespace Comidas_Tipicas\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcas... |
<?php
/**
* Created by PhpStorm.
* User: Bhavin
* Date: 8/22/2015
* Time: 12:57 PM
*/
class StripeBilling {
var $status ;
var $stripe_secret_key;
var $stripe_publishable_key;
function __Construct($CompanyID=0)
{
$is_stripe = SiteIntegration::CheckIntegrationConfiguration(true, SiteIntegration::$StripeSlu... |
<?php
namespace App\Actions\Podstream;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\Facades\Validator;
use Podhost\Podstream\Support\Contracts\CreatesPodcasts;
use Podhost\Podstream\Events\AddingPodcast;
use Podhost\Podstream\Podstream;
class CreatePodcast implements CreatesPodcasts
{
/**
* Va... |
<?php
namespace Tests\Unit;
use Tests\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;
// use Illuminate\Foundation\Testing\DatabaseTransactions;
use App\Role;
class RoleTest extends TestCase
{
// use DatabaseTransaction;
/**
* A basic test example.
*
* @return void
*/
pub... |
@extends('lead.include.master')
@section('content')
<!-- Page Sidebar Ends-->
<body>
@include( 'lead.include.loader' );
<!-- page-wrapper Start-->
<div class="page-wrapper" id="pageWrapper">
<div class="page-main-header">
<div class="main-header... |
<?php
/**
* Publishes files to Google Drive under a service account and shares them with a
* given user, thus giving read only access to those files.
*
* This class is working, but still largely a WIP:
* TODO: purgeFiles and publish files should consider looking into batch processing.
* TODO: Add PHPDoc annotatio... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Sylius\Bundle\AttributeBundle\Form\EventListener;
use PhpSpec\ObjectBehavior;
use Prop... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Talent Finder</title>
<link rel="stylesheet" href="design_TF.css"/>
</head>
<body>
<div id = "main_wrapper">
<header>
<a href = "index.php" class = "talentfinder"><h1>Talent Finder</h1></a>
</header>
<section>
<form method = ... |
<?php
namespace App\Exports;
use App\Models\RequestArea;
use App\Models\Provinces;
use App\Models\Regencies;
use App\Models\Districts;
use App\Models\Villages;
use App\Models\Homepass;
use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Illuminate\Support\Facades\DB;
class... |
<?php
function f1()
{
echo "f1 called\n";
}
//String assert
$sa = "0 != 0";
var_dump($r2=assert($sa));
$sa = "0 == 0";
var_dump($r2=assert($sa));
//Non string assert
var_dump($r2=assert(0));
var_dump($r2=assert(1)); |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFichasTecnicasTable extends Migration
{
public function up()
{
Schema::create('fichas_tecnicas', function (Blueprint $table) {
$table->bigIncreme... |
<?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\TwigBundle\Loader;
use Symfony\Component\Templating\Temp... |
<?php
declare(strict_types=1);
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace Jose\Component\KeyManagement\KeyConverter;
use Base64Url\Base64Url;
use Jos... |
<div class="card" style="width: 18rem;">
<img class="card-img-top" style="border-radius: 50%;" src="{{ asset(Auth::user()->image) }}" height="100%;" width="100%;" alt="Card image cap">
<ul class="list-group list-group-flush">
<a href="{{ route('user.dashboard') }}" class="btn btn-primary btn-sm btn-block... |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Tools\IMFDBScrapper;
use App\Models\Movie;
use App\Models\Category;
use App\Models\Weapon;
use App\Models\WeaponsInMovies;
class MovieController extends Controller
{
private $scrapper = null;
public function __construct()
{
... |
<?php
class Profile_model extends CI_Model
{
public function __construct()
{
parent::__construct();
}
public function getInstruments($id)
{
$query = $this->db->query("Select * from instrument WHERE id = '$id'");
return $query->result_array();
}
public function getGenre()
{... |
<!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.0">
<link rel="stylesheet" href="{{asset('/css/main.css')}}">
<title>Document</title>
</head>
<body class="home">
... |
@extends('layouts.master')
@section('content')
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Project Details</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-rig... |
<?php
namespace Fickrr\Models;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\File;
use Auth;
use Fickrr\Models\Items;
use Maatwebsite\Excel\Concerns\FromCollection;
/*use Maatwebsite\Excel\Concerns\WithHeadings;*/
/*class ExportProduct implements FromCollecti... |
@extends('layouts.plane')
@section('body')
<div id="wrapper">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse"... |
<?php
namespace App\Http\Controllers\Process;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class SalesOrderItemController extends Controller
{
//
} |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel common\models\FeedSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = '留言管理';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="feed-model-index">
<h1><?= Html::encode($this->... |
<?php
namespace ChinLeung\MultilingualRoutes\Macros;
use Closure;
class RedirectorMacros
{
/**
* Create a new redirect response to a named route.
*
* @param string $route
* @param mixed $parameters
* @param int $status
* @param array $headers
* @return \Illuminate\Http\... |
<?php
namespace App\Providers;
use App\Contracts\OrderContract;
use App\Repositories\OrderRepository;
use App\Contracts\CategoryContract;
use Illuminate\Support\ServiceProvider;
use App\Repositories\CategoryRepository;
use App\Contracts\AttributeContract;
use App\Repositories\AttributeRepository;
use App\Contracts\Br... |
<?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 Propel\Bundle\PropelBundle\Form\ChoiceList;
use Propel\Bundle\PropelBun... |
<?php
header('Cache-control: private'); // IE 6 FIX
if(isSet($_GET['lang']))
{
$lang = $_GET['lang'];
// register the session and set the cookie
$_SESSION['lang'] = $lang;
setcookie("lang", $lang, time() + (3600 * 24 * 30));
}
else if(isSet($_SESSION['lang']))
{
$lang = $_SESSION['lang'];
}
else if(isSet($_COOKIE['l... |
@presenter(App\Application\Articles\View\ArticlesItemPresenter)
@extends('layouts.base')
@section('headHtmlMetaTags')
@include('layouts.partials.headHtmlMetaTags', ['metaData' => $metaData])
@endsection
@section('body')
<article class="" itemprop="mainEntity" itemscope="" itemtype="https://schema.org/BlogPos... |
<?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
| ... |
<footer class="bg-light text-center text-white">
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.2);">
<a class="text-white" href="#"></a>
</div>
</footer>
<script src="{{ asset('vendors/js/vendor.bundle.base.js') }}"></script>
<script src="{{ asset('vendors/bootstrap-datepicker/b... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'email',... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AlterTablePerformancesAddYearMonthColumn extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::t... |
<?php
/**
* ControllerTestCaseTest file
*
* Test Case for ControllerTestCase class
*
* PHP version 5
*
* CakePHP : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software Foundation, Inc.
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyrig... |
<?php
class LoSo_Zend_Tool_Provider_Scaffold_Controller extends LoSo_Zend_Tool_Provider_Scaffold_Abstract
{
public function scaffold()
{
$controller = file_get_contents(realpath(dirname(__FILE__) . '/Templates/Controller.php'));
return $controller;
}
} |
<?php
namespace AppBundle\Entity\User;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Security\Core\Role\Role;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="user")
*/
class User implements UserInterface {
/**
* @ORM\Id
* @ORM\Column(type="integ... |
<nav class="navbar navbar-expand-lg navbar-light bg-light" style=" overflow : hidden; position: fixed; top: 0px; width: 100%">
@if(Auth::Check())
<a class="navbar-brand" href="/TravelAndTour/public/profile">
<img src="http://localhost/TravelAndTour/public/uploades/{{Auth::user()->photo}}" width='50' height... |
<?php
namespace content_su\smsclient\home;
class controller
{
/**
* rout
*/
public static function routing()
{
}
}
?> |
<?php
namespace MailPoetVendor\Doctrine\DBAL\Exception; if (!defined('ABSPATH')) exit; class ConnectionException extends \MailPoetVendor\Doctrine\DBAL\Exception\DriverException { } |
<?php
$lang['menu_home'] = 'Início';
$lang['menu_program'] = 'O programa';
$lang['menu_about'] = 'Apresentação';
$lang['menu_teachers'] = 'Docentes';
$lang['menu_research_lines'] = 'Linhas de Pesquisas';
$lang['menu_bank_of_theses_and_dissertations'] = 'Banco de Teses e Dissertações';
$lang['menu_publications'] = 'Publ... |
<?php
namespace App\Models;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
class Crs extends Model
{
use HasApiTokens, HasFactory, Notif... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="../static/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>solorob - IT-Verwaltung</title>
<style>
body {
font-family: "Lato", sans-s... |
@extends('templates.master')
@section('content')
<form class="form-horizontal form-label-left" id="form" method="POST" enctype="multipart/form-data">
{{ csrf_field() }}
<div class="">
<div class="page-title">
<div class="title_left">
<h3>@lang('users/backend.users')</h3>
</div>
</div>
<div class="clea... |
<?php
/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ApiPlatform\Metadata;
#[\Attribute(\Attribut... |
@extends('master')
@section('title', 'Create')
@section('page-header')
<i class="fa fa-plus-circle"></i> Create
@stop
@section('main-content')
<div class="row">
<div class="col-md-12">
<div class="widget-box">
<!-- header -->
<div class="widget-header... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddClipOrganizationUnitId extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('clips', f... |
<?php
/**
* This file is part of Totara Learn
*
* Copyright (C) 2019 onwards Totara Learning Solutions LTD
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the Licens... |
<?php $__env->startSection('content'); ?>
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">
<h4><?php echo e($info[0]['banco']); ?></h4>
</div>
<div class="card-body">
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?= $this->extend('template/main'); ?>
<?= $this->section('content'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<... |
<?php
declare(strict_types=1);
namespace Rector\Exception;
use Exception;
use Throwable;
final class ShouldNotHappenException extends Exception
{
public function __construct($message = '', $code = 0, ?Throwable $throwable = null)
{
if ($message === '') {
$message = $this->createDefaultMe... |
<?php
/**
* Created by PhpStorm.
* User: zhaoyao
* Date: 2018/4/20
* Time: 21:53
*/
?>
@extends('layouts.foods')
@section('title', __('foods.food_coupon'))
@section('content')
<link rel="stylesheet" href="{{ url('css/getback.css?v=1')}}">
<style type="text/css">
.text{color: white; margin-top: ... |
@component('mail::message')
# Introduction
Please follow the link to verify your email address {{ url(URL::to('register/verify/' . $confirmation_code)) }}
@component('mail::button', ['url' => ''])
Button Text
@endcomponent
Thanks,<br>
{{ config('app.name') }}
@endcomponent |
<?php
namespace Repeka\Domain\UseCase\ResourceKind;
use Repeka\Domain\Entity\ResourceKind;
use Repeka\Domain\Repository\ResourceKindRepository;
class ResourceKindCreateCommandHandler {
/** @var ResourceKindRepository */
private $resourceKindRepository;
public function __construct(ResourceKindRepository $... |
<section class="section pt-5 bg-testimonial" id="aboutMe">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-7">
<div class="title-box text-center">
<h5 class="sub-title text-primary f-13 text-uppercase">A... |
<?php
use trntv\yii\datetime\DateTimeWidget;
use yii\grid\GridView;
use yii\web\JsExpression;
/**
* @var $this yii\web\View
* @var $searchModel \backend\modules\file\models\search\FileStorageItemSearch
* @var $dataProvider yii\data\ActiveDataProvider
* @var $components array
* @var $totalSize integ... |
<?php
namespace Github\Exception;
class ReposAddStatusCheckContextsUnprocessableEntityException extends UnprocessableEntityException
{
/**
* @var \Github\Model\ValidationError
*/
private $validationError;
public function __construct(\Github\Model\ValidationError $validationError)
{
p... |
<?php
namespace App\Http\Controllers;
use App\Facades\TranslitTextService;
use App\Models\AppErrors;
use App\Models\Clients;
use App\Models\IcreditPayments;
use App\Models\Orders;
use App\Models\User;
use App\Models\WebhookLog;
use App\Services\AppServise;
use App\Services\Contracts\OrderServiceInterface;
use App\Ser... |
<?php
/**
* Description of MenuHelper
*
* @author alex
*/
namespace ashch\sitecore\helpers;
use Yii;
class MenuHelper
{
protected static $urlItems = null;
public static function isActiveMenu($params = [], $url)
{
if (!is_array(self::$urlItems)) {
self::$urlItems = explode('/', ... |
@include('admin.includes.alerts')
<div class="form-group">
<label>Nome:</label>
<input type="text" name="name" class="form-control" placeholder="Nome:" value="{{ $user->name ?? old('name') }}">
</div>
<div class="form-group">
<label>Email:</label>
<input type="email" name="email" class="form-control" p... |
@extends('layouts.app')
@section('content')
<div class="row">
<div class="col-12">
<div class="page-title-box">
<h4 class="page-title float-left">Dashboard</h4>
<ol class="breadcrumb float-right">
<li class="breadcrumb-item active">Dashboard</li>
</ol>
... |
@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">{{ __('Registrar') }}</div>
<div class="card-body">
<form method="... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.