text stringlengths 2 1.03M |
|---|
<?php
$_['text_blog'] = 'Блог';
$_['text_contact'] = 'Контакти';
$_['text_about'] = 'Про нас';
$_['text_delivery'] = 'Доставка';
$_['text_comparison_list'] = 'Порівняння товарів';
$_['text_shopping_cart'] = 'Ваша корзина';
$_['text_cat_says'] = 'Давай допоможу тобі витратити гроші :)';
$_['text_product_remov... |
<?php
/*
* This file is part of the Liquid package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @package Liquid
*/
namespace Liquid\Tag;
use Component;
use Liquid\AbstractBlock;
use Liquid\AbstractTag;
use Liquid\Docume... |
<!-- start profiling callstack -->
<table class="yiiLog" width="100%" cellpadding="2" style="border-spacing:1px;font:11px Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;color:#666666;">
<tr>
<th style="background:black;color:white;" colspan="2">
Profiling Callstack Rapport
</th... |
<?php
/**
* Created by PhpStorm.
* User: matias
* Date: 10/16/17
* Time: 12:04 AM
*/
namespace Hospital\Model;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity()
* @ORM\Table(name="roles")
*/
class Role {
/**
* @var int
* @ORM\Id()
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: proto/clarifai/api/resources.proto
namespace Clarifai\Api;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
*/////////////////////////////////////////////////////... |
<?php
namespace TheIconic\NameParser\Part;
class Initial extends AbstractPart
{
/**
* uppercase the initial
*
* @return string
*/
public function normalize(): string
{
return strtoupper($this->getValue());
}
} |
<?php
namespace App;
use App\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class category extends Model
{
use SoftDeletes;
public function post()
{
return $this->hasMany(Post::class);
}
} |
<?php
namespace AlibabaCloud\Elasticsearch;
/**
* @method string getInstanceId()
* @method $this withInstanceId($value)
* @method string getIndexTemplate()
* @method $this withIndexTemplate($value)
*/
class DeleteIndexTemplate extends Roa
{
/** @var string */
public $pathPattern = '/openapi/instances/[In... |
<!DOCTYPE html>
<html>
<body>
<h1>Example of BladeOne Extensions</h1>
<h2>This example show the use of extensions</h2>
<hr>Input:<br>
@label('id','Select the value:')
@input('id','default value','text')<br>
@label('id','Select the value:')
@input('id','default value','text',['class'=>'x1','enabled'=>'disa... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<!-- Head -->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Contact - Brand</title>
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.m... |
@extends('welcome')
@section('content')
<div class="container">
<h2 align="center">Adicionar usuario</h2>
<div class="row">
<nav>
<div class="nav-wrapper green">
<div class="col s12">
<a href="{{ route('admin.principal') }}" class="breadcrumb">Incio</a>
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Production_order extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('produksi/production_order_model');
$this->load->model('produksi/stock_barang_model');
}
public function... |
<?php
if($_SESSION['logged_in']!==true){
redirect('Login', 'refresh');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php $this->load->view("admin/_partials/head.php") ?>
</head>
<body id="page-top">
<?php $this->load->view("admin/_partials/navbar.php") ?>
<div id="wrapper">
<?php $this->load->view("admin/_partia... |
<div class="wrapper">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Edit Course Master</h1>
</div>
<div class="col-sm-6... |
@extends('layouts.app')
@section('content')
<div class="container">
<nav>
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<a class="nav-item nav-link active" id="nav-oil-tab" data-toggle="tab" href="#nav-oil" role="tab" aria-controls="nav-oil" aria-selected="true">Yağlık Zeytin</a>
... |
<?php
namespace Cdn\Request\V20180510;
/**
* Request of SetReqAuthConfig
*
* @method string getKey1()
* @method string getKey2()
* @method string getAuthRemoteDesc()
* @method string getSecurityToken()
* @method string getDomainName()
* @method string getOwnerId()
* @method string getTimeOut()
* @method str... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasApiToken... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
require APPPATH . 'libraries/REST_Controller.php';
class Discounts_ctl extends REST_Controller
{
public function __construct()
{
// Construct the parent class
parent::__construct();
// Configure limits on our contr... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTypePricesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('Type_prices'... |
<?php
class iphp_Context
{
private $lazy_regs = array();
function as_array(){
$arr = get_object_vars($this);
unset($arr['lazy_regs']);
return $arr;
}
function __get($name){
if(!property_exists($this, $name)){
$this->$name = null;
if(isset($this->lazy_regs[$name])){
$callback = $this->lazy_regs[... |
<?php
function test($te, $st)
{
return $te + $st;
} |
<?php
$params = require __DIR__ . '/params.php';
$db = require __DIR__.'/db.php';
$config = [
'id' => 'basic-console',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'controllerNamespace' => 'app\commands',
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vend... |
<?php
class Profile {
/**
* Handler for client side form sumbit
* @param Array $formPacket Collection of form items along with direct data
* @return Array response packet
*/
function updateBasicInfo($formPacket){
$response = array();
$email = $formPacket['email'];
if ($e... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Quest extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'title', 'description', 'user_id',
];
public function questions()
{
return $this->... |
<?php
class ProdutoController extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('ProdutoModel');
$this->load->model('CategoriaModel');
$this->load->helper('form');
$this->load->library('form_validation');
}
public f... |
<?php
/**
* Redux Framework is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* any later version.
* Redux Framework is distributed in the hope t... |
<?php
/**
* WooCommerce Shipping Label banner.
* NOTE: DO NOT edit this file in WooCommerce core, this is generated from woocommerce-admin.
*/
namespace Automattic\WooCommerce\Admin\Features;
use \Automattic\WooCommerce\Admin\Loader;
use \Automattic\Jetpack\Connection\Manager as Jetpack_Connection_Manager;
/**
*... |
<?php
namespace App\Http\Livewire;
use App\Models\Article as BlogPost;
use Livewire\Component;
class ArticleComponent extends Component
{
public $post;
public function mount($slug){
$this->post = BlogPost::where('slug', $slug)->first();
}
public function render()
{
return view('l... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Model;
use Faker\Generator as Faker;
$factory->define(\App\Vote::class, function (Faker $faker) {
$store = factory(\App\Store::class)->create();
return [
"store_id" => $store->id,
"title" => $faker->title,
"fini... |
<?php
namespace LaravelEnso\Categories\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use LaravelEnso\Categories\Models\Category;
use LaravelEnso\Helpers\Traits\MapsRequestKeys;
class ValidateStoreRequest extends FormRequest
{
use MapsRequestKeys, ValidateLevel;
public function authorize()
{... |
<?php get_header(); ?>
<main class="mt-5 max-large margin-one-column">
<div class="row">
<div class="col col-sm mx-sm-auto">
<?php if ( have_posts() ) : ?>
<?php do_action( 'tainacan-interface-single-item-top' ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="tainacan-title">
<di... |
@extends('layouts.master')
@section('metadata')
@parent
@stop
@section('title')
@parent
@stop
@section('css')
@parent
@stop
@section('content')
<body class="nav-btn-only homepage">
<div class="page-wrapper">
@include('partials.navigation')
<div id="page-content">
<di... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
/*
|---------------------------------------... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class ItemLaundry extends Model
{
use SoftDeletes;
protected $dates = ['deleted_at'];
protected $fillable = [
'id', 'client_id', 'status_id', 'weight', 'cost', 'pickup_date', 'finish_date... |
<?php
namespace Tests\GBProd;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase as BaseKernelTestCase;
use Tests\GBProd\Fixtures\TestKernel;
abstract class KernelTestCase extends BaseKernelTestCase
{
/**
* {inheritdoc}
*/
public function setUp()
{
self::bootKernel();
}
pro... |
@extends('layouts.admin')
@section('content')
<div class="modal fade" id="SubcategoryModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Modal t... |
@extends('shared.app')
@section('content')
<section class="body">
<nav class="body-nav">
<a class="body-menu" href=""> <h2>Cadastrar Produto</h2> </a>
<a class="back-button" href="
@if(url()->previous() == url()->current())
{{ route('itens... |
<?php
$response->setContentType('text/plain');
$response->setContentType('text/html');
$response->setContentType('application/json'); |
<?php
/*~ class.phpmailer.php
.---------------------------------------------------------------------------.
| Software: PHPMailer - PHP email class |
| Version: 5.2 |
| Site: https://code.google.com/a/apache-extras.org... |
<?php
if(isset($_GET['chuyenmuc'])) {
$chuyenmuc=$_GET['chuyenmuc'];
$parent=get_field('tbl_news_category','subject',$chuyenmuc,'id');
if($parent=="") echo '<script>window.location="'.'404-page-not-found.html" </script>';
}
$pageSize = 16;
$pageNum = 1;
$totalRows = 0;
$xeptheo='id';
$dem=1;
settype... |
<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<div class="pageSection">
<?php $ai = new Area('Blog Post Header'); $ai->display($c); ?>
</div>
<div class="pageSection">
<h1><?php echo $c->getCollectionName(); ?></h1>
<p class="meta"><?php echo t('Posted by')?> <?php echo $c->getVersionObject()->getVer... |
@extends('layouts.master')
@section('content')
<div class="col-md-12 col-sm-12 ">
<div class="x_panel">
<div class="x_title">
<h2>Data Log Book Harian</h2>
<div class="clearfix"></div>
<!-- Main content -->
<section class="content">
<div class="row">
... |
<?php
namespace r\Queries\Misc;
use r\ValuedQuery\ValuedQuery;
use r\ProtocolBuffer\TermTermType;
class Minval extends ValuedQuery
{
protected function getTermType()
{
return TermTermType::PB_MINVAL;
}
} |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Passport\HasApiTokens;
class User extends \TCG\Voyager\Models\User
{
use HasApiTokens, Notifiable;
/**
* The attributes that a... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Tentang extends CI_Controller {
public function index()
{
$this->load->view('frontend/header');
$this->load->view('frontend/menu');
$this->load->view('frontend/tentang');
$this->load->view('frontend/bawah');
$this->load->view('fro... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Client extends Model
{
//Criando um relacionamento do tipo HasOne
public function endereco(){
//Assim eu digo ao laravel que ele deve buscar um endereco na tabela endereco
return $this->hasOne('App\Endereco', 'cliente_id', 'id... |
<?php
return [
'User center' => '會員中心',
'Register' => '註冊',
'Login' => '登入',
'Sign up successful' => '註冊成功',
'Username can not be empty' => '帳號不能為空',
'Nickname can not be empty'... |
<?php
namespace projetGSB\projetGsbBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Doctrine\ORM\EntityRepository;
use projetGSB\projetGsbBundle\Form\ResearchInvoiceAccountantForm;
use projetGSB\p... |
<?php namespace CodeIgniter\Database\MySQLi;
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014-2018 British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any per... |
<?php
namespace UnitTests\POData\IDSQP2\WordPress;
use POData\Common\Url;
use POData\Common\Version;
use POData\Providers\Metadata\Type\DateTime;
use UnitTests\POData\Facets\ServiceHostTestFake;
use UnitTests\POData\Facets\WordPress2\WordPressDataService;
use UnitTests\POData\TestCase;
class WordPressMySQLTest exten... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Counselor;
use App\User;
class KonselorController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
$counselor =... |
<?php
namespace App\Http\Controllers;
use App\Tu;
use Illuminate\Http\Request;
class TuController extends Controller
{
public function index(Request $request)
{
$obj = \App\Tu::latest()->paginate(10);
$data['obj'] = $obj;
return view('tu_index',$data);
}
public function ... |
<?php
namespace app\rbac;
use app\models\User;
use Yii;
use yii\rbac\Rule;
class UserRoleRule extends Rule
{
public $name = 'userRole';
static $userCache = [];
public function execute($userId, $item, $params)
{
if (!$userId) {
return false;
}
if ($userId == -1) {
return $item->name == "guest";
}
... |
<?php
namespace App\Http\Model;
use Illuminate\Database\Eloquent\Model;
class AccessTokens extends Model {
protected $table = 'std_access_tokens';
protected $fillable = ['token', 'auth_code', 'expires_at', 'user_id', 'app_id'];
static public function rules($id = NULL) {
return [
'us... |
<?php
/*
* This file is part of the Sidus/EAVModelBundle package.
*
* Copyright (c) 2015-2019 Vincent Chalnot
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sidus\EAVModelBundle\Exception;
/**
* Exception thrown when ... |
<style>
form.br{
font-size: 13px;
color: #999999;
padding-left: 20px;
}
form.br label{
color: #999999;
font-size: 13px;
}
.infocontact{
float: right;
margin-top: 55px;
}
.infocontact table{
border: 0;
}
.i... |
<!DOCTYPE html>
<html lang="zh-Hant">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<meta content="no-cache" name="Cache-Control"/>
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="viewpo... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... |
<?php
/**
* This file tests the class CachegrindParser2\Output\Format.
*
* PHP version 5
*
* @author Thomas Bley <thomas.bley@mayflower.de>
*/
require_once 'CachegrindParser2/Output/Format.php';
require_once 'PHPUnit/Framework.php';
class CachegrindParser2_Output_Format_Test extends PHPUnit_Framework_TestCase
... |
<?php
/**
* Getopt functions.
* @see https://github.com/ppKrauss/php-little-utils
* @license MIT License Copyright (c) 2016 Peter Krauss
*/
/**
* Gets options from the Web ($_REQUEST) or terminal (command line argument list).
* The terminal behaviour is similar to the standard getopt() function.
* Conventions:... |
<?php
namespace Iyzipay\Client\Basic\Payment\Response\Mapper;
use Iyzipay\Client\Basic\Payment\Response\PaymentRefundResponse;
use Iyzipay\Client\ResponseMapper;
class PaymentRefundResponseMapper extends ResponseMapper
{
public static function newInstance()
{
return new PaymentRefundResponseMapper();... |
<?php
/**
* Copyright 2016 David T. Sadler
*
* 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 agr... |
<?php
use Illuminate\Database\Schema\Blueprint;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('email')->unique(... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
class IndexController extends Controller
{
public function index(){
return view('admin.welcome');
}
} |
<?php
namespace SocialiteProviders\ClaveUnica;
use SocialiteProviders\Manager\OAuth2\AbstractProvider;
use SocialiteProviders\Manager\OAuth2\User;
class Provider extends AbstractProvider
{
/**
* Unique Provider Identifier.
*/
const IDENTIFIER = 'CLAVEUNICA';
/**
* {@inheritdoc}
*/
... |
<?php
require_once '../../QuickBooks.php';
require_once 'QuickBooks/Integrator/Imscart.php';
$dsn = 'mysql://root:@localhost/imscart';
$driver = QuickBooks_Utilities::driverFactory($dsn);
$api = QuickBooks_API_Singleton::getInstance($dsn, 'imscart', QUICKBOOKS_API_SOURCE_WEB);
$Imscart = new QuickBooks_Integrator... |
@extends('layouts.master')
@section('content')
<br>
@if (Session::has('Mensaje'))
<div class="alert alert-success alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h5><i class="icon fa fa-check"></i> ¡Atencion!</h5>{{ Session::get('Mensaje') }}
</div>
@en... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class PaiymentManager extends Controller
{
/*here is methode that returns the m-payments views*/
public function monthlyPay()
{
return view('items.m-payments.monthlypaiment');
}
public function chargesToPay()
{
... |
<?php
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multip... |
<?php
/*
* This file is part of the TableBundle.
*
* (c) Julien Albinet <julien.albinet@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Gus\TableBundle\Table\Filter;
use Doctrine\ORM\EntityRepository;
use Sy... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Detail Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used in the detail page.
|
*/
'new_comment' => 'Ne... |
@extends('layouts.layout2')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>All Question Sets</h1>
</section>
<!-- Main content -->
<section class="content">
@incl... |
<?php
/**
* Created by PhpStorm.
* User: solo
* Date: 2015/3/10
* Time: 16:57
*/
$worker = new GearmanWorker();
$worker->addServer();
$worker->addFunction('getVersion', function(GearmanJob $job){
$item = $job->workload();
return $item.'from task 2';
});
while ($worker->work()); |
<?php
namespace frontend\controllers;
use Yii;
use common\models\Sendmail;
use frontend\models\SendmailSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* SendmailController implements the CRUD actions for Sendmail model.
*/
class Sendma... |
<?php $__env->startSection('content'); ?>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header"><?php echo e(__('Register')); ?></div>
<div class="card-body">
<form ... |
<a class="btn btn-link" href="<?=\yii\helpers\Url::to(['rbac/parmissionadd'])?>">新增一个权限</a>
<table id="table_id_example" class="display">
<thead>
<tr>
<th>权限名称</th>
<th>简介</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<?php foreach ($parmissions as $v):?>
<tr>
<td>... |
<?php
namespace Drupal\webform\Plugin\WebformElement;
use Drupal\webform\WebformSubmissionInterface;
/**
* Provides a 'details' element.
*
* @WebformElement(
* id = "details",
* api = "https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!Element!Details.php/class/Details",
* label = @Translation... |
<?php
$lang['panel_title'] = "Maaş Şablon";
$lang['add_title'] = "Eklemek Maaş Bir şablon";
$lang['slno'] = "#";
$lang['salary_template_salary_grades'] = "Maaş Notları";
$lang['salary_template_basic_salary'] = "Temel Maaş";
$lang['salary_template_overtime_rate'] = "29 Mesai Oranı (per Saat%";
$lang['salary_template_ov... |
<div class="panel panel-info">
<div class="panel-heading">Estudios</div>
<div class="panel-body">
<div v-show="loading" class="loader center-block"></div>
<div class="tableFixHead">
<table class="table table-hover">
<tbody>
<tr v-for="(estudio, index) in estudios" class="item_... |
<?php
class SkillDispositionController extends Controller
{
/**
* @return array action filters
*/
public function filters()
{
return array(
// 'accessControl', // perform access control for CRUD operations
// 'postOnly + delete', // we only allow deletion via POST request
);
}
/**
* Specifies th... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTagsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tags', function (B... |
<?php
namespace App\Http\Controllers;
use App\Question;
use App\QuestionLikeUnlike;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class QuestionLikeUnlikeController extends Controller
{
public function userQuestionCreate($qsId) {
$user = Auth::user();
$userexit = QuestionL... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<!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.0">
<title>Web-site</title>
<style>
.tables {
display: flex;
justify-content: space-... |
@extends('layouts.app')
@section('content')
<div class="container">
<h2 class="center">Editar Slide</h2>
@if (count($errors) > 0)
<div class="row">
<div class="col s12">
<div class="card red darken-1">
<div class="card-content white-text">
<span class="card-title">Erros<... |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:86:"C:\Users\kang\Documents\phpdata\tpblog\public/../application/admin\view\cate\list.html";i:1503963288;s:87:"C:\Users\kang\Documents\phpdata\tpblog\public/../application/admin\view\common\top.html";i:1503963288;s:88:"C:\Users\kang\Documents\phpdata\tpblog\public/../a... |
<?php
namespace WebPConvert\Serve;
use WebPConvert\Convert\Exceptions\ConversionFailedException;
use WebPConvert\Helpers\InputValidator;
use WebPConvert\Helpers\MimeType;
use WebPConvert\Serve\Exceptions\ServeFailedException;
use WebPConvert\Serve\Header;
use WebPConvert\Serve\Report;
use WebPConvert\Serve\ServeFile;
... |
<?php
Route::get('/', 'WelcomeController@index');
Route::get('{title}/{id}', ['as' => 'showBlog', 'uses' => 'WelcomeController@blog']);
Route::post('send', 'WelcomeController@send');
Route::get('admin', 'HomeController@index');
Route::put('edit-post-{id}', ['as' => 'editPost', 'uses' => 'HomeController@edit']);
Route... |
<?php
/**
* Created by PhpStorm.
* User: sa
* Date: 3/30/15
* Time: 12:48 AM
*/
ini_set('error_reporting', 1);
ini_set('display_errors', 1);
include "../application/config.php";
include "../vendor/j4mie/idiorm/idiorm.php";
include "../vendor/twig/twig/lib/Twig/Autoloader.php";
include "../application/load.idio... |
<?php
namespace App;
use App\Notifications\PostCommented;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Support\Facades\Notification;
class User extends Authenticatable
{
use Notifiable;
/**
* The ... |
<?php
/**
* Created by PhpStorm.
* User: LeThanh
* Date: 10/19/2017
* Time: 9:55 PM
*/
namespace App\Repositories\Partners;
use App\Repositories\EloquentRepository;
use App\Partner;
use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\DB;
class PartnerEloquentRepository extends EloquentReposito... |
<div class="modal-body">
<h3 class="c-font-24 c-font-sbold">Good Afternoon!</h3>
<p>Let's make today a great day!</p>
@include('layout.errors')
<form method="post" action="/user/login">
{{csrf_field()}}
<div class="form-group">
<label for="email" class="hide">Email</label>
... |
<header class="main-header">
<!-- Logo -->
<a href="<?php echo base_url(); ?>" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><small><b>SSO</b></small></span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>SSO SYSTEM KPU RI</span>
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categories',... |
<!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>posts</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.... |
<?php
require_once("vendor/autoload.php");
use pizzo90\DHLExpress\Ship;
use pizzo90\DHLExpress\Address;
use pizzo90\DHLExpress\Shipper;
use pizzo90\DHLExpress\Contact;
use pizzo90\DHLExpress\Packages;
use pizzo90\DHLExpress\Recipient;
use pizzo90\DHLExpress\Commodities;
use pizzo90\DHLExpress\Credentials;
use pizzo90\... |
<?php
namespace App\Http\Controllers\Common;
use App\Http\Controllers\Frontend\MainController;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use App\User;
use App\Models\WriterRequest;
class RequestWriterController extends MainController
{
function __construct(){
$this->middlewar... |
<?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
| ... |
<!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.0">
<meta name="description" content="">
<meta name="author" content="">
<title>Daily Activity System - Versio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.