<?php
session_start();
include("header1.php");
include("conn.php");
//include("security.php");
//get user profile information
$sel_school=mysql_query("select * from information where id='".$_GET['id']."'");
$fetch_school_data=mysql_fetch_array($sel_school);
?>	
 <style>
table {
    width:100%;
}
table, th, td {
    border: 1px solid #72c02c;
    border-collapse: collapse;
}
th, td {
    padding: 5px;
    text-align: left;
}
table#t01 tr:nth-child(even) {
    background-color: #eee;
}
table#t01 tr:nth-child(odd) {
   background-color:#fff;
}
table#t01 th	{
    background-color: #72c02c;
    color: #fff;
}
</style>   
<table width="722" id="t01">
                    <tr>
                     <th width="214" height="48" colspan="2"><strong>View School / Center Detail </strong></th>
                    </tr>                                     
                    <tr>
                    <td width="214" height="36">Name</td>
                    <td width="214" height="36"><?php echo $fetch_school_data['Name'];?></td>
                    </tr>
                      <tr>
                    <td width="214" height="36">OperationID</td>
                    <td width="214" height="36"><?php echo $fetch_school_data['OperationID'];?></td>
                    </tr>
                     <tr>
                    <td width="214" height="36">Address</td>
                    <td width="214" height="36"><?php echo $fetch_school_data['Address1'];?></td>
                    </tr>
                     <tr>
                    <td width="214" height="36">Country</td>
                    <td width="214" height="36"> <?php echo $fetch_school_data['Country'];?></td>
                    </tr>
                    <tr>
                    <td width="214" height="36">City</td>
                    <td width="214" height="36"> <?php echo $fetch_school_data['City'];?></td>
                    </tr>
                    <tr>
                    <td width="214" height="36">State</td>
                    <td width="214" height="36"> <?php echo $fetch_school_data['State'];?></td>
                    </tr>
                     <tr>
                    <td width="214" height="36">ZipCode</td>
                    <td width="214" height="36"> <?php echo $fetch_school_data['ZipCode'];?></td>
                    </tr>
                     <tr>
                    <td width="214" height="36">Phone</td>
                    <td width="214" height="36"> <?php echo $fetch_school_data['Phone'];?></td>
                    </tr>
                     <tr>
                    <td width="214" height="36">TypeID</td>
                    <td width="214" height="36"> <?php echo $fetch_school_data['TypeID'];?></td>
                    </tr>
                     <tr>
                    <td width="214" height="36">Website</td>
                    <td width="214" height="36"> <?php echo $fetch_school_data['Web'];?></td>
                    </tr>
                     <tr>
                     <tr>
                    <td width="214" height="36">Days Open</td>
                    <td width="214" height="36"> <?php echo $fetch_school_data['days'];?></td>
                    </tr>
                     <tr>
                     <tr>
                    <td width="214" height="36">Hours of Operation</td>
                    <td width="214" height="36"> <?php echo $fetch_school_data['operation'];?></td>
                    </tr>
                     <tr>
                     <tr>
                    <td width="214" height="36">Capacity</td>
                    <td width="214" height="36"> <?php echo $fetch_school_data['Capacity'];?></td>
                    </tr>
                     <tr>
                    <td width="214" height="36">Citation</td>
                    <td width="214" height="36"> <?php echo $fetch_school_data['Citation'];?></td>
                    </tr>
                       <tr>
                    <td width="214" height="36">Infant</td>
                    <td width="214" height="36"><?php if($fetch_school_data['Infant']==1){echo "Yes";} else{echo "No";}?></td>
                    </tr>
                     <tr>
                    <td width="214" height="36">Toddler</td>
                    <td width="214" height="36"><?php if($fetch_school_data['Toddler']==1){echo "Yes";} else{echo "No";}?></td>
                    </tr>
                     <tr>
                    <td width="214" height="36">Preschool</td>
                    <td width="214" height="36"> <?php if($fetch_school_data['Preschool']==1){echo "Yes";} else{echo "No";}?></td>
                    </tr>     
                        <tr>
                    <td width="214" height="36">School</td>
                    <td width="214" height="36"> <?php if($fetch_school_data['School']==1){echo "Yes";} else{echo "No";}?></td>
                    </tr>             
                  <!--  <tr>
                     <th width="214" height="48" colspan="2" style="text-align:center;background-color:#72c02c !important;"><strong>Video</strong></th>
                    </tr> -->
                     <!--<tr>
                    <td width="214" height="36" colspan="2" style="text-align:center;">
                     <?php
					   if($fetch_school_data['video']=='')
					   {?>
                       <p style="color:#F00;">No Media uploaded</p>
                       <?php }
					   else
					   {?>
                    <div class="da-img" style="margin-top: 3px;
margin-bottom: -5px;">
 <iframe src="<?php echo $fetch_school_data['video'];?>" width="530" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> 
 </div>
 <?php }?>
 </td>
                    </tr>-->
                   </table>            

<!-- JS Global Compulsory -->           
<script type="text/javascript" src="assets/plugins/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="assets/plugins/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap/js/bootstrap.min.js"></script> 
<!-- JS Implementing Plugins -->            
<script type="text/javascript" src="assets/plugins/back-to-top.js"></script>
<!-- JS Page Level -->           
<script type="text/javascript" src="assets/js/app.js"></script>
<script type="text/javascript">
    jQuery(document).ready(function() {
        App.init();
    });
</script>
<!--[if lt IE 9]>
    <script src="assets/plugins/respond.js"></script>
    <script src="assets/plugins/html5shiv.js"></script>
<![endif]-->

</body>
</html> 