text stringlengths 2 1.03M |
|---|
<?php
namespace App\Http\Controllers\backend;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class ProductController extends Controller
{
function getProduct(){
$_SESSION["current_page"] = "product";
return view('backend\product\listproduct');
}
function getAddProduct()... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Proveedor extends Model
{
protected $table="proveedores";
protected $fillable =[
"nombre","calle","colonia","numero_int","numero_ext"
,"cp","estado","municipio","telefono1","telefono2"
,"email" ,"contacto"
];
p... |
<?php
/*
|--------------------------------------------------------------------------
| User Routes
|--------------------------------------------------------------------------
|
*/
Route::group(['prefix' => 'user', 'namespace' => 'User'], function() {
Route::post('register', 'RegisterController@register')->name('adm... |
<?php
namespace Pushword\Conversation\Form;
use Doctrine\Bundle\DoctrineBundle\Registry;
use Pushword\Conversation\Entity\MessageInterface;
use Pushword\Core\Component\App\AppConfig;
use Pushword\Core\Component\App\AppPool;
use Symfony\Bundle\FrameworkBundle\Routing\Router;
use Symfony\Component\Form\Extension\Core\T... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitd7bd61d3a98ec8ec83c664a38ce0af21::getLoader(); |
<?php
namespace Service;
use Monolog\Logger;
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
class LoggerFactory implements FactoryInterface
{
/**
* Create an object
*
* @param Containe... |
<?php
/**
* Html Toolbar Helper
*
* Injects the toolbar elements into HTML layouts.
* Contains helper methods for
*
* PHP versions 4 and 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under Th... |
@extends('layout.layout')
@section('content')
<h1>WELCOME</h1>
<hr>
@stop |
<?php
/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ApiPlatform\GraphQl;
use GraphQL\Executor\Ex... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class UserVideosComments extends Model
{
//
protected $table = 'afrobt_user_videos_comments';
} |
<?php
/*
Rotas da aplicação
*/
Route::resource('/', 'SistemaController');
Route::post('/','SistemaController@Search'); |
<?php
namespace App\Http\Controllers;
use App\Models\Log;
use App\Models\Catatan;
use Illuminate\Http\Request;
use App\Exports\CatatanExport;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;
use Maatwebsite\Excel\Facades\Excel;
class HomeController extends Controller
{
public function main... |
<?php $uri = "asset/template/adminLTE/";
$user = $this->session->userdata('user');
$id_user = $this->session->userdata('id_user');
?>
<aside class="main-sidebar sidebar-dark-primary elevation-4">
<!-- Sidebar -->
<div class="sidebar">
<!-- Sidebar user panel (optional) -->
<div class="image">
... |
<?php $__env->startSection('content'); ?>
<!-- container-fluid -->
<div class="container-fluid">
<!-- Page Heading -->
<div class="row py-lg-2">
<div class="col-sm-7 h4">
Listado de Comprobantes Contables detallados <br>de <?php echo e($type); ?> <?php echo e($var->id ?? ''); ?>
... |
<?php
/**
* NeosTag
* @copyright Bill Rocha - http://plus.google.com/+BillRocha
* @license MIT & GLP2
* @author Bill Rocha - prbr@ymail.com
* @version 0.0.1
* @package Limp
* @access public
* @since 0.0.4
*
* ©NeosTag é marca registrada da NeosOrg e todos os direitos são reserva... |
<?php
/**
* Include external files
*/
require_once('inc/pagination.inc.php');
require_once('inc/template-tags.inc.php');
/**
* Include CSS files
*/
function theme_enqueue_scripts() {
wp_enqueue_style( 'Font_Awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' );
... |
<?php
// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = $_POST['name'];
$email_address = $_POST['email'];
$phone = $_POST['phone'... |
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header modal-header-success">
<button type="button" class="close" data-dismiss="m... |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_helloworld
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access to this file
defined('_JEXEC') or die('Restri... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
@extends('layouts.app')
@if(isset($cat))
@section('pageTitle', $cat)
@else
@section('pageTitle', 'Publications')
@endif
@section('content')
<div class="auth-breadcrumb-wrap" style="margin-top: 115px">
<div class="container">
<ol class="sabbi-breadcrumb breadcrumb">
<li><a href="{{ url('/') }}">Home</a><... |
<?php
/**
* [NULLED BY DARKGOTH 2014]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Module_Feed
* @version $Id: phpfox.class.php 6391 2013-07-31 10:08:17Z Miguel_Espinoza $
*/
class Module_Feed
{
public static $aTables = arra... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Zones */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="zones-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'account_id')->dropDownList(
\yii\helpers\Array... |
<?php
/* TwigBundle:Exception:exception.rdf.twig */
class __TwigTemplate_c1fbe5f6e109dcc4765706ab7a250550 extends Twig_Template
{
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
$this->env->loadTemplate("TwigBundle:Exception:exception.xml.twig")->display(array_... |
<section id="input-style">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
{!! Form::open(['url' => route('savePost'), 'method' => 'post', 'enctype' => 'multipart/form-data']) !!}
<div class="row mb... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Article;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Session;
use App\Http\Requests\Admin\StoreArticleRequest;
class ArticleController extends Controller
{
/**
* Dis... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\Documents\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for UpdateTempPrintjobInfoResponse StructType
* @subpackage Structs
*/
class UpdateTempPrintjobInfoResponse extends AbstractStructBase... |
<?php
/**
* Created by PhpStorm.
* User: chenxh
* Date: 2018/7/4
* Time: 15:38
*/
namespace app\gerent\model;
use app\common\model\General;
class Projectoffer extends General{
public $t = 'project_offer';
} |
<?php switch($Departamento):
case ("PVIT"): ?>
<?php
$Banner = "BannerPVIT.";
$Texto = "Texto para coordinadores del PVIT";
?>
<?php break; ?>
<?php case ("BIOMASA"): ?>
<?php
$Banner = "BannerBIOMASA.";
$Texto = "Texto para coordin... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProductRatingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('product_... |
<?php
namespace App\Models;
use App\Models\Job;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class JobApplicant extends Model
{
use HasFactory;
protected $fillable = [
'name','email','cv','message'
];
public function Job(){
retur... |
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
/** @var array $arParams */
/** @var array $arResult */
/** @global CMain $APPLICATION */
/** @global CUser $USER */
/** @global CDatabase $DB */
/** @var CBitrixComponentTemplate $this */
/** @var string $templateName */
/** @var string $templateFil... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to... |
<html xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
<title>Visual</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="{{asset('/css/visual/main.css')}}" />
<noscript><link r... |
<?php
namespace Planner\TaskCoreBundle\GraphQL\Type;
use Overblog\GraphQLBundle\Annotation as GQL;
/**
* @GQL\Enum()
*/
class SortOrderEnum
{
const ASC = 'ASC';
const DESC = 'DESC';
public $value;
} |
<?php declare(strict_types=1);
namespace Shopware\Core\Content\Product\SalesChannel\CrossSelling;
use OpenApi\Annotations as OA;
use Shopware\Core\Content\Product\Aggregate\ProductCrossSelling\ProductCrossSellingCollection;
use Shopware\Core\Content\Product\Aggregate\ProductCrossSelling\ProductCrossSellingDefinition;... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Models\Product;
use App\Models\Tag;
use App\Libraries\StringHelper;
class ProductsController extends Controller
{
private $rules = [
'name' => 'required|string',
'description' => 'nullab... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasOne;
class Article extends Base
{
const DISPLAY = [
1 => '是',
0 => '否',
];
protected $table ='article';
protected... |
<?php
declare(strict_types=1);
namespace precore\util;
/**
* Utility class to create common functions.
*
* @package precore\util
* @author Janos Szurovecz <szjani@szjani.hu>
*/
final class Functions
{
private static $IDENTITY;
private static $TO_STRING;
private function __construct()
{
}
... |
--TEST--
JIT ASSIGN: 024
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
;opcache.jit_debug=257
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
function foo() {
$a = $undef;
for($i=0; $i<6; $i++) {
$undef = 1;
}
}
foo();
echo "... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- start: Meta -->
<meta charset="utf-8">
<title>Metro Admin Template - Metro UI Style Bootstrap Admin Template</title>
<meta name="description" content="Metro Admin Template.">
<meta name="author" content="Łukasz Holeczek">
<meta name="keyword" content="Metro, Metro U... |
@extends('backend.layouts.master')
@section ('title', trans('labels.engena.passes.all'))
@section('page-header')
<h1>
{{ trans('labels.engena.passes.all') }}
<a href="{{ route('admin.passes.create') }}" class="btn btn-success btn-sm">
<i class="fa fa-plus"></i> {{ trans('menus.engena.pa... |
<?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 Sensio\Bundle\DistributionBundle\Configurator\Step;
use Sensio\Bundle\D... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!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">
<meta name="description" content="">
<... |
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:80:"C:\PHPStudyE\WWW\lyshopV2.1\public/../application/admin\view\category\index.html";i:1506413388;s:79:"C:\PHPStudyE\WWW\lyshopV2.1\public/../application/admin\view\Public\header.html";i:1510801998;}*/ ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-... |
<?php
/*
{{-- 原始 : hahaha --}}
{{-- 維護 : --}}
{{-- 指揮 : --}}
{{-- ---------------------------------------------------------------------------------------------- --}}
{{-- 決定 : name --}}
{{--
----------------------------------------------------------------------------
說明 :
-------------------------------... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ideals', function (Blue... |
<div class="panel panel-success chat-window">
<div class="panel-heading">Chat</div>
<div class="panel-body">
<ul class="list-unstyled chat-messages" id="chat-body">
</ul>
</div>
<div class="panel-footer chat-footer">
<div>
<input type="text" id="chat-message"
class="form-control chat-search" place... |
<?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.
*
* Feel free to edit as you please, and have fun.
*
* @author Marc Morera <yuhu@mmoreram.com>
... |
<?php
namespace OpenApi\Examples\OpenapiSpecAttributes;
use OpenApi\Attributes as OAT;
class RepositoriesController
{
#[OAT\Get(path: '/2.0/repositories/{username}', operationId: 'getRepositoriesByOwner', parameters: [new OAT\Parameter(name: 'username', in: 'path', required: true, schema: new OAT\Schema(type: 's... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>PEMAAF</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<!-- ... |
<nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">
<!-- Sidebar Toggle (Topbar) -->
<button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
<i class="fa fa-bars"></i>
</button>
<!-- Topbar Search -->
{{-- <form--}}
{{-- cl... |
<?php
/**
* TorrentBug
*
* @link https://github.com/gratbrav/torrentbug
* @license https://github.com/gratbrav/torrentbug/blob/master/LICENSE
*/
namespace Gratbrav\Torrentbug\Log;
/**
* Log Class
*
* Log
*
* @package Torrentbug
* @author Gratbrav
*/
class Log
{
protected $cid;
protected $u... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class AgentController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return view('agents.index');
//
}
/**
... |
<?php
/**
* Copyright (c) 2021 cooldogedev
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... |
<?php
// This file was auto-generated from sdk-root/src/data/ds/2015-04-16/paginators-1.json
return [ 'pagination' => [ 'DescribeDomainControllers' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'Limit', ], ],]; |
<?php
namespace Symfony\Config\Framework\RateLimiter;
require_once __DIR__.\DIRECTORY_SEPARATOR.'LimiterConfig'.\DIRECTORY_SEPARATOR.'RateConfig.php';
use Symfony\Component\Config\Loader\ParamConfigurator;
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
/**
* This class is automat... |
<?php
namespace Amap\UserBundle\Admin\Entity;
use Sonata\UserBundle\Admin\Model\UserAdmin as BaseUserAdmin;
use Sonata\AdminBundle\Form\FormMapper;
use Sonata\AdminBundle\Admin\Admin;
use Sonata\AdminBundle\Datagrid\DatagridMapper;
use Sonata\AdminBundle\Datagrid\ListMapper;
use Sonata\AdminBundle\Show\ShowMapper;
u... |
<?php
if(!isset($_SESSION))
{
session_start();
}
?>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="jumbotron.css" rel="stylesheet">
<?php
include("header.php");
include("library.php");
noAccessForClerk();
noAccessForDoctor();
noAccessForNormal();
noAccessIfNotLo... |
<?php
namespace Samaya\Embed;
use Symfony\Component\DomCrawler\Crawler;
class Extract
{
const USER_AGENT = 'Samaya-Embed 0.3';
protected $useragent;
protected $fbAppId = '';
protected $fbAppSecret = '';
/** @var Crawler[] */
protected $cachedCrawlers = [];
/** @var array */
protec... |
<?php
declare(strict_types=1);
namespace Kreait\Firebase\JWT;
use Kreait\Clock\SystemClock;
use Kreait\Firebase\JWT\Action\CreateCustomToken;
use Kreait\Firebase\JWT\Action\CreateCustomToken\Handler;
use Kreait\Firebase\JWT\Action\CreateCustomToken\WithHandlerDiscovery;
use Kreait\Firebase\JWT\Contract\Token;
use Kr... |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'ACF_To_REST_API_Controller' ) ) {
class ACF_To_REST_API_Controller extends WP_REST_Controller {
protected $type;
protected $id;
public function __construct( $type ) {
$this->type = apply_filters( 'acf/rest_api/type', $type );
$this->... |
<?php
namespace DCarbone\PHPFHIRGenerated\R4\PHPFHIRTests\FHIRElement\FHIRBackboneElement\FHIRExplanationOfBenefit;
/*!
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: December 2... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
// use App\Http\Controllers\Student;
use App\Models\Student;
class JointableController extends Controller
{
function index()
{
// $data = Student::join('marks', 'marks.e_no', '=', 'students.e_no')
// ->get(['students.e_no... |
<?php
namespace App\Http\Controllers\notice;
use App\Altyn;
use App\Article;
use App\Culture;
use App\HalykUniversity;
use App\Keruen;
use App\Museum;
use App\Notice;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Inst;
class NoticeController extends Controller
{
public function index()
... |
<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
<title... |
<?php
/*
* @copyright Leyun internet Technology(Shanghai)Co.,Ltd
* @license http://www.dzzoffice.com/licenses/license.txt
* @package DzzOffice
* @link http://www.dzzoffice.com
* @author zyx(zyx@dzz.cc)
*/
if(!defined('IN_DZZ')) {
exit('Access Denied');
}
function checkAtPerm($gid){//检查@部门权... |
<?php
class m120319_143048_session_table_uid_field extends CDbMigration
{
public function up()
{
$this->addColumn('lily_session', 'uid', 'integer');
}
public function down()
{
$this->dropColumn('lily_session', 'uid');
}
} |
<section class="sep-top-2x">
<div class="container">
<div class="row">
<h5 class="sep-bottom-xs">
รายการจัดทัวร์
</h5>
<div class="col-md-10">
<table class="table table-bordered table-condensed shop-table table-responsive">
... |
<?php
namespace App\Notifications;
use App\Models\Reply;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
class TopicReplied extends Notification implements ShouldQueue
{
use Queueable;
pub... |
@extends('common.hero')
@section('content')
<div class="column is-6-tablet is-5-desktop is-4-widescreen">
<div class="title">{{ __('Reset Password') }}</div>
<form method="POST" action="{{ route('password.update') }}" class="box">
@csrf
<input type="hidden" name="token" val... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use App\Budget;
use App\Councilor;
use App\Application;
use Auth;
use App\Allocatebudget;
class ViewComposerServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public fu... |
<?php namespace MajorGlitches\DarkWorld;
use ALttP\Item;
use ALttP\World;
use TestCase;
/**
* @group MajorGlitches
*/
class NorthWestTest extends TestCase {
public function setUp() {
parent::setUp();
$this->world = World::factory('standard', 'test_rules', 'MajorGlitches');
}
public function tearDown() {
p... |
<?php namespace Lovata\ViewedProductsShopaholic\Classes\Event;
use Lovata\ViewedProductsShopaholic\Classes\Helper\ViewedProductHelper;
/**
* Class ProductEventHandler
* @package Lovata\ViewedProductsShopaholic\Classes\Event
* @author Andrey Kharanenka, a.khoronenko@lovata.com, LOVATA Group
*/
class ProductEventH... |
<?php
use Illuminate\Database\Seeder;
class BikeSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// DB::table('bikes')->insert([
// 'name' => 'John Deere'
// ]);
factory(App\Bike::class, 50)->create()... |
<?php
declare(strict_types=1);
namespace webignition\BasilPhpUnitResultPrinter\Tests\Functional;
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
use PHPUnit\Framework\TestCase;
use PHPUnit\TextUI\TestRunner;
use webignition\BasilPhpUnitResultPrinter\ResultPrinter;
use webignition\BasilPhpUnitResultPrinter\Tes... |
@extends('main')
@section('title', '| Edit question')
@section('stylesheets')
{!! Html::style('css/select2.min.css') !!}
<script src="{{ URL::to('src/js/vendor/tinymce/js/tinymce/tinymce.min.js') }}"></script>
<script>
var editor_config = {
height : "120",
path_absolute : "... |
<?php
use App\Mistake;
$last_week = 0;
?>
@extends ('master')
@section('content')
<div class='lead'>
<input type='button' class='show-button btn btn-primary' id='show-create-mistake' value='New Mistake'/>
<input type='button' class='show-button btn btn-primary' id='show-create-tag-type' va... |
<?php
//Created By Sibnath Seth @6/11/2014
namespace Bundle\KidskulaBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Bundle\AdminBundle\Entity\KidsKulaStudentGrade;
use Bundle\AdminBundle\Entity\KidsKullaSchools;
use Bundle\AdminBundle\Entity\KidsKullaschoolshaskidskulausers;
use Bundle... |
<?php
namespace app\models\base;
use Yii;
/**
* This is the model class for table "{{%employee}}".
*
* @property int $id
* @property string $lastname Фамилия
* @property string $username Имя
* @property string $middlename Отчество
*/
class Employee extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
... |
<?php
namespace Fjord\Crud\Fields\Traits;
trait FieldHasPlaceholder
{
/**
* Set placeholder.
*
* @param string $placeholder
*
* @return $this
*/
public function placeholder(string $placeholder)
{
$this->setAttribute('placeholder', $placeholder);
return $this;... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Handling cron jobs
*/
namespace Magento\Cron\Observer;
use Magento\Framework\App\State;
use Magento\Framework\Console\Cli;
use Magento\Framework\Event\ObserverInterface;
use \Magento\Cron\Model\Schedule;
/... |
<?php
echo " issam ss";
?> |
<?php
namespace ModuleBZ\SchemaOrg\Thing\Action\AchieveAction;
use ModuleBZ\SchemaOrg\Thing;
use ModuleBZ\SchemaOrg\Traits\TThing;
use ModuleBZ\SchemaOrg\Traits\Thing\TAction;
use ModuleBZ\SchemaOrg\Traits\Thing\Action\TAchieveAction;
use ModuleBZ\SchemaOrg\Traits\Thing\Action\AchieveAction\TLoseAction;
class LoseA... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class CommentNews extends Model
{
public function user()
{
return $this->belongsTo('App\User');
}
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddForeignKeysToVehiculeTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('vehic... |
<?php
/**
* BuddyPress Cover Images main template.
*
* This template is used to inject the BuddyPress Backbone views
* dealing with cover images.
*
* It's also used to create the common Backbone views.
*
* @since 2.4.0
*
* @package BuddyPress
* @subpackage bp-attachments
*/
?>
<div class="bp-cover-image">... |
<section class="project_villa_area">
<div class="container">
<div class="villa_text">
<div class="row">
<div class="col-md-6">
<h2><?php echo lang_const('Available sizes'); ?></h2>
<h3 style="<?php if(is_ar_lang()) {?> text-align: right; <?php } ?>"><?php echo $pr... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace App\Http\Controllers\Auth;
use App\Models\Users;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use League\Flysystem\Exception;
class RegisterController extends Controller
{
private function validationAdd($r) {
$m = [];
if(empty($r->login)) {
$m['user'] = 'É necessário in... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... |
<?php
return [
'keywords'=>basename(dirname(__DIR__)), //关键字,即是目录名也是数据表区分符
'name'=>'全站搜索', //模块名称
'author'=>'suifeng', //开发者
'author_url'=>'http://www.qibo168.com', //开发者网站或者是演示网址
'type'=>'0', //当前模块是否可以复制
'about'=>'全站搜索', //介绍
'version'=>'1.0', //版本号
'icon'=>'fa fa-fw fa-search-plus', //CSS图片
'ifsys'=>'0', ... |
<?php
/*+***********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initi... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\Http\Controllers\Controller;
use App\Model\user\Posts;
use App\Model\user\Tags;
use App\Model\user\Categories;
class PostController extends Controller
{
/**
* Display a listing of the resour... |
<?php
namespace app\controllers;
use Yii;
use yii\web\Controller;
use app\models\Signup;
use app\models\Login;
class SiteController extends Controller
{
public function actionIndex()
{
return $this->render('index');//выводим Index
}
public function act... |
<?php
declare(strict_types=1);
namespace PhpMyAdmin\SqlParser\Tests\Components;
use PhpMyAdmin\SqlParser\Components\Limit;
use PhpMyAdmin\SqlParser\Tests\TestCase;
class LimitTest extends TestCase
{
public function testBuildWithoutOffset()
{
$component = new Limit(1);
$this->assertEquals(Lim... |
<?php //009e7
// ********************************************************
// * ________ *
// * /_ __/ /_ ____ _____ *
// * / / / __ \/ __ \/ ___/ *
// * / / / / / / /_/ / / *
// * /... |
<!-- BEGIN CONTENT -->
<style type="text/css">
.control-label {
margin-top: 7px !important;
}
.portlet.box.red>.portlet-title, .portlet.red, .portlet>.portlet-body.red,.lightgreen{
background-color :#4CB755 !important;
}
.salestag{
border: none !important;
}
.salestag .label-info {
background-color: #... |
{!! Form::open(['route' => 'admin.users.delete' , 'method' => 'delete', 'id' => 'form-delete']) !!}
{!! Form::hidden ('id', $user->id, ['id'=>'id_user']) !!}
{!! csrf_field() !!}
{!! Form::close() !!} |
@extends('layouts.app')
@section('content')
<ol class="breadcrumb">
<ul>
<a class="active">COMMENTS</a>
</ul>
</ol>
<textarea class="form-control" rows="4">
1. Please, give us your feedback/comments concerning the online system.
2.You can also comment on the gene... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.