0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.138.204.147


Current Path : /proc/thread-self/root/var/www/html/demo/qptran/
Upload File :
Current File : //proc/thread-self/root/var/www/html/demo/qptran/_userfunctions.php

<?php require_once('header.php'); ?>
<style type="text/css">
<!--
.style22 {color: #FFFFFF; font-weight: bold; font-size: 14px; }
.style33 {
	font-size: 18px;
	font-weight: bold;
}
.style35 {
	color: #000000;
	font-weight: bold;
	font-size: 14px;
	font-family: Georgia, "Times New Roman", Times, serif;
}
.style36 {color: #000000}
.style37 {font-family: Georgia, "Times New Roman", Times, serif}
.style38 {color: #000000; font-family: Georgia, "Times New Roman", Times, serif; }
-->
</style>
<div class="cont">
<p>&nbsp;</p>
<?
$id1=$_SESSION['SESS_MEMBER_ID'];
//echo"ID :".$id1;
?>
 <p align="center"><font size=4 face="Georgia, Times New Roman, Times, serif" color="#000000"><strong>DOWNLOAD QUESTION PAPERS</strong></font></p>
 <table width="800" border="0" align="center" cellpadding="4" cellspacing="1">
    <tr>
	  <td width="649"><a href="send_info_sheet.php">Send Information Sheet</a></td>
      <td width="79" height="36" style="padding-left:5px;"><a href="adminfunction.php"></a></td>
       <td width="44" height="36"  style="padding-left:5px;"><a href="logout.php">Logout</a></td>
	</tr>
</table>


<?
include('link.php');
$query123="SELECT * FROM usertable WHERE id='$id1'";
$result123=mysql_query($query123) or die("Query Failed".mysql_error());
$num123=mysql_num_rows($result123);
if($num123 != 0)
{ 
while($row123=mysql_fetch_array($result123,MYSQL_ASSOC))
{
?>	  
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
 <tr>
  <td width="121"  height="36"  style="padding-left:5px;"><div align="center" class="style22 style36 style37">
    <div align="left"><font style="padding-left:5px;">
      College Name</font> : </div>
  </div></td>
  <td width="660" height="36"  style="padding-left:5px;"><div align="center" class="style38">
    <div align="left"><font size="2" style="padding-left:5px;">
      <?=$row123{'collegename'}; ?>
      </font></div>
  </div></td>
 </tr>
<!--  <tr> 
  <td width="121"  height="36"  style="padding-left:5px;"><div align="center" class="style35">
    <div align="left"><font style="padding-left:5px;">Location</font> : </div>
  </div></td>
  <td width="660" height="36"  style="padding-left:5px;"><div align="center" class="style38">
    <div align="left"><font size="2" style="padding-left:5px;">
      <?=$row123{'location'}; ?>
      </font></div>
  </div></td> 
 </tr>   -->
</table>
<?php
 }
}
?>
</table> 

<?
include('link.php');
$query="SELECT * FROM qptable WHERE status='enable' ORDER BY qdate DESC,qsession ASC";
$result=mysql_query($query) or die("Query Failed".mysql_error());
$num=mysql_num_rows($result);
if($num != 0)
{ 
?>  	  
<table width="800" border="0" align="center" cellpadding="4" cellspacing="1" bordercolor="#999999" bgcolor="#999999">
 <tr>
  <td width="104"  height="36" bgcolor="000080"  style="padding-left:5px;"><div align="center" class="style22"><font style="padding-left:5px;">Date</font></div></td>
  <td width="107"  height="36" bgcolor="000080"  style="padding-left:5px;"><div align="center" class="style22"><font style="padding-left:5px;">Session</font></div></td>
  <td  height="36" bgcolor="000080"  style="padding-left:5px;"><div align="center" class="style22"><font style="padding-left:5px;">Download Here</font></div></td>
  <td width="150"  height="36" bgcolor="000080"  style="padding-left:5px;"><div align="center" class="style22">
    <div align="center"><font style="padding-left:5px;">I Password</font></div>
  </div></td>
  <td width="150"  height="36" bgcolor="000080"  style="padding-left:5px;"><div align="center" class="style22">
    <div align="center"><font style="padding-left:5px;">II Password</font></div>
  </div></td>	  
 </tr>  
<?php
while($row=mysql_fetch_array($result,MYSQL_ASSOC))
{
?>	  
 <tr>
  <td width="104" height="36" bgcolor="#f4f2f3"  style="padding-left:5px;"><div align="center"><font size="2" style="padding-left:5px;">
    <?=$row{'qdate'}; ?>
  </font></div></td>
  <td width="107" height="36" bgcolor="#f4f2f3"  style="padding-left:5px;"><div align="center"><font size="2" style="padding-left:5px;">
    <?=$row{'qsession'}; ?>
  </font></div></td>
  <td width="243" height="36" bgcolor="#f4f2f3"  style="padding-left:5px;"><div align="center">
    <font size="2" style="padding-left:5px;"><a href="admin/attach-files/<?=$row{'qpaper'}; ?>"><?=$row{'qpaper'}; ?></a></font></div></td>
  <td width="150" height="36" bgcolor="#f4f2f3"><div align="center"><font size="2" face="Trebuchet MS"><?=$row{'password1'}; ?></font></div></td>
  <td width="150" height="36" bgcolor="#f4f2f3"><div align="center"><font size="2" face="Trebuchet MS"><?=$row{'password2'}; ?></font></div></td>
</tr> 

<?php
}
?>
</table> 

<?
include('link.php');
$query2="SELECT * FROM footnote WHERE status='enable' ORDER BY footnote_title ASC";
$result2=mysql_query($query2);
while($noticia = mysql_fetch_array($result2))
{
?>
<table width="800" border="0" align="center" cellpadding="4" cellspacing="1" bordercolor="#999999" bgcolor="#999999">
 <tr>
  <td bgcolor="#f4f2f3"  style="padding-left:5px;"><div align="center"><font size="2" style="padding-left:5px;">
  <textarea type="text" name="footnote_content" rows="25" cols="125" value="<?= $noticia['footnote_content'] ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" />
<?= $noticia['footnote_content'] ?></textarea>
  
  </font></div></td>
 </tr>
</table> 

<p>
  <?
}
?>
</p>
<p>
  
  <?
}
else
{
?>
</p>
<table width="600" height="100" border="0" align="center" cellpadding="2" cellspacing="1">
<tbody>
<tr>
<td class="Display_msg">
  <div align="center" class="style33">Question Papers not yet uploaded.</div></td>
 </tr>
</tbody>
</table>

<p>
  <?
}
?>
</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

</div>
<? include("footer.php"); ?>