text
stringlengths
2
1.03M
<?php namespace App; use App\User; use App\SchoolEvent; use Illuminate\Database\Eloquent\Model; class UserEvent extends Model { // protected $table = 'users_events'; protected $appends = ['presence']; protected $cast = ['status' => 'boolean']; public function school_event() { return ...
<?php /** * Copyright © Vaimo Group. All rights reserved. * See LICENSE_VAIMO.txt for license details. */ namespace Vaimo\ComposerPatches\Utils; class RuntimeUtils { public function setEnvironmentValues($values) { foreach ($values as $name => $value) { putenv($name . '=' . $value); ...
@extends('layouts.app') @section('content') {{--<h1><a href="/posts/{{$post->id}}/edit">{{$post->title}}</a></h1>--}} <h1><a href="{{route('posts.edit',$post->id)}}">{{$post->title}}</a></h1> @endsection
<?php namespace Google\AdsApi\AdManager\v202005; /** * This file was generated from WSDL. DO NOT EDIT. */ class MobileApplicationTargeting { /** * @var int[] $mobileApplicationIds */ protected $mobileApplicationIds = null; /** * @var boolean $isTargeted */ protected $isTargete...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); use QCloud_WeApp_SDK\Auth\LoginService as LoginService; use QCloud_WeApp_SDK\Constants as Constants; class Login extends CI_Controller { private $model; function __construct() { parent::__construct(); } public function...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
@extends('layouts.masteradmin', ['title'=>'List des commandes non livrer']) @section('content') <!-- BEGIN CONTENT BODY --> <div class="page-content-wrapper"> <div class="content-wrapper container"> <div class="row"> <div class="...
<!DOCTYPE HTML> <html> <head> <title>Inscription</title> <meta charset="utf-8"> <meta name="description" content="165c. uniques"> <!-- css --> <link href="<?= base_url('assets/bootstrap/css/bootstrap.min.css') ?>" rel="stylesheet"> <link href="<?= base_url('assets/bootstra...
<?php namespace Runroom\GildedRose\Tests; use PHPUnit\Framework\TestCase; use Runroom\GildedRose\GildedRose; use Runroom\GildedRose\Item; class GildedRoseTest extends TestCase { /** * @test */ public function itemsDegradeQuality() { $items = [new Item('', 1, 5)]; $gilded_rose = new...
<footer> <?php bloginfo('name'); ?> est propulsé par <a href="https://wordpress.org">WordPress</a>. <nav><?php wp_nav_menu ( array ( 'theme_location' => 'footer-menu' ) ); ?></nav> </footer> </div> <?php wp_footer(); ?> </body> </html>
<?php /* @package SES 2019 ========================= Admin Enqueue Functions ========================= */ function ses_load_admin_scripts( $hook ) { if ( 'toplevel_page_souzaty_ses' != $hook ){ return; } wp_register_style( 'ses_admin', get_template_directory_uri() . '/css/ses.admin.css', array()...
<?php namespace App\Http\Resources; use Illuminate\Support\Carbon; use Illuminate\Http\Resources\Json\Resource; class LrsResource extends Resource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($...
<?php class Card extends CI_Controller{ function __construct(){ parent::__construct(); $this->load->model('data_model'); if($this->session->userdata('status') != "login"){ redirect(base_url("login")); } } function index(){ $data['dtsiswa'] = $this->data_model->get_siswa(); $data['record'] = $this->...
<?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\Form\Tests\Extension\Core\DataTransformer; use Symfon...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Multipic; use Carbon\Carbon; use Intervention\Image\ImageManagerStatic as Image; class multipicController extends Controller { public function __construct() { $this->middleware('auth'); } #Multipic Page con...
<?php /** * OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures * all the essential functionalities required for any enterprise. * Copyright (C) 2006 OrangeHRM Inc., http://www.orangehrm.com * * OrangeHRM is free software; you can redistribute it and/or modify it under the terms of ...
<?php echo $this->Html->script('modules/SalCustomers', FALSE); ?> <?php echo $this->BootstrapPaginator->options(array('url' => $this->passedArgs));?> <div class="span12"> <h3> <?php echo $this->Html->link('<i class="icon-plus icon-white"></i>', array('action' => 'vsave'), array('class'=>'btn btn-primary', 'escap...
<?php namespace App\Http\Resources\Search\Common; use Illuminate\Http\Resources\Json\JsonResource; class Category extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) ...
<?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 TencentAds\Container; use GuzzleHttp\Client; use TencentAds\Api\AsyncTasksApi; use TencentAds\Kernel\ApiContainer; use TencentAds\Kernel\HeaderHandler; use TencentAds\Middleware\Model\MiddlewareRequest; use TencentAds\TencentAds; class AsyncTasksApiContainer extends ApiContainer { /** @var AsyncTa...
<?php namespace Mini\Tools; class Debug { public array $throwables = []; public string $body = ""; private bool $stream_open = false; public function entry(string $name) : self { if (!empty($this->body)) $this->newline(2); $this->print("=== $name ===")->newline(); return $this; } public function new...
<?php if(!empty($errors)): ?> <?php if($errors->any()): ?> <ul class="alert alert-danger" style="list-style-type: none"> <?php foreach($errors->all() as $error): ?> <li><?php echo $error; ?></li> <?php endforeach; ?> </ul> <?php endif; ?> <?php endif; ?>
<?php namespace Google\AdsApi\AdManager\v201805; /** * This file was generated from WSDL. DO NOT EDIT. */ abstract class FirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v201805\AudienceSegment { /** * @param int $id * @param string $name * @param int[] $categoryIds * @param stri...
<?php namespace alsvanzelf\jsonapiTests\example_output\extension_members_everywhere; use alsvanzelf\jsonapi\ResourceDocument; use alsvanzelf\jsonapi\objects\AttributesObject; use alsvanzelf\jsonapi\objects\JsonapiObject; use alsvanzelf\jsonapi\objects\LinkObject; use alsvanzelf\jsonapi\objects\LinksObject; use alsvan...
<?php include 'config.php'; include 'fungsi.php'; $m=$_GET['data']; list ($kod, $js)=split('[/]', $m); if ($js =="SM"){ $cnt=count_row("select $kod from markah_pelajar where $kod is not null"); if ($cnt>0) message("Subjek tidak boleh dihapuskan kerana sekolah telah memasukkan markah",1); else { $sqltmp...
<?php /** * This file is part of the Phlexus CMS. * * (c) Phlexus CMS <cms@phlexus.io> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ declare(strict_types=1); namespace Phlexus\Event; use Exception; class EventException exten...
<!DOCTYPE html> <html> <head> <title>Recipies | <?= $title; ?></title> <link rel="stylesheet" href="<?php echo base_url(); ?>assets/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/ie10-viewport-bug-workaround.css" /> <link rel="stylesheet" href="<?php echo base_u...
--TEST-- Bug #69092-2 (Declare Encoding Compile Check Wrong) - multibyte off --INI-- zend.multibyte=0 --FILE-- <?php echo "Hi"; function foo() { declare(encoding="UTF-8"); } echo "Bye" ?> --EXPECTF-- Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in %s on line %d ...
<?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\Bridge\Doctrine\Tests\Validator\Constraints; use Symfony\Bridge...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInitff925246f164cc31834eabd5b8a9b9cf { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php namespace App\Http\Controllers; use Session; use App\data_angsur; use Illuminate\Support\Facades\DB; use Maatwebsite\Excel\Facades\Excel; use App\Exports\AngsurExport; use App\Imports\AngsurImport; use Illuminate\Http\Request; class DataAngsurController extends Controller { public function index() { ...
<?php namespace App\Plugin; use Twinkle\Library\Plugin\PluginAbstract; class FilterParamPlugin extends PluginAbstract { public function beforeRouter() { } public function afterRouter() { } }
<?php /** * This code is licensed under the BSD 3-Clause License. * * Copyright (c) 2017, Maks Rafalko * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSchedulesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('schedules', f...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class UserType extends Model { protected $table = 'user_types'; protected $fillable = ['type']; }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Post extends Model { use HasFactory; protected $fillable = [ 'title', 'description' ]; }
<?php namespace App\Providers; use Illuminate\Cache\RateLimiting\Limit; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Http\Request; use Illuminate\Support\Facades\RateLimiter; use Illuminate\Support\Facades\Route; class RouteServiceProvider extends ServiceProvide...
<?php return array( //'配置项'=>'配置值' 'SHOW_PAGE_TRACE' =>false, /* 默认设定 */ 'DEFAULT_MODULE' => 'Admin', // 默认模块 'DEFAULT_CONTROLLER' => 'Index', // 默认控制器名称 'DEFAULT_ACTION' => 'index', // 默认操作名称 //'__DOCUMENT_UPLOADS_ZIP__'=>'D:/xampp/www/T_ball/Public', '__DOCUMEN...
<?php class M_f_budaya extends CI_Model { public function __construct() { parent::__construct(); return $this->db->query('SELECT * FROM `tbl_w_budaya` ORDER BY id DESC'); } function cari_berita($keyword){ $hsl=$this->db->query("SELECT * FROM tbl_w_budaya WHERE objek_wisata LIKE '%$keywo...
<?php declare(strict_types = 1); namespace PHPStan\Rules\Classes; use PhpParser\Node; use PHPStan\Analyser\Scope; use PHPStan\Reflection\Php\PhpMethodReflection; use PHPStan\Rules\Rule; use PHPStan\Rules\RuleErrorBuilder; /** * @implements \PHPStan\Rules\Rule<\PhpParser\Node\Expr\New_> */ class NewStaticRule imple...
<?php /** * This file is part of the Global Trading Technologies Ltd package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * (c) fduch <alex.medwedew@gmail.com> * * Date: 11/12/14 */ /* * This code is based on original apac...
<?php /* Ввод основных данных для поиска телефонов */ namespace app\models; use Yii; use yii\base\Model; class InputData extends Model { public $id; public $main_unit; // Главное подразделение public $fio; // П.І.Б. public $unit_1; // Підрозділ, підпорядкований голов...
<!-- Topbar --> <nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow"> <!-- Sidebar Toggle (Topbar) --> <button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3"> <i class="fa fa-bars"></i> </button> <!-- Topbar Search --> <!-- Topba...
<table width="100%"> <tr> <td align="left"> <p>Сколько будет 2*2?</p> <form action='<?php echo $_SERVER['REQUEST_URI']?>' method='post'> <input type='radio' name='answer' value='a1'>3<br> <input type='radio' name='answer' value='a2'>4<br> <input type='radio' name='answer' value='a3'>5<br> <input type...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Modifier un evenement</div> <div class="panel-body">...
<?php session_start(); /* if($_SESSION['token']) { header('Location: https://localhost/HelpDesk/home.php'); } */ ?> <html> <head> <meta charset="utf-8" /> <title>App Help Desk</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="s...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Joke extends Model { protected $fillable = ['joke', 'user_id']; public function user() { return $this->belongsTo('App\User'); } }
<?php require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/settings.php'; if ( is_admin() ) { require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/tools.php'; //require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/tab-support.php'; $overview_report = new MonsterInsights_Report_Ove...
<div class="container"> <div class="row"> <div class="col-lg-8 col-md-10 mx-auto"> <H2><CENTER>TESTIMONI</CENTER></H2> <p>Want to get in touch? Fill out the form below to send me a message and I will get back to you as soon as possible!</p> <!-- Contact Form - Enter your emai...
<div class="box box-solid"> <div class="box-header with-border"> <!-- <i class="fa fa-text-width"></i> --> <h3 class="box-title">用户详情</h3> </div> <div class="box-body"> <dl class="dl-horizontal"> <dt>姓名</dt> <dd>{{ $name }}</dd> <dt>注册时间</dt> ...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png"> <link rel="icon" type="image/png" href="../assets/img/favicon.png"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>Nakuru Propert...
<?php /** * Migration genrated using LaraAdmin * Help: http://laraadmin.com */ use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; use Dwij\Laraadmin\Models\Module; class CreateTicketsCaborcasTable extends Migration { /** * Run the migrations. * * @return void...
<div class="modal fade" id="WelcomeModal"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h1 class="modal-title">Bienvenue sur Pongo</h1> </div> {{ Form::open(array('url' => 'devise', 'method' => 'post', 'id' => 'form-de...
<?php function gradient($w=1200, $h=630, $c=array('#dadada','#121212','#00FF00','#0000FF'), $hex=true) { $im=imagecreatetruecolor($w,$h); if($hex) { // convert hex-values to rgb for($i=0;$i<=3;$i++) { $c[$i]=hex2rgb($c[$i]); } } $rgb=$c[0]; // start with top left color for($x=0;$x<=$w;$x++) { // loop column...
<?php session_start(); if(isset($_SESSION["minha_conta"])){ unset($_SESSION["minha_conta"]); echo "<script>window.history.back();</script>"; }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Ps1; use App\Http\Controllers\Controller; class Ps1Controller extends Controller { public function index() { $pss = Ps1::all(); return view('ps1.index', compact('pss')); } public function add() { ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\City; class CityController extends Controller { public function __construct() { $this->middleware('auth'); } /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ ...
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Captcha\Observer; use Magento\Framework\Event\ObserverInterface; class CheckGuestCheckoutObserver implements ObserverInterface { /** * @var \Magento\Captcha\Helper\Data */ protec...
@extends('layouts.app') @section('content') <!DOCTYPE html> <html> <body> <div class="container"> <h3 align="center" class="my-4">ระบบจัดการโครงงานคอมพิวเตอร์</h3> @if (Auth::user()->hasRole('Admin')) <div class="form-group"> {!! Form::ope...
<?php /** * Copyright © TradeTracker. All rights reserved. * See COPYING.txt for license details. */ namespace TradeTracker\Connect\Model\Config\System\Source; use Magento\Directory\Model\ResourceModel\Country\CollectionFactory as CountryCollectionFactory; use Magento\Framework\Data\OptionSourceInterface; /** * ...
@extends('admin.master') @section('content') <div class="row"> <div class="col-lg-12"> <h1 class="page-header">User <small>Add</small> </h1> </div> <!-- /.col-lg-12 --> <div class="col-lg-7" style="padding-bottom:120px"> @include('admin...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\search\CourseSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Courses'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="course-index"> <h1><...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class ChatupdateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get...
<?php namespace edgardmessias\unit\db\firebird; trait FirebirdTestTrait { public $reservedWords = [ 'ADD', 'ADMIN', 'ALL', 'ALTER', 'AND', 'ANY', 'AS', 'AT', 'AVG', 'BEGIN', 'BETWEEN', 'BIGINT', 'BIT_LENGTH', ...
@if ($errors->any()) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> </div> @endif
<?php use App\Http\Controllers\StudentController; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your applica...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Matricula extends CI_Controller { public function __construct() { parent::__construct(); $this->load->library('form_validation'); if($this->session->userdata('logged_in') !== TRUE){ redirect('/'); } } /* INICIO LISTAR MATRIC...
<?php /* Copyright (C) 2014-2015 Deciso B.V. Copyright (C) 2005-2007 Scott Ullrich Copyright (C) 2008 Shrew Soft Inc Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted prov...
<?php /** * Created by PhpStorm. * User: midland * Date: 2019-06-24 * Time: 12:31 */ namespace app\api\controller\v1; use app\api\model\Category as CategoryModel; use app\lib\exception\CategoryException; class Category { /** * 获取所有分类 * @url /category/all * @http GET * @return false|stati...
<?php namespace App\Http\Controllers; use App\message; use App\order; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Session; class UserController extends Controller { public function userOrder() { $getUserID = Auth::user()->id; ...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel backend\models\search\WidgetMenuSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('backend', 'Widget Menus'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="widget-m...
<?php namespace App\Http\Repositories; use App\Kid; class KidRepository { protected $kid; public function __construct(Kid $kid) { $this->kid = $kid; } public function getAll() { return $this->kid->select('*')->orderBy('id', 'desc')->paginate(5); } public function all...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace NNGenie\InfosMatBundle\Repository; /** * * @author TONYE */ interface IAimeRepository { //put your code here ...
<?php use app\models\Menu; use yii\helpers\Html; use yii\helpers\Url; /* @var $this \yii\web\View */ // echo Yii::getAlias('@web/themes/frontend/images/menu-logo.png') ?> <header class="navbar-default <?= Yii::$app->controller->headerClass ?: '' ?>"> <div class="container"> <div class="top row"> ...
<?php namespace App\Zen\System\Model; use Illuminate\Database\Eloquent\Model; class ExecuteCommand extends Model { protected $table = 'execute_commands'; protected $fillable = ['customer_id','command_type','date_to_run','started_at','ended_at','done']; }
<?php /* * Example 25 - Updating an existing subscription via the Mollie API. */ use Mollie\Api\Exceptions\ApiException; try { /* * Initialize the Mollie API library with your API key or OAuth access token. */ require "./initialize.php"; /* * Retrieve an existing subscription */ ...
<?php namespace app\notifications\command\send\renders; use app\notifications\command\send\entities\EmailTemplate; use app\notifications\command\send\Message; use app\notifications\command\send\renderResults\EmailRenderResult; class EmailRender extends AbstractRender { public $name = "email"; public functio...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use App\Models\SmsMail; class UpdateSmsMailRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return tru...
<?php include(erLhcoreClassDesign::designtpl('lhsystem/configuration_tabs_content/chat_embed_js_pre.tpl.php'));?> <?php if ($system_configuration_tabs_content_chat_embed_js_enabled == true && $currentUser->hasAccessTo('lhsystem','generate_js_tab')) : ?> <div role="tabpanel" class="tab-pane" id="embed"> <div class="row...
<?php namespace App\Repositories; use App\Models\HangXe; use App\Repositories\BaseRepository; class HangXeRepository extends BaseRepository { public function model() { return HangXe::class; } }
<?php namespace App\Test\Fixture; use Cake\TestSuite\Fixture\TestFixture; /** * KanjiMeaningsFixture * */ class KanjiMeaningsFixture extends TestFixture { /** * Fields * * @var array */ // @codingStandardsIgnoreStart public $fields = [ 'id' => ['type' => 'integer', 'length'...
<form action="?c=cargarFunMovimiento" method="POST" class="text-center"> <input type="hidden" name="action" value="eliminarAula"> <div class="row my-2"> <div class="col fw-bold"> <f3>Eliminar aula</f3> </div> </div> <div class="row my-2"> <div class="col" style="color...
<?php /** * Created by PhpStorm. * User: tatiana * Date: 19.10.17 * Time: 11:59 */ namespace totum\common; /*TODO возвращать через конфиг - подготовка к мультилэнгвич*/ class Formats { const weekDaysShort = [ 1 => 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб', 'Вс...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateContentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('contents', fun...
@extends('crm.layouts.base_crm') @section('title', 'Vehiculos') @section('navbar_content') @include('crm.layouts.components.navbar') @endsection @section('left_sidebar_navbar_content') @include('crm.layouts.components.left_sidebar') @endsection @section('contenido_inmobiliaria') <div class="card"> ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Category; use App\Product; class WelcomeController extends Controller { public function index() { $publishedProducts = Product::where('publicationStatus', 1)->get(); return view('frontEnd.home.homeContent', ['publishe...
<?php namespace Test\Comments; /** * Class FakeManager */ class FakeManager implements \OCP\Comments\ICommentsManager { public function get($id) { } public function getTree($id, $limit = 0, $offset = 0) { } public function getForObject( $objectType, $objectId, $limit = 0, $offset = 0, \DateTime $no...
<div id="content"> <div id="content-header"> <div id="breadcrumb"> <a href="index.html" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a> <a href="#" class="tip-bottom">Form elements</a> <a href="#" class="current">Common elements</a> </...
<?php namespace App\Models\idelivery; use Illuminate\Database\Eloquent\Model; class Order_menu_detail extends Model { // 指定資料庫連線名稱 protected $connection = 'idelivery'; // 資料庫名稱 protected $table = 'order_menu_detail'; // 主鍵欄位 protected $primaryKey = 'id'; // 主鍵型態 protected $keyType = '...
<?php /** * Inherited Methods * @method void wantToTest($text) * @method void wantTo($text) * @method void execute($callable) * @method void expectTo($prediction) * @method void expect($prediction) * @method void amGoingTo($argumentation) * @method void am($role) * @method void lookForwardTo($achieveValue) ...
<?php if (!empty($this->session->userdata('logged_in') == 1)) { } else { redirect(); } ?> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Omaid | Project</title> <!-- Tell the browser to be responsive to screen width --> ...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\PeopleController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your applicat...
@extends('layouts.common') @section('title', 'Форма обратной связи') @section('content') <div class="container-fluid"> <h2 class="hn">Заполните форму</h2> <form action="{{route('storeFeedback')}}" method="post" id="fdform" class="fdform"> @csrf <div class="row"> <div class="col-lg-9...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class AdminController extends Controller { //check user public function __construct() { $this->middleware('auth'); } public function profile() { // } }
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UsersRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the ...
<!-- Footer --> <div class="hk-footer-wrap container"> <footer class="footer"> <div class="row"> <div class="col-md-6 col-sm-12"> <p>Powered by<a href="{{ url('/dashboard') }}" class="text-dark" target="_blank">ISCUBE International.</a> © 2017 - {{ date('Y') }}.</p> <...
<?php if (!defined('THINK_PATH')) exit();?><!doctype html> <html class="no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>猎头意见反馈</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalabl...
<?php return [ 'topNav1' => '<span class="glyphicon glyphicon-home"></span>', 'topNav2' => 'Download', 'topNav3' => 'Documentation', 'topNav4' => 'Community', 'topNav5' => 'Contribute', 'bottomNav1' => 'Policies', 'bottomNav2' => 'The Fine Print', 'bottomNav3' => 'About', 'bottomNav4' => 'Securi...
<?php namespace App\Repository; use App\Entity\TodoList; use DateTime; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\NonUniqueResultException; use Doctrine\Persistence\ManagerRegistry; /** * @method TodoList|null find($id, $lockMode ...