text
stringlengths
2
1.03M
<?php global $root, $base_url; $share_url = $base_url.'/node/'.$node->nid; ?> <?php if (!$page): ?> <article id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>> <?php endif; ?> <?php if ($user_picture || $display_submitted || !$page): ?> <?php print rend...
@extends('layouts.app') @section('content') <br> <div class="row"> <div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main"> <div class="col-lg-12"> <div class="panel panel-info"> <div class="panel-heading">Data Artikel <span class="pull-right clickable panel-toggle">...
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ $uri = urldecode( parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ); // This file allows us to emulate Apache's "mod_rewrite" functionality from the // built-in PHP web ser...
<?php declare(strict_types = 1); namespace Datalator\Popo; /** * Code generated by POPO generator, do not edit. * https://packagist.org/packages/popo/generator */ class LoggerChannel { /** * @var array */ protected $data = array ( ); /** * @var array */ protected $default = a...
<script language="JavaScript" type="text/javascript">tinymce.init({ selector:'#blogPost' });</script> <form action="" method="post" class="form-horizontal" enctype="multipart/form-data"> <legend>New Blog Post</legend> <div class="form-group"> <label for="title" class="col-lg-3 control-label">Title</lab...
@include('Admin.Layouts.head') @include('Admin.Layouts.header') @include('Admin.Layouts.sidenav') <div id="layoutSidenav_content"> <main> <div class="container-fluid"> <h1 class="mt-4">Add Color</h1> <ol class="breadcrumb mb-4">...
<?php namespace Mapbender\CoreBundle\Element; use Mapbender\CoreBundle\Component\Element; class Ruler extends Element { /** * @inheritdoc */ public static function getClassTitle() { return "mb.core.ruler.class.title"; } /** * @inheritdoc */ public static function ...
<?php namespace App\Addons\Verify\SetupDatabase; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Schema; /** * *@author: Tiamiyu waliu kola *@website : www.crea8social.com */ class Install { public function database() { if (!\Schema::hasTable('verified_codes')) { \Schema...
<nav class="footer_nav"><?php wp_nav_menu( array( 'theme_location' => 'footer', 'menu_id' => 'footer_nav' ) ); ?></nav>
@extends('layout') @section('content') <div class="row container" id="wrapper"> <div class="halim-panel-filter"> <div class="panel-heading"> <div class="row"> <div class="col-xs-6"> <div class="yoast_breadcrumb hidden-xs"><span><s...
<?php global $amp_conf; $datehelp = _('Customize the display of debug message time stamps. ' . 'See strftime(3) Linux manual for format specifiers. ' . 'Note that there is also a fractional second parameter ' . 'which may be used in this field. Use %1q for tenths, ' . '%2q for hundr...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Office extends Model { use SoftDeletes; /** * The attributes that aren't mass assignable. - ne mogu se od strane usera poslati u bazi kroz formu * * @var array */ ...
<!--begin::Modal--> <div class="modal fade" id="detail-modal" role="dialog" data-backdrop="static" data-keyboard="false" aria-labelledby="detail-modal" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable" role="document"> <div class="modal-content"> <div cl...
<?php declare(strict_types=1); namespace ParaTest\Console\Commands; use InvalidArgumentException; use ParaTest\Runners\PHPUnit\Options; use ParaTest\Runners\PHPUnit\Runner; use ParaTest\Runners\PHPUnit\RunnerInterface; use ParaTest\Runners\PHPUnit\WrapperRunner; use Symfony\Component\Console\Application; use Symfony...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Admin; use Validator; class AdminController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() ...
<?php /** * @see https://github.com/laminas/laminas-mail for the canonical source repository * @copyright https://github.com/laminas/laminas-mail/blob/master/COPYRIGHT.md * @license https://github.com/laminas/laminas-mail/blob/master/LICENSE.md New BSD License */ namespace LaminasTest\Mail; use Laminas\M...
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $config = [ 'id' => 'basic', 'name' => 'Board', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset', ], ...
<?php // // Description // ----------- // This function will return the history for an element in the file. // // Arguments // --------- // api_key: // auth_token: // tnid: The ID of the tenant to get the history for. // file_id: The ID of the file to get the history for. // field: The...
<?php /** * @author * @license The MIT License (MIT), http://opensource.org/licenses/MIT */ defined('BASEPATH') OR exit('No direct script access allowed'); $lang['email_must_be_array'] = 'The email validation method must be passed an array.'; $lang['email_invalid_address'] = 'Invalid email address: %s'; $lang['...
<?php namespace Hazzard\Comments\Http\Requests; use Hazzard\Comments\Comment; use Illuminate\Foundation\Http\FormRequest; class UpdateComment extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { ...
<?php global $show_th_header; ?> <article id="post-<?php the_ID(); ?>" <?php post_class( 'cf' ); ?> role="article"> <?php if($show_th_header) : ?> <header class="article-header"> <p class="byline vcard"> <?php $agenda_post_type = 'tribe_events'; if ( $agenda...
<?php session_start(); if(isset($_SESSION['uname'])){ $a=0; } else{ ob_start(); header('Location: '.'login.php'); ob_end_flush(); die(); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE...
<span class="search icon-search"> <?php echo $this->inner('input', [ 'type' => 'search', ]); ?> </span>
<?php namespace ChauffeurBundle\Controller; use AppBundle\Entity\chauffeur; use AppBundle\Entity\Notification; use AppBundle\Entity\user; use AppBundle\Form\chauffeurType; use AppBundle\Form\userType; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\B...
@extends('app') @section('content') <div class="container"> <h3>Novo Cupom</h3> @include('errors._check') {!! Form::open(['route'=>'admin.cupoms.store','class'=>'form-horizontal']) !!} @include('admin.cupoms._form') <div class="clearfix"></div> <div class="form-group...
<?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...
@extends('admin.layout.index') @section('content') <!-- MAIN --> <div class="main"> <!-- MAIN CONTENT --> <div class="main-content"> <div class="container-fluid"> <!-- OVERVIEW --> <div class="panel panel-headline"> <div class="panel-heading"> ...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call([ UserTableSeeder::class, // DokumentsTableSeeder::class, // GruppesTa...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class WorkingHour extends Model { protected $fillable = [ 'office_id', 'from', 'day', 'to', ]; protected $dates = [ 'from', 'to' ]; private $days = [ 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', '...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCardsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('cards', function ...
<?php get_header(); $is_page_builder_used = et_pb_is_pagebuilder_used( get_the_ID() ); $show_navigation = get_post_meta( get_the_ID(), '_et_pb_project_nav', true ); ?> <div id="main-content"> <?php if ( ! $is_page_builder_used ) : ?> <div class="container"> <div id="content-area" class="clearfix"> <div id=...
<?php namespace Amethyst\Authorizers; use Railken\Lem\Authorizer; use Railken\Lem\Tokens; class OpeningHourAuthorizer extends Authorizer { /** * List of all permissions. * * @var array */ protected $permissions = [ Tokens::PERMISSION_CREATE => 'opening-hour.create', Tokens...
<?php namespace Comicat\Slack\Api\Model; class ObjsIcon { /** * * * @var string */ protected $image102; /** * * * @var string */ protected $image132; /** * * * @var string */ protected $image230; /** * * * @var ...
<?php session_start(); // ---------------------------------------------------------------------- // Connexion à la base de données // ---------------------------------------------------------------------- include '../connexion_bdd/conn.php'; // ---------------------------------------------------------------------- /...
<?php namespace ReactorCMS\Support\Packing; use Chumper\Zipper\Zipper; use Spatie\DbDumper\Databases\MySql; class PackingService { /** * Creates a backup package */ public function createBackup() { $this->resetDirectory(); $zipper = $this->populateZipper( $this-...
<nav x-data="{ open: false }" class=""> <!-- Primary Navigation Menu --> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex justify-between h-16"> <div class="flex"> <!-- Logo --> {{-- <div class="shrink-0 flex items-center"> ...
<?php class Kwc_Newsletter_Unsubscribe_Component extends Kwc_Abstract_Composite_Component { public static function getSettings() { $ret = parent::getSettings(); $ret['rootElementClass'] = 'kwfUp-webStandard'; $ret['generators']['child']['component']['form'] = 'Kwc_Newsletter_Unsubscribe...
<?php return [ 'exam' => 'Exam', 'exams' => 'Exams', 'edit' => 'Change Exam Scheduled on :time', 'model' => [ 'when' => 'Date When It Happens', 'branch_id' => 'Where It Happens', ], 'show' => [ 'cardHead' => 'Info Of Exam Scheduled On :time', 'examResults' => 'E...
<?php namespace infobip\api\configuration; abstract class Configuration { public $baseUrl = 'https://api.infobip.com/'; public function __construct($baseUrl) { if($baseUrl) { if ($baseUrl[strlen($baseUrl) - 1] != '/') $baseUrl .= '/'; $this->baseUrl = $baseUrl...
<?php use common\models\Panel; use common\models\PanelItem; use yii\db\Migration; /** * Class m160101_000009_like */ class m160101_000009_like extends Migration { /** * {@inheritdoc} */ public function safeUp() { $tableOptions = null; if ($this->db->driverName === 'mysql') { ...
<?php namespace Core; class Router{ //properties protected $routingTable = []; //@array protected $params; /* *what it does: add route to routing table *@param $route(string): route url *{controller}: controller param *{action}: action param *{sth:regex}: custom para...
<?php /** * sfPEARcaptcha actions. * * @package sfPEARcaptchaPlugin * @subpackage modules * @author Tomasz Jakub Rup */ class sfPEARcaptchaActions extends sfActions { public function executeCaptcha(sfWebRequest $request) { $options = sfContext::getInstance()->getStorage()->read('captcha/options'); $...
<?php if (isset($_POST["data"])) { $file = "../public/highscores/highscores.json"; $fh = fopen($file, 'w') or die("can't open file"); $stringData = $_POST["data"]; fwrite($fh, $stringData); fclose($fh); } ?>
<?php /** * Rich text content item ribbon data class * * @author Dean Blackborough <dean@g3d-development.com> * @copyright G3D Development Limited * @license https://github.com/Dlayer/dlayer/blob/master/LICENSE */ class Dlayer_DesignerTool_ContentManager_RichText_Ribbon extends Dlayer_Ribbon_Content { /** ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class pregunta extends Model { public $timestamps = false; public function respuestas(){ return $this->hasMany(respuesta::class); } }
<?php namespace Mdhesari\VoyagerDataTypes\Tests; use Illuminate\Database\Eloquent\Factories\Factory; use Mdhesari\VoyagerDataTypes\VoyagerDataTypesServiceProvider; use Orchestra\Testbench\TestCase as Orchestra; class TestCase extends Orchestra { protected function setUp(): void { parent::setUp(); ...
<!-- jQuery first, then Popper.js, then Bootstrap JS --> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/p...
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Cliente; class ClienteSearch extends Cliente{ public function rules() { return [ [['id'], 'safe'], [['id_utente'],'safe'], ]; } public function scenarios(){ return Model::scenarios(...
<?php /** * WooCommerce Admin: EU VAT Number Note. * * Adds a note for EU store to install the EU VAT Number extension. */ namespace Automattic\WooCommerce\Admin\Notes; defined( 'ABSPATH' ) || exit; /** * EU_VAT_Number */ class EUVATNumber { /** * Note traits. */ use NoteTraits; /** * Name of the not...
<!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.0"> <title>Document</title> </head> <body> <label for="">fill</label> <input type="text"> </body> </html>
<?php /** * Copyright 2016 Google Inc. 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/LICENSE-2.0 * * Unless required by ...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class MovieRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return TRUE; } /** * Get the error messages for the defined valid...
<?php namespace App\Http\Controllers\BackEnd; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class HomeController extends Controller { // }
<?php return [ /* |-------------------------------------------------------------------------- | CDN LINK |-------------------------------------------------------------------------- | By default SweetAlert2 use its local sweetalert.all.js | file. | However, you can use its cdn if you want. ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class ApiModel extends Model { // public static function addVendor($request, $file) { $insert = DB::table('vendors')->insert( [ 'name' => $request->name, 'email'...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\Test\Taxonomy\Types; use DTS\eBaySDK\Taxonomy\Types\AncestorReference; class AncestorRefe...
<?php namespace Gsandbox\Model; class Multipart extends VaultEntity { public function getSubdir() { return 'multiparts'; } public function initiate($partSize, $desc) { $this->setParam('PartSize', $partSize); $this->setParam('Description', $desc); } public function...
<?php namespace App\Http\Controllers\SdmPayroll\Potongan; use App\Http\Controllers\Controller; use App\Models\PayAard; use App\Models\PayPotongan; use App\Models\MasterPegawai; use DB; use Illuminate\Http\Request; class PotonganOtomatisController extends Controller { /** * Display a listing of the resource....
<?php namespace app\models; class User extends \yii\base\BaseObject implements \yii\web\IdentityInterface { public $id; public $username; public $password; public $authKey; public $accessToken; private static $users; /** * {@inheritdoc} */ public static function findIdenti...
<?php namespace App\Providers; use App\Service\TagService; use Illuminate\Support\ServiceProvider; class TagProvider extends ServiceProvider { /** * Register services. * * @return void */ public function register() { // } /** * Bootstrap services. * * @...
<?php namespace Application\Repository; use Doctrine\ORM\EntityRepository; use Application\Entity\Stock; use Application\Entity\Stockanalysis; use Application\Entity\Stocknews; class StockRepository extends EntityRepository { public function getlist() { $entityManager = $this->getEntityManager(); $queryBuilder...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Home extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('noticias_model'); $this->load->model('multimedia_model'); $this->load->model('agenda_model'); ...
<?php /* * This file is part of the RollerworksPasswordStrengthBundle package. * * (c) Sebastiaan Stok <s.stok@rollerscapes.net> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Rollerworks\Bundle\PasswordStrengthBundle\Tests\Command; ...
<?php namespace App\Http\Controllers; use App\ReplayCommentPost; use Illuminate\Http\Request; class ReplayCommentPostController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** ...
<section class="feature-section padding-top-20 padding-bottom-70"> <div class="container"><!-- section container --> <div class="section-title-wrap margin-bottom-50"><!-- section title --> <h4>featured item</h4> <div class="title-divider"> <div class="line"></div> <i class="fa fa-star-o"></...
<?php namespace Vectorface\SnappyRouter\Plugin\AccessControl; use Vectorface\SnappyRouter\Exception\AccessDeniedException; use Vectorface\SnappyRouter\Exception\InternalErrorException; use Vectorface\SnappyRouter\Handler\AbstractHandler; use Vectorface\SnappyRouter\Handler\AbstractRequestHandler; use Vectorface\Snapp...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use backend\helpers\AcpHelper; use backend\assets\CustomAsset; /* @var $this yii\web\View */ /* @var $model backend\models\Role */ /* @var $form yii\widgets\ActiveForm */ $bundle = CustomAsset::register(Yii::$app->view); $this->registerCssFile($bundle->baseUrl ....
<?php namespace App\Http\Controllers\News; use App\Http\Controllers\Controller; use App\Http\Requests\News\NewsRequest; use App\Http\Requests\News\NewsUpdateRequest; use App\Http\Resources\News\NewsResource; use App\Models\News; use Illuminate\Support\Facades\File; use Illuminate\Http\Request; use Illuminate\Support\...
@extends('MMM.parent') @section('title') {{'My Funded Projects'}} @endsection @section('links') <link href="{{asset('assets/plugins/notify/css/notifIt.css')}}" rel="stylesheet"/> @endsection @section('content') <div class="hero page-inner" style="background-image: url('dashboard/assets/images/my-projects...
<!DOCTYPE html> <html lang="en"> <head> <title>Siluni</title> <link rel="icon" href="<?php echo base_url('assets/siluni//images/unj.png')?>" type="image/x-icon"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="<?php echo base_url(); ?>as...
<?php declare(strict_types=1); /* * +----------------------------------------------------------------------+ * | At all timesI love the moment | * +----------------------------------------------------------------------+ * | Copyright (c) 2019 www.Woisk.com All rights reserve...
<?php namespace App\Rules; use Illuminate\Contracts\Validation\Rule; class ValidateNewPremiumInvestmentAmount implements Rule { /** * Create a new rule instance. * * @return void */ private $wallet; public function __construct($wallet) { $this->wallet = $wallet; } ...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { // 全局中间件,最先调用 protected $middleware = [ // 检测是否应用是否进入『维护模式』 // 见:https://d.laravel-china.org/docs/5.5/configuration#maintenance-mode \Illuminate\Foundation\Http\Midd...
@extends('layouts.dashboard') @section('content-dashboard') <div class="card-header text-center"> <h1>Building A</h1> <a class="button" style="vertical-align:middle" href="http://localhost:8000/switchView"><span>Switch View</span></a> </div> <div class="card-body"> @if (session('status')) <div cl...
<?php /** * Jetpack_Google_Analytics_Legacy hooks and enqueues support for ga.js * https://developers.google.com/analytics/devguides/collection/gajs/ * * @author Aaron D. Campbell (original) * @author allendav */ /** * Bail if accessed directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } class Jetpack_Google...
<!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.0"> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>Document</title> <link rel="stylesheet" href="...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
@extends('../layouts.app') @section('content') <h1>Editar Perfil</h1> <table> {!! Form::model($tipo_empleados, ['method'=>'post', 'action' => ['Tipo_empleadoController@update', $tipo_empleados->id]]) !!} <tr> <td>{!!Form::label('nombre', 'Nombre de Perfil:')!!}</td> <td>...
<div class="row-fluid" style="margin-top: 0"> <div class="span4"> <div class="widget-box"> <div class="widget-title"> <span class="icon"> <i class="fas fa-shopping-bag"></i> </span> <h5>Relatórios Rápidos</h5> </div>...
<?php namespace App\CustomTraits; trait FormatsTrait { public function pesoFormat($value) { return '&#8369; '.number_format($value, 2); } public function quantityFormat($value) { return $this->withComma($value).' pcs.'; } public function withComma($value) { return number_format($value); } }
<?php use App\User; use Illuminate\Database\Seeder; class UsersTableSeeder extends Seeder { public function run() { $users = [ [ 'id' => 1, 'name' => 'Admin', 'email' => 'admin@admin.com', 'passw...
@if(is_default_lang()) <div class="row"> <div class="col-sm-4"> <h3 class="form-group-title">{{__("Disable Wallet module?")}}</h3> </div> <div class="col-sm-8"> <div class="panel"> <div class="panel-title"><strong>{{__("Disable wallet module")}}</stron...
<?php /* * This file is a part of Mibew Messenger. * * Copyright 2005-2015 the original author or authors. * * 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.o...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Banner; use App\Models\Category; class AdminBannerController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php $values = array(); $values['storage_type'] = 'mdb2'; $values['database_driver'] = 'mysqli'; $values['database_host'] = 'hostname'; $values['database_name'] = 'db_name'; $values['database_overwrite'] = true; $values['database_username'] = 'db_user'; $values['database_password'] = 'db_password'; $values['platform_...
<!DOCTYPE html> <html> <head> <title>Forbidden.</title> <!--<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">--> <style> @font-face { src: url('../font/IndustryIncW00Base.ttf'); font-fami...
<?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 | ...
<?php namespace App\Providers; use Core\Acace\Client\Application\Create\{CreateClientCommandHandler, CreateClientCommand}; use Illuminate\Contracts\Bus\Dispatcher; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Diari extends Model { protected $table = 'diari'; protected $primaryKey = 'id'; public function user() { return $this->belongsTo('App\User', 'user_id'); } }
<?php use Illuminate\Database\Seeder; class AcontecimentosTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // } }
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may s...
@extends('ChaineDeRestauration.base') @section('action-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">modifier Chaine</div> <div class="panel-body"> ...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Catalog\Model\Product; /** * Catalog Product Mass Action processing model * * @api * * @author Magento Core Team <core@magentocommerce.com> * @since 100.0.2 */ class Action extends \Ma...
<!-- Page Content --> <div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Blank</h1> </div> <!-- /.col-lg-12 --> </div> <!-- /.row --> </div> <!-- /#page-wrapper -->
<?php /** * Created by PhpStorm. * User: Administrator * Date: 2018/6/6 * Time: 8:53 */ namespace app\admin\controller; use app\admin\validate\ActionValidate; use think\Controller; use think\Request; use think\Session; use app\admin\model\Action; class ActionController extends Controller { public function in...
@extends('admin/layout'); @section ('title', 'Панель управления'); @section('main') <div class="row"> <div class="col-xs-12 col-md-6 col-lg-3"> <div class="panel panel-blue panel-widget "> <div class="row no-padding"> <div class="col-sm-3 col-lg-5 widget-le...
<!DOCTYPE html> <html lang="en"> <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"> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>UGMAD</title> <!-- Font Awesom...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $config['useragent'] = 'PHPMailer'; // Mail engine switcher: 'CodeIgniter' or 'PHPMailer' $config['protocol'] = 'smtp'; // 'mail', 'sendmail', or 'smtp' $config['mailpath'] = '/usr/sbin/se...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...