| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/rsdgroup/adminPanel/date_picker/ |
Upload File : |
<?php
include("include/conf/conf.php");
include("include/conf/fucts.php");
$masterList=MasterPagedata("tbl_master_pages",'2');
$imgList=GetSilderImg("tbl_slider");
$newsList=GetNews_Events("tbl_news","news");
$eventsList=GetEvents("tbl_news","events");
$s=0;
while($s<count($imgList))
{
$de .= "'".$imgList[$s]['slider']."'".",";
$s++; }
$res=mysql_query("select * from tbl_media order by mediaId desc limit 0,1");
$rows=mysql_fetch_array($res);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Home</title>
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" />
<script src='FLVPLAYER/OSFlvPlayer_v4.2/AC_RunActiveContent.js' language='javascript'></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<link type="text/css" rel="stylesheet" href="js/video_popup/Style.css" />
<script type="text/javascript" language="javascript" src="js/video_popup/model-popup.js"></script>
<script type="text/javascript" language="javascript">
var $k=jQuery.noConflict();
$k(document).ready(function()
{
$k(".lnkPopups").click(function()
{
$k("div.popupDiv").Init(
{
closeButtonCSS:"lnkClose"
});
});
});
</script>
<script>
jQuery(document).ready(function()
{
jQuery(document)[0].oncontextmenu = function() {
alert("Right Click is not allowed for this site");
return false;}
});
</script>
<script>
$(document).ready(function(){
$("div").click(function(){
$("*").each(function () {
$(this).text($(this).text().replace('z-index:','Name:'));
});
});
</script>
<link rel="stylesheet" type="text/css" href="css/bkgslide.css">
<script type="text/javascript" src="js/jquery-1.js"></script>
<script type="text/javascript" src="js/jquery1.js"></script>
<link type="text/css"
href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/redmond/jquery-ui.css" rel="stylesheet" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/youtube_popup.js"></script>
<script type="text/javascript">
$(function () {
$("a.youtube").YouTubePopup({ autoplay: 0 });
});
</script>
<script type="text/javascript">
var gr=document.getElementById("chl");
var images = [ <?php echo "$de"; ?> ];
var imgPath = 'siteupload';
$(document).ready(function(){
$('#holder').bkgSlide({
images : images, // list of images to use
imagePath : imgPath, // path where to find the images
speed : 3000, // time in milliseconds between two image changes, 0 to disable autoplay
direction : 'random', // direction for autoplay ('random' / 'next' / 'prev')
wrap : true, // whether or not to wrap when reaching one end of the images list
nav : true, // whether ot not to setup navigation handlers
// ( true or 'all' for all buttons
// or an array with wanted options in the order you want them :
// [ 'prev', 'list', 'next', 'toggle' ]
// or a string with a single option )
stopOnNav : false, // whether or not to stop autoplay when using the navigation handlers
width : 'auto', // width of the background images containers ('auto' will get it from target)
height : 309, // height of the background images containers ('auto' will get it from target)
containersClass : '', // class to add to the containers
effect : 'fadeOut', // what kind of effect to use for transitions ('fadeOut' / 'slideUp' / 'hide')
duration : 500, // duration of the transition
afterInit : function(target, bkgSlider){} // callback function launched after initialization
});
});
</script>
<script language="javascript" src="js/rounded.js"></script>
<script language="javascript">
function selectclass(tab_id)
{
document.getElementById('Page1_li').className="";
document.getElementById('Page1_tab_data').style.display="none";
document.getElementById('Page2_li').className="";
document.getElementById('Page2_tab_data').style.display="none";
document.getElementById(tab_id+"_li").className="active";
document.getElementById(tab_id+"_tab_data").style.display="block";
}
</script>
<script type="text/javascript" src="js/stepcarousel.js"></script>
<script type="text/javascript" src="js/chrome.js"></script>
</head>
<body>
<div class="wrapper">
<!--Header Count Start Here-->
<div class="HeaderCount">
<!--Logo Count Start Here-->
<?php include("include/header_footer/header.php"); ?>
<!--Logo Count End Here-->
<!--Navigation Count Start Here-->
<?php include("include/header_footer/menu.php"); ?>
<!--1st drop down menu -->
<!--1st drop down menu -->
<div id="dropmenu1" class="dropmenudiv">
<a href="report_analysis.html">Report Analysis</a>
<a href="interpretation.html">Interpretation</a>
<a href="training_packages.html">Training Packages</a>
</div>
<!--2st drop down menu -->
<!--1st drop down menu -->
<div id="dropmenu2" class="dropmenudiv">
<a href="our_credo.html">Our Credo</a>
<a href="our_presence.html">Our Presence</a>
</div>
<!--3st drop down menu -->
<!--1st drop down menu -->
<div id="dropmenu3" class="dropmenudiv">
<a href="sprout.html">Sprout</a>
<a href="blossom.html">Blossom</a>
<a href="crescendo.html">Crescendo</a>
<a href="star.html">Star</a>
<a href="integrate.html">Integrate</a>
<a href="harmony.html">Harmony</a>
<a href="crest.html">Crest</a>
</div>
<!--4st drop down menu -->
<!--1st drop down menu -->
<div id="dropmenu4" class="dropmenudiv">
<a href="dermatoglyphics.html">Dermatoglyphics</a>
<a href="multiple_intelligence.html">Multiple Intelligence</a>
</div>
<script type="text/javascript">
cssdropdown.startchrome("chromemenu")
</script>
<form name="form1" id="form1">
<input name="image1" type="hidden" id="chl" value="sdjfsduf">
</form>
<!--Navigation Count End Here-->
</div>
<!--Header Count End Here-->
<!--Header Banner Count Start Here-->
<div class="HeaderCount1 fl">
<div class="HeaderBanner">
<!--<div class="image_gallery"></div>-->
<div style="position: relative; background-image: none; background-color: transparent; background-repeat:no-repeat" id="holder"></div>
<!--Banner End-->
</div>
</div>
<!--Header Banner Count End Here-->
<!--Middle Count Start Here-->
<div class="MiddleCount fl">
<div class="MiddleCount1">
<!--Circle Count Start Here-->
<div class="CircleCount fl">
<div class="CircleBox fl" align="center" style="padding-top:35px; padding-bottom:39px;"><a href="benefits.php?page=benefits_for_schools_parents">Benefits <br>
for
Parents
& <br>
Institutions </a></div>
<div class="CircleBox fl" align="center" style="padding-top:35px; padding-bottom:39px;"><a href="benefits.php?page=benefits_for_couples">Benefits<br>
for <br>
Couples</a> </div>
<div class="CircleBox fl" align="center" style="padding-top:35px; padding-bottom:39px;">
<a href="benefits.php?page=benefits_for_an_individual "> Benefits<br>
for an <br>
Individual </a> </div>
<div class="CircleBox fl" align="center" style="padding-top:35px; padding-bottom:39px;"><a href="benefits.php?page=benefits_for_corporate">Benefits <br>
for <br>
Corporate</a> </div>
<div class="CircleBox fl" style="margin:0px; padding-top:35px; padding-bottom:39px;" align="center"><a href="benefits.php?page=benefits_for_franchisee"> Benefits <br>
for <br>
Franchisee</a> </div>
</div>
<!--Circle Count End Here-->
<!--About Count Start Here-->
<div class="AboutCount fl">
<div class="AboutBox fl">
<h1><?php echo $masterList[0]['masterTitle']; ?></h1>
<p> <?php echo substr($masterList[0]['masterDescription'],0,340); ?> </p>
<div class="AboutBox_link fl" align="right"> <a href="about_us.php"><span style="color:#0CA6DE">Read More</span></a> </div>
</div>
<div class="AboutBox fl">
<h1>Latest Video</h1>
<p> <?php echo $rows['title'];
$url=$rows['link'];
function getYouTubeIdFromURL($url)
{
$url_string = parse_url($url, PHP_URL_QUERY);
parse_str($url_string, $args);
return isset($args['v']) ? $args['v'] : false;
}
$video_id = getYouTubeIdFromURL($url);
?> </p>
<div class="VideoBox fl">
<div class="VideoBox_top fl">
<?php if($rows['mediaType']=="Link") { ?>
<a class="youtube" href="#" rel="<?=$video_id?>" title="Play Video">
<img src="http://img.youtube.com/vi/<?=$video_id?>/0.jpg" height="132" width="220"/>
</a>
<?php } if($rows['mediaType']=="Video") { ?>
<img src="mediaupload/<?php echo $rows['thumbnail']; ?>" class="lnkPopups" height="132" width="220" border="0" alt="" title="">
<div class="popupDiv">
<script language='javascript'>
AC_FL_RunContent('codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0', 'width', '400', 'height', '390', 'src', ((!DetectFlashVer(9, 0, 0) && DetectFlashVer(8, 0, 0)) ? 'OSplayer' : 'OSplayer'), 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'id', 'flvPlayer', 'allowFullScreen', 'true', 'allowScriptAccess', 'always', 'movie', ((!DetectFlashVer(9, 0, 0) && DetectFlashVer(8, 0, 0)) ? 'OSplayer' : 'FLVPLAYER/OSFlvPlayer_v4.2/OSplayer'), 'FlashVars', 'movie=../../mediaupload/<?php echo $rows['description']; ?>&btncolor=0x333333&accentcolor=0x31b8e9&txtcolor=0xdddddd&volume=30&autoload=on&autoplay=off&vTitle=Super Mario Brothers Lego Edition&showTitle=yes');
</script>
<div class="close">
<a class="lnkClose" onClick="window.location.href='index.php'"><img src="js/video_popup/small-closelabel.gif" /></a></div>
</div> <?php } ?>
<!-- <img src="images/video_img.jpg" border="0" alt="" title="">--></div>
</div>
<div class="VideoBox_bot fl"> <img src="images/shadow_video.png" border="0" alt="" title=""> </div>
</div>
<div class="AboutBox fl" style="margin:0px; padding-bottom:5px;">
<div class="TabBox_nav fl"style="background-image:none;">
<ul>
<li class="active" id="Page1_li"><a onclick="selectclass('Page1')" href="#javascript:void(0)" >News </a></li>
<li id="Page2_li"><a onclick="selectclass('Page2')" href="#javascript:void(0)">Events </a></li>
</ul>
</div>
<div class="cl" id="Page1_tab_data">
<?php
$y=0;
while($y<count($newsList))
{
$dates_news=$newsList[$y]['updatedOn'];
$dis_news=$newsList[$y]['newsDescription'];
$str=strtotime($dates_news);
$exp_data=date('y-M-d',$str);
$exploded_data=explode("-",$exp_data);
$exploded_data[1];
?>
<div class="TabBox fl">
<div class="TabBox_left fl"> <?php echo $exploded_data[1]; ?><br>
<span><?php echo $exploded_data[2]; ?></span><br>
<?php echo $exploded_data[0]; ?></div>
<div class="TabBox_mid fl" > <?php echo strip_tags(substr($dis_news,0,100));//$newtext = wordwrap(strip_tags($dis_news),30,"<br />\n",TRUE); echo "$newtext\n"; ?> </div>
<div class="TabBox_right fl"> <a href="news.php"><img src="images/tab_arrow.png" border="0" alt="" title=""></a> </div>
</div>
<?php $y++; } ?>
<div class="AboutBox_link1 fl" align="right" style="padding-top:5px;"> <a href="news.php">Read more <span>news</span></a> & <a href="events.php"><span >events <img src="images/arrow.png" style="margin-bottom:1px;"></span></a> </div>
</div>
<div class="cl" id="Page2_tab_data">
<?php
$d=0;
while($d<count($eventsList))
{
$dates_events=$eventsList[$d]['updatedOn'];
$des_events=$eventsList[$d]['newsDescription'];
$str1=strtotime($dates_events);
$exp_data1=date('y-M-d',$str1);
$exploded_data1=explode("-",$exp_data1);
?>
<div class="TabBox fl">
<div class="TabBox_left fl"><?php echo $exploded_data1[1]; ?><br>
<span><?php echo $exploded_data1[2]; ?></span><br>
<?php echo $exploded_data1[0]; ?> </div>
<div class="TabBox_mid fl"> <?php echo strip_tags(substr($des_events),0,50);//$newtext1 = wordwrap(strip_tags($des_events),70,"<br />\n",TRUE); echo "$newtext1\n"; ?> </div>
<div class="TabBox_right fl"> <a href="events.php"><img src="images/tab_arrow.png" border="0" alt="" title=""></a> </div>
</div>
<?php $d++; } ?>
<div class="AboutBox_link1 fl" align="right" style="padding-top:5px;"> <a href="news.php">Read more <span>news</span></a> & <a href="events.php"><span>events<img src="images/arrow.png" style="margin-bottom:1px;"></span></a> </div>
</div>
</div>
</div>
<!--About Count End Here-->
</div>
</div>
<!--Middle Count End Here-->
<!--Footer Count Start Here-->
<?php include("include/header_footer/footer.php"); ?>
<!--Footer Count End Here-->
</div>
</body>
<script language="javascript">
selectclass('Page1');
</script>
</html>