text stringlengths 2 1.03M |
|---|
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<ol class="breadcrumb">
</ol>
</section>
<!-- Main content -->
<section data-width="50%" class="content">
<div class="box box-primary">
<div class="box-head... |
<?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\Polyfill\Tests\Php80;
use PHPUnit\Framework\TestCase;
/**
* @... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTablePeople extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('people', functio... |
<?php
/**
* To develop and test klik4d classes and methods
* Standalone class ver 1.0
* <gui.wuff@gmail.com> 16/04/2017
* This is development standalone class, releases can be found in folder klik4d-class
**/
class Klik4d {
private $url; // url of togel site
private $ua; // user agent for curl
p... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2017/10/15
* Time: 19:26
*/
include '../init.php';
setcookie('user_id','',time()-1,'/');
setcookie('user_name','',time()-1,'/');
session_start();
$_SESSION=array();
jump('../index.php',1,'注销成功'); |
<?php
namespace App\Http\Requests\WebRequests;
use App\Http\Requests\Request;
use App\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Session;
class LeaveRequest extends Request
{
/**
* Determine if the user is authorized to make this reques... |
<?php
namespace CleanArchitecture\UseCase;
use CleanArchitecture\EntityGateway\AlterEntityGateway;
use CleanArchitecture\UseCase\RequestModel\ContentRequestModel;
use CleanArchitecture\UseCase\ResponseModel\QueryResponseModel;
final class CreateUseCase implements UseCase
{
public function __construct(
pr... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Services\Admin\AirportService;
use Illuminate\Http\Request;
use Kris\LaravelFormBuilder\FormBuilder;
use App\Forms\Admin\AirportForm as Form;
use App\Services\Admin\CityService;
use Exception;
use Illuminate\Http\Response;
class... |
<?php
namespace App\Containers\Compliant\Models;
use App\Containers\Stripe\Models\StripeAccount;
use App\Ship\Parents\Models\UserModel;
class CompliantModel extends UserModel
{
protected $dates = ['deleted_at'];
protected $table = 'Compliant';
} |
<?php
namespace App\EventSubscriber;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
use Symfony\Component\Security\Http\SecurityEvents;
/**
* Stores the locale of the user... |
<?php
namespace App\Services\Impl;
use App\Models\Service\Unit;
use App\Services\UnitsService;
use Illuminate\Http\Request;
class UnitServiceImpl implements UnitsService
{
public function getAll()
{
return Unit::all();
}
public function getAllPaginate()
{
$unit = Unit::paginat... |
<?php if ($_SESSION['status'] == "Admin") { ?>
<section class="content">
<div class="container-fluid">
<div class="block-header">
<h2>
Data Sekolah
<small>
<ol class="breadcrumb breadcrumb-col-pink">
... |
<?php
namespace Germey\Generator\Generators\Vuejs;
use Illuminate\Support\Str;
use Germey\Generator\Common\CommandData;
use Germey\Generator\Generators\BaseGenerator;
class RoutesGenerator extends BaseGenerator
{
/** @var CommandData */
private $commandData;
/** @var string */
private $path;
/*... |
<?php
###############################################################################
# hebrew_utf-8.php
#
# This is the Hebrew language file for the Geeklog Links Plugin
#
# Copyright (C) 2009
# http://lior.weissbrod.com
# Version 1.6.1#1
#
# This program is free software; you can redistribute it and/or
# modify it u... |
<?php include 'Theme/header.php';?>
<div class="nk-content ">
<div class="container-fluid">
<div class="nk-content-inner">
<div class="nk-content-body">
<?php include 'Module/carcategory.php';?>
... |
<?php
namespace Redeye\StormpathBundle\DependencyInjection;
use Stormpath\Cache\ArrayCacheManager;
use Stormpath\Cache\MemcachedCacheManager;
use Stormpath\Cache\NullCacheManager;
use Stormpath\Cache\RedisCacheManager;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocato... |
<div class="flex flex-col space-y-3 text-xs sm:flex-row sm:space-y-0 sm:space-x-4">
<div class="flex-shrink-0 w-32">
<div class="flex flex-col justify-center h-10">
<div class="text-sm font-semibold text-gray-900">{{ $colorset }}</div>
</div>
</div>
<div class="grid flex-1 min-w-... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<link rel="stylesheet" href="<?=base_url('assets/bootstrap/css/bootstrap-datepicker.min.css')?>" />
<section class="content-header">
<h1>
Requests
<small><?php
if(!empty($user)){
echo "Of ".ucwords($user['first_name'... |
<?php
/*
* Generic search results page content
*/
$response = $data['response'] ?? [];
$post = $data['post'] ?? $GLOBALS['post'] ?? null;
$searchQuery = $data['query'] ?? '';
?>
<section class="glt-search-form-container">
<div class="container">
<div class="global-search">
<h5>Search</h5>
... |
<?php declare(strict_types = 1);
/*
* This file is part of Phive.
*
* Copyright (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de> and contributors
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/
nam... |
<?php
class User_model extends CI_Model {
public function insertUser($data){
return $this->db->insert('users', $data);
}
public function loginUser($data){
$this->db->select('*');
$this->db->from('users');
$this->db->where('email'... |
<?php
/**
* 2007-2019 PrestaShop and Contributors
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* ... |
<!--@name addannouncement.php
@author Deepika Chaudhary (chaudharydeepika88@gmail.com)
-->
<?php defined('BASEPATH') OR exit('No direct script access allowed');?>
<html>
<title>Add Announcement</title>
<head>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/datepicker/jquery-ui.css">... |
@extends('layouts.panel')
<!-- Se da valor al title -->
@section('title', 'Nuevo Paciente')
@section('content')
<div class="card shadow">
<div class="card-header border-0">
<div class="row align-items-center">
<div class="col">
<h3 clas... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Route extends Model
{
protected $fillable=['type_id','startroute','endroute','time'];
public function type($value='')
{
return $this->belongsTo('App\Type');
}
} |
<?php
namespace Blaze\Myst\Services;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\RequestException;
use Blaze\Myst\Api\Response;
use GuzzleHttp\Handler\CurlMultiHandler;
use Psr\Http\Message\ResponseInterface;
use GuzzleHttp\Promise;
/**
* Used to make requests to APIs and return responses.
*
* Class HttpServi... |
<?php
use App\Notifications\InvoicePaid;
use App\Task;
use App\User;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Prodi extends Model
{
protected $table = 'tb_prodi';
protected $primaryKey = 'ID';
protected $fillable = ['NAMA'];
public function reportAttendance()
{
return $this->hasMany(ReportAttendance::class);
}
} |
<?php
namespace AdmUsers\Http\Controllers;
use Illuminate\Http\Request;
use AdmUsers\Department;
use App\Http\Auth;
class DepartmentController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function __construct()
{
... |
<?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 spec\Sylius\Component\Currency\Converter;
use PhpSpec\ObjectBehav... |
<?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 a... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class consultation_statut extends Model
{
use HasFactory;
public function consultations() {
return $this->hasMany(Consultation::class);
}
} |
<?php
namespace app\admin\controller;
use think\Controller;
use think\Request;
use think\Session;
use think\Db;
class Index extends Controller
{
public function index()
{
//防跳墙,获取session
if(empty(Session::get('uid'))){
echo "<script>alert('看你是要搞事情喽!');window.location.replace('/index/index/index');</script>";
... |
<div class="bravo_single_book_wrap">
<div class="bravo_single_book">
<div id="bravo_car_book_app" v-cloak>
@if($row->discount_percent)
<div class="tour-sale-box">
<span class="sale_class box_sale sale_small">{{$row->discount_percent}}</span>
</... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class TablaVentas extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ventas', function (Bl... |
<?php
if (($RBAC_Response = $RBAC->userCanAccess("PM_FACTORY")) != 1) {
return $RBAC_Response;
}
require_once ("classes/model/Triggers.php");
$arrayField = array();
$arrayField["LANG"] = SYS_LANG;
$arrayField["PRO_UID"] = $_GET["PRO_UID"];
$arrayField["TRI_TYPE"] = "SCRIPT";
if (isset($_GET["TRI_UID"]) &... |
<?php
/*
* Copyright 2015 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 agre... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreatepagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pages', function (Blueprint $table) {
$tabl... |
<header id="m_header" class="m-grid__item m-header " m-minimize-offset="200" m-minimize-mobile-offset="200">
<div class="m-container m-container--fluid m-container--full-height">
<div class="m-stack m-stack--ver m-stack--desktop">
<!-- BEGIN: Brand -->
<div class="m-stack__item m... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-12">
<h1 class="m-0 text-dark">Daftar P... |
<?php
namespace backend\modules\setting\digitalcollection\controllers;
use Yii;
use common\models\Settingparameters;
use yii\web\Controller;
use yii\filters\VerbFilter;
use yii\base\DynamicModel;
/**
* SumberKoleksiController implements the CRUD actions for Collectionsources model.
*/
class KoleksiSeringDidownload... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class News extends Model
{
use HasFactory;
protected $fillable = [ 'title', 'content' ];
protected $dates = ['name_field'];
public function user() {
return $this->belon... |
<?
$MESS ['SPC_NAME'] = "User's Credit Cards";
$MESS ['SPC_DESCRIPTION'] = "Credit Cards management for the current user";
$MESS ['SPC_MAIN'] = "Credit Cards";
?> |
<div class="form-horizontal">
<div class="form-group">
<label class="col-sm-4 control-label">City Corporation Name in Bangla</label>
<div class="col-sm-3">
<?php echo $this->Form->input('city_corporation_name_eng', array('label' => false, 'class' =>'form-c... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMakerDIYEducationalWearablesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
$this->col... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>VeTAC!</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito:... |
<?php
declare(strict_types = 1);
namespace Cli\Extractor;
use Cli\Utils\Utils;
/**
* This class is responsible for extracting the features from the google raw data that we got through the scraping process.
* Each method in this class extracts a single feature from the raw data and returns this feature. The method... |
<?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\Form;
/**
* To learn more about how form events work... |
<?php
/*
* Copyright (c) 2008-2016 vip.com, All Rights Reserved.
*
* Powered by com.vip.osp.osp-idlc-2.5.11.
*
*/
namespace vipapis\normal;
class ScheduleProductResponse {
static $_TSPEC;
public $productList = null;
public $total = null;
public function __construct($vals=null){
if (!isset(self::$_TSPEC... |
@extends('layout.app')
@section('includes-top')
{{ Html::script('public/assets/js/raphael-min.js') }}
{{ Html::script('public/assets/js/morris.min.js') }}
@stop
@section('scripts-top')
<script type="text/javascript">
jQuery( document ).ready( function( ) {
// // Line Charts
var line_chart_demo = ... |
<style type="text/css">
.progress{
margin-top:0;
width:100%;
}
.label{
font-size: 1em !important;
}
#table_progress{
height:10em;
overflow-y:scroll;
padding:0.4em;
}
em.invalid{
display: block;
}
.ticket-title{
display: block;
margin: 3px;
}
.label{
font-size: .9em !important;
font-weig... |
<?php
namespace App\Http\Controllers\Acess;
use App\Http\Controllers\Controller;
use DB;
use App\Models\Acess\User;
use Alert;
Use Hash;
use Illuminate\Http\Request;
use App\Http\Controllers\Index\IndexController;
class RegisterController extends Controller
{
public static function normalizeChars($s) {
... |
<?php
namespace App\Http\Controllers;
use App\User;
use Illuminate\Http\Request;
class UserController extends Controller
{
public function __construct()
{
$this->middleware('superAdmin');
}
public function index()
{
$admins = User::all();
return view('incu.admin.index',co... |
<?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use Illuminate\Support\Collection;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
class StatusPagesListCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'status-pages:list... |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Title</title>
@include('myfrontend.inc.css')
</head>
<body>
@yield('content')
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/js/all.min.js" integrity="sha... |
<?php
/**
* Jetpack Compatibility File.
*
* @link https://jetpack.me/
*
* @package kiro-theme
*/
/**
* Add theme support for Infinite Scroll.
* See: https://jetpack.me/support/infinite-scroll/
*/
function kiro_theme_jetpack_setup() {
add_theme_support( 'infinite-scroll', array(
'container' => 'main',
're... |
<?php
namespace frontend\assets;
use yii\web\AssetBundle;
/**
* Main frontend application asset bundle.
*/
class AppAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/bootstrap.css',
'css/style.css',
'css/megamenu.css',
... |
<?php
/**
* @author Elicus <hello@elicus.com>
* @link https://www.elicus.com/
* @copyright 2021 Elicus Technologies Private Limited
* @version 1.6.6
*/
class DIPL_Breadcrumb extends ET_Builder_Module {
public $slug = 'dipl_breadcrumb';
public $vb_support = 'on';
protected $module_credi... |
<?php
return array(
'garbagecollector:period' => 'Πόσο συχνά να εκτελείται το εργαλείο Συλλέκτης Αχρήστων ?',
'garbagecollector:weekly' => 'Μία φορά τη βδομάδα',
'garbagecollector:monthly' => 'Μία φορά το μήνα',
'garbagecollector:yearly' => 'Μία φορά το χρόνο',
'garbagecollector' => "Συλλέκτης αχρήστων",
'garba... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Recript extends Model
{
public function prescription()
{
return $this->belongsTo('App\Prescription');
}
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Laboratorium extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->helper(array('form', 'url'));
$this->load->library('form_validation');
$this->load->library('session');
$this->load... |
<?php
namespace ArvPayolutionApi\Request;
use ArvPayolutionApi\Request\XmlSerializer\UCFirstNameConverter;
use Doctrine\Common\Annotations\AnnotationReader;
use Symfony\Component\Serializer\Encoder\XmlEncoder;
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
use Symfony\Component\Serializer\Mapp... |
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
use Illumina... |
<?php
/**
* Copyright 2011-2014 Fabrizio Branca. 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/LICENSE-2.0
*
* Unless re... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
<title>ImageMagick: MagickCore, C API for ImageMagick: The Pixel FIFO</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="application-name... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Warehouse extends Model
{
protected $connection = 'pgsql';
protected $table = 'ecosystem_warehouse';
public $timestamps = false;
} |
<?php declare(strict_types=1);
namespace Symplify\EasyCodingStandard\SniffRunner\File;
use SplFileInfo;
use Symplify\EasyCodingStandard\Application\AppliedCheckersCollector;
use Symplify\EasyCodingStandard\Error\ErrorAndDiffCollector;
use Symplify\EasyCodingStandard\Skipper;
use Symplify\EasyCodingStandard\SniffRunne... |
<?php
namespace App\Http\Livewire\Catalogos;
use Livewire\Component;
use App\Models\CooperationType as CooperacionTypeTable;
class CooperationType extends Component
{
public function render()
{
return view('livewire.catalogos.cooperation-type',[
'items' => CooperacionTypeTable::all()
... |
<footer class="py-5 bg-dark">
<div class="container">
<p class="m-0 text-center text-white">Copyright © Your Website 2019</p>
</div>
<!-- /.container -->
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/boot... |
<?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\SchemaGenerator\AnnotationGenerat... |
<!-- Footer -->
<footer class="sticky-footer bg-white">
<div class="container my-auto">
<div class="copyright text-center my-auto">
<span>Copyright © Your Website 2020</span>
</div>
</div>
</footer>
<!-- End of Footer --> |
<?php
/**
* Main module of slack bot lib, that contains bot configuration (like setting token), loading bot command and webhooks,
* enabling the web server, that will listen incoming HTTP POST requests and running the bot.
*
* @credits https://github.com/kommuna
* @author chewbacca@devadmin.com
*
* For the full... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Models\Maladie;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class ApiMaladieController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illumi... |
@extends('frontend.layouts.master')
@section('title', 'Shop')
@section('styles')
<link rel="stylesheet" type="text/css" href="{{ asset('public/front/plugins/jquery-ui-1.12.1.custom/jquery-ui.css') }}">
<link rel="stylesheet" type="text/css" href="{{ asset('public/front/styles/shop_styles.css') }}">
<link rel="stylesh... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "service".
*
* @property int $id
* @property string $host ip
* @property int $port socket端口
* @property int $trunk 中继数量
* @property int $status 状态
* @property string $remark 备注
*/
class Service extends \yii\db\ActiveRecord
{
c... |
@extends('admin.dashboard.layouts.app')
@section('content')
<!-- begin:: Content -->
<div class="kt-content kt-grid__item kt-grid__item--fluid" id="kt_content">
<!--Begin::Dashboard 1-->
<!--Begin::Section-->
<div class="row">
<div class="col-xl-12 col-lg-12">
<h2>Customer Review</h2>
</div>
</div>
<se... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
namespace AppBundle\Form\Type\Settings;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfon... |
<?php
use Illuminate\Database\Seeder;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('users')->insert(array(
array(
'name' => 'Administrador',
'email' => 'ad... |
<?php
namespace App\Http\Controllers;
use App\Repositories\OrderRepository;
use Illuminate\Http\Request;
class OrderController extends Controller
{
/**
* @var OrderRepository
*/
protected $orderRepository;
/**
* @var int
*/
protected $nbrPerPage = 10;
protected $module;
p... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model frontend\models\AkkPermitKerjaSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="akk-permit-kerja-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get'... |
<?php
declare(strict_types=1);
namespace Phel\Compiler\Parser\ParserNode;
/**
* @extends AbstractAtomNode<null>
*/
final class NilNode extends AbstractAtomNode
{
} |
<!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>
</head>
<body>
<h1>Heloow World</h1>
</body>
</html> |
<?php
require_once('Autenticacao.php');
class Update extends Autenticacao {
public function higienizarDados($dadoDoFormulario) {
if (isset($dadoDoFormulario)) {
return trim(strip_tags(htmlspecialchars($dadoDoFormulario)));
} else {
return "";
... |
<?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 App\About;
use Illuminate\Database\Seeder;
class AboutSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
About::create([
'heading' => 'We are creative Developers.',
'decsription' => 'lorem',
... |
<?php
/*
* This file is part of Sulu.
*
* (c) Sulu GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\MediaBundle\Tests\Functional\Controller;
use Sulu\Bundle\TestBundle\Testing\SuluTestCase;
class AdminControllerTest ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class zanr extends Model
{
//
} |
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" type="image/png" href="{{ url('/storage/images/ico.png') }}">
<title>Bem-vindo | {{ config('app.name') }}</title>
<link href="https://fon... |
<div class="d-flex justify-content-center align-items-center my-5">
<form>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
<div id="e... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Http\Requests\Auth\ForgotPasswordRequest;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Http\RedirectResponse;
use Illuminate\Support\Facades\Pas... |
<?php
$session = \Config\Services::session();
?>
<div class="pr-0 mr-0">
<div class=" navbar-expand-md navbar-dark bg-dark h-100">
<?php if (!$session->get('loggedIn')): ?>
<div class="text-center">
<div class="text-white">
<strong>Subscribe to our newsletter.</strong>
... |
<?php
use App\Http\Controllers\HomeController;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can re... |
<?php
namespace Laraditz\Xenopay\Facades;
use Illuminate\Support\Facades\Facade;
class Xenopay extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'Xenopay';
}
} |
<?php
namespace Core;
use Exception;
if (!defined('__API_GOOSE__')) exit();
/**
* hello word
*
* @var Goose|Connect $this
*/
try
{
// set output
$output = (object)[];
$output->code = 200;
$output->message = 'hello goose api';
// output
return Output::data($output);
}
catch(Exception $e)
{
return E... |
<?php
// Include the API
require '../../lastfmapi/lastfmapi.php';
// Get the session auth data
$file = fopen('../auth.txt', 'r');
// Put the auth data into an array
$authVars = array(
'apiKey' => trim(fgets($file)),
'secret' => trim(fgets($file)),
'username' => trim(fgets($file)),
'sessionKey' => trim(fgets($file... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="HTML5 Template" />
<meta name="description" content="Webmin - Bootstrap 4 & Angular 5 Admin Dashboard Template" />
<meta name="author" content="potenza... |
<tr class="editRow" data-group_id="{{$group->id}}" style="display: none;">
<!-- ********************** (C) mgr inż. Bartłomiej Trojnar; 23.04.2022 *********************** -->
<form action="{{ route('grupa.update', $group->id) }}" method="post" role="form">
{{ csrf_field() }}
{{ method_field('PATCH') }}
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Mdlaporan extends CI_Model {
function build_kriteria($kriteria){
if(is_array($kriteria)){
$arr = array();
foreach($kriteria as $k){
array_push($arr,$this->run_krit($k));
}
$ret = implode(" OR ", $arr);
return $ret;... |
<?php
namespace App\Http\Controllers\Api;
use App\NewsItem;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class NewsItemsController extends Controller
{
public function index(Request $request)
{
$city_id = $request->input('city_id');
$items = NewsItem::all();
if ($cit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.