<?php
	$detail=mysql_query("SELECT * FROM halamanstatis where id_halaman='46'");
	$d   = mysql_fetch_array($detail);
?>	
						<div class="main-page left">
							<div class="single-block">
								<div class="content-block main left">
									<img style="width:100%" src="http://phpmu.com/asokatamamotor.com/logo/home.png">

									<div class="paragraph-row">
										<div class="phpmu column3"><p></p>
										<h4><span class="icon-text"></span> All in one Service</h4>
											<p>All-In-One Service And Resources To Make Your Ride In Excellent Shape & Condition.</p>
											<p></p>
										</div>
										<div class="phpmu column3"><p></p>
										<h4><span class="icon-text"></span> Life Time Warranty</h4>
											<p>Bukti bentuk kesungguhan untuk hasil terbaik, kami memberikan garansi selamanya.</p>
											<p></p>
										</div>
										<div class="phpmu column3"><p></p>
										<h4><span class="icon-text"></span> Perhatian Lebih</h4>
											<p>Kualitas kerja, mengerti kebutuhan konsumen & pelayanan terbaik.</p>
											<p></p>
										</div>
										<div class="phpmu column3"><p></p>
										<h4><span class="icon-text"></span> We Love This Job</h4>
											<p>Kami di Asokatama Motor mencintai & bersungguh-sungguh dalam pekerjaan kami!</p>
											<p></p>
										</div>
									</div>

									<div class="block">
										<div class="block-title" style="background: #004181;">
											<h2><?php echo $d[judul]; ?></h2>
										</div>
										<div class="block-content">
											<div class="shortcode-content">

												<div class="paragraph-row">
													<div class="column3">
														<h3 class="highlight-title">Partnership</h3>
														<ul>
															<?php 
																$partnership = mysql_query("SELECT * FROM partnership order by id_partnership DESC");

																while ($p = mysql_fetch_array($partnership)){
																	echo "<li>
																			<a target='_BLANK' href='$p[link_partnership]'>$p[nama_partnership]</a>
																		  </li>";
																}
															?>
														</ul>
														
													</div>
													<div class="column9">
														<?php 
															echo "$d[isi_halaman]"; 
														?>
													</div>
												</div><br>
												<?php
													$iklandetail=mysql_query("SELECT * FROM iklantengah where id_iklantengah='9'");
													$id=mysql_fetch_array($iklandetail);
														echo "<a href='$id[url]' target='_blank'>";
															$string = $id['gambar'];
															if ($id['gambar'] == ''){
															}else{
																if(preg_match("/swf\z/i", $string)) {
																	echo "<embed style='margin-top:-10px' src='foto_iklantengah/$id[gambar]' width='100%' height=90px quality='high' type='application/x-shockwave-flash'>";
																} else {
																	echo "<img style='margin-top:-10px; margin-bottom:5px' width='100%' src='foto_iklantengah/$id[gambar]' title='$id[judul]' />";
																}
															}
														echo "</a>";
												?>


											</div>

										</div>

									</div>
								</div>
							</div>
						</div>