text
stringlengths
2
1.03M
<?php class BlockAccordion extends Block { private static $has_many = array( 'Accordions' => 'Accordion' ); /** * Get component title * * @var string */ protected $component_title = 'Action Box'; public function getCMSFields() { $fields = parent::getCMSFields(); $fields->removeByName('Accordions...
<?php namespace Ekyna\Bundle\AdminBundle\Dashboard; /** * Class Factory * @package Ekyna\Bundle\AdminBundle\Dashboard * @author Étienne Dauvergne <contact@ekyna.com> */ class Factory { /** * @var Widget\Factory */ protected $widgetFactory; /** * Constructor. * @param Widget\Facto...
<?php //00551 // -------------------------- // Created by Dodols Team // -------------------------- if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function...
<?php $title = 'Billet simple'; ?> <?php ob_start(); ?> <div class="container-fluid p-0"> <section class="resume-section p-3 p-lg-5 d-flex d-column" id="about"> <div class="my-auto"> <h1 class="mb-0">Gestion <span class="text-primary">des épisodes</span> </h1> ...
<?php require_once "../controladores/productos.controlador.php"; require_once "../modelos/productos.modelo.php"; require_once "../controladores/categorias.controlador.php"; require_once "../modelos/categorias.modelo.php"; class TablaProductos{ /*============================================= MOSTRAR LA TABLA D...
<?php namespace Drupal\KernelTests\Core\Routing; use Drupal\Component\Utility\Html; use Drupal\Core\Cache\CacheableJsonResponse; use Drupal\KernelTests\KernelTestBase; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; /** * Tests the exception handling for various cases. ...
<?php namespace ErenMustafaOzdal\LaravelUserModule\Events\Auth; use App\Events\Event; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; class ResetPasswordUserNotFound extends Event { use SerializesModels; public $datas; /** * Create a new event instance...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<!doctype html> <html class="no-js " lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <meta name="description" content="Admin Newpraktika Alkesindo"> <title> Admin - NPA...
<?php namespace Com\Nairus\ResumeBundle\Exception; use PHPUnit\Framework\TestCase; /** * Test of ResumeIncompleteException. * * @author nairus <nicolas.surian@gmail.com> * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ class ResumeIncompleteExceptionTest extends TestCase { /**...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Config extends Model { use HasFactory; protected $fillable = [ 'key', 'value' ]; }
<?php namespace Emporium; /** * Eloquent class to describe the plu_pack table * * automatically generated by ModelGenerator.php */ class PluPack extends \Illuminate\Database\Eloquent\Model { protected $table = 'plu_pack'; public $primaryKey = 'plu_key'; public $timestamps = false; public $increm...
<?php namespace Bdf\Form\Aggregate\Collection; use Bdf\Form\Aggregate\Form; use Bdf\Form\Child\Child; use Bdf\Form\Leaf\StringElement; use PHPUnit\Framework\TestCase; use ReflectionObject; /** * */ class DependencyTreeTest extends TestCase { /** * */ public function test_add_to_lvl0() { ...
<x-app-layout> <div class="card"> <div class="card-header"> </div> <div class="card-content"> <div class="card-body"> <form method="post" action="{{route('loker.store')}}" class="form form-vertical"> @csrf <div class="form-body"> <div class="row"> ...
@extends('layouts.masteradmin') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0">Data Pendudu...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v2/services/ad_schedule_view_service.proto namespace GPBMetadata\Google\Ads\GoogleAds\V2\Services; class AdScheduleViewService { public static $is_initialized = false; public static function initOnce() { $...
<?php /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also ...
<?php namespace App\Http\Controllers; use App\Models\Post; use Illuminate\Http\Request; class SearchController extends Controller { public function search(Request $request){ $query = $request->input('query'); $posts = Post::where('title', 'LIKE', "%$query%")->approved()->Status()->get(); ...
<?php namespace app\admin\controller; use think\Controller; use think\Request; use think\Db; use app\admin\controller\Common; class Role extends Common { /** * 显示资源列表 * * @return \think\Response */ public function index() { $keywords = input('keyword'); $data ...
<?php require_once "api/standard_display_api.php"; require_once "api/sql_api.php"; $conn = getConn(); if ($conn->connect_error) { header('Location: ../error_pages/DatabaseErrorPage.html'); exit; } $result = $conn->query("SELECT * FROM web_message"); $Title = ""; while ($row = $result->fetch_assoc()) { if ($...
<?php ( defined('BASEPATH')) or exit('No direct script access allowed'); class M_User extends CI_Model { function get_user() { $this->db->select('*'); $this->db->order_by('id', 'asc'); $this->db->where('trash','0'); $data = $this->db->get('tb_login'); if($data->num_rows()>0) { foreach($data->result...
</div> <div class="footer"> <div class="container"> <em>Sergio Hern&aacute;ndez - &copy; <?php echo date('Y'); ?></em> </div> </div> <script type="text/javascript" src="<?php echo base_url("assets/js/jquery-1.12.1.min.js"); ?>"></script> <script type="text/javascript" src="<?...
<?php namespace App\Listeners; use App\Events\Result; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; class Result { /** * Create the event listener. * * @return void */ public function __construct() { // } /** * Handle the ev...
<?php namespace Doctrine\DBAL\Sharding; use Doctrine\DBAL\DBALException; /** * Sharding related Exceptions * * @psalm-immutable */ class ShardingException extends DBALException { /** * @return ShardingException */ public static function notImplemented() { return new self('This funct...
<?php namespace app\models; use Yii; use yii\base\Model; /** * LoginForm is the model behind the login form. * * @property User|null $user This property is read-only. * */ class LoginForm extends Model { public $username; public $password; public $rememberMe = true; private $_user = false; ...
<?php use Orm\RepositoryContainer; /** * @covers Orm\DibiMapper::getConnection */ class DibiMapper_getConnection_Test extends TestCase { private $m; protected function setUp() { $this->m = new DibiMapper_getConnection_DibiMapper(new TestsRepository(new RepositoryContainer)); } public function test() { $t...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class M_user extends CI_Model { var $tabel = 'user'; var $max_idle_time = 2; // allowed idle time in secs, 300 secs = 5 minute function __construct() { // Call the Model constructor parent::__construct(); } ...
@extends('layouts.layout') @section('content') <div class="card"> <div class="card-title"> <h4>Edit Category Managements</h4> </div> <div class="card-body"> @if (session('sukses')) <div class="alert alert-success alert-dismissible fade show"> <button type=...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use App\Models\User; use App\Models\AddressOfUser; class UserController extends Controller { function getProfile() { $raw_data = User::find(Auth::id()); $raw_address = $this->getShippingAddress...
@extends('layouts.app') @section('contentheader_title', 'Promociones') @section('contentheader_description', 'Inicio') @section('content') <!-- Exportable Table --> <div class="row clearfix"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="card"> <div class...
@extends("Template.layoutMonitoreo") @section('titulo') Dahsboard @endsection @section('contenido') @include('Modals.ModalGraficas') <section class="content-header"> <h1><i class="fa fa-home"></i>&nbsp;Mesa de Ayuda</h1> <ol class="breadcrumb"> <li><a href="dashboard"><i class="fa fa-dashboard"></i> I...
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
<?php namespace backend\controllers; use common\models\Accesorio; use common\models\AccesorioGrupo; use common\models\Compartimento; use common\models\CubaSearch; use common\models\Grupo; use common\models\Operacion; use common\models\Revision; use Yii; use common\models\Cuba; use common\models\Model; use yii\bootstr...
<?php namespace App\Console\Commands; use App\User; use Illuminate\Console\Command; use Illuminate\Support\Facades\Hash; class CreateUser extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'shop_keeper:create {name} {email} {pa...
<?php return [ 'components' => [ //Componentes apenas para módulo financeiro ], 'params' => [ 'limiteCredito' => 1500, 'centroDeCusto' => 'Recursos Humanos', 'aceitarValorNegativo' => true ] ];
<?php namespace Topxia\Component\MediaParser\AlbumParser; class YoukuVideoAlbumParser extends AbstractAlbumParser { private $patterns = array( 'p1' => '/^http:\/\/www\.youku\.com\/playlist_show\/id_(\d+)/s', ); public function parse($url) { $response = $this->fetchUrl($url); if ($response['code'] != 200) {...
<?php /** * This file contains the templates endpoint for MailWizzApi PHP-SDK. * * @author Serban George Cristian <cristian.serban@mailwizz.com> * @link http://www.mailwizz.com/ * @copyright 2013-2017 http://www.mailwizz.com/ */ /** * MailWizzApi_Endpoint_Templates handles all the API calls for email templa...
<?php namespace Wechat\ApiBundle\Forms; use Symfony\Component\Validator\Constraints as Assert; use Symfony\Component\HttpFoundation\Session\Session; class keywordinfo extends FormRequest{ public function rule(){ return array( 'menuId' => new Assert\NotBlank(), ); } public function FormName(){ ...
<?php /** * Smarty Internal Plugin Compile Block * * Compiles the {block}{/block} tags * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Block Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Block extends Smarty_Interna...
<!-- Service --> <div class="bg-color-sky-light" data-auto-height="true"> <div class="content-lg container"> <div class="row row-space-1 margin-b-2"> <?php $i=3 ;?> @foreach($services as $service) <?php if($i==0){$i=3;}?> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class RemoveMobileFieldsFromImagesManagersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { // }...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use App\Http\Requests\LoginForm; use App\Http\Requests\RegisterForm; use App\Http\Requests\ProfileForm; use Auth; use App\Models\User; class UserController extends Controller { /* ...
@extends('template') @section('contenu') <br> <div class="col-sm-offset-1 col-sm-10"> @if(session()->has('ok')) <div class="alert alert-success alert-dismissible">{!! session('ok') !!}</div> @endif <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title">Liste de...
<?php namespace WeStacks\TeleBot\Handlers; use WeStacks\TeleBot\Objects\BotCommand; use WeStacks\TeleBot\TeleBot; /** * Abstract class for creating Telegram command handlers. */ abstract class CommandHandler extends UpdateHandler { /** * Command aliases. * * @var string[] */ protected s...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>edit</title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densit...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Category; use Illuminate\Support\Facades\DB; class CategoryController extends Controller { public function index() { $category=Category::all(); return view('admin.category.index',['category'=>$category]); } ...
@extends('admin_layout') @section('admin_content') <div class="row"> <div class="col-sm-12"> <div class="card card-table"> <div class="card-header">Thông tin người mua </div> <div class="card-body"> <table class="table"> <thead> <tr> <th>Tên người mua<...
{{----------------------------------- standard navigation --------------------------- --}} @extends('layouts.dashboard') @section('content') <div class="pcoded-main-container"> <div class="pcoded-wrapper"> <fieldset> <legend> <i class ="fas fa-user-edit"></i> Edit Admin : <strong>{{$admin...
<?php $__env->startSection('content'); ?> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.fragment.subview','data' => []]); ?> <?php if ($com...
<?php use Faker\Factory as Faker; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Seeder; use App\TouchscreenImage; use App\ExpoMap; class ExpoMapsSeeder extends Seeder { /****************************************************************************/ /** * Run the database seeds. * * @...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * Created by IntelliJ IDEA. * User: daoez19 * Date: 04/05/15 * Time: 19:39 */ class Berita extends CI_Controller { public function daftar() { validate($this, 'user', 'read', function ($token, $output) { $user...
<?php return unserialize('a:2:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Entity":2:{s:15:"repositoryClass";s:41:"gestCont\\UserBundle\\Entity\\UserRepository";s:8:"readOnly";b:0;}i:1;O:26:"Doctrine\\ORM\\Mapping\\Table":5:{s:4:"name";s:8:"fos_user";s:6:"schema";N;s:7:"indexes";N;s:17:"uniqueConstraints";N;s:7:"options";a:0:{}}...
@extends('layouts.main') @section('title') 成功 @endsection @section('content') <div class="content-wrapper"> </div> @endsection
<?php declare(strict_types=1); namespace InstruktoriBrno\TMOU\Model; use DateTimeImmutable; use Doctrine\ORM\Mapping as ORM; use Nette\Utils\Strings; /** * @ORM\Entity * @ORM\Table(name="thread") */ class Thread { /** * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue * @var inte...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v0/enums/user_interest_taxonomy_type.proto namespace Google\Ads\GoogleAds\V0\Enums; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Message de...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; class AuthController extends Controller { public function auth(Request $request) { $validator = Validator::make($request->all(), [ 'login' => 'required|min:5', 'password' =...
@extends('layouts/contentLayoutMaster') @section('title', 'Schedule') @section('vendor-style') {{-- vendor css files --}} @endsection @section('page-style') {{-- Page css files --}} <script src="https://code.jquery.com/jquery-2.2.4.js"></script> <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/...
@extends('myViews.customer.customer') @section('content') <div class="card"> <div class="card-header"> <h2>All Orders</h2> </div> <div class="card-body"> <table class="table table-bordered table-striped"> <thead> <tr> <th>Order ID</th> <th>Invoice</th> <th>Date...
<?php //session_start(); if(isset($_SESSION['active'])){ date_default_timezone_set('Asia/Manila'); $from = date('Y-m-d'); $day = date('d')+4; $to = date('Y-m-'.$day); ?> <div class="modal fade" id="view_member_prospect"> <div class="modal-dialog modal-lg"> <!-- Modal Co...
<?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\Core\Serializer; use ApiPlatform...
<?php //Chore, Copyright Josh Fradley (http://github.com/joshf/Chore) require_once("assets/version.php"); if (!file_exists("config.php")) { die("Error: Config file not found!"); } require_once("config.php"); session_start(); if (!isset($_SESSION["chore_user"])) { header("Location: login.php"); exit; } ...
<?php declare(strict_types=1); namespace Shopware\Core\Framework\Test\Api\Controller; use Doctrine\DBAL\Connection; use PHPUnit\Framework\TestCase; use Shopware\Core\Checkout\Cart\LineItem\LineItem; use Shopware\Core\Checkout\Promotion\Aggregate\PromotionDiscount\PromotionDiscountEntity; use Shopware\Core\Checkout\Te...
<?php /* © LeoCRAFT Digital, "Catana" https://catana.leocraft.digital */ // Base Connection $host = [ 'base' => 'catana', 'user' => 'root', 'pass' => '', 'addr' => '127.0.0.1' ]; // Template $get['tpl'] = [ 'template' => 'views/templates/Catana/index.html', 'blocks' => 'views/blocks', 'block...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProductsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('products', fun...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
{{--数目统计--}} <main> <nav class="usercenter-row wash-code deposit-records"> <!--查询条件--> <div class="layui-inline" style="margin-left: 22px;margin-top: 40px;width: 800px;"> <span class="pull-left" style="margin-top: 4px;">开始时间:</span> <input class=" pull-left datainp wicon w...
@extends('layouts.backend') @section('title', Str::title(Auth::user()->name) .' ‹ '. __('Change Password')) @section('content') @include('partials/messages') <main class="md:grid md:grid-cols-3 md:gap-6"> <div class="md:col-span-1 flex justify-between"> <div class="px-4 sm:px-0"> <h3 class="text-lg font...
<?php namespace App\Http\Controllers\api; use App\Http\Controllers\Controller; use App\Http\Utils\Response; use App\Models\Kegiatan; use App\Models\KegiatanIuran; use Exception; use App\Models\KegiatanAnggota; use App\Models\KegiatanDetailAnggota; use App\Models\Masjid; use Illuminate\Http\Request; use Illuminate\Sup...
<?php /* * -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="ContentTypeParameterBuilder.php"> * Copyright (c) 2018-2020 Aspose.Email for Cloud * </copyright> * <summary> * Permission is hereby granted, free...
<?php return array ( 'singular' => 'Prediction', 'plural' => 'Predictions', 'fields' => array ( 'id' => 'Id', 'state_id' => 'State Id', 'user_id' => 'User Id', 'match_id' => 'Match Id', 'prediction_local' => 'Prediction Local', 'prediction_visitor' => 'Prediction Visitor', 'points'...
<?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\Security; use App\Entity\User; use Symfony\Component\Security\Core\Exception\AccountStatusException; use Sy...
<?php /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator class. Some of these rules have multip...
@extends ('admin.layouts.admin') @section('principal') <form class="form-horizontal" method="POST" action="{{ url("listanotaDebitoBancario") }}"> @csrf <div class="card card-secondary"> <div class="card-header"> <h3 class="card-title">Lista de Notas de Debito Bancario</h3> ...
<?php use Api\V8\Controller\BaseController; use Codeception\Actor; use Codeception\Exception\ModuleException; use Codeception\Lib\Friend; use Helper\PhpBrowserDriverHelper; /** * Inherited Methods * @method void wantToTest($text) * @method void wantTo($text) * @method void execute($callable) * @method void expe...
<?php /** * Ban the use of Yoda conditions. * * @author Mponos George <gmponos@gmail.com> * @author Mark Scherer <username@example.com> * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) * @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence */ namespace PHP_C...
<?php /** * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 * @copyright Aimeos (aimeos.org), 2018-2020 */ namespace Aimeos\Client\Html\Account\Subscription; class StandardTest extends \PHPUnit\Framework\TestCase { private $object; private $context; protected function setUp() : void { $this->co...
@extends('admin.index') @section('content') <div class="row"> <div class="col-md-12"> <div class="widget-extra body-req portlet light bordered"> <div class="portlet-title"> <div class="caption"> <span class="caption-subject bold uppercase font-dark">{{$title}}</span> </div> <div class="...
@extends('layouts.main') @section('content') <div class="container"> <br> <br> <h4 style="text-align: center"> Je peut créer une nouvelle offre abonnement</h4> <br> <br> <div class="card" style="width:24rem;margin:auto;"> <div class="card-body"> ...
<?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\Tests\Fixtures\TestBundle\Documen...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Solicitud extends Model { use SoftDeletes; protected $table = 'solicitudes'; protected $fillable = [ 'categoria_id', 'solicitante_id', 'archivo', 'valor', 'status', 'descripci...
<?php namespace App\Http\Controllers\Front; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\Category; use App\Models\SubCategory; use App\Models\Product; use App\Models\Product\Size; use App\Models\Area\Gov; use App\Models\Product\Order; use App\Models\Product\OrderContent; class O...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class QuizTest extends Model { public $table = "quiz_test"; protected $fillable = [ 'quiz', 'level_id', 'user_id','time','status', ]; public function userName() { return $this->belongsTo('App\Models\User', 'user...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class BackupController extends Controller { public function __construct() { $this->middleware('auth'); $this->middleware(['role:Administrador']); date_default_timezone_set('America/Caracas'); } public function...
<?php namespace App\Models; use CodeIgniter\Model; class usertrial_model extends Model { protected $table = 'user_trial'; protected $useTimeStamps =true; protected $allowedFields = ['id','username','trial','datestart','dateend']; public function getTrial($username){ return $this->where('use...
<?php namespace Shadowlab\Interfaces\Domain; interface Filter { public function getErrors(); public function getError($key = null); public function setEntity(Entity $entity); public function validate(Entity $entity, Domain $domain, $action = "insert"); public function confirmAction($action); p...
@include('layouts.headeradmin') @if(count($errors)>0) @foreach($errors->all() as $error) <div class="alert alert-danger" style="padding-left:100px;" role="alert"> {{ $error }} </div> @endforeach @endif @if(Session::has('success')) <div class="alert alert-success" role="alert"> {{ Sessi...
<?php use Illuminate\Database\Seeder; use App\Category; class CategoriesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $categories = config('categories'); foreach ($categories as $category) { $new_category_obj = new Category(); ...
<!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> <title>Arabic/Islamic Date and Calendar</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <link rel="stylesheet" type="...
<?php namespace Database\Seeders; use App\Models\User; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class UserSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $admin = User::create([ 'na...
<?php namespace app\assets; use yii\web\AssetBundle; class ToolbarAsset extends AssetBundle { public $sourcePath = '@bower/toolbar'; public $css = [ 'jquery.toolbars.css', ]; public $js = [ 'jquery.toolbar.min.js', ]; }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class cachetpic extends Model { // protected $table='cachetpic'; protected $fillable=['cachetid','cachetPicPath']; }
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'CGIF' => $vendorDir . '/mpdf/mpdf/classes/gif.php', 'CGIFCOLORTABLE' => $vendorDir . '/mpdf/mpdf/classes/gif.php', 'CGIFFILEHEADER' => $vendorDir . '/mpdf/mpdf/cla...
@extends('layouts.main') @section('content') <div class="napadministratoru"> <div class="punkty"> <b>Напишите администратору если:</b> <div class="punktyString"><div class="punktyImage"></div>Вы хотите внести изменения в расписание.</div> <div class="punktyString"><div cl...
<?php namespace App\Services; use App\Repositories\VendorRepository; use Illuminate\Support\Facades\DB; use App\Models\Basket; class VendorService extends VendorRepository { }
--TEST-- Test for bug #1682: Invalid NULL byte in debugger XML with anonymous classes [2] --SKIPIF-- <?php require __DIR__ . '/../utils.inc'; check_reqs('dbgp'); ?> --FILE-- <?php require 'dbgp/dbgpclient.php'; $filename = realpath( dirname(__FILE__) . '/bug01682.inc' ); $commands = array( "breakpoint_set -t line -f ...
<?php use Roots\Sage\Setup; use Roots\Sage\Wrapper; ?> <!doctype html> <html <?php language_attributes(); ?>> <?php get_template_part('templates/head'); ?> <body <?php body_class(); ?> ng-app="topp15"> <!--[if IE]> <div class="alert alert-warning"> <?php _e('You are using an <strong>outdated</s...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePricesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('prices', functio...
@extends("layouts.main_layout") @section("page-title", "VideOnDemand") @section("main-page") <!-- Start: Highlight Clean --> <div class="highlight-clean"> <div class="container"> <!-- Start: Intro --> <div class="intro"> <h2 class="text-center"> Welcome To Video-on-Demand </h2> <...
<?php return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections below you wish | to use as...
<?php namespace App\Controller; use App\Entity\Competence; use App\Entity\GroupeCompetence; use App\Repository\CompetenceRepository; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; use...