text
stringlengths
2
1.03M
<?php declare(strict_types=1); namespace Shopware\Core\Checkout\Customer\SalesChannel; use OpenApi\Annotations as OA; use Shopware\Core\Checkout\Customer\CustomerEntity; use Shopware\Core\Checkout\Customer\Event\CustomerSetDefaultBillingAddressEvent; use Shopware\Core\Checkout\Customer\Event\CustomerSetDefaultShippin...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\ReclamoSimple; use App\Carta; use Illuminate\Support\Facades\Auth; use App\Http\Controllers\Html2PdfController as PDF; class CartaController extends Controller { // public function index(){ ...
@extends('layout1') @section('content') <div class="card mt-5"> <div class="card-header"> Create Document </div> <div class="card-body"> @if ($errors->any()) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateImagablesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('imagables', f...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Tell the browser to be responsive to screen width --> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="a...
<?php /* * Copyright 2012 Facebook, 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
<?php /* * This file is part of SwiftMailer. * (c) 2004-2009 Chris Corbyn * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Pop3Exception thrown when an error occurs connecting to a POP3 host. * * @author Chris Corbyn */ c...
<?php namespace App\Http\Controllers\adminController; use Illuminate\Http\Request; use App\Program; use App\AssesorPerProgram; use App\Http\Requests\deletingProgram; use App\Http\Requests\editingProgram; use App\Http\Controllers\Controller; use RealRashid\SweetAlert\Facades\Alert; class programDetails extends Contro...
@extends('admin.layouts.master') @section('content') <section class="content-header"> <h2>خدمات پس از چاپ</h2> </section> <!-- Main content --> <section class="content"> <div class="box"> <div class="box-header"></div> <div class="box-body"> <a href="{{ route('admin.services.create') }}" class="btn bt...
<?php declare(strict_types=1); namespace Tests\DoctrineCompatibility; use Doctrine\ORM\Query; use Doctrine\ORM\QueryBuilder; use DoctrineTypedResults\Query\QueryInterface; use DoctrineTypedResults\QueryBuilder\QueryBuilderInterface; use PHPUnit\Framework\TestCase; use ReflectionClass; use ReflectionException; use Re...
<!-- jQuery first, then Tether, then Bootstrap JS. --> <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" i...
@extends('layouts.layout') @section('content') <main id="establecimientos-registrados-todos" > <section class="container"> <h1 class="mb-0">Establecimientos registrados</h1> <form class="seccion" action="index.html" method="post"> <div class="row d-flex align-items-end"> <div class...
<section class="complete-content"> <!--Mid Content Start--> <div class="about-intro-wrap pull-left"> <div class="bread-crumb-wrap ibc-wrap-6"> <div class="container"> <!--Title / Beadcrumb--> <div class="inner-page-title-wrap col-xs-12 col-md-12 col-sm-12"> ...
<?php /** * This file is part of the ramsey/uuid library * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @copyright Copyright (c) Ben Ramsey <ben@benramsey.com> * @license http://opensource.org/licenses/MIT MIT * @link https://be...
<?php namespace App\Http\Controllers; use App\Models\OrderStore; use App\Models\Shipping; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class ShippingController extends Controller { //listado de Envio seguimiento public function index() { // } //Formulario de Envio se...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class RegisterModel extends MY_Model { public function __construct(){ $table = 'tbl_member'; parent::__construct($table); } }
<?php namespace App\Http\Controllers; use App\Track; use App\Label; use Illuminate\Http\Request; use Yajra\Datatables\Datatables; use DB; use Carbon\Carbon; class TrackController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() ...
@extends('./layouts/layout', [ 'title' => 'Document View', 'heading' => 'Document View', 'breadcrumb1' => 'Document View', 'breadcrumb2' => 'Archived Document', 'nav_status' => 'document_view', 'sub_nav_status' => 'document_view-archived', ] ) @section('main_container') <table class="table"> <tr> <th>CAPA...
<?php namespace Drupal\purge_queuer_test\Plugin\Purge\Queuer; use Drupal\purge\Plugin\Purge\Queuer\QueuerBase; use Drupal\purge\Plugin\Purge\Queuer\QueuerInterface; /** * Test queuer with a configuration form. * * @PurgeQueuer( * id = "withform", * label = @Translation("Queuer with form"), * description ...
<?php /** * Created by PhpStorm. * User: phemmy * Date: 24/12/15 * Time: 1:12 PM */ class Smsusagelog_model extends CI_Model { public function __construct() { // Call the CI_Model constructor parent::__construct(); } public function get_last_entries($val) { $val = (!i...
<?php /* Prototype : string quoted_printable_decode ( string $str ) * Description: Convert a quoted-printable string to an 8 bit string * Source code: ext/standard/string.c */ echo "*** Testing quoted_printable_decode() : basic functionality ***\n"; $str = "=FAwow-factor=C1=d0=D5=DD=C5=CE=CE=D9=C5=0A= =20=D4=...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use App\Item; class Category extends Model { protected $fillable=['name','slug']; public function items(){ return $this->hasMany(Item::class); } }
<?php namespace AhmadFatoni\ApiGenerator\Controllers\API; use Cms\Classes\Controller; use BackendMenu; use Illuminate\Http\Request; use {{model}}; class ApiListController extends Controller { protected ${{modelname}}; public function __construct({{modelname}} ${{modelname}}) { parent::__construct();...
<?php /** * Jetpack Compatibility File * See: http://jetpack.me/ * * @package Sugar & Spice */ /** * Add theme support for Infinite Scroll. * See: http://jetpack.me/support/infinite-scroll/ */ function sugarspice_jetpack_setup() { add_theme_support( 'infinite-scroll', array( 'container' => 'primary', ...
<?php ?> <div id="main"> <ol class="breadcrumb"> <li><a href="#">Главная</a></li> <li><a href="/article">Статьи</a></li> <li class="active">Создание статьи</li> </ol> <!-- //breadcrumb--> <div id="content"> <div class="row"> <div class="col-lg-12"> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php require_once("Application/controller/script.php"); if(isset($_SESSION['id-role'])){if($_SESSION['id-role']<=6){header("Location: Views/");exit;}} if(isset($_SESSION['auth'])){unset($_SESSION['auth']);} $_SESSION['page-name']="Privacy Policy";$_SESSION['page-to']="privacy-policy"; ?> <!DOCTYPE html> <...
<?php namespace BaftFeedback\View\Helper; use Zend\View\Helper\AbstractHelper; use Zend\ServiceManager\ServiceLocatorInterface; use Zend\ServiceManager\ServiceLocatorAwareInterface; use Zend\View\Model\ViewModel; use Zend\Form\Form; class FeedbackFormHelper extends AbstractHelper implements ServiceLocatorAwareInterf...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class PcaDetalleUnidades extends Model { use SoftDeletes; protected $table='pcaformulario_detalleunidades'; protected $connection = 'mysql1'; public function objetivo() { return $th...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Spatie\Sluggable\SlugOptions; use Spatie\Sluggable\HasSlug; class Category extends Model { use HasSlug; protected $fillable = ['name', 'description', 'slug']; /** * Get the options for generating the slug. */ public function...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Actipromo_process extends CI_Controller { public function __construct() { parent::__construct(); @session_start(); if(@$_SESSION['dmn_user_id']==""){ redirect('login/index'); } } public function actipromo_insert() { if...
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:63:"D:\wamp\www\app\public/../application/admin\view\news\edit.html";i:1508907853;s:66:"D:\wamp\www\app\public/../application/admin\view\public\_meta.html";i:1508335144;s:68:"D:\wamp\www\app\public/../application/admin\view\public\_footer.html";i:1508393175;}*/ ?> <!--...
<?php /** * JobCreateParametersTest * * PHP version 5 * * @category Class * @package Phrase * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Phrase API Reference * * The version of the OpenAPI document: 2.0.0 * Contact: support@phrase.com * Generated by: https://ope...
<table class="body" style="Margin:0;background:#FAFAFA;border-collapse:collapse;border-spacing:0;color:#333;font-family:Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;line-height:19px;margin:0;padding:0;text-align:left;vertical-align:top;width:100%"> <tbody> <tr style="padding:0;text-align:left;verti...
<?php namespace App\Http\Controllers\Employer\Reports; use App\Address; use App\Employer; use App\Http\Controllers\Controller; use App\JobCategory; use App\JobseekerProfile; use App\JobseekerSkill; use App\User; use App\Vacancy; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class ReportsControlle...
<?= $this->extend('layout/_template'); ?> <?= $this->section('content'); ?> <div class="container components"> <div class="row"> <div class="col"> <?php if (session()->getFlashdata('msg')) : ?> <div class="alert alert-success" role="alert" style="text-align: center;"> ...
<?php namespace MCAuth\HttpClients; use GuzzleHttp; use MCAuth\Exceptions\ResponseException; use MCAuth\Objects\Account; /** * Class MojangClient * @package MCAuth\HttpClient */ class MojangClient { /** * Client token for authentication */ const CLIENT_TOKEN = '909772fc24bc4d92bf2dc48bfecb375f'...
@extends('users.layout') @section('content') <div class="col-lg-12 margin-tb pb-5"> <div class="mt-3"> <div class="card"> <div class="card-header text-center"> <div class="pull-left"> <h3>Add New WaitList User</h3> </div> <div class="pull-right"> ...
<?php namespace wap\assets; use yii\web\AssetBundle; /** * Main backend application asset bundle. */ class StyleMap extends AssetBundle { public $basePath = '@webroot'; public $baseUrl = '@web'; public $css = [ '/css/map.css?v='. WAP_ASSETS_CSS_VERSION, ]; public $js = [ ]; pub...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Admin | Dashboard</title> <!-- Tell the browser to be responsive to screen width --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Font Awesome --> <link rel="style...
@section('modal_add') <div class="modal fade" id="modaladd" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> {{ Form::open(array('url' => 'store/companies/create', 'method' => 'post')) }} <div class="modal-header"> ...
<?php ini_set("memory_limit", "-1"); set_time_limit(0); $this->load->library('pdf'); $pdf = $this->pdf->startPDF('A4'); $pdf->SetHTMLHeader($this->pdf->PDFHeader()); $pdf->SetHTMLFooter($this->pdf->PDFFooter()); $html = '<style>' . file_get_contents('./media/css/pdf_css.css') . '</style>'; $html .= '<h3 style="text-ali...
<section class="content-header"> <h2 style="margin-top: 25px; padding-bottom: 10px; border-bottom: 1px solid #FFF;"><?= __d('system', 'User Login'); ?></h2> </section> <!-- Main content --> <section class="content"> <div class="row"> <?php echo Session::getMessages();?> <div style="margin-top: 50px" clas...
<?php namespace app\admin\validate; use think\Validate; class UserMoneyLog extends Validate { /** * 验证规则 */ protected $rule = [ ]; /** * 提示消息 */ protected $message = [ ]; /** * 验证场景 */ protected $scene = [ 'add' => [], 'edit' => [], ]...
<?php use Illuminate\Support\Facades\Route; use Psr\Http\Message\ServerRequestInterface; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your appli...
@extends('layouts.master') @section('content') <div class="panel panel-default"> <div class="panel panel-heading"> เพิ่มหมวดหมู่ </div> {{Form::open([ 'route'=>'admin.categories.store', 'method'=>'POST', ])}} <div class="panel-body"> <...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSourceWangyicaipiaoTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('sou...
<div id="hero"> <div class="brand-group"> <img src="img/logos/logo-khsquared-alt.png" alt="KH-Squared Logo" class="logo" /> <div class="hb">KH&ndash;Squared</div> </div> <!-- /.brand-group --> <div class="call-to-action group"> <a id="s...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Models\User; use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Validation\...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Drivers */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => Yii::t('driver', 'Drivers'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::regist...
<?php use yii\helpers\Html; use yii\widgets\Breadcrumbs; /* @var $this yii\web\View */ /* @var $model backend\models\Company */ $this->title = 'Update Company: ' . $model->name; $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; $this->params['breadcrumbs'][] = 'Updat...
@extends('backendtemplate') @section('contend') <div class=" mb-4"> <div class="card-header py-3"> <div class="row"> <div class="col-10"> <h1 class="h3 mb-4 text-gray-800"> <i class="fas fa-chalkboard-teacher"></i> Teacher List </h1> </div> <div c...
<?php namespace App\Exports; use App\venta; use App\empresa; use Illuminate\Contracts\View\View; use Maatwebsite\Excel\Concerns\Exportable; use Maatwebsite\Excel\Concerns\FromView; class VentaExport implements FromView { /** * @return \Illuminate\Support\Collection */ public function collection() ...
<?php namespace TheIconic\NameParser\Language; use TheIconic\NameParser\LanguageInterface; class English implements LanguageInterface { const SUFFIXES = [ '1st' => '1st', '2nd' => '2nd', '3rd' => '3rd', '4th' => '4th', '5th' => '5th', 'i' => 'I', 'ii' => 'I...
@extends('main_master') @section('main_content') <div class="block-space block-space--layout--after-header"></div> <div class="block"> <div class="container container--max--lg"> @if(session('msg') != null) <div class="alert alert-success alert-dismissable" style="margin-top: 20px;"> <button type="button...
<?php namespace Database\Seeders; use App\Models\cliente; use Illuminate\Database\Seeder; class ClienteSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { cliente::factory(300)->create(); } }
<?php /** * Codon PHP Framework * www.nsslive.net/codon * Software License Agreement (BSD License) * * Copyright (c) 2008 Nabeel Shahzad, nsslive.net * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
<?php namespace App\Http\Controllers; use App\FotterPageContent; use App\AdminLog; use Illuminate\Http\Request; use App\FotterMenu; class FotterPageContentController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ pr...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'voku\\' => array($vendorDir . '/voku/portable-ascii/src/voku'), 'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/...
@extends('admin.layouts') @section('content') <div class="container col-12"> <div class="row justify-content-center"> <div class="col-12"> <div class="card"> <div class="card-header">Создание</div> <div class="mb-5"> @if ($errors->any()) ...
<?php /** * @author Todd Burry <todd@vanillaforums.com> * @copyright 2009-2014 Vanilla Forums Inc. * @license MIT */ namespace Garden\Password; /** * Implements the password hash from Simple Machines Forums (SMF). * * Note that smf salts passwords with usernames. In order to use a smf password with this class ...
<?php return [ '@class' => 'Grav\\Common\\Config\\CompiledBlueprints', 'timestamp' => 1623964492, 'checksum' => '20841383b74db3f00e3699af3459db7c', 'files' => [ 'user/plugins/admin/blueprints/config' => [ 'media' => [ 'file' => 'user/plugins/admin/blueprints/config/me...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\wage */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="wage-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'wagname')->textInput(['maxlength' => true]) ?> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePermissionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('permissions...
<?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\Security\Http\Authenticator\Passport\Badge; use Symfo...
<?php declare(strict_types=1); namespace Pest\Bootstrappers; use Pest\Subscribers; use PHPUnit\Event; /** * @internal */ final class BootSubscribers { /** * The Kernel subscribers. * * @var array<int, class-string<\PHPUnit\Event\Subscriber>> */ private static array $subscribers = [ ...
<div class="panel-heading "> <h6 class="panel-title text-bold">参照一覧</h6> </div> <div class="panel-body w-pading-top"> <div class="w-pading-bottom"> @if(isset($data[1][0]['totalRecord'])&&$paging['totalRecord'] != 0) <div class="w-pading-search-top"> <label style="margin-top: ...
@extends('layouts.admin') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Dashboard</div> <div class="panel-body"> ...
<?php namespace Utils; class ScriptRunner { public static function executeJs($parameters, $script) { return exec(sprintf( 'node %sexecute/execute.js %s %s', APP_BASE_PATH, base64_encode(json_encode($parameters)), base64_encode($script) )); } ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); } /**...
<!-- begin:: Content --> <div class="kt-content kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor" id="kt_content"> <!-- begin:: Content Head --> <div class="kt-subheader kt-grid__item" id="kt_subheader"> <div class="kt-container kt-container--fluid "> <div class="kt-subheader__main"> <...
@include('layouts.header') @include('layouts.footer') <!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"> <script src="{{ asset('js/jquery.min.js') }}"></script> ...
<?php namespace frontend\controllers; use Yii; use common\models\ProjectBuildingServices; use common\models\ProjectBuildingServicesSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * ProjectBuildingServicesController implements the CRUD actions for ProjectBuildingSer...
<?php /* Prototype : proto string rawurldecode(string str) * Description: Decodes URL-encodes string * Source code: ext/standard/url.c * Alias to functions: */ // NB: basic functionality tested in tests/strings/001.phpt function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { echo "Error:...
@extends('tapangpass.Homepage.include.app') @section('HS-Script') <?php $mac=$_POST['mac']; $ip=$_POST['ip']; $username=$_POST['username']; $linklogin=$_POST['link-login']; $linkorig=$_POST['link-orig']; $error=$_POST['error']; $trial=$_POST['trial']; $chapid=$_POST['chap-id']; $cha...
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
@extends('welcome') @section('title') Pedidos a proveedores @endsection @section('contenido') <div class="container-fluid"> <pedidoproveedor-component></pedidoproveedor-component> </div> @endsection @section('script') @endsection
<?php declare(strict_types=1); namespace bizley\tests\unit\table; use bizley\migration\table\PrimaryKey; use PHPUnit\Framework\TestCase; /** * @group table * @group primarykey */ final class PrimaryKeyTest extends TestCase { /** @var PrimaryKey */ private $pk; protected function setUp(): void { ...
<?php // Heading $_['heading_title'] = 'Tm Slideshow'; // Text $_['text_module'] = 'Modules'; $_['text_success'] = 'Success: You have modified Tm slideshow module!'; $_['text_edit'] = 'Edit Tm Slideshow Module'; // Entry $_['entry_name'] = 'Module Name'; $_['entry_banner'] = 'Banner'; $_[...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Session; use DB; use Redirect; use Image; class ProductController extends Controller { public function index() { $this->AdminAuthCheck(); $result = DB::table('tbl_products') ->join('tbl_category','tbl_p...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePunishmentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('punishments...
<?php /** * Observium * * This file is part of Observium. * * @package observium * @subpackage graphs * @copyright (C) 2006-2015 Adam Armstrong * */ include_once($config['html_dir']."/includes/graphs/common.inc.php"); $colours = "mixed"; $nototal = 1; $unit_text = "Milliseconds"; $rrd_fil...
<?php class books_model extends CI_Model{ function books_model(){ parent::Model(); $this->load->helper('url'); } function entry_insert(){ $this->load->database(); $data = array( 'title'=>$this->input->post('title'), 'author'=>$this->input->post('author'), 'publisher'=>$this->i...
@extends('layouts.admin_master') @section('course_page') active show-sub @endsection @section('topic_course') active @endsection @section('admin_content') <div class="wrapper"> <div id="content-page" class="content-page"> <div class="container-fluid"> <div class="row"> <di...
@extends('backend/layouts/master') @section('content') <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"> <h1 class="m-0 text-dark">Da...
@extends('layouts.adminLayout') @section('meta') <meta name="csrf-token" content="{{ csrf_token() }}"> @endsection @section('content') <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body table-responsive"> <div class="row"> <div cla...
<div class="content"> <div class="header"> <h1 class="page-title"><?php echo $title; ?></h1> </div> <ul class="breadcrumb"> <li>MANAJEMEN <span class="divider"></span></li> <li><a href="<?php echo base_url().'admin/informasi'; ?>">INFORMASI</a><span class="divider"></span></li> <li>TAMBAH</li> </ul> <div ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProcessingFessesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('proces...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSectionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('sections', fun...
<?php /* * File: /Core/Events.php * * Project: hcaptcha * * File Created: 27-10-2021 17:53:38 * * Author: Jan Loeper <info@tremendo.de> ...
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Cache Store |-------------------------------------------------------------------------- | | This option controls the default cache connection that gets used while...
<?php namespace Drupal\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Render\Element; /** * Provides a form element for a drop-down menu or scrolling selection box. * * Properties: * - #options: An associative array, where the keys are the values for each * option, and the value...
@extends('layouts.app') @section('title', '| '.$title.'') @section('content') <div class="page has-sidebar-left height-full"> <header class="blue accent-3 relative nav-sticky"> <div class="container-fluid text-white"> <div class="row p-t-b-10 "> <div class="col"> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAboutUsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('about_us', func...
<?php // First of all, check if the request is correct, and set username and password variables. if ( isset($_POST['user']) && isset($_POST['pass']) && isset($_POST['action']) ) { $username = $_POST['user']; $password = $_POST['pass']; $action = $_POST['action']; if ($action != 'transcripts') { echo 'Error2.'; ...
<?php require_once('markdown.php'); define( 'MARKDOWNEXTRAEXTENDED_VERSION', "0.3" ); function MarkdownExtended($text, $default_claases = array()){ $parser = new MarkdownExtraExtended_Parser($default_claases); return $parser->transform($text); } class MarkdownExtraExtended_Parser extends MarkdownExtra_Parser { ...
<?php namespace app\index\controller; use think\Db; use think\Controller; use think\Request; use think\exception\DbException; class Search extends Controller { public function index() { $a_sql = 'SELECT cigen,sum(click) as aclick,sum(zx) as azx,round(sum(zmxf),2) as azmxf,SUM(fanwwen) as afw,SUM(duih...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Comment extends Model { use HasFactory; protected $fillable = [ 'content', 'user_id' ]; }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class ExperienceMedia extends Model { use HasFactory; }