<?php
if (basename($_SERVER['SCRIPT_FILENAME']) == basename(__FILE__)){
echo "<p style='font-family:Arial, Helvetica, sans-serif; margin-top:100px; font-size:20px; line-height:180%; letter-spacing:2px;' align='center'><img src='https://primadesain.com/images/block.png' width='90' height='90' /></br></br>Accessing files directly is prohibited.</p><p style='font-family:Arial, Helvetica, sans-serif; margin-top:20px; font-size:12px; line-height:180%; letter-spacing:2px;' align='center'>&copy; 2009 - ".date("Y")." <a href='http://www.primadesain.com'>www.primadesain.com</a></p>";
echo "<meta http-equiv=\"refresh\" content=\"7; url=./index.php\">";
exit();} 
?>

 <h1>Frequently Asked <span>Questions</span></h1>
		<div class="separator"></div>
		<div class="faq_page">
			<ul>
				
                
                
                
       
<?php
$sql=mysql_query("select tanya, jawab from faq where published='1'");
	while($row2=mysql_fetch_row($sql)) {
 ?>
	
        
        
        <li>
					<div class="question">
						<?php echo $row2[0];?>
					</div>
					<p class="answer">
						<?php echo $row2[1];?>
					</p>
				</li>
        
             
             
                 
		<?php
}	
?>             

</ul>
		</div>


