text stringlengths 2 1.03M |
|---|
<?php
namespace App\Notifications;
use App\Customers\Models\LeaveNote;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class StaffLeaveHandoverNote extends Notification
{
use Queueable;
/*... |
<?php
/**
* This file is part of the Swiftype PHP Client package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Swiftype\AppSearch\Endpoint;
/**
* Implementation of the endpoint.
*
* @package Swiftype\AppSearch\Endp... |
<!DOCTYPE html>
<html>
<head>
<title>staff site</title>
<style>
.bi{
background-image:url("../images/5.jpg");
background-size:cover;
}
div{
background-color:rgba(0,0,0,0.4);
width:450px;
height:auto;
text-align:center;
padding:10px;
margin-left:450px;
border:2px solid;
margin-top:60px;
}
f... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Z... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Mahasiswa;
class apicontroller extends Controller
{
public function getMahasiswa(){
$data = Mahasiswa::all();
return $data;
}
public function destroy($id){
$mahasiswa = Mahasiswa::find($id);
$mahasiswa->del... |
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-2 text-gray-800"><?= $title; ?></h1>
<br>
<?= $this->session->flashdata('message'); ?>
<?php if (validation_errors()) : ?>
<div class="alert alert-da... |
<?php
use Illuminate\Database\Seeder;
class RolesTableSeeder extends Seeder
{
/**
* Auto generated seed file
*
* @return void
*/
public function run()
{
\DB::table('roles')->delete();
\DB::table('roles')->insert(array (
0 =>
array (
... |
<?php //00541
// FileRun 2016.11.07
// Copyright Afian AB
// http://www.filerun.com
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exe... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
public function run()
{
$this->call(CategoriesSeeder::class);
}
} |
<?php
/*
+--------------------------------------------------------------------------+
| Zephir Language |
+--------------------------------------------------------------------------+
| Copyright (c) 2013-2016 Zephir Team and contributors ... |
<?
$MESS["FORUM_EDIT_RECORD"] = "Edit group N#ID#";
$MESS["FORUM_NEW_RECORD"] = "New group";
$MESS["FORUM_SORT"] = "Sorting";
$MESS["FORUM_CODE"] = "ID";
$MESS["FORUM_NAME"] = "Name";
$MESS["FORUM_DESCR"] = "Description";
$MESS["FORUM_PARENT_ID"] = "Parent Group";
$MESS["FGN_2FLIST"] = "Forum groups";
$MESS["FGN_NEW_GR... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Listado_Movimientos</title>
</head>
<body>
<table>
<tr>
<td>Reporte de Movimientos al: {{ \Carbon\Carbon::now()->format('d-m-Y') }}.</td>
</tr>
<thead>
<tr>
<t... |
<?php
namespace App\Domain\Contracts\Element;
use App\Infrastructure\Persistence\ModelFacades\BaseModelFacade;
class CtotModelFacade extends BaseModelFacade implements ICtotModelFacade
{
} |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once dirname(__FILE__) . '/tcpdf/tcpdf.php';
class Pdf extends TCPDF
{
function __construct()
{
parent::__construct();
}
public function Header() {
// Logo
$image_file = K_PATH_IMAGES.'../../../../../im... |
<?php
namespace PHPixie\Tests\ORM\Data\Types\Document;
/**
* @coversDefaultClass \PHPixie\ORM\Data\Types\Document\Diffable
*/
class DiffableTest extends \PHPixie\Tests\ORM\Data\Types\DocumentTest
{
protected $dataBuilder;
protected $originalData;
protected $modifiedData;
public function setUp()... |
<?php
namespace Tests\Feature;
use App\Mail\Invitation;
use App\Models\User;
use Illuminate\Support\Facades\Mail;
use Tests\TestCase;
class InvitationTest extends TestCase
{
/** @test */
public function it_should_be_able_to_invite_someone_to_the_platform()
{
// Arrange
Mail::fake();
... |
<?php
namespace RectorPrefix20210719;
if (\class_exists('tx_version_tcemain_CommandMap')) {
return;
}
class tx_version_tcemain_CommandMap
{
}
\class_alias('tx_version_tcemain_CommandMap', 'tx_version_tcemain_CommandMap', \false); |
<?php
$_time_core = filemtime("../code/core-latest.js");
$_time_lists = filemtime("../code/lists-latest.js");
$_time_random = filemtime("../code/random-latest.js");
$_time_statistics = filemtime("../code/statistics-latest.js");
$_time_dom = filemtime("../code/dom-latest.js");
$_time_js = filemtime("../code/js-latest.j... |
<?php
/*
* ..:: ENGLISH ::..
* © 2017 Aljazarisoft.com all rights reserved. Please Read "Licence Agreement & Terms And Conditions" carefully before using this software!
* You agree to the Licence Agreement and Terms and Conditions by using this software
* Programmed by Ahmet ATAK <info@ahmetatak.net>
* Powe... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Login V14</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<link rel="icon" type="image/png" href="... |
<?php
/**
* Descripcion: Controlador que se encarga de la gestión de los territorios del observatorio
*
* @category
* @package Controllers
*/
Load::models(
'global/fuente',
'observatorio/comunidad',
'observatorio/territorio',
'observatorio/territorio_municipio',
'observatorio/municip... |
<?php
require 'db.php';
require 'user_req.php';
$logged_user = $usersDB->fetchBy('users_id',$_SESSION['id']);
if($logged_user){
$privilege = (int)$logged_user[0]['privilege'];
}
if(isset($_GET['order_detail'])){
$OrderDetail = $_GET['order_detail'];
}else{
die('Objednávka nenalezena');
}
$stmt = $cartIt... |
<div class="be-content">
<div class="page-head">
<h2 class="page-head-title">@if($edit)Alterar Categoria {{ $category->name }} @else Nova Categoria @endif</h2>
<ol class="breadcrumb page-head-nav">
<li><a href="#">Dashboard</a></li>
<li><a href="#">Categoria</a></li>
... |
<?php
namespace Sprain\SwissQrBill\PaymentPart\Output\Element;
class Title implements OutputElementInterface
{
private $title;
public static function create(string $title): self
{
$element = new self();
$element->title = $title;
return $element;
}
public function getTitl... |
<?php
use App\Models\ContentModel;
class Content
{
// Работа с контентом (Parsedown)
public static function text($content, $type)
{
$Parsedown = new MyParsedown();
$Parsedown->setSafeMode(true); //безопасность
if ($type == 'text') {
$text = $Parsedown->text($content... |
<?php
declare(strict_types=1);
namespace Fc2blog\Web;
use InvalidArgumentException;
class Cookie
{
/**
* クッキーから情報を取得する
* @param Request $request
* @param string $key
* @param mixed $default
* @return mixed
*/
public static function get(Request $request, string $key, $default = n... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap4\ActiveForm */
/* @var $model \frontend\models\SignupForm */
use yii\helpers\Html;
use yii\bootstrap4\ActiveForm;
$this->title = 'Signup';
$this->params['breadcrumbs'][] = Html::encode($this->title);
?>
<div class="site-signup">
<h1><?= Html::encode(... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for y... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as... |
<?php
$foo = function() {
static $x = 1;
$x += 10;
yield $x;
$x += 100;
yield $x;
$x += 1000;
yield $x;
};
$x = $foo();
$y1 = clone $x;
$y2 = clone $x;
foreach ($x as $v) {
echo $v . "\n";
}
echo "========\n";
foreach ($y1 as $v) {
echo $v . "\n";
}
echo "========\n";
foreach ($y2 as $v) {
echo $v .... |
<?php defined('DIRECT') OR exit('No direct script access allowed');
class Load
{
/**
* Loading Model
* @param string $model
* @return object
*/
public function model($model)
{
if (file_exists('app/models/' . ucfirst($model) . '.php')) {
require_once 'app/models/' . ucfirst($model) . '.php';
return... |
@extends('layout')
@section('content')
<section class="moduler wrapper_404">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="heading text-center col-sm-8 col-sm-offset-2 wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="300ms... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use kartik\select2\Select2;
use yii\helpers\ArrayHelper;
/* @var $this yii\web\View */
/* @var $model app\models\Registeremailgroup */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="registeremailgroup-form">
<?php $form = ActiveForm::begin(); ?>
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Vehicle_features extends Model
{
use HasFactory;
protected $guarded = ['id'];
} |
<?php
/**
* Options Management Administration Screen.
*
* If accessed directly in a browser this page shows a list of all saved options
* along with editable fields for their values. Serialized data is not supported
* and there is no way to remove options via this page. It is not linked to from
* anywhere else in... |
<?php
namespace App\Http\Livewire\User;
use App\Models\Invoice;
use Illuminate\Support\Facades\Auth;
use Livewire\Component;
use Livewire\WithPagination;
class ManageInvoice extends Component
{
use WithPagination;
public $invoices;
public function mount()
{
$this->invoices = Invoice::where('... |
<?php
/*
* Gitlab OAuth2 Provider
* (c) Omines Internetbureau B.V. - https://omines.nl/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Omines\OAuth2\Client\Provider\Exception;
use League\OAuth2\Client\Provider\Exceptio... |
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<?php
$check= $this->db->where('id_user',getAccountUserId())->get(TBL_FAVOURITE_BUY_LOG)->result();
?>
<div id="body-content">
<?php $this->load->view("user/partial/left");?>
<div id="body">
<div class="body">
<div id="content">
... |
<?php
namespace App\Http\Controllers\User;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\Crypt;
use Illuminate\Contracts\Encryption\DecryptException;
use Session;
use Log;
use Hash;
use App\User;
use App\State;
use App\City;
u... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Member;
use Illuminate\Http\Request;
use Session;
use DB;
class MemberController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function... |
<?php
declare(strict_types=1);
namespace TileLand\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use function Functional\reduce_left;
use TileLand\Enum\ActionStatus;
use TileLand\Player\Action\Action;
use TileLand\Player\Action\ActionCreator;
use TileLand\Player\A... |
<?php
namespace Criarenet\Blog\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Event;
use Criarenet\Blog\Events;
use Criarenet\Blog\Listeners;
class VoyagerEventServiceProvider extends ServiceProvider
{
/**
* The event listener m... |
<?php
// Inclusion de la bibliothèque de fonctions :
require("lib/BookReader.class.php");
require("lib/FileBookReader.class.php");
require("lib/fonctionsLivre.php");
// Lecture du fichier et mémorisation dans des variables PHP :
$reader = new FileBookReader('data/livres.txt');
$libraryHTML = libraryToHTML(... |
<?php
/**
* Html2Pdf Library - Tests
*
* HTML => PDF converter
* distributed under the OSL-3.0 License
*
* @package Html2pdf
* @author Laurent MINGUET <webmaster@html2pdf.fr>
* @copyright 2017 Laurent MINGUET
*/
namespace Spipu\Html2Pdf\Tests\Parsing;
use Spipu\Html2Pdf\Html2Pdf;
/**
* Class SrcErrorT... |
@if(session('success'))
<div class="alert alert-success alert-dismissible fade show" role="alert">
<strong>Success!</strong> {{ session('success') }}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
@endif |
<?php echo form_open('Main/Create'); ?>
İsim: <input type="text" name="isim_input">
Soy İsim: <input type="text" name="soyisim_input">
<button type="submit" name="buton_ismi" value="Sent">Kaydet</button>
</form> |
<?php
/**
* Copyright 2021 Sage Intacct, 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
*
* or in the "LICENSE" file accompanyin... |
@if(count($card->packages) > 0)
@foreach ($card->packages as $package)
<div class="d-flex w-100 justify-content-between" style="padding:px;">
<form method="GET" class="d-flex w-100" action="{{route('getProductDetail' ,['product_id'=>$package->product_id])}}" >
... |
@extends('boilerplate::layout.index', [
'title' => __('boilerplate::users.profile.title'),
'subtitle' => $user->name,
'breadcrumb' => [
$user->name => 'boilerplate.user.profile',
]
])
@section('content')
{{ Form::open(['route' => ['boilerplate.user.profile'], 'method' => 'post', 'autocomplete' => 'off', 'files' => tru... |
<?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 YesWeCode\Yacht\Command\Proxy;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* The purpose of this class is to make this command available in the command list and offer help page for it.
*... |
<head>
<title>Weekend Away - Admin</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="<?php echo base_url("assets/bootstrap/css/bootstrap.min.css"); ?>">
<link rel="stylesheet" href="<?php echo base_url("assets/css/admin/signin.css"); ... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Imprimir arreglos de una forma mas legible
* @author oagarzond
* @param mixed $objVar Arreglo o cadena para mostrar por pantalla con formato
*/
if (!function_exists("pr")) {
function pr($objVar) {
echo "<div align='left'>... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Logs extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->settings_model->get_settings();
if($this->session->userdata("USERID") == null)
{
ech... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
namespace Commonhelp\DI\Invoker\ParameterResolver;
use ReflectionFunctionAbstract;
interface ParameterResolverInterface{
/**
* Resolves the parameters to use to call the callable.
*
* `$resolvedParameters` contains parameters that have already been resolved.
*
* Each ParameterResolver must resolve ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateOrdersItems extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('orderitems', fun... |
<p>Beste <?= str_replace(',', '', $model->computer->customer->name) ?>, uw aanvraag wordt verwerkt. wij nemen binnen twee werkdagen contact met u op.</p> |
<?php
namespace App\Http\Controllers;
use App\Models\Post;
use App\Models\Category;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
class AdminPostsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
publ... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAdmins extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('admins', function (Blueprint $table) {
$table->i... |
<!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... |
<?php
namespace Phalcon\Cache\Backend;
class Xcache extends \Phalcon\Cache\Backend implements \Phalcon\Cache\BackendInterface
{
/**
* Phalcon\Cache\Backend\Xcache constructor
*
* @param \Phalcon\Cache\FrontendInterface $frontend
* @param array $options
*/
public function __construct(\... |
@extends('layouts.app')
@section('content')
<div class="container mt-5">
<div class="row">
<div class="col-md-10">
<h3>This is Biodata</h3>
</div>
<div class="col-sm-2">
<a href="{{route('biodata.create')}}" class="btn btn-sm btn-success">
Create New Bi... |
<?php
/////////////////////////////////////////////////////////////////
//微糗事, Copyright (C) 2011 - 2012 weiqiushi.com
//EMAIL:birthday10241120@qq.com QQ:373071372
//$Id: db_mytag.php 20 2011-09-23 05:39:32Z anythink $
class db_mytag extends spModel
{
var $pk = "id"; //主键
var... |
<?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 RectorPrefix20211231\Symfony\Component\DependencyInjection\Compiler;
use... |
<?php
namespace Database\Factories;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;
class UserFactory extends Factory
{
protected $model = User::class;
public function definition()
{
return [
'n... |
<?php
namespace GDO\Language;
use GDO\Core\GDO_Module;
use GDO\Util\Strings;
use GDO\Core\Application;
use GDO\User\GDO_User;
use GDO\Session\GDO_Session;
use GDO\Util\Javascript;
use GDO\Util\Common;
use GDO\Core\Website;
use GDO\UI\GDT_Divider;
use GDO\DB\GDT_Checkbox;
use GDO\UI\GDT_Page;
/**
* Internationalizati... |
<?php
namespace common\modules\signin\models;
use Yii;
use yii\base\InvalidParamException;
use yii\behaviors\TimestampBehavior;
use yii\db\ActiveRecord;
use yii\db\Expression;
/**
* This is the model class for table "{{%signin_user_access}}".
*
* @property string $id
* @property string $handler
* @property stri... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFormsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('forms', function ... |
<?php
if(!($this->session->userdata('logged_in'))){
redirect('home/login');
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *m... |
<?php
namespace Calculation;
use Exception;
class Calculation
{
public $daya;
public int $biaya;
public function __construct($biaya)
{
$this->biaya = $biaya;
$this->daya = 0;
}
public function Limit(float $nilai)
{
$nilai > 1000000 ? print_r('Hasil Harus Dibawah ... |
<?php
/**
* Use this file to override global defaults.
*
* See the individual environment DB configs for specific config information.
*/
return array(
'active' => 'default',
/**
* Base config, just need to set the DSN, username and password in env. config.
*/
'default' => array(
'type' => 'pdo',
'c... |
@extends('layouts.admin')
@section('content')
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0">Starter Page</h1>
</div><!-- /.col -->
<div class="col... |
<article>
<header class="mx-4 mx-md-0 mt-5 mb-4">
<h1 class="entry-title mb-4">{!! get_the_title() !!}</h1>
@include('partials/entry-meta')
</header>
<div class="entry-content">
@php the_content() @endphp
</div>
</article> |
<!DOCTYPE html>
<html lang="en">
<head>
</head>
<?php include('header.php') ?>
<?php include('auth.php') ?>
<?php include('db_connect.php') ?>
<?php
$quiz = $conn->query("SELECT * FROM quiz_list where id =" . $_GET['id'] . " order by RAND()")->fetch_array();
?>
<title><?php echo $quiz['title'] ?> | Réponse</title>
</h... |
<?php
namespace FluentFormPro\Integrations\Drip;
if (!defined('ABSPATH')) {
exit; // Exit if accessed directly.
}
use FluentForm\App\Services\Integrations\IntegrationManager;
use FluentForm\Framework\Foundation\Application;
use FluentForm\Framework\Helpers\ArrayHelper;
class Bootstrap extends IntegrationManager... |
<?php
/**
* Created by PhpStorm.
* User: Darkness
* Date: 9/6/2016
* Time: 4:43 PM
*/
use frontend\assets\CustomAsset;
Use frontend\components\Helper;
use common\components\FHtml;
/* @var $product \backend\models\Products */
/* @var $this yii\web\View */
/* @var $products array */
/* @var $page integer */
/* @var... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Producer extends Model
{
public $timestamps = false;
public function images()
{
return $this->belongsToMany(Image::class,'Producer_has_Image');
}
public function product()
{
return $this->hasMany(Product::cla... |
<?php
namespace App\middleware;
use App\core\Middleware;
class Auth extends Middleware
{
public function handle()
{
//
}
} |
<div class="row page-title">
<div class="col-md-12">
<nav aria-label="breadcrumb" class="float-right mt-1">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<?= site_url('koperasi') ?>">Koperasi</a></li>
<li class="breadcrumb-item">Transaksi</li>
<li class="breadcrumb-item active" aria-cur... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCopyLeaksResponsesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('copy... |
<?php
namespace Menciones\Model\Entity;
use Zend\Db\TableGateway\TableGateway;
use Zend\Db\Adapter\Adapter;
use Zend\Db\ResultSet\ResultSet;
use Zend\Db\Sql\Sql;
use Zend\Db\Sql\Predicate\Expression;
use Zend\Db\Sql\Predicate;
class Modelocategorias{
public $dbAdapter;
public $sql;
public $table_name='ca... |
<?php $TRANSLATIONS = array(
"Name" => "పేరు",
"Add" => "చేర్చు"
); |
<?php
abstract class Controller {
private $view;
function Controller() {
$newView = new View;
$this->setView($newView);
}
protected function setView($newView) {
$this->view = $newView;
}
protected function getView() {
return $this->view;
}
function go() {
$this->getView()->render();
}
functi... |
@extends('layouts.app')
@section('content')
<div class="col-6 offset-3 mt-3">
<section>
@if(session('delete'))
<div class="col-md-6 offset-3 mt-2 mb-2 ">
<div class="alert bg-info text-dark text-center"><h6>{{session('delete')}}</h6></div>
<... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
... |
@extends('layouts.app')
@section('content')
<section id="multiple-column-form">
<div class="row match-height">
<div class="col-12">
<div class="card">
<div class="card-header">
<h4 class="card-title">Room</h4>
</div>
<div clas... |
<?php
namespace App\Http\Requests\API;
use App\Models\lessons;
use InfyOm\Generator\Request\APIRequest;
class CreatelessonsAPIRequest extends APIRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return t... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Kategori;
class KategoriController extends Controller
{
public function index($slug_kategoriadi){
$kategori=Kategori::where('slug',$slug_kategoriadi)->firstOrFail();
$alt_kategoriler=Kategori::where('ust_id',$kategor... |
<?php
/*
* This file is part of the Scribe Arthur Doctrine Fixtures Library.
*
* (c) Scribe Inc. <oss@scr.be>
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace Scribe\Arthur\DoctrineFixturesBundle\DataFixtures\Loader;
... |
@extends('layouts.admin-panel.app')
@section('title', 'Blog-Fever | Posts')
@section('content')
<div class="card">
<div class="card-header"><h2>Trash Posts</h2></div>
<div class="card-body">
<table class="table">
<thead>
<tr>
<th>Image</th>
... |
@extends('BackEnd.include.header')
@section('content')
<!--main-container-part-->
<div id="content">
<div id="breadcrumb">
<a href="{{url('/admin/dashboard')}}" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a>
<a href="{{url('/admin/banners')}}" title="Go to Banners" class="tip-... |
<?php $__env->startSection('title','Hồ sơ học sinh'); ?>
<?php $__env->startSection('content'); ?>
<?php $__env->startComponent('components.pageTitle'); ?>
<?php $__env->slot('title'); ?>
Hồ sơ học sinh
<?php $__env->endSlot(); ?>
<?php if (isset($__componentOriginal019f52bf54f3f8d29d2774d8872dfcd2ae2cbe55)): ?>
<?php... |
<?php
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*/
$sLangCategory = 'Boonex Photos';
$aLangContent = array(
'_sys_module_photos' => 'Photos',
'_bx_photos_caption_browse_by_day' => 'Browse photos by day',
'_bx_photos' =>... |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* A null KeyCache that does not cache at all.
* @package Swift
* @subpackage KeyCache
* @author Chr... |
<!-- Navigation & Logo-->
<div class="mainmenu-wrapper">
<nav class="navbar navbar-inverse" role="banner">
<div class="container">
<div class="navbar-header ">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<... |
<?php
/* @WebProfiler/Profiler/base.html.twig */
class __TwigTemplate_0e6e630074b4e5404f15e5231be6867c2204d4d84c620f99012ec7c654b48a40 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.