text stringlengths 2 1.03M |
|---|
<!DOCTYPE html>
<html>
<head>
<?php //include('head.php'); ?>
</head>
<body style="background-image: url('<?php echo base_url();?>/asserts/vendors/images/login-bac.png');background-position: center;background-repeat: no-repeat;background-size: cover;">
<div class="login-wrap customscroll d-flex align-items-center fl... |
@extends('layouts.library')
@section('content')
<!-- Start of Content -->
<div class="container">
<div class="row">
<h2>Shopping Cart</h2>
<div class="container-fluid">
<table class="table">
<thead>
<tr>
<th class="text-center"><h... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\OrderglobalSD\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for MidocoAirportFullDescriptionResponse StructType
* @subpackage Structs
*/
class MidocoAirportFullDescriptionResponse extends Ab... |
<?php
$this->title = 'Criar Usuario';
$this->params['breadcrumbs'][] = ['label' => 'Usuario', 'url' => ['index']];
$this->params['breadcrumbs'][] = 'Usuario';
?>
<?= $this->render('_form', [
'model' => $model,
'modelUser' => $modelUser,
'error' => $error,
]) ?> |
<?php
/**
* [Laike System] Copyright (c) 2017-2020 laiketui.com
* Laike is not a free software, it under the license terms, visited http://www.laiketui.com/ for more details.
*/
require_once('BaseAction.class.php');
class envelopeAction extends BaseAction {
// 获取新闻详情
public function index(){
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Auth;
class HistoricoAtualizacao extends Model
{
//
public $timestamps = false;
protected $table = 'historico_atualizacao';
protected $fillable = ['his_id', 'data_atualizacao', 'adm_id', 'status'];
// método para inserir novo relea... |
<?php
namespace App\Http\Controllers\Planeacion;
use App\Http\Controllers\Controller;
use App\Models\Evaluacion\Plantilla;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Redirect;
use Illuminate\Support\Facades\Auth;
class SalidasController extends Controller
{
pub... |
<?php
/**
* Select field markup
*
* @link https://github.com/matthiez/
* @since 1.0.0
*
* @package HierarchyFilter
* @subpackage HierarchyFilter/admin/partials
*/
?>
<input
type="text"
aria-role="text"
aria-label="<?php esc_attr(_e($atts['aria_label'], 'hierarchyfilter'));... |
<?php
use yii\helpers\Html; ?>
<div class='row'>
<div class="col-sm">
<?= $this->render('../shared/left_column', ['active' => 'projects']);?>
</div>
<div class="col-lg">
<?= $this->render('../shared/content_header', ['new_url'=>'index.php?r=projects/new']);?>
<?php if(count($projects) > 0): ?>
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="apple-touch-icon" sizes="76x76" href="admin/img/apple-icon.png">
<link rel="icon" type="image/png" href="admin/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>
JM Graphy - Admin Dashboard... |
@extends('checkout::layout')
@section('logo-right-link')
<div class="ml-auto align-self-center">
<a href="{{ route('checkout.login') }}" class="btn btn-link text-right">{{ _e('Login') }}</a>
<a href="{{ route('checkout.register') }}" class="btn btn-link text-right">{{ _e('Register') }}</a>
</di... |
<?php
//====================================================
// Atomic operation
// Category label
//====================================================
require '_authorized_header.php';
use \DCMS\Request;
use \DCMS\JSON_Response;
/** @var Request $request */
$request = $services->get('request');
/** @var JSON_Re... |
<?php
namespace CoreBundle\Model\Request\Ship;
use CoreBundle\Entity\Ship;
/**
* Trait ShipSingleRequestTrait;
*/
trait ShipSingleRequestTrait
{
/**
* @var Ship
*/
protected $ship;
/**
* {@inheritdoc}
*/
public function __construct()
{
$this->ship = new Ship();
... |
<?php
declare(strict_types=1);
namespace OpenTelemetry\Tests\Unit\SDK\Trace;
use AssertWell\PHPUnitGlobalState\EnvironmentVariables;
use Exception;
use OpenTelemetry\SDK\Trace\SamplerFactory;
use PHPUnit\Framework\TestCase;
/**
* @coversDefaultClass OpenTelemetry\SDK\Trace\SamplerFactory
*/
class SamplerFactoryTe... |
<?php
use yii\helpers\Url;
use eagle\modules\util\helpers\TranslateHelper;
use eagle\modules\order\models\OdOrder;
use eagle\modules\delivery\helpers\DeliveryHelper;
$active = '';
$customConditionArray = [
TranslateHelper::t('所有订单')=>[
'url'=>Url::to(['/order/lazada-order/list'])."?menu_select=all"
],
];
if (!empty($c... |
<?php
namespace Qck\Interfaces\Sql;
/**
*
* @author muellerm
*/
interface WriteQuery extends Query
{
const INSERT = "INSERT";
const UPDATE = "UPDATE";
const DELETE = "DELETE";
const SELECT = "SELECT";
const CREATE_TABLE = "CREATE TABLE";
const DROP_TABLE = "DROP TABLE";
/**
* @return Table
... |
<?php
namespace app\modules\email\controllers;
use Yii;
use app\modules\email\models\Email;
use app\modules\email\models\EmailSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use yii\data\Pagination;
/**
* DefaultController implements the ... |
<?php
namespace SyAliPay\Commerce\Iot;
/**
* ALIPAY API: alipay.commerce.iot.sdarttool.message.send request
*
* @author auto create
*
* @since 1.0, 2021-04-07 15:15:43
*/
class SdarttoolMessageSendRequest
{
/**
* 打印消息发送
*/
private $bizContent;
private $apiParas = [];
private $terminalT... |
<?php
use Illuminate\Database\Seeder;
class User extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(App\User::class, 5)->create()->each(function ($user){
$user->save();
});
}
} |
<?php
return [
'basket' => [
'you_cant_order_more' => 'Товар не доступен для заказа в полном объеме',
'you_order_confirmed' => 'Ваш заказ принят в обработку!',
'cart_is_empty' => 'Ваша корзина пуста!',
'product_added' => 'Добавлен товар ',
'product' => 'Товар ',
'not... |
@extends('layouts.user')
@section('user_content')
<div class="container">
<legend>我所發起的項目</legend>
@if($starter->get()->count() == 0)
<h1>沒有發起項目</h1>
@else
@if($user->projects()->where('status','0')->count()!=0)
<div class="well row project_index_border project_index_border div_background">
<legend>暫存項目... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCommentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comments', fun... |
@extends('layouts.master')
@section('titulo_pagina_sistema', 'Usuarios - Creación')
@section('estilos')
@endsection
@section('scripts-header')
@endsection
@section('top-left-submenus')
@parent
{{-- Menu Top--}}
@endsection
@section('title-container')
<h4 class="m-0 text-dark text-uppercase">C... |
<?php /* Template Name: cursos */ get_header(); ?>
<div class="container min-h pt-3">
<div class="row">
<div class="col-md-12">
<h3>PRÓXIMOS CURSOS</h3>
<div class="row pt-3">
<?php
$args = array( 'post_type' => 'product', 'posts_per_page' => 6, 'product_cat' => 'cursos', 'orderby' => 'ASC' );
... |
@extends('layouts.main')
@section('content')
@if(app('request')->input('inactive')=='true')
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
<script type="text/javascript">
Swal.fire({
icon: 'error',
title: 'Oops...',
text: 'Suscripción inactiva',
showConfirmButton: false... |
<?php
use yii\db\Migration;
/**
* Handles the creation of table `{{%replenishment}}`.
*/
class m200617_161045_create_replenishment_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->createTable('{{%replenishment}}', [
'id' => $this->primaryKe... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('posts', function ... |
<?php
namespace ECommerce\Http\Controllers;
use ECommerce\Models\Products;
;
class HomeController extends BaseController
{
public function home(){
return view('eco::home');
}
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUserlistTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up(){
Schema::create('userlist', function... |
<!-- Navigation -->
<?php
include("includes/header.php");
include("includes/frontimg.php");
include("image.php");
include("includes/nav.php");
?>
<!-- About Section -->
<div id="about">
<div class="container">
<div class="section-title text-center center">
<h2>About us</h2>
<hr>
</div>
<di... |
<?php
namespace ccxt;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception; // a common import
use \ccxt\ExchangeError;
use \ccxt\ArgumentsRequired;
class bigone extends Exchange {
public funct... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateHobbiesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('hobbies', function (Blueprint $table) {
$t... |
<?php
if(!isset($POST['submit'])){
// this page should not be accessed directly; need to submit form!
echo "ERROR! Please submit the form.";
}
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$amount_choir = $POST['amount_choir'];
$amount_pastor = $POST['amount_pastor'];
$piece_... |
<!DOCTYPE html>
<html>
<head>
<title>Crear Impuesto</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type ="text/css" href="<?php echo base_url()?>public/bootstrap-3.3.7-dist/css/bootstrap.min.css">
<script type="text/javascript" src="<?php echo ... |
<?php
/**
* tpshop
* ============================================================================
* * 版权所有 2015-2027 深圳搜豹网络科技有限公司,并保留所有权利。
* 网站地址: http://www.tp-shop.cn
* ----------------------------------------------------------------------------
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 .
* 不允许对程序代码以任何形式任何目的的再发布... |
<?php
namespace steamLogin;
use ErrorException;
class steamAuth extends LightOpenID
{
public static function getUrlLogin(array $steamauth)
{
$openid = new LightOpenID($steamauth['domainname'], $steamauth['loginpage']);
$openid->identity = 'https://steamcommunity.com/openid';
return $o... |
<?php
class Exam_model extends CI_Model {
public function __construct() {
$this->load->database();
}
public function get_exams() {
$this->db->select('exam.*,branch.name as branchName,module.name as moduleName');
$this->db->from('exam');
$this->db->join('branch','branch.id=... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
use Illuminate\Support\Facades\Password;
use Illuminate\Http\Request;
class ForgotPasswordController extends Controller
{
/*
|----------------------------------------------... |
<?php
declare (strict_types=1);
namespace RectorPrefix20211123;
use Rector\PHPUnit\Rector\Class_\TestListenerToHooksRector;
use Rector\PHPUnit\Rector\MethodCall\ExplicitPhpErrorApiRector;
use Rector\PHPUnit\Rector\MethodCall\SpecificAssertContainsWithoutIdentityRector;
use Rector\Renaming\Rector\MethodCall\RenameMeth... |
<?php
/*
* Copyright 2019 Jack Sleight <http://jacksleight.com/>
* This source file is subject to the MIT license that is bundled with this package in the file LICENCE.
*/
namespace Coast;
use ArrayAccess;
use Closure;
use Coast;
use Coast\Model;
use Coast\Model\Metadata;
use Traversable;
use JsonSerializable;
us... |
@extends('template.admin.master') {{-- kế thừa từ master.blade.php --}}
@section('content') {{-- gọi lại tên trong yield --}}
<style type="text/css" media="screen">
label {
margin-top: 1%;
font-weight: bold;
}
</style>
<script type="text/javascript">
$(document).ready(function() {
var x = document.... |
@extends('home')
@section('content')
<form action="{{route('products.store')}}" method="post" enctype="multipart/form-data" id="fo1">
{{ csrf_field() }}
@if($errors->any())
<div class="alert alert-danger">
<p><strong>Opps Something went wrong</strong></p>
<... |
<?php
namespace Database\Seeders;
use App\Models\Audience;
use App\Models\Course;
use App\Models\Description;
use App\Models\Goal;
use App\Models\Image;
use App\Models\Lesson;
use App\Models\Requirement;
use App\Models\Review;
use App\Models\Section;
use Illuminate\Database\Seeder;
// use App\Models\Course;
class Cou... |
<?php
class Zebra extends Mammal
{
public function __construct(string $name, string $type, float $weight, string $livingRegion)
{
parent::__construct($name, $type, $weight, $livingRegion);
}
public function makeSound(): void
{
echo "Zs" . PHP_EOL;
}
/**
* @param Food $... |
<?php
namespace App\ToolsBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Validator\Context\ExecutionContextInterface;
/**
* @ORM\Entity
* @ORM\Table(name="test_control")
*/
class TestCont... |
<?php
namespace App\Http\Livewire\Components\SearchDropdown;
use App\Models\TypeOfWork;
use Livewire\Component;
class DropdownTypeOfWork extends Component
{
public $search;
protected $listeners = [
'emitSearchTypeOfWork'
];
public function updatedSearch($value)
{
$this->emit('ch... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "category".
*
* @property integer $id
* @property string $category_name
* @property string $category_description
* @property integer $category_status
*/
class Category extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use hscstudio\mimin\models\Route;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $model hscstudio\mimin\models\AuthItem */
$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Roles', 'url' => ['index']];
$this->params['breadcr... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddUserIdToExportassignments extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('export... |
<?php
use App\Models\Empresa;
use Illuminate\Database\Seeder;
class EmpresaTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(Empresa::class, 1)->create();
}
} |
<?php
/**
* @licence Proprietary
*/
namespace Jihel\OmnipaySpreedlyBridgeBundle\Manager;
use ColinODell\OmnipayBundle\Service\Omnipay;
use Doctrine\ORM\EntityManagerInterface;
use Jihel\OmnipaySpreedlyBridgeBundle\Bridge\ReceiverBridge;
use Jihel\OmnipaySpreedlyBridgeBundle\Entity\Receiver;
use Jihel\OmnipaySpreedly... |
<?php
declare(strict_types=1);
namespace ShlinkioTest\Shlink\CLI\Command\Db;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Schema\AbstractSchemaManager;
use PHPUnit\Framework\TestCase;
use Prophecy\Argument;
use Prophecy\Prophecy\ObjectProphecy;
use Shlinkio\Shlink\CLI... |
<?php
// If the form has been submitted with a captcha, check it - if it fails from Google, exit the script after returning an error message.
$data = array(
'secret' => $recaptchaSecretKey,
'response' => $_POST['g-recaptcha-response']
);
$verify = curl_init();
curl_setopt($verify, CUR... |
<?php
/*
* This file is part of the HWIOAuthBundle package.
*
* (c) Hardware Info <opensource@hardware.info>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace HWI\Bundle\OAuthBundle\OAuth\ResourceOwner;
use Symfony\Compo... |
<?php
namespace App\Http\Middleware;
use App\Models\Device;
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
class EncryptCookies extends Middleware
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
'utm',
... |
<?php
namespace Tests\Feature\Auth;
use App\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class RedirectTest extends TestCase
{
use RefreshDatabase;
/**
* Test that the user cannot visit some pages if he is authenticated.
*/
public function testRedirectIfAuthent... |
<?php
namespace App\Base;
use App\Models\User;
class Auth
{
public function user()
{
if (isset($_SESSION['user'])) {
return User::with('role')->find($_SESSION['user']);
}
return false;
}
public function check()
{
return isset($_SESSION['user']);
}... |
<?php
namespace Log1x\AcfComposer\Console;
use Roots\Acorn\Console\Commands\GeneratorCommand;
class FieldMakeCommand extends GeneratorCommand
{
/**
* The console command signature.
*
* @var string
*/
protected $signature = 'acf:field {name* : The name of the field group}';
/**
*... |
<?php
namespace Illuminate\Auth\Notifications;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\Facades\Lang;
use Illuminate\Support\Facades\Config;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;
class VerifyEmail extends Notific... |
<?php
/**
* Created by PhpStorm.
* User: jjuszkiewicz
* Date: 11.07.2014
* Time: 15:01
*/
namespace Nokaut\ApiKit\Entity\Metadata\Facet;
use Nokaut\ApiKit\Entity\EntityAbstract;
use Nokaut\ApiKit\Entity\Metadata\Facet\PropertyFacet\Value;
use Nokaut\ApiKit\Entity\Metadata\Facet\PropertyFacet\Range;
class Prope... |
<div class="container">
<div class="card o-hidden border-0 shadow-lg my-5 col-lg-7 mx-auto">
<div class="card-body p-0">
<!-- Nested Row within Card Body -->
<div class="row">
<div class="col-lg">
<div class="p-5">
<div class="text-center">
... |
<?php
namespace ILABAmazon\ComprehendMedical;
use ILABAmazon\AwsClient;
/**
* This client is used to interact with the **AWS Comprehend Medical** service.
* @method \ILABAmazon\Result detectEntities(array $args = [])
* @method \GuzzleHttp\Promise\Promise detectEntitiesAsync(array $args = [])
* @method \ILABAmazon... |
<?hh
class X {
public $propX;
function baz() {
echo 'X';
}
function foo() {
if ($this is Y) {
$this->bar();
$this->baz();
var_dump($this->propX);
return $this->propY;
}
return null;
}
}
class Y extends X {
public $propY;
function bar(){
echo 'Y';
}
}
class A1... |
<!-- General JS Scripts -->
<script src="https://demo.getstisla.com/assets/modules/jquery.min.js"></script>
<script src="https://demo.getstisla.com/assets/modules/popper.js"></script>
<script src="https://demo.getstisla.com/assets/modules/tooltip.js"></script>
<script src="https://demo.getstisla.com/assets/modules/boot... |
<?php
/**
* Platine Validator
*
* Platine Validator is a simple, extensible validation library with support for filtering
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2020 Platine Validator
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of thi... |
<?php
namespace App\Http\Middleware;
use Closure;
class agentMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (auth()->check... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace app\controllers;
use Yii;
use app\models\Category;
use yii\data\ActiveDataProvider;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use app\components\Translite;
use yii\web\UploadedFile;
use yii\helpers\Html;
use yii\helpers\Url;
/**
* CategoryController imple... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddBlogIdToReplies extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('replies', functi... |
@extends('layout')
@section('content')
@if(Auth::User())
<div class="container mr-2 mt-3">
<div class="row">
<div class="col-2">
</div>
<div class="col-8 m-4">
<div class="justify-content-center m-3">
<table class="table t... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\Tracking */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Trackings', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="tracking-view">
<h1>... |
<?php if (!defined('BASE_DIR')) exit('No direct script access allowed');
/**
title: @ uploaded-delete
description:
slug: admin/uploaded/delete
slug-pattern: admin/uploaded/delete(.*?)
slug-static: -
layout: empty.php
parser: -
protect-pre: 0
compress: 0
init-file: admin/core/_functions.php
**/
verifyLoginRedirect(... |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "events".
*
* @property int $id
* @property int $status
* @property string $title
* @property string $pic
* @property string $icon
* @property string $scan
* @property string $content
* @property int $user_max
* @property int ... |
@extends('layouts.main')
@section('contenido')
<!-- breadcrumb area start -->
<section class="breadcrumb-area breadcrumb-bg">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="breadcrumb-inner">
<h1 class="title">Contacto</h1>
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class TestPerformed extends Model
{
use HasFactory;
public $table = 'test_performeds';
protected $fillable = [
'available_test_id',
'patient_id',
'Sname_id',... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Tag extends Model
{
protected $table = 'tags';
protected $fillable = [
'name','type','description','status'
];
public function fileTag(){
return $this->hasMany('App\FileTags');
}
public function getStatusAttribut... |
@extends('home.layouts.home')
@section('title','صفحه سبد خرید')
@section('content')
<div class="breadcrumb-area pt-35 pb-35 bg-gray" style="direction: rtl;">
<div class="container">
<div class="breadcrumb-content text-center">
<ul>
<li>
<a href="{{ route('home... |
<?php
namespace Drupal\badcamp_stripe_payment\Entity;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface for defining Stripe payment type entities.
*/
interface StripePaymentTypeInterface extends ConfigEntityInterface {
// Add get/set methods for your configuration properties here.... |
<?php
/**
* @copyright Metaways Infosystems GmbH, 2012
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2015
*/
return array(
'coupon' => array(
'FixedRebate/1' => array( 'label' => 'Unit test fixed rebate', 'provider' => 'FixedRebate,BasketValues', 'status' => 1, 'c... |
<div class="row justify-content-center">
@forelse ($penyaluran as $item)
<div class="col-md-6 col-lg-5" data-aos="zoom-in" data-aos-delay="100">
<div class="box2" >
<h3>{{ $item->penerimaan_lazhaq->name }}</h3>
<h4 class="title">{{ $item->jumlah}}</h4>
<p class="description"> <strong>{{ $ite... |
<?php
namespace USHolidays\Traits\Holidays;
use USHolidays\Carbon;
trait AprilFoolsDay
{
/**
* Setting April Fools Day
*
* @param int $year The year to get the holiday in
*/
private function setAprilFoolsDay($year)
{
return Carbon::create($year, 4, 1, 0, 0, 0);
}
/**
... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="<?= base_url() ?>issets/css/bootstrap.min.css">
<style>
#dd{
margin-top:60px;
margin-right:30px;
}
</s... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Service extends Model
{
use HasFactory;
protected $fillable = [
'service_name',
'service_image'
];
} |
<?php
use yii\helpers\Html;
use yii\bootstrap4\ActiveForm;
use kartik\select2\Select2;
use kartik\date\DatePicker;
use app\models\CotizacionesProductos;
/* @var $this yii\web\View */
/* @var $model app\models\OrdenCompra */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="orden-form">
<div class="card card... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This m... |
<form>
<div class="mb-3">
<label for="name" class="form-label">Nome</label>
<input type="text" class="form-control" id="people-name" placeholder="Digite o nome do convidado">
</div>
<div class="mb-3">
<label for="surname" class="form-label">Apelido</label>
<input type="text" ... |
<?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
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
require_once dirname(__FILE__).'/TestCase.php';
class Twig_Tests_Node_BlockReferenceTest extends Twig_Tests_Node_Test... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CdiscountProProduct extends Model
{
protected $primaryKey = 'ref_sku';
protected $guarded = [];
protected $deniedCategories = [];
//
//
public function scopeProductAlreadyExist($query ,$ref_sku ,$ean = null )
{
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Todo;
class TodosController extends Controller
{
public function index(){
$todos = Todo::all();
return view('todos.index', [
'todos' => $todos
]);
}
public function show($todoId){
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class PM0001_model extends CI_Model
{
public function index()
{
$this->db->order_by('descr ASC');
return $this->db->get('param_class')->result_array();
}
public function create($data)
{
$this->db->ins... |
<?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\DependencyInjection\Dumper;
use Symfony\Component\Dep... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Passport\HasApiTokens;
class User extends Authenticatable
{
use Notifiable, HasApiTokens;
/**
* The attributes that are mass a... |
<?php
namespace App\Http\Controllers\VD;
use App\Http\Requests\AuthLogin;
use App\Http\Controllers\Controller;
class AuthController extends Controller
{
/**
* @OA\Post(
* path="/api/auth/login",
* operationId="/api/auth/login",
* tags={"Auth v0"},
* summary="登录",
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Home_model extends CI_Model
{
public function __construct()
{
parent::__construct();
$this->load->helper('text');
$this->load->database();
//$this->db2 = $this->load->database('websitemk',true);
}
function getBerita()
{
... |
<?php
require $_SERVER['DOCUMENT_ROOT']."/header.php";
/*
Title: Blog Delete Post
Author: Nik Mirza
Desc: Handle delete posts by author from frontend.
Perimeter: post_id ,accesstoken
Return Value: {status:1,msg:"Delete Successful"}
Status: -1:login expired,1:success, 2:delete failed, 0:fail,
*/
if (!isset($_POST["pos... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Model;
use App\Models\Genre;
use Faker\Generator as Faker;
$factory->define(Genre::class, function (Faker $faker) {
return [
'name' => $faker->name,
'name_alpha' => $faker->name,
'sort_number' => $faker->unique()->ra... |
@extends('layouts.default')
@section('head_title')
<title>Orders List</title>
@stop
@section('navigation')
<nav>
<ul>
<li><a href="/">HOME</a></li>
<li><a href="/about">ABOUT</a></li>
<li><a href="/blog">BLOG</a></li>
<li><a href="/users">USERS</a></li>
... |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage Security
* @author Uwe Tews
*/
/*
* FIXME: Smarty_Security API
* - getter and setter instead of public properties would allow cultivating an internal cache properly
* - current implementation of isTrustedResourceDir() assumes that Smarty::... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Carbon\Carbon;
class ShopsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('shops')->insert([
[
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.