Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. <?php /* Template Name: eventlist */ ?>
  2. <!doctype html>
  3. <html dir="rtl" class="no-js" lang="he">
  4. <head>
  5. <meta charset="utf-8" />
  6. <meta http-equiv="x-ua-compatible" content="ie=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8. <title>מועצה מקומית אזור</title>
  9. <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/css/foundation.min.css" />
  10. <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/css/font-awesome.min.css" />
  11. <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/css/app.css" />
  12. <link rel="stylesheet" href="http://fonts.googleapis.com/earlyaccess/opensanshebrew.css" />
  13. </head>
  14. <body>
  15.  
  16. <div class="appHeader">
  17. <a href="<?php print home_url(); ?>"><img class="symbol" src="<?php echo get_stylesheet_directory_uri(); ?>/img/symbol.png" /></a>
  18. <a href="<?php print home_url(); ?>"><div class="logo">אזור</div></a>
  19. <a href="http://azor.muni.il/" target="_blank"><div class="item">אתר</div></a>
  20. <a href="<?php print home_url(); ?>/מחלקות-המועצה/מבנה-המועצה/ביטחון-וחירום/"><div class="item">בטחון וחירום</div></a>
  21. <a href="https://www.facebook.com/%D7%9E%D7%95%D7%A2%D7%A6%D7%94-%D7%9E%D7%A7%D7%95%D7%9E%D7%99%D7%AA-%D7%90%D7%96%D7%95%D7%A8-181691065325226/" target="_blank"><div class="item"><img style="padding: 15px 0px;" src="https://fbstatic-a.akamaihd.net/rsrc.php/yl/r/H3nktOa7ZMg.ico" /></div></a>
  22. </div>
  23. <div class="bg">
  24. <div class="row">
  25. <div class="appList large-12 columns">
  26. <?php query_posts(array('showposts '=>100,'post_status'=>'any','post_parent' => get_the_ID(), 'post_type' => 'page', 'order' => 'ASC', 'orderby' => 'menu_order'));
  27.  
  28. while (have_posts()) { the_post(); ?>
  29. <a href="<?php the_permalink(); ?>"><div class="item"><?php the_title(); ?><div class="date"><?php the_date('d-m-Y', '', ''); ?></div></div></a>
  30. <?php
  31. }
  32.  
  33. wp_reset_query();
  34. ?>
  35. </div>
  36. </div>
  37. <div class="row">
  38. <div class="appList bottom large-12 columns">
  39. <img src="<?php echo get_stylesheet_directory_uri(); ?>/img/bottom.png" />
  40. </div>
  41. </div>
  42. </div>
  43. </body>
  44. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement