text stringlengths 2 1.03M |
|---|
@extends('layouts.footer')
@extends('layouts.header')
<!doctype html>
<html lang="en">
<!-- Mirrored from preview.colorlib.com/theme/nurture/about.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 12 Feb 2021 07:19:49 GMT -->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCitiesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cities', functio... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Service_message {
private $_CI;
private $_message = null;
private $_template = 'service_message.php';
public function __construct()
{
$this->_CI =& get_instance();
$this->_CI... |
<?php
namespace Oro\Bundle\SyncBundle\Tests\Unit\DependencyInjection\Compiler;
use Oro\Bundle\BatchBundle\Entity\JobExecution;
use Oro\Bundle\BatchBundle\Entity\StepExecution;
use Oro\Bundle\DataAuditBundle\Entity\Audit;
use Oro\Bundle\DataAuditBundle\Entity\AuditField;
use Oro\Bundle\MessageQueueBundle\Entity\Job;
u... |
<?php
namespace Doctrine\Tests\Common\Annotations\Fixtures;
/**
* @Annotation
* @Target({ "METHOD", "PROPERTY" })
*/
final class AnnotationTargetPropertyMethod
{
public $data;
public $name;
public $target;
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Validator;
use App\Location;
use Illuminate\Support\Facades\Storage;
class LocationController extends Controller
{
public function __construct()
{
}
public function list(Request $request)
{
$offset = 0;
$page = 1;
$perPage = 10... |
<?php
namespace App\Models\Files;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class FileView extends Model
{
use HasFactory;
protected $guarded = ['id'];
public function file()
{
return $this->belongsTo(File::class);
}
} |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<?php
session_start();
if(!$_SESSION['checker']){
header("Location:index.php ");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php
include('exe/database.php');
include('scripts.html');
?>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, i... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
<?php
/**
* Copyright (c) 2017 Constantin Galbenu <xprt64@gmail.com>
*/
namespace Dudulina\Saga;
use Dudulina\EventProcessing\EventProcessingTracker;
interface SagaEventTrackerRepository extends EventProcessingTracker
{
} |
<?php
/*!
* HybridAuth
* http://hybridauth.sourceforge.net | https://github.com/hybridauth/hybridauth
* (c) 2009-2011 HybridAuth authors | hybridauth.sourceforge.net/licenses.html
*/
/**
* Hybrid_Providers_Identica
*/
class Hybrid_Providers_Identica extends Hybrid_Provider_Model_OAuth1
{
/**
* IDp wrappers init... |
@extends('../layout/base')
@section('body')
<body class="main">
@yield('content')
@include('../layout/components/dark-mode-switcher')
<!-- BEGIN: JS Assets-->
<script src="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js"></scr... |
@include('layouts.head')
<body>
<div class="font-sans text-gray-900 antialiased">
{{ $slot }}
</div>
@include('layouts.waves')
@include('layouts.version')
</body>
</html> |
<?php
namespace Illuminate\Broadcasting;
use Illuminate\Support\Facades\Broadcast;
trait InteractsWithSockets
{
/**
* The socket ID for the user that raised the event.
*
* @var string|null
*/
public $socket;
/**
* Exclude the current user from receiving the broadcast.
*
* @return $this
*/
public... |
<div class="p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800 mb-3">
<form class="form" wire:submit.prevent="submit">
<div class="flex lg:w-2/3 w-full sm:flex-row flex-col mx-auto px-4 sm:space-y-0 space-y-4 sm:px-0 items-end">
<div class="relative flex-grow w-full mr-2">
<label... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class Banner extends Model
{
//
public static function getBannerByType($type, $num){
$banners = static::orderBy('created_at', 'DESC')
->where('type', $type)
->where('is_display', 1)
->take($num)
... |
@extends('site.layouts.default')
{{-- Page title --}}
@section('page_header')
@if($page->showtitle==1)
<h1 class="page-header">
{{{ $page->name }}}
</h1>
@endif
@stop
{{-- Page title --}}
@section('page_breadcrumb')
@if(isset($breadcrumb))
<ol class="breadcrumb">
{{ $breadcrumb }}
<!--<li><a hr... |
<?php
return [
'datagrid' => [
'actions' => 'Eylemler',
'id' => 'Index sütunları sadece sıfırdan daha büyük değere sahip olmalı',
'massaction' => [
'mass-delete-confirm' => 'Seçili :resource kayıtlarını silmek istediğinizden emin misiniz?',
'mass-update-status' => 'S... |
;<?php /*
[overview_center]
sql="SELECT * FROM lipsum"
; */ |
<!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="robots"
content="noindex,nofollow">
<meta name="format-detection"
content="telephone=no">... |
<!doctype html>
<!--[if IE 9 ]><html class="ie9" lang="en"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html lang="en"><!--<![endif]-->
@include('layouts.partials.head')
<body>
<!--boxed layout-->
<div class="wide_layout relative w_xs_auto">
<!--[if (lt IE 9) | IE 9]>
<div style="background:#fff;padding:8px 0 10... |
<?php
use Illuminate\Database\Seeder;
class RolesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('roles')->insert(['name' =>'administrator']);
DB::table('roles')->insert(['name' =>'author']);
DB::... |
<?php
namespace App\Http\Controllers\Api;
use Illuminate\Http\Request;
use App\Transformers\NotificationTransformer;
class NotificationsController extends Controller
{
public function index()
{
$notifications = $this->user->notifications()->paginate(20);
return $this->response->paginator($no... |
<?php include 'inc/config.php'; ?>
<?php include 'inc/template_start.php'; ?>
<?php include 'inc/page_head.php'; ?>
<!-- Page content -->
<div id="page-content">
<!-- Carousel Header -->
<div class="content-header">
<div class="header-section">
<h1>
<i class="gi gi-picture">... |
<?php view('templates/header'); ?>
<?php view('templates/sidebar'); ?>
<?php view('templates/navbar'); ?>
<?php view($page, isset($content) ? $content : ''); ?>
<?php view('templates/footer'); ?> |
@extends('layout.v_template')
@section('title','Detail pegawai')
@section('content')
<table class="table" >
<tr>
<th width="100px" > nip </th>
<th width="30pxpx" > : </th>
<th > {{$pegawai-> nip}}</th>
</tr>
<tr>
<th width="100px" > nama_pegawai </th>
<th width="30pxpx" > : </th>
<th > {{$pegawai-> nama_pega... |
<?php
/*
* This file is part of the Monolog package.
*
* (c) Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Base Handler class providing the Handler structure
*
* @author Jordi Boggia... |
<div class="row row-alert" ></div>
<form action="{{ route('garantias.store') }}" method="POST" id="form-create-product"
class="form-horizontal needs-validation" autocomplete="off">
@csrf
<div class="modal-body admin-form">
<div class="row">
<div class="col-md-3">
<div... |
<?php
namespace App\Services\Generavel\Commands;
use Illuminate\Console\GeneratorCommand;
class GenerateCreateRequest extends GeneratorCommand
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'generavel:create-request {name}';
/**
... |
<?php Defined('BASE_PATH') or die(ACCESS_DENIED); ?>
<div class="preview-email" style="display: none; background-color: #F5F5F5;" >
<!-- Header -->
<div class="panel panel-default">
<div class="panel-body">
<button id="back-preview" class="btn btn-default button-rounded" style="border-radiu... |
<?php
namespace lywzx\epub;
class EpubParser {
/**
* @var string epub file path
*/
private $filePath;
/**
* @var array
*/
private $manifest = [];
/**
* Holds the (relative to $ebookDir) path to the OPF file
* @var string Location + name of OPF file
*/
priva... |
<?php
namespace Drupal\sfgov_locations;
use Drupal\sfgov_locations\AddressFormat;
/**
* Provides helpers for handling address formats.
*/
final class AddressFormatHelper
{
/**
* Gets the list of used fields, grouped by line.
*
* Used for generating address forms.
*
* Applies field over... |
<?php
/*
* Copyright 2011 ICMBio
* Este arquivo é parte do programa SISICMBio
* O SISICMBio é um software livre; você pode redistribuí-lo e/ou modificá-lo dentro dos termos
* da Licença Pública Geral GNU como publicada pela Fundação do Software Livre (FSF); na versão
* 2 da Licença.
*
* Este programa é distribuí... |
<style>
table {
width:100%;
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 5px;
text-align: left;
}
.judul{
font-size: 5pt;
}
</style>
<body>
<table>
<tr>
<?php
$kolom = 1;
foreach ($data_anggota as $row){
... |
<link rel="shortcut icon" href="<?php echo base_url();?>assets/admin/public/assets/images/favicon.ico">
<!-- C3 charts css -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/c3/0.7.20/c3.min.css" />
<!-- <link href="<?php echo base_url();?>assets/admin/public/assets/css/c3.min.css" rel="stylesheet"... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFollowersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('followers', f... |
<thead>
<tr>
@foreach($this->tableColumns() as $columnKey => $column)
<th class="align-middle {{ $column["class"] ?? "" }}">
<div class="d-flex align-items-center position-relative">
<div>
{!! $column["display"] !!}
</div>
<d... |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* Model base class. All models should extend this class.
*
* @package Kohana
* @category Models
* @author Kohana Team
* @copyright (c) 2008-2011 Kohana Team
* @license http://kohanaframework.org/license
*/
abstract class Koh... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class LaratrustSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->command->info('Truncating User, Role and Permi... |
@extends('layout.layout')
@section('content')
<div class="container">
@if(Auth::user()->isADmin())
<a href="{{URL::action('HomeController@addUser')}}"><button type="submit" class="btn btn-primary">Add user</button></a><br /><br />
@if(Session::has('success'))
<div class="alert alert-success">
{{Session::get('succe... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
p... |
<?php
namespace ArtARTs36\GitHandler\Contracts\Commands;
use ArtARTs36\GitHandler\Data\LogCollection;
/**
* Git Log
*/
interface GitLogCommand
{
/**
* Get all git logs
* @git-command git log
*/
public function getAll(): ?LogCollection;
} |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as... |
<?php
namespace Restaurant\RestaurantBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Restaurant\RestaurantBundle\Form\RechercheType;
class RestaursController extends Controller {
public function categorieAction($categorie) {
$em = $this->getDoctrine()->getManager();
... |
<?php
namespace frontend\models;
use Yii;
/**
* This is the model class for table "address".
*
* @property integer $id
* @property integer $user_id
* @property string $province
* @property string $city
* @property string $zone
* @property string $address
* @property integer $status
*/
class Address extends... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\ClnRegister */
$this->title = $model->NAME;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Cln Registers'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="c... |
<?php
namespace App\Controllers\API;
use App\Controllers\BaseController;
use App\Models\M_Assignmentresult;
class Assignmentresult extends BaseController
{
protected $m_assignment_result;
public function __construct()
{
$this->m_assignment_result = new M_Assignmentresult();
}
public function u... |
<?xml version="1.0" encoding="UTF-8"?><rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
<service>
<engineName>WordPress</engineName>
<engineLink>https://wordpress.org/</engineLink>
<homePageLink>https://shivatoken.club</homePageLink>
<apis>
<api name="WordPress" blogID="1" preferred="true" a... |
<section id="main">
<div class="container">
<div class="account">
<div class="row">
<div class="col-md-3">
<?php $this->view('user/widget/menu') ?>
</div>
<div class="col-md-9">
<div class="row">
... |
<?php
namespace AlipayAop\request;
/**
* ALIPAY API: alipay.security.prod.signature.task.apply request
*
* @author auto create
* @since 1.0, 2019-01-07 20:51:15
*/
class AlipaySecurityProdSignatureTaskApplyRequest
{
/**
* 支付宝可信电子签名申请
**/
private $bizContent;
private $apiParas = array();
private $termina... |
<!DOCTYPE html>
<html>
<head>
<title>Tutorial Laravel #8 : Sistem Template Blade Laravel</title>
</head>
<body>
<header>
<h2>Blog stres Ngoding</h2>
<nav>
<a href="/blog">HOME</a>
|
<a href="/blog/tentang">TENTANG</a>
|
<a href="/blog/kontak">KONTAK</a>
</nav>
</header>
<hr/>
<br/>
<br/>
... |
<?php
use yii\helpers\Html;
use yii\widgets\ListView;
use kartik\grid\GridView;
use yii\helpers\ArrayHelper;
use common\models\Equipment;
use common\models\StationCode;
/* @var $this yii\web\View */
/* @var $searchModel common\models\BdreportSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title... |
<?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
session_start();
if (!$_SESSION["login"]){
header ("Location: ../home/login.html");
}
//if ($_POST) {
// echo "Session Username: " . $_SESSION["session_username"] . "<br>";
// echo "Session Id: " . $_SESSION['session_id'] . '<br><br>';
$username_user = $_SESSION["session_username"] ;
$id_use... |
<?php
/* Model Main */
class Main_model extends CI_Model {
function __construct()
{
parent::__construct();
}
function input_data($data,$table){
$this->db->insert($table, $data);
return $this->db->insert_id();
}
function tampil_data(){
return $this->db->get('tproject');
}
function tampil_dat... |
<?php
/**
* @deprecated since version 4.0 - Please use according KO7 Class instead.
*/
class Kohana_Database_Query_Builder_Join extends KO7_Database_Query_Builder_Join {} |
<?php
namespace App\Controllers;
use App\Models\FornecedorModel;
use App\Models\OutrosModel;
use Mpdf\Mpdf;
class Outros extends BaseController {
public function index() {
$dados = [
'tela' => 'outros/view_index',
'pagina' => 'OUTROS'
];
return view('view_index', $dados);
}
public function recibo_d... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use \i18n\models\I18nSourceMessage;
/* @var $this yii\web\View */
/* @var $model i18n\models\I18nMessage */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="i18n-message-form">
<?php
$form = ActiveForm::begin([
... |
<!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" xml:lang="ru" lang="ru">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Страница не найдена</title>
<style type="text... |
<?php
namespace common\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\OutdatedObjectsReceivers;
/**
* OutdatedObjectsReceiversSearch represents the model behind the search form of `common\models\OutdatedObjectsReceivers`.
*/
class OutdatedObjectsReceiversSearch extends OutdatedObjec... |
@extends('_layouts._layout_site')
@include('_layouts._includes._head')
@include('_layouts._includes._validators_jquery')
@section('head')@endsection
@section('titulo')@lang('bocais.bocais')@endsection
@section('topo_detalhe')
<div class="container-fluid topo">
<div class="row align-items-start">
{{-- Tit... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Role;
use App\User;
use Gate;
use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response;
class UserController extends Controller
{
public function __construct()
{
$this->title = ucwords(st... |
<?php
namespace spec\PhpSpec\Matcher;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use PhpSpec\Formatter\Presenter\Presenter;
class ApproximatelyMatcherSpec extends ObjectBehavior
{
function let(Presenter $presenter)
{
$presenter->presentValue(Argument::any())->willReturn(41.889240346184, 1.0e... |
<?php
/**
* LICENSE: 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 to in writing, sof... |
<?php
/**
* @link https://github.com/creocoder/yii2-flysystem
* @copyright Copyright (c) 2015 Alexander Kochetov
* @license http://opensource.org/licenses/BSD-3-Clause
*/
namespace tkanstantsin\yii\flysystem;
use League\Flysystem\Rackspace\RackspaceAdapter;
use OpenCloud\Rackspace;
/**
* RackspaceFilesystem
*
... |
<?php
namespace App\JsonApi\PaktecCompetitorsItems;
use CloudCreativity\LaravelJsonApi\Eloquent\AbstractAdapter;
use CloudCreativity\LaravelJsonApi\Pagination\StandardStrategy;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Collection;
class Adapter extends AbstractAdapter
{
/**
* Mapping... |
<?php
namespace Tests\Feature;
use Tests\TestCase;
use Illuminate\Foundation\Testing\DatabaseMigrations;
class PendingEventsTest extends TestCase
{
use DatabaseMigrations;
/** @test */
function ambassador_can_see_pending_events_for_his_country()
{
$this->seed('RolesAndPermissionsSeeder');
... |
@extends('layouts.appAdmin')
@section('css')
<style>
.card.user-card {
border-top: none;
-webkit-box-shadow: 0 0 1px 2px rgba(0,0,0,0.05), 0 -2px 1px -2px rgba(0,0,0,0.04), 0 0 0 -1px rgba(0,0,0,0.05);
box-shadow: 0 0 1px 2px rgba(0,0,0,0.05), 0 -2px 1px -2px rgba(0,0,0,0.04), 0 0 0 -1px rgba(0,0,0,0.05... |
<?php
/* FOSUserBundle:Profile:show_content.html.twig */
class __TwigTemplate_197b3050c617457a531fcdd3320d1fe8bd95a4fafebd189187c5293c2a6404d4 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks =... |
<?php
namespace app\models\forms;
use app\models\User;
use yii\base\Model;
class UpdateUserForm extends Model
{
public $username;
public $password;
public $repeatPassword;
public function rules()
{
return [
[['username'], 'required'],
[['username'], 'unique', 'target... |
<!-- page header section ending here -->
<section class="page-header padding-tb page-header-bg-1">
<div class="container">
<div class="page-header-item d-flex align-items-center justify-content-center">
<div class="post-content">
<h3>N... |
<?php
namespace Psalm\Internal\Analyzer\Statements\Expression\Call;
use PhpParser;
use Psalm\Internal\Analyzer\ClassLikeAnalyzer;
use Psalm\Internal\Analyzer\FunctionLikeAnalyzer;
use Psalm\Internal\Analyzer\MethodAnalyzer;
use Psalm\Internal\Analyzer\Statements\ExpressionAnalyzer;
use Psalm\Internal\Analyzer\Statemen... |
<?php namespace Backend;
use \DB;
use \View;
use \User;
use \Auth;
use \Category;
use \Post;
use \Input;
use \Redirect;
use \Validator;
use \TermRelation;
/**
* 文章控制器
*/
class PostController extends BaseController {
protected $rules = array(
'title' => 'required',
'content'... |
<?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 CG\PlatformBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfony... |
@extends('layout.admin')
@section('content')
<script type="text/javascript">
function validateSearch()
{
$("#error_alert").html("");
var name = $("#moldingMachineName").val();
var status = $("#status").val();
if(name == "" && status == "")
{
$("#error_alert").html("<?php echo Lang::get('messages... |
<?php
/**
* KNUT7 K7F (https://marciozebedeu.com/)
* KNUT7 K7F (tm) : Rapid Development Framework (https://marciozebedeu.com/)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @link... |
<?
if(!check_bitrix_sessid()) return;
IncludeModuleLangFile(__FILE__);
if($ex = $APPLICATION->GetException())
echo CAdminMessage::ShowMessage(Array(
"TYPE" => "ERROR",
"MESSAGE" => GetMessage("MOD_INST_ERR"),
"DETAILS" => $ex->GetString(),
"HTML" => true,
));
?>
<div style="font-size: 12px;"></div>
<?echo CA... |
<?php
/**
* @file
* Contains \Devour\Table\Table.
*/
namespace Devour\Table;
use Devour\Row\Row;
/**
* A simple table implementation.
*/
class Table extends \SplQueue implements TableInterface {
/**
* The fields belonging to the table.
*
* @var array
*/
protected $fields = [];
/**
* Cons... |
<?php
namespace Omise\Payment\Model\Validator\Payment;
use Omise\Payment\Model\Validator\Payment\ResultValidator;
use Omise\Payment\Gateway\Validator\Message\Invalid;
class OffsiteResultValidator extends ResultValidator
{
/**
* @param mixed
*
* @return mixed
*/
public function validate($d... |
<?php namespace Winter\Forum\Components;
use Auth;
use Flash;
use Event;
use Request;
use Redirect;
use Cms\Classes\Page;
use Winter\User\Models\User as UserModel;
use Winter\User\Models\MailBlocker;
use Cms\Classes\ComponentBase;
use ApplicationException;
use Winter\Forum\Models\Topic as TopicModel;
use Winter\Forum\... |
<?php
use Illuminate\Support\Str;
$DATABASE_URL = parse_url('DATABASE_URL');
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may... |
<?php
declare(strict_types=1);
namespace Orchid\Press\Builders;
use Illuminate\Database\Eloquent\Builder;
class TaxonomyBuilder extends Builder
{
/**
* @var
*/
private $slug;
/**
* Add posts to the relationship builder.
*
* @return \Orchid\Press\Builders\TaxonomyBuilder
*/... |
<?php
/*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
<?php
namespace App\Actions;
use App\Models\Game;
use Lorisleiva\Actions\Concerns\AsAction;
class RemoveSessionPlayer
{
use AsAction;
public function handle(Game $game)
{
session()->forget('player@'.$game->code);
}
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class MessageTableCreate extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('messages', func... |
@include('user.partials.header')
<body class="front_page promo_popup">
<section id="container">
@include('user.partials.navbar')
@include('user.partials.sidebar')
<section id="main-content">
@include('user.flash_message.user_flash')
@yield('content')
</section>
@include('user.partials.footer')
</section>
... |
<!DOCTYPE html>
<html lang="en">
<head>
<!--<style>
div {
background-image: url('img/1920x1080/fishing111.jpg');
}
</style> -->
<title>WUFO</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--============================================================... |
<?php
namespace Modules\Event\Console;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Storage;
use Modules\Event\Http\Controllers\EventController;
class CacheFeaturedEvents extends Command
{
/**
* The console command name.
*
* @var string
*/
protected $name = 'featured_e... |
<?php
namespace App\Notifications\Hr\Email;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class ContractExpiryNotification extends Notification
{
use Queueable;
protected $employee;
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCandidateMastersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('candid... |
<?php
use Phinx\Db\Adapter\MysqlAdapter;
class ChangeOnBrandTable extends Phinx\Migration\AbstractMigration
{
public function change()
{
$this->table('brands', [
'id' => false,
'primary_key' => ['id'],
'engine' => 'InnoDB',
'encoding' => ... |
@extends('layout.layout')
@section('contents')
<a href="/tambahdata" class ="btn btn-info">Create outlines</a> <br \><br \>
<div class="row">
<div class="span3">
<div class="well">
<ul class="nav nav-list">
<li>
@foreach ($ide as $outlines)
... |
<?php
namespace app\modules\inventory_report;
/**
* inventory_report module definition class
*/
class Module extends \yii\base\Module
{
/**
* @inheritdoc
*/
public $controllerNamespace = 'app\modules\inventory_report\controllers';
/**
* @inheritdoc
*/
public function init()
... |
@extends('layouts.app')
@section('content')
<article class="content responsive-tables-page">
<section class="section">
<div class="row sameheight-container">
<div class="col-md-6 offset-md-3">
@if (session('error'))
<div class="alert a... |
<?php
namespace App\Providers;
use App\Observers\SiteObserver;
use App\Site;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Footprint extends Model
{
//
protected $fillable = ['activity', 'activityType', 'country', 'fuelType', 'mode', 'response'];
} |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class List_user extends MY_Controller {
public function __construct()
{
parent::__construct();
$this->load->model("account/account_model");
}
public function index()
{
$this->list_user();
}
public function list_user()
{
$data["u... |
@extends("layout.portal")
@section("content")
<?php
$url_secured = $helper["status"];
?>
<!--banner-->
<div class="banner">
<h2>
<a href="/login">Home</a>
<i class="fa fa-angle-right"></i>
<span>WordPress WebApp</span>
</h2>
</div>
<!--//... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.