hjkhjkjhkhjkgjghjhgjhgjghjhghjghjhgjjnbvnvbnvk
bnmbnmbnhjkhjkhjkhjktyutyutyuytutyutyutyhgjgjghjgjghjguytutyry
/
home
/
anandaob
/
public_html
/
Upload FileeE
HOME
<?php require 'config/config.php'; $xmlcontent = simplexml_load_file('xml/home.xml'); ?> <?php $myfile = fopen("calender/js/data.js", "w"); $txt = "var codropsEvents = {\n"; fwrite($myfile, $txt); require 'config/connection.php'; $events_result = mysqli_query($connection,"SELECT DATE_FORMAT(date, '%m-%d-%Y') as d,title,id FROM events"); while($row = mysqli_fetch_array($events_result)) { $url = '"readmore.php?type=events&id='.$row['id'].'"'; $entry = "'".$row['d']."' : '<span><a href = ".$url.">".$row['title']."</a></span>',\n"; fwrite($myfile,$entry); } $txt = "};\n"; fwrite($myfile, $txt); fclose($myfile); ?> <!doctype html> <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]--> <!--[if IE 7]> <html class="ie7 oldie"> <![endif]--> <!--[if IE 8]> <html class="ie8 oldie"> <![endif]--> <!--[if gt IE 8]><!--> <html class=""> <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- SEO meta --> <meta property=”og:type” content=”Website” /> <meta property=”og:title” content=”Ananda College UAE Wing” /> <meta property=”og:description” content=”The Anandians in UAE, who gathered in 1994 to form “Old Anandians in UAE” under the patronage of Mr. Saliya Senanayake have gone a long distance and formed Ananda College Old Boy’s Association– UAE in 1st of November 2008. This is having the approval from the Main OBA and obtained the formal affiliation to the OBA. The group is now known as Ananda College Old Boys Association United Arab Emirates Wing (ACOBA – UAE Wing).” /> <meta name="keywords" content="ananda college, ananda college colombo, ananda college uae, ananda college old boys, ananda college old boys uae, ananda college uae, ananda uae, ananda college oba uae, ananda college oba uae association, ananda college world wide, ananda college news, ananda college events, ananda college uae events, ananda college oba, ananda college uae website, ananda college oba website, ananda college uae website, ananda college uae web forum, ananda oba united arab emirates, ananda college emirates oba, ananda college united arab emirates old boys, ananda college emirates old boys, ananda college oba maroons nights, ananda college oba maroon nights, ananda college maroon nights uae, ananda college maroon night united arab emirates"> <meta property=”og:image” content=”https://anandaobauae.org/uploads/img/gallery/5f59b3f948048.original.jpg” /> <meta property=”og:url” content=”http://anandaobauae.org/” /> <meta property=”og:site_name” content=”anandaobauae.org” /> <!-- twitter --> <meta name=”twitter:title” content=”Ananda College UAE Wing | ACOBAUAE”> <meta name=”twitter:description” content=”The Anandians in UAE, who gathered in 1994 to form “Old Anandians in UAE” under the patronage of Mr. Saliya Senanayake have gone a long distance and formed Ananda College Old Boy’s Association– UAE in 1st of November 2008. This is having the approval from the Main OBA and obtained the formal affiliation to the OBA. The group is now known as Ananda College Old Boys Association United Arab Emirates Wing (ACOBA – UAE Wing).”> <meta name=”twitter:image” content=”https://anandaobauae.org/uploads/img/gallery/5f59b3f948048.original.jpg”> <meta name=”twitter:site” content=”@USERNAME”> <meta name=”twitter:creator” content=”@USERNAME”> <title>Ananda UAE Wing</title> <link href="css/boilerplate.css" rel="stylesheet" type="text/css"> <link href="css/grid.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" href="img/logo.png"> <link rel="stylesheet" type="text/css" href="calender/css/calendar.css" /> <link rel="stylesheet" type="text/css" href="calender/css/custom_2.css" /> <script src="calender/js/modernizr.custom.63321.js"></script> <link href="css/main_nav.css" rel="stylesheet" type="text/css"> <!-- To learn more about the conditional comments around the html tags at the top of the file: paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ Do the following if you're using your customized build of modernizr (http://www.modernizr.com/): * insert the link to your js here * remove the link below to the html5shiv * add the "no-js" class to the html tags at the top * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build --> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <script src="js/respond.min.js"></script> <script type="text/javascript" src="js/jquery-1.11.0.min.js"></script> <script type="text/javascript" src="js/nav_script.js"></script> <!-- EVENT CALENDER-----> <section class="main"></section> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript" src="calender/js/jquery.calendario.js"></script> <script type="text/javascript" src="calender/js/data.js"></script> <script type="text/javascript"> $(function() { var transEndEventNames = { 'WebkitTransition' : 'webkitTransitionEnd', 'MozTransition' : 'transitionend', 'OTransition' : 'oTransitionEnd', 'msTransition' : 'MSTransitionEnd', 'transition' : 'transitionend' }, transEndEventName = transEndEventNames[ Modernizr.prefixed( 'transition' ) ], $wrapper = $( '#custom-inner' ), $calendar = $( '#calendar' ), cal = $calendar.calendario( { onDayClick : function( $el, $contentEl, dateProperties ) { if( $contentEl.length > 0 ) { showEvents( $contentEl, dateProperties ); } }, caldata : codropsEvents, displayWeekAbbr : true } ), $month = $( '#custom-month' ).html( cal.getMonthName() ), $year = $( '#custom-year' ).html( cal.getYear() ); $( '#custom-next' ).on( 'click', function() { cal.gotoNextMonth( updateMonthYear ); } ); $( '#custom-prev' ).on( 'click', function() { cal.gotoPreviousMonth( updateMonthYear ); } ); function updateMonthYear() { $month.html( cal.getMonthName() ); $year.html( cal.getYear() ); } // just an example.. function showEvents( $contentEl, dateProperties ) { hideEvents(); var $events = $( '<div id="custom-content-reveal" class="custom-content-reveal"><h4>Events for ' + dateProperties.monthname + ' ' + dateProperties.day + ', ' + dateProperties.year + '</h4></div>' ), $close = $( '<span class="custom-content-close"></span>' ).on( 'click', hideEvents ); $events.append( $contentEl.html() , $close ).insertAfter( $wrapper ); setTimeout( function() { $events.css( 'top', '0%' ); }, 25 ); } function hideEvents() { var $events = $( '#custom-content-reveal' ); if( $events.length > 0 ) { $events.css( 'top', '100%' ); Modernizr.csstransitions ? $events.on( transEndEventName, function() { $( this ).remove(); } ) : $events.remove(); } } }); </script> <!--slider--> <link href="css/slider.css" rel="stylesheet" type="text/css" media="all"/> <script type="text/javascript" src="js/jquery.easing.min.js"></script> <script type="text/javascript" src="js/jquery.easy-ticker.js"></script> <!script type="text/javascript" src="js/jquery-1.9.0.min.js"--><!/script--> <script type="text/javascript" src="js/jquery.nivo.slider.js"></script> <script type="text/javascript"> $(window).load(function() { $('#slider').nivoSlider(); }); $(document).ready(function(){ var dd = $('.vticker').easyTicker({ direction: 'up', easing: 'easeInOutBack', speed: 'slow', interval: 4000, height: 'auto', visible: 4, mousePause: 0, controls: { up: '.up', down: '.down', toggle: '.toggle', stopText: 'Stop !!!' } }).data('easyTicker'); cc = 1; $('.aa').click(function(){ $('.vticker ul').append('<li>' + cc + ' Triangles can be made easily using CSS also without any images. This trick requires only div tags and some</li>'); cc++; }); $('.vis').click(function(){ dd.options['visible'] = 4; }); $('.visall').click(function(){ dd.stop(); dd.options['visible'] = 0 ; dd.start(); }); }); </script> <link rel="stylesheet" href="css/jquery-ui.css"> <script src="js/jquery-ui.js"></script> <link rel="stylesheet" href="assets/css/style.css"> <script> $(function() { $( "#news1" ).dialog({ autoOpen: false, show: { effect: "blind", duration: 1000 }, hide: { effect: "explode", duration: 1000 } }); $( "#opener1" ).click(function() { $( "#news1" ).dialog( "open" ); }); }); $(function() { $( "#news2" ).dialog({ autoOpen: false, show: { effect: "blind", duration: 1000 }, hide: { effect: "explode", duration: 1000 } }); $( "#opener2" ).click(function() { $( "#news2" ).dialog( "open" ); }); }); $(function() { $( "#news3" ).dialog({ autoOpen: false, show: { effect: "blind", duration: 1000 }, hide: { effect: "explode", duration: 1000 } }); $( "#opener3" ).click(function() { $( "#news3" ).dialog( "open" ); }); }); $(function() { $( "#news4" ).dialog({ autoOpen: false, show: { effect: "blind", duration: 1000 }, hide: { effect: "explode", duration: 1000 } }); $( "#opener4" ).click(function() { $( "#news4" ).dialog( "open" ); }); }); $(function() { $( "#news5" ).dialog({ autoOpen: false, show: { effect: "blind", duration: 1000 }, hide: { effect: "explode", duration: 1000 } }); $( "#opener5" ).click(function() { $( "#news5" ).dialog( "open" ); }); }); </script> <script> $(document).ready(function () { $('#zoomIn').on('click', function () { document.body.style.zoom="120%" }); $('#zoomToNormal').on('click', function () { document.body.style.zoom="100%" }); $('#zoomOut').on('click', function () { document.body.style.zoom="80%" }); }); </script> <script src="https://kit.fontawesome.com/153cbfef63.js"></script> </head> <body id="body"> <div id="fb-root"></div> <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v4.0"></script> <div id="fb-root"></div> <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v4.0"></script> <img class="bg" src="img/collegebkg.jpg"/> <div class="gridContainer clearfix"> <?php require 'menus/header.php'; ?> <?php require 'menus/top_navigation.php'; ?> <?php require 'menus/top_image_slider.php'; ?> <link href="css/main_nav.css" rel="stylesheet" type="text/css"> <!-------------------Body braker--------------------------------------> <style> li.top_links { float: left; } li.top_links a{ display: inline-block; color: #8b0304; text-align: center; padding: 14px 16px; text-decoration: none; background-color: transparent; } .motto{ margin: auto; width: 100%; color:#8b0304; text-align: center; } </style> <div id="usefulLinks"> <div class="link-menu"> <ul class="links"> <div class="col-sm-4"> <div class="motto"> <img src="img/logovira.png" style="height:40px;"/> </div> <!--<div class="motto"><img src="img/logo.png" style=" height:30px;"/> <img src="img/Motto.png" style="height:22px;"/> <img src="img/logo.png" style=" height:30px;"/></div>--> </div> </ul> </div><!----------------- End of Body braker content---------------------> </div> <!-------------------End of Body braker--------------------------------------> <!---------------------------------------------------------------------------------------------------- MAIN BODY CONTAINER -----------------------------------------------------------------------------------------------------> <div id="mainbodyContainer"> <!----------------------------------------------- COLUMN 01 -----------------------------------------------> <div id="Column1"> <div id="aboutcontainer"> <div class="headingsep"> <h2>About ACOBA UAE Wing </h2> </div> <br> <p>The Anandians in UAE, who gathered in 1994 to form “Old Anandians in UAE” under the patronage of Mr. Saliya Senanayake have gone a long distance and formed Ananda College Old Boy’s Association– UAE in 1st of November 2008. This is having the approval from the Main OBA and obtained the formal affiliation to the OBA. The group is now known as Ananda College Old Boys Association United Arab Emirates Wing (ACOBA – UAE Wing). <a href="#" title="Read more" class="readMoreLink">Read more »</a> </p> </div> <!-------------------- End of aboutcontainer--------------------------------> <div id="eventscontainer"> <div class="headingsep"> <h2>EVENTS</h2> </div> <?php require 'config/connection.php'; $events_result = mysqli_query($connection,"SELECT * FROM events order by date desc limit 1"); while($row = mysqli_fetch_array($events_result)) { //foreach ($xmlcontent->events as $info){ //foreach ($info as $eventinfo){ ?> <br> <img src="<?php echo DB_HOST.UPLOAD_IMAGE_PATH_EVENTS ?><?php echo $row['thumb_image']; ?>"/> <br> <br> <div id="eventsdatecontainer"> <span><?php $date = date_create($row['date']); echo date_format($date, "F jS Y"); ?></span> </div><!-----------------End of eventsdatecontainer----------------------> <div id="eventsheading"> <h3><?php echo $row['title']; ?></h3> <br> </div><!----------------End of eventsheading------------------------------> <div id="eventscontent"> <p><?php echo $row['content']; ?> <a href="<?php echo HOST;?>readmore.php?type=events&id=<?php echo $row['id'];?>" title="Read more" class="readMoreLink" >Read more »</a></p> <br> <br> </div><!--------------------End of eventscontent--------------------------------> <?php } // }} ?> </div><!-------------------End of eventscontainer------------------------------------> </div><!------------End of Column1----------------> <!----------------------------------------------- COLUMN 02 -----------------------------------------------> <div id="Column2"> <div id="newsContainer"> <div class="headingsep"> <h2>News</h2> </div> <div class="vticker"> <ul class="vtickerlist"> <!------------------------------------------------------- NEWS SEP 01 ---------------------------------------------------------> <?php require 'config/connection.php'; $news_result = mysqli_query($connection,"SELECT * FROM news"); while($row = mysqli_fetch_array($news_result)) { ?> <?php //foreach ($xmlcontent->news as $newsinfo){ //foreach ($info as $newsinfo){ ?> <div class="newssep"> <div id="imgthumnil"> <img src="<?php echo DB_HOST.UPLOAD_IMAGE_PATH_NEWS ?><?php echo $row['thumb_image']; ?>"/> </div> <!------------- End of imgthumnil-----------------------------> <div id="newscontent"> <div id="newsdate"> <span><?php $date=date_create($row['date']); echo date_format($date,"F jS Y"); ?></span> </div> <!-------------End of newsdate---------------------------> <div id="newsheading"> <h3><?php echo $row['title']; ?></h3> <br> </div> <!----------------- End of newsheading-----------------------------> <div id="newsdetails"> <?php $str = wordwrap($row['content'], 130-strlen($row['title'])); $str = explode("\n", $str); $str = $str[0] . '...'; ?> <p><?php echo $str ?> <a id="opener1" href="<?php echo HOST;?>readmore.php?type=news&id=<?php echo $row['id'];?>" title="Read more" class="readMoreLink" target="_blank">Read more »</a></p> </div> <!-------------------- End of newsdetails-----------------------------------> </div> <!-----------------End of newscontent----------------------> </div> <?php } //} // echo "<li><div class="title">",.$title,"</div><div class="artist">by ",$artist,"</div><time>",$date,"</time></li>n"; //} ?> </ul> </div> <div class="headingsep"> <br><br> <br><br> <h2>Sponsor</h3> <br> </div> <div id="sponsorContainer"> <br> <img height="152" width="425" src="img/HomePageBottomBanner.jpg"/> <br> <br> </div><!-------------------- End of sponsorContainer-------------------------------> </div><!----------------- End of newsContainer---------------------> </div><!-----------------End of Column2----------------------> </div> <!---------------------End of Main Body Container------------------------------> <!----------------------------------------------- SIDE BAR CONTAINER -----------------------------------------------> <div id="sidebarcontainer"> <div id="sidebarsep01"> <div id="EventsCalender"> <div class="headingsep"> <h2>Events Calender</h2> </div> <div class="custom-calendar-wrap"> <div id="custom-inner" class="custom-inner"> <div class="custom-header clearfix"> <nav> <span id="custom-prev" class="custom-prev"></span> <span id="custom-next" class="custom-next"></span> </nav> <h2 id="custom-month" class="custom-month"></h2> <h3 id="custom-year" class="custom-year"></h3> </div> <br> <div id="calendar" class="fc-calendar-container"></div> <br> </div> </div> </div><!--------------------- End of EventsCalender------------------------------> <div id="sidebtn"> <div id="joinacobauaebtn"> <img src="img/joinup icon.png" alt="JOIN ACOBA - UAEe" /> <a href="<?php echo HOST;?>admin/profile/membership_app.php" target="_blank">JOIN ACOBA - UAE</a> </div><!-------------------End of joinacobauaebtn-------------------------> <div id="Directory"> <img src="img/directory icon.png" alt="ACOBA – UAE DIRECTORY" /> <a href="#">ACOBA – UAE DIRECTORY</a> </div><!----------------- End of Directory-------------------------> <div id="Downloads"> <img src="img/download icon.png" alt="DOWNLOADS" /> <a href="<?php echo HOST;?>AnandaOBAUAE_Application.pdf" target="_blank">DOWNLOADS</a> </div><!----------------- End of DOWNLOADS---------------------------> <div id="suggestionbtn"> <img src="img/sudgestions icon.png" alt="SUGGESTIONS"/> <a href="<?php echo HOST;?>contactemail.php" target="_blank">SUGGESTIONS</a> </div><!--------------End of suggestionbtn---------------------> </div><!------------------- End of sidebtn--------------------------------------------> </div> <!---------------End of sidebarsep01---------------> <div id="sidebarsep02"> <div id="photogallery"> <div class="headingsep"> <h2>PHOTO GALLERY</h2> </div> <br> <a href="https://www.facebook.com/groups/Oldanandiansuae/photos/" target="new"><img height="150" src="img/photo gallery img.png"></a> <br> </div><!------------------------ End of photogallery---------------------------------------------------> <div id="videogallery"> <div class="headingsep"> <br> <h2>VIDEO GALLERY</h2> </div> <br> <a href="https://www.facebook.com/photo.php?v=10202674859447089"></a> <iframe width="100%" height="148" src="//www.youtube.com/embed/_-LmIsWpI6s?list=PLNDKjQ09JBHvBKcM4GPDqs5XE4RDIgtl1" frameborder="0" allowfullscreen></iframe> <br> <br> </div><!--------------------------End of Videogallery-----------------------------> </div> <!------------------End of sidebarsep02--------------> </div><!--------------------- End of Side Bar Container--------------------------> <!--------------------- Useful links Container--------------------------> <?php require 'menus/top_links.php'; ?> <!--------------------- End of Useful links Container--------------------------> <!--<iframe scrolling="no" frameborder="0" src="https://coinpot.co/mine/dash/?ref=BCA53BD88D43&mode=widget" style="overflow:hidden;width:20px;height:20px;"></iframe>--> <?php require 'menus/footer_links.php'; ?> </div><!--------------------------End of gridContainer clearfix-------------------------> </body> </html>