if ($type == 1) { $class = get_classe(); // 0 = non-word e non-word, 1 = word e non-word, 2 = non-word e word} $parolefiller = get_filler($class); // $parolefiller è un array (id_filler => parolaFiller ...) } $primePh1 = get_prime(1); // TRUE se nella fase 1 avrò parola e dominante, FALSE se avrò parola e subordinato $primePh2 = get_prime(2); $word1 = get_word($type); // words1 è un array (id_parola => parola, dominante => paroladominante, subordinata => parolasubordinata) $word2 = get_linked_word($word1, $type); // trovo la lista delle interpretazioni delle due parole collegate $interpret1 = get_interpret($word1, 1); //interpret sono array chiave=id_interpretazione e valore=interpretazione $interpret2 = get_interpret($word2, 2); ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="../text/styles.css"> <script type="text/javascript" src="../js/history.js"></script> <script src="../js/jquery-1.11.3.min.js"></script> <script src="../js/script.js"></script>
<?php if ($wp_query->max_num_pages > 1) { ?> <div class="pagenav" id="pagenavi"> <?php if (function_exists('the_pagenavi')) { the_pagenavi(); } else { ?> <div class="prev"><?php next_posts_link(get_interpret('<< 旧的文章')); ?> </div> <div class="next"><?php previous_posts_link(get_interpret('新的文章 >>')); ?> </div> <?php } ?> </div> <?php }