text stringlengths 2 1.03M |
|---|
@extends('layouts.admin')
@section('contents')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Buku</div>
<div class="card-body">
@if (session('status'))
... |
<?php
namespace app\index\controller;
use think\Db;
use think\Controller;
use think\Request;
use think\exception\DbException;
class Search extends Controller
{
public function index()
{
$search = db('search')->order('id', 'desc')->select();
// foreach ($search as $k => $v) {
// $... |
@extends('trebolnews/master')
@section('title')
TrebolNEWS / Información básica
@stop
@section('script')
{{ HTML::script('js/sections/campaigns.js') }}
@stop
@section('contenido')
<div id="container" class="step3">
<section class="tabs">
<div class="content">
<h2>Con... |
@if( $template['option_status'] )
<section {!! $id !!} {!! $classes !!}>
<div class="grid-container">
@if ( $template['include_template_header'] )
@include('partials.template-header', [ 'headline' => $template['template_headline'], 'subheadline' => $template['template_short_d... |
<?php
namespace app\controllers;
use yii\base\Controller;
use app\models\Article;
class ArticleController extends Controller
{
public function actionIndex()
{
$this->actionListArticles();
}
public function actionArchive()
{
$results = array();
$data = Article::getList();... |
<div class="banner-ten banner_div banners-content">
<div class="container banner_div">
<div class="group-banners">
<div class="row">
<div class="col-12 col-md-6">
<div class="imagespace">
<figure class="banner-image ">
<a... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Paypal\Controller\Adminhtml\Paypal\Reports;
/**
* @magentoAppArea adminhtml
*/
class FetchTest extends \Magento\TestFramework\TestCase\AbstractBackendController
{
public function setUp()
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class OrderItem extends Model
{
use HasFactory;
protected $table = 'order_items';
/**
* Get the order that owns the OrderItem
*
* @return \Illuminate\Database\Eloquent... |
<?php
/**
* This file is part of the ZBateson\MailMimeParser project.
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*/
namespace ZBateson\MailMimeParser;
use GuzzleHttp\Psr7;
/**
* Parses a MIME message into a \ZBateson\MailMimeParser\Message object.
*
* To invoke, call parse on a MailMimePar... |
<?php
namespace common\models;
/**
* This is the ActiveQuery class for [[SurveyDetails]].
*
* @see SurveyDetails
*/
class SurveyDetailsQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* @inheritdoc
* @return SurveyD... |
<?php
class Marketify_EDD_Template_Download {
public function __construct() {
add_action( 'wp_head', array( $this, 'featured_area' ) );
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
add_action( 'marketify_entry_before', array( $this, 'download_title' ), 5 );
add_action( 'marketify_e... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Rate extends Model
{
use HasFactory;
protected $fillable = ['rate','course_id','user_id'];
public function user(){
return $this->belongsTo(User::class , 'user_id');
... |
<?php
namespace App\Models\Lecture;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Tymon\JWTAuth\Contracts\JWTSubject;
class Lectures extends Authenticatable implements JWTSubject
{
use Notifiable;
protected $table ... |
<li>
<span class="button">
{{ $title }}
</span>
</li> |
<?php
/* @WebProfiler/Icon/event.svg */
class __TwigTemplate_d1d18e1c2192f00953275da7ddfc2a6b3482cb50478c0e05230d986000b0bab0 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
)... |
<?php namespace Paymennt\webhooks;
require_once(__DIR__.'/AbstractWebhookRequest.php');
use Paymennt\Exception as Exception;
/**
* Webhook class
*
* delete webhook by webhookId request class
*
* @author abdullah
*/
class DeleteWebhookRequest extends AbstractWebhookRequest {
/**********************************... |
<?php
/**
* core/MY_Controller.php
*
* Default application controller
*
* @author JLP
* @copyright 2010-2016, James L. Parry
* ------------------------------------------------------------------------
*/
class Application extends CI_Controller
{
/**
* Constructor.
* Establish view parameters & load commo... |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "client_attributes".
*
* @property string $id
* @property string $client_id
* @property string $attribute_id
* @property integer $option_id
* @property string $attribute_value
*
* @property Attributes $attribute
* @property Cl... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Kategori extends Model
{
protected $table='kategori';
protected $guarded=[];
public function merek()
{
return $this->hasMany(Merek::class,'id_kategori');
}
} |
<?php
namespace Modules\User\Http\Requests;
use App\Http\Requests\BaseRequest;
class ForgotPasswordRequest extends BaseRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'user_name' => 'requir... |
<?php
namespace App\Http\Controllers;
use Inertia\Inertia;
use Inertia\Response;
class ToolController extends Controller
{
/**
* Render the Tool page.
*
* @return Response
*/
public function __invoke(): Response
{
return Inertia::render('Tools');
}
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Student extends CI_Controller {
/**
* 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 control... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">文章管理</div>
<div class="panel-body">
@if (count($errors) ... |
@extends('layouts.main')
@section('content')
crear nuevo detalle
@endsection |
<?php
namespace AppBundle\Twig;
class AppExtension extends \Twig_Extension
{
/**
* @inheritDoc
*/
public function getFilters()
{
return array(
new \Twig_SimpleFilter('cast_to_array', array($this, 'castToArray'))
);
}
public function castToArray($stdClassObje... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Registration extends MX_Controller {
function __construct()
{
parent::__construct();
// model
$this->load->model('m_registration');
}
// index
function index()
{
$data = array(
'namamodule' => "Registration",
'namafil... |
<?php
namespace App\Exports;
use App\Models\Skors;
use Maatwebsite\Excel\Concerns\FromCollection;
class SkorsExport implements FromCollection
{
/**
* @return \Illuminate\Support\Collection
*/
public function collection()
{
return Skors::all();
}
} |
@extends('layout')
@section('content')
<!--slider sec strat-->
<section id="slider-sec" class="slider-sec parallax" style="background: url({{asset('img'.'/'.'banner1.2.jpg')}});">
</section>
<!--slider sec end-->
<!--Product Line Up Start -->
<div class="product-listing">
<div class="container">
<div clas... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Model\Category;
/**
* Class Attribute
*
* @method \Magento\Eav\Api\Data\AttributeExtensionInterface getExtensionAttributes()
*/
class Attribute extends \Magento\Catalog\Model\Entity\Att... |
<?php
namespace Devlabs91\TravelgateNotify\Models\Ota;
/**
* Class representing PTCFareBreakdownType
*
* Per passenger type code pricing for this itinerary. Set if fareBreakdown was requested.
* XSD Type: PTCFareBreakdownType
*/
class PTCFareBreakdownType
{
/**
* Indicates whether the fare is public, p... |
<?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
return array(
'fircms' => array(
'modules' => array(
'page' => array(
'defaultController' => 'page/index',
),
),
),
'fsadmin' => array(
'modules' => array(
'page' => array(
'defaultController' => 'page/admin',... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'username', 'ema... |
<?php
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Phalcon\Config\Adapter;
use Phalcon\Config\Co... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?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();
}
} |
<?php
/* @Framework/Form/attributes.html.php */
class __TwigTemplate_014bbf318cd775c3d9b8fa9ad2381a44d42eb0727eb73ddbe0908885e7bb568f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
/**
* @version V5.05 11 July 2008 (c) 2000-2008 John Lim (jlim#natsoft.com). All rights reserved.
* Released under both BSD license and Lesser GPL library license.
* Whenever there is any discrepancy between the two licenses,
* the BSD license will take precedence.
*
* Set tabs to 4 for best viewing.
*
* Latest ... |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "institute".
*
* @property integer $id
* @property string $name
* @property string $email
* @property string $adress
* @property integer $country_id
* @property integer $state_id
* @property string $city_id
* @property string $... |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFiguresTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::disableForeignKeyConstr... |
<?php
/* forms/fields/selectize/selectize.html.twig */
class __TwigTemplate_bf132de5aea5187f734ad88813a06f338a903227982155c786fd83cf5aa3c561 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemp... |
<?php
declare(strict_types=1);
namespace webignition\BasilModel\Action;
use webignition\BasilModel\Value\ValueInterface;
interface InputActionInterface extends InteractionActionInterface
{
public function getValue(): ValueInterface;
public function withValue(ValueInterface $value): InputActionInterface;
} |
<?php
namespace Oro\Component\ConfigExpression\Tests\Unit\Condition;
use Oro\Component\ConfigExpression\ContextAccessor;
use Oro\Component\ConfigExpression\Condition;
use Oro\Component\PropertyAccess\PropertyPath;
class GreaterThanOrEqualTest extends \PHPUnit_Framework_TestCase
{
/** @var Condition\GreaterThanOr... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class JenisOperasi extends Model
{
use HasFactory, SoftDeletes;
/**
* The attributes that are mass assignable.
*
* @var arra... |
<nav class="navbar navbar-top navbar-horizontal navbar-expand-md navbar-dark">
<div class="container px-4">
<a class="navbar-brand text-white" href="{{ route('login') }}">
{{ __('Kubernetes Cron Job Dashboard') }}
</a>
<button class="navbar-toggler" type="button" data-toggle="col... |
<?php
/*
* Copyright 2014 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... |
<?php
namespace App\Http\Controllers;
use App\Models\ReservedLesson;
use App\Models\LessonMessages;
use App\ReserveStatusEnum;
use App\StatusEnum;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class ReservesController extends Controller
{
public function getHistory(Request $... |
<?php
require 'vendor/autoload.php';
$openstack = new OpenStack\OpenStack([
'authUrl' => '{authUrl}',
'region' => '{region}',
'user' => [
'id' => '{userId}',
'password' => '{password}'
],
'scope' => ['project' => ['id' => '{projectId}']]
]);
$compute = $openstack->comp... |
<?php
/**
* Created by PhpStorm.
* User: Jne
* Date: 2018/8/15
* Time: 9:49
*/
namespace app\api\controller;
use app\common\lib\Aes;
use app\common\lib\exception\ApiException;
use app\common\lib\IAuth;
use app\common\lib\Message;
use think\Controller;
/*'default_return_type'=>'json' 需要在api comfig文件开启这个返回json方式*... |
<?php
namespace DPRMC\IceRemotePlusClient\Tests;
use DPRMC\IceRemotePlusClient\Exceptions\DateSentToConstructorIsNotParsable;
use DPRMC\IceRemotePlusClient\RemotePlusClient;
use PHPUnit\Framework\TestCase;
class RemotePlusClientVariedItemsTest extends TestCase {
/**
* @test
* @group vary
* The A... |
<?php $this->load->view('home/header'); ?>
<!-- Page Content -->
<div class="container">
<div class="row">
<div class="col-lg-12">
<?php echo form_open_multipart(); ?>
<div class="form-group">
<label>Username... |
<?php
/**
* Description:
* Created by PhpStorm.
* User: VIjay
* Date: 2019/4/16
* Time: 20:25
*/
namespace App\Services;
use Carbon\Carbon;
use Illuminate\Support\Facades\Storage;
use Dflydev\ApacheMimeTypes\PhpRepository;
class UploadsManager
{
protected $disk;
protected $mimeDetect;
public func... |
<?php
$tmp_path = __DIR__ . '/storage/';
Sharoff\Component\FileUpload::setTmpPath($tmp_path);
Sharoff\Component\FileUpload::checkUpload(); |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Messages\SlackMessage;
class GitHubNotification extends Notification
{
use Queuea... |
<!doctype html>
<html lang="{{ 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="{{ csrf_token() }}">
<title>@yield('title', env('APP_NAME', setting_... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/phpdocumentor/type-resolver/src', $vendorDir . '/phpdocumentor/reflec... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
... |
<?php
declare(strict_types=1);
/*
* UserFrosting Account Sprinkle (http://www.userfrosting.com)
*
* @link https://github.com/userfrosting/sprinkle-account
* @copyright Copyright (c) 2022 Alexander Weissman & Louis Charette
* @license https://github.com/userfrosting/sprinkle-account/blob/master/LICENSE.md ... |
<?php
$_SESSION['page']="consultation";
?>
<!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">
<meta name="description" content="">
<meta name="author" content="">... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Product; //1
class ProductController extends Controller
{
public function index()
{
$products = Product::orderBy('created_at', 'DESC')->get(); //2
// CODE DIATAS SAMA DENGAN > select... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bank Aceh Syariah</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?fam... |
<?php
function get_db_config()
{
if (getenv('IS_IN_HEROKU')) {
$url = parse_url(getenv("DATABASE_URL"));
return $db_config = [
'connection' => 'pgsql',
'host' => $url["host"],
'database' => substr($url["path"], 1),
'username' => $url["user"],
'password' => $url["pass"]
];
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateConversationTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('dialogs', ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Dashboard extends CI_Controller {
public function index()
{
$this->load->helper('url');
$this->load->library('session');
if(isset($this->session->userdata['logged_in'])){
$this->load->view('pages/Dashboard.php');
}
else{
... |
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:113:"/www/wwwroot/qx564.host.flyingsteed.com/20200318fastadmin/public/../application/common/view/tpl/dispatch_jump.tpl";i:1583049508;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo __(... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\MySong;
class MySongController extends Controller
{
public function submit(Request $request){
$user = Auth::user();
$mySong = new MySong;
$mySong->file_name = $request->input... |
<?php
namespace ByTIC\Namefy\Tests\Strategies;
use ByTIC\Namefy\Name;
use ByTIC\Namefy\Strategies\ByTICStrategy;
use ByTIC\Namefy\Tests\AbstractTest;
use ByTIC\Namefy\Tests\Fixtures\Models\Payments\PurchasableRecordManager;
/**
* Class ByTICStrategyTest
* @package ByTIC\Namefy\Tests\Strategies
*/
class ByTICStrat... |
<?php
namespace CodeFin\Models;
use Illuminate\Database\Eloquent\Model;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;
class Bank extends Model implements Transformable
{
use TransformableTrait;
protected $fillable = [
'name',
'logo'
];
... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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/LICENS... |
<?php
namespace Addons\Tag\Model;
use Home\Model\WeixinModel;
/**
* Tag的微信模型
*/
class WeixinAddonModel extends WeixinModel{
function reply($dataArr, $keywordArr = array()) {
$config = getAddonConfig ( 'Tag' ); // 获取后台插件的配置参数
//dump($config);
}
} |
<style>
label {
color: grey;
}
</style>
<!-- container section start -->
<section id="container" class="">
<!--main content start-->
<section id="main-content">
<section class="wrapper">
<div class="row">
<div class="col-lg-12">
<!--breadcrumbs start -->
<ul class="brea... |
<?php
namespace LaravelEnso\Files\Http\Controllers\File;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Routing\Controller;
use LaravelEnso\Files\Models\File;
class Link extends Controller
{
use AuthorizesRequests;
public function __invoke(File $file)
{
$this->authorize... |
<?php
namespace Dcat\Page\Console;
use Dcat\Page\DcatPage;
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
use Symfony\Component\Finder\SplFileInfo;
class CreateCommand extends Command
{
use DcatApp;
/**
* The name and signature of the console command.
*
* @var string
... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitb5a57b3108f1ecd24ec0248fd89d50c1
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
'a4a119a56e50fbb293281d9a4... |
<?php declare(strict_types=1);
namespace Lmc\Matej\Model;
use Lmc\Matej\Exception\ResponseDecodingException;
use Lmc\Matej\UnitTestCase;
/**
* @covers \Lmc\Matej\Exception\ResponseDecodingException
* @covers \Lmc\Matej\Model\Response
*/
class ResponseTest extends UnitTestCase
{
/**
* @dataProvider provid... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
/**
* 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 contro... |
<!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>Toto</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="stylesheet" href="https... |
<?php
/* Template Name: Solutions */
$pageid = get_the_ID();
get_header();
the_post();
?>
<main id="content" class="page-solution">
<form action="" autocomplete="off">
<div class="the-solution">
<div class="container">
<div class="row">
<div class="col-12 col-md-3">
<div class="btn-filter">
... |
@extends('layouts.app')
@section('css')
<style>
.add__button {
text-align: center;
background: #f2f2f2;
}
.add__button a {
margin: 20px;
}
.vocabulary__title {
text-align: center;
text-decoration: none;
... |
<?php
declare(strict_types=1);
/**
* SPHPlayground Framework (http://playgound.samiholck.com/)
*
* @link https://github.com/samhol/SPHP-framework for the source repository
* @copyright Copyright (c) 2007-2020 Sami Holck <sami.holck@gmail.com>
* @license https://opensource.org/licenses/MIT The MIT License
... |
<?php
namespace App\Libraries\Structure;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Config;
use App;
use DB;
/**
* Migration class for HR modules structure creation
*/
abstract class HRMigration extends Migration
{
/**
* HR role ID
*
* @var integer... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class ConsultaSctr extends Model
{
public $table = 'consultas_sctr';
public static function _create($data)
{
try {
$consulta = new ConsultaSctr();
$consulta->rut = $data... |
<?php
require __DIR__.'/../vendor/autoload.php';
use Doctrine\DBAL\Types\Type;
use Doctrine\ORM\Tools\SchemaTool;
use Ramsey\Uuid\Doctrine\UuidBinaryType;
use RidiPay\Kernel;
use RidiPay\Library\EntityManagerProvider;
use RidiPay\Library\Pg\Kcp\Company;
use RidiPay\Pg\Domain\Entity\PgEntity;
use RidiPay\User\Domain\E... |
<?php $__env->startSection('content'); ?>
<form class="registration-form form" id="login-form" method="POST">
<?php echo csrf_field(); ?>
<p>Załóż konto</p>
<?php if($errors->any()): ?>
<p>
<ul style="color: red">
<?php $__currentLoopData = $er... |
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
header('Content-Type: application/json');
session_start();
require_once 'DB_Functions.php';
$db = new DB_Functions();
// json response array
$response = array("error" => FALSE);
var_dump($_POST);
if (isset($_POST['special'])){
$Description=$_POST["Des... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('posts', function (Blueprint $table) {
$table... |
<?php
namespace App\Repositories;
use App\Product;
use App\Repositories\Interfaces\ImageRepositoryInterface;
use App\Repositories\Interfaces\ProductRepositoryInterface;
use Illuminate\Support\Facades\DB;
class ProductRepository implements ProductRepositoryInterface
{
private $imageRepository;
public functio... |
<!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() }}">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5... |
<?php
namespace App\View\Components\testempnials;
use Illuminate\View\Component;
class SideBar extends Component
{
/**
* Create a new component instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the com... |
@extends('admin.layouts.admin_app')
@section('title')网站文档列表@stop
@section('head')
<style>.red{color: red;}</style>
@stop
@section('content')
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">文档列表管理 文... |
<?php
namespace TH\RabbitmqProvider;
use OldSound\RabbitMqBundle\RabbitMq\AnonConsumer;
use OldSound\RabbitMqBundle\RabbitMq\Consumer;
use OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface;
use OldSound\RabbitMqBundle\RabbitMq\MultipleConsumer;
use OldSound\RabbitMqBundle\RabbitMq\Producer;
use OldSound\RabbitMqBund... |
<?php
session_start();
if(isset($_SESSION['User']))
{
}
else
{
header("location:../loginform.html");
}
?>
<?php
//index.php
$connect = mysqli_connect("localhost", "root", "", "analyticsdb");
$message = '';
if(isset($_POST["upload"]))
{
if($_FILES['product_file']['name'])
{
$fi... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
include_once(APPPATH . 'controllers/BaseController.php');
include_once(APPPATH . 'helpers/auth/producto_rules_helper.php');
class Producto extends BaseController {
function __construct() {
parent::__construct();
$this->data = array_merge($this... |
<?php namespace App\Http\Controllers;
use App\AccountCategory;
use App\Branch;
use App\Import;
use App\NameOfAccount;
use App\Party;
use App\Product;
use App\PurchaseInvoice;
use App\PurchaseInvoiceDetail;
use App\Sale;
use App\SAleDetail;
use App\SalesReturn;
use App\SalesReturnInvoice;
use App\SalesReturnDetail;
u... |
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:80:"D:\phpStudy\WWW\thinkphp\public/../application/admin/view/default/menu\edit.html";i:1496373782;s:82:"D:\phpStudy\WWW\thinkphp\public/../application/admin/view/default/public\base.html";i:1496373782;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class LabelRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the ... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
class BeforMW
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle(Request $request, Closure $next)
... |
<?php
namespace Chamilo\Libraries\Storage\DataClass\Property;
use Chamilo\Libraries\Architecture\Interfaces\Hashable;
/**
*
* @package Chamilo\Libraries\Storage\DataClass\Property
* @author Hans De Bisschop <hans.de.bisschop@ehb.be>
* @author Magali Gillard <magali.gillard@ehb.be>
* @author Eduard Vossen <eduard... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.