D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
diafrica
/
result.dominicaninstitute.org
/
Filename :
managesession.php
back
Copy
<?php if (!$_SESSION){ session_start(); } $acc=$_SESSION['acc']; $yto=$_SESSION['yto']; if(isset($acc) && ($acc=="administratoroftheduresult2018byto")){?> <?php include("Connecter/dataconn.php"); ?> <?php include("checkforpending2.php"); ?> <?php include("checkforpending.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=utf-8" /> <?php include("head.php"); ?> <script> function byto() { var mySession = document.getElementById('session').value; var ses = 1; ses = parseInt(mySession); ses = ses + 1; if(isNaN(ses)){ document.getElementById('session2').value = ''; } else { document.getElementById('session2').value = ses; } } function isNumber(evt) { evt = (evt) ? evt : window.event; var charCode = (evt.which) ? evt.which : evt.keyCode; if (charCode > 31 && (charCode < 48 || charCode > 57)) { return false; } return true; } </script> </head> <body> <?php include("top.php"); ?> <?php include("dtable0.php"); ?> <?php include("nav.php"); ?> <?php include("dtable1.php"); ?> <?php include("topcontainer.php"); ?> <!--Content Goes Here--> <div class="headingbiggest">Manage Session</div> <hr /> <?php if(isset($jkjk)){ echo("<p align='center' style='color:#ff0000'>".$jkjk."</p>"); } else { ?> <p align="center">This is for editing/managing existing session. Please, ensure that the session you want to manage exists. Enter the session you want to manage below:</p> <?php } ?> <form action="managedsession.php" method="post" name="form1" id="form1"> <table width="100%"> <tr valign="top"><td width="150" style="font-weight:bold; text-align:right">Session:</td> <td style="font-size:9px;"><input name="session" id="session" size="2" type="text" maxlength="4" onkeyup="byto()" onkeypress="return isNumber(event)" onchange="byto()" /> <span style="font-weight:bold; font-size:16px;">/</span> <input name="session2" id="session2" size="2" type="text" maxlength="4" readonly="readonly" /></td></tr> <tr valign="top"> <td style="text-align:right; font-size:10px;" colspan="2"><a href="dadmin.php">Cancel</a> <input name="managesession" type="submit" id="managesession" value=" Manage Session " /> </td> </tr> </table> </form> <!--Content Ends Here--> <?php include("bottomcontainer.php"); ?> <?php include("dtable2.php"); ?> <?php include("side.php"); ?> <?php include("dtable3.php"); ?> <?php include("foot.php"); ?> </body> </html> <?php } else { include("ddadmin.php"); }?>