text
stringlengths
2
1.03M
<?php /* @Debug/Profiler/dump.html.twig */ class __TwigTemplate_8b586a3fdeae6b767f6896b5c907d143ed9a496fb176fd73a2ed369a102a1595 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("@WebPr...
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * HTML class for a submit type element * * PHP versions 4 and 5 * * LICENSE: This source file is subject to version 3.01 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.php.net/license/...
<?php namespace Tests\PhpAT\functional\fixtures; class DummyException extends \Exception { }
<?php namespace DDTrace\Util; use DDTrace\Integrations\Integration; use DDTrace\GlobalTracer; final class CodeTracer { /** * @var CodeTracer */ private static $instance; /** * @return CodeTracer */ public static function getInstance() { if (self::$instance === null) {...
<?php $this->load->view("layout/header") ?> <div class="search-results"> <div class="links"><?php echo $this->pagination->create_links(); ?></div> <table> <thead> <tr> <th>Leads ID</th> <th>First Name</th> <th>Last Name</th> <th>Date</th> <th>Email</th> </tr> </thead> <tbody...
<?php namespace AppBundle\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Monolog\Logger; use Monolog\Handler\StreamHandler; class DefaultController extends Controller { /** *...
<?php class ControllerAccountPassword extends Controller { private $error = array(); public function index() { if (!$this->customer->isLogged()) { $this->session->data['redirect'] = $this->url->link('account/password', '', true); $this->response->redirect($this->url->link('account/login', '', true)); } ...
<div class="main"> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="javascript:void(0)"><i class="fa fa-fw fa-users mr-2"></i>Management</a></li> <li class="breadcrumb-item active" aria-current="page">Transaksi Pembayaran</li> </ol> </nav> <div class="...
<?php /* * Generated by CRUDigniter v3.2 * www.crudigniter.com */ class Unidad extends CI_Controller{ function __construct() { parent::__construct(); $this->load->model('Unidad_model'); if ($this->session->userdata('logged_in')) { $this->session_data = $this->session->...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class VideoController extends Controller { public function view($id, $name) { if ($id <= 0) { abort(404); } $movie = [ 'title' => 'Aquaman', 'categories' => 'Sci-FI', 'd...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\Hash; class UserSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { \DB::table('users')->insert([ [ 'email' => 'admin@admin.com', ...
@extends('layouts.dashbord.app') @section('content') <div class="container"> <section class="content-header"> <h3 class="box-title" style="width: 50%;text-align: center; margin: 20px auto;"> @lang('site.posts') </h3> <div class="co...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCategoryableTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('categoryab...
<?php /* * This file is part of Respect/Validation. * * (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net> * * For the full copyright and license information, please view the "LICENSE.md" * file that was distributed with this source code. */ declare(strict_types=1); namespace Respect\Validation\Rules; use...
<!doctype html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel </title> <!-- Fonts --> <link href="https:/...
@extends('layouts.app') @section('content') <div class="general-radius-sm shadow"> <div class="card-header"> <a href="/adminitration" class="btn btn-outline-dark"><<</a> <center> <h2> BALANCE </h2> </center> <a href="?...
<!DOCTYPE html> <html > <head> <title> <?php echo "CRM - PSICUS"; ?> </title> <!--CSS--> {!!Html::style('css/jquery-ui.css')!!} {!!Html::style('css/bootstrap.css')!!} <link href="http://cdnjs.cloudflare.com/ajax/libs/x-editable/1.4.4/bootstrap-editable/css/bootstrap-editable.css" rel="styleshe...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateClientesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('clientes', fu...
<?php declare(strict_types=1); /** * Flextype - Hybrid Content Management System with the freedom of a headless CMS * and with the full functionality of a traditional CMS! * * Copyright (c) Sergey Romanenko (https://awilum.github.io) * * Licensed under The MIT License. * * For full copyright and license in...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Mantencion extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('ModelMantencion', 'ma'); $this->load->model('ModelMain', 'main'); $this->load->model('ModelSeguimient...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class CaruteController extends Controller { public function index() { return "Hello World"; } }
<?php /* * This file is part of Sulu. * * (c) Sulu GmbH * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Sulu\Bundle\AdminBundle\Tests\Admin; use PHPUnit\Framework\TestCase; use Sulu\Bundle\AdminBundle\Admin\Admin; use Sulu\Bundle\Adm...
<!doctype html> <title>Site Maintenance</title> <style> body { text-align: center; padding: 150px; } h1 { font-size: 50px; } body { font: 20px Helvetica, sans-serif; color: #333; } article { display: block; text-align: left; width: 650px; margin: 0 auto; } a { color: #dc8100; text-decoration: none; ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/> <meta name="description" content=""> <meta name="author" content=""> ...
<?php namespace App\Http\Livewire; use App\Models\Jobs; use App\Models\User; use App\Models\Profile; use App\Models\ServiceCategory; use Livewire\Component; use Livewire\WithPagination; class HomeComponent extends Component { use WithPagination; public function render() { $jobs = Jobs::where(...
<?php declare(strict_types=1); namespace phpDocumentor\Guides\RestructuredText\Directives; use phpDocumentor\Guides\Nodes\Node; use phpDocumentor\Guides\RestructuredText\MarkupLanguageParser; /** * Renders a raw block, example: * * .. raw:: * * <u>Underlined!</u> * * @link https://docutils.sourceforge.i...
@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">Edit Product</div> <div class="card-body"> <form method="POST" ac...
<?php namespace App\Traits; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Cache; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Validator; use Illuminate\Pagination\LengthAwarePaginator; trait ApiResponser { private function successResponse($data, $code){ return resp...
<?php use PHPUnit\Framework\TestCase; use Wambo\Frontend\Model\Slug; /** * Class SlugTest tests the Wambo\Catalog\Model\Slug class. */ class SlugTest extends TestCase { /** * If the given Slug is valid validateSlug should not throw an exception * * @test * @dataProvider getValidSlugs * ...
<?php // For large values (>1000) it is more efficient to iterate through multiple of 3 and 5 than to go through all the // values from 1 to x and test if they are % 3 or % 5 (for 1M, it was about twice as fast). function q1() { $numbers = []; for ($i = 0; $i < 1000; $i += 3) { $numbers[$i] = $i; } for ($i = 0...
<?php namespace Corp\Repositories; use Corp\Comment; class CommentsRepository extends Repository { public function __construct(Comment $comment) { $this->model = $comment; } } ?>
<?php namespace WpPluginner\Illuminate\Auth\Passwords; use Closure; use WpPluginner\Illuminate\Support\Arr; use UnexpectedValueException; use WpPluginner\Illuminate\Contracts\Auth\UserProvider; use WpPluginner\Illuminate\Contracts\Auth\PasswordBroker as PasswordBrokerContract; use WpPluginner\Illuminate\Contracts\Aut...
<?php /** ******************************************************************************* * * !ATENCION! * * * * Este codigo es generado automaticamente. Si lo modi...
<?php include 'layouts/header.php'; ?> <?php include 'layouts/headerStyle.php'; ?> <body class="fixed-left"> <?php include 'layouts/loader.php'; ?> <!-- Begin page --> <div class="accountbg" style="background: url('public/assets/images/bg-2.jpg');background-size: cover;"></div> <...
<div class="container"> <div class="header_box"> <div class="logo"><a href="#"><img src="{{ asset('assets/img/logo.png') }}" alt="logo"></a></div> @if(isset($menu)) <nav class="navbar navbar-inverse" role="navigation"> <div class="navbar-header"> <bu...
<?php require_once("includes/session.php"); if(!loggedIn()) { redirect('index.php'); } $user_id = $_SESSION['user_session']; $stmt = $database->runQuery("SELECT * FROM users WHERE user_id=:user_id"); $stmt->execute(array(":user_id"=>$user_id)); $userRow=$stmt->fetch(PDO::FETCH_ASSOC); require './views/newsfeed.vie...
<?php $lang = array( 'action_can_not_be_undone' => 'Esta ação não podera ser desfeita', 'activate_thread' => 'Ativar Assunto', 'active_members' => 'Integrantes Ativos:', 'active_thread' => 'Assunto Ativo', 'add_a_poll' => 'Adicionar uma enquete à este tópico', 'add_another_row' => 'Adicionar Outra Linha', 'add_...
<?php namespace App\Http\Controllers; // Модели use App\Account; // Запросы и их валидация use Illuminate\Http\Request; use App\Http\Requests\System\AccountRequest; class AccountController extends Controller { // Настройки сконтроллера public function __construct(Account $account) { $this->mid...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Home extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('M_home'); $this->load->model('M_users'); if (empty($this->session->userdata('status')) || $this->session->userdata('status') !=...
<?php namespace App\Http\Controllers\API; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\User; use App\Category; use App\Post; use Illuminate\Support\Facades\Auth; use Validator; class UserController extends Controller { public $successStatus = 200; /** * login api * * ...
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These...
<?php namespace App\Models\Authentication; use App\Models\Ignug\Institution; use App\Models\Ignug\State; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use OwenIt\Auditing\Contracts\Auditable; class Permission extends Model implements Auditable { use HasFactory; ...
<?php /** * 2007-2016 PrestaShop * * 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...
<?php namespace App\Domain\Notification; /** * Class SmsNotification * @package App\Domain\Notification */ class SmsNotification implements SmsInterface { /** * @var string */ private $text; /** * SmsNotification constructor. * @param string $text */ public function __cons...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; class Country extends Model { //Allowed values protected $fillable = [ 'title', 'slug', 'description', 'code_alpha2', 'code_alpha3', 'iso', 'image', 'image...
<?php namespace App\Traits; use Illuminate\Database\Eloquent\Model; use Illuminate\Pagination\LengthAwarePaginator; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Validator; trait ApiResponser { protected function successResponse($data , $code) { ...
<?php namespace app\cli\controller; use app\common\model\RocketBuyList; use app\common\model\RocketOrder; use think\Log; use think\Db; use think\Exception; use think\console\Input; use think\console\Output; use think\console\Command; use app\common\model\RocketConfig; use app\common\model\RocketGoods; use app\common\m...
<?php namespace Ubiquity\controllers\crud; use Ubiquity\utils\http\URequest; use Ubiquity\orm\DAO; use Ajax\semantic\widgets\datatable\Pagination; use Ajax\common\html\HtmlContentOnly; use Ubiquity\orm\OrmUtils; use Ajax\semantic\html\collections\HtmlMessage; use Ubiquity\controllers\crud\viewers\ModelViewer; /** *...
<?php if($this->session->userdata('is_logged_in')){ setlocale(LC_MONETARY, "en_US"); ?> <div class="content"> <div class="row"> <div class="col-md-2"> </div> <div class="col-md-7 "> <div class="row" style=" text-align: center"> <div class="col-12"> <?php ech...
<?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 RectorPrefix20211228\Symfony\Component\Finder\Iterator; /** * Fileconte...
<?php require 'config/config.php'; if (isset($_SESSION['username'])) { $userLoggedIn = $_SESSION['username']; $user_details_query = mysqli_query($con, "SELECT * FROM users WHERE username='$userLoggedIn'"); $user = mysqli_fetch_array($user_details_query); } else { header("Location: index.php"); } ?> <html> <head...
<?php namespace Modules\Payment\Http\Traits\PayPalAPI; trait WebHooksVerification { /** * Verify a web hook from PayPal. * * @param array $data * * @throws \Throwable * * @return array|\Psr\Http\Message\StreamInterface|string * * @see https://developer.paypal.com/docs/...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Customer; use App\Product; use App\ProductStock; use App\Stock; use App\Purchases; use App\User; use App\Order; use App\OrderItem; use App\Balance; use Auth; class HomeController extends Controller { /** * Create a new controller i...
<?php // This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild namespace Kaitai\Struct\Tests { class ProcessXorValue extends \Kaitai\Struct\Struct { public function __construct(\Kaitai\Struct\Stream $_io, \Kaitai\Struct\Struct $_parent = null, \Kaitai\Struct\Tests...
<?php /* WebProfilerBundle:Profiler:admin.html.twig */ class __TwigTemplate_563eaf1c9873e17fc3cc6eba292af99432d6ee8d5ef3f882f856d51b6d4f59d4 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = a...
<?php namespace App\Admin\Extensions\Nav; class Links { public function __toString() { return <<<HTML <li> <a href="#"> <i class="fa fa-envelope-o"></i> <span class="label label-success">4</span> </a> </li> <li> <a href="/demo/posts"> <i class="fa fa-bell-o"></i> <...
<?php use yii\db\Migration; /** * Class m200731_235329_create_table_carrera */ class m200731_235329_create_table_carrera extends Migration { /** * {@inheritdoc} */ public function safeUp() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOption...
<?php declare(strict_types=1); /* * This file is part of Basket. * * (c) Brian Faust <hello@basecode.sh> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace BrianFaust\Basket\Jurisdictions\NorthAmerica; use BrianFaust\Bas...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class M_Mapel extends CI_Model{ public function __construct() { parent:: __construct(); } public function getAll(){ return $this->db->get('mata_pelajaran')->result(); } public function countAll(){ return $this->...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Prescripcion extends Model { protected $fillable = ['fecha_inicio','fecha_fin','medicina_id','dosis', 'frecuencia', 'instrucciones']; public function medicina() { return $this->belongsTo('App\Medicina'); } }
<?php return [ 'adminEmail' => 'mohitbhansali11@gmail.com', 'supportEmail' => 'support@example.com', 'user.passwordResetTokenExpire' => 3600, // Type of Users 'user.userTypeSystem' => 0, 'user.userTypeAdmin' => 1, 'user.userTypeOperator' => 2, 'user.userTypePatient' => 3, ];
<?php return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=kifa2.mysql.ukraine.com.ua;dbname=kifa2_yii2', 'username' => 'kifa2_yii2', 'password' => 'dmv72xxb', 'charset' => 'utf8', ];
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Cetak Data Jumlah Siswa | TK ISLAM AL-WAKAF</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" media="screen" href="mai...
<?php /** * Apache OSL-2 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file. */ namespace SprykerEco\Zed\AmazonPay\Business\Quote; use Generated\Shared\Transfer\QuoteTransfer; interface QuoteUpdaterInterface { /** * @param \Generated\Shared\Transfer\QuoteTra...
<?php use Symfony\Component\Translation\MessageCatalogue; $catalogue = new MessageCatalogue('ro', array ( 'validators' => array ( 'This value should be false.' => 'Această valoare ar trebui să fie falsă (false).', 'This value should be true.' => 'Această valoare ar trebui să fie adevărată (true).', '...
<?php /** * @version v4.991 16 Oct 2008 (c) 2000-2008 John Lim (jlim#natsoft.com). All rights reserved. * Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. * * Set tabs to 4 for best viewing. * ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\VerifiesEmails; class VerificationController extends Controller { /* |-------------------------------------------------------------------------- | Email Verification Controller |------------...
<?php namespace app\controllers; use Yii; use yii\filters\AccessControl; use yii\filters\VerbFilter; use yii\helpers\Html; use yii\helpers\Url; use yii\web\Controller; use app\models\actacalificacion\ActaCalificacion; use app\models\grupoestudiante\GrupoEstudiante; class ActacalificacionController extends Controlle...
@extends('layout') @section('content') @if(count($errors) > 0) <div class="alert alert-danger"> @foreach($errors->all() as $err) {{$err}}<br> @endforeach </div> @endif <section class="content" style="margin-left:200px"> <div class="container-fluid"> <div class="row"> <div class="...
<?php namespace Saklient\Cloud\Errors; require_once __DIR__ . "/../../../Saklient/Errors/HttpConflictException.php"; use \Saklient\Errors\HttpConflictException; require_once __DIR__ . "/../../../Saklient/Util.php"; use \Saklient\Util; /** 要求を受け付けできません。アカウント数上限により作成失敗しました。 */ class LimitCountInMemberException extends...
<?php if(!defined('BASEPATH')) exit('no file allowed'); class BK00001 extends CI_Controller{ function __construct(){ parent::__construct(); } function menu(){ $n_nobuk =$this->uri->segment(1); $n_id = $this->uri->segment(4); $n_hasil['info_book'] = $this->Nm_front_lib->info_book($n_nobuk)->...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\modules\rbac\models\RbacAuthItemChild */ $this->title = Yii::t('frontend', 'Create Rbac Auth Item Child'); $this->params['breadcrumbs'][] = ['label' => Yii::t('frontend', 'Rbac Auth Item Children'), 'url' => ['index']]; $this->params['...
@extends('template.master') @section('title','Search Applicant') @section('breadcrumb') {!! Breadcrumbs::render('recruitment.applicant.search') !!} @endsection @section('content') <style> .filters { padding-bottom: 20px; } .filters > span { font-size: 1em; ...
<?php declare(strict_types=1); /* * This file is part of boo/bnet. * * (c) Jonas Stendahl <jonas@stendahl.me> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Boo\BattleNet\Tests\Apis\Starcraft; use Boo\BattleNet\Apis\Starcraft\Ladde...
<nav class="navbar navbar-default ng-scope"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Pdf extends CI_Controller { public function __construct() { parent::__construct(); $this->load->library(array('ion_auth')); $this->load->model(array('pdf_model','report_model','participant_model','course_event_model')); if (!$this...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Carbon\Carbon; class Issue extends Model { /** * Project Relationship * * @return Relationship */ public function project() { return $this->belongsTo('App\Project'); } /** * Status Relationship * * @return Relationship */ ...
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
<?php // +---------------------------------------------------------------------- // | HisiPHP框架[基于ThinkPHP5开发] // +---------------------------------------------------------------------- // | Copyright (c) 2016-2021 http://www.hisiphp.com // +---------------------------------------------------------------------- // | Hi...
<?php // +---------------------------------------------------------------------- // | ThinkCMF [ WE CAN DO IT MORE SIMPLE ] // +---------------------------------------------------------------------- // | Copyright (c) 2013-2017 http://www.thinkcmf.com All rights reserved. // +-------------------------------------------...
<?php declare(strict_types=1); /** * This file has been auto generated * Do not change it. */ namespace Commercetools\Api\Models\Project; use Commercetools\Base\DateTimeImmutableCollection; use Commercetools\Base\JsonObject; interface ShoppingListsConfiguration extends JsonObject { public const FIELD_DELETE_...
<!--main content start--> <section id="main-content" class=""> <section class="wrapper"> <!-- page start--> <!-- page start--> <div class="row"> <div class="col-lg-12"> <section class="panel"> <header class="panel-heading"> Edit Ghatana </header> <div cla...
<?php require __DIR__.'/../vendor/autoload.php'; use Dropbox\Client as DropboxClient; use NaturalWeb\FileStorage\Storage\DropboxStorage; $token = ''; $app = ''; $dropbox = new DropboxClient($token, $app); // var_dump($dropbox->getAccountInfo()); $metadata = $dropbox->getMetadataWithChildren('/consultaleiloes/uplo...
<div class="card shadow"> <div class="card-header bg-special text-warning"> <h6>Buyer's Information</h6> </div> <div class="card-body small"> <table id="example" class="table table-responsive-sm text-left col-md-10 mx-auto" width="100%"> <tr> <th>Username<th> ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Obat extends Model { public $timestamps = false; protected $table = 'kkp_obat'; protected $primaryKey = 'obat_id'; protected $fillable = [ 'obat_jenobat_id', 'obat_katobat_id', 'obat_nama', ...
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { use HasFactory, Notifiable; /** * The a...
@extends('layouts.master') @section('content') @component('components.edit') @slot('title','Editar Livro') @slot('back', url()->previous()) @slot('update', route('books.update', $book->id)) @slot('form') @include('books.form') @endslot @endcomponent @endsect...
<?php namespace App\Repositories; use App\CartProduct; class CartProductRepository implements CartProductRepositoryInterface { protected $cartProduct; public function __construct(CartProduct $cartProduct) { $this->cartProduct = $cartProduct; } public function create($cart_id, $produ...
<?php header('Access-Control-Allow-Origin: *'); $target_path = "images/"; $target_path = $target_path . basename( $_FILES['file']['name']); if(move_uploaded_file($_FILES['file']['tmp_name'], $target_path)) { header('Content-type: application/json'); $data = ['success' => true, 'message' => 'Upload and move ...
<!-- Sidebar --> <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar"> <!-- Sidebar - Brand --> <a class="sidebar-brand d-flex align-items-center justify-content-center" href=""> <div class="sidebar-brand-icon rotate-n-15"> </div> <div class="...
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; use Illuminate\Notifications\Messages\VonageMessage; use Illuminate\Notifications\Messages\NexmoMessage; class send...
<?php namespace Evryn\LaravelToman; use Evryn\LaravelToman\Exceptions\GatewayException; class FakeRequest { const SUCCESSFUL = 'successful'; const FAILED = 'failed'; private $status; private $transactionId; private $exception; public function successful(): self { $this->status =...
<?php namespace App\Http\Controllers; use App\AskDoctorComments; use App\HomeClinicComments; use http\Env\Response; use Illuminate\Http\Request; use App\Medical_file; use App\Ask_doctor; use App\Request_medicin; use App\Home_clinic; use DB; use App\Mail\ClientMail; //use Illuminate\Support\Facades\Mail; use Auth; us...
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may s...
<?php namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Notifications\DatabaseNotification; class NotificationsTest extends TestCase { use D...
@extends('layouts.aircraft') @section('title','Отчет по перепробегу вне смены') @section('content') <style> </style> <form method="GET" class="form-inline"> <div class="form-group"> <label for="time_start" style="font-size:20px;">Период с</label> <input class="form-control" onclick="NewCssCal('time...
<?php class Mdetail extends CI_Model { public function get_chitietsp($masp){ $this->db->where('sanpham.PK_sMaSP', $masp); $this->db->join('nhomsanpham', 'nhomsanpham.PK_sMaNhomSP = sanpham.FK_sMaNhomSP'); $arr_sp = $this->db->get('sanpham')->row_array(); $this->db->where('FK_sMaSP', $arr_sp['PK_sMaSP']); $...
<?php /** * Created by orm-generator. * User: catalin * Date: 18/Nov/15 * Time: 15:12 */ namespace Tlt\Bundle\TicketBundle\Model; use Doctrine\Common\Persistence\ObjectManager; use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; class DefectTypeApiManager extends ApiEntityManager { /** * @var D...
<?php namespace Biplane\YandexDirect\Api\V5\Contract; /** * Auto-generated code. */ class CpmBannerAdBuilderAdGet extends AdBuilderAdGetBase { // Can be omit. // protected $Href = null; // Can be omit. // protected $TrackingPixels = null; // Can be omit. // protected $TurboPageId = null; // ...