<title>Input Bus</title>
<div id="pagetitle">INPUT BUS</div>
<div id="batascontent" class="clearfix">
	<form action="?m=bus_simpan" method="post" enctype="multipart/form-data">
		<div id="wrapgsetting" class="clearfix">
			<div id="gsettingleft">
				<div id="gsetting" class="clearfix">
					<div id="gsettinglabel">Nama</div>
					<div id="gsettingedit">
						<input name="bus_nama" type="text" required />
					</div>
				</div>
				<div id="gsetting" class="clearfix">
					<div id="gsettinglabel">Deskripsi Lengkap</div>
					<div id="gsettingedit">
						<textarea name="bus_desc" id="content"></textarea>
						<script type="text/javascript">
							CKEDITOR_BASEPATH = 'ckeditor';
							var editor = CKEDITOR.replace('content', {});
						</script>
					</div>
				</div>
				<div id="gsetting" class="clearfix">
					<div id="gsettinglabel">Meta Title</div>
					<div id="gsettingedit">
						<input name="bus_metatitle" type="text" />
					</div>
				</div>
				<div id="gsetting" class="clearfix">
					<div id="gsettinglabel">Meta Description</div>
					<div id="gsettingedit">
						<textarea name="bus_metadesc" type="text"></textarea>
					</div>
				</div>
				<div id="gsetting" class="clearfix">
					<div id="gsettinglabel">Meta Keywords</div>
					<div id="gsettingedit">
						<textarea name="bus_metakey" type="text"></textarea>
					</div>
				</div>
			</div>
			<div id="gsettingrite">
				<div id="gsetting" class="clearfix">
					<div id="gsettinglabel">Status</div>
					<div id="gsettingedit">
						<select name="bus_status" required>
							<?php $stdb=mysqli_query($koneksi, "SELECT * FROM cmas_status ORDER BY status_id ASC"); while($stdt=mysqli_fetch_array($stdb)) { ?>
								<option value="<?php echo $stdt['status_nama']; ?>"><?php echo $stdt['status_nama']; ?></option>
							<?php } ?>
						</select>
					</div>
				</div>
				<div id="gsetting" class="clearfix">
					<div id="gsettinglabel">Fasilitas</div>
					<div id="gsettingedit">
						<textarea name="bus_sdesc" type="text" rows="5"></textarea>
					</div>
				</div>
				<div id="gsetting" class="clearfix">
					<div id="gsettinglabel">Model</div>
					<div id="gsettingedit">
						<input name="bus_model" type="text" />
					</div>
				</div>
				<div id="gsetting" class="clearfix">
					<div id="gsettinglabel">Image</div>
					<div id="gsettinginput">
						<input type="file" name="bus_image" id="file"/>
					</div>
				</div>
			</div>
		</div>	
		<div id="tombolsubmit">
			<a href="?m=bus_index"><input name="Button" type="button" value="KEMBALI" class="myButton"/></a>
			<input name="Submit" type="submit" value="SIMPAN" class="submitbutton" /> 
		</div>
	</form>
</div>
