Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <?/*/*
- MBB NETWORK MENU
- VERSIONE 1.0
- */?>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Menu Mondo Network</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link href='http://fonts.googleapis.com/css?family=Maven+Pro:400,500,700,900' rel='stylesheet' type='text/css' />
- <link rel="stylesheet" href="css/slider.css" />
- <link href="css/hover-min.css" rel="stylesheet" media="all">
- <style type="text/css">
- </style>
- </head>
- <body>
- <?
- function extract_json($json_url)
- {
- $feed = preg_replace('/\x{EF}\x{BB}\x{BF}/','',file_get_contents($json_url));
- return json_decode($feed, true);
- }
- ?>
- <div class="wrapper">
- <div class="centra">
- <nav id="sliderMondo" class="sliderMondo">
- <ul>
- <!-- MONDOBLACKBERRY -->
- <li class="navItem"> <a href="#" title="MondoBB"><img src="http://www.mondoblackberry.com/favicon.ico" alt="MondoBlackBerry" width="25"> MondoBlackBerry</a>
- <ul class="navContent">
- <div class=titolo_header>
- <table>
- <tr>
- <th><a class="float-shadow" href="http://www.mondoblackberry.com" target="_blank"><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_portale_menu.png' width="300" alt="MBB"></a></th>
- <th><a class="float-shadow" href="http://forum.mondoblackberry.com" target="_blank"><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_forum_menu.png' width="300" alt="MBB Forum"></a></th>
- <th><a class="float-shadow" href="http://store.mondoblackberry.com" target="_blank"><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_store_menu.png' width="300" alt="MBB Store"></a></th>
- </tr>
- </table>
- </div>
- <?
- /* estrae contenuto array php e stampa a schermo il risultato voluto */
- $wp_array = extract_json("http://www.mondoblackberry.com/?json=get_posts&count=5");
- echo("<li><p class='titolone'>ULTIMI POST</p><ul>");
- foreach($wp_array['posts'] as $post) {
- echo "<li><p class='titolo'><a href='" . $post['url'] . "' target=_blank><img src='" . $post["attachments"][0]["url"] . "' alt= '" . $post["attachments"][0]["title"] . "' width='70' height='49'><b>" . $post['title'] . "</b></a></p></li>";
- }
- /*echo("<li><p class='titolone'></p></li><li class='border'><a href='http://www.mondoblackberry.com' target='_blank'><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_portale_menu.png' alt='MBB'></a></li>");*/
- echo("</ul></li>");
- ?>
- <?
- echo("<li><p class='titolone'>ULTIME LEAKED</p><ul>");
- $wp_array = extract_json("http://www.mondoblackberry.com/?json=get_category_posts&slug=aggiornamenti-leaked&count=5");
- foreach($wp_array['posts'] as $category) {
- echo "<li><p class='titolo'><a href='" . $category['url'] . "' target=_blank><img src='" . $category["attachments"][0]["url"] . "' alt= '" . $category["attachments"][0]["title"] . "' width='70' height='49'><b>" . $category['title'] . "</b></a></p></li>";
- }
- /*echo("<li><p class='titolone'></p></li><li class='border'><a href='http://forum.mondoblackberry.com' target='_blank'><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_forum_menu.png' alt='MBB'></a></li>");*/
- echo("</ul></li>");
- ?>
- <?
- echo("<li><p class='titolone'>STORE</p><ul>");
- $wp_array = extract_json("http://www.mondoblackberry.com/?json=get_category_posts&slug=accessori-blackberry-italia&count=5");
- foreach($wp_array['posts'] as $category) {
- echo "<li><p class='titolo'><a href='" . $category['url'] . "' target=_blank><img src='" . $category["attachments"][0]["url"] . "' alt= '" . $category["attachments"][0]["title"] . "' width='70' height='49'><b>" . $category['title'] . "</b></a></p></li>";
- }
- /*echo("<li><p class='titolone'></p></li><li class='border'><a href='http://store.mondoblackberry.com' target='_blank'><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_store_menu.png' alt='MBB'></a></li>");*/
- echo("</ul></li></ul></li>");
- ?>
- <!-- FINE MONDOBLACKBERRY -->
- <!-- IMONDOAPPLE -->
- <li class="navItem"> <a href="#" title="iMondoApple"><img src="http://www.imondoapple.com/favicon.ico" alt="iMondoApple" width="25"> iMondoApple</a>
- <ul class="navContent">
- <div class=titolo_header>
- <table>
- <tr>
- <th><a class="float-shadow" href="http://www.imondoapple.com" target="_blank"><img src='http://www.mondoblackberry.com/wp-content/uploads/logoAPP_portale_menu.png' width="300" alt="iMA"></a></th>
- <th><a class="float-shadow" href="http://www.imondoapple.com/store" target="_blank"><img src='http://www.mondoblackberry.com/wp-content/uploads/logoAPP_store_menu.png' width="300" alt="iMA Store"></a></th>
- <th><img src='http://www.mondoblackberry.com/wp-content/uploads/vuoto.png' width="300" alt="MBB Forum"></th>
- </tr>
- </table>
- </div>
- <?
- /* estrae contenuto array php e stampa a schermo il risultato voluto */
- $wp_array = extract_json("http://www.imondoapple.com/?json=get_posts&count=5");
- echo("<li><p class='titolone'>ULTIMI POST</p><ul>");
- foreach($wp_array['posts'] as $post) {
- echo "<li><p class='titolo'><a href='" . $post['url'] . "' target=_blank><img src='" . $post["attachments"][0]["url"] . "' alt= '" . $post["attachments"][0]["title"] . "' width='70' height='49'><b>" . $post['title'] . "</b></a></p></li>";
- }
- /*echo("<li><p class='titolone'></p></li><li class='border'><a href='http://www.mondoblackberry.com' target='_blank'><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_portale_menu.png' alt='MBB'></a></li>");*/
- echo("</ul></li>");
- ?>
- <?
- echo("<li><p class='titolone'>JAILBREAKs</p><ul>");
- $wp_array = extract_json("http://www.imondoapple.com/?json=get_category_posts&slug=jailbreak&count=5");
- foreach($wp_array['posts'] as $category) {
- echo "<li><p class='titolo'><a href='" . $category['url'] . "' target=_blank><img src='" . $category["attachments"][0]["url"] . "' alt= '" . $category["attachments"][0]["title"] . "' width='70' height='49'><b>" . $category['title'] . "</b></a></p></li>"; }
- /*echo("<li><p class='titolone'></p></li><li class='border'><a href='http://forum.mondoblackberry.com' target='_blank'><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_forum_menu.png' alt='MBB'></a></li>");*/
- echo("</ul></li>");
- ?>
- <?
- echo("<li><p class='titolone'>APPLICAZIONI</p><ul>");
- $wp_array = extract_json("http://www.imondoapple.com/?json=get_category_posts&slug=applicazioni&count=5");
- foreach($wp_array['posts'] as $category) {
- echo "<li><p class='titolo'><a href='" . $category['url'] . "' target=_blank><img src='" . $category["attachments"][0]["url"] . "' alt= '" . $category["attachments"][0]["title"] . "' width='70' height='49'><b>" . $category['title'] . "</b></a></p></li>";
- }
- /*echo("<li><p class='titolone'></p></li><li class='border'><a href='http://store.mondoblackberry.com' target='_blank'><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_store_menu.png' alt='MBB'></a></li>");*/
- echo("</ul></li></ul></li>");
- ?>
- <!-- FINE iMONDOAPPLE -->
- <!-- MONDOWINDOWSPHONE -->
- <li class="navItem"> <a href="#" title="MondoWP"><img src="http://www.mondowindowsphone.com/favicon.ico" alt="MondoWindowsPhone" width="25"> MondoWindowsPhone</a>
- <ul class="navContent">
- <div class=titolo_header>
- <table>
- <tr>
- <th><a class="float-shadow" href="http://www.mondowindowsphone.com" target="_blank"><img src='http://www.mondoblackberry.com/wp-content/uploads/logoMWP_portale_menu.png' width="300" alt="MBB"></a></th>
- <th><a class="float-shadow" href="http://www.mondowindowsphone.com/store/" target="_blank"><img src='http://www.mondoblackberry.com/wp-content/uploads/logoMWP_store_menu.png' width="300" alt="MBB Store"></a></th>
- <th><img src='http://www.mondoblackberry.com/wp-content/uploads/vuoto.png' width="300" alt="MBB Forum"></th>
- </tr>
- </table>
- </div>
- <?
- /* estrae contenuto array php e stampa a schermo il risultato voluto */
- $wp_array = extract_json("http://www.mondowindowsphone.com/?json=get_posts&count=5");
- echo("<li><p class='titolone'>ULTIMI POST</p><ul>");
- foreach($wp_array['posts'] as $post) {
- echo "<li><p class='titolo'><a href='" . $post['url'] . "' target=_blank><img src='" . $post["attachments"][0]["url"] . "' alt= '" . $posts['title'] . "' width='70' height='49'><b>" . $post['title'] . "</b></a></p></li>";
- }
- /*echo("<li><p class='titolone'></p></li><li class='border'><a href='http://www.mondoblackberry.com' target='_blank'><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_portale_menu.png' alt='MBB'></a></li>");*/
- echo("</ul></li>");
- ?>
- <?
- echo("<li><p class='titolone'>RUBRICHE</p><ul>");
- $wp_array = extract_json("http://www.mondowindowsphone.com/?json=get_category_posts&slug=rubriche&count=5");
- foreach($wp_array['posts'] as $category) {
- echo "<li><p class='titolo'><a href='" . $category['url'] . "' target=_blank><img src='" . $category["attachments"][0]["url"] . "' alt= '" . $category["attachments"][0]["title"] . "' width='70' height='49'><b>" . $category['title'] . "</b></a></p></li>";
- }
- /*echo("<li><p class='titolone'></p></li><li class='border'><a href='http://forum.mondoblackberry.com' target='_blank'><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_forum_menu.png' alt='MBB'></a></li>");*/
- echo("</ul></li>");
- ?>
- <?
- echo("<li><p class='titolone'>RECENSIONI</p><ul>");
- $wp_array = extract_json("http://www.mondowindowsphone.com/?json=get_category_posts&slug=recensioni&count=5");
- foreach($wp_array['posts'] as $category) {
- echo "<li><p class='titolo'><a href='" . $category['url'] . "' target=_blank><img src='" . $category["attachments"][0]["url"] . "' alt= '" . $category["attachments"][0]["title"] . "' width='70' height='49'><b>" . $category['title'] . "</b></a></p></li>";
- }
- /*echo("<li><p class='titolone'></p></li><li class='border'><a href='http://store.mondoblackberry.com' target='_blank'><img src='http://www.mondoblackberry.com/wp-content/uploads/logo_store_menu.png' alt='MBB'></a></li>");*/
- echo("</ul></li></ul></li></ul>"); ?>
- <!-- FINE MONDOWINDOWSPHONE -->
- </nav>
- </div>
- </div>
- <iframe src="http://www.mondoblackberry.com" width="100%" height="1400"></iframe>
- <!-- Scripts for jQuery and the plugin -->
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
- <script src="js/sliderMondo.js"></script>
- <script>
- (function() {
- /**
- * This is the call we have to do to execute
- * the plugin giving a custom params
- */
- $('#sliderMondo').booNavigation({
- slideSpeed: 500,
- fadeSpeed: 300,
- delay: 400
- });
- })();
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement