text
stringlengths
2
1.03M
<?php namespace Schnittstabil\Get; class OutOfBoundsException extends \OutOfBoundsException implements Exception { protected $path; protected $target; public function __construct($message = '', $code = 0, \Exception $previous = null, $path = null, $target = null) { parent::__construct($messag...
<?php namespace Zrcms\ServiceAlias\Api; use Psr\Container\ContainerInterface; /** * @author James Jervis - https://github.com/jerv13 */ class GetServiceAliasRegistryBasicFactory { /** * @param ContainerInterface $serviceContainer * * @return GetServiceAliasRegistryBasic * @throws \Psr\Conta...
@extends('layouts.master') @section('title') Create User @endsection @section('content') <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <h5 class="title">Add User</h5> </div> <div class="card-body">...
<?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 include "template/nav.php"; ?> <?php include "template/header.php"; ?> <h2>Effectuer un virement</h2> <form class="mt-5 fullForm" method="post" action=""> <div class="form-group"> <label for="debit">Compte à débiter</label> <select class="form-control" id="debit" name="debit"> <option value="cour...
<?php // force UTF-8 Ø /* Plug-in for theme option handling * The Admin Options page tests for the presence of this file in a theme folder * If it is present it is linked to with a require_once call. * If it is not present, no theme options are displayed. * */ require_once(dirname(__FILE__) . '/functions.php');...
@extends('layout.main') @section('title', 'GameInfo: Search') @section('link-css', asset('css/search.css')) @section('link-js', asset('js/main.js')) @section('content') <section> <form class="input-group mb-3" method="POST" action="{{ route('search.redirect') }}"> @csrf <div clas...
<?php namespace TheSeer\phpDox\Generator { class ClassObject extends AbstractUnitObject { /** * @return MemberCollection */ public function getMembers() { return new MemberCollection($this->asDom()->query('phpdox:member')); } } }
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class Autenticador { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public 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> <title>Site Name Here</title> <?= html_css_link('style')?> <?= html_js_link('jquery')?> <?= html_js_link('framework')?> <?= html_js_link('applicati...
<?php namespace TYPO3\Flow\Command; /* * This file is part of the TYPO3.Flow package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * source code. */...
<!DOCTYPE html> <html> <head> <title>Upload Form</title> </head> <body> <h3>Your file was successfully uploaded!</h3> <ul> <?php foreach ($upload_data as $item => $value): ?> <li><?php echo $item; ?>: <?php echo $value; ?></li> <?php endforeach; ?> </ul> <p><?php echo anchor('upload', 'Upload Another File!'); ?...
<?php require_once 'application/config/database.php'; class Distrito_model extends Model { public static $_table = 'distritos'; public static $_connection_name = 'ubicaciones'; } ?>
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\Submenu */ $this->title = 'Update Submenu: ' . ' ' . $model->name; $this->params['breadcrumbs'][] = ['label' => 'Submenus', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' =>...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class P_master_diskon extends CI_Controller{ function __construct() { parent::__construct(); $this->load->database(); $this->load->model('m_login'); if(!$this->m_login->status_login()) redirect(site_url()); ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateContribuintesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('contribui...
<?php namespace App\Http\Controllers; use App\Events\AddEventLogs; use App\Models\Delivery; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Modules\Admin\Entities\Role; use Validator; class DeliveryController extends Controller { public function index(){ if(!Role::granted('view_refs...
<?php /* Cachekey: cache/stash_default/doctrine/dc2_3dc4d09e4f59a91d65ac8f878412350f_[\concrete\core\entity\attribute\value\filevalue$classmetadata][1]/ */ /* Type: array */ /* Expiration: 2018-04-02T01:30:59+02:00 */ $loaded = true; $expiration = 1522625459; $data = array(); /* Child Type: object */ /* Child Ty...
--TEST-- Test getimagesize() function : basic functionality - load APP info from jpeg. --SKIPIF-- <?php if (!defined("IMAGETYPE_JPEG")) { die("skip jpeg format is not available"); } ?> --FILE-- <?php /* Prototype : proto array getimagesize(string imagefile [, array info]) * Description: Get the size of an image a...
<?php /** * Chunk English lexicon topic * * @language en * @package modx * @subpackage lexicon */ $_lang['chunk'] = 'Чънк'; $_lang['chunk_desc_category'] = 'Категорията, към която принадлежи този Чънк.'; $_lang['chunk_desc_description'] = 'Кратко описание на този Чънк.'; $_lang['chunk_desc_name'] = 'Името на този...
<?php declare (strict_types=1); namespace PhpParser\Node\Stmt; use PhpParser\Node; class While_ extends \PhpParser\Node\Stmt { /** @var Node\Expr Condition */ public $cond; /** @var Node\Stmt[] Statements */ public $stmts; /** * Constructs a while node. * * @param Node\Expr $cond ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Paciente; use App\Models\Persona; use App\Http\Requests\Paciente\StoreRequest; use App\Http\Requests\Paciente\UpdateRequest; class PacienteController extends Controller { /** * Display a listing of the resource. * * ...
<!DOCTYPE html> <html class="no-js" lang="en"> <!-- Mirrored from renthire.agthemes.net/elements-cards.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 25 Jan 2020 23:18:18 GMT --> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=dev...
<?php namespace HomedoctorEs\Laravel\Holded; use HomedoctorEs\Holded\Holded as BaseHolded; class Holded extends BaseHolded { }
<?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 /** * Created by PhpStorm. * User: Денис * Date: 03.01.2018 * Time: 18:44 */ ?> <div class="col-sm-12 col md-12 col-lg-7"> <form id="form" name="form" method="post" class="vacancies_form"> <div class="title_form">Введіть нову назву категорії</div> <div class="main_part_form"> ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class FollowKeyword extends Model { use HasFactory, SoftDeletes; }
<? session_start(); ///////////หาค่า max ของ id $hostdb = 'localhost'; // MySQl host $userdb = 'root'; // MySQL username $passdb = '12345678'; // MySQL password $namedb = 'gotcha'; // MySQL database name mysql_connect($hostdb, $userdb, $passdb); mysql_select_db($namedb); mysql_set_charset("utf8"); $attribut...
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2020 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNET...
<?php /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\cart; use App\Charts\bieudo; use Carbon\Carbon; use Auth; use DB; class thongke extends Controller { public function index(Request $req) { // Auth::logout(); $query=DB::table("codeloai"); $q...
<?php namespace App; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; Use App\Product; use Auth; use Session; class Cart extends Model { use HasFactory; public static function userCartItems() { if(Auth::check()){ $userCardItems = Cart::with...
<?php namespace App; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class OtherSetting extends Model { use HasFactory; }
<?php namespace BjyAuthorize\View; use BjyAuthorize\Exception\UnAuthorizedException; use BjyAuthorize\Guard\Controller; use BjyAuthorize\Guard\Route; use Laminas\EventManager\EventManagerInterface; use Laminas\EventManager\ListenerAggregateInterface; use Laminas\Http\Response; use Laminas\Mvc\Application; use Laminas...
<?php /* * This file is part of the fighcell project * * (c) fighcell project <http://github.com/fighcell> * * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ namespace fighcell\user\clients; use Yii; use yii\authclient\clients\Y...
<?php namespace App\AdminBundle\Controller; use Symfony\Component\HttpFoundation\Response; use App\AdminBundle\Business; class PhysicalItemPurchaseController extends InlineCrudController { public function preProcess(&$data, $action) { parent::preProcess($data, $action); if (in_array($action,...
<?php namespace Lagumen\LaravelEssential\Tests\Validations; use Lagumen\LaravelEssential\Interfaces\LaravelEssentialValidationInterface; class UserValidation implements LaravelEssentialValidationInterface { public function save(array $data = []) { return [ 'name' => 'required|string', ...
<?php /** * Require the head layout * */ require(__DIR__ . '/../include/layouts/head.inc'); use TicketApp\DBHelper; $db1 = new DBHelper; $db2 = new DBHelper; $db1->query("SELECT name FROM people"); $nameset = $db1->resultSet(); ?> <div class="row"> <div class="col-md-10 col-md-offset-1"> <h...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBooksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('books', function ...
<!DOCTYPE html> <html lang="fr" class="js"> <head> <?php include("_meta.php") ?> </head> <body class="nk-body layout-apps has-apps-sidebar npc-apps-messages "> <div class="nk-app-root"> <?php include('_navigation.php') ?> <div class="nk-main "> <!-- wrap @s --> <div c...
<?php use Illuminate\Database\Seeder; class ReservationSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $reservation = factory(App\Reservation::class, 3)->create()->each(function ($reservation) { // Create Models...
<?php namespace Dodici\Fansworld\WebBundle\Controller; use Dodici\Fansworld\WebBundle\Entity\Teamship; use Symfony\Component\HttpKernel\Exception\HttpException; use Application\Sonata\UserBundle\Entity\User; use Symfony\Component\Security\Core\Exception\AccessDeniedException; use JMS\SecurityExtraBundle\Annotation\Se...
<?php namespace Aoeng\Laravel\SMS\Captcha; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Str; class Captcha { protected $codeKeyPfx = 'aoeng.sms.captcha:'; protected $mobileKeyPfx = 'aoeng.sms.captcha.mobile:'; protected $sms; public function __construct($app) { $this-...
<?php get_header(); ?> <div class="container"> <div class="row page"> <div class="col-md-9"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <h1><?php the_title(); ?></h1> <p><em><?php the_time('l, j F Y'); ?></em></p> <?php the_content(); ?> <div clas...
<form role="search" method="get" class="search-form" action="<?php echo home_url( '/' ); ?>"> <fieldset> <label> <input type="search" class="search-field" placeholder="SEARCH ..." value="<?php echo esc_attr( get_search_query() ); ?>" name="s" title="Search for:" /> </label> <button class="search-submit"> <...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\modules\doctorworkbench\models\CIcd10tm */ $this->title = $model->diagcode; $this->params['breadcrumbs'][] = ['label' => 'C Icd10tms', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ThGiaGocVlXdCt extends Model { protected $table = 'thgiagocvlxdct'; protected $fillable = [ 'id', 'mahs', 'district', 'tenhhdv', 'qccl', 'dvt', 'giagoc', 'qcad', 'ghichu'...
<?php include('includes/contant.php'); ?> <?php include('partials/_header.php'); ?> <header id="gtco-header" class="gtco-cover gtco-cover-sm" role="banner" style="background-image: url(images/service.jpg)"> <div class="overlay"></div> <div class="gtco-container"> <div class="row"> <div class="col-md-12 c...
<?= $this->extend('template/template-backend-admin') ?> <?= $this->section('content') ?> <div class="col-sm-12"> <div class="card card-primary"> <div class="card-header"> <h3 class="card-title">Daftar <?= $subtitle ?></h3> <div class="card-tools"> <button class="btn ...
<?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\HttpClient\Tests; use Symfony\Component\HttpClient\Cu...
<?php not_found_if(is_installed($location)); if (!is_writable(dirname($location))) { error_commit('Temp directory is not writable'); back(); } /** @var PDO */ $pdo = $fun['db']->getPdo(); foreach (glob($fun['project_dir'] . '/databases/'. $fun['connection.default'] . '/*.sql') as $file) { $pdo->exec(file_get_...
<?php namespace Ekyna\Component\Commerce\Pricing\Api; /** * Class Api * @package Ekyna\Component\Commerce\Tax * @author Etienne Dauvergne <contact@ekyna.com> */ class PricingApi implements PricingApiInterface { const PROVIDER_TAG = 'ekyna_commerce.pricing.api_provider'; /** * @var array */ ...
<?php class Swift_KeyCache_ArrayKeyCacheTest extends \PHPUnit_Framework_TestCase { private $_key1 = 'key1'; private $_key2 = 'key2'; public function testStringDataCanBeSetAndFetched() { $is = $this->_createKeyCacheInputStream(); $cache = $this->_createCache($is); $cache->setStr...
<?php /* * Copyright (C) 2018 Anders Lövgren (Nowise Systems) * * 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...
<?php namespace App\Models; use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Support\Facades\Storage; class Food extends Model { use HasFactory, SoftDeletes; protected $fillable = [ ...
<?php $__env->startSection('content'); ?> <div class="page-wrapper"> <div class="content"> <div class="row"> <div class="col-sm-5 col-5"> <h4 class="page-title">Departments</h4> </div> <div class="col-sm-7 co...
<?php namespace Ezlogger\Feeders; use Illuminate\Support\Facades\Auth; class EnviromentFeeder extends Feeder{ public function handle(array $record){ return [ "framework" => "laravel", "locale" => app()->getLocale(), "version" => app()->version(), "platform"...
<?php namespace Laracasts\Validation; use Laracasts\Validation\FactoryInterface as ValidatorFactory; use Laracasts\Validation\ValidatorInterface as ValidatorInstance; abstract class FormValidator { /** * @var ValidatorFactory */ protected $validator; /** * @var ValidatorInstance */ protected $validation...
<?php declare(strict_types=1); /** * This file has been auto generated * Do not change it. */ namespace Commercetools\Api\Models\DiscountCode; use Commercetools\Api\Models\Type\FieldContainer; use Commercetools\Api\Models\Type\FieldContainerBuilder; use Commercetools\Api\Models\Type\TypeResourceIdentifier; use Co...
@extends('layouts.pme') @section('header-script') <!-- Custom box --> <link href="assets/plugins/custombox/dist/custombox.min.css" rel="stylesheet"> @stop @section('title','Clients') @section('page-title') <div class="row"> <div class="col-sm-12"> <div cla...
<?php namespace App\Exceptions; use Exception; use App\Http\Message; class MatchAlreadyJoinedException extends Exception { protected $message = 'User already joined this match'; /** * Render the exception into an HTTP response. * * @param \Illuminate\Http\Request $request * @return \Il...
<?php /* Copyright (c) 2007, Till Brehm, projektfarm Gmbh 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 source code must retain the above copyright notice, this list of...
<?php /* @Framework/Form/hidden_widget.html.php */ class __TwigTemplate_740a1e675171eae31fdc33a6b2ec07b9a03970286eb59464e27fc1f696422796 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array...
<?php /* This file has been prefixed by <PHP-Prefixer> for "Hello Prefixed World for WordPress" */ /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code....
<?php namespace App\Rules; use Illuminate\Contracts\Validation\Rule; use App\Models\User; use phpDocumentor\Reflection\Types\Boolean; class RuleEmailUniqueOnUpdateUser implements Rule { /** * Create a new rule instance. * * @return void */ public function __construct() { // ...
<?php namespace frontend\components; use yii\web\ErrorAction; use frontend\models\DeletedPages; use yii; /** * Class SdErrorHandler * @package frontend\components */ class SdErrorHandler extends ErrorAction { /** * @return string */ public function run(){ if ($this->getExceptionCode()==404) { ...
@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">{{ __('Verify Your Email Address') }}</div> <div class="card-body"> ...
<?php return array ( 'See online:' => 'Lihat online', 'see online' => 'lihat online', 'via' => 'melalui', );
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; class NotifyNotification extends Notification { use Queueable; public $post; public $type; /** ...
<?php class MotivosBloqueoFechaController extends Controller { /** * @var string the default layout for the views. Defaults to '//layouts/column2', meaning * using two-column layout. See 'protected/views/layouts/column2.php'. */ //public $layout='/layouts/column1'; /** * @return array action filters */ ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
@extends('layouts.app') @section('content') <div class="card card-custom mb-7"> <div class="card-header"> <div class="card-title"> <span class="card-icon"> <i class="flaticon-search text-primary"></i> </span> <h3 class="card-label"> {{ __...
<?php // @formatter:off /** * A helper file for Laravel, to provide autocomplete information to your IDE * Generated for Laravel 7.30.1. * * This file should not be included in your code, only analyzed by your IDE! * * @author Barry vd. Heuvel <barryvdh@gmail.com> * @see https://github.com/barryvdh/laravel-ide-...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
<?php $departments_display = ''; if($personnel_departments->num_rows() > 0) { $departments = $personnel_departments->result(); foreach($departments as $dept) { $department_id = $dept->department_id; $department_name = $dept->departments_name; $department_image = $dept->departments_image; $depa...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class RenameCategoryChilds extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::rename('category_chil...
<html> <head> <style> .register { margin: 0 auto; width: 230px; padding: 20px; background: #f4f4f4; border-radius: 3px; -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3); box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3); } td { ...
<?php namespace App\Http\Traits; trait ApiResponseTrait{ /** * [ * code => default 200 and dataType is int. * message => default null and dataType is String. * errors => default null and dataType is Array. * data => default null and dataType id Array * ] */ public fun...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class ContactUs 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\DB; use App\Http\Controllers\Controller; use App\Cita; class Citas extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function ind...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">404</div> <div class="panel-body"> ...
<?php use common\models\BrandModel; use common\utils\AttributesLabels; use yii\helpers\Html; use yii\web\View; use yii\widgets\DetailView; /* @var $this View */ /* @var $model BrandModel */ $this->title = $model->name; $brand = $model->getBrand()->one(); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Ma...
<div class="catalog"> <h3>~Категории товаров~</h3> <?foreach($categories as $cat):?> <?if($select == $cat->id):?> <?=html::anchor('catalog/cat/' . $cat->id, $cat->title, array('class' => 'select'))?> <?else:?> <?=html::anchor('catalog/cat/' . $cat->id, $cat->title)?> <?endif?> <...
<!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"> <title> {{ CNF_APPNAME }} | {{ $pageTitle}} </title> <meta name="keywords" content="{{ $pageMetakey }}"> <meta name="description" cont...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProgramsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('programs', fun...
<?php return [ 'header_azan_title' => 'AZAN', /*tez tez ishlatiladigan so'zlar*/ 'home' => 'Ev', 'share_post' => 'Gonderiyi paylas:', 'read_more' => 'Daha fazla oku', 'view_more' => 'Daha fazla goster', 'search' => 'Arama', 'search_here' => 'Arama', 'all' => 'Herşey', /*tez tez...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php /** * 测试PHP内存管理. * * @author wuqi <qiw1@jumei.com> */ namespace Test\name; class TestMem { /** * Undocumented function * * @return void */ public static function arrMem() { var_dump('Hello PHP!'); $tArr = array_fill(1, 100, 'hello'); var_dump(memory_get...
<?php /* * This file is part of the API Platform project. * * (c) Kévin Dunglas <dunglas@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace ApiPlatform\Core\Api; use ApiPlatform\Core\E...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class Loves extends Authenticatable { /** * The table associated with the model. * * @var string */ protected $table = 'loves'; /** * Indicates if the model shou...
<?php class Model_pp_zakat_kabupaten_kota extends CI_model { public function view($table) { return $this->db->get($table); } public function viewOrdering($table, $order, $ordering) { $this->db->order_by($order, $ordering); return $this->db->get($table); } public fu...
<?php /* @property news_model $news_model */ class News extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('news_model'); } function index() { $data['news'] = $this->news_model->get_all(); $this->load->view('content/news_lis...
@extends('app') @section('content') <header class="bg-gray-900" x-data="{ isOpen: false }"> <section class="flex items-center justify-center" style="height: 500px;"> <div class="text-center"> <p class="text-xl font-medium tracking-wider text-gray-300">Lorem ipsum dolor</p> ...
<?php /** * @author Sebastian Gomez (tiochan@gmail.com) * For: Politechnical University of Catalonia (UPC), Spain. * * @package lib * @subpackage javascript */ ?> // General functions function openWin(URL) { myWin= openNewWindow(URL,"", ""); return myWin; } function openLookup(URL) { myWin= openNewWindow(URL,""...
<?php namespace common\models; use Yii; use \common\models\base\AkuisisiActionMaster as BaseAkuisisiActionMaster; /** * This is the model class for table "akuisisi_action_master". */ class AkuisisiActionMaster extends BaseAkuisisiActionMaster { }
<!--@name viewscuoa.php @author Om Prakash(omprakashkgp@gmail.com) --> <?php defined('BASEPATH') OR exit('No direct script access allowed');?> <html> <head> <?php $this->load->view('template/header'); ?> <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/...
<div class="box box-info"> <div class="box-header with-border"> <h3 class="box-title">订单流水号:{{ $order->no }}</h3> <div class="box-tools"> <div class="btn-group float-right" style="margin-right: 10px"> <a href="{{ route('admin.orders.index') }}" class="btn btn-sm btn-defau...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); require APPPATH . '/libraries/REST_Controller.php'; class Enfermedades extends REST_Controller { function__construct(){ parent::__construct(); $this->load('Enfermedades_model'); } function doc_get(){ if ($this->get('id')){ ...
<?php use app\modules\migrations\components\ConvertMigrationAbstract; use site\modules\plugins\models\PluginData; class v200000_160418_152758_convert_or_create_plugins_data_table extends ConvertMigrationAbstract { /** @inheritdoc */ public $upTableRequired = false; /** @inheritdoc */ public $upTableS...
<?php declare(strict_types=1); use Rector\Php70\Rector\Assign\ListSplitStringRector; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return static function (ContainerConfigurator $containerConfigurator): void { $services = $containerConfigurator->services(); $services->s...