text
stringlengths
2
1.03M
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class TipoArticuloSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('tipo_articulo')->insert([ [ "id_tipo_articulo" => 1,...
<?php declare(strict_types=1); namespace PTFramework\Server; use PTFramework\Application; use PTFramework\Config; use PTFramework\Context; use PTFramework\DB\PDO; use PTFramework\Listener; use PTFramework\Route; use PTFramework\Server\Protocol\HTTP\SimpleRoute; use PTFramework\Tool\Tool; use Swoole\Coroutine; use Sw...
@extends('dashbord') @section('titrecontenu') Ajout d'un hopital @endsection @section('content') <div class="card shadow mb-4"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary">Enregistrement d'un hopital</h6> </div> <div class="card-body " > ...
<?php namespace AlibabaCloud\Scsp; /** * @method string getClientToken() * @method string getInstanceId() * @method string getAccountName() * @method string getCallId() * @method string getJobId() * @method string getConnectionId() */ class HangupCall extends Rpc { /** * @param string $value * ...
<?php namespace Tests\Feature\Http\Controllers\Api; use App\Events\NewPayment; use App\Mail\PaymentCreated; use App\Payment; use App\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Mail; use JMac...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\user; class UserController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $users = User::all(); return view('use...
<?php //echo '<pre>';print_r($_REQUEST);exit; ini_set('max_execution_time', 0); //Including files include("../includes/classes/Configuration.inc.php"); include(APP_PATH."includes/classes/db.php"); include(PUBLIC_PATH."/FusionCharts/Code/PHP/includes/FusionCharts.php"); $subCaption=''; include PUBLIC_PATH . "html/top_im...
@extends("theme.$theme.layout") @section('titulo') Crear Notas @endsection @section('styles') @endsection @section('scriptsPlugins') <script src="{{ asset("assets/$theme/plugins/ckeditor/ckeditor.js")}}"></script> @endsection @section('scripts') <script src="{{ asset("assets/pages/scripts/admin/...
@if(count($errors)>0) @foreach($errors->all() as $error) <div class="alert alert-danger"> {{$error}} </div> @endforeach @endif @if(session('success')) <div class="alert alert-success"> {{session('success')}} </div> @endif @if(session('error')) <div class="alert alert-danger"> {{session('error')}} </div> ...
<?php namespace Elastica\Aggregation\Traits; trait MissingTrait { /** * Defines how documents that are missing a value should be treated. * * @param mixed $missing * * @return $this */ public function setMissing($missing): self { return $this->setParam('missing', $mis...
@extends('layouts.app') @section('body-class','profile-page') @section('title','App Shop| Panel de Control') @section('content') <div class="header header-filter" style="background-image: url('/img/examples/city.jpg');"></div> <div class="main main-raised"> <div class="profile-content"> <div class="conta...
<div class="container calculator-container"> <div class="calculator"> <div class="price-form-container"> <p class="sub text-center undefined">Usiwe na shaka kupata huduma kwani vituo vya afya vipo karibu yako.</p> <h1 class="pre-form-heading text-center undefined">Tafuta kituo cha NH...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" href="../../../../favicon.png"> ...
<?php defined('SYSPATH') or die('No direct script access.'); ?> <?php echo HTML::style('media/css/jquery-ui-1.10.3.custom.min.css'); ?> <div class="prepend-2 span-20 append-2 last"> <h2 class="center">Administraci&oacute;n de SLA's</h2><br> <?php echo Form::open(NULL, array('id' => 'frmBusquedaSlas')); ?> ...
<?php require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); $db = MySQLPDOTest::factory(); function bug_42499($db) { $db->exec('DROP TABLE IF EXISTS test'); $db->exec("CREATE TABLE test(id CHAR(1)); INSERT INTO test(id) VALUES ('a')"); $stmt = $db->query('SELECT id AS _id FROM test'); var...
<?php namespace App\Http\Controllers; use App\Repositories\ClubRepositoryInterface; use Illuminate\Http\Request; use Input; use Session; use Adldap; use App\Models\Student; use App\User; class LDAPLoadController extends Controller { public function getIndex(){ $students = array ( [ 'std_id' =>...
<?php /** * Created by PhpStorm. * User: Ант * Date: 18.01.2017 * Time: 20:59 */ namespace AmoCrm\Client\Exception; class CustomFieldUnknownEnumException extends CustomFieldException { }
<?php namespace App\Services; use App\Exceptions\SceneException; use App\Models\Choice; use App\Models\Novel; use App\Models\Scene; use Illuminate\Database\Eloquent\Collection; class SceneService { /** * @param Novel $novel * @param int|Scene $currentScene * @return Scene * @throws SceneExc...
<?php namespace Ekreative\HealthCheckBundle\DependencyInjection; class RedisFactory { /** * @throws \ErrorException */ public static function get(string $host, int $port = 6379, int $timeout = 5, string $prefix = null): \Redis { set_error_handler(function ($severity, $message, $file, $li...
<input {!! $attributes->merge(['class' => 'border-2 py-2 px-3 text-grey-darkest rounded bg-gray-100 focus:ring focus:outline-none']) !!}>
@extends('layouts.backend.app') @section('section') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> ...
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Ui\TemplateEngine\Xhtml; use Magento\Framework\View\Layout\Generator\Structure; use Magento\Framework\View\Element\UiComponentInterface; use Magento\Framework\View\TemplateEngine\Xhtml\Te...
<?php namespace App; use Carbon\Carbon; use Illuminate\Database\Eloquent\Model; class Schedule extends Model { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'course_id', 'start', 'end', ]; /** * The attributes that should be...
<?php /** * This file is part of the "dibi" - smart database abstraction layer. * * Copyright (c) 2005 David Grudl (http://davidgrudl.com) * * For the full copyright and license information, please view * the file license.txt that was distributed with this source code. */ /** * The dibi reflector for MSSQL20...
<?php /* bWAPP, or a buggy web application, is a free and open source deliberately insecure web application. It helps security enthusiasts, developers and students to discover and to prevent web vulnerabilities. bWAPP covers all major known web vulnerabilities, including all risks from the OWASP Top 10 project! It is...
<?php return [ 'title' => 'User', 'fields' => [ 'name' => 'Name', 'email' => 'Email', 'password' => 'Password', 'is_active' => 'Is Active', 'last_login_at' => 'Last Login At', 'gender' =>...
<?php /* * This file is part of the Sonata project. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\PageBundle\Request; /** * SiteRequestInterface. * *...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\models\CancelTripLog */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="cancel-trip-log-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'TripId')->textInput(['maxlength'...
<?php namespace App\Listeners; use App\Events\OrderPaid; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use App\Models\OrderItem; // implements ShouldQueue 代表此监听器是异步执行的 class UpdateProductSoldCount implements ShouldQueue { // Laravel 会默认执行监听器的 handle 方法,触发的事件会作为 handle 方法的参...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>Fisiorespirar</title> <link rel="shortcut icon" href="assets/img/iconfisio.ico"> <!-- build:css --> <link rel="stylesheet" href="assets/css/main.css"> <!-- endbuild --> <link href="https://fonts.googleapis.com/c...
<?php declare(strict_types=1); /* * This file is part of BiuradPHP opensource projects. * * PHP version 7 and above required * * @author Divine Niiquaye Ibok <divineibok@gmail.com> * @copyright 2019 Biurad Group (https://biurad.com/) * @license https://opensource.org/licenses/BSD-3-Clause License * * Fo...
<?php class LoginModel extends Model { public function attemptLogin() { // Extract the data from the POST array $username = $_POST['username']; $password = $_POST['password']; // Filter the data $username = $this->dbc->real_escape_string( $username ); // Prepare SQL to find a user and get the hashed p...
<?php namespace App\Http\Controllers\Voyager; use App\Property; use App\Location; use App\LocationProperty; use App\PropertyStatus; use App\PropertyType; use Status; use Type; use Exception; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\...
<script src="{{ asset('plugins/jquery/jquery.min.js') }}"></script> <script src="{{ asset('plugins/bootstrap/js/bootstrap.bundle.min.js') }}"></script> <script src="{{ asset('plugins/select2/js/select2.full.min.js') }}"></script> <script src="{{ asset('plugins/moment/moment-with-locales.js') }}"></script> <script src="...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php namespace Dvsa\Olcs\Api\Service\Qa\Strategy; use Laminas\ServiceManager\FactoryInterface; use Laminas\ServiceManager\ServiceLocatorInterface; class CommonCertificatesFormControlStrategyFactory implements FactoryInterface { /** * Create service * * @param ServiceLocatorInterface $serviceLocat...
<?php declare(strict_types=1); /* * +----------------------------------------------------------------------+ * | ThinkSNS Plus | * +----------------------------------------------------------------------+ * | Copyright (c) 2017 Chengdu ZhiYiChuangXiang Technol...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Support\Facades\Auth; use Illuminate\Http\Request; class LoginController extends Controller { /* |-----------------------------------------------------------------...
<?php declare(strict_types=1); namespace Ublaboo\Anabelle\Markdown; use Ublaboo\Anabelle\Console\Utils\Logger; use Ublaboo\Anabelle\Generator\Assets; use Ublaboo\Anabelle\Generator\Exception\DocuFileGeneratorException; use Ublaboo\Anabelle\Generator\Exception\DocuGeneratorException; use Ublaboo\Anabelle\Http\AuthCre...
<?php namespace Blueprint\Generators; use Blueprint\Blueprint; use Blueprint\Contracts\Model; use Illuminate\Filesystem\Filesystem; class AbstractClassGenerator { public const INDENT = ' '; protected $filesystem; protected $tree; protected $output = []; public function __construct(File...
<?php /** * This class is part of the support for XAdES properties generation. * * Copyright © 2021 Lyquidity Solutions Limited * License GPL 3.0.0 * Bill Seddon 2021-07-19 */ namespace lyquidity\xmldsig\xml; use lyquidity\xmldsig\XMLSecurityDSig; /** * <!-- targetNamespace="http://www.w3.org/2000/09/xmldsi...
<?php namespace app\controllers; use Yii; use app\models\PrefacturaElectronica; use app\models\PrefacturaElectronicaSearch; use app\models\CentroCosto; use app\models\Empresa; use app\models\Zona; use app\models\Usuario; use app\models\ModeloPrefacturaElectronica; use app\models\PrefacturaDispositivoFijoElectronico; ...
<?php namespace Nextend\Framework\Image; use Nextend\Framework\Image\Block\ImageManager\BlockImageManager; use Nextend\Framework\Misc\Base64; use Nextend\Framework\Pattern\VisualManagerTrait; class ImageManager { use VisualManagerTrait; /** * @var ImageStorage */ private static $model; p...
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Functions for event management. * * @package PhpMyAdmin */ if (! defined('PHPMYADMIN')) { exit; } /** * Sets required globals * * @return void */ function PMA_EVN_setGlobals() { global $event_status, $event_type, $event_interval; $event_status ...
<?php namespace Org\Schema\Thing\Place\CivicStructure; /** * Class Beach * Beach. * @author AppBels <app.bels@gmail.com> * @name Beach * @namespace Org\Schema\Thing\Place\CivicStructure * @package Org\Schema * @see https://schema.org/Beach * Date 10/04/2017 */ class Beach ex...
<?php namespace Illuminate\Tests\Foundation; use Exception; use Illuminate\Config\Repository as Config; use Illuminate\Container\Container; use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; use Illuminate\Contracts\Support\Responsable; use Illuminate\Contracts\View\Factory; use Illuminate\D...
<?php /** * Smarty Internal Plugin Resource Registered * * @package Smarty * @subpackage TemplateResources * @author Uwe Tews * @author Rodney Rehm */ /** * Smarty Internal Plugin Resource Registered * Implements the registered resource for Smarty template * * @package Smarty * @subpackage Te...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateFacilityPropertiesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('faci...
<?php $container->loadFromExtension('security', array( 'access_decision_manager' => array( 'service' => 'app.access_decision_manager', 'strategy' => 'affirmative', ), 'providers' => array( 'default' => array( 'memory' => array( 'users' => array( ...
<nav class="navbar navbar-default"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expa...
<?php use MediaWiki\Auth\AuthenticationRequest; class MathCaptcha extends SimpleCaptcha { /** * Validate a captcha response * @param string $answer * @param array $info * @return bool */ protected function keyMatch( $answer, $info ) { return (int)$answer == (int)$info['answer']; } /** * @param arr...
<?php require __DIR__ . '/app/autoload.php'; ?> <?php require __DIR__ . '/views/header.php'; ?> <article> <h1>Add post</h1> <form action="app/posts/store.php" method="post"> <div class="form-group"> <label for="title">Title</label> <input class="form-control" type="text" name="...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. */ public function up() { Schema::create('users', function (Blueprint $table) { ...
<?php namespace Styde; require '../vendor/autoload.php'; $ramm = new Soldier('Ramm', new Weapons\BasicSword); $ramm->setArmor(new Armors\BronzeArmor()); $silence = new Archer('Silence', new Weapons\CrossBow); $silence->attack($ramm); $silence->attack($ramm); $ramm->attack($silence);
<?php namespace Eater\StaticX; interface Object { /** * Applies the object * @param boolean $dryRun */ public function apply($dryRun); /** * Reverts the object * @param boolean $dryRun */ public function revert($dryRun); }
<?php declare(strict_types=1); namespace Icanhazstring\Composer\Unused\Loader; use Composer\Composer; use Composer\Package\Link; use Composer\Repository\RepositoryInterface; use Icanhazstring\Composer\Unused\Loader\Filter\FilterInterface; use Icanhazstring\Composer\Unused\Subject\Factory\PackageSubjectFactory; use S...
@inject('storytypes', 'emutoday\Http\Utilities\StoryTypes') @extends('layouts.backend') @section('title', $story->exists ? 'Editing '.$story->title : 'Create New Story') @section('headscripts') <script src="{{ theme('js/ckeditor/ckeditor.js') }}"></script> @stop @section('content') {!! Form::model(...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class FollowersController extends Controller { public function __construct() { $this->middleware('auth'); } public function store(Type $var = null) { # code... } }
<?php namespace app\modules\admin\models; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\SubMenu; /** * SubMenuSearch represents the model behind the search form of `\app\models\SubMenu`. */ class SubMenuSearch extends SubMenu { /** * {@inheritdoc} */ public function rules() ...
<?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 /* * CUSTOM POST TYPE ARCHIVE TEMPLATE * * This is the custom post type archive template. If you edit the custom post type name, * you've got to change the name of this template to reflect that name change. * * For Example, if your custom post type is called "register_post_type( 'bookmarks')", * then your ...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> @if (auth()->check()) <meta name="api-to...
<?php if ( class_exists( 'ICWP_WPSF_Processor_AuditTrail_Wordpress' ) ) { return; } require_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'audit_trail_auditor_base.php' ); class ICWP_WPSF_Processor_AuditTrail_Wordpress extends ICWP_WPSF_AuditTrail_Auditor_Base { /** */ public function run() { add_action( '_c...
<?php namespace NumberToWords\NumberTransformer; use NumberToWords\Service\NumberToTripletsConverter; use NumberToWords\Language\Persian\PersianDictionary; use NumberToWords\Language\Persian\PersianExponentGetter; use NumberToWords\Language\Persian\PersianTripletTransformer; class PersianNumberTransformer implements...
<?php namespace AppBundle\Form; use AppBundle\Entity\Produit; use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; cla...
<?php /** * This file is part of the Nette Framework (http://nette.org) * Copyright (c) 2004 David Grudl (http://davidgrudl.com) */ namespace Nette\Http; use Nette; /** * Provides access to session sections as well as session settings and management methods. * * @author David Grudl * * @property-read b...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Mentor extends Model { protected $table = 'mentors'; protected $casts = [ 'created_at' => 'datetime:Y-m-d H:m:s', 'updated_at' => 'datetime:Y-m-d H:m:s' ]; protected $fillable = [ 'name', 'profile', ...
<?php namespace App\Http\Controllers; use App\repositoryhome\FotterRepo; use Illuminate\Http\Request; class footer extends Controller { // public function index(Request $request,FotterRepo $fotterRepo){ if($request->session()->get('locale')==null){ $request->session()->put('locale','ar');...
<?php /* * This file is part of the Eulogix\Cool package. * * (c) Eulogix <http://www.eulogix.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Eulogix\Cool\Gendoc\Bundle\CWidget\Manager; /** * @author Pietro Baricc...
<?php require "../../env.php"; require "../must_admin.php"; require "../../models/kbr.php"; if(!isset($_POST['SUBMIT'])){ header("Location: index.php"); }else{ delete_kbr(); header("Location: index.php"); }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Yajra\DataTables\DataTables; use Illuminate\Support\Facades\DB; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Storage; use App\User; use App\Kupon; use App\Produk; use App\Service; use App\Mekanik; use App\NotaService; use App\Ser...
<?php namespace App\Providers; use Illuminate\Support\Facades\Event; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; class EventServiceProvider extends ServiceProvider { /** * The event listener mappings for the application. * * @var array */ protected...
<?php namespace App\Http\Requests; class LocationRequest extends Request { public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { switch ($this->method()) { ...
<?php /** * Elgg annotations * Functions to manage object annotations. * * @package Elgg * @subpackage Core */ /** * Convert a database row to a new ElggAnnotation * * @param stdClass $row Db row result object * * @return ElggAnnotation * @access private */ function row_to_elggannotation($row) { if (!($r...
<?php /** * Created by PhpStorm. * User: MNRC * Date: 2020/8/18 * Time: 11:44 */ namespace App\Handlers; /** * 版本检查 */ if (version_compare(PHP_VERSION, '5.6.0') < 0 && version_compare(PHP_VERSION, '5.5.10') < 0 && version_compare(PHP_VERSION, '5.4.29') < 0) { trigger_error('need php 5.4.29|5.5.10|5.6...
<?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 hlin\archetype; /** * @copyright (c) 2014, freia Team * @license BSD-2 <http://freialib.github.io/license.txt> * @package freia Library */ trait WebTrait { /** * Redirect type can be 303 (see other), 301 (permament), 307 (temporary) * * [!!] This method will not exit the execution itself ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use DateTime; use DB; class CongViecController extends Controller { public function CallFunction($P_ID_CV_DA, $P_TEN_CV , $P_NOI_DUNG_CV , $P_NGAY_TIEP_NHAN , $P_NGAY_HOAN_THANH ...
<?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 App\Controller\Admin; use App\Entity\Post; use App\Form\PostType; use A...
@extends('./layouts/layout', [ 'title' => 'User', 'heading' => 'User', 'breadcrumb1' => 'user', 'breadcrumb2' => 'add', 'nav_status' => 'user', 'sub_nav_status' => 'user-add', ] ) @section('main_container') @if (isset($alert)) <div class="alert alert-success"> {{ alert }} </div> @en...
<div class="form-group"> {!! Form::nLabel($name, $label, $required, ['class' => 'd-none']) !!} @php $options = ['class' => 'form-control' . ($errors->has($name) ? ' is-invalid' : NULL ), 'placeholder' => $attributes['placeholder'] ?? $label]; $msg = $errors->first($name) ?? null; if(isset($requir...
<?php // +---------------------------------------------------------------------- // | spb2 // +---------------------------------------------------------------------- // | Author: King east <1207877378@qq.com> // +---------------------------------------------------------------------- return [ \app\index\middleware...
<?php /** * This example gets all base rates belonging to a rate card. To see what rate * cards exist, please run GetAllRateCards.php. To create product base rates, * run CreateProductBaseRates.php. To create product template base rates, run * CreateProductTemplateBaseRates.php. To create base rates, run * CreateB...
<?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. */ declare(strict_types=1); namespace Sylius\Component\Grid\Definition; class ActionGroup { /** @va...
<?php if(Auth::check()){ // user authenticated $user = Auth::user(); $user_name = $user->Fname . " " . $user->Lname ; $userType = $user->role; $user_id = $user->id ; $user_imag...
<?php namespace Omeka\Api\Adapter; use Omeka\Api\Request; use Omeka\Api\ResourceInterface; use Omeka\Entity\EntityInterface; use Omeka\Entity\Resource as ResourceEntity; use Omeka\Stdlib\ErrorStore; class ResourceAdapter extends AbstractEntityAdapter { public function getResourceName() { return 'resou...
<?php namespace Expose\Test\TestCase\Command; use Cake\Command\Command; use Cake\Console\ConsoleIo; use Cake\ORM\TableRegistry; use Cake\TestSuite\ConsoleIntegrationTestTrait; use Cake\TestSuite\TestCase; use Expose\Command\AddExposedFieldCommand; use ReflectionClass; class AddExposedFieldCommandTest extends TestCas...
<?php namespace Atlassian\JiraRest\Requests\Agile; class FeatureFlagsRequest extends AbstractRequest { /** * Update / insert Feature Flag data. * * @see https://developer.atlassian.com/cloud/jira/software/rest/#api-rest-featureflags-0-1-bulk-post * * @param array|\Illuminate\Contracts\Su...
<?php if (!defined('GUEST')) die('go away'); ?> <div style="font-size:80%; position:fixed; top:5px; right:5px; z-index:23;"><a href="logout.php">Logout</a></div> <div class="container"> <div class="jumbotron"> <a href="https://wiki.braveineve.com" target="_blank"><img src="img/brave.png" class="pull-right...
<!-- Footer start --> <footer id="footWrapper"> <!-- footer bottom bar start --> <div class="footer-bottom"> <div class="container"> <div class="row"> <div class="copyrights cell-5" style="padding-bottom: 10px;"> <b> Programmer Jalanan</b> 2015. Indonesia.</div> ...
<?php /* Smarty version 3.1.33, created on 2019-01-30 12:17:34 from 'C:\Users\alexc\Desktop\LP DIM\Cours PHP-MySQL\microblog\templates\mod.tpl' */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.33', 'unifunc' => 'content_5c5195de8439b7...
<?php namespace Swoole\Memory; class Pool { const TYPE_RING = 1; const TYPE_GLOBAL = 2; const TYPE_FIXED = 0; const TYPE_MALLOC = 3; const TYPE_EMALLOC = 4; public function __construct($size, $type, $slice_size = null, $shared = null) { } public function __destruct() { ...
<?php namespace ascio\v2; class CreateNameServer { /** * @var string $sessionId */ protected $sessionId = null; /** * @var NameServer $nameServer */ protected $nameServer = null; /** * @param string $sessionId * @param NameServer $nameServer */ public func...
<?php class Manage_workorder_model extends CI_model { function __construct() { parent::__construct(); } //------------------get all wo information model--------------------- public function get_all_woinfo() { $query = "SELECT * FROM wo_master"; $result=$this->db->query($query); if ($result->n...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <div class="page-inner mg-b-90"> <div class="d-sm-flex align-items-center justify-content-between pd-b-20"> <div class="pageheader pd-t-20 pd-b-0"> <div class="d-flex justify-content-between"> <div class="clearfix"> <div class="brea...
<?php /** * This file is part of PHPDebugConsole * * @package PHPDebugConsole * @author Brad Kent <bkfake-github@yahoo.com> * @license http://opensource.org/licenses/MIT MIT * @copyright 2014-2021 Brad Kent * @version v3.0 * * @link http://www.github.com/bkdotcom/PHPDebugConsole * @link https://deve...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateArticesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('articles', func...
<?php namespace Drupal\better_exposed_filters\Plugin\views\exposed_form; use Drupal\Component\Utility\Html; use Drupal\Core\Form\FormState; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Render\Element; use Drupal\Core\Url; use Drupal\views\Plugin\views\exposed_form\InputRequired; use Drupal\views\Plugin\vi...
<?php /* Linfo * * Copyright (c) 2018 Joe Gillotti * * 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 * to use, copy, modif...