hjkhjkjhkhjkgjghjhgjhgjghjhghjghjhgjjnbvnvbnvk
bnmbnmbnhjkhjkhjkhjktyutyutyuytutyutyutyhgjgjghjgjghjguytutyry
/
home
/
anandaob
/
public_html
/
Upload FileeE
HOME
<?php require 'config/config.php'; require 'config/connection.php'; $xmlcontent = simplexml_load_file('xml/home.xml'); $type=''; $id=-1; if (isset($_GET["type"]) && $_GET["type"]!= '') $type=mysqli_escape_string($connection,$_GET['type']); if (isset($_GET["id"]) && $_GET["id"]!= '') $id=mysqli_escape_string($connection,$_GET['id']); ?> <!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"> <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="calender/css/favicon.ico"> <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"> <script src="https://kit.fontawesome.com/153cbfef63.js"></script> <!-- 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="http://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 ) { // alert("I am an alert box!"+$contentEl.length); 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: 5, 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'] = 3; }); $('.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> </head> <body id="body"> <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'; ?> <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; } </style> <div id="usefulLinks"> <?php require 'mottobar.php'; ?> </div> <!---------------------------------------------------------------------------------------------------- MAIN BODY CONTAINER -----------------------------------------------------------------------------------------------------> <div id="mainbodyContainer"> <!----------------------------------------------- COLUMN 01 -----------------------------------------------> <div id="" style="margin-left: 18px;"> <div id="aboutcontainer"> <div class="headingsep"> <h2><?php echo $type; ?></h2> </div> <br> <div id="eventscontainer"> <?php require 'config/connection.php'; $events_result = mysqli_query($connection,"SELECT * FROM ".$type." WHERE id=".$id); while($row = mysqli_fetch_array($events_result)) { ?> <br> <div id="eventsheading"> <h3><?php echo $row['title']; ?></h3> </div><!----------------End of eventsheading------------------------------> <div id="eventsdatecontainer"> <span><?php $date = date_create($row['date']); echo date_format($date, "F jS Y"); ?></span> </div><!-----------------End of eventsdatecontainer----------------------> <style> .col_4{ width: 50%; height: auto; display: block; margin-left: auto; margin-right: auto; } </style> <div class="col_4"> <p> </p> <?php $events_images = mysqli_query($connection,"SELECT image,id FROM images where fk_content_id=".$id." and content_type='".$type."'"); while($rowimg = mysqli_fetch_array($events_images)) { if($type=="events") { echo "<center><img src='".UPLOAD_IMAGE_PATH_EVENTS.$rowimg['image']."'/></center><br><br>"; }else if($type=="news"){ echo "<center><img src='".UPLOAD_IMAGE_PATH_NEWS.$rowimg['image']."'/><br><br></center>"; } } ?> </div> <!--social media--> <!--facebook--> <iframe src="https://www.facebook.com/plugins/share_button.php?href=http%3A%2F%2Fanandaobauae.org%2Fnews.php&layout=button&size=large&width=77&height=28&appId" width="77" height="28" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allow="encrypted-media"></iframe> <!--facebook end--> <!--tweet--> <a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-size="large" data-url="http://anandaobauae.org/readmore.php?type=news&id=<?php echo $row['id'];?>" data-show-count="false">Tweet</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <!--tweet end--> <!--social media end--> <div id="eventscontent"> <p><?php echo $row['content']; ?> </p> <br> <br> </div><!--------------------End of eventscontent--------------------------------> <?php } // }} ?> </div><!-------------------End of eventscontainer------------------------------------> </div> <!-------------------- End of aboutcontainer--------------------------------> </div><!------------End of Column1----------------> <!----------------------------------------------- COLUMN 02 -----------------------------------------------> </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> </div> </div> <br> </div><!--------------------- End of EventsCalender------------------------------> <div id="sidebtn"> <br> <br> </div><!------------------- End of sidebtn--------------------------------------------> </div> <!---------------End of sidebarsep01---------------> <div id="sidebarsep02"> </div> <!------------------End of sidebarsep02--------------> </div><!--------------------- End of Side Bar Container--------------------------> <?php require 'menus/top_links.php'; ?> <?php require 'menus/footer_links.php'; ?> </div><!--------------------------End of gridContainer clearfix-------------------------> </body> </html>