Sh3ll
OdayForums


Server : Apache
System : Linux profile 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
User : apache ( 48)
PHP Version : 8.0.28
Disable Function : NONE
Directory :  /var/www/html/venkat/elective-dec2016/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/venkat/elective-dec2016/btechmain.php
<?php
include("sdesign.php");



/*

<?php

mysql_connect("localhost","root","") or die(mysql_error());
  mysql_selectdb("upload") or die(mysql_error());

$quer1=mysql_query("select * from restriction where discipline='$r'") or die("Invalid Accessss !!!");

if($row = mysql_fetch_array( $quer1 ))
{
$ndate=$row['date'];
}

$my_t=date("Y-m-d");




if($my_t>$ndate)
{
$quer3=mysql_query("select * from cha where discipline='$r'") or die("Invalid Access !!!");
$i=1;

while ($row4 = mysql_fetch_array( $quer3 ))
{
$s34[$i]=$row4['elective'];
$i++;
}




$quer2=mysql_query("select * from electivesubmit where rollno='$s'") or die("Invalid Accessedrs !!!");

while ($row4 = mysql_fetch_array( $quer2 ))
{
$e21=$row4['e1'];
$e22=$row4['e2'];
}

$j=1;
$k=1;

while ($i!=$j)
{
if($s34[$j]==$e21 ||$s34[$j]==$e22 )
{
$k++;
}
$j++;
}

if($k!=1)
{
header("location:changestudent.php");
}

}

if($my_t<=$ndate)
{

?><td width="394"><a href="syllabus.php"> Syllabus </a></td>
<?php
}
else
{
?>
<td width="394">Syllabus </td>
<?php
}
?>

</tr>
<tr>
<td>Choose/Edit/View the Electives</td>
<td>:</td>
<td><a href="electives.php"> Choose/Edit/View  <font color="red">(last date is <?php echo $ndate ;?>)</font></a> </td>
</tr>

</table>
</td>
</form>
</tr>
</table>
</center>
<a href="http://localhost/studentmain.php">Click Here for Home<a/>
*/

ZeroDay Forums Mini