text stringlengths 2 1.03M |
|---|
<?php
/*
**************************************************************************************************************************
** CORAL Usage Statistics Module
**
** Copyright (c) 2010 University of Notre Dame
**
** This file is part of CORAL.
**
** CORAL is free software: you can redistribute it and/or modify it ... |
<head>
<title>productCart Demo</title>
<link href="{{ asset('/css/style.css') }}" rel="stylesheet" type="text/css" media="all" />
<link rel="stylesheet" href="{{ asset('/css/chocolat.css') }}" type="text/css" media="screen" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<m... |
<?php
/**
* This source file is part of the open source project
* ExpressionEngine (https://expressionengine.com)
*
* @link https://expressionengine.com/
* @copyright Copyright (c) 2003-2018, EllisLab, Inc. (https://ellislab.com)
* @license https://expressionengine.com/license Licensed under Apache License... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
@if(Session::has('flash_message'))
<p class="alert alert-success text-center... |
<?php
namespace Behat\Behat\Definition\Annotation;
/*
* This file is part of the Behat.
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Then type step definition.
*
* @aut... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\models\PrerrequisitosSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Prerrequisitos';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="prerrequisitos-index">
<h1>... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
@extends('layouts.app')
@section('content')
<form method="POST" action="{{ route('posts.update', ['post' => $post->id]) }}" enctype="multipart/form-data">
@csrf
@method('PUT')
@include('posts._form')
<button type="submit" class="btn btn-primary btn-block">Update!</button>
</fo... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\models\Post */
$this->title = $model->name_post;
$this->params['breadcrumbs'][] = ['label' => 'Bài Viết', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="post-view">
<h... |
@section('tables')
<div class="table-1">
<div class="item item-1"><i class="fas fa-clock"></i></div>
<div class="item item-2">15'</div>
<div class="item item-3">30'</div>
<div class="item item-4">45'</div>
... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class SendMailable extends Mailable
{
use Queueable, SerializesModels;
public $name;
/**
* Create a new message instance.
*
... |
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200812205808 extends AbstractMigration
{
public function getDescription() : string
{... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class BeveragesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('beverages')->insert([[
'id_locale' => '5',
'no... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
@extends('layouts.eballot')
@section('pageTitle', 'Positions')
@section('content')
<div class="content ">
<div class="container info_page">
<div class="row">
<div class="col-12">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Home</a>
</l... |
@extends('layout.index')
@section('title')
Thêm Nhân Viên
@endsection
@section('content-header')
<section class="content-header">
<h1>
Thêm Nhân Viên
</h1>
<ol class="breadcrumb">
<li><a href="../"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Danh Mục</li>
... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<?=$main_title?>
<small>Control panel</small>
</h1>
<ol class="breadcrumb">
<!-- <button id="simpan">Simpan</butto... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
namespace Nicklas\Comment\Modules;
/**
* A database driven model.
*/
class Question extends ActiveRecordModelExtender
{
/**
* @var string $tableName name of the database table.
*/
protected $tableName = "coffee_questions";
/**
* Columns in the table.
*
* @var integer... |
<!--////////////////////////////////////Footer-->
<footer class="zerogrid">
<div class="wrap-footer">
<div class="row">
<div class="col-1-3">
<div class="wrap-col">
<h4>Customer Testimonials</h4>
<div class="row">
<img src="zfood/images/a-1.jpg">
<h5>Nick Roach</h5>
<p>Pellentesque... |
<!DOCTYPE html>
<html>
<head>
<title>Routes list @if(config('app.name'))| {{ config('app.name') }}@endif</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.3/css/bootstrap.min.css" integrity="sha384-MIwDKRSSImVFAZCVLtU0LMDdON6KVCrZHyVQQj6e8wIEJkW4tvwqXrbMIya1vriY" crossor... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed... |
@extends('layouts.master')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h1>My Profile</h1>
<hr>
<h3>My Orders</h3>
@foreach($orders as $order)
<div class="panel panel-default">
<div class="pan... |
<?php
namespace KHerGe\Bundle\UuidBundle\DependencyInjection\Configuration\Builder;
use Symfony\Component\Config\Definition\Builder\NodeBuilder;
/**
* Adds definitions for the `DegradedUuidBulider`.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class DegradedUuidBuilder
{
/**
* Adds the definitions.
... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Pesquisas;
/**
* LogDeBuscasSearch represents the model behind the search form about `app\models\LogDeBuscas`.
*/
class PesquisasSearch extends Pesquisas
{
/**
* @inheritdoc
*/
public function... |
<?php
include "../connector/database.php";
include "../connector/salesRecord.php";
include "../connector/recordDetail.php";
include "../connector/export-csv.php";
$db = (new Database())->getConnection();
$sr = new SalesRecord($db);
$srd = new SaleRecordDetails($db);
$startDate = $_GE... |
<table class="table">
<h4>Tour Price</h4>
<thead>
<tr>
<th><i class='fa fa-money'></i> Customer Type</th>
<th><i class='fa fa-money'></i> Room Type</th>
<th><i class='fa fa-money'></i> Basic Price</th>
<th><i class='fa fa-money'></i> Sell Price</th>
<th><i class='fa f... |
<div class="site-section" id="about-section">
<div class="container">
<div>
<div class="col-12 mb-5 position-relative">
<h2 class="col-12 text-color-primary titulos-class text-center mb-2">¿Quién es Mauricio Costanzo?</h2>
<h3 class="col-12 text-color-primary text-bold... |
<?php
namespace App\Http\Controllers;
use App\User;
use App\department;
use App\patient;
use App\patienthistory;
use App\band;
use Carbon;
use Mail;
use DB;
use departmentrel;
use App\o2;
use App\heartRate;
use App\temp;
use Charts;
use Sentinel;
use App\bloodPressure;
use Illuminate\Http\Request;
class patienttime... |
<?php namespace Bantenprov\DaftarRetribusi\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* The DaftarRetribusiModel class.
*
* @package Bantenprov\DaftarRetribusi
* @author bantenporv <developer.bantenprov@gmail.com>
*/
class DaftarRetribusiModel extends Model... |
<?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... |
<div>
<h1 class="titulo_corpo" Align="center">Aviso</h1>
<div class="mensagem_aviso">
<?php
$p_id = $_POST['hidid'];
$p_frete = $_POST['txtfrete'];
$p_ipi = $_POST['txtipi'];
$p_st = $_POST['txtst'];
$p_despesas = $_POST['txtdespesas'];
$p_marge... |
<?php
namespace Pinq\Tests\Integration\Traversable;
class MutableTraversableSemanticsTest extends TraversableTest
{
/**
* @dataProvider oneToTen
*/
public function testThatQueryUpdatesWhenValuesAreMutated(\Pinq\ITraversable $traversable, array $data)
{
$mutableValues = new \ArrayObject([... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class TeklifIcerik extends Model
{
//
protected $guarded = [];
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Client;
use App\Models\Appointments;
use App\Models\TodayAppointment;
use App\Models\OutcomeReport;
use App\Models\MessageExtract;
use App\Models\UserReport;
use App\Models\Summary;
use App\Models\MonthlyApp;
use App\Models\Partner;
us... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class CommentSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\Comment::factory()->count(80)->create();
}
} |
<?php
namespace App\Http\Controllers\Auth;
use Auth;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class TeachersLoginController extends Controller
{
/**
* middleware
*/
public function __construct()
{
$this->middleware('guest:teachers');
}
/**
* display the login form for ... |
<?php
namespace CrixuAMG\Financials\Exact;
/**
* Class DivisionClassName.
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=HRMDivisionClassNames
*
* @property string $ID Primary key
* @property string $Created Creation date
* @property string $Creator User ID of creator
* @prope... |
@extends('adminlte::page')
@section('css')
<link rel="stylesheet" href="{{ asset('vendor/fontawesome-free/css/all.css') }}">
@stop
@section('title')
@section('content_header')
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">Perfil</h1>
</div><!-- /.col -->
<div class="col-... |
<?php
use Illuminate\Http\Request;
use App\Craving;
use App\Http\Resources\CravingsResourceCollection;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes ... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//parsedow for html markdown
// $this->app->singleton(Par... |
<?php
namespace Database\Seeders;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Seeder;
class BrandSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('brands')->insert([
[
'b_name'... |
<?php
/**
* Created by PhpStorm.
* User: mint
* Date: 10/26/18
* Time: 11:28 AM
*/
namespace backend\models;
class Queries{
public static function getSql($key){
$sql = ["moderators" => "SELECT su.id, su.first_name, su.last_name, su.last_edit, su.phone,
gro... |
@if(count($users) > 0)
<ul class="media-list">
@foreach ($users as $user)
<li class="media">
<div class="media-left">
<img class="media-object img-rounded" src="{{ Gravatar::src($user->email, 50)}}" alt="">
</div>
<div class="media-body">
<div>
... |
<x-emoji-icon-emoji :name="'japaneseSymbolForBeginner'" {{ $attributes }} /> |
<?php
namespace App\Http\Controllers\Category;
use App\Category;
use Illuminate\Http\Request;
use App\Http\Controllers\ApiController;
class CategoryTransationController extends ApiController
{
public function __construct(){
parent::__construct();
}
/**
* Display a listing of the resource.
... |
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Product : ') }} {{ $product->name }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="shadow-lg rounded-... |
<?php
$name='DejaVuSansMono';
$type='TTF';
$desc=array (
'Ascent' => 928,
'Descent' => -236,
'CapHeight' => 928,
'Flags' => 5,
'FontBBox' => '[-558 -375 718 1042]',
'ItalicAngle' => 0,
'StemV' => 87,
'MissingWidth' => 602,
);
$up=-63;
$ut=44;
$ttffile='D:/xampp/htdocs/notadinas/application/third_party/m... |
@extends('layouts.layout')
@section('header')
<h2>Prodotti alimentari:</h2>
@if(!empty($id))
<div>
Hai cancellato il record {{$id}}
</div>
@endif
@endsection
@section('main')
@foreach ($products as $product)
<ul>
<li>ID: {{$product ->id}}</li>
... |
<!--Mark this question as favorite-->
<a title="Click to mark as favorit question (click again to undo)"
class="{{Auth::guest() ? 'off' : ($model->is_favorited ? 'favorited' : '')}} mt-2"
onclick="event.preventDefault(); document.getElementById('favorite-question-{{$model->id}}').submit()">
<i class="fas fa-star fa... |
<?php
/*
* Copyright 2021 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
<?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.quiz')
@section('content')
<div>
<?php
$servername = 'localhost';
$username = 'interactive';
$password = 'g]JX&~id.LBW';
$dbname = 'interactive';
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
//... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Http\Requests\DataDasar\AkunRequest;
use App\Repositories\DataDasar\SSHRepository;
use App\Repositories\DataDasar\AkunRepository;
use App\Repositories\DataDasar\KategoriAkunRepository;
use App\Reposit... |
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pagina a</title>
</head>
<body>
<p>ETEC DE ITAQUAQUECETUBA </p>
<?php
echo'<p>';
include_once "b.php"; // inclui na página // não trava a... |
<!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">
<meta name="csrf-token" content="{{ csrf_token() }}">
<script src="{{ asset('js/app.js') }}" defer></script>
... |
<?php
/**
* Copyright (c) 2016-present Ganbaro Digital Ltd
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* ... |
<?php
namespace frontend\controllers;
use common\models\ServerSentEvent;
use Predis\Client;
use yii\filters\AccessControl;
use yii\filters\VerbFilter;
use yii\web\Controller;
use yii\web\Response;
class SseController extends Controller
{
/**
* @inheritdoc
*/
public function behaviors()
{
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class GregHijriActual extends Model
{
use HasFactory;
protected $guarded = ['id'];
} |
<?php
namespace App\Policies;
use App\User;
use App\Post;
use Illuminate\Auth\Access\HandlesAuthorization;
class PostPolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can view the post.
*
* @param \App\User $user
* @param \App\Post $post
* @return mixed
*/
p... |
<?php $__env->startSection('content'); ?>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto">
<a href=" <?php echo e(route('addcategory')); ?> " class="btn btn-success">Add Category</a>
<a href=" <?php echo e(route('allcategory')); ?> " class="btn btn-info">All... |
<?php
namespace App\View\Components\faqmanagement;
use Illuminate\View\Component;
class edit extends Component
{
/**
* Create a new component instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the compo... |
<?php
require_once "dbhelper.php";
session_start();
$addnum = $_POST['hcnum'];
$conn = connect_db();
$stmt = $conn->query("SELECT * FROM hc");
$row = $stmt->fetch_assoc() or die('ROW NOT FOUND');
$k = $row['bihc'];
$addnum--;
$k = $k | (1 << $addnum);
if($stmt->fetch_assoc()){
die('TOO MANY IDs'... |
<?php
/**
* @author Anton Terekhov <anton@netmonsters.ru>
* @copyright Copyright Anton Terekhov, NetMonsters LLC, 2011
* @license https://github.com/AntonTerekhov/OrientDB-PHP/blob/master/LICENSE
* @link https://github.com/AntonTerekhov/OrientDB-PHP
* @package OrientDB-PHP
*/
require_once 'OrientDB/OrientDB.php... |
<?php
namespace Database\Factories;
use App\Models\Users;
use Illuminate\Database\Eloquent\Factories\Factory;
class UsersFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Users::class;
/**
* Define the model's de... |
<?php
namespace codigowww\multilingual\widgets;
use Yii;
use codigowww\multilingual\widgets\FormLanguageSwitcher;
use codigowww\multilingual\containers\MultilingualFieldContainer;
/**
* Multilingual ActiveForm
*/
class ActiveForm extends \yii\bootstrap\ActiveForm
{
/**
* @var string the default field clas... |
<?php
/** Error reporting */
error_reporting(E_ALL);
/** Include PHPExcel */
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
// Create new PHPExcel object
// echo date('H:i:s') , " Create new PHPExcel object" , PHP_EOL;
$objPHPExcel = new PHPExcel();
// Set document properties
// echo date('H:i:s') , ... |
<?php
/**
* Migration genrated using LaraAdmin
* Help: http://laraadmin.com
*/
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Dwij\Laraadmin\Models\Module;
class CreateBuyCreditsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
... |
<?php
namespace Icarus\Worker;
use Nette\DI\Container;
class WorkerFactory
{
/**
* @var Container
*/
private $container;
public function __construct(Container $container)
{
$this->container = $container;
}
public function createWorker(string $class, IWorkerInput $a... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateBalancesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('balances', fun... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
protected $guarded = [];
protected $appends = ['status_label'];
public function district()
{
return $this->belongsTo(District::class);
}
public function getStatusLabelAttribute()
{
... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Http\Requests\Auth\LoginRequest;
use Illuminate\Contracts\View\View;
use Illuminate\Http\RedirectResponse;
use Illuminate\Support\Facades\Auth;
class LoginController extends Controller
{
/**
* @return View
*/
pu... |
<?php
/**
* LogsApi
* PHP version 5
*
* @category Class
* @package TransferZero
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* TransferZero API
*
* Reference documentation for the TransferZero API V1
*
* OpenAPI spec version: 1.0
*
* Generated by: https://openap... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class location_model extends CI_Model {
private $tbl_name = "room";
function create_get($data){
$this->db->trans_start();
$this->db->insert('room', $data);
$this->db->trans_complete();
$result = $this->db-... |
<?php
namespace App\Models\Inventaris;
use CodeIgniter\Model;
class PengembalianModel extends Model
{
protected $table = 'pengembalian';
protected $useTimestamp = 'true';
// protected $allowedFields = ['nama', 'telepon'];
// public function search($keyword)
// {
// return ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSettlementsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('settlements... |
<?php
use mvc\translator\translatorClass AS translator ?>
<?php
use mvc\config\configClass as config ?>
<?php
use mvc\i18n\i18nClass ?>
<?php
use mvc\session\sessionClass as session ?>
<?php $id = loteTableClass::ID ?>
<?php $nlote = loteTableClass::LOTE ?>
<?php $fEntradaG = loteTableClass::FECHA_ENTRADA_GRANJA ?>
<... |
<?php
return [
/*
|--------------------------------------------------------------------------
| View to Bind JavaScript Vars To
|--------------------------------------------------------------------------
|
| Set this value to the name of the view (or partial) that
| you want to prepend all... |
<?php
// Bootstrap the framework DO NOT edit this
require COREPATH.'bootstrap.php';
\Autoloader::add_classes(array(
// Add classes you want to override here
// Example: 'View' => APPPATH.'classes/view.php',
));
// Register the autoloader
\Autoloader::register();
/**
* Your environment. Can be set to any of the f... |
@extends('layouts.second_layout.app')
@section('header')
<link rel="stylesheet" href="/css/app.css">
<style>
input {
color: black;
border-color: red;
}
.black {
color: black;
border-color: red;
}
</style>
@endsection
@section... |
<?php
use Illuminate\Database\Seeder;
class SurveyTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->survey1();
$this->survey2();
$this->survey3();
}
/**
* Create and seed survey 1.
*/... |
<?php
require_once 'Zend/Form.php';
//require_once 'Zend/Form/Element/Text.php';
class FKK_RegisterUserForm extends Zend_Form {
public function init() {
/* Set the action and method. The action is generated using the view's url helper */
$displayName = new FKK_FormElementText('displayName');
... |
@extends('admin.master')
@section('main')
{{-- {{dd($categories)}} --}}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row ... |
@extends('layouts.principal')
@section('title','Início')
@section('path','Início')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">Início</div>
<div class="panel-body">
<form class="f... |
<script src="{{ asset('js/jquery-3.4.1.slim.min.js') }}" ></script>
<script src="{{ asset('js/popper.min.js') }}"></script>
<script src="{{ asset('js/bootstrap.min.js') }}"></script> |
<?php
/**
* Created by PhpStorm.
* User: wangwujun
* Date: 2018/3/18
* Time: 下午4:03
*/
namespace App\Service\Upload;
use App\Service\Foundation\BaseService;
use Illuminate\Support\Facades\Storage;
class UploadService extends BaseService
{
public function __construct()
{
parent::__construct();
... |
<?php
/**
* This file is part of the CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
// Log language settings
return [
'invalidLogLevel' => '{0} ... |
<?php get_header();
global $a;
global $wp_query;
if(is_singular()) {
if(have_posts()) : while(have_posts()) : the_post();
get_template_part('loop', 'single');
endwhile; else :
get_template_part('shared/loop', 'error');
endif;
} else {
if(have_posts()) :
get_template_part('shared/archive-title');
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Create New Stock</div>
<div class="panel-body">
... |
<?php
namespace Doctrine\Tests\Common\Annotations;
use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\FileCacheReader;
class FileCacheReaderTest extends AbstractReaderTest
{
private $cacheDir;
protected function getReader()
{
$this->cacheDir = sys_get_temp_dir(... |
<?php
namespace App\Repositories\Eloquent;
abstract class AbstractRepository
{
protected $model;
function __construct()
{
$this->model=$this->resolveModel();
}
protected function resolveModel()
{
return app($this->model);
}
public function all(){
return $th... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!-- Main Slider Section -->
<section id="slider">
<div class="tp-banner-container">
<div class="tp-banner">
<ul>
<li class="tp-revslider-slidesli active-revslide current-sr-slide-visible" data-slotamoun... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Ref439 extends MY_Controller {
public function __construct() {
parent::__construct();
$this->table = 'ref439';
$this->nameId = 'Id';
}
public function get($Id = '', $date = ''){
parent::get($Id, $date);
}
public... |
<?php
/**
* @package legacyRender
* @version $Id: BannerclientFilterForm.class.php,v 1.1 2007/05/15 02:34:40 minahito Exp $
*/
if (!defined('XOOPS_ROOT_PATH')) {
exit();
}
require_once XOOPS_MODULE_PATH . "/legacyRender/class/AbstractFilterForm.class.php";
define('BANNERCLIENT_SORT_KEY_CID', 1);
define('BANNE... |
<?php
/*
* This file is part of the Comparator package.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SebastianBergmann\Comparator;
/**
* Compares PHPUnit_Framework_M... |
<?php
/**
* Created by PhpStorm.
* User: HP
* Date: 01/09/2019
* Time: 7:00 PM
*/
class M_Stuff extends CI_Model
{
function __construct()
{
parent::__construct();
}
function add($data)
{
$this->db->insert('t_barang',$data);
}
function get_data_brg($id){
$this->db... |
<?php
/**
* BoxBilling.
*
* @copyright BoxBilling, Inc (https://www.boxbilling.org)
* @license Apache-2.0
*
* Copyright BoxBilling, Inc
* This source file is subject to the Apache-2.0 License that is bundled
* with this source code in the file LICENSE
*/
namespace Box\Mod\Extension\Api;
/**
* Extensions.
... |
<?php
namespace Covery\Client\Transport;
use Covery\Client\TransportInterface;
use Psr\Http\Message\RequestInterface;
/**
* Class WithCustomHost
*
* Special transport implementation, that allows replacement
* of Covery hostname
*
* @package Covery\Client\Transport
*/
class WithCustomHost implements TransportI... |
@section('title'){{ $data->title }}@endsection
@section('meta')
@if ($data->hasDescription())
<meta name="description" content="{{ $data->description }}">
@endif
@if ($data->hasKeywords())
<meta name="keywords" content="{{ $data->keywords }}">
@endif
@endsection |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.