예제 #1
0
\t\t\t\t\t<tbody>\t\t\t\t\t\t\t
a;
            echo $tr;
            echo "</tbody></table>";
            echo <<<a
\t\t\t<form action='print.php' method='post' name='abc'>
\t\t\t<input type='hidden' name='Title1' value="{$branch} Period Wise Report">
\t\t\t<input type='hidden' name='Table1' value='{$html}'>
\t\t<center><button type="submit" class="btn btn-primary"><i class='icon-download-alt'></i>&nbsp;&nbsp;Save as PDF</button></center>
\t\t\t</form>
a;
            echo <<<b
\t\t\t<form action='excel.php' method='post' name='abc'>
\t\t\t<input type='hidden' name='Title1' value="{$branch} _Period_Wise_Report">
\t\t\t<input type='hidden' name="sheet" value='{$html}'>
\t\t<center><button type="submit" class="btn btn-primary"><i class='icon-download-alt'></i>&nbsp;&nbsp;Save as Excel Sheet</button></center>
\t\t\t</form>
b;
            echo "</div> </div> </div> ";
            display_footer();
            echo "\n</body>\n</html>";
            @mysql_close($con);
        } else {
            echo "Subject not Found";
        }
    }
}
generate_attendance('Attendance Portal - Subjects Report');
?>

예제 #2
0
\t\t\t</form>
a;
                    echo <<<b
\t\t\t<form action='excel.php' method='post' name='abc'>
\t\t\t<input type='hidden' name='Title1' value="{$branch} {$class} - Time Table Report">
\t\t\t<input type='hidden' name="sheet" value='{$html}'>
\t\t<center><button type="submit" class="btn btn-primary"><i class='icon-download-alt'></i>&nbsp;&nbsp;Save as Excel Sheet</button></center>
\t\t\t</form>
b;
                }
                echo <<<a
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t
a;
                echo "</div> </div> ";
                display_footer();
                echo "\n</body>\n</html>";
                @mysql_close($con);
            } else {
                echo "<script type='text/javascript'>document.location.href='404.php';</script>";
            }
        } else {
            noservice();
        }
    }
}
generate_attendance('Attendance - Class - Time Table');
?>

예제 #3
0
\t\t<h5>All Students are : </h5>
\t\t<label class="radio inline">
\t\t\t<input type="radio" id="All_Abs" name="all" onchange="fill_rnos('Abs',{$cls});"> Absents 
\t\t</label>
\t\t<label class="radio inline">
\t\t\t<input type="radio"  id="All_Pre" name="all"  onchange="fill_rnos('Pre',{$cls});"> Presents 
\t\t</label>
\t\t<br><br>
\t\t<div id="absn">
\t\t
\t\t<h6>or </h6>
\t\t<h5>Less Ones : </h5>
\t\t
\t\t<label class="radio inline">
\t\t\t<input type="radio"  value="Absents" name="Less" id="Less_Abs"> Absents 
\t\t</label>
\t\t<label class="radio inline">
\t\t\t<input type="radio"  value="Presents" name="Less" id="Less_Pre"> Presents 
\t\t</label>
\t\t<br><br>
\t\t</div>
\t\t<textarea class="span8" style="resize: vertical; height: 90px;" placeholder="List Roll Numbers here ..." name="RNos" id="RNos"></textarea>
\t\t
\t\t<br><br><input type="submit" class="btn btn-primary" name="Generate" value="Generate &darr;"  />
\t</div>
\t<br>
\t</form>
a;
}
generate_attendance('Attendance');
예제 #4
0
                                    }
                                    echo <<<a
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
a;
                                } else {
                                    echo "</div><br><h6><span class='text-error'><br><br><br>No Submissions found till now ...</span></h6><br>";
                                }
                                echo "</div></div>";
                                display_footer();
                                echo "\n</body>\n</html>";
                                @mysql_close($con);
                            }
                        }
                    }
                } else {
                    display_error("Error : Invalid date");
                }
            } else {
                display_error("Error : Invalid input pattern");
            }
        } else {
            display_error("Error : Invalid no. of input arguments ");
        }
    }
}
generate_attendance('Attendance Portal - Daily Attendance ');
?>

