text
stringlengths
2
1.03M
<?php /** * This file has been @generated by a phing task by {@link GeneratePhonePrefixData}. * See [README.md](README.md#generating-data) for more information. * * Pull requests changing data in these files will not be accepted. See the * [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make...
<?php //TODO delete me too use Illuminate\Support\Facades\Route; // Route::get('/payment', function () { // return view('Donation.payment'); // });
<?php // autoload_namespaces.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'aejnsn\\PHPExcel' => array($vendorDir . '/aejnsn/phpexcel-laravel/src'), 'Whoops' => array($vendorDir . '/filp/whoops/src'), 'System' => array($vendorDir . '/php...
<?php namespace AppBundle\Exception; /** * Exception for Tasks * * @author Sergey Sadovoi <serg.sadovoi@gmail.com> */ class TaskException extends \RuntimeException { const SLAVE_PATH_NOT_SET = 10; const INVALID_TASK = 20; const HUGE_AMOUNT_TO_DELETE = 30; }
<main id="main" class="main-site"> <div class="container"> <div class="wrap-breadcrumb"> <ul> <li class="item-link"><a href="/" class="link">home</a></li> <li class="item-link"><span>Cart</span></li> </ul> </div> <div class=" main-con...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <title>Blog</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;600&display=swap" rel="stylesheet"> </head> <body> <h1>B...
<?php /* * We set a variable depending on whether the user is authenticated or not. * This allows us to show the user a login link or a logout link depending * on the authentication state. */ //if ($this->Session->check('Auth.User.id')) return ""; ?> <div class="login-continer" style="padding: 30px;"> <div...
<style type="text/css"> .table .pull-right {text-align: initial; width: auto} .chart canvas {}​ canvas#1_1001{fill: #000 !important} </style> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/Chart.js/1.0.2/Chart.min.js"></scri...
<?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\Test\Trading\Enums; use DTS\eBaySDK\Trading\Enums\DaysCodeType; class DaysCodeTypeTest ex...
@extends('xadmin.layout') @section('content') <div class="x-nav"> <span class="layui-breadcrumb"> <a href="">首页</a> <a href="">演示</a> <a> <cite>导航元素</cite></a> </span> <a class="layui-btn layui-btn-small" style="line-height:1.6e...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php namespace RectorPrefix20210827; if (\class_exists('Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper')) { return; } class Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper { } \class_alias('Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper', 'Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper', \fals...
<?php /* +------------------------------------------------------------------------+ | Phalcon Framework | +------------------------------------------------------------------------+ | Copyright (c) 2011-2014 Phalcon Team (http://www.phalconphp.com) | +...
<?php /** * Locale data for 'tg_Cyrl_TJ'. * * This file is automatically generated by yiic cldr command. * * Copyright © 1991-2013 Unicode, Inc. All rights reserved. * Distributed under the Terms of Use in http://www.unicode.org/copyright.html. * * @copyright 2008-2014 Yii Software LLC (http://www.yiiframework....
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Auth; class SessionsController extends Controller { public function __construct() { $this->middleware('guest', [ 'only' => ['create'] ]); } // public function create() { return view('se...
<?php namespace ComposerPack\System; class Functions { /** * Random jelszó generátor * @param number $length jelszó hossza * @param number $strength jelszó erőssége * @return string generált jelszó */ public static function generatePassword($length=9, $strength=0) { $vowels = ...
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInitfcc114b8359b3522e1cb01cd9cf449ac { public static $prefixLengthsPsr4 = array ( 's' => array ( 'setasign\\Fpdi\\' => 14, ), ); public static $prefixDirsPsr4 = array...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class RenameCategoryIdToCourseIdOnLessonsTableAgain extends Migration { /** * Run the migrations. * * @return void */ public function up() { Sche...
@extends('template.app') @section('content') @include('calendar.calendarBanner') <div class="blog-posts col-md-12"> <div class="blog-post single-post"> <h2>{{ $event->title }}</h2> <div class="meta"> @php $date = \Carbon\Carbon::createFromFormat('Y-m-d', $event->date...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateKaryalayaPadsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('karyalaya...
<?php $__env->startSection('page_title','Doctor'); ?> <?php $__env->startSection('page_header','Edit Doctor'); ?> <?php $__env->startSection('page_breadcrumb'); ?> <ol class="breadcrumb"> <li><a href="<?php echo e(url('home/dashboard')); ?>">Dashboard</a></li> <li><a href="<?php echo e(url('doctor/s...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class VerifyIsUserAdmin { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { if(Au...
<?php declare(strict_types=1); /** * This file has been auto generated * Do not change it. */ namespace Commercetools\Import\Models\OrderPatches; use Commercetools\Base\DateTimeImmutableCollection; use Commercetools\Base\JsonObject; use Commercetools\Import\Models\Orders\DeliveryItemCollection; interface ParcelI...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class UserConfirmation extends Model { /** * The database table used by the model. * * @var string */ protected $table = 'users_confirmations'; /** * The attributes that are mass assignable. * * @var array ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <h1>Je suis sur la page Welcome</h1> <button> <a href="/about"> Va sur about...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Police_m extends CI_Model{ public function getPolice(){ $this->db->order_by('cops_firstname'); $query = $this->db->get('cops'); if ($query->num_rows() . 0) { return $query->result(); } else { return false; } } public func...
<?php /** * @group legalpad */ final class LegalpadTransactionQuery extends PhabricatorApplicationTransactionQuery { public function getTemplateApplicationTransaction() { return new LegalpadTransaction(); } }
<?php namespace ContainerBMJ2RVx; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @internal This class has been auto-generated by the Symfony Dependency Injection Component. */ class getDocsTypeService extends App_K...
<?php namespace App\Http\Controllers\admin; use App\Http\Controllers\Controller; use Carbon\Carbon; use Illuminate\Support\Facades\File; use Illuminate\Support\Str; use Illuminate\Http\Request; use App\StudyCountry; use App\StudyOffer; class StudyCountryController extends Controller { // public function coun...
@extends('admin.layouts.layout') @section('heading') <h4> <a href="{{ route('categories.index') }}"> <i class="icon-arrow-left52 mr-2"></i> </a> <span class="font-weight-semibold">Home - Categories</span> - Create </h4> @endsection @section('breadcrumbs') <div class="br...
<?php /** * The template for displaying Comments. * The area of the page that contains both current comments * and the comment form. * If the current post is protected by a password and * the visitor has not yet entered the password we will * return early without loading the comments. */ if ( post_password_requi...
<?php /* NOTICE: autogenerated file; Do not edit by hand */ namespace specimens\misc; use VK\Elephize\Builtins\Stdlib; use VK\Elephize\Builtins\CJSModule; class CustomIsomorphicsModule extends CJSModule { /** * @var CustomIsomorphicsModule $_mod */ private static $_mod; public static function get...
<?php declare(strict_types=1); namespace Shopware\Core\Content\ContactForm\SalesChannel; use Shopware\Core\System\SalesChannel\StoreApiResponse; class ContactFormRouteResponse extends StoreApiResponse { /** * @var ContactFormRouteResponseStruct */ protected $object; public function __construct...
@extends('admin/layouts.master') @section('content') <div class="container-fluid"> <!-- Page Heading --> <div class="row form-group"> <div class="col-lg-12"> <h1 class="page-header"> Update Page </h1> </div> </div> <!-- /.row --> <div class="ro...
<?php declare(strict_types=1); namespace Shopware\Core\Checkout\Customer\SalesChannel; use Composer\Semver\Constraint\ConstraintInterface; use OpenApi\Annotations as OA; use Shopware\Core\Checkout\Customer\CustomerEntity; use Shopware\Core\Checkout\Customer\Validation\Constraint\CustomerPasswordMatches; use Shopware\...
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticIniteffd4050ec99603a5ee8f91e7b8ae2b8 { public static $files = array ( '6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php', ); public static $pr...
<?php namespace OAuth2\GrantType; use OAuth2\Storage\UserCredentialsInterface; use OAuth2\ResponseType\AccessTokenInterface; use OAuth2\RequestInterface; use OAuth2\ResponseInterface; use LogicException; /** * @author Brent Shaffer <bshafs at gmail dot com> */ class UserCredentials implements GrantTypeInterface { ...
<?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 namespace Citas\Http\Controllers\Auth; use Citas\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; class PasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |---------------...
<?php use yii\helpers\Html; use kartik\detail\DetailView; use yii\bootstrap\Modal; use yii\helpers\Url; use yii\grid\GridView; use yii\grid\DataColumn; /* @var $this yii\web\View */ /* @var $model backend\models\AuthItem */ $this->title = "TPP" . " " . $model->jabatan; $this->params['breadcrumbs'][] = ['label' => 'T...
@extends('layouts.app') @section('content') <section class="content-header"> <h1> Khu </h1> </section> <div class="content"> <div class="box box-primary"> <div class="box-body"> <div class="row" style="padding-left: 20px"> ...
<!DOCTYPE html> <html lang="en"> <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"> <title>Southern Leyte (Covid-19 Vaccination Passport)</title> <link rel="stylesheet" href="https://stackpat...
<?php /** * Class for working with PO files * * @version $Id: po.php 718 2012-10-31 00:32:02Z nbachiyski $ * @package pomo * @subpackage po */ require_once dirname(__FILE__) . '/translations.php'; define('PO_MAX_LINE_LEN', 79); ini_set('auto_detect_line_endings', 1); /** * Routines for working with PO files ...
<?php namespace backend\controllers; use Yii; use yii\filters\AccessControl; use common\models\User; use common\models\UserSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\helpers\ArrayHelper; use yii\db\IntegrityException; use yii\base\Exception; use yii\web\Uplo...
<?php /** * Author: Pavel Petrov <itnelo@gmail.com> * Date: 18.03.16 13:08 */ namespace tests\codeception\_pages\site\users; use tests\codeception\_pages\Page; use app\helpers\RouteHelper; /** * @property \AcceptanceTester|\FunctionalTester $actor */ class RegisterConfirmResendPage extends Page { public $r...
@extends('front.template.main') @section('content') <div class="monthly-grid"> <div class="panel panel-widget"> <div class="panel-title"> Bombas </div> <div class="panel-body"> <!-- status --> <div class="contain"> <div class="col-md-3"></div> <div class="col-md-6"> {!! For...
<!DOCTYPE html> <html lang="en"> <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"> <link href="{{ mix('css/app.css') }}" rel="stylesheet"> <link rel="icon" href="https://apply.heart-nta.org/imag...
<?php class WishlistRepository { public function find($id, $user_id) { return WishlistItem::where('user_id', '=', $user_id) ->where('id', '=', $id) ->first(); } public function findByUserAndBook($user_id, $book_id) { return WishlistItem::where('user_id', '=', $user...
<?php namespace Adelf\CoolRPG\Personate; use Adelf\CoolRPG\Effects\PlayerEffect; use Adelf\CoolRPG\Exceptions\ActionDontExistsException; use Adelf\CoolRPG\Effects\Base as Effect; use Adelf\CoolRPG\Interfaces\Bag; use Adelf\CoolRPG\Personate\EffectApply\Handler; use Adelf\CoolRPG\Personate\Equips\EquipsControl; use Ad...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\jui\DatePicker; $this->title = 'Добавление книги'; $this->params['breadcrumbs'][] = $this->title; ?> <script type="text/javascript"> var authorId = null; var authorName = null; var authorLabel = '<?= Html::label('Автор', null, ['class' => 'authorName']) ?...
<div class="row layout-top-spacing"> <div class="col-xl-12 col-lg-12 col-md-12 col-12 layout-spacing"> <div class="widget-content-area br-4"> <div class="widget-one"> <h5> <b> @if($selected_id ==0) Agregar nueva Grupo @else Editar Grupo @endif ...
<?php declare(strict_types=1); namespace EngineWorks\DBAL\Tests; abstract class TestCase extends \PHPUnit\Framework\TestCase { protected function getenv(string $key, string $default = ''): string { return strval($_ENV[$key] ?? $_SERVER[$key] ?? $default); } }
@extends('layouts.user') @section('title', 'Details of #' . $outflow->id) @section('content') <main class="main"> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="{{ route('home') }}">Home</a> </li> <li class="breadcrumb-item"> <a href="{{ route('user.o...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Category; use App\Category_type; use App\Product; class AjaxController extends Controller { // public function getAjax($categoryid) { $category_type=Category_type::where('cate_id', $categoryid)->get(); foreach($category...
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Sanctum\HasApiTokens; use Spatie\Permission\Traits\HasPermissions; use Spatie\P...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\DB; class accountantController extends Controller { public function index() { return view('vendor.multiauth.admin.Amountant'); } public function show(Request $request...
<?php namespace App\Models\Kredit; use Illuminate\Database\Eloquent\Model; class AgunanPengikatan extends Model { protected $table = 'kredit_agunan_pengikatan'; protected $guarded = ['id']; protected $fillable = ['nama', 'ket', 'kode_slik']; }
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Detailedresult_model extends CI_Model { public function fetch_studentset() { $newdata = $this->session->all_userdata(); $this->db->select('*'); $this->db->from('student_result'); $this...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Description of Product * * @author Syed */ class Product extends Basecontroller { private $data; private $aP...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInite23cb49a7df3d7868cf815a67d0977f3 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<!DOCTYPE html> <html> <head> <title>Cetak Laporan Item</title> </head> <body> <style type="text/css"> .table-data{ width: 100%; border-collapse: collapse; } .table-data tr th, .table-data tr td{ border : 1px solid black; font-size: 16; } </style> <center><img src="http://peyfurniture.000webhostapp.com/cv_gemilang...
<?php use yii\helpers\Html; use yii\helpers\Url; ?> <div class="col-lg-3 col-sm-3 col-xs-4 list-block list-block-shop" style="text-align: left; "> <div style="height: 140px;"> <div style="display: flex"> <div style=""> <a href="<?=Url::to($model->url)?>"> <?=$...
<?php namespace Lazada\OpenPlatform\Response\Order; use Lazada\OpenPlatform\Response\AbstractLazopResponse; class GetFailureReasonsResponse extends AbstractLazopResponse { public function getReasons() { return $this->data['data'] ?? []; } }
<?php defined('BASEPATH') OR exit('No direct script access allowed'); #isinya buat login karyawan aja class Karyawan extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('m_karyawan'); $this->load->model('m_produk'); $this->load->mode...
<?php /** * * @copyright 2008 - https://www.clicshopping.org * @Brand : ClicShopping(Tm) at Inpi all right Reserved * @Licence GPL 2 & MIT * @licence MIT - Portion of osCommerce 2.4 * @Info : https://www.clicshopping.org/forum/trademark/ * */ namespace ClicShopping\Apps\Tools\ServerInfo\Sit...
<div class="modal fade" id="modal-cliente"> <div class="modal-dialog modal-lg" role="document"> <div class="modal-content bg-secondary"> <div class="modal-header"> <h4 class="modal-title" id="exampleModalLabel">Registrar Nuevo Cliente</h4> <button type="button" class="close" data-d...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCfgEmployeeTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('cfg_employe...
<?php if (!isset($_SESSION)) { session_start(); } require_once 'utils.php'; require_once 'Admin.php'; require_once 'Shuttle.php'; $adminControl = new Admin(); if(!$adminControl->checkLogin()) { //return "Not Logged in!"; //exit(0); } $postdata = file_get_contents("php://input"); $request = json_...
<?php namespace App\Http\Controllers\DASHBOARD; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class REKOMENDASI extends Controller { // }
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace yii\console\controllers; use Yii; use yii\console\Exception; use yii\console\Controller; use yii\helpers\Console; use yii\helpers\FileHelper; use yii\helpers...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddCatalogoIdToCatalogoIncidentesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::tab...
<?php require_once $composer_autoload; new \WpUtility\Utility;
<h2 class="page-title">Modifier une actualité</h2> <div class="row"> <div class="col-lg-12"> <section class="widget"> <header> <h4><i class="fa fa-file-alt"></i> Actualité <small>Remplissez les champs du formulaire</small></h4> ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller |----------------------------...
<?php function a() { return array(); } function main() { $x = a(); $x[0][12] = 2; return $x; } var_dump(main());
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Models\Currency; use App\Models\Shipping; use Datatables; use Illuminate\Http\Request; use Illuminate\Support\Facades\Input; use Validator; class ShippingController extends Controller { public function __construct() { ...
<footer class="page-footer footer footer-static footer-light navbar-border navbar-shadow"> <div class="footer-copyright"> <div class="container"><span>&copy; <?php echo date('Y'); ?> {{ __('site.all_rights_reserved') }}</span></div> </div> </footer>
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Richard & Kimberley - 27 mei 2021</title> <!-- Styles --> <link href="https://fonts.googleapis.com/css2?family=Amat...
<?php /** * TbEditableColumn.php * * @author: antonio ramirez <antonio@clevertech.biz> * @copyright Copyright &copy; Clevertech 2012- * @license http://www.opensource.org/licenses/bsd-license.php New BSD License * @package YiiBooster bootstrap.widgets */ Yii::import('bootstrap.widgets.TbDataColumn'); class TbJE...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Attend extends Model { use HasFactory; public $timestamps = true; protected $fillable = [ 'ccode','Student_id','is_lec','date' ]; }
<?hh /* Prototype : proto bool is_subclass_of(object object, string class_name) * Description: Returns true if the object has this class as one of its parents * Source code: Zend/zend_builtin_functions.c * Alias to functions: */ <<__EntryPoint>> function main(): void { echo " ---(Internal classes, using string c...
<?php /** * Collator class. */ class Memcached { /** * Libmemcached behavior options. */ const OPT_HASH; const OPT_HASH_DEFAULT; const OPT_HASH_MD5; const OPT_HASH_CRC; const OPT_HASH_FNV1_64; const OPT_HASH_FNV1A_64; const OPT_HASH_FNV1_32; const OPT_HASH_FNV1A_32; const OPT_HASH_HSIEH; ...
@extends('layouts.app') @section('title', $page->name) @section('content') <div class="section section-buttons text-center" style="min-height:600px"> <div class="container"> <div class="title"> <h1>{{ $page->name }}</h1> </div> <p> {!! $page->des !!} </p> ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v1/enums/income_range_type.proto namespace GPBMetadata\Google\Ads\GoogleAds\V1\Enums; class IncomeRangeType { public static $is_initialized = false; public static function initOnce() { $pool = \Google\Prot...
@extends('cms.layout') @section('title') {{'إضافة وسم جديد'}} @endsection @section('links') <link href="{{URL::asset('assets/plugins/notify/css/notifIt.css')}}" rel="stylesheet"/> @endsection @section('content') @if (session()->has('tag_added')) <script> window.onload = function...
@foreach($courses as $course) <div class="col-lg-4 col-md-6 mb-4"> <div class="course-1-item"> <figure class="thumnail"> <a href="#"> <img src="{{ Voyager::image($course->image) }}" alt="Image" class="img-fluid"> </a> <div ...
<div class="header-top-area"> <div class="container"> <div class="row"> <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12"> <div class="logo-area"> <a href="" style="font-size: 22px; font-weight: bold; color: white;">LOC CAMP</a> </div> ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>管理後台</title> <meta name="robots" content="noindex,nofollow" /> <meta h...
#!/usr/bin/php <?php ini_set('memory_limit', '512M'); function sendRequest($url, $user, $pass, $data=null) { $ch = curl_init($url); curl_setopt_array($ch, array( CURLOPT_RETURNTRANSFER => true, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_FOLLOWLOCATION => true, )); if ($user != '' && $pass != '') { curl_se...
<!-- page content --> <div class="right_col" role="main"> <div class=""> <div class="page-title"> <?php if(!isset($info_db['assignid'])){ $encrypted = $this->general->encryptParaID($info_db['courseid'],'course'); echo form_open_multipart('teacher/editC...
<?php namespace Flowcode\UserBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Role */ class Role { /** * @var integer * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ protected $id; /** * @var string * * @...
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
<?php /** * ######################################## * # Papoo CMS API Entry Point # * # (c) 2017 Papoo Software & Media GmbH # * # Dr. Carsten Euwens # * # Authors: Christoph Zimmer # * # http://www.papoo.de # * ######################################## *...
<?php /** * Jetpack Compatibility File. * * @link https://jetpack.me/ * * @package timothi */ /** * Jetpack setup function. * * See: https://jetpack.me/support/infinite-scroll/ * See: https://jetpack.me/support/responsive-videos/ */ function timothi_jetpack_setup() { // Add theme support for Infinite Scrol...
<?php namespace App; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email', 'password', ]; /** * The attributes that should...
<?php namespace BSP\AccountingBundle\Model; use BSP\AccountingBundle\Model\FinancialTransactionManagerInterface; abstract class FinancialTransactionManager implements FinancialTransactionManagerInterface { public function findTransactionById( $id ) { return $this->findTransactionBy( array( 'id' => $i...
<?php declare(strict_types = 1); namespace Tests\Innmind\GitRelease; use Innmind\GitRelease\{ SignedRelease, Version, }; use Innmind\Git\{ Repository, Message, }; use Innmind\Server\Control\{ Server, Server\Processes, Server\Process, Server\Process\ExitCode, }; use Innmind\Url\Path; us...
<?php /** * This file contains the Network Group model class. * * @package Frozensheep\RightmoveADF * @author Jacob Wyke <jacob@frozensheep.com> * @license MIT * */ namespace Frozensheep\RightmoveADF\Groups; use Frozensheep\RightmoveADF\Groups\GroupInterface; use Frozensheep\Synthesize\Synthesizer; /** * Network Gr...
@extends('layouts.front') @section('title', 'ニュースの新規作成') @section('content') <div class="container"> <div class="row"> <div class="col-8 offset-2"> <h2></h2> <form action="{{ action('Front\WordController@create') }}" method="post" enctype="multipart/form-data"> <in...
<?php namespace Tests\Unit; use App\Author; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class AuthorTest extends TestCase { use RefreshDatabase; /** @test */ public function only_name_is_required_to_create_an_author() { Author::firstOrCreate([ 'name' =>...