<form id="hz9zz"></form>
  • <form id="hz9zz"></form>

      <nobr id="hz9zz"></nobr>

      <form id="hz9zz"></form>

    1. 明輝手游網中心:是一個免費提供流行視頻軟件教程、在線學習分享的學習平臺!

      是一個設計將LinuxFreak.org新聞標題放置到你的網站的PHP腳本程序。

      [摘要]<?php // bi bolo monggole huen ! // // v2.0.5 // <? // include("linuxfreak.php3")...
      <?php

      //  bi bolo monggole huen !
      //  
      // v2.0.5
      // <?
      // include("linuxfreak.php3");
      // ?>
      //    dreamphp boy = sunboy

      $link_prefix    =    "&nbsp;&nbsp;o ";
      $link_postfix    =    "<BR>n";
      $cache_file    =    "/tmp/linuxfreak2.cache";
      $cache_time    =    1200;
      $max_items    =    8;
      $target        =    "_top";

      //    End of customizations


      $backend    =    "http://www.linuxfreak.org/backend/linuxfreak.rdf";

      $items        =    0;
      $time        =    split(" ", microtime());

      srand((double)microtime()*1000000);
      $cache_time_rnd    =    300 - rand(0, 600);

      if ( (!(file_exists($cache_file))) ((filectime($cache_file) + $cache_time - $time[1]) + $cache_time_rnd < 0) (!(filesize($cache_file))) ) {

          $fpread = fopen($backend, 'r');
          if(!$fpread) {
          } else {

              $fpwrite = fopen($cache_file, 'w');
              if(!$fpwrite) {
              } else {

                  while(! feof($fpread) ) {

                      $buffer = ltrim(Chop(fgets($fpread, 256)));

                      if (($buffer == "<item>") && ($items < $max_items)) {
                          $title = ltrim(Chop(fgets($fpread, 256)));
                          $link = ltrim(Chop(fgets($fpread, 256)));

                          $title = ereg_replace( "<title>", "", $title );
                          $title = ereg_replace( "</title>", "", $title );
                          $link = ereg_replace( "<link>", "", $link );
                          $link = ereg_replace( "</link>", "", $link );

                          fputs($fpwrite, "$link_prefix<A HREF="$link" TARGET="$target">$title</A>$link_postfix");

                          $items++;
                      }
                  }
              }
              fclose($fpread);
          }
          fclose($fpwrite);
      }
      if (file_exists($cache_file)) {
          include($cache_file);
      }
      ?>  

      【本文版權歸作者與奧索網共同擁有,如需轉載,請注明作者及出處】    



      日韩精品一区二区三区高清