text
stringlengths
2
1.03M
<?php namespace PHPCR\Version; use PHPCR\RepositoryException; /** * Exception thrown by VersionInterface::addSuccessor() if an invalid version * graph operation is attempted. * * @license http://www.apache.org/licenses Apache License Version 2.0, January 2004 * @license http://opensource.org/licenses/MIT MIT Li...
<?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 namespace Phalcon\Logger\Adapter { /** * Phalcon\Logger\Adapter\File * * Adapter to store logs in plain text files * *<code> * $logger = new \Phalcon\Logger\Adapter\File("app/logs/test.log"); * $logger->log("This is a message"); * $logger->log("This is an error", \Phalcon\Logger::ERROR); * $...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Employee extends Model { protected $fillable = ['full_name','email','password','user_role','status','designation_id']; public function designation(){ return $this->belongsTo(Designation::class); } }
<?php /** * Created by PhpStorm. * User: mmammar * Date: 1/1/19 * Time: 9:13 AM */ namespace App\System\PMS\BookingSources; abstract class BS_Generic { const TEXT_VIRTUAL = 'Virtual'; const TEXT_CARD = 'Card'; const PS_VIRTUAL_CARD = 'VC'; const PS_CREDIT_CARD = 'CC'; const PS_BANK_TRANSFE...
<!DOCTYPE html> <html lang="en"> <head> <title>Login V15</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!--===============================================================================================--> <link rel="icon" type="image/png" href="images/icons/fa...
<?php namespace Tests; use GoogleDriveStorage\GoogleDriveStorageAdapter; use GoogleDriveStorage\GoogleDriveService; class GoogleDriveStorageAdapterTest extends TestCase { private $driveService; public function setUp(): void { parent::setUp(); $this->driveService = $this->getMockBuilder(...
<div class="fixed-plugin"> <a class="fixed-plugin-button text-dark position-fixed px-3 py-2"> <i class="fa fa-cog py-2"> </i> </a> <div class="card shadow-lg "> <div class="card-header pb-0 pt-3 "> <div class="float-start"> <h5 class="mt-3 mb-0">Soft UI Configurator</h5> ...
<?php $use_curl = true; // Использовать CURL $keyword = $_GET['keyword']; $keyword = str_replace(' ', '+', $keyword); $start=0; if(isset($_GET['start'])) $start = intval($_GET['start']); $url = 'http://ajax.googleapis.com/ajax/services/search/images?v=1.0&q='.urlencode($keyword).'&start='.$start.'&rsz=8'; i...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Upload_file extends CI_Controller { function __construct(){ parent::__construct(); if($this->session->userdata('masuk') != TRUE){ redirect(site_url('Auth')); } $this->load...
<?php defined('InSchoolAssistant') or exit('Access Invalid!');?> <div class="base-layout"> <div class="mainbox"> <form method="post" action="<?php echo CIRCLE_SITE_URL;?>/index.php?act=manage_inform&op=inform&c_id=<?php echo $output['c_id'];?>" id="inform_form" onsubmit="ajaxpost('inform_form', '<?php echo CIRCL...
<div id="onglet"> <a href="<?php echo site_url('utilisateur/contenu/connexion');?>"> Connexion </a> <a href="<?php echo site_url('utilisateur/contenu/inscription');?>"> Inscription </a> </div> <div id="menu" align="center"> <!-- Images En-t�te --> <!-- <img src="<?php echo base_url('images/lafleur.gif');?>...
<?php namespace App\Entity; use ApiPlatform\Core\Annotation\ApiResource; use ApiPlatform\Core\Annotation\ApiSubresource; use App\Controller\CustomerPicture; use App\Repository\CustomerRepository; use DateTime; use DateTimeInterface; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Coll...
<?php /** * Copy all files in FileRepo to an originals container using SHA1 paths. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) ...
<?php /** * amadeus-ws-client * * Copyright 2015 Amadeus Benelux NV * * 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 requir...
<?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 ...
@extends('layouts.app') @section('content') <div class="container"> <h1 style="margin-top: 3%">Agregar Producto:</h1> <form method="post" action="{{url('/productos')}}" enctype="multipart/form-data" style="margin-top: 2%"> {{ csrf_field() }} <div class="form-group"> <label for="Produ...
<?php class Analisa_kategori_model extends CI_Model{ function __construct(){ parent::__construct(); } function select_analisa_id(){ $query=$this->db->query("select id_analisa from analisa_kategori"); return $query; } function k1(){ $query=$this->db->query("select * ...
<!-- Header --> <header id="header"> <nav class="left"> <a href="#menu"><span>Menu</span></a> </nav> <a href="index.php" class="logo">Welcome! <?php echo $_SESSION["userID"]; ?></a> <nav class="right"> <a href="<?php echo ( empty($_SESSION["userID"])?"login.php":"login.php?logout=1" ); ?>" ...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use App\Models\Beratdantinggi; class UpdateBeratdantinggiRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { ...
<?php /** * This file is part of Totara Learn * * Copyright (C) 2020 onwards Totara Learning Solutions LTD * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Licens...
<?php namespace App\Http\Controllers\Auth; use App\User; use Validator; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ThrottlesLogins; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; class AuthController extends Controller { /* |-------------------------------------------...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace Piggly\Tests\ValueTypes\Advanced; use PHPUnit\Framework\TestCase; use Piggly\ValueTypes\Advanced\PasswordType; /** * @coversDefaultClass \Piggly\ValueTypes\Advanced\PasswordType */ class PasswordTypeTest extends TestCase { /** * Assert if $value is encrypted. * * @covers ::validate * @cover...
<?php /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Wrapper for the PHPUnit XML configuration file. * * Example XML configuration file...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Property_types extends Model { protected $fillable=['name']; public function property(){ return $this->hasMany('App\Property'); } }
<h1> Clique no link para verificar seu e-mail </ h1> <a href="{{url('/verifyemail/'.$email_token)}}">Clique neste link para verificar seu email</a>
<?php Route::get('/', function () { return view('welcome'); }); Route::resource('article', 'ArticleController');
<?php namespace Modules\Baidu\Http\Controllers; use Pingpong\Modules\Routing\Controller; use Modules\Baidu\Repositories\BaiduRepository; use Modules\Baidu\Http\Requests\BaiduRequest; use Modules\Baidu\Traits\BaiduTrait; use Modules\Baidu\Http\Services\BaiduService; use Illuminate\Database\Eloquent\ModelNotFoundExcept...
<?php declare (strict_types=1); namespace RectorPrefix202206\Symplify\Astral\NodeNameResolver; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\FuncCall; use RectorPrefix202206\Symplify\Astral\Contract\NodeNameResolverInterface; final class FuncCallNodeNameResolver implements NodeNameResolverInter...
<!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.0"> <title>Student</title> </head> <body> <h2>Student</h2> </body> </html>
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-6 text-center mb-5"> <h2 class="heading-section">Users</h2> </div> <a href="{{ route('Admin.create') }}" class="btn btn-outline-primary float-right" >aad a new user</a> </div> <d...
@extends('admin.master') @section('title','Add Brand') @section('body') <div class="row"> <div class="col-md-8"> <br/> <div class="well"> <div class="panel"> <div class="panel-heading"> <h3 class="bg-light">Add Brand</h3> ...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\modules\city\models\RegionSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Regions'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="region-index"> <h1><?= Html::...
<?php /** * 控制器基类 * User: sherman * Date: 2017/9/14 * Time: 18:36 */ namespace X; class Controller { /** * @var X 框架对象 */ public $app; public function __construct() { $this->app = X::app(); } /** * @var string 布局模板 */ public $layout = null; /** ...
<?php namespace App\Models; use CodeIgniter\Model; class UserCartModel extends Model { protected $table = 'user_cart_details'; protected $primaryKey = 'id'; protected $allowedFields=["user_id","cart_details",]; } ?>
@extends('layouts.admin') @section('title', 'Blogs') @section('content') <div class="section-body"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <h4>Blogs</h4> </div> <div class="card-body"> <a class="btn btn-primary" href="{{route('blogs.create')}}">Add Ne...
<!DOCTYPE html> <html lang="en"> <head> <title>URL Shortener App</title> <meta name="refresh" content="10,<?= $fullUrl ?>"> <meta http-equiv="refresh" content="10; URL=<?= $fullUrl ?>"> </head> <body> <h2> This is a NSFW link, you will be redirect in 10 seconds ...
<?php $settings = siteorigin_panels_setting(); $builder_supports = apply_filters( 'siteorigin_panels_builder_supports', array(), $post, $panels_data ); ?> <div class="wrap" id="panels-home-page"> <form action="<?php echo esc_url( add_query_arg('page', 'so_panels_home_page') ) ?>" class="hide-if-no-js siteorigin-p...
<?php $config['tweet_consumer_key'] = "HE0MLJMYsy5Yt5N499rHdxDcQ"; $config['tweet_consumer_secret'] = "z5eLl6ye3k9KXuSvjMKoBecWouGF0z9PpgJx5mgutDyHpXUXOK"; $config['access_token'] = '578015754-7b1DhTEVKIGf2ew8iSM3M7xciWwIzyfHlJ0Qqdaz'; $config['secret_access_token'] = 'm8Ic3hRR4qEeItTyjBSJsyrj1zlhRCe6LGz4HpWb2rmuB...
<?php declare(strict_types=1); namespace Tests\Console; use EventSauce\LaravelEventSauce\AggregateRootRepository; use EventSauce\LaravelEventSauce\Exceptions\CodeGenerationFailed; use Tests\Fixtures\RegistrationAggregateRootRepository; use Tests\TestCase; class GenerateCommandTest extends TestCase { /** @test *...
<?php /** * (c) FSi sp. z o.o. <info@fsi.pl> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FSi\Bundle\AdminBundle\DependencyInjection; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection...
<?php namespace Nextend\SmartSlider3\Slider; use Nextend\Framework\Asset\Predefined; use Nextend\SmartSlider3\Renderable\AbstractRenderable; use Nextend\SmartSlider3\Slider\Feature\Align; use Nextend\SmartSlider3\Slider\Feature\Autoplay; use Nextend\SmartSlider3\Slider\Feature\BlockRightClick; use Nextend\SmartSlid...
<?php use PayPal\Core\PayPalLoggingManager; /** * Test class for PayPalLoggingManager. * */ class PayPalLoggingManagerTest extends \PHPUnit_Framework_TestCase { /** * @var PayPalLoggingManager */ protected $object; /** * Sets up the fixture, for example, opens a network connection. ...
@extends('layouts.app') @section('content') <div class="container" style="margin-top: 10px"> <h3>Ticket Details</h3> <div class="row just"> <div class="col-md-8"> <div class="form-group"> @if($ticket->ticket_status_id != 2) @i...
<?php use Illuminate\Database\Seeder; class MeasuresTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('measures')->insert([ 'name' => 'Cuello', 'label' => 'cuello', 'unity' => '...
<?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; class UserAdminTest extends TestCase { use DatabaseTransactions; private $user; public function setUp() { // This method will automaticall...
@extends('layouts.master', ['sectionTitle' => 'Companies']) @section('content') <div class="row"> <div class="col-md-8"> <div class="card"> <div class="card-header"> <div class="avatar-line-96"> <img src="{{ ass...
<table id="{{ $id }}" class="{{ $class }}"> <thead> <?php $columns_count = 17; ?> <tr> <th>Insurance Company: {{$values['insurance_company']->name}}</th> <?php for ($i = 1; $i <= $columns_count; $i++) { echo "<th></th>"; } ?> </tr> <tr> ...
<?php namespace App\Http\Controllers\Enseignant\Auth; use App\Models\User; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Validation\ValidationException; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controll...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Parchase_invoice extends Model { use HasFactory; }
<?php declare(strict_types=1); namespace Fazland\ApiPlatformBundle\QueryLanguage\Walker\Doctrine; use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\Query\Expr; use Doctrine\ORM\QueryBuilder; use Fazland\ApiPlatformBundle\QueryLanguage\Expression\Literal\LiteralExpression; use Fazland\ApiPlatformBundle\QueryLan...
<ul class="tabs"> <li <?php if(substr(Router::getRequest(),0,17)==='/settings/general') e('class=active'); ?>><a href="/settings/general/view">General <span>settings</span></a></li> <li <?php if(substr(Router::getRequest(),0,17)==='/settings/company') e('class=active'); ?>><a href="/settings/company/view">Compa...
<?php namespace EolabsIo\AmazonMws\Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; use EolabsIo\AmazonMws\Domain\Finance\Models\CurrencyAmount; use EolabsIo\AmazonMws\Domain\Finance\Models\NetworkComminglingTransactionEvent; class NetworkComminglingTransactionEventFactory extends Factory { ...
<?php namespace App\Services; use App\Services\RPSLSOptions; use GuzzleHttp\Client; use Exception; class PredictorProxy { public function getPickPredicted($username) { $uriQueried = config('predictor.PREDICTOR_URL').'&humanPlayerName='.$username; $client = new Client(); $response = $...
<!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <h1 class="h3 mb-4 text-gray-800"><?= $title; ?></h1> </div> <!-- /.container-fluid --> </div> <!-- End of Main Content -->
<?php namespace SkyRaptor\Chatter\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Support\Facades\Config; class Category extends Model { /** * The table associated with the model. * ...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'App\\AsignacionTrabajador' => $baseDir . '/app/AsignacionTrabajador.php', 'App\\Categoria' => $baseDir . '/app/Categoria.php', 'App\\Console\\Kernel' => $baseDir ....
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class Supplier extends Model { protected $fillable = [ 'name', 'email', 'phone', 'address', 'shopname', 'photo' ]; }
<?php // Copyright 2004-present Facebook. All Rights Reserved. // This file is @generated by // fbcode/hphp/facebook/tools/code_model/Generate.sh namespace HH\CodeModel { /** * `text $var more text ...` * "text $var more text ..." * 'text ...' * <<<Delimiter text $var more text ... Delimiter; * <<<'Delimiter' te...
<?php namespace Psalm\Tests\EndToEnd; use function array_merge; use function closedir; use function copy; use function getcwd; use function is_dir; use function is_string; use function mkdir; use function opendir; use PHPUnit\Framework\TestCase; use function readdir; use function rmdir; use Symfony\Component\Process\...
<!-- Carousel wrapper --> <div id="carouselDarkVariant" class="carousel slide carousel-fade carousel-dark mb-2" data-mdb-ride="carousel"> <!-- Indicators --> <div class="carousel-indicators"> <button data-mdb-target="#carouselDarkVariant" data-mdb-slide-to="0" class="...
<?php namespace App\Http\Controllers\Test; use App\Http\Controllers\Controller; use App\Mail\TestEmailStandard; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facades\Redirect; use Illuminate\Support\Facades\View; class TestFrontendController extends Controller { ...
<div class="element element-image"> <? if(!empty($image['title'])): ?> <h2><?=$image['title']?></h2> <? endif; ?> <?php if(!empty($image['link'])): ?> <a href="<?=$image['link']?>" <?=!is_null($image['target']) ? 'target="'.$image['target'].'"' : ''?>> <?php endif; ?> <img class="img-responsive" src="<?=$im...
<?php namespace App\Jobs\Auth; use App\Abstracts\Job; use App\Models\Auth\Permission; use Artisan; class UpdatePermission extends Job { protected $permission; protected $request; /** * Create a new job instance. * * @param $permission * @param $request */ public function ...
<?php /* * Test6.php * * Copyright 2018 Grega Mohorko * * 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...
<?php use yii\bootstrap4\Html; use yii\bootstrap4\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\TiposNotificacionesSearch */ /* @var $form yii\bootstrap4\ActiveForm */ ?> <div class="tipos-notificaciones-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'met...
<?php return array( 'booking' => array('admin','delete','view', 'showcard', 'report', 'cancel'), 'hotel' => array('admin', 'create', 'update', 'delete'), 'roomtype' => array('admin', 'create', 'update', 'delete', 'deletephoto'), 'occupancy' => array('admin'), 'room' => array('admin'), 'rate' => array('admin'), '...
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $config = [ 'id' => 'basic-console', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log', 'queue'], 'controllerNamespace' => 'app\commands', 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm...
<?php declare(strict_types=1); namespace Shopware\Core\Checkout\Order\Aggregate\OrderAddress; use Shopware\Core\Checkout\Order\Aggregate\OrderDelivery\OrderDeliveryDefinition; use Shopware\Core\Checkout\Order\OrderDefinition; use Shopware\Core\Framework\DataAbstractionLayer\EntityDefinition; use Shopware\Core\Framewo...
<?php /** * Jetpack Compatibility File * * @link https://jetpack.com/ * * @package gh-moz-exam */ /** * Jetpack setup function. * * See: https://jetpack.com/support/infinite-scroll/ * See: https://jetpack.com/support/responsive-videos/ */ function gh_moz_exam_jetpack_setup() { // Add theme support for Infi...
<?php use yii\db\Migration; /** * Handles the creation of table `{{%user}}`. */ class m191203_100405_create_user_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->createTable('{{%user}}', [ 'id' => $this->primaryKey(), 'phone' =>...
<!DOCTYPE html> <html lang="en"> <head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" ></script> <style type="text/css"> body{ margin-top...
<?php use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Debug\Debug; // If you don't want to setup permissions the proper way, just uncomment the following PHP line // read http://symfony.com/doc/current/book/installation.html#checking-symfony-application-configuration-and-setup // for more informat...
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>商城管理后台</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <!-- Bootstrap 3....
<?php /** * Created by PhpStorm. * User: Hamza * Date: 24/05/2017 * Time: 02:59 PM */ use app\components\ConversionHelper; use app\models\ProjectUpdates; ?> <div class="modal-dialog" style="width: 90%"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <butt...
<header class="main-header"> <a href="<?php echo base_url();?>" class="logo" style="background:#5396E1;"> <span class="logo-mini" style="margin-top: 12px ;"><b><img src="<?php echo base_url('assets/sources/iconos/herramientas.png');?>" width="30" height="30" ></b></span> <span class="logo-lg"...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php require_once('../vendor/autoload.php'); $client = new EzeepBlueApi\Client(new EzeepBlueApi\Config( 'id8qr7YpSlewExDTuB08n3MQeVOa5vGnlJqKjv80', 'inQHouizBTnb4qHUy5AVUqvPGJMsMQOQIRnWTPXITq51PS1uyJnDHPfArpThCDkJRGfLRItnai2TkXQsedaPJjZ03RWyUgmNX0S85ZrjgT5mccNhqd1zX1v793oalLz3', 'http://localhost:3000/co...
<?php namespace Shopeca\XML\Feed\Google; use Nette\SmartObject; /** * Class Image * @author Martin Knor <martin.knor@gmail.com> * @package Mk\Feed\Generators\Google * * @property string $url */ class Image { use SmartObject; /** @var string */ private $url; /** * Image constructor. * @param string $...
@extends('app.admin.layouts.default') {{-- Web site Title --}} @section('title') {{{ $title }}} :: @parent @stop @section('styles') @parent @endsection {{-- Content --}} @section('main') @include('flash::message') @include('utils.errors.list') <div class="panel panel-flat "> <div class="panel-heading col-sm-offset-...
<?php namespace Tests\TextAnalysis\Extracts; use TextAnalysis\Extracts\HashTag; /** * Test if hashtag extraction is working * @author yooper */ class HashTagTest extends \PHPUnit\Framework\TestCase { public function testHashTag() { $extract = new HashTag(); $this->assertFalse($extract->fil...
<?php namespace Modules\Comments\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable;...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php', 'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php', 'App\\Http\\Controllers\\Aut...
<?php /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Here you may define all of your model factories. Model factories give | you a convenient way to create models for testing and seeding yo...
<?php return [ 'interfaces' => [ 'google.ads.googleads.v6.services.DetailPlacementViewService' => [ 'GetDetailPlacementView' => [ 'method' => 'get', 'uriTemplate' => '/v6/{resource_name=customers/*/detailPlacementViews/*}', 'placeholders' => [ ...
<?php $__env->startSection('title'); ?> <?php echo e(__('Manage Invoices')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('action-button'); ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('Create Invoice')): ?> <div class="col-md-6 d-flex align-items-center justi...
@extends('layouts.user-layout') @section('usermaincontent') <div class="row"> <div class="col-md-3"> <!-- Profile Image --> <div class="box box-primary"> <div class="box-body box-profile"> <img class="profile-user-img img-responsive img-circle" src="{{asset("/publ...
<!--Counter Inbox--> <?php $query=$this->db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); $jum_pesan=$query->num_rows(); // $query1=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); // $jum_komentar=$query1->num_rows(); ?> <!DOCTYPE html> <html> <head> <?php $th...
<?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 /* ::extranet.html.twig */ class __TwigTemplate_cd333fbba6047d47e2215e8373a33fcf7a3f7e3b269c5b3005980a58f41c3b6c extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 try { $this->parent = $this->env->loadTem...
<?php /** * Cette fonction permet de se connecter à la base de donnée et * retourne la valuer de la connectionn */ function connect_dbh(){ $dsn = "mysql:host=localhost;dbname=dmm-crm"; /* Data Source Name */ $username = "root"; $pass = ""; $options = array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8...
<!-- author: W3layouts author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ --> <?php session_start(); ?> <!DOCTYPE html> <html lang="zxx"> <head> <title>SERGA</title> @include("cabeza2") </head> <body> <!-- banner --> <div class=...
<?php include "style/styleDashboard.php"; ?> <body class="top-navbar-fixed"> <div class="main-wrapper"> <!-- ========== TOP NAVBAR ========== --> <nav class="navbar top-navbar bg-white box-shadow"> <div class="container-fluid"> <div class="row"> ...
<?php namespace L52\Services; use Illuminate\Support\Facades\Response; use L52\Repositories\PatrimonialBrandRepository; class PatrimonialBrandService { protected $repository; public function __construct(PatrimonialBrandRepository $repository) { $this->repository = $repository; } public function create(arra...
<?php namespace App\Twig; use App\Entity\Authenticator\AbstractAuthenticator; use App\Entity\Page; use App\Entity\PageSnapshot; use App\Entity\Project; use App\Entity\ProjectSnapshot; use App\Service\System\DateTimeService; use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\Routing\RouterInterfa...
<?php $lang['list_add'] = 'Neu:'; $lang['list_actions'] = 'Aktionen'; $lang['list_page'] = 'Seite'; $lang['list_paging_of'] = 'von'; $lang['list_displaying'] = 'Zeige {start} bis {end} von {results} Einträgen'; $lang['list_filtered_from'] = '(gefiltert aus {total_results} Einträgen insgesamt)'; $l...
<div id="sb-search" class="sb-search"> <form> <input class="sb-search-input" placeholder="Enter your search term..." type="text" value="" name="search" id="search"> <input class="sb-search-submit" type="submit" value=""> <span class="sb-icon-search"></span> </form> ...
<?php namespace App\Http\Controllers\Admin; use App\Enums\Sort; use App\Http\Controllers\Controller; use App\Models\Categories; use App\Models\Contact; use Illuminate\Http\Request; class ContactController extends Controller { public function index(Request $request) { $search = $request->query('search...
<?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\Form\Tests\Extension\Core\DataTransformer; abstract c...