Advertisement
Guest User

index

a guest
Nov 18th, 2010
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. <?php
  2. global $options;
  3. foreach ($options as $value) {
  4. if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; }
  5. else { $$value['id'] = get_settings( $value['id'] ); }
  6. }
  7.  
  8. get_header();
  9.  
  10. if($theme_columns == 1){
  11. include('index-one-column.php');
  12. } elseif($theme_columns == 2){
  13. include('index-two-columns.php');
  14. } else {
  15. echo "Error in theme!";
  16. }
  17.  
  18. get_footer();
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement