text
stringlengths
2
1.03M
<div id="layoutSidenav_content"> <main> <div class="container-fluid px-5"> <div class="card mb-4 mt-5"> <div class="card-header"> <center> <h3>Setting Account </h3> </center> </div> <div class="card-body"> <div class="card" style="box-shadow: red;"> <div class="card...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Post; use Illuminate\Support\Facades\DB; class PostController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { //fetching ...
<?php /** * ItemIdentifier * * PHP version 7.2 * * @category Class * @package SellingPartnerApi */ /** * Selling Partner API for Catalog Items * * The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, see the [Catalog I...
<?php namespace Modules\Banco\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; class Movimentacao extends Model { protected $table = "movimentacoes"; protected $fillable = [ 'valor', 'tipo', 'conta_id', ]; }
@extends('partial.layout') @extends('partial.header') @extends('partial.sidebar') @extends('partial.navbar') @extends('partial.footer') @section('content') <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> Paygrade wise basic salary information ...
@extends('layouts.master') @section('content') {{-- message --}} {!! Toastr::message() !!} <!-- Sidebar --> <div class="sidebar" id="sidebar"> <div class="sidebar-inner slimscroll"> <div id="sidebar-menu" class="sidebar-menu"> <ul> <li class="menu-...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Mail; use Log; class EmailTemplate extends Model { /** * The attributes that are mass assignable. * * @var string[] */ protected $fillable = [ 'email_name', 'email_subject', 'email_ke...
<?php namespace App\Models\Admin; use Illuminate\Database\Eloquent\Model; class StoreBraspag extends Model { protected $table = 'stores_braspag'; protected $primaryKey = 'id_number'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ ...
<?php /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
<?php declare(strict_types=1); namespace Pollen\WpDb\Eloquent; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Pollen\WpDb\WpDbProxy; /** * @property int $object_id * @property int $term_taxonomy_id * @property int $term_order * @property Post $post * @property TermTaxonomy $taxonomy */ class TermRe...
#!/usr/bin/env php <?php /** * @file * drush is a PHP script implementing a command line shell for Drupal. * * @requires PHP CLI 5.4.5, or newer. */ require __DIR__ . '/includes/preflight.inc'; exit(drush_main());
<!DOCTYPE HTML> <html> <head> <title>Generic - Snapshot by TEMPLATED</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="assets/css/main.css" /> </head> <body> <div class="page-wrap"> <!-- Nav --> <nav id="nav"> ...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\bootstrap\ActiveForm; use yii\helpers\Url; /* @var $this yii\web\View */ /* @var $model app\models\UserProject */ /* @var $form yii\widgets\ActiveForm */ ?> <h3><?= Yii::t('app', 'User projects') ?></h3> <?php echo GridView::widget([ 'dataProvider' => $...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, maxi...
<?php namespace App\Events; use Carbon\Carbon; use Illuminate\Queue\SerializesModels; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Support\Str; class NewNotification implements ShouldBroadcast { ...
<div class="m-form m-form--label-align-right m--margin-top-20 m--margin-bottom-30 form-search"> <div class="row align-items-center"> <div class="col-xl-10 order-2 order-xl-1"> <div class="row"> @foreach($fields as $key => $value) <?php ...
<?php namespace App\Http\Models; use \Illuminate\Database\Eloquent\Model; /** * Created by PhpStorm. * User: mahmoud * Date: 6/16/2017 * Time: 9:10 AM */ class Brand extends Model { protected $table = 'tblbrand'; protected $primaryKey = 'BrandID'; protected $fillable = [ 'BarndName', ...
<?php namespace RectorPrefix20210608; if (\class_exists('t3lib_tree_Renderer_Abstract')) { return; } class t3lib_tree_Renderer_Abstract { } \class_alias('t3lib_tree_Renderer_Abstract', 't3lib_tree_Renderer_Abstract', \false);
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } $atts = vc_map_get_attributes( $this->getShortcode(), $atts ); extract( $atts ); $accordions = (array) vc_param_group_parse_atts( $accordions ); $rid = uniqid( 'insight-accordion-' ); if ( count( $accordions ) > 0 ) { ?> <div class="insight-accordion <?...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php', 'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php', 'App\\Http\\Controllers\\Aut...
<?php /** * League.Csv (https://csv.thephpleague.com). * * @author Ignace Nyamagana Butera <nyamsprod@gmail.com> * @license https://github.com/thephpleague/csv/blob/master/LICENSE (MIT License) * @version 9.1.5 * @link https://github.com/thephpleague/csv * * For the full copyright and license information, ...
<?php /** * The MIT License (MIT) * * Copyright (c) 2014 Kerem Gunes * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * t...
<?php class Credit extends CI_Controller { function __construct() { parent::__construct(); if ($this->session->userdata('admin')) { } else if ($this->session->userdata('admin22')) { } else if ($this->session->userdata('bm33')) { } else if ($this->session->userdata('pm44')) { } else if ($this->session->us...
<?php session_start(); require("connection.php"); if($_SERVER['REQUEST_METHOD']=='POST') { $exist=false; $name = basename($_FILES['photo']['name']); $fileNameNew =$_SESSION['id'].time().".jpg"; $path = 'profile_img/' . $fileNameNew; ...
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark"> <a class="navbar-brand" href="">Sistem Pengaduan</a> <button class="btn btn-link btn-sm order-1 order-lg-0" id="sidebarToggle" href="#"><i class="fas fa-bars"></i> </button> <!-- Navbar--> <ul class="navbar-nav d-none d-md-inline-block form-inline ml...
<?php require_once 'PHPUnit/Framework.php'; require_once 'PHPUnit/TextUI/TestRunner.php'; require_once 'PHPUnit/Util/Log/JSON.php'; class sfPhpunitActions extends sfActions { public function preExecute() { $this->setLayout(false); } public function executeIndex() { $loader = new sfPhpunitProjectTestLo...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Auth extends CI_Controller { public function __construct() { parent::__construct(); } public function index() { if ($this->session->userdata('id_user') != '') { redirect('admin/dashboard'); ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class SaveNewsLetter extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('newsLetter', functi...
<?php namespace App\Http\Controllers; use App\Http\Controllers\Controller; use DB; use App\Http\Requests; use Illuminate\Http\Request; use Illuminate\Support\Facades\Redirect; use Illuminate\Support\Facades\Auth; use App\User; use App\Appointment; use App\Expertise; use App\Call; use Input; use Session; use Response;...
<?php namespace Dvsa\OlcsTest\Api\Service\Permits\Bilateral\Metadata; use DateTime; use Dvsa\Olcs\Api\Domain\Repository\IrhpPermitStock as IrhpPermitStockRepository; use Dvsa\Olcs\Api\Entity\ContactDetails\Country; use Dvsa\Olcs\Api\Entity\Permits\IrhpPermitApplication; use Dvsa\Olcs\Api\Service\Common\CurrentDateTim...
<?php /* * This file is part of the Easeava package. * * (c) Easeava <tthd@163.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace EaseBaidu\Service\SmartTP\Base; use EaseBaidu\Kernel\BaseClient; class Client extends...
<x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('Generar Balance de comprobacion') }} </h2> </x-slot> <div class="py-12"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <div class="bg-white overflow-...
@if($users->isEmpty()) <h1>No Content Available.</h1> @else <h1>Reports</h1> <hr/> <h2>Member List</h2> <div class="table-responsive"> <table id="user-table" class="table table-hover"> <thead> <tr> <th>#</th> <th>Username</th> ...
<?php namespace TecSecret\BrazilCustomerAttributes\Model\Magento\Quote; /** * * Copy street prefix from checkout shipping address to customer/order address * * NOTICE OF LICENSE * * @category SystemCode * @package Systemcode_BrazilCustomerAttributes * @author Eduardo Diogo Dias <contato@systemcode.com...
<?php namespace Spinen\ConnectWise\Models\v2018_6\Sales; use Carbon\Carbon; use Spinen\ConnectWise\Support\Model; /** * Class OrderStatusEmailTemplateReference Version v2018_6 * * Model for OrderStatusEmailTemplateReference * * @property Metadata $_info * @property integer $id * @property string $name */ cla...
<!doctype html> <!--[if lte IE 9]> <html class="lte-ie9" lang="en"> <![endif]--> <!--[if gt IE 9]><!--> <html lang="en"> <!--<![endif]--> <head> <meta charset="UTF-8"> <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> ...
<!DOCTYPE html> <html> <head> <title>DB Logs</title> <link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css"> <style> html, body { height: 100%; } body { margin: 0; p...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Promo extends Model { use SoftDeletes; protected $table = "promo"; protected $fillable = ['nama_promo', 'stock_promo', 'waktu_promo', 'gambar']; }
<?php namespace PlacetoPay\Payments\Logger; use Monolog\Logger as CustomLogger; /** * Class Logger. */ class Logger extends CustomLogger { }
<?php namespace MyTask\AccessControls\Repositories\Contracts; use Czim\Repository\Contracts\BaseRepositoryInterface; interface PermissionRepositoryInterface extends BaseRepositoryInterface { }
<?php namespace App\Http\Controllers\Website; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Model\Logo; use App\Model\Slider; class PageController extends Controller { public function index() { return view('auth.login'); } }
<?php namespace app\controllers; use Yii; use app\models\Availability; use app\models\AvailabilitySearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * AvailabilityController implements the CRUD actions for Availability model. */ class AvailabilityController extends C...
<?php namespace Muebleria\Http\Controllers\Auth; use Muebleria\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; class ResetPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |--...
<?php namespace app\common\model; use think\Model; class Sku extends Model { protected $table = 'goods_sku'; public static function getAttrLists($goods_id) { $attr = self::field('attribute')->where('goods_id',$goods_id)->select(); // $attr = $attr->toArray(); $attrList = []; ...
<?php session_start(); if( empty( $_SESSION['usuario_comedor'] ) ): echo "<h1 style='text-align:center;color: #af4040;position: absolute;top: 40%;left: 50%;transform: translate(-50%, -50%) skewX(15deg);font-size: 60px;'>Acceso denegado!!</h1>"; http_response_code(403); exit; endif; define('KEY', 'JACE'); requir...
@extends('layouts.app') @push('css') <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css"> @endpush @section('title') TAMBAH DATA @endsection @section('content') <br /> <div class="row"> <div class="col-12"> <a href="/admin/cuti" class="btn btn-sm btn-secondary...
@extends('layouts.app') @section('botones') <a href="{{ route('videogames.index') }}" class="btn btn-primary mr-2">Regresar</a> @endsection @section('content') <h2 class="text-center mb-3">Nuevo videojuego</h2> <div class="row justify-content-center mb-5"> <div class="col-md-8"> <form action="{{ route('vi...
<script> $(document).ready(function() { const form = document.getElementById('editUserForm') const editUserForm = $('#editUserForm').formValidation({ fields: { name: { validators: { notEmpty: { message: 'Nama Jabatan harus diisi' ...
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Twig\Loader; /** * Empty interface for Twig 1.x compatibility. * * @deprecated since Twig 2.7, to be rem...
<?php $catCount = $mysql->rowCount("news_category",''); $newsCount = $mysql->rowCount("news",''); $authorCount = $mysql->rowCount("author",''); ?> <div class="mainbox-title">Durum Paneli</div> <br /> <table id="" width="100%"> <tr> <td> <div class="statistics-box"> <h2>Haber Bilg...
<!-- DataTales Example --> <div class="card shadow mb-4"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary">DataTables Paramedis</h6> </div> <div class="card-body"> <div class="table-responsive"> <?php...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Form extends Model { use HasFactory; protected $fillable = ['name','email','job','phone','company','website']; }
<?php /** * File containing the {@see Mailcode_Translator_Syntax_ApacheVelocity_ShowDate} class. * * @package Mailcode * @subpackage Translator * @see Mailcode_Translator_Syntax_ApacheVelocity_ShowDate */ declare(strict_types=1); namespace Mailcode; use AppUtils\ConvertHelper; /** * Translates the "ShowDate"...
<?php error_reporting(0); session_start(); if(!isset($_SESSION['Username'])) { header('location:index.php'); } if ( isset($_GET['result']) && $_GET['result'] == 11 ) { echo "<span style='color:#FF0000;'>Error:Password And Conform Password aren't Match </span>"; } if ( isset($_GET['result']) && $_GE...
<?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 declare(strict_types=1); namespace Symplify\CodingStandard\TokenRunner\Analyzer\FixerAnalyzer; use PhpCsFixer\Tokenizer\Token; use PhpCsFixer\Tokenizer\Tokens; final class CallAnalyzer { public function isMethodCall(Tokens $tokens, int $bracketPosition): bool { $objectToken = new Token([T_OBJE...
<?php namespace shop\forms\auth; use yii\base\Model; class ResetPasswordForm extends Model { public $password; public function rules() { return [ ['password', 'required'], ['password', 'string', 'min' => 6], ]; } }
<?php use Illuminate\Database\Seeder; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('users')->insert([ 'name' => 'Luiz Junior', 'email' => 'luiz.junior', 'password'...
<p>{{ $data['subject'] }}</p> <p>{{ $data['email'] }}</p> <p>{{ $data['message'] }}</p>
<?php //Main loader for buddypress /** * Events Manager component for BuddyPress * @author marcus * @since 5.0 */ class BP_EM_Component extends BP_Component { function __construct() { global $bp; parent::start('events', __('Events', 'dbem'), EM_DIR); $this->includes(); //TODO make BP component optional ...
<?php /** * Copyright 2021 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
@extends('layouts.app') @section('content') <div class="container" id="app"> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="{{ route('index') }}">@lang('site::messages.index')</a> </li> <li class="breadcrumb-item"> <a href="...
<?php class PlanetsController extends UniverseController{ function index(){ $this->render_template = false; } function controller_state(){ } function greeting(){ } }
<?php namespace Adriatic\PHPAkademija\DesignPattern\State; class Standing implements State { private $character; public function __construct(GameCharacter $character) { $this->character = $character; } public function stop() : string { return 'Već sam stao'; } public...
<?php declare(strict_types=1); namespace App\VueComponent; use App\Entity\Repository\SettingsRepository; use App\Enums\GlobalPermissions; use App\Http\ServerRequest; use App\Radio\Adapters; use App\Radio\Enums\FrontendAdapters; use DateTime; use DateTimeZone; use Symfony\Component\Intl\Countries; class StationFormC...
<?php namespace App\Http\Controllers; use App\Models\Articulo; use Illuminate\Http\Request; class ArticuloController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return Articulo::get(); } ...
<?php /** * Template Name: Contact Page Template * * Displays the Contact Page Template of the theme. * * @package ThemeGrill * @subpackage ColorMag * @since ColorMag 1.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } get_header(); /** * Hook: colormag_before_body_content....
<?php require_once(__DIR__ . '/../includes.php'); $users = array(); $month = getSettingsProp('school_month_end'); if(!is_null($month) && $month != '' && date('F') == $month && date('Y-m-t') == date('Y-m-d')) { $users = FrcPortal\User::where('user_type','Student')->whereNotNull('grad_year')->where('grad_year',date('Y'...
<?php /** * SpecialModelName * <<<<<<< HEAD * PHP version 7.2 ======= * PHP version 7.1 >>>>>>> ooof * * @category Class * @package OpenAPI\Client * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * OpenAPI Petstore * * This spec is mainly for testing Petstore server an...
<?php namespace App\Http\Controllers; use App\Todo; use Illuminate\Http\Request; class TodoController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return response(Todo::latest()->get(), 200); ...
<?php namespace RcmUser\User; use RcmUser\User\Entity\UserInterface; /** * Class Result * * Result * * PHP version 5 * * @category Reliv * @package RcmUser\User * @author James Jervis <jjervis@relivinc.com> * @copyright 2014 Reliv International * @license License.txt New BSD License * @version ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Home extends MY_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this controll...
<?php class GmsController extends \BaseController { public function change_date_format() { $projects = Project::all(); foreach($projects as $project) { if ($project->start_date != '') { $new_start_date = date("Y-m-d", strtotime($project->start_date)); Project::where('id', '=', $project->id)->update(ar...
<?php namespace app\controllers; use Yii; use app\models\Personas; use app\models\PersonasSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * PersonasController implements the CRUD actions for Personas model. */ class PersonasController extends Controller { /** ...
<?php declare(strict_types=1); namespace Scheb\TwoFactorBundle\Security\Authentication\Exception; use Symfony\Component\Security\Core\Exception\AuthenticationException; class InvalidTwoFactorCodeException extends AuthenticationException { /** * @var string */ private $messageKey = 'Invalid two-fac...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
<?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 DNT\Dashboard\Middlewares; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class GuestDashboard { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null ...$guards * @return mixed */ pu...
<?php namespace Webkul\UVDesk\CoreFrameworkBundle\Workflow\Actions\Ticket; use Webkul\UVDesk\AutomationBundle\Workflow\FunctionalGroup; use Symfony\Component\DependencyInjection\ContainerInterface; use Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket; use Webkul\UVDesk\AutomationBundle\Workflow\Action as WorkflowActio...
<?php namespace Vortechron\Point\Updates; use Schema; use October\Rain\Database\Updates\Migration; class CreateCategoriesTable extends Migration { public function up() { Schema::create('vortechron_point_categories', function($table) { $table->engine = 'InnoDB'; $table-...
<?php namespace Erupt\Models\Factories\Lists; use Erupt\Models\Factories\BaseFactoryList; class FactoryList extends BaseFactoryList { // }
<?php /* * This file is part of the Monolog package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Monolog\Handler; use Monolog\Logger; /** * Class to record a log on a N...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class CreateAgent extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the v...
<?php /* @var $this \yii\web\View */ /* @var $content string */ use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use frontend\assets\AppAsset; use common\widgets\Alert; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$a...
@if(count($comments = $order->comments()->orderBy('id', 'DESC')->paginate()) > 0) <hr> <h4>Conversations</h4> <p class="text-muted"><small>Sorted based on most recent comment</small></p> @foreach($comments as $comment) <div id="thread_{{ $comment->id }}" class="{{ ($comment->user_id == auth()->user()->id) ? 'thread-mem...
<?php include('connection.php'); include('../common.php'); $nearbyRides = array(); $publicGroupRides = array(); $privateRides = array(); $interCityRides = array(); $interCityRideCabIds = array(); $toCities = array(); if (isset($_POST['sLatLon']) && isset($_POST['mobileNumber']) && $_POST['mobileNumber'] != '') { ...
<?php // +---------------------------------------------------------------------- // +---------------------------------------------------------------------- // | Author: star xiong <875376798@qq.com> // | QQ: 875376798 // +---------------------------------------------------------------------- namespace app\admin\valida...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Category; use App\Article; use Auth; use App\ArticleReport; use App\Like; use App\Comment; use App\User; use App\CommentReport; use App\CommentZan; class ArticlesController extends Controller { public function action(Request $request...
<?php namespace I18nBundle\Context; use I18nBundle\Model\LocaleDefinitionInterface; use I18nBundle\Model\RouteItem\RouteItemInterface; use I18nBundle\Model\ZoneInterface; use I18nBundle\Model\ZoneSiteInterface; interface I18nContextInterface { public function getRouteItem(): RouteItemInterface; public funct...
<!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"> <title>Cetak Barcode</title> <style> .box { position: relative; /* width: 50%; ...
<input type="hidden" value="{{ $home }}" name="kode_dealer"> <div class="row"> @if(Session::has('input')) <div class="col-xs-12 col-sm-6 col-md-3 col-lg-3 col-xl-3"> <div class="form-group has-feedback"> <input type="text" class="form-control" id="datepick...
<?php /** * Singleton class for handling the theme's customizer integration. * * @since 1.0.0 * @access public */ final class bakers_lite_Example_1_Customize { /** * Returns the instance. * * @since 1.0.0 * @access public * @return object */ public static function bakers_lite_get_instance() { s...
<?php namespace Acf\DataBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use Gedmo\Mapping\Annotation as Gedmo; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; /** * CompanyType * * @author sasedev <seif.sal...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class EstablecimientosMigration extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('establecimientos', function (Blueprint $table) ...
<?php namespace App\Fields; use Log1x\AcfComposer\Field; use StoutLogic\AcfBuilder\FieldsBuilder; use App\Fields\Partials\Portada; class Product extends Field { public function fields() { $builder = new FieldsBuilder('destacar_producto_en_portada'); $builder ->setLocation('post_t...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\helpers\Url; ?> <?= Html::a("Usuarios Registrados",'index.php?r=site%2Fadmin',["class" => "btn btn-success"])?> <h1>Editar el Usuario con ID <?= Html::encode($_GET["id"]) ?></h1> <h3><?= $msg?></h3> <?php $form = ActiveForm::begin([ "method" => "p...
<?php namespace App\Http\Middleware; use Auth; use Closure; class CheckCustomer { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { if(Auth::g...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateKreditSurveiKeuanganTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('survei_keuangan', function (B...
<?php /* Prototype : string setlocale (int $category , string $locale [,string $..] ) : string setlocale(int $category , array $locale); * Description: Sets locale information.Returns the new current locale , or FALSE if locale functinality is not implemented in this platform. * Source ...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...