text stringlengths 2 1.03M |
|---|
<?php
/* Get all Course Periods being taught by the From Teacher */
/* the general rosario functions do not persis into ajax called PHP as they are normally loaded through a warehouse function routine. So we have to get them back in play
We could rebuild the database connection and the query call ability BUT then we... |
<?php
require_once('header.php');
require_once('../class/product.php');
require_once('../class/dbcon.php');
$obj= new DB();
$obj2=new Product();
?>
<?php
if(isset($_POST['submit'])){
$drop=isset($_POST['drop'])?$_POST['drop']:'';
$name=isset($_POST['name'])?$_POST['name']:'';
$url=isset($_POST['url'])?$_POST[... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddSoftDeleteToPatientResearchsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\LogTamu */
$this->title = 'Tambah Log Tamu';
$this->params['breadcrumbs'][] = ['label' => 'Log Tamu', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="log-tamu-create">
<h3><?= Html::encode($thi... |
<?php
namespace GT\GestionTournoisBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Systeme
*/
class Systeme
{
/**
* @var string
*/
private $id;
/**
* @var string
*/
private $code;
/**
* @var string
*/
private $intitule;
/**
* @var string
*... |
<?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 RectorPrefix20210609\Symfony\Component\DependencyInjection\Dumper;
use R... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model frontend\models\Pengadaan */
$this->title = 'Create Pengadaan';
$this->params['breadcrumbs'][] = ['label' => 'Pengadaans', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="pengadaan-create">
<h1><?= Html::... |
<?php $__env->startSection('content'); ?>
<br>
<br>
<div class="container">
<h1>
Data Pembayaran
<small>Control panel</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Data Pembayaran <?php ... |
<?php
namespace app\modules\lessons\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\lessons\models\Lesson;
/**
* LessonSearch represents the model behind the search form about `app\modules\lessons\models\Lesson`.
*/
class LessonSearch extends Lesson
{
/**
* @inheritdo... |
<?php
namespace App\Http\Middleware;
use Closure;
use App;
class LangMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if ($lang... |
<?php
namespace CWM\BroadWorksConnector\Ocip\Traits;
use CWM\BroadWorksConnector\Ocip\Models\EnterpriseBroadWorksMobileManagerActivationRequest;
use CWM\BroadWorksConnector\Ocip\Models\EnterpriseBroadWorksMobileManagerAddHomeZoneRequest;
use CWM\BroadWorksConnector\Ocip\Models\EnterpriseBroadWorksMobileManagerAddRequ... |
<?php
namespace Podlove\Api\Episodes;
use Podlove\Model\Episode;
use Podlove\Model\Podcast;
add_action('rest_api_init', __NAMESPACE__.'\\api_init');
function api_init()
{
register_rest_route('podlove/v1', 'episodes', [
'methods' => 'GET',
'callback' => __NAMESPACE__.'\\list_api',
'permis... |
<?php
declare(strict_types=1);
namespace Elgentos\RegenerateCatalogUrls\Service;
use Exception;
use Magento\Catalog\Api\Data\ProductInterface;
use Magento\Catalog\Model\Product;
use Magento\Catalog\Model\Product\Attribute\Source\Status;
use Magento\Catalog\Model\Product\Visibility;
use Magento\Catalog\Model\Resource... |
<?php
/**
* Mmi Framework (https://github.com/milejko/mmi.git)
*
* @link https://github.com/milejko/mmi.git
* @copyright Copyright (c) 2010-2016 Mariusz Miłejko (http://milejko.com)
* @license http://milejko.com/new-bsd.txt New BSD License
*/
namespace CmsAdmin\Plugin;
use CmsAdmin\Grid\Column;
/**... |
<!-- Begin Page Content -->
<div class="container-fluid">
<?php foreach ($folder as $folder) : ?>
<?= form_open_multipart('mydrive/create/' . $folder['id_folder']) ?>
<div class="card text-center mt-5 mx-auto" style="width: 75vw;">
<i class="fas fa-file-upload mt-5 mb-2" style="font-size: 15vw"></i>
... |
<style>
.entry:not(:first-of-type)
{
margin-top: 10px;
}
.glyphicon
{
font-size: 12px;
}
.input-group[class*=col-] {
float: none;
padding-right: 14px;
padding-left: 14px;
}
</style>
<div class="content-wrapper">
<section class="content">
<div class="row">
<!-- left column -->
... |
<?php
/**
* @link:http://www.zjhejiang.com/
* @copyright: Copyright (c) 2018 浙江禾匠信息科技有限公司
*
* Created by PhpStorm.
* User: 风哀伤
* Date: 2018/10/9
* Time: 14:57
*/
$urlManager = Yii::$app->urlManager;
$statics = Yii::$app->request->baseUrl . '/statics';
?>
<div>
<div class="d-flex p-2">
<div class="co... |
<?php
/**
* Copyright (C) Alibaba Cloud Computing
* All rights reserved
*/
require_once realpath(dirname(__FILE__) . '/Response.php');
require_once realpath(dirname(__FILE__) . '/QueriedLog.php');
/**
* The response of the GetLog API from log service.
*
* @author log service dev
*/
class Aliyun_Log_Models_LogS... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class WorldCountriesLocaleTableSeeder extends Seeder
{
/**
* Auto generated seed file
*
* @return void
*/
public function run()
{
\DB::table('world_countries_locale')->truncate();
\DB... |
<?php
namespace MkyCore\Tests;
use MkyCore\App;
use MkyCore\Exceptions\Dispatcher\EventNotFoundException;
use MkyCore\Exceptions\Dispatcher\EventNotImplementException;
use MkyCore\Exceptions\Dispatcher\ListenerNotFoundException;
use MkyCore\Exceptions\Dispatcher\ListenerNotImplementException;
use PHPUnit\Framework\Te... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
// +----------------------------------------------... |
<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Gate;
use Laravel\Passport\Passport;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
... |
<?= $this->extend('user/template'); ?>
<?= $this->section('konten'); ?>
<main class="form-signin">
<div class="swal" data-swal="<?= (session()->getFlashdata('notifikasi')); ?>"></div>
<div class="gagal" data-gagal="<?= (session()->getFlashdata('gagal')); ?>"></div>
<form action="/User/login" method="pos... |
<?php
namespace Bazo\FeatureToggler\DI;
use Bazo\FeatureToggler\BackendDrivenToggler;
use Bazo\FeatureToggler\Diagnostics\Panel;
use Bazo\FeatureToggler\Latte\FeaturesMacros;
use Bazo\FeatureToggler\TemplateHelpers;
use Bazo\FeatureToggler\Toggler;
use Nette\DI\CompilerExtension;
/**
* @author Martin Bažík <martin... |
<?php
/**
* @file
* Autoloader for Drupal PHPUnit testing.
*
* @see phpunit.xml.dist
*/
use Drupal\Component\Assertion\Handle;
/**
* Finds all valid extension directories recursively within a given directory.
*
* @param string $scan_directory
* The directory that should be recursively scanned.
* @return ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAdminsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('admins', functio... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use App\User;
use App\Models\UserAddress;
use App\Models\OrderProduct;
use App\Models\Coupon;
use App\Models\CustomerGiftCards;
use App\Models\OrderTrack;
use Illuminate\Database\Eloquent\SoftDeletes;
class Order extends Model
{
const VISA_PAYMEN... |
<html>
<head>
<meta charset="UTF-8" />
<title>Alcaldía Metapán | Reporte</title>
<style>
.firma {
left: 0;
font-size: 20px;
margin-top: 200px;
text-align: left;
page-break-inside: avoid;
}
br[style] {
display:... |
<?php
define('STDIN',fopen("php://stdin","r"));
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves ... |
<?php
var_dump(gmp_strval(gmp_sqrt(-2)));
var_dump(gmp_strval(gmp_sqrt("-2")));
var_dump(gmp_strval(gmp_sqrt("0")));
var_dump(gmp_strval(gmp_sqrt("2")));
var_dump(gmp_strval(gmp_sqrt("144")));
$n = gmp_init(0);
var_dump(gmp_strval(gmp_sqrt($n)));
$n = gmp_init(-144);
var_dump(gmp_strval(gmp_sqrt($n)));
$n = gmp_init(... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDepartmentsTable extends Migration
{
public function up()
{
Schema::create('departments', function (Blueprint $table) {
$table->bigIncrements('i... |
<?php return array (
'AC' => 'Ascension',
'AD' => 'Andorra',
'AE' => 'Vereinigte Arabische Emirate',
'AF' => 'Afghanistan',
'AG' => 'Antigua und Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albanien',
'AM' => 'Armenien',
'AN' => 'Niederländische Antillen',
'AO' => 'Angola',
'AQ' => 'Antarktis',
'AR' =... |
<?php
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<!--Title-->
<title>Đổi Mật Khẩu</title>
<!-- Bootstrap ... |
<?php
namespace Users\Action;
use App\Action\AppAction;
use Cake\ORM\TableRegistry;
use Rad\Network\Http\Response;
use Users\Domain\Table\UsersTable;
use Users\Library\AuthorizationTrait;
/**
* Delete Method Action
*
* @package Users\Action
*/
class DeleteMethodAction extends AppAction
{
use AuthorizationTra... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use PhpParser\Node\Expr\FuncCall;
use App\Role;
use App\Student;
use App\Comment;
class User extends Authenticatable
{
use Notifiable;
/**
... |
<!-- Start Page Content -->
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body p-b-0">
<h4 class="card-title"><h6 class="m-0 font-weight-bold text-... |
<?php
$lang->upgrade->upgradeXuanxuan = '升級喧喧'; |
<!-- row -->
<div class="row row-sm">
<div class="col-lg-8 col-xl-8 col-md-12 col-sm-12">
<div class="card box-shadow-0">
<div class="card-header">
<h4 class="card-title mb-1">sliders</h4>
{{--<p class="mb-2">It is Very Easy to Customize and it uses in your websi... |
@extends('template/header')
@section('content')
<section class="content">
<div class="container-fluid">
<div class="block-header">
<h2>Transaction</h2>
<small>Reservation Step 1</small>
</div>
@include('tooltips/tooltips')
... |
<?php namespace Anomaly\Streams\Platform\Ui\Form\Command;
use Anomaly\Streams\Platform\Addon\FieldType\FieldType;
use Anomaly\Streams\Platform\Ui\Form\FormBuilder;
use Illuminate\Session\Store;
/**
* Class FlashFieldValues
*
* @link http://pyrocms.com/
* @author PyroCMS, Inc. <support@pyrocms.com>
* @author Ry... |
<?php
namespace core\forms\auth;
use yii\base\Model;
class LoginForm extends Model
{
public $username;
public $password;
public $rememberMe = true;
public function rules()
{
return [
[['username', 'password'], 'required'],
['rememberMe', 'boolean'],
];
... |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_weblinks
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Weblinks list controller class.
*... |
<?php
declare(strict_types=1);
namespace Whsv26\Functional\Core\Tests\Runtime\Option;
use Whsv26\Functional\Core\Option;
use PHPUnit\Framework\TestCase;
use Whsv26\Functional\Core\Unit;
use Whsv26\Functional\Core\Option\None;
use Whsv26\Functional\Core\Option\Some;
final class OptionDoNotationTest extends TestCase
... |
<?php
/**
* This file is part of the SevenShores/NetSuite library
* AND originally from the NetSuite PHP Toolkit.
*
* New content:
* @package ryanwinchester/netsuite-php
* @copyright Copyright (c) Ryan Winchester
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0
* @link https://githu... |
<style type="text/css">
.highcharts-credits{
display: none;
}
.container{
width: 50%;
float: left;
}
.container > div > div{
border: 1px solid #888;
}
.container > div{
width: 100%;
/* padding-bottom: 5px; */
max-width: 100%;
}
.screen {
height: 100vh;
max-height: 100vh;
}
.odometer {
dis... |
<header class="am-topbar admin-header" style="background-color:black; color:white;">
<div class="am-topbar-brand">
<strong>{{$setting['siteName']}}</strong>
{{-- <strong>Steffen孔 博客后台管理系统</strong>--}}
</div>
<button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-sho... |
#!/usr/bin/php -q
<?php
// $Id: f78b74039ace12230df6338c9555ec120264098a $
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2022 The Cacti Group |
| |
| This pro... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categories',... |
<?php
namespace Maatwebsite\Excel\Tests\Concerns;
use Illuminate\Contracts\View\View;
use Illuminate\Support\Collection;
use Maatwebsite\Excel\Concerns\Exportable;
use Maatwebsite\Excel\Concerns\FromView;
use Maatwebsite\Excel\Concerns\WithMultipleSheets;
use Maatwebsite\Excel\Tests\Data\Stubs\Database\User;
use Maat... |
<?php
declare(strict_types = 1);
/**
* Key
*
* @package Evoke\Service\Processing\Rule
*/
namespace Evoke\Service\Processing\Rule;
/**
* Key rules match on a single key in the data.
*
* @author Paul Young <evoke@youngish.org>
* @copyright Copyright (c) 2015 Paul Young
* @package Evoke\Service\Processing... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateEventTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('event', function ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Department;
use App\Models\Employee;
use App\Models\Leavedate;
use App\Models\Leavetype;
class ApprovedleavesController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Respo... |
<?php
use Faker\Generator as Faker;
use App\User;
use App\Product;
use App\Transaction;
use App\Seller;
use App\Category;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory shou... |
<?php
/**
* This file is part of the Global Trading Technologies Ltd workflow-extension-bundle package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* (c) fduch <alex.medwedew@gmail.com>
* @date 14.07.16
*/
declare(strict_types=... |
<?php
/**
* Created by PhpStorm.
* user: yingjun
* Date: 2019-01-26
* Time: 23:12
*/
namespace app\product\controller;
use app\product\extend\CartExtend;
use app\product\model\BookImgModel;
use app\product\model\BookModel;
use app\product\model\BookOrderModel;
use app\product\model\HarvestAddressModel;
use think... |
<img src="{{asset('img/oum.png')}}" alt="Image" {{ $attributes }}/> |
<?php
namespace App\Models\Station;
use Illuminate\Database\Eloquent\Model;
class Station extends Model
{
protected $primaryKey='Station_ID';
public $timestamps = false;
//belongsto
public function CountryData(){
return $this->belongsTo('App\Models\Country\Country', 'Country_ID');
}
public function StationType... |
<div class="row">
<div class="col-12">
<div class="row">
<div class="box box-solid box-success">
<div class="box-header">
<h4>Maestro de Usuarios <button type="button" class="btn btn-primary" id="btnNuevo" title="haga un click aqui para ingresar un nuevo socio... |
@extends('layouts.main')
@section('content')
<h1>TODO Lists</h1>
@if (isset($todoLists))
@php
$i = 0;
@endphp
@foreach ($todoLists as $todo)
@if ($i % 3 == 0)
<div class="row">
@endif
<div class="col-sm-4">
... |
<?php
// try {
// Medick::depends_on('context');
// } catch(Exception $ex) {
// Medick::load_framework('context');
// }
// Logger Framework AutoLoadder
function __logger_autoload($class) {
$base = dirname(__FILE__).DIRECTORY_SEPARATOR;
// logger/outputter
if(strpos(strtolower($class), 'outputter') !== fals... |
<?php
namespace App\GitoliteAdminRepository;
class Conf
{
/** @var string */
private const FILE_EXTENSION = 'conf';
/** @var string */
private const FOLDER_NAME = 'conf/repos';
/**
* Create a new Gitolite repository configuration instance.
*
* @param string $repository_name
*... |
<?php
namespace Elasticsearch\Endpoints;
use Elasticsearch\Common\Exceptions;
/**
* Class CountPercolate
*
* @category Elasticsearch
* @package Elasticsearch\Endpoints
* @author Zachary Tong <zach@elastic.co>
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
* @link http://elastic.co
*/
c... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class UserRide extends Model
{
public $table = "user_ride";
public $fillable = [
'id',
'name',
'phone',
'country',
'city',
'email',
'license',
'created_at',
'updated_at'
]... |
<?php
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... |
<?php
/**
* Created by PHP7.
* User: Oleksandr Serdiuk
* SSF Framework 1.0
* Date: 17.08.2016
* Time: 15:06
*/
namespace App\Http\Controllers\Delivery\Novaposhta;
use App\Http\Controllers\Controller;
class NPTrackingController extends Controller
{
public static function actionGetTrackingData( $order_id ) ... |
<div align="center">
@if ($apl_id == 1)
<div class="fb-page" data-href="https://www.facebook.com/pokemongosiyoz/" data-tabs="timeline" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/pokemongosiyoz/" class="fb-xfbml... |
<?php
namespace FotoPrisma;
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 = [
'name', '... |
<?php
namespace Danonek\Kernel;
use Danonek\Kernel\Controllers\AccountController;
use Danonek\Kernel\Controllers\ApiController;
use Danonek\Kernel\Router as Route;
use Danonek\Kernel\Controllers\Controller;
use Danonek\Kernel\Tools\Utils;
use Danonek\Kernel\Providers\DataRetriever;
use Danonek\Kernel\Providers\RedisH... |
<?php
declare(strict_types=1);
function add(int $num1,int $num2){
return ($num1+$num2);
}
echo add(2,4); //6
echo add("2",4); //6
echo add("something",4); // Fatal error: Uncaught TypeError: Argument 1 passed to add() must be of the type integer, string given |
<?php
declare(strict_types = 1);
namespace OCI\Query\Builder;
class Select extends AbstractCommonBuilder
{
protected $limit = 0;
protected $offset = 0;
protected $sql = '';
protected $distinct = false;
// Preserves tables with aliases used in join syntax.
protected $joins = [];
/**
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePoheadsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('poheads', funct... |
@extends('backend.layouts.master')
@section('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-6">
<h1 class="m-0">Manage Product</h1>
<... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Comment extends Model
{
public function commentable()
{
return $this->morphTo();
}
public function photos()
{
return $this->morphMany('App\Photo', 'photoable');
}
public function user()
{
retu... |
<?php
namespace Psalm\Checker\FunctionLike;
use PhpParser;
use PhpParser\Node\Expr\Closure;
use PhpParser\Node\FunctionLike;
use PhpParser\Node\Stmt\ClassMethod;
use PhpParser\Node\Stmt\Function_;
use Psalm\Checker\FunctionLikeChecker;
use Psalm\Checker\InterfaceChecker;
use Psalm\Checker\ProjectChecker;
use Psalm\Che... |
<?php
namespace App\Listeners;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\DatabaseNotification;
use JPush\Client;
class PushNotification implements ShouldQueue
{
protected $client;
/**
* Create the event listener.
*
* @ret... |
<?php
// Create a blank image and add some text
$im = imagecreatetruecolor(120, 20);
$text_color = imagecolorallocate($im, 255, 255, 255);
imagestring($im, 1, 5, 5, 'A Simple Text String', $text_color);
$file = dirname(__FILE__) .'/simpletext.png';
$file2 = dirname(__FILE__) .'/simpletext.wbmp';
// Save the image as... |
@extends('layouts.admin')
@section('title', 'Dashboard')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header">{{ __('Dashboard') }}</div>
... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
use App\User;
use App\Township;
use App\Http\Resources\UserResource;
class UserDetailResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
*... |
<?php
namespace App\Http\Repositories\Admin;
use App\Http\Interfaces\Admin\AdminAuthInterface;
use Illuminate\Support\Facades\Auth;
class AdminAuthRepository implements AdminAuthInterface
{
public function loginPage()
{
return view('Admin.login');
}
public function login($request)
{
... |
<?php if (isset($component)) { $__componentOriginal5518e5dbd0d2f249382fceb35002484a4efcccb8 = $component; } ?>
<?php $component = $__env->getContainer()->make(ASK\Svg\Components\SvgComponent::class, []); ?>
<?php $component->withName('icon-camera'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startCompon... |
<link rel="apple-touch-icon" href="https://i.imgur.com/QRAUqs9.png">
<link rel="shortcut icon" href="https://i.imgur.com/QRAUqs9.png">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.css@8.0.0/normalize.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/css/boo... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRecordsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('records', funct... |
<div class="row">
<div class="col-md-12">
<div class="table table-responsive">
<table class="table table-bordered bg-white table-striped thead-light" style="width:100%;">
<tr>
<th class="text-center text-light bg-info">No</th>
<th class="te... |
<!-- PAGE CONTAINER-->
<div class="page-container">
<!-- HEADER DESKTOP-->
<header class="header-desktop">
<div class="section__content section__content--p30">
<div class="container-fluid">
<div class="header-wrap">
... |
<?php
namespace Wallabag\CoreBundle\Helper;
use Symfony\Component\Routing\Router;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Wallabag\CoreBundle\Entity\Config;
/**
* Manage redirections to avoid redirecting to empty routes.
*/
class Redirect
{
private $router;
... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model frontend\models\Tblimg */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Tblimgs', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="tblimg-view">
<h1><... |
<?php
namespace Zebra;
/**
* Class Status
*
* This class is a translation of the results of an `~HS` ZPL command return so that its values can easily be used
* without needing the specific knowledge of the return codes.
*
* @see https://support.zebra.com/cpws/docs/zpl/zpl_manual.pdf (pages 227-229, Host Status... |
<div class="table-responsive">
<table class="table" id="transactions-table">
<thead>
<tr>
<th>Qrcode</th>
<th>Buyer</th>
<th>Amount</th>
<th>Method</th>
<th>Qrcode Owner</th>
<th>Message</th>
... |
<?php declare(strict_types=1);
namespace Shopware\Core\Framework\Plugin;
use Shopware\Core\Framework\Plugin\Event\PluginPostActivateEvent;
use Shopware\Core\Framework\Plugin\Event\PluginPostDeactivateEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class BundleConfigDumper implements EventSubsc... |
<div class="form-group mb-2">
<label for="nombre_producto">Nombre:</label>
<input type="text" name="nombre_producto{{$tipo}}" id="nombre_producto{{$tipo}}" class="form-control @error('nombre_producto'.$tipo) is-invalid @enderror" value="{{isset($producto->nombre_producto)?$producto->nombre_producto:old('nombre_... |
<?php $__env->startSection('body'); ?>
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h3>Add New Voter</h3>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right"> ... |
<?php
/**
* PHP Version 5
*
* @category Amazon
* @package FBAOutboundServiceMWS
* @copyright Copyright 2009 Amazon.com, Inc. All Rights Reserved.
* @link http://mws.amazon.com
* @license http://aws.amazon.com/apache2.0 Apache License, Version 2.0
* @version 2010-10-01
*/
/*****... |
<?php
return [
/*
|--------------------------------------------------------------------------
| TELEGRAM BOT TOKEN
|--------------------------------------------------------------------------
|
| Defines the token of your Telegram Bot that will send the messages.
|
*/
'bot_token' =... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/aiplatform/v1beta1/machine_resources.proto
namespace Google\Cloud\AIPlatform\V1beta1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* A description of... |
<?php
interface sql_io_interface
{
function getAll(): array;
function setAll(array $sql_data): bool;
function delete(int $id): bool;
function update(): bool;
function insert(): bool;
function fetch(): array;
} |
<?php
namespace Github\Model;
class ReposOwnerRepoBranchesBranchProtectionPutBodyRequiredStatusChecks
{
/**
* Require branches to be up to date before merging.
*
* @var bool
*/
protected $strict;
/**
* The list of status checks to require in order to merge into this branch
*
... |
<?php
/**
* ALIPAY API: alipay.boss.prod.my.test.query request
*
* @author auto create
* @since 1.0, 2020-02-11 17:00:00
*/
class AlipayBossProdMyTestQueryRequest
{
/**
* 明焕open测试
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
private $prodCode;
... |
@extends('layouts.app')
@section('content')
<div class="row row-cover">
<div class="col m-auto text-center">
<img class="m-auto text-center img-logo-home" src="/images/logo-reservations.png"/>
<h1 class="text-center title-welcome">Explore our extensive show collections and find some... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTableCustomerType extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('customer_t... |
<?php
/**
* LaraClassified - Classified Ads Web Application
* Copyright (c) BedigitCom. All Rights Reserved
*
* Website: http://www.bedigit.com
*
* LICENSE
* -------
* This software is furnished under a license and may be used and copied
* only in accordance with the terms of such license and with the inclusio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.