text
stringlengths
2
1.03M
<?php /* | -------------------------------------------------------------------- | App Namespace | -------------------------------------------------------------------- | | This defines the default Namespace that is used throughout | CodeIgniter to refer to the Application directory. Change | this constant to cha...
<x-admin> <x-slot name="title"> Riwayat ujian </x-slot> <div> <div class="container-fluid"> <div class="row"> <div class="col-sm-12"> <div class="card"> <div class="card-body"> <livewire:table...
<!DOCTYPE html> <html lang="zxx" class="no-js"> <head> <!-- Mobile Specific Meta --> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Favicon--> <link rel="shortcut icon" href="img/fav.png"> <!-- Author Meta --> <meta name="author" content="CodePixar"> <!-- Met...
<?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 HyperfTest\Protocol\Stub; class DemoStub { public $unique; p...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="Content-Language" content="en"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="csrf-token" content="{{ csrf_token() }}" /> <t...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Document extends Model { protected $primaryKey = 'F_DocumentID'; public $timestamps = false; protected $table = 't_document'; public function Order() { return $this->belongsTo('App\Order','F_DocID'); } publ...
<?php /** * Part of ci-phpunit-test * * @author Kenji Suzuki <https://github.com/kenjis> * @license MIT License * @copyright 2015 Kenji Suzuki * @link https://github.com/kenjis/ci-phpunit-test */ /** * CodeIgniter URL Helpers with little modification for testing * * @package CodeIgniter * @su...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTypeMailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('type_mails', ...
<!DOCTYPE html> <html lang="en"> <!--begin::Head--> <head> <base href=""> <title>{{Auth()->user()->role->name}}</title> <link rel="icon" href="img/favicon.png"> <!--begin::Fonts--> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700" /> <!--end::Fonts--> <!--b...
<?php /** * Created by PhpStorm. * User: hong * Date: 16-10-20 * Time: 下午9:43 */ class CookieDescriptorTest extends \PHPUnit\Framework\TestCase { protected $header_cookie = 'VISITOR=4c63394c2d82e31552001a58; expires="Sat, 08-Aug-2020 23:59:08 GMT"; Path=/; domain=.baidu.com'; protected $source_url = 'http...
<?php if (empty($_GET['id'])) { header("Location:" . FL_Link('404')); exit(); } $page = (isset($_GET['page'])) ? (int) $_GET['page'] : 1; if (!empty($_GET['publish'])) { if ($_GET['publish'] == 'true') { $id = @end(explode('-', $_GET['id'])); $form_data_array = array('viewable' => 1); ...
<?php namespace Drupal\Tests\Core\Form; use Drupal\Component\Utility\NestedArray; use Drupal\Core\Form\FormState; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Form\SubformState; use Drupal\Core\Form\SubformStateInterface; use Drupal\Tests\UnitTestCase; /** * @coversDefaultClass \Drupal\Core\Form\Subform...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use App\Http\ViewComposers\Footer\LastFourEvents; use App\Http\ViewComposers\Sidebar\LastThreeNews; use App\Http\ViewComposers\Sidebar\LastThreeEvents; use App\Http\ViewComposers\Sidebar\UnapprovedDancePartners; class ComposerServiceProvider exte...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class MenuItems extends Model { /** * The database table used by the model. * * @var string */ protected $table = 'menu_items'; }
<?php namespace Magento\Customer\Model\ResourceModel\Visitor; /** * Factory class for @see \Magento\Customer\Model\ResourceModel\Visitor\Collection */ class CollectionFactory { /** * Object Manager instance * * @var \Magento\Framework\ObjectManagerInterface */ protected $_objectManager = ...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\Gallery */ /* */ $this->title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'Galleries', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="gallery-view"> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateRewardsTable extends Migration { public function up() { Schema::create('rewards', function (Blueprint $table) { $table->increments('id'); ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSiswaasTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('siswaas', funct...
<?php /* * This file is part of Flarum. * * For detailed copyright and license information, please view the * LICENSE file that was distributed with this source code. */ namespace Flarum\Http\Middleware; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\Mid...
<?php /* +---------------------------------------------------------------------------+ | OpenX v2.8 | | ========== | | ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title><?php echo $title ;?></title> <!-- <script src="js/jquery-1.11.3.min.js" type="text/javascript"></script>...
<!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:wght@400;600;700&displ...
<?php /** * Bitrix Framework * @package bitrix * @subpackage sale * @copyright 2001-2012 Bitrix */ namespace Bitrix\Sale; use Bitrix\Sale\Internals; /** * @deprecated * Class PersonTypeTable * @package Bitrix\Sale */ class PersonTypeTable extends Internals\PersonTypeTable { }
@extends('layouts.app') @push('css') <link href="{{ asset('css/dataTables.bootstrap4.min.css') }}" rel="stylesheet"> @endpush @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-header...
<?php /* PaymentMethod Fixture generated on: 2011-11-20 21:59:23 : 1321822763 */ /** * PaymentMethodFixture * */ class PaymentMethodFixture extends CakeTestFixture { /** * Fields * * @var array */ public $fields = [ 'id' => ['type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key'...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
<?php //Error message for SepaGroupHeader class define('ERROR_MSG_MESSAGE_IDENTIFICATION', 'SEPA Group Header Problem with MessageIdentification <MsgId>, Message Id is either missing or too big.'); define('ERROR_MSG_INITIATING_PARTY_NAME', 'SEPA Group Header Problem with InitiatingPartyName <InitgPty><Nm>.'); define('...
<?php namespace App\Http\Controllers\Web; use App\Helpers\AssignmentMerger; use App\Http\Controllers\Controller; use App\Models\User; use Illuminate\Http\Request; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __constr...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddTypeToUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', function($table){ $table->string('type'); $table->dropColumn('is_a...
<?php namespace Database\Seeders; use Illuminate\Database\Console\Seeds\WithoutModelEvents; use Illuminate\Database\Seeder; class Role extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { \Spatie\Permission\Models\Role::create(['name'=> 'a...
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class Role extends Model { protected $fillable = ['name', 'description']; public function users() { return $this->belongsToMany(User::class); } }
<?php namespace HuaweiCloud\SDK\Ims\V2\Model; use \ArrayAccess; use HuaweiCloud\SDK\Core\Utils\ObjectSerializer; use HuaweiCloud\SDK\Core\Utils\ModelInterface; use HuaweiCloud\SDK\Core\SdkResponse; class GlanceUpdateImageRequestBody implements ModelInterface, ArrayAccess { const DISCRIMINATOR = null; /** ...
<? namespace HM; class MVC { /** * Generate page with controller and view * * * */ public $page; public $controller; public $template; public $view; public $title; /* * Constructor * * @description * build the complete page with controller and view * * @param * page (string) ...
@include('publicLayout.header') <section class="section main-content" id="main"> <h3 class="section-header">Portal <i class="fa fa-angle-right"></i> Tag <i class="fa fa-angle-right"></i> {{ $tag_data->tag }}</h3> <div class="text-center"> <h3>Pretraga po tagu:<br> <strong>{{ $tag_data->tag }}</strong>...
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * IosTrustedRootCertificate File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights res...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">Dashboard</div> <br /> @if($layout == 'show') ...
@extends("_layouts.main_layout") @section("title") About BCR @endsection @section("content") <nav class="navbar navbar-default navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navba...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class jadwal_matakuliah extends Model { protected $table ='jadwal_matakuliah'; protected $fillable =['mahasiswa_id','ruangan_id','dosen_matakuliah_id']; public function mahasiswa(){ return $this->belongsTo(mahasiswa::class); ...
<?php /* TwigBundle:Exception:error.html.twig */ class __TwigTemplate_a0b0f15307fb1a7577c7a4d46e31d3ccb9950c6d5025a0242790312d7c99b48d extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<div class="main-content"> <section class="section"> <div class="section-header"> <h1><?= $sub_title; ?></h1> </div> <div class="row"> <div class="col-12 col-md-12 col-lg-12"> <div class="card"> <div class="car...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:36:"G:\TP\thinkphp\tpl\dispatch_jump.tpl";i:1517410678;}*/ ?> <!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...
<article class="block block-line invite"> <header class="article-header"> <div class="vertical-align"> <div class="middle"> <img class="icon" src="[[../../../../img/fanta-logo.png]]"> </div> <div class="middle"> <h1 class="header-medium secondary">Fanta Design Department</h1> <p class="article-...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; use App\Http\Controllers\Controller; use League\Fractal\Resource\Item; use League\Fractal\Resource\Collection; use Carbon; use Auth; use App\Order; use App\OrderProduct; use App\Transformers\OrderTransfo...
@extends('layout') @section('content') <div class="main-container"> <div class="pd-ltr-20 xs-pd-20-10"> <div class="min-height-200px"> <div class="page-header"> <div class="row"> <div class="col-md-6 col-sm-12"> <div class="title"> <h4>Thong tin </h4> </div> <nav aria-...
<!DOCTYPE html> <html lang="en"> <head> <title>News</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <link rel="stylesheet" type="text/...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(UserSeeder::class); $this->call(LecturersSeeder::class); $this->call(StudentSeeder::clas...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Validator; class managercontroller extends Controller { public function verify(Request $req){ $validation = Validator:: make($req->all(), [ 'username' => 'required', 'name' => 'required', 'password' => 'required|m...
<?php use yii\grid\GridView; use yii\widgets\Pjax; use yii\helpers\Html; /* @var $this yii\web\View */ $this->title = 'My Yii Application'; ?> <div class="site-index"> <h1>Очереди</h1> <?php /*Pjax::begin();*/ echo GridView::widget([ 'dataProvider' => $dataProvider, 'filterModel' => $searchMode...
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInit7effa7319e3c0ada0bbbb1b3167c8468 { public static $files = array ( '2cffec82183ee1cea088009cef9a6fc3' => __DIR__ . '/..' . '/ezyang/htmlpurifier/library/HTMLPurifier.composer.php', '2c102faa651...
<?php namespace Home\Controller; use Think\Controller; class ShareController extends CommonController { public function index() { return $this->display('Index/share'); } }
<?php $min = count($this->values) >= 2 ? $this->values[1] : 0; $max = count($this->values) >= 3 ? $this->values[2] : 100; $graph = " <div id=\"$this->id\" style=\" position: relative; "; if (!$this->responsive) { if ($this->height) { $graph .= 'height: '.$this->height.'px;'; ...
<?php /* Template Name: Archive */ get_header(); ?> <!-- archives.php --> <div id="wrapper"> <div id="main_wrapper" class="clearfix"> <div id="page_wrapper"> <div id="content" class="clearfix"> <div class="post"> <?php the_post(); ?> <h2 class="post_title"><?php the_title(); ?></h2> <div class="...
<?php /* * Desc: * User: zhiqiang * Date: 2021-12-11 02:32 */ namespace whereof\ThinkImage\Driver; use Exception; use whereof\ThinkImage\Image; class Gd { /** * 图像资源对象 * @var resource */ private $img; /** * 图像信息,包括width,height,type,mime,size * @var array */ private ...
<?php namespace App\Http\Controllers; use App\Article; use App\User; use App\Http\Requests; //use Request; use Carbon\Carbon; use App\Http\Requests\ArticleRequest; use App\Repositories\articles; use Illuminate\Http\Request; use Illuminate\Http\Responce; class ArticlesController extends Controller { public func...
<?php /** * Created by PhpStorm. * User: fivemetrics * Date: 21/03/17 * Time: 08:18 */ namespace DataSourceBundle\Tests\Gearman\Queue\Collector\Generic\Processor\Aws\AutoScaling\Job; use DataSourceBundle\Collection\Gearman\Queue\Collector\Generic\Processor\Aws\AutoScalingGroup\FilterCollection; use DataSourceBun...
<h1><?= $headline ?></h1> <?php if (isset($flash)) { echo $flash; } ?> <div class="row-fluid sortable"> <div class="box span12"> <div class="box-header" data-original-title> <h2><i class="halflings-icon white edit"></i><span class="break"></span>Confirm Delete</h2> <div class="box-icon"> ...
<?php namespace Google\AdsApi\AdManager\v202102; /** * This file was generated from WSDL. DO NOT EDIT. */ class DeactivateAdRules extends \Google\AdsApi\AdManager\v202102\AdRuleAction { public function __construct() { } }
<?php App::uses('AppModel', 'Model'); /** * CakePHP LotJogoResultado * @author Jorge Silva */ class LotJogosNumerosExtra extends AppModel { public $virtualFields = [ //'sorteio_nome' => 'SELECT sorteio FROM lot_jogos where lot_jogos.id = LotJogosResultado.lot_jogo_id' ]; public $belongsT...
<?php /** * File Operations API * * This file contains the new backend File Operations API used for Xinha File * Storage. It will serve as the documentation for others wishing to implement * the backend in their own language, as well as the PHP implementation. The * return data will come via the HTTP status in ...
<?php include_once "header.php"; include_once "../php/commons.php"; if((isset($_SESSION["user"]))) { header("Location: admin.php"); exit; } if($_SERVER["REQUEST_METHOD"] == "POST") { // Connect to db $conn = get_mysqli_localhost(); // Check connection if (!$conn) { die("Connection fai...
<?php use App\Http\Controllers\CategoryController; use App\Http\Controllers\ArticlesController; use App\Http\Controllers\Auth\LoginController; use App\Http\Controllers\DashboardController; use App\Http\Controllers\DetailsController; use App\Http\Controllers\FooterController; use App\Http\Controllers\HomeController; us...
<form method="POST" action="{{ route('login') }}"> @csrf <div class="mb-3"> <label for="email" class="mb-1 graphik-bold-black">Email</label> <div class=""> <input id="email" type="email" class="form-control @error('email') is-invalid @ende...
<?php use BinaryCats\Sanitizer\Sanitizer; use PHPUnit\Framework\TestCase; class EscapeHTMLTest extends TestCase { /** * @param $data * @param $rules * @return mixed */ public function sanitize($data, $rules) { $sanitizer = new Sanitizer($data, $rules); return $sanitize...
<?php namespace andromeda; use Illuminate\Database\Eloquent\Model; /** * Class Ot */ class Ot extends Model { protected $table = 'ot'; protected $primaryKey = 'idot'; public $timestamps = false; protected $fillable = [ 'idhta', 'idtor', 'idmano', '20hta', '25...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models; use AlibabaCloud\Tea\Model; class VerifyDeviceRequest extends Model { /** * @var string */ public $certifyId; /** * @var string */ public $certifyData; /** ...
<?php /* @var $this yii\web\View */ /* @var $form yii\bootstrap\ActiveForm */ /* @var $model app\models\LoginForm */ use yii\helpers\Html; use yii\bootstrap\ActiveForm; $this->title = 'Login'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="site-login login"> <h1><?= Html::encode($this->title) ?></...
<?php /** * Copyright (C) 2015 tieba.baidu.com * mixed.php * * changelog * 2015-11-13[13:02:52]:revised * * @author yinyong02@baidu.com * @version 0.1.0 * @since 0.1.0 */ ?><?php $ret = include 'tmp.php'; echo isset($ret) && is_array($ret) && isset($ret['profile']) && is_array($ret['profile']) && i...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; class Lugares extends Model { use Notifiable; protected $table='lugar'; public $timestamps =false; protected $fillable = [ 'Descripcion',]; public function lugares(){ //r...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Customerinfo; class CustomerinfosController extends Controller { /** * Only authenticated users can access this controller */ public function __construct(){ $this->middleware('auth'); } /** * Displ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Ink extends Model { public function bills() { return $this->belongsToMany(bill::class, 'ink_id', 'id'); } }
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\Positions */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="positions-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?> ...
<!-- <?php /** * Copyright 2016 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 o...
@extends('layout') @section('header') <div class="page-header"> <h1>Incomes / Show #{{$income->id}}</h1> <form action="{{ route('incomes.destroy', $income->id) }}" method="POST" style="display: inline;" onsubmit="if(confirm('Delete? Are you sure?')) { return true } else {return false };"> <i...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Rule\Test\Unit\Model; use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper; class ConditionFactoryTest extends \PHPUnit\Framework\TestCase { /** * @var \M...
<?php namespace app\models; use Yii; /** * This is the model class for table "alumno". * * @property int $id_alumno * @property string $nombre * @property string $app * @property string $apm * @property string $carrera * @property int $id_grupo * @property int $id_campus * * @property Grupo $grupo * @pro...
<?php namespace App\Controllers; use App\Models\TipopublicacionModel; use CodeIgniter\RESTful\ResourceController; class RestTipopublicacion extends ResourceController { protected $modelName = 'App\Models\TipopublicacionModel'; protected $format = 'json'; public function index(){ $posts = $this->model->findAll()...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateOrderTrackersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('order_tra...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> <meta name="generator" con...
<?php namespace App\Migration; /** * Template pattern */ abstract class Migrate { /** * Method to be call. * @param Json $data * @return mixed */ final public function execute($data) { return $this->migrate($data); } abstract protected function migrate($data); }
<?php require_once("C:\Server\OpenServer\domains\localhost\shop\database\dbconnect.php"); require_once("C:\Server\OpenServer\domains\localhost\shop\main_page\header.php"); ?> <?php $begin_date = $_POST['begin_date']; $end_date = $_POST['end_date']; $search = $mysqli->query( "SELECT order_id, order_date,...
<?php namespace dictionary\forms\search; use dictionary\models\Faculty; use yii\base\Model; use yii\data\ActiveDataProvider; class FacultySearch extends Model { public $id; public $full_name; public function rules(): array { return [ [['id'], 'integer'], [['full_name'...
@extends('user.master') @section('content') @section('description','Shop Fashion HKT') <section id="product"> <div class="container"> <!-- breadcrumb --> <ul class="breadcrumb"> <li> <a href="#">Home</a> <span class="divider">/</span> </li> <li class="active">Category</l...
<?php namespace App\Http\Controllers\API; use App\Http\Controllers\Controller; use Illuminate\Http\Request; /** * @group Auth endpoints */ class AuthenticationController extends Controller { /** * Shows authenticated user information * * @authenticated * * @response 200 { * "i...
@extends('layouts.app') @section('content') <livewire:cargar-venta/> @endsection
<?php namespace Admin\Controller; class RoleController extends AdminController{ private $arole = null; //数据库操作类 private $anode = null; //节点表数据库对象 private $arole_node = null; //角色——权限表数据库对象 private $auser_role = null; //用户--角色表数据库对象 //初始化操作 public function _initialize(){ parent::_initialize(); $this->arole ...
<!doctype html> <html> <head></head> <body> <p>Hello {{$subscriber->name . ' ' . $subscriber->surname}},</p> <p>I have just published my new post {{$post->title}}!</p> <br>You can read it from <a href="http://www.halperdom.com/{{$post->slug}}">halperdom.com</a> </body> </html>
@extends('home.layouts.base') @section('title',$article->seo_title) @section('keywords',$article->seo_keywords) @section('description',$article->seo_description) @section('content') {{--@php dump($category_list);@endphp--}} <section class="article container"> @include('home.layouts._sidebar',['current'=>Route::cu...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDepositsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('deposits', fun...
@extends('layouts.app') @section('content') <section class="content-header"> <h1> Productos </h1> </section> <div class="content"> @include('adminlte-templates::common.errors') <div class="box box-primary"> <div class="box-body"> <div...
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use App\Follow; use Auth; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * ...
<?php namespace Database\Factories; use App\Models\Pegawai; use Illuminate\Database\Eloquent\Factories\Factory; class PegawaiFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Pegawai::class; /** * Define the mode...
<?php return print('This file is deprecated ' . __FILE__); ?> <?php if(!empty($comments)): ?> <div class="new-comments"> <?php $count_new = 0; foreach ($comments as $comment){ ?> <?php if ($comment['is_new'] == 1){ $count_new ++; ?> <form class="comment-of-apost new-comment" id="comment-<?php print $comment['i...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class EmployeesComplaints extends Model { protected $table = 'employees_complaints'; }
<?php class Mlapguru extends CI_Model { public function tampildata() { return $this->db->query("SELECT kode_sekolah,nama_sekolah,nip_guru,nama_guru,alamat_guru,tmp_lahir_guru,tgl_lahir_guru, telp_guru,jenkel_guru , `status_pegawai`,`nama_matapelajaran`, `jabatan_guru` FROM tb_sekolah JOIN tb_guru ON kode_sekolah...
<?php namespace App; use App\NoteVoiture; use Illuminate\Database\Eloquent\Model; use App\Annonce; class Voiture extends Model { protected $table = 'voitures'; protected $primaryKey = 'id'; protected $fillable = ['marque', 'type','immatricule','modele','compteur','carburant','car_image']; // public $table="voi...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Evento; use App\User; use Carbon\Carbon; use Illuminate\Support\Facades\Auth; class EventoController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public fu...
<?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 RectorPrefix20210609\Symfony\Component\DependencyInjection\Dumper; use R...
@extends('layouts.app') @section('content') <div class="row"> <div class="container"> <div class="col-md-12"> <div class="panel panel-primary"> <div class="panel-heading">Data Obat <div class="panel-title pull-right"><a href="{{ route('obat.create') }}">Tambah</a> </div> </div> <div cla...
<?php function handler($errno, $errstr) { var_dump($errno); return true; } function foo() { var_dump('FOO'); } <<__EntryPoint>> function main_1627() { set_error_handler('handler'); unserialize(); define(); define('u'); define('a','X'); define('b','Y',false); define('c',1,2,3,4,foo()); var_dump(a,b,c); var_dump(...
<?php /** * PHPUnit * * Copyright (c) 2002-2010, Sebastian Bergmann <sb@sebastian-bergmann.de>. * 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 m...