text
stringlengths
2
1.03M
<?php /* * This file is part of the Marketo REST API Client package. * * (c) 2014 Daniel Chesterton * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CSD\Marketo\Response; use CSD\Marketo\Response as Response; /** * Res...
<?php declare (strict_types=1); namespace App\Validation; use App\Api\RolesApi; use App\Api\UsersApi; use App\Json\Schemas\RoleSchema; use App\Json\Schemas\UserSchema; use App\Validation\L10n\Messages; use Limoncello\Flute\Types\DateTime; use Limoncello\Flute\Validation\Rules\ApiRulesTrait; use Limoncello\Flute\Valid...
<?php $this->load->view('user/header'); ?> <!-- banner --> <div class="row m-0 jumbotron jumbotron-fluid position-relative justify-content-between" style="background-image: url(<?= base_url('assets/svg/banner4.png'); ?>); background-size: cover; background-position: center;" > <div class="col-md-12 p-5 mt-3 text-whi...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateGroupsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('groups', functio...
<?php namespace Kraken\Root\Provider; use Kraken\Container\ContainerInterface; use Kraken\Container\ServiceProvider; use Kraken\Container\ServiceProviderInterface; use Kraken\Runtime\Runtime; use Dazzle\Util\Isolate\Isolate; use Dazzle\Util\System\SystemUnix; class SystemProvider extends ServiceProvider implements S...
<?php namespace ProJacked\DhtmlxGanttBundle\DependencyInjection; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\Config\FileLocator; use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\DependencyInjection\Loader; /** * This is the class that loads ...
<?php session_start(); require_once("inc/config.php"); require_once("inc/captcha.class.php"); require_once("inc/sentinel.class.php"); $Sentinel = new Sentinel(); if($Sentinel->validateSession()) { die("Sentinel validated"); } else include "validate.php"; ?>
<?php $a[1] = htmlentities($_POST["id"], ENT_QUOTES, "UTF-8"); //$a[2] = htmlentities($_GET["status"], ENT_QUOTES, "UTF-8"); require_once '../config_db.php'; $a[1] = mysqli_real_escape_string($conn, $a[1]); //$a[2] = mysqli_real_escape_string($conn, $a[2]); //zapis agenta do bd - zmiana statusu na przeciwny do tego,...
<?php namespace AlibabaCloud\Foas; /** * @method string getProjectName() * @method string getJobName() */ class DeleteJob extends Roa { /** @var string */ public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]'; /** @var string */ public $method = 'DELETE'; /** * @param str...
<div class="drum__filter-form__item"> <span>Количество часов</span> <div class="drum-form-content"> <label class="filter-form-date"> <input type="radio" checked="checked" name="hours" class="hours" value="0"> Весь день </label> <label> <input type="radio" name="...
<!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"> <title>Zumeyes Admin</title> <!-- plugins:css --> <link href="<?php echo base_url(); ?>/assets/zumeyes/node_modules/mdi/css/materi...
@extends('staff.layouts.index') @section('subtitle') Update Dosen Tidak Tetap @endsection @section('content') <div class="content-wrapper"> <div class="container-fluid"> <div class="row mt-3"> <div class="col-lg-1"></div> <div class="col-lg-10"> @if (session('statu...
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * Shortcode attributes * @var $atts * @var $el_class * @var $full_width * @var $full_height * @var $columns_placement * @var $content_placement * @var $parallax * @var $parallax_image * @var $css * @var $el_id * @var $video_bg * @var $video_bg_url ...
@extends('layouts.app') @section('content') <div class="container pt-3"> <nav aria-label="breadcrumb"> <ol class="breadcrumb pt-3 mb-3"> <li class="breadcrumb-item"><a href="#">Rekap Arsip</a></li> <li class="breadcrumb-item active" aria-current="page">Input Kedalaman</li> <...
<?= $this->extend('template/template-backend') ?> <?= $this->section('content') ?> <div class="col-sm-12"> <div class="box box-info"> <div class="box-header"> <h3 class="box-title">CK Editor <small>Advanced and full of features</small> </h3> <!-- tools bo...
<?php namespace App; use Illuminate\Redis\RedisManager; class TrackedTerm { const KEY_NAME = 'tracked_terms'; /** * Tweet constructor. * @param RedisManager $redis */ public function __construct(RedisManager $redis) { $this->redis = $redis; } public function store($te...
<?php namespace App\Ship\Core\Abstracts\Providers; use Illuminate\Foundation\Support\Providers\EventServiceProvider as LaravelEventServiceProvider; /** * Class EventsProvider */ class EventsProvider extends LaravelEventServiceProvider { /** * Register any events for your application. * * @return...
@extends('layout.master') @section('content') <div class="content"> <div class="well span8"> <div class="ibox-content ui-calendar"> <div class="btn-toolbar"> <p class="lead">Practise Shedule</p> </div> </div> </div> </div> @endsec...
<footer class="footer"> &copy; <?= Date('Y') ?> BelajarCoding.com Version 1.0.0.0 </footer>
<!-- Users_add --> <h2 class="margin-bottom-1"><?php echo __('New User Registration', 'users'); ?></h2> <?php echo ( Form::open(). Form::hidden('csrf', Security::token()) ); ?> <div class="row"> <div class="col-md-6"> <div class="form-group"> <?php echo ( ...
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * Participant File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights reserved. * @lice...
<?php namespace Rubix\ML\Tests\CrossValidation\Metrics; use Rubix\ML\Tuple; use Rubix\ML\EstimatorType; use Rubix\ML\CrossValidation\Metrics\SMAPE; use Rubix\ML\CrossValidation\Metrics\Metric; use PHPUnit\Framework\TestCase; use Generator; /** * @group Metrics * @covers \Rubix\ML\CrossValidation\Metrics\SMAPE */ ...
<?php namespace App\Extensions\Order\Operations; use App\Events\NotificationEvent; use App\Exceptions\OrderException as Exception; use App\Models\User; use App\Models\Order; use App\Models\OrderDetail; use App\Repositories\Api\GoodsRepository; use Asset; use App\Extensions\Asset\Expend; use Carbon\Carbon; // 下单付款(用于下...
<?php $glyphs = array( "kka", // 0x1600 ᘀ "kk", // 0x1601 ᘁ "nu", // 0x1602 ᘂ "no", // 0x1603 ᘃ "ne", // 0x1604 ᘄ "nee", // 0x1605 ᘅ "ni", // 0x1606 ᘆ "na", // 0x1607 ᘇ "mu", // 0x1608 ᘈ "mo", // 0x1609 ᘉ "me", // 0x160a ᘊ "mee", // 0x160b ᘋ "mi", // 0x160c ᘌ "ma", // 0x160d ᘍ "yu", // 0x160e ᘎ "yo", // ...
<?php /** * PublicImportResponse * * PHP version 7.3 * * @category Class * @package HubSpot\Client\Crm\Imports * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * CRM Imports * * No description provided (generated by Openapi Generator https://github.com/openapitools/open...
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\File; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Mayors; use App\News; use App\Magazine; use App\brgy; class WelcomeController extends Controller { public function index() {...
<?php namespace App\Http\Controllers\Cerepost; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\Cerepost; use App\Http\Resources\Cerepost\CerepostResource; class CerepostController extends Controller { public function index(){ $data = Cerepost::all(); return CerepostReso...
<?php declare(strict_types=1); namespace Square\Models; class RetrieveInventoryChangesRequest implements \JsonSerializable { /** * @var string|null */ private $locationIds; /** * @var string|null */ private $cursor; /** * Returns Location Ids. * * The [Locatio...
@extends('layout') @section('content') <div class="row" style="margin-top:20px; margin-bottom:5px;"> <div class="col-lg-12 margin-tb"> <div class="float-left"> <h2>Employees</h2> </div> <div class="float-right"> <a class="btn btn-success" href="{{ route('employees.c...
<?php declare(strict_types=1); /** * This file is part of hyperf-ext/auth. * * @link https://github.com/hyperf-ext/auth * @contact eric@zhu.email * @license https://github.com/hyperf-ext/auth/blob/master/LICENSE */ namespace HyperfExt\Auth\Aspect; use Hyperf\Di\Annotation\Aspect; use Hyperf\Di\Annotation\...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use kartik\date\DatePicker; use yii\helpers\ArrayHelper; use app\modules\admin\models\CatAreas; use app\modules\admin\models\CatPlanteles; /* @var $this yii\web\View */ /* @var $model app\modules\soporte\models\InvAsignaciones */ /* @var $form yii\widgets\Active...
@extends('admin.layouts.default') @section('page:heading','') @section('modals:append') @include('admin.modals.delete.subscription') @stop @section('page:content') <div class="card shadow mb-4"> <div class="card-header py-3 d-flex flex-row align-items-center justify-content-between"> <h6 ...
<?php $filename = "laporan_penjualan_pertanggal-(".date('d-m-Y').").xls"; header("content-disposition: attachment; filename= '$filename'"); header("content-type: application/vdn.mc-exel"); ?> <!-- Page Heading --> <h4 class="mb-4 text-gray-800">Laporan penjualan dari <b style="color:red;"><i><?php echo $tglm ?></i...
<?php namespace app\admin\model; use think\Model; class Attribute extends Model { //对attr_type和attr_input_type值进行转换 public function getAttrTypeAttr($value) { return $value ? '单选属性' : '唯一属性'; } public function getAttrInputTypeAttr($value) { return $value == 0 ? 'input输入框' : ($...
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Hash; use App\Providers\RouteServiceProvider; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterContro...
<?php namespace App\Helpers; use Image; use Request; use File; class UploadHelper { /** * upload Upload Any Types of File. It's not checking the file type which may be checked before pass here in validation * @param [type] $f [request for file or not] * @param [type] $file ...
<?php namespace Topxia\Api\Resource; use Silex\Application; use Symfony\Component\HttpFoundation\Request; use Topxia\Common\ArrayToolkit; class Articles extends BaseResource { public function get(Application $app, Request $request) { $conditions = $request->query->all(); $start = $request->q...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Jual extends Model { protected $table = 'penjualan_produk'; protected $fillable = [ 'jumlah', 'produk_id', 'penjualan_id', 'status', 'start_date', 'end_date' ]; public function produk() { return $this->belongsTo('App\P...
<html> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="UTF-8"> <title>-Face +Book</title> <link rel="stylesheet" href="css/buho.css"> <link rel="stylesheet" href="css/style2.css"> <link rel='stylesheet prefetch' href='http://cdnjs.cloudflare.com/ajax/...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\Employee */ $this->title = 'Update Employee: ' . $model->account; $this->params['breadcrumbs'][] = ['label' => '雇员管理', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->account, 'ur...
<?php include "./db/conect.php"; ?> <!DOCTYPE html> <html lang="zxx"> <head> <title>Cửa hàng bán đồ gia dụng</title> <!-- Meta tag Keywords --> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="UTF-8" /> <meta name="keywords" content="Electro Store Responsive web template, Boots...
<ol class="breadcrumb bc-3"> <li> <a href="<?php echo base_url() ?>simanis/admin"> <i class="fa fa-newspaper-o"></i>Admin</a> </li> <li class="active"> <strong>Data Produk</strong> </li> </ol> <h3>Data Produk </h3> <div class="row"> <div class="col-md-12"> ...
<?php namespace Application\View\Helper\Config\Factory; use Application\View\Helper\Config\ProjectConfigData; use Interop\Container\ContainerInterface; use Interop\Container\Exception\ContainerException; use Laminas\ServiceManager\Exception\ServiceNotCreatedException; use Laminas\ServiceManager\Exception\ServiceNotFo...
<?php namespace App\Http\Requests; use App\Http\Requests\Request; class tipoaccionRequest extends Request { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation r...
<?php /** * This file is part of HX3 Forum. * * (c) Herbert "Atomic" Walde <herbert.walde@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace generated; use POOQ\Collection\AbstractList; use POOQ\Collection\Variab...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Laporan Sales Order</title> <style type="text/css"> body{ font-family: 'Calibri' !important; font-size: 16px; line-height: 13.5px; } @page { margin-top: 1.27cm; margin-bottom: 1.4cm...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class M_kuisioner extends CI_Model { function __construct() { parent::__construct(); } public function read($limit, $start, $key) { $this->db->select('*'); $this->db->from('tbl_kuisioner a'); $thi...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 5.1.6 or newer * * @package CodeIgniter * @author EllisLab Dev Team * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. * @copyright Copyright (c) 201...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ProductImage extends Model { public $timestamps=true; protected $guarded=[]; }
<?php define('APP_NAME', 'bank'); define('ROOT_DIR', dirname(dirname(__FILE__))); //bank define('CTRL_DIR', ROOT_DIR.'/controller'); define('CONF_DIR', ROOT_DIR.'/config'); define('LIB_DIR', ROOT_DIR.'/lib'); define('MOD_DIR', ROOT_DIR.'/model'); define('TMP_DIR', ROOT_DIR.'/cache'); define("LOG_DIR", ROOT_DIR.'/logs/'...
@extends('layouts.main_admin') @section('title', 'Tambah Data Dosen') @section('container') <div class="container"> <form action="{{ route('tambah_dosen') }}" method="POST"> @csrf <div class="form-group"> <label for="nama">Nama</label> <input type="tex...
<?php namespace DanieleFavi\Settings; use Illuminate\Database\Eloquent\Model; class Setting extends Model { /** * The attributes that should be cast to native types. * @var array */ protected $casts = [ 'value' => 'json' ]; /** * Update an existing setting or store a new ...
<?php namespace App\Models; use App\User; use Eloquent; class PaymentRecord extends Eloquent { protected $fillable =['student_id', 'payment_id', 'amt_paid', 'year', 'paid', 'balance', 'ref_no']; public function payment() { return $this->belongsTo(Payment::class); } public function stude...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateStudentDetailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('student_...
<div class="row "> <nav style="margin-bottom: 0;" role="navigation" class="navbar navbar-fixed-top "> <div class="navbar-header"> <a href="javascript:void(0)" class="navbar-minimalize minimalize-btn "> <i class="fa fa-bars"></i> </a> </div> <ul class=...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel frontend\models\MuzikSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Muziks'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="muzik-index"> <h1><?= Html::encode($thi...
<?php /** * 2015-06-29 修复签名问题 * */ namespace xjryanse\wechat\WxPay\lib; use xjryanse\wechat\WxPay\base\WxPayDataBase; /** * * 撤销输入对象 * @author widyhu * */ class WxPayReverse extends WxPayDataBase { /** * 设置微信分配的公众账号ID * @param string $value * */ public function SetAppid($value) { ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class DropTableCheckins extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::drop('checkins'); } /** * Reverse the migrations....
@extends('template.second') @section('content') @include('backoffice.partial.tableContacticone') @endsection
<?php /** * Hestia Sidebar Layout Manager. * * @package Hestia */ /** * Class Hestia_Sidebar_Layout_Manager */ class Hestia_Sidebar_Layout_Manager extends Hestia_Abstract_Main { /** * Init layout manager. */ public function init() { // Single Post add_filter( 'hestia_filter_single_post_content_classes'...
<?php namespace App\Http\Controllers; use App\Http\Requests\TransactionPostRequest; use App\Http\Controllers\GenericController; use App\Methods\GenericMethod; use App\Methods\TransactionValidationMethod; use App\Models\Transaction; use App\Models\POBatch; use App\Models\RRBatch; use App\Models\ReferrenceBatch; use Ap...
<?php namespace Anomaly\UsersModule; use Anomaly\Streams\Platform\Addon\AddonServiceProvider; /** * Class UsersModuleServiceProvider * * @link http://pyrocms.com/ * @author PyroCMS, Inc. <support@pyrocms.com> * @author Ryan Thompson <ryan@pyrocms.com> */ class UsersModuleServiceProvider extends AddonServicePr...
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> <footer id="footer" class="footer <?php if (array_key_exists('archive',unserialize($this->___fields()))): ?>bg-white<?php elseif($this->is('archive')&&($this->options->colorBgPosts == 'defaultColor')): ?>bg-white<?php elseif($this->is('archive')&&($this->options->co...
<?php namespace App\Http; use App\Http\Middleware\Client; use App\Http\Middleware\Manager; use App\Http\Middleware\OneCliamPerDay; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are r...
<?php header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); header('Cache-Control: no-store, no-cache, must-revalidate'); header('Cache-Control: post-check=0, pre-check=0', false); header('Pragma: no-cache'); header('Location: ../../../../../'); exit();
<?php namespace Github\Normalizer; use Jane\Component\JsonSchemaRuntime\Reference; use Github\Runtime\Normalizer\CheckArray; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\Denormal...
<?php namespace App\View\Components\servicios; use Illuminate\View\Component; class mainsectionalimentacion extends Component { /** * Create a new component instance. * * @return void */ public function __construct() { // } /** * Get the view / contents that repr...
<?php namespace Drupal\path\Form; use Drupal\Core\Form\FormBase; use Drupal\Core\Form\FormStateInterface; /** * Provides the path admin overview filter form. */ class PathFilterForm extends FormBase { /** * {@inheritdoc} */ public function getFormId() { return 'path_admin_filter_form'; } /** ...
<!DOCTYPE html> <html lang="en"> <head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> </head> <body> <center><h2>Reservation Status</h2></c...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Book extends Model { use HasFactory; protected $guarded = ['id']; // hanya field id saja yg tidak boleh diisi }
@extends('front.layouts.app') @section('page_content') <div class="ps-breadcrumb"> <div class="container def-pad"> <ul class="breadcrumb"> <li><a class="" href="{{route('front.index')}}">Home</a></li> @if(\Route::current()->getName() == 'front.about') <li class="text-whi...
<?php namespace Jblv\Admin\Controllers; trait ModelForm { /** * Display the specified resource. * * @param int $id * * @return \Illuminate\Http\Response */ public function show($id) { return $this->edit($id); } /** * Update the specified resource in stor...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Test extends Model { use HasFactory; protected $guarded; }
<?php include 'components/top-link.php'; ?> <?php require 'process/session-login.php'; ?> <?php require 'process/session-admin.php'; ?> <?php include 'components/navbar.php'; ?> <?php include 'components/sidebar.php'; ?> <!-- Start Content Wrapper --> <div class="content-wrapper"> <div class="col-12 grid-margin">...
@extends('layouts.app') @section('content') @if(auth()->user()->hasrole('Warehouse Manager')) <form class="search-form" action="#" style="margin:auto;max-width:300px"> <input type="text" placeholder="Search.." id="searchall" size="50" autocomplete="off"> </form> @endif <div class="table" id="requestdiv"> ...
<?php namespace Container3bInxFR; 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 getCachePoolClearer_CacheWarmerS...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $config['query_string_segment'] = 'start'; $config['full_tag_open'] = "<ul class='pagination pagination-sm no-margin pull-right'>"; $config['full_tag_close'] = "</ul>"; $config['first_tag_open'] = "<li>"; $config['first_tag_close'] = "</li>";...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Pages */ $this->title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'Страницы', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?> <di...
<?php namespace App\Http\Livewire; use App\Courier; use App\Order; use App\OrderDetail; use App\Support\Facades\Cart; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Http; use Livewire\Component; class Checkout extends Component { public $name; public $p...
<?php namespace App\Services; use App\Models\Tag; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Collection; class TagsSynchronizer { public function sync(Collection $tags, Model $model) { foreach ($tags as $tag) { $tag = Tag::firstOrCreate(['name' => $tag]); $...
<?php namespace UserBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use AuthBundle\Traits\JwtTrait; class DefaultControllerTest extends WebTestCase { use JwtTrait; private $token; private function createToken($role){ return $this->createJwtToken([ "id"...
@extends('layout.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-body"> <div class="row"> <h4>Censo Funcional - Confirmação dos dados</h4...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBlogTagTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('blog_tag', func...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, ...
<?php require 'settings/tracy-2.6.2/src/tracy.php'; use Tracy\Debugger; require 'settings/database.login.php'; $message = ''; ////////get settings /////// if(!isset($isGetSetting)){ require 'get_setting_data.php'; } $isAutoAcceptRegistrationEnabled = getSetting("", "enableAutoRegistration"); $defaultGroupId = ge...
<?php /** * Created by PhpStorm. * User: lvinkim * Date: 9/19/17 * Time: 10:44 PM */ require __DIR__ . '/../../vendor/autoload.php'; use Elasticsearch\ClientBuilder; $connectionParams[] = '127.0.0.1:9200'; $client = ClientBuilder::create() ->setHosts($connectionParams) ->build(); $db = 'lvinkim'; $col...
<div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <strong class="card-title">Data Tahapan Minum Obat Pasien</strong> </div> <div class="card-body"> <div class="col-md-12"> <table clas...
<!DOCTYPE html> <html> <head> <!-- Developed by Engagex (http://engagex.com) --> <!-- Application: <?php echo Yii::app()->name; ?> --> <!-- <?php echo Yii::app()->params['buildVersion']; ?> --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="language" content="en"> <meta name="vi...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:...
<?php /************************************************************** * Simple Desk Project - www.simpledesk.net * *************************************************************** * An advanced help desk modification built on SMF * **********************************************************...
<?php namespace Config; // Create a new instance of our RouteCollection class. $routes = Services::routes(); // Load the system's routing file first, so that the app and ENVIRONMENT // can override as needed. if (file_exists(SYSTEMPATH . 'Config/Routes.php')) { require SYSTEMPATH . 'Config/Routes.php'; } /* * ...
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- HEADER --> <link rel="shortcut icon" type="image/png" href="<?php echo base_url('assets/images/favicon.png');?>"/> <link rel="stylesheet" type="text/css" href="<?php echo base_url("assets/css/all.css"); ?>"...
<?php /* [UCenter] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: app.php,v 1.1 2009/08/11 03:21:22 blt Exp $ */ !defined('IN_UC') && exit('Access Denied'); class appcontrol extends base { function __construct() { $this->appcontrol(); } function appcontrol() { par...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\user; use Session; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Hash; class UserController extends Controller { public function register(){ return view('register'); } public function signup(Request...
<h1>Datenschutzerklärung</h1>
<?php //////////////////////////////////////////////////////////////////////////// // // (c) phpChess Limited, 2004-2006, in association with Goliath Systems. // All rights reserved. Please observe respective copyrights. // phpChess - Chess at its best // you can find us at http://www.phpchess.com. // ...
@extends('admin.layout.index') @section('content') <!-- Content Header (Page header) --> @if ($errors->any()) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> ...
<?php namespace app\models; use app\constants\MigrationConstants; /** * @property mixed|string|null token * @property mixed|null user_auth_id */ class EmailVerification extends BaseModel { const EMAIL_VERIFICATION_LINK_EXPIRY_TIME_IN_SECONDS = 259200; // 3 days const FORGOT_PASSWORD_LINK_EXPIRY_TIME_IN_SE...
<?php namespace PicturePark\API\Exception; class ContentDeleteManyTooManyRequestsException extends TooManyRequestsException { public function __construct() { parent::__construct('Too many requests'); } }
<?php namespace Ocd\NewsBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Doctrine\Common\Collections\Collection; use Ocd\NewsBundle\Entity\News; use Ocd\NewsBundle\Model\NewsLinkTrait; use Ocd\NewsBundle\Model\MultilangTrait; use Ocd\UserBundle\Model\TimestampableInterface; use Ocd\UserBundle\Model\TimestampableTr...