text
stringlengths
2
1.03M
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Account extends CI_Controller { public function index() { $this->load->model('user_model','user'); $data['users']=$this->user->getAll(); $daily_stats = array(); $logs = $this->user->get_today_log(); foreach ($logs as $log)...
@extends('layouts.default') @section('title', '首页') @section('content') <div class="jumbotron"> <h1>Hello Laravel</h1> <p class="lead"> 你现在所看到的视图是<a href="http://laravel-china.org/courses/laravel-essential-training-5.1">Laravel 入门教程</a>的示例项目主页。 </p> <p> 一切,将从这...
@extends('layout.master') @section('content') <div class="row"> <div class="col-md-12" style="margin-bottom:20px;"> <form method="get" action="{{url('/reports/cash-flow')}}"> <div class="col-md-3"> <label class="col-md-4 text-right btn btn-default active"><strong> From <i class="fa fa-arrow-right" aria-hidde...
<?php declare(strict_types = 1); namespace DrdPlus\Tests\Tables\Measurements\Fatigue; use DrdPlus\Tables\Measurements\Fatigue\FatigueTable; use DrdPlus\Tables\Measurements\Wounds\WoundsTable; use DrdPlus\Tables\Partials\AbstractTable; use DrdPlus\Tests\Tables\Measurements\AbstractTestOfBonus; class FatigueBonusTest ...
<!--Counter Inbox--> <?php $query = $this->db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); $jum_pesan = $query->num_rows(); $query1 = $this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); $jum_komentar = $query1->num_rows(); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <...
<?php namespace App\Http\Requests; use App\Models\Task; use Illuminate\Foundation\Http\FormRequest; class TaskStoreRequest extends FormRequest{ /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize(){ return true; } /...
<style type="text/css"> div.zone { border: solid 2mm #66AACC; border-radius: 3mm; padding: 1mm; background-color: #FFEEEE; color: #440000; } div.zone_over { width: 30mm; height: 35mm; overflow: hidden; } </style> <page> <h2><span style="font-size: 25pt ; font-weight: bold">Tarefas</spa...
<?php only_admin_access(); ?> <?php $option_group = $params['id']; if (isset($params['option-group'])) { $option_group = $params['option-group']; } $facebook_enabled = get_option('facebook_enabled', $option_group) == 'y'; $twitter_enabled = get_option('twitter_enabled', $option_group) == 'y'; $googleplus_enabled...
<? $MESS["BLOG_MODULE_NOT_INSTALL"] = "Модуль блогов не установлен."; $MESS["IDEA_MODULE_NOT_INSTALL"] = "Модуль идей не установлен."; $MESS["B_B_MES_NO_RIGHTS"] = "Недостаточно прав на просмотр сообщения"; $MESS["B_B_MES_NO_MES"] = "Сообщение не найдено"; $MESS["B_B_MES_NO_BLOG"] = "Блог не найден"; $MESS["B_B_MES_NO_...
<?php interface MyInterfaceName{ public function method1(); public function method2(); } class MyClassName implements MyInterfaceName{ public function method1(){ echo "Method1 Called<br>"; } public function method2(){ echo "Method2 Called<br>"; } } $obj = new MyClassName; $obj->method1(); $obj->method2(); ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDepartmentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('departments...
<h1>name: {{ $name }}</h1> <h1>pass: {{ $pass }}</h1> <div> thanks for login.... </div>
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Santri; class HomeController extends Controller { public function listSantri() { $santri = Santri::orderBy('id', 'desc')->get(); return view('santri.index', compact('santri')); } public function insert(Request $requ...
<?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. */ declare(strict_types=1); namespace spec\Sylius\Bundle\CoreBundle\Form\EventSubscriber; use PhpSpec\O...
<?php declare(strict_types=1); namespace Cycle\ORM\Tests\Functional\Driver\SQLServer\Inheritance\JTI\Relation; // phpcs:ignore use Cycle\ORM\Tests\Functional\Driver\Common\Inheritance\JTI\Relation\HierarchyInRelationTest as CommonClass; /** * @group driver * @group driver-sqlserver */ class HierarchyInRelationTe...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> @yield('meta') <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/cs...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCategoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('categories',...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Master extends CI_Controller { public function index() { $this->load->view('Master/index'); } public function create_profile() { $this->load->view('Master/create_profile'); } }
<aside class="left-sidebar" data-sidebarbg="skin6"> <!-- Sidebar scroll--> <div class="scroll-sidebar" data-sidebarbg="skin6"> <!-- Sidebar navigation--> <nav class="sidebar-nav"> <ul id="sidebarnav"> <li class="sidebar-item"> <a class="sidebar-link sidebar-link" href...
<?php namespace Ipunkt\LaravelIndexer\Client\Resources; use Rokde\HttpClient\Client; use Rokde\HttpClient\Request; use Rokde\HttpClient\Response; abstract class Resource { /** @var \Rokde\HttpClient\Client */ private $client; /** @var string */ private $baseUrl; /** @var array */ private $h...
<?php declare(strict_types=1); /** * This file is part of Hyperf. * * @link https://www.hyperf.io * @document https://doc.hyperf.io * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ namespace Hyperf\Cache\Listener; use Hyperf\Cache\Annotation\Cacheable; use Hyp...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Conceptual Model</title> <link href="style.css" rel="stylesheet"> </head> <body> <h1>Conceptual Model</h1> <ul> <h3>Personality</h3> <li>personalityId (PK)</li> <li>personalityDescription</li> <li>personalityType</li> ...
<!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') }}</tit...
<!-- Side Bar Start --> <div class="col-lg-4 sidebar"> <div class="sidebar-widget category"> <h2 class="title">Category</h2> <nav class="navbar bg-light"> <ul class="navbar-nav"> ...
<?php return [ 'backup' => [ /* * The name of this application. You can use this name to monitor * the backups. */ 'name' => env('APP_URL'), 'source' => [ 'files' => [ /* * The list of directories that should be pa...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateRoleAndPermissionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('role...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'CreateQuanlibaitapsTable' => $baseDir . '/database/migrations/2017_03_13_092726_create_quanlibaitaps_table.php', 'CreateTblChitietbomonsTable' => $baseDir . '/database...
@extends('layouts.app') @section('content') <div class="flex justify-center"> <div class="w-8/12 bg-white p-6 rounded-lg"> <form action="{{route('posts')}}" method="post" class="mb-4"> @csrf <label for="body" class="sr-only">Body</label> <textarea ...
@extends ('m_admin') @section ('titulo') Crear Vendedor @stop @section ('contenido') <div class="row"> <div class="col-lg-12"> <div class="panel panel-default"> <div class="panel-heading">Crear Cuenta Vendedor</div> <div class="panel-body"> @if(Session::has('message')) <div class="al...
<?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 /** * Created by Alberto Caro Navarro using IntelliJ IDEA. * Email: albertcaronava@gmail.com * Date: 25/04/2018 * Time: 09:51 AM */ $title = "Canciones"; include_once "../layout/session_valid.php"; include_once "../layout/navbar.php"; ?> <!-- Main --> <section id="main" > <div class="inner...
<?php /* * This file was automatically generated by sel-utils and * released under the MIT License. * * License: https://github.com/sel-project/sel-utils/blob/master/LICENSE * Repository: https://github.com/sel-project/sel-utils * Generated from https://github.com/sel-project/sel-utils/blob/master/xml/protocol/...
<?php get_template_part('templates/content-archive', 'ado_episode'); ?>
<?php namespace Balbi\Decorator\StarBuzz; use Balbi\Decorator\StarBuzz\Bebida; class CafePreto extends Bebida { public function __construct() { $this->descricao = "Café Preto Comun "; } public function pegarPreco() { return 0.50; } }
<?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\Security\Http\Firewall; use Psr\Log\LoggerInterface; ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content="Dashboard"> <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); $this->load->view('inc/header'); if(!$this->session->userdata('permissions') && $this->session->userdata('permissions')=='' ) { ?> <style type="text/css"> .alrtMsg{padding-top: 50px;} .alrtMsg i { font-size: 60p...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Pombo extends Model { protected $table = 'pombo'; public $fillable = [ 'anilha', 'nome', 'nascimento', 'macho', 'foto', 'obs', 'pai_id', 'mae_id', 'cor', '...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * Messages are copy-pasted in \yiiunit\framework\i18n\DbMessageSourceTest::setUpBeforeClass() * Do not forget to update it in after changing this file! */ return...
<?php requirePHPLib('form'); if (!validateUInt($_GET['id']) || !($contest = queryContest($_GET['id']))) { become404Page(); } if (!Auth::check()) { redirectToLogin(); } if (!checkContestGroup(Auth::user(), $contest)) { become403Page(); } genMoreContestInfo($contest); $has_contest_permission = hasCont...
<?php namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\User; use Hash; use Illuminate\Validation\Rule; use Illuminate\Support\Facades\Auth; use DB; use Mail; use App\Helper; use App\Models\Department; use App\Models\ExportHistory; use App\Models\Task; use A...
<?php /** * Contains the NodeMomentController class. * * @author Christian Micklisch <christian.micklisch@successwithsos.com> */ /** * The NodeMomentController Acts as a default controller. * * It sends the user to the given pages to get more information about how to utilize * the NodeMoment Api. * * @auth...
<?php namespace RB28DETT\RB28DETT\Commands; use Illuminate\Console\Command; class RB28DETTInfo extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'rb28dett:info'; /** * The console command description. * * @...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class AssuranceBatimentController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the form for crea...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateMonsterPostedJobsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('monst...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
<?php use yii\db\Migration; /** * Handles the creation of table `trips`. */ class m181124_030243_create_trips_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->createTable('trip', [ 'id' => $this->primaryKey(), 'start_point_x' =>...
<?php /* * This file is part of the Icybee package. * * (c) Olivier Laviale <olivier.laviale@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Icybee\Element; use Brickrouge\Actions; use Brickrouge\Button; use...
<!DOCTYPE html> <html> <head> <title>Membuat CRUD dengan CodeIgniter | MalasNgoding.com</title> </head> <body> <center> <h1>Membuat CRUD dengan CodeIgniter | MalasNgoding.com</h1> <h3>Edit Data</h3> </center> <?php var_dump($user); ?> <?php foreach($user as $u){ ?> <form action="<?php echo base_url(). 'crud/u...
<?php /** * * This file is part of the phpBB Forum Software package. * * @copyright (c) phpBB Limited <https://www.phpbb.com> * @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ namespace phpbb\report\controll...
<?php /** * This file is part of the Elcodi package. * * Copyright (c) 2014 Elcodi.com * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author ##author_placeholder * @version ##version_placeholder## */ namespace Elcodi\CartCo...
<?php /* @var $this \yii\web\View */ /* @var $content string */ use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use frontend\assets\AppAsset; use common\widgets\Alert; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$a...
<!DOCTYPE html> <html> <head> <style type="text/css"> td{ padding-right: 5px; padding-left: 5px; padding-top: 0px; padding-bottom: 0px; } th{ padding-right: 5px; padding-left: 5px; } </style> </head> <body> <div> <center> <img src="data:image/png;base64,{{base64_encode(file_get_cont...
<?php namespace App\Forms; use \Keggermont\LaraVueBuilder\App\Forms\Form; use App\Author; class AuthorsForm extends Form { static $class = Author::class; private $entity = null; static $with = []; // Actions available for this form static $actions = ["create","update","delete","index","view"]; ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); if (!function_exists('indonesian_date')) { function indonesian_date($date) { // fungsi atau method untuk mengubah tanggal ke format indonesia // variabel BulanIndo merupakan variabel array yang menyimpan nama-nama bulan ...
<?php namespace app\controllers; use Yii; use app\models\Units; use app\models\UnitsSearch; use yii\filters\AccessControl; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * UnitsController implements the CRUD actions for Units model. */ class UnitsController extends Contr...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class Friendship extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('friendship', function (...
<?php /** * 整理菜单住方法 * @param $param * @return array */ function prepareMenu($param) { $parent = []; //父类 $child = []; //子类 foreach($param as $key=>$vo){ if($vo['prant_id'] == 0){ $vo['href'] = '#'; $parent[] = $vo; }else{ $vo['href'] = U($vo['controller'] .'/'. $vo['action']); //跳转地址 $child...
<?php namespace Nikolag\Square\Tests\Models; use Illuminate\Foundation\Auth\User as Authenticatable; use Nikolag\Square\Traits\HasCustomers; class User extends Authenticatable { use HasCustomers; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [...
<?php if (!class_exists('XmlExportWooCommerceReview')) { final class XmlExportWooCommerceReview { private $init_fields = array( array( 'label' => 'comment_ID', 'name' => 'ID', 'type' => 'comment_ID' ), array( ...
<?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 a...
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInitf4db2793517a1db7db8f7bbc03d39faa { public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { }, null, ClassLoader::class); } }
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>2</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:200,60...
@extends('layouts.app') @section('template') @endsection @section('content') <div class="flex-center position-ref full-height container"> <div class="container"> <div class="row"> <div class="col-md-3"> <div class="card card-menu-table"> <div class=...
<?php // Grab our config settings require_once ('./config.php'); // Grab the FreakMailer class require_once ('./FreakMailer.inc'); // instantiate the class $mailer = new FreakMailer(); // Set the subject $mailer->Subject = 'This is a test'; // Body $mailer->Body = 'This is a test of my mail system!'; // Add an a...
<?php /** * */ class M_room extends CI_Model { function tampil_room(){ return $this->db->query('SELECT * FROM m_booking_room'); } function booking_room($where,$table){ return $this->db->get_where($table,$where); } function booking_room_proses($where,$data,$table){ $th...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Models\User; use App\Providers\RouteServiceProvider; use Illuminate\Auth\Events\Registered; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Hash; use Illuminate\Validation\Rules; c...
<!-- <?php if($data['subPageName'] == "COMPOSEMAIL") { ?> <a href="<?php echo base_url();?>index.php/admin/notifications" class="btn btn-primary btn-block margin-bottom">BacK to Inbox</a> <?php } else { ?> <a href="<?php echo base_url(); ?>index.php/admin/composeMail" class="btn btn-primary btn-block margin-bottom"...
<?php namespace App\Http; use App\Http\Middleware\ValidateSignature; 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. * * @va...
<?php namespace Psalm\Internal\PhpVisitor\Reflector; use PhpParser; use Psalm\DocComment; use Psalm\Exception\DocblockParseException; use Psalm\Exception\IncorrectDocblockException; use Psalm\Internal\Analyzer\CommentAnalyzer; use Psalm\Internal\Scanner\FunctionDocblockComment; use Psalm\Internal\Scanner\ParsedDocblo...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTagsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tags', function (B...
@extends('layouts.app') @section('content') <div class="container-fluid" id="updatetweet"> <h1> Update Sapientia Commutationem "Your Widsom"</h1> <form class="" action="/editTweet/{{$tweet->id}}/edit" method="post"> @csrf <textarea name="tweet" rows="8" cols="80">{{ $tweet->tweet }}</textarea...
<?php /* * This file is part of Totara LMS * * Copyright (C) 2010 onwards Totara Learning Solutions LTD * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, ...
@extends('layouts.admin.app') @section('title','Vendor List') @push('css_or_js') <meta name="csrf-token" content="{{ csrf_token() }}"> @endpush @section('content') <div class="content container-fluid"> <!-- Page Header --> <div class="page-header"> <div class="row align-items-cent...
<!doctype html> <html class="fixed"> <head> <!-- Basic --> <meta charset="UTF-8"> <title>Dashboard | JSOFT Themes | JSOFT-Admin</title> <meta name="keywords" content="HTML5 Admin Template" /> <meta name="description" content="JSOFT Admin - Responsive HTML5 Template"> <meta name="author" conten...
<?php namespace GuiaLocaliza\Companies\Admin\Domains\Models\Log; use Illuminate\Database\Eloquent\Model; class LogActivity extends Model { protected $connection = 'companies'; protected $fillable = []; protected $dates = [ 'created_at', 'updated_at', ]; }
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'App\\Actions\\Fortify\\CreateNewUser' => $baseDir . '/app/Actions/Fortify/CreateNewUser.php', 'App\\Actions\\Fortify\\PasswordValidationRules' => $baseDir . '/app/Acti...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateInspeccionesObligatoriasSugeridasTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schem...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class herramientas extends CI_Model { function __construct() { parent::__construct(); } public function sendmsg($data){ extract($data);//usuario, mensaje, envia $data = array( 'usuario' =...
<?php namespace App\Http\Controllers\frontOffice; use App\Http\Controllers\Controller; use App\Models\article; use App\Models\equipe; use App\Models\gallery; use Illuminate\Http\Request; class controllerChampionnat extends Controller { public function indexHommeA() { $equipes = equipe::get(); ...
{{-- Extends layout --}} @extends('layout.default') {{-- Content --}} @section('content') <!-- row --> <div class="container-fluid"> <div class="page-titles"> <ol class="breadcrumb"> <li class="breadcrumb-item active"><a href="javascript:void(0)">Settings</a></li> <li class="bread...
<div class="box box-danger"> <div class="box-header"> <i class="fa fa-file-text-o"></i> <h3 class="box-title"><?php echo $title ?></h3> <div class="box-tools pull-right"> <a href="<?php echo base_url() ?>produk/create" class="btn btn-flat bg-olive btn-sm pull-right" style="margin-top: 3px; margin-right:5p...
<?php declare(strict_types=1); /* * This file is part of the Application mapper application, * following the Explicit Architecture principles. * * @link https://herbertograca.com/2017/11/16/explicit-architecture-01-ddd-hexagonal-onion-clean-cqrs-how-i-put-it-all-together * @link https://herbertograca.com/2018/07...
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM...
<?php namespace app\admin\model; use think\Model; class EquipmentCategory extends Model { // 表名 protected $name = 'equipment_category'; // 自动写入时间戳字段 protected $autoWriteTimestamp = 'int'; // 定义时间戳字段名 protected $createTime = 'createtime'; protected $updateTime = 'updatetime'; }
<div class="w-full flex flex-col fixed border-gray-300 px-6 py-4 rounded-lg bg-gray-200 border lg:w-1/6"> <h1 class="font-bold mb-4 text-xl">Followings</h1> <ul class="px-2"> @forelse(auth()->user()->follows as $user) <li class="{{$loop->last ? '' : 'mb-4'}}"> <div> ...
<?php namespace eddiemb95\UBL21dian\Templates\SOAP; use eddiemb95\UBL21dian\Templates\Template; use eddiemb95\UBL21dian\Templates\CreateTemplate; /** * Get status. */ class GetStatus extends Template implements CreateTemplate { /** * Action. * * @var string */ public $Action = 'http://w...
<?php /** * Generated JS Base model * * @package Garp_Spawn_Js_Model * @author David Spreekmeester <david@grrr.nl> */ class Garp_Spawn_Js_Model_Base extends Garp_Spawn_Js_Model_Abstract implements Garp_Spawn_Js_Model_Interface { protected $_template = 'base_model.phtml'; public function render() { ...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Http\Requests\Admin\TravelPackageRequest; use App\TravelPackage; use Illuminate\Contracts\Session\Session; use Illuminate\Http\Request; use Illuminate\Support\Str; class TravelPackageController extends Controller { /** ...
<?php use yii\db\Migration; /** * Handles the creation of table `goods_intro`. */ class m180302_023053_create_goods_intro_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->createTable('goods_intro', [ 'goods_id' => $this->primaryKey()->comme...
<!-- Main Content --> <div class="main-content"> <section class="section"> <div class="section-header"> <h1>Edit Game</h1> </div> <div class="section-body"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <h4>Game...
<?php function uploadImage($folder,$image){ $image->store('/',$folder); return $fileName=$image->hashName(); }
@foreach($childs as $key=> $parent) <option value="subcategory_{{$parent->subcat_id}}" @if($cat_name == 'subcategory') @if($parent->subcat_id == $cat_id) selected="selected" @endif @endif> @for($j=0;$j<=$i; $j++) - @endfor {{ $parent->subcategory_name }} @if($parent->subChild...
<?php /* Serbian localization file for forms */ return [ 'register' => 'Registruj se', 'login' => 'Prijavi se', 'name' => 'Ime', 'email' => 'Mail', 'password' => 'Lozinka', 'confirm_password' => 'Potrvda Lozinke', 'giphy' => [ 'express' => 'Izrazi se', 'placeholder'...
<!DOCTYPE html> <!-- Template Name: Metronic - Bootstrap 4 HTML, React, Angular 9 & VueJS Admin Dashboard Theme Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Dribbble: www.dribbble.com/keenthemes Like: www.facebook.com/keenthemes Purchase: http...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class LearningObjective extends Model { protected $fillable = ['user_id', 'learning_objective']; }
<?php namespace R_kvstore\Request\V20150101; /** * @deprecated Please use https://github.com/aliyun/openapi-sdk-php * * Request of GetSnapshotSettings * * @method string getResourceOwnerId() * @method string getInstanceId() * @method string getResourceOwnerAccount() * @method string getOwnerAccount() * @meth...
<?php namespace App; use Illuminate\Database\Eloquent\Model; /** * App\Order * * @property int $id * @property string $first_name * @property string $last_name * @property string $email * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @method ...