text
stringlengths
2
1.03M
@if (count($errors) > 0) <div class="alert alert-danger"> <ul> @foreach($errors->all() as $error) <li>{{$error}}</li> @endforeach </ul> </div> @endif
<?php use yii\db\Migration; /** * Handles the creation of table `employees`. * Has foreign keys to the tables: * * - `supermarkets` */ class m170111_163435_create_employees_table extends Migration { /** * @inheritdoc */ public function up() { $this->createTable('employees', [ ...
@extends('layouts.layoutagente') @section('content') <p> <div class="col-sm-2"> Data Inicio:<input class="form-control" id="min" name="min" type="date" value="2015-01-01" id="dataChegada"> Data Fim:<input class="form-control" id="max" name="max" type="date" value="2015-12-31" id="data...
<?php /** * AWS SIH plugin for Craft CMS 3.x * * A simple plugin that transforms images using AWS' Serverless Image Handler CloudFormation stack. * * @link https://github.com/andrewmenich * @copyright Copyright (c) 2020 Andrew Menich */ /** * AWS SIH config.php * * This file exists only as a template fo...
<?php require_once($_SERVER["DOCUMENT_ROOT"] . "/functions/database.php"); $jsonsubjinfo = json_decode($_POST['subjinfo'], true); $conn = getDB('cpe-studentportal'); foreach ($jsonsubjinfo as $key => $value) { $stmt = $conn->prepare("DELETE FROM `schedules` WHERE id=:id"); $stmt -> bindParam(':id', $valu...
<?PHP include 'C:\wamp64\www\STMP\entities\requeteass.php'; include 'C:\wamp64\www\STMP\core\requeteassC.php'; if (isset($_POST['IdClient']) and isset($_POST['IdService']) and isset($_POST['Email']) and isset($_POST['typeC'])and isset($_POST['Objet'])) { $requeteass1=new requeteAss($_POST['IdClient'],$_POST['IdServ...
<?php namespace App\Addons\Custompage\Classes; use Illuminate\Database\Eloquent\Model; /** * *@author: Tiamiyu waliu kola *@website : www.crea8social.com */ class CustomPage extends Model { protected $table = "custom_pages"; public function deleteIt() { $this->delete(); } public function ...
<?php //## NextScripts FriendFeed Connection Class $nxs_snapAPINts[] = array('code'=>'VK', 'lcode'=>'vk', 'name'=>'VK.Com'); if (!class_exists("nxs_class_SNAP_VK")) { class nxs_class_SNAP_VK { var $ntCode = 'VK'; var $ntLCode = 'vk'; function doPost($options, $message){ if (!is_array($op...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); } ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="/static/css/bootstrap.m...
@extends('layouts.app') @section('title', '收货地址列表') @section('content') <div class="row"> <div class="col-md-10 offset-md-1"> <div class="card panel-default"> <div class="card-header"> 收货地址列表 <a href="{{ route('user_addresses.create') }}" class="float-right">新增收货地址</a> ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class students extends Model { protected $fillable = ["id"]; }
<?php tplAdmin::adminPageSettings(array('icon'=>false)); ?> <form method="post" action="" id="j-shop-settings-form" enctype="multipart/form-data"> <input type="hidden" name="save" value="1" /> <input type="hidden" name="tab" value="<?= HTML::escape($tab) ?>" class="j-tab-current" /> <div class="tabsBar j-tabs"> ...
<link rel="stylesheet" href="<?= base_url('public/css/modal.css')?>" /> <!-- Banner --> <section class="banner full"> <article> <img class="fit" src="<?= base_url('public/img/background.png') ?>" alt="" /> <div class="inner"> <header> <h2>Simulador</h2> </header> </div> </article> </section> <!--...
<?php namespace App\Http\Controllers\Website\User\Profile; use App\Http\Controllers\Controller; use App\Http\Requests\website\user\Profile\UpdateProfileRequest; use App\Models\User; use Illuminate\Support\Facades\Auth; class ProfileController extends Controller { public function index() { // get the ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class HomeController extends Controller { public function index() { return view ('home/home'); } }
@extends('back.layouts.admin') @section('header-title') {{ $pageTitle }} @stop @section('content-title') {{ $pageTitle }} @stop @section('content-subtitle') <p class="category">Handcrafted by our friend <a target="_blank" href="https://github.com/mouse0270">Robert McIntosh</a>. Please checkout the <a href="http:...
@extends('admin.master') @section('content') <div id="wrap" > <!-- HEADER SECTION --> @include('admin.top') <!-- END HEADER SECTION --> <!-- MENU SECTION --> @include('admin.left') <!--END MENU SECTION --> <!--PAGE CONTENT --> <div id="con...
@include('website.includes.header') {{-- Header part --}} <div class="page-title-area item-bg1 jarallax" data-jarallax="{speed:0.3}" data-jarallax-original-styles="null" style="background-image: none; background-attachment: scroll; background-size: auto;"> <div class="container"> <div class="page-title-content...
<?php if(!class_exists('WP_Widget_Recent_Comments')){ require_once( ABSPATH . '/wp-includes/default-widgets.php' ); } /* * obliged to rewrite the whole functionnality to have a language dependant cache key * code base is WP 3.9.1 * * @since 1.5 */ class EML_Widget_Recent_Comments extends WP_Widget_Recent_Commen...
<?php namespace backend\controllers; use common\models\Category; use yii\behaviors\TimestampBehavior; use yii\data\ActiveDataProvider; use yii\db\ActiveRecord; use yii\web\NotFoundHttpException; /** * CategoryController implements the CRUD actions for Category model. */ class CategoryController extends CustomContr...
<?php namespace App\Controllers; use Silex\Application; use Silex\ControllerProviderInterface; use Symfony\Component\HttpFoundation\Request; class AssetController implements ControllerProviderInterface { private $app; public function connect( Application $app){ //... } public function listA...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use mdm\admin\models\Menu; use yii\helpers\Json; use mdm\admin\AutocompleteAsset; /* @var $this yii\web\View */ /* @var $model mdm\admin\models\Menu */ /* @var $form yii\widgets\ActiveForm */ AutocompleteAsset::register($this); $opts = Json::htmlEncode([ ...
<?php namespace App\Http\Controllers; use App\Image; use App\Product; use App\Trade; use Illuminate\Http\Request; use App\Http\Requests; class TestResourceController extends Controller { public function test(Request $request) { $rand = rand(1,13); if($request->has('id')){ echo $re...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Bidang_m extends CI_Model { public function get_all_bidang() { $this->db->order_by('id_bidang', 'DESC'); return $this->db->get('bidang')->result(); } public function get_row_bidang($id_bidang) { $th...
<?php declare(strict_types=1); namespace Flownative\Prometheus\Tests\Unit; /* * This file is part of the Flownative.Prometheus package. * * (c) Flownative GmbH - www.flownative.com */ use Flownative\Prometheus\Collector\Counter; use Flownative\Prometheus\Collector\Gauge; use Flownative\Prometheus\Sample; use Flow...
<?php declare(strict_types=1); /** * Uthando CMS (http://www.shaunfreeman.co.uk/) * * @package UthandoSessionManager * @author Shaun Freeman <shaun@shaunfreeman.co.uk> * @link https://github.com/uthando-cms for the canonical source repository * @copyright Copyright (c) 2015 Shaun Freeman. (http://www.sh...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\BasketController; use App\Http\Controllers\MainController; use App\Http\Controllers\mailController; Route::get('/', [MainController::class, 'index'])->name('index'); Route::get('/send-email',[mailController::class, 'sendEmail']); Route::get('/cat...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { // \Carbon\Carbon::setLocale('zh'); } /** * Re...
<?php /* ----------------------------------------------------------------------------------------- $Id:$ modified eCommerce Shopsoftware http://www.modified-shop.org Copyright (c) 2009 - 2013 [www.modified-shop.org] -----------------------------------------------------------------------------------------...
<?php /* * Copyright 2017 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
<?php namespace Podlove\Modules\Contributors; use \Podlove\Modules\Contributors\Model\Contributor; use \Podlove\Modules\Contributors\Model\ContributorRole; use \Podlove\Modules\Contributors\Model\ContributorGroup; use \Podlove\Modules\Contributors\Model\EpisodeContribution; use \Podlove\Modules\Contributors\Model\Sho...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Session; class ProfesseurController extends Controller { public function store(){ $data=request()->validate([ 'name' => ['required', 'string', 'max:15...
<?php namespace ChargeBee\ChargeBee\Models; use ChargeBee\ChargeBee\Model; class QuotedSubscriptionItemTier extends Model { protected $allowed = array('item_price_id', 'starting_unit', 'ending_unit', 'price'); }
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');$config['module_config'] = array( 'description' => 'Your module description', 'name' => 'Kode Jenis Pembayaran', 'version' => '0.0.1', 'author' => 'root' );
<?php session_start(); include('connect.php'); $userID = $_SESSION['userID']; $query="SELECT * FROM user WHERE userID = '$userID'"; $ret=mysqli_query($con,$query); $count=mysqli_num_rows($ret); $arr=mysqli_fetch_array($ret); $userID=$arr[0]; $userName=$arr[1]; $userEmail=$arr[2]; $userCash=$arr[4]; $con=m...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddVisiblityToPropertiesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('prope...
<?php namespace Tests\PhpUnitGen\WebApp\Feature\Http\Controllers\Api\Version1; use Tests\PhpUnitGen\WebApp\TestCase; /** * Class MockGeneratorControllerTest. */ class MockGeneratorControllerTest extends TestCase { public function testAll(): void { $response = $this->json('get', '/api/v1/mock-genera...
<?php namespace Zotlabs\Module; use Zotlabs\Lib\Libsync; require_once('include/socgraph.php'); require_once('include/photos.php'); class Defperms extends \Zotlabs\Web\Controller { /* @brief Initialize the connection-editor * * */ function init() { if(! local_channel()) return; $r = q("SELECT a...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateConversationsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('conversat...
<?php declare(strict_types=1); namespace Rector\Renaming\Tests\Rector\Function_\RenameFunctionRector; use Iterator; use Rector\Renaming\Rector\Function_\RenameFunctionRector; use Rector\Testing\PHPUnit\AbstractRectorTestCase; final class RenameFunctionRectorTest extends AbstractRectorTestCase { /** * @dataP...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call([UsersTableSeeder::class,AdminsTableSeeder::class,]); } }
<?php namespace Joy\VoyagerBreadProductCategory\Database\Seeders; use Illuminate\Database\Seeder; use TCG\Voyager\Facades\Voyager; use TCG\Voyager\Models\DataRow; use TCG\Voyager\Models\DataType; class DataRowsTableSeeder extends Seeder { /** * Auto generated seed file. */ public function run() ...
<?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 Dashboard\Model; /** * Description of Hoshospedajecategoria * * @author Administrador */ class Hoshospedajecategor...
<?php sleep(0); header("Location: ingaveform.html"); exit; ?>
<?php namespace App\Http\Requests; use App\Rules\ConditionFieldMatchPayloadParams; use App\Rules\ContentMatchPayloadParams; use Illuminate\Foundation\Http\FormRequest; class PayloadCreateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class State extends Model { protected $table = 'states'; }
@extends('admin.admin_master') @section('admin') <div class="container"> <div class="col-md-8"> <div class="card"> @if(session('success')) <div class="alert alert-warning alert-dismissible fade show" role="alert"> <strong>{{session('success')}}</strong> <button type="button" class...
<?php namespace frontend\controllers; use common\models\Categories; use common\models\Template; use common\models\Video; use common\models\Votes; use Yii; use yii\db\Expression; use yii\filters\AccessControl; use yii\filters\VerbFilter; use yii\helpers\Html; use yii\web\Controller; use yii\web\HttpException; /** * ...
<?php /** * Class SiteManagement * * @category Worketic * * @package Worketic * @author Amentotech <theamentotech@gmail.com> * @license http://www.amentotech.com Amentotech * @link http://www.amentotech.com */ namespace App; use Illuminate\Database\Eloquent\Model; use DB; use Illuminate\Support\Facades\Va...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class PagesController extends Controller { // function enrollment(){ return view('enrollment.enrollment'); } //// <!---------- Attandence system ---------> }
<?php namespace newerton\twitteroauth\OAuth; class DataStore { function lookup_consumer($consumer_key) { // implement me } function lookup_token($consumer, $token_type, $token) { // implement me } function lookup_nonce($consumer, $token, $nonce, $timestamp) { // implemen...
<form action="{{ url('/add-to-cart') }}" method="POST"> @csrf <input type="hidden" value="1" min="1" name="quantity"> <input type="hidden" value="{{ $product->id }}" name="product_id"> <input type="submit" name="" value="Add To Cart" style="border: none"> <i class="las la-shopping-cart icon"></i> <...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Fpago extends Model { protected $fillable = [ 'nombre','username' ]; /** * * @return Array formateado para select Vuetify * */ public static function selFPagos() { return Fpago::select...
@extends('backend.master') @section('content') <h1>Guest List</h1> <table class="table"> <thead> <tr class="table-danger"> <th scope="col">Sl</th> <th scope="col">User Name</th> <th scope="col">Email</th> <th scope="col">Type</th> <th scope="col">Contact No</t...
<?php namespace SofaChamps\Bundle\NCAABundle\Entity; use Doctrine\ORM\EntityRepository; class NCAAFConferenceMemberRepository extends EntityRepository { public function findConferenceMembers(Conference $conference, $season) { return $this->createQueryBuilder('m') ->select('m, c, t, d') ...
<?php namespace OmekaTheme\Helper; use Laminas\View\Helper\AbstractHelper; class getCarteArgumentaire extends AbstractHelper { var $api; var $rs; var $view; var $cartoEditor; /** * Récupère les propriétés utiles pour une page * * @param user $user * @param oItem $oItem ...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/home/meadowsw/public_html/tca-ewb/system/languages/vi.yaml', 'modified' => 1472486245, 'data' => [ 'FRONTMATTER_ERROR_PAGE' => '--- title: %1$s --- # Error: Invalid Frontmatter Path: `%2$s` **%3$s** ``` %4$s `...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Permission extends Model { protected $fillable = ['name', 'description']; public function roles() { return $this->belongsToMany('App\Role', 'role_permissions'); } }
<?php namespace app\controllers; use Yii; use yii\filters\AccessControl; use yii\web\Controller; use yii\filters\VerbFilter; use app\models\LoginForm; use app\models\ContactForm; use app\models\ForgotForm; use app\models\Backendusers; use app\models\ResetForm; class SiteController extends Controller { /** ...
<?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 Emtudo\Domains; use Illuminate\Database\Eloquent\Model as BaseModel; abstract class Model extends BaseModel { }
<?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\Bundle\SecurityBundle\DependencyInjection\Security\Factory; use...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInitd5c60858d95114c35957069ae0874e67 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php include('funkcije.php'); $id = $_REQUEST['id']; $dom = new DOMDocument(); $dom->load('podaci.xml'); $xpath = new DOMXPath($dom); $query = '/zooloski-vrtovi/zooloski-vrt[contains(@id, "'. $id . '")]'; //echo $query; //echo "</br>"; $queryResult = $xpath->query($query); f...
<?php namespace App\Models; class ModelSingleton { private static $_instance = null; private $count; private function __construct() { $this->count = 0; } public static function getInstance() { if (is_null(self::$_instance)) { self::$_instance = new Mo...
<?php namespace App\Http\Controllers; use App\Products\Product; use Illuminate\Http\Request; class ProductServiceController extends Controller { public function index() { return Product::get()->map->toJsonableArray(); } }
<?php /** * Supply the basis for the navbar as an array. */ return [ // Use for styling the menu "wrapper" => null, "class" => "my-navbar rm-default rm-desktop", // Here comes the menu items "items" => [ [ "text" => "Hem", "url" => "", "title" => "Först...
<?php class MYPDF extends TCPDF { //Page header public function Header() { //AGREGANDO MARGENES $this->SetTopMargin(45); // AGREGANDO IMAGENES AL PDF // RECORDAR QUE K_PATH_IMAGES ES LA DIRECCION DE LA CARPETA DE IMAGENES // DE LA LIBRERIA TCPDF Y QUE HAY V...
@extends('layouts.admin') @section('title') Users @endsection @section('content') <div class="section-content section-dashboard-home" data-aos="fade-up"> <div class="container-fluid"> <div class="dashboard-heading"> <h2 class="dashboard-title">Users</h2> <p class="dashboard-subtitl...
<?hh function bungle($s) { return 314159; } function prefix() { return "__rename_func_"; } $stub_name = prefix() . 'strtoupper'; var_dump(strtoupper('tweet')); fb_rename_function('strtoupper', $stub_name); fb_rename_function('bungle', 'strtoupper'); var_dump(strtoupper('tweet')); // release stringdata unset($s...
<?php return array( 'district' => 'Quận (Huyện)', 'name' => 'Tên', 'id' => 'ID', 'city' => 'Tỉnh (Thành phố)', 'lat' => 'Lat', 'long' => 'Long', 'enter_name' => 'Nhập tên', 'enter_lat' => 'Nhập tọa độ vị trí...', 'enter_long' => 'Nhập tọa độ vị trí...', 'choose_one' =...
<?php $routes = array( // Server Management 'server' => array( 'path' => '/servers/', 'values' => array( 'controller' => 'ServersController', 'action' => 'listServers' ) ), 'servergroup-add' => array( 'path' => '/servers/new-group/', 'valu...
<?php namespace Illuminate\Foundation\Auth; use Illuminate\Http\Request; use Illuminate\Mail\Message; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Password; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; trait ResetsPasswords { /** * Display the form to request a pa...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMigrationTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tbl_statusk',...
<?php /** * Sidebar * * @author ThatMuch * @version 0.1.0 * @since silence_1.0.0 * @package silence */ ?> <?php if ( ! is_active_sidebar( 'sidebar-1' ) ) { return; } ?> <aside id="secondary" class="widget-area col-sm-12 col-lg-4" role="complementary"> <?php dynamic_sidebar( 'sidebar-1' ); ?> <...
<?php /** * KafkaConfigModel * * @category Class * @package Rancher * @author Gerb Sterrenburg @ Bumbal * @link https://github.com/freightlive/rancher-php-client */ namespace Rancher\Model; use \ArrayAccess; class KafkaConfigModel implements ArrayAccess { /** * Container with all data * ...
--TEST-- Bug #66878: Multiple rowsets not returned unless PDO statement object is unset() --SKIPIF-- <?php require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc'); require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); MySQLPDOTest::skip(); ?> --FILE-- <?php require_once(__DIR__ . DIRECTORY_SEPARATOR . ...
<?php namespace App\Casts; use Carbon\Carbon; use Illuminate\Contracts\Database\Eloquent\CastsAttributes; class CreatedAtCast implements CastsAttributes { /** * Cast the given value. * * @param \Illuminate\Database\Eloquent\Model $model * @param string $key * @param mixed $value ...
@extends('templates.main') @section('titulo_pagina', 'Modificar-post') @section('estilos') @endsection @section('contenido') <div class="container mt-5"> {!! Form::Open(['route' => ['modificar_post',$post->id],'method'=>'PUT', 'enctype'=> 'multipart/data', 'files' => true ]) !!} <div class="r...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateVideoTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('video', function ...
<?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\Question; use Symfony\Component\Console\Excep...
<?php namespace net\authorize\api\contract\v1; /** * Class representing ProfileTransactionType * * * XSD Type: profileTransactionType */ class ProfileTransactionType { /** * @property \net\authorize\api\contract\v1\ProfileTransAuthCaptureType * $profileTransAuthCapture */ private $profile...
<?php /* Template Name: Homepage - Heros Description: Section with 2 titles, 2 contents and 2 illustrations --------------------------------------------------------------------- {"type": "title", "name": "Titre principal", "slug": "title"} {"type": "editor", "name": "Contenu intro", "slug": "intro"} {"type": "title", "...
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; class UsersController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return User::a...
<?php namespace PharIo\Manifest; class ManifestDocumentMapperException extends \RuntimeException implements Exception { }
<?php class GatewayRequestUpdateController extends BaseController { public function updateGateway(){ $gateway = AdminUtilities::update_form( Input::get("gateway-id"), Input::all() ); $gatewayData = array ("airavataInternalGatewayId" => $gateway->airavataInternalGatewayId, ...
<?php namespace App; use App\Traits\MultiTenantModelTrait; use Carbon\Carbon; use Illuminate\Database\Eloquent\Model; use Spatie\MediaLibrary\HasMedia\HasMedia; use Spatie\MediaLibrary\HasMedia\HasMediaTrait; use Spatie\MediaLibrary\Models\Media; use \DateTimeInterface; class Referral extends Model implements HasMe...
<?php namespace Basic; class Model_Device_Template_Network_Ip extends \Orm\Model{ protected static $_table_name = 'temp_network_ip_ports'; protected static $_properties = array( 'id', 'tempnetID', 'nic_name', 'ipv4', 'ipv6', 'conn_type', 'conn_speed', 'type' ); protected static $_belo...
@if(count($financials)) <h4 class="card-title">List</h4> {{--<h6 class="card-subtitle">Add class <code>.table</code></h6>--}} <div class="table-responsive"> <table class="table"> <thead> <tr> <th>#</th> <th>Image</th> <th>Name</...
<?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 Manojkiran\MVCRGenerator; use Illuminate\Console\Command; class MVCRGeneratorCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'mvcr:generate {controlName : Class (singular) for example Post}'; /**...
<?php namespace DeliciousBrains\WP_Offload_SES\Aws3\GuzzleHttp; /** * Expands URI templates. Userland implementation of PECL uri_template. * * @link http://tools.ietf.org/html/rfc6570 */ class UriTemplate { /** @var string URI template */ private $template; /** @var array Variables to use in the templ...
<nav role="navigation" class="navbar navbar-default navbar-fixed-top"> <div> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" data-target="#navbarCollapse" data-toggle="collapse" class="navbar-toggle"> <span class="sr-only"...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE | Log in</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> ...
<?php namespace App\Http\Controllers; use App\Models\Product; use App\Models\Category; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class ProductsController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
<?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 namespace App\Http\Controllers\Adm; //use Illuminate\Http\Request; use Request; use Response; use View; use App\Http\Controllers\Controller; use App\Model\Menu; use App\Model\ByNetwork; use App\Model\ByIptv; use App\Model\Slider; use Image; class MenuController extends Controller { public function index...
@extends('layouts.main') @section('title', 'Pendaftar') @section('notif') <li class="nav-item dropdown no-arrow mx-1"> @php $jumlah = $daftars->count() + $alerts->count(); @endphp @if ($jumlah > 0) <a class="nav-link dropdown-toggle" href="#" id="alertsDropdown" rol...
<?php /** * Copyright (c) 2016-present Ganbaro Digital Ltd * 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 must retain the above copyright * ...