|
From: <ara...@us...> - 2007-02-20 17:16:41
|
Revision: 74
http://svn.sourceforge.net/easybox-mod/?rev=74&view=rev
Author: aragornis
Date: 2007-02-20 09:16:39 -0800 (Tue, 20 Feb 2007)
Log Message:
-----------
Removed Paths:
-------------
trunk/module/htmllight/htmllight.tpl
trunk/module/htmllight/imageblanche.gif
trunk/module/htmllight/img.php
trunk/module/htmllight/index1.php
trunk/module/htmllight/test.php
Deleted: trunk/module/htmllight/htmllight.tpl
===================================================================
--- trunk/module/htmllight/htmllight.tpl 2007-02-20 17:14:31 UTC (rev 73)
+++ trunk/module/htmllight/htmllight.tpl 2007-02-20 17:16:39 UTC (rev 74)
@@ -1,27 +0,0 @@
-<BR>
-<table cellspacing="2" align="center" width="498" valign="middle" border="0">
- <tr>
- <td align="center">
- Pour modifier la liste des flux modifier le fichier _Utilisateur/site_html.txt
- </td>
- </tr>
-</table>
-<BR>
-{section name=feedSection loop=$T_nonfeed}
- {if $smarty.section.feedSection.first}
- <table cellspacing="2" align="center" width="498" valign="middle" border="0">
- {/if}
- <tr valign="middle">
- <td align="center">
- {if $T_nonfeed[feedSection][1]==''}
- <u>{$T_nonfeed[feedSection][0]}</u>
- {else}
- {assign var=rep_encoded value=$T_nonfeed[feedSection][1]|urlencode}
- <a href="index1.php?url={$rep_encoded}">{$T_nonfeed[feedSection][0]}</a>
- {/if}
- </td>
- </tr>
- {if $smarty.section.feedSection.last}
- </table>
- {/if}
- {/section}
Deleted: trunk/module/htmllight/imageblanche.gif
===================================================================
(Binary files differ)
Deleted: trunk/module/htmllight/img.php
===================================================================
--- trunk/module/htmllight/img.php 2007-02-20 17:14:31 UTC (rev 73)
+++ trunk/module/htmllight/img.php 2007-02-20 17:16:39 UTC (rev 74)
@@ -1,21 +0,0 @@
-<?php
-//$url='http://www.akihabaranews.com/mobile/';
-if (isset($_GET['lien'])){
-$lien = rawurldecode($_GET['lien']);
-}
-if (isset($_GET['url'])){
-$url = rawurldecode($_GET['url']);
-}else{
-$urlo=$url;
-}
-if(substr($lien,0,7)=="http://"){
-$urlo=$url=$lien;
-}elseif(substr($lien,0,1)=="/"){
-echo $urlo=substr($url,0,strrpos($url,'/')).''.$lien;
-$url = $url;
-}else{
-$urlo=$url.''.$lien;
-$url = $url;
-}
-header("Location: ../img2fbx.php?sURL=$urlo");
-?>
\ No newline at end of file
Deleted: trunk/module/htmllight/index1.php
===================================================================
--- trunk/module/htmllight/index1.php 2007-02-20 17:14:31 UTC (rev 73)
+++ trunk/module/htmllight/index1.php 2007-02-20 17:16:39 UTC (rev 74)
@@ -1,92 +0,0 @@
-<?php
-$RACINE_REP = "../../";
-require($RACINE_REP.'_framework/framework.php');
-$image = $ini['htmllight']['image'];
-$nonfeed=array();
-if (!isset($_GET['url'])){
-
- $contents =file_get_contents($RACINE_REP."_utilisateur/site_html.txt");
- $feed = explode("\r",$contents);
- for($i="0"; $i<=(count($feed)-1); $i++){
- $toto = explode("|",$feed[$i]);
- if(!isset($toto[1])) {
- $nonfeed[] = array($toto[0],"");
- }
- else
- {
- $nonfeed[] = array($toto[0],$toto[1]);
- }
- }
-
- $LINK['red']= $MODULE.'_menu/menu.php?cat=29';
- $META['front_panel'] = 'HTML-LIGHT';
- $smarty->debugging = False;
- $smarty->assign('TITRE','Navigateur HTML Light');
- $smarty->assign('T_nonfeed',$nonfeed);
- $smarty->assign('CONTENT', $smarty->fetch('htmllight.tpl'));
- $smarty->display('interface.tpl');
-
-
-}
-
-else{
-
- $LINK['red']= $MODULE.'htmllight/index1.php';
-
- //include($LOAD);
- $url = rawurldecode($_GET['url']);
- ini_set('user_agent','MSIE 4\.0b2;');
- if($dist = @file_get_contents($url)){
- $dist = preg_replace(array("/<body(.*?)>/","/<\/body>/","/<font(.*?)>/","/<\/font>/","/<head>(.*?)<\/head>/","/<html>/","/<\/html>/","/<table(.*?)>/","/<tr(.*?)>/","/<td(.*?)>/","/<div(.*?)>/","/<\/div>/","/<FONT(.*?)>/","/<\/FONT>/"), array("","","","","","","","<table width=\"300\">","<tr>","<td>","","","",""), $dist);
- preg_match_all('/href=(.*?)>/', $dist, $valeur);
- foreach($valeur[1] as $valeur){
- $valeurmod = str_replace('"','',$valeur);
- if (substr($valeurmod,0,18)=="/internet.php?url=") {
- $valeurmod = urldecode(substr($valeurmod,18));
- }
- if (strpos($valeur," ")!=0) {
- $valeurmod=substr($valeurmod,0,strpos($valeurmod," "));
- }
- $parse_url=parse_url(strtolower($valeurmod));
- if ($parse_url[host]==""){
- $purl=parse_url($url);
- $sub=urlencode(substr($parse_url[path],0,1));
- if ($sub=='%2F') {
- $purl[path]="";
- }
- $valeurmod=$purl[scheme].'://'.$purl[host].''.substr($purl[path],0,strrpos($purl[path],"/")).'/'.$valeurmod;
- }
- $valeurmod = 'index1.php?url='.rawurlencode($valeurmod);
- $dist = str_replace($valeur,$valeurmod,$dist);
- }
- preg_match_all('/<img src=(.*?)>/', $dist, $valeur2);
- foreach($valeur2[1] as $valeur){
- if($image=="oui"){
- $valeurmod = str_replace('"','',$valeur);
- if(substr($valeurmod,0,18)=="/internet.php?url=") {
- $valeurmod = urldecode(substr($valeurmod,18));
- }
- if(strpos($valeur," ")!=0) {
- $valeurmod=substr($valeurmod,0,strpos($valeurmod," "));
- }
- $parse_url=parse_url(strtolower($valeurmod));
- if($parse_url[host]==""){
- $purl=parse_url($url);
- $sub=urlencode(substr($parse_url[path],0,1));
- if($sub=='%2F') {
- $purl[path]="";
- }
- $valeurmod=$purl[scheme].'://'.$purl[host].''.substr($purl[path],0,strrpos($purl[path],"/")).'/'.$valeurmod;
- }
- $valeurmod = $IMG2FBX.rawurlencode($valeurmod);
- }else{
- $valeurmod = 'imageblanche.gif';
- }
- $dist = str_replace($valeur,$valeurmod,$dist);
- }
- echo $dist;
- }else{
- echo "Impossible d'ouvrir la page";
- }
-}
-?>
Deleted: trunk/module/htmllight/test.php
===================================================================
--- trunk/module/htmllight/test.php 2007-02-20 17:14:31 UTC (rev 73)
+++ trunk/module/htmllight/test.php 2007-02-20 17:16:39 UTC (rev 74)
@@ -1,3 +0,0 @@
-<?php
-echo htmlentities("&lien=");
-?>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|