text stringlengths 2 1.03M |
|---|
<table class="table table-bordered table-condesed">
<thead>
<tr>
<th>Action</th>
<th>Title</th>
<th>Author</th>
<th>Category</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php $request = request(); ?>
@foreach ($posts ... |
<?php
/**
* Created by PhpStorm.
* User: fivemetrics
* Date: 20/01/17
* Time: 15:36
*/
namespace DataSourceBundle\Collection\Aws\ElasticLoadBalancer;
use EssentialsBundle\Collection\TypedCollectionAbstract;
/**
* Class InstanceCollection
* @package InstanceCollection\Aws\ElasticLoadBalancer
*/
class Instance... |
<?php
/*
* This file is part of Totara LMS
*
* Copyright (C) 2016 onwards Totara Learning Solutions LTD
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, ... |
<?php
use Phalcon\Mvc\Model\Validator\Regex,
Phalcon\Mvc\Model\Validator\PresenceOf,
Phalcon\Mvc\Model\Validator\Numericality;
class Triggers extends Phalcon\Mvc\Model
{
public $id;
public $policy_id;
public $alarm_on_timestamp;
public $alarm_off_timestamp;
public function validation()
... |
<?php
namespace Google\AdsApi\AdManager\v201905;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class getLiveStreamEventsByStatementResponse
{
/**
* @var \Google\AdsApi\AdManager\v201905\LiveStreamEventPage $rval
*/
protected $rval = null;
/**
* @param \Google\AdsApi\AdManage... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="s... |
<?php
use PhuongNam\UserAndPermission\Helpers\NName;
use PhuongNam\UserAndPermission\Helpers\NResponse;
if (! function_exists('human_name')) {
function human_name($fullName, $format = 'lf')
{
return NName::of($fullName)->format($format);
}
}
if (! function_exists('nRes')) {
function nRes($dat... |
<?php
namespace app\admin\controller\tiku;
use app\common\controller\Backend;
/**
* 试题类型管理
*
* @icon fa fa-circle-o
*/
class QuesType extends Backend
{
/**
* QuesType模型对象
* @var \app\admin\model\tiku\QuesType
*/
protected $model = null;
public function _initialize()
{
... |
<?php
namespace Drupal\yabrm\Form;
use Drupal\Core\Database\Connection;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Form\ConfirmFormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Provides a form for deleting ... |
<?php
declare(strict_types=1);
/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/
namespace Jane\OpenApi3\JsonSchema\Normalizer;
use Jane\JsonSchemaRuntime\Reference;
use Jane\JsonSchemaRuntime\Normalizer\CheckArray;
use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterf... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ClientParientesRelacion extends Model
{
use HasFactory;
protected $fillable = [
'client_id_1',
'client_id_2',
'client_tipo_id',
];
/*
|------... |
<?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\VarDumper\Caster;
use Symfony\Component\ErrorHandler\... |
<div class="modal-content">
<?php
$company_information;
$employee_benefit_details_by_month_year;
$employee;
/*echo '<pre>';
echo print_r($employee_benefit_details_by_month_year);
echo '</pre>';*/
//die();
?>
<div class="modal-header">
<button type="button" class="clos... |
<?php namespace Fhir\V_400\FHIRDomainResource;
/*!
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: March 26th, 2019
*
* PHPFHIR Copyright:
*
* Copyright 2016-2018 Daniel Ca... |
<?php
/**
* Create Recipient Test
*/
namespace Dvsa\OlcsTest\Api\Domain\CommandHandler\Publication;
use Mockery as m;
use Dvsa\Olcs\Api\Domain\CommandHandler\Publication\CreateRecipient;
use Dvsa\Olcs\Api\Domain\Repository\Recipient;
use Dvsa\Olcs\Api\Domain\Exception;
use Dvsa\Olcs\Api\Entity\Publication\Recipient... |
<?php
/**
* Plugin Name: Minio Server Sync
* Plugin URI: https://github.com/alexishida/Wp-Minio-Server-Sync
* Description: This WordPress plugin syncs your media library with Minio Server Container.
* Version: 1.0
* Author: Alex Ishida
* Author URI: https://github.com/alexishida
* License: MIT
* Text Domain: ms... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateModuleClassesTable extends Migration
{
/**
* Run the migrations.
* @return void
*/
public function up ()
{
Schema::create('module_classes'... |
<?php
/**
* Copyright 2019 OpenStack Foundation
* 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
namespace App\Http\Controllers\Shutterfly;
use App\Models\ActiveSite;
use App\Models\PlayerSeason;
use App\Services\PlayerListService;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\DB;
class ShutterflyController extends ... |
@extends('layouts.general')
@section('titulo', 'CEAA | Años Escolares')
@section('encabezado', 'Años Escolares')
@section('subencabezado', 'Gestión')
@section('breadcrumb')
<li>
<i class="fa fa-users"></i> Configuración
</li>
<li class="active">
Años Escolares
</li>
@endsection
@section('contenido')
<!-- Box P... |
<?php
session_start();
if (empty($_SESSION['user_name'])) {
header('Location: index.php');
exit;
}
$wma = $_POST['macaddress'];
$cmd = shell_exec ("wakeonlan $wma");
echo $cmd;
?> |
<div>
<?php
if(isset($_SESSION['id_user'])){
?>
<h1>Ujian <?php echo ucwords($_SESSION['username']);?></h1>
<p>
<?php
$hasil=mysql_query("select * from tabel_soal where publish='yes'");
$jumlah=mysql_num_rows($hasil);
$urut=0;
while($row =mysql_fetch_array($hasil))
{
$id=$row["... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
... |
<?php namespace App\Http\Controllers;
use App\Models\Homeslider;
use Illuminate\Http\Request;
use Illuminate\Pagination\LengthAwarePaginator as Paginator;
use Validator, Input, Redirect ;
class HomesliderController extends Controller {
protected $layout = "layouts.main";
protected $data = array();
public $modu... |
<?php
use Faker\Generator as Faker;
$factory->define(App\Base\Models\Discussion::class, function (Faker $faker) {
$fakeHeading = $faker->word;
$fakeBoldWord = $faker->word;
$discussionableType = $faker->randomElement(['office', 'team', 'project']);
$discussionableId = null;
switch ($discussionable... |
<h1>Home Page Here</h1> |
<?php
/**
* This file has been @generated by a phing task by {@link GeneratePhonePrefixData}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAdminsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('admins', functio... |
<?php
/* @WebProfiler/Profiler/header.html.twig */
class __TwigTemplate_821a67f74089f09adb5f6e9c11f0464523e3c048b80e9d35f8e6f23b3e20f096 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array... |
<?php
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\modules\audit\models\AuditQuestionWeight */
?>
<div class="audit-question-weight-view">
<?= DetailView::widget([
'model' => $model,
'attributes' => [
//'id',
'question.question',
... |
<?php
namespace App\Http\Controllers;
use App\Models\cat_paises;
use Illuminate\Http\Request;
class CatPaisesController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
* Sho... |
@extends('layouts.app')
@section('content')
<div class="jumbotron card card-image"
style="background-image: url(https://mdbootstrap.com/img/Photos/Others/gradient1.jpg);">
<h2 class=" display-4">Hello, there!</h2>
<p class="lead">Welcome to my portfolio, you'll find my projects, resume and... |
@extends("admin.layout.master")
@section("title","Edit Cardpointe Store Setting")
@section("content")
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Cardpointe Store Setting</h1>
</div>
<div class="col-sm-6">
<... |
<?php
$notification=app('sm_notifications');
?>
<link rel="stylesheet" href="<?php echo e(asset('public/backEnd/css/')); ?>/live_search.css">
<nav class="navbar navbar-expand-lg up_navbar">
<div class="container-fluid">
<div class="col-lg-12">
<div class='up_dash_menu'>
<button type="bu... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
namespace Admin\Controller;
class ShopPrizeController extends AdminController
{
public function _initialize()
{
parent::_initialize();
$this->currency = M('Currency');
$this->ordergd = M('shop_order');
}
//空操作
public function _empty()
{
header("HTTP/1.0 4... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\CategoryLimit */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Category Limits'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class=... |
@extends('map')
@section('title', 'ตำแหน่งพิกัดของบ้าน')
@section('menu')
<li>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">การประเมิน<b class="caret"></b></a>
<ul class="dropdown-menu dropdown-menu-right">
<?php foreach ($evoluationPart as $part){
$form = $evoluationForm[$part->id];
$size = si... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Carbon\Carbon;
class PlayerProfileVideos extends Model
{
use SoftDeletes;
/**
* Get the player profle for the player video object.
*/
public function player()
{
return $this->belong... |
<?php
namespace AlibabaCloud\BatchCompute\V20130111;
use AlibabaCloud\Client\Request\RoaRequest;
/**
* Request of PutJob
*
* @method string getResourceOwnerId()
* @method string getResourceName()
*/
class PutJob extends RoaRequest
{
/**
* @var string
*/
public $product = 'BatchCompute';
... |
<?php
date_default_timezone_set('UTC');
session_start();
$con = mysqli_connect($_SESSION['DBHOST'],$_SESSION['usr'],$_SESSION['rpw'],$_SESSION['DBNAME']);
if (!$con){
echo 'Uh oh!';
die('Error connecting to SQL Server, could not connect due to: ' . mysqli_error($con) . ';
username=' . $_SESSION["username"]);... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Loan;
/**
* LoanSearch represents the model behind the search form of `app\models\Loan`.
*/
class LoanSearch extends Loan
{
/**
* {@inheritdoc}
*/
public function rules()
{
return ... |
<?php
/* SVN FILE: $Id$ */
/**
* SassBoolean class file.
* @author Chris Yates <chris.l.yates@gmail.com>
* @copyright Copyright (c) 2010 PBM Web Development
* @license http://phamlp.googlecode.com/files/license.txt
* @package PHamlP
* @subpackage Sass.script.literals
*/
require_once('SassLiter... |
<?php
namespace Paymill\Test\Unit\Models\Request;
use Paymill\Models\Request as Request;
use PHPUnit_Framework_TestCase;
/**
* Paymill\Models\Request\Transaction test case.
*/
class TransactionTest extends PHPUnit_Framework_TestCase
{
/**
* @var Request\Transaction
*/
private $_transaction;
... |
<?php
/**
* Unit test class for the ClassDefinitionClosingBraceSpace sniff.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Stand... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class PlataformaVideojuego extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('plataforma_vi... |
<?php
namespace Drupal\system\Tests\Menu;
use Drupal\Core\Url;
use Drupal\node\Entity\NodeType;
use Drupal\user\RoleInterface;
/**
* Tests breadcrumbs functionality.
*
* @group Menu
*/
class BreadcrumbTest extends MenuTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules =... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePatientsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('patients', fun... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categories',... |
<?php
/**
* Observium
*
* This file is part of Observium.
*
* @package observium
* @subpackage poller
* @copyright (C) 2006-2015 Adam Armstrong
*
*/
//LCOS-MIB::lcsFirmwareVersionTableEntryIfc.eIfc = INTEGER: eIfc(1)
//LCOS-MIB::lcsFirmwareVersionTableEntryModule.eIfc = STRING: LANCOM L-321agn Wireless... |
<?php
include "../config/config.php";
include "../lib/database.php";
$m = new Database();
if(isset($_POST['idbill']))
$idbill = $_POST['idbill'];
else
$idbill = null;
$truyvan = "DELETE FROM hoadon WHERE id = $idbill";
$result = $m->ExecuteNonQuery($truyvan);
if(is_numeric($result))
echo 1; |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categories', function (Blueprint $... |
<?php
/**
*
* @package Gems
* @subpackage Task\Tracker
* @author Menno Dekker <menno.dekker@erasmusmc.nl>
* @copyright Copyright (c) 2018 Erasmus MC
* @license New BSD License
*/
namespace Gems\Task\Tracker\Import;
/**
*
*
* @package Gems
* @subpackage Task\Tracker
* @copyright Copyright (... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
</div>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.bundle.min.js"
integrity="sha384-DBjhmceckmzwrnMMrjI7BvG2FmRuxQVaTfFYHgfnrdfqMhxKt445b7j3KBQLolRl"
crossorigin="anonymous"></script>
</body>
</html> |
<div class="form-group">
<div class="media">
<img id="picture-preview" src="{{ Auth::user()->adminlte_image() }}" class="mr-4" style="width: 120px; height: 120px;">
</div>
</div>
<div class="form-group col-md-4 col-sm-12">
<div class="custom-file form-control-sm mt-1 mb-1">
{!! Fo... |
<?php
/**
* Copyright (c) 2012 Gijs Kunze
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Structr\Tree\Scalar;
use Structr\Tree\Base\ScalarNode;
class NullNode extends ScalarNode
{
/**
* {@inheritdoc}
*/
... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/home/tanertemel/web/t4.bolton365.net/public_html/user/plugins/tntsearch/blueprints.yaml',
'modified' => 1573482997,
'data' => [
'name' => 'TNT Search',
'version' => '3.0.0',
'testing' => false,
... |
<?php
class Modulos_model extends CI_Model {
public function __construct()
{
// Call the CI_Model constructor
parent::__construct();
}
public function getModulos()
{
$query = $this->db->query('select * from app_navmenu')... |
<!-- End Page Content -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- footer -->
<!-- ============================================================== -->
<style>
.float{
position:fixed;
width:50px... |
<?php namespace Anomaly\BlocksModule\Block\Style;
use Anomaly\BlocksModule\Block\Traits\ProvidesStyle;
use Anomaly\CheckboxesFieldType\CheckboxesFieldType;
/**
* Class HiddenFieldType
*
* @link http://pyrocms.com/
* @author PyroCMS, Inc. <support@pyrocms.com>
* @author Ryan Thompson <ryan@pyrocms.com>
*/
clas... |
<?php
declare(strict_types=1);
namespace LeoVie\PhpParamGenerator\Tests\TestDouble\Configuration;
use LeoVie\PhpParamGenerator\Configuration\EdgeCaseConfigurationInterface;
use LeoVie\PhpParamGenerator\Model\ParamRequest\ParamRequest;
class EdgeCaseConfigurationDouble implements EdgeCaseConfigurationInterface
{
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
class Reservasi extends Model
{
use HasFactory;
protected $table = 'pemesanans';
protected $fillable = ['nama_tamu', 'tgl_check_in', 'tgl_check_out'];
... |
<div class="container-fluid">
<div class="row">
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
<div class="content-block">
<div class="block-title">
<h4>TAMBAH LEVEL</h4>
</div>
<?= $this->session->flashdata('notif'); ?>
... |
<!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>Barang PG</ti... |
<?php
use App\Models\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;
$factory->define(User::class, function (Faker $faker) {
$date_time = $faker->date . ' ' . $faker->time;
return [
'name' => $faker->name,
'email' => $faker->unique()->safeEmail,
'email_verified_at' => n... |
<!-- This file is used to store sidebar items, starting with Backpack\Base 0.9.0 -->
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('dashboard') }}"><i class="nav-icon fa fa-dashboard"></i> <span>{{ trans('backpack::base.dashboard') }}</span></a></li>
<li class="nav-item"><a class="nav-link" href="{{ ba... |
<?php
namespace Modules\AlatKesehatan\Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
class AlatKesehatanDatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Model::unguard();
... |
@extends('layouts.master')
@section('title', 'Edit Income')
@section('content')
<div class="content-header">
<a href="{{ url('income') }}" class="btn btn-info">
<i class="fa fa-list" aria-hidden="true"></i>
Incomes List
</a>
</div>
<br>
<div class="container">
<h2 style="text-align: center;">Edit Incom... |
<?php
/**
* This file is part of the Shieldon package.
*
* (c) Terry L. <contact@terryl.in>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* php version 7.1.0
*
* @category Web-security
* @package Shieldon
* @author Te... |
@extends('layouts.master_auth')
@section('content')
<div class="row">
<div class="col-md-5 col-md-offset-4">
<h3>ログイン</h3>
<form action="{{ route('user.signin') }}" method="post">
<div class="form-group">
<label for="email">E-Mail</label>
<input type="text" id="email" name="email" class="form-control">
... |
<div id="preloader-active" style="display: none;">
<div class="preloader d-flex align-items-center justify-content-center">
<div class="preloader-inner position-relative">
<div class="preloader-circle"></div>
<div class="preloader-img pere-text">
<img src="frontend/as... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel common\models\NewsSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Pages';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="news-index">
<h1><?= H... |
<?php
namespace ProductBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Product
*
* @ORM\Table(name="product")
* @ORM\Entity(repositoryClass="ProductBundle\Repository\ProductRepository")
*/
class Product
{
/**
* @var int
*
* @ORM\Col... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUserTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user', function(Blueprint $table)
{
$table->increments('id');
$table->strin... |
<?php
namespace AmoCRM\Exceptions;
use Exception;
/**
* Class AmoCRMApiException
*
* @package AmoCRM\Exceptions
*/
class AmoCRMApiException extends Exception
{
/**
* @var int
*/
protected $errorCode;
/**
* @var string
*/
protected $description = "";
/**
* @var strin... |
--TEST--
Foreach loop tests - error case: key is a reference.
--FILE--
<?php
$a = array("a","b","c");
foreach ($a as &$k=>$v) {
var_dump($v);
}
?>
--EXPECTF--
Fatal error: Key element cannot be a reference in %s on line 3 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Tarefas_model extends CI_Model {
public function listar_tarefas($id = NULL) {
// $default = $this->load->database('default', TRUE);
$this->db->select('a.*, g.nome_grupo');
$this->db->from('tbl_tarefas a');
... |
@extends('admin._layout.master')
@section('contant')
<div id="content">
<div>
<form action="{{url('logo-aboutus')}}" method="POST" enctype='multipart/form-data'>
{{ csrf_field() }}
<div class="panel">
<div class="panel-heading"> <span class="panel-title"> <span ... |
<?php require_once dirname(__FILE__) . "/inc/config.php"; ?>
<?php // Page data
$pageTitle = "Delivery Information";
$pageTitleTag = $siteName . " Outback Feeders " . $pageTitle;
$pageDescription = $siteName . " Delivery Information - Transport/Shipping cost " . $pageTitle;
$pageKeywords = $pageTitle . " Wildife Feed... |
<?php
namespace FarLab\Drivers\Line\Events;
use BotMan\BotMan\Interfaces\DriverEventInterface;
use LINE\LINEBot\Event\BaseEvent;
class LineEvent implements DriverEventInterface
{
/** @var BaseEvent */
protected $payload;
/**
* @param $payload
*/
public function __construct($payload)
{
... |
<?php
use Illuminate\Support\Facades\Session;
use App\Users;
use App\Section;
$documents = Session::get('receivedDocuments');
?>
<html>
<title>Print Logs</title>
<head>
<link href="{{ asset('resources/assets/css/print.css') }}" rel="stylesheet">
</head>
<body>
<table class="letter-head" cellpadding="0" cellspacing=... |
<?php
namespace App\Http\Controllers\Custommer\Proses;
use App\Http\Controllers\Controller;
use App\Http\Controllers\Model;
use Illuminate\Http\Request;
class Proses extends Controller
{
private $model;
public $user;
function __construct()
{
$this->model = new Model;
$this->user = $t... |
<?php
/**
* Enlight
*
* 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://enlight.de/license
* If you did not receive a copy of the license and are unable to
* obta... |
<?php
use frontend\widgets\barcode\BarcodeGenerator;
use yii\helpers\Url;
$generator = new BarcodeGenerator();
$barcodeTypes = [
'ean13' => 'EAN-13',
'itf14' => 'ITF-14',
'ean8' => 'EAN-8',
'ean128' => 'EAN-128',
'upca' => 'UPCA',
'upce' => 'UPCE',
'code39' => 'CODE39',
'code39ascii' => 'CODE39ASC... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\AdminController;
use App\Http\Controllers\OrderController;
use App\Http\Controllers\MemberController;
use App\Http\Controllers\ReportController;
use App\Http\Controllers\BannersController;
use App\Http\Control... |
class Admin_AjaxController extends Zend_Controller_Action {
public function init() {
$this->_helper->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender(true);
}
public function indexAction() {
}
public function changeStatusByOrderIdsAction() {
... |
<?php
return [
'help' => 'Helpen',
'search' => 'Zoeken',
'logout' => 'Uitloggen',
'view_site' => 'Site bekijken',
'title' => 'Controlepaneel',
'search_placeholder' => 'Type om te zoeken',
// Users Module
'search_by_gsm_number' => 'Zoeken op GSM-nummer',
]; |
<?php $__env->startSection('content'); ?>
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-body">
<div class="box-header">
<h1 class="box-title main-title">
<?php echo e($title);... |
<?php
/**
* @package ImpressPages
* @copyright Copyright (C) 2011 ImpressPages LTD.
* @license GNU/GPL, see ip_license.html
*/
namespace Modules\standard\seo;
if (!defined('BACKEND')) exit;
require_once(BASE_DIR.MODULE_DIR.'developer/std_mod/std_mod.php');
require_once(__DIR__.'/db.php');
require_once(__DIR__... |
{{ $model->category->name }} |
@extends('app')
@section('content')
<div class="col-lg-12">
<h1 class="my-4">Products</h1>
<a href="{{ route('products.create') }}" class="btn btn-info">New product</a>
<br /><br />
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>Price</th>
<th></th>
</tr>
</thead>
<tbod... |
@extends('layouts.frontLayouts.master')
@section('content')
@push('styles')
<link href="{{ asset('css/frontend_css/index.css') }}" rel="stylesheet">
<div class="main">
<div class="phim">
<div class="active"><a href="#">PHIM HAY ĐANG CHIẾU</a> </div>
<!-- <div><a href="#"> PHIM HAY SẮP CHIẾU</a> </div> --... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ReporteTodasSucursales extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::unprepared('DROP proced... |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2014 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any... |
<?php
/**
* php-gtk (http://toknot.com)
*
* @copyright Copyright (c) 2019 Szopen Xiao (Toknot.com)
* @license http://toknot.com/LICENSE.txt New BSD License
* @link https://github.com/chopins/php-gtk
* @version 0.1
*/
namespace Gtk;
use Gtk\FFI;
use Gtk\Gdk;
use Gtk\PHPGtk;
use Gtk\GtkEnum;
class... |
<?php
/* @var $this PlantillaConsentradosController */
/* @var $model PlantillaConsentrados */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->l... |
<?php
/**
* Media Functions
*
* Functions used to control the display of media and embedded content.
*
* @package Magic Hat
* @subpackage Includes
* @since 1.0.0
*/
if ( ! function_exists( 'magic_hat_enqueue_media_scripts' ) ) :
/**
* Registers, localizes, and enqueues scripts and styles related to lightboxes... |
<?php
namespace App\Exceptions;
use Throwable;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protect... |
@if ($message = \Session::get('success'))
<div class="alert alert-success alert-block">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>{{ $message }}</strong>
</div>
@endif
@if ($message = \Session::get('danger'))
<div class="alert alert-danger alert-block">
<button type="butto... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.