text stringlengths 2 1.03M |
|---|
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<title>@yield('title', 'SweetPayments')</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
<meta name="csrf-token" content="{{ csrf_token() }}">
<link ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class GiftSubscriptions extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('gift_subscriptio... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-s... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFichaTecnicaTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ficha_tecn... |
<?php require_once("views/default/default_header.php"); ?>
<section class="section images">
<h2><?php echo $options['lang_my_pictures']; ?></h2>
<?php
$pictures_html="";
foreach($options['pictures'] as $picture){
if (file_exists($picture->getPath())) {
$link_start = "<a href='/detail/" . $picture->getId() . "... |
<?php
namespace Masta\UserBundle\Repository;
use Doctrine\ORM\EntityRepository;
use Pagerfanta\Adapter\DoctrineORMAdapter;
use Pagerfanta\Pagerfanta;
/**
* UserRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class UserRepository extends EntityRepo... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to... |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... |
<?php
namespace App\Http\Controllers;
use App\Models\Agama;
use App\Models\Kecamatan;
use App\Models\Pekerjaan;
use App\Models\Pendidikan;
use App\Models\StatusPerkawinan;
use App\Models\SukuBangsa;
use App\Models\TIKTerdakwa;
use App\Models\WargaNegara;
use Illuminate\Http\Request;
use Intervention\Image\Facades\Ima... |
<?php
/**
* @copyright Copyright (C) 2015-2019 AIZAWA Hina
* @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT
* @author AIZAWA Hina <hina@fetus.jp>
*/
declare(strict_types=1);
use app\components\db\Migration;
class m190618_234849_add_index_to_gearconf2 extends Migration
{
public funct... |
<?php
namespace Burrow\tests\Tactician;
use Burrow\Tactician\CommandBusConsumer;
use Burrow\Tactician\CommandDeserializer;
use League\Tactician\CommandBus;
use League\Tactician\Plugins\NamedCommand\NamedCommand;
class CommandBusConsumerTest extends \PHPUnit_Framework_TestCase
{
private $deserializer;
private... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Test\MerchantData\Types;
use DTS\eBaySDK\MerchantData\Types\ExtendedProductFinderIDType;
... |
@foreach(['danger','warning','success','info'] as $msg)
@if(session()->has($msg))
<div class="flash-message">
<p class="alert alert-{{ $msg }}">
{{ session()->get($msg) }}
</p>
</div>
@endif
@endforeach |
<?php
namespace App\Http\Controllers;
use JWTAuth;
use App\Task;
use Illuminate\Http\Request;
use illuminate\Validation;
class TaskController extends Controller
{
//
/**
* @var
*/
protected $user;
/**
* TaskController constructor.
*/
public function __construct()
{
... |
<?php
/**
* cBackup GeoMapping Plugin
* Copyright (C) 2017, Oļegs Čapligins, Imants Černovs, Dmitrijs Galočkins
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, in... |
<?php
/**
* LeadStatusesApiTest
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Insightly API v2... |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<?php
//obtener el semestre actual
$convocatorias=convocatoria::model()->findAll("con_estado=1");
$convocatoria = $convocatorias[0]->con_semestre;
?>
<h3>Alumnos Inscritos <?php echo $convocatoria;?></h3>
<table>
<tr>
<th style="border: s... |
<!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
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('posts', function ... |
<ul class="breadcrumb">
<?php if($crumb_institusi == "1" ) :?>
<li>
<form action="<?=$data_crumb_institusi['url']?>" method="post">
<input type="hidden" name="mode_individu" value="0"/>
<input type="hidden" name="institusi_id" value="<?=$institusi_id;?>"/>
... |
@extends("admin.master")
@section("title","Edit news")
@section("content")
<form action="" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Enter News Information</legend>
<span class="form_label">
Catagory root:
</span>
<!-- Cate... |
<!-- DataTables -->
<link rel="stylesheet" href="<?= base_url() ?>public/plugins/datatables/dataTables.bootstrap.css">
<!-- Content Header (Page header) -->
<section class="content-header">
<!-- <h1>
Subject Register
</h1> -->
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Client;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\File;
class ClientController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function... |
<?php
/**
* PHP_CodeCoverage
*
* Copyright (c) 2009-2013, Sebastian Bergmann <sebastian@phpunit.de>.
* 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 c... |
<?php
return [
//header
'title' => 'Bất động sản',
'properties_sold' => 'Tài sản bán',
'about_us' => 'Giới thiệu',
'rental_property' => 'Tài sản cho thuê',
'news' => 'Tin tức',
'contact_us' => 'Liên hệ chúng tôi',
'login' => 'Đăng nhập',
'sign_up' => 'Đăng kí',
'property' => 'Tài... |
<?php
declare(strict_types=1);
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The Open Group Test Suite License
* Redistributions of files must retain the above copyright notice.
*
* @copyright ... |
<?php
namespace AppBundle\Controller;
use AppBundle\DataManager\UserGroupManager;
use AppBundle\DataManager\UserManager;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
abstract class AbstractController extends Controller
{
/**
* G... |
<?php
//set menu
$menusX = array(
'menus' => array(),
'parent_menus' => array()
);
foreach ($menus as $menu1) {
$menusX['menus'][$menu1['menu_id']] = $menu1;
//creates entry into parent_menus array. parent_menus array contains a list of all menus with children
$menusX['parent_menus'][$menu1['parent... |
@extends('salary.home')
@section('tab-space')
<table class="table-bordered">
<tbody>
<th>
グループ
</th>
<th>
現在の給与
</th>
<th>
今月の給料
</th>
<th>
先月の給料
</th>
@foreach ($salary_arry as $value => $ctk)
@for ($count = 3; $count < count($ctk) ; $count=$count+5)
<tr>
<td>
{{... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Balance;
use App\Models\Order;
use App\Http\Repositories\BalanceRepository;
use App\Http\Repositories\OrderRepository;
use App\Http\Requests\BalanceRequest;
use DB;
class BalanceController extends Controller
{
public function __con... |
<?php
session_start();
include("includes/session.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Buzzibarter: Register</title>
<!--meta tags-->
<meta charset="UTF-8">
<meta name="description" content="Services Listing HTML5 CSS3 template">
<meta name="keywords" content="HTML,CSS,XML,JavaS... |
<?php namespace App\models;
use Illuminate\Database\Eloquent\Model;
class User extends Model
{
protected $table = 'users';
protected $guarded = [];
} |
<?php
return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may s... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Attribute' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
... |
<?php
/*
* Copyright 2011 Johannes M. Schmitt <schmittjoh@gmail.com>
*
* 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 requir... |
<?php
namespace Wirecard\Element\Action;
use Wirecard\Element\AbstractAction;
class Preauthorization extends AbstractAction
{
} |
<?php
namespace Akademiano\Messages\Twig;
use Akademiano\Messages\Api\v1\MessagesApi;
use Akademiano\Messages\Model\Status;
use Akademiano\Router\Router;
use Akademiano\User\AuthInterface;
use Akademiano\Utils\DIContainerIncludeInterface;
use Akademiano\Utils\Parts\DIContainerTrait;
class MessagesExtension extends \... |
<?
$MESS ['BH_DEFAULT_TEMPLATE_NAME'] = "Меню сообщений";
$MESS ['BH_DEFAULT_TEMPLATE_DESCRIPTION'] = "Выводит меню сообщений";
$MESS ['SONET_NAME'] = "Социальная сеть";
?> |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRoleHasStudentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('role_ha... |
<?
use yii\helpers\StringHelper;
use yii\widgets\LinkPager;
use yii\helpers\Url;
use yii\helpers\Html;
use frontend\assets\GalleryAsset;
$this->registerJsFile('/js/fancy-init.js', ['depends' => GalleryAsset::className()]);
?>
<div class="section section-breadcrumbs">
<div class="container">
<div class="r... |
<?php
namespace VentureLeapUtilBundle\Controller\Traits;
trait FlashWriterTrait
{
/**
* @param string $message
* @param array $translationParameters
* @param string $domain
*/
protected function addNotice($message, $translationParameters = [], $domain = null)
{
$this->addTrans... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
$params = array_merge(
require __DIR__ . '/../../common/config/params.php',
require __DIR__ . '/../../common/config/params-local.php',
require __DIR__ . '/params.php',
require __DIR__ . '/params-local.php'
);
return [
'id' => 'app-frontend',
'basePath' => dirname(__DIR__),
'bootstrap'... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Support\Facades\DB;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\EHPC\V20180412\Models\ApplyNodesRequest;
use AlibabaCloud\Tea\Model;
class zoneInfos extends Model
{
/**
* @var string
*/
public $vSwitchId;
/**
* @var string
*/
public $zoneId;
protected... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Admin extends CI_Controller {
public function login(){
$email = $this->input->post('email');
$password = $this->input->post('password');
if($email !="" && $password !=""){
$check = $this->db->get_where('admin',array('em... |
<?php
/**
* (c) Demjan Kaluzki <kaluzkidemjan@gmail.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace kaluzki\JetBrains\LiveTemplate\Controller;
use kaluzki\JetBrains\LiveTemplate\Model;
use kaluzki\JetBrains\LiveTempla... |
<?php
namespace Dxw\Result;
/** @template T1 */
abstract class Result
{
/** @return T1 */
abstract public function unwrap();
abstract public function isErr(): bool;
abstract public function getErr(): string;
abstract public function wrap(string $message): \Dxw\Result\Result;
/**
@templat... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
require APPPATH . '/libraries/REST_Controller.php';
use Restserver\Libraries\REST_Controller;
class transaksi extends REST_Controller {
function __construct($config = 'rest') {
parent::__Construct($config);
}
//Menampilkan data
public fun... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateComicsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('comics', function... |
<?php
use Illuminate\Database\Eloquent\SoftDeletingTrait;
class Competition extends Eloquent {
use SoftDeletingTrait;
protected $dates = ['deleted_at'];
protected $table = 'competitions';
protected $fillable = array('name', 'sport_id', 'country_id');
public function equipes(){
return $t... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class UserMaterial extends Model
{
//
} |
<?php
namespace App\Service;
use App\ValueObjects\MenuAdmin\{LinkItem, Menu, SectionItem};
class MenuServices
{
/** @var Menu */
protected $_menu;
/**
* @param array $config
* @return $this
*/
public function generateMenu(array $config)
{
$this->_menu = new Menu();
$homeItem = $config[0];
unset($c... |
<?php
class Usuario
{
/**
* @var int
*/
protected $usuario_id;
/**
* @var string
*/
protected $email;
/**
* @var string
*/
protected $password;
/**
* @param string $email
* @return Usuario|null
*/
public function traerPorEmail(string $emai... |
<?php
declare(strict_types=1);
namespace PackageVersions;
use Composer\InstalledVersions;
use OutOfBoundsException;
class_exists(InstalledVersions::class);
/**
* This class is generated by composer/package-versions-deprecated, specifically by
* @see \PackageVersions\Installer
*
* This file is overwritten at ev... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\osmb\models\House */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Houses'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="hou... |
<?php
/**
* Mapper for mapping data between raw input and Data classes
*
* @link http://github.com/PHPExif/php-exif-common for the canonical source repository
* @copyright Copyright (c) 2016 Tom Van Herreweghe <tom@theanalogguy.be>
* @license http://github.com/PHPExif/php-exif-common/blob/master/LICEN... |
<?php
declare(strict_types=1);
namespace MybbStuff\Prometheus\MetricReporters;
use datacache;
use DB_Base;
use MyBB;
use MybbStuff\Prometheus\Metric;
class BoardStatsMetricReporter extends CacheBasedMetricReporter
{
private static $gaugeStats = [
'numthreads' => [
'name' => 'mybb_stats_num_th... |
@if(count($errors) > 0)
@foreach($errors->all() as $error)
<div class="alert alert-danger">
{{$error}}
</div>
@endforeach
@endif
@if(session('success'))
<div class="alert alert-success">
{{session('success')}}
</div>
@endif
@if(session('error'))
<div cla... |
<?php
/**
* Created by PhpStorm.
* User: anton
* Date: 22.07.21
* Time: 13:02
*/
namespace FlyCubePHP\Core\AutoLoader;
use Exception;
use FlyCubePHP\HelperClasses\CoreHelper;
class AutoLoader
{
private static $_instance = null;
const AUTOLOAD_CONFIG = "autoload.json";
private $_dirs = array();
... |
<?php
namespace Lanks\Engineio;
use Lanks\Engineio\Server;
class EngineIo
{
/**
* Creates an http.Server exclusively used for WS upgrades.
*
* @param {Number} port
* @param {Function} callback
* @param {Object} options
* @return {Server} websocket.io server
* @api public
*... |
<?php
return
[
"welcome"=>"مرحباً",
"user"=>"المستخدم",
"password"=>"كلمة السر",
"category"=>"الفئة",
"bye"=>"مع السلامة",
"dir"=>"rtl"
]; |
@extends('layouts.masterbuyer')
@section('title', 'Auctions')
<!-- //////////////////////////////////////////////////////////////////////////// -->
<!-- START CONTENT -->
@section('content')
<section id="content">
<!--start container-->
<div class="container">
... |
<?php if(Session::has('message')): ?>
<div class="alert alert-info alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<?php echo e(Session::get('message')); ?>
</div>
<?php endif; ?>
<?php $__env->startSecti... |
<?php
Load::lib('PHPMailer/PHPMailerAutoload');
Load::lib('auth');
Load::model('Usuario');
class RestaurarcuentaController extends AppController{
public function restaurarcuenta(){
View::template('sbadmin');
if(Input::hasPost('correo')){
$Usuario = new Usuario();
... |
<?php
namespace Jazzee;
/**
* Jazzee base controller
* Requires working configuration and dependancies.
* Most usefull contorllers descend from here
*
* @author Jon Johnson <jon.johnson@ucsf.edu>
* @license http://jazzee.org/license BSD-3-Clause
*/
class JazzeeController extends PageController
{
/**
* H... |
<!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
/**
* Not supported exception.
*/
namespace Nord\Lumen\DynamoDb\Exceptions;
/**
* Class NotSupportedException.
*
* @package Nord\Lumen\DynamoDb\Exceptions
*/
class NotSupportedException extends \Exception
{
} |
<?php
namespace Softspring\UserBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\PasswordType;
use Symfony\Component\Form\Extension\Core\Type\RepeatedType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Sym... |
<?php
/**
* Pika Discovery Layer
* Copyright (C) 2020 Marmot Library Network
*
* 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 License, or
* (at your option) any ... |
@extends('layouts.layMapa')
@section('content')
<h4>un titulo en otro contenido</h4>
<script>console.log('sjsjsjs');</script>
<div id="app">
<div id="osm_map"></div>
</div>
<script type="text/javascript">
window.my_map.display();
</script>
@endsection |
<?php
namespace SilverStripe\ORM\FieldType;
use SilverStripe\Forms\NumericField;
use SilverStripe\ORM\ArrayList;
use SilverStripe\ORM\DB;
use SilverStripe\View\ArrayData;
/**
* Represents a signed 32 bit integer field.
*/
class DBInt extends DBField
{
public function __construct($name = null, $defaultVal = 0)... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Topic extends Model
{
use HasFactory;
//Relation to webmasterSections
public function webmasterSection()
{
return $this->belongsTo('App\Models\WebmasterSection', ... |
<?php
declare(strict_types=1);
namespace App\Providers;
use App\Listeners\PruneOldTokens;
use App\Listeners\RevokeOldTokens;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class CategoryMaster extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'category_master';
/**
* The attributes that are mass assignable.
*
* @var array
*/
... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Str;
class Category extends Model
{
protected $fillable = [
'name',
'slug',
];
public function getRouteKeyName()
{
return 'slug';
}
public function post()
{
return $... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\GameTerms */
$this->title = Yii::t('backend', 'Create {modelClass}', [
'modelClass' => 'Game Terms',
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('backend', 'Game Terms'), 'url' => ['index']];
$this->params['breadc... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class UpdateAuthorInformationTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('author... |
<?php
namespace App\Http\Controllers;
use App\Expense;
use App\ExpenseReport;
use Illuminate\Http\Request;
class ExpenseController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class SmsConfig extends Model
{
protected $fillable = [
'user_id', 'sender_id', 'hash_key', 'route', 'country_code'
];
protected $table = "sms_api_config";
} |
<?php
/* TwigBundle:Exception:logs.html.twig */
class __TwigTemplate_e86c8eaac22d40ded11a74f009aceeb2565e57704f7b208a39f5a0e8311b3d31 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AlterCommentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('comments', funct... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<nav class="navbar navbar-toggleable-md navbar-light bg-faded">
<a href="{{ route('blog.admin.categories.create') }}" class="b... |
<div class="popular-plan mobile-popular-plan">
<h4 class="title">জনপ্রিয়</h4>
<ul class="d-lg-flex">
<li>
<h5 class="sebasomuho">সেবাসমূহ</h5>
<hr>
</li>
<li style="display:block;">
<h5 class="patasomuho">পাতাসমূহ</h5>
... |
<?php
declare(strict_types=1);
namespace Tests\Unit\Domain\Academic\ValueObject;
use Acme\Academic\ValueObject\Major;
use Tests\TestCase;
/**
* @covers \Acme\Academic\ValueObject\Major
*/
final class MajorTest extends TestCase
{
/**
* @test
*/
public function should_create_major(): void
{
... |
<?php
namespace CsvMate\Csv;
use CsvMate\AbstractCsv;
use CsvMate\CsvException;
/**
* Class Writer
* @package CsvMate\Csv
* @author Alaa Al-Maliki <alaa.almaliki@gmail.com>
*/
class Writer extends AbstractCsv implements WriterInterface
{
/**
* @return array
*/
public function getHeaders()
{
... |
<?php
namespace App\Http\Livewire\User;
use App\Models\User;
use Livewire\Component;
use Livewire\WithPagination;
class Approval extends Component
{
use WithPagination;
public $paginate = 5, $status = '', $search = '';
protected $listeners = [
'approveUser'
];
public function render()
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class kartu_keluarga extends Model
{
protected $fillable = ['nomor_keluarga','id_kepala_keluarga','alamat_keluarga',
'desa_kelurahan_keluarga','kecamatan_keluarga','kabupaten_kota_keluarga',
'provinsi_keluarga','negara_keluarga','rt_keluarga','rw... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
if (!isset($_SESSION)) {
session_start();
}
$_SESSION['abbr_lang'] = "fr";
if (!isset($_SESSION['ens_user'])) {
$lang = $_SESSION['abbr_lang'] ?? "en";
$url = "http://localhost/enstps/";
$url1 = "https://ensjobs.cm/";
header("... |
<?php $__env->startSection('content'); ?>
<section class="content-header">
<h1 class="pull-left"><?php echo e(isset($chapter) ? $chapter->title : "Not Available"); ?> / topics</h1>
<h1 class="pull-right">
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px" h... |
<html lang="pt-br">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- So that mobile will display zoomed in -->
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- enable media queries for windows phone 8 -->... |
<?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
<?php
/**
* Fuel
*
* Fuel is a fast, lightweight, community driven PHP5 framework.
*
* @package Fuel
* @version 1.8
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2016 Fuel Development Team
* @link http://fuelphp.com
*/
namespace Orm;
class ManyMany extends R... |
@extends('layouts.admin-layout')
@section('content')
<section>
<div class="admin-bread-crumbs">
<h2 class="content-heading" style="margin: 0; color: #fff;">
<a href="/dashboard" class='breadcrumbs'><i class="fa fa-home"></i></a>
<i class="fa fa-angle-right" aria-h... |
<style>
.open{
display:none;
background: #2B98CC !important;
}
.open input[type="text"] {
width: 129px;
height: 25px;
}
th {
font-size: 12px;
height: 155px;
white-space: nowrap;
}
th > .re {
transform: translate(-10px, -2px) rotate(268deg);
width: 30px;
}
</style>
<div class="dashboard-body">
<div class="... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class storage extends Model
{
use HasFactory;
} |
<?php
namespace App\Http\Controllers\GestionHospitalaria\AdministracionDeHospital;
use App\GestionHospitalaria\AdministracionDeHospital\Tipo_Cama;
use App\GestionHospitalaria\AdministracionDeHospital\Cama;
use App\Http\Controllers\Controller;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Coordinate extends Model
{
use HasFactory;
protected $fillable = [
'name',
'coordinate',
'distance_in_km'
];
} |
@extends('apps.layout.master')
@section('title','Import Product')
@section('content')
<section id="form-action-layouts">
<?php
$dataMenuAssigned=array();
$dataMenuAssigned=StaticDataController::dataMenuAssigned();
$userguideInit=StaticDataController::userguideInit();
//dd($dataMenuAssigned);
?>
<di... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeEcProductCategoriesNameDescription extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.