text stringlengths 2 1.03M |
|---|
<?php
final class ExecPassthruTestCase extends PhutilTestCase {
public function testExecPassthru() {
// NOTE: We're limited in what we can do here easily; this process can't
// read any output from the child process (and it will be sent directly to
// the terminal, which is undesirable). This makes craf... |
@extends('layouts.app')
@section('breadcrumb')
<section class="breadcrumb">
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<h1>@lang('admin/entries.sales_heading_txt')</h1>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-right">
... |
<?php
declare(strict_types=1);
namespace Yiisoft\Dbal\Constraint;
/**
* ConstraintFinderTrait provides methods for getting a table constraint information.
*
* @property CheckConstraint[] $schemaChecks Check constraints for all tables in the database. Each array element is an
* array of {@see CheckConstraint} or ... |
<?php
declare(strict_types=1);
use Rector\DowngradePhp71\Rector\String_\DowngradeNegativeStringOffsetToStrlenRector;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
$services = $containerConfigurato... |
@extends('admin/layout/main')
@section('tittle')
Submission
@endsection
<style>
.img{
/* width: 100%; */
max-height: 160px !important;
border-radius: 62% !important;
background: white;
}
</style>
@section('body_content')
<div class="app-content content">
<div class="content-over... |
<?php
/**
* Read entire gz-file into an array
*
* @phpstub
*
* @param string $filename
* @param int $use_include_path
*
* @return array An array containing the file, one line per cell.
*/
function gzfile($filename, $use_include_path = false)
{
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateErrorLogsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('error_logs', ... |
<!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>Lista de Pets</title>
</head>
<body>
<h1>Pets</h1>
<a href="{{ route('createPet') }}">Criar</a>
... |
<?php
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Phalcon\Test\Unit\Di\FactoryDefault;
use Unit... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class contratos extends Model
{
use HasFactory;
protected $primaryKey = 'id';
protected $table = 'contratos';
protected $fillable = [
'id_unidad',
'id_nicho',
... |
@extends('layouts.app')
@section('content')
<div class="container-fluid dashboard-content">
<div class="row">
<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
<div class="page-header">
<h2 class="pageheader-title">Ver Trainer Patients</h2>
... |
<x-guest-layout>
<div class="flex flex-col items-center min-h-screen pt-6 bg-gray-100 sm:justify-center sm:pt-0">
<div>
<a href="/">
<x-application-logo class="w-20 h-20 text-gray-500 fill-current" />
</a>
</div>
<div class="w-full px-6 py-4 mt-6 over... |
<?php
namespace App\Http\Requests\Api\v1;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Validation\Rule;
class PacienteStoreRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
... |
<?php
namespace KeithBrink\AmazonMws;
use Config;
use DateTime;
use Exception;
use Log;
/**
* Copyright 2013 CPI Group, LLC.
*
* 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
*
* ... |
<?php
class Login extends CI_Controller
{
function __construct()
{
parent::__construct();
}
public function index()
{
$this->load->view('template/_login');
}
public function ceklogin()
{
$this->form_validation->set_error_delimiters('<div class="alert alert-danger"><strong>Failed</strong> <sp... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-12">
<h1>
Contatti
</h1>
</div>
</div>
</div>
@endsection |
<?php
namespace App\Http\Middleware;
use App\Providers\RouteServiceProvider;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null ... |
<?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\Bridge\Twig\Extension;
use Symfony\Bridge\Twig\TokenParser\Form... |
<?php
/**
* Copyright (C) 2015-2018 Virgil Security Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* (1) Redistributions of source code must retain the above copyright
* ... |
<?php
namespace Charcoal\Geolocation\Property\Input;
/**
* Point Widget Input
*/
class PointWidgetInput extends MapWidgetInput
{
/**
* @return boolean
*/
public function showMapTools()
{
return false;
}
/**
* Retrieve the default map widget options.
*
* @return ... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<p>
<select class="rules" multiple size="12">
<option value="required">required</option>
<option value="alpha">alpha</option>
<option value="alpha_numeric">alpha_numeric</option>
<option value="alpha_dash">alpha_dash</option>
<option value="numeric">numeric</option>
<... |
<?php
namespace App\Http\Controllers\API;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Order;
use Carbon\Carbon;
use DB;
//export excel
use App\Exports\OrderExport;
use Maatwebsite\Excel\Facades\Excel;
class DashboardController extends Controller
{
public function chart()
... |
<?php
namespace ChromeDevtoolsProtocol\Model\Input;
/**
* Named type Input.DragData.
*
* @generated This file has been auto-generated, do not edit.
*
* @author Jakub Kulhan <jakub.kulhan@gmail.com>
*/
final class DragData implements \JsonSerializable
{
/** @var DragDataItem[] */
public $items;
/**
* List ... |
<?php
namespace Webkul\Marketing\Http\Controllers;
use Illuminate\Support\Facades\Event;
use Webkul\Admin\DataGrids\EventDataGrid;
use Webkul\Marketing\Repositories\EventRepository;
class EventController extends Controller
{
/**
* Contains route related configuration
*
* @var array
*/
pro... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Sentinel;
use App\User;
class QrLoginController extends Controller
{
public function index(Request $request) {
return view('auth.QrLogin');
}
public function indexoption2(Request $request) {
return view('auth.QrLogin2');
}
... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... |
<?php
// +----------------------------------------------------------------------
// | TwoThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016 http://www.twothink.cn All rights reserved.
// +-----------------------------------------------... |
<?php
/**
* 地区/国家
*/
return [
'AF' => '阿富汗',
'AX' => '奥兰群岛',
'AL' => '阿尔巴尼亚',
'DZ' => '阿尔及利亚',
'AS' => '美属萨摩亚',
'AD' => '安道尔',
'AO' => '安哥拉',
'AI' => '安圭拉',
'AG' => '安提瓜和巴布达',
'AR' => '阿根廷',
'AM' => '亚美尼亚',
'AW' => '阿鲁巴',
'AU' => '澳大利亚',
'AT' => '奥地利',
'AZ'... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
#!/usr/bin/php
<?php
$image = trim(shell_exec("make -s get-image-name"));
$options = getOpt("", array("start", "stop"));
if (empty($options)) {
$options = array("start" => true, "stop" => false);
}
if (isset($options["start"])) {
test_times(@glob('test/starting_in_*')[0], $image, 'start');
}
if (isset($options["... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\tests\data\ar;
/**
* Class OrderItem.
*
* @property int $order_id
* @property int $item_id
* @property int $quantity
* @property string $subtotal
... |
@extends('layouts.app')
@section('content')
<header class="masthead" style="background-image: url('/blog/image/home-bg.jpg')">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto">
<div class="s... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateToDoListsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('todo_lists', ... |
<?php
/*
Template Name:PAGE リダイレクト専用ページ
*/
?>
<!DOCTYPE html>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" >
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<meta name="robots" content="noindex,follow">
<link rel="stylesheet" href="<?php echo esc_url( get_styles... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class MailHandle extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
*
* @return void
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateListCarouselsPivot extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('lists_car... |
<?php
namespace App\Http\Controllers;
use App\Models\Hero;
use Database\Seeders\HeroSeeder;
use Illuminate\Http\Request;
class HeroController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMagsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mags', function (B... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class NotifRegisterSiswa extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
*
* @retur... |
<?php
function adminer_object() {
// required to run any plugin
include_once "../plugins/plugin.php";
// autoloader
foreach (glob("../plugins/*.php") as $filename) {
include_once $filename;
}
$plugins = array(
// specify enabled plugins here
new AdminerDatabaseHide(array('information_schema')),
new Admi... |
<?php
//下面是一个参数列表,你可以通过初始化方法来定制你喜欢的显示效果。
$config['num_links'] = 2;
//放在你当前页码的前面和后面的“数字”链接的数量。比方说值为 2 就会在每一边放置 2 个数字链接,就像此页顶端的示例链接那样。
$config['use_page_numbers'] = TRUE;
//默认分页URL中是显示每页记录数,启用use_page_numbers后显示的是当前页码,如下:
$config['full_tag_open'] = '<ul class="pagination">';
//把打开的标签放在所有结果的左侧。
$config['full_tag_close... |
<?php
class Controller_Appli extends Controller {
public function action_smensuel() {
$presenter = Presenter::forge('appli/smensuel');
$presenter->month = date('m');
$presenter->year = date('Y');
$validator = Validation::forge();
$validator->add_field('mois', 'Mois', 'num... |
<?php
namespace FondOfSpryker\Glue\CustomerGroupsRestApi\Plugin;
use FondOfSpryker\Glue\CustomerGroupsRestApi\CustomerGroupsRestApiConfig;
use Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequestInterface;
use Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResourceRelationshipPluginInterface;
use Spryk... |
@extends('layouts.master')
@section('content')
<!-- BEGIN SIDEBAR -->
<!-- END SIDEBAR -->
<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
<!-- BEGIN CONTENT BODY -->
<div class="page-content">
<... |
<?php
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
use Symfony\Component\DependencyInjection\Exc... |
<?php
namespace Xstore\Http\Controllers\Frontend;
use Illuminate\Http\Request;
use Xstore\Http\Controllers\Controller;
class FrontendController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
retu... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CurrencySymbol\Controller\Adminhtml\System\Currencysymbol;
use Magento\Framework\App\Action\HttpPostActionInterface as HttpPostActionInterface;
/**
* Class Save
*/
class Save extends \Magento\Cu... |
<?php
/**
* WooCommerce Settings Page/Tab
*
* @package WooCommerce\Admin
* @version 2.1.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if ( ! class_exists( 'WC_Settings_Page', false ) ) :
/**
* WC_Settings_Page.
*/
abstract class WC_Settings_Page {
/**
* Setting ... |
<?php
namespace App\Models;
use CodeIgniter\Model;
class ModelPasien extends Model
{
protected $table = 'pasien';
protected $primaryKey = 'kode_pasien';
protected $useTimestamps = 'true';
protected $allowedFields = ['nama_pasien', 'tanggallahir_pasien', 'umur_pasien', 'telepon_pasien', 'jeniskelamin_... |
<!DOCTYPE html>
<html lang="en" dir="rtl">
<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" conten... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class QuestionResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
... |
<?php
/**
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 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:
* http://opensource.org/licenses/afl-3.0.php
* If you did not... |
<?php
/**
* Makes the required database updates for rev_parent_id
* to be of any use. It can be used for some simple tracking
* and to find new page edits by users.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* th... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... |
<?php
/**
* Execute and parse a low-level Mercurial branches query using `hg branches`.
*/
final class DiffusionLowLevelMercurialBranchesQuery
extends DiffusionLowLevelQuery {
protected function executeQuery() {
$repository = $this->getRepository();
// NOTE: `--debug` gives us 40-character hashes.
... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace frontend\assets;
use yii\web\AssetBundle;
/**
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class AppAsset extends AssetBundle
{
public $... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class UserProfile extends Model
{
//
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'activated', 'activation_code', 'banned', 'api_key', 'current_plan', 'persist_code', 'imag... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddStatusToBookingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('bookings',... |
<ul class="pagination">
<?php if ($Paginator->has_previous_page()) : ?>
<li>
<a class="btn cyan" href="<?= $Paginator->get_first_page() ?>" aria-label="<?= lang('Pager.first') ?>">
<span aria-hidden="true"><?= lang('ManualPaginator.first') ?></span>
</a>
</li>... |
<!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>@yield('title')</title>
<link rel="stylesheet" type="text/css" hr... |
<?php
// =============================================================================
// FUNCTIONS/GLOBAL/ADMIN/ADDONS/CLASS-PLUGIN-UPDATER.PHP
// -----------------------------------------------------------------------------
// The plugin updater.
// ===================================================================... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePropertyOwnedTrigger extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::unprepared("
... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit9c9f653afcdf28ab725f215ffad352a1
{
public static $files = array (
'7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
'c964ee0ededf28c96eb... |
<?php
/*
* Your installation or use of this SugarCRM file is subject to the applicable
* terms available at
* http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/.
* If you do not agree to all of the applicable terms or do not have the
* authority to bind the entity as an authorized representative... |
<?php
return array(
// set your paypal credential
'client_id' => 'ATswVJCtvlkuEUhfdpXIfFcBTn2_shQyJS9jADqK6Hjf2ZN75UXDaWbeKnsvQNtckUxREj-2c0etq-NZ',
'secret' => 'ELADrDepz2nnGWTRFurv6Ks7osaS5Ep_6tvVDoJg77-kcBTHBQ4VMCNus5sDJO47H7_8aPnfhok11rLT',
/**
* SDK configuration
*/
'settings' => a... |
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Foundation | Welcome</title>
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
<link rel="stylesheet" href="https://dhbhdrzi4tiry.cloudfront.n... |
<?php
namespace Avataaar;
/**
*
*/
class Avataaar
{
/**
*
*/
private static array $options = [
'avatarStyle' => ['Transparent', 'Circle'],
'topType' => [
'NoHair', 'Eyepatch', 'Hat', 'Hijab', 'Turban', 'WinterHat1', 'WinterHat2', 'WinterHat3',
'WinterHat4',... |
<?php
/** @var $this \yii\web\View */
/** @var $model \app\models\UploadedFileModel */
use app\widgets\UploadedFileListWidget;
?>
<?php
$data = $model->getTableData();
?>
<div class="row">
<?= UploadedFileListWidget::widget(['currentModel' => $model]); ?>
<div class="col-md-9">
<?= $this->render('_... |
<?php
namespace App\Http\Controllers\Transaction;
use App\Http\Controllers\ApiController;
use App\Transaction;
use Illuminate\Http\Request;
class TransactionCategoryController extends ApiController
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public ... |
<?php namespace angular\Http\Controllers;
class HomeController extends Controller {
/*
|--------------------------------------------------------------------------
| Home Controller
|--------------------------------------------------------------------------
|
| This controller renders your application's "dashboa... |
<div class="modal-dialog modal-dialog-small animated fadeIn">
<div class="modal-content">
<?php
$form = $this->beginWidget('CActiveForm', array(
'id' => 'space-invite-form',
'enableAjaxValidation' => false,
));
?>
<div class="modal-header">
... |
<?php
namespace DB;
use DB\Base\GroupMailingsQuery as BaseGroupMailingsQuery;
/**
* Skeleton subclass for performing query and update operations on the 'Group_Mailings' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
... |
<?php
namespace Tests\Type\Paths;
use Pbc\Bandolier\Type\Paths;
use PHPUnit\Framework\TestCase;
class SetTest extends TestCase
{
public function testSetDomainNameWeb()
{
$path = new Paths();
$domainNameWeb = 'somesite.com';
$path->setDomainNameWeb($domainNameWeb);
$this->assertSame($domainNameWeb, $path->... |
<div class="modal fade" id="editReportViewOrder" tabindex="-1" role="dialog" aria-labelledby="editReportViewOrder" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="editReportViewOrderLabel">Order <span... |
@extends('layouts.main')
@section('title', 'Products')
@section('content')
<button class="btn btn-default top-head" v-on:click="showCustomModal = true">
Show custom modal
</button>
<modal :show.sync="showCustomModal" effect="fade" width="400">
<div slot="modal-header" class="modal-header">
<h4 class="modal-title... |
<?php
/**
* Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* This file is licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
... |
<?php include('cabecalho.php');
include('querys.php'); ?>
<?php
$aluno = listaAluno($conexao);
// var_dump($aluno);
?>
<table class="table table-striped">
<thead class="table-dark">
<th>ID</th>
<th>Matrícula</th>
<th>Nome</th>
<th>E-mail</th>
<th>Curso</th>
... |
<?php
/**
* Created by PhpStorm.
* User: HUY
* Date: 12/28/2017
* Time: 2:34 PM
*
* dataStaffSalaryBasic
*/
$hFunction = new Hfunction();
$mobile = new Mobile_Detect();
$mobileStatus = $mobile->isMobile();
$dataStaffLogin = $modelStaff->loginStaffInfo();
$dataStaff = $modelStaff->getInfoActivityByLevel(0); // ng... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddVotesToShopsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('shops', functi... |
<?php
/*
* This file is part of Contao.
*
* (c) Leo Feyer
*
* @license LGPL-3.0-or-later
*/
namespace Contao;
/**
* Provides methodes to handle articles.
*
* @property integer $tstamp
* @property string $title
* @property string $alias
* @property string $inColumn
* @property boolean $showTeaser
* ... |
<?php
namespace YS\app\controller\ysmd;
use YS\app\libs\Controller;
class pwd extends CheckAdmin
{
public function index()
{
$data = array('title' => '修改管理员密码');
$this->put('admpwd.php', $data);
}
public function save()
{
$oldpwd = $this->req->post('oldpwd');
$newpw... |
<?php
use backend\helpers\Html;
use backend\components\ActiveSearchForm as ActiveForm;
use backend\components\DateTimePicker;
/* @var $this yii\web\View */
/* @var $model backend\models\UserLogSearch */
/* @var $form ActiveForm */
?>
<div class="user-log-search">
<?php $form = ActiveForm::begin(); ?>
<?php... |
<?php
/**
* Template functions used for the site footer.
*
* @package neckbeard
*/
if ( ! function_exists( 'neckbeard_footer_widgets' ) ) {
/**
* Display the footer widget regions
* @since 1.0.0
* @return void
*/
function neckbeard_footer_widgets() {
if ( is_active_sidebar( 'footer-4' ) ) {
$widge... |
@extends('default')
@section('content')
<p>{{$user->name}}</p>
@endsection |
<?php
/**
* @file tanerror.php
*
* @autor Alex Letov
*
* Turnaround error admin view.
*/
$theme = Yii::app()->theme->name;
$image_url = Yii::app()->getBaseUrl(true).'/public/themes/'.$theme.'/images';
?><div class="row-fluid">
<div class="well">
<p class="text-error">Turnaround wasn't deleted. Datab... |
<?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTenantsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up(): void
{
... |
<?php
/**
* This file was generated by phpSPO model generator 2020-04-22T21:18:30+00:00 16.0.20008.12009
*/
namespace Office365\SharePoint;
use Office365\Runtime\ClientValue;
class ContentTypeEntityData extends ClientValue
{
/**
* @var string
*/
public $Description;
/**
* @var string
... |
<?php
/**
* @package hubzero-cms
* @copyright Copyright 2005-2019 HUBzero Foundation, LLC.
* @license http://opensource.org/licenses/MIT MIT
*/
// No direct access
defined('_HZEXEC_') or die();
$this->css();
$total = 0;
$avg = 0;
$distribution = array(
0 => 0,
1 => 0,
2 => 0,
3 => 0,
4 => 0,
5 => ... |
<!DOCTYPE html>
<html>
<head>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta charset="utf-8">
<title>Laporan Transaksi Gudang Buku</title>
<style>
*{
font-family:'Courier New', Courier, monospace;
}
#customers {
/* font-family: Arial, Helvetica, sans-ser... |
<?php
/*
* This file is part of the Elcodi package.
*
* Copyright (c) 2014 Elcodi.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Feel free to edit as you please, and have fun.
*
* @author Marc Morera <yuhu@mmoreram.com>
... |
<?php
namespace App\Repositories\Contracts;
interface CategoryRepositoryInterface
{
public function getCategoriesByTenantUUID(string $uuid);
public function getCategoriesByTenantId(int $idTenant);
public function getCategoryByUUID(string $uuid);
} |
<?php
/**
* This file is part of Temporal package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Temporal;
use Doctrine\Common\Annotations\Reader;
use JetBrains\PhpStorm\Pure;
use React\Promis... |
<?php
/**
* Created by PhpStorm.
* User: suhov.a.s
* Date: 26.07.2018
* Time: 10:37
*/
use yii\widgets\ListView;
/* @var $count integer */
?>
<? if ($count): ?>
<div class="section section--blog">
<div class="content content--md">
<h2 class="page-title">More technology</h2>
<d... |
<?php
namespace App\Http\Controllers;
use App\Models\Pengguna;
use Illuminate\Http\Request;
use Symfony\Contracts\Service\Attribute\Required;
class UserController extends Controller
{
public function index()
{
return view('user/index');
}
public function cek_nik(Request $request)
{
if (isset($requ... |
<?php
/**
* This file is part of escpos-php: PHP receipt printer library for use with
* ESC/POS-compatible thermal and impact printers.
*
* Copyright (c) 2014-16 Michael Billington < michael.billington@gmail.com >,
* incorporating modifications by others. See CONTRIBUTORS.md for a full list.
*
* This software is... |
<?php
namespace Kusabi\Http;
use InvalidArgumentException;
use Kusabi\Http\Exceptions\InvalidHttpMethodException;
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\StreamInterface;
use Psr\Http\Message\UriInterface;
class Request ... |
<?php
namespace Tests\Integration\Http;
use Sobak\Scrawler\Block\Matcher\CssSelectorHtmlMatcher;
use Sobak\Scrawler\Block\Matcher\CssSelectorListMatcher;
use Sobak\Scrawler\Configuration\ObjectConfiguration;
use Sobak\Scrawler\Scrawler;
use Tests\Integration\IntegrationTest;
use Tests\Utils\BasicConfigurationProvider... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.