text
stringlengths
2
1.03M
<?php namespace App\Console\Commands; use Illuminate\Console\Command; class GenFileHome extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'genfilehome'; /** * The console command description. * * @var strin...
<?php declare(strict_types=1); namespace Shopware\Core\Content\MailTemplate\Aggregate\MailTemplateTranslation; use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection; /** * @method void add(MailTemplateTranslationEntity $entity) * @method void ...
<?php namespace App\Http\Livewire\Dv; use App\Models\User; use App\Models\position; use App\Models\Campus; use App\Models\Department; use App\Models\DVType; use App\Models\DVTypeSorter; use App\Models\DVCategory; use App\Models\DVSubCategory; use App\Models\ModeOfPayment; use App\Models\RelatedDoc; use App\Models\Rel...
<?php global $frank_section_header; global $frank_section_title; global $frank_section_caption; ?> <div class='post-group fourup row'> <?php if ( isset( $frank_section_header ) && $frank_section_header ) : ?> <div class='nav post-group-header'> <span class='label'><?php echo( $frank_section_title ); ?></span> <?p...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> ERROR - 2019-02-24 05:01:03 --> 404 Page Not Found: Assets/global ERROR - 2019-02-24 05:01:16 --> 404 Page Not Found: Js/jquery.min.js ERROR - 2019-02-24 05:01:16 --> 404 Page Not Found: Js/bootstrap.min.js ERROR - 2019-02-24 05:01:16 --> 404 Pag...
<?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 Doctrine\Bundle\DoctrineBundle\Tests; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\ServiceRepositoryCompilerPass; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\DoctrineExtension; use Doctrine\Common\Annotations\AnnotationReader; use Doctrine\Common\Annotations\AnnotationReg...
<table class="table"> <thead class="text__p text__p-table-head"> <tr> <th>Orden</th> <th class="text-center">Tipo de evento</th> <th class="text-center">Título</th> <th>Descripción</th> <th class="text-center">Editar</th> <th class="text-center">Borrar</th> </tr> </thead> <tbody class="text__p...
<?php namespace App\Providers\Deferred; use App\Services\Validation\Base64ImageRule; use Illuminate\Support\ServiceProvider; class Base64ImageRuleProvider extends ServiceProvider { public $defer = true; public function register() { $this->app->bind(Base64ImageRule::class, function () { ...
@extends('backend.layouts.master');
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\components\ComponentList */ $this->title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'Component Lists', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class...
<?php namespace App\Http\Controllers\Admin\AppData; use App\Helpers\Constant; use App\Http\Controllers\Admin\Controller; use App\Http\Requests\Admin\AppData\Setting\UpdateFieldsRequest; use App\Models\Setting; use App\Traits\AhmedPanelTrait; class SettingController extends Controller { use AhmedPanelTrait; ...
<?php namespace CleanPhp\Persistence\Doctrine\Repository; use CleanPhp\Domain\Repository\Contracts\IOrderRepository; use Doctrine\ORM\Query\Expr\Join; class OrderRepository extends AbstractDoctrineRepository implements IOrderRepository { /** * @var string */ protected $entityClass = 'CleanPhp\D...
<?php class choujiangController extends BaseController { private $lottery_id; private $lot; public function __construct(){ $this->lottery_id = Route::input('lottery_id'); $this->lot = new choujiangService($this->lottery_id); } //用户参与抽奖活动 public function get(){ $wx_uid = Weixin::user(); $stu_id = WxUser::w...
<?php namespace Compolomus\LSQLQueryBuilder\System\Traits; use Compolomus\LSQLQueryBuilder\Parts\Join as Pjoin; trait Join { private $join; public function join(string $table, ?string $alias = null, array $onPairs = [], string $joinType = 'left'): Pjoin { $this->join = new Pjoin($table, $alias, ...
<?php declare(strict_types=1); /* * (c) shopware AG <info@shopware.com> * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Swag\PayPal\Test\RestApi\V1\Api; use PHPUnit\Framework\TestCase; use Swag\PayPal\RestApi\V1\Api\Payment;...
<?php namespace App\Http\Controllers\Users; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; class appController extends Controller { public function AdminName() { return 'Eng : Mahmoud Ali'; } }
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model frontend\models\StatusDescription */ $this->title = 'Create Status Description'; $this->params['breadcrumbs'][] = ['label' => 'Status Descriptions', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="status-desc...
<?php namespace App\Providers\Gateway\Middleware; use App\Providers\Gateway\Repository\GatewayConfigRepository; use Illuminate\Http\Request; use Closure; use Illuminate\Http\Response; use PrometheusExporter; /** * Class GatewayServiceHttpMethods * * @author Christopher Lorke <lorke@traum-ferienwohnungen.de> * @pa...
<?php namespace n2n\log4php\pattern\converter; /** * 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 Li...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateVentasPasajesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('ventas_pa...
@extends('shared.main') @section('title','Administración/Roles') @section('content') <a href="{{ route('rol.create') }}" class="btn btn-primary">Crear</a> <hr> <div class="table-responsive"> <table id="example" class="table table-condensed" cellspacing="0" width="100%"> <thead> <tr> <th>...
<?php namespace App\Http\Controllers; use App\Exceptions\ProductNotBelongsTouser; use App\Http\Requests\ProductRequest; use App\Http\Resources\Product\ProductCollection; use App\Http\Resources\Product\ProductResource; use App\Model\Product; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Symfony...
<?php namespace Tests\Browser; use App\User; use Tests\DuskTestCase; use Laravel\Dusk\Browser; use Illuminate\Foundation\Testing\DatabaseMigrations; class AuthenticationTest extends DuskTestCase { /** * A Dusk test example. * * @return void */ public function testExample() { // ...
@extends('layouts.home') @section('title') Web development company @endsection @section('content') <section id="projects"> <div class="container" style="height: 100%;"> <div class="project-wrapper"> <div class="row project-row"> <div class...
<?php if (!defined('BASEPATH'))exit('No direct script access allowed'); class Realisasiin_act extends CI_Model { function in($dokumen = "", $aju = "") { $func = get_instance(); $func->load->model("main"); $this->load->library('newtable'); $kode_trader = $this->newsession->userdata('KODE_T...
<?php namespace Spinen\ConnectWise\Models\v2019_3\Finance; use Carbon\Carbon; use Spinen\ConnectWise\Support\Model; /** * Class TaxableXRefLevel Version v2019_3 * * Model for TaxableXRefLevel * * @property Metadata $_info * @property TaxCodeLevelReference $taxCodeLevel * @property integer $id */ class Taxabl...
<?php namespace App\Policies; use App\Models\Person; use App\Models\Role; use Illuminate\Auth\Access\HandlesAuthorization; use Illuminate\Auth\Access\Response; class PersonPolicy { use HandlesAuthorization; const AUTHORIZED_ROLES = [ Role::ADMIN, Role::MANAGE, Role::VC, Role::MENTOR, Role::TRAINER...
@extends('admin.admin_master') @section('admin') <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <section class="content"> <!-- Basic Forms --> <div class="box"> <div class="box-header with-border"> <h4 class="box-title">Admin Profile Edit</h4> </div>...
<?php
<?php prado::using ('Application.MainPageM'); class CPesertaKelas extends MainPageM { public function onLoad($param) { parent::onLoad($param); $this->showSubMenuAkademikPerkuliahan=true; $this->showPembagianKelas=true; $this->createObj('Akademik'); if (!$this->IsPostBack&&!$...
<?php /** * * @author Mikael Peigney */ namespace Mika56\SPFCheck; use Mika56\SPFCheck\Exception\DNSLookupLimitReachedException; class DNSRecordGetterIssue7 implements DNSRecordGetterInterface { protected $requestCount = 0; protected $requestMXCount = 0; protected $requestPTRCount = 0; protected...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace App\Policies; use App\Models\User; use App\Models\normativasForeignKey; use Illuminate\Auth\Access\HandlesAuthorization; class NormativasForeignKeyPolicy { use HandlesAuthorization; /** * Determine whether the user can view any models. * * @param \App\Models\User $user ...
<?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__), 'bootst...
<?php namespace GestionCarteBundle\Entity; /** * Client */ class Client implements \JsonSerializable { /** * @var string */ private $designation; /** * @var string */ private $adress; /** * @var integer */ private $plafondcredit; /** * @var integer ...
<?php /** @noinspection PhpComposerExtensionStubsInspection */ /** @noinspection PhpRedundantCatchClauseInspection */ declare(strict_types=1); namespace Vuryss\Cache; use DateInterval; use DateTime; use Psr\SimpleCache\CacheInterface; use Redis; use RedisException; /** * Provides simple PSR-16 cache by using a re...
<!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" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]><xml> <o:Offic...
<?php namespace AppBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class EmployeeControllerTest extends WebTestCase { /* public function testCompleteScenario() { // Create a new client to browse the application $client = static::createClient(); // Cr...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php namespace App\Repository\Student; use App\Models\Student; interface StudentInterface{ public function getAllData(); public function storeOrUpdate($id = null,$data); public function view($id); public function delete($id); public function getAllTrashedData(); public function permanentDelet...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class admin extends Model { public $timestamps=false; }
<?php namespace SzamlaAgent\Document\Invoice; use SzamlaAgent\Document\Document; use SzamlaAgent\Header\InvoiceHeader; use SzamlaAgent\Item\InvoiceItem; use SzamlaAgent\CreditNote\InvoiceCreditNote; use SzamlaAgent\Log; use SzamlaAgent\Waybill\Waybill; use SzamlaAgent\Buyer; use SzamlaAgent\Seller; use SzamlaAgent\Sz...
<?php namespace App\Http\Controllers\TaskManagement; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use DB; class TaskTrackerController extends Controller { public function __construct() { // } /** * get all Task Tracker */ public function index(Request $request...
<?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 RectorPrefix20210919\Symfony\Component\Yaml; use RectorPrefix20210919\Sy...
<?php namespace think\huishoubao\library\RabbitMQ; /** * rabbitMq协议操作类 支持生产消费和发布订阅等几种模式 * 注意安装 php_amqp扩展 * Class RabbitMQClass * @author james rh */ class RabbitMQClass { //单例实列 private static $_instance = []; private $configs = []; //交换机名称 ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous"> <meta http-equiv="X-UA-Co...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class CategoryRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get t...
<div> <h4 id="config_pipeline">Configure the pipeline </h4> <p> To configure a pipeline double click on the .pipeline file from the newly created pipeline project to open it in the middle window on the screen. Here you can drag and drop the NLP components from the Component panel. Si...
<?php declare(strict_types = 1); return new \PHPStan\Reflection\Native\NativeFunctionReflection( 'mysqlnd_uh_convert_to_mysqlnd', [ new \PHPStan\Reflection\Native\NativeParameterReflection( 'mysql_connection', false, PHPStan\Type\ObjectType::__set_state(array( 'className' => 'mysqli', )), true,...
<?php namespace App\Http\Controllers; use App\Post; use App\User; use App\Http\Controllers\Redirect; use Illuminate\Http\Request; use Intervention\Image\Facades\Image; class PostController extends Controller { public function __construct() { $this->middleware('auth'); } /** * Display a ...
<!-- Page Header --> <header class="masthead" style="background-image: url('img/index.jpg')"> <div class="overlay"></div> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-10 mx-auto"> <div class="site-heading"> <h1>Dev4Code</h1></br></br> <spa...
<?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\Component\Validator\Tests\Constraints; use Symfony\Component\Va...
<?php /* * This file is part of Bens Penhorados, an undergraduate capstone project. * * (c) Fábio Santos <ffsantos92@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace App\Http\Controllers; use Laravel\Lumen\Ro...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php if (is_file('config.php')) { require_once 'config.php'; } else { exit('Для начала работы необходимо сконфигурировать приложение'); } $token = defined('KMA_ACCESS_TOKEN') ? KMA_ACCESS_TOKEN : 'access token'; $channel = defined('KMA_CHANNEL') ? KMA_CHANNEL : 'channel'; $debug = defined('KMA_DEBUG') ? KMA_...
<?php sleep(1); $id = $_POST['id']; include_once '../config/dbconfig.php'; // $pdo = new PDO("mysql:dbname=sisfestas;host=localhost", "root", ""); $sql = $pdo->query("SELECT * FROM niveis_acessos WHERE id = $id"); if($sql->rowCount() > 0 ){ $info = $sql->fetch(); date_default_timezone_set('America/Sao_Paulo'); $...
<?php /** * Author: Emmanuel Paul Mnzava * Twitter: @epmnzava * Github:https://github.com/dbrax/income-expense * Email: epmnzava@gmail.com * */ namespace Epmnzava\IncomeExpense; use Epmnzava\IncomeExpense\Models\Expense; use Epmnzava\IncomeExpense\Models\ExpenseCategory; use Epmnzava\IncomeExpense\Models\Inco...
<?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require "./PHPMailer/src/Exception.php"; require "./PHPMailer/src/PHPMailer.php"; require "./PHPMailer/src/SMTP.php"; // Mudar Aqui o e-mail $email_envio = "contato@hospedagem.com"; // E-mail do site (ex: contato@seusite.com) $email_pass...
<?php namespace App\Http\Requests; class TopicRequest extends Request { public function rules() { switch($this->method()) { // CREATE case 'POST': case 'PUT': case 'PATCH': { return [ 'title' ...
<!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="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</title> <!-- Fonts --> ...
@extends('voyager::master') @section('page_title','Все '.$dataType->display_name_plural) @section('page_header') <h1 class="page-title"> <i class="{{ $dataType->icon }}"></i> {{ $dataType->display_name_plural }} @if (Voyager::can('add_'.$dataType->name)) <a href="{{ route('voyager.'.$d...
<?php $lang['email_must_be_array'] = 'Емейл валидирането трябва да бъде прехвърлено в масив (array).'; $lang['email_invalid_address'] = 'Грешен емайл адрес: %'; $lang['email_attachment_missing'] = 'Не може да се намери прикачения файл: %'; $lang['email_attachment_unreadable'] = 'Не може да се отвори прикачения файл: %...
<div class="modal fade" id="usuario-editPass-item" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Requests\QuangcaoAddRequest; use App\Http\Requests\QuangcaoEditRequest; use App\Quangcao; use DB; use Input,File; class QuangcaoController extends Controller { public function __contruct(){ $this->m...
<?php use Luur\Amplitude\Event; use Luur\Amplitude\Message; use Luur\Amplitude\Exceptions\InvalidDataException; use PHPUnit\Framework\TestCase; class MessageTest extends TestCase { public function testThrowsInvalidDataException() { $this->expectException(InvalidDataException::class); new Messa...
<?php /** * Task * * @property-read \Project $project * @property integer $id * @property integer $project_id * @property string $name * @property string $slug * @property boolean $completed * @property string $description * @property \Carbon\Carbon $created_at * @property \Carbon\Carbon $updated_at ...
<?php namespace Comicat\Slack\Api\Model; class AdminConversationsConvertToPrivatePostResponse200 { /** * * * @var bool */ protected $ok; /** * * * @return bool */ public function getOk() : bool { return $this->ok; } /** * * ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Admission extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('admissionmodel'); $this->load->model('yearsmodel'); $this->load->model('classmodel'); $this->load->helper('url'); $...
@extends('/layouts/app') <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <meta name="csrf-token" content="{{ csrf_token() }}" /> @section('maincontent') <div class="container-fluid bg-li...
<div class="box-body"> <div class='form-group{{ $errors->has("{$lang}[name]") ? ' has-error' : '' }}'> {!! Form::label("{$lang}[name]", trans('blog::tag.form.name')) !!} {!! Form::text("{$lang}[name]", Input::old("{$lang}[name]"), ['class' => "form-control slugify", 'placeholder' => trans('blog::tag...
@extends('admin.layouts.app') @section('content') <h1>Create New Skill</h1> <hr> <div class="container"> @include('admin.layouts.flash') <form method="post" action="{{ route('skills.store') }}"> @csrf <div class="form-group"> <label for="exampleInputEmail1">Title</label> ...
<?php namespace app\Models; use Illuminate\Database\Eloquent\Model; Class HistoryModel extends Model { // specify the table, primary key and if not autoincremening make it false protected $table = 'conversation'; protected $primaryKey = 'conv_id'; //public $incrementing = false; }
<!-- Main Content --> <div class="container-fluid"> <div class="side-body"> <div class="page-title"></div> <div class="row"> <div class="col-xs-12"> <div class="card"> ...
<?php session_start(); require_once 'config/init.conf.php'; require_once 'config/bdd.conf.php'; require_once 'include/fonction.inc.php'; //On insert les parties HTML du site require_once 'include/connexion.inc.php'; include_once 'include/header.inc.php'; include_once 'include/nav.inc.php'; require_once("libs/Smarty.cl...
@extends('layouts.app') @section('titulo') Registrar imagen @endsection @section('content') <div class="row mb-2"> <section class="col-10"> <h5>Registrar imagen</h5> </section> <section class="col-2 d-flex justify-content-end"> <a href="{{url('panel/picture')}}" class="btn btn-outline-secon...
<?php return [ 'default' => 'local', 'disks' => [ 'local' => [ 'driver' => 'local', 'root' => storage_path('app'), ], 'logs' => [ 'driver' => 'local', 'root' => storage_path('logs'), ], 'links' => [ 'driver...
@extends('layouts.default', ['title' => 'gallery']) @section('content') <br> <br> <br> <br> <br> <br> <br> <div class="container"> <h3>create ALbum</h3> <form action="{{url('gallery')}}" class="dropzone" > {{csrf_field()}} </form> @auth <form ac...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class FeedbackNotification extends Model { use HasFactory; protected $fillable = [ 'subject', 'content' ]; protected $hidden = [ 'created_at', 'updated_at', ...
<?php include_once 'header.php' ?> <body> <div> <div class="bg-light p-5 rounded"> <div class="col-sm-8 mx-auto"> <h1>Welcome to Tutorialand</h1> <p>This is an exercise to build technical skills through simply building a LAMP stack. <a href="">TBD Link</a></p> ...
@foreach($comments as $comment) <div class="card mt-3"> <div class="card-header d-flex justify-content-between"> <div class="commenter d-flex"> <span class="pl-1">{{ $comment->user->name }}</span> <span class="text-muted">- {{ jdate($comment->created_at)->ago()}}<...
<?php namespace App\Http\Controllers\API; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Support\Facades\Hash; use App\Http\Controllers\Controller; class AuthController extends Controller { public function register(Request $request) { $fields = $request->va...
<?php namespace App\Http\Requests\Sales\Invoice; use App\Http\Requests\Sales\Invoice\InvoiceBaseRequest; class UpdateRequest extends InvoiceBaseRequest { /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ ...
@extends('layouts.occupation') <title>{{ config('app.name') }} - {{ $career_user->company_name }} - {{ __('menu.MENU_CUSTOMERS') }} - {{ __('menu.MENU_WEBINAR_PLAN') }}</title> @section('content') <div class="container-fluid gedf-wrapper"> <div class="row"> <div class="col-md-3"> </...
@extends('layouts.admin.layout') @section('content') <div class="container-fluid px-lg-4"> <div class="row"> <div class="col-12 my-3"> <div class="card rounded-0 border-0 shadow"> <div class="card-body"> <div class="d-flex"> <div> ...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php /* * This file is part of Flarum. * * (c) Toby Zerner <toby.zerner@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Flarum\Discussion; use Flarum\Discussion\Event\Renamed; use Flarum\Foundation\Abstract...
@extends('layouts.admin') @section('title') <title>{{ trans('message.cinemas.title') }}</title> @endsection @section('content') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> @include('partials.header-content', ['name' => trans('message.cinemas....
<?php namespace Oro\Bundle\EntityExtendBundle\Tools; class ExtendHelper { /** * @param $type * @return string */ public static function getReversRelationType($type) { switch ($type) { case 'oneToMany': return 'manyToOne'; case 'manyToOne': ...
@extends('layouts.app') @section('content') {{ $transaction }} @endsection
<?php defined('BASEPATH') or exit('No direct script access allowed'); class C_uts extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model("M_uts"); } public function index() { $data["susu...
<!DOCTYPE html> <html lang="<?= site()->language() ? site()->language()->code() : '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"> <meta name="description" content="<?= $site->description()->html()...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Authorization_Token * ---------------------------------------------------------- * API Token Generate/Validation * * @author: Jeevan Lal * @version: 0.0.1 */ require_once APPPATH . 'third_party/php-jwt/JWT.php'; require_once APPPATH ....
<?php $__env->startSection('content'); ?> <section class="section2"> <div class="bg-overlay"></div> <div class="container"> <div class="row justify-content-center"> <div class="content col-md-9"> <div class="page-title text-center"> <h3 class="text-white pt-20 pb-20">FA...
<?php class ConstantsSeeder extends Seeder { public function run() { $master = new MasterDocument; $master->name ='Factura Normal'; $master->javascript_web= 'class MYPDF extends TCPDF { public function Footer() { $this->SetY(-15); $this->SetFont(\'helvetica\', \'I\', 8, false); ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class music extends Model { use HasFactory; protected $fillable = ['name','image','file', 'year','artist','album','description']; }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Archivos extends Model { use HasFactory; protected $fillable = [ 'nombre', 'url', 'imagen', 'categoria', 'tipo', 'descripcion', 'reigstro_id'...
<?php //! Front-end processor class TRApplication extends Controller { function mainPage($f3, $args) { $f3->set('content','main.htm'); $f3->set('buddy',array('Tom','Dick','Harry')); echo \Template::instance()->render('layout.htm'); } function error($error) { echo "Error occured"; ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddCustomFieldsOnUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users',...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...