text stringlengths 2 1.03M |
|---|
@extends('layouts.admin-app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Admin Dashboard</div>
<div class="card-body">
@if (session('... |
<footer class="bg-light text-center text-lg-start fixed-bottom">
<!-- Copyright -->
<div class="text-dark text-center" style="background-color: rgba(0, 0, 0, 0.2);">
© 2020 Copyright:
<a class="text-dark" href="https://mdbootstrap.com/">TwiceMerch.com</a>
</div>
<!-- Copyright -->
</footer... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class JenisPelayanan extends Model
{
protected $fillable = ['uuid','kode_jenis', 'jenis'];
protected $hidden = ['id'];
public function pelayanan(){
return $this->HasMany('App\Pelayanan');
}
public function permohonan(){
... |
@extends('layouts.default')
@include('layouts.head')
@include('layouts.headerCompare')
<input type="hidden" id="more_payment_amount_piece" name="more_payment_amount_piece"
value="{{$more_payment_amount_piece}}">
<input type="hidden" id="loan_amount_piece" name="loan_amount_piece"
value="{{$loan_amount... |
<?php
/**
* Service registry API
* User: moyo
* Date: 2018/11/23
* Time: 10:57 AM
*/
namespace Carno\HRPC\Serviced;
use Carno\Net\Address;
use Carno\Promise\Promised;
interface Registry
{
/**
* @param Address $advertise
* @return Promised
*/
public function register(Address $advertise) : ... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/aja... |
{{-- instancio al componente 'app-layout' en App\View\Components\AppLayout.php que renderiza la view 'layouts.app' en view\layouts\app.blade.php --}}
<x-app-layout>
{{-- estilos agregados para que funcione dropzone https://cdnjs.com/libraries/dropzone https://www.dropzonejs.com/--}}
<x-slot name="mi_css">
... |
@extends('layout')
@section('title', 'Cart')
@section('content')
@if(session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
<table id="cart" class="table table-hover table-condensed">
<thead>
<tr>
<th style="... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About</title>
</head>
<!-- Awal CSS -->
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.2/css/bootstrap.css">... |
<?php
namespace App\Http\Controllers;
use App\Models\Receta;
use Illuminate\Support\Str;
use Illuminate\Http\Request;
use App\Models\CategoriaReceta;
class InicioController extends Controller
{
public function index()
{
// Mostrar las recetas por cantidad de votos
// $votadas = Receta::has('l... |
@extends('include_home.main')
@section('page_title')
Profile
@endsection
@section('sidebar')
@include('include_home.lecturer_sidebar')
@endsection
@section('navbar_title')
<ul class="nav navbar-nav navbar-left">
<li class="">
<a href="{{url('/home')}}" class="user-profile dropdown-toggl... |
<?php
if (!defined('ABSPATH')) {
exit();
}
/**
* Trust Payments WooCommerce
*
* This WooCommerce plugin enables to process payments with Trust Payments (https://www.trustpayments.com/).
*
* @author customweb GmbH (http://www.customweb.com/)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software Li... |
<?php
declare(strict_types=1);
/**
* A KnpMenu seasoned menu plugin for CakePHP.
*
* @see https://github.com/icings/menu
*/
namespace Icings\Menu\Integration;
use Knp\Menu\Factory\ExtensionInterface;
use Knp\Menu\ItemInterface;
/**
* An extension that complements the string template renderer functionality.
*/... |
@extends('layouts.admin')
@section('content')
<div class="container font">
<div class="row" style="margin: 5px 4%">
<div class="block-img-attr">
<div class="block-pro-img">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/t-90/test.png" alt="{{ $product->image }}" width="3... |
--TEST--
DateTime::diff() -- dates
--CREDITS--
Daniel Convissor <danielc@php.net>
--FILE--
<?php
require 'examine_diff.inc';
define('PHPT_DATETIME_SHOW', PHPT_DATETIME_SHOW_DIFF);
require 'DateTime_data-dates.inc';
?>
--EXPECT--
test__7: DIFF: 2009-01-14 00:00:00 EST - 2009-01-07 00:00:00 EST = **P+0Y0M7DT0H0M0S**
te... |
<?php
use Kopper\Config;
$config = array(
'global' => array(
'aws.region' => 'us-east-1',
'env.prefix' => 'kopper'
),
'local' => array(
'aws.key' => get_cfg_var('kopper.aws.key'),
'aws.secret' => get_cfg_var('kopper.aws.secret')
)
);
Config::init($config); |
<?php
namespace App;
use Laravel\Passport\HasApiTokens;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use HasApiTokens, Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTopicsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::create('topic... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddHargaNominalToOrders extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('orders', fu... |
<?php
return [
'local' => [
'type' => 'Local',
'root' => storage_path('app'),
],
's3' => [
'type' => 'AwsS3',
'key' => '',
'secret' => '',
'region' => 'us-east-1',
'bucket' => '',
'root' => '',
],
'gcs' => [
'type' => 'Gcs... |
<?php
/**
* 前台示例控制器
*/
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ExampleController extends Controller
{
public function index(){
return laravel_frontend_view('example');
}
} |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Smc\V20190601\Models;
use AlibabaCloud\Tea\Model;
class DescribeReplicationJobsResponse extends Model
{
/**
* @var string[]
*/
public $headers;
/**
* @var DescribeReplicationJobsResponseBody
*/
... |
<?php
// +---------------------------------------------------------------------+
// | OneBase | [ WE CAN DO IT JUST THINK ] |
// +---------------------------------------------------------------------+
// | Licensed | http://www.apache.org/licenses/LICENSE-2.0 ) |
// +----------... |
<?hh
require "connect.inc";
$link = ldap_connect($host, $port);
ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
// Invalid parameter count
var_dump(ldap_sasl_bind());
// Invalid DN
var_dump(ldap_sasl_bind($link, "Invalid DN", $passwd, 'DIGEST-MD5', 'realm', $sasl_user));
// Invalid user
var_du... |
30 mtime=1556801155.660371847
24 SCHILY.fflags=extent |
<?php
namespace Laravel\Dusk\Concerns;
use Facebook\WebDriver\Exception\NoSuchElementException;
use Facebook\WebDriver\Remote\RemoteWebElement;
use Illuminate\Support\Str;
use PHPUnit\Framework\Assert as PHPUnit;
trait MakesAssertions
{
/**
* Indicates the browser has made an assertion about the source code... |
<?php
/**
* Lithium: the most rad php framework
*
* @copyright Copyright 2016, Union of RAD (http://union-of-rad.org)
* @license http://opensource.org/licenses/bsd-license.php The BSD License
*/
namespace lithium\data\source\mongo_db;
use lithium\util\Set;
class Exporter extends \lithium\core\StaticOb... |
@extends('admin_layout')
@section('admin_content')
<ul class="breadcrumb">
<li>
<i class="icon-home"></i>
<a href="index.html">Home</a>
<i class="icon-angle-right"></i>
</li>
<li><a href="#">Majors</a></li>
</ul>
<p class="alert-success">
<?php
$message = Session::ge... |
@extends('layouts.vendor')
@section('styles')
<link href="{{asset('assets/vendor/css/product.css')}}" rel="stylesheet"/>
<link href="{{asset('assets/admin/css/jquery.Jcrop.css')}}" rel="stylesheet"/>
<link href="{{asset('assets/admin/css/Jcrop-style.css')}}" rel="stylesheet"/>
@endsection
@section('content')
<div c... |
<?php # -*- coding: utf-8 -*-
/*
* This file is part of the BrainFaker package.
*
* (c) Giuseppe Mazzapica
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Brain\Faker\Tests\Unit\Provider;
use Br... |
<?php
namespace Gskema\ElasticSearchQueryDSL\ScoreFunction;
use Gskema\ElasticSearchQueryDSL\HasOptionsTrait;
use Gskema\ElasticSearchQueryDSL\Model\Script\ScriptInterface;
/**
* @see https://www.elastic.co/guide/en/elasticsearch/reference/5.6/query-dsl-function-score-query.html#function-script-score
* @see Script... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class ReplyRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the ... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\CouponSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="coupon-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $... |
<?php
namespace Illuminate\Foundation\Console;
use Illuminate\Console\GeneratorCommand;
class EventMakeCommand extends GeneratorCommand
{
/**
* The console command name.
*
* @var string
*/
protected $name = 'make:event';
/**
* The name of the console command.
*
* This ... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use App\Models\Admin\Product;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class ConvertCurrencyMail extends Mailable
{
use Queueable, SerializesModels;
public $products;
public $th... |
<p>We have received your information and your account has been set up.</p>
<p>You can log in at {{ link_to_route('login', 'Login') }} Ready to get started? Purchase credits at
{{ link_to_route('pcredit', 'Purchase Credits') }} </p>
<p>If you have any questions, please contact us at info@thefoldagram.
com. We'r... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<script src='http://code.jquery.com/jquery.js'></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/css/select2.min.css">
<script src='https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/select2.min.css'></script>
<script>
$('#tag_list').select2();
</script> |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</tit... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests\LeaveTypeRequest;
use App\Models\LeaveTypeSetup;
class LeaveTypeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()... |
<?php
$usersession = $this->session->userdata('usersession');
$studentName = $usersession[0]['studentName'];
$studentEmail = $usersession[0]['studentEmail'];
$studentMobile = $usersession[0]['studentMobile'];
$fk_classId = $usersession[0]['studentClass'];
$timestamp = strtotim... |
<!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... |
@extends('templates.mainTemplate')
@section('style')
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="public/css/legals.css">
@endsection
@section... |
<?php
// Web Console v0.9.7 (2016-11-05)
//
// Author: Nickolay Kovalev (http://nickola.ru)
// GitHub: https://github.com/nickola/web-console
// URL: http://web-console.org
// Disable login (don't ask for credentials, be careful)
// Example: $NO_LOGIN = true;
$NO_LOGIN = false;
// Single-user credentials
// Example: ... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpClient\Tests;
use Symfony\Contracts\HttpClient\Te... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Text extends Model
{
public function video(){
return $this->hasOne('App\Models\Upload', 'id', 'video_id');
}
public function getVideoFileName(){
if ($this->video){
return $this->video->filename;
... |
<?php
return array(
'db_host' => 'dbhome.cs.nctu.edu.tw',
'db_user' => 'ywpu_cs',
'db_password' => '',
# DANGER: DO NOT ACCIDENTALLY COMMIT THE PASSWORD ONTO GITHUB!
'db_database' => 'ywpu_cs',
'db_table_prefix' => 'ada2015_',
'db_charset' => 'utf8',
'db_conn_type' => '',
# Set the value to 'p:' for persisten... |
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\Ext... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Profil extends CI_Controller {
public function index()
{
$data['nama_website']="BOOTCAMP 2021";
$data['nama_halaman']="HALAMAN PROFIL";
$this->load->view('header',$data);
$this->load->view('profil');
$th... |
@extends('layout.app')
@section('content')
<div class="container">
<div class="row pt-3">
<div class="col-md-12">
<div class="card shadow">
<div class="card-header cardB ">
<div class="row">
<div class="col-m... |
<?php
include 'header.php';
?>
<div class="container-fluid">
<div class="panel">
<div class="panel-heading">
<h4>Data Kegiatan Belajar Mengajar</h4>
</div>
</div>
</div>
<?php
include 'footer.php';
?> |
<?php return unserialize('a:2:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Entity":2:{s:15:"repositoryClass";N;s:8:"readOnly";b:0;}i:1;O:26:"Doctrine\\ORM\\Mapping\\Table":5:{s:4:"name";s:9:"blog_user";s:6:"schema";N;s:7:"indexes";N;s:17:"uniqueConstraints";N;s:7:"options";a:0:{}}}'); |
<!-- Filter -->
<form method="get" class="report-filter">
<div class="row">
<div class="col-sm-4 col-lg-2">
<div class="form-group">
<label for="from">Từ:</label>
<input type="date" class="form-control" name="from" value="<?php echo $from; ?>">
</div>
<div class="for... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\CreateProductRequest;
use App\Models\Product;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class ProductController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddOrdersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('orders', function (... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Requests\Issue\DeleteIssueRequest;
use App\Http\Requests\Issue\GetIssueRequest;
use App\Http\Requests\Issue\UpdateIssueRequest;
use App\Services\Api\IssuesService;
use App\Http\Controllers\Controller;
use App\Services\Api\ProjectIssuesService;
use Illuminate\Http... |
<?php
namespace app\index\controller;
use think\Controller;
use think\Request;
use think\Session;
use think\Cookie;
class Login extends Controller {
public function login(){
if(Session::has("uid")){
return $this->redirect("index/index/index");
}
$data = Cookie::get("login... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\ProductCategory;
use App\ProductName;
use App\ShopInformation;
use App\Category;
use Carbon\Carbon;
use Auth;
class ProductNameController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate... |
<?php
/**
* East Foundation.
*
* LICENSE
*
* This source file is subject to the MIT license
* license that are bundled with this package in the folder licences
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to richarddeloge@gmail.... |
<?php $__env->startComponent('mail::message'); ?>
<?php if(! empty($greeting)): ?>
# <?php echo e($greeting); ?>
<?php else: ?>
<?php if($level === 'error'): ?>
# <?php echo app('translator')->get('Whoops!'); ?>
<?php else: ?>
# <?php echo app('translator')->get('Hello!'); ?>
<?php endif; ?>
<?php endif; ?>
<?php $... |
<?php
/**
* This is the model class for table "dd_category".
*
* The followings are the available columns in table 'dd_category':
* @property string $Id
* @property string $Name
* @property string $Url
* @property string $Parent
* @property string $Active
*
* The followings are the available model relations:... |
<?php
include('../infusionsoft.php');
include('../tests/testUtils.php');
?>
<html>
<body>
<form method="post">
ContactId: <input type="text" name="ContactId" value="<?php if(isset($_POST['ContactId'])) echo $_POST['ContactId']; ?>"><br/>
<input type="submit"/>
</form>
<?php
if(isset($_... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\BackendController;
use App\Http\Controllers\IndexController;
use App\Http\Controllers\BackendMonedaController;
/*
|--------------------------------------------------------------------------
| Web Routes
|---------------------------------------------... |
<div class="container-fluid">
<section class="banner-section hidden-xs">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" c... |
@extends('layouts.frontend.app')
@section('title', 'Features')
@section('css')
@endsection
@section('content')
<div class="row">
<div class="col-md-12">
<h2 class="page-head-line">Components</h2>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
/**
* Front page condensed blog posts loop
*
* @package Auberge
* @copyright WebMan Design, Oliver Juhas
*
* @since 1.0
* @version 2.0
*/
/**
* Helper variables
*/
$auberge_blog_condensed = new WP_Query( apply_filters( 'wmhook_loop_blog_condensed_query', array(
'post_type' =>... |
@extends('layouts.app')
@section('title', 'Register')
@section('content')
<div class="block mx-auto my-12 p-8 bg-white w-1/3 border border-gray-200 rounded-lg shadow-lg">
<h1 class="text-3xl text-center font-bold">Register</h1>
<form class="mt-4" method="POST" action="">
@cs... |
<?php
/*
* app/validators.php
*/
Validator::extend('alpha_spaces', function($attribute, $value)
{
return preg_match('/^[\pL\s]+$/u', $value);
});
Validator::extend('alpha_num_dashes', function($attribute, $value)
{
return preg_match('/^[ \w<>-]+$/', $value);
}); // \w is A-Za-z0-9_ |
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title></title>
</head>
<body>
<center><h3>RELATÓRIO DE APOSTAS x PARTIDAS</h3></center>
<table>
<thead>
<tr>
<th>SEQ</th>
<th>Data</th>
<th>Vendedo... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Sale extends Model
{
use HasFactory;
protected $fillable = ['total','items','cash','change','status','user_id','cliente_id'];
public function user()
{
return $thi... |
<?php
/**
* @apiGroup Message
* @apiName deleteMessage
*
* @api {DELETE} /v1/thread/:thread_id/messages/:id Endpoint title here..
* @apiDescription Endpoint description here..
*
* @apiVersion 1.0.0
* @apiPermission none
*
* @apiParam {String} pa... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Carbon\Carbon;
use App\Model\Book;
use Validator;
use Set;
use Up;
use Form;
// Auto Controller Maker By Baboon Script
// Baboon Maker has been Created And Developed By [It V 1.2 | https://it.phpanonymous.c... |
<?php
namespace Basico\Auth;
use Zend\Authentication\Adapter\AdapterInterface,
Zend\Authentication\Result;
use Doctrine\ORM\EntityManager;
class Adapter implements AdapterInterface {
/**
* @var EntitiManager
*/
protected $_em;
protected $username;
protected $password;
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class Temas extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
DB::table('temas')->insert([
'tipo' => '1',
... |
<?php
require_once __DIR__ . 'vendor/autoload.php'; |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Thế Giới Số</title>
<script src="<?php echo public_url(); ?>js/v... |
@extends('frontend.layouts.master')
@section('content')
<div class="pg-opt">
<div class="container">
<div class="row">
<div class="col-md-6">
<h2>Sign in</h2>
</div>
<div class="col-md-6">
<ol class="breadcrumb"... |
@extends('layouts.master')
@section('title', 'Notes Management')
@section('content')
<section id="hero" class="d-flex align-items-center">
<div class="container">
<div class="row">
<div class="col-lg-6 d-flex flex-column justify-content-center pt-4 pt-lg-0 order-2 order-lg-1"
... |
<?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 common\components;
use yii\base\Object;
class SortList extends Object {
public $data;
public $prefix = '--';
protected function getPath($category_id, $prefix = false)
{
foreach ($this->data as $item)
{
if ($category_id == $item['id'])
{
... |
<?php
namespace App\Http\Controllers\api\v1;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Model\album_data;
use App\Model\zan_data;
use App\Model\comment_data;
use App\Http\Requests;
use DB;
use Illuminate\Support\Facades;
class CommentController extends Controller
{
//
public f... |
<?php
namespace App\Http\Controllers;
use App\Models\Project;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Sh... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\models\UsuarioSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Usuarios';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="usuario-index">
<h1><?= Html::encode($th... |
<?php
namespace metastore;
/**
* Autogenerated by Thrift Compiler (0.16.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
use Thrift\Base\TBase;
use Thrift\Type\TType;
use Thrift\Type\TMessageType;
use Thrift\Exception\TException;
use Thrift\Exception\TProtocolException;
use... |
<?php
/*
Home/catch-all template
*/
get_header();
?>
<div class="content-wide" role="main">
<?php
if ( is_search() ) {
?><h1 class="post-title">Search Results for <span>'<?php print $_REQUEST["s"]; ?>'</span></h1><?php
} else {
?><h1 class="post-title">Our Blog</h1><?php
}
if ( have_posts() ) :
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateQuizzesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('quizzes', funct... |
<?php
namespace Cimply\Core\Gui\Elements
{
/**
* Button short summary.
*
* Button description.
*
* @version 1.0
* @author MikeCorner
*/
use Cimply\Core\Document\Dom;
class Radio extends Dom
{
public function __construct($domElem, $name = null, $attr = []) {
foreach($attr as $va... |
<?php
namespace GoetasWebservices\Client\SalesforceEnterprise\Sobject;
/**
* Class representing AttachmentType
*
*
* XSD Type: Attachment
*/
class AttachmentType extends SObjectType
{
/**
* @property mixed $body
*/
private $body = null;
/**
* @property int $bodyLength
*/
pri... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class City extends Model
{
use HasFactory;
protected $table="cities";
} |
<?php
/*
* This file is part of the Symfony CMF package.
*
* (c) 2011-2014 Symfony CMF
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Cmf\Bundle\RoutingBundle;
use Doctrine\Bundle\PHPCRBundle\DependencyInjecti... |
<?php
namespace App\Http\Livewire\Admin\Branch;
use Livewire\Component;
use App\Models\Branch;
use App\Models\User;
class Add extends Component
{
public $role_id;
public $branch_name;
public $branch_email;
public $branch_address;
public $branch_phone;
public $branch_city;
public $branch_pi... |
<?php
namespace App\Models;
use Backpack\CRUD\app\Models\Traits\CrudTrait;
use Illuminate\Database\Eloquent\Model;
class Categorie extends Model
{
use CrudTrait;
/*
|--------------------------------------------------------------------------
| GLOBAL VARIABLES
|-----------------------------------... |
<!DOCTYPE html>
<html lang="zxx">
<head>
<!-- Meta Tag -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name='copyright' content='pavilan'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-... |
<?php
namespace Cupon\OfertaBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
/** @test */
public function laPortadaSimpleRedirigeAUnaCiudad()
{
$client = static::createClient();
$client->followRedirects(true);
$crawler = $client-... |
<!-- START @HEADER -->
<header id="header">
<!-- Start header left -->
<div class="header-left">
<!-- Start offcanvas left: This menu will take position at the top of template header (mobile only). Make sure that only #header have the `position: relative`, or it may cause unwanted behavior -->
... |
<?php declare(strict_types=1);
namespace App\Service\Worklog;
class WorklogItemDto
{
public $name;
public $duration;
public $durationFormatted;
public $content;
public $taskType;
public $taskId;
} |
<?php
// Export Riwayat SK Pegawai to Excel
use App\Http\Controllers\Admin\PembaruanSKController;
use App\Http\Controllers\FileController;
Route::get('riwayat-sk/{id_pegawai}/export', [PembaruanSKController::class, "exportRiwayatSK"]);
// Cetak Riwayat SK
Route::get('print-riwayat-sk/{id_pegawai}', [FileController:... |
<?php
declare(strict_types=1);
namespace Doctrine\Inflector;
use Doctrine\Inflector\Rules\Ruleset;
use function array_merge;
/**
* Inflects based on multiple rulesets.
*
* Rules:
* - If the word matches any uninflected word pattern, it is not inflected
* - The first ruleset that returns a diffe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.