text
stringlengths
2
1.03M
<?php namespace App\Http\Controllers; use Laravel\Lumen\Routing\Controller as BaseController; use Illuminate\Support\Facades\Auth; class Controller extends BaseController { protected function respondWithToken($token) { return response()->json([ 'token' => $token, 'token_type' ...
<?php /* @var $this \yii\web\View */ /* @var $content string */ use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use app\assets\AdminAsset; use yii\bootstrap\Modal; use yii\bootstrap\Alert; use yii\widgets\ActiveForm; use yii\helpers\Url; use yii\widgets\Pjax; Admin...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class RRBatch extends Model { use HasFactory; protected $table = 'r_r_batches'; protected $fillable = [ 'po_batch_no', 'rr_code', 'rr_qty' ]; }
<?php namespace App\Http\Controllers\Auth; use App\Models\Role; use App\Models\User; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Hash; use App\Providers\RouteServiceProvider; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController exte...
@extends('adminlte::page') @section('title', 'Dashboard') @section('content') <div class="box"> <div class="box-header with-border"> <h3 class="box-title">Users</h3> <div class="box-tools pull-right"> <!-- Buttons, labels, and many other things can be placed here! --> <!-- Here is a label for ...
<?php namespace App\Http\Controllers; use App\Models\Comment; use App\Models\CommentReply; use App\Models\Post; use App\Notifications\CommentOnPost; use App\Notifications\ReplyOnComment; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class CommentRepliesController extends Controller { /** ...
<div class="be-left-sidebar"> <div class="left-sidebar-wrapper"><a href="#" class="left-sidebar-toggle">Dashboard</a> <div class="left-sidebar-spacer"> <div class="left-sidebar-scroll"> <div class="left-sidebar-content"> <ul class="sidebar-elements"> ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Profile extends Model { // Determining the reverse relationship public function user() { return $this->belongsTo('App\User'); } protected $fillable = ['user_id', 'avatar', 'youtube', 'facebook', 'about']; }
<?php /** * This file is part of HX3 Forum. * * (c) Herbert "Atomic" Walde <herbert.walde@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace generated; class PictureCommentHashRepository extends GeneratedPictu...
<?php /** * index */ $lang['store_goods_index_weight'] = '重量'; $lang['store_goods_index_store_close'] = '您的店铺已关闭'; $lang['store_goods_index_taobao_import'] = '淘宝助理导入'; $lang['store_goods_index_new_goods'] = '新增商品'; $lang['store_goods_index_add_goods'] = '发布新商品'; $lang['store_goods_index_add_time'] = '发布时间'; $lang['s...
@extends('layouts.main') @section('title') Show @endsection @section('menu') <a href="{{route('dokter.index')}}" class="nav-item nav-link">Cari Pasien</a> <a class="nav-item nav-link" href="{{route('dokter.show', ['rek_id'=>$rek_id])}}">{{$rek_id}}</a> <a class="nav-link" href="{{route('dokter.show.igd', ['rek_id'=>$re...
<?php namespace App\Providers; use Domain\User\Models\Patient; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Gate; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array ...
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('pages', function ...
<!-- Page wrapper --> <!-- ============================================================== --> <div class="page-wrapper"> <!-- ============================================================== --> <!-- Bread crumb and right sidebar toggle --> <!-- =======================...
@extends('layouts.frontend') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.contactCompany.title') }} ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\DB; class AddSearchIndexes extends Migration { /** * Run the migrations. * * @return void */ public function up() { DB::statement('alter table chunk_texts drop foreign key chunk_texts_page_id_for...
<?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'BeeBots_AddressAutocomplete', __DIR__ );
<div class="form-group"> <label for="nombre" class="col-sm-3 control-label requerido">Nombre</label> <div class="col-lg-8"> <input type="text" class="form-control" name="nombre" id="nombre" value="{{old('nombre')}}" required/> </div> </div> <div class="form-group"> <label for="url" class="col-sm-3...
<?php final class DirectoryExplorer { protected $path; protected $base; protected $current; public function __construct($path) { $this->path = $path; $this->base = dirname($path); $this->current = new DirectoryIterator($path); } public function getPath() { ...
<?php $__env->startSection('title'); ?> <?php echo trans('admin.send_email'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page'); ?> <?php if(!empty(session('status'))): ?> <?php if(session('status') == 'error'): ?> <div class="alert alert-danger"> <butto...
<?php namespace app\ps\controller; class Curdcreate extends PsBase { /** * curdcreate列表 */ public function curdcreateList() { $this->assign('list', $this->logicCurdcreate->getCurdcreateList()); return $this->fetch('curdcreate_list'); } /** * curdcreate添加 */ ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class User extends CI_Controller { public function __construct() { parent:: __construct(); $this->load->model('UserModel'); $this->load->helper('url'); $this->load->helper('form'); $this->load->h...
<?php declare(strict_types=1); namespace Cake\TestSuite\Constraint; use Cake\Event\EventInterface; use Cake\Event\EventManager; use PHPUnit\Framework\AssertionFailedError; use PHPUnit\Framework\Constraint\Constraint; /** * EventFiredWith constraint * * @internal */ class EventFiredWith extends Constraint { /...
@extends('common.layouts.main') @section('title', trans('general.offer')) @section('content') <div id="page-wrapper"> <div class="container-fluid"> <!-- .row --> <div class="row bg-title" style="background:url({{'/assets/'.config('project.layoutAssetsFolder')}}/plugins/images/headi...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateOrderPlaceDetail extends Migration { /** * Run the migrations. * * @return void */ public function up() { // Schema::create...
<!DOCTYPE html> <html> <head> <title>Registration | Lignio Dashboard</title> <?php print $css; ?> <style type="text/css"> body { background-image: url('/assets/img/lignio.png'); background-position: center; background-repeat: no-repeat; background-attachment: fixed; ...
<?php /** * This file is part of prooph/message-flow-analyzer. * (c) 2017-2019 Alexander Miertsch <kontakt@codeliner.ws> * (c) 2017-2019 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...
<div class="dashboard-wrapper "> <div class="container" style="padding-top: 60px;"> <h1 class="page-header">Edit Password</h1> <div class="row"> <div class="col-md-8 col-sm-6 col-xs-12 personal-info"> <?= $this->session->flashdata('message'); ?> <form clas...
<?php declare(strict_types=1); namespace TelegramCustomWrapper; class SendMessage { public $msg; public function __construct(int $chatId, string $text, $replyMessageId = null, $replyMarkup = null, $messageId = null) { if (is_null($messageId)) { $this->msg = new \unreal4u\TelegramAPI\Telegram\Methods\SendMess...
<?php namespace Dvsa\OlcsTest\Api\Domain\Repository; use Dvsa\Olcs\Api\Domain\Repository; /** * @covers \Dvsa\Olcs\Api\Domain\Repository\Role * @author Rob Caiger <rob@clocal.co.uk> */ class RoleTest extends RepositoryTestCase { const ROLE = 'unit_role'; /** @var Repository\Role */ protected $sut; ...
<?php namespace App; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; $router->get('/', function () use ($router) { return $router->app->version(); }); //Handle error cors to options method $router->options('{all:.*}', ...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
<?php namespace Jd\Request; class VenderChildaccountDeptQueryRequest { private $apiParas = array(); public function getApiMethodName(){ return "jingdong.vender.childaccount.dept.query"; } public function getApiParas(){ return json_encode($this->apiParas); } public function check(){ } public func...
<?php /** * SageOne Library * * @category Library * @package SageOne * @author Vitaliy Likhachev <make.it.git@gmail.com> * @license MIT <https://github.com/darrynten/sage-one-php/blob/master/LICENSE> * @link https://github.com/darrynten/sage-one-php */ namespace DarrynTen\SageOne\Models; use DarrynTen...
@extends('templates.index') @section('content') <div id="content" class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div id="left_menu"> <ul> @foreach($categories as $category) @if($category['category_id'] != 0) <li><a href="/category/{{ $category['category_id'] }}">{...
@extends('layouts.default') @section('title', 'Wizards + Validation') @push('css') <link href="/assets/plugins/parsleyjs/src/parsley.css" rel="stylesheet" /> <link href="/assets/plugins/smartwizard/dist/css/smart_wizard.css" rel="stylesheet" /> @endpush @section('content') <!-- begin breadcrumb --> <ol class="br...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> <meta name="generator" con...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\IsaIniciacionSencibilizacionArtistica */ $this->title = 'Actualizar Iniciación Sensibilización Artistica'; $this->params['breadcrumbs'][] = ['label' => 'Iniciación Sensibilización Artistica', 'url' => ['index']]; $this->params['bread...
<?php /** * creating state variables and methods for the profile class * * creating state variables for the profile entity and writing accessor and mutator methods to access the data for * the profile class * * @author Jack Reuter <djreuter45@gmail.com> * @version 1.0.3 **/ class Profile { /** * Id for this...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\venue\VenueCountry */ $this->title = Yii::t('art','Update') . ': ' . ' ' . $model->name; $this->params['breadcrumbs'][] = ['label' => Yii::t('art/guide','Venue Place'), 'url' => ['venue/default/index']]; $this->params['breadcrumbs...
<?php session_start(); include 'assets/model/Database.php'; include_once 'assets/model/classUser.php'; $user = new User(); $uid = $_SESSION['uid']; if (!$user->get_session()){ header("location:login.php?pagename=Inloggen"); } if (isset($_GET['q'])){ $user->user_logout(); header("location:login.php?pagena...
<?php /** * Created by Damien G. (damien.galicher@gmail.com) * Date: 08/08/2016 - Time: 18:30 */ namespace Admin\Factory; use Admin\Model\Post; use Interop\Container\ContainerInterface; use Zend\Db\Adapter\AdapterInterface; use Admin\Model\ZendDbSqlRepository; use Zend\ServiceManager\Factory\FactoryInterface; use ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facades\DB; use App\User; use App\Group; use App\Member; use App\Notification; use App\Files; use App\Folder; use App\Comment; use App\Post; use App\AuditTrail; use App\Mail\Mobil...
<?php namespace common\models; use Yii; use yii\db\ActiveRecord; use yii\db\Query; use yii\helpers\ArrayHelper; use common\models\Message; /** * This is the model class for table "lang". * * @property integer $id * @property string $url * @property string $local * @property string $name * @property integer $d...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Tag extends Model { use HasFactory; protected $fillable = [ 'hashtag', ]; public function tweets() { return $this->belongsToMany(Tweet::class); } ...
@extends('layouts.app') @section('content') <div class="container-fluid"> <div class="row"> @if(json_decode(json_encode($articles))->data!=[]) @foreach($articles as $article) {{--<img class="visible-lg" src="http://p39smi668.bkt.clouddn.com/404.jpg" style="...
<?php namespace Onion\Framework\State\Exceptions; use Onion\Framework\State\Interfaces\HistoryInterface; class TransitionException extends \Exception { private $history = []; public function __construct(string $message, HistoryInterface $history, \Throwable $previous = null) { parent::__construct(...
<?php namespace Psalm\Internal\Analyzer\Statements\Expression\Assignment; use PhpParser; use Psalm\Internal\Analyzer\ClassAnalyzer; use Psalm\Internal\Analyzer\ClassLikeAnalyzer; use Psalm\Internal\Analyzer\Statements\ExpressionAnalyzer; use Psalm\Internal\Analyzer\Statements\Expression\ExpressionIdentifier; use Psalm...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<html> <head> <title><?php echo $servername; ?></title> <link rel="stylesheet" href="src/css/bootstrap.min.css"> <link rel="stylesheet" href="src/css/font-awesome.css"> <script src="src/js/jquery-3.2.1.min.js"></script> <script src="src/js/bootstrap.min.js"></script> </head> <body class="bg-light">
<?php final class PHIDLookupConduitAPIMethod extends PHIDConduitAPIMethod { public function getAPIMethodName() { return 'phid.lookup'; } public function getMethodDescription() { return pht('Look up objects by name.'); } protected function defineParamTypes() { return array( 'names' => 're...
/** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2017, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software an...
<?php namespace backend\modules\location\models; use Yii; /** * This is the model class for table "subdistrict". * * @property integer $id * @property string $bot_code * @property string $dopa_code * @property string $thaitambon_code * @property string $name * @property string $note * @property string $dt_c...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class Newsfeed extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('newsfeed', function (Blue...
@extends('app') @section('content') <h1>{{ $owner->name }} </h1> <p>IC / Passport No: {{ $owner->idNumber }} </p> <p>Email: {{ $owner->email }} </p> <p>Nationality: {{ $owner->nationality }} </p> <p>Phone No: {{ $owner->phoneNo }} </p> @foreach($address as $item) <p>Unit: {{$item->unit}}</p> <p>Street: {{$i...
<?php abstract class XenGallery_VideoInfo_Box_Abstract { /** * Total box size, including box header (8 bytes) * * @var int */ protected $totalSize; /** * Box type, numeric * * @var int */ protected $boxType; /** * Box type, string * * @var string */ protected $boxTypeStr; /** * B...
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
<div class="container"> <div class="row expertise-group-homepage-show"> <h3>{{ $expertiseGroup->name }}</h3> <p>{{ $expertiseGroup->description }}</p> </div> </div> <div class="row expertise-homepage-list"> @foreach ($expertiseGroup->expertise()->get() as $exp) <div id="{{ $exp->id }}" class="expertise-homepag...
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Tell the browser to be responsive to screen width --> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <!-- Favicon icon --> <link rel="icon" type="/...
<?php namespace App\Models\Coupon; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Coupon extends Model { use HasFactory; protected $table = 'coupons'; }
<?php /* @var $this yii\web\View */ $this->title = 'Админ-панель'; ?> <div class="site-index"> <h1>Админ-панель</h1> <?php if (\Yii::$app->user->can('createPost')) { echo "Create post"; } ?> </div>
<p><?php echo JText::_('JSN_TPLFW_SAMPLE_DATA_INSTALL_DESC') ?></p> <ul id="jsn-sample-data-processes"> <li id="jsn-download-package" class="jsn-loading"> <span class="jsn-title"><?php echo JText::_('JSN_TPLFW_SAMPLE_DATA_STEP_DOWNLOAD_PACKAGE') ?> <i class="jsn-icon16 jsn-icon-status"></i></span> <span class="jsn...
<?php namespace App\Http\Controller\Index; use Lamp\Controller; /** * Class Index * @package App\Http\Controller\Index */ class Index extends Controller { /** * Index * @return string[] */ public function index () { return ['name' => 'LAMPhp', 'version' => 'beta']; } }
<?php namespace App\Helpers; use App\Mail\RequestReviewNoise; use App\Mail\ReviewNoise; use App\Mail\RevisionNoise; use Illuminate\Support\Facades\Mail; use App\Models\machineProblem; class NotificationHelpers { public static function sendRequestReviewNoise($noise_id) { $noise = machineProblem::find...
<?php namespace App\Http\Controllers; use App\Models\ImdImagemDocumento; use Illuminate\Http\Request; use App\Http\Requests\ImdImagemDocumentoRequest; class ImdImagemDocumentoController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ ...
<?php function arg($x, $y, $z){ $d = $x**2 + sqrt($y) + $x * $y + $z; return $d; } echo arg(2, 5, 1);
<?php require_once "../db_defines.php"; $answer = array(); $response = $_GET; if (count($response) == 0) { $answer["error"] = "Bad response"; echo json_encode($answer); die(0); } elseif (isset($response['key'])) { //setcookie('PHPSESSID', $response['key'], time()+36000); session_name('PHPSESSID')...
<?php namespace Tests\Feature\Http\Controllers\Person; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Tests\DataProvider\Dates; use Tests\TestCase; final class ResourceControllerWrongDeathDateTest extends TestC...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use Zugy\Repos\Category\CategoryRepository; use Zugy\Repos\Product\ProductRepository; class ShopController extends Controller { /** * @var ProductRepository */ private $pr...
<?php namespace Drupal\views\Plugin\views\field; use Drupal\Core\Cache\CacheableDependencyInterface; use Drupal\Core\DependencyInjection\DeprecatedServicePropertyTrait; use Drupal\Core\Entity\EntityDisplayRepositoryInterface; use Drupal\Core\Entity\EntityRepositoryInterface; use Drupal\Core\Entity\EntityTypeManagerIn...
<?php return [ /* |-------------------------------------------------------------------------- | Application Environment |-------------------------------------------------------------------------- | | This value determines the "environment" your application is currently | running in. This m...
<?php use Illuminate\Database\Seeder; class PelangganTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('pelanggans')->insert([ 'id_tarif' => '1', 'nometer' => '009', 'nama' => 'viara', ...
@extends('index') @section('title','Blog') @section('content') <section class="uk-section uk-section-small"> <div class="uk-container"> <div class="uk-grid-medium uk-child-width-1-1" uk-grid> <div class="uk-text-center"> <ul class="uk-breadcrumb uk-flex-cent...
<?php namespace App\Services\amoCRM; use Illuminate\Database\Eloquent\Model; use Ufee\Amo\Base\Storage\Oauth\AbstractStorage; use Ufee\Amo\Oauthapi; class EloquentStorage extends AbstractStorage { public Model $model; public function __construct(array $options, Model $storage_model) { parent::__...
<ul class="navbar-left navbar-nav nav"> <li class="dropdown dropdown-hover"> <a href="{{route('internal.bkpa.receipt.index')}}"> <b class="col-cell cell-icon text-center"> <i class="zmdi zmdi-layers"></i> <em>{{$notifications->count()}}</em> </b> ...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Secure_area_dsn extends CI_Controller{ function __construct() { parent::__construct(); date_default_timezone_set('Asia/Makassar'); if($this->session->userdata('logged_in')!=TRUE){ redirect('account'); } if(in_array(8, $this...
<?php declare(strict_types=1); namespace Netgen\BlockManager\Block; /** * @final */ class ContainerDefinition extends BlockDefinition implements ContainerDefinitionInterface { public function getPlaceholders(): array { return $this->handler->getPlaceholderIdentifiers(); } }
<!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><?=$title?></title> <meta name="keywords" con...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class ChangePriceToOrderLists extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('order_lists...
<?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. */ namespace WPR_Vendor\Twig\Extension; use WPR_Vendor\Twig\Profiler\NodeVisitor\ProfilerNodeVisitor; use WPR_Vendor\Twig...
<?php namespace App\Repositories\Products; use App\Models\product; class ProductRepository implements ProductInterface { private $pro; public function __construct(product $pro) { $this->pro= $pro; } public function getAllProducts() { // TODO: Implement getAllProducts() metho...
<div class="left-sidebar"> <div class="brands_products"><!--brands_products--> <h2>My Account</h2> <div class="brands-name"> <ul class="nav nav-pills nav-stacked"> <?php if($navigation == 'account'){ ?> <li><a href="<?=base_url('customers/account/');...
<?php namespace Omnipay\Magnius\Tests; use Omnipay\Magnius\Message\Response; use Omnipay\Tests\TestCase; class ResponseTest extends TestCase { public function testConstruct() { // response should decode URL format data $response = new Response($this->getMockRequest(), ['example' => 'value', '...
<?php namespace App\Http\Controllers; use App; use Illuminate\Http\Request; class index_main_controller extends Controller { function my_read_all(){ $data=App\Product::with('images')->get(); $hot_deals=App\Product::with('firstimage')->get(); return view('index',compact('data','hot_deals')); } }
<head> <title>@yield('title')</title> {{-- truyen css,js --}} <base href="{{asset(' ')}}"/> {{-- end --}} <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!--===============================================================================================--> <link re...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; use \Auth; use App\Models\Guru as GuruModel; class AbsensiCollection extends JsonResource { /** * Transform the resource collection into an array. * * @param \Illuminate\Http\Request $request * @return arr...
<!DOCTYPE html> <!--[if IE 6]> <html id="ie6" class="ie" dir="ltr" lang="en-US"> <![endif]--> <!--[if IE 7]> <html id="ie7" class="ie" dir="ltr" lang="en-US"> <![endif]--> <!--[if IE 8]> <html id="ie8" class="ie" dir="ltr" lang="en-US"> <![endif]--> <!--[if IE 9]> <html id="ie9" class="ie" dir="ltr" lang="en-US"> <![en...
<?php namespace App\Http\Controllers\API\Auth; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Auth; class AdminLoginController extends Controller { public function login(Request $request) { $credentials = $request->only(['email', 'password']); if(!$token = Auth::guard(...
<?php /* * This file is part of the Predis package. * * (c) Daniele Alessandri <suppakilla@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Predis\Command; /** * @group commands * @group realm-list */ clas...
<?php $__env->startSection('content'); ?> <form action="" method="post"> <?php echo csrf_field(); ?> <div class="container"> <div class="d-flex justify-content-between mb20"> <div class=""> <h1 class="title-bar"><?php echo e($row->id ? 'Edit: '.$row->n...
<?php /* WebProfilerBundle:Profiler:profiler.css.twig */ class __TwigTemplate_09537931bd4291f3de85786b63f85136a91259c2cffbd47856229a646b4aad2c extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks =...
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Chat\V2\Service\Channel; use Twilio\ListResource; use Twilio\Options; use Twilio\Serialize; use Twilio\Values; use Twilio\Version; class MemberList extends ListResource { /** ...
<div class="row"> <div class="col-md-12"> <div class="box"> <div class="box-header"> <h3 class="box-title">Assignmentfiles Listing</h3> <div class="box-tools"> <a href="<?php echo site_url('assignmentfile/add'); ?>" class="btn btn-success btn-sm">...
<html> <head> <title>PHPMailer - Sendmail basic test</title> </head> <body> <?php require_once('../class.phpmailer.php'); $mail = new PHPMailer(); // defaults to using php "mail()" $mail->IsSendmail(); // telling the class to use SendMail transport $body = file_get_contents('contents.html')...
<?php /* SonataAdminBundle:CRUD:base_show.html.twig */ class __TwigTemplate_fbafdd092cde4b379a2926ba9c06ecf60f42b60046fc39b1a7b3ea832d79550b extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->blocks = array( 'title' => arr...
<?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...
<script src="http://code.jquery.com/jquery-2.2.4.min.js" type="text/javascript" charset="utf-8"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script> <script defer src="https://code.getmdl.io/1.2.1/material.min.js" type="text/javascri...
<?php use Illuminate\Database\Seeder; use App\User; use App\Models\Sensor; use App\Models\Resource; use App\Models\Workplace; use App\Models\Activity; use App\Models\Instruction; use App\Models\Action; use App\Models\ActionTrigger; use App\Models\Tangibles\Person; use App\Models\Tangibles\Place; use App\Models\Tangibl...
<?php namespace WO\OrganizerBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configu...