Update confirmorder.php

<?php //print displayStatus(); // for BEP?>
<?php echo validation_errors('<div class="message error">','</div>'); // for CI ?>

<h1><?php echo $this->lang->line('orders_plz_confirm'); ?></h1>
<p class="padnmgn"><?php echo $this->lang->line('orders_confirm_before'); ?>

<?php
$data = $this->lang->line('orders_go_to_cart');
echo anchor($module.'/cart', $data);
?>.</p>
<?php 
if($this->data['customer_status']==0)
{
	echo "<h2>";
	echo $this->lang->line('orders_plz_confirm')."<br /> <span class='login'>";
	echo anchor( $module.'/login', $this->lang->line('general_login') ) ;
	echo "</span> ".$this->lang->line('webshop_if_registered');
	echo "</h2><br />"; 
}

?>


<h2>Order details</h2><br />
<?php echo form_open($module."/emailorder"); ?>
<?php

if (isset($_SESSION['cart'])){
	$count = 1;
	foreach ($_SESSION['cart'] as $PID => $row){	
		echo "<p class='padnmgn'><b>". $row['count'] . " " . $row['name'] . " @ " . $row['price']."</b></p><br/>\n";
		echo "<input type='hidden' name='item_name_".$count."' value='".$row['name']."'/>\n";
		echo "<input type='hidden' name='item_quantity_".$count."' value='".$row['count']."'/>\n";
		echo "<input type='hidden' name='item_price_".$count."' value='".$row['price']."'/>\n";
		echo "<input type='hidden' name='item_currency_".$count."' value='".$this->lang->line('webshop_currency_symbol')."'/>\n";
		echo "<input type='hidden' name='ship_method_name_".$count."' value='Posten'/>\n";
		echo "<input type='hidden' name='ship_method_price_".$count."' value='".$shippingprice."'/>\n";
	}
}
if(isset($_SESSION['totalprice']))
{
	$totalprice = $_SESSION['totalprice'];
	$grandtotal = (int)$totalprice + $shippingprice ;
	echo "<p class='padnmgn'><b>". $this->lang->line('orders_sub_total').$this->lang->line('webshop_currency_symbol').number_format($totalprice,2,'.',','). "</b></p>\n";
}
echo "<p class='padnmgn'><b>".$this->lang->line('orders_shipping').$this->lang->line('webshop_currency_symbol'). number_format($shippingprice ,2,'.',',') . "</b></p>\n";
echo "<p class='padnmgn'><b>".$this->lang->line('orders_total_with_shipping').$this->lang->line('webshop_currency_symbol').number_format($grandtotal,2,'.',','). "</b></p>\n";
?>

<h3><?php echo $this->lang->line('webshop_first_name'); ?></h3>
<input type="text" name="customer_first_name" value="<?php 
if(isset($fname))
{
	echo $fname;
}
else
{
 	echo set_value('customer_first_name');
 }
 ?>" size="30" />

<h3><?php echo $this->lang->line('webshop_last_name'); ?></h3>
<input type="text" name="customer_last_name" value="<?php 
if(isset($lname))
{
	echo $lname;
}
else
{
 	echo set_value('customer_last_name');
 }
?>" size="30" />

<h3><?php echo $this->lang->line('webshop_mobile_tel'); ?></h3>
<input type="text" name="telephone" value="<?php
if(isset($telephone))
{
	echo $telephone;
}
else
{
	echo set_value('telephone');
}
 ?>" size="15" />

<h3><?php echo $this->lang->line('orders_email'); ?></h3>
<input type="text" name="email" value="<?php 
if(isset($email))
{
	echo $email;
}
else
{
 	echo set_value('email');
 }
 ?>" size="40" />

<h3><?php echo $this->lang->line('orders_email_confirm'); ?></h3>
<input type="text" name="emailconf" value="<?php 
if(isset($email))
{
	echo $email;
}
else
{
	echo set_value('emailconf'); 
}
?>" size="40" />

<h3><?php echo $this->lang->line('orders_shipping_address'); ?></h3>
<input type="text" name="shippingaddress" value="<?php
if(isset($address))
{
	echo $address;
}
else
{
	echo set_value('shippingaddress'); 
}
?>" size="50" />

<h3><?php echo $this->lang->line('orders_post_code'); ?></h3>
<input type="text" name="post_code" value="<?php
if(isset($pcode))
{
	echo $pcode;
}
else
{
	echo set_value('post_code'); 
}
?>" size="8" />

<h3><?php echo $this->lang->line('orders_city'); ?></h3>
<input type="text" name="city" value="<?php 
if(isset($city))
{
	echo $city;
}
else
{
	echo set_value('city'); 
}
?>" size="20" />

<br />
<input type="submit" name="submit" value="<?php echo $this->lang->line('orders_email_order'); ?>" />

<?php echo form_close(); ?>