text
stringlengths
2
1.03M
<?php session_start(); include '../db/maindb.conn.php'; if (!isset($_SESSION['id'])) { die("0"); } $id = $_POST['id']; $sql = "SELECT * FROM users WHERE id='$id'"; $result = mysqli_query($mainDBConn,$sql); $row = mysqli_fetch_assoc($result); if (!$result = mysqli_query($mainDBConn, $sql)) { die('2'); } else { ...
<img src="{{ asset('softlinkexpress_logo.png') }}" width="120"> <h3>{{ $name }} Has Signed up</h3> <p>User Details:<br> <strong>Name:</strong> {{ $name }}<br> <strong>Email:</strong> {{ $email }}<br> <strong>Mobile:</strong> {{ $mobile }}<br> <strong>Country:</strong> {{ $country }}<br> <strong>St...
<?php namespace backend\models\search; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use backend\models\NormaEmpresa; /** * NormaEmpresaSearch represents the model behind the search form about `backend\models\NormaEmpresa`. */ class NormaEmpresaSearch extends NormaEmpresa { /** * @inheritd...
<?php defined( 'WPINC' ) || die; ?> <p>Hooks (also known as Filters &amp; Actions) are used to make changes to the plugin without modifying the core files of the plugin directly. In order to use the following hooks, you must add them to your theme's <code>functions.php</code> file.</p> <div class="glsr-card card"> <...
<?php /** * InvalidResourceType * * This exception is thrown when the user tried to create a new collection, with * a special resourcetype value that was not recognized by the server. * * See RFC5689 section 3.3 * * @package Sabre * @subpackage DAV * @copyright Copyright (C) 2007-2013 Rooftop Solutions. All ...
<footer class="footer"> <div class="footer__block"> <div class="container"> <div class="row"> <div class="col-md-4 col-sm-6"> <h4 class="heading">Meni</h4> <ul> <li><a href="index.php">Poč...
<?php namespace ParsedYamlValidator\Type; use ParsedYamlValidator\TypeValidator\IntegerTypeValidator; class IntegerType implements TypeInterface { /** * @var string */ private $name; /** * @var bool */ private $required = false; public function __construct(string $name) ...
<?php namespace App\Helpers; use App\Models\WebhookNotification; use Illuminate\Http\{Request, Response}; class CircleCINotificationHelper { public static function handle(Request $request) : void { $circleCISignature = $request->headers->get('circleci-signature'); self::validate($circleCIS...
<style> .top-alert { position: fixed; top: 0px; width: 100%; z-index: 100000; left: 0; padding: 20px; display: inline-block; text-align: center; } .top-alert .alert { width: auto !important; height: 100%; display: inline; position: relative; margin: 0; } .top-alert .alert .close { position: ...
<?php namespace App\Http\Resources; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\JsonResource; class ImageResource extends JsonResource { /** * Transform the resource into an array. * * @param Request $request * @return array */ public function toArray($request) ...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Cashes'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="cash-index"> <h1><?= Html::encode($this->title) ?></h1> <p> <?= Html::a('Созда...
<?php namespace AlibabaCloud\OutboundBot; /** * @method string getInstanceId() * @method $this withInstanceId($value) */ class DescribeInstance extends Rpc { }
<?php namespace App\Services\Core; use Psr\Log\LoggerInterface; class Logger { const KEY_MESSAGE = "message"; const KEY_ID = "id"; const KEY_MODULE_NAME = "module_name"; /** * @var LoggerInterface $security_logger */ private $security_logger; public function __constr...
<?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 /* * 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 class Dashboard_model extends CI_Model { public function total_cust(){ $query = $this->db->query("SELECT COUNT(*) AS total_cust FROM `persons` WHERE delete_bit=0 "); return $query->row(); } } ?>
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use App\Models\Scopes\Searchable; class PeakHour extends Model { use HasFactory, Searchable; protected $guarded = []; }
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel backend\models\FinanceAddCostSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Finance Add Costs'; $this->params['breadcrumbs'][] = $this->title; ?> <div id="nav-menu" data-menu="finance...
<div class="single-product-area" ng-controller="checkout"> <div class="container"> <form action="<?=base_url()?>createOrder" method="post" accept-charset="utf-8" ng-init="productsInCard=<?php echo $data_card; ?>;total=<?php echo $data_total_card; ?>; result=total>=30 ? total : total+5; transport=<?php echo ...
<div class="w3-row w3-margin-top"> <div class="w3-col l8 s12"> <?php foreach ($posts as $post) { if (str_replace(' ', '', Functions::generate_archive_date($post->created)) == $archive_date) { ?> <div class="w3-card w3-margin"> <div class="w3-container w3-center"> <h1><?=htmlspecialchars($post->t...
<?php // Copyright 1999-2016. Parallels IP Holdings GmbH. namespace PleskX\Api\Client; /** * Transport layer exception. */ class Exception extends \Exception { }
<?php session_start(); require "./files/database.php"; require "./files/functions.php"; $absences = listAbsencesOld(); ?> <!DOCTYPE html> <html> <head> <title>Gestion Absence</title> </head> <body> <div class="container-fluid"> <h3>Liste des absences</h3> <table class="table" border="1" > <tr> ...
<?php require_once("../Models/Conversion.php"); require_once("../Models/Client.php"); require_once("../Logs/LogHandler.php"); require_once("../CDN/AWSHandler.php"); class ConversionController { function add($licenseKey, $originalCurrency, $convertedCurrency, $originalAmount) { $conversion = new Conver...
<!-- Main Header --> <header class="main-header"> <!-- Logo --> <a href="<?= base_url() ?>SuperAdmin" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels --> <span class="logo-mini"><b>FIT</b></span> <!-- logo for regular state and mobile devices --> <span class="logo-lg"><b>FEUTECH</b></spa...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <h2 class="blog-post-title">Modifier le projet {{$project...
<!DOCTYPE html> <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]--> <!--[if !IE]><!--> <html lang="pt-br"> <!--<![endif]--> <?php setlocale( LC_ALL, 'pt_BR', 'pt_BR.iso-8859-1', 'pt_BR.utf-8', 'portuguese' ); ?> <head> <meta charset="utf-8" /> <title>SiGE | Sistema de Gestão Escolar</title> <meta cont...
<?php namespace Bolt\Nut; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; /** * Nut command to output phpinfo() */ class Info extends BaseCommand { protected function configure() { $this ->setName('info') ->setDescrip...
<?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 $__env->startSection('content'); ?> <div class="page-content"> <!-- BEGIN PAGE HEAD--> <!-- END PAGE HEAD--> <!-- BEGIN PAGE BREADCRUMB --> <ul class="page-breadcrumb breadcrumb"> <li> <a href="<?php echo e(url('dashboard')); ?>">Dashboard</a> <i class="fa fa-c...
<?php /** * ---------------------------------------------------------------------------- * This code is part of an application or library developed by Datamedrix and * is subject to the provisions of your License Agreement with * Datamedrix GmbH. * * @copyright (c) 2019 Datamedrix GmbH * ------------------------...
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title> W4Y ...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Log extends Model { protected $fillable = ['id_user','aksi']; public function user_r(){ return $this->belongsTo(\App\User::class,'id_user','id'); } }
<?php namespace App\Http\Controllers\admin; use App\Http\Controllers\Controller; use App\models\Drawer; use App\models\ProductSale; use App\models\Sale; use App\models\Sku; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class SaleController extends Controller { public function lo...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateIslemsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('islems', functio...
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Facebook Comment</title> <style> .facebook-comment-box{ max-width:940px; margin:auto; border:1px solid #eee; font-size:16px; line-height:24px; font-family:'Helvetica N...
<?php /** * Checkout billing information form * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-billing.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain c...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model frontend\controllers\DtmainSearchController */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="dtmain-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $this->call(UsersTableSeeder::class); $this->call(SpendingsTableSeeder::class); } }
@extends('layouts.hr.DashboardLayout') @section('content') <div class="am-pagebody"> <div class="card pd-20 pd-sm-40"> <div class="row "> <div class="col-lg-8"> <h6 class="card-body-title"> Project Management</h6> ...
<? require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); $APPLICATION->SetPageProperty("HIDE_SIDEBAR", "Y"); require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_after.php"); $APPLICATION->SetTitle("Reporting"); ?> <?$APPLICATION->IncludeComponent( "bitrix:...
@extends('layouts.admin.app') @section('content') <div class="container-fluid"> <div class="row clearfix mt-3"> <div class="col-lg-4 col-md-12 "> <ul class="list-group mb-3"> <li class="list-group-item"> <div class="media mb-0"> @if(isset($user->image)) <img class="rounded mr-3" src="{{asset...
@extends('app') @section('content') <div class="container-home"> <div class="content"> <div class="logo"><a href="http://philippineglobaloutsourcing.com"><img src="/assets/img/philippines-outsourcing-logo.png" alt="Philippines Outsourcing logo" /></a></div> <div class="title">Philippine Global Outsourcing</div> ...
<!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.0"> <title>Login</title> <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"> </he...
@extends('layout') @section('content') <div class="row"> <br> <div class="col-lg-12 margin-tb"> <div class="pull-left"> <h2>เพิ่มคำถาม</h2> </div> <!-- <div class="pull-right"> <a class="btn btn-primary" href="{{ route('question.index') }}"> Back</a> </...
--TEST-- DOMDocument::saveHTMLFile() should dump the internal document into a file using HTML formatting --CREDITS-- Knut Urdalen <knut@php.net> #PHPTestFest2009 Norway 2009-06-09 \o/ --SKIPIF-- <?php require_once __DIR__ .'/skipif.inc'; ?> --FILE-- <?php $filename = __DIR__."/DOMDocument_saveHTMLFile_basic.html"; $doc...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Models\Role; use App\Providers\RouteServiceProvider; use App\Models\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; class RegisterController exte...
<?php namespace SilverStripe\Control\Email; use DateTime; use RuntimeException; use Egulias\EmailValidator\EmailValidator; use Egulias\EmailValidator\Validation\RFCValidation; use SilverStripe\Control\Director; use SilverStripe\Control\HTTP; use SilverStripe\Core\Convert; use SilverStripe\Core\Environment; use Silver...
<div class="wraper"> <?php echo $this->session->userdata('kms_yr'); ?> <div class="row"> <!-- <form method="POST" id="form" action="<?php echo site_url("paddys/addwqsc");?>" > --> <form method="POST" id="form" action="<?php echo site_url(...
<?php /* * This file is part of the CCDNForum ForumBundle * * (c) CCDN (c) CodeConsortium <http://www.codeconsortium.com/> * * Available on github <http://www.github.com/codeconsortium/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source cod...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use App\Customer; use App\Employee; class Order extends Model { protected $fillable = ['status', 'employee_id', 'customer_id']; public function customer() { return $this->belongsTo(Customer::class); } public function employee()...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddUrlOnMediasTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('medias', functi...
<?php namespace ContainerKoqJx7O; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @internal This class has been auto-generated by the Symfony Dependency Injection Component. */ class getMonolog_Logger_SecurityServic...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Review extends Model { use HasFactory; protected $table = 'reviews'; public function orderItem(){ return $this->belongsTo(OrderItem::class); } }
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Quote\Api; use Magento\TestFramework\ObjectManager; use Magento\TestFramework\TestCase\WebapiAbstract; class GuestCartRepositoryTest extends WebapiAbstract { /** * @var ObjectManager ...
<?php namespace App\Entity; use App\Repository\CategoryRepository; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; /** * @ORM\Entity(repositoryClass=CategoryRepository::class) */ cl...
@extends('layouts.template') @section('content') <div class="card card-custom gutter-b"> <div class="card-header"> <div class="card-title"> <h3>CoA Assignment</h3><br> </div> <div class="card-toolbar"> <div class="btn-group" role="group" a...
<?php declare(strict_types=1); namespace Oro\Bundle\TranslationBundle\Tests\Unit\DependencyInjection; use Oro\Bundle\TranslationBundle\DependencyInjection\Configuration; use Symfony\Component\Config\Definition\Processor; class ConfigurationTest extends \PHPUnit\Framework\TestCase { public function testProcessCon...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class UserResource extends JsonResource { public function toArray($request) { return [ 'id' => $this->id, 'name' => $this->name, 'email' => $this->email, 'avatar' => $t...
--TEST-- oci_collection_assign() --SKIPIF-- <?php $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs require(dirname(__FILE__).'/skipif.inc'); ?> --FILE-- <?php require dirname(__FILE__)."/connect.inc"; require dirname(__FILE__)."/create_type.inc"; $coll1 = oci_new_collection($c...
<?php return array( 'controllers' => array( 'invokables' => array( 'Machine\Controller\Machine' => 'Machine\Controller\MachineController', ), ), 'router' => array( 'routes' => array( 'Machine' => array( 'type' => 'segment', '...
<?php namespace app\models; use Yii; /** * This is the model class for table "{{%ikk_ppk}}". * * @property int $id * @property int $sasaran_es2_id * @property int $iku_es1_id * @property int $detail_periode_id * @property string $kode * @property string $nama * @property string $satuan * @property int $rum...
<?php namespace App\Console\Commands; use Illuminate\Console\Command; use Illuminate\Support\Facades\DB; use Log; /** * Class Bw * @package App\Console\Commands */ class Bw extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = ...
<?php return [ // Exceptions 'invalidModel' => 'The {0} model must be loaded prior to use.', 'userNotFound' => 'Unable to locate a user with ID = {0, number}.', 'noUserEntity' => 'User Entity must be provided for password validation.', 'tooManyCredentials' ...
<?php use Carbon\Carbon; ?> <x-app-layout> <x-slot name="header"> Ticket: #{{ $ticket->ticket_id }}, {{ $ticket->title }} van {{ $ticket->User-->name }} </x-slot> @dump($ticket->User) <div class="grid grid-flow-col grid-cols-4 gap-4 "> @livewire('ticket-show') </div> </x-app-...
<?php return [ /* |-------------------------------------------------------------------------- | Pagination Language Lines |-------------------------------------------------------------------------- | | The following language lines are used by the paginator library to build | the simple pagi...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateStudentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('students', fun...
<?php /* * This file is part of the NumberNine package. * * (c) William Arin <williamarin.dev@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace NumberNine\ChapterOne\DataFixtures; use Doctrine\Bundle\FixturesB...
<?php // no direct access defined('_JEXEC') or die('Restricted access'); ?> <div class="componentheading"> <?php echo $this->escape($this->message->title) ; ?> </div> <div class="message"> <?php echo $this->escape($this->message->text) ; ?> </div>
@extends('layouts.home') @section('head') @if($listingType == 'Buscar') <title>{{ trans('frontend.search_listings') }} - {{ Settings::get('site_name') }}</title> <meta property="og:title" content="{{ trans('frontend.search_listings') }} - {{ Settings::get('site_name') }}"/> @else <title>{{ trans('frontend.list...
<?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 /** * @link https://github.com/vuongxuongminh/yii2-gateway-clients * @copyright Copyright (c) 2018 Vuong Xuong Minh * @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php) */ namespace vxm\examples\gatewayclients; use vxm\gatewayclients\RequestData as BaseRequestData; /** * Class...
<?php namespace App\Http\Controllers\Api; use App\Fournisseur; use Illuminate\Http\Request; class FournisseurController extends Controller { public function index (){ return response()->jsno(Fournisseur::all()); } }
<?php namespace Framework\Baseapp\Criteria; use Illuminate\Support\Facades\Request; use Illuminate\Support\Str; use Prettus\Repository\Contracts\RepositoryInterface; use Prettus\Repository\Criteria\RequestCriteria as BaseRequestCriteria; class RequestCriteria extends BaseRequestCriteria { /** * Apply criter...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateLoansTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('loans', function ...
<!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" /> <title>Untitled Document</title> </head> <body> <!--My path name has spaces...
<?php /* * This file is part of the phpCfdi package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * (c) 2020 phpCfdi * */ declare( strict_types = 1 ); namespace PhpCfdi\Efos\Contracts; interface EfosResourceInterf...
<?php /** * ALIPAY API: alipay.pass.tpl.add request * * @author auto create * @since 1.0, 2014-07-23 17:28:53 */ class AlipayPassTplAddRequest { /** * 支付宝pass模版内容【JSON格式】 具体格式可参考https://alipass.alipay.com中文档中心-格式说明 **/ private $tplContent; /** * 模版外部唯一标识:商户用于控制模版的唯一性。 **/ private $uniqueId; priva...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePostTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('posts', function (Blueprint $table) { $table-...
<?php namespace Drupal\Tests\inline_entity_form\Kernel\Migrate; use Drupal\field\Entity\FieldStorageConfig; use Drupal\field\FieldStorageConfigInterface; /** * Tests migration of inline_entity_form fields. * * @group inline_entity_form */ class MigrateFieldTest extends MigrateTestBase { /** * {@inheritdoc}...
<?php /** * Author: Ole Fredrik Lie * URL: http://olefredrik.com * * FoundationPress functions and definitions * * Set up the theme and provides some helper functions, which are used in the * theme as custom template tags. Others are attached to action and filter * hooks in WordPress to change core functionalit...
<?php namespace Laravel\Cashier; use Money\Currencies\ISOCurrencies; use Money\Currency; use Money\Formatter\IntlMoneyFormatter; use Money\Money; use NumberFormatter; class Cashier { /** * The Cashier library version. * * @var string */ const VERSION = '10.5.3'; /** * The Stripe...
<?php namespace App\Exceptions; use Exception; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler { /** * A list of the exception types that are not reported. * * @var array */ protected $dontReport = [ // ]; /** ...
<?php return unserialize('a:1:{i:0;O:54:"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route":10:{s:10:"' . "\0" . '*' . "\0" . 'service";N;s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'path";s:5:"/muro";s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'nam...
<?php namespace Onetoweb\Gls; use GuzzleHttp\Client as GuzzleClient; use GuzzleHttp\RequestOptions; use Onetoweb\Gls\Exception\FileException; use Onetoweb\Gls\Exception\InputException; /** * Gls Api Client * * @author Jonathan van 't Ende <jvantende@onetoweb.bnl> * @copyright Onetoweb B.V. */ class Client { ...
<?php include('connection.php'); if(isset($_GET['driverid'])){ $driverid = mysqli_real_escape_string($conn, $_GET['driverid']); $sql = "SELECT * FROM driver WHERE driverid = $driverid"; $result = mysqli_query($conn, $sql); $car_detail = mysqli_fetch_assoc($result); mysqli_free_result($result); ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Exchange extends Model { use HasFactory; protected $fillable = ['user_id', 'wallet_id', 'currency', 'amount', 'mastercard']; public function user() { return $this-...
<?php /** * First name field. * * @package EverestForms\Fields * @since 1.0.0 */ defined( 'ABSPATH' ) || exit; /** * EVF_Field_First_Name class. */ class EVF_Field_First_Name extends EVF_Form_Fields { /** * Constructor. */ public function __construct() { $this->name = esc_html__( 'First Name', '...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; /** * Сведения о документе */ class CreateMrCertificateTable extends Migration { public function up() { Schema::create('mr_certificate', fun...
@extends ('Layouts.m_super_admin_show') @section ('titulo') Editar distribuidor @stop @section ('contenido') <div class="row"> <div class="panel panel-default"> <div class="panel-heading">Editar Distribuidor</div> <div class="panel-body"> @if(Session::has('message')) <div class="alert alert-{{ Ses...
<?php use Szykra\Notifications\Flash; if (!function_exists('format_price')) { function format_price($price , $symbol = ''){ return number_format($price,0,'.',','); } } if (!function_exists('format')) { function format($price , $symbol = ''){ return number_format($price,0,',','.'); } } if (!function_exists('...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Pertanyaan extends Model { use HasFactory; protected $table = 'faqs'; public function scopeFilter($query, array $filters) { $query->when($filters['search'] ?? fa...
<?php error_reporting(0); ?> <?php include_once 'header.php';?> <!-- Wrapper Start --> <div class="wrapper"> <div class="structure-row"> <!-- Sidebar Start --> <?php include_once 'side_bar.php';?> <!-- Sidebar End --> <!-- Right Section Start --> <div class="right-sec"> ...
<?php function seconds_to_time($seconds) { $dtF = new DateTime("@0"); $dtT = new DateTime("@$seconds"); return $dtF->diff($dtT)->format('%ad %hh %im'); } function doTheThing() { # code... $output1 = shell_exec('cat /sys/class/thermal/thermal_zone0/temp'); $temp = intval($output1)/100...
<?php /* Cachekey: cache/stash_default/doctrine/dc2_d181d4e24ff4bc1a45c5da6bc61144fc_[\concrete\core\entity\attribute\set$classmetadata][1]/ */ /* Type: array */ /* Expiration: 2017-04-02T04:58:58+02:00 */ $loaded = true; $expiration = 1491101938; $data = array(); /* Child Type: object */ /* Child Type: integer ...
<?php namespace App\Http\Controllers; use App\Service; use Illuminate\Http\Request; class ServiceController extends Controller { public function __construct() { $this->middleware('auth'); } /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Berita; use Illuminate\Support\Facades\Input; use PDF; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { } /** * ...
<?php namespace Lyal\Checkr\Entities\Resources; use Lyal\Checkr\Client; use Lyal\Checkr\Traits\Listable; class Program extends AbstractResource { use Listable; /** * Program constructor. * * @param null|string|array $values * @param null|Client $client */ public function __const...
<?php namespace watoki\deli\filter; class BooleanFilter implements Filter { public function filter($value) { return strtolower($value) == 'false' ? false : !!$value; } }