text stringlengths 2 1.03M |
|---|
<?php
/**
* Basic util functions.
*
* @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\Util;
class Common
{
/**
* An array ... |
<?php
namespace App\Http\Controllers\Backend;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Category;
use App\Http\Requests\CategoryStoreRequest;
use App\Http\Requests\CategoryUpdateRequest;
use App\Http\Requests\CategoryDestroyRequest;
use App\Post;
class CategoriesController extends Bac... |
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" href="../img/mst.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link href=... |
<?php
$lang['REPORT_ABUSE'] ="REPORT ABUSE";
$lang['Why_do_you_want_to_report_this_brick'] ="Why do you want to report this brick ? Please tell us the reason.";
?> |
<?php
namespace App\Http\Controllers;
use App\Models\Cidade;
use App\Models\Estado;
use Illuminate\Http\Request;
class CidadeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$cidades = Ci... |
@extends('layout')
@section('style')
<link href="/css/jquery.dataTables.min.css" rel="stylesheet" media="screen">
<link href="/css/responsive.dataTables.min.css" rel="stylesheet" media="screen">
@endsection
@section('content')
<!-- MAIN CONTENT -->
<div class="main-content" id="content-wrapper">
... |
<?php
declare(strict_types=1);
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2019 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace Jose\Bundle\JoseFramework\Tests\Functional\Encryption;
use Jose\Component\E... |
--TEST--
DBA TCADB handler test
--SKIPIF--
<?php
$handler = 'tcadb';
require_once dirname(__FILE__) .'/skipif.inc';
?>
--FILE--
<?php
$handler = 'tcadb';
require_once dirname(__FILE__) .'/skipif.inc';
$lock_flag = 'l';
$db_filename = $db_file = dirname(__FILE__) .'/test0.tch';
@unlink($db_filename);... |
<?php
namespace Algolia\AlgoliaSearch\Test\Integration;
use Algolia\AlgoliaSearch\Helper\Data;
use Algolia\AlgoliaSearch\Model\Indexer\Product;
class SearchTest extends TestCase
{
public function testSearch()
{
/** @var Product $indexer */
$indexer = $this->getObjectManager()->create(Product:... |
<?php
namespace App\Http\Controllers\Dashboard;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Order;
class OrdersController extends Controller
{
public function index (Request $request)
{
$orders = Order::whereHas('client', function($q) use ($request){
return $q... |
<?php
namespace yii2lab\app\domain\helpers;
use yii2lab\extension\store\StoreFile;
class CacheHelper {
private static $enabled = null;
public static function forge($key, $callback) {
if(!self::isEnable()) {
return call_user_func_array($callback, []);
}
$value = self::get... |
<?php
declare(strict_types=1);
namespace Roave\BetterReflection\SourceLocator\Type\Composer\Factory;
use Roave\BetterReflection\SourceLocator\Ast\Locator;
use Roave\BetterReflection\SourceLocator\Type\AggregateSourceLocator;
use Roave\BetterReflection\SourceLocator\Type\Composer\Factory\Exception\FailedToParseJson;
... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace lliyplliuk\eBaySDK\Trading\Types;
/**
*
*/
class CrossPromotionPreferencesType extends \lliyplliuk\e... |
@extends('layouts.master')
@section('content')
<h1>La vue de Localities</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. D... |
<?php
/**
*
* Copyright © 2019 Zemez. All rights reserved.
* See COPYING.txt for license details.
*
*/
namespace Zemez\ProductLabels\Block\Product;
use Magento\CatalogWidget\Block\Product\ProductsList;
use Magento\Catalog\Model\Product;
use Zemez\ProductLabels\Helper\Data;
/**
* Config edit plugin.
*
* @pack... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePartTimeQulificationResultsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('part_time_qulification_results', f... |
<?php
class Baz {
const B = 3;
}
class Foo {
const X = 1;
public function x($a = self::X, $b = Baz::B, $c = 99) {}
}
class Bar extends Foo {
const Y = 2;
public function y($a = self::Y, $b = Baz::B, $c = 99) {}
}
echo "From global scope:\n";
$clazz = new ReflectionClass('Bar');
foreach ($clazz-... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit80a04bc88b44289001dfeadc63607bcb::getLoader(); |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'App\\Batch' => $baseDir . '/app/Batch.php',
'App\\Comment' => $baseDir . '/app/Comment.php',
'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php',
'A... |
<?php
namespace App\Exceptions;
use Illuminate\Support\Facades\Response;
use Exception;
use Throwable;
use Tymon\JWTAuth\Exceptions\JWTException;
use Tymon\JWTAuth\Exceptions\TokenExpiredException;
use Tymon\JWTAuth\Exceptions\TokenInvalidException;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Foundat... |
<?php
use PHPUnit\Framework\TestCase;
class StopsOnWarningTest extends TestCase
{
public function testOne()
{}
} |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
use App\Model\Product;
use DB;
class Star extends Model
{
public function getVote($id)
{
return DB::table('stars')
->where('stars.id_product',$id)
->get();
}
public function updateStar($data){
return DB::table('stars')->updat... |
<?php
/**
* Created by PhpStorm.
* User: wj008
* Date: 18-12-3
* Time: 下午9:23
*/
namespace tool\libs;
class FuncItem
{
private string $_name = '';
private string $_code = '';
private array $_use = [];
public function __construct(string $name)
{
$this->_name = $name;
}
publi... |
<?php
namespace APIRestful\Http\Controllers\User;
use APIRestful\User;
use Illuminate\Http\Request;
use APIRestful\Mail\UserCreated;
use Illuminate\Support\Facades\Mail;
use APIRestful\Transformers\UserTransformer;
use APIRestful\Http\Controllers\APIController;
class UserController extends APIController
{
publi... |
<?php
session_start();
include('assets/configs/config.php');
include('assets/configs/checklogin.php');
check_login();
$aid=$_SESSION['em_id'];
?>
<!DOCTYPE html>
<html lang="en">
<!--Header-->
<?php include('includes/header.php');?>
<!--End Header-->
<body>
<div class="be-wrapper be-fixed-sidebar">
<!--... |
<?php
/**
* ControllerPluginRcmUserIsAllowedTest.php
*
* LongDescHere
*
* PHP version 5
*
* @category Reliv
* @package RcmUser\Test\Service\Factory
* @author James Jervis <jjervis@relivinc.com>
* @copyright 2014 Reliv International
* @license License.txt New BSD License
* @version GIT: <git_id>
*... |
@extends('layouts.home')
@section('title')
총무신청
@stop
@section('head')
@parent
@stop
@section('content')
<div style="border: 1px solid #232420;">
<form method="post">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
{{-- 고시원 이름 : <input name="name" type="text" placeholder="스몰텔 ... |
<?php
if (! function_exists('pr'))
{
function pr($param = '')
{
$CI =& get_instance();
// $this->db->last_query();
echo "<pre>";
print_r($param);
echo "</pre>";
exit;
}
} |
<?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\Bundle\FrameworkBundle\Controller;
use Symfony\Component\Depend... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Barangkeluar extends Model
{
//
protected $table = 'barang_keluar';
protected $primaryKey = 'id_bk';
protected $fillable = ['nama_bk', 'jumlah', 'keterangan', 'tgl_k'];
} |
<?php
/*
* Copyright 2016 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
<section id="top">
<div class="row">
<div class="col-md-6 title">
<h1>{!! App::title() !!}</h1>
<div>
<a class="button" id="filterToggle" href="#">Filter</a>
</div>
</div>
<div class="col-md-6" id="filters">
{!! do_shortcode('[ajax_... |
<?php
/**
* PageDailyDeposit_
*
* PHP version 5
*
* @category Class
* @package com\hydrogen\nucleus
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Hydrogen Atom API
*
* The Hydrogen Atom API
*
* OpenAPI spec version: 1.7.0
* Contact: info@hydrogenpl... |
<!-- Karina Aulia Dini 1301164342 -->
<html>
<head>
<title> Rating </title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<link href="http://maxcdn.bootstrapcd... |
<?php
namespace app\daemons;
use consik\yii2websocket\events\WSClientMessageEvent;
use consik\yii2websocket\WebSocketServer;
use Ratchet\ConnectionInterface;
use consik\yii2websocket\events\WSClientEvent;
class EchoServer extends WebSocketServer
{
public function init()
{
parent::init();
$thi... |
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
/**
* My Input
*
* Extends CodeIgniters core Input with a honey pot anti-spam protection
* Added config items for use.
*
* @author Martin Langenberg
*/
class SMIT_Input extends CI_Input {
/**
* Enable Honey pot flag
*
... |
<?php
use Phinx\Migration\AbstractMigration;
class FixDefaultsForUsersTable extends AbstractMigration
{
/**
* Migrate Up.
*/
public function up()
{
$users = $this->table('users');
// Stricter MySQL installs have issues with null or empty string
// values for columns mark... |
<?php
namespace handlers\whoami;
# getting data from stdin (we can control all parts of the stream)
$request_body = file_get_contents('php://stdin');
# sending response headers
echo 200, PHP_EOL;
echo 'Content-Type: text/html; charset=utf-8', PHP_EOL;
echo $thaaljs['delimeter'];
# sending response body
print `whoami... |
<?php
namespace app\controller;
use app\logic\common\UserLogic;
class UserController extends Base
{
/**
* 初始化游戏,用户名,职业等
*/
public function initGame()
{
}
} |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateZipregionsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('zipregions', function(Blueprint $table)
{
$table->increments('id');
$... |
--TEST--
Test hebrevc() function : error conditions
--FILE--
<?php
/* Prototype : string hebrevc ( string $hebrew_text [, int $max_chars_per_line ] )
* Description: Convert logical Hebrew text to visual text
* Source code: ext/standard/string.c
*/
echo "*** Testing hebrevc() : error conditions ***\n";
echo "\... |
<?php
namespace WPGraphQL\Data\Cursor;
use WP_Query;
use wpdb;
/**
* Post Cursor
*
* This class generates the SQL AND operators for cursor based pagination for posts
*
* @package WPGraphQL\Data
*/
class PostObjectCursor {
/**
* The global WordPress Database instance
*
* @var wpdb $wpdb
*/
public $wp... |
{{$data['user_name']}} 様
栗田クッキングサロン オンライン教室"{{$data['zoom_name']}}" です。
この度はお支払い頂き、ありがとうございました。
ご予約が確定しましたので、ご連絡いたします。
---
予約番号: {{$data['reservation_id']}}
教 室: {{$data['zoom_name']}}({{$data['room_description']}})
講 師: {{$data['staff_name']}}先生
コース名: {{$data['course_name']}}
開催日時: {{$data['start']}}
料 金: {{$da... |
@extends('SuperAdmin::superAdmin.Template.template')
@section('content')
<div class="jumbotron">
<img src="{{url($userDetail->photo)}}" width="200" height="200">
<br>
<a href="{{route('userProjectList',$userDetail->id)}}" class="btn btn-primary pull-right"> Projects Assignment List </a>
... |
<?php
namespace Transactions\Form\Fieldset\Factory;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Transactions\Form\Fieldset\CardBillingFieldset;
/**
*
* @author otaba
*
*/
class CardBillingFieldsetFactory implements FactoryInterface
{
/**
*/
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
use HasFactory;
protected $table = 'categories';
public function projects(){
return $this->hasMany(Project::class);
}
} |
<?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
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class InsertRecords extends Controller
{
public function zohoCreate($token, $modul, $prepeaRequst){
$curl_pointer = curl_init();
$curl_options = array();
$url = "https://www.zohoapis.com/crm/v2/" . $modul;
... |
<?php
namespace ZendTest\Http\Header;
use Zend\Http\Header\ContentRange;
class ContentRangeTest extends \PHPUnit_Framework_TestCase
{
public function testContentRangeFromStringCreatesValidContentRangeHeader()
{
$contentRangeHeader = ContentRange::fromString('Content-Range: xxx');
$this->asse... |
<?php
class Checks
{
public static function getRequired()
{
sfContext::getInstance()->getConfiguration()->loadHelpers(array('I18N'));
return array(
array(version_compare(phpversion(), '5.2.4', '>='),
__('PHP version is at least 5.2.4'),
__('Current PHP version is [1]', array('[1... |
<?php
namespace app\admin\controller;
use think\Lang;
class Snsmalbum extends AdminControl
{
public function _initialize()
{
parent::_initialize(); // TODO: Change the autogenerated stub
Lang::load(APP_PATH . 'admin/lang/'.config('default_lang').'/snsmalbum.lang.php');
}
/**
* ... |
<?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
//Welcome Page Route
Route::get('/', function () {
return view('welcome');
});
//Authentication routes
Auth::routes();
//Application Routes
Route::group(['middleware' => ['web']], function() {
Route::get('/Listshops', 'ShopsController@home')->name('Lis... |
<?php
class UserController extends BaseController {
/*
|--------------------------------------------------------------------------
| User Controller
|--------------------------------------------------------------------------
|
*/
public function getProfile()
{
$data['left'] = $this->left();
... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD Lic... |
<?php declare(strict_types = 1);
namespace Phan\Output;
/**
* Used to check if a filename is ignored during analysis
*/
interface IgnoredFilesFilterInterface
{
/**
* @param string $filename
* @return bool True if filename is ignored during analysis
*/
public function isFilenameIgnored(string ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTarifasPredialTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tarifas_... |
<?php
namespace App\Admin\Controllers;
use App\Models\Agent;
use App\Models\Franchisee;
use App\Models\Worker;
use App\Http\Controllers\Controller;
use Encore\Admin\Controllers\ModelForm;
use Encore\Admin\Form;
use Encore\Admin\Grid;
use Encore\Admin\Facades\Admin;
use Encore\Admin\Layout\Content;
use Encore\Admin\Sh... |
<?php
namespace HL7\FHIR\STU3\FHIRCodePrimitive;
/*!
* 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: September 7th, 2020 11:57+0000
*
* PHPFHIR Copyright:
*
* Copyright 20... |
<?php
namespace ScoutEngines\Postgres;
use Illuminate\Database\ConnectionResolverInterface;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Arr;
use Laravel\Scout\Builder;
use Laravel\Scout\Engines\Engine;
use ScoutEngines\Postgres\TsQuery\PhraseToTsQuery;
u... |
<?php
/**
* Copyright 2001-2016 Horde LLC (http://www.horde.org/)
*
* See the enclosed file LICENSE for license information (ASL). If you
* did not receive this file, see http://www.horde.org/licenses/apache.
*
* @package Mnemo
* @author Chuck Hagenbuch <chuck@horde.org>
* @author Jan Schneider <jan@horde.org... |
<?php
$title = __('File is downloading');
// head() cannot be call directly, because we need to add a meta tag.
ob_start();
echo head(array(
'title' => $title,
'bodyclass' => 'primary horiz',
));
$header = ob_get_contents();
ob_end_clean();
$header = substr_replace($heade... |
<?php
/**
* Customize API: WP_Customize_Partial class
*
* @package WordPress
* @subpackage Customize
* @since 4.5.0
*/
/**
* Core Customizer class for implementing selective refresh partials.
*
* Representation of a rendered region in the previewed page that gets
* selectively refreshed when an associated se... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'AddUniqueContraintOnShortenedInUrlsTable' => $baseDir . '/database/migrations/2017_07_12_014821_add_unique_contraint_on_shortened_in_urls_table.php',
'App\\Console\\Ke... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBooksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('books', function ... |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\Sony;
use JMS\Serializer\Annotation\ExclusionPolicy;
us... |
<?php
namespace Kplaricos\LaravelWebSockets\Dashboard\Http\Controllers;
use Kplaricos\LaravelWebSockets\Apps\AppProvider;
use Illuminate\Http\Request;
class ShowDashboard
{
public function __invoke(Request $request, AppProvider $apps)
{
return view('websockets::dashboard', [
'apps' => $ap... |
<?php
/*
* This file is part of Prokerala Astrology API PHP SDK
*
* © Ennexa Technologies <info@ennexa.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Prokerala\Api\Astrology\Result\HoroscopeMatching;
use Prokerala\Api\Astrology... |
<?php
/*
TRANSLATION FILE
This file contais the transations for the tool.
Please stick on the exact format.
*/
$allanguages = "[[?uselang=en|en]] • [[?uselang=bn|বাংলা]] • [[?uselang=mr|mr]]";
if($_GET["uselang"] == "xxx") {
} else if($_GET["uselang"] == "mr") {
// Translation by [[User:Tiven2240]]
$i18nTlang =... |
@extends('layouts.main')
@section('tampilan')
<div class="main-content">
<section class="section">
<div class="section-header">
<h1>Riwayat Perjalanan</h1>
<div class="section-header-button">
<a href="/add-travel" class="btn btn-primary">Add New</a>
</div>
<div ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Review extends Model
{
//
protected $with=['user'];
public function user()
{
return $this->belongsTo(User::class,'user_id','id');
}
public function location()
{
return $this->belongsTo(Location::class,'lo... |
<?php
declare(strict_types=1);
namespace Symplify\EasyTesting\PHPUnit\Behavior;
use Symfony\Component\Finder\Finder;
use Symplify\EasyTesting\ValueObject\ExpectedAndOutputFileInfoPair;
use Symplify\SmartFileSystem\Finder\FinderSanitizer;
use Symplify\SmartFileSystem\SmartFileInfo;
/**
* Use only in "\PHPUnit\Frame... |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* Reads available controllers using Reflection and creates the menu with submenus
*
* @author Kemal Delalic <kemal.delalic@gmail.com>
*/
class View_Admin_Layout_Breadcrumb extends View_Bootstrap_Breadcrumb {
/**
* @var string controller name
*... |
<?php
namespace Lichv\Passport;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Contracts\Support\Arrayable;
class Scope implements Arrayable, Jsonable
{
/**
* The name / ID of the scope.
*
* @var string
*/
public $id;
/**
* The scope description.
*
* @var st... |
@extends('admin.layout')
@section('content')
<!DOCTYPE html>
<html>
<head>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
... |
<?php
namespace Bolt;
use Silex;
class ChangelogItem implements \ArrayAccess
{
private $app;
public $id;
public $date;
public $title;
public $username;
public $contenttype;
public $contentid;
public $mutation_type;
public $diff;
public $comment;
public function __construc... |
<?php
$div = array_unique(array_column($divisi, 'nama_divisi'));
$aspek = array_unique(array_column($sumber_risiko, 'aspek'));
var_dump($this->session->userdata);
?>
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-4 text-gray-800"><?= $title ?></h1>
<di... |
<?php
/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ApiPlatform\Doctrine\Orm;
use Doctrine\ORM\Q... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAccessLevelsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('access_lev... |
<?php
include_once '../_includes/_funciones/sesiones.php';
include_once '../../_includes/_funciones/bd_conexion.php';
$id = $_GET['id'];
$id_cat = $_GET['id_cat'];
//$id_catS = $_GET['id_cats'];
$id_act = $_GET['id_act'];
switch ($id_act) {
case '1':
$activo="checked";
$inactivo="";
bre... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Search extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->model('Security');
$this->output->set_template('default');
$this->load->js('assets/themes/default... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use App\Core\Model;
class CreateFacilityImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('facility_images', function ... |
<?php $__env->startSection('content'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h3><a href="<?php echo e(url('admin/new-page_category')); ?>" class="label label-lg label-success">Add New</a><... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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, or
// (at your option) any later version.
//
// Moodle ... |
<?php
function validar_acesso_pages_filtros()
{
if (!isset($_SESSION["dados"]) || !isset($_SESSION["pesquisa"])) {
$_SESSION["msg"] = 'Não é possivel acessar página.';
header("Location: ../../pages/relatorios/relatorio_filtro");
}
}
function relatorio_mensais_resultados($post)
{
$_SESSION['pesquisa'] = $post;
... |
<?php
/*
* This file is part of the TorControl package.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace TorControl\Exception;
/**
* ProtocolError.
*
* @author Kévin Dunglas ... |
<?php
namespace Guzzle\Http;
use Guzzle\Common\Exception\InvalidArgumentException;
class Url
{
protected $scheme;
protected $host;
protected $port;
protected $username;
protected $password;
protected $path = '';
protected $fragment;
protected $query;
public static function factory($url)
{
static $defau... |
@extends('procurement.layouts.tender.app')
@section('title')
{{ $title }}
@stop
@section('breadcrumbs')
<li><a href="{{URL::to('home')}}">Dashboard</a></li>
<li class="active">Tambah {!! $title !!}</li>
@stop
@section('pagetitle')
<h2><span class="fa fa-arrow-circle-o-left"></span> {!! $title !!} </h2>
@stop
@sec... |
<?php
if ($_SERVER['APPLICATION_ENV'] == 'development') {
error_reporting(E_ALL);
ini_set("display_errors", 1);
}
/**
* This makes our life easier when dealing with paths. Everything is relative
* to the application root now.
*/
chdir(dirname(__DIR__));
// Decline static file requests back to the PHP b... |
@extends('sisoftComBo')
@section('cierreGestion')
active
@endsection
@section('cierreGestion2')
active
@endsection
@section('contenido')
<div class="warper container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="row">
<div class="col-md-12">
<fieldset>
{!! Form::... |
<?php declare(strict_types=1);
namespace PhpParser\Node;
use PhpParser\Node;
interface FunctionLike extends Node
{
/**
* Whether to return by reference
*
* @return bool
*/
public function returnsByRef() : bool;
/**
* List of parameters
*
* @return Param[]
*/
p... |
<?php
namespace Urbem\CoreBundle\Entity\Arrecadacao;
/**
* RetencaoServico
*/
class RetencaoServico
{
/**
* PK
* @var integer
*/
private $codNota;
/**
* PK
* @var integer
*/
private $numServico;
/**
* PK
* @var integer
*/
private $inscricaoEcon... |
@extends("layout")
@section("content")
<head>
<title>Unit/Offices Objectives | PNP Scorecard System</title>
</head>
<div class="label_white">
<div class="row">
<div class="col-md-12">
<h1><strong><center>Unit/Offices Objective</center></strong></h1>
<br>
</div>
</div>
<div ... |
<?php
namespace App\Http\Controllers;
use App\ContactUs;
use Illuminate\Http\Request;
class ContactController extends Controller
{
public function index(){
$lists = ContactUs::all();
return view('admin.contact.index',compact('lists'));
}
public function show($id){
$contact_info =... |
<?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
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Koleksi Buku Google Charts</title>
<link rel="stylesheet" href="<?php echo base_url('vendor/uikit/css/'); ?>uikit.css">
<script type="text/javascript" src="https://www.gstatic.c... |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
* SuiteCRM... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDokirsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('dokirs', functio... |
<nav id="sidebar" class="sidebar">
@if(Auth::user()->role == 'ADMIN')
<div class="sidebar-content js-simplebar">
<a class="sidebar-brand" href="{{asset('/admin')}}">
<span class="align-middle fw-normal">Admin <span class="fw-bold">N.G.O</span></span>
</a>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.