text
stringlengths
2
1.03M
<table class="table"> <tr><th>ID</th><th>Name</th><th>Price</th><th>Unit</th></tr> <?php foreach($rows as $row){ echo "<tr> <td>{$row['id']}</td> <td>{$row['name']}</td> <td>{$row['price']}</td> <td>{$row['unit']}</td> </tr>"; } ?> </table>
<?php namespace ZenCash\Rpc\Command\RawTransactions; use ZenCash\Rpc\Command; use ZenCash\Rpc\Command\RawTransactions\SignRawTransaction\SigHashType; final class SignRawTransaction implements Command { private const METHOD = 'signrawtransaction'; private $hex; private $prevtxs; private $privateKeys; ...
@extends('layout') @section('title', 'Perfil de usuario') @section('content-header') <h1>Perfil de usuario</h1> @endsection @section('content') @include('modals.changepass') @include('modals.message') <div class="row"> <div class="col-md-3"> <div class="box box-primary"> <div class="box-body box-profile"> ...
<!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h2>Jadwal</h2> ...
<?php namespace CorkTech\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class TipoProdutosRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** ...
<?php /** * Created by PhpStorm. * User: sujon * Date: 12/4/16 * Time: 10:51 PM */ class Punch extends CI_Controller { public function punchIn($id){ } }
<?php namespace Tests\Feature; use App\Thread; use App\User; use Illuminate\Foundation\Testing\DatabaseMigrations; use Tests\TestCase; class ParticipateInForumTest extends TestCase { use DatabaseMigrations; /** @test */ public function an_un_auth_user_cannot_add_replies() { /** @var User $us...
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class Caret extends Model{ /** * 关联到模型的数据表 * * @var string */ protected $table = 'caret'; protected $primaryKey = 'caret_id'; /** * 表明模型是否应该被打上时间戳 * * @var bool */ public $timestamps = fals...
@extends('layouts.app') @section('content') {{-- Add Project --}} {{-- Main Wrapper --}} <div class="main-wrapper"> {{-- Title --}} <div class="title-wrapper"> <h1 class="title"><a href="{{ url('/dashboard/projects') }}">Projects</a> / <a href="{{ url('/dashboard/projects/create') }}">Add project</a...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, ...
<?php session_start(); header("Content-type: image/png"); // create empty image $img = imagecreatetruecolor(130, 90); // number of circles $ncirc = mt_rand(2,6); $_SESSION['ncirc'] = $ncirc; for ($i=0; $i<$ncirc; $i++) { // color of circles $r = mt_rand(140,255); $g = mt_rand(140,255); $b = mt_rand(140,255); $c...
<?php namespace AWT\Exceptions; use Exception; use Throwable; class InvalidApiLogDriverException extends Exception { public function __construct( $message = 'Invalid Api Log Driver', $code = 0, Throwable $previous = null ) { parent::__construct($message, $code, $previous); ...
<?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...
<?php namespace App\Interfaces; interface AddressRepositoryInterface { public function store(array $data); }
<?php session_start(); error_reporting(0); include('include/config.php'); include('include/checklogin.php'); check_login(); if(isset($_GET['del'])) { mysqli_query($con,"delete from doctors where id = '".$_GET['id']."'"); $_SESSION['msg']="data deleted !!"; } ?> <!DOCTYPE html> <h...
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Crm\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for MyTaskViewUnitDTO StructType * @subpackage Structs */ class MyTaskViewUnitDTO extends AbstractStructBase { /** * The unitName ...
public function loadAllowance($request, $action) { return [$_COOKIE['allowance'],$_COOKIE['allowance_updated_at']]; } public function saveAllowance($request, $action, $allowance, $timestamp) { setcookie('allowance', $allowance, time() + (86400 * 30), '/'); setcookie('allowance_updated_at', $timestamp, time() + (864...
<?php namespace Visiteurs\AccueilBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $crawler = $client->request('GET', '/hello/Fabien'); $this...
<?php class Product extends CI_Model { public function all() { $query = $this->db->get_where('products', array('active' => 1)); return $query->result(); } public function find($id_product) { $query = $this->db->query("SELECT * FROM products WHERE id_product = $id_product"); return $query->result...
@extends('frontend.layouts.master') @section('meta_title',(get_setting('title').' | Bio Well')) @section('meta_description',get_setting('meta_description')) @section('meta_keywords', get_setting('meta_keywords')) @section('content') <section id="hero"> <div class="hero-container"> <div class...
<?php return [ 'name' => 'Beddings' ];
@extends('company.layout.auth') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-info"> <div class="panel-heading">LOGIN TO ADVERTISE</div> <div class="panel-body"> <f...
<?php namespace Fusion\Events\Backups; use Exception; class FileRestoreFailed { /** * @var Exception */ public $exception; /** * @var array */ public $filesToCopy; public function __construct(Exception $exception, array $filesToCopy) { $this->exception = $exception; $...
<?php /** * YYF - A simple, secure, and efficient PHP RESTful Framework. * * @link https://github.com/YunYinORG/YYF/ * * @license Apache2.0 * @copyright 2015-2017 NewFuture@yunyin.org */ /** * PHP53兼容 */ interface JsonSerializable { public function jsonSerialize(); }
<?php return [ /* |-------------------------------------------------------------------------- | Default Broadcaster |-------------------------------------------------------------------------- | | This option controls the default broadcaster that will be used by the | framework when an even...
<script src="<?php echo base_url();?>assets/js/job_details.js"></script> <script> $(document).ready(function() { $('.fancybox').fancybox({ 'width':1000, 'height':600, 'autoSize' : false, 'afterClose':function () { fancy_box_closed(); }, }); var options_dealer = $('...
<?php namespace App\Http\Requests\API; use App\Models\Role; use Webcore\Generator\Request\APIRequest; class UpdateRoleAPIRequest extends APIRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php namespace Code16\Sharp\Tests\Feature\Api\Commands; use Code16\Sharp\EntityList\Commands\EntityState; use Code16\Sharp\Exceptions\Form\SharpApplicativeException; use Code16\Sharp\Tests\Feature\Api\BaseApiTest; use Code16\Sharp\Tests\Fixtures\PersonSharpEntityList; class EntityListInstanceStateControllerTest ext...
<div class="col-md-3"> <div class="panel panel-default"> <div class="panel-heading">Ref</div> </div> </div>
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Order extends Model { public function user() { return $this->belongsTo(User::class); } public function order_details() { return $this->hasMany(OrderDetail::class); } public function amount() { ...
<?php /** * Class FileTest * * @filesource FileTest.php * @created 06.03.2017 * @package chillerlan\FilereaderTest * @author Smiley <smiley@chillerlan.net> * @copyright 2017 Smiley * @license MIT */ namespace chillerlan\FilereaderTest; use chillerlan\Filereader\Directory; use chille...
<?php use MCommons\StaticOptions; use User\Model\UserReservation; use Zend\Db\Sql\Predicate\Expression; defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'local')); require_once dirname(__FILE__) . "/init.php"; StaticOptions::setServiceLocator($GLOBALS ['a...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Generalsettings; use App\Languages; use App\Source; use App\Pages; class PagesController extends Controller { public function index($id) { $ids = 'en.json'; $path = storage_path() . '/app/'.$ids; // ie: /var/www/larave...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\AdminAnalytics\Controller\Adminhtml\Config; use Magento\Backend\App\Action; use Magento\Framework\App\Action\HttpPostActionInterface; use Magento\Framework\Controller\Resu...
<?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\TrashBundle\Domain\Model; use Sulu\Component\Security\Authentication\UserInterface; interface TrashItemInterface { ...
<div id="m-content" class="m-workorder"> <?php if ($work_order) { ?> <div class="m-wo-header"> <div class="m-wo-title"><a class="back-work-order" href="/mobile/workorder"><i class="fa fa-arrow-left"></i></a><?php echo $work_order['name']; ?></div> </div> <div class="m-wo-detail"> <div class=...
<?php namespace App\Http\Controllers; use App\Category; use Illuminate\Http\Request; class CategoryController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $categories = Category::all(); ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; /** * @property int $id * @property int $user_id * @property string $message * @property int $status * @property int $archived * @property string $created_at * @property string $updated_at */ class Chat extends Model { /** * @var ar...
<?php namespace Spatie\MediaLibrary\Tests\Feature\Media; use File; use Illuminate\Database\Eloquent\SoftDeletes; use Spatie\MediaLibrary\MediaCollections\Models\Media; use Spatie\MediaLibrary\Tests\TestCase; use Spatie\MediaLibrary\Tests\TestSupport\TestModels\TestModel; use Spatie\MediaLibrary\Tests\TestSupport\Test...
<!doctype html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![...
<?php $lang["customers_available_points"] = "คะแนนที่มี"; $lang["rewards_package"] = "คะแนนสะสม"; $lang["rewards_remaining_balance"] = "คะแนนสะสมคงเหลือ "; $lang["sales_account_number"] = "บัญชี #"; $lang["sales_add_payment"] = "เพิ่มบิล"; $lang["sales_amount_due"] = "ยอดต้องชำระ"; $lang["sales_amount_tendered"] = "ชำร...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php /** * Kuuzu Cart * * REPLACE_WITH_COPYRIGHT_TEXT * REPLACE_WITH_LICENSE_TEXT */ use Kuuzu\KU\FileSystem; use Kuuzu\KU\KUUZU; use Kuuzu\KU\Registry; class upload { var $file, $filename, $destination, $permissions, $extensions, $tmp_filename, $message_location; function upload($file = '...
<?php $type='TrueTypeUnicode'; $name='DejaVuSans-BoldOblique'; $desc=array('Ascent'=>928,'Descent'=>-236,'CapHeight'=>-51,'Flags'=>96,'FontBBox'=>'[-1067 -388 2005 1121]','ItalicAngle'=>-11,'StemV'=>120,'MissingWidth'=>600); $up=-63; $ut=44; $dw=600; $cw=array( 0=>600,32=>348,33=>456,34=>521,35=>696,36=>696,37=>1002,38...
<div class="prototype"> $Ktypedef@ $Kconst@ $Tt_bunny_prototype@ *(*$Tt_bunny_get_function_list@)(void); </div> <hr /> <div class="resume"> <h3>Description</h3> $A This function type is the one that <b>must</b> be defined inside any bunny plugin wanabe to become effectively a bunny plugin. This function is t...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddRelationshipFieldsToDalaryAllowancesTable extends Migration { public function up() { Schema::table('dalary_allowances', function (Blueprint $table) { ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCitiesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('cities', functio...
<?php if (!empty($all_down)) { ?> <div id="payment_info"> <div class="box box-info"> <div class="box-header"> <h3 class="box-title" style="color: black;">Payment Info.</h3> </div> <div class="box-body table-responsive" style="width: 98%; overflow: scroll;...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class NilaikuliahController extends Controller { public function index() { // mengambil data dari table pendapatan //$pendapatan = DB::table('pendapatan')->get(); $nilaikuliah = DB::t...
<?php namespace common\models; use Yii; /** * This is the model class for table "n_news". * * @property int $id_news * @property int $id_category * @property string $title * @property string $date_add * @property string $date_from * @property string $date_to * @property string $slider_annotation * @propert...
<?php declare(strict_types=1); namespace Shopware\Core\Migration; use Doctrine\DBAL\Connection; use Shopware\Core\Checkout\Payment\Cart\PaymentHandler\DefaultPayment; use Shopware\Core\Framework\Migration\MigrationStep; class Migration1536232920PaymentMethod extends MigrationStep { public function getCreationTim...
<?php /** * Created by PhpStorm. * User: VULCAN * Date: 2019/5/29 * Time: 15:08 */ namespace app\common\model; class SystemUser extends Base { protected $updateTime = 'longtime'; public function role(){ return $this->belongsTo('SystemRole','role','id'); } //所有的管理员 public function ...
<?php namespace Dragooon\Hawk\Credentials; class CredentialsTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function shouldCheckCredentials() { $credentials = new Credentials( 'HX9QcbD-r3ItFEnRcAuOSg', 'sha256', 'exqbZWtykFZIh2D7cXi9dA...
<?php namespace Renatio\DynamicPDF\Updates; use Schema; use October\Rain\Database\Updates\Migration; class CreatePDFTemplatesTable extends Migration { public function up() { Schema::create('renatio_dynamicpdf_pdf_templates', function ($table) { $table->engine = 'InnoDB'; ...
<?php /** * +---------------------------------------------------------------------- * | CMPAY [ WE CAN DO IT JUST THINK ] * +---------------------------------------------------------------------- * | Copyright (c) 2019 XingZKJ. All rights reserved * +----------------------------------------------------------------...
<?php return [ 'light' => [ '--be-primary-lighter' => '#37474f', '--be-primary-default' => '#263238', '--be-primary-darker' => '#1C262B', '--be-accent-default' => '#F44336', '--be-accent-lighter' => '#FCC7C3', '--be-accent-contrast' => 'rgba(255, 255, 255, 1)', ...
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* @F...
<?php /** * author: wxf */ $address = \app\models\RefundAddress::find()->where(['store_id' => Yii::$app->controller->store->id, 'is_delete' => 0])->all(); foreach ($address as &$v) { if (mb_strlen($v->address) > 20) { $v->address = mb_substr($v->address, 0, 20) . '···'; } } unset($v); $urlManager = ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Dang_nhap extends CI_Controller { function __construct() { parent::__construct(); // Load thư viện URL $this->load->helper('url'); // Kết nối đến CSDL $this->load->database(); // Kết nối đến MODEL $this->load->model('m_user'...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePartesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('partes', functio...
<?php /* Template Name: Two Column Template */ get_header(); ?> <main role="main"> <!-- section --> <section> <?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );?> <header class="featured-image-bg" style="background: url('<?php echo $thumb['0'];?>')"><div class="page-...
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your H...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\Pivot; class AgendamentoOutrasInfo extends Pivot { public $incrementing = true; }
<?php declare(strict_types=1); namespace crud\components\helpers; /** * Class NameHelper */ class NameHelper { /** * @param string $columnName * * @return string */ public static function getColumnTitle(string $columnName): string { return implode(' ', array_map('ucfirst', e...
<?php namespace Poirot\TenderBinClient\Client\PlatformRest; use Poirot\ApiClient\Interfaces\Request\iApiCommand; use Poirot\OAuth2Client\Federation\Command\Recover\Validate; use Poirot\TenderBinClient\Client\Command\Delete; use Poirot\TenderBinClient\Client\Command\Fetch; use Poirot\TenderBinClient\Client\Command\List...
<?php /* *Efetua a montagem das telas do sistema */ require_once("database/cad_pessoa.php"); class controller_cadPessoa { /*Retorna o NOME digitado para cadastro do comprador*/ public function controllersCadPessoaPostNome() { return (!empty($_POST['nome'])) ? addslashes($_POST['nome']) : null; } /*Retorna o...
<?php declare(strict_types=1); /** * This file is part of stubbles. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @package stubbles\console */ namespace stubbles\console; use bovigo\callmap\NewInstance; use stubbles\console\inp...
<!-- Pricing ================================================== --> <div id="pricing" class="pricing-background"> <h2 class="pricing-section-header light text-center">CHOOSE YOUR PRICING PLAN</h2> <h4 class=" pricing-section-sub text-center light">Pick any of our super affordable pricing plans</h4> <d...
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class App extends BaseConfig { /** * -------------------------------------------------------------------------- * Base Site URL * -------------------------------------------------------------------------- * * URL to your CodeIgniter root. Typicall...
<?php if (! defined('BASEPATH')) exit('No direct script access alowed'); class Guestbook extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('guest_book_model'); $this->load->helper('url_helper'); ...
<?php namespace App\Http\Controllers; use App\Product; use Illuminate\Http\Request; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { // $this->middleware('auth'); } /** * Show th...
<div id="map-view-container"> <div id="map-container"> @if(!$tribunaux->isEmpty()) @foreach($tribunaux as $tribunal) <?php $position = explode(',',$tribunal->position_suisse); ?> <div id="{{ $tribunal->slug }}" style="position: absolute; z-index: 1000; top: {...
<?php use Symfony\Component\Debug\Debug; use Symfony\Component\HttpFoundation\Request; // If you don't want to setup permissions the proper way, just uncomment the following PHP line // read https://symfony.com/doc/current/setup.html#checking-symfony-application-configuration-and-setup // for more information //umask...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCommandeDetailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('command...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDiscussionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('discussions...
<section class="row"> <aside class="col-lg-6 col-xs-12 border"> <h1>Columna 1</h1> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commod...
<?php declare(strict_types=1); namespace MixerApi\Rest\Test\App\Controller; /** * Countries Controller * * @property \App\Model\Table\CountriesTable $Countries * @method \App\Model\Entity\Country[]|\Cake\Datasource\ResultSetInterface paginate($object = null, array $settings = []) */ class NoCrudController extend...
<?php require_once(__DIR__.'/includes/autoload.php'); //session_start(); use DigiByte\DigiID; $digiid=new DigiID(); $nonce = $digiid->generateNonce(); $digiid_uri = $digiid->buildURI('https://your_domain/digiid/callback.php', $nonce); ?> <html> <body> <div id="login"> <img id="login_digiid"></img> </div> <...
<div class="col-md-12"> <h1>Добавить файл в петроглиф</h1> </div> <?php if (isset($message)):?> <div class="alert alert-danger" role="alert"><?=$message?></div> <?php endif?> <form enctype="multipart/form-data" method="post"> <div class="col-md-6 form-group"> <div class="form-group"> <la...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Common_model extends CI_Model { public function __construct() { parent::__construct(); } /* * Fetching data from provided table * @parameter $table * @return array/boolean */ function get_rec...
<?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\ArticleBundle\Document\Index\Factory; use Doctrine\ORM\EntityRepository; use Doctrine\ORM\Query\Expr\Join; use ONGR\E...
@extends('layouts.master') @section('titulo', 'Nuevo Anuncio') @section('contenido') <form method="POST" action="{{route('anuncios.store')}}" class="my-2 border p-5" enctype="multipart/form-data"> {{csrf_field()}} <div class="form-group row"> <label for="inputTitulo" class="co...
@extends('layouts.app') @section('content') <div class=""> @include('pages.matters.form.partials._show_header') @include('pages.matters.form.partials._show_main_data') <div class="row"> <div class="col-lg-7 col-md-12"> <!--begin::Card--> <div clas...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Lesson extends Model { protected $fillable = [ 'chapter_id', 'nama', 'video' ]; }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSecAuthenticationProviderTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::creat...
<?php /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative...
<?php declare(strict_types=1); namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateMembersTeamRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize(): bool { ...
<?php namespace App\Providers; use App; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { // } /** * Bootstrap any application servi...
<?php /** * Created by Pankit Gami * Date: 11/4/17 * Time: 5:27 PM */ namespace Caffeinated\Modules\Exceptions; class ModuleNotFoundException extends \Exception { /** * ModuleNotFoundException constructor. */ public function __construct( $slug ) { parent::__construct('Module with slug name [' . $slug . ...
@extends('main') @section('content') <div class="row"> <h3>Edit Ticket</h3> {{ Form::model($ticket, ['route' => ['tickets.update', $ticket->id ], 'method' => 'PATCH']); }} <!-- Title Form Input --> {{ Form::label('title', 'Title:') }} {{ Form::text('title', null, ['class...
<?php namespace Modules\Configuration\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Routing\Controller; class ModuleController extends Controller { /** * Display a listing of the resource. * @return Response */ public function index() { ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class Introduce extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('introduce', function (Bl...
<div class="modal-dialog modal-lg" role="document" aria-labelledby="exampleModalCenterTitle" id="DeleteModal"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header bg-danger"> <h5 class="modal-title upcase" id="exa...
@extends('post.layout') @section('title') <h1 class="blog-title">مقالة جديدة</h1> @endsection @section('content') <form method="POST" action="{{$action}}"> {{@csrf_field()}} <input type="hidden" name="user_id" value="{{\Illuminate\Support\Facades\Auth::id()}}"> @if($method == 'put') ...
<?php return [ 'hash_salt' => env('HASH_SALT'), ];
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v1/enums/click_type.proto namespace Google\Ads\GoogleAds\V1\Enums\ClickTypeEnum; /** * Enumerates Google Ads click types. * * Protobuf type <code>google.ads.googleads.v1.enums.ClickTypeEnum.ClickType</code> */ class Cl...
<?php declare(strict_types=1); namespace Flowwow\RevolutMerchant\Responses; use Spatie\DataTransferObject\DataTransferObject; class Customer extends DataTransferObject { public string $id; public string $created_at; public string $updated_at; public string $email; public ?string $full_name; ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddParentsToPermissionTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('permissions', function(Blueprint $table) { $table->integer('pa...
<?php $__env->startSection('Contenido'); ?> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12"> <h3>Nuevo Proveedor</h3> <?php if(count($errors)>0): ?> <div class="alert alert-danger"> <ul> <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__cu...