text
stringlengths
2
1.03M
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Product extends Model { public function getName() { return $this->name; } }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>{{ config('app.name') }} | {{ $...
<?php namespace Files\ImagesBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\FileBag; use Files\ImagesBundle\Entity\BrandLogo; use Files\ImagesBundle\Entity...
@extends('common-service-page') @section('head') <head> <title>Assignment Help UK & Australia Best Online Writing Help</title> <meta name="description" content="Assignment Help UK & Australia Best Online Writing Help"> @endsection @section('image') <li data-masterspeed="700"> <im...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
<?php namespace Thunken\ApiGuard\Console\Commands; use Thunken\ApiGuard\Models\ApiKey; use Illuminate\Console\Command; class GenerateApiKey extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'api-key:generate ...
<?php class modelo extends CI_Model{ public function __construct(){ $this->load->database(); } public function listarObservaciones(){ $query = "select profesorobservacion.id, profesor.correo, alumno.nombre, alumno.matricula , profesorobservacion.comentario from profesor, alumno, profesorobservacion where prof...
<?php session_start(); include('includes/config.php'); error_reporting(0); if(strlen($_SESSION['login'])==0) { header('location:index.php'); } else{ if(isset($_POST['submit'])) { $category=$_POST['category']; $description=$_POST['description']; $status=1; $query=mysqli_query($con,"insert into programcategory(Catego...
<?php include("config.php"); include("function.php"); $device_id = sanitize($_REQUEST['device_id']); $user_id = sanitize($_REQUEST['user_id']); $cart = array(); if($device_id != '' && $user_id != '') { $Query="SELECT * from tbl_cart where Sess_ID='".$device_id."' AND Cart_Type!='Dine' and Cart_UserID ='".$user_id."'"...
<?php namespace App\Http\Controllers; use App\Stock; use Illuminate\Http\Request; class StockController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $stocks = Stock::all(); return vi...
<?php namespace common\models\search; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use common\models\IpAssignment; /** * IpAssignmentSearch represents the model behind the search form about `common\models\IpAssignment`. */ class IpAssignmentSearch extends IpAssignment { /** * @inheritdoc...
<?php if (!defined('BASEPATH')) EXIT("No direct script access allowed"); class Pages extends MY_Controller { function __construct() { parent::__construct(); } /** * This is a default method */ public function index() { $data = array(); common_viewloader('index'...
<?php Route::get('/', 'SoapController@obtenerListaBancos')->name('inicio'); Route::post('crearTransaccion', 'SoapController@crearTransaccion')->name('crearTransaccion.guardar'); Route::get('listarTransacciones', 'SoapController@listarTransacciones')->name('listarTransacciones'); Route::get('verTransaccion/{transacti...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Fotografia */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Fotografias', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php /** * This file is part of prooph/standard-projections. * (c) 2016-2018 prooph software GmbH <contact@prooph.de> * (c) 2016-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. ...
<?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. */ class Twig_Tests_Profiler_ProfileTest extends PHPUnit_Framework_TestCase { public function testConstructor() {...
<!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>@yield('title')</title> <base href="{{ asset('') }}"> <link rel="icon" href="img/tuansnakers.png" typ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateVideosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('videos', functio...
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Flat UI Free</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Loading Bootstrap --> <link href="/Public/css/bootstrap.min.css" rel="stylesheet"> ...
<?php declare (strict_types=1); namespace Rector\BetterPhpDocParser\Printer; use RectorPrefix20210827\Nette\Utils\Strings; final class DocBlockInliner { /** * @var string * @see https://regex101.com/r/Mjb0qi/1 */ private const NEWLINE_CLOSING_DOC_REGEX = "#\n \\*\\/\$#"; /** * @var str...
<?php /** * Copyright (C) 2017-2019 Frank Wall * Copyright (C) 2015 Deciso B.V. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code ...
<?php namespace CWM\BroadWorksConnector\Ocip\Models; /** * UserMeetMeConferencingGetConferenceGreetingRequest * * Get the information of a conference custom greeting. * The response is either UserMeetMeConferencingGetConferenceGreetingResponse or ErrorResponse. * * @see UserMeetMeConferencingGetConferen...
<div class="container-fluid the-box"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="table-responsive"> <table class="table table-hover table-sm" id="principiosactivos"> <caption><b>AGREGAR PRINCIPIOS ACTIVOS</b></caption> <caption> ...
<div class="row"> <div class="col-lg-12"> <div class="panel panel-primary"> <div class="panel-heading"> Filter Data </div> <div class="panel-body"> <form id="form-filter" class="form-horizontal"> <div class="form-group"> <label for="kota" class...
<?php /* * Copyright 2020 New Relic Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ use NewRelic\Integration\Trace; class TraceTest extends PHPUnit_Framework_TestCase { public function testConstruct() { $trace = new Trace($this->traceData()); $this->assertSame(0,...
<!DOCTYPE html> <html > <head> <meta charset="UTF-8"> <title>Login Form</title> <link rel="stylesheet" href="css/style.css"> </head> <body> <div id="login"> <form action="/loginme" method="post"> <input type="hidden" name="_token" value="{{ csr...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\Models\User; use App\Models\Company; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Http\Request...
<?php /** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ declare(strict_types=1); namespace Phalcon\Filter\Sanitize; use function filter_...
<?php /** * FilmDto class. * * PHP Version 8 * * @author xsga <parker@xsga.es> * @license MIT * @version 1.0.0 */ /** * Namespace. */ namespace api\filmaffinity\model\dto; /** * * @author XSegales * */ class FilmDto { /** * FilmAffinity film ID. * * @var integer * ...
@extends('layouts.layout') @section('tour') @php $related_tours = DB::table('tours')->limit(6)->get(); @endphp <!-- INNER-BANNER --> <div class="inner-banner style-6"> <img class="center-image" src="{{asset('img/30.jpg')}}" alt=""> <div class="vertical-align"> <div class="container"> <...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Tymon\JWTAuth\Contracts\JWTSubject; class User extends \TCG\Voyager\Models\User implements JWTSubject { use Notifiable; /** * The attr...
<?php namespace App\Http\Requests; use Urameshibr\Requests\FormRequest; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Exceptions\HttpResponseException; class BulkFileUploadRequest extends FormRequest{ public function authorize() { return true; } public function rules(...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\RenjaProgram */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="renja-program-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'tahun')->textInput(['maxlength' => t...
<?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\models; use Yii; /** * This is the model class for table "task". * * @property string $taskID * @property string $taskName * @property string $amount * @property string $projectID */ class Task extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static function tab...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Product extends Model { protected $fillable = ['name', 'description', 'body', 'price', 'slug']; public function store() { return $this->belongsTo(Store::class); } public function categories() { return $this->belongsToMany(Category::class)...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class AdminRegister extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return false; } /** * Get th...
--TEST-- swoole_mysql_coro: transaction --SKIPIF-- <?php require __DIR__ . '/../include/skipif.inc'; ?> --FILE-- <?php declare(strict_types = 1); require __DIR__ . '/../include/bootstrap.php'; use Swoole\Coroutine\MySQL\Exception; go(function () { $db = new Swoole\Coroutine\Mysql; $server = [ 'host' =...
@extends('layouts.main') @section('css') <style> #overlay { position: absolute; top: 0px; left: 0px; background: #ccc; width: 100%; height: 100%; opacity: .75; filter: alpha(opacity=75); -moz-opacity: .75; ...
<?php defined('BASEPATH') or exit('No direct script access allowed'); require APPPATH.'/libraries/REST_Controller.php'; class User extends REST_Controller { public function __construct() { parent::__construct(); authToken($this); validPost($this); $this->load->model('master/m_u...
<?php namespace OFFLINE\Mall\Models; use Cache; use DB; use Illuminate\Support\Facades\Queue; use Model; use October\Rain\Database\Traits\NestedTree; use October\Rain\Database\Traits\SoftDelete; use October\Rain\Database\Traits\Validation; use October\Rain\Support\Collection; use OFFLINE\Mall\Classes\Jobs\PropertyRemo...
<?php class Users extends CI_Controller{ public function login(){ $data = [ 'head' => $this->CategoryModel->displayCat(), 'title' => 'User Login' ]; $this->form_validation->set_rules('email', 'Email', 'required|valid_email'); $this->form_validation->set_rul...
<section id="counter" class="counter-section"> <div class="container"> <ul class="row counters"> <li class="col-md-3 col-sm-6 sm-padding"> <div class="counter-content"> <i class="ti-money"></i> <h3 class="counter">85389</h3> ...
@extends('layouts.app') @section('content') <!-- @if(session()->has('warning')) <div class="alert alert-warning">{{session()->get('warning')}}</div> @endif --> <!-- ST DOC 1400-09-17 پیغام دادن به کاربر --> @if($errors->any()) <div class="alert alert-danger"> @foreach($erro...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep the fr...
<?php namespace BssOpenApi\Request\V20171214; /** * Request of CreateInstance * * @method string getProductCode() * @method string getPeriod() * @method string getSubscriptionType() * @method string getRenewPeriod() * @method array getParameters() * @method string getRenewalStatus() * @method string getOwner...
<?php declare(strict_types=1); namespace Shopware\Core\Framework\Test\TestCaseBase; use Doctrine\DBAL\Connection; use Shopware\Core\Checkout\Cart\CartRuleLoader; use Shopware\Core\Checkout\Test\Payment\Handler\V630\SyncTestPaymentHandler; use Shopware\Core\Defaults; use Shopware\Core\Framework\Api\Util\AccessKeyHelpe...
<?php namespace Tests\Unit\Services\Adapters; use BeeDelivery\Benjamin\Services\Adapters\SafetyPayPaymentAdapter; use Tests\Helpers\Builders\BuilderFactory; use JsonSchema; use BeeDelivery\Benjamin\Models\Configs\Config; use Tests\TestCase; class SafetyPayPaymentAdapterTest extends TestCase { public function test...
<div class="box"> <div class="box-header with-border"> <h6 class="box-subtitle"> <button class="float-right btn btn-success ml-2" id="btn-tambah"><i class="mdi mdi-account-multiple-plus"></i> Karyawan Outlet</button> <a href="<?= base_url(); ?>outlet" class="btn btn-warning"><i class="mdi mdi-backburg...
<style> @media (min-width: 310px) and (max-width: 520px){ #ad_tag_cloud-2 { display: none; } } </style> <?php //$term = get_queried_object(); ?> <div class="content"> <?php // print_r(get_page_by_title( $term->name, $output, 'adzones' )); $term = get_queried_object(); global $wpdb; $...
<?php declare(strict_types=1); namespace Mailery\Assets; class AssetBundleRegistry { /** * @var array */ private array $bundles = []; /** * @param string $bundle */ public function add(string $bundle) { $this->bundles[] = $bundle; } /** * @return array ...
@extends('admin.layout.index') @section('title') <title>List of Coupon</title> @endsection @section('styles') <!-- DataTables --> <link rel="stylesheet" href="{{asset('bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css')}}"> <!-- Checkbox-Type --> <link href="{{asset('plugins/switch...
<!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>Document</title> </head> <body> <h1>Welcome in index page</h1> </body> </html>
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <style type="text/css"> /*html{ font-size: 9pt; } .font-sm{ font-size: 65%; } .table-bordered{ width: 100%; border-col...
<?php namespace App\Http\Middleware; use Closure; class OneTimeCsrfToken { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { if ($request->me...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Users/danielszerszen/Code/grav/user/plugins/problems/blueprints.yaml', 'modified' => 1493026570, 'data' => [ 'name' => 'Problems', 'version' => '1.4.6', 'description' => 'Detects and reports proble...
<?php namespace App\Traits; /** * This file is part of Teamwork * * @license MIT * @package Teamwork */ use Exception; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Config; /** * Class UsedByTeams * @package Mpociot\Teamwork\Traits */ trait ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/webrisk/v1/webrisk.proto namespace Google\Cloud\WebRisk\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * The uncompressed threat entries in hash fo...
<?php require_once("models/config.php"); if (!securePage($_SERVER['PHP_SELF'])){die();} require_once("models/header.php"); require_once("models/header.php"); //header echo " <body onLoad='init();'> <div id='wrapper'>"; require_once("models/headline.php"); echo " <div id='content'> <br> <h1>Connect Label to Ressour...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class PagesController extends Controller { public function home() { return view('index'); } public function about() { return view('about', ['nama' => 'Joshua Immanuel Kurniawan']); } }
<?php use Illuminate\Database\Seeder; class DepartmentSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('departments')->insert([ [ 'dept_name' => 'Designing', ],[ ...
@extends('layouts.template') @section('title', 'Edit Bay') @section('main') <div class="row"> <div class="col-lg-12 margin-tb"> <div class="float-left"> <h2>Edit Bay</h2> </div> <div class="float-right"> <a class="btn btn-primary" href="{...
<?php /** * A helper file for Laravel 5, to provide autocomplete information to your IDE * Generated for Laravel Lumen (5.3.3) (Laravel Components 5.3.*) on 2017-05-24. * * @author Barry vd. Heuvel <barryvdh@gmail.com> * @see https://github.com/barryvdh/laravel-ide-helper */ namespace { exit("This file shoul...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\Test\Browse\Enums; use DTS\eBaySDK\Browse\Enums\DeliveryOptionsEnum; class DeliveryOption...
<?php namespace App\Admin; use Illuminate\Database\Eloquent\Model; class Article extends Model { protected $table = 'article'; public $timestamps = false; protected $fillable=['homepage','hometitle','sort','homecon','title','content','source','author','clicks']; public function comments() { ...
<?php namespace App\Repository; use \App\Films; interface FilmRepositoryInterface { /** * Ищет фильм по заголовку в БД * * @param string $title * @return Films|null */ public function findFilmByTitle(string $title): ?Films; /** * Добавляет фильм в БД * * @param arr...
<?php namespace app\modules\admin\controllers; use Yii; use app\models\User; use app\models\UserSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * UserController implements the CRUD actions for User model. */ class UserController extends Controller { /** *...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProfilesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('profiles', fun...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; class Admin { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next ...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier; class VerifyCsrfToken extends BaseVerifier { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ // ]...
<style> h3.heading-tittle { margin-bottom: 50px !important; } .inner-men-cart-pro .link-product-add-cart { left: 15% !important; } .product-new-top { top: -50px; } .btn-buy { justify-content: space-between; align-items: center; } .btn-buy i.fa-cart-plus { position: absolute; top: 50%; transfor...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this contro...
--TEST-- Test gzencode() function : variation --SKIPIF-- <?php if( substr(PHP_OS, 0, 3) != "WIN" ) { die("skip only for Windows"); } if (!extension_loaded("zlib")) { print "skip - ZLIB extension not loaded"; } ?> --FILE-- <?php if(!function_exists("gzdecode")) { function gzdecode($data) { return ...
<?php namespace Inlead\Easyscreen\SearchBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $crawler = $client->request('GET', '/hello/Fabien'); ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dialogflow/cx/v3beta1/session.proto namespace Google\Cloud\Dialogflow\Cx\V3beta1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Represents one match...
<?php return[ 'equipo' => 'Civil Engineering Team', 'motivacion' => 'In the civil engineering area of the project M&aacute;s Huerto M&aacute;s Casa we want to show to the Colombian industry and the country in general that is possible to build affordable social housing at low cost, with higher quality for use...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>User Manageme...
<!DOCTYPE html> <html lang="hu"> <head> <title>Kérdés hozzáadása</title> <meta charset="utf-8"> <link href="{{ asset('/css/adminStyle.css') }}" rel="stylesheet"> </head> <body> <div id="table"> <div id="top"> <h2>Új kérdés hozzáadása</h2> @if ($message = Session::get('siker')) ...
<?php namespace FINDOLOGIC\Api\Responses\Xml21\Properties; use FINDOLOGIC\Api\Helpers\ResponseHelper; use SimpleXMLElement; class Servers { /** @var string $frontend */ private $frontend; /** @var string $backend */ private $backend; public function __construct(SimpleXMLElement $response) {...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace Thecodebunny\eBayApi\Shopping\Types; /** * * @property \Thecodebunny\eBayApi\Shopping\Types\Category...
<?php namespace Ambientes\CidmBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class JornadaControllerTest extends WebTestCase { /* public function testCompleteScenario() { // Create a new client to browse the application $client = static::createClient(); ...
<h3 align="center"style="color:blue;"><?php print_r($this->session->flashdata('edit'));?></h3> <h3 align="center"style="color:red;"><?php print_r($this->session->flashdata('delete'));?></h3> <h3 align="center"style="color:blue;"><?php print_r($this->session->flashdata('add_bill'));?></h3> <h3 align="center"style=...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace app\assets; use yii\web\AssetBundle; /** * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class AppAsset extends AssetBundle { public $baseP...
<?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; $clientEmail = $_POST['clientEmail']; $txtSubject = $_POST['txtSubject']; $txtBody = $_POST['txtBody']; require 'PHPMailer/phpmailer/src/Exception.php'; require 'PHPMailer/phpmailer/src/PHPMailer.php'; requ...
<?php /* * This file is part of Flarum. * * (c) Toby Zerner <toby.zerner@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Flarum\Core\Search\User\Gambits; use Flarum\Core\Repository\UserRepository; use Flarum\...
<?php /* * This file is part of the ONGR package. * * (c) NFQ Technologies UAB <info@nfq.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace ONGR\DeepLinkBundle\Service; use ONGR\DeepLinkBundle\Document\ProviderObtain...
<?php /* * diag_dump_states_source.php * * part of pfSense (https://www.pfsense.org) * Copyright (c) 2004-2016 Electric Sheep Fencing, LLC * Copyright (c) 2005 Colin Smith * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance...
<?php namespace app\interface; interface ParserInterfase { public function setCarTitle(); public function setCarDecoration(); public function setCarPrice(); public function setCarLocality(); public function setCarBrand(); public function setCarModel(); public function setCarBody(); ...
<?php namespace backend\modules\editor\assets; use yii\web\AssetBundle; /** * Asset для плагина jquery-ui */ class CKEditorAsset extends AssetBundle { public $sourcePath = '@bower/ckeditor'; public $js = [ 'ckeditor.js', 'plugins/justify/plugin.js', ]; public $css = [ ]; }
<?php declare(strict_types=1); namespace LilCrm\Test\TestCase\Model\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; /** * LilCrm\Model\Table\ContactsAccountsTable Test Case */ class ContactsAccountsTableTest extends TestCase { /** * Fixtures * * @var array */ public $fix...
<?php namespace App\Http\Controllers; use App\Facades\FormatFacade; use App\Notifications\WithdrawalRequest; use App\Phase; use App\Transaction; use App\User; use App\UserToken; use App\UserTransaction; use Blocktrail; use Carbon\Carbon; use Exception; use Illuminate\Http\Request; use Illuminate\Support\Facades\App; ...
<?php /** * Image view helper. * * @author Leandro Silva <leandro@leandrosilva.info> * * @category LosUi * * @license https://github.com/Lansoweb/LosUi/blob/master/LICENSE MIT License * * @link http://github.com/LansoWeb/LosUi * @link http://getbootstrap.com/css/#images */ namespace Los...
@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">{{ __('ریست رمز عبور') }}</div> <div class="card-body"> @if (sessi...
<?php namespace App\Http\Controllers; use App\Paga; use Illuminate\Http\Request; class PagaCtrl extends Controller { public function paga(){ $pagamenti = Paga::all(); return view('pagamenti', compact("pagamenti")); } public function destr($id){ $pagamento = Paga::findOrFail($id); $pagamento -> ...
<?php declare(strict_types=1); namespace Shopware\Core\Framework\Test\Api\Serializer; use PHPUnit\Framework\TestCase; use Shopware\Core\Content\Media\Aggregate\MediaFolder\MediaFolderDefinition; use Shopware\Core\Content\Media\MediaDefinition; use Shopware\Core\Content\Product\ProductDefinition; use Shopware\Core\Con...
<?php require_once("db_ci.php"); if(isset($_GET['id'])){ $id = $_GET['id']; $result = getFileParam($db, $id); header("Content-length: ".$result['size'].""); header("Content-type: ".$result['type'].""); header("Content-Disposition: attachment; filename=".$result['name'].""); echo $result['content']; }else{ echo "Wro...
<?php /* * This file is part of Hector ORM. * * @license https://opensource.org/licenses/MIT MIT License * @copyright 2021 Ronan GIRON * @author Ronan GIRON <https://github.com/ElGigi> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source c...
<?php namespace SacBundle\Repository; /** * PedidoRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class PedidoRepository extends \Doctrine\ORM\EntityRepository implements IPedidoRepository { }
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...