Пример #1
0
<!DOCTYPE html>
<html lang="en">

<head>
	<!-- INCLUDE BS HEADER INFO -->
	<?php 
include 'templates/bs-head.php';
?>

	<title>Checkout</title>
</head>
<body>
	<!-- IMPORT NAVIGATION & HEADER-->
	<?php 
include 'templates/bs-nav.php';
echo printHeader($checkout->getTitle(), NULL);
?>

    <div class="container">
    	<div class="row">
    		<div class="col-sm-8 col-sm-offset-2">
    			<?php 
echo "<a href='checkouts.php'><span class='glyphicon glyphicon-chevron-left'></span>&nbsp;&nbsp;Back to Checkouts</a>";
?>
    			<br /><br />
    			<div class="panel panel-default">
    				<div class="panel-heading text-center">Checkout Details</div>
    				<div class="panel-body text-center">
    					<p>
    					<?php 
printf("<strong>Checkout ID:</strong> %s<br /><br />", $checkout->getID());
Пример #2
0
	                <hr />

					<form role="form" action="<?php 
    echo htmlspecialchars($_SERVER["PHP_SELF"]);
    ?>
" method="POST">
						<input type="hidden" name="step" value="1" />
						<input type="hidden" name="co_id" value="<?php 
    echo $co_id;
    ?>
" />

						<div class="form-group"> <!-- TITLE -->
							<label class="control-label" for="title">Event Title:</label>  
							<input type="text" class="form-control" name="title" value="<?php 
    echo $co->getTitle();
    ?>
">
						</div>
						<div class="form-group"> <!-- DESC -->
							<label class="control-label" for="description">Description:</label>  
							<textarea class="form-control" name="description" rows="3"><?php 
    echo $co->getDescription();
    ?>
</textarea>
						</div>
						<div class="form-group"> <!-- LOCATION -->
							<label class="control-label" for="location">Location:</label>  
							<input type="text" class="form-control" name="location" value="<?php 
    echo $co->getLocation();
    ?>