https://t.me/RX1948
Server : Apache/2.4.18 (Ubuntu)
System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64
User : oppastar ( 1041)
PHP Version : 7.0.33-0ubuntu0.16.04.15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Directory :  /var/www/indolok.id/application/views/account/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/indolok.id/application/views/account/my_prescription.php
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<!--make some space gap on top with menu-->
<div class="banner" style="padding-top: 10px;"></div>
<div class="container">
	<div class="row" style="padding-bottom:50px;">
		<div class="col-sm-2 order-sm-1 order-2" style="border-right:1px solid #ccc;">
			 <?= Modules::run('myaccount_menu'); ?>
		</div><!-- end col-sm-2--> 
		

		<div class="col-sm-10 order-sm-2 order-1"> 
			<?= $this->session->flashdata('success'); //to display success message ?> 
			<br>

			<!-- upload prescription -->
			<?php echo form_open_multipart('account/my_prescription_upload'); ?>

	            <div class="row form-group">
					<div class="col-sm-3">
						<label>Upload Resep</label>
					</div><!--end class="col-sm-4" -->	
					<div class="col-sm-9">
						<input class="form-control" type="file" name="my_prescription" style="padding: 8px 15px;" /><br> 

						<span style="font-size:12px; font-style: italic;">
							Tipe file harus jpg / png / pdf, max 5000 KB
						</span>
						<span style="color:#F7931E;">
							<?php echo form_error('my_prescription'); ?>
						</span>
				            <?php echo $this->session->flashdata('my_prescription_error'); //to display error message ?>  
				    </div><!-- end class="col-sm-9" -->
				</div><!-- end class="row"-->	

				<div class="row form-group">
					<div class="col-sm-3">
						<label>Masukkan Order ID untuk 'Resep Susulan'</label>
					</div><!--end class="col-sm-4" -->	
					<div class="col-sm-9">
						<input class="form-control" type="text" placeholder="Order ID" name="order_id"/><br> 
				    </div><!-- end class="col-sm-9" -->
				</div><!-- end class="row"-->	

				<div class="row form-group">
					<div class="col-sm-3">
					</div><!--end class="col-sm-4" -->	
					<div class="col-sm-9">
						<input type="submit" value="Upload Resep" style="background:<?= $primary_colortheme; ?>; color:white;" class="form-control" />
					</div><!--end class="col-sm-9" -->
				</div><!-- end class="row"-->

			<?php echo form_close(); ?>	
			<!-- upload prescription -->

			<!-- my prescription -->
			<h4>Resep Saya</h4>
			<div class="table-responsive orderHistory">
				<table class="table table-striped">
					<thead>
						<tr>
							<th>Tanggal Upoad</th>
							<th>Status Resep</th>
							<th>Order ID</th>
							<th>Preview</th>
							<th>Action</th>
						</tr>
					</thead>
					<tbody>
						<?php if ($user_prescription != null):?>
							<?php foreach ($user_prescription as $item):?>
								<tr>
				            		<td><?= date('d M Y', strtotime($item->upload_time)); ?></td>
				            		<td>
				            			<?php 
				            				$status = $this->db->select('status')->from('prescription_status')->where('id',$item->status)->get()->row()->status; 
				            				echo ucfirst($status);
				            			?>
				            		</td>
				            		<td>
				            			<?= $item->order_id; ?>
				            		</td>
				            		<td>
				            			<a href="<?= base_url().'uploads/prescriptions/'.$item->prescription_file; ?>" target="_blank">View</a>
				            		</td>
				            		<td>
				            			<?php if($item->status == 3 && $item->order_id =='') : ?>
				            				<a style="padding-top: 0; padding-bottom: 0; text-decoration: none; font-weight: bold; color:#F87F38;" href="<?= base_url('shipping_prescription/get/' . $item->uniqid); ?>"><i class="fa fa-shopping-cart"></i> BELI <i class="fa fa-chevron-right" aria-hidden="true"></i></a>
				            			<?php else : ?>
				            				-
				            			<?php endif; ?>		


				            		</td>
				            	</tr>
							<?php endforeach; ?>
						<?php else: ?>
							<tr>
								<td colspan="5" style="text-align: center;"><p>Belum ada resep.</p></td>
							</tr>
						<?php endif; ?>
					</tbody>
				</table> 
			</div><!-- end class="table-responsive"> -->
			<!-- my prescription -->
			

		</div><!-- end col-sm-10-->

		
	</div><!-- end row-->
</div><!-- end container -->

https://t.me/RX1948 - 2025