text
stringlengths
2
1.03M
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Mis\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for GetMidocoAttributeDefinitionResponse StructType * @subpackage Structs */ class GetMidocoAttributeDefinitionResponse extends AbstractStru...
<?php namespace Spatie\UnitConversions; class Temperature { private float $celsius; public static function forCelsius(float $celsius) { return new static($celsius); } public function __construct(float $celsius) { $this->celsius = $celsius; } public function toFahrenh...
@extends('layouts.app') @section('title', 'Marcas') @section('content') <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <nav aria-label="breadcrumb" role="navigation"> <ol class="breadcrumb"> ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** * @method static where(string $string, int|string|null $id) */ class Wishlist extends Model { use HasFactory; protected $table = 'wishlists'; protected $fillable = [ 'u...
@extends('layouts.app') @section('content') @include('adminmenu') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Add/Edit Package <small>Control panel</small> </h1> <ol class="breadcrumb"> <li><a href="...
<?php $list = $_GET['list']; PSUHTML::redirect($GLOBALS['BASE_URL'] . '/lists/' . $list); ?>
@extends('layouts.master') @section('css') @toastr_css @section('title') {{ trans('dashboard.Grades') }} @stop @endsection @section('page-header') <!-- breadcrumb --> <div class="page-title"> <div class="row"> <div class="col-sm-6"> <h4 class="mb-0">{{ trans('dashboard.Grades') }}</h4> ...
<?php namespace app\forms; /** * Form for change user password. * @author Artem Rasskosov */ use Yii; use yii\base\Model; use common\services\dto\UserPasswordResetDto; class PasswordResetForm extends Model { /** * @var string $password */ public $password; /** * @var string $passwordRe...
<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; use Illuminate\Support\Facades\DB; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $...
{{-- @see https://docs.woocommerce.com/document/template-structure/ @author WooThemes @package WooCommerce/Templates @version 3.3.0 --}} @php do_action( 'woocommerce_before_edit_account_form' ) @endphp <form class="sw-myaccount__edit-account form-row" action="" method="post"> @php do_action( 'woocommerce_edit_a...
<!-- BEGIN PAGE CONTENT--> <div class="row"> <div class="col-md-12"> <!-- Begin: life time stats --> <div class="portlet"> <div class="portlet-title"> <div class="caption"> <i class="fa fa-money"></i>Realisasi Fisik | [Provinsi] </div> <div class="actions"> ...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php namespace App\Controllers\Admin; use App\Models\FileModel; class Productprice extends BaseController { public function index() { return view($this->data['content'], $this->data); } public function get_units($id) { $ProductUnit_model = model("ProductUnitModel"); $js...
<script type="text/javascript"> document.title="Detail transaksi"; document.getElementById('transaksi').classList.add('active'); $('.disabled').click(function(e){ e.preventDefault(); }); </script> <div class="content"> <div class="padding"> <div class="bgwhite"> <div class="padding"> <?php if ...
<?php if(isset($_COOKIE["login_true"])==false){ session_start(); $_SESSION["last_url"]="product_category.php"; $url = "login.php"; echo "<script language='javascript' type='text/javascript'>"; echo "window.location.href='$url'"; echo "</script>"; return; } ?><!DOCTYPE html> <html lang="zh-cn"> <hea...
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet" /> <link href="{{asset('style/main.css')}}" rel="stylesheet" /> <link rel="icon" type="image/png" href="{{asset('images/logo-title.svg')}}" />
<?php /** * DefectTest * * PHP version 7.4 * * @category Class * @package Qase\Client * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Qase.io API * * Qase API Specification. * * The version of the OpenAPI document: 1.0.0 * Contact: support@qase.io * Generated by:...
@extends('layouts.app') @section('content') <header> <div class="row mb-1"> <div class="col s12"> <a href="#" data-target="slide-out" class="sidenav-trigger"><i class="medium material-icons">menu</i></a> <h4>Asociaciones</h4> </div> </div> </header> <main> <div class...
<?php use Carbon\Carbon; use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEntreprisesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::...
<?php /** * Bitrix Framework * @package bitrix * @subpackage main * @copyright 2001-2013 Bitrix */ /** * Bitrix vars * @global CUser $USER * @global CMain $APPLICATION * @global CDatabase $DB */ define("START_EXEC_EPILOG_AFTER_1", microtime()); $GLOBALS["BX_STATE"] = "EA"; global $USER, $APPLICATION, $DB; ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateSurfaceTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('surface', function (Blueprint $table) { $t...
<?php namespace src\Decorator; use DateTime; use Exception; use Psr\Cache\CacheItemPoolInterface; use Psr\Log\LoggerInterface; use src\Integration\DataProvider; class DecoratorManager extends DataProvider { public $cache; // излишняя область видимости, достаточно protected public $logger; // излишняя область...
<?php namespace MindbodyAPI\structures; class ScheduleItem { } ?>
@extends('layouts.master') @section('title', 'Khách kẹt tiền cần bán nhanh lô đất Biên Hòa New City, DT 5 x 20m, 6 x 20m, 12 x 20m, đã nhận sổ') @section('styles') <link rel="stylesheet" href="./assets/css/bien_hoa1.css"> <link rel="stylesheet" href="./assets/css/bien_hoa2.css"> <link rel="stylesheet" href="./assets/...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddCategoryToProductsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('products...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateArticlesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('articles', fun...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class ConfigRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Models\User; use App\Traits\ActivationTrait; use App\Traits\CaptchaTrait; use App\Traits\CaptureIpTrait; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator;...
<?php namespace Controller\Json; /** * 翻訳用テキストを変更する */ class SetTranslationController extends \Controller\ControllerBase { public function route() { $model = $this->models['MsTranslatorCacheModel']; $modelLog = $this->models['TranslationLogModel']; if (!$this->app->request->post('id')...
<?php function admin_controller($controllerName){ $controllerName = strtolower($controllerName); return PATH . '/admin/controller/' . $controllerName . '.php'; } function admin_view($viewName){ return PATH . '/admin/view/' . $viewName . '.php'; } function admin_url($url = false){ return URL . '/admin/' ....
<?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> */ declare(strict_types=1); namespace app\assets; use yii\web\AssetBundle; class NotoSansAsset extends AssetBundle { public $css = []; ...
<?php return [ "signin" => "INICIAR UNA CUENTA", "email" => "Dirección de correo electrónico:", "email_placeholder" => "Ingrese su dirección de correo electrónico de registro", "password" => "Contraseña:", "password_placeholder" => "Por favor, introduzca su contraseña", "forgot_password" => "Se ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model frontend\models\userlevelSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="userlevel-search"> <?php $form = ActiveForm::begin([ 'action' => ['userlevelindex'], 'method' => 'get', ...
@extends('super_admin.layouts.master') @section('content') <div class="row"> <div class="col-12"> <!-- table responsive --> <div class="card"> <div class="card-body"> <div class="row"> <div class="col-md-8"> <h4 class="card-title">Innovation </h4> <h6 class="card-subtitle">Add Innovation F...
<?php /** * Template part for displaying page content in page.php. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Hugo_Baeta */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> </h...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--[if !mso]><!--> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> ...
@extends('layouts.dashboard') @section('content') <div class="card"> <div class="card-header">{{ __('Dashboard') }}</div> <div class="card-body"> @if (session('status')) <div class="alert alert-success" role="alert"> ...
<?php use Illuminate\Database; use Illuminate\Database\Seeder; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use App\Role; class RoleTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ ...
<?php return [ /* |-------------------------------------------------------------------------- | Default Mailer |-------------------------------------------------------------------------- | | This option controls the default mailer that is used to send any email | messages sent by your appl...
<?php /** * Renders a list of Fabrik content types * * @package Joomla * @subpackage Form * @copyright Copyright (C) 2005-2020 Media A-Team, Inc. - All rights reserved. * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html */ // No direct access defined('_JEXEC') or die('Restricted access'); requi...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AntChain\CAS\Models; use AlibabaCloud\Tea\Model; class QueryVpcVroutertableResponse extends Model { // 请求唯一ID,用于链路跟踪和问题排查 /** * @var string */ public $reqMsgId; // 结果码,一般OK表示调用成功 /** * @var string */ ...
@extends('layouts.app_frontend') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Login') }}</div> <div class="card-body"> <form met...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php // Carregar configurações require_once '../../config.php'; $pdo = connectDB($db_web); // Carregar classe require_once '../../objects/Teams_Competitions.php'; $teams_competitions = new Teams_Competitions($pdo); // Definição do cabeçalho header("Access-Control-Allow-Origin: *"); header("Content-Type: application/j...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Compra extends Model { protected $table = 'compras'; protected $fillable = ['total','proovedor_id']; public function ingredientes() { return $this->belongsToMany('App\Inventario'); } public function proovedor() {...
<header class="main-header"> <a href="../../index2.html" class="logo"> <!-- LOGO --> ladydia </a> <!-- Header Navbar: style can be found in header.less --> <nav class="navbar navbar-static-top" role="navigation"> <!-- Navbar Right Menu --> <div class="navbar-custom-menu"> ...
@extends('layouts.master') @section('tambahan_link') <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> @endsection @section('title') Update PM FireAlarm @e...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEvidenceListsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('evidence_...
<?php // My modifications to mailer script from: // http://blog.teamtreehouse.com/create-ajax-contact-form // Added input sanitizing to prevent injection // Only process POST reqeusts. if ($_SERVER["REQUEST_METHOD"] == "POST") { // Get the form fields and remove whitespace. $name = ...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENS...
<div class="modificar__container container"> <form action="{{route('update')}}" enctype="multipart/form-data" method="POST"> @csrf <input type="hidden" name="id" value="{{$user->id}}"/> Apodo:<br> <input type="text" name="apodo" value="{{$user->apodo}}"/><br><br> Nombre:<br> <inpu...
<?php namespace App\Http\Middleware; use Illuminate\Http\Request; use Illuminate\Http\Response; class CrosMiddleware { private $headers; public function handle(Request $request, \Closure $next) { $this->headers = [ 'Access-Control-Allow-Methods' => 'GET, POST, PUT, DELETE', ...
@extends('admin.admin_master') <script src=" {{ asset('js/jquery-3.6.0.js') }}"></script> <style> .bt-position { display: flex; justify-content: flex-end; } .add, .remove { float: right; margin-top: 33px; } </style> @section('admin') <div class="row layout-top...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEmployeesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('employees', f...
<?php namespace App\Models; use App\Studio; use crocodicstudio\cbmodel\Core\Model; use phpDocumentor\Reflection\Types\This; use Prophecy\Doubler\Generator\Node\ReturnTypeNode; class Schedules extends Model { public $connection = "mysql"; public $table = "schedules"; public $primary_key = "id"; pub...
<?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...
<!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=utf-8" /> <title>分享规范 - {$Config.sitename}</title> <template file="Member/Public/global...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $searchModel frontend\models\RegisterSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Registers'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="re...
<!DOCTYPE html> <html lang="id"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Petugas | Puskesmas</title> <?php $this->load->view('templates/css'); ?> </head> <body> <?php $this->load->view('templates/section1'); ?> <section id="main-content" class="...
<?php namespace App\Modules { /** * Создание csv файл * Class ExportCSV * @package App\Modules */ class ExportCSV { /** * Директория */ public const DIRECTORY = 'reports/'; /** * Ресурс * @var bool|resource|null */ ...
<?php namespace App\Http\Controllers; use App\Models\Intership; use App\Models\User; use Illuminate\Http\Request; use Auth; class IntershipController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { re...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php namespace App\Http\Livewire\Tables; use App\Http\Livewire\Dashboard\InvoiceDetail; use App\Models\InvoiceDetail as ModelsInvoiceDetail; use Mediconesystems\LivewireDatatables\Http\Livewire\LivewireDatatable; use Mediconesystems\LivewireDatatables\Column; class Invoiced extends LivewireDatatable { public fu...
<?php use yii\db\Migration; /** * Handles the creation of table `product_customization`. * Has foreign keys to the tables: * * - `product` */ class m180421_105303_create_product_customization_table extends Migration { /** * @inheritdoc */ public function up() { $tableOptions = null;...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Blognoticia */ $this->title = 'Actualizar: ' . $model->tituloNoticia; $this->params['breadcrumbs'][] = ['label' => 'Blognoticias', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->idNoticia, 'url' => ['view',...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddEmailVerifiedAtFieldTableName extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('us...
<?php namespace EmbeddedTemplateSigning\Form; use Zend\Form\Form; use Zend\InputFilter\InputFilter; class EmbeddedTemplateSigningForm extends Form { public function __construct() { parent::__construct('embedded_template_signing'); $this->add(array( 'type' => 'Zend\Form\Element\Col...
<?php declare(strict_types=1); namespace Trejjam\Ares\DI; use Nette\DI\Statement; use Trejjam\Ares\Mapper; final class ExtensionConfiguration { /** @var string|array|Statement */ public $mapper = Mapper::class; /** @var HttpClientConfiguration */ public $http; public function __construct() ...
@extends('../layout/' . $layout) @section('subhead') <title>Wizard - Rubick - Tailwind HTML Admin Template</title> @endsection @section('subcontent') <div class="flex items-center mt-8"> <h2 class="intro-y text-lg font-medium mr-auto">Wizard Layout</h2> </div> <!-- BEGIN: Wizard Layout --> ...
<?php /* * This file is part of the FOSUserBundle package. * * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace HelloDi\UserBundle\DependencyInjection\Compiler; ...
<?php declare(strict_types=1); namespace LeoCavalcante\Ippo; use Symfony\Component\Yaml\Yaml; class Ippo { private $config; private $twig; static public function fromYaml(string $filename) { $contents = file_get_contents($filename); if (false === $contents) { throw new \...
<?php namespace api\modules\v1\controllers; use yii; use yii\rest\ActiveController; use yii\helpers\ArrayHelper; use yii\filters\auth\QueryParamAuth; use api\models\LoginForm; class UserController extends ActiveController { public $modelClass = 'common\models\User'; public function behaviors() { re...
<?php use Illuminate\Database\Seeder; use Faker\Factory; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // reset the users table DB::statement('SET FOREIGN_KEY_CHECKS=0'); DB::table('users')->...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v2/enums/education_placeholder_field.proto namespace Google\Ads\GoogleAds\V2\Enums\EducationPlaceholderFieldEnum; use UnexpectedValueException; /** * Possible values for Education placeholder fields. * * Protobuf type ...
<!DOCTYPE html> <html lang="en"> <!-- Mirrored from bootstrapmaster.com/live/metro/login.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 08 Jan 2018 16:57:00 GMT --> <head> <!-- start: Meta --> <meta charset="utf-8"> <title>admin login</title> <meta name="description" content="Metro Admin Template."> <met...
<!DOCTYPE html> <html lang="es"> <head> <title>Tipo caracter</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="stylesheet" href="css/fonts.css...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace Neos\Flow\Validation; /* * This file is part of the Neos.Flow package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * source code. ...
<?php /* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\attribute\value\value\addressvalue@[annot]][1]/ */ /* Type: array */ /* Expiration: 2022-02-26T23:58:45+00:00 */ $loaded = true; $expiration = 1645919925; $data = array(); /* Child Type: array */ $data['return'] = unserialize(base64_decode('YTo...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php //00541 // FileRun 2016.11.07 // Copyright Afian AB // http://www.filerun.com if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exe...
@extends('layouts.app') @section('title','| Classes Schedule') @section('routin') style="border-top:2px solid green;" @endsection @section('content') <div> <h2 class="text-center" style="text-transform:capitalize;"><strong>Select your choice</strong> </h2> </div> <hr/> <div class="row d-flex justify-content-ce...
<?php /** * WordPress Query API * * The query API attempts to get which part of WordPress the user is on. It * also provides functionality for getting URL query information. * * @link https://codex.wordpress.org/The_Loop More information on The Loop. * * @package WordPress * @subpackage Query */ /** * Retri...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddLieuEvenementsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('evenements',...
<?php namespace Zvonchuk\Elastic\Core; class ExistsRequest extends Request { private string $id; public function __construct(string $indice) { $this->indice = $indice; } public function id(string $id) { $this->id = $id; return $this; } public function getSour...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class UserCar extends Model { use HasFactory; protected $table = "user_cars"; public function parts() { return $this->hasMany(UserCarPart::class, "user_car_id"); } ...
<?php namespace Entity; /** * Apgar * * @Table(name="apgar") * @Entity */ class Apgar { /** * @var integer * * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false) * @Id * @GeneratedValue(strategy="IDENTITY") */ private $id; /** *...
<?php namespace App\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\PasswordType; use Symfony\Component\Form\Extension\Core\Type\RepeatedType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Val...
<div id="dashboard"> <!-- BEGIN DASHBOARD STATS --> <div class="row-fluid"> <table class="table table-striped table-bordered table-hover" id="sample_1"> <thead> <tr> <th style="width:8px;"><input type="checkbox" class="group-checkable" data-set="#sample_1 ...
<?php /** * Template part for displaying the services 4 col width (long) * * * * page-home.php * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Conduent */ $open_new_pg = ''; if(get_field($area.'link_select_ssv_link_type') == 'external'): $open_new_pg = 'target="_blank" '; endif; ?> <...
<?php /** * @group Kwc_Trl * ansicht frontend: http://doleschal.kwf.niko.vivid/kwf/kwctest/Kwc_Trl_DownloadTag_Root/de/test1 http://doleschal.kwf.niko.vivid/kwf/kwctest/Kwc_Trl_DownloadTag_Root/de/test2 http://doleschal.kwf.niko.vivid/kwf/kwctest/Kwc_Trl_DownloadTag_Root/en/test1 http://doleschal.kwf.niko.vivid/kwf/k...
<?php class MFN_Validation_preg_replace extends MFN_Options{ /** * Field Constructor. * * Required - must call the parent constructor, then assign field and value to vars, and obviously call the render field function * * @since MFN_Options 1.0.1 */ function __construct($field, $value, $current){ pa...
<?php /* Plugin Name: Infinite Blocks – Blocks for Gutenberg Description: Ultimative powerfull Gutenberg Blocks library. Author: Benjamin Zekavica Version: 1.0 */ // HELPERS $pluginPath = plugin_dir_path( __FILE__ ); // Permission EXIT if ( ! defined( 'ABSPATH' )) { exit; } // Active WordPres...
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $dbev25 = require __DIR__ . '/db_ev25.php'; $config = [ 'id' => 'basic-console', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'controllerNamespace' => 'app\commands', 'aliases' => [ '@bower' => '...
<!DOCTYPE html> <html> <head> <title>Laravel</title> <link href="https://fonts.googleapis.com/css? family=Lato:100" rel="stylesheet" type="text/css"> <link href="{{{ asset('/style.css') }}}" rel="stylesheet"> </head> <body> <div class="container"> <div class="content"> ...
<?php /** * Blowfish 加解密 * * @author syh <794syh940@gmail.com> * */ namespace app\Index\Library\Encrypt; class Blowfish { /** * 向量混淆密钥 * * @var string */ private static $key = '1928a37bcd46efghigk55lmn'; /** * 加密 * * @param string $data 明文 * @param string $key 密钥 * @...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class RT_model extends CI_Model { public $table = 'tm_rt'; public $id = 'id_RT'; public $order = 'DESC'; function __construct() { parent::__construct(); $this->load->database(); } // g...
<?php /** * HashServiceProvider - Implements a Service Provider for Hashing. * * @author Virgil-Adrian Teaca - virgil@giulianaeassociati.com * @version 3.0 */ namespace Nova\Hashing; use Nova\Hashing\BcryptHasher; use Nova\Support\ServiceProvider; class HashServiceProvider extends ServiceProvider { /** ...
<?php namespace App\Http\Controllers; use App\Models\Propuesta; use Illuminate\Http\Request; class PropuestaController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show...
<?php /** * \flat\db\driver\mongo\crud class * * PHP version >=7.1 * * Copyright (c) 2012-2017 Doug Bird. * All Rights Reserved. * * * @license see /flat/LICENSE.txt */ namespace flat\db\driver\mongo; use \flat\data\generic; use \flat\data\flat\data; use \flat\db\driver\mongo\db\exception; /** * C...