| Current Path : /var/www/html/abhishek/bkp230713/ |
| Current File : /var/www/html/abhishek/bkp230713/index.php |
<?php
error_reporting(0);
include_once("includes/common.php");
$func_ary=array("main_page","int_journal","nat_conf","edited_books","conferences","int_conf_att","nat_conf_att"
,"tr_wrk_att","sem_conf_org","projects","supervision","academics","visits","visit_int","visit_nat","awards","ongoing","patents","activity","students","teaching","gallery","contact","publications","visitor","visitors_comment","mtech_students","ms_students","phd_students","resources","posters","about_us","research","research_meet","lab","satyaPrakash","preetishRanjan","nitishKumar","pinkiKumari"
);
if(fe($_REQUEST["act"]))
{
$_REQUEST[act]($_REQUEST["msg"]);
die();
}
main_page($_REQUEST[msg]);
die();
##############################
function main_page($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","home.htm");
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"),$visit);
}
#########################################
function visitors_comment($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","visitors_comment.html");
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
##############################
function mtech_students($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","mtech_students.html");
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
##############################
function ms_students($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","ms_students.html");
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
##############################
function phd_students($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","phd_students.html");
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
##############################
function resources($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","resources.html");
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
##############################
function int_journal($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","int_journal.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
#########################################
function nat_conf($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","nat_conf.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
#########################################
function edited_books($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","edited_books.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function conferences($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","conferences.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function int_conf_att($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","int_conf_att.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function nat_conf_att($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","nat_conf_att.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function tr_wrk_att($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","tr_wrk_att.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function sem_conf_org($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","sem_conf_org.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function supervision($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","supervision.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function academics($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","academics.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function visits($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","visits.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function projects($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","projects.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function visit_int($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","visit_int.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function visit_nat($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","visit_nat.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function awards($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","awards.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function ongoing($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","ongoing.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function patents($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","patents.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function activity($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","activity.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function students($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","students.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function teaching($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","teaching.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function gallery($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","gallery.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function contact($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","contact.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function publications($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","publications.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
########################################
function visitor($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","visitors.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
##############################
function posters($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","posters.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
##############################
function about_us($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","about_us.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
##############################
function research($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","research.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
function research_meet($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","research_meet.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
function lab($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","lab.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
function satyaPrakash($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","satyaPrakash.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
function preetishRanjan($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","preetishRanjan.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
function nitishKumar($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","nitishKumar.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
function pinkiKumari($msg="")
{
$t = new Template("templates");
$t->set_file("MyFileHandle","pinkiKumari.html");
$t->set_var(array( "msg"=>urldecode($msg)));
$t->parse("MyOutput","MyFileHandle");
parse_index($t->get("MyOutput"));
}
?>