text stringlengths 2 1.03M |
|---|
<?php
namespace StudentAssignmentScheduler\Actions;
use \Closure;
final class Failure
{
/**
* @var Closure $action
*/
private $action;
public function __construct(Closure $action)
{
$this->action = $action;
}
public function __invoke($arg = null)
{
$closure = $... |
@extends('layouts._sgiweb.app')
@section('content')
<div class="container">
<h2 class="center">Importação</h2>
<div class="row">
<nav>
<div class="nav-wrapper green">
<div class="col s12">
<a href="{{ route('home')}}" class="breadcrumb">Início</a>
... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
class Cors
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next
... |
<!doctype html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<title><?php echo e(con... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AntChain\BOT\Models;
use AlibabaCloud\Tea\Model;
class ThingsDidUpdateReq extends Model
{
// 业务类型,默认空
/**
* @example null
*
* @var string
*/
public $bizType;
// 待更新的实体did
/**
* @example "did:iot:xxxx... |
<nav>
<div class="nav-wrapper" style="background-color: #0d5448">
<a href="./menuAdm.php" class="brand-logo center ">Perfil</a>
<ul id="nav-mobile" class="left hide-on-med-and-down">
</ul>
<a href="./menuAdm.php"><i style="margin-left: 2%;" class="material-icons medium">ar... |
<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: forum_attachment.php 34304 2014-01-15 11:11:23Z nemohou $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
define('NOROBOT', TRUE);
@list($_GET['aid'], $_GET['k'], $_GET['t'],... |
<?php
class AdminNewController extends Controller
{
protected $formats = array('html', 'json');
protected function getGetVariable($key) {
if(array_key_exists($key, $_GET)) {
return $_GET[$key];
}
return null;
}
protected function getFormat() {
$format = $thi... |
<?php
use App\Company;
use App\CompanyConfig;
use App\CompanyConfigGroup;
use App\Department;
use App\DepartmentConfig;
use App\DepartmentConfigGroup;
use Illuminate\Database\Seeder;
class NP00047WhatsappSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public funct... |
<?php
namespace D3jn\Larelastic\Contracts;
interface IndexResolver
{
/**
* Get index name for specified type.
*
* @param string $type
* @param string|null $index
*
* @return string
*/
public function resolveIndexForType(string $type, ?string $index = null): string;
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
class UploadsController extends Controller
{
public function uploadImg(Request $request)
{
$file = $request->file("my_image");
if (!empty($file)) {
foreach ($file as $key => ... |
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon icon-bar"></span>
<span class="icon i... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to CodeIgniter</title>
<link type="text/css" rel="stylesheet" href="public/site/css/vinplay-news.css">
</head>
<body>
<div id="container">
<div class="h... |
<?php
namespace Phpactor\Extension\CodeTransformExtra\Rpc;
use Phpactor\CodeTransform\Domain\Refactor\ExtractMethod;
use Phpactor\MapResolver\Resolver;
use Phpactor\Extension\Rpc\Response\Input\TextInput;
use Phpactor\Extension\Rpc\Response\UpdateFileSourceResponse;
use Phpactor\CodeTransform\Domain\SourceCode;
use P... |
<?php
require_once('lib/bootstrap.php');
class CollectionTest extends PHPUnit_Framework_TestCase {
public function __construct() {
$this->data = array(
'first' => 'My first element',
'second' => 'My second element',
'third' => 'My third element',
);
$this->collection = new... |
<?php
class UploaditSchema extends CakeSchema {
public function before($event = array()) {
return true;
}
public function after($event = array()) {
}
public $attachments = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => true, 'key' => 'primary'),
'name' => array... |
<?php
namespace App\Models\User;
use Illuminate\Database\Eloquent\Model;
use App\Models\User\User;
class SocialCredential extends Model
{
protected $dates = [
"expires_at",
];
protected $fillable = [
"access_token",
"avatar",
"email",
"expires_at",
"name"... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class M_Prodi extends CI_Model {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this controller ... |
<?php
namespace spec\TomPHP\PatchBuilder\LineTracker;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use TomPHP\PatchBuilder\LineTracker\Exception\DeletedLineException;
use TomPHP\PatchBuilder\Types\LineRange;
use TomPHP\PatchBuilder\Types\LineNumber;
class LineTrackerSpec extends ObjectBehavior
{
public fun... |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalconphp.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Integration\Forms\Element\Date... |
<?php
declare(strict_types=1);
namespace Zenky\Orders;
use Zenky\Addresses\Address;
use Zenky\Addresses\Interfaces\AddressInterface;
use Zenky\Api\Entities\AbstractApiEntity;
use Zenky\Cities\City;
use Zenky\Cities\Interfaces\CityInterface;
use Zenky\Common\Enum;
use Zenky\Common\Interfaces\EnumInterface;
use Zenky\... |
<?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 agr... |
<?php
namespace App\Http\Controllers;
use App\User;
use Auth;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Session;
class DashboardController extends Controller
{
public function index()
{
return view('admin.dashboard');
}
pu... |
<div
id="comment-{{ $comment->id }}"
class="
@if ($comment->is_status_update) is-status-update {{ 'status-'.Str::kebab($comment->status->name) }} @endif
comment-container relative bg-white rounded-xl flex mt-4 transition duration-150 ease-in"
>
<div class="flex flex-col md:flex-row flex-1 px-4 py-6"... |
<?php
namespace wooo\tests\orm;
/**
* @author krasilneg
* @orm.key Master
* @orm.key Detail
*/
class ClassE {
/**
* @var ClassD
* @orm.field code
*/
public $Dref;
/**
* @var ClassA
* @orm.field code
* @orm.field master
* @orm.immutable code
*/
public $Ma... |
<div class="border-bottom">
<div class="container d-flex justify-content-center px-0">
<div class="col-md-10 px-0">
<nav class="navbar navbar-light justify-content-between flex-nowrap flex-row py-1">
<!-- Left Side Of Navbar -->
<a class="navbar-brand logo mr-4 fo... |
@extends('layouts.app')
@section('title', 'Teams')
@section('content')
<div class="container my-4" style="max-width: 720px;">
<div class="row mb-2">
<h1><strong>Teams</strong></h1>
<hr>
</div>
<div class="row">
@foreach ($teams as $team)
<div ... |
<?php
declare(strict_types=1);
namespace example;
use FunctionalPHP\FantasyLand\Functor;
use Widmogrod\Monad\Free\MonadFree;
use Widmogrod\Monad\Free\Pure;
use Widmogrod\Monad\State;
use const Widmogrod\Monad\State\value;
use function Widmogrod\Functional\curryN;
use function Widmogrod\Functional\push_;
use function... |
<?php
namespace Techgrid\HashIdBundle\ParametersProcessor;
interface ParametersProcessorInterface
{
public function process(array $parameters): array;
public function setParametersToProcess(array $parametersToProcess): self;
public function getParametersToProcess(): array;
public function needToPro... |
<?php
require('Smarty.class.php');
$smarty=new Smarty();
include('custom.php');
$smarty->assign("user",$user);
$smarty->assign("pass",$pass);
$smarty->assign("first",$first);
$smarty->assign("last",$last);
$smarty->assign("id",$id);
$smarty->assign("email",$email);
$smarty->display("page5.tpl");
?> |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
INFO - 2020-02-25 08:37:45 --> Config Class Initialized
INFO - 2020-02-25 08:37:45 --> Hooks Class Initialized
DEBUG - 2020-02-25 08:37:45 --> UTF-8 Support Enabled
INFO - 2020-02-25 08:37:45 --> Utf8 Class Initialized
INFO - 2020-02-25 08:37:45 ... |
<!--main content start-->
<section id="main-content">
<section class="wrapper site-min-height">
<h3><i class="fa fa-angle-right"></i> Time Delivery</h3>
<div class="row mt">
<div class="col-lg-12">
<ul class="nav nav-tabs">
<li class="active"><a data-toggl... |
<?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding yo... |
<?php declare(strict_types=1);
namespace SwaggerFixtures;
/**
* @OAS\Info(title="Using a parameter definition", version="unittest")
*/
class UsingRefs
{
/**
* @OAS\Get(
* path="/pi/{item_name}",
* summary="Get protected item",
* @OAS\Parameter(ref="#/parameters/ItemName"),
* @O... |
<?php
/*
* (c) Olivier Laviale <olivier.laviale@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace olvlvl\DoctrineGenerators\Document;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ODM\MongoDB\Mapping\Cl... |
<?php
namespace ContainerDgpDyCi;
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 get_ServiceLocator_IxBlXdoServi... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\Request as RequestsRequest;
use Illuminate\Http\Request;
use \FileUploader;
use Modules\AdminJobs\Entities\AdminJob;
use Illuminate\Support\Facades\DB;
class JobsController extends Controller
{
//
public function index()
{
// $job = A... |
<?php
/* @var $this yii\web\View */
$this->title = 'My Yii Application';?>
<div class="site-index">
<?if(isset($mes)):?>
Новости успешно обновлены
<?endif;?>
<div class="jumbotron">
<h1>Новости</h1>
</div>
<div class="body-content">
<div class="row">
<?if(!isse... |
<?php
class Kwf_Util_ClearCache_Types_ApcUser extends Kwf_Util_ClearCache_Types_Abstract
{
public function outputFn($msg)
{
$this->_output($msg);
}
protected function _clearCache($options)
{
$options['outputFn'] = array($this, 'outputFn');
Kwf_Util_Apc::callClearCacheByCli(a... |
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
{!!Form::label('name', 'Name') !!}
{!!Form::text('name', null, ['class' => 'form-control', 'required' => 'required']) !!}
@if ($errors->has('name'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</stro... |
<?php
declare(strict_types=1);
namespace App\Crossword\Domain\Model;
use ArrayIterator;
use IteratorAggregate;
final class Grid implements IteratorAggregate
{
/**
* @var Cell[]
*/
private array $cells;
public function __construct()
{
$this->cells = [];
}
public function g... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit9803661220cb23c248f231d473c26ef9
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?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\HttpFoundation\Tests\Session\Storage\Handle... |
<?php
namespace Czim\LaravelContextLogging\Factories;
use Czim\LaravelContextLogging\Contracts\ContextConfigInterface;
use Czim\LaravelContextLogging\Contracts\ContextLoggerFactoryInterface;
use Czim\LaravelContextLogging\Loggers\ContextLogger;
use Czim\LaravelContextLogging\Loggers\PlainLogger;
use Psr\Log\LoggerInt... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Barang extends Model
{
use HasFactory, SoftDeletes;
protected $table ='barang';
protected $fillable = [
'kode',
'n... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\TblCourseSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="tbl-course-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
'op... |
@extends('AdminPage.masterAdmin')
@section('content2')
<style>
.search-button {
background-color: #f05e23;
border: none;
color: white;
padding: 9px;
font-size: 16px;
cursor: pointer;
width: 120px;
font-weight: 500;
letter-spacing: 0.5px;
border-radius: 3px;
}
.searc... |
<?php
/**
* @author JoomWorker
* @email info@joomla.work
* @url http://www.joomla.work
* @copyright Copyright (c) 2010 - 2019 JoomWorker
* @license GNU General Public License version 2 or later
* @date 2019/01/01 09:30
*/
//no direct accees
defined('_JEXEC') or die('Restric... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTableChitietlo extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('chitietlo', f... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateItemSizesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('item_sizes', ... |
<?php
declare(strict_types=1);
namespace SixtyEightPublishers\PackageInstaller\Installer;
use Psr;
use SixtyEightPublishers\PackageInstaller;
interface IInstaller
{
/**
* @param \SixtyEightPublishers\PackageInstaller\Repository $repository
* @param \Psr\Log\LoggerInterface|NULL $logger
*
... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
class RegisterForm extends Model
{
public $username;
public $password;
public $password_confirmation;
public function rules()
{
return[
[['username', 'password', 'password_confirmation'], 'required'],
[['username',], 'string',... |
<?php
/**
* Created by PhpStorm.
* User: yangxiushan
* Date: 2020-05-26
* Time: 10:56
*/
namespace app\common\enum;
/**
* 活动消息目标跳转页面类型
* Class ActivityNewsTargetPageTypeEnum
* @package app\common\enum
*/
class ActivityNewsTargetPageTypeEnum
{
use EnumTrait;
const NONE = 0;
const NONE_DESC = "不跳... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateComicTraductionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comic_... |
<?php
$this->title = 'DM';
use kartik\grid\GridView;
use miloschuman\highcharts\Highcharts;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\data\ArrayDataProvider;
use yii\helpers\ArrayHelper;
use yii\widgets\Pjax;
$this->params['breadcrumbs'][] = $this->title;
//$datas = $dataProvider->getModels();
?>
<div class... |
<?php include_once("connection.php");?>
<?php
function get_total($nama_instansi = '', $nama_jenis_kegiatan = '', $statusproses = '', $year = '')
{
$DB = new DBPDO();
$sql = "SELECT COUNT(*) AS TOTAL FROM datamaster
WHERE pg_jeniskegiatan = '".$nama_jenis_kegiatan."'
AND pg_namastk = '".$nama_instansi."'
";... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateShippingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('shippings', f... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// \App\Models\User::factory(10)->create();
$this->call(OriginsSeeder::class);
... |
<!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">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://... |
<!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>Document</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.c... |
<?php
/**
* View: Top Bar - Actions
*
* Override this template in your own theme by creating a file at:
* [your-theme]/tribe/events/views/v2/components/top-bar/actions.php
*
* See more documentation about our views templating system.
*
* @link {INSERT_ARTCILE_LINK_HERE}
*
* @version TBD
*
*/
?>
<div class="... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateWeddingAppWeddingTranslationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('weddingapp__wedding_translations... |
<div class="form-group">
<label class="control-label col-md-2">Importador
<span class="required">*</span>
</label>
<div class="col-md-4">
<?=$importador['name'];?>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-2">Chasis</label>
<div class="col-md-4">
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUploadedFilesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('uploaded_... |
<?php
namespace Sazhin\BlogBundle\Entity;
use Doctrine\ORM\Mapping\JoinColumn;
use Gedmo\Mapping\Annotation as Gedmo;
use Doctrine\ORM\Mapping as ORM;
/**
* @Gedmo\Tree(type="nested")
* @ORM\Table(name="comments")
* use repository for handy tree functions
* @ORM\Entity(repositoryClass="Sazhin\BlogBundle\Reposito... |
<?php
namespace App\Http\Middleware;
use Closure;
use Tymon\JWTAuth\Exceptions\JWTException;
use Tymon\JWTAuth\Exceptions\TokenExpiredException;
use Tymon\JWTAuth\Exceptions\TokenInvalidException;
use JWTAuth;
class JWTMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Req... |
<div class="h_title">Data Management - Rooms</div>
<h2>Rooms</h2>
<p>To check in new tenant data, click on the "Check In" button to the right. --></p>
<a href="<?php echo base_url(); ?>Admin/check_in" style="float:right; margin-bottom:0px;">
<button type="submit" class="add">Check-In</butto... |
<?php
/**
* Wp in Progress
*
* @author WPinProgress
*
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
* It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
*/
function novalite_get_title() {
global $post;
$title = get_the_title();
if (!empty($title)) {... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Str;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\User::insert([
'name'=>'Şükrü Çay',
'ema... |
<?php
namespace App\Models;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use Illuminate\Database\Eloquent\Model;
class config extends Model
{
protected $table = 'config';
protected $fillable = ['name','value'];
// thêm dữ liệu
public function add(){
$validate = request()->valida... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
@extends('dashboard_parents')
@section('dashboardcontent')
<div id="kids" class="cardswrap scrollcontainer">
@foreach($childrenOfParents as $child)
<div class="card">
<div class="cardHeader">
<div class="actions">
<button onclick="edit... |
<?php
/**
* Created by PhpStorm.
* User: wangying
* Date: 2019/5/8
* Time: 1:49
*/
namespace app\admin\controller;
use think\Request;
use app\common\model\notice;
class NoticeController
{
public function index()
{
header("Access-Control-Allow-Origin: *");
$notice=new notice();
$no... |
<?php
namespace Nelmio\SecurityBundle\ContentSecurityPolicy\Violation\Log;
use Nelmio\SecurityBundle\ContentSecurityPolicy\Violation\Report;
interface LogFormatterInterface
{
/**
* Returns a log message given a report
*
* @return string
*/
public function format(Report $report);
} |
<?php
use Illuminate\Database\Seeder;
use App\Models\MenuGroup;
class MenuGroupSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->GroupSeeder();
}
public function GroupSeeder()
{
$dashboard = new MenuGro... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddBalanceForPaymentMethodToInvoicesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::... |
<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: block_tradespecified.php 23608 2011-07-27 08:10:07Z cnteacher $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
require_once libfile('block_trade', 'class/block/forum');
cl... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Lupa Password - Kerja Praktik</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<link rel="icon" type="image/png" h... |
<?php
namespace spec\JDR\Locksmith\OpenSSL;
use JDR\Locksmith\OpenSSL\RSAPublicKey;
use JDR\Locksmith\PublicKey;
use JDR\Locksmith\RSA;
use PhpSpec\ObjectBehavior;
class RSAPublicKeySpec extends ObjectBehavior
{
function let()
{
$this->beConstructedWith(file_get_contents('var/keys/rsa/public.pem'));
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Image;
class ImageController extends Controller
{
public function index()
{
$images = Image::orderBy('id','ASC')->paginate(5);
$images->each(function($images){
$images->article;
... |
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... |
<?php
namespace ScipBundle\Event;
use Doctrine\Common\EventSubscriber;
use Doctrine\ORM\Event\LifecycleEventArgs;
use Doctrine\ORM\Events as DoctrineEvents;
use ScipBundle\Entity\Deelnemer;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\GenericEvent;
class Deeln... |
<?php
class M_pimpinan extends CI_Model{
public function get_where(){
return $this->db->get_where('user', ['email' => $this->session->userdata('email')])->row_array();
}
public function tampil_id($where,$table){
return $this->db->get_where($table, $where)->row_array();
}
public function insert($data,$tabl... |
<?php
namespace Intervention\Gif;
class ImageDescriptor extends AbstractEntity
{
public const SEPARATOR = "\x2C";
/**
* Width of frame
*
* @var int
*/
protected $width;
/**
* Height of frame
*
* @var int
*/
protected $height;
/**
* Left position ... |
<?php
/*
* --------------------------------------------------------------------------------------------------------------------
* <copyright company="Aspose" file="ClientThreadMoveRequest.php">
* Copyright (c) 2018-2020 Aspose.Email for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class KTP extends Model
{
protected $table="ktp";
protected $fillable = ['nik','nama','alamat','tempat_lahir','tanggal_lahir','jenkel','goldar','status','agama','pekerjaan','kewarganegaraan','masa_berlaku','foto_sendiri','foto_ttd'];
} |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Reglement extends Model
{
//
public function vente()
{
// code...
return $this->belongsTo('App\Vente','vente_id');
}
public function mode()
{
// code...
return $this->belongsTo('App\Mode','mode_id');
... |
<?php
namespace Peimengc\Weather\Exceptions;
class InvalidArgumentException extends Exception
{
} |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class DisplayReport extends CI_Controller {
function __construct(){
parent:: __construct();
$this->load->model('dormsup_menu_model', 'dormsup_menu_model');
//$this->load->model('getOffenseCate_model', 'getOffenseCate_model'); //เปลี่ยน //mod... |
@extends('admin.layouts.layout')
@section('css-libraries')
<link rel="stylesheet" href="{{ URL::asset('/assets/admin/plugins/icheck-bootstrap/icheck-bootstrap.min.css') }}">
<link rel="stylesheet" href="{{ URL::asset('/assets/admin/plugins/fullcalendar/main.css') }}">
@endsection
@section('inline-css')
<style type="tex... |
<?php
namespace app\models;
/**
* This is the ActiveQuery class for [[Comment]].
*
* @see Comment
*/
class CommentsQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* {@inheritdoc}
* @return Comment[]|array
*/
... |
<?php
use Illuminate\Database\Seeder;
class CommentTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$faker = app(Faker\Generator::class);
$articles = \App\Article::all();
$articles->each(function ($article) {
$article->com... |
<?php
namespace FluentFormPro\Components;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
use FluentForm\App\Services\FormBuilder\Components\BaseComponent;
use FluentForm\Framework\Helpers\ArrayHelper;
class Repeater extends BaseComponent
{
/**
* Wrapper class for repeat element
* @var... |
@extends('cliente.content')
@section('subtitulos')
<div class="col-sm-6">
<h4>Modificar datos personales</h4>
</div>
<div class="col-sm-6">
<h4>{{$cliente->id_cliente}}Usuario y sucursal</h4>
</div>
@stop
@section('datos_cliente')
{{ Form::open(array('url'=>'clientes/'.$cliente->id_cliente, 'method'=>'put')) ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TagsTranslation extends Model
{
/**
* The table name.
*
* @var array
*/
protected $table="tag_translations";
/**
* The table name.
*
* @var array
*/
protected $guarded=[];
public ... |
@php
$establishment = $document->establishment;
$customer = $document->customer;
//$path_style = app_path('CoreFacturalo'.DIRECTORY_SEPARATOR.'Templates'.DIRECTORY_SEPARATOR.'pdf'.DIRECTORY_SEPARATOR.'style.css');
$accounts = \App\Models\Tenant\BankAccount::all();
$tittle = $document->prefix.'-'.str... |
{{-- Pterodactyl - Panel --}}
{{-- Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com> --}}
{{-- This software is licensed under the terms of the MIT license. --}}
{{-- https://opensource.org/licenses/MIT --}}
@extends('layouts.admin')
@section('title')
List Servers
@endsection
@section('content-header... |
@extends(Path::viewCurrentTemplate( $data['page']->lang, 'layouts.base'))
@section('keywords')
<meta name="keywords" content="<?php echo env('APP_KEYWORDS'); ?>"/>
@endsection
@section('description')
<meta name="description" content="<?php echo env('APP_DESCRIPTION'); ?>"/>
@endsection
@section('title')
<?php echo $da... |
<?php
namespace App\Providers;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\Route;
class RouteServiceProvider extends ServiceProvide... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.