text
stringlengths
2
1.03M
<?php use src\models\DbConnect; use src\models\Event; use src\models\MainReferee; use src\models\Rater; use src\models\TypeOfCompetition; require "../../vendor/autoload.php"; // array for JSON response $response = array(); $db_connect = new DbConnect(); $db_connect->connect(); if (isset($_GET['username'])){ $us...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Requisicion */ $this->title = 'Update Requisicion: ' . $model->id; $this->params['breadcrumbs'][] = ['label' => 'Requisicions', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $...
<?php namespace Sample; use knotlib\router\RouterInterface; use knotlib\router\RouterModuleInterface; class FruitsRouterModule implements RouterModuleInterface { /** * Install routing rule(s) into router * * @param RouterInterface $router */ public function install(RouterInterface $router)...
<?php session_start(); // Allow CORS header('Access-Control-Allow-Origin: *'); header('Content-Type: application/json'); header('Access-Control-Allow-Methods: POST'); header('Access-Control-Allow-Headers: Access-Control-Allow-Headers,Content-Type,Access-Control-Allow-Methods, Authorization, X-Requested-With'); in...
<?php if(!isset($_SESSION)) { session_start(); } $fname = $_POST['Fname']; $lname = $_POST['Lname']; $ctype = $_POST['ctype']; $add1 = $_POST['AddressL1']; $add2 = $_POST['AddressL2']; $email = $_POST['Email']; $contact = $_POST['ContactNo']; $incity = $_POST['inputCity']; $province = $_POST['inputProv...
<?php return unserialize('a:1:{i:0;O:30:"Doctrine\\ORM\\Mapping\\OneToMany":6:{s:8:"mappedBy";s:17:"livesWithChildren";s:12:"targetEntity";s:36:"Connection\\UserBundle\\Entity\\Profile";s:7:"cascade";N;s:5:"fetch";s:4:"LAZY";s:13:"orphanRemoval";b:0;s:7:"indexBy";N;}}');
<?php /** * @see https://github.com/zendframework/zend-mime for the canonical source repository * @copyright Copyright (c) 2005-2019 Zend Technologies USA Inc. (https://www.zend.com) * @license https://github.com/zendframework/zend-mime/blob/master/LICENSE.md New BSD License */ namespace Zend\Mime; use Ze...
<?php class WPML_TP_Service_Authentication_Factory { /** * @var WPML_Translation_Proxy_Networking $tp_networking */ private $tp_networking; /** * @var WPML_TP_Project_Factory $project_factory */ private $project_factory; /** * WPML_TP_Service_Authentication_Factory constructor. * * @param SitePre...
<header> <div class="container-fluid position-relative no-side-padding"> <a href="{{ route('home') }}" class="logo"><img src="{{ asset('assets/frontend/images/logo.png')}}" alt="Logo Image"></a> <div class="menu-nav-icon" data-nav-menu="#main-menu"><i class="ion-navicon"></i></div> <ul class="main-menu vi...
<?php namespace App\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 $policies ...
<?php class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { //Eloquent::unguard(); $this->call('ContactsTableSeeder'); // $this->call('UserTableSeeder'); } }
@extends('layouts.admin') @section('title', 'Update Material') @section('main-content') <!-- Page Heading --> <h1 class="h3 mb-4 text-gray-800">{{ __('Update Material') }}</h1> @if (session('success')) <div class="alert alert-success border-left-success alert-dismissible fade show" role="alert"> {{ session('succe...
<?php namespace Dolibarr\Core\CoreBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * LlxActioncommReminder * * @ORM\Table(name="llx_actioncomm_reminder", uniqueConstraints={@ORM\UniqueConstraint(name="uk_actioncomm_reminder_unique", columns={"fk_user", "typeremind", "offsetvalue", "offsetunit"})}, indexes={@OR...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMenusTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('menus', function ...
<?php /** * GoodsOutNote * * PHP version 5 * * @category Class * @package BrightpearlApiClient * @author http://github.com/swagger-api/swagger-codegen * @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2 * @link https://github.com/swagger-api/swagger-codegen */ /** * Copyright 2016...
@extends('admin.index') <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 3 | Fixed Footer Layout</title> <!-- Tell the browser to be responsive to screen width --> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep the fr...
<?php namespace App\Admin\Controllers; use App\Http\Controllers\Controller; use Encore\Admin\Controllers\Dashboard; use Encore\Admin\Facades\Admin; use Encore\Admin\Layout\Column; use Encore\Admin\Layout\Content; use Encore\Admin\Layout\Row; use Illuminate\Support\Facades\DB; class HomeController extends Controller ...
<?php namespace App\Entity; use App\Repository\UserRepository; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Security\Core\User\UserInterface; /** * @ORM\Entity(repositoryClass=UserRepository::class) */ class User implements UserInterface,\Serializable { /** * @ORM\Id() * @ORM\GeneratedValue...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); use Magento\TestFramework\Helper\Bootstrap; use Magento\Framework\Api\SearchCriteriaBuilder; use Magento\InventoryApi\Api\Data\SourceItemInterface; use Magento\Inventory\Model\SourceItem\Com...
@extends('layouts.master') @section('add_scholarship') active @endsection @section('fees_master_open_menu') open @endsection @section('fees_master_open_menu_display') block @endsection @section('scholarship_open_menu') open @endsection @section('scholarship_display') block @endsection @section('content') <sectio...
<?php //000000086400a:38:{s:3:"uid";s:1:"3";s:8:"nickname";s:6:"小小";s:8:"password";N;s:8:"truename";N;s:6:"mobile";N;s:5:"email";N;s:3:"sex";s:1:"2";s:10:"headimgurl";s:119:"http://wx.qlogo.cn/mmopen/PiajxSqBRaELGVytByqW5zWoiavVu8sehIyj69tsA3TSuwxtJahjpGtoibBeJQicpWChGahzfI9wjW4QYg5kicDhkew/0";s:4:"city";s:0:"";s:8:"pr...
<!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"> <title>{{config('app.name')}}</title> </head> <body> <h1>Ab...
<?php /* @var $this PinController */ /* @var $model Pin */ $this->breadcrumbs=array( 'Pins'=>array('index'), 'Manage', ); $this->menu=array( array('label'=>'List Pin', 'url'=>array('index')), array('label'=>'Create Pin', 'url'=>array('create')), ); Yii::app...
<?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\RealRA5; use JMS\Serializer\Annotation\ExclusionPolic...
<?php declare(strict_types=1); namespace Elephox\Cache; use DateInterval; use DateTime; use Elephox\Cache\Contract\Cache; use Elephox\Collection\KeyedEnumerable; use Exception; use LogicException; use Psr\Cache\CacheItemInterface; use Psr\Cache\InvalidArgumentException; abstract class AbstractCache implements Cache ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Event extends Model { use \Backpack\CRUD\app\Models\Traits\CrudTrait; use HasFactory; /** * The attributes that are mass assignable. * * @var array */ ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; use App\Models\MpUser; use App\Models\Store; class MpuserController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public funct...
<?php namespace App\Http\Controllers\Hr\Payroll; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\Hr\Unit; use App\Models\Hr\Floor; use ACL,Validator,FastExcel,DB,Response; class SalaryController extends Controller { public function view() { // ACL::check(["permission" =>...
<?php /* * This file is part of the Ivory Google Map package. * * (c) Eric GELOEN <geloen.eric@gmail.com> * * For the full copyright and license information, please read the LICENSE * file that was distributed with this source code. */ namespace Ivory\Tests\GoogleMap\Service\Place\Autocomplete\Response; use I...
@extends('layouts.app') @section('content') <section class="news pt-0"> <div class="container mt-md-5"> <h2 class="mx-4 my-0 text-center mb-3">Useful Articles</h2> <ul class="row list-unstyled"> @foreach($data['articles'] as $article) <li clas...
<?php /** * @package Joomla.Site * @subpackage mod_users_latest * * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Helper for mod_users_latest * * @pack...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>Admin | Log in</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpor...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>รายงานสรุปยอดพนักงานเชียร์แขก (รายเดือน)</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" conte...
<?hh final class quickUnset { public static $y; public function foo() { unset($this); } } <<__EntryPoint>> function f() { print ":".isset($x).":\n"; print ":".isset($GLOBALS['y']).":\n"; print ":".isset(quickUnset::$y).":\n"; unset($x); unset($GLOBALS['y']); quickUnset::$y = null; print ":...
<?php namespace AsyncAws\Rekognition\Tests\Unit\Input; use AsyncAws\Core\Test\TestCase; use AsyncAws\Rekognition\Input\DeleteCollectionRequest; class DeleteCollectionRequestTest extends TestCase { public function testRequest(): void { $input = new DeleteCollectionRequest([ 'CollectionId' ...
<?php namespace app; use wulaphp\app\App; use wulaphp\app\Module; use wulaphp\io\Response; class AppModule extends Module { public function getName(): string { return '默认模块'; } protected function bind(): ?array { //主页转发 return [ 'router\parse_url' => function ($url) {...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class SendMail extends Mailable { use Queueable, SerializesModels; public $username; public $app_code; /** * Create a new messa...
<?php /* * $Id: NodeObject.php 797 2007-11-09 19:21:21Z heltem $ * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIME...
<button class="btn btn-primary" data-toggle="modal" data-target="#create">Agregar Paciente <i class="fas fa-plus"></i></button> <div aria-hidden="true" aria-labelledby="exampleModalLabel" class="modal fade" id="create" role="dialog" tabindex="-1"> <div class="modal-dialog" role="document"> <div class="moda...
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Sales\Block\Adminhtml\Order\Status; class Edit extends \Magento\Sales\Block\Adminhtml\Order\Status\NewStatus { /** * Constructor * * @return void */ protected ...
<?php namespace League\Flysystem\Util; use Finfo; /** * @internal */ class MimeType { /** * Detects MIME Type based on given content. * * @param string $content * * @return string|null MIME Type or NULL if no mime type detected */ public static function detectByContent($conten...
<?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\Component\DependencyInjection\Tests; require_once __DIR__.'/Fix...
<?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\Component\Security\Core\Authentication\Token; use Symfony\Compo...
<?php namespace ZfcUserLdap\Mapper; use ZfcUser\Mapper\User as AbstractUserMapper; use ZfcUser\Mapper\UserInterface; use ZfcUserLdap\Mapper\UserHydrator as HydratorInterface; use Zend\ServiceManager\ServiceManagerAwareInterface; use Zend\ServiceManager\ServiceManager; class User extends AbstractUserMapper implements...
<?php namespace Vdomah\User\Updates; use Schema; use October\Rain\Database\Updates\Migration; class CreatePostViewsTable extends Migration { public function up() { Schema::create('vdomah_blogviews_views', function($table) { $table->engine = 'InnoDB'; $table->integer('vi...
<div class="row"> <div class="col-md-12"> <div class="x_panel"> <div class="x_title"> <a class="btn btn-primary" href="<?= base_url('halaman/siswa/tambah');?>"><i class="fa fa-plus"></i> Tambah Siswa</a> <a class="btn btn-primary" href="<?= base_url('halaman/siswa/ganti-kelas')...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Url; class UrlController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the form for creat...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php /* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ ?> <html xmlns="http://www.w3.org/1999/x...
<?php namespace content_election\home; use \lib\utility; use \lib\debug; class model extends \content_election\main\model { /** * check url exist * * @param <type> $_url The url * * @return <type> ( description_of_the_return_value ) */ public function check_url($_url) { return \content_el...
<?php namespace admin\CmsBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; use \admin\UserBundle\Types\TypeCodeProfil; use \admin\UserBundle\Entity\Profil; use \Symfony\Component\Form\Extension\Core\Ty...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">Dashboard</div> <div class="card-body"> ...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Users/gimi/Sites/grav-admin/user/plugins/login/languages.yaml', 'modified' => 1486716906, 'data' => [ 'en' => [ 'PLUGIN_LOGIN' => [ 'USERNAME' => 'Username', 'EMAIL' => ...
<?php /* * Copyright 2018 Mathieu Piot. * * 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 a...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Tag_combinations extends Model { use HasFactory; }
<?php namespace HumanDirect\Socially\Normalizer; /** * Class TwitterNormalizer. */ class TwitterNormalizer extends DefaultNormalizer { /** * Replace fb.com domain with facebook.com. * * {@inheritdoc} */ public function afterNormalization(string $url): string { $url = parent::...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Http\Requests; use App\Models\Home; class CmsController extends Controller { public function index() { $menu = Home::all(); return view('cms/home',['menus'=>$menu]); } publi...
<?php namespace App\Http\Requests; use File; use App\Models\Product; use App\CustomTrait\ImageUpload; use Illuminate\Foundation\Http\FormRequest; class ProductRequest extends FormRequest { use ImageUpload; /** * Determine if the user is authorized to make this request. * * @return bool */...
@extends('errors::minimal') @section('title', __('Service Unavailable')) @section('code', '503') @section('message', __('Er wordt aan gewerkt'))
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProductoSimbolosAsociadosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::creat...
<?php /* Enviar e-mail para o administrador se houver posts para revisão Dicas do @GugaAlves (@tudoparawp): - Adicionar link para enviar e-mail diretamente para o administrador; - Incluir link para a edição do post no admin, facilitando a vida do admin que receber este email. Dica...
<?= $this->extend('templates/index'); ?> <?= $this->section('page-content'); ?> <div class="container"> <div class="row"> <div class="col"> <h1 class="mt-2 text-center">Nilai Input Parameter OEE</h1> <h2>Availability</h2> <!-- <a href="/dashboard/create" class="btn btn-...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Dasbor extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('pelanggan_model'); $this->load->model('produk_model'); $this->load->model('header_transaksi_model'...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\models\StatusMesyuaratSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="status-mesyuarat-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get'...
<label for="" class="col-sm-3">Otros</label> <div class="col-sm-3"> <input type="text" name="a_personales"> </div>
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Pengembalian2 extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model(array('pengembalian2_model', 'peminjaman_model', 'petugas_model')); } public function index() { //mengar...
<?php namespace Slimak\Tests; use Illuminate\Database\Schema\Blueprint; use Illuminate\Foundation\Application; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Schema; use Orchestra\Testbench\TestCase as Orchestra; /** * Class LaravelTestCase * * @package Slimak\Tests */ abstract class Laravel...
<?php /* * FileSender www.filesender.org * * Copyright (c) 2009-2012, AARNet, Belnet, HEAnet, SURFnet, UNINETT * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of...
<?php namespace Oro\Bundle\EmailBundle\Form\Type; use Oro\Bundle\ConfigBundle\Config\ConfigManager; use Oro\Bundle\EntityBundle\Form\Type\EntityChoiceType; use Oro\Bundle\FormBundle\Form\Type\OroRichTextType; use Oro\Bundle\LocaleBundle\DependencyInjection\Configuration; use Oro\Bundle\LocaleBundle\Entity\Localizatio...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class Orders extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('orders',function(Blueprint ...
<?php $__env->startSection('title_area'); ?> :: Details Land Information :: <?php $__env->stopSection(); ?> <?php $__env->startSection('show_message'); ?> <?php if(Session::has('message')): ?> <div class="alert alert-success alert-dismissible" id="alert_hide_after" role="alert" style="marg...
<?php namespace App\Http\Controllers; use App\Interfaces\ProductRepositoryInterface; use Illuminate\Http\Request; class ProductController extends Controller { private $productRepository; public function __construct(ProductRepositoryInterface $productRepository) { $this->productRepository = $prod...
<?php /** * https://github.com/prasad83/Zend-Gdata-Contacts * @author prasad * * 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-b...
<div class="row"> <ol class="breadcrumb"> <li><a href="#"><svg class="glyph stroked home"><use xlink:href="#stroked-home"></use></svg></a></li> <li class="active">Quản trị</li> </ol> </div><!--/.row--> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Trang quản trị</h1> <...
<?php use yii\helpers\Html; use common\models\StdPersonalInfo; // Get `dept_id` from `departments` table $id = $_GET['id']; $deptName = Yii::$app->db->createCommand("SELECT department_name FROM departments WHERE department_id = '$id'")->queryAll(); // Getting `dept_id and emp_id` from `emp_departments`...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>CAS Explorer: Help</title> <!-- Boots...
<?php namespace app\modules\equipment\controllers\tool; use Yii; use yii\web\Controller; use yii\web\NotFoundHttpException; use app\modules\equipment\models\Tools; use app\modules\equipment\models\Wiki; class WikiController extends Controller { public function actionIndex() { Yii::$app->response->format = ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDogesTable extends Migration { public function up() { Schema::create('doges', function (Blueprint $table) { $table->id(); $table->int...
<?php use yii\db\Migration; /** * Class m190830_212456_add_field_super_tariff_used_to_yandex_point */ class m190830_212456_add_field_super_tariff_used_to_yandex_point extends Migration { public function up() { $this->addColumn('yandex_point', 'super_tariff_used', $this->boolean()->defaultValue(0)->a...
<?php declare(strict_types=1); namespace SportTrackingDataSdk\SportTrackingData\Entity; use SportTrackingDataSdk\ClientHydra\Proxy\ProxyObject; use Symfony\Component\Serializer\Annotation\Groups; /** * @method string getId() * @method void setId(string $id) * @method null|string getNam...
@section('contenido') <div class="row"> <form class="col s12"> <div class="row card-panel"> <div class="col s12 center"> <h4>Formulario de Usuario</h4></div> <div class="input-field col l4 s12"> <input placeholder="Ingrese su nombre completo" id="nombres" type="text...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use App\MeasurementUnit; use App\kindOfPurchose; use App\Category; use App\Inventory; class Element extends Model { public function measurement_unit(){ return $this->belongsTo('App\MeasurementUnit'); } public function kind_of_purchose...
<?php $config = array(); // Base URL // // Also update the RewriteBase at the bottom of the htaccess file if the site lives in a subdirectory $config['base_url'] = 'http://php-boilerplate.dev/'; // Google Analytics Web Property ID // // Ex. UA-XXXXX-X $config['google_analytics_web_property_id'] = '';
--TEST-- mysqli_use_result() --EXTENSIONS-- mysqli --SKIPIF-- <?php require_once('skipifconnectfailure.inc'); ?> --FILE-- <?php require_once("connect.inc"); require('table.inc'); if (!$res = mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id")) printf("[003] [%d] %s\n", mysqli_errno(...
--TEST-- Test mb_stripos() function : usage variations - Pass different integers as $offset argument --SKIPIF-- <?php extension_loaded('mbstring') or die('skip'); function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build"); ?> --FILE-- <?php /* Prototype : int mb_stripos(string $haystack, ...
<?php declare(strict_types=1); namespace Rector\Core\ValueObject\Reporting; use Rector\ChangesReporting\ValueObject\RectorWithFileAndLineChange; use Symplify\SmartFileSystem\SmartFileInfo; final class FileDiff { /** * @var string */ private $diff; /** * @var string */ private $d...
<?php use yii\helpers\Html; ?> <h1 class="guide-headline"><?= Html::encode($title) ?></h1>
<div class="ibox float-e-margins animated fadeInDown"> <div class="panel panel-primary"> <div class="panel-heading"> <i class="fa fa-info-circle"></i> Edit Data cabang </div> <div class="panel-body"> <form method="post" id="FormCabang" class="form-horizontal" action=...
@extends('layouts.app') @section('content') <div class="col-md-10 col-md-offset-1"> <div class="panel"> <div class="panel-heading"> <div class="panel-title text-left"> <h3 class="title">Customer Information Update</h3> <hr /> ...
<?php declare(strict_types=1); namespace Manju; use ReflectionClass, stdClass; /** * Checks if haystack begins with needle * @link https://stackoverflow.com/questions/834303/startswith-and-endswith-functions-in-php * @param string $haystack * @param string $needle * @return bool */ function startsWith(str...
<?php namespace JanVince\SmallContactForm\Models; use Str; use Model; use URL; use October\Rain\Router\Helper as RouterHelper; use Cms\Classes\Page as CmsPage; use Cms\Classes\Theme; use JanVince\SmallContactForm\Models\Settings; use Log; use Validator; use Mail; use Request; use Carbon\Carbon; use View; use App; use ...
<?php $__env->startSection('content'); ?> <?php echo $__env->make('partials.page-header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php if(!have_posts()): ?> <div class="alert alert-warning"> <?php echo e(__('Sorry, no results were found.', 'rage')); ?> </div> <?...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> ERROR - 201820182018-0202-2424 1818:0202:0303 --> Could not find the specified $config['composer_autoload'] path: vendor/autoupload.php ERROR - 201820182018-0202-2424 1818:0202:0303 --> 404 Page Not Found: Faviconico/index ERROR - 201820182018-02...
<?php /** * PHP version 5.6 * * This source file is subject to the license that is bundled with this package in the file LICENSE. */ namespace Codeup\Pimple; use Codeup\Attendance\RegisterBootcamp; use Codeup\Attendance\RegisterStudentsInformation; use Codeup\Attendance\UpdateAttendanceList; use Codeup\EventSource...
<?php /* * This file is part of the Assetic package, an OpenSky project. * * (c) 2010-2014 OpenSky Project Inc * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Assetic\Extension\Twig; use Assetic\Factory\Loader\FormulaL...
<?php /** * Theme Customizer Functions * * @package Theme Freesia * @subpackage Event * @since Event 1.0 */ $event_settings = event_get_theme_options(); /******************** EVENT THEME OPTIONS ******************************************/ $wp_customize->add_section('title_tagline', array( 'title' => __('Site T...
<?php /* * Copyright 2014 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 ...
<?php // Generate a random username for the connecting client function randomUsername() { $ADJECTIVES = array( 'Abrasive', 'Brash', 'Callous', 'Daft', 'Eccentric', 'Fiesty', 'Golden', 'Holy', 'Ignominious', 'Joltin', 'Killer', 'Luscious', 'Mushy', 'Nasty', 'OldSchool', 'Pompous', 'Quiet', ...
<?php defined('C5_EXECUTE') or die('Access Denied.'); ?> <?php $ih = Loader::helper('concrete/interface'); $ci = Loader::helper('concrete/urls'); $valt = Loader::helper('validation/token'); $u = new User(); ?> <style type="text/css"> #ccm-scrapbook-list { margin-top:32px; margin-bottom:32px; } #ccm-scrapbook-list .c...
<?php class DataBaseKonopidBase{ function __construct($user, $pass, $datab = '', $host = 'localhost', $port = 3306) { try{ $this->odb = $dbh = new PDO('mysql:dbname='. $datab .';host=' . $host . ';port=' . $port, $user, $pass); }catch(PDOException $e){ echo 'Database Unav...