Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- ?>
- <!DOCTYPE html>
- <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
- <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
- <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
- <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
- <html lang="en">
- <head>
- <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({
- google_ad_client: "ca-pub-1698428614074177",
- enable_page_level_ads: true
- });
- </script>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="keywords" content="farm cafe, farm, farm nigeria, cafe nigeria, agribusiness, most robust information, platform, agric industry, agric professionals, profiles,
- take a look, agro, sales, vacancies, business talks, links, suppliers, machineries, consultants, association" />
- <meta name="description" content="Farm Cafe is Nigeria’s most robust Online Agribusiness Information Platform, with content to enrich your minds on existing opportunities in Nigeria’s agric industry and..." />
- <meta name="country" content="Nigeria" />
- <meta name="author" content="Alawode Oluyinka" />
- <meta name="organization-Email" content="info@farmcafeng.com" />
- <meta name="copyright" content="Farm Cafe Nigeria" />
- <meta name="coverage" content="Worldwide" />
- <meta name="revisit-after" content="1 days" />
- <meta name="language" content="English" />
- <title>Farm Cafe - Home - Prospering Agribusiness Through ICT</title>
- <!-- Bootstrap Core CSS -->
- <link href="css/bootstrap.css" rel="stylesheet">
- <!-- Custom CSS -->
- <link rel="stylesheet" href="css/main.css">
- <link rel="stylesheet" href="css/custom.css">
- <link href="css/custom.css" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="css/default.css" />
- <link rel="stylesheet" type="text/css" href="css/component.css" />
- <link rel="stylesheet" type="text/css" href="css/weather.css" />
- <!-- FancyBox gallery CSS -->
- <link rel="stylesheet" type="text/css" href="css/jquery.fancybox.css" />
- <link rel="stylesheet" type="text/css" href="css/jquery.fancybox-buttons.css" />
- <!-- Custom Fonts & Icons -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,600,800' rel='stylesheet' type='text/css'>
- <link rel="stylesheet" href="css/icomoon-social.css">
- <link rel="stylesheet" href="css/font-awesome.min.css">
- <link rel="stylesheet" href="css/font-awesome.css">
- <script>window.jQuery || document.write('<script src="js/jquery-1.9.1.min.js"><\/script>')</script>
- <script src="js/bebas-neue.js"></script>
- <script src="js/modernizr-2.6.2-respond-1.1.0.min.js"></script>
- <script src="js/modernizr.custom.js"></script>
- <!-- Add Button helper -->
- <script type="text/javascript" src="js/jquery.fancybox.pack.js"></script>
- <script type="text/javascript" src="js/jquery.fancybox-buttons.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- /*
- * Simple image gallery. Uses default settings
- */
- $('.fancybox').fancybox();
- /*
- * Button helper. Disable animations, hide close button, change title type and content
- */
- $('.fancybox-buttons').fancybox({
- openEffect : 'none',
- closeEffect : 'none',
- prevEffect : 'none',
- nextEffect : 'none',
- closeBtn : false,
- helpers : {
- title : {
- type : 'inside'
- },
- buttons : {}
- },
- afterLoad : function() {
- this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
- }
- });
- });
- </script>
- </head>
- <body id="home" oncontextmenu="return false;">
- <!--[if lt IE 7]>
- <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
- <![endif]-->
- <header class="navbar navbar-inverse navbar-fixed-top" role="banner">
- <div class="container">
- <?php include("includes/logo.php"); ?>
- <div class="collapse navbar-collapse" >
- <?php include("includes/menu.php"); ?>
- </div>
- </div>
- </header><!--/header-->
- <section id="main-slider" class="no-margin">
- <?php include("includes/slider.php"); ?>
- </section><!--/#main-slider-->
- <!-- Call to Action Bar -->
- <div class="section section-dark">
- <div class="container">
- <div class="row">
- <div class="col-md-12">
- <div class="calltoaction-wrapper">
- <h3>Welcome to <span style="color:#aec62c; text-transform:uppercase;font-size:24px;">FARM CAFE!</span> ...prospering agribusiness through ICT!</h3> <a href="signup.php" class="btn btn-orange">Register With Us!</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- End Call to Action Bar -->
- <div></div>
- <!-- Begin Social Links and SearchBar -->
- <div class="main clearfix">
- <!-- Optional columns for small components -->
- <div class="column">
- <div class="row">
- <div class="col-sm-8 col-sm-offset-2">
- <a href="http://www.facebook.com/farmcafeng" target="_blank" class=" azm-social azm-btn azm-facebook"><i class="fa fa-facebook"></i> Facebook</a>
- <a href="https://ng.linkedin.com/in/farmcafeng" target="_blank" class=" azm-social azm-btn azm-linkedin"><i class="fa fa-linkedin"></i> LinkedIn</a>
- <a href="http://www.twitter.com/farmcafe" target="_blank" class=" azm-social azm-btn azm-twitter"><i class="fa fa-twitter"></i> Twitter</a>
- <a href="https://www.youtube.com/channel/UColJ6oSk7fyebKeE0Z5mvyg" target="_blank" class=" azm-social azm-btn azm-youtube"><i class="fa fa-youtube"></i> YouTube</a>
- </div>
- <!--<div id="sb-search" class="sb-search">
- <form action="search-result.php" method="POST">
- <input class="sb-search-input" placeholder="Enter your search term..." type="text" value="" name="searchterm" id="search">
- <input class="sb-search-submit" type="submit" value="search">
- <span class="sb-icon-search"></span>
- </form>
- </div>-->
- <div>
- <script>
- (function() {
- var cx = '015649208257961069825:ficcquvx5xm';
- var gcse = document.createElement('script');
- gcse.type = 'text/javascript';
- gcse.async = true;
- gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
- '//cse.google.com/cse.js?cx=' + cx;
- var s = document.getElementsByTagName('script')[0];
- s.parentNode.insertBefore(gcse, s);
- })();
- </script>
- <gcse:search></gcse:search>
- </div>
- </div>
- </div>
- </div>
- <hr>
- <!-- End Social Links and SearchBar -->
- <!-- Services -->
- <div class="section section-white">
- <div class="container">
- <div class="row">
- <div class="col-md-4 col-sm-6">
- <div class="service-wrapper">
- <i class="icon-home"></i>
- <h3>WHY FARM CAFE?</h3>
- <p>This is Nigeria’s most robust Online Agribusiness Information Platform, with content to enrich your minds on existing
- opportunities in Nigeria’s agric industry and...</p>
- <a href="about-us.php" class="btn">Read More</a>
- </div>
- </div>
- <div class="col-md-4 col-sm-6">
- <div class="service-wrapper">
- <i class="icon-briefcase"></i>
- <h3>BUSINESS PROFILE</h3>
- <p>This platform provides subscriber-based market visibility and real-time up-to-date information for agribusinesses in Nigeria
- and for other organisations across the globe...</p>
- <a href="profile.php" class="btn">Read More</a>
- </div>
- </div>
- <div class="col-md-4 col-sm-6">
- <div class="service-wrapper">
- <i class="icon-calendar"></i>
- <h3>BUSINESS TALK</h3>
- <p>You have full access to contribute to the Business Talk by making postings, image and video; interacting with other agribusiness owners and professional... </p>
- <a href="business-talk.php" class="btn">Read More</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- End Services -->
- <hr>
- <!-- Our Clients -->
- <div class="section">
- <?php include("includes/farm-sales.php"); ?>
- </div>
- <!-- End Our Clients -->
- <hr>
- <!-- Our Portfolio -->
- <div class="section section-white">
- <div class="container">
- <div class="row">
- <div class="section-title">
- <h1>LATEST BUSINESS PROFILES...</h1>
- </div><a href="profile.php" class="btn-blue">See More Profiles</a>
- <?php include("includes/latest-profile.php"); ?>
- </div>
- </div>
- </div>
- <!-- Our Portfolio -->
- <hr>
- <!-- Services -->
- <div class="section section-white">
- <div class="container">
- <div class="row" >
- <?php include("includes/weather.php"); ?>
- <?php include("includes/latest-comment.php"); ?>
- <?php include("includes/videos.php"); ?>
- <?php include("includes/social-feeds.php"); ?>
- </div>
- </div>
- </div>
- <!-- End Services -->
- <hr>
- <!-- Footer -->
- <div class="footer">
- <?php include("includes/footer.php"); ?>
- </div>
- <!-- Javascripts
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
- <script>window.jQuery || document.write('<script src="js/jquery-1.9.1.min.js"><\/script>')</script>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> -->
- <script src="js/bootstrap.min.js"></script>
- <!-- Scrolling Nav JavaScript -->
- <script src="js/jquery.easing.min.js"></script>
- <script src="js/scrolling-nav.js"></script>
- <script src="js/classie.js"></script>
- <script src="js/uisearch.js"></script>
- <script src="js/script.js"></script>
- <script>
- new UISearch( document.getElementById( 'sb-search' ) );
- </script>
- <script src="js/jquery.zweatherfeed.min.js" type="text/javascript"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- $('.carousel').carousel({
- interval:5000
- })
- });
- </Script>
- <script type="text/javascript">
- $(document).ready(function () {
- $('#search').submit( function(e) {
- e.preventDefault();
- weatherGeocode('weatherLocation','weatherList');
- });
- function showLocation(address,woeid) {
- $('#weatherReport').empty();
- $('#weatherReport').weatherfeed([woeid],{
- woeid: true
- });
- }
- function weatherGeocode(search,output) {
- var status;
- var results;
- var html = '';
- var msg = '';
- // Set document elements
- var search = document.getElementById(search).value;
- var output = document.getElementById(output);
- if (search) {
- output.innerHTML = '';
- // Cache results for an hour to prevent overuse
- now = new Date();
- // Create Yahoo Weather feed API address
- var query = 'select * from geo.places where text="'+ search +'"';
- var api = 'http://query.yahooapis.com/v1/public/yql?q='+ encodeURIComponent(query) +'&rnd='+ now.getFullYear() + now.getMonth() + now.getDay() + now.getHours() +'&format=json&callback=?';
- // Send request
- $.ajax({
- type: 'GET',
- url: api,
- dataType: 'json',
- success: function(data) {
- if (data.query.count > 0 ) {
- html = '<span>'+ data.query.count +' location';
- if (data.query.count > 1) html = html + 's';
- html = html + ' found:</span><ul>';
- // List multiple returns
- if (data.query.count > 1) {
- for (var i=0; i<data.query.count; i++) {
- html = html + '<li>'+ _getWeatherAddress(data.query.results.place[i]) +'</li>';
- }
- } else {
- html = html + '<li>'+ _getWeatherAddress(data.query.results.place) +'</li>';
- }
- html = html + '</ul>';
- output.innerHTML = html;
- // Bind callback links
- $("a.weatherAddress").unbind('click');
- $("a.weatherAddress").click(function(e) {
- e.preventDefault();
- var address = $(this).text();
- var weoid = $(this).attr('rel');
- showLocation(address,weoid);
- });
- } else {
- output.innerHTML = 'The location could not be found';
- }
- },
- error: function(data) {
- output.innerHTML = 'An error has occurred';
- }
- });
- } else {
- // No search given
- output.innerHTML = 'Please enter a location or partial address';
- }
- }
- function _getWeatherAddress(data) {
- // Get address
- var address = data.name;
- if (data.admin2) address += ', ' + data.admin2.content;
- if (data.admin1) address += ', ' + data.admin1.content;
- address += ', ' + data.country.content;
- // Get WEOID
- var woeid = data.woeid;
- return '<a class="weatherAddress" href="#" rel="'+ woeid +'" title="Click for to see a weather report">'+ address +'</a> <small>('+ woeid +')</small>';
- }
- });
- </script>
- <script>
- $(document).ready(function () {
- $('#test').weatherfeed(['UKXX0085','EGXX0011','UKXX0061','CAXX0518','CHXX0049']);
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement