text
stringlengths
2
1.03M
<?php namespace App\Http\Controllers; use App\models\presents; use App\models\courses; use App\models\students; use Illuminate\Http\Request; class PresentController extends controller { public function index() { $students = students::all(); $courses = courses::all(); $presents...
<?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\ChoiceList; use Symfony\Component\Form\Cho...
<?php namespace SocialEngine\Console\Commands; use SocialEngine\Console\Command; use SocialEngine\Console\Exception; use SocialEngine\Console\Helper\Db; class Install extends Command { /** * @cli-command install * @cli-info Install a clean copy of Social Engine. */ public function process() ...
<?php namespace Beech\Ehrm\Domain\Repository; /* * This source file is proprietary property of Beech Applications B.V. * Date: 09-08-12 12:00 * All code (c) Beech Applications B.V. all rights reserved */ use TYPO3\Flow\Annotations as Flow; /** * A repository for Logs * * @Flow\Scope("singleton") */ class Log...
<?php /** * Drupal_Sniffs_Functions_DiscouragedFunctionsSniff. * * PHP version 5 * * @category PHP * @package PHP_CodeSniffer * @link http://pear.php.net/package/PHP_CodeSniffer */ /** * Discourage the use of debug functions. * * @category PHP * @package PHP_CodeSniffer * @link http://pear.php.n...
<?php function doSomething( $arg1 ) { doSomethingElse( $arg1 ); doSomethingElse( $arg1 ); doSomethingElse( $arg1 ); doSomethingElse( $arg1 ); } function doSomethingElse( $arg1 ) { if ( ! isset( $arg1 ) ) { $arg1 = 'go'; } if ( ! isset( $arg1 ) ) { $arg1 = 'go'; } if ( ! isset( $arg1 ) ) { $arg1 = 'go';...
<?php namespace App\Http\Controllers\Backend\Experience; use App\Http\Controllers\Controller; use App\Models\Experience\Experience; use App\Repositories\Backend\Experience\ExperienceRepository; use Yajra\DataTables\Facades\DataTables; class ExperienceTableController extends Controller { protected $experience; publ...
<?php namespace kalanis\kw_bans\Bans; use kalanis\kw_bans\Interfaces\IIpTypes; /** * Class IP4 * @package kalanis\kw_bans\Bans * Check IP address v4 */ class IP4 extends AIP { protected $type = IIpTypes::TYPE_IP_4; protected $blocks = 4; protected $delimiter = '.'; protected $bitsInBlock = 8; ...
<?php namespace app\models; /** * This is the ActiveQuery class for [[Budget]]. * * @see Budget */ class BudgetQuery extends \yii\db\ActiveQuery { /*public function active() { return $this->andWhere('[[status]]=1'); }*/ /** * @inheritdoc * @return Budget[]|array */ publ...
<meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-token" content="{{ csrf_token() }}"> {{-- Facebook meta --}} <meta property="og:url" content="{{ url()->current() }}" /> <meta property="og:image" content="{{ config('app.url') }}/yield('og:image')" /> <meta pr...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php $__env->startSection('main'); ?> <div class="row"> <?php if(session('alert')): ?> <section class='alert alert-<?php echo e(session('color')); ?>'><?php echo e(session('alert')); ?></section> <?php endif; ?>   <table class="table"> <thead> <tr sty...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | site Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Rout...
<?php use yii\helpers\Html; use yii\bootstrap\ActiveForm; use yii\widgets\MaskedInput; /* @var $this yii\web\View */ /* @var $model frontend\models\product\Product */ /* @var $form ActiveForm */ ?> <div class="product-create_form"> <?php $form = ActiveForm::begin([ // 'layout' => 'horizontal', 'i...
<?php namespace Rennokki\Befriended\Contracts; interface Followable { public function followers($model = null); }
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2019, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
<?php /* * This file is part of the Mouf core package. * * (c) 2012 David Negrier <david@mouf-php.com> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Mouf\Annotations; use Mouf\Reflection\TypesDescriptor; use Mouf...
<style> .inputkomentar { width: 70% !important; float: left !important; } .btnkomentar { height: 43px; width: 30%; } </style> <div class="container bungkuscontent"> <p class="judulataskecil">Berita Info Detail</p> </div> <div class="container"> <h6><b>Pentingnya Perbaikan Jalan Umum Untuk Keselamatan ...
<?php namespace App\Providers; use App\{Attachment, Checklist}; use App\Policies\{AttachmentPolicy, ChecklistPolicy}; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * ...
<?php /** * @version $Id$ * @package JSN_Framework * @author JoomlaShine Team <support@joomlashine.com> * @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * * Websites: http://www.joomlashine.com * Technical...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\User; use App\Http\Requests; use Auth; class UsersController extends Controller { public function __construct() { $this->middleware('auth', [ 'except' => ['show', 'create', 'store', 'index'] ]); $this->middleware('gues...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Component\Shipping; final class ShipmentTransitions { ...
<?php declare(strict_types=1); namespace Linio\SellerCenter\Transformer\Product; use Linio\SellerCenter\Model\Product\Products; use SimpleXMLElement; class ProductsTransformer { public static function asXml(Products $products): SimpleXMLElement { $xml = new SimpleXMLElement('<Request/>'); f...
<?php echo View::factory('admin/site/basic_left')->render(); ?> <script type="text/javascript" src="/media/js/core.js"></script> <script type="text/javascript" src="/media/js/tiny_mce/tiny_mce.js"></script> <script type="text/javascript"> tinyMCE.init({ mode : "textareas", theme : "advanced", plugins : "ful...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Tag extends Model { public function threads() { return $this->hasMany(Thread::class); } public function getRouteKeyName() { return "name"; } }
<?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 use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<?php if (!defined('THINK_PATH')) exit();?><!doctype html> <html> <head> <meta charset="utf-8"> <!-- Set render engine for 360 browser --> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="apple-touch-icon" sizes="76x76" href="img/apple-icon.png" /> <link rel="icon" type="image/png" href="img/favicon.png" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <?php if (isset($title)): ?> ...
<!-- =============================================== --> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Permisos <small>Listado</small> </h1> </section> <!-- Main c...
@extends('layouts.appBranchAdmin') @section('content') <div id="content"> <section class="top-title-button mb-3"> <div class="row mx-0 align-items-center"> <div class="col-12 col-md-12 col-xl-8 col-sm-8 left"> <h1 class="title mb-4">Add New Question</h1> </div> ...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UserUpdatedRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Ge...
<?php session_start(); include '../../config/connectDB.php'; $usuario = isset($_POST["correo"]) ? trim($_POST["correo"]) : null; $contrasena = isset($_POST["contrasena"]) ? trim($_POST["contrasena"]) : null; $sql = "SELECT * FROM usuario WHERE usu_email= '$usuario' and usu_password = MD5('$contrasena')"; $result ...
<div id="window"> <div class="information-title"> <?php echo translate('support_ticket');?> </div> <div class="details-wrap"> <div class="row"> <div class="col-md-12"> <div class="tabs-wrapper content-tabs"> <ul class="nav nav-tabs"> ...
@extends('web.layouts.master') @push('styles') <link href="{{ asset('assets/web/css/jquery.daterangepicker.css') }}" rel="stylesheet"> <style> .comiseo-daterangepicker-triggerbutton.ui-button, .comiseo-daterangepicker-triggerbutton.ui-button:focus, .comiseo-daterangepicker-triggerbutton.ui-button:activ...
<?php use yii\helpers\Html; use kartik\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\AcademicYearSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Academic Years'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="academic-year-index"> <h1>...
<?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\Yaml\Command; use Symfony\Component\Console\CI\Github...
<?php $section = "/learn"; echo "<a href='/learn' class='up-one-level'>Learn</a>", ; ?>
<div class="row"> <div class="col-md-12"> <br/> </div> <div class="col-md-12"> <center> <button type="submit" class="btn btn-primary">Submit</button> </center> </div> </div> <br/> <span class="cil_title2">Description</span> <div class="row"> <div class="col-md-12"...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class UserModel extends CI_Model { public function get($username){ $this->db->where('username', $username); // Untuk menambahkan Where Clause : username='$username' $result = $this->db->get('user')->row(); // Untuk menge...
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Vault\Model; use Magento\Framework\ObjectManagerInterface; use Magento\Vault\Api\Data\PaymentTokenInterface; use Magento\Vault\Api\Data\PaymentTokenInterfaceFactory; /** * Class Abstrac...
<?php /* * This file is part of the Sismo utility. * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Sismo\Contrib; use Sismo\Notifier\Notifier; use Sismo\Commit; // @codeCoverageIgnoreStart /** * Notifies builds via a Twitter. * * T...
<?php namespace App\Models\WorldExpansion; use Config; use DB; use Illuminate\Database\Eloquent\Model; use App\Models\User\User; use App\Models\WorldExpansion\Figure; use App\Models\WorldExpansion\Event; use App\Models\Item\Item; class EventFigure extends Model { /** * The attributes that are mass assigna...
<?php /** * OrderTest * * PHP version 5 * * @category Class * @package OpenAPI\Client * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for ...
<?php use Esockets\base\Configurator; use Esockets\socket\SocketFactory; return [ Configurator::CONNECTION_TYPE => Configurator::CONNECTION_TYPE_SOCKET, Configurator::CONNECTION_CONFIG => [ SocketFactory::SOCKET_DOMAIN => AF_INET, SocketFactory::SOCKET_PROTOCOL => SOL_UDP, ], Configura...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style> .report { padding: 15px 0px; font-family: sans-serif; } .store-title { text-align: center; color: #939393; } .tit...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 License, or // (at your option) any later version. // // Moodle ...
<?php use Illuminate\Database\Seeder; class PhotosSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // } }
<?php if(!isset($hakuKaupunki)) $hakuKaupunki = ""; if (isset ( $_POST ["poista"] )) { try { require_once "postiPDO.php"; $kantakasittely = new postiPDO(); $kantakasittely->poistaPostinumero($_POST['id']); } catch (Exception $error) { print($error->getMessage()); // header("location: virhe.php?virhe=...
<?php /* * This file is part of the Kuiper package. * * (c) Ye Wenbin <wenbinye@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace kuiper\rpc\servicediscovery\loadbalance; class Equali...
<?php $__env->startSection('content'); ?><p>Prince Harry should be stripped of his royal title because he is currently 'exploiting' it for his personal financial gain, a royal author has claimed. </p> <p>Former MP Norman Baker, 63, author of What The Royal Family Don't Want You To Know, argued the Duke of Sussex, 36, ...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<div class="container"> <div class="row"> <div class="col-md-5 center-block-e"> <div class="login-page-header"> <?php echo lang("ctn_212") ?> <?php echo $this->settings->info->site_name ?> </div> <div class="login-page"> <?php if(!empty($fail)) : ?> <div class="alert alert-danger"><?php echo $fail ...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\OSS\OSS; use AlibabaCloud\Tea\Model; class GetBucketLocationRequest extends Model { /** * @description BucketName * * @var string */ public $bucketName; protected $_name = [ 'bucketName' =...
<?php /** * This file is part of the Eki-NRW package. * * (c) Ekipower * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Eki\NRW\Common\Tests\Participating; use Eki\NRW\Common\Participating\HasParticipantTrait; use PHPUnit\Framework\T...
<style type="text/css"> .thumb-img{ width: 150px !important; } </style> <div ng-init="init()"> <div class="panel panel-primary"> <div class="panel-heading">Add New</div> <div class="panel-body"> <div class="col-md-6"> <label>Model Name</label> <input type="text" class="form-control" ng-model...
<?php // Initialize the session session_start(); ?> <!Doctype html> <html class="fontawesome-i2svg-active fontawesome-i2svg-complete"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> ...
<?php /** * Site API * * @package WordPress * @subpackage Multisite * @since 5.1.0 */ /** * Inserts a new site into the database. * * @since 5.1.0 * * @global wpdb $wpdb WordPress database abstraction object. * * @param array $data { * Data for the new site that should be inserted. * * @type st...
<?php use yii\helpers\Html; use yii\bootstrap\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\EntityRole */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="entity-role-form"> <?php $form = ActiveForm::begin(); ?> <?= Html::hiddenInput('referrer', Yii::$app->request->referrer) ?> ...
<?php namespace LearnCleanCode\CaseStudies\PricingCalculator\PricingRules; /** * Interface PricingRuleFactoryInterface * @package LearnCleanCode\CaseStudies\PricingCalculator\PricingRules */ interface PricingRuleFactoryInterface { /** * @return PricingRuleInterface[] */ public function makePricin...
@extends('layouts.app') @section('content') <div class="row w-100 p-3"> <div class="col-md-12"> <h5>Summary</h5> <hr> <table class="table table-hover"> <thead class="thead-light"> <tr> <th scope="col"></th> <th scope="col"...
<?php namespace Laravel\Nova\Tests\Controller; use Laravel\Nova\Tests\IntegrationTest; use Laravel\Nova\Tests\Fixtures\Boolean; class BooleanResourceTest extends IntegrationTest { public function setUp() { parent::setUp(); $this->authenticate(); } public function test_can_create_boo...
<?php declare(strict_types=1); namespace gamringer\rfc\example; use Jose\Component\Encryption\Algorithm\KeyEncryption\Util\ConcatKDF; use Base64Url\Base64Url; class Decrypt { protected $base58; protected $recipient; public function __construct(Peer $recipient) { $this->base58 = new \StephenHill\Base58(); $...
<nav class="navbar navbar-expand-lg navbar-light bg-light topnav"> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav mr-auto"> <li class="nav-item active"> <a class="nav-link" href="#"><i class="fab fa-facebook-square fa-lg"></i></a> ...
<?php use PhpOffice\PhpWord\IOFactory; use PhpOffice\PhpWord\Settings; use PhpOffice\PhpWord\TemplateProcessor; if (!defined('BASEPATH')) { exit('No direct script access allowed'); } class Relatorios extends MY_Controller { /** * author: Ramon Silva * email: silva018-mg@yahoo.com.br * */...
<div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h3 class="my-0 ml-2"><i class="fas fa-book-open"></i> <?= $title ?></h3> </div> ...
@extends('base.base') @section('title') Administrar Colores @endsection @section('extraJS') <script type="text/javascript" src="{{ asset('js/color.js') }}"></script> @endsection @section('contenido') <h2 class="text-center">Administrar Colores</h2> <br /> <div class="panel panel-default"> <div class="panel-heading"> ...
<?php namespace MailPoet\Util; if (!defined('ABSPATH')) exit; use MailPoet\WP\Functions as WPFunctions; class ConflictResolver { public $permittedAssetsLocations = [ 'styles' => [ 'mailpoet', // WP default '^/wp-admin', '^/wp-includes', // CDN 'googleapis.com/ajax/libs', ...
<?php $hostname = "135.148.9.103"; $username = "admin"; $password = "rod@2021"; $dbname = "Rod_Input"; $port = '3306'; // Create connection $conn = new mysqli($hostname, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error);...
<!-- jQuery --> <script src="{{ asset('plugins/jquery/jquery.min.js')}}"></script> <!-- jQuery UI 1.11.4 --> <script src="{{ asset('plugins/jquery-ui/jquery-ui.min.js')}}"></script> <!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip --> <script> $....
@extends('frontend.layout.frontend_layout') @section('main_content') <x-inner-page-banner :title="$publication->name" /> <!-- Start Single Event Area --> <section class="single-event-area ptb-70"> <div class="container"> <div class="row"> <div class="col-lg-8 order-2 o...
<?php // +---------------------------------------------------------------------- // | ThinkIMS [ WE CAN DO IT MORE SIMPLE ] // +---------------------------------------------------------------------- // | Copyright (c) 2015-2019 http://www.thinkims.cn/ All rights reserved. // +-------------------------------------------...
<div class="box"> <div class="box-header"> <div class="col-md-6" style="padding: 0;"> <div class="row"> <div class="col-lg-6"> <form role="form" action="<?php echo base_url(); ?>Laporan_ppdb/filter" method="post" enctype="multipart/form-data" name="form" class="form" id="form" onsubmit="r...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\SmsCharging */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Sms Chargings', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="sms-charging-vi...
<?php /** * @project bkn-api. * @since 1/15/2017 6:43 PM * @author <a href = "fauzi.knightmaster.achmad@gmail.com">Achmad Fauzi</a> */ namespace App\Http\Controllers; use App\Http\Controllers\BaseRest\ARestController; use App\Models\ModelEvaluation; use App\Repository\Impl\Evaluation\EvaluationRepository; class...
<?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 ECSPrefix20210507\Symfony\Contracts\HttpClient\Exception; /** * When an...
<?php /* * This file is part of the API Platform project. * * (c) Kévin Dunglas <dunglas@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace App\Entity; use ApiPlatform\Core\Annotation\...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends CI_Controller { public function __construct(){ parent::__construct(); $this->load->model('m_tuto'); } public function index(){ $this->showRegisterView(); } public function addStudent(){ $data = $this->input->pos...
<?php /* * digest_sasl_client.php * * @(#) $Id: digest_sasl_client.php,v 1.1 2005/10/27 05:24:15 mlemos Exp $ * */ define('SASL_DIGEST_STATE_START', 0); define('SASL_DIGEST_STATE_RESPOND_CHALLENGE', 1); define('SASL_DIGEST_STATE_DONE', 2); class digest_sasl_client_class { var $credentia...
<html> <head> <title>How to Import CSV Data into Mysql using Codeigniter</title> <head> <title>Insert</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 License, or // (at your option) any later version. // // Moodle ...
<?php class Cms5ec9956730065243622846_6913e48c0e1aba15692aac66466489d6Class extends Cms\Classes\LayoutCode { }
<?php namespace pendalf89\sitemap; use Yii; use yii\base\BaseObject; /** * Class SitemapModel * Модель карты сайта * * @package common\components */ class SitemapModel extends BaseObject { /** * @var string id компонента для работы с БД */ public $db = 'db'; /** * Обновляет дату последнего изменения у...
<?php namespace App\Http\Requests\Api; class ImageRequest extends FormRequest { public function rules() { $rules = [ 'type' => 'required|string|in:avatar,topic', ]; if ($this->type == 'avatar') { $rules['image'] = 'required|mimes:jpeg,bmp,png,gif|dimensions:m...
@extends('layouts.master_view') @section('content') <div class="container"> <h1>상세보기</h1> <div class="jumbotron"> <table class="table"> @foreach($contents as $content) <tr> <th>Title</th> <td>{{ $content->content_ti...
<?php /* * Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
<?php // echo"<pre>";print_r($staff_details);echo"</pre>"; ?> <!DOCTYPE html> <html lang="en"> <!-- BEGIN HEAD --> <head> <style> .visible { display:block !important; } </style> <link href="<?php echo base_url().'asset/pages/css/about.min.css';?>" re...
<?php /** * Copyright 2019 SURFnet B.V. * * 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 applicable law or a...
<?php /* (C) Copyright 2017 Heru Arief Wijaya (http://belajararief.com/) untuk Renbang Biro Kepegawaian BPKP.*/ namespace tests\models; use app\models\LoginForm; use Codeception\Specify; /** * * @author Heru Arief Wijaya <heru@belajararief.com> */ class LoginFormTest extends \Codeception\Test\Unit { private $m...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* * Pagination Config Bootstrap 3 CSS Style * harviacode.com */ $config['query_string_segment'] = 'start'; $config['full_tag_open'] = '<nav><ul class="pagination" style="margin-top:0px">'; $config['full_tag_close'] = '</ul></nav>'; $co...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php /** * Created by PhpStorm. * User: Денис * Date: 22.01.2018 * Time: 19:21 */ namespace app\models; use Yii; use yii\base\Model; use yii\web\UploadedFile; class ImageUpload extends Model { public $photo; public function uploadFile(UploadedFile $file=null) { if($file){ $file...
<?php include('../model/class.expert.php'); // http://sms.pearlsms.com/public/sms/send?sender=NRWAOB&smstype=TRANS&numbers=9560889608&apikey=4a03ec2a5ef64eb2965bb95fe79615a2&message='Dear Sandeep Mirakhur, // NRWA website now offers you to make your Newspaper Bill Payments online. // Your consent is mandatory. // Y...
<?php namespace Docker\Api\Normalizer; use Jane\Component\JsonSchemaRuntime\Reference; use Docker\Api\Runtime\Normalizer\CheckArray; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInit6bc346a772835a4490cf97ebc1847d74::getLoader();
<?php namespace App\Http\Controllers; use Exception; use App\Models\User; use App\Models\Address; use Illuminate\Http\Request; use Illuminate\Contracts\View\View; use Illuminate\Http\RedirectResponse; use Illuminate\Contracts\View\Factory; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Storage...
<?php declare(strict_types=1); namespace Oro\Component\Layout\Loader\Generator; use Oro\Component\Layout\LayoutItemInterface; use Oro\Component\Layout\LayoutManipulatorInterface; use Oro\Component\Layout\LayoutUpdateInterface; use Oro\Component\Layout\Loader\Visitor\VisitorCollection; use Oro\Component\Layout\Loader\...
<?php /** * */ namespace zesk\jQueryUnveil; use zesk\Lists; use zesk\HTML; use zesk\Module_JSLib; /** * * @author kent * */ class Module extends Module_JSLib { protected $javascript_paths = array( "/share/jquery-unveil/jquery.unveil.js", ); /** * jQuery ready code * * @var array */ protected $jq...
<?php namespace Athena\Test; use Athena\Translator\UrlTranslator; class UrlTranslatorTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function testGet_UrlIsValidUrl_ShouldReturnGivenUrl() { $urlTranslator = new UrlTranslator([], null); $this->assertEquals('http://...
<?php /** * ALIPAY API: alipay.data.dataservice.antdataassets.cloudjobstatus.query request * * @author auto create * @since 1.0, 2019-04-30 14:23:07 */ class AlipayDataDataserviceAntdataassetsCloudjobstatusQueryRequest { /** * 上云任务状态查询 **/ private $bizContent; private $apiParas = array(); private $termin...