예제 #5
0
\t\t\t<form action='excel.php' method='post' name='abc'>
\t\t\t<input type='hidden' name='Title1' value="{$branch} {$class} - Daily Report">
\t\t\t<input type='hidden' name="sheet" value='{$html}'>
\t\t<center><button type="submit" class="btn btn-primary"><i class='icon-download-alt'></i>&nbsp;&nbsp;Save as Excel Sheet</button></center>
\t\t\t</form>
b;
                    }
                    echo <<<a
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t
a;
                } else {
                    echo "<br><h6><span class='text-error'><br><br><br>No Submissions found till now ...</span></h6><br></div>";
                }
                echo "</div> </div> ";
                display_footer();
                echo "\n</body>\n</html>";
                @mysql_close($con);
            } else {
                echo "<script type='text/javascript'>document.location.href='404.php';</script>";
            }
        } else {
            noservice();
        }
    }
}
generate_attendance('Attendance - Today');
?>

예제 #6
0
\t\t<h5>All Students are : </h5>
\t\t<label class="radio inline">
\t\t\t<input type="radio" id="All_Abs" name="all" onchange="fill_rnos('Abs',{$cls});"> Absents 
\t\t</label>
\t\t<label class="radio inline">
\t\t\t<input type="radio"  id="All_Pre" name="all"  onchange="fill_rnos('Pre',{$cls});"> Presents 
\t\t</label>
\t\t<br><br>
\t\t<div id="absn">
\t\t
\t\t<h6>or </h6>
\t\t<h5>Less Ones : </h5>
\t\t
\t\t<label class="radio inline">
\t\t\t<input type="radio"  value="Absents" name="Less" id="Less_Abs"> Absents 
\t\t</label>
\t\t<label class="radio inline">
\t\t\t<input type="radio"  value="Presents" name="Less" id="Less_Pre"> Presents 
\t\t</label>
\t\t<br><br>
\t\t</div>
\t\t<textarea class="span8" style="resize: vertical; height: 90px;" placeholder="List Roll Numbers here ..." name="RNos" id="RNos"></textarea>
\t\t
\t\t<br><br><input type="submit" class="btn btn-primary" name="Generate" value="Generate &darr;"  />
\t</div>
\t<br>
\t</form>
a;
}
generate_attendance('Attendance Portal - Generate Attendance');
예제 #7
0
                        $tot['A'] += $ac;
                        $tot['P'] += $pc;
                        echo <<<a
\t\t\t\t\t\t<td style="text-align:center;" class="text-success"><b> {$pc} </b> </td> 
\t\t\t\t\t\t<td style="text-align:center;" class="text-error"><b> {$ac} </b></td>  
\t\t\t\t\t</tr>
\t\t\t\t\t
a;
                    }
                    echo "<tr><td colspan=6 style='text-align:center;'><b>Total</b></td><td style='text-align:center;' class='text-success'><b>" . $tot['P'] . "</b></td><td style='text-align:center;' class='text-error'><b>" . $tot['A'] . "</b></td></tr>";
                    echo "</tbody></table>";
                    echo "<center><button type='submit' name='submit' class='btn btn-primary'><i class='icon-upload'></i>&nbsp;&nbsp;Update Now </button></center></form>";
                    echo "</div></div>";
                } else {
                    echo "<br><h6><span class='text-error'><br><br><br>No Submissions found till now ...</span></h6><br></div>";
                }
                display_footer();
                echo "\n</body>\n</html>";
                @mysql_close($con);
            } else {
                echo "<script type='text/javascript'>document.location.href='404.php';</script>";
            }
        } else {
            noservice();
        }
    }
}
generate_attendance('Attendance - Edit');
?>

예제 #8
0
</table>
a;
            if ($row['Position'] == "BA") {
                echo <<<a
\t\t\t<form action='print.php' method='post' name='abc'>
\t\t\t<input type='hidden' name='Title1' value="{$branch} {$class} - Daily Report">
\t\t\t<input type='hidden' name='Table1' value='{$html}'>
\t\t<center><button type="submit" class="btn btn-primary"><i class='icon-download-alt'></i>&nbsp;&nbsp;Save as PDF</button></center>
\t\t\t</form>
a;
                echo <<<b
\t\t\t<form action='excel.php' method='post' name='abc'>
\t\t\t<input type='hidden' name='Title1' value="{$branch} {$class} - Daily Report">
\t\t\t<input type='hidden' name="sheet" value='{$html}'>
\t\t<center><button type="submit" class="btn btn-primary"><i class='icon-download-alt'></i>&nbsp;&nbsp;Save as Excel Sheet</button></center>
\t\t\t</form>
b;
            }
            echo "</div> </div> </div> ";
            display_footer();
            echo "\n</body>\n</html>";
            @mysql_close($con);
        } else {
            echo "<script type='text/javascript'>document.location.href='404.php';</script>";
        }
    }
}
generate_attendance('Attendance Portal - Period Report');
?>