text
stringlengths
2
1.03M
<?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...
<?php /* * Copyright 2019 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 // Author: Tiffany Kalin // Contact: Lisa Wald if (!isset($TEMPLATE)) { $TITLE = 'Publications - Open-File Reports, Bulletins, Circulars'; $NAVIGATION = true; include 'template.inc.php'; include_once '/etc/puppet/EHPServer.class.php'; } echo '<figure class="...
<?php namespace App\Http\Livewire; use App\Models\CartProduct; use Livewire\Component; class AddToCart extends Component { public $product; public function addToCart(){ $cartProduct = new CartProduct($this->product->id,1); $this->emit('addToCart',$cartProduct); } public funct...
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use App\Models\Reply; class TopicReplied extends Notification { use Queueable; public $reply; public...
<!DOCTYPE html> <html> <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 href="/css/app.css" rel="stylesheet"> </head> <body> <div id="test"> <app /> </app> <side /> </side> <test...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <link rel="shortcut icon" href="{baseUrl}assets/ico/favicon.png"> <ti...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class NewsEventSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // } }
<!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>Placidway</title> <!-- Scripts --> ...
<?php //============================================================+ // File name : example_048.php // Begin : 2009-03-20 // Last Update : 2013-05-14 // // Description : Example 048 for TCPDF class // HTML tables and table headers // // Author: Nicola Asuni // // (c) Copyright: // N...
@extends('plantillageneral.plantillageneral') @section('titulo') Orden de Merito @endsection @section('content') <div class="bg-white w-full rounded-lg shadow-xl"> <div class="pt-2"> @include('components.alert-messages') </div> <div class="md:grid md:grid-cols-2 hover:text-blue-900 md:spac...
<?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 use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTableRealStatePhotos extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('real_st...
<div class="modal-quick-view modal fade" id="quick-view" tabindex="-1"> <div class="modal-dialog modal-xl"> <div class="modal-content" id="quick-view-modal"> </div> </div> </div>
<?php require_once('common/header.php'); ?> <section role="main" id="dashboard"> <div class="container-fluid"> <div class="row row-1"> <div class="col-xs-12 col-lg-4"> <div class="row"> <div class="col-sm-6 col-lg-12"> <div id="number-of-games-box" class="box"> ...
<?php namespace Bordeux\SchemaOrg\Thing\Action\UpdateAction; /** * Generated by bordeux/schema * * @author Krzysztof Bednarczyk <schema@bordeux.net> * @link http://schema.org/DeleteAction * * * */ class DeleteAction extends \Bordeux\SchemaOrg\Thing\Action\UpdateAction { }
<?php /** * This file is part of the GraphAware Neo4j Common package. * * (c) GraphAware Limited <http://graphaware.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace GraphAware\Common\Result; abstract class Abstract...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Dashboard') }}</div> <h1>semester--- page</h1> ...
<?php $subtotal = 0; // $total = 0; $jml = 0; $kd = $this->session->userdata('kdpesan'); ?> <div class="col-md-12"> <div class="card card-primary"> <div class="card-header"> <h3 class="card-title">Pesan Jeruk Petani</h3> </div> <!-- /.card-header --> <div class="card-bo...
<?php namespace tests\functional; use tests\models\Order; use tests\models\Product; use Nqxcode\LuceneSearch\Support\Collection; class CollectionTest extends BaseTestCase { /** @var Product[]|\Illuminate\Database\Eloquent\Collection */ private $productExisted; /** @var Product */ private $productNotFi...
<?php include("../db.php"); $excel_file = $_FILES["excel_file"]["name"]; $file_name = "./../upload/".$excel_file; if(file_exists($file_name) ) { unlink($file_name); move_uploaded_file($_FILES["excel_file"]["tmp_name"],$file_name ); echo "<p style='tex...
<?php namespace UUP\Exchange\Types; class SidAndAttributesType { /** * @var string $SecurityIdentifier */ protected $SecurityIdentifier = null; /** * @var int $Attributes */ protected $Attributes = null; /** * @param string $Securi...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Section extends Model { public function state() { return $this->belongsTo(State::class, 'state_id'); } public function createdUser() { return $this->belongsTo(User::class, 'created_user_id'); } public fun...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateNotificationsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('notificat...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="shortcut icon" href="https://fuerzainclusiva.com/Views/assets/images/favicon-fuerza.png" type="image/x-icon"> <title>.:: FUERZA INCLUSIVA ::.</title> <meta name="csrf-toke...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Level_model extends CI_Model { public $table = 'level'; public $id = 'id'; public $order = 'DESC'; function __construct() { parent::__construct(); } // get all function get_all() { ...
<main role="main" class="container"> <?php $this->load->view('layouts/_alert') ?> <div class="row"> <div class="col-md-8 mx-auto"> <div class="card mb-3"> <div class="card-header"> Formulir Registrasi </div> <div class="card-body"> <?= form_open('register', ['method' => 'POST']) ?> ...
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\ConfigurableProduct\Helper; use Magento\Catalog\Model\Product; /** * Class Data * Helper class for getting options * */ class Data { /** * Catalog Image Helper * ...
@extends('layouts.admin.master') @section('title')Product {{ $title }} @endsection @push('css') <link rel="stylesheet" type="text/css" href="{{asset('assets/css/select2.css')}}"> <link rel="stylesheet" type="text/css" href="{{asset('assets/css/owlcarousel.css')}}"> <link rel="stylesheet" type="text/css" href="{{asse...
<?php /* forms/fields/ignore/ignore.html.twig */ class __TwigTemplate_dad856f71a0131a2f4de3c455c003e20a1d5c6b19333bb3c3958b0cc46bed376 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<div> <div class="section-title-01 honmob"> <div class="bg_parallax image_02_parallax"></div> <div class="opacy_bg_02"> <div class="container"> <h1>Edit Service Category</h1> <div class="crumbs"> <ul> <li><a href...
<?php namespace App\Http\Requests\Technician; use Illuminate\Foundation\Http\FormRequest; class StoreRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** ...
<?php declare(strict_types=1); /* * (c) shopware AG <info@shopware.com> * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Swag\PayPal\Test\Pos\Mock\Client\_fixtures; class GetProductCountFixture { public const PRODUCT_COUN...
<?php namespace ContainerJkmjU67; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @internal This class has been auto-generated by the Symfony Dependency Injection Component. */ class getAdSearchTypeService extends A...
<?php //session_name('sessionuser'); session_start(); include ('/includes/connect.php'); $id_agenda = $_GET['key']; $user = $_GET['key1']; $sql = "SELECT * FROM tb_usuario WHERE id = '$user'"; $sql1= "SELECT * FROM tb_agenda a INNER JOIN tb_quadras b ON a.id_quadra = b.id WHERE a.id= '$id_agenda'" ; $sql2= "SELECT...
<!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags--> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content="au theme template"> <meta name="author" content="Hau Nguyen"> <meta name="keywords" ...
<?php namespace Database\Seeders; use App\Models\Country; use Illuminate\Database\Seeder; use Carbon\Carbon; class CountrySeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $countries = [ [ 'name' => 'S...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateLicensesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('licenses', fun...
<?php namespace App\Domain\Communication\Model; class Forum { private $id, $idParticipant, $title, $content, $created_at; }
<?php session_start(); include("includes/publicHeader1.php"); $db = mysqli_connect("localhost","root","","databasenew"); if(isset($_REQUEST["submit"])) { $username = $_REQUEST['username']; $password = $_REQUEST['password']; ...
<?php namespace App\Http\Controllers\Api\V1\Auth; use GuzzleHttp\Client; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Auth; use App\Http\Controllers\Api\Controller; class UserController extends Controller { private $client; public function __construct() ...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Http\Requests\ProductPictureRequest; use App\Models\Picture; use App\Models\Product; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; class PictureController extends Controller { public function index(Pr...
@extends('master') @section('title','申请') @section('content') <script src="{{asset('js/zepto.min.js')}}"></script> <div class="page"> <div class="hd"> <h1 class="page_title">丰纳金融</h1> </div> <div class="bd"> <div class="weui_cells_title">基本情况</div> <...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class AdminProductImagesController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index(Request $request) { $product_id = $request->input(...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\ResourceCollection; class CategoriaProductoCollection extends ResourceCollection { /** * Transform the resource collection into an array. * * @param \Illuminate\Http\Request $request * @return array */ public fu...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTasksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tasks', function ...
<?php /** * Created by PhpStorm. * User: derek * Date: 2018/10/17 * Time: 下午1:57 */ namespace app\api\validate; use app\lib\exception\ParameterException; use think\Validate; use think\Request; class BaseValidate extends Validate { public function goCheck() { // 获取 http 传入的参数 // 对这些参数做校验 ...
<?php require_once(__DIR__ . "/../vendor/autoload.php"); require_once(__DIR__ . "/../src/FioAnalyzer.php"); $t = microtime(true); $fa = new \Mihanentalpo\FioAnalyzer\FioAnalyzer(); $t = microtime(true) - $t; echo "Time for FioAnalyzer initialization: " . $t . "\n"; echo "Анализ строки на наличие ФИО:\n"; print_r($fa...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use App\Student; class StudentGuardian extends Model { public function student() { return $this->belongsTo(Student::class); } }
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace yii; use yii\base\InvalidArgumentException; use yii\base\InvalidConfigException; use yii\base\UnknownClassException; use yii\di\Container; use yii\log\Logger...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); date_default_timezone_set("Asia/Jakarta"); class Forum extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('Answer_model'); $this->load->model('Forum_model'); $thi...
<?php /** * P2 Admin Menu file. * * @package Jetpack */ namespace Automattic\Jetpack\Dashboard_Customizations; require_once __DIR__ . '/class-wpcom-admin-menu.php'; /** * Class P2_Admin_Menu. */ class P2_Admin_Menu extends WPcom_Admin_Menu { /** * Slug for the "Appearance" menu item. * * @var string ...
@extends('adminDashboard.adminDashboard') @section('title') Add Category @endsection @section('mainPage') <form method="POST" action="{{route('storeCategory')}}" enctype="multipart/form-data"> @csrf <div class="container"> <div class="row"> <div class="col-md-8"> <div class...
<?php /** * Created by PhpStorm. * User: Tanakorn * Date: 20/1/2562 * Time: 14:09 */ use dominus77\sweetalert2\assets\SweetAlert2Asset; use kartik\icons\Icon; use adminlte\helpers\Html; use yii\helpers\Url; use adminlte\widgets\GridView; SweetAlert2Asset::register($this); $this->title = 'วิธีพับ'; $this->params[...
<?php /** * @copyright Frederic G. Østby * @license http://www.makoframework.com/license */ namespace mako\application\cli\commands\cache; use mako\application\cli\commands\cache\Command; use mako\cache\CacheManager; /** * Command that removes the chosen key from the cache. * * @author Frederic G. Østby */...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
--TEST-- phpunit --process-isolation MultiDependencyTest _files/MultiDependencyTest.php --FILE-- <?php $arguments = [ '--no-configuration', '--process-isolation', 'MultiDependencyTest', \realpath(__DIR__ . '/_files/MultiDependencyTest.php'), ]; \array_splice($_SERVER['argv'], 1, count($arguments), $argu...
<?php class OutputTest extends FunctionalTestBase { public function setUp() { parent::setUp(); $this->path = FIXTURES . DS . "tests" . DS . "UnitTestWithClassAnnotationTest.php"; } public function testInstantFeedbackIsDisplayed() { $output = $this->getParaTestOutput(); ...
<?php namespace ZenOAuth2; class KaixinOAuth2 extends OAuth2Abstract { /** * Set API URLS */ /** * @ignore */ public function accessTokenURL(){ return 'https://api.kaixin001.com/oauth2/access_token'; } /** * @ignore */ public function authorizeURL(){ return 'http://api.kaixin001.com/oauth2/autho...
<?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\Intl\ResourceBundle; /** * Gives access to locale-re...
@extends('layouts.app') @section('content') <div class="container-login100"> <div class="wrap-login100"> <form class="login100-form validate-form" action="{{ route('password.update') }}" method="POST"> @csrf <input type="hidden" name="token" value="{{ $token }}"> <s...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateIngredionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('ingredions',...
<?php $acao = 'recuperarTarefasPendentes'; require 'tarefa_controller.php'; /* echo '<pre>'; print_r($tarefas); echo '</pre>'; */ ?> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>App Lista Tarefas</title> <link rel="stylesheet" href...
<?php // phpcs:disable Generic.Files.LineLength.MaxExceeded // phpcs:disable Generic.Files.LineLength.TooLong use WP2Static\URLHelper; use WP2Static\Paginator; /** * @var Paginator $this */ ?> <h2 class="screen-reader-text">Crawl Queue list navigation</h2> <div class="tablenav-pages"> <span class="displaying-...
<?php $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array( '_DEFAULT' => array ( 'init' => array ( 'appendMissingSlash' => 'ifNotFile,redirect', 'emptyUrlReturnValue' => '/', ), 'pagePath' => array ( 'rootpage_id' => '1', ), 'fileName' => array ( 'defaultToHTMLsuffixOnPrev' => 0, 'accept...
<?php $LANG['link'] = '友情链接'; $LANG['link_add'] = '添加友情链接'; $LANG['link_name'] = '网站名称'; $LANG['logo'] = '图片LOGO'; $LANG['url'] = '网站网址'; $LANG['link_type'] = '链接类型'; $LANG['typeid'] = '所属分类'; $LANG['status'] = '状 态'; $LANG['type_id'] = '分类ID'; $LANG['typ...
<?php global $project; $project = 'mysite'; include(__DIR__ . '/local.conf.php'); // Set the site locale i18n::set_locale('en_US'); SiteTree::enable_nested_urls(); Security::setDefaultAdmin('admin','password'); Director::set_environment_type('dev'); SS_Log::add_writer(new SS_LogFileWriter('../silverstripe-errors...
<?php /** * @file * This file is part of the PdfParser library. * * @author Sébastien MALOT <sebastien@malot.fr> * @date 2017-01-03 * * @license LGPLv3 * @url <https://github.com/smalot/pdfparser> * * PdfParser is a pdf library written in PHP, extraction oriented. * Copyright (C) 2017 - S...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" name="viewport"> <title>Admin Dashboard &mdash; IMS</title> <!-- General CSS Files --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstra...
<?php spl_autoload_register(function ($class) { // the package namespace $ns = 'Aura\Autoload'; // what prefixes should be recognized? $prefixes = array( "{$ns}\\" => array( __DIR__ . '/src', __DIR__ . '/tests', ), ); // go through the prefixes fore...
<x-app-layout> <x-slot name="header"> <x-page-title>Employee Details</x-page-title> </x-slot> <x-page-content> <div class="relative"> <form method="post" action="{{ route('employees.update', ['employee' => $employee->id]) }}"> @csrf ...
<?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\Core\GraphQl\Resolver\Factory; u...
<?php namespace App\Console\Commands; use Illuminate\Console\Command; use GuzzleHttp\Client; use GuzzleHttp\Psr7; use GuzzleHttp\Exception\RequestException; use Seld\Signal\SignalHandler; use Illuminated\Console\Loggable; class Import extends Command { use Loggable; /** * The name and signature of...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit97a4d23a43ae8b8ab18a6c607ba2b7a7 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php namespace frontend\modules\subscription\controllers; use yii\web\Controller; /** * Default controller for the `subscription` module */ class DefaultController extends Controller { /** * Renders the index view for the module * @return string */ public function actionIndex() { ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\employee; use App\jop; use App\balance; use App\attendance_records; use Illuminate\Support\Facades\DB; use App\Http\Requests\blancerequest; class balance1controller extends Controller { /** * Display a listing of the resource. * ...
@extends('layout_update') @section('content_update') <div id="contact-page" class="container" style="width:100%"> <meta name="_token" content="{{csrf_token()}}" /> <div class="bg"> <div class="row"> <div class="col-sm-5"> <div class="contact-form"> <h2 cla...
<?php //Estimated Shipping Date $lang['deliveries_estimated_shipping_date'] = '預計發貨日期'; //Estimated Delivery/Pickup Date $lang['deliveries_estimated_delivery_or_pickup_date'] = '預計交貨/取貨日期'; //Actual Shipping Date $lang['deliveries_actual_shipping_date'] = '實際發貨日期'; //Actual Delivery/Pickup Date $lang['deliveries_actual...
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\services; use Craft; use craft\base\ElementInterface; use craft\base\FieldInterface; use craft\base\PreviewableFieldInterface; use craft\base\SortableFieldInterf...
@extends('layouts.app-admin') @section('content') <!-- [ content ] Start --> <div class="container-fluid flex-grow-1 container-p-y"> <h4 class="font-weight-bold py-3 mb-0">Counsellors</h4> <div class="text-muted small mt-0 mb-4 d-block breadcrumb"> <ol class="breadcrumb"> <li class="breadcr...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php', 'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php', 'App\\Http\\Controllers\\Aut...
@extends('inventory.master') @section('title') Add Brand @endsection @section('brand') active @endsection @section('brand_add') active @endsection @section('content') <section class="content"> <ol class="breadcrumb breadcrumb-col-pink "> <li><a href="{{ route('brand.index') }}"><i class="material-icons">g...
<?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 Illuminate\Http\Request; use App\Repositories\StatsRepository; class StatsController extends Controller { private $stats; public function __construct(StatsRepository $stats) { $this->stats = $stats; } public function index() { $stro...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCourselinkTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('courselink',...
<?php use Illuminate\Database\Seeder; class DataUserSeederTabel extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $user = new \App\User(); $user->name = 'thanh'; $user->email = 'than21h@gmail.com'; $user->password...
<!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"> <link rel="stylesheet" href="{{asset('assets/main.css')}}"> <title>Создать профиль</title> </head> <body> <d...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateOrdersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('orders', functio...
<!-- Header--> <header id="header" class="header"> <div class="top-left"> <div class="navbar-header"> <a class="navbar-brand" href="./"><img src="{{url('images/logo.png')}}" alt="Logo"></a> <a class="navbar-brand hidden" href="./"><img src="{{url('images/logo2.png')}}" alt="Logo"></a...
<?php namespace PHPixie\Tests; /** * @coversDefaultClass \PHPixie\Filesystem */ class FilesystemTest extends \PHPixie\Test\Testcase { protected $filesystem; protected $builder; protected $root; protected $locators; public function setUp() { $this->filesystem = $this->g...
<?php namespace app\api\service; use app\api\controller\BaseController; use app\api\model\Banner as BannerModel; /** *Banner */ class Banner extends BaseController { }
<?php declare(strict_types=1); namespace Tests\Sorani\SimpleFramework\Database\fixtures; use Sorani\SimpleFramework\Database\EntityInterface; class Demo implements EntityInterface { /** * \Sorani\Database\Column(name=slug) * @var string */ private $slug; /** * @return string */...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="panel panel-default"> <div class="panel-heading">Categories</div> <div class="panel-body"> ...
<?php namespace App\Src\Traits; use App\Exceptions\MercadoLibre\GetItemsFromMeliException; use App\Exceptions\MercadoLibre\GetPublicationsFromMeliException; trait ErrorTrait { public function response_error_hanlde_get_publications($response) { if ($response['httpCode'] == 400 || $response['httpC...
<?php namespace Admin\Controller; use Tools\AdminController; class ZcController extends AdminController { //列表 public function zlist() { $_zc = M('Zc'); //计数 $count = $_zc->count(); $this->assign('count', $count); //分页 $page = new \Think\Page($count, 10)...
<?php include "db.php"; if (isset($_POST['register'])) { if (isset($_POST['g-recaptcha-response']) && !empty($_POST['g-recaptcha-response'])) { $username = mysqli_real_escape_string($conn, $_POST['username']); $password = mysqli_real_escape_string($conn, $_POST['password']); $sql = 'select u...
@include('ClientPartial.header') <!--shop page area start--> <div class="shop_area"> <div class="container"> <div class="row"> <div class="col-sm-8 col-sm-push-4"> <div class="row"> @foreach($products as $product) <div class="col-sm-6"> ...
<?php namespace App\Models\ModelTraits\Relations\Customer; use App\Models\CustomerLiability; use Illuminate\Database\Eloquent\Relations\HasOne; trait HasCustomerLiabilityRelation { public function customerLiability(): HasOne { return $this->hasOne(CustomerLiability::class); } }
<?php class Siswa_m extends CI_Model { //---------------------------KELAS-------------------------------- public function get_class_guru() { $id = $this->session->userdata('id_user'); $this->db->select('*'); $this->db->from('kelas'); $this->db->join('mapel', 'kelas.id_kela...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Register') }}</div> <div class="card-body"> <form method="P...