text
stringlengths
2
1.03M
<?php /* * This file is part of the Kisaan package. * * (c) Cocolabs SAS <contact@cocolabs.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Kisaan\MessageBundle\Repository; use Doctrine\ORM\EntityRepository; use Doc...
<?php namespace Dhtmlx\Connector\DataStorage\ResultHandler; class FileSystemResultHandler { private $files; private $currentRecord = 0; // add record to output list public function addFile($file) { $this->files[] = $file; } // return next record public function next() { ...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use App\Models\Manufacturer; use Illuminate\Support\Facades\DB; class ManufacturerSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('Manufacturer')->de...
<?php /** * Created by PhpStorm. * User: xujiantao * Date: 13-11-28 * Time: 20:26 */ class CouponModel extends BaseModel { public function getCouponListData() { $count = $this->tableCoupon()->count(); $page = $this->pageNavgation($count, 10); $result['list'] = $this->tableCoupon()->...
<!-- ========================================================= Material Dashboard - v2.1.1 ========================================================= Product Page: https://www.creative-tim.com/product/material-dashboard Copyright 2019 Creative Tim (https://www.creative-tim.com) Licensed under MIT (https://github.co...
<?php namespace MailPoet\Cron\Workers; if (!defined('ABSPATH')) exit; use MailPoet\Entities\ScheduledTaskEntity; use MailPoet\Models\Subscriber; use MailPoet\WP\Functions as WPFunctions; use MailPoetVendor\Carbon\Carbon; use MailPoetVendor\Idiorm\ORM; if (!defined('ABSPATH')) exit; class SubscriberLinkTokens exte...
<?php namespace App\Http\Controllers; use App\Models\customer; use App\Models\admin; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class AkunController extends Controller { public function register() { return view('register'); } public function store(Request $request){ ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\Models\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; class RegisterController extends Controller { ...
<?php require 'images_libs.php'; if(!isset($_REQUEST['f']))exit; $fname=$_REQUEST['f']; if(preg_match('#(^[^/]|^|/)\.\./#',$fname))exit; set_image_mime($fname); $manipulated=0; $effects=array('rotate'); foreach($effects as $eff)if(isset($_REQUEST[$eff]))$manipulated=1; if(!$manipulated)readfile($froot.$fname); else...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class Student extends Authenticatable { use HasFactory, Notifiable; protected $guard = '...
<?php class Karyawan extends MY_Controller { function __construct() { parent::__construct(); $this->load->model('Mkaryawan'); $this->load->model('Mperusahaan'); if (!$this->session->userdata('user')) { $log = base_url("mastercms"); $this->session->set_flashdata('msg', '<div class="alert al...
<?php namespace App\Models; use App\Models\User; use Illuminate\Database\Eloquent\Model; class Report extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'reports'; /** * The attributes that are mass assignable. * * @var arr...
<?php namespace Drupal\tablesort_example\Controller; use Drupal\Core\Controller\ControllerBase; use Drupal\Core\Database\Connection; use Symfony\Component\DependencyInjection\ContainerInterface; /** * Controller routines for tablesort example routes. */ class TableSortExampleController extends ControllerBase { ...
<?php use App\Http\Controllers\AboutController; use App\Http\Controllers\ContactController; use App\Http\Controllers\FooterController; use App\Http\Controllers\Header_logoController; use App\Http\Controllers\HomeBackOfficeController; use App\Http\Controllers\HomeController; use App\Http\Controllers\NavbarController; u...
<?php namespace Ofumbi\Jmes; use JmesPath\Parser; use JmesPath\TreeCompiler; use File; class Jmes { /** * @param string $expression JMESPath expression to evaluate * @param mixed $data Data to search * * @return mixed|null */ public static function search($expression, $data) ...
<!DOCTYPE html> <html lang="pt-br"> <head> @yield('head') </head> <body> @include('partials.nav') @yield('content') @include('partials.footer') </body> </html>
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Adyen Checkout samples</title> <link rel="stylesheet" href="../assets/style.css"> </head> <body> ...
<div id="app"> <nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm"> <div class="container"> <a class="navbar-brand" href="{{ url('/') }}"> {{ config('app.name', 'LSAPP') }} </a> <button class="navbar-toggler" type="...
<?php $link = mysqli_connect("localhost", "root", "", "angsur"); // Check connection if($link === false){ die("ERROR: Could not connect. " . mysqli_connect_error()); } $query = "SELECT * FROM pengajuan"; $query_run = mysqli_query($link, $que...
<?php namespace _CKFinder_Vendor_Prefix\League\Flysystem; /** * @deprecated */ class Directory extends Handler { /** * Delete the directory. * * @return bool */ public function delete() { return $this->filesystem->deleteDir($this->path); } /** * List the director...
<?php namespace Modules\Email\Http\Controllers; use Auth; use App\Http\Controllers\BaseController; use App\Services\DatatableService; use Modules\Email\Datatables\EmailDatatable; use Modules\Email\Repositories\EmailRepository; use Modules\Email\Http\Requests\EmailRequest; use Modules\Email\Http\Requests\CreateEmailRe...
<?php //000000000000 exit();?> a:3:{i:0;a:5:{i:0;d:1508209644000;i:1;d:6.0693999999999999;i:2;d:6.125;i:3;d:6.0640999999999998;i:4;d:6.0648;}i:1;a:5:{i:0;d:1508209650000;i:1;d:6.1394000000000002;i:2;d:6.1950000000000003;i:3;d:6.1341000000000001;i:4;d:6.1348000000000003;}i:2;a:5:{i:0;d:1508209656000;i:1;d:6.11939999999...
<?php function drf_activate_plugin(){ if( version_compare(get_bloginfo('version'), '4.9', '<') ){ wp_die( __('Your must update WordPress to use this plugin', 'drf') ); } }
<?php namespace App; use Illuminate\Database\Eloquent\Model; class meals_order extends Model { protected $fillable = [ 'user_id', 'user_name', 'email', 'address', 'contact', 'card_number', 'meals_id', 'meals_name', 'price' ]; }
<?php /** * @copyright 2015 Contentful GmbH * @license MIT */ namespace Contentful\Tests\Unit; use Contentful\Location; class LocationTest extends \PHPUnit_Framework_TestCase { /** * @covers \Contentful\Location::__construct * @covers \Contentful\Location::getLatitude * @covers \Contentful\Lo...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | c...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ServiceType extends Model { // public function services() { return $this->hasMany(Service::class); } public function jobs() { return $this->hasManyThrough(Job::class, Service::class); } }
<?php namespace App\Models; use CodeIgniter\Model; Class NewsModel extends Model { protected $table = 'news'; public function getNews($slug = false) { if($slug === false) { return $this->findAll(); } return $this->asArray() ->where(['slug'=...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/compute/v1/compute.proto namespace Google\Cloud\Compute\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A request message for RegionUrlMaps.List. ...
<?php use App\Http\Controllers\AlertController; use App\Http\Controllers\AppController; use App\Http\Controllers\Auth\LoginGoogleController; use App\Http\Controllers\Page\DashboardController; use App\Http\Controllers\Page\FrontendController; use App\Http\Controllers\Page\ProductCategoryController; use App\Http\Control...
<!-- Bootstrap core JS--> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> <!-- Core theme JS--> <script src="js/scripts.js"></script> <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *--> <!-- * * ...
@extends('layouts.apps') @section('content') <div class="widget-box"> <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span> <h5>Golongan</h5> </div> <div class="widget-content"> <h3>Tambah Data Golongan</h3> <hr> {!!Form::ope...
<?php namespace LaravelEnso\Helpers\app\Classes; class Obj { public function __construct(array $array = []) { foreach ($array as $key => $value) { $this->set($key, $value); } } public function all() { return get_object_vars($this); } public function __...
<?php class A { var $a, $b; } <<__EntryPoint>> function main_1816() { $a = new A(); $a->a = 5; $a->b = &$a->a; apc_store('key', $a); var_dump(apc_fetch('key')); }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class zone extends Model { use HasFactory; protected $fillable=[ 'codezone', 'libelle_zone' ]; protected $table ='zone'; public function regions() ...
<?php include("begin.php"); if($_POST["cp"] != null){ $reduction = reduction($_POST["cp"]); if($reduction>=0){ setcookie("reduc", $reduction, time()+86400); $_COOKIE["reduc"] = $reduction; header('Location: recapitulatif.php?id='.$_COOKIE["idMatch"].'&red=1'); } else{ header('Location: ...
</div> <footer class="page-footer font-small bg-dark text-white pt-4 static-bottom"> <div class="container-fluid text-center text-md-left"> <div class="row"> <div class="col-md-6 mt-md-0 mt-3"> <!-- Content --> <h5 class="text-uppercase">Bulómetro</h5> <p>Por una información más veraz.</p> ...
<?php /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
<!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Bazar||Shop</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <link rel="stylesheet"...
<?php /** * Created by PhpStorm. * User: user * Date: 08.02.2018 * Time: 1:22 */
<?php class QuestionController extends BaseController{ public static function list() { $ret = Question::all(); View::make('question/list.html', array('questions' => $ret)); } public static function show($id) { $q = Question::find($id); View::make('question/show.html', array('q...
<?php namespace App\Api; use Mini\Base\Rest; /** * 这是一个演示API版本控制的demo */ class Info extends Rest { /** * GET */ function get() { $info = 'Hello World!'; // 输出JSON $this->responseJson(200, 'success', $info); } }
<?php namespace App\Console\Commands; use App\Email; use App\Group; use App\User; use Illuminate\Console\Command; use Illuminate\Support\Facades\Hash; class installhelper extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'info...
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class UserTreningPlanTrening extends Model { protected $table='user_trening_plan_trening'; public $timestamps = false; protected $fillable = [ 'datum' ,'korisnik_trening_plan_id' ,'trening_plan_trening_id' ...
<?php namespace App\Exceptions; use Exception; use Illuminate\Validation\ValidationException; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Database\Eloquent\ModelNotFoundException; use Laravel\Lumen\Exceptions\Handler as ExceptionHandler; use Symfony\Component\HttpKernel\Exception\HttpException; ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class ArticleCategory extends Model { use HasFactory; protected $fillable = ['name', 'description', 'state']; public function articles() { return $this->hasMany(__NAMES...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...
<?php namespace App\Model; //use Illuminate\Database\Eloquent\Model; class QuestionOption extends Model { // public function question(){ return $this->belongsTo(Question::class); } }
@extends('layouts.app') @section('content') <div class="text-center"> <h1>Log in</h1> </div> <div class="row"> <div class="col-sm-6 offset-sm-3"> {!! Form::open(['route' => 'login.post']) !!} <div class="form-group"> {!! Form...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Users */ $this->title = $model->user_id; $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Users'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="users-view">...
<?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illumina...
<?php namespace AppBundle\Grid\Filter; use AppBundle\Entity\Order; use AppBundle\Entity\OrderItem; use AppBundle\Entity\UserCoding; use AppBundle\Entity\UserLogistic; use AppBundle\Entity\UserSupport; use AppBundle\Repository\OrderRepository; use Doctrine\Common\Collections\ArrayCollection; use Sylius\Component\Grid\...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateContactsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('contacts', fun...
<?php // Generated by ZF2's ./bin/classmap_generator.php return array( 'SmartQuestions\Module' => __DIR__ . '/Module.php', 'SmartQuestions\Controller\Factory\GradesControllerFactory' => __DIR__ . '/src/SmartQuestions/Controller/Factory/GradesControllerFactory.php', ...
<?php $form = $theme->createForm($model, $errors); echo $form->open(); echo $form->inputGroup($data, 'email', ['autofocus' => true]); echo $form->passwordGroup($data, 'password'); echo $form->checkboxGroup($data, 'rememberMe'); echo $form->renderErrors(); echo $form->beginButtons(); $submit = t('user', 'Login')...
<?php require_once("conn.php"); // 获取请求数据 // 方式一 // echo $_POST["offset"]; //_POST只有form -data 能才处理 // 方式二,这种方式需要序列化,接收数据格式为josn 和 raw $req_data = file_get_contents("php://input"); $req_data = json_decode($req_data, true); // 方式三,HTTP_RAW_POST_DATA 需要配置参数 // print_r( $GLOBALS['HTTP_RAW_POST_DATA'] ); ...
<!-- ============================== templateContainer--> <header class="template-header" ng-controller="CtrlHeader" ng-include="'../ngMaster/header.php'"></header> <section class="template-wrapper act_6"> <aside class="template-asideLeft o-aside-Item"></aside> <div class="template-section m-a" ng-init="DragandD...
<?php namespace app\models; use yii\db\ActiveRecord; use yii\helpers\ArrayHelper; use Yii; use yii\behaviors\TimestampBehavior; /** * This is the model class for table "payment_method". * * @property int $id * @property string $label * @property string $description * @property boolean $active * * @property Dem...
@foreach ($sample->items as $key => $item) @isset($sample->entities) @foreach ($sample->entities as $entKey => $entity) @if ($entity->offset == $key) @include('samples.panel.entities') @endif @endforeach @endisset <div data-nav="{{ $key+1 }}" data-tit...
<div class="panel panel-secondary"> <div class="panel-heading"><?php echo $lang->get('client_statistics'); ?></div> <div class="panel-content panel-table"> <table class="table table-striped table-condensed"> <tbody> <tr> <td><strong><?php echo $lang->get('...
<?php return [ /* |-------------------------------------------------------------------------- | Application Environment |-------------------------------------------------------------------------- | | This value determines the "environment" your application is currently | running in. This m...
<?php declare(strict_types=1); namespace EonX\EasyApiToken\External\Interfaces; interface JwtDriverInterface { /** * @return mixed[]|object */ public function decode(string $token): mixed; /** * @param mixed[]|object $input */ public function encode(array|object $input): string; ...
@extends('layouts.master.dashboard') @section('backend-content') @section('academic-css') <style type="text/css"> .table th, .table td { vertical-align: middle; } </style> @endsection <div class="col-lg-12"> <div class="row"> ...
<!DOCTYPE html> <html lang="en"> @include('admin.layouts.head') <body> <div class="d-flex" id="wrapper"> <!-- Sidebar --> @include('admin.layouts.header') <!-- /#sidebar-wrapper --> <!-- Page Content --> <div id="page-content-wrapper"> @include('admin.layouts.sidebar') @yield('content...
<div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> <div class="row"> <div class="col-lg-4"> <div class="d-sm-flex flex-row flex-wrap text-center text-sm-left align-items-center"> ...
<?php // +------------------------------------------------------------------------------------ // | Desc: Db Exception // + ----------------------------------------------------------------------------------- // | By: PhpStorm // +------------------------------------------------------------------------------------ // |...
<?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\Component\Validator\Validator; use Symfony\Component\Validator\...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Member; class MemberController extends Controller { #생성 하는 함수 function addDate(Request $req) { $member = new Member; $member->name=$req->name; $member->email=$req->email; $member->address=...
<?php namespace App\Http\Controllers\Front; use App\Http\Controllers\Controller; use App\Models\Brand; use App\Models\Product; use App\Models\ProductCategory; use App\Models\ProductComment; use Illuminate\Http\Request; // lớp xử lý toàn bộ nội dung logic tại đay class ShopController extends Controller { // hàm ...
<?php /** * Unicode Normalizer * * File: D:\Data\dev\i18n-unicodnorm\trunk\I18N/data/utf8/Compositions.php * Generated automatically by: I18N_UnicodeNormalizer_Compiler::compileCompositions * From: D:\Data\dev\i18n-unicodnorm\trunk\I18N/data/utf8/CanonicalDecompositions.php * Date: Wednesday, 04-Jul-07 12:36:50 U...
@extends('admin.layouts.app') @section('main-content') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card...
<?php namespace app\home\controller; use think\Controller; use think\Validate; use think\Db; class Points extends Controller { /** * 我的积分页面接口 */ public function find() { $data = input('post.'); $time = time(); if(empty($data['id'])){ $respone = array('data' =>...
<?php $orderId="RE/test/1"; $orderDate="010416-300416"; $receiver_company="Empfänger GmbH"; $receiver_name="- Buchhaltung -"; $receiver_street="Foo Straße 55b"; $receiver_postal="12345 Bar Stadt"; $receiver_country=""; $receiver_custid=777; $items = array( new item(array("Admin", "DB Einrichtung, Aufwand in h", 6....
@layout('_layout/investor/index') @section('title')Nama Ternak@endsection @section('content') <div class="text-center opaque-overlay" style="background-image: url(&quot;https://i.imgur.com/OJIcIns.jpg&quot;);"> <div class="container py-5"> <div class="row"> <div class="col-md-12 text-white"> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCmfEduZhongcengmingxisTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('...
@extends('polls/template_form') @section('form') {!! Form::open(['route' => ['poll.update', $poll->id], 'method' => 'put', 'class' => 'form-horizontal panel']) !!} <p><strong>Question</strong></p> {!! Form::control('text', $errors, 'question', 'Question', $poll->question) !!} <hr> <div id...
<div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <strong>Deleted Projects</strong> <small> {!! $search ? 'Showing '. $projects->count() .' results for ...
<?php // Database connection startup require_once '../utilities/RSdatabase.php'; require_once '../utilities/RSMitemsManagement.php'; // Definitions $clientID = $GLOBALS['RS_POST']['clientID' ]; $items = explode(":", $GLOBALS['RS_POST']['properties']); $itemIDs = array(); foreach ($items as $item...
<?php namespace Essential_Addons_Elementor\Traits; if (!defined('ABSPATH')) { exit; } // Exit if accessed directly use \Elementor\Controls_Manager; use \Elementor\Group_Control_Background; use \Elementor\Group_Control_Border; use \Elementor\Group_Control_Box_Shadow; use \Elementor\Group_Control_Image_Size; use \...
<?php /** * @link https://cms.skeeks.com/ * @copyright Copyright (c) 2010 SkeekS * @license https://cms.skeeks.com/license/ * @author Semenov Alexander <semenov@skeeks.com> */ /* @var $this yii\web\View */ /* @var $model \skeeks\cms\models\CmsTree */ $dataProvider = new \yii\data\ActiveDataProvider([ 'query'...
<?php namespace App\Http\Controllers; use App\Events\MessageWasComposed; use App\User; use Carbon\Carbon; use Lexx\ChatMessenger\Models\Message; use Lexx\ChatMessenger\Models\Participant; use Lexx\ChatMessenger\Models\Thread; use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Auth...
@extends('ecomm.admin.main') @section('title', 'Products') @section('content') <div class="content"> <div class="row"> <div style="text-align: center;"> <h1>Products</h1> </div> </div> <div class="row"> <div class="col-lg-12"> ...
@extends('layouts.app' , ['class' => 'bg-default']) @section('content') <h1>{{ $shipment->name }}</h1> <div> {{ $shipment->email }}</div> @extends('layouts.app') @section('content')
<?php error_reporting(0); include_once("../../config.php"); if (!(CommonController::isLogin())){ echo CommonController::printError("Login Session Expired. Please Login Again"); exit; } if (isset($_POST{"save"})) { ...
<?php declare(strict_types=1); namespace Shopify\Rest; use Shopify\Auth\Session; use Shopify\Clients\RestResponse; use Shopify\Rest\Base; /** * @property string|null $code * @property int|null $id * @property string|null $name * @property Province[]|null $provinces * @property float|null $tax */ class Country...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\admin\models\Food */ $this->title = 'Create Food'; $this->params['breadcrumbs'][] = ['label' => 'Foods', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="food-create"> <h1><?= Html::encode($th...
<?php class OCRA { private $suite; private $key; private $session; private $pin; private $time = null; public function __construct($ocraSuite, $key) { $this->suite = $this->_parseSuite($ocraSuite); $this->key = $key; } public function generate($input, $counter = 0) { $msg = $this->suite['name']."\0"; /...
<?php /** * Template file * * @package App * @subpackage Custom_Fields * * @var $field_settings * @var $field_name * @var $field_value * */ ?> <tr class="form-field"> <th scope="row" valign="top"> <label for=""> <?php echo esc_html( $field_settings['label'] ); ?> </label> </th> <td> <sel...
<!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, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>SB Admin 2 - Login</title...
<?php /* @SonataBlock/Profiler/icon.svg */ class __TwigTemplate_f0a044bddd3369c0876dae36135b1d2e24dfc7ca9974afcf447f2ddecd21604a extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<?php /** * Created by PhpStorm. * User: Servidor Symi * Date: 27/06/2015 * Time: 12:10 PM */ namespace Symi\Entities; use Illuminate\Database\Eloquent\Model; class Proforma extends Model{ protected $fillable = array('numero','descripcion','monto_MO','maquinaria_equipo','materiales','f_inicio', 'n_di...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UserRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the v...
<?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' => 'wine-manage', 'basePath' => dirname(__DIR__), 'controll...
<?php /** * This file is wrapper class for Google Table * * @author KoolPHP Inc (support@koolphp.net) * @link https://www.koolphp.net * @copyright KoolPHP Inc * @license https://www.koolreport.com/license#mit-license */ namespace koolreport\widgets\google; class Table extends Chart { protected $stability="c...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width = device-width, initial-scale = 1, shrink-to-fit = no"/> <!-- Bootstrap --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOng...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Gender extends Model { public function User() { return $this->hasMany('App\User','id','gender_id'); } }
<?php namespace App; use Illuminate\Database\Eloquent\Model; class RespostaComportamento extends Model { // }
<?php /** * System messages translation for CodeIgniter(tm) * * @author CodeIgniter community * @copyright Copyright (c) 2014 - 2017, British Columbia Institute of Technology (http://bcit.ca/) * @copyright Pieter Krul * @license http://opensource.org/licenses/MIT MIT License * @link https://codeig...
<?php /* * This file is part of Psy Shell. * * (c) 2012-2015 Justin Hileman * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Psy\Test\CodeCleaner; use Psy\CodeCleaner\ImplicitReturnPass; class ImplicitReturnPassTest ex...
<?php declare(strict_types=1); namespace App\Services\Stocks; use Illuminate\Support\Str; use Symfony\Component\DomCrawler\Crawler; class Foxtrot extends SimpleStock { public function getName(): string { return 'Foxtrot'; } public function getUrl(): string { return 'https://www....