text
stringlengths
2
1.03M
<?php namespace PortalPeru\Repositories; use PortalPeru\Entities\Page; class PageRepo extends BaseRepo{ public function getModel() { return new Page; } public $filters = ['search', 'publicar']; public function filterByCategory($q, $value) { $q->where('category_id', $value); ...
<!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=""> <meta name="<?php echo $this->security->ge...
<?php namespace frontend\models; use Yii; /** * This is the model class for table "email". * * @property integer $id * @property string $email * @property string $content */ class Email extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static function tableName() { return...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/container/v1/cluster_service.proto namespace Google\Cloud\Container\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Configuration for the addons that ca...
<?php namespace Database\Factories; use App\Models\Category; use Illuminate\Database\Eloquent\Factories\Factory; class CategoryFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Category::class; /** * Define the m...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Hash; class UserTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('users')->insert( ['username' =>...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php namespace Tests\Integration\Schema\Directives; use Nuwave\Lighthouse\Exceptions\DefinitionException; use Tests\DBTestCase; use Tests\Utils\Models\Activity; use Tests\Utils\Models\Comment; use Tests\Utils\Models\Image; use Tests\Utils\Models\Post; use Tests\Utils\Models\Task; use Tests\Utils\Models\User; final ...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Users/fernandoted/Sites/onesti-proj/user/config/streams.yaml', 'modified' => 1549831951, 'data' => [ ] ];
<?php /** * Created by PhpStorm. * User: zhaoweijie * Date: 2019-12-18 * Time: 10:18 */ namespace Zwei\Emq\Tests\Consumer; use Monolog\Logger; use PHPUnit\Framework\TestCase; use Zwei\Emq\Consumer\Config\ConsumerConfig; use Zwei\Emq\Consumer\KafkaAutoCommitConsumer; use Zwei\Emq\Event\Event; use Zwei\Emq\Event\...
<?php namespace PHP\Manipulator\Action; use PHP\Manipulator\Action; use PHP\Manipulator\TokenContainer; use PHP\Manipulator\Helper\NewlineDetector; use PHP\Manipulator\Token; /** * @package PHP\Manipulator * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @link http://github.com/r...
<?php namespace ccxt\async; // PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: // https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code use Exception; // a common import use \ccxt\ExchangeError; use \ccxt\ArgumentsRequired; use \ccxt\Precise; class bitpanda extends E...
<?php $settings = get_option('settings', $params['id']); $defaults = array( 'images' => '', 'primaryText' => 'A Magic Slider', 'secondaryText' => 'Nunc blandit malesuada.', 'seemoreText' => 'See more', 'url' => '', 'urlText' => '', 'skin' => 'default' ); $settings = get_option('settings', ...
<?php // Route::get('/', function () { // return view('welcome'); // }); if(version_compare(PHP_VERSION, '7.2.0', '>=')) { error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING); } Route::get('/', 'PagesController@index')->name('home'); Route::get('/search', 'PagesController@search')->name('search'); Route::get('/search2...
<?php declare(strict_types=1); namespace DaveLiddament\StaticAnalysisResultsBaseliner\Tests\Unit\Core\Utils; use DaveLiddament\StaticAnalysisResultsBaseliner\Domain\Utils\StringUtils; use InvalidArgumentException; use PHPUnit\Framework\TestCase; class StringUtilsTest extends TestCase { public function testDoesS...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProxiesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('proxies', funct...
<?php defined('IN_DESTOON') or exit('Access Denied'); if($html == 'show') { $itemid or exit; $item = $db->get_one("SELECT * FROM {$table} WHERE itemid=$itemid"); if(!$item || $item['status'] < 3) exit; extract($item); $fee = get_fee($item['fee'], $MOD['fee_view']); $currency = $MOD['fee_currency']; $unit = $cur...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class M_acl extends CI_Model { function currentFunction() { $CI =& get_instance(); return $CI->router->fetch_method(); } function getClassName() { $CI = &get_instance(); return $CI->router->fetch_class(); } } /* End of file M_acl.php */ /...
@extends('layouts.main') @section('content') <section class="page_title cs gradientvertical-background s-py-25"> <div class="container"> <div class="row"> <div class="divider-50"></div> <div class="col-md-12 text-center"> <h1 class="">Reset Password</h1> ...
<?php namespace Cgit\Schema\Schema; class OpeningHoursSpecification extends Schema { /** * Schema type * * @var string */ protected $type = 'OpeningHoursSpecification'; }
@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">Register Citizen</div> <div class="card-body"> <form method="POST"...
<?php require_once __DIR__ . '/REST.php'; require_once __DIR__ . '/constants.php'; require_once __DIR__ . '/utility.php'; use Contentstack\Test\REST; use PHPUnit\Framework\TestCase; use Contentstack\Support\Utility; use Contentstack\Contentstack; use Contentstack\Utils\Model\Option; class EntriesTest extends TestCase...
<?php use xman8830\banner; require_once __DIR__ . "/class/banner.class.php"; require_once __DIR__ . "/config.php"; $banner = new banner(); $ip = getenv('HTTP_CLIENT_IP') ?: getenv('HTTP_X_FORWARDED_FOR') ?: getenv('HTTP_X_FORWARDED') ?: getenv('HTTP_FORWARDED_FOR') ?: getenv('HTTP_FORWARDED') ?: getenv('REMOTE_ADDR'); ...
<?php declare(strict_types=1); namespace BinSoul\Symfony\Bundle\Website\DependencyInjection; use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; class Configuration implement...
@extends('admin.components.layout') @section('title') Subjects Manage | @endsection @section('content') <main> <div class="container-fluid"> <br> <ol class="breadcrumb mb-4"> <li class="breadcrumb-item"><a href="#">Dashboard</a></li> <li class="br...
<?php namespace Urbem\CoreBundle\Entity\Beneficio; /** * TipoConcessaoValeTransporte */ class TipoConcessaoValeTransporte { /** * PK * @var integer */ private $codTipo; /** * @var string */ private $descricao; /** * OneToMany * @var \Doctrine\Common\Collecti...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?><!doctype html> <html class="fixed sidebar-left-collapsed"> <head> <meta charset="UTF-8"> <link rel="shortcut icon" href="<?php echo base_url()?>/assets/images/favicon.png" type="image/ico"> <title>Apotek Mama</title> <meta name=...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Auto Fetch</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta content="A fully featured admin theme which can be used to build CRM, CMS, etc." name="description" /> <meta...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class SetNotesNullableInCarsOuts extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('cars_out...
<?php error_reporting(E_ALL); include_once dirname(__DIR__).'/src/Env.php'; PHPUnit_Framework_Error_Notice::$enabled = true;
@extends('layouts.appAdmin') @section('content') <div class="container"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> Colleges <a href="{{route('admin.colleges.create')}}" class="btn btn-primary float-right">Add</a> </div> ...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; use App\Http\Resources\UserResource; use App\Http\Resources\UserShortResource; use App\Http\Resources\ImageCollection; class Result_testResource extends JsonResource { /** * Transform the resource into an array. * ...
<html> <head> <link rel="stylesheet" href="css/style.css"> <link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css"> <title>Sign in</title> </head...
<?php namespace Drupal\locale\Tests; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\simpletest\WebTestBase; /** * Tests the locale string storage, string objects and data API. * * @group locale */ class LocaleStringTest extends WebTestBase { /** * Modules to enable. * * @var array */ ...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use App\Models\Product; class ProductSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // for($i=1;$i<=7;$i++){ Product::create( ...
<footer class="main-footer"> <div class="pull-right hidden-xs"> <b>Version</b> 1.0 </div> <strong>Copyright &copy; 2019 <a href="https://pakdebikin.web.id">Pakde Bikin Web</a>.</strong> All rights reserved. </footer> <div class="control-sidebar-bg"></div> </div> <!-- ./wrapper --> <!-- jQ...
@foreach($begin_time as $k=>$v) @if($k==0) <?php $arr = $v; ?> @endif @endforeach <?php $k = 0; $a = explode('/',$arr->begin_time); $year = $a[0]; $mouth = $a[1]; foreach($begin_time as $v){ $a1 = explode('/',$v->begin_time); $year1 = ...
<?php declare(strict_types=1); /* * 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\AdminBundle\Action; ...
<form> <div class="form-group"> <label for="recipient-name" class="control-label">Nombre</label> <input type="text" class="form-control" id="recipient-name1" value="<?php echo $categoria->nombre; ?>" readonly> </div> <div class="form-group"> <label for="message-text" class="control-l...
<?php namespace APP\Controller; use Psr\Http\Message\ServerRequestInterface as Request; use Psr\Http\Message\ResponseInterface as Response; use Illuminate\Database\Capsule\Manager as DB; use Illuminate\Support\Facades\Schema; use APP\Models\Sample; /** * Class CreateSampleController * @package CreateSampleControlle...
<div class="col-lg-10"><span class=""></span> </div><div class="col-lg-2"><a href="<?php echo base_url() ?>stock/view" class="btn btn-default fa fa-plus-square" style="margin: 17px;"> view stock </a></div> <div class="row"> <div class="col-lg-12"> <h1 class="page-header"> <?php $suc = $this->ses...
<?php if (!function_exists('get_db_config')) { function get_db_config() { if (getenv('IS_IN_HEROKU')) { $url = parse_url(getenv('DATABASE_URL')); return $db_config = [ 'connection' => 'pgsql', 'host' => $url['host'], 'database' =>...
<?php namespace MGModule\DIGITALSIGNWHMCS\eRepository\whmcs\config; class Config { private static $instance; private $config; function __construct() { GLOBAL $CONFIG; $this->config = &$CONFIG; } /** * * @return Config */ public static function get...
<?php $query = $con->query("SELECT * FROM refpelayananumum where id_reg='".$_GET['id']."'"); $data=$query->fetch_array(); ?> <br> <br> <div class="container"> <div class="row"> <div class="col-md"> <h3>Form Edit Data Pelayanan Umum</h3> <br> <form action="" method="post"> <input type="hidden" name="id"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" href="css/style.css"> <title>Document</title> </head> <body> <div class="container"> ...
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\DB; use Carbon\Carbon; use App\Book; use App\User; use App\Models\Rates; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class RateController extends Controller { /** * Display a l...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Jadwal extends Model { use HasFactory; protected $fillable = [ 'nip', 'tanggal', 'jam_awal', 'jam_akhir', 'id_supervisi' ]; }
<!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, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Payroll Manag...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProductsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('products', fun...
<div class="panel widget light-widget"> <div class="panel-body-list"> <h3 class="pd-20 mgbt-xs-0"><i class="fa fa-users mgr-10"></i>Friends</h3> <div class="content-grid column-xs-2 column-sm-3 height-xs-auto mgbt-xs-20"> <div> <ul class="list-wrapper"> <li> <a href="#"> <span class="m...
<?php use App\Http\Livewire\DashboardHcs; use App\Http\Livewire\ProductosHcs; use App\Http\Livewire\ControlVehicular; use Illuminate\Support\Facades\Route; use App\Http\Livewire\UsuariosHcs; use App\Http\Livewire\TrabajadoresHcs; Route::get('/', function () { return view('auth.login'); }); Route::middleware(['...
<?php // vim: ts=4 sw=4 ai: /** * This file is part of Lohini (http://lohini.net) * * @copyright (c) 2010, 2014 Lopo <lopo@lohini.net> */ namespace Lohini\Templating; /** * @author Patrik Votoček */ /** * ITemplateFactoryFilesFormatter * * @author Lopo <lopo@lohini.net> */ interface ITemplateFilesFormatter ...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\Admin\AdminController; use App\Http\Controllers\Candidate\CandidateController; use App\Http\Controllers\Investor\InvestorController; use App\Http\Controllers\Partner\PartnerController; use Illuminate\Support\Facades\Auth; /* |-----------------------...
<?php namespace Tests\Feature; use Tests\TestCase; class HomeTest extends TestCase { public function testHomePageIsWorkingCorrectly() { $response = $this->get('/'); $response->assertSeeText('Welcome to Laravel'); } public function testContactPageIsWorkingCorrectly() ...
@extends('layouts.default') @section('content') <div class="orders"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> <h4 class="box-title">Daftar Foto Barang</h4> </div> ...
<?php namespace Naykel\Contactit; use Illuminate\Support\ServiceProvider; use Naykel\Contactit\View\Components\Contact; class ContactitServiceProvider extends ServiceProvider { /** * Perform post-registration booting of services. * * @return void */ public function boot() { $t...
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Filters\CSRF; use CodeIgniter\Filters\DebugToolbar; use CodeIgniter\Filters\Honeypot; class Filters extends BaseConfig { /** * Configures aliases for Filter classes to * make reading things nicer and simpler. * * @var array */ pub...
<?php declare(strict_types=1); namespace muqsit\vanillagenerator\generator\ground; use pocketmine\block\Block; use pocketmine\block\VanillaBlocks; class SnowyGroundGenerator extends GroundGenerator{ /** @noinspection MagicMethodsValidityInspection */ /** @noinspection PhpMissingParentConstructorInspection */ pu...
<div class="modal fade none-border" id="add-lang"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h4 class="modal-title"><strong>Agrega...
@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"> @if (session('...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; class CreateMediaSeasonTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { ...
<?php /* @var $this yii\web\View */ /* @var $name string */ /* @var $message string */ /* @var $exception Exception */ use yii\helpers\Html; use yii\widgets\ListView; //搜索的属性 $title = trim(Yii::$app->request->get('title', '')); $this->title = '搜索结果'; ?> <!-- Content --> <div class="row"> <!-- post content --...
<!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>APRENDAMOS MÁS 2018</title> <!-- Fonts --> <link href="https://fonts.goog...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> // <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1">...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Home extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - ...
<?php namespace backend\models; use Yii; /** * This is the model class for table "tbl_candidates". * * @property integer $candidates_id * @property integer $training_id * @property string $prefix_name * @property string $fname * @property string $lname * @property string $telephone * @property string $email...
@extends('layouts.admin') @section('content') <table class="table table-condensed table-hover"> <thead> <th>编号</th> <th>权限名称</th> <th>模块名称</th> <th>控制器名称</th> <th>方法名称</th> <th>操作</th> </thead> <tbody> @foreach($privileges as $privile...
<!-- ============================================================== --> <!-- Start right Content here --> <!-- ============================================================== --> <div class="main-content"> <div class="page-content"> <div class="container-fluid"> <div class="row"> <div class="col-sm-12"...
<?php use App\User; use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the ...
<?php namespace Drupal\token_custom; use Drupal\Core\Entity\ContentEntityInterface; /** * Provides an interface defining a custom token entity. */ interface TokenCustomInterface extends ContentEntityInterface { /** * Get description. * * @return string * Description */ public function getDesc...
<?php namespace Koco\Kafka\Messenger; use Koco\Kafka\Exception\KafkaException; use Koco\Kafka\RdKafka\RdKafkaFactory; use Psr\Log\LoggerInterface; use RdKafka\Conf as KafkaConf; use RdKafka\KafkaConsumer; use RdKafka\TopicPartition; use Symfony\Component\Messenger\Transport\Serialization\SerializerInterface; use Symf...
<?php namespace App\Repositories\Contracts; interface VacinaRepositoryInterface { public function registraVacina($vac_nome ,$vac_pac); }
<script src="<?= base_url() ?>assets/main/wisata.js"></script> <!-- nav --> <div class="row"> <div class="col-md-12"> <div class="col-md-2 pull-right"> <button class="btn btn-success pull-right" data-toggle="modal" data-target="#wisataModal" id="addButton" type="button" onclick="">Tambah Wisata</button> </div...
<?php namespace AppelSponsorBundle\Controller; use AppelSponsorBundle\Entity\AppelSponsor; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use AppelSponsorBundle\Entity\Event; use AppelSponsorBundle\Form\EventType; /** * Appelsponsor controller. * */ class A...
<?php # # # Parsedown Extra # https://github.com/erusev/parsedown-extra # # (c) Emanuil Rusev # http://erusev.com # # For the full license information, view the LICENSE file that was distributed # with this source code. # # class ParsedownExtra extends Parsedown { # # ~ function __construct() { ...
@extends('layout.main') @section('css-reservas') <link rel="stylesheet" href="{{asset('/css/reservas.css')}}"> <style> .modal { display: none; position: fixed; z-index: 1; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; ...
<?php /** * LabelResult * * PHP version 5 * * @category Class * @package Thecodebunny\AmzSpApi * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * Selling Partner API for Shipping * * Provides programmatic access to Amazon Shipping APIs. * * OpenAPI spec ...
<div class="row"> <div class="col-md-12"> @foreach (App\Post::paginate(5) as $post) <ul> <br /> <i class="fa fa-file-text-o" aria-hidden="true"></i>&nbsp; <b>{{$post->title}}</b> <h5>{{$post->created_at}}</h5> </ul> @endforeach </div> </div>
<?php namespace App\Repositories\Purchase; use App\Models\Purchase; use App\Models\PurchaseDetail; use Illuminate\Support\Facades\Session; use Illuminate\Http\Request; use Gate; use Datatables; use Carbon; use Notifynder; use PHPZen\LaravelRbac\Traits\Rbac; use App\Models\Role; use App\Models\PurchaseLog; use Auth; u...
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Admin; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Validation\Rule; class RegisterController extends Controller { /* |-----------------------------...
<?php namespace DaMess\Hashids\Tests; $vendorDir = __DIR__ . '/../vendor'; if (file_exists($file = $vendorDir . '/autoload.php')) { require_once $file; } else { if (file_exists($file = './vendor/autoload.php')) { require_once $file; } else { throw new \RuntimeException("Composer autoload f...
<?php namespace BitmovinApiSdk\Apis\Encoding\Configurations\Video\Vp8; use \BitmovinApiSdk\Common\ObjectMapper; use \BitmovinApiSdk\Models\Vp8VideoConfiguration; class Vp8VideoConfigurationPaginationResponse extends \BitmovinApiSdk\Common\BasePaginationResponse { /** @var Vp8VideoConfiguration[] */ public $i...
<?php declare(strict_types=1); namespace Test\Serializer\Unit; use PHPUnit\Framework\TestCase; use Serializer\Builder\Decoder\DecoderFactory; use Serializer\Builder\Decoder\FileLoader\PipelineDecoderFileLoader; use Serializer\Builder\Encoder\EncoderFactory; use Serializer\Builder\Encoder\FileLoader\PipelineEncoderFi...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\softDeletes; class ParaleloAcad extends Model { use softDeletes; protected $table='acad_paralelos'; protected $dates = ['deleted_at']; protected $fillable = [ 'id', 'nombre_paralelo','abreviatura', ...
<?php $intLastModifiedTime = filemtime(__FILE__); $strETag = md5_file(__FILE__); header("Last-Modified: " . gmdate("D, d M Y H:i:s", $intLastModifiedTime) . " GMT"); header("Etag: " . $strETag); header("Content-Type: text/javascript"); header("Cache-Control: max-age=604800, public, must-revalidate"); header("Pragma: m...
<?php /** * This file is part of the state-machine project. * * (c) Frank Göldner <f-go@gmx.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FGo\StateMachine\Event; use FGo\StateMachine\IStatefulObject; use FGo\StateM...
@extends('templates.master') @section('content-view') @if(session('flash_message')) <h3>{{ session('flash_message') }}</h3> <hr> @endif {!! Form::model($product, ['route' => ['institution.product.update', $product->institution_id, $product->id], 'method' => 'put', 'class' => 'form-padrao']...
<?php namespace alexeevdv\Sms\SmsRu\Exception; /** * Interface for all SmsRu provider exceptions */ interface Exception extends \alexeevdv\Sms\Contract\Exception { }
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Api\V2010\Account; use Twilio\ListResource; use Twilio\Values; use Twilio\Version; class AvailablePhoneNumberCountryList extends ListResource { /** * Construct the AvailablePho...
<?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 /* * This file is part of the feed-io package. * * (c) Alexandre Debril <alex.debril@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FeedIo\Adapter\Guzzle; use FeedIo\Adapter\ResponseInterface; use Psr\...
<?php namespace MauticPlugin\MauticGSBundle\Google\google_api_php_client\src\Google\Service; /* * Copyright 2010 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 ...
<?php require_once '../studio/index_head.php'; ?> <body id="file_list_body" > <script language="javascript" src="../article/my_collect.js"></script> <script language="javascript" src="../term/note.js"></script> <script language="javascript" src="../term/term.js"></script> <script language="javascript" src="../publ...
<?php class Reviews_model extends CI_Model { public function get_review() { $this->db->select("*"); $this->db->from("reviews"); $this->db->order_by('date_created', 'DESC'); $q = $this->db->get(); return $q->result(); } public function get_provider_reviews() { $this->db->select("*"); $this->db->from("r...
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="Generator" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta http-equiv...
<?php namespace App\Http\Models; use Illuminate\Database\Eloquent\Model; /** * Class AbAddress */ class Address extends Model { protected $table = 'ab_address'; protected $primaryKey = 'ab_ad_id'; public $timestamps = true; protected $fillable = [ 'ab_us_id', 'street_1', 'stree...
<?php class Kwc_News_Directory_Trl_Controller extends Kwc_Directories_Item_Directory_Trl_Controller { protected $_defaultOrder = array('field' => 'publish_date', 'direction' => 'DESC'); protected function _initColumns() { $this->_columns->add(new Kwf_Grid_Column('title', trlKwf('Title'), 300)); ...
@extends('theme.app') @section('content') <!--begin::Subheader--> <div class="subheader py-2 py-lg-6 subheader-transparent " id="kt_subheader"> <div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap"> <!--begin::Info--> <div clas...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@yield('title')</title> <!-- Bootstrap --> @include('includes.style') </head> <body> <!-- Main --> @yield('content') </body> @include('includes.scr...
<?php /** * Created by PhpStorm. * User: Mead * Date: 2019/1/21 * Time: 8:23 PM */ namespace ZhMead\WeChat\Http\Controllers; use Encore\Admin\Controllers\HasResourceActions; use Encore\Admin\Form; use Encore\Admin\Grid; use Encore\Admin\Layout\Content; use ZhMead\WeChat\Models\Event; use Illuminate\Routing\Contr...