text
stringlengths
2
1.03M
<?php session_start(); if(!isset($_SESSION['sent'])) { header('Location: http://www.ucidk.pl/'); exit(); } else { unset($_SESSION['sent']); } //Usuwanie zmiennych pamiętających wartości wpisane do formularza if(isset($_SESSION['fr_firstname'])) unset($_SESSI...
<?php // +---------------------------------------------------------------------- // | Description: 用户 // +---------------------------------------------------------------------- // | Author: Jensen // +---------------------------------------------------------------------- namespace app\admin\model; use think\Db; use a...
<?php class Dojo_model extends Grocery_crud_model { /*private $query_str = ''; function __construct() { parent::__construct(); }*/ function listar() { $query = $this->db->select('codmiembro') ->like('codmiembro', 'ABPAPA', 'after') ...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UserDetailStoreRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** ...
<?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 /* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\page\feed$checkpagepermissions@[annot]][1]/ */ /* Type: array */ /* Expiration: 2018-10-01T09:50:32+00:00 */ $loaded = true; $expiration = 1538387432; $data = array(); /* Child Type: array */ $data['return'] = unserialize(base64_decode('YTowOnt...
<?php namespace client\tests\functional; use client\tests\FunctionalTester; class HomeCest { public function checkOpen(FunctionalTester $I) { $I->amOnPage(\Yii::$app->homeUrl); $I->see('My Company'); $I->seeLink('About'); $I->click('About'); $I->see('This is the About ...
<!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" /> <meta name="generator" content="http://www.movabletype.org/" /> ...
<?php /** * @file * Contains Drupal\system\Access\DbUpdateAccessCheck. */ namespace Drupal\system\Access; use Drupal\Core\Routing\Access\AccessInterface; use Drupal\Core\Access\AccessResult; use Drupal\Core\Session\AccountInterface; use Drupal\Core\Site\Settings; /** * Access check for database update routes. ...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Staff_c extends CI_Controller { public function __construct(){ parent::__construct(); if(!$this->Users_m->beConnectedStaff()){ redirect("home_c"); } } public function index(){ $thi...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateJobsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('jobs', function (B...
<?php $__env->startSection('title', $row->title); ?> <?php $__env->startSection('content'); ?> <?php echo $__env->make('Sites::inc.maketting', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <div class="main"> <div class="container"> <div class="row"> <di...
<?php namespace App; use Sober\Controller\Controller; use WP_Query; class Figure extends Controller { public static function list_of_styles(){ $terms = get_terms( 'style', array( 'hide_empty' => false, ) ); return $terms; } public static function list_of_figures($style, $level) { $args...
<?php use Franky\Core\validaciones; use Franky\Core\Plantilla; use Base\model\USERS; use Base\entity\users as entityUser; use Base\model\AvataresModel; use Base\entity\AvataresEntity; use Base\model\VerificacionesPendientes; use Base\model\Emails; use Franky\Core\ObserverManager; use Franky\Haxor\Tokenizer; $Tokenizer...
<?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...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css2?family=Nunito...
@extends('site.master') @section('content') <div class="container" style="direction: rtl;"> <div class="row justify-content-center"> <div class="col-md-6"> <div class="card"> <div class="card-header">ورود</div> <div class="card-body"> <form m...
<?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...
@if (Auth::id() != $user->id) @if (Auth::user()->unfavorite($micropost->id)) {{-- アンフォローボタンのフォーム --}} {!! Form::open(['route' => ['favorites.unfavorite', $micropost->id], 'method' => 'delete']) !!} {!! Form::submit('お気に入りから消す', ['class' => "btn btn-danger btn-block"]) !!} {!! For...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <!--TODO:About me--> <!--Bootstrap nav bar--> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="an...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\State */ $this->title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'States', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?> <div ...
<?php if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die(); $value = implode(', ', array_map(function($v) { return (is_null($v) || is_scalar($v) ? (string)$v : ''); }, $arResult['value'])); $arResult['value'] = $value;
<?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 RdvBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\Extension\Core\Type\TextareaType; use Symfony\Component\F...
<?php /** * Created by PhpStorm. * User: nnikitchenko * Date: 08.05.2016 */ require_once __DIR__ . '/../vendor/autoload.php'; $jobby = new \Jobby\Jobby(); $jobby->add('CommandStatsOnline', array( 'command' => '/usr/bin/php /www/a.oldbk.com/current/yii stats/online', 'schedule' => '*/5 * * * *', 'outp...
<meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <link rel="shortcut icon" href="../../../../../data/images/icon.ico" type="data/image/x-icon" /> <link rel="stylesheet" href="../../../../../layout/styles/demo.css" type="text/css" media="s...
<?php namespace App\Http\Controllers; use App\Event; use App\Session; use App\Ticket; use App\User; use Illuminate\Http\Request; class UserController extends Controller { /** * Display the specified resource. * * @param int $id * @return \ILLuminate\Http\Response */ public function s...
<!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', 'Laravel') }}</ti...
<?php /** * Pimcore * * This source file is available under two different licenses: * - GNU General Public License version 3 (GPLv3) * - Pimcore Enterprise License (PEL) * Full copyright and license information is available in * LICENSE.md which is distributed with this source code. * * @category Pimcore * ...
<?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 // content="text/plain; charset=utf-8" include ('jpgraph-4.2.4\src\jpgraph.php'); include ('jpgraph-4.2.4\src\jpgraph_pie.php'); // Some data $data = array(40,21,17,14,23); // Create the Pie Graph. $graph = new PieGraph(700,500); $theme_class="DefaultTheme"; //$graph->SetTheme(new $theme_class()); // Set A ti...
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta name="description" content=""/> <meta name="keywords" content=""/>
<?php /* C:\xampp\htdocs\FinancialRecord\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions/views/404.blade.php */ ?> <?php $__env->startSection('title', __('Not Found')); ?> <?php $__env->startSection('code', '404'); ?> <?php $__env->startSection('message', __('Not Found')); ?> <?php echo $__env->make('err...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class QuizModel extends CI_Model { public $rules = array( 'questions_id' => array( 'field'=> 'questions_id', 'label' => 'Número', 'rules' => 'trim|required' ), 'question_text' => array( 'field' => 'questions_text', 'label' => ...
<?php namespace api\modules\v1\controllers; use Yii; use yii\filters\autsth\HttpBasicAuth; use yii\rest\ActiveController; use yii\data\ActiveDataProvider; use yii\web\NotFoundHttpException; use yii\web\ForbiddenHttpException; use yii\filters\VerbFilter; use yii\db\Query; use yii\web\Response; use yii\filters\auth\Htt...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Menu; use App\acompannamiento; class MenuController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return Menu::with('ac...
@extends('layouts.admin') @section('content') @can('category_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.categories.create') }}"> {{ trans('global.add') }} {{ trans('cruds.category.title_singular...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CancellationReasons extends Migration { /** * Run the migrations. * * @return void */ public function up() { if (!Schema::hasTable("cancell...
<?php namespace App\Http\Requests\Admin\Category; use Illuminate\Http\JsonResponse; use Illuminate\Contracts\Validation\Validator; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\ValidationException; use Illuminate\Http\Exceptions\HttpResponseException; use Illuminate\Http\Request; class ParentR...
<?php use Illuminate\Support\Facades\Route; use App\Models\Storekeeper; use App\Models\Customer; use App\Http\Controllers\TransactionController; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | H...
<?php namespace Olcs\Form\Model\Fieldset; use Laminas\Form\Annotation as Form; /** * @codeCoverageIgnore No methods * @Form\Attributes({"class":""}) * @Form\Name("operator-details") */ class OperatorDetails { /** * @Form\Attributes({"value":""}) * @Form\Type("Hidden") */ public $id = null;...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
<?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 Aws\Glue; use Aws\AwsClient; /** * This client is used to interact with the **AWS Glue** service. * @method \Aws\Result batchCreatePartition(array $args = []) * @method \GuzzleHttp\Promise\Promise batchCreatePartitionAsync(array $args = []) * @method \Aws\Result batchDeleteConnection(array $args =...
<?php /** * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyr...
<!-- Main Footer --> <footer class="main-footer"> <strong>Copyright &copy; 2020 <a href="<?php echo site_url('main');?>">SIAKTI</a>.</strong> All rights reserved. <!-- <div class="float-right d-none d-sm-inline-block"> <b>Version</b> 3.0.2 </div> --> </footer>
<?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'; } /* * --...
@extends('layouts.master') @section('title') Update Diary Item @endsection @section('breadcrumb') <ol class="breadcrumb"> <li class="breadcrumb-item active"><a href="{{ route('view-property-flip', $diary_item->property_flip->id) }}">View Property Flip</a></li> </ol> @endsection @section('content') <div class="con...
<div class="page-loader-wrapper"> <div class="loader"> <div class="preloader"> <div class="spinner-layer pl-red"> <div class="circle-clipper left"> <div class="circle"></div> </div> <div class="circle-clipper right"> ...
<?php return [ 'url' => env('DELIVERY_API_URL', 'https://delivery-auto.com/api/v4/Public'), 'public_key' => env('DELIVERY_API_PUBLIC_KEY', null), 'secret_key' => env('DELIVERY_API_SECRET_KEY', null), 'culture' => env('DELIVERY_API_CULTURE', 'ru-RU') ];
<?php namespace Lamoda\AtolClient\Tests\Unit\V3\DTO\Sell\Request; use Lamoda\AtolClient\Tests\Helper\ProtectedPropertiesTrait; use Lamoda\AtolClient\V3\DTO\Sell\Request\Service; use PHPUnit\Framework\TestCase; /** * @covers \Lamoda\AtolClient\V3\DTO\Sell\Request\Service * @group unit */ class ServiceTest extends ...
<?php declare(strict_types=1); namespace App\Http\Controllers\Admin; use App\Http\Resources\GroupResource; use App\Models\Group; use App\Http\Controllers\Controller; use Exception; use Illuminate\Database\Eloquent\Builder; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Inertia\Inertia; use Ine...
<?php namespace Faker\Test\Provider; use Faker\Provider\Image; class ImageTest extends \PHPUnit_Framework_TestCase { public function testImageUrlUses640x680AsTheDefaultSize() { $this->assertRegExp('#^https://lorempixel.com/640/480/#', Image::imageUrl()); } public function testImageUrlAccepts...
<?php namespace library\forms\manage\Library; use library\entities\Library\Author; use library\forms\CompositeForm; use library\forms\manage\MetaForm; use library\validators\SlugValidator; class AuthorForm extends CompositeForm { public $first_name; public $last_name; public $slug; public $active; ...
@extends('layout') @section('content') <div class="row"> <div class="col-12"> <div class="row"> <div class="col-10"> <h1>Videos</h1> </div> <div class="col-2"> <a class="btn btn-outline-dark float-right" href="{{route('vide...
@extends('layouts.admin') @section('title') Dashboard Admin Category @endsection @section('content') <div class="page-breadcrumb"> <div class="row"> <div class="col-7 align-self-center"> <h3 class="page-title text-truncate text-dark font-weight-medium mb-1">List of Categories<!</h3> ...
<!DOCTYPE html> <html lang="en"> <head> <?php include 'includes/head.php'; ?> </head> <body> <?php include 'includes/nav.php'; ?> <section class="ftco-section ftco-animate pb-md-0 pb-4"> <div class="container"> ...
<?php if (! defined('BASEPATH')) { exit('No direct script access allowed'); } class Mapos extends CI_Controller { /** * author: Ramon Silva * email: silva018-mg@yahoo.com.br * */ public function __construct() { parent::__construct(); $this->load->model('mapos_...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePurchaseTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('purchases', fu...
<?php namespace Casbin\Tests\Watcher; use Casbin\Enforcer; use PHPUnit\Framework\TestCase; /** * UtilTest. * * @author techlee@qq.com */ class WatcherUpdatableTest extends TestCase { protected $enforcer; protected $watcher; protected $isCalled; public function initWatcher() { $this->...
<footer class="footer"> <div class="container"> <div class="row d-flex justify-content-center align-items-center"> <div class="col-lg-3 col-md-7 col-9"> <img src="{{ url('') }}/src/img/gobierno-y-adip.svg"> </div> <div class="col-lg-6 col-10 text-center text-lg-left mt-3 mt-lg-0"> ...
<div class="main-sidebar sidebar-style-2"> <aside id="sidebar-wrapper"> <div class="sidebar-brand"> <a href="{{route('admin.dashboard')}}"> <img alt="image" src="{{asset('assets/backend/img/logo.png')}}" class="header-logo" /> <span class="logo-name">MMS</span> ...
<?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 use Illuminate\Database\Migrations\Migration; class RenamePostVotesTableToVotes extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::rename('post_votes', 'votes'); } /** * Reverse the migrations. * * @ret...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { public function run() { $this->call(UsersTableSeeder::class); $this->call(PermisosTableSeeder::class); $this->call(RolesTableSeeder::class); $this->call(VenezuelaTableSeeder::class); ...
<?php $users_controller = new UsersController(); if($_POST['r'] == 'user-delete' && $_SESSION['role'] == 'Admin' && !isset($_POST['crud'])) { $user = $users_controller->get($_POST['user']); if( empty($user)){ $template = ' <div class="container"> <p class="item error">No e...
<?php //============================================================================ // (c) 2009-2010, Eolya - All Rights Reserved. // This source code is the property of Eolya. // The license applying to this source code is available at : // http://www.crawl-anywhere.com/licenses/ //===================================...
<?php namespace App\Http\Controllers; use App\Models\Producto; use Illuminate\Http\Request; class HomeController extends Controller { public function index(){ $info_productos = Producto::select( 'producto.*', 'categoria.nombre as cat_nombre', 'categoria.estado as cat_...
<div class="form-group"> {!! Form::label('Name','Nome:') !!} {!! Form::text('name',null,['class'=>'form-control']) !!} </div> <div class="form-group"> <hr> <label class="radio-inline">{{ Form::radio('publishable', '1',true) }}Publicado</label> <label class="radio-inline">{{ Form::radio('publishable'...
<?php /* * This file is part of the Chameleon System (https://www.chameleonsystem.com). * * (c) ESONO AG (https://www.esono.de) * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * the job is used to clear the cache for discoun...
<h3>Liste des orateurs</h3> <div class="alert alert-info shadow rounded-0"> <i class="fal fa-info-circle"></i> <strong>Disponible prochainement .</strong> </div>
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Compra extends Model { // }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Str; use App\Models\Address; use App\Models\Address_type; use App\Models\User; use App\Models\Country; use App...
@extends('layouts.app') @section('content') @include('navigations.english') <div class="container"> <h1 style="text-align: left; font-weight: 700;">CONTACT</h1><br/> <div class="kontakt row"> <div class="col-xs-12"> <ul> <li><em>+39878330848</em></li> ...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null $guard * @return mixed */ publi...
<?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\Console\Tests\Input; use PHPUnit\Framework\TestCase; ...
<?php namespace Artgris\Bundle\FileManagerBundle\Controller; use Artgris\Bundle\FileManagerBundle\Event\FileManagerEvents; use Artgris\Bundle\FileManagerBundle\Helpers\File; use Artgris\Bundle\FileManagerBundle\Helpers\FileManager; use Artgris\Bundle\FileManagerBundle\Helpers\UploadHandler; use Artgris\Bundle\FileMan...
<?php namespace App\Models\Web; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class Background extends Model { protected $table = 'background'; public function getBackgroundEvent() { return DB::table($this->table) ->where('event', '1') ->selec...
<div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main"> <div class="row"> <ol class="breadcrumb"> <li><a href="#"><svg class="glyph stroked home"><use xlink:href="#stroked-home"></use></svg></a></li> <li><a href="#">Career</a></li> ...
<?php /* Template Name: Thérapie */ get_header(); ?> <main role="main" class="main-content"> <div class="container-fluid"> <div class="container"> <div class="row mt-100"> <?php if( have_rows('haut_page') ): while ( have_rows('haut_page') ) : the_row(); ?> <...
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Packets; /** * PacketsSearch represents the model behind the search form about `app\models\Packets`. */ class PacketsSearch extends Packets { /** * @inheritdoc */ public function rules() {...
<?php namespace App\Models\kelas4; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class kls4ppknsubmitan extends Model { use HasFactory; protected $table="kls4ppknsubmitan"; protected $fillable = ['id', 'nama', 'file', 'submit_id']; public function Sub...
<?php /** * ____ * _ _____ _________/ / /__ * | | /| / / _ \/ ___/ __ / //_/ * | |/ |/ / __(__ ) /_/ / ,< * |__/|__/\___/____/\__,_/_/|_| * @author carolkey <carolkey@wesdk.org> * @link https://github.com/carolkey/wesdk * @copyright 2017 wesdk * @license MIT */ namespace we...
<?php /** * Model200Response * * PHP version 5 * * @category Class * @package OpenAPI\Client * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use th...
<?php namespace App; use Vinkla\Hashids\Facades\Hashids; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; use Laratrust\Traits\LaratrustUserTrait; /** * App\User * * @property integer $id * @property string $name * @property string $email * @property string $pass...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Freandship extends Model { protected $fillable = ['requester','user_requested']; }
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" scroll="no"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" con...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddUttAdmittedId extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', function (...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTweetsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tweets', functio...
<?php namespace App\Methods; use App\Methods\GenericMethod; use App\Models\Transaction; use App\Models\POBatch; use App\Models\RRBatch; use App\Models\ReferrenceBatch; use App\Models\ReferrenceGroupBatches; use App\Models\POGroupBatches; use Illuminate\Support\Facades\DB; use Illuminate\Validation\ValidationExcepti...
<?php if (!defined('BASEPATH')) { exit('No direct script access allowed'); } function gerarCard() { require_once APPPATH . '/helpers/cards/cards.php'; $carteirinha = new Carteirinha(386, 244); $carteirinha->setImagemCarteira(base_url('/assets/img/uploads/cartao.jpg')); $carteirinha->setFoto(base...
<?php namespace App\Models\Admin; use Illuminate\Support\Facades\Cache; use Illuminate\Database\Eloquent\Model; use Spatie\Activitylog\Traits\LogsActivity; class Brand extends Model { use LogsActivity; protected $guarded = []; // Forget cache on updating or saving and deleting public static functio...
<?php namespace App\Models; use App\Models\Traits\Search; use Illuminate\Database\Eloquent\Model; class Estado extends Model { Use Search; protected $fillable = [ 'nome', 'sigla', 'ibge' ]; }
<?php namespace Spatie\SchemaOrg; use \Spatie\SchemaOrg\Contracts\MensClothingStoreContract; use \Spatie\SchemaOrg\Contracts\LocalBusinessContract; use \Spatie\SchemaOrg\Contracts\OrganizationContract; use \Spatie\SchemaOrg\Contracts\PlaceContract; use \Spatie\SchemaOrg\Contracts\StoreContract; use \Spatie\SchemaOrg\...
@extends('layouts.master') @section('asset') {{HTML::style("assets/css/select2-bootstrap.css")}} <link rel="stylesheet" href="{{ asset('packages/select2/select2.css')}}" /> <link rel="stylesheet" href="assets/bootstrapvalidator/css/bootstrapValidator.css"/> @stop @section('title') {{ $title }} @stop @s...
@extends('layouts.admin') @section('content') @if(Session::has('deleted_post')) <p class="bg-danger">{{session('deleted_post')}}</p> @endif <div class="breadcrumbs"> <div class="col-sm-4"> <div class="page-header float-left"> <div class="page-title"> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFavproductsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('favproducts...
<?php /** * @author Félix Girault <felix.girault@gmail.com> * @license FreeBSD License (http://opensource.org/licenses/BSD-2-Clause) */ namespace Essence\Provider; use Essence\Di\Container; use Essence\Mixin\Configurable; use Essence\Utility\Json; use Exception; /** * A collection of providers which can find t...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class Informations extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('informations', function (Blueprint $table) { $ta...
<?php /* [UCenter] (C)2001-2099 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: user.php 1096 2011-05-13 11:26:36Z svn_project_zhangjie $ */ !defined('IN_UC') && exit('Access Denied'); define('UC_USER_CHECK_USERNAME_FAILED', -1); define('UC_USER_USERNAME_BADWORD', -2); define('UC_USER_U...