text
stringlengths
2
1.03M
@extends('home') @section('contenido') <h1>Divisas actualizada correctamente</h1> <table class="table table-condensed"> <thead class="thead-dark"> <tr> <th>Id</th> <th>id Propiedad</th> <th>descripcion Divisa</th> </tr> </thead> <tbody class="thead-light"> <tr > <td style="background: ...
@extends('admin.admin_master') @section('admin') <div class="sl-pagebody"> <div class="sl-page-title"> <h5>Monthly Order Reports</h5> </div><!-- sl-page-title --> <div class="card pd-20 pd-sm-40"> <h6 class="card-body-title">Monthly Order List</h6> <di...
@extends('dashboard') @section('content') <div class="panel panel-default"> <!--<div class="panel-heading">Cities</div>--> <div class="panel-body"> <ol class="breadcrumb"> <li><a href="{{ url('/panel') }}">Dashboard</a></li> <li><a href="{{ url('/tags') }}">Categories</a></li>...
<?php namespace app\api\controller; use app\admin\model\Account; use app\common\controller\Api; use app\common\model\Order; use fast\Date; use think\Db; /** * 采购端 */ class Purchase extends Api { protected $noNeedLogin = ['getOrder']; protected $account_id = null; public function _initialize() { ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCustomersTable extends Migration { public function up() { Schema::create('customers', function (Blueprint $table) { $table->increments('id'); $table->ti...
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator ...
@extends('admin.companyBase') @section('CompanyAdminBase') <link rel="stylesheet" type="text/css" href="{{ asset('css/styles.css') }}"> {{ Form::model($data,['route' => ['company.project.update',$data->id],'enctype' => 'multipart/form-data','method'=>'PUT'])}} <div class="row text-light"> <div class="col-md-3"> <...
@extends('layouts.app') @if(Session::has('message')) <div class="alert-custom"> <p>{!! Session('message') !!}</p> </div> @endif() @section('content') <div id="borde" class="borde" style="padding:80px 100px 0 100px"> <div class="" style="padding:0 10% 0 10%"> <h2>Actualizar Registro</h2> <...
<?php namespace Application\Model\DataModels; use Application\Model\AbstractModels\StatsDataItem; class Action extends StatsDataItem { public $url; public $userId; public $userName; public $actionType; public $title; public $msg; /** * Action constructor. * @param $mTime *...
<?php namespace Oro\Bundle\CronBundle\Tests\Functional\Command; use Doctrine\ORM\EntityRepository; use Oro\Bundle\CronBundle\Entity\Schedule; use Oro\Bundle\FeatureToggleBundle\Checker\FeatureChecker; use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; /** * @dbIsolationPerTest */ class CronDefinitionsLoadCommand...
<?php require_once __DIR__ . "/../../../etc/core.php"; if ($fraUserManagement->isLogged()) { header('Content-type:application/json;charset=utf-8'); require_once __DIR__ . "/model.php"; $type = &$_GET["type"]; if ($type === "events") { if (isset($_GET['year']) && isset($_GET['month'])) { ...
@extends('layouts.index') @section('content') <div class="hero hero-max-720 hero-contact background-overlay"> <div class="hero-text"> <h1 class="white-text">Contact Us</h1> </div><!-- /.hero-text --> <div class="hero-arrow"> <a class="scrollTo" href="#"><i class="fa fa-angle-down" aria-hid...
@extends('admin.layouts.default') @section('content') <section> <div class="max-w-screen-xl mx-auto p-4"> @if(session()->has('status')) <p>{{ session()->get('status') }}</p> @endif <div class="pb-4"> <form action=""> <input type="search" id="searchProduct...
<?php /** * Created by PhpStorm. * User: ada * Date: 12-Jun-18 * Time: 11:33 */ namespace ArashDalir\Handler\SysLog; use ArashDalir\Foundation\LogMessage; use Psr\Log\LogLevel; class SysLogMessage extends LogMessage{ const SYSLOG_EMERG = 0; const SYSLOG_ALERT = 1; const SYSLOG_CRIT = 2; const SYSLOG_ERR = 3...
<?php namespace TLMessage\TLMessage\ClientMessages\Shared; use TLMessage\TLMessage\Packer; use TLMessage\TLMessage\TLClientMessage; /** * @see https://core.telegram.org/method/auth.signIn */ class sign_in implements TLClientMessage { const CONSTRUCTOR = -1126886015; // 0xbcd51581 /** * @var string ...
<?php namespace Oro\Bundle\ApiBundle\DependencyInjection\Compiler; use Oro\Bundle\ApiBundle\Util\DependencyInjectionUtil; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; /** * Registers all exception text extractors. */ class Exc...
<?php namespace RolesCapabilities\Test\TestCase\Access; use Cake\TestSuite\TestCase; use RolesCapabilities\Access\CapabilitiesAccess; use RolesCapabilities\Capability; /** * @property \RolesCapabilities\Access\CapabilitiesAccess $instance */ class CapabilitiesAccessTest extends TestCase { public $fixtures = [ ...
<?php namespace App\Http\Requests\Api; class UserCollectRequest extends FormRequest { /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'subject_id' => 'required', 'bank_item_id' => 'require...
<?php /** * This is the model class for table "links_per_portfolio". * * The followings are the available columns in table 'links_per_portfolio': * @property integer $id * @property integer $portfolio_id * @property string $type * @property string $url * * The followings are the available model relations: * ...
@extends('layoutes.admin') @section('content') <div class="app-content content"> <div class="content-wrapper"> <div class="content-header row"> <div class="content-header-left col-md-6 col-12 mb-2"> <div class="row breadcrumbs-top"> <d...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class JobPublished extends Mailable { use Queueable, SerializesModels; /** * Create a new message instance. * * @return void...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateGeoposicionTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('geolocation', function (Blueprint $table) { ...
<?php /** * Copyright (c) NMS PRIME GmbH ("NMS PRIME Community Version") * and others – powered by CableLabs. 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: * *...
<?php namespace MailPoet\Cron\Workers\StatsNotifications; use Carbon\Carbon; use MailPoet\Models\Newsletter; use MailPoet\Models\ScheduledTask; use MailPoet\Models\Setting; use MailPoet\Models\StatsNotification; use MailPoet\Settings\SettingsController; class Scheduler { /** * How many hours after the newslett...
<?php /** * Модель для таблицы "da_object_parameters". * * The followings are the available columns in table 'da_object_parameters': * @property integer $id_object * @property integer $id_parameter * @property integer $id_parameter_type * @property integer $sequence * @property string $widget * @property stri...
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections b...
<html> <head> <link href="https://vjs.zencdn.net/7.11.4/video-js.css" rel="stylesheet" /> </head> <body> @yield('content') <script src="https://vjs.zencdn.net/7.11.4/video.min.js"></script> </body> </html>
<?php class WvWEndpointTest extends TestCase { public function test() { $endpoint = $this->api()->wvw(); $this->assertEndpointUrl( 'v2/wvw', $endpoint ); } public function testAbilityEndpoint() { $endpoint = $this->api()->wvw()->abilities(); $this->assertEndpointIsBulk( $...
<?php namespace App\Http\Requests; use App\Models\ProductSku; use Illuminate\Foundation\Http\FormRequest; //6.1 添加商品到购物车 新建 class AddCartRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * @return bool */ public function authorize(){ //return ...
<?php namespace Backpack\CRUD\app\Library\CrudPanel\Traits; use Illuminate\Foundation\Http\FormRequest; trait Validation { /** * Mark a FormRequest file as required for the current operation, in Settings. * Adds the required rules to an array for easy access. * * @param string $class Class th...
<?php namespace app\common\model; use think\Model; class User extends Model { //显示用户名 public static function showUsername($id) { $data = User::get(['id' => $id]); return $data ? $data->data['username'] : '游客'; } }
<?php include 'include/bar.php'; ?> <!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"> <meta name="description" content=""> <meta name="author" content=""> <t...
<?php namespace Vankosoft\CmsBundle\Form; use Vankosoft\ApplicationBundle\Form\AbstractForm; use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Componen...
<?php namespace App\Http\Controllers\Admin; use App\Models\Product; use App\Models\Category; use App\Models\Discount; use Illuminate\Support\Str; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\Feature; use Illuminate\Support\Facades\File; class ProductController extends Controller {...
<!doctype html> <html class="no-js" lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>NYMSA | Notas de Remision</title> <link rel="stylesheet" href="http://localhost/ads2/css/foundation.css" type="text/css" /> <script src="j...
<?php use App\User; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { factory(User::class, 10)->create()->each(function ($user) { $user->posts()->save(factory('A...
<?php /** @file * This file contains the definition of a memcache backend for a FortissimoRequestCache. */ namespace Fortissimo\Cache; /** * Provide access to one or more memcache servers acting as a caching cluster. * * This uses pecl/memcache for access to Memcached servers. This does not connect to servers * u...
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content="Load Advertisers Ads"> <meta name="author" content="Arshad_F"> <meta name="csrf-token" content="{{ csr...
<?php $__env->startSection('content'); ?><p>Brokers are expecting a clamour for shares in The Hut Group today as the firm begins trading in full on the stock market. </p> <p>Investment platforms such as Hargreaves Lansdown and AJ Bell have reported strong demand from customers for the shares, which began 'conditional'...
<div role="main" class="main"> <section class="page-top"> <div class="container"> <div class="row"> <div class="col-md-12"> <ul class="breadcrumb"> <li><a href="./">Home</a></li> <li class="active">Shiatsu</li> </ul> </div> </div> <div class="r...
<?php use yii\helpers\Html; use yii\helpers\Url; $url = Url::to('@web/', true); $parts = parse_url($url); if (isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW'])) { $parts['user'] = $_SERVER['PHP_AUTH_USER']; $parts['pass'] = $_SERVER['PHP_AUTH_PW']; } $url = http_build_url($parts); ?> <html> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLeadsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('leads', function ...
<?php ob_start(); session_start(); include '../netting/baglan.php'; //Belirli veriyi seçme işlemi $ayarsor=$db->prepare("SELECT * FROM ayar where ayar_id=:id"); $ayarsor->execute(array( 'id' => 0 )); $ayarcek=$ayarsor->fetch(PDO::FETCH_ASSOC); $kullanicisor=$db->prepare("SELECT * FROM kullanici where kullanici_m...
<?php declare(strict_types=1); namespace Liip\MetadataParser\TypeParser; use Doctrine\Common\Annotations\PhpParser; use Liip\MetadataParser\Exception\InvalidTypeException; use Liip\MetadataParser\Metadata\PropertyType; use Liip\MetadataParser\Metadata\PropertyTypeArray; use Liip\MetadataParser\Metadata\PropertyTypeC...
<?php use Illuminate\Database\Seeder; use App\Models\ArticleModel; class ArticleTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // $faker = Faker\Factory::create(); for ($i = 0; $i < 100; $i++) { ...
<?php namespace App\Http\Controllers; use App\form; use Illuminate\Http\Request; use Log; class FormController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return view('form'); } /** ...
<?php session_start(); include 'base.php'; conectarse(); $consulta = pg_query("select * from categoria"); echo "<select id=nombre_categoria>"; while ($row = pg_fetch_row($consulta)) { echo "<option value='$row[0]'>$row[1]</option>"; } echo "</select>"; ?>
<?php include ("../conx/cn.php"); $ejes = "SELECT nivel_eje.nivel, nivel_eje.unidad, nivel_eje.horas, nivel_eje.proposito, nivel_eje.leccion, nivel_eje.objetivos, nivel_eje.Ejes, total_art.inidcadores FROM nivel_eje , total_art WHERE nivel_eje.nivel = total_art.nivel AND nivel_eje.objetivos = total_art.objetivos AND n...
<? class RpcDeviceException extends Exception{ function __toString(){ return __CLASS__ . '=>'.$this->GetMessage(); } } abstract class RpcDevice { private $_io=null; private $_url=''; private $_boIsOnline=null; public function __construct($url, $defaultPort=0, $requestType='socks', $responseMode=''){ $...
<?php namespace App\Models; use CodeIgniter\Model; class Certificacion extends Model { protected $table = 'certificacion'; protected $primaryKey = 'id_certificacion'; protected $allowedFields = [ 'id', 'name', 'username', 'email', 'password', 'usertype',...
<?php /** * PHP Token Reflection * * Version 1.4.0 * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this library in the file LICENSE.md. * * @author Ondřej Nešpor * @author Jaroslav Hanslík */ namespace TokenReflection\Invalid; use TokenReflection, TokenReflection\...
<?php /** * Description of ComboTTag * * @author Tapvir Singh. */ namespace Src\TTags; use Src\ContainerTags\{TapvirTagContainer}; class ComboTTag extends TapvirTagContainer{ protected $parameters; protected $optionsData; protected $caption; protected $modifiers; protected $attribParameters; protected $c...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENS...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class groupsBooking extends Model { use HasFactory; protected $fillable = [ 'booking_id', 'group_id', 'group_part_id', 'lesson_date', 'code' ...
<?php namespace App\Http\Controllers\Gateway\instamojo; use App\Deposit; use App\GeneralSetting; use App\Http\Controllers\Gateway\PaymentController; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class ProcessController extends Controller { /* * Instamojo Gateway */ public stati...
@extends('layouts.app') @section('content') <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>Exam Fees</h1> </div> <div class="col-sm-6"> </div> </div> </div> </sectio...
<?php namespace Google\AdsApi\AdManager\v202111; /** * This file was generated from WSDL. DO NOT EDIT. */ class CdnConfigurationError extends \Google\AdsApi\AdManager\v202111\ApiError { /** * @var string $reason */ protected $reason = null; /** * @param string $fieldPath * @param ...
@extends('layouts.app') @section('content') <div id="explore"> <div class="text-center d-block d-sm-none" style="padding: 24px;"> @if( $page_title == 'Explorar Apartamentos') <div class="viewport-tabs-nav"> <a href="/explorar-apartamentos/renders" :class="{active:activeNav=='renders'}">Renders</a> ...
<?php namespace Concrete\Core\StyleCustomizer\Compiler; use Concrete\Core\Entity\Page\Theme\CustomSkin; use Concrete\Core\StyleCustomizer\Customizer\Customizer; use Concrete\Core\StyleCustomizer\Customizer\Type\TypeInterface; use Concrete\Core\StyleCustomizer\Normalizer\NormalizedVariableCollection; use Concrete\Core\...
@extends('layouts.app') @section('content') <!-- --> <script src="/js/jquery-3.1.1.min.js"></script> <script src="/js/jquery.mask.min.js"></script> <!-- --> <script src="/js/bootstrap-select.min.js"></script> <link href="/css/bootstrap-select.min.css" rel="stylesheet"> <script> function preencheTempoExecucao(val...
<?php namespace App\Http\Middleware; use BotDetectCaptcha\LaravelCaptcha\BotDetectLaravelCaptcha; use Closure; use Illuminate\Contracts\Routing\Middleware; class VerifyCaptcha implements Middleware { protected $config; protected $captchaObj; public function __construct($config) { $this->conf...
<?php namespace app\controller\admin; use app\BaseController; use app\orm\Column; use app\orm\Contents; use app\orm\User; use Doctrine\ORM\Query\Expr\Join; use Doctrine\ORM\Query\ResultSetMappingBuilder; use think\annotation\Route; class T extends BaseController { /** * @Route("/") */ function in...
<?php /* @gantry-admin/pages/configurations/configurations.html.twig */ class __TwigTemplate_2224b1103802a64491146123d1842d3cee0642c96a664ab3ada2debd9384313e extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->blocks = array( ...
<?php namespace App\Providers; use Laravel\Lumen\Providers\EventServiceProvider as ServiceProvider; class EventServiceProvider extends ServiceProvider { /** * The event listener mappings for the application. * * @var array */ protected $listen = [ 'App\B2c\Repositories\Events\Veri...
@extends('layouts.app') @section('script') <script src="https://cloud.tinymce.com/stable/tinymce.min.js?apiKey=yt4c5s5px656mcfoeugpsdwuzv0ptqo62r4o394melqwn44x"></script> <script> tinymce.init({ selector:'textarea', plugins:'image link autolink code advlist imagetools spellchecker media', automatic_uploads: tr...
<?php namespace Tests\Feature; use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Support\Facades\Http; use Tests\TestCase; class GravatarTest extends TestCase { use RefreshDatabase; /** @test */ public function user_ca...
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* fo...
<?php /** * CController class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CController manages a set of actions which deal with the corresponding user req...
<?php return array ( 'bot' => NULL, 'brand' => 'AP', 'client' => array ( 'type' => 'browser', 'name' => 'Chrome', 'short_name' => 'CH', 'version' => '80.0', 'engine' => 'Blink', 'engine_version' => '', ), 'device' => 0, 'model' => '', 'os' => array ( 'name' => 'Mac', ...
<!DOCTYPE html> <html> <head> <title>Membuat Laporan PDF Dengan DOMPDF Laravel</title> </head> <body> <style type="text/css"> table tr td, table tr th{ font-size: 9pt; } </style> <center> <h5>Laporan Artikel</h4> </center> <table class='table table-bordered'> <thead> <tr> <th>No</th> <th>Judul</th> <th>Isi</th> <th>Gam...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta name="Description" content="Enter your description here" /> <link rel="stylesheet" href="https://cdnjs.cl...
<?php namespace aop\request; /** * ALIPAY API: koubei.catering.pos.deskarea.sync request * * @author auto create * @since 1.0, 2019-01-07 20:51:15 */ class KoubeiCateringPosDeskareaSyncRequest { /** * 餐区信息同步 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalIn...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class UserTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (Blueprint...
<? $MESS["AUTH_FORGOT_PASSWORD_1"] = "If you forgot your password, enter login or E-Mail. Your account info will be sent to you by E-Mail."; $MESS["AUTH_GET_CHECK_STRING"] = "Get check string"; $MESS["AUTH_SEND"] = "Send"; $MESS["AUTH_AUTH"] = "Authorization"; $MESS["AUTH_LOGIN_EMAIL"] = "Login or E-mail"; $MESS["syste...
<div class="row" > <div class="col-sm-3"> <!--<div class='form-group'> {!! Form::label('select_group','Select Group:') !!} {!! Form::select('select_group',['1'=>'Group1','2'=>'Group2'],null,['class'=>'form-control']) !!} </div>--> <div class='form-group'> ...
@extends('layouts.main') @section('page_title') Seasons - @endsection @section('liveweire-search-component') <livewire:search-dropdown :controller="$controllerName"> @endsection @section('content') <div class="container mx-auto px-4 pt-16 mb-10"> <div class="popular-movies"> <h2 class="uppercase tracking-wi...
<?php use Cache\Factory\Adapter\Filesystem; use Cache\Factory\Config\Adapter\AdapterInterface as Config; use Cache\Factory\Config\Loader; class FilesystemAdapterTests extends PHPUnit_Framework_TestCase { /** * @var string Name of the adapter in the configuration */ protected $adapterName = 'local'; ...
<?php namespace Arna\EagleCms\Http\Controllers; use Carbon\Carbon; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Http\Request; use Illuminate\Routing\Controller as BaseController; use Illum...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 later version. // // Moodle ...
<?php //insert.php $connect = new PDO('mysql:host=localhost;ion_db', 'sample', 'password'); if(isset($_POST["title"])) { $query = " INSERT INTO tbl_schedule (title, start, end) VALUES (:title, :start, :end) "; $statement = $connect->prepare($query); $statement->execute( array( ':title' => $_POST['titl...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Product extends Model { use HasFactory; protected $fillable = [ 'name', 'price', 'image', 'category_id', ]; public function category() ...
<?php // Shop - My Messages include_once "../app/models/messageClass.php"; $message = new Message(); // Get logged in userID $userID = 0; if (isset($_SESSION["userLogin"])) { $userID = $_SESSION["userID"]; } // Get List of ACTIVE messages for Current User $messageList = $message->getListByUser($userID, 1); // Dis...
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-12 margin-tb"> <div class="pull-left"> <h2>Add New task</h2> </div> <div class="pull-right"> <a class="btn btn-primary" href="{{ route('projects.index') }}" t...
<?php /** * Created by PhpStorm. * User: tcalmighty * Date: 2015/4/28 * Time: 8:33 * @var $this Slim\View */ defined('BASE_ROOT') OR exit('No direct script access allowed'); ?> <header data-am-widget="header" class="am-header am-header-success"> <div class="am-header-left am-header-nav"> <a href="#lef...
@extends('layouts.app') @section('content') <div class="breadcrumbs"> <div class="container"> <ol class="breadcrumb breadcrumb1 animated wow slideInLeft" data-wow-delay=".5s"> <li><a href="index.html"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>Inicio</a></l...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit4c3fa2315ef33315f7b6865cfc81d30a::getLoader();
<?php if (!defined('BASEPATH')) { exit('No direct script access allowed'); } require APPPATH . '/libraries/BaseController.php'; class Members extends BaseController { public function __construct() { parent::__construct(); // $this->load->library('ftp'); // $this->load->library('ses...
@extends('master') @section('content') <div class="fullwidthbanner-container"> <div class="fullwidthbanner"> <div class="bannercontainer"> <div class="banner"> <ul> <!-- THE FIRST SLIDE --> @foreach($slide as $sl...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Arr; use App\Models\Animal; use App\Models\Note; class NoteController extends Controller { // public function show(Note $note) { $name = $note->animal->name; $note = Arr::add($note, 'name', $name); ...
<?php /** * MainWP bootstrap. * * Set default php.ini variables * check if load wp-load & wp-config exist & include them * else exit due to "Unsupported WordPress Setup". * * @package MainWP/Bootstrap */ // phpcs:disable -- required to support custom wp-config.php file location // set php.ini variables. @igno...
<?php declare(strict_types=1); namespace Killmails\Remap; class Re { /** * Remap `$key` and cast it to `bool`. * * @param string $key * * @return array */ public static function bool(string $key): array { return [$key, function ($data) { return (bool) $da...
<?php function get_notification($operation, $status) { $notification = ""; switch($status) { case 0 : $status = "gagal"; break; case 1 : $status = "berhasil"; break; case 2 : $status = "data tidak lengkap"; break; case 9 : $status = "sudah ada"; break; default : ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; use App\User; use Validator; use Laravel\Socialite\Facades\Socialite; use \App\Http\Controllers\ConfigController; class AuthController extends Controller { use Authentica...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateClientViewsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('client_view...
<?php // 公共助手函数 if (!function_exists('__')) { /** * 获取语言变量值 * @param string $name 语言变量名 * @param array $vars 动态变量值 * @param string $lang 语言 * @return mixed */ function __($name, $vars = [], $lang = '') { if (is_numeric($name) || !$name) { return $name; ...
<?php namespace App\Exports; use App\PurchaseOrderDelivery; use App\PurchaseOrderItems; use DB; use Maatwebsite\Excel\Concerns\FromArray; use Maatwebsite\Excel\Concerns\WithHeadings; class PurchaseOrderItemExport implements FromArray, WithHeadings { /** * @return \Illuminate\Support\Collection */ publi...
<?php namespace App\Models; use CodeIgniter\Model; class Mselection extends Model { protected $table = 'selection'; protected $primaryKey = 'id_selection'; protected $allowedFields = ["from_place_id","to_place_id","id_schedule"]; }
<?php declare(strict_types=1); namespace app\controllers\admin; use app\entities\plagiarism\PlagiarismRunAccess; use app\exceptions\DatabaseException; use app\exceptions\FileNotFoundException; use app\exceptions\FileWriteException; use app\exceptions\ValidationException; use app\libraries\response\ResponseInterface;...
<?php namespace App\Http\Controllers; use App\Models\Color; use Illuminate\Database\Eloquent\Model; use Illuminate\Http\Request; class ColorController extends Controller { public function index() { $data['colors'] = Color::all(); return view('admin.catalog.color.index',$data); } publ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; /** * 数据表字段模型 * * Date: 2018/10/28 * @author George * @package App\Models * @mixin \Eloquent */ class Field extends Model { /** * 定义不可批量填充字段 * * @var array * Date: 2018/9/21 * @author George */ protected $guarded = ['id']; }