text
stringlengths
2
1.03M
<?php /* Mustofa Firdaus 203040030 https://github.com/mustofa855/pw2021_203040030 Pertemuan 4 - 25 Februari 2021 Mempelajari mengenai sintaks PHP yaitu Function Date/Time */ ?> <?php // Date // Untuk menampilkan tanggal dengan format tertentu // echo date("l, d-M-Y"); // Time // UNIX Timestamp / EPOCH time // detik ...
<?php class Coinpayments_API { /** * The one instance of Coinpayments_API. * * @since 1.0.0. * * @var Coinpayments_API */ private static $instance; /** * The API Endpoint for CoinPayments * * @since 1.0.0. * * @var Coinpayments_API */ private static $api_endpoint; /** * The private key...
<!-- Tip 1: You can change the background color of the main header using: data-background-color="blue | purple | light-blue | green | orange | red" --> <div class="main-header" data-background-color="purple"> <!-- Logo Header --> <div class="logo-header"> <a href="<?= base_url(); ?>" clas...
<?php /* File: equip.php Coder: Levi Meahan Created: 09/04/2013 Revised: 04/22/2014 by Levi Meahan Purpose: Functions for equip where users can equip items and jutsu Algorithm: See master_plan.html */ function gear() { require("variables.php"); global $system; global $player; global $self_link; $player->...
@extends('adminTheme.default') @section('title', __('admin.general.edit').' '.__('admin.geo.state')) @section('content-header') <h1>@lang('admin.general.manage') @lang('admin.geo.state')</h1> <ol class="breadcrumb"> <li> <a href="#"> <i class="livicon" data-name="home" data...
<?php namespace EventCentric\Identifiers; use InvalidArgumentException; abstract class StringIdentifier implements Identifier { /** * @var string */ private $string; public function __construct($string) { self::guardString($string); $this->string = $string; } /** ...
<?php /* * Copyright 2010 Google Inc. * * 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 required by applicable law or agreed t...
<?php /** * Type to represent leaf node of 'OrderBy Tree', a leaf node * in OrderByTree represents last sub path segment of an orderby * path segment. * * PHP version 5.3 * * @category ODataPHPProd * @package ODataProducer_UriProcessor_QueryProcessor_OrderByParser * @author Microsoft Open Technologie...
<div class="main-panel"> <nav class="navbar navbar-transparent navbar-absolute"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> ...
<?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\Bridge\Doctrine\Validator\Constraints; use Doctrine\Common\Pers...
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; use OwenIt\Auditing\Contracts\Auditable; class GL_Category extends Model implements Auditable { use \OwenIt\Auditing\Auditable; protected $fillable = [ 'name', 'order', 'formula', 'additional_formula', 'category_id', 'report_type_id', ...
@extends('layouts.admin') @section('page-title','Edit Product') @section('content') <div class="rounded-lg bg-white shaddow-lg px-4 py-5"> <livewire:admin-product-edit :product="$product" /> </div> @endsection
<?php /* * Copyright 2019 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class MComentario_capitulo extends CI_Model { function lista($id) { $query = $this->db->query("SELECT * FROM `comentario_capitulo`INNER JOIN user ON user.id=comentario_capitulo.id_user WHERE id_capitulo='$id'" ); return $query->result();...
@extends('inicio2') @section('content') <div class="banner_bottom_w3ls_info"> <h3 class="agile_heading">pedidos</h3> <p>Aca prodremos agragar, eliminar, consultar y borr pedido</p> </div> </div> <div class="agile_services"> <div class="col-md-3 agile_services_img_wthree"> </div> <d...
@extends('layouts.app') @section('content') <div class="col-lg-6"> {!! Form::open(['route'=>['comentarios.update', $comentario->id ], 'method'=>'PUT']) !!} {!! Field::text('nombre', $comentario->nombre, ['placeholder'=>'nombre', 'label'=>'Nombre']) !!} {!! Field::textarea('descripcion', $comentario...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php use App\Http\Controllers\API\TambonController; use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can regi...
<?php class ET_Builder_Module_Fullwidth_Slider extends ET_Builder_Module { function init() { $this->name = esc_html__( 'Fullwidth Slider', 'et_builder' ); $this->slug = 'et_pb_fullwidth_slider'; $this->fb_support = true; $this->fullwidth = true; $this->child_slug = 'et_...
@extends('layouts.page') @section('content') {!! $page->field('page-body') !!} @endsection @section('scripts') @parent @endsection @section('head_scripts') @parent @endsection
<?php abstract class Kwf_Update { protected $_tags = array(); protected $_actions = array(); protected $_legacyRevision; protected $_legacyName; protected $_uniqueName; protected $_progressBar = null; public function __construct($uniqueName) { if (preg_match('#(.*?)[0-9]+Legac...
<?php namespace Home\Model; use Think\Model\ViewModel; class AnswViewModel extends ViewModel{ public $viewFields = array( 'Answ'=>array('ans_id','ans_msg','ans_date','rec_id','send_id'), 'User'=>array('usr_id','usr_name','_on'=>'Answ.send_id=User.usr_id') ); }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateImagenesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('imagenes', fun...
<?php namespace app\controllers; use Yii; use app\models\Product; use yii\data\ActiveDataProvider; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\web\UploadedFile; use yii\web\Response; use Da\QrCode\QrCode; /** * ProductController implements the CRUD actions for Prod...
<?php /** * CoolMS2 jQuery Module (http://www.coolms.com/) * * @link http://github.com/coolms/jquery for the canonical source repository * @copyright Copyright (c) 2006-2015 Altgraphic, ALC (http://www.altgraphic.com) * @license http://www.coolms.com/license/new-bsd New BSD License * @author Dmitry Pop...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\ResourceCollection; class CursoCollection extends ResourceCollection { public $collects = 'App\Http\Resources\CursoResource'; public function toArray($request) { return [ 'ok' => true, 'message' => 'Cu...
<?php /** * @var $this yii\web\View * @var $model app\models\Apartments * */ use yii\bootstrap\Modal; ?> <div class="row" style="border: 1px solid #0f0f0f"> <div class="col-md-2">Номер квартиры - <?= $model->number_apartment ?></div> <div class="col-md-2">Этаж - <?= $model->floor ?></div> <div class=...
<?php namespace sisActiv\Providers; use Illuminate\Support\Facades\Gate; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array */ protected $poli...
<?php namespace TYPO3\Flow\Tests\Unit\Cache\Frontend; /* * This file is part of the TYPO3.Flow package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this ...
<!-- <?=$viewsent->receiver_type?> <br> <?php if($viewsent->receiver_type == 'organization'){ $receivers = explode(',',$viewsent->receiver_id); print_r($receivers); ?> <?php } ?><br> <?=$viewsent->created_at?><br> <?=$viewsent->subject?><br> <?=$viewsent->message?><br> --> <!-- <?= $viewsent->receiver_...
@extends('layouts.default') @section('contentheader_title') <i class='fa fa-group'></i> Permissions @endsection @section('content') <div class="box"> <div class="box-body padding"> <div class="row"> <div class="col-md-8"></div> <div class="col-md-4" style="text-align:right;padding-bottom:20px;"> ...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php namespace App\Http\Resources\Frontend\color; use Illuminate\Http\Resources\Json\Resource; class ColorCollection extends Resource { /** * Transform the resource collection into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($r...
<?php /** * @see https://github.com/amphp/artax/blob/master/examples/6-parallel-requests.php */ include 'vendor/autoload.php'; use Async\Coroutine\Exceptions\Panicking; function lapse() { $i = 0; while(true) { $i++; print $i.'.lapse '; yield; } } function main() { yield \awa...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Covid19 extends Model { //ชื่อตารางในฐานข้อมูล protected $table = "covid19s"; //ชื่อคอลัมน์ในฐานข้อมูลที่อนุญาติให้แก้ไขข้อมูล protected $fillable = ["date","country","total","active","death","recovered","total_in_1m","remark"]; //Primary Ke...
<?php namespace Tacone\Coffee\Base; trait EntriesAsPropsTrait { public function __get($name) { return $this->offsetGet($name); } public function __set($name, $value) { return $this->offsetSet($name, $value); } public function __isset($name) { return $this->off...
@extends('layouts.panel') @section('content') <div class="card shadow"> <div class="card-header border-0"> <div class="row align-items-center"> <div class="col"> <h3 class="mb-0">Médicos</h3> </div> <div class="col text-right"> <a href="{{ url('doctors/create...
<?php namespace Limewell\LaravelRestify\Http\Controllers; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Routing\Controller as BaseController; class Controller extends BaseController { ...
<?php /** * Author: https://github.com/davinder17s * Email: davinder17s@gmail.com * Repository: https://github.com/davinder17s/codeigniter-middleware */ class AdminAuthMiddleware { protected $controller; protected $ci; public $roles = array(); public function __construct($controller, $ci) { ...
<?php namespace QuickBooksOnline\API\Core\HttpClients; use QuickBooksOnline\API\Exception\SdkException; /** * Class BaseCurl * * A Http Client using PHP cURL extension to send HTTP/HTTPS request to QuickBooks Online * @package QuickBooksOnline * */ class BaseCurl{ /* The cURL extension of PHP */ private $c...
<?php declare(strict_types=1); namespace Rector\DeadCode\ValueObject; use PhpParser\Node; use PhpParser\Node\Expr\Variable; use Rector\Core\Exception\ShouldNotHappenException; use Rector\NodeTypeResolver\Node\AttributeKey; final class VariableNodeUse { /** * @var string */ public const TYPE_USE = ...
<?php /** * stockfoto-nik cms * * User module translate en_Us * * @author Niklaus Höpfner <editor@nik-web.net> * @link https://github.com/nik-web/stockfoto-nik * @license http://opensource.org/licenses/MIT The MIT License (MIT) * @version 1.0.0 * @since 1.0.0 */ namespace User; $loca...
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
<?php return [ 'models' => [ 'roles' => App\Role::class ], /* | -------------------------------------- | Assign configuration menu | -------------------------------------- */ 'admin_prefix_link' => 'admin', 'auth_m...
{!! Form::open(array('route' => 'route.name', 'method' => 'POST')) !!} <ul> <li> {!! Form::label('festival_id', 'Festival_id:') !!} {!! Form::text('festival_id') !!} </li> <li> {!! Form::label('event_day_id', 'Event_day_id:') !!} {!! Form::text('event_day_id') !!} </li> <li> {!! Form::label('p...
@extends('admin.layout.index') @section('content') <div id="page-wrapper"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Tin tức <small>Sửa</small> </h1> </div> <!-- /.c...
<?php namespace App\Http\Controllers; use App\Events\LikeEvent; use App\Events\PostPostedEvent; use App\Events\RetweetEvent; use App\Events\UnlikeEvent; use App\Http\Resources\PostLikeResource; use App\Models\Post; use App\Models\User; use App\Models\PostLike; use App\Models\Retweet; use App\Models\PostReply; use Ill...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateInsumosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('insumos', funct...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AlterAddressAddUserId extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('addresses', fun...
<?php /** * Handles requests for creating or editing actions. * * @package silverstripe-advancedworkflow */ class WorkflowFieldActionController extends RequestHandler { public static $url_handlers = array( 'new/$Class' => 'handleAdd', 'item/$ID' => 'handleItem' ); public static $allowed_actions = array( ...
<?php namespace NZ\PlatformBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class UstensileType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $options...
<?php /*~ class.phpmailer.php .---------------------------------------------------------------------------. | Software: PHPMailer - PHP email class | | Version: 5.2.6 | | Site: https://github.com/PHPMailer/PHPMailer/ ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $user common\models\User */ $verifyLink = \Yii::$app->params['baseUrl'] . '/site/verify?1=' . $user->auth_key; ?> Hello, Thanks for signing up to <?= \Yii::$app->params['projectName'] ?> To complete the sign up process please Click here...
<!DOCTYPE html> <html lang="en"> <head> @include('/headermeta') <!-- bootstrap-wysiwyg --> <link href="{{ asset("assets/gentelella/vendors/google-code-prettify/bin/prettify.min.css") }}" rel="stylesheet"> <!-- Select2 --> <link href="{{ asset("assets/gentelella/vendors/select2/dist/css/select2....
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Support\Facades\DB; use Illuminate\Database\Eloquent\Model; // use Laravel\Scout\Searchable; class Anggota extends Model { use HasFactory; protected $table = 'anggota'; protected $guarded = []; public...
<?php declare(strict_types = 1); return new \PHPStan\Reflection\Native\NativeFunctionReflection( 'trader_wma', [ new \PHPStan\Reflection\Native\NativeParameterReflection( 'real', false, PHPStan\Type\ArrayType::__set_state(array( 'keyType' => PHPStan\Type\MixedType::__set_state(array( 'isEx...
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Session; use App\SvLogAdmin; use App\Product; use Carbon\Carbon; use App\detallVenta; use Excel; use DB; class InventarioController extends Controller { /** * Display a listing of the resource. ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class ApiTokenController extends Controller { public function __construct() { $this->middleware('auth.admin_superAdmin'); } public function index() { $d = array(); $d['recs'] = \App\ApiToken::getAll(); re...
@extends('admin.layouts.master') @section('content') <div class="row"> <div class="col-md-12"> @if(Session::has('m')) <?php $a = []; $a = session()->pull('m'); ?> <div class="alert alert-{{$a[0]}}"> {{$a[1]}} </div> ...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Product; use App\Models\Section; use App\Models\Category; use App\Models\Brand; use App\Models\ProductsAttribute; use App\Models\ProductsImage; use Session; use Image; class ProductsController...
<?php include('menu.php'); ?> <!--/.sidebar--> <div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main"> <div class="row"> <ol class="breadcrumb"> <li><a href="index.php"> <em class="fa fa-home"></em> </a></li> <li class="active">Tambah Iklan</li> </ol> </div><!--/.row--> ...
<?php namespace App\Http\Controllers; use App\Http\Requests\UserAddressRequest; use Illuminate\Http\Request; use App\Models\UserAddress; class UserAddressesController extends Controller { public function index(Request $request) { return view('user_addresses.index', ['addresses' => $request->user()->a...
<?php namespace App\Http\Controllers; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Hash; class UserManagementController extends Controller { public function index(){ $users = User::all(); return view('pages.user.index', com...
<base href="http://hq.vatsimwa.com/" /> <?php include '../../../header.php';?> <section class="content"> <div class="error-page"> <div class="error-content"> <h3><i class="fa fa-warning text-danger"></i> Oops! Your aren't a resident or visitor of any vACC in West Asia Division .</h3> ...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Slb\V20140515\Models\DescribeHealthStatusResponseBody; use AlibabaCloud\SDK\Slb\V20140515\Models\DescribeHealthStatusResponseBody\backendServers\backendServer; use AlibabaCloud\Tea\Model; class backendServers extends Model { ...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\FunctionalTestingFramework\ObjectManager\Definition; /** * Class Runtime */ class Runtime implements \Magento\FunctionalTestingFramework\ObjectManager\DefinitionInterface { /** * Defini...
<?php namespace App\Http\Controllers; use App\CentralLogics\Helpers; use App\Model\BusinessSetting; use App\Model\Order; use Illuminate\Http\Request; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\DB; class UpdateController extends Controller { public function update_software_index() ...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { // factory(App\User::class, 3)->create()->each(function($u) { // $u->questions() // ->saveMany...
<?php use App\Http\Controllers\HomeController; use App\Http\Controllers\ProductController; use App\Http\Controllers\LineItemController; use App\Http\Controllers\CartController; /* |-------------------------------------------------------------------------- | Web Routes |------------------------------------------------...
<script> var listener = new window.keypress.Listener(); listener.simple_combo("f9", function() { console.log('f9') livewire.emit('saveSale') }) listener.simple_combo("f8", function() { document.getElementById('cash').value = '' document.getElementById('cash').focus() ...
@extends('layouts.main') @section('content') <div class="movie-info border-b border-gray-800"> <div class="container mx-auto px-4 py-16 flex flex-col md:flex-row"> <div class="flex-none"> <img src="{{ $movie['poster_path'] }}" alt="parasite" class="w-64 lg:w-96"> </di...
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $config = [ 'id' => 'basic', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset', ], 'components' => [ ...
<?php declare (strict_types=1); namespace RectorPrefix20210824\Helmich\TypoScriptParser\Parser\AST; final class MultilineComment extends \Helmich\TypoScriptParser\Parser\AST\Statement { /** * @var string */ public $comment; public function __construct(string $comment, int $sourceLine) { ...
<?php namespace app\Http\Controllers; use app\Http\Controllers\Controller; use Illuminate\Routing\Controller as BaseController; use Illuminate\Http\Request; class HomeController extends BaseController { /** * Create a new controller instance. * 認証画面へ遷移 * @return void */ public function __...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateOrdersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('orders', functio...
<?php /** * @package Norma HTML */ $response = array('error'=>''); if (isset($_POST['user_name'])) { $name = $_POST['user_name']; $email = $_POST['user_email']; $msg = $_POST['user_msg']; $mailAddress = 'yourmail@mail.com'; $subject = 'Subject'; $msg = "Name: $name\r\nE-mail: $email\r\nMessage: $msg"; ...
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class WxUser extends Model { protected $table='p_wx_users'; protected $primaryKey = 'uid'; }
@extends('backend.layouts.app') @section('content') <!-- Striped Rows --> <div class="row clearfix"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="card"> <div class="header"> <h2> Products <a href="/product-add" class="pul...
@extends('layouts.admin') @section('content') <div class="card bg-blueGray-100"> <div class="card-header"> <div class="card-header-container"> <h6 class="card-title"> {{ trans('global.view') }} {{ trans('cruds.poi.title_singular') }}: {{ trans('cr...
<?php namespace App\Http\Controllers; use App\User; use App\Dolazak; use App\Predavanje; use Illuminate\Support\Facades\Auth; use Illuminate\Http\Request; class DolazakController extends Controller { public function __construct() { $this->middleware('auth'); } public function predavanja...
<?php namespace Scheb\TwoFactorBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; class Configuration implements ConfigurationInterface { public function getConfigTreeBuilder() { $treeBuilder = new T...
<?php namespace App\Http\Controllers; use App\product; use Illuminate\Http\Request; class ProductController extends Controller { public function index(){ $products = product::with(['category','images'])->paginate(16); $currencycode = env("CURRENCY_CODE", "$"); return $products; } }
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\QuickTime; use JMS\Serializer\Annotation\ExclusionPol...
<?php namespace ConstructionJobs\GoogleGeocoder\Exceptions; class NoResult extends GeocodingFailure { }
<?php namespace app\home\controller; /** * ============================================================================ * ============================================================================ * 控制器 */ class Sellergoodsclass extends BaseSeller { public function _initialize() { parent::_in...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatSHOPTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('shop', function(Blu...
<?php //上传类 class Upload{ public function up(){ echo '上传'; } } ?>
<div class="panel-display omega-grid omega-16-twocol-8-8-bricks" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>> <div class="panel-panel grid-16"> <div class="inside"><?php print $content['top']; ?></div> </div> <div class="panel-panel grid-8"> <div class="inside"><?php print $content['left_abo...
<?php namespace Jenssegers\Mongodb\Eloquent; use Illuminate\Database\Eloquent\Builder as EloquentBuilder; use Jenssegers\Mongodb\Helpers\QueriesRelationships; use MongoDB\Driver\Cursor; use MongoDB\Model\BSONDocument; class Builder extends EloquentBuilder { use QueriesRelationships; /** * The methods t...
<?php namespace sistemaVentasUsbix\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Redirect; use sistemaVentasUsbix\Http\Requests\UsuarioFormRequest; use DB; use sistemaVentasUsbix\User; class UsuarioController extends Controller { //contructor public function __construct() ...
<?php return array ( 'PS' => '', 'AF' => 'Afuganistani', 'AR' => 'Ajentina', 'AX' => 'Åland Islands', 'AL' => 'Albania', 'DZ' => 'Aljeria', 'US' => 'Amerika', 'AD' => 'Andora', 'AO' => 'Angola', 'AI' => 'Anguila', 'AQ' => 'Antarctica', 'AG' => 'Antigua ne Barbuda', 'AM' => 'Armenia', 'AW' =>...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Bundle\VariableProductBundle\Doctrine\ORM; use Sylius\Bundle\ResourceBundle\Doctrine...
<?php namespace AppBundle\Controller; use Symfony\Component\Form\Extension\Core\Type\DateType; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class criteria_model extends CI_Controller { function __construct() { parent::__construct(); } function getSearchResult($params = NULL) { $this->db->select("od.Doc_Refer_Ext"); $this->db->select("od.Doc...
@extends('layouts.app') @section('head') <title>{{ trans('messages.search') }}</title> <script src="{{URL::asset('js/jquery-2.1.4.min.js')}}" type="text/javascript"></script> <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> <link href="{{URL::asset('css/pestanyes.css')}}" rel="styles...
<div id='contentpane'> <div id ='leftborder'></div> <div id='content'> <div id ="left" > <div id="leftlisttitle" ><h2>Filled Choice</h2></div> <div id='leflist'> <?php echo "<select size='7' id='preference' >"; $rank=1; foreach ($...
<?php require_once '../../config.inc.php'; require_once INSTALL_DIR.'/inc/classes/classApplication.inc.php'; $Application = new Application(); session_start(); if (!(isset($_SESSION[APPLICATION]))) { echo "<script type='text/javascript'>document.location.replace('".BASEDIR."');</script>"; exit; } // définit...
<?php namespace App\Exceptions; use Exception; use Tower\Response; class AuthenticationException extends Exception { public function handle(): Response { return response()->json([ 'message' => 'Unauthorized' ] , Response::HTTP_UNAUTHORIZED); } }
<?php namespace Bolt\Provider; use Bolt\Common\Deprecated; use Bolt\Events\ControllerEvents; use Bolt\Events\MountEvent; use Bolt\Filesystem\Exception\DefaultImageNotFoundException; use Bolt\Filesystem\Exception\FileNotFoundException; use Bolt\Filesystem\Handler\ImageInterface; use Bolt\Filesystem\Matcher; use Bolt\T...
<?php return array ( 'AED' => array ( 'name' => 'Dírham De Los Emiratos Árabes Unidos', ), 'AFN' => array ( 'name' => 'Afgani Afgano', ), 'ALL' => array ( 'name' => 'Lek Albanés', ), 'AMD' => array ( 'name' => 'Dram Armenio', ), 'ANG' => array ( 'name' => 'Florín De ...