Advertisement
PejuangRoso

backup index adsen

Nov 26th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.63 KB | None | 0 0
  1. <?php
  2. session_start();
  3.  
  4. ?>
  5. <!DOCTYPE html>
  6. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  7. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  8. <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
  9. <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  10. <html lang="en">
  11.  
  12. <head>
  13. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  14. <script>
  15. (adsbygoogle = window.adsbygoogle || []).push({
  16. google_ad_client: "ca-pub-1698428614074177",
  17. enable_page_level_ads: true
  18. });
  19. </script>
  20.  
  21. <meta charset="utf-8">
  22. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  23. <meta name="viewport" content="width=device-width, initial-scale=1">
  24.  
  25. <meta name="keywords" content="farm cafe, farm, farm nigeria, cafe nigeria, agribusiness, most robust information, platform, agric industry, agric professionals, profiles,
  26. take a look, agro, sales, vacancies, business talks, links, suppliers, machineries, consultants, association" />
  27. <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..." />
  28. <meta name="country" content="Nigeria" />
  29. <meta name="author" content="Alawode Oluyinka" />
  30. <meta name="organization-Email" content="info@farmcafeng.com" />
  31. <meta name="copyright" content="Farm Cafe Nigeria" />
  32. <meta name="coverage" content="Worldwide" />
  33. <meta name="revisit-after" content="1 days" />
  34. <meta name="language" content="English" />
  35.  
  36. <title>Farm Cafe - Home - Prospering Agribusiness Through ICT</title>
  37.  
  38. <!-- Bootstrap Core CSS -->
  39. <link href="css/bootstrap.css" rel="stylesheet">
  40.  
  41. <!-- Custom CSS -->
  42. <link rel="stylesheet" href="css/main.css">
  43. <link rel="stylesheet" href="css/custom.css">
  44. <link href="css/custom.css" rel="stylesheet">
  45. <link rel="stylesheet" type="text/css" href="css/default.css" />
  46. <link rel="stylesheet" type="text/css" href="css/component.css" />
  47. <link rel="stylesheet" type="text/css" href="css/weather.css" />
  48.  
  49. <!-- FancyBox gallery CSS -->
  50. <link rel="stylesheet" type="text/css" href="css/jquery.fancybox.css" />
  51. <link rel="stylesheet" type="text/css" href="css/jquery.fancybox-buttons.css" />
  52.  
  53.  
  54. <!-- Custom Fonts & Icons -->
  55. <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,600,800' rel='stylesheet' type='text/css'>
  56. <link rel="stylesheet" href="css/icomoon-social.css">
  57. <link rel="stylesheet" href="css/font-awesome.min.css">
  58. <link rel="stylesheet" href="css/font-awesome.css">
  59.  
  60. <script>window.jQuery || document.write('<script src="js/jquery-1.9.1.min.js"><\/script>')</script>
  61.  
  62. <script src="js/bebas-neue.js"></script>
  63.  
  64. <script src="js/modernizr-2.6.2-respond-1.1.0.min.js"></script>
  65. <script src="js/modernizr.custom.js"></script>
  66.  
  67. <!-- Add Button helper -->
  68. <script type="text/javascript" src="js/jquery.fancybox.pack.js"></script>
  69. <script type="text/javascript" src="js/jquery.fancybox-buttons.js"></script>
  70.  
  71. <script type="text/javascript">
  72. $(document).ready(function() {
  73. /*
  74. * Simple image gallery. Uses default settings
  75. */
  76.  
  77. $('.fancybox').fancybox();
  78.  
  79.  
  80. /*
  81. * Button helper. Disable animations, hide close button, change title type and content
  82. */
  83.  
  84. $('.fancybox-buttons').fancybox({
  85. openEffect : 'none',
  86. closeEffect : 'none',
  87.  
  88. prevEffect : 'none',
  89. nextEffect : 'none',
  90.  
  91. closeBtn : false,
  92.  
  93. helpers : {
  94. title : {
  95. type : 'inside'
  96. },
  97. buttons : {}
  98. },
  99.  
  100. afterLoad : function() {
  101. this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
  102. }
  103. });
  104.  
  105.  
  106. });
  107. </script>
  108.  
  109. </head>
  110.  
  111. <body id="home" oncontextmenu="return false;">
  112. <!--[if lt IE 7]>
  113. <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>
  114. <![endif]-->
  115.  
  116.  
  117. <header class="navbar navbar-inverse navbar-fixed-top" role="banner">
  118. <div class="container">
  119. <?php include("includes/logo.php"); ?>
  120. <div class="collapse navbar-collapse" >
  121. <?php include("includes/menu.php"); ?>
  122. </div>
  123. </div>
  124. </header><!--/header-->
  125.  
  126.  
  127.  
  128.  
  129. <section id="main-slider" class="no-margin">
  130. <?php include("includes/slider.php"); ?>
  131. </section><!--/#main-slider-->
  132.  
  133.  
  134. <!-- Call to Action Bar -->
  135. <div class="section section-dark">
  136. <div class="container">
  137. <div class="row">
  138. <div class="col-md-12">
  139. <div class="calltoaction-wrapper">
  140. <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>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. <!-- End Call to Action Bar -->
  147. <div></div>
  148.  
  149. <!-- Begin Social Links and SearchBar -->
  150. <div class="main clearfix">
  151. <!-- Optional columns for small components -->
  152.  
  153. <div class="column">
  154. <div class="row">
  155. <div class="col-sm-8 col-sm-offset-2">
  156. <a href="http://www.facebook.com/farmcafeng" target="_blank" class=" azm-social azm-btn azm-facebook"><i class="fa fa-facebook"></i> Facebook</a>
  157. <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>
  158. <a href="http://www.twitter.com/farmcafe" target="_blank" class=" azm-social azm-btn azm-twitter"><i class="fa fa-twitter"></i> Twitter</a>
  159. <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>
  160. </div>
  161. <!--<div id="sb-search" class="sb-search">
  162. <form action="search-result.php" method="POST">
  163. <input class="sb-search-input" placeholder="Enter your search term..." type="text" value="" name="searchterm" id="search">
  164. <input class="sb-search-submit" type="submit" value="search">
  165. <span class="sb-icon-search"></span>
  166. </form>
  167. </div>-->
  168. <div>
  169. <script>
  170. (function() {
  171. var cx = '015649208257961069825:ficcquvx5xm';
  172. var gcse = document.createElement('script');
  173. gcse.type = 'text/javascript';
  174. gcse.async = true;
  175. gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
  176. '//cse.google.com/cse.js?cx=' + cx;
  177. var s = document.getElementsByTagName('script')[0];
  178. s.parentNode.insertBefore(gcse, s);
  179. })();
  180. </script>
  181. <gcse:search></gcse:search>
  182. </div>
  183. </div>
  184. </div>
  185. </div>
  186.  
  187. <hr>
  188. <!-- End Social Links and SearchBar -->
  189.  
  190. <!-- Services -->
  191. <div class="section section-white">
  192. <div class="container">
  193. <div class="row">
  194. <div class="col-md-4 col-sm-6">
  195. <div class="service-wrapper">
  196. <i class="icon-home"></i>
  197. <h3>WHY FARM CAFE?</h3>
  198. <p>This is Nigeria’s most robust Online Agribusiness Information Platform, with content to enrich your minds on existing
  199. opportunities in Nigeria’s agric industry and...</p>
  200. <a href="about-us.php" class="btn">Read More</a>
  201. </div>
  202. </div>
  203. <div class="col-md-4 col-sm-6">
  204. <div class="service-wrapper">
  205. <i class="icon-briefcase"></i>
  206. <h3>BUSINESS PROFILE</h3>
  207. <p>This platform provides subscriber-based market visibility and real-time up-to-date information for agribusinesses in Nigeria
  208. and for other organisations across the globe...</p>
  209. <a href="profile.php" class="btn">Read More</a>
  210. </div>
  211. </div>
  212. <div class="col-md-4 col-sm-6">
  213. <div class="service-wrapper">
  214. <i class="icon-calendar"></i>
  215. <h3>BUSINESS TALK</h3>
  216. <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>
  217. <a href="business-talk.php" class="btn">Read More</a>
  218. </div>
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. <!-- End Services -->
  224.  
  225.  
  226. <hr>
  227.  
  228. <!-- Our Clients -->
  229. <div class="section">
  230. <?php include("includes/farm-sales.php"); ?>
  231. </div>
  232. <!-- End Our Clients -->
  233. <hr>
  234.  
  235. <!-- Our Portfolio -->
  236.  
  237. <div class="section section-white">
  238. <div class="container">
  239. <div class="row">
  240.  
  241. <div class="section-title">
  242. <h1>LATEST BUSINESS PROFILES...</h1>
  243. </div><a href="profile.php" class="btn-blue">See More Profiles</a>
  244.  
  245. <?php include("includes/latest-profile.php"); ?>
  246.  
  247. </div>
  248. </div>
  249. </div>
  250. <!-- Our Portfolio -->
  251.  
  252. <hr>
  253.  
  254. <!-- Services -->
  255. <div class="section section-white">
  256. <div class="container">
  257. <div class="row" >
  258.  
  259. <?php include("includes/weather.php"); ?>
  260. <?php include("includes/latest-comment.php"); ?>
  261. <?php include("includes/videos.php"); ?>
  262. <?php include("includes/social-feeds.php"); ?>
  263. </div>
  264. </div>
  265. </div>
  266. <!-- End Services -->
  267. <hr>
  268.  
  269.  
  270. <!-- Footer -->
  271. <div class="footer">
  272. <?php include("includes/footer.php"); ?>
  273. </div>
  274.  
  275. <!-- Javascripts
  276. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
  277. <script>window.jQuery || document.write('<script src="js/jquery-1.9.1.min.js"><\/script>')</script>
  278. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> -->
  279.  
  280. <script src="js/bootstrap.min.js"></script>
  281.  
  282. <!-- Scrolling Nav JavaScript -->
  283. <script src="js/jquery.easing.min.js"></script>
  284. <script src="js/scrolling-nav.js"></script>
  285. <script src="js/classie.js"></script>
  286. <script src="js/uisearch.js"></script>
  287. <script src="js/script.js"></script>
  288. <script>
  289. new UISearch( document.getElementById( 'sb-search' ) );
  290. </script>
  291.  
  292.  
  293. <script src="js/jquery.zweatherfeed.min.js" type="text/javascript"></script>
  294.  
  295. <script type="text/javascript">
  296. $(document).ready(function() {
  297. $('.carousel').carousel({
  298. interval:5000
  299. })
  300. });
  301. </Script>
  302.  
  303. <script type="text/javascript">
  304.  
  305. $(document).ready(function () {
  306.  
  307. $('#search').submit( function(e) {
  308. e.preventDefault();
  309. weatherGeocode('weatherLocation','weatherList');
  310. });
  311.  
  312. function showLocation(address,woeid) {
  313.  
  314. $('#weatherReport').empty();
  315.  
  316. $('#weatherReport').weatherfeed([woeid],{
  317. woeid: true
  318. });
  319. }
  320.  
  321. function weatherGeocode(search,output) {
  322.  
  323. var status;
  324. var results;
  325. var html = '';
  326. var msg = '';
  327.  
  328. // Set document elements
  329. var search = document.getElementById(search).value;
  330. var output = document.getElementById(output);
  331.  
  332. if (search) {
  333.  
  334. output.innerHTML = '';
  335.  
  336. // Cache results for an hour to prevent overuse
  337. now = new Date();
  338.  
  339. // Create Yahoo Weather feed API address
  340. var query = 'select * from geo.places where text="'+ search +'"';
  341. var api = 'http://query.yahooapis.com/v1/public/yql?q='+ encodeURIComponent(query) +'&rnd='+ now.getFullYear() + now.getMonth() + now.getDay() + now.getHours() +'&format=json&callback=?';
  342.  
  343. // Send request
  344. $.ajax({
  345. type: 'GET',
  346. url: api,
  347. dataType: 'json',
  348. success: function(data) {
  349.  
  350. if (data.query.count > 0 ) {
  351.  
  352. html = '<span>'+ data.query.count +' location';
  353.  
  354. if (data.query.count > 1) html = html + 's';
  355. html = html + ' found:</span><ul>';
  356.  
  357. // List multiple returns
  358. if (data.query.count > 1) {
  359. for (var i=0; i<data.query.count; i++) {
  360. html = html + '<li>'+ _getWeatherAddress(data.query.results.place[i]) +'</li>';
  361. }
  362. } else {
  363. html = html + '<li>'+ _getWeatherAddress(data.query.results.place) +'</li>';
  364. }
  365.  
  366. html = html + '</ul>';
  367.  
  368. output.innerHTML = html;
  369.  
  370. // Bind callback links
  371. $("a.weatherAddress").unbind('click');
  372. $("a.weatherAddress").click(function(e) {
  373. e.preventDefault();
  374.  
  375. var address = $(this).text();
  376. var weoid = $(this).attr('rel');
  377.  
  378. showLocation(address,weoid);
  379. });
  380.  
  381. } else {
  382. output.innerHTML = 'The location could not be found';
  383. }
  384. },
  385. error: function(data) {
  386. output.innerHTML = 'An error has occurred';
  387. }
  388. });
  389.  
  390. } else {
  391.  
  392. // No search given
  393. output.innerHTML = 'Please enter a location or partial address';
  394. }
  395. }
  396.  
  397. function _getWeatherAddress(data) {
  398.  
  399. // Get address
  400. var address = data.name;
  401. if (data.admin2) address += ', ' + data.admin2.content;
  402. if (data.admin1) address += ', ' + data.admin1.content;
  403. address += ', ' + data.country.content;
  404.  
  405. // Get WEOID
  406. var woeid = data.woeid;
  407.  
  408. return '<a class="weatherAddress" href="#" rel="'+ woeid +'" title="Click for to see a weather report">'+ address +'</a> <small>('+ woeid +')</small>';
  409. }
  410. });
  411. </script>
  412. <script>
  413. $(document).ready(function () {
  414. $('#test').weatherfeed(['UKXX0085','EGXX0011','UKXX0061','CAXX0518','CHXX0049']);
  415. });
  416. </script>
  417.  
  418.  
  419. </body>
  420. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement