text stringlengths 2 1.03M |
|---|
<div class="container-fluid">
<div class="alert alert-success" role="alert">
<i class="fas fa-eye"></i> Form Input Siswa
</div>
<?= form_open_multipart('siswa/tambah_siswa_aksi'); ?>
<div class="form-group">
<label>NIS Siswa</label>
<input type="text" name="nis" class="form-co... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'C:/MAMP/htdocs/grav-admin-ea/user/plugins/admin/languages/sv.yaml',
'modified' => 1564197942,
'data' => [
'PLUGIN_ADMIN' => [
'ADMIN_BETA_MSG' => 'Detta är en betaversion! Använd i produktion på egen ri... |
<?php
namespace Perna\Hydrator\Weather;
use Perna\Document\TemporalWeatherData;
class TemporalWeatherDataHydrator extends AbstractWeatherDataHydrator {
/** @inheritdoc */
public function extract( $object ) {
/** @var TemporalWeatherData $object */
return array_merge( parent::extract( $object ), [
'temperat... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Dashboard extends CI_Controller
{
public function __construct()
{
parent::__construct();
check_not_login();
check_user();
$this->load->model('admin/env/Pembayaran_m', 'Pembayaran_m');
$this->load->model('admin/env/Agenda_m', 'Agend... |
@extends('master.servicioSocial')
@section('activacion')
<?php
$a=''; $b='';$c='open active';$c1=''; $c2=''; $c3='active'; $c4='';$d='';$d1='';$d2='';$d3=''; $d4='';$e='';
?>
@endsection
@section('title','Ficha Socio Económica')
@section('estilos')
@endsection
@section('ruta')
<ul class="breadcrumb">
<i class="a... |
<div class="modal fade" id="EditCustomer{{$stt}}" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form action="{{url('/customer/update/'.$ctm['id'])}}" method="post">
@csrf
<div class="modal-h... |
<html>
<head>
<title>
The rising resistance
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include "../../legacy-includes/Script.htmlf" ?>
</head>
<body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0">
<table width="744... |
<?php
namespace common;
use think\respoonse\Json;
// 应用公共文件
function show($status, $msg = "error", $data = [], $httpStatus = 200){
$result = [
"status" =>$status,
"msg" => $msg,
"result" => $data
];
return Json($result, $httpStatus);
} |
<?php
namespace AppBundle\Entity\Repository;
use Doctrine\ORM\EntityRepository;
/**
* WishlistRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class WishlistRepository extends EntityRepository
{
public function checkUserWishlistExist($user,$cses... |
--TEST--
Register Alloction 008: Incorrect deoptimization code
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--FILE--
<?php
function foo($a) {
for($i=0; $i<1; $i++)
$a=$y / $a = $a + $a != ($a);
}
foo(7);
?>
--EXPECTF--
Warning: Undefined variabl... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateShippingMethodsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('shippin... |
<?php
namespace RRSVP\Stuf;
class SUBStuurgegevensLv07
{
/**
* @var BerichtcodeLv07 $berichtcode
*/
protected $berichtcode = null;
/**
* @var Systeem $zender
*/
protected $zender = null;
/**
* @var Systeem $ontvanger
*/
protected $ontvanger = null;
/**
... |
<?php
namespace Phpactor\Docblock\Parser;
use Phpactor\Docblock\DefaultValue;
use Phpactor\Docblock\DocblockTypes;
use Phpactor\Docblock\Method\Parameter;
class ParameterParser
{
/**
* @var TypesParser
*/
private $typesParser;
public function __construct(TypesParser $typesParser = null)
{
... |
<div>
<x-slot name='title'>
{{ is_null($slug) ? $user->name : $slug }} Projects
</x-slot>
@include('project.index.header')
@if(null === $slug)
<livewire:project.create :user="$user" />
@endif
@include('project.index.list-loader')
<div class='grid grid-cols-1 sm:grid-cols-... |
<?php
namespace Shopex\LubanAdmin\Finder;
class Tab{
use Shared;
public $label;
public $filters = [];
public $hidden = ['filters'];
function addFilter($filter){
$this->filters[] = $filter;
return $this;
}
} |
<?php
namespace App\Http\Controllers;
use App\Mail\PostLiked;
use App\Models\Like;
use App\Models\Post;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;
class PostLikeController extends Controller
{
public function __construct()
{
$this->middleware(['auth']);
}
public funct... |
<?php
/*******************************************************************************
* Copyright 2009-2015 Amazon Services. 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 ... |
<?php
namespace FolderDb;
use FolderDb\Exception\FolderNotFoundException;
use FolderDb\Exception\NotReadableException;
use FolderDb\Factory\FileFactory;
/**
* Class Folder
* @package FolderDb
*/
class Folder
{
/**
* @var string
*/
private $name;
/**
* @var string
*/
private $... |
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-3d.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/mod... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Vcs\V20200515\Models;
use AlibabaCloud\SDK\Vcs\V20200515\Models\ListPersonTraceResponseBody\data;
use AlibabaCloud\Tea\Model;
class ListPersonTraceResponseBody extends Model
{
/**
* @var int
*/
public $totalCou... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTaskTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('task', function (B... |
<?php
declare(strict_types = 1);
namespace SiteApi\Core;
interface IdentityInterface
{
/**
* @return string
*/
public function __toString(): string;
/**
* @return string
*/
public function asBinary(): string;
/**
* @param IdentityInterface $identity
*
* @return... |
<?php
namespace Oc\Controller\App;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
class SecurityController extends AbstractControl... |
<?php
namespace Console\Thumbnails;
use ForkCMS\Utility\Thumbnails;
use SplFileInfo;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Helper\QuestionHelper;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Ou... |
@extends('layouts.master')
@section('content')
<div class="main">
<div class="main-content">
<div class="container-fluid">
<div class="row">
<div class="div col-md-12">
<!-- INPUTS -->
<div class="panel">
<div class... |
@extends('layouts.app')
@section('pageTitle', 'Overzicht Gebruikers')
@section('content')
<div class="container column is-6 pull-left">
<div class="columns m-t-5">
<div class="column">
<a href="{{route('users.create')}}" class="button is-danger is-pulled-right"><i class="fa fa-us... |
<?php
namespace Entity;
class BaseEntity{
/**
* @Id
* @Column(type="integer", nullable=false)
* @GeneratedValue(strategy="AUTO")
*/
public $id;
/**
* @Column(type="integer", nullable=true)
*/
public $create_at;
/**
* @Column(type="integer", nullable=true)
*/
public $update_at;
p... |
<?php
require_once "vendor/autoload.php";
/* @var $generator \DB2Markdown\Generator\Mysql */
$generator = \DB2Markdown\Factory::getGenerator('mysql');
// $generator
$generator->setHost('localhost')
->setPort(3306)
->setDatabase('database')
->setUsername('username')
->setPassword('password')
->outp... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* pa... |
<?php
$params = array_merge(
require(__DIR__ . '/../../common/config/params.php'),
require(__DIR__ . '/../../common/config/params-local.php'),
require(__DIR__ . '/params.php'),
require(__DIR__ . '/params-local.php')
);
return [
'id' => 'app-backend',
'name' => 'osbb-online',
'basePath' => d... |
<?php
$process = new swoole_process(function (swoole_process $pro) {
// todo
// php redis.php
$pro->exec("/usr/bin/php", [__DIR__ . '/../server/http_server.php']);
}, false);
$pid = $process->start(); // 子进程id
echo $pid . PHP_EOL;
swoole_process::wait(); //回收结束运行的子进程 |
<?php
/*
| -------------------------------------------------------------------
| MIME TYPES
| -------------------------------------------------------------------
| This file contains an array of mime types. It is used by the
| Upload class to help identify allowed file types.
|
*/
return array(
'hqx' => array(
... |
<?php
namespace PhalconUtils\Util;
use Phalcon\Http\Client\Response as HttpResponse;
use Phalcon\Logger as PhalconLogLevel;
use Phalcon\Logger\AdapterInterface;
use PhalconUtils\Http\BaseGateway;
use PhalconUtils\src\Exceptions\InvalidLoggerConfigException;
use Psr\Log\AbstractLogger;
use Psr\Log\LoggerInterface;
use... |
<?php include("header.php"); ?>
<!-- Page Content -->
<div id="page-wrapper">
<div class="container-fluid">
<div class="row bg-title">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title">Export Hospials</h4>
</div>
<div class="col-lg-9 col-sm-8 col-m... |
<?php
namespace EasyNotion\Property;
enum TypeFormula: string
{
case LiteralString = 'string';
case Number = 'number';
case LiteralBoolean = 'boolean';
case Date = 'date';
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Server extends Model
{
protected $table = 'wbk_server';
protected $primarykey='id';
} |
@extends('layouts.admin')
@section('title')آمار@endsection;
@section('content')
<div class="col-lg-12">
<div class="card">
<div class="card-title">
<h4>آمار</h4>
</div>
<div class="card-body">
</div>
</div>
</div>
@endsection |
<?php
namespace Proxies\__CG__\InformaticaBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Area extends \InformaticaBundle\Entity\Area implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy ob... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* pa... |
@extends('layouts.dashboard')
@section('page_heading','Report Detail')
@section('section')
{{--{{dd($post['condition'])}}--}}
{{--{{dd($conditions)}}--}}
<div class="row" style="margin-left: 0px">
<div class="col-md-12">
{{--{!! BootForm::open(array('url' => '/rep... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\search\ImagenSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="imagen-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
... |
<?php
namespace App\Notifications;
use Illuminate\Support\Facades\Lang;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;
class ResetPassword extends Notification
{
/**
* The password reset token.
*
* @var string
*/
public $token;
/**
... |
@extends('layouts.master')
@section('content')
<h1>Salida Material <a href="{{ url('/salida_material/create') }}" class="btn btn-primary pull-right btn-sm">Crear Salida</a></h1>
<hr/>
<div class="table">
<table id="example" class="table table-condensed table-bordered table-striped">
... |
<?php
namespace App\Entity;
use App\MappedSuperclass\Base;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\PersistentCollection;
/**
* @ORM\Entity
* @ORM\Table(name="imhhfs_file")
*/
class File extends Base {
/**
* @ORM\Id
* @ORM\GeneratedValue(... |
<?php
namespace backend\controllers;
use common\models\NewsColumn;
use common\models\NewsColumnType;
use common\models\SpecialColumnType;
use Yii;
/**
* Column controller
*/
class ColumnController extends PublicBaseController
{
/**
* 后台接口:栏目类型
* type 类型 0栏目类型,1专题分栏
* type_id 栏目ID 或 专题ID
* ... |
<?php
declare(strict_types=1);
namespace Rector\DowngradePhp71\Rector\TryCatch;
use PhpParser\Node;
use PhpParser\Node\Stmt\Catch_;
use PhpParser\Node\Stmt\TryCatch;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleD... |
<?php
// Version: 2.0; PersonalMessage
global $context;
// Important! Before editing these language files please read the text at the top of index.english.php.
$txt['pm_inbox'] = 'Privatne Poruke';
$txt['send_message'] = 'Pošalji Poruku';
$txt['pm_add'] = 'Dodaj';
$txt['make_bcc'] = 'Dodaj BBC';
$txt['pm_to'] = 'Prim... |
<?php
declare(strict_types=1);
namespace App\Tool\Application\Validator\Constraints;
use Attribute;
use Symfony\Component\Validator\Constraint;
/**
* Class Language
*
* Usage example;
* App\Tool\Application\Validator\Constraints\Language()
*
* @Annotation
* @Target({"PROPERTY"})
*
* @package App\Tool
*/
... |
@extends('layouts.app')
@section('content')
<h3>Upload Images</h3>
{!!Form::open(['action' => 'PhotosController@store', 'method' => 'POST', 'enctype' => 'multipart/form-data'])!!}
{{Form::text('title', '', ['placeholder' => 'Photo Title'])}}
{{Form::textarea('description', '', ['placeholder' =>... |
<?php
session_start();
include("../config.php");
if(isset($_POST['PwdChangebtn']))
{
$currentpwd = $_POST['edit_current_password'];
$newpassword = $_POST['edit_new_password'];
$confirmpassword = $_POST['edit_confirm_password'];
$username = $_POST['edit_username'];
$rollno_query = "SELECT * FROM c... |
<?php
namespace frontend\modules\blog\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
/**
* ArticleControl represents the model behind the search form of `frontend\models\Articles`.
*/
class ArticleControl extends Articles
{
/**
* {@inheritdoc}
*/
public function rules()
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="card o-hidden border-0 shadow-lg my-5">
<div class="card-body p-0">
<form method="POST" action="{{ route('register') }}">
@csrf
{{-- **********... |
@extends('frontend.layouts.app')
@section('content')
<!-- Title -->
<div class="text-center bg-cover py-5" style="background-color: #00a651;">
<h1 class="h3 font-weight-bold text-white">Payment Withdraw</h1>
</div>
<section class="container py-5">
<div class="row">
<div class="col-md-7 mx-auto">
... |
<?php
namespace Blastar\FrontCmsBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class BlastarFrontCmsBundle extends Bundle
{
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use App\Utilities\DatesTranslator;
class ListPrice extends Model
{
use DatesTranslator;
protected $table = 'list_price';
protected $fillable=[
'public_id','name','type_id','account_id','user_id',
'value','id',... |
<div class="text-center navbar-brand-wrapper d-flex align-items-center justify-content-center">
<a class="navbar-brand brand-logo mr-5" href="index.html"><img src="images/logo.svg" class="mr-2" alt="logo"/></a>
<a class="navbar-brand brand-logo-mini" href="index.html"><img src="images/logo-mini.svg" alt="logo"/></a>
</... |
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive ... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Kalkulasi_model extends CI_Model
{
//Duplikasi DB
public function kalkulasiReScaleFilter($start, $end)
{
$this->db->select('kode_indikator');
$result = $this->db->get('indikator')->result_array();
for ($i = 0... |
<?php
namespace Oro\Bundle\SecurityBundle\Tests\Unit\Event;
use Oro\Bundle\SecurityBundle\Event\ProcessSelectAfter;
class ProcessSelectAfterTest extends \PHPUnit_Framework_TestCase
{
public function testConstruct()
{
$selectStatement = $this->getMockBuilder('Doctrine\ORM\Query\AST\SelectStatement'... |
<?php
namespace LaminasBench\ServiceManager\BenchAsset;
class Bar
{
/** @var mixed */
protected $options;
/** @param mixed $options */
public function __construct($options = null)
{
$this->options = $options;
}
} |
@include('layouts.nav')
</div>
<!-- Marketing messaging and featurettes
================================================== -->
<!-- Wrap the rest of the page in another container to center all the content. -->
<div class="container-fluid" style="padding-top:20px">
<div class="row">
<div class... |
<?php
namespace Visit\Check\Commands;
use Visit\Check\Command;
class Help extends Command
{
public $essential = false;
public $display = 1;
public $name = 'Command Reference';
public $description = 'Display information about visit command line options.';
public $showAll = true;... |
<?php
namespace App\Models;
use CodeIgniter\Model;
class JenisMaterialModel extends Model
{
protected $table = 'material';
protected $primaryKey = 'id';
protected $returnType = 'array';
protected $allowedFields = ['nama_material', 'satuan'];
protected $useSoftDeletes = true;
protected $useTi... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.c... |
<?php
namespace Svea\AdminService\AdminSoap;
class CancelOrderRowsRequest {
public $Authentication; // note that the order of the attributes matter!
public $ClientId;
public $OrderRowNumbers;
public $OrderType;
public $SveaOrderId;
/**
* AdminService CancelOrderRowsRequest
*... |
<!-- script>
$(function(){
"use strict";
var dataTableUserList = $('#userDataTable').DataTable();
});
</script -->
<script>
$(function(){
"use strict";
//$.fn.dataTable.ext.errMode = 'none';
//$.fn.dataTableExt.errMode = 'ignore';
$.fn.dataTableExt.sErrMode = "console";
var dataTableTWList ... |
<?php
class Kint_Parsers_ClassStatics extends kintParser {
protected function _parse( & $variable )
{
if ( ! KINT_PHP53 || ! is_object( $variable ) ) { return FALSE;
}
$extendedValue = array();
$reflection = new ReflectionClass( $variable );
// first show static values
foreach ( $reflection->get... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInitfd0968d60554eb37b03fb672b3f84076::getLoader(); |
<?php
namespace App\Http\Middleware;
use App\Role;
use Closure;
use Illuminate\Support\Facades\Gate;
class ApprovalMiddleware
{
public function handle($request, Closure $next)
{
if (auth()->check()) {
if (!auth()->user()->approved) {
auth()->logout();
retu... |
<?php
namespace OtaInterface\Otaconnect\StructType;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for GuaranteesAccepted StructType
* @subpackage Structs
*/
class GuaranteesAccepted extends AbstractStructBase
{
/**
* The GuaranteeAccepted
* Meta informations extracted from t... |
@extends('layouts.layouts')
@section('title','Simple Board')
@section('content')
<h1>Editing Post</h1>
@if($errors->any())
<div class="alert alert-danger">
<ul>
@foreach($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@end... |
<div class="main-content">
<section class="section">
<div class="section-header">
<h1>Edit Data Transaksi</h1>
</div>
<div class="card">
<div class="card-body">
<form action="<?= base_url('admin/transaksi/edit_proses') ?>" method="post">
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Models\AcClave;
use App\Models\AcAfiliado;
use App\Models\AcProveedoresExtranet;
use App\Models\AcEstatus;
use App\Models\AcAseguradora;
use App\Models\AcColectivo;
use App\Models\AcEspecialidadesExtranet;
use App\Mode... |
<!DOCTYPE html>
<html class="no-js" lang="<?=$config->getLanguage() ?>">
<head>
<title><?= $page['title']; ?> <?= ($page['title'] != $config->getTitle()) ? '- ' . $config->getTitle() : "" ?></title>
<?php //SEO meta tags...
if (array_key_exists('attributes', $page) && array_key_exists('description', $page['attr... |
@extends('layouts.admin')
@section('container')
<div id="vue-admin-seeduc">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Busca Seeduc</h1>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div c... |
<div class="container-fluid">
<!-- Page Heading -->
<?php echo $this->session->flashdata('message'); ?>
<a href="<?php echo base_url().'admin/tambah_anggota'; ?>" class="btn btn-primary btn-icon-split"> <span class="icon text-white-50">
<i class="fas fa-plus"></i>
... |
@extends('Frontend.Layouts.master')
@section('body')
<div id="latest-offer-front">
<div class="row breadcrumb-layer">
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
<ol class="breadcrumb my-2">
<li class="breadcrumb-item"><a href="index.html"><i class="fas fa... |
<?php
namespace App\Commands;
use App\Repository\Contracts\DatasetRepositoryContract;
use App\Transformers\AbstractAqdcTransformer;
abstract class AbstractCollectAirQualityCommand implements CommandContract
{
protected $datasetRepository;
protected $transformer;
public function __construct(DatasetRepos... |
<div x-data="{ expanded: false }">
<header class="bg-gradient-to-r from-white to-gray-200 shadow">
<div class="max-w-7xl mx-auto py-3 px-4 sm:px-6 lg:px-8">
<div class="flex items-center">
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" st... |
@extends('layout.master')
@section('title')
ลงทะเบียน
@endsection
@section('content')
<div class="container">
<h1><i class="fa fa-list"></i> Todo List ::</h1>
<hr>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
เพิ่ม... |
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title><?php echo $title; ?> - <?php echo $powered; ?></title>
<link rel="stylesheet" href="./css/install.css" />
</head>
<body>
<div class="wrap">
<?php require 'header.php';?>
<div class="section">
<div class="main cc">
<div class="pact" readonly="... |
<?php
/**
* Created by PhpStorm.
* User: fred
* Date: 24/05/2017
* Time: 17:43
*/
namespace Application\User;
use Doctrine\ORM\EntityManager;
class UserManager
{
/** @var EntityManager */
protected $entityManager;
/**
* @return EntityManager
*/
protected function getEntityManager()
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class role extends Model
{
protected $table = 'role';
} |
<?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup BaseGroups Base classes for groups modules
* @ingroup UnaModules
*
* @{
*/
class BxBaseModGroupsMenuSnippetMeta extends BxBaseModProfileMenuSnip... |
<?php
$fimage=array();
$fimage[0] = '/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gODAK/9sAQwAGBAUGBQQGBgUGBwcGCAoQCgoJCQoUDg8MEBcUGBgXFBYWGh0lHxobIxwWFiAsICMmJykqKRkfLTAtKDAlKCko/9sAQwEHBwcKCAoTCgoTKBoWGigoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCg... |
<?php
namespace App\Http\Controllers;
use App\Blog;
use Illuminate\Http\Request;
class BlogController extends Controller
{
public function index()
{
$blogs = Blog::published()->paginate(5);
return view('blog',
['blogs'=>$blogs]);
}
public function show($slug)
{
... |
<?php
namespace Laposte\UserBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction($name)
{
return $this->render('LaposteUserBundle:Default:index.html.twig', array('name' => $name));
}
} |
<?php
declare(strict_types=1);
/**
* MIT License
*
* Copyright (c) 2018 Dogan Ucar, <dogan@dogan-ucar.de>
*
* @author Eugene Kirillov <eug.krlv@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to d... |
<div id="sharing" class="sidebar-sharing widget widget_sharing">
<h3>Share</h3>
<aside class="widget-body clear">
<div class="tw-link share-button">
<a href="https://twitter.com/share" class="twitter-share-button" data-via="UMD_MITH" data-text="<?php the_title(... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;
class FeeDiscountConfig extends Eloquent {
use SoftDeletes;
/**
* The database table used by the model.
*
* @var string
*/
protected $table ='bk_fee_discount_config';
protected $fillable = array('service_id,service_code,discount_pe... |
<?php
declare(strict_types=1);
use function Shlinkio\Shlink\Common\env;
use const Shlinkio\Shlink\MIN_TASK_WORKERS;
return (static function () {
$taskWorkers = (int) env('TASK_WORKER_NUM', 16);
return [
'mezzio-swoole' => [
// Setting this to true can have unexpected behaviors when run... |
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... |
<?php namespace Mezatsong\SwaggerDocs\Responses;
/**
* Interface SchemaBuilder
* @package Mezatsong\SwaggerDocs\Responses
*/
interface SchemaBuilder {
/**
* Build and return a custom swagger schema
* @param string $modelRef a model swagger ref, (ex: #/components/schemas/User)
* @param string $ur... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\food\models\Ingredients */
$this->title = 'Update Ingredients: ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Модуль', 'url' => ['/food']];
$this->params['breadcrumbs'][] = ['label' => 'Ingredients', 'url' => ['inde... |
<?php
namespace App\Services\PaymentServicesTwo\PayPal;
use Illuminate\Support\ServiceProvider;
class PaypalServiceProvider extends ServiceProvider
{
public function register()
{
$this->app->singleton(PayPal::class, function ($app) {
return new PayPal($app->config['services']['paypal']);
});
}
} |
<?php
declare(strict_types=1);
/*
* This file is part of the DigitalOcean API library.
*
* (c) Antoine Kirk <contact@sbin.dk>
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namesp... |
<?php
require "koneksi.php";
$username = $_POST['username'];
$password = $_POST['password'];
$no_hp = $_POST['no_hp'];
$email = $_POST['email'];
$sql="INSERT INTO pelanggan VALUES (NULL, '$username', '$password', '$no_hp', '$email');";
$proses = mysqli_query($koneksi, $sql);
if ($proses){
echo "<script>
alert... |
<?php
namespace App\Console\Commands;
use DB;
use Illuminate\Console\Command;
use stdClass;
use Twitter;
class UpdateTweeps extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'tweeps:update {search=#phptek}';
/**
* Th... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Registrar_login_model extends CI_Model{
function __construct(){
parent::__construct();
}
public function if_exist_Account_reg(){
$reg_user = $this->input->post('reg_user');
$reg_pass = $this->input->post('reg_pass');
... |
@extends('layouts.default')
@section('content')
<div id="content">
<div id="content-header">
<!-- <div id="breadcrumb"> <a href="{{ url('/dashboard') }}" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a> <a href="#" class="current">edit mainslie</a> </div> -->
<h3>Dictionary</h3>
</div>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.