text
stringlengths
2
1.03M
<?php /* +--------------------------------------------------------------------------+ | Zephir Language | +--------------------------------------------------------------------------+ | Copyright (c) 2013-2014 Zephir Team and contributors ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Http\Requests\Auth\LoginRequest; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class AuthenticatedSessionController extends Controller { /** * Display the login view. * * @return \Illuminate...
<?php ini_set('memory_limit', '2048M'); class Main { public $hashMap = array(); public function __construct() { } public function getSolution($n) { $ret = gmp_init(0); $modulo = gmp_init($n); for ($i=1;$i <= 1000;$i++) { $temp = gmp...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Publication; use App\Domain; use App\User; use DB; class PublicationController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
<?php namespace App\Http\Controllers\admin; use App\Models\bisnis; use App\Models\so_library; use App\Models\kpi_library; use App\Models\si_library; use App\Models\business_categories; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class dataLibraryController extends Controller { function ind...
@extends('backendtemplate') @section('content') <div class="container-fluid text-center"> <h2>Order Detail </h2> </div> <div class="container table-responsive py-2"> <div class="row"> <div class="offset-md-2 col-md-8"> <table class="table table-bordered"> <tr> ...
<?php namespace ManaPHP\Http\Client; class BadRequestException extends Exception { }
<?php namespace Amato; defined('AMATO') or die; class SleepEncoder extends Encoder { /* ** Override for Encoder::decode. */ public function decode($token) { return unserialize($token); } /* ** Override for Encoder::encode. */ public function encode($plain, $groups) ...
<?php namespace StadGent\Services\OpeningHours\Response; use DigipolisGent\API\Client\Response\ResponseInterface; /** * Object containing the HTML response from the API. * * @package StadGent\Services\OpeningHours\Response */ class HtmlResponse implements ResponseInterface { /** * The HTML in the respon...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Excel; use App; class pakController extends Controller { public function addUser ($name, $pass){ $data = New App\User(); $data->name = $name; $data->email = $name.'@gmail.com'; $data->passwor...
<?php /* * This file is part of the PHPBench package * * (c) Daniel Leech <daniel@dantleech.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * */ namespace PhpBench\Tests\Unit\Subject; use PhpBench\Model\Benchmark; use PhpBenc...
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ /* |-------------------------------------------------------------------------- | Register The Auto Loader |-------------------------------------------------------------------------- | | ...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-9"> <div class="card"> <div class="card-header">Nuevo cliente</div> <div class="card-body"> <form action="{{ route(...
<?php echo $content_for_layout; ?>
<?php namespace Oro\Bundle\QueryDesignerBundle\Grid; use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration; use Oro\Bundle\DataGridBundle\Datagrid\DatagridGuesser; use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource; use Oro\Bundle\EntityBundle\Provider\EntityNameResolver; use Oro\Bundle\EntityBu...
@extends('admin.layouts.header') @section('admin-container') <div class="main-content"> <div class="main-content-inner"> <div class="breadcrumbs ace-save-state" id="breadcrumbs"> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> ...
<?php declare(strict_types=1); namespace Fernet\Component; use Fernet\Framework; class FernetJs { public bool $preventWrapper = true; public function __construct(Framework $framework) { $framework->setConfig('enableJs', true); } public function __toString() { return <<<HTML:...
@props(['align' => 'right', 'width' => '48', 'contentClasses' => 'py-1 bg-white', 'dropdownClasses' => '']) @php switch ($align) { case 'left': $alignmentClasses = 'origin-top-left left-0'; break; case 'top': $alignmentClasses = 'origin-top'; break; case 'none': case 'fa...
<div id="page-meta-links"> <div class="collapse" id="collapseGroup"> <div class="well"> <div class="row"> <div class="col-md-6 col-sm-8 col-xs-8"> <button type="button" class="btn btn-success btn-sm" onclick="group_create();"><i class="glyphicon glyphicon-file"></i> 创建Tag</button> ...
<?php /** * A helper file for Laravel 5, to provide autocomplete information to your IDE * Generated for Laravel 5.6.15 on 2018-04-23 22:10:42. * * 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/larave...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class UserPrize extends Model { public $table = 'user_prizes'; public $guarded = []; }
<?php $__env->startSection('GILE','active'); ?> <?php $__env->startSection('GILEFN','active'); ?> <?php $__env->startSection('pagecontent'); ?> <!-- BEGIN PAGE HEADER--> <link rel="shortcut icon" href="favicon.ico"/> <?php if(session('status')): ?> <div class="alert alert-info"> <?php...
<?php /** * Bluz Framework Component * * @copyright Bluz PHP Team * @link https://github.com/bluzphp/framework */ /** * @namespace */ namespace Bluz\Cli; use Bluz\Response\AbstractResponse; use Bluz\Response\Presentation\AbstractPresentation; /** * Response * * @package Bluz\Cli * @author Anton Shevchu...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateRDVSTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('r_d_v_s', function...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Pegawai_model extends CI_Model { // ------------------------------------------------------------------------ public function __construct() { parent::__construct(); } public function get($id = null, $limit = 5, $offset = 0) {...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Rds\V20140815\Models\DescribeInstanceAutoRenewalAttributeResponseBody; use AlibabaCloud\SDK\Rds\V20140815\Models\DescribeInstanceAutoRenewalAttributeResponseBody\items\item; use AlibabaCloud\Tea\Model; class items extends Model ...
<!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() }}"> <title>{{ config('app.name', 'Laravel') }}</tit...
<?php declare(strict_types=1); namespace Loop\Client\Http\Action; use array_reverse; use explode; use Doctrine\DBAL\Driver\Connection; use implode; use microtime; use Ramsey\Uuid\Uuid; use Psr\Http\Message\ResponseInterface as Response; use Psr\Http\Message\ServerRequestInterface as Request; use Respect\Validation\E...
<?php defined('_JEXEC') or die('Restricted access'); ?> <script language="javascript" type="text/javascript"> function submitbutton(pressbutton) { var form = document.adminForm; if (pressbutton == 'cancelItem') { submitform( pressbutton ); return; } // do field validation if (!getSelectedValu...
@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"> Data Mahasiswa <a href="{{ route('tambah.mahasiswa') }}" clas...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateServiciosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('servicios', f...
<?php require_once '../../includes/db.php'; $zona = $_POST['Zona']; $otroDato = $_POST['OtrosDatos']; $estado = $_POST['Estado']; $query = "INSERT INTO r1z_zona_urbana (ZonUrbNom, ZonUrbOtrDat,ZonaUrbEstReg) VALUES ('$zona','$otroDato','$estado')"; echo mysqli_query($conn,$query); ?>
<?php declare(strict_types=1); namespace Rector\Tests\BetterPhpDocParser\PhpDocParser\TagValueNodeReprint\Fixture\DoctrineTable; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Table(name=ConstantTable::TABLE_NAME) */ class ConstantTable { const TABLE_NAME = 'some_table_name'; }
<?php /* * This file is part of the Competition voting system created for furgovw.org * by Javier Montes: @montesjmm / kalimocho@gmail.com / montesjmm.com * * http://www.furgovw.org/concurso/ * * Started at October 2013 * * For the full copyright and license information, please view the LICENSE * file that was...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Supplier extends Model { use HasFactory; protected $fillable = [ 'name', 'slug', 'street_address', 'website', 'phone', 'email', ]; }
@extends('layouts.admin_layout') @section('content') <div class="col-md-2"></div> <div class="col-md-6"> <table class="table table-striped"> <thead> <tr> <th>Name</th> <th>Email</th> <th>Message</th> <th></th> </tr> </thead> <tbody> @foreach ($data as $item)...
<?php namespace Sau\WP\Core\Option; use Exception; use Sau\WP\Core\DependencyInjection\WPExtension\ActionInterface; /** * Class AbstractPageOption * @package Sau\WP\Core\Option * @see https://wp-kama.ru/function/add_options_page */ abstract class AbstractPageOption implements ActionInterface { public ...
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Voice\V1; use Twilio\Exceptions\TwilioException; use Twilio\InstanceContext; use Twilio\Values; use Twilio\Version; class SourceIpMappingContext extends InstanceContext { /** ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use App\MetaTrait; use Illuminate\Support\Facades\DB; class LineItem extends Model { use MetaTrait; protected $connection = 'mysql'; protected $table = 'wp_woocommerce_order_items'; protected $prim...
<x-master> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>Product Details</h1> </div> <div class="col-sm-6"> <ol class="breadcrumb float-sm...
<?php $pageTitle = "Data Filter: Core Feature of our Datagrid"; $pageDescription = "ag-Grid is a feature-rich data grid supporting major JavaScript Frameworks. One such feature is Date Filter. Date Filter allows filtering dates with {equals, notEquals, lessThanOrEqual, greaterThan, greaterThanOrEqual, inRange}. Version...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php /** * This file belongs to the November framework, an extension of the * Zend Framework, written by Marcus Nyeholt <marcus@mikenovember.com> * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * If you did not receive a copy of th...
<?php namespace Scheb\YahooFinanceApi\Results; class SearchResult implements \JsonSerializable { /** * @var string */ private $symbol; /** * @var string */ private $name; /** * @var string */ private $exch; /** * @var string */ private $type; ...
<?php declare(strict_types=1); namespace Anfischer\Dto; use Anfischer\Dto\Exceptions\InvalidTypeException; use Anfischer\Dto\Exceptions\UndefinedPropertyException; abstract class Dto { protected const TYPE_SEPARATOR = '|'; /** * Magic method for setting the properties of the DTO * * @param st...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\modules\admin\models\CategorySearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Categories'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="category-index"> <h1><?...
<?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 /** * Vonage Client Library for PHP * * @copyright Copyright (c) 2016 Vonage, Inc. (http://vonage.com) * @license https://github.com/vonage/vonage-php/blob/master/LICENSE MIT License */ namespace Vonage\Client; use Vonage\Client; trait ClientAwareTrait { /** * @var Client */ protected ...
<?php declare(strict_types=1); use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateVisitsTable extends Migration { /** * Run the migrations. * * @return void */ public function up(): void { ...
<?php namespace App\Http\Requests\Api; use Illuminate\Foundation\Http\FormRequest; class TopicRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get ...
@extends('layouts.master') @section('title', 'Cosinic | ') @section('wrapper') @include('common.status') {{ Form::open(['route'=> 'createList'])}} <div class="row"> <div class="col-xs-12"> <span class="input"> {{ Form::text('name', null, ['class'=>'input__field', 'id'=>'name']) }} <label c...
@extends('layouts.parent') @section('content') <style type="text/css"> .amount{ font-size: 3.8125rem; height:4.875rem ; } .mt-4{ font-size: 25px; } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; -moz...
<?php /** * [PHPFOX_HEADER] */ defined('PHPFOX') or exit('NO DICE!'); /** * * * @copyright [PHPFOX_COPYRIGHT] * @author Raymond Benc * @package Phpfox_Component * @version $Id: activity.class.php 982 2009-09-16 08:11:36Z Raymond_Benc $ */ class Egift_Component_Block_Display extends Phpfox_Component...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use dosamigos\tinymce\TinyMce; use kartik\select2\Select2; use yii\helpers\ArrayHelper; use app\models\Uomo; /* @var $this yii\web\View */ /* @var $model app\models\Notifica */ /* @var $form yii\widgets\ActiveForm */ $uominiList = ArrayHelper::map(Uomo::find()-...
<?php /** * This file is part of laravel.su package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Service\ImageUploader; use Http\Promise\Promise; use Intervention\Image\Image; use Http\Promis...
@include('user.components.head') @include('user.components.header') @section('content') @if (session('status')) <div class="alert alert-success" role="alert"> {{ session('status') }} </div> @endif <div class="select"> <div class="catch"> SELECT </div> <div class="box25"> <p>問題数を設定してくださ...
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2016, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Description of Pendaftar_m * * @author Margarethanin */ class Pendaftar_m extends CI_Model { //put your code here ...
<?php $con = mysqli_connect("localhost", "username", "password", "organized_db"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } ?>
<?php namespace lib; class MP3File { protected $filename; public function __construct($filename) { $this->filename = $filename; } public static function formatTime($duration) //as hh:mm:ss { //return sprintf("%d:%02d", $duration/60, $duration%60); $hours = floor($duratio...
<?php use yii\grid\GridView; use yii\helpers\Html; use yii\widgets\ActiveForm; use app\models\Ubigeo; use app\models\Proyecto; use app\models\Video; use app\models\VotacionInterna; use app\models\ObjetivoEspecifico; use app\models\Actividad; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $model app\models...
<?php namespace iInvoices\Api; //use GuzzleHttp\Client; //use iInvoices\Api\Guzzle\WrappedClient as Client; use iInvoices\Api\Curl\Client; /** * @author Martin Bažík <martin@bazo.sk> */ class ApiClient { /** @var string */ private $domain; /** @var string */ private $apiKey; /** @var string */ private $a...
<?php /** * @author peter wang <xpw365@gmail.com> * @version 0.7 * @package pxpdo * 2015-07-28 * get result * * @param string $q * @return array of records function test($q, $data=array(), $raw = false){ $ct =5000; if(!$raw){ $sth = $this->pdo->prepare($q); for($i=0; $i<$ct; $i++){ $sth->exec...
<div class="col-lg-9"> <div class="well"> <div class="row"> <div class="col-lg-12"> <div class="dropdown pull-right"> <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown"> <span class="glyphicon glyphicon-sort"></span> Sort by <span class="caret"></span><...
@extends('adminLayout') @section('css') <link href="{!! URL::asset('css/plugins/dataTables/datatables.min.css')!!}" rel="stylesheet" type="text/css"/> @endsection @section('content') <div class="wrapper wrapper-content animated fadeInRight"> <div class="row"> <div class="col-lg-12"> ...
<?php $__env->startSection('content'); ?> <!-- 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"> <div class="col-sm-12 text-center"> ...
@extends('adminlte.layouts.app') @section('title', 'Tambah Simpanan') @push('css') <!-- Select2 --> <link rel="stylesheet" href="{{ asset('assets/plugins/select2/css/select2.min.css') }}"> <link rel="stylesheet" href="{{ asset('assets/plugins/select2-bootstrap4-theme/select2-bootstrap4.min.css') }}"> @endpush @secti...
<?php namespace Welcome\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Welcome\Notifications\ResetPassword; use Illuminate\Support\Facades\Lang; class MailResetPasswordNotification extends ResetPassword { use Queueable; protected $pageUrl; ...
<?php /** @noinspection ReturnTypeCanBeDeclaredInspection */ /** @noinspection AccessModifierPresentedInspection */ namespace Czim\CmsCore\Test\Support\Data; use Czim\CmsCore\Support\Logging\CmsFormatterDecorator; use Czim\CmsCore\Test\TestCase; use Mockery; use Mockery\Mock; use Mockery\MockInterface; use Monolog\Fo...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\question; use App\Models\Section; use Illuminate\Support\Facades\DB; class SectionController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public func...
<?php namespace app\models; /** * This is the model class for table "comentarios". * * @property integer $id * @property string $comentario * @property string $fecha * @property integer $id_usuario * @property integer $id_consulta * * @property Consultas $idConsulta * @property Usuarios $idUsuario */ class C...
<?php namespace Laravel\Lumen\Concerns; use Closure; use Exception; use Throwable; use FastRoute\Dispatcher; use Illuminate\Support\Str; use Illuminate\Http\Request; use Illuminate\Http\Response; use Laravel\Lumen\Routing\Pipeline; use Illuminate\Contracts\Support\Responsable; use Laravel\Lumen\Http\Request as LumenR...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Products extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('Products_model'); } public function index() { $this->data['title'] = 'Products'; $this->data['products'] = $this->P...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Favorites'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="favorites-index"> <h1><?= Html::encode($this->title) ?></h1> <p> <?= Html::...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class doanhnghiep extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tbl:doanhnghiep', func...
<!--/#app --> <script src="<?=base_url();?>admin_assets/js/app.js"></script> <script>(function($,d){$.each(readyQ,function(i,f){$(f)});$.each(bindReadyQ,function(i,f){$(d).bind("ready",f)})})(jQuery,document)</script>
<?php if ($wo['loggedin'] == false) { header("Location: " . Wo_SeoLink('index.php?link1=welcome')); exit(); } if ($wo['config']['events'] == 0) { header("Location: " . Wo_SeoLink('index.php?link1=welcome')); exit(); } $wo['description'] = $wo['config']['siteDesc']; $wo['keywords'] = $wo['config']['siteKeywo...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Teams extends Model { public $timestamps = false; protected $table = 'teams'; protected $guarded = [ 'id' ]; }
<!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, shrink-to-fit=no"> <!-- CSRF Token --> <link rel="shortcut icon" href="picture/logo-kecil.pn...
<!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>Laravel</title> <link href="{{ asset('/css/app.css') }}" rel="stylesheet"> <!-- Fonts --> <link h...
<?php use yii\helpers\Html; use yii\widgets\DetailView; use yii\helpers\Url; use yii\bootstrap\Modal; use common\models\GlobalFunction; $base_url = Yii::getAlias('@web'); $this->registerJsFile( '@web/js/sweetalert.js', ['depends' => [\yii\web\JqueryAsset::className()]] ); $this->title = $model->doc_id; // $...
<?php /** * This file is part of the Redmine php library * * (c) Sven Eisenschmidt <sven.eisenschmidt@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace SE\Component\Redmine\Exception; /** * * @package SE\Compo...
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\DB; use App\Region; use App\Pais; use Illuminate\Http\Request; class RegionController extends Controller { //METODO QUE DESPLIEGA REGIONES DE UN PAIS EN ESPECIFICO public function showEspecific(Pais $pais) { $regiones = Region::whe...
<?php namespace common\widgets\file_upload; /** * 图片上传组件 */ use Yii; use yii\base\Action; use yii\helpers\ArrayHelper; use common\widgets\file_upload\Uploader; class UploadAction extends Action { /** * 配置文件 * @var array */ public $config = []; public function init() { //...
<html> <body> <?php echo "Hello World!"; ?> </body> </body>
<div class="logo"> <a class="logo-link" href="/portfolio/"> <span>r</span><span class="collapsable">ich</span> <span class="collapsable">&nbsp;</span> <span>d</span><span class="collapsable">yson</span> <span class="collapsable">&nbsp;</span> <span class="photography"><span>p</span><span class="co...
@extends('layouts.main') @section('pagename', 'Medicine') @section('content') <div class="row"> <div class="col-md-12"> <div style="background-image: url('../img/bg-img/img98.jpg'); background-repeat: no-repeat; background-size: cover; width: 100%; height: 500px"> </div> ...
@extends('layouts.dashboard-AdminLte 3.app') <!-- Content Header (Page header) --> @section('HeaderTitle') {{__('site.products')}} @stop @section('Content_header_list_item') <li class="breadcrumb-item "><a href="{{route('dashboard.index')}}"><i class=" fa fa-tachometer-alt " style="color: red;"></i> {{__('site....
<div> @if($value) <x-icons.check-circle class="mx-auto text-green-600" /> @else <x-icons.x-circle class="mx-auto text-red-300" /> @endif </div>
<?php namespace App\Models\Esign; use Illuminate\Database\Eloquent\Model; class EsignDocumentsImages extends Model { protected $table = 'esign_documents_images'; protected $connection = 'mysql'; protected $primaryKey = 'id'; protected $guarded = []; public function images() { return $t...
<?= tabs_nav( 'menu', $data['type'], $uid, $pages = Config::get('menu.left'), ); ?> <main class="col-span-10 mb-col-12"> <div class="bg-white flex flex-row items-center justify-between br-box-gray br-rd5 p15 mb15"> <p class="m0 text-xl"><?= Translate::get('structure'); ?> <?php ...
<?php /* * This file is part of the Sonata Project package. * * (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\MediaBundle\Extra; use Symfony\Component\HttpF...
<?php namespace Drupal\Tests\views_ui\Functional; use Drupal\views\Entity\View; /** * Tests exposed forms UI functionality. * * @group views_ui */ class ExposedFormUITest extends UITestBase { /** * Views used by this test. * * @var array */ public static $testViews = ['test_exposed_admin_ui']; ...
<?php namespace App\Providers; use Illuminate\Support\Facades\Route; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use App\Question; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to your controller routes. * * In additio...
<?php /* |-------------------------------------------------------------------------- | Oculus XMS |-------------------------------------------------------------------------- | | This file is part of the Oculus XMS Framework package. | | (c) Vince Kronlein <vince@ocx.io> | | For the full copyright and license inf...
<a class="material-icons mr-0" title="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/adminchat','Redirect user to contact form.');?>" onclick="lhinst.redirectContact('<?php echo $chat->id;?>','<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/adminchat','Ar...
<?php namespace PHRETS\Parsers\Search; use PHRETS\Http\Response; use PHRETS\Exceptions\AutomaticPaginationError; use PHRETS\Models\Search\Results; use PHRETS\Session; class RecursiveOneX { public function parse(Session $rets, Response $response, $parameters) { // we're given the first response automat...
<?php /* * Copyright 2008-2010 the original author or authors. * * 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 Home\Controller; use Think\Controller; //通知公告 class NoticeController extends ComController { public function indexAction(){ $mod = M('Announce'); $count = $mod->where("del=0 and status=1")->count();// 查询满足要求的总记录数 $this->assign('count',$count); $this->display();...
--TEST-- \PHPUnit\Framework\MockObject\Generator::generate('Foo', [], 'MockFoo', true, true) --FILE-- <?php abstract class Foo { public function one() { } abstract public function two(); abstract protected function three(); } require __DIR__ . '/../../../../vendor/autoload.php'; $generator = new...