text
stringlengths
2
1.03M
<?php //Example 1 column layout ?> <!DOCTYPE html> <html lang="en"> <?php $this->getThemeElement("page/html/head",$__forward); ?> <?php $this->getBodyBefore(); ?> <body class=""> <?php $this->getThemeElement("page/html/topbar",$__forward);?> <div class="container" style="background-image: url('<?=base_url('media/sl...
<?php /** * Template system with buffer for merge data in same variable or section * * @package Playa * @subpackage Tools * @author porquero */ class Tpl { private $_variables = array(), $_section = array(); /** * Set variable to be used in template view * * @param string $na...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once dirname(__FILE__) . '/tcpdf/tcpdf.php'; class Pdf extends TCPDF { function __construct() { parent::__construct(); } } /*Author:Tutsway.com */ /* End of file Pdf.php */ /* Location: ./application/libraries/Pdf.php *...
<?php namespace app\assets\ForntendAssets; use yii\web\AssetBundle; /** * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class IndexAsset extends AssetBundle { public $basePath = '@webroot'; public $baseUrl = '@web'; public $css = [ 'themes/global/plugins/font-awesome/css/font-awesome....
<?php namespace App; use Illuminate\Database\Eloquent\Model; class OrderItems extends Model { protected $fillable = [ 'order_id', 'name', 'price', 'quantity', ]; public function order() { return $this->belongsTo(Order::class); } }
<?php namespace MauticPlugin\MauticGSBundle\Google\google_api_php_client\src\Google\Service; /* * Copyright 2010 Google Inc. * * 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://...
<?php namespace Anexos\V1\Rest\Tacrih; use Zend\Paginator\Paginator; class TacrihCollection extends Paginator { }
<?php /** * Created by PhpStorm. * User: mayn * Date: 2018/5/15 * Time: 9:59 */ namespace app\gsong\model; use think\Model; class User extends Model { public function findByOpenid($openid){ $user=db('users')->where("openid='{$openid}'")->find(); return $user; } }
<?php /** * Validator Test * * @package Slab * @subpackage Tests * @author Eric */ namespace Slab\Tests\Router\Validators; class AnyTest extends \PHPUnit\Framework\TestCase { /** * Test validator */ public function testValidator() { $validator = new \Slab\Router\Validators\Any(); ...
<?php class ControllerLocalisationReturnStatus extends Controller { private $error = array(); public function index() { $this->language->load('localisation/return_status'); $this->document->setTitle($this->language->get('heading_title')); $this->load->model('localisation/return_status'); ...
@extends('admin.layouts.cmlayout') @section('body') <div class="container-fluid"> <div class="row page-title no-display"> <div class="col-md-12"> <h4 class="mb-1 mt-0">Change Password</h4> </div> ...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\clinicas_medicos_horario; use Faker\Generator as Faker; $factory->define(clinicas_medicos_horario::class, function (Faker $faker) { return [ // ]; });
<?php // Main feeds page // The feeds don't use script_start.php, their code resides entirely in feeds.php in the document root // Bear this in mind when you try to use script_start functions. if ( empty($_GET['feed']) || empty($_GET['authkey']) || empty($_GET['auth']) || empty($_GET['passkey']) ||...
<?php require __DIR__ . '/bootstrap.php'; use Kenjis\Csp\Logger\File; use Kenjis\Csp\CspReport; http_response_code(204); $post = file_get_contents('php://input'); if (! $post) { exit; } $logfile = __DIR__ . '/csp-report.log'; $logger = new File($logfile); $report = new CspReport($logger); $report->process($pos...
<?php /** * example10.php * 02-Oct-2012 * * PHP Version 5 * * @category Services * @package Services_OpenStreetMap * @author Ken Guest <kguest@php.net> * @license BSD http://www.opensource.org/licenses/bsd-license.php * @version Release: @package_version@ * @link example10_user_info.php */ $versio...
<link href="https://code.jquery.com/ui/1.9.2/themes/smoothness/jquery-ui.css" rel="stylesheet"> <script src="https://code.jquery.com/jquery-1.11.0.min.js"></script> <script> $(function() { $("#datepicker").datepicker({ maxDate: "D" }); }); </script> <!-- <style> *{margin:0 auto;} body{background:#f0f0f0;} ...
<?php namespace InvestMe\Http\Controllers\Auth; use InvestMe\User; use InvestMe\Http\Controllers\Controller; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController extends Controller { /* |------------------------...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Applications/MAMP/htdocs/grav-admin/user/plugins/admin/languages/da.yaml', 'modified' => 1495258176, 'data' => [ 'PLUGIN_ADMIN' => [ 'ADMIN_BETA_MSG' => 'Dette er en beta-udgivelse! Brug i produktionsm...
<?php return [ ['appears' => ['Frontier::layouts.admin', 'Theme::layouts.admin'], 'class' => Frontier\Composers\NavigationViewComposer::class], ['appears' => ['*'], 'class' => Frontier\Composers\ApplicationViewComposer::class], ];
<style> html, body { padding: 0; margin: 0; } </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js"></script> <script> $(document).ready(function() { html2canvas($('body'), { allowTaint: false, useCORS: true, height: $('body').outerHeight(...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddForeignKeysToBayarPemesananTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table(...
<?php declare (strict_types=1); namespace RectorPrefix20210603; use Rector\Symfony\Rector\Attribute\ExtractAttributeRouteNameConstantsRector; use Rector\Symfony\Rector\BinaryOp\ResponseStatusCodeRector; use Rector\Symfony\Rector\Class_\EventListenerToEventSubscriberRector; use Rector\Symfony\Rector\Class_\MakeCommand...
<?php /* Actifisys (dnyActifisys) developed by Daniel Brendel (C) 2019 - 2021 by Daniel Brendel Version: 1.0 Contact: dbrendel1988<at>gmail<dot>com GitHub: https://github.com/danielbrendel/ Released under the MIT license */ namespace App; use Exception; use Illuminate\Database\Eloquent\Mod...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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/LICENS...
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <title>我的评论列表-{$webname}</title> {php echo Common::getScript('jquery-min.js,common.js,st_m.js'); } {php echo Common::getCss('m_base.css,style.css'); } </h...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Post; use App\Category; use App\Tag; class GuestController extends Controller { public function home(){ $posts = Post::all(); $tags = Tag::all(); return view('pages.home',compact('posts','tags')); } publ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Category; use App\Models\Ticket; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware(['auth'])...
<?php include("retwis.php"); # Form sanity checks if (!gt("username") || !gt("password") || !gt("password2")) goback("Every field of the registration form is needed!"); if (gt("password") != gt("password2")) goback("The two password fileds don't match!"); # The form is ok, check if the username is available $...
@extends('site.master') @section('title') {{$custom_order->id}} @endsection @section('content') <script src="http://anthonyterrien.com/demo/knob/jquery.knob.min.js"></script> <br><br><br> <div class="container"> @include('site.includes.messages') <div class="row"> <div class=...
<?php namespace Vectorface\SnappyRouterTests\Request; use PHPUnit\Framework\TestCase; use Vectorface\SnappyRouter\Exception\InternalErrorException; use Vectorface\SnappyRouter\Request\HttpRequest; /** * Tests the HttpRequest class. * @copyright Copyright (c) 2014, VectorFace, Inc. * @author Dan Bruce <dbruce@vect...
<?php $this->load->view('layouts/headers'); $this->load->view($page); $this->load->view('layouts/footers'); ?>
@php /* $layout_page = shop_cart */ @endphp @extends($sc_templatePath.'.layout') @section('block_main_content_center') <div class="col-lg-8 col-xl-9"> <h6 class="aside-title">{{ $title }}</h6> <div class="container"> <div class="row"> <div class="col-md-12"> <h2 class="title-page">{{ $title }}...
<?php namespace App\Http\Controllers\Dashboard; use App\Http\Controllers\Controller; use App\Models\Profile; use App\Models\User; use Illuminate\Http\Request; class ProfileController extends Controller { public function profile($id) { $profile = Profile::with(['admin'=>function($q){ $q->s...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInited658874da257e16d916035637a71cdd::getLoader();
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Coins extends Model { use HasFactory; protected $table = 'coins'; public $primaryKey = 'id'; public $timestamps = true; }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class BoxConfiguration extends Model { protected $table = "configuration_boxes"; public function thematic(){ return $this->belongsTo(Thematic::class,'thematicId','id'); } publi...
<style> h1{ border: 1px solid red; padding:50px 20px; margin-top: 100px; text-align: center; font-weight:bolder; } </style> <h1>Sorry you don't have permission to register in this way ...... Please contact with admin</h1>
<?php // autoload_namespaces.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'phpDocumentor' => array($vendorDir . '/phpdocumentor/reflection-docblock/src'), 'WebDriver' => array($vendorDir . '/instaclick/php-webdriver/lib'), 'Twig_Extensi...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<!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> </head> <body> <h1>You...
<?php namespace imm\Request\V20170906; /** * Request of DeleteTagByUrl * * @method string getProject() * @method string getSetId() * @method string getSrcUri() */ class DeleteTagByUrlRequest extends \RpcAcsRequest { /** * @var string */ protected $method = 'POST'; /** * Class constr...
<?php /** @param resource $ldap */ function ldap_error($ldap) : string { }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Mahasiswa extends Model { use HasFactory; protected $table = "mahasiswa"; protected $guarded = ['id']; public function jurusan() { return $this->belongsTo(J...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddImageResizeToAdvertisements extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('adve...
<div class="navbar-default sidebar" role="navigation"> <div class="sidebar-nav navbar-collapse"> <ul class="nav" id="side-menu"> @if(Session::get('nivel')==null) <li> <a href="#"><i class="fa fa-bullhorn fa-fw"></i>Historial de Noticias</a> </li> <...
<?php namespace SiteProstooremonteBundle\Repository; /** * UsersRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class UsersRepository extends \Doctrine\ORM\EntityRepository { }
<?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 | ...
<div class="container-fluid"> <!-- Small boxes (Stat box) --> <div class="row"> <div class="col-lg-3 col-6"> <!-- small box --> <div class="small-box bg-info"> <div class="inner"> <h3>150</h3> <p>New Orders</p> ...
<?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\Inventory\Types; use DTS\eBaySDK\HttpHeadersTrait; use DTS\eBaySDK\StatusCodeTrait; /** ...
<?php /** * Set path to the EEFrontController.php file * This example assumes that EEFrontController.php is one level above web root * (and for safety and security, it should be) */ $frontControllerPath = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'EEFrontController.php'; /** * Probably don't edit anything below t...
<?php namespace Vinelab\NeoEloquent; use Everyman\Neo4j\Exception as Neo4jException; class QueryException extends Neo4jException { public function __construct($query, $bindings = [], $exception = null) { // Let's handle Neo4j exceptions into the QueryException so that we extract // relevant i...
<?php declare(strict_types=1); namespace Oxidmod\JsonRpcServer\RequestHandler; use Oxidmod\JsonRpcServer\Request\InvalidRequestException; use Oxidmod\JsonRpcServer\Request\Request; use Oxidmod\JsonRpcServer\RequestHandlerInterface; use Oxidmod\JsonRpcServer\Response\Response; use Oxidmod\JsonRpcServer\ResponseInterf...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\themes; use App\category; use App\setting; use App\articles; use App\home; use App\slider; use App\images; use App\district; use App\section; use Mail; class c_frontend extends Controller { function __construct() { $head_logo = ...
<?php namespace PvPGNTracker\Controllers; use \CarlBennett\MVC\Libraries\Common; use \CarlBennett\MVC\Libraries\Controller; use \CarlBennett\MVC\Libraries\DateTime; use \CarlBennett\MVC\Libraries\GeoIP; use \CarlBennett\MVC\Libraries\Router; use \CarlBennett\MVC\Libraries\View; use \PvPGNTracker\Libraries\VersionInf...
<?php $config = [ 'components' => [ 'request' => [ // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation 'cookieValidationKey' => 'UxMB1stnCmUxOaofUOj0OnqkMGDH0wUo', ], ], ]; if (!YII_ENV_TEST) { // configuration adjust...
<?php namespace YiZan\Services; use YiZan\Models\Feedback; use YiZan\Utils\String;; use YiZan\Utils\Time; use DB, Validator, Lang; /** * 意见反馈 */ class FeedbackService extends BaseService { /** * 意见反馈列表 * @param string $type 类型 * @param int $page 页码 * @param int $pageSize 每页数 * @return...
{!! Form::open(array('route' => 'route.name', 'method' => 'POST')) !!} <ul> <li> {!! Form::label('date', 'Date:') !!} {!! Form::text('date') !!} </li> <li> {!! Form::label('department', 'Department:') !!} {!! Form::text('department') !!} </li> <li> {!! Form::label('challenges', 'Challenges:') ...
<?php namespace panix\engine\plugins\bootstrap\widgets; use panix\mod\plugins\helpers\ShortcodesHelper; use yii\helpers\ArrayHelper; /** * Class Accordion * @package panix\engine\plugins\bootstrap\widgets */ class Accordion extends BootstrapWidget { /** * @var array */ protected $items = []; ...
<?php namespace Bigcommerce\Api\v3\Resources; use Bigcommerce\Api\v3\Resource; use Bigcommerce\Api\v3\Client; /** * A product video. */ class ProductVideo extends Resource { /** * {@inheritdoc} * @var string */ public $url = '/catalog/products/{id}/videos'; }
<?php /** * Copyright (c) 2016, Rogiel Sulzbach * 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 must retain the above copyright notice, * this list of...
<?php declare (strict_types=1); namespace RectorPrefix20211109\Symplify\Astral\NodeNameResolver; use PhpParser\Node; use PhpParser\Node\Stmt\ClassLike; use RectorPrefix20211109\Symplify\Astral\Contract\NodeNameResolverInterface; final class ClassLikeNodeNameResolver implements \RectorPrefix20211109\Symplify\Astral\Co...
<?php namespace CagatayBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class DefaultController extends Controller { public function indexAction() { return $this->render('CagatayBundle:Default:index.html.twig', array('name' => 'bugra')); } }
<?php \Ubiquity\cache\CacheManager::startProd($config); \Ubiquity\orm\DAO::setModelsDatabases([ 'models\\Fortune' => 'pgsql', 'models\\World' => 'pgsql' ]); \Ubiquity\cache\CacheManager::warmUpControllers([ 'controllers\\Plaintext_', 'controllers\\Json_', 'controllers\\DbPg', 'controllers\\Fortunes_' ]); $swooleS...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePortfolioDailyTradeTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('por...
<?php defined('BASEPATH') or exit('No direct script access allowed'); if (!function_exists('format_indo')) { function format_indo($date) { date_default_timezone_set('Asia/Jakarta'); // array hari dan bulan $Hari = array("Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"); ...
<?php use Illuminate\Database\Seeder; class TasksTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { factory(App\Models\Task::class, 15)->create(); } }
<?php namespace SorubankasiBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class SoruControllerControllerTest extends WebTestCase { }
@extends('admin.layout.index') @section('content') <!-- Page Content --> <div id="page-wrapper"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Quản trị <smal...
--TEST-- Bug #40854 (imap_mail_compose() creates an invalid terminator for multipart e-mails) --SKIPIF-- <?php if (!extension_loaded("imap")) { die("skip imap extension not available"); } ?> --FILE-- <?php $envelope["from"]= "joe@example.com"; $envelope["to"] = "foo@example.com"; $envel...
<?php return [ '@class' => 'Gantry\\Component\\File\\CompiledYamlFile', 'filename' => 'C:\\xampp\\htdocs\\myloyalclone/templates/rt_salient/blueprints/styles/expanded.yaml', 'modified' => 1447314201, 'data' => [ 'name' => 'Expanded Styles', 'description' => 'Expanded styles for the Salie...
<?php declare(strict_types=1); namespace Kreait\Firebase\Auth; interface SignIn { }
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * FeatureUpdateCatalogEntry File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights res...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\User; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Auth; class UserController extends Controller { /** * Display a lis...
<?php /** * Object caching using Redis (http://redis.io/). * * 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) any later version. * *...
<?php EE::add_command( 'cli', 'CLI_Command' );
<?php use yii\helpers\Url; //ALTERAD $this->title = 'AgroMercado | Produtos'; ?> <section style="float: left; width: 20%"> <div class="row" > <div class="col-xs-10 col-xs-offset-1 col-sm-10 col-sm-offset-2"> </div> </div> </section> <section id="about" style="color: blac...
<!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:wght@400;600;700&displ...
<?php if(!function_exists('add_filter')) exit; function hocwp_get_wpseo_social() { return get_option('wpseo_social'); } function hocwp_get_wpseo_social_value($key) { $social = hocwp_get_wpseo_social(); return hocwp_get_value_by_key($social, $key); } function hocwp_get_wpseo_social_facebook_admin() { r...
<x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('Edição dados so poderar ocoorer até o dia 07/02/2022') }} </h2> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> Campos com <span style=...
<?php //---------------------------------------------------------------------- // Copyright (c) 2012-2015 Raytheon BBN Technologies // // Permission is hereby granted, free of charge, to any person obtainin...
<?php /** * EventTest.php * * EventTest class * * php 7.3+ * * @category None * @package Floor9design\Eventim\PluginCore\Tests\Unit * @author Rick Morice <rick@floor9design.com> * @copyright Floor9design Ltd * @license MIT * @version 1.0 * @link https://github.com/floor9design-ltd/plugin-core....
<ul id="side-menu" class="uk-nav-default uk-nav-parent-icon" uk-nav> {!! $item->data !!} </ul>
<!DOCTYPE html> @php $empresa = App\Http\Controllers\EmpresasController::getempresa(Auth::user()->idempresa); @endphp <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-wid...
<?php /** * NOTICE OF LICENSE * * MIT License * * Copyright (c) 2019 Merchant Protocol * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limita...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</tit...
@extends('layouts.admin.dashboard.app') @section('content') <div class="content-wrapper"> <section class="content-header"> <h1>Employees</h1> <ol class="breadcrumb"> <li><a href="{{ route('dashboard.welcome') }}"><i class="fa fa-dashboard"></i> Dashboard</a></li>...
<div class="col-md-3 col-lg-3 hidden-sm profile-right-column"> <div class="sidebar-section"> <div class="sidebar-section-header"> {{ trans('profile.supported_ideas') }} </div> <ul class="ideas-list"> @if (count($supported_ideas) > 0) @foreach ($supported_ideas as $idea) @include('...
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>{{isset($pageTitle)?$pageTitle:'Home | International Journal of Innovative Research'}}</title> <meta name="description" content="International Journal of Innovative Research (IJIR) is an open-access triannual (three times in a year), pee...
<?php global $Wcms; $page_image = $Wcms->asset('images/default.jpg'); $heading = $Wcms->page('title'); $height = 100; $subtitle = ""; $type = ""; $readMore = ""; if($Wcms->currentPage == $Wcms->get('config', 'login')) { $subtitle = $Wcms->page('content'); } else { // Check if image for this page exisis if(...
<?php namespace Leapt\AdminBundle\Datalist; use Leapt\AdminBundle\Datalist\Action\DatalistActionInterface; use Leapt\AdminBundle\Datalist\Datasource\DatasourceInterface; use Leapt\AdminBundle\Datalist\Field\DatalistFieldInterface; use Leapt\AdminBundle\Datalist\Filter\DatalistFilterExpressionBuilder; use Leapt\AdminB...
<?php namespace League\Tactician\Tests\Exception; use League\Tactician\Exception\InvalidCommandException; use League\Tactician\Exception\Exception; use PHPUnit\Framework\TestCase; class InvalidCommandExceptionTest extends TestCase { public function testExceptionContainsDebuggingInfo() { $command = 'm...
@extends('backend.app') @section('template_title', 'Dashboard') @section('content') <div class="row"> <div class="col-md-3 col-sm-6"> <div class="panel short-states bg-danger"> <div class="pull-right state-icon"> <i class="fa fa-shopping-cart"></i> ...
<?php namespace common\modules\settings\controllers; use Yii; use common\modules\settings\models\TblProductGroup; use common\modules\settings\models\search\TblProductGroupSearch; use yii\filters\AccessControl; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\web\Response;...
<?php namespace App\Libraries\Repositories\Core; use App\Libraries\Repositories\Core\BaseRepository; use App\Models\Core\Diagnosis; use DB; class DiagnosisRepository extends BaseRepository { public function __construct() { parent::__construct(); $this->mainTable = 'diagnoses'; } public ...
<?php class M_Karyawan extends CI_Model{ function tampil_data(){ $this->db->select("karyawan.*, divisi.divisi as division"); $this->db->from("karyawan"); $this->db->join('divisi','karyawan.divisi = divisi.id','left'); return $this->db->get()->result(); ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTeachersInfosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('teachers_...
@extends('layouts.admin') @section('content') <!-- Right side column. Contains the navbar and content of the page --> <aside class="right-side"> <ol class="breadcrumb"> <li><a href="#">Breadcrumb item 1</a></li> <li class="active"><i class="fa fa-angle-right" aria-hidden="true"></i>...
<?php /* * Conditional class * * Few break-points summarized: * 1. Wrapping fields when in form * 2. Filtering AJAX check * 3. Calling JS */ /** * Conditional class. * * Very useful, should be used to finish small tasks for conditional field. * * Example: * * // Setup field * global $wpcf; * $my_fi...
<h2>Tambah Pembayaran</h2> <form method="post" enctype="multipart/form-data"> <div class="form-group"> <label>Nama Admin</label> <input type="text" class="form-control" name="namaadmin"> </div> <div class="form-group"> <label>Nama Pelanggan</label> <input type="text" class="form-control...
<?php use Illuminate\Database\Seeder; // use Sentinel; use App\SiteSetting; class SiteTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $data = [ [ 'site_name' => 'HMS', 'log...