text stringlengths 2 1.03M |
|---|
<?php namespace ProcessWire;
// Reset variables
$content = $noFound = $pagination = '';
// Get tags
$blogCategories = page()->children('limit=18');
// No found
if( !count($blogCategories) ) {
$noFound .= "<h1>" . setting('no-found') . "</h1>";
}
// Pagination
$pagination = basicPagination($blogCategories);
// Con... |
@extends('mobile.main')
@section('title','Data Jobdesk|')
@section('breadcrumbs')
<div class="breadcrumbs">
<div class="col-sm-4">
<div class="page-header float-left">
@if (auth()->user()->level=="Admin")
<h1>Menu Manajer</h1>
@endif
... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Z... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Home extends MY_Controller
{
public function index()
{
$this->render('/template/pages/home');
}
public function contactprocess()
{
$errormsg = "";
if (empty($_POST["fname"])) {
... |
<?php
declare(strict_types=1);
/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/
namespace Afosto\Sdk\Exception;
class SearchInstantIndexForbiddenException extends \RuntimeException implements ClientException
{
private $error;
public function __construct(\Afosto\Sdk\Model\E... |
<?php
namespace App\Http\Controllers\Home;
use App\Http\Model\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Crypt;
use Illuminate\Support\Facades\Input;
class LoginController extends CommonContr... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class ChangeProductImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('product_image... |
@extends('frontend.home.app')
@section('content')
<div class="page_header_wrap" style="background: url(<?php echo e(asset('web/images/bg-header.jpg')); ?>) center -25px no-repeat">
<div class="container">
<h2 class="page_category">{{ $page_title }}</h2>
</div>
</div>
<div class="container">
<div ... |
<?php
/*
* Your installation or use of this SugarCRM file is subject to the applicable
* terms available at
* http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/.
* If you do not agree to all of the applicable terms or do not have the
* authority to bind the entity as an authorized representative... |
<div class="btn-group" role="group" aria-label="favorite&delete group">
@if (Auth::user()->is_favorites($micropost->id))
{{-- お気に入りを外すフォームボタン --}}
{!! Form::open(['route' => ['favorites.unfavorite', $micropost->id], 'method' => 'delete']) !!}
{!! Form::submit('Unfavorite', ['class' => 'b... |
<?php
error_reporting(E_ERROR | E_PARSE);
//include('simple_html_dom.php');
function fetcher($ch){
$Status='true';
set_time_limit(5);
$url="https://socialblade.com/youtube/user/".$ch;
$jobj->Channel_name=$ch;
//$starttime = microtime(true);
$curl = curl_init();
curl_setopt($curl,CURLOPT_URL,$url);
curl_seto... |
<?php
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// 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://w... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasApiToken... |
<?php
include("connexion.inc.php");
if(isset($_GET['id']) && $_GET['id'] != "")
{
$id=$_GET['id'];
$ip = get_ip();
$query="SELECT * FROM messages WHERE id=:id";
$prep=$pdo->prepare($query);
$prep->bindValue(':id', $id);
$prep->execute();
$data=$prep->fetch();
if($ip != $data['adresse_... |
<?php
declare (strict_types=1);
namespace Rector\CodeQuality\Rector\Identical;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\Assign;
use PhpParser\Node\Expr\BinaryOp\Identical;
use PhpParser\Node\Expr\BooleanNot;
use PhpParser\Node\Expr\Instanceof_;
use PhpParser\Node\Name\FullyQualified;
use P... |
<?php
namespace App\Modules\Auth\Policies;
use Illuminate\Auth\Access\HandlesAuthorization;
use App\Modules\Auth\Models\User;
use App\Modules\Auth\Permissions\UserPermissions;
class UserPolicy
{
use HandlesAuthorization;
//todo: add extra checks. For example: user->id === $requestedItem->owner->id
publ... |
<?php
/* FOSUserBundle:Group:new_content.html.twig */
class __TwigTemplate_73ce838f8c28ac667a9e0d3df4e8ae97d647cf730cce187a234f4d1741046537 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = ar... |
<?php
/*************************************************************************************
* uscript.php
* ---------------------------------
* Author: pospi (pospi@spadgos.com)
* Copyright: (c) 2007 pospi (http://pospi.spadgos.com)
* Release Version: 1.0.8.12
* Date Started: 2007/05/21
*
* UnrealScript langua... |
<!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', 'Legal Web System') }}</title>
<!-- ... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Country */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="country-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'code')->textarea(['rows' => 6]) ?>
<?= $form-... |
<?php
use Symfony\Component\Translation\MessageCatalogue;
$catalogue = new MessageCatalogue('lt', array (
'validators' =>
array (
'This value should be false.' => 'Reikšmė turi būti neigiama.',
'This value should be true.' => 'Reikšmė turi būti teigiama.',
'This value should be of type {{ type }}.' =... |
<?php
namespace ContainerVnXtxqQ;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_CacheClearSer... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$config['user_type'] = array(
"admin" => 1,
"stock_admin" => 18,
"financial_admin" => 20,
"productor" => 21,
"seller" => 22, //销售 role_id -22
); |
<?php
class Build_TypeTableSeeder extends Seeder {
public function run()
{
Eloquent::unguard();
//DB::table('build_types')->delete();
$new = new Build_Type;
$new->name = 'Model';
$new->keyName = 'MODEL';
$new->save();
$new = new Build_Type;
$new->name = 'Migration';
$new->keyName = 'MIGRATION';
... |
<div class="container-fluid">
<div class="card mr-3 ml-3">
<div class="row">
<div class="col-12">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li cl... |
<?php
function adminsMiddleware(){
return ['auth:admins', 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath'];
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFeedTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('feed', function (B... |
@extends('layouts.app')
@section('title',"Home")
@section('content')
<!-- Page feature start -->
<section class="page-feature">
<div class="container text-center">
<h2>Erp</h2>
<div class="breadcrumb">
<a href="home.html">Home</a>
<span>/ Erp</span>
</div>
</... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBorrowTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('borrow', functio... |
<?php
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Psr7\Response;
use GuzzleHttp\Exception\RequestException;
class httpErrorsTest extends \PHPUnit_Framework_TestCase {
use \InterNations\Component\HttpMock\PHPUnit\HttpMockTrait;
protected static $client;
public static fu... |
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://doc.hyperf.io
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
namespace Hyperf\Di;
use Hyperf\Contract\ContainerInterface as HyperfContainer... |
<?php
// +----------------------------------------------------------------------
// | Neaman [游者]
// +----------------------------------------------------------------------
// +----------------------------------------------------------------------
// +------------------------------------------------------------------... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Behat\Service\Setter;
use Behat\Mink\Session;
use FriendsO... |
<?php
declare(strict_types=1);
add_action('init', function () {
register_post_type('project', [
'has_archive' => true,
'show_in_rest' => true,
'labels' => [
'add_new_item' => __('Add New Project'),
'edit_item' => __('Edit Project'),
'name' => __('Project... |
<?php
namespace Oro\Bundle\TagBundle\Tests\Unit\Helper;
use Oro\Bundle\EntityConfigBundle\Config\ConfigInterface;
use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider;
use Oro\Bundle\TagBundle\Helper\TaggableHelper;
use Oro\Bundle\TagBundle\Tests\Unit\Fixtures\Taggable;
use Oro\Bundle\TagBundle\Tests\Unit\Fixtur... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\DB;
class TranslationSeeder extends Seeder
{
public function run()
{
$typi_translations = [
['id' => 1, 'translation' => '{"fr":"En savoir plus","en":"More","nl"... |
@extends('layouts.admin')
@section('content')
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Tambah kota_kabupaten</h1>
</div>
@if ($errors->any())
<d... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2018, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call([
TagTableSeeder::class,
//PostTableSeeder::class,
... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|----------------------------... |
<!-- Content Wrapper -->
<div id="content-wrapper" class="d-flex flex-column">
<!-- Main Content -->
<div id="content">
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-2 text-gray-800">Kelola Promosi</h1>
<!-- <p class="mb-4">DataTables... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Http;
use App\PreviousSearch;
class SearchesController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
... |
<?php
class Model_sekilasinfo extends CI_model{
function sekilasinfo(){
return $this->db->query("SELECT * FROM sekilasinfo ORDER BY id_sekilas DESC");
}
function sekilasinfo_tambah(){
$config['upload_path'] = 'asset/foto_info/';
$config['allowed_types'] = 'gif|jpg|png|JPG|J... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Profession extends Model
{
use HasFactory;
public function User()
{
return $this->hasMany(User::class, 'id', 'professions_id');
}
public function bid()
{
... |
<?php
namespace app\controllers;
use app\controllers;
class PostController extends AppController
{
public $layout = 'post'
public function actionTest()
{
$names = ['Axmedov','Urinov','Ikromov'];
print_r($names);
var_dump($names);
return $this->render('test');
... |
<?php
return [
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
Symf... |
<!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">
<title>Document</title>
</head>
<body>
Data dari Controller <br>
<b> {{ $result }} </b>
</body>
</html> |
<?php
/*
* Your installation or use of this SugarCRM file is subject to the applicable
* terms available at
* http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/.
* If you do not agree to all of the applicable terms or do not have the
* authority to bind the entity as an authorized representative... |
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:dbname=peritaje;unix_socket=/cloudsql/peritaje-204822:southamerica-east1:peritaje',
'username' => 'root',
'password' => 'jhonjtoloza',
'charset' => 'utf8',
// Schema cache options (for production environment)
//'enableSchemaCache' => true,
... |
<?php
/**
* This file is part of the Elcodi package.
*
* Copyright (c) 2014 Elcodi.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Feel free to edit as you please, and have fun.
*
* @author Marc Morera <yuhu@mmoreram.com>
... |
<?php
/*
* This file is part of the Shieldon Simple Cache 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.
*/
declare(strict_types=1);
/**
* The base Cache class.
*/
final class Cache
{... |
<?php
namespace Odanijel\JsonDiff\Tests;
use Odanijel\JsonDiff\JsonDiff;
class DiffTest extends \PHPUnit_Framework_TestCase
{
/**
* @throws \Swaggest\JsonDiff\Exception
*/
public function testStopOnDiff()
{
$original = array(1, 2, 3, 4);
$new = array(2, 4);
$diff = new ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class DatabaseAngka extends Model
{
protected $table = "database_angkas";
protected $fillable = ['prodi', 'mahasiswa', 'dosen', 'ukm', 'himpunan'];
} |
<?php
/**
* Created by PhpStorm.
* User: qingqiu
* Date: 17-8-29
* Time: 下午4:24
*/
namespace business\modules\data\controllers;
use business\modules\data\models\CartModel;
class CartController extends Controller
{
protected $access = [
'search' => ['200', 'get'],
'accurate-search' => ['200'... |
<?php
namespace App\Http\Controllers;
use App\td_TramiteModel;
use Illuminate\Http\Request;
use App\td_TipoTramiteModel;
use App\td_FormatoModel;
use App\td_FlujoModel;
use App\td_us001_tipofpModel;
use App\DepartamentoModel;
use App\td_TipoDocumentoModel;
use App\td_DocumentoModel;
use App\td_DetalleTramiteModel;
us... |
<?php
/**
* This file is part of the Synth Notification Bundle.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Dom Udall <dom@synthmedia.co.uk>
*/
if (file_exists($file = __DIR__.'/autoload.php')) {
require_once $fi... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('title', 'LaraB... |
<?php
namespace Stecman\Passnote\Object;
trait FormatPropertyTrait
{
/**
* Format identifier to use when rendering this object
*
* @var string|null
*/
protected $format = null;
/**
* Set the format identifier of this object
*
* @param string $identifier - the identifi... |
<?php
use Illuminate\Database\Seeder;
use App\JenisMenu;
class JenisMenuTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
JenisMenu::create(['nama' => 'Biasa']);
JenisMenu::create(['nama' => 'Kilat']);
}
} |
@extends('admin.admin_master')
@section('admin')
<div class="col-lg-12">
<div class="card card-default">
<div class="card-header card-header-border-bottom">
<h2>Edit HomeAbout</h2>
</div>
<div class="card-body">
<form action="{{ url('update/homeabout/'.$homeabout->id) }}" method="POST">
... |
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-4 text-gray-800"><?= $title; ?></h1>
<div class="row">
<div class="col-lg-6">
<?= $this->session->flashdata('message'); ?>
<form action="<?= base_url('user/changePasswor... |
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<?php require_once "head.php"; ?>
</head>
<body class="page">
<?php require_once "header.php"; ?>
<!-- Content
================================================== -->
<div id="content-wrap">
<div class="row">
<div id="main" class="eight columns">
... |
<?php
return [
'Names' => [
'af' => 'ଆଫ୍ରିକୀୟ',
'af_NA' => 'ଆଫ୍ରିକୀୟ (ନାମିବିଆ)',
'af_ZA' => 'ଆଫ୍ରିକୀୟ (ଦକ୍ଷିଣ ଆଫ୍ରିକା)',
'ak' => 'ଅକନ୍',
'ak_GH' => 'ଅକନ୍ (ଘାନା)',
'am' => 'ଆମହାରକି',
'am_ET' => 'ଆମହାରକି (ଇଥିଓପିଆ)',
'ar' => 'ଆରବିକ୍',
'ar_001' =>... |
<?php
/*******************************************************************************
*
* @author : Dominik Bonsch <d.bonsch@buizcore.com>
* @date :
* @copyright : BuizCore GmbH
* @project : BuizCore - The Business Core
* @projectUrl : http://buizcore.net
*
* @licence : BSD License see: LICENCE/... |
<?php
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
class Event extends Model {
protected $_table = 'events';
protected $_primaryKey = 'id';
public function workshops() {
return $this->hasMany(Workshop::class, 'event_id');
}
public function futureWork... |
<?php
/**
* This file is part of the Everon framework.
*
* (c) Oliwier Ptak <oliwierptak@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Everon\DataMapper\Interfaces;
use Everon\DataMapper\Connection;
use Ever... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Item_produto extends Model
{
//
} |
<?php
namespace duncan3dc\Sonos;
use duncan3dc\Sonos\Devices\Device;
use duncan3dc\Sonos\Exceptions\UnknownGroupException;
use duncan3dc\Sonos\Interfaces\Devices\DeviceInterface;
use duncan3dc\Sonos\Interfaces\SpeakerInterface;
use function explode;
use function in_array;
use function preg_match;
use function strpos;... |
<x-dashboard-tile :position="$position">
<div class="grid grid-rows-auto-1 gap-2 h-full">
<div
class="flex items-center justify-center w-10 h-10 rounded-full"
style="background-color: rgba(255, 255, 255, .9)"
>
<div class="text-3xl leading-none -mt-1">
... |
<?php
/* @WebProfiler/Collector/exception.html.twig */
class __TwigTemplate_3f6d82e0d5cc02b3e0dd32d1f2e779cf08e3ad74243b9854df9f3e722bedc716 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemp... |
<?php
namespace App\Http\Classes;
class user
{
public $id;
public $name;
public $image;
public $rate;
public function __construct($id, $name, $image, $rate)
{
$this->id = $id;
$this->name = $name;
$this->image = $image;
$this->rate = $rate;
}
} |
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Ciudad;
use Illuminate\Support\Facades\DB;
class ToledoController extends Controller
{
//*******
//* WEB *
//*******
public function Toledo($idm)
{
$pais = 'Espana';
$ciudad = 'Toledo';
$monumento = '';
... |
<?
$MESS["SPER_INSTALL_NAME"] = "Personal Site";
$MESS["SPER_INSTALL_DESCRIPTION"] = "Personal Site";
$MESS["SPER_INSTALL_TITLE"] = "Module Installation";
$MESS["SPER_UNINSTALL_TITLE"] = "Module Uninstallation";
$MESS["SPER_PARTNER"] = "Bitrix, Inc.";
$MESS["PARTNER_URI"] = "http://www.bitrixsoft.com";
?> |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTagslistTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tagslist', f... |
<?php
include_once(Kohana::find_file('tests/cache', 'CacheBasicMethodsTest'));
/**
* @package Kohana/Cache/Memcache
* @category Test
* @author Kohana Team
* @copyright (c) 2009-2010 Kohana Team
* @license http://kohanaphp.com/license
*/
class Kohana_WincacheTest extends Kohana_CacheBasicMethodsTest ... |
<div id="wrapperd">
<div id="patient_enrolled_content" class="full-content">
<?php $this->load->view("reports/reports_top_menus_v") ?>
<h4 style="text-align: center" id='report_title'>Drug Issued at Facility(<?php echo $transaction_type; ?>) Between <span id="start_date"><?php echo $from;?></span> and <span i... |
<div class="flex flex-col items-center justify-center w-3/5 m-auto">
@if ($products->isNotEmpty())
@foreach ($products as $product )
<div class="card shadow-md hover:shadow-lg w-2/5 mb-10">
<a href="product/{{ $product->slug }}">
<div class="bg-gray-50 flex ju... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use App\Interfaces\Repositories\User\MahasiswaRepositoryInterface as Repository;
class MahasiswaFormRequest extends FormRequest
{
use UserValidationRules;
/**
* Determine if the user is authorized to make this request.
*... |
<!doctype html>
<html lang="en">
@include('partials._head')
<body>
@include('partials._nav')
<div class="container">
@yield('content')
@include('partials._footer')
</div>
@include('partials._javascripts')
</body>
</html> |
<?php
/* @WebProfiler/Collector/config.html.twig */
class __TwigTemplate_9ca176c1905549e08c3526e90152dccb9dc5af3847d47918b7ef0641344dd6bb extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
try {
$this->parent = ... |
<?php
/**
* Doctrine ORM
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE. This license can also be viewed
* at http://hobodave.com/license.txt
*
* @category DoctrineExtensions
* @package DoctrineExtensions\Paginate
* @author ... |
<?php namespace KepalaSekretariat;
use BaseController, View, Session, Auth, Redirect, Hash;
class DashboardController extends BaseController {
public function __construct(){
$this->menu = array(
);
$this->tanda = $this->tanda = array();
$this->title = "Al-Karimiyah | Home";
}
publ... |
<!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.0">
<title>Mahasiswa</title>
<style>
body {
margin-top: 1rem;
font-family: Arial, He... |
<?php
namespace Appwrite\Specification;
use Utopia\App;
use Utopia\Route;
use Appwrite\Utopia\Response\Model;
abstract class Format
{
/**
* @var App
*/
protected $app;
/**
* @var array
*/
protected $services;
/**
* @var Route[]
*/
protected $routes;
... |
<?php
use Respect\Validation\Validator as v;
session_start();
require __DIR__ . '/../vendor/autoload.php';
$app = new \Slim\App([
'settings' => [
'displayErrorDetails' => true,
'db' => [
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'admin_slim',
... |
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.6.22/js/uikit.min.js"></script>
<script src="{{ asset('Backend/assets/') }}/assets/js/jquery-3.5.1.slim.min.js"></script>
<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bu... |
<section class="calendars" style="background: url({{ asset('project_gca/images/card2.jpg') }});">
<div class="container">
<div class="row">
<div class="col-lg-6 col-sm-4 left_cal">
<span class="template_span">@lang('blog.coming_events')</span>
<div class="bts_cal">
<div id="datepic... |
<?php
/**
* This file is part of the Cloudinary PHP package.
*
* (c) Cloudinary
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cloudinary\Transformation\Qualifier;
use Cloudinary\ArrayUtils;
use Cloudinary\StringUtils;... |
<?php
namespace Illuminate\Container;
use Closure;
use Exception;
use ArrayAccess;
use LogicException;
use ReflectionClass;
use ReflectionException;
use ReflectionParameter;
use Illuminate\Support\Arr;
use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Contracts\Container\Container as Conta... |
<?php
use App\Models\BaseModel;
$title = '';
$image = '';
$video = '';
$tag = '';
$category_id = '';
?>
@include('zuimei.layout.header')
@include('web.layout.toolbar')
@include('web.layout.leftbar')
<section id="content">
<section class="vbox">
<section class="scrollable wrapper-lg">
... |
<?php
use Symfony\Component\HttpFoundation\RedirectResponse;
/**
* Abstract base-class that implements common tests for "authorize" and "purchase".
* Uses variables that have to be configured to the expected values in the subclass.
*/
abstract class BasePurchaseServiceTest extends PaymentTest
{
/** @var string... |
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* TTypeReglement
*
* @ORM\Table(name="t_type_reglement")
* @ORM\Entity
*/
class TTypeReglement
{
/**
* @var string
*
* @ORM\Column(name="lg_TYPE_REGLEMENT_ID", type="string", length=40, nullable=false)
* @ORM\Id
* @ORM... |
<?php
namespace Scholrs\Http\Requests;
use Scholrs\Http\Requests\Request;
class SubjectAssignedRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the... |
@extends('admin.layout')
@section('dashboard-content')
@if (Session::get('deleted'))
<div class="alert alert-danger alert-dismissible fade show" role="alert" id="gone">
<strong> {{ Session::get('deleted') }} </strong>
<button type="button" class="close" data-dismiss="alert" aria-lab... |
<?php
class Students extends CI_Controller
{
protected $path = 'admin/students/';
protected $tab = 'students';
function __construct()
{
parent::__construct();
$this->load->model('setting');
$this->load->model('student');
$this->setting->role('admin');
}
public function index()
{
$data['page'] = ['titl... |
<footer class="sticky-footer bg-light mb-0">
<div class="text-center">
<a class="py-2" data-toggle="tooltip" title="Lên đầu trang" href="#page-top">
<i class="fas fa-chevron-up text-dark"></i>
</a>
</div>
<div class="container py-3">
<ul class="d-flex list-unstyled list-i... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSurveyResultsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('survey_re... |
<?php
use PHPUnit\Framework\TestCase;
use Phinder\Pattern\Parser;
use Phinder\Pattern\Node;
class PatternParseTest extends TestCase
{
private static $_PATTERNS = [
'_' => ['Identifier', false, ['_']],
'\_' => ['Identifier', true, ['_']],
'?' => ['Identifier', false, ['?']],
'((_... |
<!-- Page Content -->
<div class="container">
<div class="page">
<div class="row">
<div class="col-md-10 offset-md-1">
<div class="main-content">
<!-- Main content -->
<?php
$this->load->view('inc/action_message');
?>
<div class="text-c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.