text
stringlengths
2
1.03M
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Ip2mac extends Model { protected $table = 'ip2mac'; }
<!DOCTYPE php> <html> <head> <title>Bootstrap Admin Theme v3</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap --> <link href="<?php echo base_url('assets/')?>bootstrap/css/bootstrap.min.css" rel="stylesheet"> <!-- styles --> <link href="<?php echo base_url(...
<?php namespace app\views; use app\models\User; use app\libraries\FileUtils; use app\libraries\Utils; use app\models\PollModel; use app\libraries\PollUtils; class PollView extends AbstractView { public function showPollsInstructor($todays_polls, $older_polls, $future_polls, $dropdown_states) { $this->co...
<?php declare(strict_types=1); namespace Patterns\BehavioralPatterns\Command; use Patterns\RunnerInterface; class Runner implements RunnerInterface { public static function using(): void { $bulb = new Bulb(); $turnOn = new TurnOn($bulb); $turnOff = new TurnOff($bulb); $remot...
<?php declare (strict_types=1); namespace Rector\Symfony\Rector\MethodCall; use RectorPrefix20211030\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr\MethodCall; use PhpParser\Node\Scalar\String_; use PhpParser\Node\Stmt\Class_; use PHPStan\Reflection\ReflectionProvider; use PH...
<?php class Ithemes_Sync_Verb_Backupbuddy_Add_Destination extends Ithemes_Sync_Verb { public static $name = 'backupbuddy-add-destination'; public static $description = 'Create a new destionation.'; private $default_arguments = array( 'settings' => array(), // Array of all destination settings for this destinatio...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSettingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('settings', fun...
<?php class m170806_160112_boilerhouse extends CDbMigration { public function up() { $this->insert('producttype', array('name' => 'Котельная') ); } public function down() { return true; } }
<?php namespace Tanthammar\TallForms; use Tanthammar\TallForms\Traits\CanBeDisabled; class ImageCropper extends BaseField { use CanBeDisabled; public bool $includeScript = false; public $width; public $height; public $thumbnail; public $shape; //square or circle public $dropZoneHelp; ...
<?php /** * * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Backup\Controller\Adminhtml\Index; class Index extends \Magento\Backup\Controller\Adminhtml\Index { /** * Backup list action * * @return void */ public func...
@extends('app') @section('content') @if (Auth::guest()) <p style="text-align: center"> <span class="glyphicon glyphicon-info-sign" style="font-size:xx-large ;color:firebrick"></span> Bem-Vindo ao Museu Virtual de Biodiversidade de Angola. Para submeter registos e poder aceder a ...
<?php namespace App\Http\Controllers; use App\TasksComments; use Illuminate\Http\Request; class TaskCommentController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return view('tasks.index'); ...
<?php /** * Created by PhpStorm. * User: BIN * Date: 2017/9/27 * Time: 14:11 */ namespace App\Api\Transformers; use App\Lesson; use League\Fractal\TransformerAbstract; class LessonTransformer extends TransformerAbstract { public function transform(Lesson $lesson) { return [ 'title'=...
<?php /* * * $modelUser * modelBuilding * buildingArticles * */ # info of user login $hFunction = new Hfunction(); $dataUserLogin = $modelUser->loginUserInfo(); if (count($dataUserLogin) > 0) { $loginStatus = true; $userLoginId = $dataUserLogin->userId(); } else { $loginStatus = false; $userLoginI...
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Abonnement * * @ORM\Table(name="abonnement") * @ORM\Entity(repositoryClass="AppBundle\Repository\AbonnementRepository") */ class Abonnement { /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePropertyTypesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('property_...
<?php declare(strict_types=1); namespace tests\Level23\Druid\Concerns; use Mockery; use tests\TestCase; use InvalidArgumentException; use Level23\Druid\DruidClient; use Hamcrest\Core\IsInstanceOf; use Level23\Druid\Queries\QueryBuilder; use Level23\Druid\Dimensions\Dimension; use Level23\Druid\PostAggregations\LeastP...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Thing extends Model { protected $guarded = []; }
<?php namespace Tests\Feature; use App\Models\Date; use Carbon\Carbon; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Tests\TestCase; class DateCalculation extends TestCase { use RefreshDatabase; private const START_DATE = "2021-07-04"; private const...
<?php namespace Doctrine\Tests\ORM\Tools; use Doctrine\Common\Cache\ArrayCache; use Doctrine\Common\Cache\Cache; use Doctrine\ORM\Configuration; use Doctrine\ORM\Mapping\Driver\AnnotationDriver; use Doctrine\ORM\Mapping\Driver\XmlDriver; use Doctrine\ORM\Mapping\Driver\YamlDriver; use Doctrine\ORM\Tools\Setup; use Do...
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2017, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
<?php use Illuminate\Database\Seeder; use App\Product; class ProductsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $faker = Faker\Factory::create(); for($i = 0; $i < 100; $i++) { Product::create([ ...
<?php /* @particles/simplecontent.html.twig */ class __TwigTemplate_ecb34cdc8875967cfa1333cd26501934d062265992387d9ebb0c58c2e6eaee43 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("@n...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddRoleIdToUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', funct...
<form name="F2" method=post action="form_creditcards.php" target="_self"> <input type="hidden" name="creditcardsid" value="<?php echo NM_encode_input($this->nmgp_dados_form['creditcardsid']); ?>"> <input type="hidden" name="nm_form_submit" value="1"> <input type="hidden" name="nmgp_opca...
<div class="page-header"> <h1>Practical Conference Info 2016</h1> <p>Here you find everything you need to know while participating in the Nextcloud Conference!</p> <p><strong>Registration on Friday and Mon-Thur is at the hacking area, room <code>3008</code>, Friday talks at room <code>3004</code>!</strong><...
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\Olympus; use JMS\Serializer\Annotation\ExclusionPolic...
<?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 RectorPrefix20211118\Symfony\Component\DependencyInjection\Compiler; use...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePollAnswerTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('poll_answer', function (Blueprint $table) { ...
@extends('layouts.app') @section('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">Admin Login</div> <div class="panel-body"> <form class="...
<?php /** * Yaf自动补全类(基于最新的3.0.4版本) * @author shixinke(http://www.shixinke.com) * @modified 2016/12/08 */ /** *(Yaf >= 3.0.2) *Class yaf_Route_Rewrite */ final class Yaf_Route_Rewrite { /** * @var unknown $_route * (Yaf >= 3.0.2) * 匹配模式(正则表达式) * @access protected protected $_route; /**...
<?php namespace common\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use common\models\User; /** * SearchUser represents the model behind the search form about `common\models\User`. */ class SearchUser extends User { /** * @inheritdoc */ public function rules() { ...
<?php namespace app\controllers; use Yii; use app\models\Medicamentos; use app\models\Medicamentosbusqueda; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * MedicamentosController implements the CRUD actions for Medicamentos model. */ class MedicamentosController extends...
<?php namespace Modules\Admin\Users\Controllers; use CodeIgniter\HTTP\ResponseInterface; use Modules\Admin\Users\Models\UserModel; use Modules\Shared\Core\Controllers\BaseWebController; class UserController extends BaseWebController { protected $viewPath = __DIR__; private $userModel; public function ...
<x-guest-layout> <x-auth-card> <x-slot name="logo"> <a href="/"> <x-application-logo class="w-20 h-20 fill-current text-gray-500" /> </a> </x-slot> <!-- Validation Errors --> <x-auth-validation-errors class="mb-4" :errors="$errors" /> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateRFEvaluationAndDevelopmentKitsBoardsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { ...
<?php namespace App\Http\Controllers\Business; use App\Http\Controllers\Controller; use App\Http\Services\Business\RegisteredGuestService; use App\models\Product; use App\Models\RegisteredGuest; use App\Repositories\Admin\RegisteredGuestRepository; use Illuminate\Http\Request; class RegisteredGuestController extends...
<?php namespace BL\SGIBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * BlConstru * * @ORM\Table(name="bl_constru", indexes={@ORM\Index(name="IDX_72235C03311B05EC", columns={"id_constru"}), @ORM\Index(name="IDX_72235C03B5700468", columns={"id_field"})}) * @ORM\Entity */ class BlConstru { /** * @var...
<?php namespace DB; final class mPDO { private $pdo = null; private $statement = null; public function __construct($hostname, $username, $password, $database, $port = "3306") { try { $this->pdo = new \PDO("mysql:host=" . $hostname . ";port=" . $port . ";dbname=" . $database, $username, $password, array(\PDO::A...
<?php namespace MusicBrainz\HttpAdapter; use MusicBrainz\Config; /** * MusicBrainz HTTP Client interface */ abstract class AbstractHttpAdapter { /** * @var string */ public $endpoint = 'https://musicbrainz.org/ws/2'; /** * Perform an HTTP request on MusicBrainz * * @param str...
<?php $post = $post[0]; ?> <header class="masthead" style="background-image: url('img/post-bg.jpg')"> <div class="overlay"></div> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-10 mx-auto"> <div class="post-heading"> <h1><?php echo $post['title']; ?></h1> ...
<?php /* Transaction Fixture generated on: 2011-09-23 12:09:45 : 1316773365 */ class TransactionFixture extends CakeTestFixture { public $fields = array( 'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'), 'foreign_id' => array('type' => 'string', 'null' =>...
@extends('admin/layouts.app') @section('css') <link rel="stylesheet" href="{{ url('/') }}/css/jquery.dataTables.min.css"> @endsection @section('js') <script> $(document).ready(function(){ $('#myTable').DataTable(); $("#myInput").on("keyup", function() { var value = $(this).val().toLowerCase(); ...
<?php namespace App\Http\Controllers; use App\Models\Firma; use App\Models\Producto; use Illuminate\Http\Request; class FirmasController extends Controller { public function __construct() { $this->middleware('auth'); } /** * Display a listing of the resource. * * @return \Illu...
<?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 ...
<?php /** * @copyright Copyright (C) 2015-2020 AIZAWA Hina * @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT * @author AIZAWA Hina <hina@fetus.jp> * @author Gosin <canling0@gmail.com> */ declare(strict_types=1); return [ 'Any Rank' => '所有級別', 'A zone' => 'A級', 'B zone' => 'B級...
<?php namespace Modules\Form\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; class FormEntryLog extends Model { /** * @var string */ protected $table = 'netcore_form__form_entry_logs'; /** * @var array */ protected $fillable =...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { // \App\Models\User::factory(10)->create(); $this->call([ UserSeeder::...
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Paypal\Test\Unit\Model\Config; use Magento\Paypal\Model\Config\StructurePlugin; use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper; class StructurePluginTest ext...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => 'C:/wamp64/www/teamsreleases/user/plugins/twigfeeds/blueprints.yaml', 'modified' => 1518023426, 'data' => [ 'name' => 'Twig Feeds', 'version' => '3.3.0', 'description' => 'Parse RSS and Atom feeds wi...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateConfigTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('config', functio...
<?php namespace common\models; use Yii; use yii\helpers\ArrayHelper; /** * This is the model class for table "cities". * * @property integer $id * @property string $code * @property string $name * * @property Districts[] $districts */ class Cities extends \yii\db\ActiveRecord { /** * @inheritdoc ...
<?php namespace App\Tools\Modules\Service\Coupon\CouponModel; use App\Lib\ApiStatus; use App\Lib\Common\LogApi; use App\Lib\Common\SmsApi; use Illuminate\Support\Facades\DB; use App\Tools\Models\CouponModel; use App\Tools\Modules\Inc\CouponStatus; use App\Lib\Tool\Tool; use App\Tools\Modules\Service\Coupon\CouponUser\C...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel common\models\OptionSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Options'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="option-index"> <h1><?= H...
<?php use yii\helpers\Url; use common\models\User; use common\models\Comment; use yii\widgets\ActiveForm; use yii\helpers\Html; ?> <div id="post"> <h1><a href="<?= Url::to(['site/post', 'id' => $post->id]) ?>"><?= $post->name ?></a></h1> <h4><?= $post->content ?></h4> <?= User::find()->where(['id' => $post->created_by]...
<?php /* +------------------------------------------------------------------------+ | PhalconEye CMS | +------------------------------------------------------------------------+ | Copyright (c) 2013-2014 PhalconEye Team (http://phalconeye.com/) | +...
@extends('layouts.master') @section('content') @include('back.product.partials.flash') <!-- rajoute la pagination --> <nav aria-label="Page navigation example"> <ul class="pagination justify-content-center"> {{$products->links()}} </ul> </nav> <!-- dashboard --> <table class="table table-striped"> ...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>NHMS</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:200...
<?php /** * ___ _ * / _ \ ___| |_ ___ _ __ _ _ * | | | |/ __| __/ _ \| '_ \| | | | * | |_| | (__| || (_) | |_) | |_| | * \___/ \___|\__\___/| .__/ \__, | * |_| |___/ * @author : Supian M <supianidz@gmail.com> * @link : framework.octopy.id * @license : MIT */ namespa...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Certificate extends CI_Controller { public function index() { } public function showSertif() { // var_dump($this->session->userdata('user_login')['name']); return; $this->load->view('sertif'); } } /* End of file cerificate.php...
<?= $this->extend('templates/template'); ?> <?= $this->section('content'); ?> <div class="container"> <table class="table text-white"> <thead> <tr> <th scope="col">No</th> <th scope="col"> No PreOrder</th> <th scope="col">Produk</th> ...
<?php declare(strict_types=1); namespace Tests; use \PHPUnit\Framework\TestCase; use Quebec511\Config; use Quebec511\Region; use Quebec511\RegionsInterface; class ConfigTest extends TestCase { public function testConfig() { $config = new Config(__DIR__.'/../config/quebec511.yml'); $this->as...
<?php if($salle != 0): ?> <ul class="listBtn mb16"> <li class="_bouton_cal_gauche"> <a data-id="<?=$prev_mounth?>" data-orig="front" class="_cal_drop month">Mois précédent</a> </li> <li class="_bouton_cal_gauche"> <?php //if(date('Y-m-d', $prev) >= date('Y-m-d', $week)): ?> <a data-id="<?=$prev?>" data-ori...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * OVOO * * OVOO-Movie & Video Streaming CMS with Unlimited TV-Series * * @package OVOO * @author Abdul Mannan * @copyright Copyright (c) 2014 - 2016 SpaGreen, * @license http://codecanyon.net/wiki/support/legal-terms/...
<?php namespace app\models; use Yii; use yii\base\Model; class User extends Model implements \yii\web\IdentityInterface { //private static $user; public $id; public $username; public $password; public $status; public $type; public $authKey; public $accessToken; private static $...
<?php namespace App\Providers; use Route; use App\Permission; use App\Repositories\Role\RoleRepository; use App\Repositories\User\UserRepository; use Illuminate\Routing\Router; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Symfony\Component\HttpKernel\Exception\NotFoundHttpE...
<!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://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.mi...
<?php /* Plugin Name: Painterro Plugin URI: https://github.com/ivictbor/painterro Description: Paste screenshots and edit images directly in browser. Adds Painterro button to visual editor for images editing. Absolutely free and open source. Version: 0.2.62 Author: Ivan Borshchov License: MIT */ define("PAINTERRO_FIL...
{{ Form::model($quesset,array('route' => array('questionset.update', $quesset->id),'method'=>'put')) }} <!-- name --> {{ Form::label('package', 'package') }} {{ Form::text('package') }} <!-- email --> {{ Form::label('set', 'set') }} {{ Form::text('set') }} {{ Form::label('question_id', 'question_id') }} {{ Form::tex...
<div class="row"> <div class="col py-4"> <div class="card card-small mb-4"> <div class="card-header border-bottom"> <div class="row"> <div class="col-md-12 text-center my-2"> <h6 class="m-0">List Of Products</h6> </d...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBillingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('billings', fun...
<?php namespace backend\controllers; use Yii; use backend\models\Faculty; use backend\models\FacultySearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * FacultyController implements the CRUD actions for Faculty model. */ class FacultyController extends Controller { ...
<?php declare(strict_types = 1); namespace PHPStan\File; class RelativePathHelperTest extends \PHPUnit\Framework\TestCase { public function dataGetRelativePath(): array { return [ [ '/usr', [], '/usr/app/test.php', 'app/test.php', ], [ '', ['/usr'], '/usr/app/test.php', '...
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\EstadoPerfil; /** * EstadoPerfilSearch represents the model behind the search form of `app\models\EstadoPerfil`. */ class EstadoPerfilSearch extends EstadoPerfil { /** * @inheritdoc */ public ...
<?php /** * (C) Copyright 2018 Nuxeo SA (http://nuxeo.com/) and contributors. * * 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 * * U...
<?php /* * Copyright 2014 Google Inc. * * 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 required by applicable law or agreed t...
<?php /* Name: end_page.php Purpose: This script displays a link back to the main user page (user/index.php) and then includes end_page.php to close out the HTML page. It is accessed by an include statement at the end of all user pages other than the main one. */ ?> <?php // use the default page end for all the ex...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\vod\V20170314\Models\GetPlayStatisResponse\playStatisByPlatformDOs\playStatisByPlatform\playStatisDOs; use AlibabaCloud\Tea\Model; class playStatisDO extends Model { protected $_name = [ 'userId' => 'UserId', ...
<?php namespace Oro\Bundle\FormBundle\Tests\Behat\Context; use Behat\Gherkin\Node\TableNode; use Behat\Mink\Element\NodeElement; use Behat\Mink\Exception\ElementNotFoundException; use Doctrine\Common\Inflector\Inflector; use Oro\Bundle\ConfigBundle\Tests\Behat\Element\SystemConfigForm; use Oro\Bundle\FormBundle\Tests...
<?php namespace PicturePark\API\Normalizer; use Jane\Component\JsonSchemaRuntime\Reference; use PicturePark\API\Runtime\Normalizer\CheckArray; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\N...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSubCategoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('sub_categ...
<?php namespace common\models; use Yii; /** * This is the model class for table "promo". * * @property int $id * @property string $title * @property string $subtitle * @property string $description * @property int $is_active * @property string $img * @property int $farmer_id * * @property Farmer $farmer ...
<header class="header"> <a href="javascript:void(0);" class="logo"> <?php echo CONF_WEBSITE_NAME; ?> </a> <nav class="navbar navbar-static-top" role="navigation"> <a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button"> ...
<?php namespace App\Role\Domain; use DomainException; final class RoleNotFound extends DomainException { }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="styl...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class group extends Model { use HasFactory; protected $table = "tour_doan"; protected $primaryKey="doan_id"; public $timestamps = false; public function tour() { ...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Fatwa Institute') }...
<?php use yii\bootstrap\Html; return [ 'adminEmail' => 'admin@example.com', 'brandName' => 'News Corporation', 'brandLabel' => Html::icon('globe').' News Corporation' ];
<?php require_once('TestBoilerplate.php'); use PayPay\OpenPaymentAPI\Models\AccountLinkPayload; use PayPay\OpenPaymentAPI\Models\BasePaymentPayload; use PayPay\OpenPaymentAPI\Models\CapturePaymentAuthPayload; use PayPay\OpenPaymentAPI\Models\CreatePaymentAuthPayload; use PayPay\OpenPaymentAPI\Models\CreatePaymentPaylo...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Userinfo extends Model { protected $table = 'user_info'; protected $primaryKey = 'uid'; }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTblStorageMasters extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tbl_storage_ma...
<?php /** * WebhookManager * * @author: Luca Agnello <luca@gnello.com> */ namespace Gnello\WebhookManager\Tests\Services; use Gnello\WebhookManager\Services\GithubService; use Gnello\WebhookManager\Services\ServiceInterface; use Gnello\WebhookManager\Services\TravisCIService; use PHPUnit\Framework\TestCase; /**...
<?php /* * East Foundation. * * LICENSE * * This source file is subject to the MIT license * license that are bundled with this package in the folder licences * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to richarddeloge@gmail....
<?php namespace app\admin\controller; use app\common\model\Member; use think\Lang; class Notice extends AdminControl { public function _initialize() { parent::_initialize(); Lang::load(APP_PATH . 'admin/lang/' . config('default_lang') . '/notice.lang.php'); } /** * 发送通知列表 *...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="apple-touch-icon" sizes="76x76" href="{{asset('dashboard/assets/img/apple-icon.png')}}"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <link rel="icon" href="https://jevelin.shufflehound.com/fav.png"> ...
<?php use Illuminate\Database\Seeder; class BarangSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('barangs')->insert([ 'nama_barang' => 'Uang', 'satuan' => 'Rupiah', 'harga' => '1', ...
<!DOCTYPE html> <html> <head> <title>Delete Judge</title> </head> <body> <div id="container"> <div id="wrapper"> <h1>Delete Judge</h1><hr/> <div id="menu"> <p><b>Select Judge</b></p> <!--====== Displaying Fetched Names from Database in Links ========--> <ol> <?php foreach ($Judges as $Judge): ?> <li><a href="<?php echo...
<?php namespace App\Http\Controllers\API\slave; use App\Http\Controllers\Controller; use App\Models\PackageUser; use Illuminate\Http\Request; class PackageUserController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function ...
<?php /* * This file is a part of the DiscordPHP project. * * Copyright (c) 2015-present David Cole <david.cole1340@gmail.com> * * This file is subject to the MIT license that is bundled * with this source code in the LICENSE.md file. */ namespace Discord\Parts\Guild\AuditLog; use Discord\Helpers\Collection; ...
<!DOCTYPE html> <html> <!-- Mirrored from expert-themes.com/html/globex/contact.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 09 Jun 2021 13:08:59 GMT --> <head> <meta charset="utf-8"> <title>Maxincome | Reset Password</title> <!-- Stylesheets --> <link href="/landing-assets/css/bootstrap.css" rel="stylesheet"...