Exemplo n.º 1
0
                        $sid = $Arr['sid'];
			$brid = getBranchFromSrno($rno);
			$obrid = getBranchFilter();
			$result=mysql_query("select * from MSTUDENTT where srno='$rno'");
		        $rownum=mysql_num_rows($result);

			if($rownum<=0)
			{
				notifyerr("Invalid Hallticket Number");
			}
			else
			{
			    if($obrid=='%' || $brid==$obrid)
			    {
				echo " <div id='placeholder' style='width:500px;height:300px'></div>
				 <p id='hoverdata'> <span id='clickdata'></span></p>";
				 echo  getStuGraph($sid,strtotime($datein),strtotime($dateout));
			        echo getStuReport($sid,strtotime($datein),strtotime($dateout),-1);
			    }
			    else
				notifyerr("The Student Does Not Correspond To The Branch Concerned With You!");
			}
			
                    }
                ?>
            </div>
            </center>
        </fieldset>
    </body>
</html>
Exemplo n.º 2
0
<?php
    include_once("../lib/lib.php");
    include_once("../lib/connection.php");
    $sid = $_GET['sid'];
    $datein = $_GET["datein"];
    $dateout = $_GET['dateout'];
    $pid = $_GET['pid'];
    
    echo "<center>".getStuReport($sid,$datein,$dateout,$pid)."</center>";
?>