text stringlengths 2 1.03M |
|---|
<?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\Twig\Extension;
use ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\PartnerTransaction;
class PartnerTransactionController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function index() {
$transactions = PartnerTransaction::paginate(... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSousStationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sous_stati... |
<?php require_once('header.php');?>
<div class="main-content-inner">
<div class="row">
<!-- left align tab start -->
<div class="col-12">
<div class="card">
<div class="card-body">
... |
<?php declare(strict_types=1);
namespace UcanLab\LaravelDacapo\Dacapo\Domain\ValueObject\Schema\ColumnType;
use UcanLab\LaravelDacapo\Dacapo\Domain\ValueObject\Schema\ColumnName;
use UcanLab\LaravelDacapo\Dacapo\Domain\ValueObject\Schema\ColumnType;
class JsonbType implements ColumnType
{
/**
* @param Colum... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Dishes extends Model
{
//
public $table = 'dishes';
public $timestamps = false;
public function category()
{
return $this->hasOne('App\Models\Category', 'id', 'category_id');
}
} |
<?php
include_once( "../api/phpFITFileAnalysis.php" );
try {
$fit = new adriangibbons\phpFITFileAnalysis( 't.fit' );
print_r( array_keys($fit->data_mesgs['record']) );
#print_r( $fit->data_mesgs['session']['avg_altitude'] );
}catch(Exception $e ){
printf( "ERROR: can't process fit file for id %d. Error... |
<?php
Route::redirect('/', '/login');
Route::redirect('/home', '/admin');
Auth::routes(['register' => false]);
Route::resource('daftar','RegistrationController');
Route::get('daftar-sukses', 'RegistrationController@successReg')->name('daftar-sukses');
Route::post('post-register', 'RegistrationController@store')->na... |
<?php
$params = require(__DIR__ . '/params.php');
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'components' => [
'request' => [
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
'... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateWorshipBuildingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('worshi... |
<?php
/**
* Created by Maksym Ignatchenko, Appus Studio LP on 31.10.2018
*
*/
namespace App\DataTables;
use App\Modules\Admins\Models\Category;
use App\Modules\Admins\Models\Type;
use Illuminate\Database\Eloquent\Builder;
use Yajra\DataTables\EloquentDataTable;
use Yajra\DataTables\Services\DataTable;
use Yajra\Da... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
// we import DB for using query builder
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Redirect;
class StudentController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Htt... |
<?php
namespace EscolaLms\Consultations\Helpers;
class StrategyHelper
{
private string $namespace;
public function __construct(string $baseStrategyName)
{
$this->setNamespace($baseStrategyName);
}
/**
* This method used strategy pattern and execute method given in the parameters
... |
<?php
// Silence is golden. We also agree :) |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateConfigTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('config', functio... |
<?php
require_once('includes/config.php');
// BigDump ver. 0.35b from 2012-12-26
// Staggered import of an large MySQL Dump (like phpMyAdmin 2.x Dump)
// Even through the webservers with hard runtime limit and those in safe mode
// Works fine with Internet Explorer 7.0 and Firefox 2.x
// Author: Alexey Ozerov (... |
<!DOCTYPE html>
<html class="fullscreenbody" 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">
<title>Simon Hollingshead · Launch Calendar</title>
<link hr... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterUsersTableToAddNewColumnBranchToken extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::t... |
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20200101181529 extends AbstractMigration
{
public function getDescription(): string
{
return 'Creates table to store uploaded files';
}
... |
<?php
use App\Product;
use Faker\Generator as Faker;
$factory->define(App\Review::class, function (Faker $faker) {
return [
'product_id' => function(){
return Product::all()->random();
},
'customer' =>$faker->name,
'review' =>$faker ->paragraph,
'star' =>$faker->numberBetwee... |
@if ($notifications->count())
@foreach ($notifications as $notification)
@include('notification/notificationPartial')
@endforeach
@else
No notifications
@endif |
<?php namespace App\Http\Controllers;
use DB;
class PagesController extends Controller {
/**
* Setup the layout used by the controller.
*
* @return void
*/
/* METODES, KAS NOSTRAADAA UZ ROUTES */
protected function index()
{
return view('pages.index');
}
protected function perk(... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMailNoticesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mail_notice... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use app\models\general\GeneralLabel;
use app\models\general\GeneralMessage;
/* @var $this yii\web\View */
/* @var $model app\models\RefJenisPenganjuran */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => GeneralLabel::jenis_penganjuran, '... |
<?php
/**
* Copyright 2015 Google Inc. 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 required by... |
<!DOCTYPE html>
<html>
<title>Home</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.s... |
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
html, body { height: 100%; margin: 0; padding: 0; }
#map { height: 100%; }
</style>
</head>
<body>
<div id="map"></div>
<script async defer src="https://maps.googleapis.com/maps/api/js?key={{ env('GOOGLE_API_KEY') }}&libraries=visualization&callback... |
<?php
declare(strict_types=1);
/*
* This file is part of the Symfony Process Executor library.
*
* (c) Norbert Orzechowicz <contact@norbert.tech>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NorbertTech\SymfonyProce... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddOrderStatusToOrdersTable22 extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('orde... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use App\Traits\Uuids;
class Company extends Model
{
use Uuids, SoftDeletes;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name',... |
<?php
namespace App\Listeners;
use App\User;
use App\Profile;
use App\Events\registerProfile;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
class createProfile
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
... |
<?php // content="text/plain; charset=utf-8"
require_once ('jpgraph/jpgraph.php');
require_once ('jpgraph/jpgraph_line.php');
// Some (random) data
$ydata = array(11,3,8,12,5,1,9,13,5,7);
// Size of the overall graph
$width=350;
$height=250;
// Create the graph and set a scale.
// These two calls are always required... |
<?= $this->extend('layout/template'); ?>
<?= $this->section('content'); ?>
<div class="container">
<div class="card">
<div class="card-header">
<h3>Tambah Data Users</h3>
</div>
<div class="card-body">
<?php if (!empty(session()->getFlashdata('error'))) : ?>
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Войти') }}</div>
<div class="card-body">
<form method="POST... |
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysqli';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = '';
$g_crypto_master_salt = 'nqQhLveG7GpxwcSTONXIx9DQOC4gYWu9FPLL5gWOZWI=';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'localhost';
$g_signup_use_captcha = OFF; |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<!-- 添加到主屏后的标题(iOS 6 新增) -->
<meta name="apple-mobile-web-app-title" content="速贷之家">
<!-- 是否启用 WebApp 全屏模式,删除苹果默认的工具栏和菜... |
<?php
namespace Database\Seeders;
use App\Models\Recipient;
use Faker\Factory;
use Illuminate\Database\Seeder;
class RecipientSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Recipient::truncate();
$recipients =... |
<script src="bootstrap4/js/jquery.js"></script>
<script src="bootstrap4/js/bootstrap.min.js"></script>
</body>
</html> |
@extends('layouts.app')
@section('content')
<div class="container">
<a href="{{route('subjects.create')}}" class="btn btn-primary btn-lg btn-block" >Create Subject</a>
<div class="card">
<div class="card-header">
Subjects
</div>
<table cla... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace lliyplliuk\eBaySDK\Trading\Types;
/**
*
* @property integer $ActiveAuctionCount
* @property integer... |
<?php
namespace Commerce;
use Commerce\Http\ApiHelper;
class Checkout extends Http\ApiResource
{
/**
* Commerce\Checkout::capture();
*/
public static function capture($identifier,$parameters, $query_parameters = [])
{
$_queryBuilder = Auth::$apiBase.'/checkouts/{identifier}';
$path_... |
<?php
namespace Database\Factories;
use App\Models\Article;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class ArticleFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model... |
<?php
/**
* baserCMS : Based Website Development Project <https://basercms.net>
* Copyright (c) baserCMS Users Community <https://basercms.net/community/>
*
* @copyright Copyright (c) baserCMS Users Community
* @link https://basercms.net baserCMS Project
* @package Baser.View
* @since baserCMS v 0.1.0
*... |
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endi... |
<?php
return array(
"path_api_select_file" => "请选择文件...",
"path_api_select_folder" => "请选择文件夹...",
"path_api_select_image" => "请选择图片...",
"share_can_upload" => "允许上传",
"move_error" => "移动失败",
"setting_basic" => "基础设置",... |
<?php namespace ZeroX;
use \ZeroX\Vars\VarCollection;
class RouterInstance {
const OK = 1;
const ENOT_FOUND = -1;
const EINVALID_METHOD = -2;
public $vars;
protected $routes = [];
protected $deferred = [];
protected $instance = null;
protected $ran_deferred = false;
public f... |
@extends('layouts.main')
@section('content')
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Create</h1>
<a href="{{route('cities.index')}}" class="d-none d-sm-inline-block btn btn-sm btn-primary shadow-sm"><i
class="fas fa-ba... |
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Sec... |
--TEST--
SPL: AppendIterator and its ArrayIterator
--FILE--
<?php
function test_error_handler($errno, $msg, $filename, $linenum)
{
echo "Error $msg in $filename on line $linenum\n";
return true;
}
set_error_handler('test_error_handler');
$it = new AppendIterator;
try {
$it->append(array());
} catch (Err... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ConfirmsPasswords;
class ConfirmPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Confirm Password Controller
|--------... |
@extends('admin.Layouts')
@section('admin_content')
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<div class="... |
<?php
require_once 'control/ctl_template.php';
$c = new PageController();
?>
<table class="centrado borde" <?=$conf_tablas?>>
<tr>
<td colspan="<?=$c->cSpan?>" class="titulo">
<div style="width:65%;padding:4px;float:left;">
<span style="color:#FFBF2A">.::</span>
... |
<!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>CDU Info Center</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.c... |
<?php
/**
* Created by PhpStorm.
* User: Armando_Navarro
* Date: 26/03/2017
* Time: 02:19 PM
*/
?>
<script type="text/javascript" src="<?php echo base_url('assets/js/user.js'); ?>"></script>
<div class="container">
<div id="modalUser" class="modal">
<div class="modal-dialog">
<div class="m... |
<?php if ( ( get_option('flow_featured_slideshow') == 0 && is_front_page() && wp_count_posts('slideshow')->publish >= 1 ) || ( $_SERVER['SERVER_NAME'] == 'themes.devatic.com' && $_GET['featured'] ) ) { ?>
<script type="text/javascript">
var featuredScroll;
var current_slide = 0; // Initial slide is always 0
var ... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'AddBannedToUsers' => $baseDir . '/database/migrations/2015_04_26_175824_add_banned_to_users.php',
'AddIsOnlineToUsersTable' => $baseDir . '/database/migrations/2015_04... |
@extends('layouts.app')
@section('content')
<h1>Customer Product Profile</h1>
<div class="text-danger">* Mandatory</div>
<form action="{{ url('/customerproduct') }}" method="post">
@csrf
<div class="form-group">
<label for="customerid">Customer</label><span class="text-danger">*</span>
<select name="customer_... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use T... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Employees extends Model
{
use HasFactory;
protected $table = 'employees';
} |
<?php
$razon = "";
if (count($_POST)==2) {
foreach ($_POST as $key => $value) {
if ($key=="equipo") {
$consulta = new Consultar();
$instruccion = "SELECT * FROM ".TABLAS['eq']." WHERE serial='".$value."'";
$array = $consulta->getDates($instruccion);
... |
<?php
use Illuminate\Database\Seeder;
use App\ConfirmedList;
class confirmedListSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// Date Table convocations
factory(ConfirmedList::class, 10)->create();
}
} |
<?php
namespace metastore;
/**
* Autogenerated by Thrift Compiler (0.13.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
use Thrift\Base\TBase;
use Thrift\Type\TType;
use Thrift\Type\TMessageType;
use Thrift\Exception\TException;
use Thrift\Exception\TProtocolException;
use... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use T... |
<?php
namespace Intervention\Image\Gd\Commands;
class MaskCommand extends \Intervention\Image\Commands\AbstractCommand
{
/**
* Applies an alpha mask to an image
*
* @param \Intervention\Image\Image $image
* @return boolean
*/
public function execute($image)
{
$mask_source... |
<?php
namespace App\Models;
use App\Concern\Likeable;
use App\Scopes\PostedScope;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Support\Str;
class Post extends ... |
@extends('siravel-frontend::layout.master')
@section('seoDescription') {{ $blog->seo_description }} @endsection
@section('seoKeywords') {{ $blog->seo_keywords }} @endsection
@section('content')
<div class="container">
<h1 class="page-header">{!! $blog->title !!} <span class="pull-right">{!! \Carbon\Carbon::pars... |
<?php namespace App\Core\Components\Flash;
use Illuminate\Session\Store;
class LaravelSessionStore implements SessionStore {
/**
* @var Store
*/
private $session;
/**
* @param Store $session
*/
function __construct(Store $session)
{
$this->session = $session;
}
... |
<?php
/**
* Created by PhpStorm.
* User: eunju
* Date: 2018-07-11
* Time: 오후 11:35
*/
class Member_model extends CI_Model
{
public function __construct()
{
parent::__construct();
}
private function setWhere($where = array())
{
if (isset($where['where']) && !empty($where['whe... |
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Tracker;
use Piwik\Archive\ArchiveInvalidator;
use Piwik\Common;
use Piwik\Config;
use Piwik\Container\StaticContainer;
use Piwik\Date;
use Piwik\... |
@extends('adminlte::page')
@section('title', 'StudentBook')
@section('content_header')
<h1>Grade profile</h1>
@stop
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel... |
@extends('main')
@section('title', "$category->name")
@section('content')
<div class="container">
<div class="col-md-12">
@if(count($posts) >0)
@foreach($posts as $post)
@if($post->image !== null)
<img src="{{ asset('img/'.$post->image)... |
<?php
namespace App\Http\Controllers\API;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use DB;
use Carbon\Carbon;
use App\User;
use Illuminate\Support\Facades\Hash;
use App\Traits\GlobalFunctions;
use App\Traits\NotificationFunctions;
class UserController extends Controller
{
use GlobalFunct... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\models\{Chapter,Story,Category};
class ChapterController extends Controller
{
public function Index(){
$chapter = Chapter::orderBy('id','desc')->paginate(10);
$category = Category::all();
return view('admin.chapter... |
@extends('admin/layout/master')
@section('content')
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h3><small></small></h3>
</div>
</div>
<div class="... |
<?php
namespace Chamilo\Core\Repository\Implementation\Wikimedia;
use Chamilo\Libraries\Translation\Translation;
use Chamilo\Libraries\Utilities\StringUtilities;
class ExternalObject extends \Chamilo\Core\Repository\External\ExternalObject
{
const OBJECT_TYPE = 'wikimedia';
const PROPERTY_URLS = 'urls';
c... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use T... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudAppSecuritySessionControl File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All right... |
@extends('layouts.master', ['homepageLink' => 'active'])
@section('title'){{ env('APP_NAME') }} @stop
@section('meta')
<meta name="title" content="{{ $page->meta_title }}" />
<meta name="description" content="{{ $page->meta_description }}" />
<meta property="og:site_name" content="{{ env('APP_NAME') }}" ... |
<!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="">
<meta name="csrf-token" content="{{ csr... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* App\Models\City
*
* @method static \Illuminate\Database\Eloquent\Builder|City newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|City newQuery()
* @method static \... |
<?php //ICB0 71:0 ?><?php //00ee5
// *************************************************************************
// * *
// * WHMCS - The Complete Client Management, Billing & Support Solution ... |
<?php
/*class Nonmember_model extends CI_Model
{
public function __construct()
{
//$this->load->database();
$this->load->database('warmup_project');
}
public function get_nonmember()
{
$query = $this->db->get('non_member');
return $query->result_array();
}
public funct... |
<?php
use yii\base\NotSupportedException;
use yii\db\ActiveRecord;
use yii\helpers\Security;
use yii\web\IdentityInterface;
namespace common\models;
use Yii;
/**
* This is the model class for table "users".
*
* @property integer $UserID
* @property string $LastName
* @property string $MiddleName
* @property str... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddCsvClassSeriesHashAndFiveImageFieldsToProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function u... |
<?php
header("Content-type: application/javascript");
?>
$(document).ready(function(){
$.ajax({
url: "<?php echo site_url("ajaxMsg/loadInbox") ?>",
type: 'POST',
success: function(msg){
$("#msgBody").html(msg);
}
});
}); |
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by Sales... |
<?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
/**
* Locale data for 'hi'.
*
* This file is automatically generated by yiic cldr command.
*
* Copyright © 1991-2013 Unicode, Inc. All rights reserved.
* Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
*
* @copyright 2008-2014 Yii Software LLC (http://www.yiiframework.com/lice... |
<?php
namespace App\Support;
use Illuminate\Routing\UrlGenerator as BaseGenerator;
class UrlGenerator extends BaseGenerator
{
protected function newGetRootUrl($scheme, $root = null)
{
if ($root == null) {
$root = parent::getRootUrl($scheme). (defined('LARAVEL_SHARED') ? '/public' : '');
... |
<?php
namespace nickurt\Plesk;
use nickurt\Plesk\HttpClient\HttpClient;
class Client
{
/** @var \nickurt\Plesk\HttpClient\HttpClient */
protected $httpClient;
/** @var array */
protected $options = [];
/**
* @param $method
* @param $args
* @return Api\Authentication|Api\Clients|A... |
<?php
namespace App\Pages\Report;
use App\Helper as H;
use Zippy\Html\Form\Date;
use Zippy\Html\Form\Form;
use Zippy\Html\Form\CheckBox;
use Zippy\Html\Label;
use Zippy\Html\Link\RedirectLink;
use Zippy\Html\Panel;
use \App\Entity\Pay;
/**
* Платежный баланс
*/
class PayBalance extends \App\Pages\Base
{
publ... |
<?php
namespace Piwik\Plugins\TrackerJsCdnSync\BunnyCdn;
use Piwik\Plugins\TrackerJsCdnSync\IOService;
class IOServiceForBunnyCdn implements IOService
{
private $config;
private $helper;
function __construct($config)
{
$this->config = $config;
$this->helper = new BunnyCdnHelper($th... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may s... |
<?php
if (!defined('WPO_VERSION')) die('No direct access allowed');
class WP_Optimization_optimizetables extends WP_Optimization {
protected $auto_id = 'optimize';
protected $setting_id = 'optimize';
protected $dom_id = 'optimize-db';
public $available_for_saving = true;
public $available_for_auto = true;
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Crear Articulo</div>
<div class="card-body">
@if (session('status'... |
<?php
/**
* SocialConnect project
* @author: Patsura Dmitry https://github.com/ovr <talk@dmtry.me>
*/
namespace SocialConnect\OAuth2\Provider;
use SocialConnect\Common\Http\Client\Client;
use SocialConnect\OAuth2\AccessToken;
use SocialConnect\Provider\AccessTokenInterface;
use SocialConnect\Provider\Exception\Inv... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSettingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('settings', fun... |
<?php
declare(strict_types=1);
namespace PSA\Models;
use Phalcon\Mvc\Model;
/**
* RememberTokens
* Stores the remember me tokens
*/
class RememberTokens extends Model
{
/**
* @var integer
*/
public $id;
/**
* @var integer
*/
public $userID;
/**
* @var string
*/
... |
<?php
namespace App\Repositories;
use App\Models\Leave;
class LeaveRepositories
{
public function getRecordByStaff($take = 0, $skip = 0, $staffSn = null)
{
if (empty($staffSn)) {
$staffSn = app('CurrentUser')->staff_sn;
}
$response = Leave::where('staff_sn', $staffSn)
... |
<?php
namespace App;
use Illuminate\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
use Illuminate\Databas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.