text stringlengths 2 1.03M |
|---|
<?php
namespace Monitor;
class Cases {
public static function getCases(){
return Request::doTheRequest('GET', 'API/bpm/case?p=0');
// return Request::doTheRequest('GET', 'API/bpm/case?p=0&c=1000');
}
public static function getArchivedCases(){
return Request::doTheRequest('GET', 'API/b... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: messaging/response/payload/account/endpoints.proto
namespace Agrirouter\Response\Payload\Account\ListEndpointsResponse;
use Agrirouter\Response\Payload\Account\ListEndpointsResponse_Direction;
use Agrirouter\Response\Payload\Account\ListEndpoi... |
<?php
/**
* Jitter plugin for Craft CMS 3.x
*
* A just in time image transformation service.
*
* @link https://kyleandrews.dev/
* @copyright Copyright (c) 2020 Kyle Andrews
*/
namespace codewithkyle\jitter;
use codewithkyle\jitter\services\Transform as TransformService;
use codewithkyle\jitter\variables\J... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
/**
* Ok, glad you are here
* first we get a config instance, and set the settings
* $config = HTMLPurifier_Config::createDefault();
* $config->set('Core.Encoding', $this->config->get('purifier.encoding'));
* $config->set('Cache.SerializerPath', $this->config->get('purifier.cachePath'));
* if ( ! $this->con... |
<?php
namespace ContainerXvex7Ug;
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 getRouting_Loader_YmlService ext... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call([
PincodeSeeder::class,
]);
}
} |
<footer class="fixed-bottom bg-light">
<div class="d-flex justify-content-between">
<a href="/recipes"><i class="fas fa-home fa-2x"></i></a>
<a href="/">お気に入り</a>
<a href="/">今週のレシピ</a>
<a href="/">買い物リスト</a>
<a href="/">冷蔵庫</a>
</div>
<i class="far fa-home-alt"></i>
</footer> |
<div class="container">
<!-- Outer Row -->
<div class="row justify-content-center">
<div class="col-lg-7">
<div class="card o-hidden border-0 shadow-lg my-5">
<div class="card-body p-0">
<!-- Nested Row within Card Body -->
<div class... |
<?php
// This file is part of the customcert module for Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any la... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Claim extends Model
{
//
protected $fillable = ['repairName','insureName','claimNo','accClaimNo','accPolicyNo','accStatusCar','carIdenNo','deduction','deductionSrc','insureId','insurePhone','insureFax','policyTypeId','insuredValue','callAccid... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
function __construct() {
parent::__construct();
$this->themes = $this->config->item('themes');
//$this->load->model('Mdl_perusahaan');
}
public fun... |
<?php
return [
'online' => 'Online',
'login' => 'Login',
'logout' => 'Logout',
'setting' => 'Setting',
'name' => 'Name',
'username' => 'Username',
'password' => 'Password',
'password_confirmation' => ... |
<?php
namespace App\Http\Controllers;
use App\Models\Finance;
use App\Models\Paymenet;
use App\Models\Status;
use App\Models\Supplier;
use App\Models\School;
use App\User;
use Carbon\Carbon;
use Haruncpi\LaravelIdGenerator\IdGenerator;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Yajra\D... |
<?php
/**
* @package magento-extractor
* @copyright 2017 Keboola
* @author Jakub Matejka <jakub@keboola.com>
*/
namespace Keboola\MagentoExtractor;
class Exception extends \Exception
{
} |
<?php
namespace Scalr\Service\OpenStack\Client;
/**
* ErrorData
*
* @author Vitaliy Demidov <vitaliy@scalr.com>
* @since 06.12.2012
*/
class ErrorData
{
public $code;
public $message;
public $details;
} |
<!DOCTYPE HTML>
<html>
<head>
<title>Online Office & Shop Space Rental</title>
<style>
#content {
text-align: left;
width: 624px;
float: left;
padding: 200px 10px 15px 470px;
}
</style>
<link rel="stylesheet" type="text/cs... |
<?php
/**
* AcidFarm - Yet Another Framework
*
* Requires PHP version 5.3
*
* @author ACID-Solutions <contact@acid-solutions.fr>
* @category AcidFarm
* @package Acidfarm\Core
* @version 0.2.1
* @since Version 0.2
* @copyright 2011 ACID-Solutions SARL
* @license http://www.acidfarm.net/license
... |
<?php
/**
* Sage includes
*
* The $sage_includes array determines the code library included in your theme.
* Add or remove files to the array as needed. Supports child theme overrides.
*
* Please note that missing files will produce a fatal error.
*
* @link https://github.com/roots/sage/pull/1042
*/
$sage_incl... |
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="col-12 text-left pb-2">
<h4 class="test-capitalize"> Test Name : {{ $tests->test_name}} </a>
</div>
<table class="table table-striped table-bordered dt-responsive nowrap text-c... |
<?php
declare(strict_types=1);
namespace Rector\Tests\Composer\Rector\ReplacePackageAndVersionComposerRector;
use Iterator;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
use Symplify\EasyTesting\DataProvider\StaticFixtureFinder;
use Symplify\SmartFileSystem\SmartFileInfo;
final class ReplacePackageAndVersionCo... |
<?php
namespace BotMan\Drivers\Slack\SlackClient;
use DateTime;
use React\Promise;
/**
* Represents a single Slack channel.
*/
class Channel extends ClientObject implements ChannelInterface
{
/**
* {@inheritDoc}
*/
public function getId()
{
return $this->data['id'];
}
/**
... |
<?php
/**
* Created by PhpStorm.
* User: 123Bl
* Date: 28-Jun-18
* Time: 02:37
*/
namespace App\Student\Search\Filters;
use Illuminate\Database\Eloquent\Builder;
class CandidateJobType implements Filter
{
public static function apply(Builder $builder, $value)
{
$builder->where('resume->job_typ... |
<?php
namespace App\Providers;
use App\Services\MailchimpNewsletter;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\ServiceProvider;
use MailchimpMarketing\ApiClient;
use App\Services\Newsletter;
use Illuminate\Support\Facades\Gate;
use App\Models\User;
use Illuminate\Support\Facades\Blade;
class AppS... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/dataproc/v1/clusters.proto
namespace Google\Cloud\Dataproc\V1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* The cluster config.
*
* Generated fro... |
<?php
/**
* @package Joomla.Platform
* @subpackage HTML
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Renders a standard button
*
* @package ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateProductosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('productos', function (Blueprint $table) {
... |
<?php
namespace Bageur\Auth\Model;
use Illuminate\Database\Eloquent\Model;
class bageur_akses_action extends Model
{
protected $table = 'bageur_akses_action';
protected $appends = ['is_granted'];
protected $hidden = [
'granted'
];
public function getIsGrantedAttribute()
{
if(... |
<?
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
Yii::$app->params['page_title'] = 'Các dịch vụ tour';
Yii::$app->params['page_breadcrumbs'] = [
['Dữ liệu', '@web/test'],
['Dịch vụ tour', '@web/test/dv'],
];
$dvTypeList = [
1=>'Đi lại, vận chuyển',
2=>'Ngủ nghỉ',
3=>'Ăn uống',
4=>'Tham quan, mua sắm, xem',... |
<?php
namespace Foobooks\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcast::rout... |
<?php
/*
+-----------------------------------------------------------------------+
| This file is part of the Roundcube Webmail client |
| Copyright (C) 2008-2012, The Roundcube Dev Team |
| |
| License... |
<?php
namespace MTD\LoginBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
//public function indexAction($name)
public functi... |
<?php
namespace App;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\User;
use App\Provider;
use App\Useraddress;
use App\Location;
use App\Bookings;
use App\Timeslots;
use App\Category;
use App\Subcategory;
use App\Providerschedules;
use App\Providerservices;
use DB;
use Mail;
use GuzzleHttp\... |
<?php
namespace App\Http\ViewComposers;
use App\Common\Constant;
use Illuminate\View\View;
use App\Http\Services\ProductService;
class ProductViewComposer
{
/**
* The user repository implementation.
*
* @var UserRepository
*/
protected $service;
/**
* Create a new profile compos... |
<x-app-layout>
<div class="container py-8">
@foreach ($categories as $category)
<section class="mb-6">
<div class="flex items-center mb-2">
<h1 class="text-lg uppercase font-semibold text-gray-700">
{{ $category->name }}
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class DashboardController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Renders the homepage o... |
@extends('layouts.lyndrix')
@section('content')
<div class="d-flex justify-content-between align-items-center flex-wrap grid-margin">
<nav class="page-breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="">Dashboard</a></li>
<li class="bread... |
<?php
namespace BtcTrip\HotelsBundle\DocumentManager;
use BtcTrip\MainBundle\Service\BaseService;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Administra los Documentos Order.
*
* HotelSerachResultManager class
*
*/
class HotelPreOrderManager extends BaseService {
private function g... |
@extends('layouts.app')
@section('content')
<div class="row col-md-9 col-lg-9 col-sm-9 pull-left">
<div class="row col-md-12 col-lg-12 col-sm-12" style="background:white;margin:10px;">
<form method="post" action="{{ route('companies.store') }}">
{{ csrf_field() }}
... |
<?php
/**
* Class to print query results in a "tree" display, using a field that
* defines a "parent" relationship between rows.
*
* @author Yaron Koren
* @ingroup Cargo
*/
class CargoTreeFormat extends CargoListFormat {
/** @var string|null */
protected $mParentField = null;
/** @var array|null */
public $... |
<?php
namespace ContainerUGxyNwF;
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 getApiPlatform_Listener_View_Val... |
<script>
var base_url = '<?php echo base_url(); ?>';
function changeImage(element) {
document.getElementById('imageReplace').src = base_url+'uploads/cars/'+element;
event.preventDefault();
}
function changeImageSecond(element) {
document.getElementById('imageReplaceTwo').src = b... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Warehouse 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 cont... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
include('config.inc.php');
include('auth.php');
$loginError = false;
if ((isset($_SESSION['username'])) && (isset($_SESSION['password']))) {
header("Location: index.php");
}
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$username = $_POST['username'];
$password = $_P... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateComeBackHistoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('come_... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @property mixed $tournament_types
* @property mixed $game_types
*/
class Tournaments extends Model
{
protected $fillable = [
'tournament_types_id', 'price_to_join', 'time_of_duel', 'game_types_id'
];
/**
* Get typ... |
<?
$spt_bsc_url="spt_bsc.php";
$spt_adv_url="spt_adv.php";
$spt_tools_url="spt_tools.php";
$spt_st_url="spt_st.php";
$spt_faq_url="spt_faq.php";
$font_color="#000000";
?>
<h1>MENU SUPPORTO</h1>
<table width=75% border=0 cellspacing=0 cellpadding=0>
<tr><td><span class="style6">Configurazione</span></td></tr>
<tr><td>
... |
<?php
namespace App\Notifications;
use App\Config\Setting;
/**
* Class MicrosoftTeams
*
* @package App\Notifications
*/
class MicrosoftTeams implements NotificationInterface
{
/**
* @param string $message
* @param string[] $keyValueDetails
* @param string|null $url
*
* @retu... |
@extends('admin.layout.index')
@section('content')
<!-- Page Container START -->
<div class="page-container">
<!-- Quick View START -->
<!-- Content Wrapper START -->
<div class="main-content">
<div class="container-fluid">
... |
@extends('main')
@section('content')
@include('respon.edit_promo.tambah_edit_promo')
<!-- partial -->
<div class="content-wrapper">
<div class="col-lg-12">
<nav aria-label="breadcrumb" role="navigation">
<ol class="breadcrumb bg-dark">
<li class="breadcrumb-item"><i class="fa fa-home"></i> <a href="#... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\modules\admin\controllers\PhotosController;
$action = 'Редактирование фотографии';
$this->title = $action;
$this->params['breadcrumbs'] = [
['label' => PhotosController::LIST_NAME, 'url' => ['sections']],
['label' => $model->section->name, 'url' =... |
@extends('admin.layouts.master')
@section('content')
<style>
#active{
margin-top:20px;
}
</style>
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Twitter</h3>
</div>
<div class="box-body... |
@extends('layouts.app')
@section('content')
<div class="everysinglepage">
<div class="container">
<div class="row">
@foreach($product as $row)
<div class="col-md-3">
<div class="arrivals_single_mr clearfix">
... |
<?php
/**
* Joomla! Content Management System
*
* @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Form\Rule;
defined('JPATH_PLATFORM') or die;
use Joomla\CMS\Form\Form;
use Joomla\CMS\For... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUserSession extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_session', f... |
<?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 declare(strict_types=1);
namespace Neomerx\Tests\JsonApi\Encoder;
/**
* Copyright 2015-2020 info@neomerx.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://www.apac... |
<?php
/**
* DetailTargetDetailStruct
*
* PHP version 5
*
* @category Class
* @package TencentAds
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Marketing API
*
* Marketing API
*
* OpenAPI spec version: 1.3
*
* Generated by: https://github.com/swag... |
<?php
/**
* Turkish language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Esther Brunner <wikidesign@gmail.com>
* Translation İlker R. Kapaç <irifat@gmail.com>
*/
// for the configuration manager
$lang['style'] = 'Pagelist tablolarının biçimi';
$lang['style_o_defaul... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Models\ApprovalDetails;
class ApprovalInsertController extends Controller
{
public function insertform(){
return view('approve');
... |
<?php
return [
/*
* The view to show to users when maintenance mode is currently enabled
*
* @var string
*/
'view' => 'errors/503',
/*
* Include CSS styles with the optional notification view
*
* @var boolean
*/
'notification-styles' => true,
/*
* Con... |
{!! Form::open(array('url'=>'almacen/inventario/stock','method'=>'GET','autocomplete'=>'off','role'=>'search')) !!}
<div class="form-group">
<div class="row" align="center">
<div class="col-sm-3" align="center"></div>
<div class="col-sm-6" align="center">
<div class="card" align="center">
<div clas... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Employee;
use App\Department;
class EmployeeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function __construct()
{
$this->midd... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Product;
/**
* ProductSearch represents the model behind the search form about `app\models\Product`.
*/
class ProductSearch extends Product
{
public $price2;
/**
* @inheritdoc
*/
public ... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('products', function (Blueprint $table) {
... |
<?php
/**
* Created by PhpStorm.
* User: mtochev
* Date: 5/23/2017
* Time: 9:57 AM
*/
namespace App\Pipes\Category\Destroy;
use App\Exceptions\Category\Destroy\Delete as ExceptionDelete;
use App\Pipes\Destroy\Delete as DestroyDelete;
use App\Passables\Category\Destroy as PassableDestroy;
use Closure;
use Throwab... |
<?php
class acf_field_textarea extends acf_field
{
/*
* __construct
*
* Set name / label needed for actions / filters
*
* @since 3.6
* @date 23/01/13
*/
function __construct()
{
// vars
$this->name = 'textarea';
$this->label = __("Text Area",'acf');
$this->defaults = array(... |
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 6,
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class ProjectSennovaBudgetRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<ul class="breadcrumb">
<li><a href="{{ url('/home') }}">Dashboard</a></li>
<li class="active">Ubah Profil</li>
</ul>
<div class="panel panel-default">
<div class="panel-heading">
//<h2 class="panel-title">Ubah... |
@extends('layouts.master', ['title' => 'Add Kewajiban'])
@section('content')
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header d-flex justify-content-between">
<h4 class="card-title">Form Data Kewajiban</h4>
<a href="{{ route('k... |
<?php
namespace app\admin\controller;
use app\common\controller\Admin;
use think\Db;
use think\Model;
class Index extends Admin
{
public function index()
{
$username = session('username'); // 用户名
$roleid = session('roleid'); // 角色ID
if($username == config('SPECIAL_USER')){ ... |
<?php
namespace Bootcamp\PanelBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction()
{
return $this->render('BootcampPanelBundle:Default:index.html.twig', array());
}
} |
<?php
require_once ("sql.php");
require_once("functions.php");
$user_id = clear_data($_GET["user_id"]);
$data = $mysqli->query("SELECT * FROM users WHERE id = $user_id");
if($data->num_rows) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE... |
<?php
use Illuminate\Http\Request;
Route::group(['namespace' => 'API', 'middleware' => 'auth_check'], function() {
Route::group(['middleware' => 'auth:api'], function() {
Route::get('auth/user', ['name' => 'auth.user', 'uses' => 'AuthController@getUser']);
Route::post('event/private', ['name' => '... |
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<title>upload</title>
</head>
<body>
<h1>Cadastrar Imagem</h1>
<?php
if(isset($_SESSION['msg'])){
echo $_SESSION['msg'];
unset($_SESSION['msg']);
... |
<div class="main-panel">
<div class="content-wrapper">
<div class="row">
<div class="col-lg-12 d-flex align-items-stretch grid-margin">
<div class="row flex-grow">
<div class="col-12">
<div class="card">
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Validator;
class AuthController extends Controller
{
public function showFormLog... |
<?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 Myli\DatadogLogger\Api;
use GuzzleHttp\Client;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Exception\GuzzleException;
use Monolog\Handler\AbstractProcessingHandler;
use Monolog\Handler\MissingExtensionException;
use Monolog\Logger;
/**
* Class DataDogApiHandler
*
* @package Myli\DatadogLogger... |
<?php
$host = getenv('DB_HOST');
$database = getenv('DB_DATABASE');
$username = getenv('DB_USERNAME');
$password = getenv('DB_PASSWORD');
if (getenv("DATABASE_URL")) {
$url = parse_url(getenv("DATABASE_URL"));
$host = $url["host"];
$username = $url["user"];
$passwor... |
<?php
$stmt = $database->prepare('SELECT id, titre, date FROM article WHERE id = :id');
$stmt->execute(array(':id' => $_GET['id']));
$row = $stmt->fetch();
if($row['id'] == ''){
header('Location: ./');
exit;
}
?>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Mon blong - <?php echo $row['titre'... |
<?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
class Hello_model extends CI_Model
{
public function hello_mardira()
{
return "Hello Mardira";
}
public function mardira_mvc()
{
return "Ini menggunakan MVC";
}
}
?> |
@extends('dashboard.seller.layout')
@section('page_title')
Seller's Dashboard
@endsection
@section('content')
<div class="col-md-10">
<div class="row col-md-12 text-center" style="background-color: #AF2E1D !important; padding: 10px; text-align: center !important; color:white">
<h1 class="tex... |
@extends('master')
@section('title')
New password | SKyDrops Beta
@endsection
@section('scripts')
{!! HTML::script('/js/jquery.min.js') !!}
{!! HTML::script('/js/bootstrap.min.js') !!}
{!! HTML::script('/js/jquery-ui.min.js') !!}
{!! HTML::script('/js/bootstrap-datepicker.js') !!}
{!! HTML::sc... |
<?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\Intl\Tests\Data\Util;
use PHPUnit\Framework\TestCase;... |
<?php namespace App;
use Illuminate\Database\Eloquent\Model;
use Validator;
use Eloquent;
class ForumQuestions extends Eloquent {
//Table
protected $table = 'forum_question';
public static $rules = array('topic' => 'required','detail' => 'required');
public static function validate($data){
return Validator::... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Tema extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('Admin_api_model/User_model_api', 'user');
$this->load->model('Admin_api_model/Kelas_model_api', 'kelas');
... |
<?php global $wpdb;?>
<script>
wpbs(document).ready(function(){
wpbs(".wpbs-calendars").css('min-height',wpbs('.wpbs-calendar-backend-wrap').height());
})
wpbs(window).bind('load resize',function(){
wpbs(".wpbs-calendars").css('min-height',wpbs('.wpbs-calendar-backend-wrap').height());
}... |
--TEST--
var_dump float test
--INI--
precision=12
--FILE--
<?php
// this checks f,g,G conversion for snprintf/spprintf
var_dump(array(ini_get('precision'),.012,-.012,.12,-.12,1.2,-1.2,12.,-12.,0.000123,.0000123,123456789012.0,1234567890123.0,12345678901234567890.0));
?>
--EXPECT--
array(14) {
[0]=>
string(2) "12"
... |
@extends('layout.master')
@section('head')
{{HTML::style('assets/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css')}}
@stop
@section('page')
<div class="row">
<div class="col-sm-12">
<div class="box simple">
<div class="box-title no-border">
<h4>Cr... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/var/www/grav-admin/system/config/media.yaml',
'modified' => 1486716906,
'data' => [
'types' => [
'defaults' => [
'type' => 'file',
'thumb' => 'media/thumb.png',
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostsTable extends Migration
{
/**
* Schema table name to migrate
* @var string
*/
public $tableName = 'posts';
/**
* Run the migrations.
... |
<?php
/**
* This file is part of the Imbo package
*
* (c) Christer Edvartsen <cogo@starzinger.net>
*
* For the full copyright and license information, please view the LICENSE file that was
* distributed with this source code.
*/
namespace Imbo\EventListener;
use Imbo\EventManager\EventInterface,
Imbo\Event... |
<div class="content-wrapper">
<section class="content-header">
<h1>
<i class="fa fa-money"></i> <?php echo $this->lang->line('fees_collection'); ?> </h1>
</section>
<section class="content">
<div class="row">
<form id='feesforward' action="<?php echo site_url('admin... |
<?php
$curl = curl_init('f5.cr/deleteAllTmpReservationsEndDay');
$resp = curl_exec($curl);
curl_close($curl);
echo $resp;
?> |
<div class="container-fluid">
<div class="page-content-wrapper">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<div class="mb-5">
<button class="btn btn-primary" id="btn-add-role" data-bs-toggle="modal" data-bs-target="#addModalUser" onclick="$('#form-a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.