text
stringlengths
2
1.03M
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Colhdr extends Model { use HasFactory; /* connection */ protected $connection = 'pgsql_2'; /* database */ protected $table = 'colhdr'; /* prevent saving timestam...
<?php $fp = fopen ("path.php", "r"); $path = fgets ($fp, 255); fclose ($fp); if(isset($_GET['id'])){ $connect_news=$path.'Config/connect_news.php'; require_once $connect_news; $idd = $_GET['id']; $sql = "DELETE FROM equivalent_niveau_oran Where id='".$idd."'"; $records = $con->query($sql); ...
<?php use yii\db\Migration; /** * Handles adding isActive to table `{{%user}}`. */ class m160724_050009_add_isActive_column_to_user_table extends Migration { /** * @inheritdoc */ public function up() { $this->addColumn('{{%user}}', 'isActive', $this->boolean()->notNull()->defaultValue(...
<title>16赚百度积分统计</title> <?php use yii\helpers\Html; use yii\grid\GridView; use app\models\BaiduorderSearch; /* @var $this yii\web\View */ /* @var $searchModel app\models\BaiduorderSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ ?> <style> *{ margin:0px; padding:0px;} html,body{ padding:0px; margin: 0px;...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTableRoleUserTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { if ( ! Schema::hasTable( 'role_user' ) ) { Schema::create( 'r...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Cont...
<?php include('header.php'); include('workers/getters/functions.php'); ?> <div class="content-page"> <!-- Start content --> <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-xl-12"> <div class="breadcrumb-holder"> ...
<table class="table table-hover" id="#tbl-atencion"> <thead> <tr> <th class="color-azul text-center" style="vertical-align:middle;">Código</th> <th class="color-azul text-center" style="vertical-align:middle;">Fecha de Pago de Orden</th> <th class="color-azul text-center" style="vertical-align:...
<?php namespace IzBundle\Controller; use AppBundle\Controller\AbstractController; use AppBundle\Exception\AppException; use AppBundle\Exception\UserException; use AppBundle\Export\AbstractExport; use AppBundle\Filter\FilterInterface; use AppBundle\Form\ConfirmationType; use IzBundle\Entity\Hulpvraag; use IzBundle\Ent...
<?php namespace CodeCommerce\Models; class Cart { private $items; public function __construct() { $this->items = []; } public function add($id, $name, $price, $image) { $this->items += [ $id => [ 'qtd' => isset($this->items[$id]['qtd']) ? $this->...
30 mtime=1556801997.354315045 24 SCHILY.fflags=extent
<?php /** * Паттерн Строитель (Builder) */ namespace Pattern; /** * Абстрактный базовый класс Вuilder, описывает интерфейс строителя. * Строитель должен ему соответвовать, что бы строить * конкретный продукт. */ abstract class Вuilder { /** * Строит шапку документа * * @param string $str - т...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ProductCategory extends Model { protected $guarded = []; protected $fillable = [ 'brand_name', 'quantity_ctrl', 'image_category', 'slug', 'status' ]; public function products() { return $this->hasMany('App\Produc...
<?php /** * Load header and footer templates, and place views for body pages inside */ if(!isset($p_lvls)) { $p_lvls = ''; } if(!isset($equipment)) { $equipment = ''; } if(!isset($users)) { $users = ''; } if(!isset($locations)) { $locations = ''; } if(!isset($service_types)...
@extends('plantilla') @section('content') <div class="container"> <h1>Agregar Productos</h1> @if (isset($errors)) {{$errors}} @endif <form class="col-md-5" action="/producto/agregar" method="post" enctype="multipart/form-data"> {{ csrf_field() }} <div class="fo...
<?php /** * TestServicePinboard.php * * @author Vic Garcia <vic.garcia@outlook.com> * @link http://vicg4rcia.com/ * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ class TestServicePinboard extends TestService { protected $...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace spec\Sylius\Bundle\SettingsBundle\Form\Factory; use PhpSpec\ObjectBehavior; use Sylius\Bund...
@extends('layouts.plantilla') @section('title','Actualizar Producto') @section('container') <div class="container d-flex justify-content-center"> <div class="row"> <div class="col-md-8 mt-5"> <form action="{{route('dashboard.update',$products)}}" method="POST" enctype="multipart/form-data"> ...
<!-- Navbar --> <nav class="main-header navbar navbar-expand navbar-dark elevation-4 shadow-md" style="border: none"> <!-- Left navbar links --> <ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a> </li> <li...
<div style="height: 100hv;" class=""> <div align="center"> <img src="{{asset('images/reg.jpg')}}" width="300"> <h1 class="title-op">Detaills</h1> </div> <div align="center"> <h1 class="display-5 text-primary text-center"> {{$title}}</h1> <?php $tam = strlen($description); ?> @if ($tam <= 2...
<?php namespace App\Http\Controllers\Evaluacion; use App\Http\Controllers\Controller; use App\Models\Evaluacion\Seguimiento; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Redirect; use Illuminate\Support\Facades\Auth; class SeguimientoController extends Controller { ...
<?php /** * server e profili MySQL * * In questo file sono impostati i profili di funzionamento di MySQL * e i parametri di configurazione dei server disponibili. * * array di configurazione dei server * ================================== * L'array $cf['mysql']['servers'] co...
<?php $sub_menu = "900600"; include_once('./_common.php'); if ($sw != 'move'){ alert('sw 값이 제대로 넘어오지 않았습니다.'); } auth_check($auth[$sub_menu], "r"); $g5['title'] = '이모티콘그룹 이동'; include_once(G5_PATH.'/head.sub.php'); $fo_no_list = implode(',', $_POST['fo_no']); $sql = " select * from {$g5['sms5_form_group_table'...
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\Route; class WelcomeController extends Controller { public function welcome(){ $fresh = [ (object)['img' => 'img/intro.jpg', 'span1' => 'Fresh Coffee', 'span2' => 'Worth Drinking', 'p' => 'Every cup of our quality artisan cof...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Staff; use App\Models\Cow_sale; use App\Models\Customer; use App\Models\Milk_sale; use App\Models\Payment; class Searchcontroller extends Controller { public function staff_search() { //dd($_GET['search']) ; or //dd(r...
@extends('layouts.app') @push('styles') <style> .login-btn { width: 150px; padding: 5px; color: #fff; background: #19AAF8; border: none; font-size: 20px; cursor: pointer; font-family: lato; } .login { font-family: lato; /* marg...
<?php declare(strict_types=1); namespace Orchid\Platform\Commands; use Orchid\Platform\Updates; use Illuminate\Console\Command; use Orchid\Platform\Events\InstallEvent; use Orchid\Press\Providers\PressServiceProvider; use Symfony\Component\Console\Helper\ProgressBar; use Orchid\Platform\Providers\FoundationServicePr...
<?php namespace Basicis\Core; use Psr\Log\LoggerInterface; use Psr\Log\LogLevel; use Basicis\Basicis as App; use Basicis\Http\Message\StreamFactory; /** * Log Class * Describes a logger instance. * The message MUST be a string or object implementing __toString(). * * The message MAY contain placeholders in the f...
<?php /** * RSS Vocabulary (Resource) * * @version $Id: RSS_C.php,v 1.6 2007/05/01 15:49:19 cweiske Exp $ * @author Tobias Gauß (tobias.gauss@web.de) * @package vocabulary * * Wrapper, defining resources for all terms of * RSS. * For details about RSS see: http://purl.org/rss/1.0/. * Using the wrapper a...
<?php namespace XF\Data; use XF\Util\Arr; class CodeLanguage { public function getSupportedLanguages($filterDisabled = false) { $languages = [ 'apacheconf' => [], 'bash' => [ 'modes' => 'shell' ], 'c' => [ 'modes' => 'clike', 'mime' => 'text/x-csrc' ], 'clike' => [ 'modes' => 'c...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Wisata extends CI_Controller { public function index() { $data['wisata_umum'] = $this->Modelwisata->getwisata()->result_array(); $data['judul'] = 'Home'; $this->load->view('templates/header', $data); $thi...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProjects extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('projects', function (Blueprint $table) { $t...
<?php use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\SecurityBundle(), new Symfo...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCollectionImagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('collec...
<nav class="row-nav-links" > <ul class="row-nav-links-container" itemscope="" itemtype="http://www.schema.org/SiteNavigationElement"> @if($drug->instruction_adaptive_ua->composition && $drug->instruction_adaptive_ua->composition !== '<p><br></p>') <li class="row-nav-link" itemprop="name"><a item...
<?php namespace FilippoToso\Travelport\GDSQueue; class GdsQueueCountRsp extends BaseRsp { /** * @var QueueInfo $QueueInfo */ protected $QueueInfo = null; /** * @param ResponseMessage $ResponseMessage * @param string $TraceId * @param string $TransactionId * @param int $Resp...
<?php get_header(); ?> <div class="container"> <?php echo get_breadcrumb(); ?> <?php include("includes/previousnext.php"); ?> <div class="row"> <!-- Sidebar --> <?php if(have_posts()) : the_post() ?> <div class="col-md-3"> <div class="list-group"> ...
<?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\Routing\Matcher\Dumper; use Symfony\Component\Routing...
<?php /** * This page displays all the messages attached with a project * */ $msg_obj = CPM_Message::getInstance(); $pro_obj = CPM_Project::getInstance(); cpm_get_header( __( 'Messages', 'cpm' ), $project_id ); ?> <h3 class="cpm-nav-title"> <?php _e( 'Messages', 'cpm' ); ?> <a class="add-new-h2 cpm-new-messag...
<?php /* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2009, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute thi...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class quotes extends Model { public $table = "quotes"; use HasFactory; protected $fillable = [ 'isi' ]; }
<?php /** * Used to check for current less version during page open * * @since 4.5 */ add_action( 'vc_before_init', 'vc_check_for_custom_css_build' ); /** * Function check is system has custom build of css * and check it version in comparison with current VC version * * @since 4.5 */ function vc_check_for_c...
<?php /** * Settings class. * * @since 1.0.0 */ class WPForms_Settings { /** * The current active tab. * * @since 1.3.9 * * @var string */ public $view; /** * Primary class constructor. * * @since 1.0.0 */ public function __construct() { // Maybe load settings page. add_action( 'admi...
@extends('include.layout') @section('style') {!! Html::style('css/datepicker/jquery-ui.css') !!} {!! Html::style('css/tageditor/jquery.tag-editor.css') !!} {!! Html::style('css/timepicker/jquery.timepicker.min.css') !!} {!! Html::style('css/multiselect/bootstrap-multiselect.css') !!} {!! Html::...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>API OAUTH</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css2?family=Nuni...
<?php namespace Duo\CoreBundle\Entity\Property; use Doctrine\ORM\Mapping as ORM; trait SlugTrait { /** * @var string * * @ORM\Column(name="slug", type="string", nullable=true) */ protected $slug; /** * {@inheritDoc} */ public function setSlug(?string $slug): SlugInterface { $this->slug = $slug; ...
<div class="row"> <div class="col-md-12"> <div class="box box-info"> <div class="box-header with-border"> <h3 class="box-title">Ajouter un nouveau Client</h3> </div> <?php echo form_open('client/add'); ?> <div class="box-body"> <div cl...
<?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'; } /** * --...
<div class="box-body chat" id="chat-box" style="overflow: hidden; width: auto; height: 250px;"> <!-- chat item --> <div class="item"> <img src="dist/img/user4-128x128.jpg" alt="user image" class="online"> <p class="message"> <a href="#" class="name"> <small class="te...
<?php namespace transit; class TransitException extends \Exception {}
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\records; use craft\db\ActiveRecord; /** * Class UserPermission record. * * @property int $id ID * @property string $name Name * @author Pixel & Tonic, Inc....
<?php namespace App\Models; use CodeIgniter\Model; class CompanyModel extends Model { protected $table = 'Company'; protected $allowedFields = ['name', 'address', 'city','pic']; public function getAll() { return $this->findAll(); } public function getCompanyInfos($id) { ...
<?php /** * BaseBibSupports * * This class has been auto-generated by the Doctrine ORM Framework * * @property integer $id_support * @property string $nom_support * @property Doctrine_Collection $TStationsBryo * @property Doctrine_Collection $TStationsFs * * @method integer getIdSupport() ...
@extends('layouts.master') @section('title') Cause e Progetti @stop @section('content') <div class="content-wrapper cause-page-section" id="page-info"> <div class="container"> <section class="our-story row anim-section animate"> <div class="col-xs-12"> <header class="page-header section-header top-spacer"...
<?php // +---------------------------------------------------------------------- // | OneThink [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2013 http://www.onethink.cn All rights reserved. // +-----------------------------------------------...
@extends('BE.layout') @section('our-services') active @endsection @section('content') <div class="container-fluid"> <!-- Page Heading --> <div class="d-sm-flex align-items-center justify-content-between mb-4"> <h1 class="h3 mb-0 text-gray-800 text-capitalize">@lang('messages_be.serv...
<?php declare(strict_types=1); namespace Frosh\TemplateMail\Subscriber; use Frosh\TemplateMail\Event\MailDataBagFilter; use Frosh\TemplateMail\Event\TemplateMailBusinessEvent; use Frosh\TemplateMail\Services\MailFinderService; use Frosh\TemplateMail\Services\MailFinderServiceInterface; use Shopware\Core\Content\MailT...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class TipoDocumento extends Model { protected $table = "tipo_documento"; protected $fillable = ['nome_tipo']; public function documentos() { return $this->hasMany(\App\Documentos::class); } }
<?php class Ac_Model_Typer_ExtraTable extends Ac_Model_Typer_Abstract { /** * field in the rows that contains record identifiers * @var string */ protected $objectTypeField = false; /** * typeId to use instead of value in objectTypeField * @var string */ protected $u...
<?php namespace Google\AdsApi\AdManager\v202005; /** * This file was generated from WSDL. DO NOT EDIT. */ class PauseLineItems extends \Google\AdsApi\AdManager\v202005\LineItemAction { public function __construct() { } }
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddExtraColumnToArchitectLayoutReeScrunityQuestionMasterTable extends Migration { /** * Run the migrations. * * @return void */ public function up() ...
<?php declare (strict_types=1); namespace Rector\CodingStyle\Rector\ClassMethod; use PhpParser\Node; use PhpParser\Node\Expr\Array_; use PhpParser\Node\Name\FullyQualified; use PhpParser\Node\Stmt\ClassMethod; use PhpParser\Node\Stmt\Return_; use PHPStan\PhpDocParser\Ast\PhpDoc\ReturnTagValueNode; use Rector\BetterPh...
<?php /* @WebProfiler/Profiler/layout.html.twig */ class __TwigTemplate_5eccdbaed22e48dd51dceb425c4961c98b1697279ad5496c3200585322889702 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate...
<?php /** * This file is automatically generated. Lint this module to rebuild it. * @generated */ phutil_require_module('phabricator', 'aphront/response/ajax'); phutil_require_module('phabricator', 'applications/differential/controller/base'); phutil_require_module('phabricator', 'applications/differential/storag...
<?php declare(strict_types=1); namespace Sakila\Application\Controllers\Api; use Fig\Http\Message\StatusCodeInterface; use Psr\Http\Message\ResponseInterface as Response; use Psr\Http\Message\ServerRequestInterface as Request; use Sakila\Command\Bus\CommandBusInterface; use Sakila\Domain\Rental\Service\Request\AddRe...
<?php /** * Create rectangular annotation * * @phpstub * * @param resource $pdfdoc * @param float $llx * @param float $lly * @param float $urx * @param float $ury * @param string $type * @param string $optlist * * @return bool */ function PDF_create_annotation($pdfdoc, $llx, $lly, $urx, $ury, $type, $opt...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, Mandrill, and others....
<?php declare(strict_types=1); namespace DoctrineMigrations; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; final class Version20201021100546 extends AbstractMigration { public function getDescription(): string { return 'Initialize database.'; } public function ...
<?php header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: GET'); header("Access-Control-Allow-Headers: X-Requested-With"); $dbhost = "host:port"; $dbuser = "username"; $dbpass = "password"; $db = "database"; $con = mysqli_connect($dbhost, $dbuser, $dbpass , $db) or die($con);...
<?php /** * Copyright (c) Qobo Ltd. (https://www.qobo.biz) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE * Redistributions of files must retain the above copyright notice. * * @copyright Copyright (c) Qobo Ltd. (https://www.qobo.biz) * @license ...
<x-site-base-layout> <div> <x-pictured-header-with-overlapping-cards :picture="\App\Enums\AnonymousPictures::BACKDROP"> <h2 class="sr-only" id="contact-heading">Contact us</h2> <div class="grid grid-cols-1 gap-y-20 md:grid-cols-3 md:gap-y-0 md:gap-x-8"> <div class="fl...
@extends('layouts.app') @section('content') <div class="container my-4"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card z-depth-0"> <div class="card-header">{{ __('Login') }}</div> <div class="card-body"> <fo...
<?php namespace App\Models; use App\Helpers\ImageHelper; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Illuminate\Support\Facades\Hash; class Admin extends Auth...
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
<?php namespace Tests\Unit; use Tests\TestCase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\RefreshDatabase; use Laravel\Passport\Passport; use Laravel\Passport\ClientRepository; use Illuminate\Support\Facades\DB; use App\User; class JobTest extends TestCase { /** * Creat...
<?php namespace GitBalocco\LaravelUiCli\Contract; interface CliHandlerInterface { }
<!DOCTYPE html> <html lang="en"> <head> <title>Recetas comida</title> <!-- GOOGLE FONTS --> <link href='http://fonts.googleapis.com/css?family=Yellowtail%7cCabin:400,500,600,700,400italic,700italic%7cLibre+Baskerville:400italic%7cGreat+Vibes%7cOswald:400,300,700%7cOpen+Sans:600italic,700' r...
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections b...
@extends('app',[ 'activePage' => 'home', ]) @section('content') <section class="ftco-section"> <div class="row justify-content-center mb-5"> <div class="col-md-8 text-center heading-section ftco-animate"> <span class="subheading">Portal Resmi Pemerintah Kota Padang Panjang</span>...
<?php //00551 // -------------------------- // Created by Dodols Team // -------------------------- 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...
<?php defined('_JEXEC') or die('Restricted access'); ?> <?php if(JPluginHelper::isEnabled('authentication', 'openid')) : ?> <?php JHTML::_('script', 'openid.js'); ?> <?php endif; ?> <form action="<?php echo JRoute::_( 'index.php', true, $this->params->get('usesecure')); ?>" method="post" name="login" id="form-login"> ...
<?php namespace App\Http\Controllers; use App\Blog; use Illuminate\Http\Request; use App\Category; use Str; use Auth; use Carbon\Carbon; use Illuminate\Support\Facades\File; use Intervention\Image\Facades\Image as Image; class BlogController extends Controller { /** * Display a listing of the resource. ...
<?php namespace CirrusSearch\Search\Rescore; use CirrusSearch\SearchConfig; use Elastica\Query\FunctionScore; /** * A function score that builds a script_score. * see: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#function-script-score * NOTE: only lucene expr...
@extends('admin.index') @section('content') <div class="card"> <div class="card-header"> <div class="row"> <div class="col-md-auto"> <h3>Detalles del Turno <div class="badge badge-info"> {{$turno->id}} </div> ...
@extends('layouts.edit') @section('container-class', 'container') @section('card-header') <x-form-title>Редактировать <span class="text-muted small"> [{{ Breadcrumbs::currentTitle() }}]</span></x-form-title> <div class="nav nav-tabs card-header-tabs" id="nav-tab" role="tablist"> <x-form-nav-t...
<?php namespace Profession; use Laminas\ApiTools\Provider\ApiToolsProviderInterface; class Module implements ApiToolsProviderInterface { public function getConfig() { return include __DIR__ . '/config/module.config.php'; } public function getAutoloaderConfig() { return [ ...
<?php namespace App\Models; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class Consumer extends Authenticatable { // use Notifiable; protected $fillable = [ 'username', 'tel', 'password','created_at','updated_at','remember_token','status' ];...
<?php /* * This file is part of PHP CS Fixer. * * (c) Fabien Potencier <fabien@symfony.com> * Dariusz Rumiński <dariusz.ruminski@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace PhpCsFixer\Cache; /** * @author Dariusz ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class khachhang extends Model { use Notifiable...
<x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ strtoupper(__('List Banking Transactions')) }} </h2> </x-slot> <livewire:view-account> </x-app-layout>
<?php namespace Modules\Messages\Entities; use Illuminate\Database\Eloquent\Model; class Conversation extends Model { protected $table = 'conversations'; public $timestamps = true; public $fillable = [ 'user_one', 'user_two', 'status', ]; /* * make a relation between...
<?php namespace app\admin\controller; //use think\Controller; use app\admin\controller\Base; class Index extends Base { public function index() { return $this->fetch('index'); } }
<?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 ECSPrefix202206\Symfony\Component\Console\Command; use ECSPrefix202206\S...
<?php if (!defined('BASEPATH')) die('Access Denied!'); class Model { function __construct() {} }
<!-- Start content --> <div class="content"> <div class="container-fluid"> <div class="page-title-box"> <div class="row align-items-center"> <div class="col-sm-6"> <h4 class="page-title"><?=$btitle ?></h4> <ol class="breadcrumb"> ...
<?php namespace ModuleBZ\SchemaOrg\Traits\Thing\Action\ControlAction; use ModuleBZ\SchemaOrg\DataType\Text; trait TDeactivateAction{ }
<?php /** * Created by PhpStorm. * User: ryan * Date: 16/09/2017 * Time: 6:44 PM */ namespace BUP\Http\Controllers; use Illuminate\Http\Request; use Illuminate\View\View; class RepairController extends Controller { public function __construct() { $this->middleware('auth'); } public function index(...
@extends('layouts.app') @section('content') <head> <link rel="stylesheet" href="{{ asset('css/order.css') }}"> </head> @livewire('create-order') @endsection
<?php class Produto extends CI_Controller { public function __construct() { parent::__construct(); check_session(); $this->load->model('produto_model'); $this->load->helper(array('form', 'url')); } public function index() { $data['produtos'] = $this->produto_model->get_produtos(); $data['title'] = 'Li...
<?php class fep_widget extends WP_Widget { public function fep_widget() { $widget_ops = array('classname' => 'fep_login', 'description' => __('Display login widget on sidebar ', 'fep')); $this->WP_Widget('fep_widget', 'Frontend Login', $widget_ops); } public function form($instance) ...