PK

ADDRLIN : /home/anibklip/adhocacademy.com/admin/
FLL :
Current File : /home/anibklip/adhocacademy.com/admin/form_list.php

<?php
		session_start();
		include_once('../include/common.php');
		include_once('../include/connection.php');
		include_once('../include/session.php');
		
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>admin</title>
<link rel="stylesheet" type="text/css" href="../css/style.css" />

</head>

<body>
<table border="0" width="100%"  align="center" cellpadding="0" cellspacing="0">
<!--header-->
	
	<tr>
        <td><?php include"../include/adminheader.php"; ?></td>
	</tr>
<!--/header-->

    <tr>
        <td valign="top">
            <table border="0px" width="100%" cellpadding="0" cellspacing="0" class="contact" style="text-align:center; margin-bottom:15px; ">
                <tr>
                    <td colspan="11">
                        &nbsp;
                    </td>
                </tr>
                <tr class="list1" style="text-align:center; color:#fff;">
                    <th>S.no</th>
                    <th>Certificate </th>
                    <th>Name</th>
                    <th>Father's Name</th>
                    <th >Reg. No</th>
                    <th>Admission Dt. </th>
                    <th>Course </th>
                    <th>Grade</th>
                    <th>Center</th>
                    <th align="center" colspan="2">Action</th>
                </tr>
				<?php
                    $selectForEnquiry="select * from  certificate";
                    $queryForEnquiry=mysql_query($selectForEnquiry);
                    while($fetchForEnquiry=mysql_fetch_array($queryForEnquiry)) {
                        $sno++;
						 if($sno%2==0) {
                                $group='class="list1"';
                            }
                            else {
                                $group='class="list2" ';
                            }
                ?>
                <tr <?=$group; ?> height="30px">
                        <td><?=$sno; ?></td>
                        <td><?=$fetchForEnquiry['certificateNo']; ?></td>
                        <td><?=$fetchForEnquiry['name']; ?></td>
                        <td><?=$fetchForEnquiry['fatherName']; ?></td>
                        <td><?=$fetchForEnquiry['regNo']; ?></td>
                        <td><?=$fetchForEnquiry['admiDate']; ?></td>
                        <td><?=$fetchForEnquiry['course']; ?></td>
                        <td><?=$fetchForEnquiry['grade']; ?></td>
                        <td><?=$fetchForEnquiry['centerName']; ?></td>
                        <!--<td><img src="../registration/ImageUpload/<?//=s$fetchForEnquiry['imgName']; ?>" style="width:50px; height:40px;" /></td>-->
                        <td align="left">
                            <a href="form_view.php?action=edit&cId=<?=$fetchForEnquiry['cId']; ?>"><img src="../image/view.png" style="border:0px;" title="View" /></a>
                        </td>
                        <td align="center">
                            <a href="form.php?action=edit&cId=<?=$fetchForEnquiry['cId']; ?>"><img src="../image/b_edit.png" style="border:0px;" title="Edit" /></a>
                        </td>
	<td align="center" ><a href="form_action.php?action=delete&cId=<?=$fetchForEnquiry['cId']; ?>"><img src="../image/check-and-cross-icon.png" style="border:0px;" title="Delete" width="22px" /></a>
								</td>
                    </tr>
                    <?php } ?>
    
                </table>
        </td>
    </tr>
	<!--footer-->
	<tr  class="footer">
			<td  align="center"><?php include"../include/adminfooter.php"; ?></td>
	</tr>
</table>
</body>
</html>


PK 99