text
stringlengths
2
1.03M
<?php namespace Openl10n\Bundle\ApiBundle\Tests\Controller; use Openl10n\Bundle\ApiBundle\Test\WebTestCase; use Symfony\Component\HttpFoundation\Response; class MeControllerTest extends WebTestCase { public function testGetMeIndexUserData() { $client = $this->getClient(); $client->jsonRequest...
@extends('layouts.blank') @section('title') Pixel Media | Page under construction @endsection @section('view') <div class="view-countdown"> <div class="play-video-wrapper"> <div class="play-video"></div> <div class="play-video-overlay"> </div> </div> <h4> This page is under construction </h4>...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class TransactionServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { // } /** * Register the application ser...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v4/enums/user_list_number_rule_item_operator.proto namespace Google\Ads\GoogleAds\V4\Enums; if (false) { /** * This class is deprecated. Use Google\Ads\GoogleAds\V4\Enums\UserListNumberRuleItemOperatorEnum\UserLis...
<?php namespace App\Http\Controllers\admin; use App\Backend\Bank; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class BankController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
<?php namespace Webkul\CMS\Repositories; use Illuminate\Support\Facades\Event; use Illuminate\Database\Eloquent\ModelNotFoundException; use Webkul\Core\Eloquent\Repository; use Webkul\CMS\Models\CmsPageTranslation; class CmsRepository extends Repository { /** * Specify Model class name * * @return...
<?php namespace Application\Entity; use Doctrine\ORM\Mapping as ORM; /** * AdmGeral * * @ORM\Table(name="adm_geral", indexes={@ORM\Index(name="index_adm_geral_01", columns={"cnpj_loja", "cod_solicitacao"}), @ORM\Index(name="index_adm_geral_02", columns={"num_adm", "store_key"})}) * @ORM\Entity */ class AdmGeral...
<?php use Cycle\ORM\ORMInterface; use GingTeam\NetteCycle\CycleOrmExtension; use Nette\DI\Compiler; use Nette\DI\Container; use Nette\DI\ContainerLoader; use PHPUnit\Framework\TestCase; test('extension', function () { $loader = new ContainerLoader(__DIR__.'/temp', autoRebuild: true); $class = $loader->load(f...
<?php namespace App\Http\Controllers; use App\barangkeluar; use App\barang; use Illuminate\Http\Request; class BarangkeluarController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $barangkeluar ...
<?php namespace App\Policies; use App\Models\Coupon; use App\Models\User; use Illuminate\Auth\Access\HandlesAuthorization; class CouponPolicy { use HandlesAuthorization; /** * Determine whether the user can view any models. * * @param \App\Models\User $user * @return mixed */ ...
<?php namespace App\Http\Controllers\Api; use App\Http\Requests\Api\AuthorizationRequest; use App\Http\Requests\Api\SocialAuthorizationRequest; use App\Models\User; use Illuminate\Auth\AuthenticationException; use Illuminate\Support\Facades\Auth; use Overtrue\LaravelSocialite\Socialite; use Overtrue\Socialite\Access...
<?php /** * Medik (r) Photo Sharing Platform for Health Professionals (http://medik.com) * Copyright (c) Yazılım Parkı Bilişim Teknolojileri D.O.R.P. Ltd. Şti. (http://yazilimparki.com.tr) * * Licensed under The MIT License (https://opensource.org/licenses/mit-license.php) * For full copyright and license informat...
<?php namespace Acme\Crm\Models; use Model; /** * Offering Model */ class File extends Model { /** * @var string The database table used by the model. */ public $table = 'acme_crm_files'; /** * @var array Guarded fields */ protected $guarded = []; /** * @var array Rel...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model frontend\models\JobPostingSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="job-posting-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]);...
<?php namespace App\Http\Controllers; use App\Interfaces\InvoicingInterface; use App\Models\Book; use App\Models\Comment; use App\Models\Config; use App\Models\Discount; use App\Models\Enrollment; use App\Models\Fee; use App\Models\Invoice; use App\Models\InvoiceDetail; use App\Models\InvoiceType; use App\Models\Paym...
@extends('layouts.auth') @section('content') <div class="content-header py-4"> <div class="container-fluid"> <div class="row"> <div class="col-sm-6"> <h1 class="m-0 text-dark">Profile</h1> </div> </div> </div> </div> <div class="content"> <div class=...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>{{$setting['title']}} - {{$powered}}</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link href="{{mix('/as...
<?php namespace App\Http\Controllers\Frontend; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\MainCategory; use App\Models\ChildCategory; use App\Models\SubCategory; use App\Models\Product; use App\Models\GroupAttributes; use App\Models\Attributes; use App\Models\User; use App\Models...
<?php defined('YII_ENV') or exit('Access Denied'); /** * Created by PhpStorm. * User: Administrator * Date: 2017/6/29 * Time: 9:50 */ use yii\widgets\LinkPager; $urlManager = Yii::$app->urlManager; $this->title = '评价管理'; $this->params['active_nav_group'] = 3; ?> <style> table { table-layout: fixed; ...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\SDK_DATA_1598238000612\Models; use AlibabaCloud\Tea\Model; use AlibabaCloud\SDK\SDK_DATA_1598238000612\Models\GenerateOapiCspaceAuthParams; class GenerateOapiCspaceAuthRequest extends Model { public function validate() { ...
<?php namespace App\Service\Eloquent; use App\Contracts\Service\Tag\SyncTagsServiceContract; use App\Contracts\Repository\TagRepositoryContract; use App\Models\Taggable; class SyncTagsService implements SyncTagsServiceContract { private TagRepositoryContract $tagRepository; public function __construct(TagRe...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\ResourceCollection; class NhanvienCollection extends ResourceCollection { /** * Transform the resource collection into an array. * * @param \Illuminate\Http\Request $request * @return array|\Illuminate\Contracts\Support\...
<?php namespace DoctrineMigrations; use Doctrine\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your needs! */ class Version20180726182039 extends AbstractMigration { /** * @param Schema $schema */ public function up(Schema $schema)...
<?php namespace App\Campaign\Domain\Validators; use \Prettus\Validator\Contracts\ValidatorInterface; use \Prettus\Validator\LaravelValidator; /** * Class IssueValidator. * * @package namespace App\Campaign\Domain\Validators; */ class IssueValidator extends LaravelValidator { /** * Validation Rules ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Transactions extends Model { use HasFactory; use SoftDeletes; protected $fillable = [ 'uuid', 'name', 'email', 'number', ...
<?php use Illuminate\Database\Seeder; class PublishersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $faker = Faker\Factory::create('ja_JP'); $now = \Carbon\Carbon::now(); for ($i = 0; $i < 10; $i++) { ...
<?php namespace Tests\Odr; use Tests\UnitTestCase; class OdrRegisterDomainTest extends UnitTestCase { public function testNotLoggedIn() { $module = $this->getModule(); $module->setConfig( array( 'api_key' => 'public$failure', 'api_secret' => 'sec...
<?php /* +--------------------------------------------------------------------------+ | Zephir Language | +--------------------------------------------------------------------------+ | Copyright (c) 2013 Zephir Team and contributors ...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> {{-- <link href="ht...
<?php namespace Kelunik\String; use PHPUnit\Framework\TestCase; class StartsWithTest extends TestCase { public function test(): void { $this->assertTrue(startsWith('foobar', 'foo')); $this->assertTrue(startsWith('foobar', 'f')); $this->assertFalse(startsWith('foobar', 'oobar')); ...
<div class="container"> <ul class="nav nav-tabs"> <li><a href="<?php echo base_url('account/inventory')?>"><i class="fa fa-home"></i> Home</a></li> <li role="presentation" class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-expanded="false"> Brands <sp...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class EditUsercall extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::rename('user_call', 'user_cal...
<?php /** * Copyright 2016 Google Inc. All Rights Reserved. * * 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 /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * functions for displaying server status sub item: advisor * * @usedby server_status_advisor.php * * @package PhpMyAdmin */ /** * Returns html with PMA\libraries\Advisor * * @return string */ function PMA_getHtmlForAdvisor() { $output = '<a href="#ope...
@extends('layouts.app') @section('content') <section class="features"> <div class="container"> @include('layouts.menuBox',[ 'url' => 'admin/user/course/create', 'name' => 'COURSE', 'colorClass' => 'box-color box-color-'.'green', 'cir1Class' => 'circle-1 circle-1-'.'green', 'cir2Class' => 'ci...
<?php use miloschuman\highcharts\Highcharts; ?> <div style="display: none"> <?php echo Highcharts::widget([ 'scripts' => [ 'highcharts-more', // enables supplementary chart types (gauge, arearange, columnrange, etc.) //'modules/exporting', // adds Exporting button/menu to chart ...
@extends('layouts.site') @section('content') <div class="gray-background"> <section class="contact__block contact-wrapper"> <h1 class="display-medium">Cur gemna ire? </h1> <p>Hercle, abnoba dexter!, racana! Hippotoxota noceres, tanquam gratis luna. Lotus, noster lactas rare ...
<!DOCTYPE html> <html> <head> <title>Styx-Login</title> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="style.css"> <!--<script type="text/javascript" src="logins.js"></script> --> </head> <body> <div class="login-box" id="lgbx1"> <h1>Login</h1> <!--form login o...
<?php return [ "email" => "E-mail-felt kræves!", "username" => "Brugernavn felt kræves!", "success_update" => "Profilopdatering med succes!", "adress_success_update" => "Adresseopdatering med succes!", "adress_success_create" => "Adresse Opret med succes!", "login_error...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Facebody\V20191230\Models\AddFaceResponseBody; use AlibabaCloud\Tea\Model; class data extends Model { /** * @var string */ public $faceId; protected $_name = [ 'faceId' => 'FaceId', ]; publ...
@extends('incudes.master') @section('sub-title','Category') @section('content') <div class="col-12 col-md-12 col-lg-12"> {{-- flash data --}} @if (session('status')) <div class="alert alert-success"> {{ session('status') }} </div> @endif {{-- --}} <div class="card"> ...
<?php //require('../vendor/autoload.php'); require '../src/TaskBalancer/Balancer.php'; require '../src/TaskBalancer/Driver.php'; require '../src/TaskBalancer/Task.php'; require '../src/TaskBalancer/TaskBalancerException.php'; use Surpaimb\TaskBalance\Balancer; $data = [ 'name' => 'top lan', 'age' => '20', ]...
@extends('frontend.layouts.master') @section('content') <!-- Banner Section --> <section class="banner_part"> <img src="{{ asset('frontend') }}/image/banner.jpg" style="width: 100%"> </section> <!-- About us Section --> <section class="mission_vision"> <div class="container"> <div class="row"> <di...
@extends('estilo.master') @section('title', 'Formulário de Cursos') @section('content') <div class="card mt-4"> <div class="card-header"> <h4>Cadastrar Curso</h4> </div> <div class="card-body"> <form action="{{ route('cursos.store') }}" method='POST' enctype="m...
@extends('website.layouts.app') @section('content') <style> #myProgress { width: 76%; background-color: #ddd; } #myBar { background-color: #ff7f00; text-align: center; line-height: 20px; color: white; ...
<header class="container"> <div> <a href="{{route('home')}}"> <img src="{{ asset('img/dc-logo.png') }}" alt=""> </a> </div> <div class="menu-right"> <ul> @foreach (config('menuHeader') as $item ) <li> <a class="{{(Route::currentRouteName()===strtolower($item) ? "active":"...
<div class="row justify-content-center"> <div class="col-xl-8 col-lg-9 col-md-12 col-sm-12 col-12"> <div class="card"> <div class="card-body"> <form method="post" action="<?php echo base_url();?>index.php?admin/question_create"> <div class="row"> <div class="col-12"> <div c...
<?php /** * yform. * * @author jan.kristinus[at]redaxo[dot]org Jan Kristinus * @author <a href="http://www.yakamara.de">www.yakamara.de</a> */ class rex_yform_value_generate_password extends rex_yform_value_abstract { public function enterObject() { $this->setValue(mb_substr(md5(microtime() . ran...
<?php use yii\db\Migration; /** * Class m190520_172715_auth_table */ class m190520_172715_auth_table extends Migration { public function up() { $this->createTable('auth', [ 'id' => $this->primaryKey(), 'user_id' => $this->integer()->notNull(), 'source' => $this->s...
@extends('patientlayout2') @section('title2') Profile Setting @stop @section('content3') <style> body{ background-image: url(img/profilePagePhoto.jpg); } </style> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> @if(Session::get('Profile_Updated')) <div class="alert alert-success"> {{Se...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css2?family=Nunito...
@include('admin.layouts.header') <div class="container-fluid min-700px"> {{-- Product List --}} <div class="col-xl-12"> <div class="card mt-5"> <div class="card-header border-1 bg-gradient-primary"> <div class="row align-items-center"> <div class="col"> <h3 class="mb-0 text-white">Brand Create</...
<?php namespace Xiaokus\Voyager\Database\Types\Common; use Doctrine\DBAL\Platforms\AbstractPlatform; use Xiaokus\Voyager\Database\Types\Type; class TextType extends Type { const NAME = 'text'; public function getSQLDeclaration(array $field, AbstractPlatform $platform) { return 'text'; } }
<?php namespace Tests\Functional\Subscriptions; use App\Models\Subscription; use App\Models\User; use Tests\Functional\_TestCase; /** * @internal * @coversNothing */ class GetTest extends _TestCase { protected $uri = 'subscriptions'; public function test() { User::factory()->create(['id' => 1...
<?php /* * This file is part of the mouyong/puyingcloud-sdk. * * (c) 牟勇 <my24251325@gmail.com> * * This source file is subject to the MIT license that is bundled. */ namespace Yan\PuyingCloudSdk\Exceptions; class AdapterException extends \RuntimeException { }
<?php namespace Tests\Feature; use App\Product; use App\Retailer; use App\Stock; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; class ProductTest extends TestCase { use RefreshDatabase; /** @test */ public function it_checks_stock_for_products_at_retailers() { $switch...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
<?php /** * @Created By ECMall PhpCacheServer * @Time:2015-01-25 16:46:42 */ if(filemtime(__FILE__) + 600 < time())return false; return array ( 'inbox' => '0', 'outbox' => '0', 'total' => 0, ); ?>
<?php use App\User; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\Hash; class UserSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $user = User::create([ 'name' => 'Super Admin', 'email' ...
<?php use PHPUnit\Framework\TestCase; use HelloWorld\Contracts\App\App as AppContract; use App\App; class AppTest extends TestCase { public function testContract() { $app = new App(null, null); $this->assertEquals(true, $app instanceof AppContract); } }
<?php /** * @category Magento 2 * @package Sendinblue_Sendinblue * URL: https:www.sendinblue.com */ namespace Sendinblue\Sendinblue\Block\Adminhtml; use Magento\Backend\Block\Template; use Magento\Backend\Block\Template\Context; use Magento\Framework\Data\Form\FormKeyFactory; use Magento\Framework\App\Conf...
<?php namespace backend\controllers; use Yii; use backend\models\Venda; use backend\models\VendaSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * VendaController implements the CRUD actions for Venda model. */ class VendaController extends Controller { /** ...
<?php /* * This file is part of the phpems/phpems. * * (c) oiuv <i@oiuv.cn> * * 项目维护:oiuv(QQ:7300637) | 定制服务:火眼(QQ:278768688) * * This source file is subject to the MIT license that is bundled. */ class action extends app { public function display() { $action = $this->ev->url(3); if (!...
<?php declare(strict_types=1); namespace Keboola\LookerWriter\DbBackend; use Keboola\LookerWriter\Config; use Swagger\Client\Model\DBConnection; use Swagger\Client\Model\DBConnectionOverride; class SnowflakeBackend implements DbBackend { public const COMPONENT_KEBOOLA_WR_DB_SNOWFLAKE_S3 = 'keboola.wr-db-snowfla...
<h3>Hola, recibiste una invitación para firar un documento:</h3> <p> Nombre del contrato: {{ $contract->name }} </p><br> <p> Mensaje: {{ $contract->message }} </p> <br><br> <p>Puedes acceder a tu zona de contratos en la aplicación de Filex mediante el siguiente botón:</p> <br> <a class="btn btn-primary" href="...
<?php namespace Botble\Ecommerce\Repositories\Interfaces; use Botble\Support\Repositories\Interfaces\RepositoryInterface; use Illuminate\Contracts\Pagination\LengthAwarePaginator; use Illuminate\Support\Collection; interface GroupedProductInterface extends RepositoryInterface { /** * @param int $groupedProd...
<?php class Database { public function __construct() { } private $host = "localhost"; private $db_name = "test_db"; private $username = "admin"; private $password = "*Loksy6af3z13"; private $dsn; public $connection; /** * @return mixed */ public function getConn...
<?= $this->extend('plantilla/layout')?> <?= $this->section('title')?> <?= $titulo ?> <?= $this->endSection()?> <?= $this->section('page-title')?> Productos <?= $this->endSection()?> <?= $this->section('card-title')?> Listado de <?= $titulo ?> <?= $this->endSection()?> <?= $this->section('contenido')?> <div class...
<form action="{{ route('statuses.store') }}" method="POST"> @include('shared._errors') {{ csrf_field() }} <textarea class="form-control" rows="3" placeholder="有什么新鲜事想告诉大家?" name="content">{{ old('content') }}</textarea> <div class="text-right"> <button type="submit" class="btn btn-primary mt-3">发布</button...
@extends('layouts.main') @section('content-header') @if($route == "/wbs") @breadcrumb( [ 'title' => 'Manage Resource Profile', 'items' => [ 'Dashboard' => route('index'), 'Create WBS Profile' => route('wbs.createWbsProfile'), 'Manage BO...
<?php namespace backend\controllers; use backend\models\AuthItem; use backend\models\UserRole; use backend\models\UserSearch; use common\helper\Helper; use common\models\User; use backend\models\UserModel; use yii\data\ActiveDataProvider; use yii\db\Exception; use yii\db\Transaction; use yii\helpers\Url; use yii\we...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Role extends Model { protected $fillable = ['roleName', 'permission']; }
<!DOCTYPE html> <html lang="en"> <head> <title>polycard</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="shortcut icon" href="img/fedpoly.jpg" type="image/x-icon"> {{-- <link...
<?php /** * Copyright 2007-2017 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.horde.org/licenses/lgpl21. * * @category Kolab * @package Kolab_Storage * @author Thomas Jarosch <thomas.jarosch@intra2net.com...
<?php // +---------------------------------------------------------------------- // | B5LaravelCMF // +---------------------------------------------------------------------- // | Author: 李恒 <357145480@qq.com> // +---------------------------------------------------------------------- namespace App\Models; class Wechat...
<div class="admin-crud-table-wrapper shadow-sm mt-2"> @if ($regs->count()>0) <table class="admin-crud-table {{ !$fixedFirstColumn ?: 'fixed-first' }} {{ !$striped ?: 'striped' }}"> @include('admin.teams.table.table_head') @include('admin.teams.table.table_body') </table> @else <div class="p-3"> No exis...
<?php // Codeigniter 4 array validation leaves the key of the errors arrays with '.*' // In order to not have problems with jQuery validation, we use this function to remove '.*' function array_replace_key(Array $search, $replace, Array $subject) { $updatedArray = []; foreach($search as $val): fore...
<?php declare(strict_types=1); namespace App\Services; use App\Events\EmptyResourceEvent; use App\Managers\StateManager; use App\Model\Inventory; use App\Model\Service; use App\Model\StateResource; use Illuminate\Support\Facades\Event; /** * Provide resources to the client and update the state using the State Manag...
<?php namespace Composer; use Composer\Semver\VersionParser; class InstalledVersions { private static $installed = array ( 'root' => array ( 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array ( ), 'reference' => '8d2cfd702f5d6c7c2b6daf4a37c460...
<?php SESSION_START(); if ($_SESSION["usuario"]) { $user = $_SESSION["usuario"]; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <h1>Menu Principal</h1> P...
<?php /** * Copyright (c) BrownBear, 2014 - Present. All Rights Reserved. * Copyright (c) STMicroelectronics, 2005. All Rights Reserved. * * Originally written by Manuel Vacelet, 2005 * * This file is a part of Codendi. * * Codendi is free software; you can redistribute it and/or modify * it under the terms of...
@extends('admin.master') @section('content') <h1>Police Station Details</h1> <p>Police Station DMP: {{$policestation->dmp}}</p> <p>Police Station Name: {{$policestation->name}}</p> <p>Police Station Address: {{$policestation->address}}</p> <p>Police Station Telephone: {{$policestation->telephone}}</p> <p>Po...
<?php /** * @usage * $opts = array('perpage' => $perpage, 'current_page' => $page); * $page = new Y_Pagination($count_rows, $url, $opts); * echo $page->getPagination(); * */ class Pagination { private $perpage = 10; private $current_page = 0; private $num_edge_entries = 0; private $num_display_entries = 10...
<section class="content"> <div class="container-fluid"> <!-- <div class="block-header"> <h2> JQUERY DATATABLES <small>Taken from <a href="https://datatables.net/" target="_blank">datatables.net</a></small> </h2> </div> --> <!-- Basic Ex...
@extends('templates.default') @section('title') Timeline @endsection @section('content') <div class="row"> <div class="col-lg-6"> <form role="form" action="{{route('status.post')}}" method="post"> <div class="form-group {{$errors->has('status')?'has-error':''}}"> ...
<?php class BlogController extends \BaseController { /* |-------------------------------------------------------------------------- | Default Static Page Controller |-------------------------------------------------------------------------- | | You may wish to use controllers instead of, or in addition to, Clos...
<?php class NotificationCore { public $types; public function __construct() { $this->types = ['student_message', 'customer', 'student_education']; } public function getLastElements() { $notifications = []; $employeeInfos = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow( ...
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css"> <script src="https://a...
<!DOCTYPE html> <head> <meta charset="utf-8"> <script src="{{asset('js/jquery-1.11.3.min.js')}}"></script> <link rel="stylesheet" href="{{asset('sweetalert/dist/sweetalert2.min.css')}}"> <script src="{{asset('sweetalert/dist/sweetalert2.all.min.js')}}"></script> <script > $(function(){ var c=0; $(".porcent...
<div class="modal fade" id="allState"> <div class="modal-dialog modal-sm"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"> <span aria-hidden="true">&times;</span><span class="...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /*IMPORT CLASS CRUD */ require_once APPPATH.'controllers/administration/ClienteCRUD.php'; require_once APPPATH.'controllers/administration/SociedadCRUD.php'; require_once APPPATH.'controllers/administration/RegimenCRUD.php'; require_once APPPATH.'co...
<!-- The Modal --> <form method="POST" v-on:submit.prevent="viewCourse(fillCourse.id)"> <div class="modal fade" id="view"> <div class="modal-dialog"> <div class="modal-content"> <!-- Modal Header --> <div class="modal-header"> <h4 class="modal-title">Edita...
<?php include ('layout_manager.php'); include ('content_function.php'); addview($_GET['cid'], $_GET['scid'], $_GET['tid']); ?> <html> <head><title>FoodHub's Discussion Forum</title></head> <link rel="stylesheet" type="text/css" href="main.css"> <body> <div class="pane"> <div class="header"><h1><a href="/PhpProjec...
<?php // php artisan make:model Post namespace App; use Illuminate\Database\Eloquent\Model; class Post extends Model { // Tidak perlu didefinisikan, karena sudah sesuai dengan penamaan file model dengan singular (tanpa -s) // protected $table = 'posts'; // property untuk pengisian massal dengan method c...
<?php namespace App\Http\Controllers; use App\Hair_cuts; use Illuminate\Http\Request; class HairCutsController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the for...
<!doctype html> <html lang="en"> <!-- Head --> <?php $this->load->view("layouts/layout_dashboard/_partials/part_head") ?> <body> <!-- Akses Demo --> <?php if ($this->session->userdata('akses') == '1') : ?> <div class="wrapper"> <?php $this->load->view("layouts/layout_dashboard/_partials/part_side...
<?php /** * Конифг для компонента urlManager */ return [ 'class' => 'codemix\localeurls\UrlManager', 'languages' => ['ru', 'en'], 'enableDefaultLanguageUrlCode' => false, 'enableLanguageDetection' => false, 'enableLanguagePersistence' => false, 'showScriptName' => false, 'enablePrettyUr...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Suite extends Model { protected $table="suite"; }
<?php return array( /* |-------------------------------------------------------------------------- | Client ID |-------------------------------------------------------------------------- | | Your Instagram client_id. | */ 'client_id' => 'aa461340ca1e4b53974a0841db951407', /* |-------------------------...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\AdminController; use App\Http\Controllers\TenantController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you...