text
stringlengths
2
1.03M
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * 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/LICENS...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateVoteQuestionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('vote_ques...
<?php namespace IFCPHP\IFC4\Entity; use IFCPHP\IFC4 as IFC; class IfcExternalReferenceRelationship extends IfcResourceLevelRelationship{ static public $elementName = 'IFCEXTERNALREFERENCERELATIONSHIP'; static public $params = [ [ 'name' => 'Name', 'class' => 'Type\IfcLabel', 'type' => 'object', 'opt...
@extends('adminlte::page') @section('title', 'Painel | Transporte Dongo') @section('content_header') <h1>Painel de Administração | Transporte Dongo</h1> @stop @section('content') <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="#">Painel</a></li> <li class="br...
<?php /* Copyright: Deux Huit Huit 2014 LICENCE: MIT http://deuxhuithuit.mit-license.org; */ if(!defined("__IN_SYMPHONY__")) die("<h2>Error</h2><p>You cannot directly access this file</p>"); require_once(TOOLKIT . '/class.xmlpage.php'); require_once(EXTENSIONS . '/entry_relationship_field/lib/class.cacheablefe...
<?php namespace Immortal\Routing; use ReflectionMethod; use ReflectionParameter; use Immortal\Support\Arr; use ReflectionFunctionAbstract; trait RouteDependencyResolverTrait { /** * Call a class method with the resolved dependencies. * * @param object $instance * @param string $method ...
<?php declare(strict_types = 1); namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use phpDocumentor\Reflection\Types\Integer; /** * Class CommentNotification * * @pa...
@if(count($feed_items) >0) <ol class="statuses"> @foreach($feed_items as $status) @include('statuses._status',['user'=>$status->user]) @endforeach </ol> {!! $feed_items->render() !!} @endif
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateRoutinesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('routines', fun...
<?php namespace App\Http\Controllers; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; class ControllerUsers extends Controller { public function users(Request $request){ $users=User::paginate(5); //$nome=$request->input('name'); //$email=$request->input('emai...
<?php /** * This file is part of the Paydemic.PaydemicPhpSdk * * @license http://opensource.org/licenses/MIT MIT */ namespace Paydemic\Internal\Exception; class LogicException extends \LogicException implements ExceptionInterface { }
<?php use yii\db\Migration; /** * Handles the creation of table `article_detail`. */ class m170719_021322_create_article_detail_table extends Migration { /** * @inheritdoc */ public function up() { $this->createTable('article_detail', [ 'article_id' => $this->primaryKey(), ...
<?php /* * This file is part of the long/framework package. * * (c) Sinpe <support@sinpe.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Haomiao\Slim\Exception; /** * runtime error. * * @package Sinpe\Framework...
<?php namespace ObsNomad\SSO\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use ObsNomad\SSO\Helper; class ServerController extends Controller { public function login(Request $request) { // ... } /** * @param Request $request * @return \Illuminate...
<?php /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * 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.md. * It is also ...
<?php namespace DonePM\ConsoleClient\Renderer; use Symfony\Component\Console\Output\OutputInterface; /** * Class TaskRenderer * * Renders a task * * @package DonePM\ConsoleClient\Renderer */ class TaskRenderer { /** * Output reference * * @var \Symfony\Component\Console\Output\OutputInterfac...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Author; class AuthorsController extends Controller { public function index() { $authors = Author::all(); return view('authors.index', compact('authors')); } }
<div class="kt-aside-menu-wrapper kt-grid__item kt-grid__item--fluid" id="kt_aside_menu_wrapper"> <div id="kt_aside_menu" class="kt-aside-menu " data-ktmenu-vertical="1" data-ktmenu-scroll="1" data-ktmenu-dropdown-timeout="500"> <ul class="kt-menu__nav side-menu-shown"> <li class="kt-men...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<?php /* * The file is part of the payment lib. * * (c) Leo <dayugog@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace myttyy\Hyperf\Payment\Gateways\Alipay; use myttyy\Hyperf\Payment\Contracts\IGatewayRequest; use myttyy\Hy...
<?php class Siswa extends CI_Controller{ function __construct(){ parent::__construct(); $this->load->model('m_siswa'); $this->load->model('m_pengunjung'); $this->load->model('m_setup'); $this->m_pengunjung->count_visitor(); } function index(){ $x['setup']=$this->m_setup->get_setup()->row(); $nama_seko...
<?php use TwigKagg\TokenParser\AbstractTokenParser; class_exists('TwigKagg\TokenParser\AbstractTokenParser'); if (\false) { class TwigKagg_TokenParser extends AbstractTokenParser { } }
@extends('admin.master') <!--Page Title--> @section('page-title') R.A.P / P.A.P @endsection <!--Page Header--> @section('page-header') R.A.P. / P.A.P. Approval Detail Report @endsection <!--Page Content Start Here--> @section('page-content') <?php $form_date = $_POST['from_da...
@php $menu = get_menus('footer'); if($menu){ $menu = $menu->items; } @endphp @if($menu) <ul class="navbar-nav m-auto"> @foreach($menu as $item) <li class="nav-item"> @if(isset($item->model)) @if($item->model->model_type == 'categories') ...
@extends('layouts.index') @section('title') Data Tulis @endsection @section('konten') <div class="container-fluid"> @if (Session('msg')) <div class="alert alert-primary alert-dismissible" role="alert"> <p align="center">{{Session('msg')}}</p> <button type="button" class="close" data-dismiss="ale...
<?php namespace App\Repository; interface ProductsRepositoryInterface { /** * @param null $request * @return mixed */ public function init($request = null); /** * @return mixed */ public function pageTrovePaginateProduct(); /** * @param $id * @return mixed ...
<?php /** * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 * @copyright Metaways Infosystems GmbH, 2013 * @copyright Aimeos (aimeos.org), 2015-2021 * @package Client * @subpackage Html */ namespace Aimeos\Client\Html\Checkout\Standard\Process\Address; use \Aimeos\MW\Logger\Base as Log; /** * Defa...
<?php use yii\helpers\Url; use common\components\Helper; return [ [ 'class' => 'kartik\grid\SerialColumn', 'width' => '30px', ], // [ // 'class'=>'\kartik\grid\DataColumn', // 'attribute'=>'Tahun', // ], [ 'class'=>'\kartik\grid\DataColumn', 'attribut...
@extends('sbb.layouts.app') @section('title', '商品列表') @section('content') <!--section class="switchable switchable--switch space--xs"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="height-50 imagebg border--round" data-overlay...
<?php /** * ESD framework * @author tmtbe <896369042@qq.com> */ namespace ESD\Plugins\Pack; use ESD\Core\Exception; use ESD\Core\Server\Config\PortConfig; use ESD\Core\Context\Context; use ESD\Core\Plugin\AbstractPlugin; use ESD\Core\Plugin\PluginInterfaceManager; use ESD\Core\Server\Server; use ESD\Plugins\Aop\Ao...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CurrentlyReadingTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('currently_reading', function (Blueprint $table) { ...
@if($errors->any()) <div class="uk-alert uk-alert-danger" data-uk-alert> <a class="uk-alert-close uk-close"></a> @foreach((array)$errors->all() as $error) <p>{{ $error }}</p> @endforeach </div> @endif
<?php function DateToIndo($date) { $BulanIndo = array("Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"); $tahun = substr($date, 0, 4); ...
<?php namespace App\Controller\Admin\System; use App\Controller\Admin\AdminController; use App\Controller\Admin\BaseController; use App\Dao\System\SystemRolesDao; use Hyperf\Di\Annotation\Inject; use Yj\Apidog\Annotation\ApiController; use Yj\Apidog\Annotation\PostApi; /** * @ApiController(prefix="admin/system/role...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateOrderFood extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('order_food', funct...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
<!--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>Mensaje Recibido</title> </head> <body> <p>Recibiste un mensaje de: {{-- $...
<?php namespace Database\Seeders; use App\Models\User; use Illuminate\Database\Seeder; use Spatie\Permission\Models\Role; use Spatie\Permission\Models\Permission; class CreateAdminUserSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { ...
@extends('main') @section('title','| Contact') @section('content') <div class="row"> <div class="col-md-12"> <h1>Contact us</h1> <hr> <form action="{{ url('contact') }}" method="POST"> {{ csrf_field() }} <div class="fo...
<?php declare(strict_types=1); namespace RunOpenCode\Bundle\QueryResourcesLoader\Tests\DependencyInjection\CompilerPass; use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractCompilerPassTestCase; use RunOpenCode\Bundle\QueryResourcesLoader\DependencyInjection\CompilerPass\TwigExtensionsCompilerPass; use Symfo...
<div class="card card-primary card-outline"> <div class="card-header p-2"> <div class="card-title"> Riwayat Instansi </div> <div class="card-tools mr-1"> <a href="riwayat/instansi/{{ $user_id }}/{{ $profil_id }}" class="btn btn-xs btn-outline-primary">Detil</a> ...
<?php include 'conn.php'; //check done if(isset($_POST['image'])){ $errors= array(); $file_name = $_FILES['image']['name']; $file_size =$_FILES['image']['size']; $file_tmp =$_FILES['image']['tmp_name']; $file_type=$_FILES['image']['type']; $file_name=strtolower($file_name); $info=explode('.',$file_...
<?php namespace Smuuf\Primi\Handlers; use \Smuuf\Primi\Structures\Value; use \Smuuf\Primi\Structures\InsertionProxy; use \Smuuf\Primi\ISupportsArrayAccess; use \Smuuf\Primi\ErrorException; use \Smuuf\Primi\HandlerFactory; use \Smuuf\Primi\Context; class Assignment extends \Smuuf\Primi\StrictObject implements IHandl...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Socialite; use App\services; class SocialAccountController extends Controller { // public function redirectToProvider($provider){ return Socialite :: driver($provider)->redirect(); ...
<?php namespace App\Http\Controllers; use DB; use DataTables; use Illuminate\Http\Request; class PemasukanController extends Controller { public function index() { $data = \DB::table('pemasukan as a')->join('sumber as b', 'a.sumber_pemasukan', '=', 'b.id')->get(); return view('pemasukan.pema...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit6c34be6fb89e6fd9a419d9f26b1fe244::getLoader();
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePostmeta extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('postmeta',...
<?php /** * Underflow Call Exception * * @package Exception * @copyright 2014 Amy Stephen. All rights reserved. * @license http://www.opensource.org/licenses/mit-license.html MIT License */ namespace CommonApi\Exception; use Exception; use UnderflowException as Underflow; /** * Underflow Exception * *...
<?php include("class_header.php") ?> <div class="white-area-content"> <div class="db-header clearfix"> <div class="page-header-title"> <span class="glyphicon glyphicon-bell"></span> <?php echo lang("ctn_471") ?></div> <div class="db-header-extra form-inline"> <a href="<?php echo site_url("classes/view/" . $a...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Article extends Model { // /** * Run the migrations. * * @return void */ public function up() { Schema::create('articles', function (Blueprint $table) { $table->increments('id'); $table->st...
<?php namespace ContainerIxqDrLj; 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 getDoctrine_QuerySqlCommandServi...
<div class="content-wrapper bg-white pt-4"> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1><?= $judul ?></h1> </div> </div> </div> </section> <section class="content"> <div class="container-fluid"> <div class="card card-de...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<?php /** * Prototype Engine Helper for JsHelper * * Provides Prototype specific JavaScript for JsHelper. Requires at least * Prototype 1.6 * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT Li...
<?php use Illuminate\Database\Seeder; use Illuminate\Database\Eloquent\Model; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Model::unguard(); //$this->call('PoblacionsTableSeeder'); //$this->call('VotantsTableSeeder'); $this->call('...
<?php namespace Project\Application\Http\Views\Builders; use Opulence\Views\Factories\IViewBuilder; use Opulence\Views\IView; /** * Defines the master view builder */ class MasterBuilder implements IViewBuilder { /** * @inheritdoc */ public function build(IView $view) : IView { // Defa...
<?php namespace app\home\controller; use app\api; use app\field; use gophp\controller; use gophp\request; use gophp\response; class mock2 extends controller { public $id; // 获取接口id public function __construct() { try{ //var_dump($_GET); $uri = $_GET['uri']; ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Game extends Model { public $timestamps = false; /** * The attributes that should be mass assignable. * * @var array */ protected $fillable = [ 'name', 'short_name', 'slug', 'logo', 'banner' ]; ...
<?php /** * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 * @copyright Aimeos (aimeos.org), 2015-2018 */ return array( 'name' => 'ai-laravel', 'depends' => array( 'aimeos-core', ), 'include' => array( 'lib/custom/src', ), 'config' => array( 'lib/custom/config', ), 'setup' => array( 'lib/...
<?php use CloudinaryExtension\Migration\SynchronizedMediaRepository; class Cloudinary_Cloudinary_Model_SynchronisedMediaUnifier implements SynchronizedMediaRepository { /** * @var [SynchronizedMediaRepository] */ private $_synchronisedMediaRepositories; /** * Cloudinary_Cloudinary_Model_Sy...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Order extends Model { use HasFactory; protected $fillable = [ 'client_id', 'user_id', 'no_invoice', 'total_paid', 'total_iva_inc', ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class HelloController extends Controller { public function index(Request $request) { return view('actions/contact', ['msg' => '']); } public function post(Request $request) { $validate_rule = [ 'name' => 'requ...
<?php /** * Short description for file. * * PHP 5 * * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.tx...
<?php require_once dirname(__FILE__) . '/config.php'; require_once dirname(__FILE__) . '/views/header.tpl.php'; ?> <pre> <?php // THIS IS NOT A VALID CREDIT CARD NUMBER, SO IT SHOULD FAIL! $number = '4111 1234 1234 1234'; // $name = 'Keith Palmer'; $expyear = 2020; $expmonth = 10; $street = '72 E Blue Grass...
<?php use Symfony\Component\Dotenv\Dotenv; // The check is to ensure we don't use .env in production if (!getenv('APP_ENV')) { (new Dotenv())->load(__DIR__.'/../../.env'); }
<?php /** * Copyright 2017-2019 Milos Jovanovic <phplibs@yomy.work> * 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 a...
<?php ob_start(); include("../inc/db_connect.php"); $employee_id = mysqli_real_escape_string($db_connect, $_POST['employee_id']); $firstname = mysqli_real_escape_string($db_connect, $_POST['firstname']); $middlename = mysqli_real_escape_string($db_connect, $_POST['middlename']); $lastname = mysqli_real_...
<?php defined('InSchoolAssistant') or exit('Access Invalid!'); /** * 积分礼品兑换功能公用 */ $lang['pointcart_unavailable'] = '系统未开启积分或者积分兑换功能'; $lang['pointcart_parameter_error'] = '参数错误'; $lang['pointcart_record_error'] = '记录信息错误'; $lang['pointcart_unlogin_error'] = '请您先进行登录'; $lang['pointcart_goodsname'] = '礼品名称'; ...
<?php function GetAutoNo($invoice_id){ $select_invoice_no = "SELECT MAX(SUBSTRING_INDEX(production_order_no,'-',-1)) AS maxval FROM production_order WHERE production_order_deleted_status =0 AND production_order_invoice_entry_id = '".$invoice_id."' AND production_order_financial_year = ...
<?php session_start(); if(isset($_POST)) { require_once("database.php"); require_once("users.php"); $db = new Database(); $_POST = $db->sanitize($_POST); $SQL = "SELECT uuid FROM users WHERE email=?"; $isDouble = $db->check_double_entry($SQL, array($_POST['email'])); if($isDouble == false...
<?php /** * This file is part of the Cloudinary PHP package. * * (c) Cloudinary * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Cloudinary\Transformation\Argument\Text; /** * Class FontStyle */ class FontStyle { c...
--TEST-- Ensure a class may not shadow a constant inherited from an interface. --FILE-- <?php interface I { const FOO = 10; } class C implements I { const FOO = 10; } echo "Done\n"; ?> --EXPECTF-- Fatal error: Cannot inherit previously-inherited or override constant FOO from interface I in %s on line 6, position ...
<?php namespace AppArk\Database\Eloquent; use Illuminate\Database\Schema\Blueprint; class ReviewableFluent { public static function addColumn(Blueprint $table) { $table->tinyInteger('review')->nullable(); } public static function dropColumn(Blueprint $table) { $table->dropColumn('...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateGalleriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('galleries', f...
<?php require '../../config.php'; $id = $_GET['id']; $sql = "SELECT * FROM users WHERE id='$id'"; $result = mysqli_query($conn, $sql); $show = mysqli_fetch_all($result); if($_SERVER['REQUEST_METHOD'] == 'POST'){ $username = $password = $email = $fullname=$role=''; $username = $_POST['username']; $password =...
<article @php post_class() @endphp> <header> <h1 class="entry-title">{{ get_the_title() }}</h1> @include('partials/entry-meta') </header> <div class="entry-content"> @php the_content() @endphp <section id="posted-area" class="my-5"> @php dynamic_sidebar('posted-cts') @endphp </section> ...
<?php /** Kazakh (Қазақша) * * See MessagesQqq.php for message documentation incl. usage of parameters * To improve a translation please visit http://translatewiki.net * * @ingroup Language * @file * * @author Kaztrans */ # Stub message file for converter code "kk" $fallback = 'kk-cyrl'; $messages = array( ...
<?php use yii\helpers\Html; use yii\widgets\DetailView; use app\models\general\GeneralLabel; use app\models\general\GeneralMessage; /* @var $this yii\web\View */ /* @var $model app\models\RefCawanganUser */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => GeneralLabel::cawangan, 'url' => ['in...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\vk\Video */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="video-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'id')->textInput(['maxlength' => true]) ?> <...
<?php /** * ALIPAY API: alipay.mobile.public.gis.get request * * @author auto create * @since 1.0, 2014-08-07 17:32:54 */ class AlipayMobilePublicGisGetRequest { /** * 业务信息:usrid **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo; private $prodCode; priv...
<?php return [ 'Users' => 'ผู้ใช้งาน', 'Roles & Permissions' => 'บทบาท & การอนุญาต', 'Activities' => 'กิจกรรม', 'About' => 'เกี่ยวกับ', 'Roles' => 'บทบาท', 'Roles' ...
<?php declare(strict_types=1); namespace Cycle\ORM\Tests\Functional\Driver\SQLite\Mapper; // phpcs:ignore use Cycle\ORM\Tests\Functional\Driver\Common\Mapper\MapperTest as CommonClass; /** * @group driver * @group driver-sqlite */ class MapperTest extends CommonClass { public const DRIVER = 'sqlite'; }
<?php namespace App\Console\Commands; use Illuminate\Console\Command; use App\Transaction; class PaymentFailed extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'payment:failed'; /** * The console command description...
@extends('admin.layouts.app') @section('title','Üyeler') @section('pagelink') <a href="{{route('member.index')}}" class="btn btn-danger kt-subheader__btn-options">Üyeler</a> @endsection @section('pagestyles') @endsection @section('pagevendors') @endsection @section('pagescripts') <link href="https://cdn.jsd...
<?php namespace Mpwarfwk\Component\Http; class HttpResponse extends Response{ public function send(){ if($this->status !== Response::HTTP_OK){ if(array_key_exists($this->status, Response::$statusTexts)){ header("HTTP/1.0 {$this->status} ".Response::$statusTexts[$this->status])...
@extends('layouts.admin') @section('barra') @include('soaps.forms.barra') @endsection @section('contenido') @include('alerts.errors') @include('alerts.request') <?php $message=Session::get('message')?> @if(Session::has('message')) <div class="alert alert-success alert-dismissible" role="alert"> <button t...
@extends('dealer.layouts.dealerMaster') @push('css') <!-- Select2 --> <link rel="stylesheet" href="{{ asset('cp/plugins/select2/css/select2.min.css') }}"> <link rel="stylesheet" href="{{ asset('cp/plugins/select2-bootstrap4-theme/select2-bootstrap4.min.css') }}"> <!-- Bootstrap4 Duallistbox --> @endpush @sect...
<?php namespace Mlk9\Captcha\Http\Middleware; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Session; class CaptchaMiddleware { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ ...
<?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; class ButtonsControllerTest extends TestCase { /** * A basic test example. * * @return void */ public function testGetInd...
<?php /* Smarty version 3.1.30, created on 2018-02-03 22:04:04 from "C:\xampp\htdocs\Framework-PHP\views\layout\template_1\template.tpl" */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.30', 'unifunc' => 'content_5a7623c4c75da3_034600...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2013 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class ExamParentQuestions extends Model { use HasFactory; protected $table = 'exam_parent_questions'; protected $fillable = [ 'exam_id', 'title', 'descripti...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class jawapan_bancian extends Model { protected $table = 'jawapan_bancians'; protected $fillable = ['kawasan_id', 'jalan_blok', 'tarikh_mula', 'no_rumah', 'q1_1', 'q1_2', 'q2_1', 'q2_2', 'q3_1', 'q3_2', 'q4_1', 'q4_2', 'q5_1', 'q5_2', 'q5_3', 'q6_...
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\Panasonic; use JMS\Serializer\Annotation\ExclusionPolic...
<!DOCTYPE html> <html> <head> <title></title> </head> <body> <h1>Hello {{$name}} </h1> </body> </html>
<?php namespace SaintSystems\OData\Query\Tests; use PHPUnit\Framework\TestCase; use Illuminate\Support\Collection; use SaintSystems\OData\ODataClient; use SaintSystems\OData\QueryOptions; use SaintSystems\OData\Query\Builder; use SaintSystems\OData\Exception\ODataQueryException; class BuilderTest extends TestCase {...
@section('title') Codewithus @endsection @extends('layouts.main') @section('style') <script src="https://unpkg.com/vue"></script> <script src="https://unpkg.com/vue-cal"></script> @endsection <div class="xp-authenticate-bg"></div> <!-- Start XP Container --> <div id="xp-container" class="xp-container"> <!-- Start...
<?php namespace AppBundle\Document; use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB; use JsonSerializable; /** * @MongoDB\Document */ class Autorizatie { /** * @MongoDB\Id */ protected $id; /** * @MongoDB\Field(type="string") */ public $numar; /** * @MongoDB\Field(type="int...
<a href="/posts/{{$id}}" class="btn btn-info" role="button" style="float:right;">View</a> {{-- @if(!Auth::guest()) --}} {!! Form::open(['action' => ['PostsController@destroy', $id], 'method'=>'POST', 'style'=> 'float:right;']) !!} {{Form::hidden('_method', 'DELETE')}} {{Form::submit('Delete', ['class'=...
<div class="panel panel-default"> <div class="panel-heading"> Data Permintaan </div> <div class="panel-body"> <div class="table-responsive"> <p><b>Tahap Fuzifikasi :</b></p> <?php $queryutama = mysql_query("SELECT * FROM produksi"); $no = 1; while ($data = mysql_fetch_array($queryutama)) { ...