kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
bioav.co.in
/
bioadmin
/
Upload FileeE
HOME
<?php session_start(); require_once("../includes/settings.php"); require_once("../includes/database.php"); require_once("../includes/classes/db.cls.php"); require_once("../includes/classes/sitedata.cls.php"); require_once("includes/functions/common.php"); require_once("../includes/classes/Admin.cls.php"); require_once("../includes/classes/Faculties.cls.php"); loginValidate(); $db = new SiteData(); $adminObj = new Admin(); $fObj = new Faculties(); $_curpage = currentPage(); $_SESSION[SES]['curpage'] = currentURL(); ?> <!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=utf-8" /> <title><?=PAGE_TITLE?> :: ADMIN PANEL</title> <link rel="stylesheet" type="text/css" href="styles/admin.css" /> <link rel="stylesheet" type="text/css" href="styles/common.css" /> <script type='text/javascript' src='js/jquery.min.js'></script> <script type='text/javascript' src='js/common.js'></script> <script type='text/javascript' src='js/fac_validation.js'></script> </head> <body> <?php getMessage();?> <div class="bodydiv"> <table width="100%" border="1" bordercolor="#999999" cellpadding="0" cellspacing="0" class="bodytable"> <tr> <td colspan="2" valign="middle"><?php require_once("includes/header.php"); ?></td> </tr> <tr> <td align="center" valign="top" width="170"><?php require_once("includes/column_left.php"); ?> </td> <td align="left" valign="top"><div class="maincontent"> <?php if ($_GET[act] == "del") { $delid = $_GET[delid]; $sql_del = mysql_query("delete from tbl_partner_application where id= " . $delid . ""); $msg = "Record Deleted Successfully."; print "<script>"; print "self.location = 'partner_application.php?msg=$msg';"; print "</script>"; } $c_sql = mysql_query("select * from tbl_partner_application order by id desc"); $total = mysql_num_rows($c_sql); ?> <div class="content_header"> <div class="heading flleft">Manage Magazine Form</div> <div class="clear"></div> </div> <div class="bodycontent"> <?php if($_GET['msg']!=''){ ?> <div style="text-align:center; color: red;"><?php echo $_GET['msg'];?></div> <?php } if($total>0) { ?> <form action="StaffAction.php" method="post"> <input type="hidden" name="act" value="sort" /> <table width="99%" border="1" bordercolor="#CCCCCC" cellspacing="0" cellpadding="3" align="center" class="datagrid" id="pagetable"> <thead> <tr> <th width="29" align="center">S.N.</th> <th width="149" align="left">Company</th> <th width="168" align="left">Website</th> <th width="87" align="left">Engineers No</th> <th width="176" align="left">Contact Person</th> <th width="134" align="left">Email</th> <th width="89" align="left">Contact No</th> <th width="77" align="left">Date</th> <th colspan="2" align="center">Actions</th> </tr> </thead> <tbody> <?php $i = 1; $city_sql = mysql_query("select * from tbl_partner_application order by id desc"); while ($row = mysql_fetch_array($city_sql)) { ?> <tr> <td align="center"><?php echo $i;?></td> <td align="left"><?php echo $row['company'];?></td> <td align="left"><?php echo $row['website'];?></td> <td align="left"><?php echo $row['engineers'];?></td> <td align="left"><?php echo $row['contact_person'];?></td> <td align="left"><?php echo $row['email'];?></td> <td align="left"><?php echo $row['mobile'];?></td> <td align="left"><?php echo $row['date'];?></td> <td align="center" width="39"><a href="view_partner.php?q=view&id=<?php print $row['id'] ?>">View</a></td> <td align="center" width="54"><a href="partner_application.php?act=del&delid=<?php print $row['id'] ?>" onClick="javascript:return confirm('Are you sure to delete ?')"><img border="0" src="images/delete.png" align="Delete" title="Delete" /></a></td> </tr> <?php $i++; } ?> </tbody> </table> </form> <?php } ?> </div> </div></td> </tr> <tr> <td colspan="2" valign="middle"><?php require_once("includes/footer.php"); ?></td> </tr> </table> </div> </body> </html>