PK

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

<?php
		session_start();
		include_once('../../include/common.php');
		include_once('../../include/session.php');
		include_once('../../include/connection.php');
		$calling=get_root();
?>
<!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>list</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" />
   <script language="javascript">
   		function confirm_delete(){
				var agree = confirm("Are you sure want to Delete");
				if(agree) {
					return true;					
				}return false;				
			}
   </script>
</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="0px" cellspacing="5px" >
                <tr>
                    <td colspan="10">
                        <table border="0px" align="right">
                            <tr>
                               <td class="listadd" width="110px" align="center"><a href="../feedback/feedback.php">Add Feedback</a></td>
                             </tr>
                        </table>
                    </td>
                </tr>
                <tr class="list">
                    <th align="left">S.no</th>
                    <th align="left">Course</th>
                    <th align="left">Name</th>
                    <th align="left">Address</th>
                    <th align="left">City</th>
                    <th align="left">Phone No.</th>
                    <th align="left">E-mail</th>
                    <th align="left">Feedback</th>
                    <th align="center">Action</th>
                </tr>
                    <?php
                        $selectForEnquiry="select * from enquiry order by eId desc";
                        $queryForEnquiry=mysql_query($selectForEnquiry);
                        while($fetchForEnquiry=mysql_fetch_array($queryForEnquiry)) {
                            $sno++;
                            if($sno%2==0) {
                                $group='class="list1"';
                            } else {
                                $group='class="list2" ';
                            }
                        ?>
                            <tr <?=$group; ?>>
                                    <td  align="center"><?=$sno; ?></td>
                                    <td><?=$fetchForEnquiry['course']; ?></td>
                                    <td><?=$fetchForEnquiry['name']; ?></td>
                                    <td><?=$fetchForEnquiry['address']; ?></td>
                                    <td><?=$fetchForEnquiry['city']; ?></td>
                                    <td><?=$fetchForEnquiry['phone']; ?></td>
                                    <td><?=$fetchForEnquiry['email']; ?></td>
                                    <td><?=$fetchForEnquiry['feed']; ?></td>
                                    <!--<td><img src="../registration/ImageUpload/<?//=s$fetchForEnquiry['imgName']; ?>" style="width:50px; height:40px;" /></td>-->
                                    <td align="center">
                                        <a href="user_view.php?action=edit&eId=<?=$fetchForEnquiry['eId']; ?>"><img src="../../images/view.png" style="border:0px;" title="View" /></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