code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231 values | license stringclasses 13 values | size int64 1 2.01M |
|---|---|---|---|---|---|
#!/bin/sh
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<info>"
echo "<status>"
msdlPID=$(pidof "msdl")
if test $? -eq 0
then
killall -9 pidof "msdl" >/dev/null 2>&1
echo "<movie>Movie is Stopped.</movie>"
else
echo "<movie>Movie is Stopped.</movie>"
fi
echo "</status>"
echo "</info>"
| 1073s | trunk/util/.svn/text-base/util1.cgi.svn-base | Shell | gpl3 | 300 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
set_time_limit(0);
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
clearstatcache();
if (file_exists("/tmp/usbmounts/sda1/download")) {
$dir = "/tmp/usbmounts/sda1/download/*xml";
} elseif (file_exists("/tmp/usbmounts/sdb1/download")) {
$dir = "/tmp/usbmounts/sdb1/download/*xml";
} elseif (file_exists("/tmp/usbmounts/sdc1/download")) {
$dir = "/tmp/usbmounts/sdc1/download/*xml";
} elseif (file_exists("/tmp/usbmounts/sda2/download")) {
$dir = "/tmp/usbmounts/sda2/download/*xml";
} elseif (file_exists("/tmp/usbmounts/sdb2/download")) {
$dir = "/tmp/usbmounts/sdb2/download/*xml";
} elseif (file_exists("/tmp/usbmounts/sdc2/download")) {
$dir = "/tmp/usbmounts/sdc1/download/*xml";
} elseif (file_exists("/tmp/hdd/volumes/HDD1/download")) {
$dir = "/tmp/hdd/volumes/HDD1/download/*xml";
} else {
$dir = "";
}
if ($dir <> "") {
$file_list = glob($dir);
for ($i=0; $i< count($file_list); $i++) {
$link=$file_list[$i];
$out="";
$srt = str_replace(".xml",".srt",$link);
$html = file_get_contents($link);
$videos = explode('<p', $html);
unset($videos[0]);
$videos = array_values($videos);
$n=1;
foreach($videos as $video) {
$t1=explode('begin="',$video);
$t2=explode('"',$t1[1]);
$start=$t2[0];
if (strlen($start)==5) {
$start="00:".$start.",000";
} else {
$start=$start.",000";
}
$t1=explode('end="',$video);
$t2=explode('"',$t1[1]);
$end=$t2[0];
if (strlen($end)==5) {
$end="00:".$end.",000";
} else {
$end=$end.",000";
}
$line=str_between($t1[1],">","</p");
$line=str_replace("<br/>","\r\n",$line);
$out = $out.$n."\r\n";
$out = $out.$start." --> ".$end."\r\n";
$out = $out.$line."\r\n";
$out = $out."\r\n";
$n++;
}
$out = preg_replace("/<(.*)>|(\{(.*)\})/e","",$out);
$rm = "rm -f ".$srt;
exec ($rm);
$fp = fopen($srt, 'w');
fwrite($fp, $out);
fclose($fp);
}
$rm = "rm -f ".$dir;
exec ($rm);
flush();
}
?>
| 1073s | trunk/util/.svn/text-base/xml_srt.php.svn-base | PHP | gpl3 | 2,063 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
clearstatcache();
if (file_exists("/tmp/usbmounts/sda1/download")) {
$dir = "/tmp/usbmounts/sda1/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdb1/download")) {
$dir = "/tmp/usbmounts/sdb1/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdc1/download")) {
$dir = "/tmp/usbmounts/sdc1/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sda2/download")) {
$dir = "/tmp/usbmounts/sda2/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdb2/download")) {
$dir = "/tmp/usbmounts/sdb2/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdc2/download")) {
$dir = "/tmp/usbmounts/sdc1/download/log/*log";
} elseif (file_exists("/tmp/hdd/volumes/HDD1/download")) {
$dir = "/tmp/hdd/root/log/*log";
} else {
$dir = "";
}
echo "<video>";
if ($dir <> "") {
$file_list = glob($dir);
for ($i=0; $i< count($file_list); $i++) {
$log_file = file($file_list[$i]);
$t1 = explode('/log/', $file_list[$i]);
$t1 = explode('.log', $t1[1]);
$log = $log_file[count($log_file) -4];
$t3 = explode("K", $log);
$t4 = substr($log, -25);
$t5 = explode("%", $log);
$end = substr($t5[0], -3);
if (strpos($log_file,"saved") === true) {
$end = "100";
}
$t0 = $i+1;
//pid
$pd = "/tmp/".$t1[0].".pid";
$pid_file = file($pd);
$pid = explode('pid ', $pid_file[0]);
$pid = explode('.', $pid[1]);
//url
$log_url = $log_file[0];
$url = explode('http://', $log_url);
$link = str_replace("\r","",$url[1]);
$link = str_replace("\n","",$link);
$link = 'http://'.$link;
//title
$title = $t0.'. '. $t1[0].' - '.$t3[0].'KB'.$t4;
echo '
<item>
<title>'.$title.'</title>';
echo '<name>'.$t1[0].'</name>';
echo '<logfile>'.$file_list[$i].'</logfile>';
if ($end != "100") {
if (!$pid_file) echo '
<download>http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?link='.$link.';name='.$t1[0].';go=start</download>
<download1>http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?name='.$t1[0].';go=delete</download1>
<image>/usr/local/etc/www/cgi-bin/scripts/util/image/off.jpg</image>';
else
echo '
<download>http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?pid='.$pid[0].';name='.$t1[0].';go=stop</download>
<download1>http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?name='.$t1[0].';go=delete</download1>
<image>/usr/local/etc/www/cgi-bin/scripts/util/image/on.jpg</image>';
} else
echo '
<download>http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?name='.$t1[0].';go=delete</download>
<download1>http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?name='.$t1[0].';go=delete</download1>
<image>/usr/local/etc/www/cgi-bin/scripts/util/image/end.jpg</image>';
echo '
</item>
';
}
}
echo "</video>";
?>
| 1073s | trunk/util/.svn/text-base/download.php.svn-base | PHP | gpl3 | 2,692 |
#!/bin/sh
killall wget
rm /tmp/*.pid
if [ -d /tmp/usbmounts/sda1/download ]
then
loc=/tmp/usbmounts/sda1/download
loclog=/tmp/usbmounts/sda1/download
elif [ -d /tmp/usbmounts/sdb1/download ]
then
loc=/tmp/usbmounts/sdb1/download
loclog=/tmp/usbmounts/sdb1/download
elif [ -d /tmp/usbmounts/sdc1/download ]
then
loc=/tmp/usbmounts/sdc1/download
loclog=/tmp/usbmounts/sdc1/download
elif [ -d /tmp/usbmounts/sda2/download ]
then
loc=/tmp/usbmounts/sda2/download
loclog=/tmp/usbmounts/sda2/download
elif [ -d /tmp/usbmounts/sdb2/download ]
then
loc=/tmp/usbmounts/sdb2/download
loclog=/tmp/usbmounts/sdb2/download
elif [ -d /tmp/usbmounts/sdc2/download ]
then
loc=/tmp/usbmounts/sdc2/download
loclog=/tmp/usbmounts/sdc2/download
elif [ -d /tmp/hdd/volumes/HDD1/download ]
then
loc=/tmp/hdd/volumes/HDD1/download
loclog=/tmp/hdd/root
else
loc=''
loclog=''
fi
rm $loclog/log/*.log
| 1073s | trunk/util/.svn/text-base/stop_exua.cgi.svn-base | Shell | gpl3 | 891 |
#!/bin/sh
# Dreambox Live
c_param1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f1`
c_value1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f2`
echo "Content-type: text/html"
echo
echo "<html><head>"
echo "<title>repoman xLive</title>"
echo "<link type='text/css' rel='stylesheet' href='/cube_web_management.css' />"
echo "</head>"
echo "<body>"
echo "<h1>repoman xLive</h1><hr><br>"
if [ $c_value1 = "install" ]
then
if [ -e /tmp/hdd/volumes/HDD1 ]
then
storage=/tmp/hdd/volumes/HDD1
loc="HDD"
elif [ -e /tmp/usbmounts/sda1 ]
then
storage=/tmp/usbmounts/sda1
loc="USB1"
elif [ -e /tmp/usbmounts/sdb1 ]
then
storage=/tmp/usbmounts/sdb1
loc="USB1"
elif [ -e /tmp/usbmounts/sdc1 ]
then
storage=/tmp/usbmounts/sdc1
loc="USB1"
elif [ -e /tmp/usbmounts/sda2 ]
then
storage=/tmp/usbmounts/sda2
loc="USB2"
elif [ -e /tmp/usbmounts/sdb2 ]
then
storage=/tmp/usbmounts/sdb2
loc="USB2"
elif [ -e /tmp/usbmounts/sdc2 ]
then
storage=/tmp/usbmounts/sdc2
loc="USB2"
elif [ -e /tmp/usbmounts/sda ]
then
storage=/tmp/usbmounts/sda
loc="USB"
elif [ -e /tmp/usbmounts/sdb ]
then
storage=/tmp/usbmounts/sdb
loc="USB"
fi
if [ -e $storage ]
then
echo "<h2>Install repoman Xlive on " $storage "</h2><br>"
rm -f $storage/xlive.zip
cd $storage
wget -q http://hdforall.googlecode.com/files/xlive.zip -O xlive.zip
if [ -f $storage/xlive.zip ]
then
echo "download OK....<br>"
#remove scripts
rm -rf $storage/xLive/repoman/*
echo "unzip.....<br>"
unzip -q -o xlive.zip
rm -f $storage/xlive.zip
cd /usr/local/etc
rm -f xLive
ln -s $storage/xLive xLive
echo "<h3>Install OK! Enjoy</h3>"
else
echo "<h3>Can not install repoman xLive!<br>Check network.</h3>"
fi
fi
fi
############################################
############################################
echo "<br></body></html>"
| 1073s | trunk/util/.svn/text-base/xlive.cgi.svn-base | Shell | gpl3 | 1,881 |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /usr/local/etc/translate/bin/rtmpdump -q -v -b 60000 -W http://static.seeon.tv/jwplayer/seeon-plugin.swf -p http://www.seeon.tv -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| 1073s | trunk/util/.svn/text-base/seeon.cgi.svn-base | Shell | gpl3 | 226 |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /usr/local/etc/www/cgi-bin/scripts/rtmpdump -q -b 60000 -v -W http://static1.mediadirect.ro/player-preload/swf/preloader/preloader.swf -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| 1073s | trunk/util/.svn/text-base/mediadirect.cgi.svn-base | Shell | gpl3 | 233 |
#!/bin/sh
link=`echo "$QUERY_STRING" | sed -n 's/^.*link=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
PID=`echo "$QUERY_STRING" | sed -n 's/^.*pid=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
NAME=`echo "$QUERY_STRING" | sed -n 's/^.*name=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
GO=`echo "$QUERY_STRING" | sed -n 's/^.*go=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
if [ -d /tmp/usbmounts/sda1/download ]
then
loc=/tmp/usbmounts/sda1/download
loclog=/tmp/usbmounts/sda1/download
elif [ -d /tmp/usbmounts/sdb1/download ]
then
loc=/tmp/usbmounts/sdb1/download
loclog=/tmp/usbmounts/sdb1/download
elif [ -d /tmp/usbmounts/sdc1/download ]
then
loc=/tmp/usbmounts/sdc1/download
loclog=/tmp/usbmounts/sdc1/download
elif [ -d /tmp/usbmounts/sda2/download ]
then
loc=/tmp/usbmounts/sda2/download
loclog=/tmp/usbmounts/sda2/download
elif [ -d /tmp/usbmounts/sdb2/download ]
then
loc=/tmp/usbmounts/sdb2/download
loclog=/tmp/usbmounts/sdb2/download
elif [ -d /tmp/usbmounts/sdc2/download ]
then
loc=/tmp/usbmounts/sdc2/download
loclog=/tmp/usbmounts/sdc2/download
elif [ -d /tmp/hdd/volumes/HDD1/download ]
then
loc=/tmp/hdd/volumes/HDD1/download
loclog=/tmp/hdd/root
else
loc=''
loclog=''
fi
case $GO in
"start" )
cd $loc
/sbin/wget -bc -a $loclog/log/$NAME.log -O $NAME $LINK > /tmp/$NAME.pid
echo "Start Download $NAME";;
"stop" )
kill -9 $PID
rm /tmp/$NAME.pid
echo "Stop Download $NAME";;
"delete" )
kill -9 $PID
rm /tmp/$NAME.pid
rm $loclog/log/$NAME.log
echo "Sterge Download $NAME";;
esac | 1073s | trunk/util/.svn/text-base/manag.cgi.svn-base | Shell | gpl3 | 1,510 |
#!/bin/sh
#
# http://code.google.com/media-translate/
# Copyright (C) 2010 Serge A. Timchenko
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#QUERY_STRING=scan
TRANSLATE=${TRANSLATE:-/usr/local/etc/translate}
. $TRANSLATE/lib/common
XSPFSCAN=${XSPFSCAN:-$BASEPATH/etc/xspf.scan}
STARTPOINT=${STARTPOINT:-''}
CACHEPATH=${CACHEPATH:-/tmp}
TEMP=${TEMP:-/tmp}
YOUTUBE_HD=${YOUTUBE_HD:-'yes'}
VIMEO_HD=${VIMEO_HD:-'yes'}
IVI_HD=${IVI_HD:-'yes'}
NET_BANDWIDTH=${NET_BANDWIDTH:-}
PLUGINS_DIR=$BASEPATH/plugins/
RC_OK=0
RC_FAIL=1
STREAM_TEST_TIMEOUT=15
DEFAULTFILTER="(mp3|mp2|mpga|ogg|wav|wma|wax|m4a|mp4a|avi|mpeg|mpg|mpe|wmv|wvx|wm|wmx|flv|qt|mov|asf|asx|mp4|m4v|mp4v|mpg4|xspf|m3u|pls|cue|txt|flac|jpg|jpeg|jpe|png|gif|bmp)"
UDPXY_URL=${UDPXY_URL:-'http://127.0.0.1:8080'}
UDPXY_URL=`echo "$UDPXY_URL" | awk '{sub(/\/$/, ""); gsub(/\//, "\\\/"); gsub(/\./, "\\\."); print}'`
#RTMPGW_URL=${RTMPGW_URL:-'http://127.0.0.1:88'}
RTMPGW_URL=`echo "$RTMPGW_URL" | awk '{sub(/\/$/, ""); print}'`
USERAGENT="Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13"
TMPFILE=$TEMP/$$.tmp
[ ! -d $CACHEPATH ] && CACHEPATH=$TEMP
arg_cmd=`echo "$QUERY_STRING" | awk -F, '{print $1}'`
arg_opt=`echo "$QUERY_STRING" | awk -F, '{print $2}'`
arg_url=`echo "$QUERY_STRING" | awk -F, '{for(i=3; i<NF; i++) printf "%s,", $(i); printf "%s", $(NF); }'`
arg_url=`urldecode_s "$arg_url"`
arg_opt=`urldecode_s "$arg_opt"`
# http://127.0.0.1/translate[?<scan|*>]
# http://127.0.0.1/translate?stream,[<option1;...optionN>],<url>
# Available options:
# Content-type:<content type>
# HD:<yes|no>
# Protocol:<mms|mmst|mmsh|http|rtsp|ftp>
# Bandwidth:<bps>
# Speed:<streaming speed>
# http://127.0.0.1/translate?<info|status>,,<url>
# http://127.0.0.1/translate?text,,<url>
# http://127.0.0.1/translate?playlist,,<path to playlist>
# <list>
# <item>
# <title></title>
# <location></location>
# </item>
# </list>
#
# <info>
# <stream url="" type="" server="<icecast|shoutcast|youtube|vimeo>" class="<audio|video|playlist>" protocol="" server_url="" />
# <item>
# <name/><value/>
# </item>
# <status>
# <server-status> s
# <stream-status> si (Mount started: <time>)
# <listener-peak> si (status: Stream is up at 96 kbps with 138 of 250 listeners (134 unique))
# <average-listener-time> s
# <stream-title/> si
# <content-type/> si
# <stream-genre/> si
# <current-song/> si
# <stream-bitrate/> si (status: Stream is up at 96 kbps with 138 of 250 listeners (134 unique))
# <listeners> si (status: Stream is up at 96 kbps with 138 of 250 listeners (134 unique))
# </status>
# </info>
#
icy_name=
icy_genre=
icy_br=
icy_url=
icy_description=
ms_author=
ms_title=
server_type='' # icecast | shoutcast | youtube | vimeo | rutube | ivi
stream_status_url=''
get_opt "Content-type"
stream_type=$opt
check_stream_flag=yes
local url_plugin=''
find_protocol_plugin "'$arg_url'" url_plugin
if [ -n "$url_plugin" ]; then
. $PLUGINS_DIR"$url_plugin" "'$arg_url'"
fi
stream_url=${arg_url}
out_error_info()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<info><error>$1</error><log><![CDATA["
echo "$2"
echo "]]></log></info>"
}
get_shoutcast_item()
{
sed -e "s/.*$1: <\/font><\/td><td><font class=default><b>//" $TMPFILE | sed 's/<\/b>.*//' | sed 's/<.*>//g;s/&/&/g;s/ / /g;s/</</g;s/>/>/g'
}
get_icecast_item()
{
sed "1,/$1:/d" $TMPFILE | sed '/.*:$/,$d' | sed 's/\n/ /g'
}
print_status_item()
{
local s=`echo -n "$2" | awk '{gsub(/\t/," ");gsub(/\r/,"");print}' | sed 's/^[ \n]*//;s/[ \n]*$//;' | awk '{if(NR >1) printf("%s", " "); printf("%s", $0);}' | sed 's/ *$//'`
[ -n "$s" ] && echo "<$1><![CDATA[`unescapeXML \"$s\"`]]></$1>"
return 0
}
#urldecode()
#{
# echo -e "$(sed 'y/+/ /; s/%/\\x/g')"
#}
#urldecode()
#{
# echo "$@" | sed 's/^.*$/'"`echo "$@" | sed 'y/+/ /; s/%/\\\\x/g; s/\//\\\\\//g'`"'/'
#}
test_stream()
{
$MSDL $2 --debug -o ${TMPFILE} --stream-timeout 1 --no-treat-metafile $3 2>${TMPFILE}.log &
local timeout=$1
while /bin/ps | grep -q -s "^ *$! "; do
let timeout=$timeout-1
if [ $timeout -le 0 ]; then
kill -9 $!
break
fi
sleep 1
done
if [ $timeout -le 0 ]; then
echo '!!timeout!!' >> ${TMPFILE}.log
echo 'cannot establish stream' >> ${TMPFILE}.log
fi
cat ${TMPFILE}.log
rm -f ${TMPFILE}.log
rm -f ${TMPFILE}
return 0
}
check_av_stream()
{
if [ "$check_stream_flag" == "no" ]; then
return 0
fi
get_opt "Protocol"
case $opt in
mmst|mmsh|http|rtsp|ftp)
msdlopt="-p $opt"
;;
*)
msdlopt=''
esac
get_opt "Bandwidth"
[ -z "$opt" -a -n "$NET_BANDWIDTH" ] && opt=$NET_BANDWIDTH
[ -n "$opt" ] && msdlopt="$msdlopt -b $opt"
get_opt "Speed"
[ -n "$opt" ] && msdlopt="$msdlopt -s $opt"
buf=
if echo "$arg_url" | grep -q -s "^.*://"; then
# if echo "$arg_url" | grep -q -s "^ftp://"; then
# protocol='ftp'
# else
buf=`test_stream $STREAM_TEST_TIMEOUT "$msdlopt" "$arg_url"`
ms_x_wms_contentdesc=`echo "$buf" | sed -n "/^a=pgmpu:data:application\/x\-wms\-contentdesc/p" | sed -n '$p'`
ms_x_wms_contentdesc=`urldecode_s "$ms_x_wms_contentdesc"`
if echo $buf | grep -q -s "!!timeout!!"; then
if echo "$msdlopt" | grep -q -s "\-p "; then
:
else
buf=`test_stream $STREAM_TEST_TIMEOUT "-p mmsh $msdlopt" "$arg_url"`
fi
elif echo $buf | grep -q -s "invalid redirection url"; then
buf=`test_stream $STREAM_TEST_TIMEOUT "-p http $msdlopt" "$arg_url"`
elif echo $buf | grep -q -s "MMSH header parse error by http header parse error"; then
buf=`test_stream $STREAM_TEST_TIMEOUT "-p http $msdlopt" "$arg_url"`
fi
if echo $buf | grep -q -s "cannot establish stream"; then
reason="`echo "$buf" | sed -n '/^cannot establish stream/{g;1!p;};h'`"
out_error_info "cannot establish stream ($reason)" "$buf"
exit
fi
stream_url=`echo "$buf" | sed -n '/^url:/p' | sed -n '$p' | sed 's/ *url: *//'`
protocol=`echo "$buf" | sed -n '/^download protocol:/p' | sed -n '$p' | sed 's/.*: //'`
if [ "$protocol" == "rtsp - real" ]; then
protocol='real'
else
protocol=`echo "$protocol" | awk '{print $1}'`
fi
redirect=`echo "$buf" | sed -n '/^redirect to/p' | sed -n '$p' | awk '{print $3}'`
if [ -n "$redirect" ]; then
stream_url=$redirect
fi
url_protocol=`echo $stream_url | sed 's/^\(.*\):\/\/.*$/\1/'`
if [ "$protocol" == "mmsh" ]; then
stream_url=`echo $stream_url | sed "s/^\(.*\)\(:\/\/.*\)/$protocol\2/"`
fi
# fi
else
protocol='file'
fi
if [ -z "$stream_type" ]; then
type=`echo "$buf" | sed -n '/^[cC]ontent[ -][tT]ype/p' | sed -n '$p' | awk '{ match($0, /[ ;:]+([a-z]+\/[a-z\-]+)[ ;]*.*$/, arr); print arr[1]}'`
# autodetect stream type
if echo $buf | grep -qs "FINISHED"; then
type=${type:-'application/octet-stream'}
fi
case $protocol in
http|ftp|file)
if [ "$protocol" == "http" ]; then
if [ "$type" == "text/html" -o -z "$type" ]; then
if echo "${stream_url}" | grep -q -s ".*[^a-zA-Z0-9]rss[^a-zA-Z0-9]*.*"; then
type=application/xml
elif echo "${stream_url}" | grep -q -s "^http://.*/\(udp\|rtp\)/[0-9\.:]*$"; then
type=video/x-msvideo
fi
fi
fi
if [ -z "$type" -o "$type" == "text/plain" -o "$type" == "text/html" ]; then
ext=`echo "${stream_url}" | sed 's/\./\n/g' | sed -n '$p'`
case $ext in
flv|FLV)
type=video/x-flv
;;
mp3|MP3|mp2|MP2|mpga|MPGA)
type=audio/mpeg
;;
wma|WMA)
type=audio/x-ms-wma
;;
wax|WAX)
type=audio/x-ms-wax
;;
wmv|WMV)
type=video/x-ms-wmv
;;
wvx|WVX)
type=video/x-ms-wvx
;;
wm|WM)
type=video/x-ms-wm
;;
wmx|WMX)
type=video/x-ms-wmx
;;
m3u|M3U)
type=audio/x-mpegurl
;;
pls|PLS)
type=audio/x-scpls
;;
cue|CUE)
type=audio/x-cue
;;
xspf|XSPF)
type=application/xspf+xml
;;
avi|AVI|mpeg|MPEG|mpg|MPG|mpe|MPE)
type=video/mpeg
;;
qt|QT|mov|MOV)
type=video/quicktime
;;
asf|ASF|asx|ASX)
type=video/x-ms-asf
;;
mp4|MP4|m4v|M4V)
type=video/mp4
;;
wav|WAV)
type=audio/wav
;;
ogg|OGG)
type=application/ogg
;;
rss|RSS)
type=application/rss+xml
;;
jpg|JPG|jpe|JPE|jpeg|JPEG)
type=image/jpeg
;;
png|PNG)
type=image/png
;;
gif|GIF)
type=image/gif
;;
bmp|BMP)
type=image/bmp
;;
txt|TXT)
type=text/plain
;;
esac
elif echo "$type" | grep -q -s "\(video/x-ssf\)"; then
type=video/x-flv
elif echo "$type" | grep -q -s "\(audio/\|video/\|application/xspf\|application/ogg\|image\)"; then
:
elif echo "$type" | grep -q -s "\(text/xml\|application/xml\|application/rss\)"; then
:
elif echo "$type" | grep -q -s "\(application/octet-stream\)"; then
type=video/x-msvideo
else
out_error_info "unknown content type: \"$type\"" "$buf"
exit
fi
get_icy_meta()
{
echo "$buf" | sed -n "/^$1:/p" | sed -n '$p' | sed "s/^$1://" | $TOUTF8
}
icy_name=`get_icy_meta 'icy-name'`
icy_name=${icy_name:-`get_icy_meta 'x-audiocast-name'`}
icy_genre=`get_icy_meta 'icy-genre'`
icy_genre=${icy_genre:-`get_icy_meta 'x-audiocast-genre'`}
icy_br=`get_icy_meta 'icy-br'`
icy_br=${icy_br:-`get_icy_meta 'x-audiocast-bitrate'`}
icy_url=`get_icy_meta 'icy-url'`
icy_url=${icy_url:-`get_icy_meta 'x-audiocast-url'`}
icy_pub=`get_icy_meta 'icy-pub'`
icy_pub=${icy_pub:-`get_icy_meta 'x-audiocast-public'`}
icy_description=`get_icy_meta 'icy-description'`
icy_description=${icy_description:-`get_icy_meta 'x-audiocast-description'`}
icy_notice1=`get_icy_meta 'icy-notice1'`
icy_notice2=`get_icy_meta 'icy-notice2'`
;;
mmsh|mmst|rtsp)
isvideostream=`echo "$buf" | grep "\(is video stream\|video stream detected!!!!\)"`
isaudiostream=`echo "$buf" | grep "\(is audio stream\|audio stream detected!!!!\)"`
if [ -n "$isvideostream" ]; then
type=video/x-msvideo
elif [ -n "$isaudiostream" ]; then
type=audio/x-ms-wma
else
out_error_info "unknown stream" "$buf"
exit
fi
ms_author=`echo "$ms_x_wms_contentdesc" | awk '/,author,/ { a=index($0, ",author,"); s=substr($0, a+8); a=index(s,","); s=substr(s, a+1); a=index(s,","); l=substr(s,0,a-1); s=substr(s,a+1,l); print s }'`
ms_title=`echo "$ms_x_wms_contentdesc" | awk '/,title,/ { a=index($0, ",title,"); s=substr($0, a+7); a=index(s,","); s=substr(s, a+1); a=index(s,","); l=substr(s,0,a-1); s=substr(s,a+1,l); print s }'`
;;
real)
isvideostream=`echo "$buf" | grep "Video Stream \["`
isaudiostream=`echo "$buf" | grep "Audio Stream \["`
if [ -n "$isvideostream" ]; then
type=`echo "$isvideostream" | sed 's/.*Stream \[//;s/\]//'`
elif [ -n "$isaudiostream" ]; then
type=`echo "$isaudiostream" | sed 's/.*Stream \[//;s/\]//'`
else
out_error_info "unknown stream" "$buf"
exit
fi
ms_author=`echo "$buf" | grep "author :" | sed 's/.*author : //'`
ms_title=`echo "$buf" | grep "title :" | sed 's/.*title : //'`
;;
*)
out_error_info "protocol not supported: \"$protocol\"" "$buf"
exit
;;
esac
stream_type=$type
fi
host=''
host_response=''
stream_class=`echo "$stream_type" | sed 's/\/.*//'`
if [ "$protocol" == "http" -a "$stream_class" == "audio" ]; then
# try to define stream server type
host=`echo "$buf" | sed -n '/^Host: \[/p' | sed -n '$p' | awk '{print $3}'`
case $arg_cmd in
info)
buf=`$MSDL --debug -o /dev/null -p http --useragent "${USERAGENT}" --stream-timeout 1 "http://${host}" 2>&1`
host_content_type=`echo "$buf" | sed -n '/^[Cc]ontent\-[Tt]ype:/p' | sed -n '$p'`
;;
status)
host_content_type='text/html'
;;
*)
host_content_type=
;;
esac
if echo "$host_content_type" | grep -qs "text\/html"; then
host_response=`$MSDL -q -o ${TMPFILE} -p http --useragent "${USERAGENT}" --stream-timeout 30 "http://${host}" 2>&1`
if [ -f ${TMPFILE} ]; then
if grep -qsi "[^a-z]icecast[^a-z]" ${TMPFILE}; then
stream_status_url="http://${host}"
server_type='icecast'
host_response=`cat ${TMPFILE}`
elif grep -qsi "[^a-z]shoutcast[^a-z]" ${TMPFILE}; then
stream_status_url="http://${host}"
server_type='shoutcast'
host_response=`cat ${TMPFILE}`
fi
fi
[ "${arg_cmd}" != "info" -a "${arg_cmd}" != "status" -o -z "$server_type" ] && rm -f ${TMPFILE}
fi
if [ -z "$server_type" ]; then
if echo "${icy_notice1} ${icy_notice2}" | grep -q -s -i "shoutcast"; then
server_type='shoutcast'
fi
fi
local is_icy=`awk -v streamurl="$stream_url" -v statusurl="icyx://${host}" '
BEGIN {
match(statusurl, /^icyx:\/\/(.*):(.*)$/, arr);
host_ip = arr[1];
host_port = arr[2];
match(streamurl, /^([^:]*):\/\/([^\/]*)(.*)$/, arr);
host = arr[2];
path = arr[3];
if (path == "") path = "/";
HttpService = "/inet/tcp/0/" host_ip "/" host_port
ORS = "\n\n"
print "GET " path " HTTP/1.0" "\nHost: " host "\nAccept: */*" "\nIcy-MetaData: 1" |& HttpService
ORS = "\n"
RS = "\r?\n\r?\n"
HttpService |& getline Header
print match(Header, /icy-metaint: *([0-9]*)/, arr)
close(HttpService)
}
'`
if [ "$is_icy" != "0" ]; then
stream_status_url="icyx://${host}"
[ -z "$server_type" ] && server_type='icecast'
fi
fi
}
call_url_plugin()
{
local url_plugin=
find_plugin "'$arg_url'" url_plugin
if [ -z "$url_plugin" ]; then
check_av_stream
return $RC_OK
else
. $PLUGINS_DIR"$url_plugin" "'$arg_url'"
fi
}
check_stream()
{
if echo "${arg_url}" | grep -q -s "^ftp:\/\/.*\/$"; then
# fictional ftp browser content type
stream_type=application/x-ftp-browser
elif echo "${arg_url}" | grep -q -s "^\(/.*/\|/\)$"; then
# fictional file browser content type
stream_type=application/x-file-browser
elif call_url_plugin; then
:
else
check_av_stream
fi
[ "$stream_type" == "audio/x-shoutcast-stream" ] && stream_type=audio/x-scpls
case $stream_type in
audio/x-cue)
stream_class='cue'
;;
audio/x-mpegurl|application/xspf*|audio/x-scpls|*/x-ms-asf)
stream_class='playlist'
;;
application/ogg)
stream_class='audio'
;;
application/x-ftp-browser)
protocol='ftp'
stream_class='directory'
;;
application/x-file-browser)
protocol='file'
stream_class='directory'
;;
text/xml|application/xml|application/rss*)
stream_class='rss'
;;
*)
stream_class=${stream_class:-`echo "$stream_type" | sed 's/\/.*//'`}
;;
esac
[ "$stream_class" == "playlist" ] && check_playlist
return 0
}
check_playlist()
{
get_opt "Resolve-playlist"
local resolve=$opt
[ "$resolve" == "0" ] && return 0;
local playlist_file="$TEMP/temp.track"
arg_url=$stream_url
command_playlist | sed '1,2d;s/<track>/\n<track>/g;s/></>\n</g' > $playlist_file
local count=`sed -n '/<track>/p' $playlist_file | sed -n '$='`
if [ "$count" == "1" -o "$resolve" == "1" ]; then
local buf=`awk -f getxml.awk -f getfirstitem.awk "$playlist_file" | sed '/^$/d'`
local location=`echo "$buf" | sed -n '1p'`
local title=`echo "$buf" | sed -n '2p'`
local creator=`echo "$buf" | sed -n '3p'`
if [ "$location" != "$stream_url" ]; then
stream_url=''
stream_type=''
arg_url=$location
check_stream
icy_name=${icy_name:-"$title"}
[ -n "$creator" ] && icy_name="$creator - $icy_name"
ms_title=${ms_title:-"$title"}
ms_author=${ms_author:-"$creator"}
fi
fi
# rm -f $playlist_file
return 0;
}
command_playlist()
{
echo "Content-type: text/xml"
echo
local playlist_file=${arg_url}
local name=`echo "$arg_url" | sed 's/\//\n/g' | sed -n '$p'`
local ext=`echo "$arg_url" | sed 's/\./\n/g' | sed -n '$p'`
local path=`echo "$arg_url" | sed 's/\/[^\/]*$//'`
if echo "${arg_url}" | grep -q -s ".*://"; then
playlist_file="$TEMP/temp.playlist"
rm -f $playlist_file
protocol=`echo "$arg_url" | sed -e 's/:\/\/.*$//'`
buf="`$MSDL --debug --useragent "${USERAGENT}" -o "$playlist_file" -p "$protocol" --no-treat-metafile "${arg_url}" 2>&1`"
# type=`echo "$buf" | sed -n '/^content type/p' | sed -n '$p' | awk '{print $3}'`
type=${stream_type:-`echo "$buf" | sed -n '/^[cC]ontent[ -][tT]ype/p' | sed -n '$p' | awk '{ match($0, /[ ;:]+([a-z]+\/[a-z\-]+)[ ;]*.*$/, arr); print arr[1]}'`}
case $type in
audio/x-cue)
ext="cue"
;;
audio/x-scpls|audio/x-shoutcast-stream)
ext="pls"
;;
audio/x-mpegurl)
ext="m3u"
;;
application/xspf*)
ext="xspf"
;;
*/x-ms-asf)
ext="asx"
;;
esac
fi
case $ext in
xspf|XSPF)
cat "${playlist_file}"
;;
m3u|M3U)
if [ -f "${playlist_file}" ]; then
awk -f $BASEPATH/bin/m3u2xspf -v name="$name" -v path="$path" -v ext="$ext" "${playlist_file}"
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
pls|PLS)
if [ -f "${playlist_file}" ]; then
awk -f $BASEPATH/bin/pls2xspf -v name="$name" -v path="$path" -v ext="$ext" "${playlist_file}"
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
cue|CUE)
if [ -f "${playlist_file}" ]; then
awk -f $BASEPATH/bin/cue2xspf -v path="$path" "${playlist_file}"
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
asx|ASX|asf|ASF)
if [ -f "${playlist_file}" ]; then
if grep -qsi "\[reference\]" ${playlist_file}; then
cat "${playlist_file}" | awk '{gsub(/\t/," ");gsub(/\r/,"");sub(/^\s*/,"");sub(/\s*$/,"");print}' | awk -f $BASEPATH/bin/asf2xspf -v name="$name" -v path="$path"
else
cat "${playlist_file}" | awk '{gsub(/\t/," ");gsub(/\r/,"");print}' | sed 's/>[ \n]*</>\n</g;s/ *>/>/g;s/^ *//;s/ *$//' | awk -f $BASEPATH/bin/asx2xspf -v name="$name" -v path="$path"
fi
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
*)
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title>Unknown playlist format</title>"
echo "</playlist>"
;;
esac
return 0
}
command_text()
{
check_stream
echo "Content-type: text/plain"
echo
echo "Protocol: $protocol"
echo "Type: $stream_type"
echo "Stream url: $stream_url"
echo "Host: $host"
echo "Host response: $host_response"
echo "Server type: $server_type"
echo
echo "$buf"
echo
return 0
}
command_info()
{
if [ "$arg_cmd" == "status" ]; then
check_server
else
check_stream
fi
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<info>"
escaped_url="`echo $stream_url | sed 's/&/&/g'`"
if [ "$protocol" == "http" -o "$protocol" == "mms" -o "$protocol" == "mmsh" -o "$protocol" == "rtsp" ]; then
escaped_url="`echo $escaped_url | sed 's/ /%20/g'`"
fi
echo "<stream url=\"$escaped_url\" type=\"$stream_type\" class=\"$stream_class\" protocol=\"$protocol\" server=\"$server_type\" server_url=\"$stream_status_url\" />"
case $stream_class in
audio|video)
echo "<status>"
meta_server_status=
meta_stream_status=
meta_stream_bitrate=
meta_stream_title=
meta_stream_genre=
meta_content_type=
meta_listeners=
meta_listener_peak=
meta_average_listener_time=
meta_current_song=
meta_stream_description=
if [ -n "$stream_status_url" -a -f "$TMPFILE" ]; then
if grep -q -s -i "charset=utf-8" ${TMPFILE}; then
:
else
$TOUTF8 <${TMPFILE} >${TMPFILE}.utf8 && mv -f ${TMPFILE}.utf8 ${TMPFILE}
fi
case $server_type in
shoutcast)
meta_server_status=`get_shoutcast_item 'Server Status'`
meta_stream_status=`get_shoutcast_item 'Stream Status'`
meta_stream_bitrate=`echo "$value" | sed 's/.*is up at //' | awk '{print $1}'`
meta_stream_title=`get_shoutcast_item 'Stream Title'`
meta_stream_genre=`get_shoutcast_item 'Stream Genre'`
meta_content_type=`get_shoutcast_item 'Content Type'`
meta_listeners=`echo "$value" | sed 's/.*with //' | awk '{print $1}'`
meta_listener_peak=`get_shoutcast_item 'Listener Peak'`
meta_average_listener_time=`get_shoutcast_item 'Average Listen Time'`
meta_current_song=`get_shoutcast_item 'Current Song'`
meta_stream_description=''
;;
icecast)
mount_point=`echo "$stream_url" | sed 's/\//\n/g' | sed -n '$p' | sed 's/ *$//'`
if grep -q -s "/${mount_point}" ${TMPFILE}; then
sed -e 's/<[^<>]*>/\n/g' ${TMPFILE} | sed 's/^ *//' | sed '/^ *$/d' | sed 's/&/&/g;s/ / /g;s/</</g;s/>/>/g' | sed "1,/[Mm]ount [Pp]oint.*${mount_point}/d" | sed '/[mM]ount [pP]oint/,$d' | sed '/upport icecast development/,$d' > ${TMPFILE}.$$
mv -f $TMPFILE.$$ $TMPFILE
meta_server_status=''
meta_stream_status=`get_icecast_item 'Mount started'`
meta_stream_bitrate=`get_icecast_item 'Bitrate'`
meta_stream_title=`get_icecast_item 'Stream Title'`
meta_stream_genre=`get_icecast_item 'Stream Genre'`
meta_content_type=`get_icecast_item 'Content Type'`
meta_listeners=`get_icecast_item 'Current Listeners'`
meta_listener_peak=`get_icecast_item 'Peak Listeners'`
meta_average_listener_time=''
meta_current_song=`get_icecast_item 'Current Song'`
meta_stream_description=''
fi
;;
station.ru)
meta_current_song=`echo "$host_response" | awk '/"Artist"/{match($0, /"Artist":"([^"]+)".*"Song":"([^"]+)"/, arr);print arr[1] " - " arr[2];}'`
;;
esac
fi
if echo "$stream_status_url" | grep -qsi "^icyx://"; then
meta_current_song=`awk -v streamurl="$stream_url" -v statusurl="$stream_status_url" '
BEGIN {
match(statusurl, /^icyx:\/\/(.*):(.*)$/, arr);
host_ip = arr[1];
host_port = arr[2];
match(streamurl, /^([^:]*):\/\/([^\/]*)(.*)$/, arr);
host = arr[2];
path = arr[3];
if (path == "") path = "/";
HttpService = "/inet/tcp/0/" host_ip "/" host_port
ORS = "\n\n"
print "GET " path " HTTP/1.0" "\nHost: " host "\nAccept: */*" "\nIcy-MetaData: 1" |& HttpService
ORS = "\n"
RS = "\r?\n\r?\n"
HttpService |& getline Header
if(match(Header, /icy-metaint: *([0-9]*)/, arr))
{
metaint = strtonum(arr[1]);
RS = "\0"
counter = 0;
while(counter < metaint)
{
HttpService |& getline
counter = counter + length($0) + 1
}
if(metaint != counter + 1)
{
split($0, a, "\x27;");
if(match(a[1], /^.*StreamTitle=\x27(.*)/, arr))
{
print arr[1];
}
}
}
close(HttpService)
}
'`
if echo "$meta_current_song" | $TOUTF8 -t; then
meta_current_song=`echo "$meta_current_song" | $XCODE -s | $TOUTF8`
fi
fi
case $protocol in
http|rtmp)
meta_stream_title=${meta_stream_title:-"$icy_name"}
meta_stream_genre=${meta_stream_genre:-"$icy_genre"}
meta_stream_bitrate=${meta_stream_bitrate:-"$icy_br"}
meta_stream_description=${meta_stream_description:-"$icy_description"}
;;
mmst|mmsh|rtsp)
if [ -n "$ms_author" -a -n "$ms_title" ]; then
if [ "$ms_author" != "$ms_title" ]; then
meta_stream_title="$ms_title / $ms_author"
else
meta_stream_title="$ms_title"
fi
else
meta_stream_title="$ms_title$ms_author"
fi
;;
esac
if echo "$meta_stream_title" | $TOUTF8 -t; then
meta_stream_title=`echo "$meta_stream_title" | $XCODE -s | $TOUTF8`
fi
if echo "$meta_stream_genre" | $TOUTF8 -t; then
meta_stream_genre=`echo "$meta_stream_genre" | $XCODE -s | $TOUTF8`
fi
if echo "$meta_stream_description" | $TOUTF8 -t; then
meta_stream_description=`echo "$meta_stream_description" | $XCODE -s | $TOUTF8`
fi
print_status_item 'server-status' "${meta_server_status}"
print_status_item 'stream-status' "$meta_stream_status"
print_status_item 'listener-peak' "$meta_listener_peak"
print_status_item 'average-listener-time' "$meta_average_listener_time"
print_status_item 'stream-title' "$meta_stream_title"
print_status_item 'content-type' "$meta_content_type"
print_status_item 'stream-genre' "$meta_stream_genre"
print_status_item 'current-song' "$meta_current_song"
print_status_item 'stream-bitrate' "$meta_stream_bitrate"
print_status_item 'stream-description' "$meta_stream_description"
print_status_item 'listeners' "$meta_listeners"
echo "</status>"
rm -f ${TMPFILE}
;;
playlist)
if echo "$icy_name" | $TOUTF8 -t; then
icy_name=`echo "$icy_name" | $XCODE -s | $TOUTF8`
fi
if [ -n "$icy_name" ]; then
echo "<status>"
print_status_item 'stream-title' "$icy_name"
echo "</status>"
fi
;;
esac
echo "</info>"
return 0
}
command_scan()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title>Playlists</title>"
echo "<trackList>"
if [ -f "${XSPFSCAN}" ]; then
for path in `cat "${XSPFSCAN}"`
do
path=`echo "$path" | sed 's/\/*$//'`
if [ -d "${path}" ]; then
ls -1 ${path}/*.xspf ${path}/*.m3u ${path}/*.pls 2>/dev/null | awk '\
{
title=a[split($0, a, "/")];
match($0, /.*\.([^.\/]+)$/, arr);
ext = tolower(arr[1]);
print "<track><title><![CDATA[" title "]]></title><location><![CDATA[" $0 "]]></location><meta rel=\"protocol\">file</meta><meta rel=\"ext\">" ext "</meta></track>";
}
'
fi
done
fi
echo "</trackList>"
echo "</playlist>"
return 0
}
command_ls()
{
get_opt "Filter"
filter=${opt:="$DEFAULTFILTER"}
get_opt "Chroot"
isroot=$opt
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[${arg_url}]]></title>"
echo "<trackList>"
if [ -d "${arg_url}" ]; then
/bin/ls -1l "${arg_url}" 2>/dev/null | awk -v path="${arg_url}" '
function resolvesymlink(s, dirpath) {
match(s, /^[^ ]+ *([^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *.+ *-> *)(.+)$/, src);
current = s;
currentpath = dirpath;
while(current ~ /^l/) {
match(current, /^[^ ]+ *([^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *.+ *-> *)(.+)$/, arr);
if(arr[2] !~ /^\// ) {
match(currentpath, /(.*\/)[^\/]*\/*$/, dirarr);
currentpath = dirarr[1] arr[2];
}
else {
currentpath = arr[2];
}
lscmd = "ls -1ld " currentpath " 2>/dev/null";
ERRNO = 0;
lscmd |& getline current;
close(lscmd);
if(ERRNO != 0)
return "";
}
match(current, /^([^ ]+ *)[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)$/, arr);
return arr[1] src[1] currentpath;
}
$0 ~ /^l/ {
s = resolvesymlink($0, path);
if(s != "")
print s;
}
$0 ~ /^(d|-)/ {
print $0;
}
' > $TMPFILE
awk -v path="${arg_url}" -v isroot="$isroot" '
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
if(isroot != "yes")
{
match(path, /(.*\/)[^\/]+\/$/, arr);
location=arr[1];
title="..";
if(location != "") {
print "<track><title><![CDATA[" title "]]></title><location><![CDATA[" location "]]></location>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">file</meta></track>";
}
}
}
$1 ~ /^d/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)$/, arr);
title=arr[1];
if(title ~ /->/) {
match(title, /^(.+) +-> +(.+)$/, arr);
location=arr[2];
title=arr[1];
}
else {
location=path arr[1];
}
if(location !~ /\/$/) {
location=location "/";
}
print "<track><title><![CDATA[/" title "/]]></title><location><![CDATA[" location "]]></location>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">file</meta></track>";
}
' $TMPFILE
awk -v path="${arg_url}" -v filter="$filter" '
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
}
$1 ~ /^-/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)$/, arr);
title=arr[1];
if(title ~ /->/) {
match(title, /^(.+) +-> +(.+)$/, arr);
location=arr[2];
title=arr[1];
}
else {
location=path arr[1];
}
match(location, /.*\.([^.\/]+)$/, arr);
ext = tolower(arr[1]);
if(ext ~ filter) {
match(location, /^(.+):\/\//, arr);
protocol = tolower(arr[1]);
if(protocol == "")
protocol = "file";
print "<track><title><![CDATA[" title "]]></title>";
print "<location><![CDATA[" location "]]></location>";
print "<meta rel=\"ext\">" ext "</meta><meta rel=\"protocol\">" protocol "</meta></track>";
}
}
' $TMPFILE
rm -f $TMPFILE
fi
echo "</trackList>"
echo "</playlist>"
return 0
}
command_lsftp()
{
get_opt "Charset"
charset=$opt
get_opt "Filter"
filter=${opt:="$DEFAULTFILTER"}
get_opt "Chroot"
isroot=$opt
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[${arg_url}]]></title>"
echo "<trackList>"
$MSDL --ftp-list -q -o $TMPFILE "${arg_url}" 2>/dev/null
if [ -f $TMPFILE ]; then
ICONV=
[ "$charset" == "CP1251" ] && ICONV=$TOUTF8
awk -v path="${arg_url}" -v toutf8="$ICONV" -v charset="$charset" -v isroot="$isroot" '
function iconv(s) {
if(toutf8 == "") return s;
print s |& toutf8;
close(toutf8, "to");
toutf8 |& getline line;
close(toutf8);
return line;
}
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
if(isroot != "yes")
{
match(path, /^(ftp:\/\/.+\/)[^\/]+\/$/, arr);
location=arr[1];
title="..";
if(location != null) {
print "<track><title><![CDATA[" title "]]></title><location><![CDATA[" location "]]></location>";
if(charset != "")
print "<meta rel=\"translate\">Charset:" charset "</meta>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">ftp</meta></track>";
}
}
}
$1 ~ /^d/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)[\n\r]+$/, arr);
location=path arr[1] "/";
title=arr[1];
print "<track><title><![CDATA[/" iconv(title) "/]]></title><location><![CDATA[" location "]]></location>";
if(charset != "")
print "<meta rel=\"translate\">Charset:" charset "</meta>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">ftp</meta></track>";
}
' $TMPFILE
awk -v path="${arg_url}" -v toutf8="$ICONV" -v filter="$filter" '
function iconv(s) {
if(toutf8 == "") return s;
print s |& toutf8;
close(toutf8, "to");
toutf8 |& getline line;
close(toutf8);
return line;
}
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
}
$1 ~ /^-/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)[\n\r]+$/, arr);
title=arr[1];
location=path title;
match(location, /.*\.([^.\/]+)$/, arr);
ext = tolower(arr[1]);
if(ext ~ filter)
{
match(location, /^(.+):\/\//, arr);
protocol = tolower(arr[1]);
if(protocol == "")
protocol = "file";
print "<track><title><![CDATA[" iconv(title) "]]></title>";
print "<location><![CDATA[" location "]]></location>";
print "<meta rel=\"ext\">" ext "</meta><meta rel=\"protocol\">" protocol "</meta></track>";
}
}
' $TMPFILE
rm -f $TMPFILE
fi
echo "</trackList>"
echo "</playlist>"
return 0
}
command_random()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<randomList>"
awk -v count=${arg_opt} -v start=${arg_url} '
BEGIN {
srand();
r=start;
seq[r]=0;
print "<item>" r "</item>";
for(i=1;i<count;i++) {
do {
r=int(count*rand());
} while(r in seq);
seq[r]=i;
print "<item>" r "</item>";
}
exit;
}
'
echo "</randomList>"
return 0
}
check_server()
{
if echo "$stream_status_url" | grep -q -s -i "^icyx://"; then
stream_class='audio';
server_type='x-cast';
else
host_response=`$MSDL -q -o ${TMPFILE} -p http --useragent "${USERAGENT}" --stream-timeout 30 "$stream_status_url" 2>&1`
if [ -f ${TMPFILE} ]; then
stream_class='audio';
if grep -q -s -i "[^a-z]icecast[^a-z]" ${TMPFILE}; then
server_type='icecast'
host_response=`cat ${TMPFILE}`
elif grep -q -s -i "[^a-z]shoutcast[^a-z]" ${TMPFILE}; then
server_type='shoutcast'
host_response=`cat ${TMPFILE}`
elif echo "$stream_status_url" | grep -q -s -i "[^a-z]station.ru[^a-z]"; then
server_type='station.ru'
host_response=`cat ${TMPFILE}`
fi
fi
fi
}
command_translit()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo -n "<string><![CDATA["
from_translit "$arg_url"
echo "]]></string>"
return 0
}
case ${arg_cmd} in
text)
command_text
;;
info)
command_info
;;
stream|audio|video|image)
get_opt "Protocol"
case $opt in
mms|mmst|mmsh|http|rtsp|ftp)
msdlopt='-p $opt'
;;
*)
msdlopt=''
esac
get_opt "Bandwidth"
[ -z "$opt" -a -n "$NET_BANDWIDTH" ] && opt=$NET_BANDWIDTH
[ -n "$opt" ] && msdlopt="$msdlopt -b $opt"
get_opt "Speed"
[ -n "$opt" ] && msdlopt="$msdlopt -s $opt"
get_opt "User-agent"
[ -n "$opt" ] && msdlopt="$msdlopt --useragent \"$opt\""
get_opt "Charset"
charset=$opt
if [ -z "$stream_type" ]; then
local TIMELIFE=${STREAM_INFO_TIMELIFE:-60}
local CACHEFILE=$CACHEPATH/stream.`echo $arg_url | sed 's/[^0-9a-zA-Z]/_/g'`
local tsttime
let tsttime=`date +%s`-$TIMELIFE
if [ -f $CACHEFILE ]; then
if [ `date +%s -r $CACHEFILE` -gt $tsttime ]; then
stream_url=`sed -ne "1p" $CACHEFILE`
stream_type=`sed -ne "2p" $CACHEFILE`
arg_opt=`sed -ne "3p" $CACHEFILE`
fi
fi
if [ -z "$stream_type" ]; then
check_stream
echo $stream_url > $CACHEFILE
echo $stream_type >> $CACHEFILE
echo $arg_opt >> $CACHEFILE
fi
fi
echo "Content-type: $stream_type"
echo
if echo "$stream_url" | grep -qs "^rtmp"; then
get_opt "Rtmp-options"
killall -q $RTMPDUMP 2>&1
exec nice /usr/local/etc/www/cgi-bin/scripts/rtmpdump -q -v -o - -b 60000 -r "$stream_url" $opt
elif [ "$charset" == "CP1251" ]; then
$MSDL $msdlopt -q -o - "$stream_url" | $TOUTF8 | sed 's/windows-125./utf-8/'
else
exec $MSDL $msdlopt -q -o - "$stream_url"
fi
;;
random)
command_random
;;
status)
stream_url=$arg_url
stream_status_url=$arg_opt
command_info
;;
flac)
get_opt "Flac-skip"
flac_skip=$opt
get_opt "Flac-until"
flac_until=$opt
echo "Content-type: audio/wav"
echo
exec $FLAC -d -c --skip="$flac_skip" --until="$flac_until" --totally-silent "$stream_url"
;;
directory)
if echo "${arg_url}" | grep -q -s "^ftp:\/\/.*\/$"; then
command_lsftp
elif echo "${arg_url}" | grep -q -s "^/.*/$"; then
command_ls
fi
;;
translit)
command_translit
;;
playlist|startpoint)
if [ "$arg_cmd" == "startpoint" ]; then
arg_url="$STARTPOINT"
fi
if echo "${arg_url}" | grep -q -s "^ftp:\/\/.*\/$"; then
command_lsftp
elif echo "${arg_url}" | grep -q -s "^/.*/$"; then
command_ls
elif [ -z "${arg_url}" ]; then
command_scan
else
command_playlist
fi
;;
renderer)
echo "$arg_url" > "/tmp/xspf_renderer.dat"
echo "$arg_opt" >> "/tmp/xspf_renderer.dat"
echo "Content-type: text/plain"
echo
;;
renderer-*)
echo "{${arg_cmd}}" > "/tmp/xspf_renderer.dat"
echo "Content-type: text/plain"
echo
;;
download)
echo "Content-type: text/xml"
echo
echo "<success/>"
exec $MSDL -q -o "$arg_opt" "$stream_url"
;;
app)
if [ -f $TRANSLATE/app/$arg_url ]; then
. $TRANSLATE/app/$arg_url
fi
;;
app/*)
if [ -f $TRANSLATE/$arg_cmd ]; then
. $TRANSLATE/$arg_cmd
fi
;;
scan|*)
command_scan
;;
esac
| 1073s | trunk/util/.svn/text-base/translate.cgi.svn-base | Shell | gpl3 | 41,017 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function changeext($directory) {
$num = 0;
if($curdir = opendir($directory)) {
while($file = readdir($curdir)) {
if($file != '.' && $file != '..') {
$srcfile = $directory . '/' . $file;
if(!is_dir($srcfile)) {
if (strpos($srcfile, 'cgi_bin_translate_stream') !== false) {
$data = date("d.m-H.i.s");
$newfile = $data."-".$num.".flv";
$dstfile = $directory . '/' . $newfile;
$fileHand = fopen($srcfile, 'r');
fclose($fileHand);
rename($srcfile, $dstfile );
$num ++;
}
}
}
}
closedir($curdir);
}
return $num;
}
$movie_dir = "/tmp/hdd/volumes/HDD1/movie";
if (is_dir($movie_dir)) {
changeext($movie_dir);
}
$movie_dir = "/tmp/hdd/volumes/HDD2/movie";
if (is_dir($movie_dir)) {
changeext($movie_dir);
}
$movie_dir = "/tmp/usbmounts/sdb1/movie";
if (is_dir($movie_dir)) {
changeext($movie_dir);
}
$movie_dir = "/tmp/usbmounts/sdb2/movie";
if (is_dir($movie_dir)) {
changeext($movie_dir);
}
$movie_dir = "/tmp/usbmounts/sda1/movie";
if (is_dir($movie_dir)) {
changeext($movie_dir);
}
$movie_dir = "/tmp/usbmounts/sda2/movie";
if (is_dir($movie_dir)) {
changeext($movie_dir);
}
echo "<?xml version='1.0' ?>";
?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<mediaDisplay name="threePartsView" itemBackgroundColor="0:0:0" backgroundColor="0:0:0" sideLeftWidthPC="0" itemImageXPC="5" itemXPC="20" itemYPC="20" itemWidthPC="65" capWidthPC="70" unFocusFontColor="101:101:101" focusFontColor="255:255:255" idleImageWidthPC="10" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<backgroundDisplay>
<image offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
image/mele/backgd.jpg
</image>
</backgroundDisplay>
<image offsetXPC=0 offsetYPC=2.8 widthPC=100 heightPC=15.6>
image/mele/rss_title.jpg
</image>
<text offsetXPC=40 offsetYPC=8 widthPC=35 heightPC=10 fontSize=20 backgroundColor=-1:-1:-1 foregroundColor=255:255:255>
Redenumire fişiere descărcate
</text>
<text offsetXPC=5 offsetYPC=30 widthPC=90 heightPC=10 fontSize=16 backgroundColor=-1:-1:-1 foregroundColor=200:200:200>
Fişierele descărcate au fost redenumite
</text>
</mediaDisplay>
<channel>
<title>Redenumire fişiere</title>
</channel>
</rss>
| 1073s | trunk/util/.svn/text-base/ren.php.svn-base | PHP | gpl3 | 2,807 |
#!/bin/sh
cat <<EOF
Content-type: video/mp4
EOF
exec /sbin/wget --limit-rate=500k -O - `echo $QUERY_STRING|sed "s_\&_\&_g"`
| 1073s | trunk/util/.svn/text-base/mozhay.cgi.svn-base | Shell | gpl3 | 129 |
#!/bin/sh
# Dreambox Live
c_param1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f1`
c_value1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f2`
echo "Content-type: text/html"
echo
echo "<html><head>"
echo "<title>xVoD</title>"
echo "<link type='text/css' rel='stylesheet' href='/cube_web_management.css' />"
echo "</head>"
echo "<body>"
echo "<h1>xVoD</h1><hr><br>"
if [ $c_value1 = "install" ]
then
if [ -e /tmp/hdd/volumes/HDD1 ]
then
storage=/tmp/hdd/volumes/HDD1
loc="HDD"
elif [ -e /tmp/usbmounts/sda1 ]
then
storage=/tmp/usbmounts/sda1
loc="USB1"
elif [ -e /tmp/usbmounts/sdb1 ]
then
storage=/tmp/usbmounts/sdb1
loc="USB1"
elif [ -e /tmp/usbmounts/sdc1 ]
then
storage=/tmp/usbmounts/sdc1
loc="USB1"
elif [ -e /tmp/usbmounts/sda2 ]
then
storage=/tmp/usbmounts/sda2
loc="USB2"
elif [ -e /tmp/usbmounts/sdb2 ]
then
storage=/tmp/usbmounts/sdb2
loc="USB2"
elif [ -e /tmp/usbmounts/sdc2 ]
then
storage=/tmp/usbmounts/sdc2
loc="USB2"
elif [ -e /tmp/usbmounts/sda ]
then
storage=/tmp/usbmounts/sda
loc="USB"
elif [ -e /tmp/usbmounts/sdb ]
then
storage=/tmp/usbmounts/sdb
loc="USB"
fi
if [ -e $storage ]
then
echo "<h2>Install xVoD on " $storage "</h2><br>"
rm -f $storage/xvod.zip
cd $storage
wget -q http://hdforall.googlecode.com/files/xvod.zip -O xvod.zip
if [ -f $storage/xvod.zip ]
then
echo "download OK....<br>"
#remove scripts
rm -rf $storage/xLive/xVoD/*
echo "unzip.....<br>"
unzip -q -o xvod.zip
rm -f $storage/xvod.zip
cd /usr/local/etc
rm -f xVoD
ln -s $storage/xLive/xVoD xVoD
echo "<h3>Install OK! Enjoy</h3>"
else
echo "<h3>Can not install xVoD!<br>Check network.</h3>"
fi
fi
fi
############################################
############################################
echo "<br></body></html>"
| 1073s | trunk/util/.svn/text-base/xvod.cgi.svn-base | Shell | gpl3 | 1,839 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
error_reporting(0);
exec ("rm -f /tmp/test.xml");
$file = $_GET["file"];
$file=urldecode($file);
$ttxml ="<subtitrare>"."\n";
$full_line = '';
$last_end=0;
$html = file_get_contents($file);
$videos = explode('<p', $html);
unset($videos[0]);
$videos = array_values($videos);
$n=1;
foreach($videos as $video) {
$t1=explode('begin="',$video);
$t2=explode('"',$t1[1]);
$start=$t2[0];
$time1=explode(":",$start);
$begin = 60*$time1[0] + $time1[1];
$t1=explode('end="',$video);
$t2=explode('"',$t1[1]);
$endtime=$t2[0];
$time1=explode(":",$endtime);
$end = 60*$time1[0] + $time1[1];
$f = "/usr/local/bin/home_menu";
if (!file_exists($f)) {
if ($begin > $last_end)
{
$ttxml .="<sub>"."\n";
$ttxml .="<time1>".$last_end."</time1>"."\n";
$ttxml .="<time2>".$begin."</time2>"."\n";
$ttxml .="<line1></line1>"."\n";
$ttxml .="<line2></line2>"."\n";
$ttxml .="</sub>"."\n\n";
}
$last_end=$end;
}
$line=str_between($t1[1],">","</p");
$l=explode("<br/>",$line);
$line1=$l[0];
$line2=$l[1];
$line1 = trim(preg_replace("/<(.*)>|(\{(.*)\})/e","",$line1));
$line2 = trim(preg_replace("/<(.*)>|(\{(.*)\})/e","",$line2));
if ($line2=="")
{
$line2=$line1;
$line1="";
}
$ttxml .="<sub>"."\n";
$ttxml .="<time1>".$begin."</time1>"."\n";
$ttxml .="<time2>".$end."</time2>"."\n";
$ttxml .="<line1>".$line1."</line1>"."\n";
$ttxml .="<line2>".$line2."</line2>"."\n";
$ttxml .="</sub>"."\n\n";
}
$ttxml .="</subtitrare>";
$new_file = "/tmp/test.xml";
$fh = fopen($new_file, 'w');
fwrite($fh, $ttxml);
fclose($fh);
?>
| 1073s | trunk/util/.svn/text-base/xml_xml.php.svn-base | PHP | gpl3 | 1,788 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
error_reporting(0);
if (file_exists("/tmp/usbmounts/sda1/download")) {
$dir = "/tmp/usbmounts/sda1/download/";
$dir_log = "/tmp/usbmounts/sda1/download/log/";
} elseif (file_exists("/tmp/usbmounts/sdb1/download")) {
$dir = "/tmp/usbmounts/sdb1/download/";
$dir_log = "/tmp/usbmounts/sdb1/download/log/";
} elseif (file_exists("/tmp/usbmounts/sdc1/download")) {
$dir = "/tmp/usbmounts/sdc1/download/";
$dir_log = "/tmp/usbmounts/sdc1/download/log/";
} elseif (file_exists("/tmp/usbmounts/sda2/download")) {
$dir = "/tmp/usbmounts/sda2/download/";
$dir_log = "/tmp/usbmounts/sda2/download/log/";
} elseif (file_exists("/tmp/usbmounts/sdb2/download")) {
$dir = "/tmp/usbmounts/sdb2/download/";
$dir_log = "/tmp/usbmounts/sdb2/download/log/";
} elseif (file_exists("/tmp/usbmounts/sdc2/download")) {
$dir = "/tmp/usbmounts/sdc2/download/";
$dir = "/tmp/usbmounts/sdc2/download/log/";
} elseif (file_exists("/tmp/hdd/volumes/HDD1/download")) {
$dir = "/tmp/hdd/volumes/HDD1/download/";
$dir_log = "/tmp/hdd/root/log/";
} else {
$dir = "";
$dir_log = "";
}
//topUrl = "http://127.0.0.1/cgi-bin/scripts/util/xml_srt1.php?file=" + getItemInfo(getFocusItemIndex(),"subtitrare") + "," + getItemInfo(getFocusItemIndex(),"name");
$link = $_GET["file"];
$t1=explode(",",$link);
$link = $t1[0];
$srt = $dir.$t1[1].".srt";
$out="";
$html = file_get_contents($link);
$videos = explode('<p', $html);
unset($videos[0]);
$videos = array_values($videos);
$n=1;
foreach($videos as $video) {
$t1=explode('begin="',$video);
$t2=explode('"',$t1[1]);
$start=$t2[0];
if (strlen($start)==5) {
$start="00:".$start.",000";
} else {
$start=$start.",000";
}
$t1=explode('end="',$video);
$t2=explode('"',$t1[1]);
$end=$t2[0];
if (strlen($end)==5) {
$end="00:".$end.",000";
} else {
$end=$end.",000";
}
$line=str_between($t1[1],">","</p");
$line=str_replace("<br/>","\r\n",$line);
$out = $out.$n."\r\n";
$out = $out.$start." --> ".$end."\r\n";
$out = $out.$line."\r\n";
$out = $out."\r\n";
$n++;
}
$out = preg_replace("/<(.*)>|(\{(.*)\})/e","",$out);
$rm = "rm -f ".$srt;
exec ($rm);
if ($n > 2) {
$fp = fopen($srt, 'w');
fwrite($fp, $out);
fclose($fp);
print "Subtitrare descarcata";
} else {
print "Descarcare subtitrare esuata";
}
?>
| 1073s | trunk/util/.svn/text-base/xml_srt1.php.svn-base | PHP | gpl3 | 2,533 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
error_reporting(0);
exec ("rm -f /tmp/test.xml");
$file = $_GET["file"];
$file=urldecode($file);
$html=file_get_contents($file);
$ttxml ="<subtitrare>"."\n";
$last_end=0;
$videos = explode('<text', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1=explode('start="',$video);
$t2=explode('"',$t1[1]);
$b1=$t2[0];
$t1=explode('dur="',$video);
$t2=explode('"',$t1[1]);
$d1=$t2[0];
$begin=round($b1);
$end=round($b1+$d1);
$f = "/usr/local/bin/home_menu";
if (!file_exists($f)) {
if ($begin > $last_end)
{
$ttxml .="<sub>"."\n";
$ttxml .="<time1>".$last_end."</time1>"."\n";
$ttxml .="<time2>".$begin."</time2>"."\n";
$ttxml .="<line1></line1>"."\n";
$ttxml .="<line2></line2>"."\n";
$ttxml .="</sub>"."\n\n";
}
$last_end=$end;
}
$t1=explode(">",$video);
$t2=explode("<",$t1[1]);
$line=trim($t2[0]);
$line=str_replace("\n"," ",$line);
$line=str_replace("ã","a",$line);
$line=str_replace("&quot;",'"',$line);
$newtext = wordwrap($line, 44, "<br>");
$t1=explode("<br>",$newtext);
$line1=$t1[0];
$line2=$t1[1];
if ($line2=="")
{
$line2=$line1;
$line1="";
}
$ttxml .="<sub>"."\n";
$ttxml .="<time1>".$begin."</time1>"."\n";
$ttxml .="<time2>".$end."</time2>"."\n";
$ttxml .="<line1>".$line1."</line1>"."\n";
$ttxml .="<line2>".$line2."</line2>"."\n";
$ttxml .="</sub>"."\n\n";
}
$ttxml .="</subtitrare>";
$ttxml .="</subtitrare>";
$new_file = "/tmp/test.xml";
$fh = fopen($new_file, 'w');
fwrite($fh, $ttxml);
fclose($fh);
?>
| 1073s | trunk/util/.svn/text-base/google_xml.php.svn-base | PHP | gpl3 | 1,827 |
#!/bin/sh
#
# http://code.google.com/media-translate/
# Copyright (C) 2010 Serge A. Timchenko
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#QUERY_STRING=scan
TRANSLATE=${TRANSLATE:-/usr/local/etc/translate}
. $TRANSLATE/lib/common
XSPFSCAN=${XSPFSCAN:-$BASEPATH/etc/xspf.scan}
STARTPOINT=${STARTPOINT:-''}
CACHEPATH=${CACHEPATH:-/tmp}
TEMP=${TEMP:-/tmp}
YOUTUBE_HD=${YOUTUBE_HD:-'yes'}
VIMEO_HD=${VIMEO_HD:-'yes'}
IVI_HD=${IVI_HD:-'yes'}
NET_BANDWIDTH=${NET_BANDWIDTH:-}
PLUGINS_DIR=$BASEPATH/plugins/
RC_OK=0
RC_FAIL=1
STREAM_TEST_TIMEOUT=15
DEFAULTFILTER="(mp3|mp2|mpga|ogg|wav|wma|wax|m4a|mp4a|avi|mpeg|mpg|mpe|wmv|wvx|wm|wmx|flv|qt|mov|asf|asx|mp4|m4v|mp4v|mpg4|xspf|m3u|pls|cue|txt|flac|jpg|jpeg|jpe|png|gif|bmp)"
UDPXY_URL=${UDPXY_URL:-'http://127.0.0.1:8080'}
UDPXY_URL=`echo "$UDPXY_URL" | awk '{sub(/\/$/, ""); gsub(/\//, "\\\/"); gsub(/\./, "\\\."); print}'`
#RTMPGW_URL=${RTMPGW_URL:-'http://127.0.0.1:88'}
RTMPGW_URL=`echo "$RTMPGW_URL" | awk '{sub(/\/$/, ""); print}'`
USERAGENT="Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13"
TMPFILE=$TEMP/$$.tmp
[ ! -d $CACHEPATH ] && CACHEPATH=$TEMP
arg_cmd=`echo "$QUERY_STRING" | awk -F, '{print $1}'`
arg_opt=`echo "$QUERY_STRING" | awk -F, '{print $2}'`
arg_url=`echo "$QUERY_STRING" | awk -F, '{for(i=3; i<NF; i++) printf "%s,", $(i); printf "%s", $(NF); }'`
arg_url=`urldecode_s "$arg_url"`
arg_opt=`urldecode_s "$arg_opt"`
# http://127.0.0.1/translate[?<scan|*>]
# http://127.0.0.1/translate?stream,[<option1;...optionN>],<url>
# Available options:
# Content-type:<content type>
# HD:<yes|no>
# Protocol:<mms|mmst|mmsh|http|rtsp|ftp>
# Bandwidth:<bps>
# Speed:<streaming speed>
# http://127.0.0.1/translate?<info|status>,,<url>
# http://127.0.0.1/translate?text,,<url>
# http://127.0.0.1/translate?playlist,,<path to playlist>
# <list>
# <item>
# <title></title>
# <location></location>
# </item>
# </list>
#
# <info>
# <stream url="" type="" server="<icecast|shoutcast|youtube|vimeo>" class="<audio|video|playlist>" protocol="" server_url="" />
# <item>
# <name/><value/>
# </item>
# <status>
# <server-status> s
# <stream-status> si (Mount started: <time>)
# <listener-peak> si (status: Stream is up at 96 kbps with 138 of 250 listeners (134 unique))
# <average-listener-time> s
# <stream-title/> si
# <content-type/> si
# <stream-genre/> si
# <current-song/> si
# <stream-bitrate/> si (status: Stream is up at 96 kbps with 138 of 250 listeners (134 unique))
# <listeners> si (status: Stream is up at 96 kbps with 138 of 250 listeners (134 unique))
# </status>
# </info>
#
icy_name=
icy_genre=
icy_br=
icy_url=
icy_description=
ms_author=
ms_title=
server_type='' # icecast | shoutcast | youtube | vimeo | rutube | ivi
stream_status_url=''
get_opt "Content-type"
stream_type=$opt
check_stream_flag=yes
local url_plugin=''
find_protocol_plugin "'$arg_url'" url_plugin
if [ -n "$url_plugin" ]; then
. $PLUGINS_DIR"$url_plugin" "'$arg_url'"
fi
stream_url=${arg_url}
out_error_info()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<info><error>$1</error><log><![CDATA["
echo "$2"
echo "]]></log></info>"
}
get_shoutcast_item()
{
sed -e "s/.*$1: <\/font><\/td><td><font class=default><b>//" $TMPFILE | sed 's/<\/b>.*//' | sed 's/<.*>//g;s/&/&/g;s/ / /g;s/</</g;s/>/>/g'
}
get_icecast_item()
{
sed "1,/$1:/d" $TMPFILE | sed '/.*:$/,$d' | sed 's/\n/ /g'
}
print_status_item()
{
local s=`echo -n "$2" | awk '{gsub(/\t/," ");gsub(/\r/,"");print}' | sed 's/^[ \n]*//;s/[ \n]*$//;' | awk '{if(NR >1) printf("%s", " "); printf("%s", $0);}' | sed 's/ *$//'`
[ -n "$s" ] && echo "<$1><![CDATA[`unescapeXML \"$s\"`]]></$1>"
return 0
}
#urldecode()
#{
# echo -e "$(sed 'y/+/ /; s/%/\\x/g')"
#}
#urldecode()
#{
# echo "$@" | sed 's/^.*$/'"`echo "$@" | sed 'y/+/ /; s/%/\\\\x/g; s/\//\\\\\//g'`"'/'
#}
test_stream()
{
$MSDL $2 --debug -o ${TMPFILE} --stream-timeout 1 --no-treat-metafile $3 2>${TMPFILE}.log &
local timeout=$1
while /bin/ps | grep -q -s "^ *$! "; do
let timeout=$timeout-1
if [ $timeout -le 0 ]; then
kill -9 $!
break
fi
sleep 1
done
if [ $timeout -le 0 ]; then
echo '!!timeout!!' >> ${TMPFILE}.log
echo 'cannot establish stream' >> ${TMPFILE}.log
fi
cat ${TMPFILE}.log
rm -f ${TMPFILE}.log
rm -f ${TMPFILE}
return 0
}
check_av_stream()
{
if [ "$check_stream_flag" == "no" ]; then
return 0
fi
get_opt "Protocol"
case $opt in
mmst|mmsh|http|rtsp|ftp)
msdlopt="-p $opt"
;;
*)
msdlopt=''
esac
get_opt "Bandwidth"
[ -z "$opt" -a -n "$NET_BANDWIDTH" ] && opt=$NET_BANDWIDTH
[ -n "$opt" ] && msdlopt="$msdlopt -b $opt"
get_opt "Speed"
[ -n "$opt" ] && msdlopt="$msdlopt -s $opt"
buf=
if echo "$arg_url" | grep -q -s "^.*://"; then
# if echo "$arg_url" | grep -q -s "^ftp://"; then
# protocol='ftp'
# else
buf=`test_stream $STREAM_TEST_TIMEOUT "$msdlopt" "$arg_url"`
ms_x_wms_contentdesc=`echo "$buf" | sed -n "/^a=pgmpu:data:application\/x\-wms\-contentdesc/p" | sed -n '$p'`
ms_x_wms_contentdesc=`urldecode_s "$ms_x_wms_contentdesc"`
if echo $buf | grep -q -s "!!timeout!!"; then
if echo "$msdlopt" | grep -q -s "\-p "; then
:
else
buf=`test_stream $STREAM_TEST_TIMEOUT "-p mmsh $msdlopt" "$arg_url"`
fi
elif echo $buf | grep -q -s "invalid redirection url"; then
buf=`test_stream $STREAM_TEST_TIMEOUT "-p http $msdlopt" "$arg_url"`
elif echo $buf | grep -q -s "MMSH header parse error by http header parse error"; then
buf=`test_stream $STREAM_TEST_TIMEOUT "-p http $msdlopt" "$arg_url"`
fi
if echo $buf | grep -q -s "cannot establish stream"; then
reason="`echo "$buf" | sed -n '/^cannot establish stream/{g;1!p;};h'`"
out_error_info "cannot establish stream ($reason)" "$buf"
exit
fi
stream_url=`echo "$buf" | sed -n '/^url:/p' | sed -n '$p' | sed 's/ *url: *//'`
protocol=`echo "$buf" | sed -n '/^download protocol:/p' | sed -n '$p' | sed 's/.*: //'`
if [ "$protocol" == "rtsp - real" ]; then
protocol='real'
else
protocol=`echo "$protocol" | awk '{print $1}'`
fi
redirect=`echo "$buf" | sed -n '/^redirect to/p' | sed -n '$p' | awk '{print $3}'`
if [ -n "$redirect" ]; then
stream_url=$redirect
fi
url_protocol=`echo $stream_url | sed 's/^\(.*\):\/\/.*$/\1/'`
if [ "$protocol" == "mmsh" ]; then
stream_url=`echo $stream_url | sed "s/^\(.*\)\(:\/\/.*\)/$protocol\2/"`
fi
# fi
else
protocol='file'
fi
if [ -z "$stream_type" ]; then
type=`echo "$buf" | sed -n '/^[cC]ontent[ -][tT]ype/p' | sed -n '$p' | awk '{ match($0, /[ ;:]+([a-z]+\/[a-z\-]+)[ ;]*.*$/, arr); print arr[1]}'`
# autodetect stream type
if echo $buf | grep -qs "FINISHED"; then
type=${type:-'application/octet-stream'}
fi
case $protocol in
http|ftp|file)
if [ "$protocol" == "http" ]; then
if [ "$type" == "text/html" -o -z "$type" ]; then
if echo "${stream_url}" | grep -q -s ".*[^a-zA-Z0-9]rss[^a-zA-Z0-9]*.*"; then
type=application/xml
elif echo "${stream_url}" | grep -q -s "^http://.*/\(udp\|rtp\)/[0-9\.:]*$"; then
type=video/x-msvideo
fi
fi
fi
if [ -z "$type" -o "$type" == "text/plain" -o "$type" == "text/html" ]; then
ext=`echo "${stream_url}" | sed 's/\./\n/g' | sed -n '$p'`
case $ext in
flv|FLV)
type=video/x-flv
;;
mp3|MP3|mp2|MP2|mpga|MPGA)
type=audio/mpeg
;;
wma|WMA)
type=audio/x-ms-wma
;;
wax|WAX)
type=audio/x-ms-wax
;;
wmv|WMV)
type=video/x-ms-wmv
;;
wvx|WVX)
type=video/x-ms-wvx
;;
wm|WM)
type=video/x-ms-wm
;;
wmx|WMX)
type=video/x-ms-wmx
;;
m3u|M3U)
type=audio/x-mpegurl
;;
pls|PLS)
type=audio/x-scpls
;;
cue|CUE)
type=audio/x-cue
;;
xspf|XSPF)
type=application/xspf+xml
;;
avi|AVI|mpeg|MPEG|mpg|MPG|mpe|MPE)
type=video/mpeg
;;
qt|QT|mov|MOV)
type=video/quicktime
;;
asf|ASF|asx|ASX)
type=video/x-ms-asf
;;
mp4|MP4|m4v|M4V)
type=video/mp4
;;
wav|WAV)
type=audio/wav
;;
ogg|OGG)
type=application/ogg
;;
rss|RSS)
type=application/rss+xml
;;
jpg|JPG|jpe|JPE|jpeg|JPEG)
type=image/jpeg
;;
png|PNG)
type=image/png
;;
gif|GIF)
type=image/gif
;;
bmp|BMP)
type=image/bmp
;;
txt|TXT)
type=text/plain
;;
esac
elif echo "$type" | grep -q -s "\(video/x-ssf\)"; then
type=video/x-flv
elif echo "$type" | grep -q -s "\(audio/\|video/\|application/xspf\|application/ogg\|image\)"; then
:
elif echo "$type" | grep -q -s "\(text/xml\|application/xml\|application/rss\)"; then
:
elif echo "$type" | grep -q -s "\(application/octet-stream\)"; then
type=video/x-msvideo
else
out_error_info "unknown content type: \"$type\"" "$buf"
exit
fi
get_icy_meta()
{
echo "$buf" | sed -n "/^$1:/p" | sed -n '$p' | sed "s/^$1://" | $TOUTF8
}
icy_name=`get_icy_meta 'icy-name'`
icy_name=${icy_name:-`get_icy_meta 'x-audiocast-name'`}
icy_genre=`get_icy_meta 'icy-genre'`
icy_genre=${icy_genre:-`get_icy_meta 'x-audiocast-genre'`}
icy_br=`get_icy_meta 'icy-br'`
icy_br=${icy_br:-`get_icy_meta 'x-audiocast-bitrate'`}
icy_url=`get_icy_meta 'icy-url'`
icy_url=${icy_url:-`get_icy_meta 'x-audiocast-url'`}
icy_pub=`get_icy_meta 'icy-pub'`
icy_pub=${icy_pub:-`get_icy_meta 'x-audiocast-public'`}
icy_description=`get_icy_meta 'icy-description'`
icy_description=${icy_description:-`get_icy_meta 'x-audiocast-description'`}
icy_notice1=`get_icy_meta 'icy-notice1'`
icy_notice2=`get_icy_meta 'icy-notice2'`
;;
mmsh|mmst|rtsp)
isvideostream=`echo "$buf" | grep "\(is video stream\|video stream detected!!!!\)"`
isaudiostream=`echo "$buf" | grep "\(is audio stream\|audio stream detected!!!!\)"`
if [ -n "$isvideostream" ]; then
type=video/x-msvideo
elif [ -n "$isaudiostream" ]; then
type=audio/x-ms-wma
else
out_error_info "unknown stream" "$buf"
exit
fi
ms_author=`echo "$ms_x_wms_contentdesc" | awk '/,author,/ { a=index($0, ",author,"); s=substr($0, a+8); a=index(s,","); s=substr(s, a+1); a=index(s,","); l=substr(s,0,a-1); s=substr(s,a+1,l); print s }'`
ms_title=`echo "$ms_x_wms_contentdesc" | awk '/,title,/ { a=index($0, ",title,"); s=substr($0, a+7); a=index(s,","); s=substr(s, a+1); a=index(s,","); l=substr(s,0,a-1); s=substr(s,a+1,l); print s }'`
;;
real)
isvideostream=`echo "$buf" | grep "Video Stream \["`
isaudiostream=`echo "$buf" | grep "Audio Stream \["`
if [ -n "$isvideostream" ]; then
type=`echo "$isvideostream" | sed 's/.*Stream \[//;s/\]//'`
elif [ -n "$isaudiostream" ]; then
type=`echo "$isaudiostream" | sed 's/.*Stream \[//;s/\]//'`
else
out_error_info "unknown stream" "$buf"
exit
fi
ms_author=`echo "$buf" | grep "author :" | sed 's/.*author : //'`
ms_title=`echo "$buf" | grep "title :" | sed 's/.*title : //'`
;;
*)
out_error_info "protocol not supported: \"$protocol\"" "$buf"
exit
;;
esac
stream_type=$type
fi
host=''
host_response=''
stream_class=`echo "$stream_type" | sed 's/\/.*//'`
if [ "$protocol" == "http" -a "$stream_class" == "audio" ]; then
# try to define stream server type
host=`echo "$buf" | sed -n '/^Host: \[/p' | sed -n '$p' | awk '{print $3}'`
case $arg_cmd in
info)
buf=`$MSDL --debug -o /dev/null -p http --useragent "${USERAGENT}" --stream-timeout 1 "http://${host}" 2>&1`
host_content_type=`echo "$buf" | sed -n '/^[Cc]ontent\-[Tt]ype:/p' | sed -n '$p'`
;;
status)
host_content_type='text/html'
;;
*)
host_content_type=
;;
esac
if echo "$host_content_type" | grep -qs "text\/html"; then
host_response=`$MSDL -q -o ${TMPFILE} -p http --useragent "${USERAGENT}" --stream-timeout 30 "http://${host}" 2>&1`
if [ -f ${TMPFILE} ]; then
if grep -qsi "[^a-z]icecast[^a-z]" ${TMPFILE}; then
stream_status_url="http://${host}"
server_type='icecast'
host_response=`cat ${TMPFILE}`
elif grep -qsi "[^a-z]shoutcast[^a-z]" ${TMPFILE}; then
stream_status_url="http://${host}"
server_type='shoutcast'
host_response=`cat ${TMPFILE}`
fi
fi
[ "${arg_cmd}" != "info" -a "${arg_cmd}" != "status" -o -z "$server_type" ] && rm -f ${TMPFILE}
fi
if [ -z "$server_type" ]; then
if echo "${icy_notice1} ${icy_notice2}" | grep -q -s -i "shoutcast"; then
server_type='shoutcast'
fi
fi
local is_icy=`awk -v streamurl="$stream_url" -v statusurl="icyx://${host}" '
BEGIN {
match(statusurl, /^icyx:\/\/(.*):(.*)$/, arr);
host_ip = arr[1];
host_port = arr[2];
match(streamurl, /^([^:]*):\/\/([^\/]*)(.*)$/, arr);
host = arr[2];
path = arr[3];
if (path == "") path = "/";
HttpService = "/inet/tcp/0/" host_ip "/" host_port
ORS = "\n\n"
print "GET " path " HTTP/1.0" "\nHost: " host "\nAccept: */*" "\nIcy-MetaData: 1" |& HttpService
ORS = "\n"
RS = "\r?\n\r?\n"
HttpService |& getline Header
print match(Header, /icy-metaint: *([0-9]*)/, arr)
close(HttpService)
}
'`
if [ "$is_icy" != "0" ]; then
stream_status_url="icyx://${host}"
[ -z "$server_type" ] && server_type='icecast'
fi
fi
}
call_url_plugin()
{
local url_plugin=
find_plugin "'$arg_url'" url_plugin
if [ -z "$url_plugin" ]; then
check_av_stream
return $RC_OK
else
. $PLUGINS_DIR"$url_plugin" "'$arg_url'"
fi
}
check_stream()
{
if echo "${arg_url}" | grep -q -s "^ftp:\/\/.*\/$"; then
# fictional ftp browser content type
stream_type=application/x-ftp-browser
elif echo "${arg_url}" | grep -q -s "^\(/.*/\|/\)$"; then
# fictional file browser content type
stream_type=application/x-file-browser
elif call_url_plugin; then
:
else
check_av_stream
fi
[ "$stream_type" == "audio/x-shoutcast-stream" ] && stream_type=audio/x-scpls
case $stream_type in
audio/x-cue)
stream_class='cue'
;;
audio/x-mpegurl|application/xspf*|audio/x-scpls|*/x-ms-asf)
stream_class='playlist'
;;
application/ogg)
stream_class='audio'
;;
application/x-ftp-browser)
protocol='ftp'
stream_class='directory'
;;
application/x-file-browser)
protocol='file'
stream_class='directory'
;;
text/xml|application/xml|application/rss*)
stream_class='rss'
;;
*)
stream_class=${stream_class:-`echo "$stream_type" | sed 's/\/.*//'`}
;;
esac
[ "$stream_class" == "playlist" ] && check_playlist
return 0
}
check_playlist()
{
get_opt "Resolve-playlist"
local resolve=$opt
[ "$resolve" == "0" ] && return 0;
local playlist_file="$TEMP/temp.track"
arg_url=$stream_url
command_playlist | sed '1,2d;s/<track>/\n<track>/g;s/></>\n</g' > $playlist_file
local count=`sed -n '/<track>/p' $playlist_file | sed -n '$='`
if [ "$count" == "1" -o "$resolve" == "1" ]; then
local buf=`awk -f getxml.awk -f getfirstitem.awk "$playlist_file" | sed '/^$/d'`
local location=`echo "$buf" | sed -n '1p'`
local title=`echo "$buf" | sed -n '2p'`
local creator=`echo "$buf" | sed -n '3p'`
if [ "$location" != "$stream_url" ]; then
stream_url=''
stream_type=''
arg_url=$location
check_stream
icy_name=${icy_name:-"$title"}
[ -n "$creator" ] && icy_name="$creator - $icy_name"
ms_title=${ms_title:-"$title"}
ms_author=${ms_author:-"$creator"}
fi
fi
# rm -f $playlist_file
return 0;
}
command_playlist()
{
echo "Content-type: text/xml"
echo
local playlist_file=${arg_url}
local name=`echo "$arg_url" | sed 's/\//\n/g' | sed -n '$p'`
local ext=`echo "$arg_url" | sed 's/\./\n/g' | sed -n '$p'`
local path=`echo "$arg_url" | sed 's/\/[^\/]*$//'`
if echo "${arg_url}" | grep -q -s ".*://"; then
playlist_file="$TEMP/temp.playlist"
rm -f $playlist_file
protocol=`echo "$arg_url" | sed -e 's/:\/\/.*$//'`
buf="`$MSDL --debug --useragent "${USERAGENT}" -o "$playlist_file" -p "$protocol" --no-treat-metafile "${arg_url}" 2>&1`"
# type=`echo "$buf" | sed -n '/^content type/p' | sed -n '$p' | awk '{print $3}'`
type=${stream_type:-`echo "$buf" | sed -n '/^[cC]ontent[ -][tT]ype/p' | sed -n '$p' | awk '{ match($0, /[ ;:]+([a-z]+\/[a-z\-]+)[ ;]*.*$/, arr); print arr[1]}'`}
case $type in
audio/x-cue)
ext="cue"
;;
audio/x-scpls|audio/x-shoutcast-stream)
ext="pls"
;;
audio/x-mpegurl)
ext="m3u"
;;
application/xspf*)
ext="xspf"
;;
*/x-ms-asf)
ext="asx"
;;
esac
fi
case $ext in
xspf|XSPF)
cat "${playlist_file}"
;;
m3u|M3U)
if [ -f "${playlist_file}" ]; then
awk -f $BASEPATH/bin/m3u2xspf -v name="$name" -v path="$path" -v ext="$ext" "${playlist_file}"
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
pls|PLS)
if [ -f "${playlist_file}" ]; then
awk -f $BASEPATH/bin/pls2xspf -v name="$name" -v path="$path" -v ext="$ext" "${playlist_file}"
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
cue|CUE)
if [ -f "${playlist_file}" ]; then
awk -f $BASEPATH/bin/cue2xspf -v path="$path" "${playlist_file}"
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
asx|ASX|asf|ASF)
if [ -f "${playlist_file}" ]; then
if grep -qsi "\[reference\]" ${playlist_file}; then
cat "${playlist_file}" | awk '{gsub(/\t/," ");gsub(/\r/,"");sub(/^\s*/,"");sub(/\s*$/,"");print}' | awk -f $BASEPATH/bin/asf2xspf -v name="$name" -v path="$path"
else
cat "${playlist_file}" | awk '{gsub(/\t/," ");gsub(/\r/,"");print}' | sed 's/>[ \n]*</>\n</g;s/ *>/>/g;s/^ *//;s/ *$//' | awk -f $BASEPATH/bin/asx2xspf -v name="$name" -v path="$path"
fi
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
*)
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title>Unknown playlist format</title>"
echo "</playlist>"
;;
esac
return 0
}
command_text()
{
check_stream
echo "Content-type: text/plain"
echo
echo "Protocol: $protocol"
echo "Type: $stream_type"
echo "Stream url: $stream_url"
echo "Host: $host"
echo "Host response: $host_response"
echo "Server type: $server_type"
echo
echo "$buf"
echo
return 0
}
command_info()
{
if [ "$arg_cmd" == "status" ]; then
check_server
else
check_stream
fi
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<info>"
escaped_url="`echo $stream_url | sed 's/&/&/g'`"
if [ "$protocol" == "http" -o "$protocol" == "mms" -o "$protocol" == "mmsh" -o "$protocol" == "rtsp" ]; then
escaped_url="`echo $escaped_url | sed 's/ /%20/g'`"
fi
echo "<stream url=\"$escaped_url\" type=\"$stream_type\" class=\"$stream_class\" protocol=\"$protocol\" server=\"$server_type\" server_url=\"$stream_status_url\" />"
case $stream_class in
audio|video)
echo "<status>"
meta_server_status=
meta_stream_status=
meta_stream_bitrate=
meta_stream_title=
meta_stream_genre=
meta_content_type=
meta_listeners=
meta_listener_peak=
meta_average_listener_time=
meta_current_song=
meta_stream_description=
if [ -n "$stream_status_url" -a -f "$TMPFILE" ]; then
if grep -q -s -i "charset=utf-8" ${TMPFILE}; then
:
else
$TOUTF8 <${TMPFILE} >${TMPFILE}.utf8 && mv -f ${TMPFILE}.utf8 ${TMPFILE}
fi
case $server_type in
shoutcast)
meta_server_status=`get_shoutcast_item 'Server Status'`
meta_stream_status=`get_shoutcast_item 'Stream Status'`
meta_stream_bitrate=`echo "$value" | sed 's/.*is up at //' | awk '{print $1}'`
meta_stream_title=`get_shoutcast_item 'Stream Title'`
meta_stream_genre=`get_shoutcast_item 'Stream Genre'`
meta_content_type=`get_shoutcast_item 'Content Type'`
meta_listeners=`echo "$value" | sed 's/.*with //' | awk '{print $1}'`
meta_listener_peak=`get_shoutcast_item 'Listener Peak'`
meta_average_listener_time=`get_shoutcast_item 'Average Listen Time'`
meta_current_song=`get_shoutcast_item 'Current Song'`
meta_stream_description=''
;;
icecast)
mount_point=`echo "$stream_url" | sed 's/\//\n/g' | sed -n '$p' | sed 's/ *$//'`
if grep -q -s "/${mount_point}" ${TMPFILE}; then
sed -e 's/<[^<>]*>/\n/g' ${TMPFILE} | sed 's/^ *//' | sed '/^ *$/d' | sed 's/&/&/g;s/ / /g;s/</</g;s/>/>/g' | sed "1,/[Mm]ount [Pp]oint.*${mount_point}/d" | sed '/[mM]ount [pP]oint/,$d' | sed '/upport icecast development/,$d' > ${TMPFILE}.$$
mv -f $TMPFILE.$$ $TMPFILE
meta_server_status=''
meta_stream_status=`get_icecast_item 'Mount started'`
meta_stream_bitrate=`get_icecast_item 'Bitrate'`
meta_stream_title=`get_icecast_item 'Stream Title'`
meta_stream_genre=`get_icecast_item 'Stream Genre'`
meta_content_type=`get_icecast_item 'Content Type'`
meta_listeners=`get_icecast_item 'Current Listeners'`
meta_listener_peak=`get_icecast_item 'Peak Listeners'`
meta_average_listener_time=''
meta_current_song=`get_icecast_item 'Current Song'`
meta_stream_description=''
fi
;;
station.ru)
meta_current_song=`echo "$host_response" | awk '/"Artist"/{match($0, /"Artist":"([^"]+)".*"Song":"([^"]+)"/, arr);print arr[1] " - " arr[2];}'`
;;
esac
fi
if echo "$stream_status_url" | grep -qsi "^icyx://"; then
meta_current_song=`awk -v streamurl="$stream_url" -v statusurl="$stream_status_url" '
BEGIN {
match(statusurl, /^icyx:\/\/(.*):(.*)$/, arr);
host_ip = arr[1];
host_port = arr[2];
match(streamurl, /^([^:]*):\/\/([^\/]*)(.*)$/, arr);
host = arr[2];
path = arr[3];
if (path == "") path = "/";
HttpService = "/inet/tcp/0/" host_ip "/" host_port
ORS = "\n\n"
print "GET " path " HTTP/1.0" "\nHost: " host "\nAccept: */*" "\nIcy-MetaData: 1" |& HttpService
ORS = "\n"
RS = "\r?\n\r?\n"
HttpService |& getline Header
if(match(Header, /icy-metaint: *([0-9]*)/, arr))
{
metaint = strtonum(arr[1]);
RS = "\0"
counter = 0;
while(counter < metaint)
{
HttpService |& getline
counter = counter + length($0) + 1
}
if(metaint != counter + 1)
{
split($0, a, "\x27;");
if(match(a[1], /^.*StreamTitle=\x27(.*)/, arr))
{
print arr[1];
}
}
}
close(HttpService)
}
'`
if echo "$meta_current_song" | $TOUTF8 -t; then
meta_current_song=`echo "$meta_current_song" | $XCODE -s | $TOUTF8`
fi
fi
case $protocol in
http|rtmp)
meta_stream_title=${meta_stream_title:-"$icy_name"}
meta_stream_genre=${meta_stream_genre:-"$icy_genre"}
meta_stream_bitrate=${meta_stream_bitrate:-"$icy_br"}
meta_stream_description=${meta_stream_description:-"$icy_description"}
;;
mmst|mmsh|rtsp)
if [ -n "$ms_author" -a -n "$ms_title" ]; then
if [ "$ms_author" != "$ms_title" ]; then
meta_stream_title="$ms_title / $ms_author"
else
meta_stream_title="$ms_title"
fi
else
meta_stream_title="$ms_title$ms_author"
fi
;;
esac
if echo "$meta_stream_title" | $TOUTF8 -t; then
meta_stream_title=`echo "$meta_stream_title" | $XCODE -s | $TOUTF8`
fi
if echo "$meta_stream_genre" | $TOUTF8 -t; then
meta_stream_genre=`echo "$meta_stream_genre" | $XCODE -s | $TOUTF8`
fi
if echo "$meta_stream_description" | $TOUTF8 -t; then
meta_stream_description=`echo "$meta_stream_description" | $XCODE -s | $TOUTF8`
fi
print_status_item 'server-status' "${meta_server_status}"
print_status_item 'stream-status' "$meta_stream_status"
print_status_item 'listener-peak' "$meta_listener_peak"
print_status_item 'average-listener-time' "$meta_average_listener_time"
print_status_item 'stream-title' "$meta_stream_title"
print_status_item 'content-type' "$meta_content_type"
print_status_item 'stream-genre' "$meta_stream_genre"
print_status_item 'current-song' "$meta_current_song"
print_status_item 'stream-bitrate' "$meta_stream_bitrate"
print_status_item 'stream-description' "$meta_stream_description"
print_status_item 'listeners' "$meta_listeners"
echo "</status>"
rm -f ${TMPFILE}
;;
playlist)
if echo "$icy_name" | $TOUTF8 -t; then
icy_name=`echo "$icy_name" | $XCODE -s | $TOUTF8`
fi
if [ -n "$icy_name" ]; then
echo "<status>"
print_status_item 'stream-title' "$icy_name"
echo "</status>"
fi
;;
esac
echo "</info>"
return 0
}
command_scan()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title>Playlists</title>"
echo "<trackList>"
if [ -f "${XSPFSCAN}" ]; then
for path in `cat "${XSPFSCAN}"`
do
path=`echo "$path" | sed 's/\/*$//'`
if [ -d "${path}" ]; then
ls -1 ${path}/*.xspf ${path}/*.m3u ${path}/*.pls 2>/dev/null | awk '\
{
title=a[split($0, a, "/")];
match($0, /.*\.([^.\/]+)$/, arr);
ext = tolower(arr[1]);
print "<track><title><![CDATA[" title "]]></title><location><![CDATA[" $0 "]]></location><meta rel=\"protocol\">file</meta><meta rel=\"ext\">" ext "</meta></track>";
}
'
fi
done
fi
echo "</trackList>"
echo "</playlist>"
return 0
}
command_ls()
{
get_opt "Filter"
filter=${opt:="$DEFAULTFILTER"}
get_opt "Chroot"
isroot=$opt
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[${arg_url}]]></title>"
echo "<trackList>"
if [ -d "${arg_url}" ]; then
/bin/ls -1l "${arg_url}" 2>/dev/null | awk -v path="${arg_url}" '
function resolvesymlink(s, dirpath) {
match(s, /^[^ ]+ *([^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *.+ *-> *)(.+)$/, src);
current = s;
currentpath = dirpath;
while(current ~ /^l/) {
match(current, /^[^ ]+ *([^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *.+ *-> *)(.+)$/, arr);
if(arr[2] !~ /^\// ) {
match(currentpath, /(.*\/)[^\/]*\/*$/, dirarr);
currentpath = dirarr[1] arr[2];
}
else {
currentpath = arr[2];
}
lscmd = "ls -1ld " currentpath " 2>/dev/null";
ERRNO = 0;
lscmd |& getline current;
close(lscmd);
if(ERRNO != 0)
return "";
}
match(current, /^([^ ]+ *)[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)$/, arr);
return arr[1] src[1] currentpath;
}
$0 ~ /^l/ {
s = resolvesymlink($0, path);
if(s != "")
print s;
}
$0 ~ /^(d|-)/ {
print $0;
}
' > $TMPFILE
awk -v path="${arg_url}" -v isroot="$isroot" '
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
if(isroot != "yes")
{
match(path, /(.*\/)[^\/]+\/$/, arr);
location=arr[1];
title="..";
if(location != "") {
print "<track><title><![CDATA[" title "]]></title><location><![CDATA[" location "]]></location>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">file</meta></track>";
}
}
}
$1 ~ /^d/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)$/, arr);
title=arr[1];
if(title ~ /->/) {
match(title, /^(.+) +-> +(.+)$/, arr);
location=arr[2];
title=arr[1];
}
else {
location=path arr[1];
}
if(location !~ /\/$/) {
location=location "/";
}
print "<track><title><![CDATA[/" title "/]]></title><location><![CDATA[" location "]]></location>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">file</meta></track>";
}
' $TMPFILE
awk -v path="${arg_url}" -v filter="$filter" '
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
}
$1 ~ /^-/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)$/, arr);
title=arr[1];
if(title ~ /->/) {
match(title, /^(.+) +-> +(.+)$/, arr);
location=arr[2];
title=arr[1];
}
else {
location=path arr[1];
}
match(location, /.*\.([^.\/]+)$/, arr);
ext = tolower(arr[1]);
if(ext ~ filter) {
match(location, /^(.+):\/\//, arr);
protocol = tolower(arr[1]);
if(protocol == "")
protocol = "file";
print "<track><title><![CDATA[" title "]]></title>";
print "<location><![CDATA[" location "]]></location>";
print "<meta rel=\"ext\">" ext "</meta><meta rel=\"protocol\">" protocol "</meta></track>";
}
}
' $TMPFILE
rm -f $TMPFILE
fi
echo "</trackList>"
echo "</playlist>"
return 0
}
command_lsftp()
{
get_opt "Charset"
charset=$opt
get_opt "Filter"
filter=${opt:="$DEFAULTFILTER"}
get_opt "Chroot"
isroot=$opt
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[${arg_url}]]></title>"
echo "<trackList>"
$MSDL --ftp-list -q -o $TMPFILE "${arg_url}" 2>/dev/null
if [ -f $TMPFILE ]; then
ICONV=
[ "$charset" == "CP1251" ] && ICONV=$TOUTF8
awk -v path="${arg_url}" -v toutf8="$ICONV" -v charset="$charset" -v isroot="$isroot" '
function iconv(s) {
if(toutf8 == "") return s;
print s |& toutf8;
close(toutf8, "to");
toutf8 |& getline line;
close(toutf8);
return line;
}
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
if(isroot != "yes")
{
match(path, /^(ftp:\/\/.+\/)[^\/]+\/$/, arr);
location=arr[1];
title="..";
if(location != null) {
print "<track><title><![CDATA[" title "]]></title><location><![CDATA[" location "]]></location>";
if(charset != "")
print "<meta rel=\"translate\">Charset:" charset "</meta>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">ftp</meta></track>";
}
}
}
$1 ~ /^d/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)[\n\r]+$/, arr);
location=path arr[1] "/";
title=arr[1];
print "<track><title><![CDATA[/" iconv(title) "/]]></title><location><![CDATA[" location "]]></location>";
if(charset != "")
print "<meta rel=\"translate\">Charset:" charset "</meta>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">ftp</meta></track>";
}
' $TMPFILE
awk -v path="${arg_url}" -v toutf8="$ICONV" -v filter="$filter" '
function iconv(s) {
if(toutf8 == "") return s;
print s |& toutf8;
close(toutf8, "to");
toutf8 |& getline line;
close(toutf8);
return line;
}
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
}
$1 ~ /^-/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)[\n\r]+$/, arr);
title=arr[1];
location=path title;
match(location, /.*\.([^.\/]+)$/, arr);
ext = tolower(arr[1]);
if(ext ~ filter)
{
match(location, /^(.+):\/\//, arr);
protocol = tolower(arr[1]);
if(protocol == "")
protocol = "file";
print "<track><title><![CDATA[" iconv(title) "]]></title>";
print "<location><![CDATA[" location "]]></location>";
print "<meta rel=\"ext\">" ext "</meta><meta rel=\"protocol\">" protocol "</meta></track>";
}
}
' $TMPFILE
rm -f $TMPFILE
fi
echo "</trackList>"
echo "</playlist>"
return 0
}
command_random()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<randomList>"
awk -v count=${arg_opt} -v start=${arg_url} '
BEGIN {
srand();
r=start;
seq[r]=0;
print "<item>" r "</item>";
for(i=1;i<count;i++) {
do {
r=int(count*rand());
} while(r in seq);
seq[r]=i;
print "<item>" r "</item>";
}
exit;
}
'
echo "</randomList>"
return 0
}
check_server()
{
if echo "$stream_status_url" | grep -q -s -i "^icyx://"; then
stream_class='audio';
server_type='x-cast';
else
host_response=`$MSDL -q -o ${TMPFILE} -p http --useragent "${USERAGENT}" --stream-timeout 30 "$stream_status_url" 2>&1`
if [ -f ${TMPFILE} ]; then
stream_class='audio';
if grep -q -s -i "[^a-z]icecast[^a-z]" ${TMPFILE}; then
server_type='icecast'
host_response=`cat ${TMPFILE}`
elif grep -q -s -i "[^a-z]shoutcast[^a-z]" ${TMPFILE}; then
server_type='shoutcast'
host_response=`cat ${TMPFILE}`
elif echo "$stream_status_url" | grep -q -s -i "[^a-z]station.ru[^a-z]"; then
server_type='station.ru'
host_response=`cat ${TMPFILE}`
fi
fi
fi
}
command_translit()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo -n "<string><![CDATA["
from_translit "$arg_url"
echo "]]></string>"
return 0
}
case ${arg_cmd} in
text)
command_text
;;
info)
command_info
;;
stream|audio|video|image)
get_opt "Protocol"
case $opt in
mms|mmst|mmsh|http|rtsp|ftp)
msdlopt='-p $opt'
;;
*)
msdlopt=''
esac
get_opt "Bandwidth"
[ -z "$opt" -a -n "$NET_BANDWIDTH" ] && opt=$NET_BANDWIDTH
[ -n "$opt" ] && msdlopt="$msdlopt -b $opt"
get_opt "Speed"
[ -n "$opt" ] && msdlopt="$msdlopt -s $opt"
get_opt "User-agent"
[ -n "$opt" ] && msdlopt="$msdlopt --useragent \"$opt\""
get_opt "Charset"
charset=$opt
if [ -z "$stream_type" ]; then
local TIMELIFE=${STREAM_INFO_TIMELIFE:-60}
local CACHEFILE=$CACHEPATH/stream.`echo $arg_url | sed 's/[^0-9a-zA-Z]/_/g'`
local tsttime
let tsttime=`date +%s`-$TIMELIFE
if [ -f $CACHEFILE ]; then
if [ `date +%s -r $CACHEFILE` -gt $tsttime ]; then
stream_url=`sed -ne "1p" $CACHEFILE`
stream_type=`sed -ne "2p" $CACHEFILE`
arg_opt=`sed -ne "3p" $CACHEFILE`
fi
fi
if [ -z "$stream_type" ]; then
check_stream
echo $stream_url > $CACHEFILE
echo $stream_type >> $CACHEFILE
echo $arg_opt >> $CACHEFILE
fi
fi
echo "Content-type: $stream_type"
echo
if echo "$stream_url" | grep -qs "^rtmp"; then
get_opt "Rtmp-options"
killall -q $RTMPDUMP 2>&1
exec nice /usr/local/etc/www/cgi-bin/scripts/rtmpdump -q -o - -b 60000 -r "$stream_url" $opt
elif [ "$charset" == "CP1251" ]; then
$MSDL $msdlopt -q -o - "$stream_url" | $TOUTF8 | sed 's/windows-125./utf-8/'
else
exec $MSDL $msdlopt -q -o - "$stream_url"
fi
;;
random)
command_random
;;
status)
stream_url=$arg_url
stream_status_url=$arg_opt
command_info
;;
flac)
get_opt "Flac-skip"
flac_skip=$opt
get_opt "Flac-until"
flac_until=$opt
echo "Content-type: audio/wav"
echo
exec $FLAC -d -c --skip="$flac_skip" --until="$flac_until" --totally-silent "$stream_url"
;;
directory)
if echo "${arg_url}" | grep -q -s "^ftp:\/\/.*\/$"; then
command_lsftp
elif echo "${arg_url}" | grep -q -s "^/.*/$"; then
command_ls
fi
;;
translit)
command_translit
;;
playlist|startpoint)
if [ "$arg_cmd" == "startpoint" ]; then
arg_url="$STARTPOINT"
fi
if echo "${arg_url}" | grep -q -s "^ftp:\/\/.*\/$"; then
command_lsftp
elif echo "${arg_url}" | grep -q -s "^/.*/$"; then
command_ls
elif [ -z "${arg_url}" ]; then
command_scan
else
command_playlist
fi
;;
renderer)
echo "$arg_url" > "/tmp/xspf_renderer.dat"
echo "$arg_opt" >> "/tmp/xspf_renderer.dat"
echo "Content-type: text/plain"
echo
;;
renderer-*)
echo "{${arg_cmd}}" > "/tmp/xspf_renderer.dat"
echo "Content-type: text/plain"
echo
;;
download)
echo "Content-type: text/xml"
echo
echo "<success/>"
exec $MSDL -q -o "$arg_opt" "$stream_url"
;;
app)
if [ -f $TRANSLATE/app/$arg_url ]; then
. $TRANSLATE/app/$arg_url
fi
;;
app/*)
if [ -f $TRANSLATE/$arg_cmd ]; then
. $TRANSLATE/$arg_cmd
fi
;;
scan|*)
command_scan
;;
esac
| 1073s | trunk/util/.svn/text-base/translate1.cgi.svn-base | Shell | gpl3 | 41,014 |
#!/bin/sh
cat <<EOF
Content-type: video/mp4
EOF
exec /usr/local/etc/www/cgi-bin/scripts/rtmpdump -q -v -b 60000 -W http://static.mediadirect.ro/streamrecord/new3/player.swf -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| 1073s | trunk/util/.svn/text-base/ant3.cgi.svn-base | Shell | gpl3 | 218 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
error_reporting(0);
exec ("rm -f /tmp/test.xml");
$id = $_GET["file"];
$l1="http://www.viki.com/player/medias/".$id."/info.json?rtmp=true&source=embed&embedding_uri=www.viki.com";
$html=file_get_contents($l1);
if (strpos($html,"rtmp") === false) {
$new_file="D://dolce.gz";
$new_file="/tmp/dolce.gz";
$fh = fopen($new_file, 'w');
fwrite($fh, $html);
fclose($fh);
$zd = gzopen($new_file, "r");
$html = gzread($zd, filesize($new_file));
gzclose($zd);
}
if (strpos($html,'"code":"ro"') !== false) $ro=1;
if (strpos($html,'"code":"en"') !== false) $en=1;
if ($ro) {
$l2="http://www.viki.com/subtitles/media/".$id."/ro.json";
} else if ($en) {
$l2="http://www.viki.com/subtitles/media/".$id."/en.json";
}
if ($l2 <> "") {
$html=file_get_contents($l2);
if (strpos($html,"start_time") === false) {
$new_file="D://dolce.gz";
$new_file="/tmp/dolce.gz";
$fh = fopen($new_file, 'w');
fwrite($fh, $html);
fclose($fh);
$zd = gzopen($new_file, "r");
$html = gzread($zd, filesize($new_file));
gzclose($zd);
}
$ttxml ="<subtitrare>"."\n";
$last_end=0;
$videos = explode('content":"', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1=explode('"start_time":',$video);
$t2=explode(',',$t1[1]);
$b1=trim($t2[0]);
$t1=explode('"end_time":',$video);
$t2=explode('}',$t1[1]);
$d1=trim($t2[0]);
$begin=round($b1/1000);
$end=round($d1/1000);
$f = "/usr/local/bin/home_menu";
if (!file_exists($f)) {
if ($begin > $last_end)
{
$ttxml .="<sub>"."\n";
$ttxml .="<time1>".$last_end."</time1>"."\n";
$ttxml .="<time2>".$begin."</time2>"."\n";
$ttxml .="<line1></line1>"."\n";
$ttxml .="<line2></line2>"."\n";
$ttxml .="</sub>"."\n\n";
}
$last_end=$end;
}
$t1=explode('"',$video);
$line=trim($t1[0]);
$line=str_replace("\n"," ",$line);
$line=str_replace("ã","a",$line);
$line=str_replace("&quot;",'"',$line);
$line=str_replace("\u0103","a",$line);
$line=str_replace("\u00ee","i",$line);
$line=str_replace("\u015f","s",$line);
$line=str_replace("\u0163","t",$line);
$t1=explode("<br>",$line);
$line1=$t1[0];
$line2=$t1[1];
$line1 = trim(preg_replace("/<(.*)>|(\{(.*)\})/e","",$line1));
$line2 = trim(preg_replace("/<(.*)>|(\{(.*)\})/e","",$line2));
if ($line2=="")
{
$line2=$line1;
$line1="";
if (strlen($line2) > 45) {
$newtext = wordwrap($line2, 45, "<br>");
$t1=explode("<br>",$newtext);
$line1=$t1[0];
$line2=$t1[1];
}
}
$ttxml .="<sub>"."\n";
$ttxml .="<time1>".$begin."</time1>"."\n";
$ttxml .="<time2>".$end."</time2>"."\n";
$ttxml .="<line1>".$line1."</line1>"."\n";
$ttxml .="<line2>".$line2."</line2>"."\n";
$ttxml .="</sub>"."\n\n";
}
$ttxml .="</subtitrare>";
$ttxml .="</subtitrare>";
$new_file = "/tmp/test.xml";
$fh = fopen($new_file, 'w');
fwrite($fh, $ttxml);
fclose($fh);
}
?>
| 1073s | trunk/util/.svn/text-base/viki_xml.php.svn-base | PHP | gpl3 | 3,107 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$id = $_GET["file"];
$s="http://index.mediadirect.ro/getUrl?publisher=".$id;
$h = file_get_contents($s);
$t1=explode('server=',$h);
$t2=explode('&',$t1[1]);
$serv=$t2[0];
if ($serv == "") {
$serv="fms1.mediadirect.ro";
}
print $serv;
?>
| 1073s | trunk/util/.svn/text-base/mediadirect_server.php.svn-base | PHP | gpl3 | 520 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<HTML>
<HEAD>
<script type="text/JavaScript">
<!--
function timedRefresh(timeoutPeriod) {
setTimeout("location.replace('/cgi-bin/scripts/util/browser.php');",timeoutPeriod);
}
// -->
</script>
<TITLE>Download via browser</TITLE>
<link type='text/css' rel='stylesheet' href='/cube_web_management.css' />
</HEAD>
<body onload="JavaScript:timedRefresh(20000);">
<h2>Download Manager</h2>
<form action="browser.php" method="get">
Link: <input type="text" SIZE=100 name="link" />
<input type="submit" />
<input type="hidden" name="action" value="download" />
</form>
<table align="center">
<tr>
<td><form action="browser.php" method="get">
<input type="hidden" name="action" value="all" />
<input type="submit" value="Stop all - delete list" />
</form></td>
</tr>
</table>
<?php
error_reporting(0);
$action = $_GET["action"];
if ($action == "download") {
$a = urldecode($_GET["link"]);
$b=explode(",",$a);
$link=$b[0];
$titledownload=$b[1];
$titledownload = preg_replace('/[^A-Za-z0-9_]/','_',$titledownload);
$titledownload = substr($titledownload, 0, -4);
if (isset($link)) {
if ($titledownload == "") {
$titledownload = substr(strrchr($link,"/"),1);
}
$pct = substr($titledownload, -4, 1);
if ($pct == ".") {
$ext = substr($titledownload, -3);
$titledownload = substr($titledownload, 0, -4);
} else {
$ext = "flv";
}
$titledownload = preg_replace('/[^A-Za-z0-9_]/','_',$titledownload);
$link = 'http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link='.$link.';name='.$titledownload.'.'.$ext;
$handle = fopen($link,'r');
fclose($handle);
sleep(3);
}
} elseif ($action == "manage") {
$go = $_GET["go"];
if ($go=="start") {
//http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?link='.$link.';name='.$t1[0].';go=start
$link = $_GET["link"];
$name = $_GET["name"];
$link = "http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?link=".$link.";name=".$name.";go=start";
$handle = fopen($link,'r');
fclose($handle);
sleep(3);
} elseif ($go=="stop") {
//http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?pid='.$pid[0].';name='.$t1[0].';go=stop
$pid = $_GET["pid"];
$name = $_GET["name"];
$link = "http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?pid=".$pid.";name=".$name.";go=stop";
$handle = fopen($link,'r');
fclose($handle);
sleep(3);
} elseif ($go=="delete") {
//http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?name='.$t1[0].';go=delete
$name = $_GET["name"];
$link = "http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?name=".$name.";go=delete";
$handle = fopen($link,'r');
fclose($handle);
sleep(3);
}
} elseif ($action == "all") {
$link = "http://127.0.0.1/cgi-bin/scripts/util/stop_exua.cgi";
$handle = fopen($link,'r');
fclose($handle);
sleep(3);
}
clearstatcache();
if (file_exists("/tmp/usbmounts/sda1/download")) {
$dir = "/tmp/usbmounts/sda1/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdb1/download")) {
$dir = "/tmp/usbmounts/sdb1/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdc1/download")) {
$dir = "/tmp/usbmounts/sdc1/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sda2/download")) {
$dir = "/tmp/usbmounts/sda2/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdb2/download")) {
$dir = "/tmp/usbmounts/sdb2/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdc2/download")) {
$dir = "/tmp/usbmounts/sdc1/download/log/*log";
} elseif (file_exists("/tmp/hdd/volumes/HDD1/download")) {
$dir = "/tmp/hdd/root/log/*log";
} else {
$dir = "";
}
echo '
<table border=1 width=100%>
';
if ($dir <> "") {
$file_list = glob($dir);
for ($i=0; $i< count($file_list); $i++) {
$log_file = file($file_list[$i]);
$t1 = explode('/log/', $file_list[$i]);
$t1 = explode('.log', $t1[1]);
$log = $log_file[count($log_file) -4];
$t3 = explode("K", $log);
$t4 = substr($log, -25);
$t5 = explode("%", $log);
$end = substr($t5[0], -3);
if (strpos($log_file,"saved") === true) {
$end = "100";
}
$t0 = $i+1;
//pid
$pd = "/tmp/".$t1[0].".pid";
$pid_file = file($pd);
$pid = explode('pid ', $pid_file[0]);
$pid = explode('.', $pid[1]);
//url
$log_url = $log_file[0];
$url = explode('http://', $log_url);
$link = str_replace("\r","",$url[1]);
$link = str_replace("\n","",$link);
$link = 'http://'.$link;
//title
$title = $t0.'. '. $t1[0].' - '.$t3[0].'KB'.$t4;
echo '
<tr>
<td>'.$title.'</td>';
//echo '<name>'.$t1[0].'</name>';
//echo '<logfile>'.$file_list[$i].'</logfile>';
if ($end != "100") {
if (!$pid_file) {
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="link" value="'.$link.'" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="start" />
<input type="submit" value = "start"/>
</td></form>
';
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="delete" />
<input type="submit" value = "delete"/>
</td></form>
</tr>
';
} else {
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="pid" value="'.$pid[0].'" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="stop" />
<input type="submit" value = "stop"/>
</td></form>
';
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="link" value="'.$link.'" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="delete" />
<input type="submit" value = "delete"/>
</td></form>
</tr>
';
}
} else {
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="delete" />
<input type="submit" value = "delete"/>
</td></form>
';
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="delete" />
<input type="submit" value = "delete"/>
</td></form>
</tr>
';
}
}
}
echo '</table>';
?>
</BODY>
</HTML>
| 1073s | trunk/util/.svn/text-base/browser.php.svn-base | PHP | gpl3 | 6,836 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
$query = $_GET["file"];
if($query) {
$queryArr = explode(',', $query);
$myfile = $queryArr[0];
$tip = $queryArr[1];
}
$log_file = file($myfile);
$t1 = explode('/log/', $myfile);
$t1 = explode('.log', $t1[1]);
$log = $log_file[count($log_file) -4];
$t3 = explode("K", $log);
$t4 = substr($log, -25);
$t5 = explode("%", $log);
$end = substr($t5[0], -3);
if (strpos($log_file,"saved") === true) {
$end = "100";
}
$title = $t3[0].'KB'.$t4;
if ($end=="100") {
print "Ready";
} else {
print $title;
}
?>
| 1073s | trunk/util/.svn/text-base/info_down.php.svn-base | PHP | gpl3 | 557 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
$file=$_GET["file"];
if(preg_match('/youtube\.com\/(v\/|watch\?v=)([\w\-]+)/', $file, $match)) {;
$id = $match[2];
$link="http://www.youtube.com/watch?v=".$id;
$html=file_get_contents($link);
$html = urldecode($html);
$h=explode('fmt_stream_map',$html);
$html=urldecode($h[1]);
$videos = explode('url=', $html);
for ($i=0;$i<count($videos);$i++) {
$t1=explode(";", $videos[$i]);
$link=$t1[0];
$t1=explode("itag=",$link);
$t2=explode("&",$t1[1]);
$tip=$t2[0];
if ($tip=="22") break;
if ($tip=="18") break;
}
}
print $link;
?>
| 1073s | trunk/util/.svn/text-base/yt.php.svn-base | PHP | gpl3 | 619 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
$file=$_GET["file"];
if(preg_match('/youtube\.com\/(v\/|watch\?v=)([\w\-]+)/', $file, $match)) {;
$id = $match[2];
$link="http://www.youtube.com/watch?v=".$id;
$html=file_get_contents($link);
$html = urldecode($html);
$h=explode('fmt_stream_map',$html);
$html=urldecode($h[1]);
$videos = explode('url=', $html);
for ($i=0;$i<count($videos);$i++) {
$t1=explode(";", $videos[$i]);
$link=$t1[0];
$t1=explode("itag=",$link);
$t2=explode("&",$t1[1]);
$tip=$t2[0];
if ($tip=="22") break;
if ($tip=="18") break;
}
}
print $link;
?>
| 1073s | trunk/util/.svn/text-base/yt1.php.svn-base | PHP | gpl3 | 619 |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /usr/local/etc/translate/bin/rtmpdump -q -v -b 60000 -W http://live.1hd.ro/jwplayer/player.swf -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| 1073s | trunk/util/.svn/text-base/swiss.cgi.svn-base | Shell | gpl3 | 193 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<onEnter>
xmlurl = "http://127.0.0.1/cgi-bin/setting.cgi?mode=filme";
ret = getUrl(xmlurl);
</onEnter>
<mediaDisplay name="threePartsView" itemBackgroundColor="0:0:0" backgroundColor="0:0:0" sideLeftWidthPC="0" itemImageXPC="5" itemXPC="20" itemYPC="20" itemWidthPC="65" capWidthPC="70" unFocusFontColor="101:101:101" focusFontColor="255:255:255" idleImageXPC="45" idleImageYPC="42" idleImageWidthPC="20" idleImageHeightPC="26">
<idleImage>image/busy1.png</idleImage>
<idleImage>image/busy2.png</idleImage>
<idleImage>image/busy3.png</idleImage>
<idleImage>image/busy4.png</idleImage>
<idleImage>image/busy5.png</idleImage>
<idleImage>image/busy6.png</idleImage>
<idleImage>image/busy7.png</idleImage>
<idleImage>image/busy8.png</idleImage>
<backgroundDisplay>
<image offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
image/mele/backgd.jpg
</image>
</backgroundDisplay>
<image offsetXPC=0 offsetYPC=2.8 widthPC=100 heightPC=15.6>
image/mele/rss_title.jpg
</image>
<text offsetXPC=40 offsetYPC=8 widthPC=35 heightPC=10 fontSize=20 backgroundColor=-1:-1:-1 foregroundColor=255:255:255>
Actualizare filme_link.php
</text>
<text offsetXPC=5 offsetYPC=20 widthPC=90 heightPC=8 fontSize=16 backgroundColor=-1:-1:-1 foregroundColor=200:200:200>
<script>
apas_status;
</script>
</text>
<text offsetXPC=5 offsetYPC=25 widthPC=90 heightPC=50 fontSize=16 lines=10 backgroundColor=-1:-1:-1 foregroundColor=200:200:200>
<script>
ret;
</script>
</text>
</mediaDisplay>
<channel>
<title>Actualizare filme_link</title>
</channel>
</rss>
| 1073s | trunk/util/filme.php | PHP | gpl3 | 1,791 |
#!/bin/sh
killall wget
rm /tmp/*.pid
if [ -d /tmp/usbmounts/sda1/download ]
then
loc=/tmp/usbmounts/sda1/download
loclog=/tmp/usbmounts/sda1/download
elif [ -d /tmp/usbmounts/sdb1/download ]
then
loc=/tmp/usbmounts/sdb1/download
loclog=/tmp/usbmounts/sdb1/download
elif [ -d /tmp/usbmounts/sdc1/download ]
then
loc=/tmp/usbmounts/sdc1/download
loclog=/tmp/usbmounts/sdc1/download
elif [ -d /tmp/usbmounts/sda2/download ]
then
loc=/tmp/usbmounts/sda2/download
loclog=/tmp/usbmounts/sda2/download
elif [ -d /tmp/usbmounts/sdb2/download ]
then
loc=/tmp/usbmounts/sdb2/download
loclog=/tmp/usbmounts/sdb2/download
elif [ -d /tmp/usbmounts/sdc2/download ]
then
loc=/tmp/usbmounts/sdc2/download
loclog=/tmp/usbmounts/sdc2/download
elif [ -d /tmp/hdd/volumes/HDD1/download ]
then
loc=/tmp/hdd/volumes/HDD1/download
loclog=/tmp/hdd/root
else
loc=''
loclog=''
fi
rm $loclog/log/*.log
| 1073s | trunk/util/stop_exua.cgi | Shell | gpl3 | 891 |
#!/bin/sh
#
# http://code.google.com/media-translate/
# Copyright (C) 2010 Serge A. Timchenko
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#QUERY_STRING=scan
TRANSLATE=${TRANSLATE:-/usr/local/etc/translate}
. $TRANSLATE/lib/common
XSPFSCAN=${XSPFSCAN:-$BASEPATH/etc/xspf.scan}
STARTPOINT=${STARTPOINT:-''}
CACHEPATH=${CACHEPATH:-/tmp}
TEMP=${TEMP:-/tmp}
YOUTUBE_HD=${YOUTUBE_HD:-'yes'}
VIMEO_HD=${VIMEO_HD:-'yes'}
IVI_HD=${IVI_HD:-'yes'}
NET_BANDWIDTH=${NET_BANDWIDTH:-}
PLUGINS_DIR=$BASEPATH/plugins/
RC_OK=0
RC_FAIL=1
STREAM_TEST_TIMEOUT=15
DEFAULTFILTER="(mp3|mp2|mpga|ogg|wav|wma|wax|m4a|mp4a|avi|mpeg|mpg|mpe|wmv|wvx|wm|wmx|flv|qt|mov|asf|asx|mp4|m4v|mp4v|mpg4|xspf|m3u|pls|cue|txt|flac|jpg|jpeg|jpe|png|gif|bmp)"
UDPXY_URL=${UDPXY_URL:-'http://127.0.0.1:8080'}
UDPXY_URL=`echo "$UDPXY_URL" | awk '{sub(/\/$/, ""); gsub(/\//, "\\\/"); gsub(/\./, "\\\."); print}'`
#RTMPGW_URL=${RTMPGW_URL:-'http://127.0.0.1:88'}
RTMPGW_URL=`echo "$RTMPGW_URL" | awk '{sub(/\/$/, ""); print}'`
USERAGENT="Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13"
TMPFILE=$TEMP/$$.tmp
[ ! -d $CACHEPATH ] && CACHEPATH=$TEMP
arg_cmd=`echo "$QUERY_STRING" | awk -F, '{print $1}'`
arg_opt=`echo "$QUERY_STRING" | awk -F, '{print $2}'`
arg_url=`echo "$QUERY_STRING" | awk -F, '{for(i=3; i<NF; i++) printf "%s,", $(i); printf "%s", $(NF); }'`
arg_url=`urldecode_s "$arg_url"`
arg_opt=`urldecode_s "$arg_opt"`
# http://127.0.0.1/translate[?<scan|*>]
# http://127.0.0.1/translate?stream,[<option1;...optionN>],<url>
# Available options:
# Content-type:<content type>
# HD:<yes|no>
# Protocol:<mms|mmst|mmsh|http|rtsp|ftp>
# Bandwidth:<bps>
# Speed:<streaming speed>
# http://127.0.0.1/translate?<info|status>,,<url>
# http://127.0.0.1/translate?text,,<url>
# http://127.0.0.1/translate?playlist,,<path to playlist>
# <list>
# <item>
# <title></title>
# <location></location>
# </item>
# </list>
#
# <info>
# <stream url="" type="" server="<icecast|shoutcast|youtube|vimeo>" class="<audio|video|playlist>" protocol="" server_url="" />
# <item>
# <name/><value/>
# </item>
# <status>
# <server-status> s
# <stream-status> si (Mount started: <time>)
# <listener-peak> si (status: Stream is up at 96 kbps with 138 of 250 listeners (134 unique))
# <average-listener-time> s
# <stream-title/> si
# <content-type/> si
# <stream-genre/> si
# <current-song/> si
# <stream-bitrate/> si (status: Stream is up at 96 kbps with 138 of 250 listeners (134 unique))
# <listeners> si (status: Stream is up at 96 kbps with 138 of 250 listeners (134 unique))
# </status>
# </info>
#
icy_name=
icy_genre=
icy_br=
icy_url=
icy_description=
ms_author=
ms_title=
server_type='' # icecast | shoutcast | youtube | vimeo | rutube | ivi
stream_status_url=''
get_opt "Content-type"
stream_type=$opt
check_stream_flag=yes
local url_plugin=''
find_protocol_plugin "'$arg_url'" url_plugin
if [ -n "$url_plugin" ]; then
. $PLUGINS_DIR"$url_plugin" "'$arg_url'"
fi
stream_url=${arg_url}
out_error_info()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<info><error>$1</error><log><![CDATA["
echo "$2"
echo "]]></log></info>"
}
get_shoutcast_item()
{
sed -e "s/.*$1: <\/font><\/td><td><font class=default><b>//" $TMPFILE | sed 's/<\/b>.*//' | sed 's/<.*>//g;s/&/&/g;s/ / /g;s/</</g;s/>/>/g'
}
get_icecast_item()
{
sed "1,/$1:/d" $TMPFILE | sed '/.*:$/,$d' | sed 's/\n/ /g'
}
print_status_item()
{
local s=`echo -n "$2" | awk '{gsub(/\t/," ");gsub(/\r/,"");print}' | sed 's/^[ \n]*//;s/[ \n]*$//;' | awk '{if(NR >1) printf("%s", " "); printf("%s", $0);}' | sed 's/ *$//'`
[ -n "$s" ] && echo "<$1><![CDATA[`unescapeXML \"$s\"`]]></$1>"
return 0
}
#urldecode()
#{
# echo -e "$(sed 'y/+/ /; s/%/\\x/g')"
#}
#urldecode()
#{
# echo "$@" | sed 's/^.*$/'"`echo "$@" | sed 'y/+/ /; s/%/\\\\x/g; s/\//\\\\\//g'`"'/'
#}
test_stream()
{
$MSDL $2 --debug -o ${TMPFILE} --stream-timeout 1 --no-treat-metafile $3 2>${TMPFILE}.log &
local timeout=$1
while /bin/ps | grep -q -s "^ *$! "; do
let timeout=$timeout-1
if [ $timeout -le 0 ]; then
kill -9 $!
break
fi
sleep 1
done
if [ $timeout -le 0 ]; then
echo '!!timeout!!' >> ${TMPFILE}.log
echo 'cannot establish stream' >> ${TMPFILE}.log
fi
cat ${TMPFILE}.log
rm -f ${TMPFILE}.log
rm -f ${TMPFILE}
return 0
}
check_av_stream()
{
if [ "$check_stream_flag" == "no" ]; then
return 0
fi
get_opt "Protocol"
case $opt in
mmst|mmsh|http|rtsp|ftp)
msdlopt="-p $opt"
;;
*)
msdlopt=''
esac
get_opt "Bandwidth"
[ -z "$opt" -a -n "$NET_BANDWIDTH" ] && opt=$NET_BANDWIDTH
[ -n "$opt" ] && msdlopt="$msdlopt -b $opt"
get_opt "Speed"
[ -n "$opt" ] && msdlopt="$msdlopt -s $opt"
buf=
if echo "$arg_url" | grep -q -s "^.*://"; then
# if echo "$arg_url" | grep -q -s "^ftp://"; then
# protocol='ftp'
# else
buf=`test_stream $STREAM_TEST_TIMEOUT "$msdlopt" "$arg_url"`
ms_x_wms_contentdesc=`echo "$buf" | sed -n "/^a=pgmpu:data:application\/x\-wms\-contentdesc/p" | sed -n '$p'`
ms_x_wms_contentdesc=`urldecode_s "$ms_x_wms_contentdesc"`
if echo $buf | grep -q -s "!!timeout!!"; then
if echo "$msdlopt" | grep -q -s "\-p "; then
:
else
buf=`test_stream $STREAM_TEST_TIMEOUT "-p mmsh $msdlopt" "$arg_url"`
fi
elif echo $buf | grep -q -s "invalid redirection url"; then
buf=`test_stream $STREAM_TEST_TIMEOUT "-p http $msdlopt" "$arg_url"`
elif echo $buf | grep -q -s "MMSH header parse error by http header parse error"; then
buf=`test_stream $STREAM_TEST_TIMEOUT "-p http $msdlopt" "$arg_url"`
fi
if echo $buf | grep -q -s "cannot establish stream"; then
reason="`echo "$buf" | sed -n '/^cannot establish stream/{g;1!p;};h'`"
out_error_info "cannot establish stream ($reason)" "$buf"
exit
fi
stream_url=`echo "$buf" | sed -n '/^url:/p' | sed -n '$p' | sed 's/ *url: *//'`
protocol=`echo "$buf" | sed -n '/^download protocol:/p' | sed -n '$p' | sed 's/.*: //'`
if [ "$protocol" == "rtsp - real" ]; then
protocol='real'
else
protocol=`echo "$protocol" | awk '{print $1}'`
fi
redirect=`echo "$buf" | sed -n '/^redirect to/p' | sed -n '$p' | awk '{print $3}'`
if [ -n "$redirect" ]; then
stream_url=$redirect
fi
url_protocol=`echo $stream_url | sed 's/^\(.*\):\/\/.*$/\1/'`
if [ "$protocol" == "mmsh" ]; then
stream_url=`echo $stream_url | sed "s/^\(.*\)\(:\/\/.*\)/$protocol\2/"`
fi
# fi
else
protocol='file'
fi
if [ -z "$stream_type" ]; then
type=`echo "$buf" | sed -n '/^[cC]ontent[ -][tT]ype/p' | sed -n '$p' | awk '{ match($0, /[ ;:]+([a-z]+\/[a-z\-]+)[ ;]*.*$/, arr); print arr[1]}'`
# autodetect stream type
if echo $buf | grep -qs "FINISHED"; then
type=${type:-'application/octet-stream'}
fi
case $protocol in
http|ftp|file)
if [ "$protocol" == "http" ]; then
if [ "$type" == "text/html" -o -z "$type" ]; then
if echo "${stream_url}" | grep -q -s ".*[^a-zA-Z0-9]rss[^a-zA-Z0-9]*.*"; then
type=application/xml
elif echo "${stream_url}" | grep -q -s "^http://.*/\(udp\|rtp\)/[0-9\.:]*$"; then
type=video/x-msvideo
fi
fi
fi
if [ -z "$type" -o "$type" == "text/plain" -o "$type" == "text/html" ]; then
ext=`echo "${stream_url}" | sed 's/\./\n/g' | sed -n '$p'`
case $ext in
flv|FLV)
type=video/x-flv
;;
mp3|MP3|mp2|MP2|mpga|MPGA)
type=audio/mpeg
;;
wma|WMA)
type=audio/x-ms-wma
;;
wax|WAX)
type=audio/x-ms-wax
;;
wmv|WMV)
type=video/x-ms-wmv
;;
wvx|WVX)
type=video/x-ms-wvx
;;
wm|WM)
type=video/x-ms-wm
;;
wmx|WMX)
type=video/x-ms-wmx
;;
m3u|M3U)
type=audio/x-mpegurl
;;
pls|PLS)
type=audio/x-scpls
;;
cue|CUE)
type=audio/x-cue
;;
xspf|XSPF)
type=application/xspf+xml
;;
avi|AVI|mpeg|MPEG|mpg|MPG|mpe|MPE)
type=video/mpeg
;;
qt|QT|mov|MOV)
type=video/quicktime
;;
asf|ASF|asx|ASX)
type=video/x-ms-asf
;;
mp4|MP4|m4v|M4V)
type=video/mp4
;;
wav|WAV)
type=audio/wav
;;
ogg|OGG)
type=application/ogg
;;
rss|RSS)
type=application/rss+xml
;;
jpg|JPG|jpe|JPE|jpeg|JPEG)
type=image/jpeg
;;
png|PNG)
type=image/png
;;
gif|GIF)
type=image/gif
;;
bmp|BMP)
type=image/bmp
;;
txt|TXT)
type=text/plain
;;
esac
elif echo "$type" | grep -q -s "\(video/x-ssf\)"; then
type=video/x-flv
elif echo "$type" | grep -q -s "\(audio/\|video/\|application/xspf\|application/ogg\|image\)"; then
:
elif echo "$type" | grep -q -s "\(text/xml\|application/xml\|application/rss\)"; then
:
elif echo "$type" | grep -q -s "\(application/octet-stream\)"; then
type=video/x-msvideo
else
out_error_info "unknown content type: \"$type\"" "$buf"
exit
fi
get_icy_meta()
{
echo "$buf" | sed -n "/^$1:/p" | sed -n '$p' | sed "s/^$1://" | $TOUTF8
}
icy_name=`get_icy_meta 'icy-name'`
icy_name=${icy_name:-`get_icy_meta 'x-audiocast-name'`}
icy_genre=`get_icy_meta 'icy-genre'`
icy_genre=${icy_genre:-`get_icy_meta 'x-audiocast-genre'`}
icy_br=`get_icy_meta 'icy-br'`
icy_br=${icy_br:-`get_icy_meta 'x-audiocast-bitrate'`}
icy_url=`get_icy_meta 'icy-url'`
icy_url=${icy_url:-`get_icy_meta 'x-audiocast-url'`}
icy_pub=`get_icy_meta 'icy-pub'`
icy_pub=${icy_pub:-`get_icy_meta 'x-audiocast-public'`}
icy_description=`get_icy_meta 'icy-description'`
icy_description=${icy_description:-`get_icy_meta 'x-audiocast-description'`}
icy_notice1=`get_icy_meta 'icy-notice1'`
icy_notice2=`get_icy_meta 'icy-notice2'`
;;
mmsh|mmst|rtsp)
isvideostream=`echo "$buf" | grep "\(is video stream\|video stream detected!!!!\)"`
isaudiostream=`echo "$buf" | grep "\(is audio stream\|audio stream detected!!!!\)"`
if [ -n "$isvideostream" ]; then
type=video/x-msvideo
elif [ -n "$isaudiostream" ]; then
type=audio/x-ms-wma
else
out_error_info "unknown stream" "$buf"
exit
fi
ms_author=`echo "$ms_x_wms_contentdesc" | awk '/,author,/ { a=index($0, ",author,"); s=substr($0, a+8); a=index(s,","); s=substr(s, a+1); a=index(s,","); l=substr(s,0,a-1); s=substr(s,a+1,l); print s }'`
ms_title=`echo "$ms_x_wms_contentdesc" | awk '/,title,/ { a=index($0, ",title,"); s=substr($0, a+7); a=index(s,","); s=substr(s, a+1); a=index(s,","); l=substr(s,0,a-1); s=substr(s,a+1,l); print s }'`
;;
real)
isvideostream=`echo "$buf" | grep "Video Stream \["`
isaudiostream=`echo "$buf" | grep "Audio Stream \["`
if [ -n "$isvideostream" ]; then
type=`echo "$isvideostream" | sed 's/.*Stream \[//;s/\]//'`
elif [ -n "$isaudiostream" ]; then
type=`echo "$isaudiostream" | sed 's/.*Stream \[//;s/\]//'`
else
out_error_info "unknown stream" "$buf"
exit
fi
ms_author=`echo "$buf" | grep "author :" | sed 's/.*author : //'`
ms_title=`echo "$buf" | grep "title :" | sed 's/.*title : //'`
;;
*)
out_error_info "protocol not supported: \"$protocol\"" "$buf"
exit
;;
esac
stream_type=$type
fi
host=''
host_response=''
stream_class=`echo "$stream_type" | sed 's/\/.*//'`
if [ "$protocol" == "http" -a "$stream_class" == "audio" ]; then
# try to define stream server type
host=`echo "$buf" | sed -n '/^Host: \[/p' | sed -n '$p' | awk '{print $3}'`
case $arg_cmd in
info)
buf=`$MSDL --debug -o /dev/null -p http --useragent "${USERAGENT}" --stream-timeout 1 "http://${host}" 2>&1`
host_content_type=`echo "$buf" | sed -n '/^[Cc]ontent\-[Tt]ype:/p' | sed -n '$p'`
;;
status)
host_content_type='text/html'
;;
*)
host_content_type=
;;
esac
if echo "$host_content_type" | grep -qs "text\/html"; then
host_response=`$MSDL -q -o ${TMPFILE} -p http --useragent "${USERAGENT}" --stream-timeout 30 "http://${host}" 2>&1`
if [ -f ${TMPFILE} ]; then
if grep -qsi "[^a-z]icecast[^a-z]" ${TMPFILE}; then
stream_status_url="http://${host}"
server_type='icecast'
host_response=`cat ${TMPFILE}`
elif grep -qsi "[^a-z]shoutcast[^a-z]" ${TMPFILE}; then
stream_status_url="http://${host}"
server_type='shoutcast'
host_response=`cat ${TMPFILE}`
fi
fi
[ "${arg_cmd}" != "info" -a "${arg_cmd}" != "status" -o -z "$server_type" ] && rm -f ${TMPFILE}
fi
if [ -z "$server_type" ]; then
if echo "${icy_notice1} ${icy_notice2}" | grep -q -s -i "shoutcast"; then
server_type='shoutcast'
fi
fi
local is_icy=`awk -v streamurl="$stream_url" -v statusurl="icyx://${host}" '
BEGIN {
match(statusurl, /^icyx:\/\/(.*):(.*)$/, arr);
host_ip = arr[1];
host_port = arr[2];
match(streamurl, /^([^:]*):\/\/([^\/]*)(.*)$/, arr);
host = arr[2];
path = arr[3];
if (path == "") path = "/";
HttpService = "/inet/tcp/0/" host_ip "/" host_port
ORS = "\n\n"
print "GET " path " HTTP/1.0" "\nHost: " host "\nAccept: */*" "\nIcy-MetaData: 1" |& HttpService
ORS = "\n"
RS = "\r?\n\r?\n"
HttpService |& getline Header
print match(Header, /icy-metaint: *([0-9]*)/, arr)
close(HttpService)
}
'`
if [ "$is_icy" != "0" ]; then
stream_status_url="icyx://${host}"
[ -z "$server_type" ] && server_type='icecast'
fi
fi
}
call_url_plugin()
{
local url_plugin=
find_plugin "'$arg_url'" url_plugin
if [ -z "$url_plugin" ]; then
check_av_stream
return $RC_OK
else
. $PLUGINS_DIR"$url_plugin" "'$arg_url'"
fi
}
check_stream()
{
if echo "${arg_url}" | grep -q -s "^ftp:\/\/.*\/$"; then
# fictional ftp browser content type
stream_type=application/x-ftp-browser
elif echo "${arg_url}" | grep -q -s "^\(/.*/\|/\)$"; then
# fictional file browser content type
stream_type=application/x-file-browser
elif call_url_plugin; then
:
else
check_av_stream
fi
[ "$stream_type" == "audio/x-shoutcast-stream" ] && stream_type=audio/x-scpls
case $stream_type in
audio/x-cue)
stream_class='cue'
;;
audio/x-mpegurl|application/xspf*|audio/x-scpls|*/x-ms-asf)
stream_class='playlist'
;;
application/ogg)
stream_class='audio'
;;
application/x-ftp-browser)
protocol='ftp'
stream_class='directory'
;;
application/x-file-browser)
protocol='file'
stream_class='directory'
;;
text/xml|application/xml|application/rss*)
stream_class='rss'
;;
*)
stream_class=${stream_class:-`echo "$stream_type" | sed 's/\/.*//'`}
;;
esac
[ "$stream_class" == "playlist" ] && check_playlist
return 0
}
check_playlist()
{
get_opt "Resolve-playlist"
local resolve=$opt
[ "$resolve" == "0" ] && return 0;
local playlist_file="$TEMP/temp.track"
arg_url=$stream_url
command_playlist | sed '1,2d;s/<track>/\n<track>/g;s/></>\n</g' > $playlist_file
local count=`sed -n '/<track>/p' $playlist_file | sed -n '$='`
if [ "$count" == "1" -o "$resolve" == "1" ]; then
local buf=`awk -f getxml.awk -f getfirstitem.awk "$playlist_file" | sed '/^$/d'`
local location=`echo "$buf" | sed -n '1p'`
local title=`echo "$buf" | sed -n '2p'`
local creator=`echo "$buf" | sed -n '3p'`
if [ "$location" != "$stream_url" ]; then
stream_url=''
stream_type=''
arg_url=$location
check_stream
icy_name=${icy_name:-"$title"}
[ -n "$creator" ] && icy_name="$creator - $icy_name"
ms_title=${ms_title:-"$title"}
ms_author=${ms_author:-"$creator"}
fi
fi
# rm -f $playlist_file
return 0;
}
command_playlist()
{
echo "Content-type: text/xml"
echo
local playlist_file=${arg_url}
local name=`echo "$arg_url" | sed 's/\//\n/g' | sed -n '$p'`
local ext=`echo "$arg_url" | sed 's/\./\n/g' | sed -n '$p'`
local path=`echo "$arg_url" | sed 's/\/[^\/]*$//'`
if echo "${arg_url}" | grep -q -s ".*://"; then
playlist_file="$TEMP/temp.playlist"
rm -f $playlist_file
protocol=`echo "$arg_url" | sed -e 's/:\/\/.*$//'`
buf="`$MSDL --debug --useragent "${USERAGENT}" -o "$playlist_file" -p "$protocol" --no-treat-metafile "${arg_url}" 2>&1`"
# type=`echo "$buf" | sed -n '/^content type/p' | sed -n '$p' | awk '{print $3}'`
type=${stream_type:-`echo "$buf" | sed -n '/^[cC]ontent[ -][tT]ype/p' | sed -n '$p' | awk '{ match($0, /[ ;:]+([a-z]+\/[a-z\-]+)[ ;]*.*$/, arr); print arr[1]}'`}
case $type in
audio/x-cue)
ext="cue"
;;
audio/x-scpls|audio/x-shoutcast-stream)
ext="pls"
;;
audio/x-mpegurl)
ext="m3u"
;;
application/xspf*)
ext="xspf"
;;
*/x-ms-asf)
ext="asx"
;;
esac
fi
case $ext in
xspf|XSPF)
cat "${playlist_file}"
;;
m3u|M3U)
if [ -f "${playlist_file}" ]; then
awk -f $BASEPATH/bin/m3u2xspf -v name="$name" -v path="$path" -v ext="$ext" "${playlist_file}"
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
pls|PLS)
if [ -f "${playlist_file}" ]; then
awk -f $BASEPATH/bin/pls2xspf -v name="$name" -v path="$path" -v ext="$ext" "${playlist_file}"
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
cue|CUE)
if [ -f "${playlist_file}" ]; then
awk -f $BASEPATH/bin/cue2xspf -v path="$path" "${playlist_file}"
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
asx|ASX|asf|ASF)
if [ -f "${playlist_file}" ]; then
if grep -qsi "\[reference\]" ${playlist_file}; then
cat "${playlist_file}" | awk '{gsub(/\t/," ");gsub(/\r/,"");sub(/^\s*/,"");sub(/\s*$/,"");print}' | awk -f $BASEPATH/bin/asf2xspf -v name="$name" -v path="$path"
else
cat "${playlist_file}" | awk '{gsub(/\t/," ");gsub(/\r/,"");print}' | sed 's/>[ \n]*</>\n</g;s/ *>/>/g;s/^ *//;s/ *$//' | awk -f $BASEPATH/bin/asx2xspf -v name="$name" -v path="$path"
fi
else
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[$playlist_file not found]]></title>"
echo "</playlist>"
fi
;;
*)
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title>Unknown playlist format</title>"
echo "</playlist>"
;;
esac
return 0
}
command_text()
{
check_stream
echo "Content-type: text/plain"
echo
echo "Protocol: $protocol"
echo "Type: $stream_type"
echo "Stream url: $stream_url"
echo "Host: $host"
echo "Host response: $host_response"
echo "Server type: $server_type"
echo
echo "$buf"
echo
return 0
}
command_info()
{
if [ "$arg_cmd" == "status" ]; then
check_server
else
check_stream
fi
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<info>"
escaped_url="`echo $stream_url | sed 's/&/&/g'`"
if [ "$protocol" == "http" -o "$protocol" == "mms" -o "$protocol" == "mmsh" -o "$protocol" == "rtsp" ]; then
escaped_url="`echo $escaped_url | sed 's/ /%20/g'`"
fi
echo "<stream url=\"$escaped_url\" type=\"$stream_type\" class=\"$stream_class\" protocol=\"$protocol\" server=\"$server_type\" server_url=\"$stream_status_url\" />"
case $stream_class in
audio|video)
echo "<status>"
meta_server_status=
meta_stream_status=
meta_stream_bitrate=
meta_stream_title=
meta_stream_genre=
meta_content_type=
meta_listeners=
meta_listener_peak=
meta_average_listener_time=
meta_current_song=
meta_stream_description=
if [ -n "$stream_status_url" -a -f "$TMPFILE" ]; then
if grep -q -s -i "charset=utf-8" ${TMPFILE}; then
:
else
$TOUTF8 <${TMPFILE} >${TMPFILE}.utf8 && mv -f ${TMPFILE}.utf8 ${TMPFILE}
fi
case $server_type in
shoutcast)
meta_server_status=`get_shoutcast_item 'Server Status'`
meta_stream_status=`get_shoutcast_item 'Stream Status'`
meta_stream_bitrate=`echo "$value" | sed 's/.*is up at //' | awk '{print $1}'`
meta_stream_title=`get_shoutcast_item 'Stream Title'`
meta_stream_genre=`get_shoutcast_item 'Stream Genre'`
meta_content_type=`get_shoutcast_item 'Content Type'`
meta_listeners=`echo "$value" | sed 's/.*with //' | awk '{print $1}'`
meta_listener_peak=`get_shoutcast_item 'Listener Peak'`
meta_average_listener_time=`get_shoutcast_item 'Average Listen Time'`
meta_current_song=`get_shoutcast_item 'Current Song'`
meta_stream_description=''
;;
icecast)
mount_point=`echo "$stream_url" | sed 's/\//\n/g' | sed -n '$p' | sed 's/ *$//'`
if grep -q -s "/${mount_point}" ${TMPFILE}; then
sed -e 's/<[^<>]*>/\n/g' ${TMPFILE} | sed 's/^ *//' | sed '/^ *$/d' | sed 's/&/&/g;s/ / /g;s/</</g;s/>/>/g' | sed "1,/[Mm]ount [Pp]oint.*${mount_point}/d" | sed '/[mM]ount [pP]oint/,$d' | sed '/upport icecast development/,$d' > ${TMPFILE}.$$
mv -f $TMPFILE.$$ $TMPFILE
meta_server_status=''
meta_stream_status=`get_icecast_item 'Mount started'`
meta_stream_bitrate=`get_icecast_item 'Bitrate'`
meta_stream_title=`get_icecast_item 'Stream Title'`
meta_stream_genre=`get_icecast_item 'Stream Genre'`
meta_content_type=`get_icecast_item 'Content Type'`
meta_listeners=`get_icecast_item 'Current Listeners'`
meta_listener_peak=`get_icecast_item 'Peak Listeners'`
meta_average_listener_time=''
meta_current_song=`get_icecast_item 'Current Song'`
meta_stream_description=''
fi
;;
station.ru)
meta_current_song=`echo "$host_response" | awk '/"Artist"/{match($0, /"Artist":"([^"]+)".*"Song":"([^"]+)"/, arr);print arr[1] " - " arr[2];}'`
;;
esac
fi
if echo "$stream_status_url" | grep -qsi "^icyx://"; then
meta_current_song=`awk -v streamurl="$stream_url" -v statusurl="$stream_status_url" '
BEGIN {
match(statusurl, /^icyx:\/\/(.*):(.*)$/, arr);
host_ip = arr[1];
host_port = arr[2];
match(streamurl, /^([^:]*):\/\/([^\/]*)(.*)$/, arr);
host = arr[2];
path = arr[3];
if (path == "") path = "/";
HttpService = "/inet/tcp/0/" host_ip "/" host_port
ORS = "\n\n"
print "GET " path " HTTP/1.0" "\nHost: " host "\nAccept: */*" "\nIcy-MetaData: 1" |& HttpService
ORS = "\n"
RS = "\r?\n\r?\n"
HttpService |& getline Header
if(match(Header, /icy-metaint: *([0-9]*)/, arr))
{
metaint = strtonum(arr[1]);
RS = "\0"
counter = 0;
while(counter < metaint)
{
HttpService |& getline
counter = counter + length($0) + 1
}
if(metaint != counter + 1)
{
split($0, a, "\x27;");
if(match(a[1], /^.*StreamTitle=\x27(.*)/, arr))
{
print arr[1];
}
}
}
close(HttpService)
}
'`
if echo "$meta_current_song" | $TOUTF8 -t; then
meta_current_song=`echo "$meta_current_song" | $XCODE -s | $TOUTF8`
fi
fi
case $protocol in
http|rtmp)
meta_stream_title=${meta_stream_title:-"$icy_name"}
meta_stream_genre=${meta_stream_genre:-"$icy_genre"}
meta_stream_bitrate=${meta_stream_bitrate:-"$icy_br"}
meta_stream_description=${meta_stream_description:-"$icy_description"}
;;
mmst|mmsh|rtsp)
if [ -n "$ms_author" -a -n "$ms_title" ]; then
if [ "$ms_author" != "$ms_title" ]; then
meta_stream_title="$ms_title / $ms_author"
else
meta_stream_title="$ms_title"
fi
else
meta_stream_title="$ms_title$ms_author"
fi
;;
esac
if echo "$meta_stream_title" | $TOUTF8 -t; then
meta_stream_title=`echo "$meta_stream_title" | $XCODE -s | $TOUTF8`
fi
if echo "$meta_stream_genre" | $TOUTF8 -t; then
meta_stream_genre=`echo "$meta_stream_genre" | $XCODE -s | $TOUTF8`
fi
if echo "$meta_stream_description" | $TOUTF8 -t; then
meta_stream_description=`echo "$meta_stream_description" | $XCODE -s | $TOUTF8`
fi
print_status_item 'server-status' "${meta_server_status}"
print_status_item 'stream-status' "$meta_stream_status"
print_status_item 'listener-peak' "$meta_listener_peak"
print_status_item 'average-listener-time' "$meta_average_listener_time"
print_status_item 'stream-title' "$meta_stream_title"
print_status_item 'content-type' "$meta_content_type"
print_status_item 'stream-genre' "$meta_stream_genre"
print_status_item 'current-song' "$meta_current_song"
print_status_item 'stream-bitrate' "$meta_stream_bitrate"
print_status_item 'stream-description' "$meta_stream_description"
print_status_item 'listeners' "$meta_listeners"
echo "</status>"
rm -f ${TMPFILE}
;;
playlist)
if echo "$icy_name" | $TOUTF8 -t; then
icy_name=`echo "$icy_name" | $XCODE -s | $TOUTF8`
fi
if [ -n "$icy_name" ]; then
echo "<status>"
print_status_item 'stream-title' "$icy_name"
echo "</status>"
fi
;;
esac
echo "</info>"
return 0
}
command_scan()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title>Playlists</title>"
echo "<trackList>"
if [ -f "${XSPFSCAN}" ]; then
for path in `cat "${XSPFSCAN}"`
do
path=`echo "$path" | sed 's/\/*$//'`
if [ -d "${path}" ]; then
ls -1 ${path}/*.xspf ${path}/*.m3u ${path}/*.pls 2>/dev/null | awk '\
{
title=a[split($0, a, "/")];
match($0, /.*\.([^.\/]+)$/, arr);
ext = tolower(arr[1]);
print "<track><title><![CDATA[" title "]]></title><location><![CDATA[" $0 "]]></location><meta rel=\"protocol\">file</meta><meta rel=\"ext\">" ext "</meta></track>";
}
'
fi
done
fi
echo "</trackList>"
echo "</playlist>"
return 0
}
command_ls()
{
get_opt "Filter"
filter=${opt:="$DEFAULTFILTER"}
get_opt "Chroot"
isroot=$opt
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[${arg_url}]]></title>"
echo "<trackList>"
if [ -d "${arg_url}" ]; then
/bin/ls -1l "${arg_url}" 2>/dev/null | awk -v path="${arg_url}" '
function resolvesymlink(s, dirpath) {
match(s, /^[^ ]+ *([^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *.+ *-> *)(.+)$/, src);
current = s;
currentpath = dirpath;
while(current ~ /^l/) {
match(current, /^[^ ]+ *([^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *.+ *-> *)(.+)$/, arr);
if(arr[2] !~ /^\// ) {
match(currentpath, /(.*\/)[^\/]*\/*$/, dirarr);
currentpath = dirarr[1] arr[2];
}
else {
currentpath = arr[2];
}
lscmd = "ls -1ld " currentpath " 2>/dev/null";
ERRNO = 0;
lscmd |& getline current;
close(lscmd);
if(ERRNO != 0)
return "";
}
match(current, /^([^ ]+ *)[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)$/, arr);
return arr[1] src[1] currentpath;
}
$0 ~ /^l/ {
s = resolvesymlink($0, path);
if(s != "")
print s;
}
$0 ~ /^(d|-)/ {
print $0;
}
' > $TMPFILE
awk -v path="${arg_url}" -v isroot="$isroot" '
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
if(isroot != "yes")
{
match(path, /(.*\/)[^\/]+\/$/, arr);
location=arr[1];
title="..";
if(location != "") {
print "<track><title><![CDATA[" title "]]></title><location><![CDATA[" location "]]></location>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">file</meta></track>";
}
}
}
$1 ~ /^d/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)$/, arr);
title=arr[1];
if(title ~ /->/) {
match(title, /^(.+) +-> +(.+)$/, arr);
location=arr[2];
title=arr[1];
}
else {
location=path arr[1];
}
if(location !~ /\/$/) {
location=location "/";
}
print "<track><title><![CDATA[/" title "/]]></title><location><![CDATA[" location "]]></location>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">file</meta></track>";
}
' $TMPFILE
awk -v path="${arg_url}" -v filter="$filter" '
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
}
$1 ~ /^-/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)$/, arr);
title=arr[1];
if(title ~ /->/) {
match(title, /^(.+) +-> +(.+)$/, arr);
location=arr[2];
title=arr[1];
}
else {
location=path arr[1];
}
match(location, /.*\.([^.\/]+)$/, arr);
ext = tolower(arr[1]);
if(ext ~ filter) {
match(location, /^(.+):\/\//, arr);
protocol = tolower(arr[1]);
if(protocol == "")
protocol = "file";
print "<track><title><![CDATA[" title "]]></title>";
print "<location><![CDATA[" location "]]></location>";
print "<meta rel=\"ext\">" ext "</meta><meta rel=\"protocol\">" protocol "</meta></track>";
}
}
' $TMPFILE
rm -f $TMPFILE
fi
echo "</trackList>"
echo "</playlist>"
return 0
}
command_lsftp()
{
get_opt "Charset"
charset=$opt
get_opt "Filter"
filter=${opt:="$DEFAULTFILTER"}
get_opt "Chroot"
isroot=$opt
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>"
echo "<title><![CDATA[${arg_url}]]></title>"
echo "<trackList>"
$MSDL --ftp-list -q -o $TMPFILE "${arg_url}" 2>/dev/null
if [ -f $TMPFILE ]; then
ICONV=
[ "$charset" == "CP1251" ] && ICONV=$TOUTF8
awk -v path="${arg_url}" -v toutf8="$ICONV" -v charset="$charset" -v isroot="$isroot" '
function iconv(s) {
if(toutf8 == "") return s;
print s |& toutf8;
close(toutf8, "to");
toutf8 |& getline line;
close(toutf8);
return line;
}
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
if(isroot != "yes")
{
match(path, /^(ftp:\/\/.+\/)[^\/]+\/$/, arr);
location=arr[1];
title="..";
if(location != null) {
print "<track><title><![CDATA[" title "]]></title><location><![CDATA[" location "]]></location>";
if(charset != "")
print "<meta rel=\"translate\">Charset:" charset "</meta>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">ftp</meta></track>";
}
}
}
$1 ~ /^d/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)[\n\r]+$/, arr);
location=path arr[1] "/";
title=arr[1];
print "<track><title><![CDATA[/" iconv(title) "/]]></title><location><![CDATA[" location "]]></location>";
if(charset != "")
print "<meta rel=\"translate\">Charset:" charset "</meta>";
print "<meta rel=\"class\">directory</meta><meta rel=\"protocol\">ftp</meta></track>";
}
' $TMPFILE
awk -v path="${arg_url}" -v toutf8="$ICONV" -v filter="$filter" '
function iconv(s) {
if(toutf8 == "") return s;
print s |& toutf8;
close(toutf8, "to");
toutf8 |& getline line;
close(toutf8);
return line;
}
BEGIN {
if(path !~ /\/$/) {
path = path "/";
}
}
$1 ~ /^-/ {
match($0, /^[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *[^ ]+ *(.+)[\n\r]+$/, arr);
title=arr[1];
location=path title;
match(location, /.*\.([^.\/]+)$/, arr);
ext = tolower(arr[1]);
if(ext ~ filter)
{
match(location, /^(.+):\/\//, arr);
protocol = tolower(arr[1]);
if(protocol == "")
protocol = "file";
print "<track><title><![CDATA[" iconv(title) "]]></title>";
print "<location><![CDATA[" location "]]></location>";
print "<meta rel=\"ext\">" ext "</meta><meta rel=\"protocol\">" protocol "</meta></track>";
}
}
' $TMPFILE
rm -f $TMPFILE
fi
echo "</trackList>"
echo "</playlist>"
return 0
}
command_random()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<randomList>"
awk -v count=${arg_opt} -v start=${arg_url} '
BEGIN {
srand();
r=start;
seq[r]=0;
print "<item>" r "</item>";
for(i=1;i<count;i++) {
do {
r=int(count*rand());
} while(r in seq);
seq[r]=i;
print "<item>" r "</item>";
}
exit;
}
'
echo "</randomList>"
return 0
}
check_server()
{
if echo "$stream_status_url" | grep -q -s -i "^icyx://"; then
stream_class='audio';
server_type='x-cast';
else
host_response=`$MSDL -q -o ${TMPFILE} -p http --useragent "${USERAGENT}" --stream-timeout 30 "$stream_status_url" 2>&1`
if [ -f ${TMPFILE} ]; then
stream_class='audio';
if grep -q -s -i "[^a-z]icecast[^a-z]" ${TMPFILE}; then
server_type='icecast'
host_response=`cat ${TMPFILE}`
elif grep -q -s -i "[^a-z]shoutcast[^a-z]" ${TMPFILE}; then
server_type='shoutcast'
host_response=`cat ${TMPFILE}`
elif echo "$stream_status_url" | grep -q -s -i "[^a-z]station.ru[^a-z]"; then
server_type='station.ru'
host_response=`cat ${TMPFILE}`
fi
fi
fi
}
command_translit()
{
echo "Content-type: text/xml"
echo
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo -n "<string><![CDATA["
from_translit "$arg_url"
echo "]]></string>"
return 0
}
case ${arg_cmd} in
text)
command_text
;;
info)
command_info
;;
stream|audio|video|image)
get_opt "Protocol"
case $opt in
mms|mmst|mmsh|http|rtsp|ftp)
msdlopt='-p $opt'
;;
*)
msdlopt=''
esac
get_opt "Bandwidth"
[ -z "$opt" -a -n "$NET_BANDWIDTH" ] && opt=$NET_BANDWIDTH
[ -n "$opt" ] && msdlopt="$msdlopt -b $opt"
get_opt "Speed"
[ -n "$opt" ] && msdlopt="$msdlopt -s $opt"
get_opt "User-agent"
[ -n "$opt" ] && msdlopt="$msdlopt --useragent \"$opt\""
get_opt "Charset"
charset=$opt
if [ -z "$stream_type" ]; then
local TIMELIFE=${STREAM_INFO_TIMELIFE:-60}
local CACHEFILE=$CACHEPATH/stream.`echo $arg_url | sed 's/[^0-9a-zA-Z]/_/g'`
local tsttime
let tsttime=`date +%s`-$TIMELIFE
if [ -f $CACHEFILE ]; then
if [ `date +%s -r $CACHEFILE` -gt $tsttime ]; then
stream_url=`sed -ne "1p" $CACHEFILE`
stream_type=`sed -ne "2p" $CACHEFILE`
arg_opt=`sed -ne "3p" $CACHEFILE`
fi
fi
if [ -z "$stream_type" ]; then
check_stream
echo $stream_url > $CACHEFILE
echo $stream_type >> $CACHEFILE
echo $arg_opt >> $CACHEFILE
fi
fi
echo "Content-type: $stream_type"
echo
if echo "$stream_url" | grep -qs "^rtmp"; then
get_opt "Rtmp-options"
killall -q $RTMPDUMP 2>&1
exec nice /usr/local/etc/www/cgi-bin/scripts/rtmpdump -q -o - -b 60000 -r "$stream_url" $opt
elif [ "$charset" == "CP1251" ]; then
$MSDL $msdlopt -q -o - "$stream_url" | $TOUTF8 | sed 's/windows-125./utf-8/'
else
exec $MSDL $msdlopt -q -o - "$stream_url"
fi
;;
random)
command_random
;;
status)
stream_url=$arg_url
stream_status_url=$arg_opt
command_info
;;
flac)
get_opt "Flac-skip"
flac_skip=$opt
get_opt "Flac-until"
flac_until=$opt
echo "Content-type: audio/wav"
echo
exec $FLAC -d -c --skip="$flac_skip" --until="$flac_until" --totally-silent "$stream_url"
;;
directory)
if echo "${arg_url}" | grep -q -s "^ftp:\/\/.*\/$"; then
command_lsftp
elif echo "${arg_url}" | grep -q -s "^/.*/$"; then
command_ls
fi
;;
translit)
command_translit
;;
playlist|startpoint)
if [ "$arg_cmd" == "startpoint" ]; then
arg_url="$STARTPOINT"
fi
if echo "${arg_url}" | grep -q -s "^ftp:\/\/.*\/$"; then
command_lsftp
elif echo "${arg_url}" | grep -q -s "^/.*/$"; then
command_ls
elif [ -z "${arg_url}" ]; then
command_scan
else
command_playlist
fi
;;
renderer)
echo "$arg_url" > "/tmp/xspf_renderer.dat"
echo "$arg_opt" >> "/tmp/xspf_renderer.dat"
echo "Content-type: text/plain"
echo
;;
renderer-*)
echo "{${arg_cmd}}" > "/tmp/xspf_renderer.dat"
echo "Content-type: text/plain"
echo
;;
download)
echo "Content-type: text/xml"
echo
echo "<success/>"
exec $MSDL -q -o "$arg_opt" "$stream_url"
;;
app)
if [ -f $TRANSLATE/app/$arg_url ]; then
. $TRANSLATE/app/$arg_url
fi
;;
app/*)
if [ -f $TRANSLATE/$arg_cmd ]; then
. $TRANSLATE/$arg_cmd
fi
;;
scan|*)
command_scan
;;
esac
| 1073s | trunk/util/translate1.cgi | Shell | gpl3 | 41,014 |
#!/bin/sh
# Dreambox Live
c_param1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f1`
c_value1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f2`
echo "Content-type: text/html"
echo
echo "<html><head>"
echo "<title>xVoD</title>"
echo "<link type='text/css' rel='stylesheet' href='/cube_web_management.css' />"
echo "</head>"
echo "<body>"
echo "<h1>xVoD</h1><hr><br>"
if [ $c_value1 = "install" ]
then
if [ -e /tmp/hdd/volumes/HDD1 ]
then
storage=/tmp/hdd/volumes/HDD1
loc="HDD"
elif [ -e /tmp/usbmounts/sda1 ]
then
storage=/tmp/usbmounts/sda1
loc="USB1"
elif [ -e /tmp/usbmounts/sdb1 ]
then
storage=/tmp/usbmounts/sdb1
loc="USB1"
elif [ -e /tmp/usbmounts/sdc1 ]
then
storage=/tmp/usbmounts/sdc1
loc="USB1"
elif [ -e /tmp/usbmounts/sda2 ]
then
storage=/tmp/usbmounts/sda2
loc="USB2"
elif [ -e /tmp/usbmounts/sdb2 ]
then
storage=/tmp/usbmounts/sdb2
loc="USB2"
elif [ -e /tmp/usbmounts/sdc2 ]
then
storage=/tmp/usbmounts/sdc2
loc="USB2"
elif [ -e /tmp/usbmounts/sda ]
then
storage=/tmp/usbmounts/sda
loc="USB"
elif [ -e /tmp/usbmounts/sdb ]
then
storage=/tmp/usbmounts/sdb
loc="USB"
fi
if [ -e $storage ]
then
echo "<h2>Install xVoD on " $storage "</h2><br>"
rm -f $storage/xvod.zip
cd $storage
wget -q http://hdforall.googlecode.com/files/xvod.zip -O xvod.zip
if [ -f $storage/xvod.zip ]
then
echo "download OK....<br>"
#remove scripts
rm -rf $storage/xLive/xVoD/*
echo "unzip.....<br>"
unzip -q -o xvod.zip
rm -f $storage/xvod.zip
cd /usr/local/etc
rm -f xVoD
ln -s $storage/xLive/xVoD xVoD
echo "<h3>Install OK! Enjoy</h3>"
else
echo "<h3>Can not install xVoD!<br>Check network.</h3>"
fi
fi
fi
############################################
############################################
echo "<br></body></html>"
| 1073s | trunk/util/xvod.cgi | Shell | gpl3 | 1,839 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
error_reporting(0);
exec ("rm -f /tmp/test.xml");
$id = $_GET["file"];
$l1="http://www.viki.com/player/medias/".$id."/info.json?rtmp=true&source=embed&embedding_uri=www.viki.com";
$html=file_get_contents($l1);
if (strpos($html,"rtmp") === false) {
$new_file="D://dolce.gz";
$new_file="/tmp/dolce.gz";
$fh = fopen($new_file, 'w');
fwrite($fh, $html);
fclose($fh);
$zd = gzopen($new_file, "r");
$html = gzread($zd, filesize($new_file));
gzclose($zd);
}
if (strpos($html,'"code":"ro"') !== false) $ro=1;
if (strpos($html,'"code":"en"') !== false) $en=1;
if ($ro) {
$l2="http://www.viki.com/subtitles/media/".$id."/ro.json";
} else if ($en) {
$l2="http://www.viki.com/subtitles/media/".$id."/en.json";
}
if ($l2 <> "") {
$html=file_get_contents($l2);
if (strpos($html,"start_time") === false) {
$new_file="D://dolce.gz";
$new_file="/tmp/dolce.gz";
$fh = fopen($new_file, 'w');
fwrite($fh, $html);
fclose($fh);
$zd = gzopen($new_file, "r");
$html = gzread($zd, filesize($new_file));
gzclose($zd);
}
$ttxml ="<subtitrare>"."\n";
$last_end=0;
$videos = explode('content":"', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1=explode('"start_time":',$video);
$t2=explode(',',$t1[1]);
$b1=trim($t2[0]);
$t1=explode('"end_time":',$video);
$t2=explode('}',$t1[1]);
$d1=trim($t2[0]);
$begin=round($b1/1000);
$end=round($d1/1000);
$f = "/usr/local/bin/home_menu";
if (!file_exists($f)) {
if ($begin > $last_end)
{
$ttxml .="<sub>"."\n";
$ttxml .="<time1>".$last_end."</time1>"."\n";
$ttxml .="<time2>".$begin."</time2>"."\n";
$ttxml .="<line1></line1>"."\n";
$ttxml .="<line2></line2>"."\n";
$ttxml .="</sub>"."\n\n";
}
$last_end=$end;
}
$t1=explode('"',$video);
$line=trim($t1[0]);
$line=str_replace("\n"," ",$line);
$line=str_replace("ã","a",$line);
$line=str_replace("&quot;",'"',$line);
$line=str_replace("\u0103","a",$line);
$line=str_replace("\u00ee","i",$line);
$line=str_replace("\u015f","s",$line);
$line=str_replace("\u0163","t",$line);
$t1=explode("<br>",$line);
$line1=$t1[0];
$line2=$t1[1];
$line1 = trim(preg_replace("/<(.*)>|(\{(.*)\})/e","",$line1));
$line2 = trim(preg_replace("/<(.*)>|(\{(.*)\})/e","",$line2));
if ($line2=="")
{
$line2=$line1;
$line1="";
if (strlen($line2) > 45) {
$newtext = wordwrap($line2, 45, "<br>");
$t1=explode("<br>",$newtext);
$line1=$t1[0];
$line2=$t1[1];
}
}
$ttxml .="<sub>"."\n";
$ttxml .="<time1>".$begin."</time1>"."\n";
$ttxml .="<time2>".$end."</time2>"."\n";
$ttxml .="<line1>".$line1."</line1>"."\n";
$ttxml .="<line2>".$line2."</line2>"."\n";
$ttxml .="</sub>"."\n\n";
}
$ttxml .="</subtitrare>";
$ttxml .="</subtitrare>";
$new_file = "/tmp/test.xml";
$fh = fopen($new_file, 'w');
fwrite($fh, $ttxml);
fclose($fh);
}
?>
| 1073s | trunk/util/viki_xml.php | PHP | gpl3 | 3,107 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
error_reporting(0);
if (file_exists("/tmp/usbmounts/sda1/download")) {
$dir = "/tmp/usbmounts/sda1/download/";
$dir_log = "/tmp/usbmounts/sda1/download/log/";
} elseif (file_exists("/tmp/usbmounts/sdb1/download")) {
$dir = "/tmp/usbmounts/sdb1/download/";
$dir_log = "/tmp/usbmounts/sdb1/download/log/";
} elseif (file_exists("/tmp/usbmounts/sdc1/download")) {
$dir = "/tmp/usbmounts/sdc1/download/";
$dir_log = "/tmp/usbmounts/sdc1/download/log/";
} elseif (file_exists("/tmp/usbmounts/sda2/download")) {
$dir = "/tmp/usbmounts/sda2/download/";
$dir_log = "/tmp/usbmounts/sda2/download/log/";
} elseif (file_exists("/tmp/usbmounts/sdb2/download")) {
$dir = "/tmp/usbmounts/sdb2/download/";
$dir_log = "/tmp/usbmounts/sdb2/download/log/";
} elseif (file_exists("/tmp/usbmounts/sdc2/download")) {
$dir = "/tmp/usbmounts/sdc2/download/";
$dir = "/tmp/usbmounts/sdc2/download/log/";
} elseif (file_exists("/tmp/hdd/volumes/HDD1/download")) {
$dir = "/tmp/hdd/volumes/HDD1/download/";
$dir_log = "/tmp/hdd/root/log/";
} else {
$dir = "";
$dir_log = "";
}
//topUrl = "http://127.0.0.1/cgi-bin/scripts/util/xml_srt1.php?file=" + getItemInfo(getFocusItemIndex(),"subtitrare") + "," + getItemInfo(getFocusItemIndex(),"name");
$link = $_GET["file"];
$t1=explode(",",$link);
$link = $t1[0];
$srt = $dir.$t1[1].".srt";
$out="";
$html = file_get_contents($link);
$videos = explode('<p', $html);
unset($videos[0]);
$videos = array_values($videos);
$n=1;
foreach($videos as $video) {
$t1=explode('begin="',$video);
$t2=explode('"',$t1[1]);
$start=$t2[0];
if (strlen($start)==5) {
$start="00:".$start.",000";
} else {
$start=$start.",000";
}
$t1=explode('end="',$video);
$t2=explode('"',$t1[1]);
$end=$t2[0];
if (strlen($end)==5) {
$end="00:".$end.",000";
} else {
$end=$end.",000";
}
$line=str_between($t1[1],">","</p");
$line=str_replace("<br/>","\r\n",$line);
$out = $out.$n."\r\n";
$out = $out.$start." --> ".$end."\r\n";
$out = $out.$line."\r\n";
$out = $out."\r\n";
$n++;
}
$out = preg_replace("/<(.*)>|(\{(.*)\})/e","",$out);
$rm = "rm -f ".$srt;
exec ($rm);
if ($n > 2) {
$fp = fopen($srt, 'w');
fwrite($fp, $out);
fclose($fp);
print "Subtitrare descarcata";
} else {
print "Descarcare subtitrare esuata";
}
?>
| 1073s | trunk/util/xml_srt1.php | PHP | gpl3 | 2,533 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$id = $_GET["file"];
$s="http://index.mediadirect.ro/getUrl?publisher=".$id;
$h = file_get_contents($s);
$t1=explode('server=',$h);
$t2=explode('&',$t1[1]);
$serv=$t2[0];
if ($serv == "") {
$serv="fms1.mediadirect.ro";
}
print $serv;
?>
| 1073s | trunk/util/mediadirect_server.php | PHP | gpl3 | 520 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<HTML>
<HEAD>
<script type="text/JavaScript">
<!--
function timedRefresh(timeoutPeriod) {
setTimeout("location.replace('/cgi-bin/scripts/util/browser.php');",timeoutPeriod);
}
// -->
</script>
<TITLE>Download via browser</TITLE>
<link type='text/css' rel='stylesheet' href='/cube_web_management.css' />
</HEAD>
<body onload="JavaScript:timedRefresh(20000);">
<h2>Download Manager</h2>
<form action="browser.php" method="get">
Link: <input type="text" SIZE=100 name="link" />
<input type="submit" />
<input type="hidden" name="action" value="download" />
</form>
<table align="center">
<tr>
<td><form action="browser.php" method="get">
<input type="hidden" name="action" value="all" />
<input type="submit" value="Stop all - delete list" />
</form></td>
</tr>
</table>
<?php
error_reporting(0);
$action = $_GET["action"];
if ($action == "download") {
$a = urldecode($_GET["link"]);
$b=explode(",",$a);
$link=$b[0];
$titledownload=$b[1];
$titledownload = preg_replace('/[^A-Za-z0-9_]/','_',$titledownload);
$titledownload = substr($titledownload, 0, -4);
if (isset($link)) {
if ($titledownload == "") {
$titledownload = substr(strrchr($link,"/"),1);
}
$pct = substr($titledownload, -4, 1);
if ($pct == ".") {
$ext = substr($titledownload, -3);
$titledownload = substr($titledownload, 0, -4);
} else {
$ext = "flv";
}
$titledownload = preg_replace('/[^A-Za-z0-9_]/','_',$titledownload);
$link = 'http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link='.$link.';name='.$titledownload.'.'.$ext;
$handle = fopen($link,'r');
fclose($handle);
sleep(3);
}
} elseif ($action == "manage") {
$go = $_GET["go"];
if ($go=="start") {
//http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?link='.$link.';name='.$t1[0].';go=start
$link = $_GET["link"];
$name = $_GET["name"];
$link = "http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?link=".$link.";name=".$name.";go=start";
$handle = fopen($link,'r');
fclose($handle);
sleep(3);
} elseif ($go=="stop") {
//http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?pid='.$pid[0].';name='.$t1[0].';go=stop
$pid = $_GET["pid"];
$name = $_GET["name"];
$link = "http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?pid=".$pid.";name=".$name.";go=stop";
$handle = fopen($link,'r');
fclose($handle);
sleep(3);
} elseif ($go=="delete") {
//http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?name='.$t1[0].';go=delete
$name = $_GET["name"];
$link = "http://127.0.0.1/cgi-bin/scripts/util/manag.cgi?name=".$name.";go=delete";
$handle = fopen($link,'r');
fclose($handle);
sleep(3);
}
} elseif ($action == "all") {
$link = "http://127.0.0.1/cgi-bin/scripts/util/stop_exua.cgi";
$handle = fopen($link,'r');
fclose($handle);
sleep(3);
}
clearstatcache();
if (file_exists("/tmp/usbmounts/sda1/download")) {
$dir = "/tmp/usbmounts/sda1/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdb1/download")) {
$dir = "/tmp/usbmounts/sdb1/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdc1/download")) {
$dir = "/tmp/usbmounts/sdc1/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sda2/download")) {
$dir = "/tmp/usbmounts/sda2/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdb2/download")) {
$dir = "/tmp/usbmounts/sdb2/download/log/*log";
} elseif (file_exists("/tmp/usbmounts/sdc2/download")) {
$dir = "/tmp/usbmounts/sdc1/download/log/*log";
} elseif (file_exists("/tmp/hdd/volumes/HDD1/download")) {
$dir = "/tmp/hdd/root/log/*log";
} else {
$dir = "";
}
echo '
<table border=1 width=100%>
';
if ($dir <> "") {
$file_list = glob($dir);
for ($i=0; $i< count($file_list); $i++) {
$log_file = file($file_list[$i]);
$t1 = explode('/log/', $file_list[$i]);
$t1 = explode('.log', $t1[1]);
$log = $log_file[count($log_file) -4];
$t3 = explode("K", $log);
$t4 = substr($log, -25);
$t5 = explode("%", $log);
$end = substr($t5[0], -3);
if (strpos($log_file,"saved") === true) {
$end = "100";
}
$t0 = $i+1;
//pid
$pd = "/tmp/".$t1[0].".pid";
$pid_file = file($pd);
$pid = explode('pid ', $pid_file[0]);
$pid = explode('.', $pid[1]);
//url
$log_url = $log_file[0];
$url = explode('http://', $log_url);
$link = str_replace("\r","",$url[1]);
$link = str_replace("\n","",$link);
$link = 'http://'.$link;
//title
$title = $t0.'. '. $t1[0].' - '.$t3[0].'KB'.$t4;
echo '
<tr>
<td>'.$title.'</td>';
//echo '<name>'.$t1[0].'</name>';
//echo '<logfile>'.$file_list[$i].'</logfile>';
if ($end != "100") {
if (!$pid_file) {
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="link" value="'.$link.'" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="start" />
<input type="submit" value = "start"/>
</td></form>
';
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="delete" />
<input type="submit" value = "delete"/>
</td></form>
</tr>
';
} else {
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="pid" value="'.$pid[0].'" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="stop" />
<input type="submit" value = "stop"/>
</td></form>
';
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="link" value="'.$link.'" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="delete" />
<input type="submit" value = "delete"/>
</td></form>
</tr>
';
}
} else {
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="delete" />
<input type="submit" value = "delete"/>
</td></form>
';
echo '
<td>
<form action="browser.php" method="get">
<input type="hidden" name="action" value="manage" />
<input type="hidden" name="name" value="'.$t1[0].'" />
<input type="hidden" name="go" value="delete" />
<input type="submit" value = "delete"/>
</td></form>
</tr>
';
}
}
}
echo '</table>';
?>
</BODY>
</HTML>
| 1073s | trunk/util/browser.php | PHP | gpl3 | 6,836 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
set_time_limit(0);
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
clearstatcache();
if (file_exists("/tmp/usbmounts/sda1/download")) {
$dir = "/tmp/usbmounts/sda1/download/*xml";
} elseif (file_exists("/tmp/usbmounts/sdb1/download")) {
$dir = "/tmp/usbmounts/sdb1/download/*xml";
} elseif (file_exists("/tmp/usbmounts/sdc1/download")) {
$dir = "/tmp/usbmounts/sdc1/download/*xml";
} elseif (file_exists("/tmp/usbmounts/sda2/download")) {
$dir = "/tmp/usbmounts/sda2/download/*xml";
} elseif (file_exists("/tmp/usbmounts/sdb2/download")) {
$dir = "/tmp/usbmounts/sdb2/download/*xml";
} elseif (file_exists("/tmp/usbmounts/sdc2/download")) {
$dir = "/tmp/usbmounts/sdc1/download/*xml";
} elseif (file_exists("/tmp/hdd/volumes/HDD1/download")) {
$dir = "/tmp/hdd/volumes/HDD1/download/*xml";
} else {
$dir = "";
}
if ($dir <> "") {
$file_list = glob($dir);
for ($i=0; $i< count($file_list); $i++) {
$link=$file_list[$i];
$out="";
$srt = str_replace(".xml",".srt",$link);
$html = file_get_contents($link);
$videos = explode('<p', $html);
unset($videos[0]);
$videos = array_values($videos);
$n=1;
foreach($videos as $video) {
$t1=explode('begin="',$video);
$t2=explode('"',$t1[1]);
$start=$t2[0];
if (strlen($start)==5) {
$start="00:".$start.",000";
} else {
$start=$start.",000";
}
$t1=explode('end="',$video);
$t2=explode('"',$t1[1]);
$end=$t2[0];
if (strlen($end)==5) {
$end="00:".$end.",000";
} else {
$end=$end.",000";
}
$line=str_between($t1[1],">","</p");
$line=str_replace("<br/>","\r\n",$line);
$out = $out.$n."\r\n";
$out = $out.$start." --> ".$end."\r\n";
$out = $out.$line."\r\n";
$out = $out."\r\n";
$n++;
}
$out = preg_replace("/<(.*)>|(\{(.*)\})/e","",$out);
$rm = "rm -f ".$srt;
exec ($rm);
$fp = fopen($srt, 'w');
fwrite($fp, $out);
fclose($fp);
}
$rm = "rm -f ".$dir;
exec ($rm);
flush();
}
?>
| 1073s | trunk/util/xml_srt.php | PHP | gpl3 | 2,063 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
$query = $_GET["file"];
if($query) {
$queryArr = explode(',', $query);
$myfile = $queryArr[0];
$tip = $queryArr[1];
}
$log_file = file($myfile);
$t1 = explode('/log/', $myfile);
$t1 = explode('.log', $t1[1]);
$log = $log_file[count($log_file) -4];
$t3 = explode("K", $log);
$t4 = substr($log, -25);
$t5 = explode("%", $log);
$end = substr($t5[0], -3);
if (strpos($log_file,"saved") === true) {
$end = "100";
}
$title = $t3[0].'KB'.$t4;
if ($end=="100") {
print "Ready";
} else {
print $title;
}
?>
| 1073s | trunk/util/info_down.php | PHP | gpl3 | 557 |
#!/bin/sh
DISK=`echo "$QUERY_STRING" | sed -n 's/^.*sda=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
LINK=`echo "$QUERY_STRING" | sed -n 's/^.*link=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
NAME=`echo "$QUERY_STRING" | sed -n 's/^.*name=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
if [ -n "$DISK"]
then
if [ -d /tmp/usbmounts/sda1/download ]
then
loc=/tmp/usbmounts/sda1/download
loclog=/tmp/usbmounts/sda1/download
elif [ -d /tmp/usbmounts/sdb1/download ]
then
loc=/tmp/usbmounts/sdb1/download
loclog=/tmp/usbmounts/sdb1/download
elif [ -d /tmp/usbmounts/sdc1/download ]
then
loc=/tmp/usbmounts/sdc1/download
loclog=/tmp/usbmounts/sdc1/download
elif [ -d /tmp/usbmounts/sda2/download ]
then
loc=/tmp/usbmounts/sda2/download
loclog=/tmp/usbmounts/sda2/download
elif [ -d /tmp/usbmounts/sdb2/download ]
then
loc=/tmp/usbmounts/sdb2/download
loclog=/tmp/usbmounts/sdb2/download
elif [ -d /tmp/usbmounts/sdc2/download ]
then
loc=/tmp/usbmounts/sdc2/download
loclog=/tmp/usbmounts/sdc2/download
elif [ -d /tmp/hdd/volumes/HDD1 ]
then
loc=/tmp/hdd/volumes/HDD1/download
loclog=/tmp/hdd/root
else
loc=''
loclog=''
fi
mkdir $loc
cd $loc
mkdir $loclog/log
/sbin/wget --progress=dot:mega -k -bc -a $loclog/log/$NAME.log -O $NAME "$LINK" > /tmp/$NAME.pid
else
cd /tmp/usbmounts/sda$DISK
wget -bq -O $NAME $LINK
fi
| 1073s | trunk/util/download.cgi | Shell | gpl3 | 1,307 |
#!/bin/sh
cat <<EOF
Content-type: video/mp4
EOF
exec /usr/local/etc/www/cgi-bin/scripts/rtmpdump -q -v -b 60000 -W http://static.mediadirect.ro/streamrecord/new3/player.swf -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| 1073s | trunk/util/ant3.cgi | Shell | gpl3 | 218 |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /usr/local/etc/translate/bin/rtmpdump -q -v -b 60000 -W http://live.1hd.ro/jwplayer/player.swf -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| 1073s | trunk/util/swiss.cgi | Shell | gpl3 | 193 |
#!/bin/sh
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<info>"
echo "<status>"
msdlPID=$(pidof "msdl")
if test $? -eq 0
then
killall -9 pidof "msdl" >/dev/null 2>&1
echo "<movie>Movie is Stopped.</movie>"
else
echo "<movie>Movie is Stopped.</movie>"
fi
echo "</status>"
echo "</info>"
| 1073s | trunk/util/util1.cgi | Shell | gpl3 | 300 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
error_reporting(0);
exec ("rm -f /tmp/test.xml");
$file = $_GET["file"];
$file=urldecode($file);
$html=file_get_contents($file);
$ttxml ="<subtitrare>"."\n";
$last_end=0;
$videos = explode('<text', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1=explode('start="',$video);
$t2=explode('"',$t1[1]);
$b1=$t2[0];
$t1=explode('dur="',$video);
$t2=explode('"',$t1[1]);
$d1=$t2[0];
$begin=round($b1);
$end=round($b1+$d1);
$f = "/usr/local/bin/home_menu";
if (!file_exists($f)) {
if ($begin > $last_end)
{
$ttxml .="<sub>"."\n";
$ttxml .="<time1>".$last_end."</time1>"."\n";
$ttxml .="<time2>".$begin."</time2>"."\n";
$ttxml .="<line1></line1>"."\n";
$ttxml .="<line2></line2>"."\n";
$ttxml .="</sub>"."\n\n";
}
$last_end=$end;
}
$t1=explode(">",$video);
$t2=explode("<",$t1[1]);
$line=trim($t2[0]);
$line=str_replace("\n"," ",$line);
$line=str_replace("ã","a",$line);
$line=str_replace("&quot;",'"',$line);
$newtext = wordwrap($line, 44, "<br>");
$t1=explode("<br>",$newtext);
$line1=$t1[0];
$line2=$t1[1];
if ($line2=="")
{
$line2=$line1;
$line1="";
}
$ttxml .="<sub>"."\n";
$ttxml .="<time1>".$begin."</time1>"."\n";
$ttxml .="<time2>".$end."</time2>"."\n";
$ttxml .="<line1>".$line1."</line1>"."\n";
$ttxml .="<line2>".$line2."</line2>"."\n";
$ttxml .="</sub>"."\n\n";
}
$ttxml .="</subtitrare>";
$ttxml .="</subtitrare>";
$new_file = "/tmp/test.xml";
$fh = fopen($new_file, 'w');
fwrite($fh, $ttxml);
fclose($fh);
?>
| 1073s | trunk/util/google_xml.php | PHP | gpl3 | 1,827 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="50"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="50"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<!--<image offsetXPC=5 offsetYPC=2 widthPC=20 heightPC=16>
<script>channelImage;</script>
</image>-->
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
<script>channelImage;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "title");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<script>
channelImage = "/usr/local/etc/www/cgi-bin/scripts/adult/image/drtuber.png";
</script>
<channel>
<title>drtuber.com</title>
<menu>main menu</menu>
<item>
<title>Most Recent</title>
<link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?o=mr</link>
</item>
<item><title>Amateur</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=2</link></item>
<item><title>Anal</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=3</link></item>
<item><title>Asian</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=4</link></item>
<item><title>Ass</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=23</link></item>
<item><title>Babe</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=35</link></item>
<item><title>Big tits</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=32</link></item>
<item><title>Blonde</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=26</link></item>
<item><title>Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=5</link></item>
<item><title>Brunette</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=27</link></item>
<item><title>Bukkake</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=34</link></item>
<item><title>Celebrity</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=21</link></item>
<item><title>Cumshot</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=36</link></item>
<item><title>Ebony</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=6</link></item>
<item><title>Erotic</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=7</link></item>
<item><title>Fat</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=39</link></item>
<item><title>Fetish</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=18</link></item>
<item><title>Fisting</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=20</link></item>
<item><title>Gay</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=8</link></item>
<item><title>Granny</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=40</link></item>
<item><title>Group</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=29</link></item>
<item><title>Handjob</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=30</link></item>
<item><title>Hardcore</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=9</link></item>
<item><title>Hentai</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=31</link></item>
<item><title>Interracial</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=19</link></item>
<item><title>Latina</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=10</link></item>
<item><title>Lesbian</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=11</link></item>
<item><title>Masturbation</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=15</link></item>
<item><title>Mature</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=12</link></item>
<item><title>Milf</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=25</link></item>
<item><title>Outdoor</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=37</link></item>
<item><title>Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=22</link></item>
<item><title>Reality</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=38</link></item>
<item><title>Red Head</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=28</link></item>
<item><title>Shemale</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=13</link></item>
<item><title>Solo</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=16</link></item>
<item><title>Stockings</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=33</link></item>
<item><title>Strip</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=14</link></item>
<item><title>Teen</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=1</link></item>
<item><title>Toys</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=17</link></item>
<item><title>Vintage</title><link><?php echo $host; ?>/scripts/adult/php/drtuber.php?query=1,http://www.drtuber.com/videos?c=24</link></item>
</channel>
</rss>
| 1073s | trunk/adult/drtuber.php | PHP | gpl3 | 10,286 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<script>
translate_base_url = "http://127.0.0.1/cgi-bin/translate?";
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
error_info = "";
</script>
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="50"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="50"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
image/tv_radio.png
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if(userInput == "enter" || userInput == "ENTR")
{
showIdle();
focus = getFocusItemIndex();
request_title = getItemInfo(focus, "title");
request_url = getItemInfo(focus, "location");
request_options = getItemInfo(focus, "options");
stream_url = getItemInfo(focus, "stream_url");
stream_title = getItemInfo(focus, "stream_title");
stream_type = getItemInfo(focus, "stream_type");
stream_protocol = getItemInfo(focus, "stream_protocol");
stream_soft = getItemInfo(focus, "stream_soft");
stream_class = getItemInfo(focus, "stream_class");
stream_server = getItemInfo(focus, "stream_server");
stream_status_url = "";
stream_current_song = "";
stream_genre = getItemInfo(focus, "stream_genre");
stream_bitrate = getItemInfo(focus, "stream_bitrate");
if(stream_class == "" || stream_class == null)
stream_class = "unknown";
if(stream_url == "" || stream_url == null)
stream_url = request_url;
if(stream_server != "" && stream_server != null)
stream_status_url = translate_base_url + "status," + urlEncode(stream_server) + "," + urlEncode(stream_url);
if(stream_title == "" || stream_title == null)
stream_title = request_title;
if(stream_url != "" && stream_url != null)
{
if(stream_protocol == "file" || (stream_protocol == "http" && stream_soft != "shoutcast"))
{
url = stream_url;
}
else
{
if(stream_type != null && stream_type != "")
{
request_options = "Content-type:"+stream_type+";"+request_options;
}
url = translate_base_url + "stream," + request_options + "," + urlEncode(stream_url);
}
executeScript(stream_class+"Dispatcher");
}
cancelIdle();
ret = "true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<item_template>
<mediaDisplay name="threePartsView">
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
</mediaDisplay>
</item_template>
<videoDispatcher>
streamArray = null;
streamArray = pushBackStringArray(streamArray, request_url);
streamArray = pushBackStringArray(streamArray, request_options);
streamArray = pushBackStringArray(streamArray, stream_url);
streamArray = pushBackStringArray(streamArray, url);
streamArray = pushBackStringArray(streamArray, stream_type);
streamArray = pushBackStringArray(streamArray, stream_title);
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file://../etc/translate/rss/xspf/videoRenderer.rss");
</videoDispatcher>
<unknownDispatcher>
info_url = translate_base_url + "info," + request_options + "," + urlEncode(request_url);
error_info = "";
res = loadXMLFile(info_url);
if (res != null)
{
error = getXMLElementCount("info","error");
if(error != 0)
{
value = getXMLText("info","error");
if(value != null)
{
error_info = value;
}
}
else
{
value = getXMLAttribute("info","stream","url");
if(value != null)
stream_url = value;
value = getXMLAttribute("info","stream","type");
if(value != null)
stream_type = value;
value = getXMLAttribute("info","stream","class");
if(value != null)
stream_class = value;
value = getXMLAttribute("info","stream","protocol");
if(value != null)
stream_protocol = value;
value = getXMLAttribute("info","stream","server");
if(value != null)
stream_soft = value;
stream_status_url = "";
value = getXMLAttribute("info","stream","server_url");
if(value != null)
{
stream_server_url = value;
if((stream_soft == "icecast" || stream_soft == "shoutcast") && stream_server_url!="")
{
stream_status_url = translate_base_url+"status,"+urlEncode(stream_server_url)+","+urlEncode(stream_url);
}
}
value = getXMLText("info","status","stream-title");
if(value != null)
stream_title = value;
stream_current_song = "";
value = getXMLText("info","status","current-song");
if(value != null)
stream_current_song = value;
value = getXMLText("info","status","stream-genre");
if(value != null)
stream_genre = value;
value = getXMLText("info","status","stream-bitrate");
if(value != null)
stream_bitrate = value;
options = "";
if(stream_type != "")
options = "Content-type:"+stream_type;
if(options == "")
options = stream_options;
else
options = options + ";" + stream_options;
stream_translate_url = translate_base_url + "stream," + options + "," + urlEncode(stream_url);
url = null;
if(stream_class == "video" || stream_class == "audio")
{
if(stream_protocol == "file" || (stream_protocol == "http" && stream_soft != "shoutcast"))
url = stream_url;
else
url = stream_translate_url;
}
else
{
url = stream_url;
}
if(url != null)
{
if(stream_class == "audio" || stream_class == "video" || stream_class == "playlist" || stream_class == "rss")
{
executeScript(stream_class+"Dispatcher");
}
else
{
error_info = "Unsupported media type: " + stream_type;
}
}
else
{
error_info = "Empty stream url!";
}
}
}
else
{
error_info = "CGI translate module failed!";
}
print("error_info=",error_info);
</unknownDispatcher>
<channel>
<title>Porn TV</title>
<item>
<title>Fat Porn TV</title>
<ext>porn</ext>
<location>mms://stream.myeasytv.com:30020/</location>
<stream_url>mms://stream.myeasytv.com:30020/</stream_url>
<protocol>video</protocol>
</item>
<item>
<title>Solo Girls Porn TV</title>
<ext>porn</ext>
<location>mms://stream.myeasytv.com:30050/</location>
<stream_url>mms://stream.myeasytv.com:30050/</stream_url>
<protocol>video</protocol>
</item>
<item>
<title>Couples Porn TV</title>
<ext>porn</ext>
<location>mms://stream.myeasytv.com:30010/</location>
<stream_url>mms://stream.myeasytv.com:30010/</stream_url>
<protocol>video</protocol>
</item>
<item>
<title>Lesbian Porn TV</title>
<ext>porn</ext>
<location>mms://stream.myeasytv.com:30040/</location>
<stream_url>mms://stream.myeasytv.com:30040/</stream_url>
<protocol>video</protocol>
</item>
<item>
<title>Amateur Porn TV</title>
<ext>porn</ext>
<location>mms://stream.myeasytv.com:30000/</location>
<stream_url>mms://stream.myeasytv.com:30000/</stream_url>
<protocol>video</protocol>
</item>
<item>
<title>Hentai Porn TV</title>
<ext>porn</ext>
<location>mms://stream.myeasytv.com:30060/</location>
<stream_url>mms://stream.myeasytv.com:30060/</stream_url>
<protocol>video</protocol>
</item>
<item>
<title>Fetish Porn TV</title>
<ext>porn</ext>
<location>mms://stream.myeasytv.com:30030/</location>
<stream_url>mms://stream.myeasytv.com:30030/</stream_url>
<protocol>video</protocol>
</item>
</channel>
</rss>
| 1073s | trunk/adult/porn_tv.php | PHP | gpl3 | 11,872 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="50"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="50"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<!--<image offsetXPC=5 offsetYPC=2 widthPC=20 heightPC=16>
<script>channelImage;</script>
</image>-->
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
<script>channelImage;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "title");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<script>
channelImage = "/usr/local/etc/www/cgi-bin/scripts/adult/image/pornrabbit.gif";
</script>
<channel>
<title>pornrabbit.com</title>
<menu>main menu</menu>
<item>
<title>Most Recent</title>
<link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/page</link>
</item>
<item><title>Amateur</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/amateur/page</link></item>
<item><title>Anal</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/anal/page</link></item>
<item><title>Asian</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/asian/page</link></item>
<item><title>Ass</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/ass/page</link></item>
<item><title>Babe</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/babe/page</link></item>
<item><title>Big tits</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/big_tits/page</link></item>
<item><title>Blonde</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/blonde/page</link></item>
<item><title>Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/blowjob/page</link></item>
<item><title>Brunette</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/brunette/page</link></item>
<item><title>Creampie</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/creampie/page</link></item>
<item><title>Cumshot</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/cumshot/page</link></item>
<item><title>Ebony</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/ebony/page</link></item>
<item><title>Fetish</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/fetish/page</link></item>
<item><title>Group</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/group/page</link></item>
<item><title>Handjob</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/handjob/page</link></item>
<item><title>Hardcore</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/hardcore/page</link></item>
<item><title>Interracial</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/interracial/page</link></item>
<item><title>Large girls</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/large_girls/page</link></item>
<item><title>Latina</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/latina/page</link></item>
<item><title>Lesbian</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/lesbian/page</link></item>
<item><title>Masturbation</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/masturbation/page</link></item>
<item><title>Mature</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/mature/page</link></item>
<item><title>Milf</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/milf/page</link></item>
<item><title>Teen</title><link><?php echo $host; ?>/scripts/adult/php/pornrabbit.php?query=1,http://www.pornrabbit.com/category/teen/page</link></item>
</channel>
</rss>
| 1073s | trunk/adult/pornrabbit.php | PHP | gpl3 | 8,420 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="50"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="50"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<!--<image offsetXPC=5 offsetYPC=2 widthPC=20 heightPC=16>
<script>channelImage;</script>
</image>-->
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
<script>channelImage;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "title");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<script>
channelImage = "/usr/local/etc/www/cgi-bin/scripts/adult/image/tjoob.gif";
</script>
<channel>
<title>tjoob.com</title>
<menu>main menu</menu>
<item>
<title>Most Recent</title>
<link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/videos/all/date-</link>
</item>
<item><title>Japanese</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/japanese/top-</link></item>
<item><title>Amateur</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/amateur/top-</link></item>
<item><title>Asian</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/asian/top-</link></item>
<item><title>MILF</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/MILF/top-</link></item>
<item><title>Big Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-tits/top-</link></item>
<item><title>Ebony</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ebony/top-</link></item>
<item><title>Mature</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/mature/top-</link></item>
<item><title>Teens</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/teens/top-</link></item>
<item><title>Classic Porn</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/classic-porn/top-</link></item>
<item><title>Anal</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/anal/top-</link></item>
<item><title>Mega Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/mega-tits/top-</link></item>
<item><title>Lesbian</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/lesbian/top-</link></item>
<item><title>Latina</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/latina/top-</link></item>
<item><title>Big Ass</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-ass/top-</link></item>
<item><title>Gangbang</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/gangbang/top-</link></item>
<item><title>Masturbation</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/masturbation/top-</link></item>
<item><title>POV</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/POV/top-</link></item>
<item><title>Cumshot</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cumshot/top-</link></item>
<item><title>Interracial</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/interracial/top-</link></item>
<item><title>Orgy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/orgy/top-</link></item>
<item><title>Tranny</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/tranny/top-</link></item>
<item><title>Hentai</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hentai/top-</link></item>
<item><title>Big Cock</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-cock/top-</link></item>
<item><title>Bbw</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bbw/top-</link></item>
<item><title>Handjob</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/handjob/top-</link></item>
<item><title>Doggiestyle</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/doggiestyle/top-</link></item>
<item><title>Thai</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/thai/top-</link></item>
<item><title>Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/blowjob/top-</link></item>
<item><title>Double Penetration</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/double-penetration/top-</link></item>
<item><title>Filipina</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/filipina/top-</link></item>
<item><title>Indian</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/indian/top-</link></item>
<item><title>Creampie</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/creampie/top-</link></item>
<item><title>Animated Porn</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/animated-porn/top-</link></item>
<item><title>Threesome</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/threesome/top-</link></item>
<item><title>Group Sex</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/group-sex/top-</link></item>
<item><title>Fetish</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fetish/top-</link></item>
<item><title>Deep Throat</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/deep-throat/top-</link></item>
<item><title>Bdsm</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bdsm/top-</link></item>
<item><title>Public</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/public/top-</link></item>
<item><title>Solo</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/solo/top-</link></item>
<item><title>Classic Porn</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/classic--porn/top-</link></item>
<item><title>Hardcore</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hardcore/top-</link></item>
<item><title>Blonde</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/blonde/top-</link></item>
<item><title>Facial</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/facial/top-</link></item>
<item><title>Riding Cock</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/riding-cock/top-</link></item>
<item><title>Teens.amateur</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/teens.amateur/top-</link></item>
<item><title>Anime</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/anime/top-</link></item>
<item><title>Monster Cock</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/monster-cock/top-</link></item>
<item><title>Korean</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/korean/top-</link></item>
<item><title>Big Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big--tits/top-</link></item>
<item><title>Big Black Cock</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-black-cock/top-</link></item>
<item><title>Compilation</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/compilation/top-</link></item>
<item><title>Petite</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/petite/top-</link></item>
<item><title>Bondage</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bondage/top-</link></item>
<item><title>Bukkake</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bukkake/top-</link></item>
<item><title>Squirting</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/squirting/top-</link></item>
<item><title>Behind The Scenes</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/behind-the-scenes/top-</link></item>
<item><title>Redhead</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/redhead/top-</link></item>
<item><title>Brunette</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/brunette/top-</link></item>
<item><title>Celebrity</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/celebrity/top-</link></item>
<item><title>Tease</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/tease/top-</link></item>
<item><title>Titty Fuck</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/titty-fuck/top-</link></item>
<item><title>Party</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/party/top-</link></item>
<item><title>Hidden Cam</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hidden-cam/top-</link></item>
<item><title>Pissing</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pissing/top-</link></item>
<item><title>Foreplay</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/foreplay/top-</link></item>
<item><title>Solo Tease</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/solo-tease/top-</link></item>
<item><title>Classic</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/classic/top-</link></item>
<item><title>Stockings</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/stockings/top-</link></item>
<item><title>Strap On</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/strap-on/top-</link></item>
<item><title>Big Round Ass</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-round-ass/top-</link></item>
<item><title>Animation</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/animation/top-</link></item>
<item><title>Oiled Up</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/oiled-up/top-</link></item>
<item><title>Femdom</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/femdom/top-</link></item>
<item><title>Ass Licking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ass-licking/top-</link></item>
<item><title>Teen</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/teen/top-</link></item>
<item><title>Arabian</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/arabian/top-</link></item>
<item><title>Pussy Licking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pussy-licking/top-</link></item>
<item><title>Nurse</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/nurse/top-</link></item>
<item><title>Webcam</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/webcam/top-</link></item>
<item><title>Reality Porn</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/reality-porn/top-</link></item>
<item><title>Dildo</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/dildo/top-</link></item>
<item><title>Natural Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/natural-tits/top-</link></item>
<item><title>Fisting</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fisting/top-</link></item>
<item><title>Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fucking/top-</link></item>
<item><title>Pregnant</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pregnant/top-</link></item>
<item><title>Threesome Mff</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/threesome-mff/top-</link></item>
<item><title>School</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/school/top-</link></item>
<item><title>Massage</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/massage/top-</link></item>
<item><title>Gang Bang</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/gang-bang/top-</link></item>
<item><title>Weird</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/weird/top-</link></item>
<item><title>Voyeur</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/voyeur/top-</link></item>
<item><title>Beach</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/beach/top-</link></item>
<item><title>Drunk</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/drunk/top-</link></item>
<item><title>Wtf</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/wtf/top-</link></item>
<item><title>Ass</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ass/top-</link></item>
<item><title>Feet</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/feet/top-</link></item>
<item><title>Brazilian</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/brazilian/top-</link></item>
<item><title>Orgasm</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/orgasm/top-</link></item>
<item><title>Group</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/group/top-</link></item>
<item><title>Hairy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hairy/top-</link></item>
<item><title>Hardcore Riding</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hardcore-riding/top-</link></item>
<item><title>Small Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/small-tits/top-</link></item>
<item><title>Amateur Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/amateur-fucking/top-</link></item>
<item><title>Abuse</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/abuse/top-</link></item>
<item><title>Lingerie</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/lingerie/top-</link></item>
<item><title>Outdoors</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/outdoors/top-</link></item>
<item><title>Glasses</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/glasses/top-</link></item>
<item><title>Sybian</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/sybian/top-</link></item>
<item><title>Hardcore Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hardcore-blowjob/top-</link></item>
<item><title>Lesbian Threesome</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/lesbian-threesome/top-</link></item>
<item><title>Black Girl White Guy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-girl-white-guy/top-</link></item>
<item><title>Office</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/office/top-</link></item>
<item><title>Chinese</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/chinese/top-</link></item>
<item><title>Doctor</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/doctor/top-</link></item>
<item><title>Footjob</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/footjob/top-</link></item>
<item><title>Shower</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/shower/top-</link></item>
<item><title>Strip</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/strip/top-</link></item>
<item><title>Strip Tease</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/strip-tease/top-</link></item>
<item><title>MMF</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/MMF/top-</link></item>
<item><title>Huge!</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/huge!/top-</link></item>
<item><title>Masturbating</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/masturbating/top-</link></item>
<item><title>Chubby</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/chubby/top-</link></item>
<item><title>Glory Hole</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/glory-hole/top-</link></item>
<item><title>Interview</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/interview/top-</link></item>
<item><title>Round Ass</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/Round-Ass/top-</link></item>
<item><title>Hot Babe</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hot-babe/top-</link></item>
<item><title>Vietnamese</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/vietnamese/top-</link></item>
<item><title>Rimming</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/rimming/top-</link></item>
<item><title>Big</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big/top-</link></item>
<item><title>Red Head</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/red-head/top-</link></item>
<item><title>Panties</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/panties/top-</link></item>
<item><title>Indonesian</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/indonesian/top-</link></item>
<item><title>Extreme</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/extreme/top-</link></item>
<item><title>Gagging</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/gagging/top-</link></item>
<item><title>Twins!</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/twins!/top-</link></item>
<item><title>Black Cock White Chick</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-cock-white-chick/top-</link></item>
<item><title>Mother And Daughter</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/mother-and-daughter/top-</link></item>
<item><title>Interracial]</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/interracial]/top-</link></item>
<item><title>Babe</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/babe/top-</link></item>
<item><title>Nice Ass</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/nice-ass/top-</link></item>
<item><title>Small</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/small/top-</link></item>
<item><title>Bikini</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bikini/top-</link></item>
<item><title>Teacher</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/teacher/top-</link></item>
<item><title>Pigtails</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pigtails/top-</link></item>
<item><title>Cougar</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cougar/top-</link></item>
<item><title>Deepthroat</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/deepthroat/top-</link></item>
<item><title>Heels</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/heels/top-</link></item>
<item><title>Latex</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/latex/top-</link></item>
<item><title>Riding</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/riding/top-</link></item>
<item><title>Softcore</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/softcore/top-</link></item>
<item><title>Dancing</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/dancing/top-</link></item>
<item><title>Pinay</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pinay/top-</link></item>
<item><title>Anal Pov</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/anal-pov/top-</link></item>
<item><title>Vibrator</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/vibrator/top-</link></item>
<item><title>Schoolgirl</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/schoolgirl/top-</link></item>
<item><title>Twins</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/twins/top-</link></item>
<item><title>Threesome Mmf</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/threesome-mmf/top-</link></item>
<item><title>Young</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/young/top-</link></item>
<item><title>Upskirt</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/upskirt/top-</link></item>
<item><title>Black Stockings</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-stockings/top-</link></item>
<item><title>Fat</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fat/top-</link></item>
<item><title>Outdoor</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/outdoor/top-</link></item>
<item><title>Busty</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/busty/top-</link></item>
<item><title>Drinking Cum</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/drinking-cum/top-</link></item>
<item><title>Extreme Penetration</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/extreme-penetration/top-</link></item>
<item><title>Older Woman Younger Man</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/older-woman-younger-man/top-</link></item>
<item><title>Doggy Style</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/doggy--style/top-</link></item>
<item><title>Ass Eating</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ass-eating/top-</link></item>
<item><title>Girl On Girl</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/girl-on-girl/top-</link></item>
<item><title>Natural</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/natural/top-</link></item>
<item><title>Secretary</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/secretary/top-</link></item>
<item><title>Humiliation</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/humiliation/top-</link></item>
<item><title>Golden Shower</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/golden-shower/top-</link></item>
<item><title>Huge Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/huge-tits/top-</link></item>
<item><title>Maid</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/maid/top-</link></item>
<item><title>FFM</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/FFM/top-</link></item>
<item><title>Midget</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/midget/top-</link></item>
<item><title>Car</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/car/top-</link></item>
<item><title>Cum Swapping</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cum-swapping/top-</link></item>
<item><title>Cgi</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cgi/top-</link></item>
<item><title>Outtakes</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/outtakes/top-</link></item>
<item><title>Swallowing Cum</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/swallowing-cum/top-</link></item>
<item><title>Feature</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/feature/top-</link></item>
<item><title> Ass Licking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/-ass-licking/top-</link></item>
<item><title>Russian</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/russian/top-</link></item>
<item><title>Wet</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/wet/top-</link></item>
<item><title>Lesbians</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/lesbians/top-</link></item>
<item><title>Huge Melons</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/huge-melons/top-</link></item>
<item><title>Big Boobs</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-boobs/top-</link></item>
<item><title>Babysitter</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/babysitter/top-</link></item>
<item><title>Stripping</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/stripping/top-</link></item>
<item><title>Lactating</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/lactating/top-</link></item>
<item><title>Old Geezer</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/old-geezer/top-</link></item>
<item><title>Doggy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/doggy/top-</link></item>
<item><title>Squirt</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/squirt/top-</link></item>
<item><title>Granny</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/granny/top-</link></item>
<item><title>Black Cock</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-cock/top-</link></item>
<item><title>Housewife</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/housewife/top-</link></item>
<item><title>Interracial Hardcore</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/interracial-hardcore/top-</link></item>
<item><title>Arab</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/arab/top-</link></item>
<item><title>Pantyhose</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pantyhose/top-</link></item>
<item><title>Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/tits/top-</link></item>
<item><title>Anal Dildo</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/anal-dildo/top-</link></item>
<item><title>Strap</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/strap/top-</link></item>
<item><title>Tit Fuck</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/tit-fuck/top-</link></item>
<item><title>Spanking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/spanking/top-</link></item>
<item><title>Lbfm</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/lbfm/top-</link></item>
<item><title>Skirt</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/skirt/top-</link></item>
<item><title>Transexual</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/transexual/top-</link></item>
<item><title>Stripper</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/stripper/top-</link></item>
<item><title>Male Stripper</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/male-stripper/top-</link></item>
<item><title>Toys</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/toys/top-</link></item>
<item><title>Bangbus</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bangbus/top-</link></item>
<item><title>Weird Position</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/weird-position/top-</link></item>
<item><title>Bubble Butt</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bubble-butt/top-</link></item>
<item><title>Big Natural Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-natural-tits/top-</link></item>
<item><title>Violated</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/violated/top-</link></item>
<item><title>Pool</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pool/top-</link></item>
<item><title>Pornstar Legend</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pornstar-legend/top-</link></item>
<item><title>College</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/college/top-</link></item>
<item><title>Muscular Chick</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/muscular-chick/top-</link></item>
<item><title>Licking Ass</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/licking-ass/top-</link></item>
<item><title>Atm</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/atm/top-</link></item>
<item><title>Centerfold</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/centerfold/top-</link></item>
<item><title>Italian</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/italian/top-</link></item>
<item><title>Gaping Pussy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/gaping-pussy/top-</link></item>
<item><title>Asshole</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/asshole/top-</link></item>
<item><title>Bbc</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bbc/top-</link></item>
<item><title>Kissing</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/kissing/top-</link></item>
<item><title>Black Couple</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-couple/top-</link></item>
<item><title>Jeans</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/jeans/top-</link></item>
<item><title>Fishnet Stockings</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fishnet-stockings/top-</link></item>
<item><title>Gay</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/gay/top-</link></item>
<item><title>Big Nipples</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-nipples/top-</link></item>
<item><title>Cheerleader</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cheerleader/top-</link></item>
<item><title>In The Vip</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/in-the-vip/top-</link></item>
<item><title>Gym</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/gym/top-</link></item>
<item><title>Booty</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/booty/top-</link></item>
<item><title>Fingering Pussy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fingering-pussy/top-</link></item>
<item><title>Ass Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ass-fucking/top-</link></item>
<item><title>Flexible</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/flexible/top-</link></item>
<item><title>Cum On Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cum-on-tits/top-</link></item>
<item><title>Rough Sex</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/rough-sex/top-</link></item>
<item><title>Reverse Cowgirl</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/reverse-cowgirl/top-</link></item>
<item><title>School Girl</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/school-girl/top-</link></item>
<item><title>Boots</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/boots/top-</link></item>
<item><title>Cum In Her Mouth</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cum-in-her-mouth/top-</link></item>
<item><title>Public Sex</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/public-sex/top-</link></item>
<item><title>Doggy Style</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/doggy-style/top-</link></item>
<item><title>Mmmf</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/mmmf/top-</link></item>
<item><title>Cowgirl</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cowgirl/top-</link></item>
<item><title>Young Babe</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/young-babe/top-</link></item>
<item><title>White Stockings</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/white-stockings/top-</link></item>
<item><title>Cream Pie</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cream-pie/top-</link></item>
<item><title>Ladyboy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ladyboy/top-</link></item>
<item><title>Fishnet</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fishnet/top-</link></item>
<item><title>Husband Watches</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/husband-watches/top-</link></item>
<item><title>Amateur Couple</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/amateur-couple/top-</link></item>
<item><title>Double Sided Dildo</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/double-sided-dildo/top-</link></item>
<item><title>Anal Abuse</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/anal-abuse/top-</link></item>
<item><title>Cumshot Collection</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cumshot-collection/top-</link></item>
<item><title>Student</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/student/top-</link></item>
<item><title>Japanaese</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/japanaese/top-</link></item>
<item><title>Fingering</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fingering/top-</link></item>
<item><title>Doggystyle</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/doggystyle/top-</link></item>
<item><title>Yes Daddy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/yes-daddy/top-</link></item>
<item><title>Cheating Wife</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cheating-wife/top-</link></item>
<item><title>Black Chick White Cock</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-chick-white-cock/top-</link></item>
<item><title>Hand Job</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hand-job/top-</link></item>
<item><title>Posing</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/posing/top-</link></item>
<item><title>Melons</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/melons/top-</link></item>
<item><title>Muscular</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/muscular/top-</link></item>
<item><title>Japanese Babe</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/japanese-babe/top-</link></item>
<item><title>Machine</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/machine/top-</link></item>
<item><title>Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pornstar/top-</link></item>
<item><title>Bathroom</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bathroom/top-</link></item>
<item><title>Enormous Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/enormous-tits/top-</link></item>
<item><title>Vintage</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/vintage/top-</link></item>
<item><title>Schoolgirls</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/schoolgirls/top-</link></item>
<item><title>Uniform</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/uniform/top-</link></item>
<item><title>Double Anal</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/double-anal/top-</link></item>
<item><title>Lesbian Orgy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/lesbian-orgy/top-</link></item>
<item><title>Tattoo</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/tattoo/top-</link></item>
<item><title>Cleavage</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cleavage/top-</link></item>
<item><title>Big Tits Spill Out Swimsuit</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-tits-spill-out-swimsuit/top-</link></item>
<item><title>Swallow</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/Swallow/top-</link></item>
<item><title>Amateurs</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/amateurs/top-</link></item>
<item><title>Transsexual</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/transsexual/top-</link></item>
<item><title>Hands To Heels</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hands-to-heels/top-</link></item>
<item><title>School Teacher</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/school-teacher/top-</link></item>
<item><title>Face Sitting</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/face-sitting/top-</link></item>
<item><title>Blindfold</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/blindfold/top-</link></item>
<item><title>Abducted</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/abducted/top-</link></item>
<item><title>Strap On Dildo</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/strap-on-dildo/top-</link></item>
<item><title>Smoking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/smoking/top-</link></item>
<item><title>Huge Cock</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/huge-cock/top-</link></item>
<item><title>Butt</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/butt/top-</link></item>
<item><title>Bathtub</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bathtub/top-</link></item>
<item><title>Milking Mammaries</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/milking-mammaries/top-</link></item>
<item><title>Big Booty</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-booty/top-</link></item>
<item><title>Pov Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pov-fucking/top-</link></item>
<item><title>British</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/british/top-</link></item>
<item><title>Egyptian Porn</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/egyptian-porn/top-</link></item>
<item><title>Cum Swallowing</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cum-swallowing/top-</link></item>
<item><title>Arabic</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/arabic/top-</link></item>
<item><title>Squiritng</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/squiritng/top-</link></item>
<item><title>Gloryhole</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/gloryhole/top-</link></item>
<item><title>Latex Boots</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/latex-boots/top-</link></item>
<item><title>Bus</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bus/top-</link></item>
<item><title>Cameltoe</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cameltoe/top-</link></item>
<item><title>Photo Shoot</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/photo-shoot/top-</link></item>
<item><title>Home Made</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/home-made/top-</link></item>
<item><title>Hairy Pussy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hairy-pussy/top-</link></item>
<item><title>Banana Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/banana-tits/top-</link></item>
<item><title>Ass Parade</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/Ass-Parade/top-</link></item>
<item><title>Ass Violated</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ass-violated/top-</link></item>
<item><title>Leather</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/leather/top-</link></item>
<item><title>Cute Teen</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cute-teen/top-</link></item>
<item><title>Ass To Mouth</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ass-to-mouth/top-</link></item>
<item><title>Double Vaginal</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/double-vaginal/top-</link></item>
<item><title>Screaming</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/screaming/top-</link></item>
<item><title>Drugged</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/drugged/top-</link></item>
<item><title>Petite Body</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/petite-body/top-</link></item>
<item><title>Peeing</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/peeing/top-</link></item>
<item><title>Miniskirt</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/miniskirt/top-</link></item>
<item><title>Shemale</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/shemale/top-</link></item>
<item><title>Extreme Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/extreme-fucking/top-</link></item>
<item><title>College Girl</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/college-girl/top-</link></item>
<item><title>Jeans Skirt</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/jeans-skirt/top-</link></item>
<item><title>Horny Wife</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/horny-wife/top-</link></item>
<item><title>Turkish</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/turkish/top-</link></item>
<item><title>Huge Cumshot</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/huge-cumshot/top-</link></item>
<item><title>Muff</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/muff/top-</link></item>
<item><title>Hooker</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hooker/top-</link></item>
<item><title>Cum Shot</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cum-shot/top-</link></item>
<item><title>Pornstars</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pornstars/top-</link></item>
<item><title>Adultery</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/adultery/top-</link></item>
<item><title>Do Not Try At Home</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/do-not-try-at-home/top-</link></item>
<item><title>Balls</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/balls/top-</link></item>
<item><title>Old Porn</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/old-porn/top-</link></item>
<item><title>Groupsex</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/groupsex/top-</link></item>
<item><title>Cartoon</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cartoon/top-</link></item>
<item><title>Bodybuilder</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bodybuilder/top-</link></item>
<item><title>Argentina</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/argentina/top-</link></item>
<item><title>Cum Covered Face</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cum-covered-face/top-</link></item>
<item><title>Creampies</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/Creampies/top-</link></item>
<item><title>Squirters</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/squirters/top-</link></item>
<item><title>Big Motherfucker</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-motherfucker/top-</link></item>
<item><title>Teeen</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/teeen/top-</link></item>
<item><title>Money Talks</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/money-talks/top-</link></item>
<item><title>Vintage Porn</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/vintage-porn/top-</link></item>
<item><title>Orgy In Club</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/orgy-in-club/top-</link></item>
<item><title>Lap Dance</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/lap-dance/top-</link></item>
<item><title>Blow Job Deep Throat</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/blow-job-deep-throat/top-</link></item>
<item><title>Indian Sex</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/indian-sex/top-</link></item>
<item><title>Public Orgy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/public-orgy/top-</link></item>
<item><title>Banana</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/banana/top-</link></item>
<item><title>5 Chicks 1 Dick</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/5-chicks-1-dick/top-</link></item>
<item><title>Gang Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/gang-blowjob/top-</link></item>
<item><title>Asain</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/asain/top-</link></item>
<item><title>Amputee</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/amputee/top-</link></item>
<item><title>Montster Cock</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/montster-cock/top-</link></item>
<item><title>Double Anal Penetration</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/double-anal-penetration/top-</link></item>
<item><title>Face Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/face-fucking/top-</link></item>
<item><title>Skinny</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/skinny/top-</link></item>
<item><title>Sagging Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/sagging-tits/top-</link></item>
<item><title>Anal Piledriver</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/anal-piledriver/top-</link></item>
<item><title>Big Butt</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-butt/top-</link></item>
<item><title>Doggy Style Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/doggy-style-fucking/top-</link></item>
<item><title>Asian Hooker</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/asian-hooker/top-</link></item>
<item><title>Mongolian</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/mongolian/top-</link></item>
<item><title>Massive Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/massive-tits/top-</link></item>
<item><title>Old Fart</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/old-fart/top-</link></item>
<item><title>Big Nipple</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-nipple/top-</link></item>
<item><title>Machines</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/machines/top-</link></item>
<item><title>Old Dude</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/old-dude/top-</link></item>
<item><title>Cosplay</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cosplay/top-</link></item>
<item><title>Argentinian</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/argentinian/top-</link></item>
<item><title>Tugjob</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/tugjob/top-</link></item>
<item><title>Anime Sex</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/anime-sex/top-</link></item>
<item><title>Bouncing Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bouncing-tits/top-</link></item>
<item><title>Homemade</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/homemade/top-</link></item>
<item><title>Gets Orgasm</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/gets-orgasm/top-</link></item>
<item><title>Rimjob</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/rimjob/top-</link></item>
<item><title>Whore</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/whore/top-</link></item>
<item><title>Dancing Bear</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/dancing-bear/top-</link></item>
<item><title>Condom</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/condom/top-</link></item>
<item><title>Awesome Ass</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/awesome-ass/top-</link></item>
<item><title>Big Fat Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-fat-tits/top-</link></item>
<item><title>Squirtting</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/squirtting/top-</link></item>
<item><title>Acrobatic</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/acrobatic/top-</link></item>
<item><title>Fake Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fake-tits/top-</link></item>
<item><title>Doctors Examination</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/doctors-examination/top-</link></item>
<item><title>Private Party</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/private-party/top-</link></item>
<item><title>Big Dick</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-dick/top-</link></item>
<item><title>Caught On Camera</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/caught-on-camera/top-</link></item>
<item><title>Young Blonde Babe</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/young-blonde-babe/top-</link></item>
<item><title>Black Couple Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-couple-fucking/top-</link></item>
<item><title>Small Asshole</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/small-asshole/top-</link></item>
<item><title>Asian Chick</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/asian-chick/top-</link></item>
<item><title>Asians</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/asians/top-</link></item>
<item><title>Fucked Hard</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fucked-hard/top-</link></item>
<item><title>Deep Thraot</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/deep-thraot/top-</link></item>
<item><title>Fffm</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fffm/top-</link></item>
<item><title>Hotel</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hotel/top-</link></item>
<item><title>Porn Superstar</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/porn-superstar/top-</link></item>
<item><title>Boss</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/boss/top-</link></item>
<item><title>Strapon</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/strapon/top-</link></item>
<item><title>Slow Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/slow-blowjob/top-</link></item>
<item><title>Dominatrix</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/dominatrix/top-</link></item>
<item><title>Some Sick Shit</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/some-sick-shit/top-</link></item>
<item><title>Striptease</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/striptease/top-</link></item>
<item><title>Anal Fuck</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/anal-fuck/top-</link></item>
<item><title>Old Guy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/old-guy/top-</link></item>
<item><title>Military</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/military/top-</link></item>
<item><title>Ass Backwards</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ass-backwards/top-</link></item>
<item><title>Virtual Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/virtual-fucking/top-</link></item>
<item><title>Bargirl</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bargirl/top-</link></item>
<item><title>Anal Pumping</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/anal-pumping/top-</link></item>
<item><title>Ebony Redhead</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ebony-redhead/top-</link></item>
<item><title>Facefucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/facefucking/top-</link></item>
<item><title>Vip Room</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/vip-room/top-</link></item>
<item><title>All Natural</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/all-natural/top-</link></item>
<item><title>Boat</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/boat/top-</link></item>
<item><title>Thailand</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/thailand/top-</link></item>
<item><title>Asia</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/asia/top-</link></item>
<item><title>Bella Donna</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bella-donna/top-</link></item>
<item><title>Family</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/family/top-</link></item>
<item><title>Deep Thoat</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/deep-thoat/top-</link></item>
<item><title>Fat Chick</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fat-chick/top-</link></item>
<item><title>Public Display</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/public-display/top-</link></item>
<item><title>Amazing</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/amazing/top-</link></item>
<item><title>Acrobatic Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/acrobatic-fucking/top-</link></item>
<item><title>Wrestling Chicks</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/wrestling-chicks/top-</link></item>
<item><title>Acrobatic Sex</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/acrobatic-sex/top-</link></item>
<item><title>Acrobatic Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/acrobatic-blowjob/top-</link></item>
<item><title>Exhibition Sex</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/exhibition-sex/top-</link></item>
<item><title>Slow Fuck</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/slow-fuck/top-</link></item>
<item><title>Aerobics</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/aerobics/top-</link></item>
<item><title>Gagging On Cock</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/gagging-on-cock/top-</link></item>
<item><title>Masterbation</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/masterbation/top-</link></item>
<item><title>Angel</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/angel/top-</link></item>
<item><title>Beads</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/beads/top-</link></item>
<item><title>Foursome</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/foursome/top-</link></item>
<item><title>Big Black Dick</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-black-dick/top-</link></item>
<item><title>Black Mama</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-mama/top-</link></item>
<item><title>Mass Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/mass-fucking/top-</link></item>
<item><title>Big Cocks</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-cocks/top-</link></item>
<item><title>Anal On Top</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/anal-on-top/top-</link></item>
<item><title>Bikini Tanline</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bikini-tanline/top-</link></item>
<item><title>7 Dwarfs Come To Porn</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/7-dwarfs-come-to-porn/top-</link></item>
<item><title>Cum On Boobs</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cum-on-boobs/top-</link></item>
<item><title>Babe Gets Fucked</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/babe-gets-fucked/top-</link></item>
<item><title>Tit Fucking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/tit-fucking/top-</link></item>
<item><title>Costume Porn</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/costume-porn/top-</link></item>
<item><title>Medieval</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/medieval/top-</link></item>
<item><title>Creampie Ass</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/creampie-ass/top-</link></item>
<item><title>Anal Fingering</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/anal-fingering/top-</link></item>
<item><title>Pissing In Public</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pissing-in-public/top-</link></item>
<item><title>Cum On Ass</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cum-on-ass/top-</link></item>
<item><title>Tittyfuck</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/tittyfuck/top-</link></item>
<item><title>Pussy On Pussy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pussy-on-pussy/top-</link></item>
<item><title>Bath</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bath/top-</link></item>
<item><title>Spring Break</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/spring-break/top-</link></item>
<item><title>Black Bitch White Cock</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-bitch-white-cock/top-</link></item>
<item><title>Black Dick White Chick</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-dick-white-chick/top-</link></item>
<item><title>BlondeTight Teens</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/blondeTight-Teens/top-</link></item>
<item><title>Masurbating</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/masurbating/top-</link></item>
<item><title>Fingered In Public</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/fingered-in-public/top-</link></item>
<item><title>Bigtits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bigtits/top-</link></item>
<item><title>Big Ttis</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-ttis/top-</link></item>
<item><title>Black Booty</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-booty/top-</link></item>
<item><title>Big Fake Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/big-fake-tits/top-</link></item>
<item><title>Patient</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/patient/top-</link></item>
<item><title>Ass Then Mouth</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ass-then-mouth/top-</link></item>
<item><title>Girl Fucks Dude In The Ass</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/girl-fucks-dude-in-the-ass/top-</link></item>
<item><title>Sniper Rifle</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/sniper-rifle/top-</link></item>
<item><title>Behind The Scene</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/behind-the-scene/top-</link></item>
<item><title>Ass Munching</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ass-munching/top-</link></item>
<item><title>Black Tits</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-tits/top-</link></item>
<item><title>Classroom Fun</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/classroom-fun/top-</link></item>
<item><title>Clit Rubbing</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/clit-rubbing/top-</link></item>
<item><title>Cute Titties</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/cute-titties/top-</link></item>
<item><title>Hot Legs</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hot-legs/top-</link></item>
<item><title>Outdoor Anal</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/outdoor-anal/top-</link></item>
<item><title>Pov Cock Riding</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/pov-cock-riding/top-</link></item>
<item><title>2 Cocks In 1 Pussy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/2-cocks-in-1-pussy/top-</link></item>
<item><title>Ass Fingering</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ass-fingering/top-</link></item>
<item><title>Bike</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bike/top-</link></item>
<item><title>Bouncing Jugs</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/bouncing-jugs/top-</link></item>
<item><title>Spitting</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/spitting/top-</link></item>
<item><title>Hair Job</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hair-job/top-</link></item>
<item><title>Spread The Pussy</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/spread-the-pussy/top-</link></item>
<item><title>Asia Gets Muffed</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/asia-gets-muffed/top-</link></item>
<item><title>Black Momma Nailed</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/black-momma-nailed/top-</link></item>
<item><title>Farting Is Dangerous</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/farting-is-dangerous/top-</link></item>
<item><title>Hard Pumping</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/hard-pumping/top-</link></item>
<item><title>Talking</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/talking/top-</link></item>
<item><title>Ass Crack</title><link><?php echo $host; ?>/scripts/adult/php/tjoob.php?query=1,http://www.tjoob.com/categories/ass-crack/top-</link></item>
</channel>
</rss>
| 1073s | trunk/adult/tjoob.php | PHP | gpl3 | 82,236 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="50"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="50"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<!--<image offsetXPC=5 offsetYPC=2 widthPC=20 heightPC=16>
<script>channelImage;</script>
</image>-->
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
<script>channelImage;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "title");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<script>
channelImage = "/usr/local/etc/www/cgi-bin/scripts/adult/image/flytube.jpg";
</script>
<channel>
<title>flytube.com</title>
<menu>main menu</menu>
<item>
<title>Most Recent</title>
<link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/newest-clips/</link>
</item>
<item><title>40 Inch Ass</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/40-Inch-Ass-</link></item>
<item><title>Amateur Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Amateur-Blowjob-</link></item>
<item><title>Amateur Porn</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Amateur-Porn-</link></item>
<item><title>Anal Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Anal-Fucking-</link></item>
<item><title>Anal Ramming</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Anal-Ramming-</link></item>
<item><title>Anal Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Anal-Xxx-</link></item>
<item><title>Asian Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Asian-Babe-</link></item>
<item><title>Asian Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Asian-Pornstar-</link></item>
<item><title>Asian Pussy</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Asian-Pussy-</link></item>
<item><title>Asian Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Asian-Xxx-</link></item>
<item><title>Ass Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Ass-Fucking-</link></item>
<item><title>Ass Licking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Ass-Licking-</link></item>
<item><title>Ass Ramming</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Ass-Ramming-</link></item>
<item><title>Ass to Mouth</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Ass-to-Mouth-</link></item>
<item><title>Babe in Pigtails</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Babe-in-Pigtails-</link></item>
<item><title>Babe in Stockings</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Babe-in-Stockings-</link></item>
<item><title>Babe in Thong</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Babe-in-Thong-</link></item>
<item><title>Ball Licking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Ball-Licking-</link></item>
<item><title>Bedroom Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Bedroom-Fucking-</link></item>
<item><title>Bedroom Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Bedroom-Sex-</link></item>
<item><title>Bedroom Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Bedroom-Xxx-</link></item>
<item><title>Big Black Cock</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Big-Black-Cock-</link></item>
<item><title>Big Cock Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Big-Cock-Blowjob-</link></item>
<item><title>Big Cock Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Big-Cock-Fucking-</link></item>
<item><title>Big Cock Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Big-Cock-Sex-</link></item>
<item><title>Big Dick Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Big-Dick-Fucking-</link></item>
<item><title>Big Juicy Ass</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Big-Juicy-Ass-</link></item>
<item><title>Big Natural Tits</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Big-Natural-Tits-</link></item>
<item><title>Big Naturals</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Big-Naturals-</link></item>
<item><title>Big Round Ass</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Big-Round-Ass-</link></item>
<item><title>Black Cock Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Black-Cock-Fucking-</link></item>
<item><title>Black Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Black-Pornstar-</link></item>
<item><title>Black Stockings</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Black-Stockings-</link></item>
<item><title>Blonde Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Blonde-Babe-</link></item>
<item><title>Blonde Milf</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Blonde-Milf-</link></item>
<item><title>Blonde Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Blonde-Pornstar-</link></item>
<item><title>Blonde Teen</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Blonde-Teen-</link></item>
<item><title>Blonde Teen Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Blonde-Teen-Babe-</link></item>
<item><title>Blonde Teen Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Blonde-Teen-Pornstar-</link></item>
<item><title>Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Blowjob-</link></item>
<item><title>Brunette Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Brunette-Babe-</link></item>
<item><title>Brunette Milf</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Brunette-Milf-</link></item>
<item><title>Brunette Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Brunette-Pornstar-</link></item>
<item><title>Brunette Slut</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Brunette-Slut-</link></item>
<item><title>Brunette Teen</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Brunette-Teen-</link></item>
<item><title>Brunette Teen Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Brunette-Teen-Babe-</link></item>
<item><title>Brunette Teen Slut</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Brunette-Teen-Slut-</link></item>
<item><title>Busty Asian Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Busty-Asian-Babe-</link></item>
<item><title>Busty Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Busty-Babe-</link></item>
<item><title>Busty Milf</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Busty-Milf-</link></item>
<item><title>Busty Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Busty-Pornstar-</link></item>
<item><title>Chayse Evans</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Chayse-Evans-</link></item>
<item><title>Cheating Milf</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Cheating-Milf-</link></item>
<item><title>Cock Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Cock-Fucking-</link></item>
<item><title>Cock Jerking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Cock-Jerking-</link></item>
<item><title>Cock Riding</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Cock-Riding-</link></item>
<item><title>Cock Stroking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Cock-Stroking-</link></item>
<item><title>Cock Sucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Cock-Sucking-</link></item>
<item><title>Cock Teasing</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Cock-Teasing-</link></item>
<item><title>Creampie</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Creampie-</link></item>
<item><title>Cum Fiesta</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Cum-Fiesta-</link></item>
<item><title>Cumshot</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Cumshot-</link></item>
<item><title>Cunt Licking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Cunt-Licking-</link></item>
<item><title>Deepthroat Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Deepthroat-Blowjob-</link></item>
<item><title>Deepthroat Blowjobs</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Deepthroat-Blowjobs-</link></item>
<item><title>Deepthroat Cock Sucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Deepthroat-Cock-Sucking-</link></item>
<item><title>Deepthroat Oral</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Deepthroat-Oral-</link></item>
<item><title>Deepthroat Oral Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Deepthroat-Oral-Sex-</link></item>
<item><title>Deepthroat Sucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Deepthroat-Sucking-</link></item>
<item><title>Dick Riding</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Dick-Riding-</link></item>
<item><title>Dildo Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Dildo-Fucking-</link></item>
<item><title>Doggystyle Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Doggystyle-Fucking-</link></item>
<item><title>Doggystyle Position</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Doggystyle-Position-</link></item>
<item><title>Doggystyle Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Doggystyle-Sex-</link></item>
<item><title>Doggystyle Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Doggystyle-Xxx-</link></item>
<item><title>Double Penetration</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Double-Penetration-</link></item>
<item><title>Dripping Wet</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Dripping-Wet-</link></item>
<item><title>Dylon Nicole</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Dylon-Nicole-</link></item>
<item><title>Ebony Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Ebony-Babe-</link></item>
<item><title>Ebony Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Ebony-Pornstar-</link></item>
<item><title>Ebony Pussy</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Ebony-Pussy-</link></item>
<item><title>Ebony Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Ebony-Xxx-</link></item>
<item><title>Face Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Face-Fucking-</link></item>
<item><title>Facial</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Facial-</link></item>
<item><title>Fake Tits</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Fake-Tits-</link></item>
<item><title>Finger Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Finger-Fucking-</link></item>
<item><title>Fishnet Stockings</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Fishnet-Stockings-</link></item>
<item><title>Flower Tucci</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Flower-Tucci-</link></item>
<item><title>Free Teen Porn</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Free-Teen-Porn-</link></item>
<item><title>Fucked from Behind</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Fucked-from-Behind-</link></item>
<item><title>Full Length Porn</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Full-Length-Porn-</link></item>
<item><title>Full Length Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Full-Length-Sex-</link></item>
<item><title>Full Length Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Full-Length-Xxx-</link></item>
<item><title>Gangbang Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Gangbang-Fucking-</link></item>
<item><title>Gangbang Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Gangbang-Xxx-</link></item>
<item><title>Group Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Group-Blowjob-</link></item>
<item><title>Group Cock Sucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Group-Cock-Sucking-</link></item>
<item><title>Group Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Group-Fucking-</link></item>
<item><title>Group Sucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Group-Sucking-</link></item>
<item><title>Group Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Group-Xxx-</link></item>
<item><title>Hardcore Cock Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hardcore-Cock-Fucking-</link></item>
<item><title>Hardcore Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hardcore-Fucking-</link></item>
<item><title>Hardcore Milf Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hardcore-Milf-Sex-</link></item>
<item><title>Hardcore Porn</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hardcore-Porn-</link></item>
<item><title>Hardcore Porno</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hardcore-Porno-</link></item>
<item><title>Hardcore Pussy Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hardcore-Pussy-Fucking-</link></item>
<item><title>Hardcore Pussy Ramming</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hardcore-Pussy-Ramming-</link></item>
<item><title>Hardcore Teen Porn</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hardcore-Teen-Porn-</link></item>
<item><title>Hardcore Teen Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hardcore-Teen-Sex-</link></item>
<item><title>Hardcore Teen Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hardcore-Teen-Xxx-</link></item>
<item><title>Hardcore Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hardcore-Xxx-</link></item>
<item><title>Holly Morgan</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Holly-Morgan-</link></item>
<item><title>Horny Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Horny-Pornstar-</link></item>
<item><title>Hot Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hot-Babe-</link></item>
<item><title>Hot Blonde Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hot-Blonde-Babe-</link></item>
<item><title>Hot Blonde Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hot-Blonde-Pornstar-</link></item>
<item><title>Hot Brunette Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hot-Brunette-Babe-</link></item>
<item><title>Hot Ebony Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hot-Ebony-Pornstar-</link></item>
<item><title>Hot Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hot-Pornstar-</link></item>
<item><title>Hot Round Ass</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hot-Round-Ass-</link></item>
<item><title>Hot Teen Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hot-Teen-Babe-</link></item>
<item><title>Hot Teen Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hot-Teen-Pornstar-</link></item>
<item><title>Hot Teen Slut</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Hot-Teen-Slut-</link></item>
<item><title>Housewife Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Housewife-Sex-</link></item>
<item><title>Housewife Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Housewife-Xxx-</link></item>
<item><title>Interracial Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Interracial-Fucking-</link></item>
<item><title>Interracial Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Interracial-Xxx-</link></item>
<item><title>Jayden James</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Jayden-James-</link></item>
<item><title>Larine Lane</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Larine-Lane-</link></item>
<item><title>Latina Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Latina-Pornstar-</link></item>
<item><title>Latina Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Latina-Xxx-</link></item>
<item><title>Lesbian Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Lesbian-Xxx-</link></item>
<item><title>Lisa Ann</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Lisa-Ann-</link></item>
<item><title>Mason Jay</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Mason-Jay-</link></item>
<item><title>Masturbation</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Masturbation-</link></item>
<item><title>Mikes Apartment</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Mikes-Apartment-</link></item>
<item><title>Milf Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Milf-Babe-</link></item>
<item><title>Milf Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Milf-Blowjob-</link></item>
<item><title>Milf Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Milf-Pornstar-</link></item>
<item><title>Milf Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Milf-Sex-</link></item>
<item><title>Milf Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Milf-Xxx-</link></item>
<item><title>Money Talks</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Money-Talks-</link></item>
<item><title>Monster Curves</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Monster-Curves-</link></item>
<item><title>Natural Tits</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Natural-Tits-</link></item>
<item><title>Office Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Office-Sex-</link></item>
<item><title>Oral Action</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Oral-Action-</link></item>
<item><title>Oral Pleasing</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Oral-Pleasing-</link></item>
<item><title>Oral Pleasure</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Oral-Pleasure-</link></item>
<item><title>Oral Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Oral-Sex-</link></item>
<item><title>Oral Sex Swapping</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Oral-Sex-Swapping-</link></item>
<item><title>Oral Sucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Oral-Sucking-</link></item>
<item><title>Orgy Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Orgy-Sex-</link></item>
<item><title>Orgy Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Orgy-Xxx-</link></item>
<item><title>Outdoor Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Outdoor-Blowjob-</link></item>
<item><title>Outdoor Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Outdoor-Fucking-</link></item>
<item><title>Outdoor Lesbians</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Outdoor-Lesbians-</link></item>
<item><title>Outdoor Porn</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Outdoor-Porn-</link></item>
<item><title>Outdoor Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Outdoor-Xxx-</link></item>
<item><title>Phoenix Marie</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Phoenix-Marie-</link></item>
<item><title>Pigtails</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pigtails-</link></item>
<item><title>Poolside Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Poolside-Fucking-</link></item>
<item><title>Poolside Pussy</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Poolside-Pussy-</link></item>
<item><title>Poolside Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Poolside-Sex-</link></item>
<item><title>Porn Audition</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Porn-Audition-</link></item>
<item><title>Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pornstar-</link></item>
<item><title>Pornstar Bailey</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pornstar-Bailey-</link></item>
<item><title>Pornstar Katja</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pornstar-Katja-</link></item>
<item><title>Pornstar Kelly</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pornstar-Kelly-</link></item>
<item><title>Pornstar Michelle</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pornstar-Michelle-</link></item>
<item><title>Pornstar Roxy</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pornstar-Roxy-</link></item>
<item><title>Pornstar Tiffany</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pornstar-Tiffany-</link></item>
<item><title>Pov Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pov-Blowjob-</link></item>
<item><title>Pov Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pov-Fucking-</link></item>
<item><title>Pov Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pov-Sex-</link></item>
<item><title>Pure 18</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pure-18-</link></item>
<item><title>Pussy Fingering</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pussy-Fingering-</link></item>
<item><title>Pussy Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pussy-Fucking-</link></item>
<item><title>Pussy Licking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pussy-Licking-</link></item>
<item><title>Pussy Playing</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pussy-Playing-</link></item>
<item><title>Pussy Ramming</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pussy-Ramming-</link></item>
<item><title>Pussy Stuffing</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Pussy-Stuffing-</link></item>
<item><title>Red Head Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Red-Head-Pornstar-</link></item>
<item><title>Rimjob</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Rimjob-</link></item>
<item><title>Round Ass</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Round-Ass-</link></item>
<item><title>Round Ass Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Round-Ass-Babe-</link></item>
<item><title>Round Ass Teen</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Round-Ass-Teen-</link></item>
<item><title>Round Black Ass</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Round-Black-Ass-</link></item>
<item><title>Round Ebony Ass</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Round-Ebony-Ass-</link></item>
<item><title>Round Teen Ass</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Round-Teen-Ass-</link></item>
<item><title>Shaft Riding</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Shaft-Riding-</link></item>
<item><title>Sisters Friend</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Sisters-Friend-</link></item>
<item><title>Small Tits</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Small-Tits-</link></item>
<item><title>Socal Slut</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Socal-Slut-</link></item>
<item><title>Solo Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Solo-Babe-</link></item>
<item><title>Solo Masturbation</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Solo-Masturbation-</link></item>
<item><title>Solo Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Solo-Pornstar-</link></item>
<item><title>Solo Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Solo-Xxx-</link></item>
<item><title>Stephanie Richards</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Stephanie-Richards-</link></item>
<item><title>Stocking Fetish</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Stocking-Fetish-</link></item>
<item><title>Stripping</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Stripping-</link></item>
<item><title>Tattoo Fetish</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Tattoo-Fetish-</link></item>
<item><title>Teen Babe</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Babe-</link></item>
<item><title>Teen Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Blowjob-</link></item>
<item><title>Teen Blowjobs</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Blowjobs-</link></item>
<item><title>Teen Cock Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Cock-Fucking-</link></item>
<item><title>Teen Cock Sucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Cock-Sucking-</link></item>
<item><title>Teen Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Fucking-</link></item>
<item><title>Teen in Thong</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-in-Thong-</link></item>
<item><title>Teen Masturbation</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Masturbation-</link></item>
<item><title>Teen Oral Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Oral-Sex-</link></item>
<item><title>Teen Porn</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Porn-</link></item>
<item><title>Teen Porn Movies</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Porn-Movies-</link></item>
<item><title>Teen Pornstar</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Pornstar-</link></item>
<item><title>Teen Pussy</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Pussy-</link></item>
<item><title>Teen Rides Cock</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Rides-Cock-</link></item>
<item><title>Teen Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Teen-Xxx-</link></item>
<item><title>Threesome Blowjob</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Threesome-Blowjob-</link></item>
<item><title>Threesome Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Threesome-Fucking-</link></item>
<item><title>Threesome Porn</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Threesome-Porn-</link></item>
<item><title>Threesome Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Threesome-Sex-</link></item>
<item><title>Threesome Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Threesome-Xxx-</link></item>
<item><title>Threeway Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Threeway-Sex-</link></item>
<item><title>Threeway Xxx</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Threeway-Xxx-</link></item>
<item><title>Tight Anal Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Tight-Anal-Sex-</link></item>
<item><title>Tight Ass</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Tight-Ass-</link></item>
<item><title>Tight Pussy</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Tight-Pussy-</link></item>
<item><title>Tight Pussy Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Tight-Pussy-Fucking-</link></item>
<item><title>Tight Pussy Sex</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Tight-Pussy-Sex-</link></item>
<item><title>Tight Teen Cunt</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Tight-Teen-Cunt-</link></item>
<item><title>Tight Teen Cunts</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Tight-Teen-Cunts-</link></item>
<item><title>Tight Teen Pussy</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Tight-Teen-Pussy-</link></item>
<item><title>Titty Cumshot</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Titty-Cumshot-</link></item>
<item><title>Titty Fucking</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Titty-Fucking-</link></item>
<item><title>Toys</title><link><?php echo $host; ?>/scripts/adult/php/flytube.php?query=1,http://www.flytube.com/search/Toys-</link></item>
</channel>
</rss>
| 1073s | trunk/adult/flytube.php | PHP | gpl3 | 41,724 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>print(titlu); titlu;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=25 widthPC=30 heightPC=30>
image/adult.png
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
img = getItemInfo(idx,"image");
annotation = getItemInfo(idx, "annotation");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
titlu="";
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
ret="true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<channel>
<title>PornTV</title>
<menu>main menu</menu>
<!-- Adult -->
<item>
<title>Redlight HD</title>
<onClick>playItemUrl("http://127.0.0.1/cgi-bin/translate?stream,Rtmp-options:-W%20http://tvsector.com/mediaplayer/player.swf%20-y%20z990101.stream%20-p%20http://tvsector.com/,rtmp://s7.webport.tv/live/z990101.stream",10);</onClick>
</item>
<item>
<title>HustlerTV HD</title>
<onClick>playItemUrl("http://127.0.0.1/cgi-bin/translate?stream,Rtmp-options:-W%20http://tvsector.com/mediaplayer/player.swf%20-y%20z990102.stream%20-p%20http://tvsector.com/,rtmp://s7.webport.tv/live/z990102.stream",10);</onClick>
</item>
<item>
<title>Penthouse HD</title>
<onClick>playItemUrl("http://127.0.0.1/cgi-bin/translate?stream,Rtmp-options:-W%20http://tvsector.com/mediaplayer/player.swf%20-y%20z990103.stream%20-p%20http://tvsector.com/,rtmp://s7.webport.tv/live/z990103.stream",10);</onClick>
</item>
<item>
<title>Penthouse 2 HD</title>
<onClick>playItemUrl("http://127.0.0.1/cgi-bin/translate?stream,Rtmp-options:-W%20http://tvsector.com/mediaplayer/player.swf%20-y%20z990104.stream%20-p%20http://tvsector.com/,rtmp://s7.webport.tv/live/z990104.stream",10);</onClick>
</item>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$html = file_get_contents("http://www.pornofanatic.com/index.php");
$videos = explode('porntv.php', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('"', $video);
$link = urlencode("http://www.pornofanatic.com/porntv.php".$t1[0]);
$t2 = explode(">",$video);
$t3 = explode("<",$t2[1]);
$title=$t3[0];
if (strpos($title,"Adult TV") !==false) {
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$host.'/scripts/adult/php/pornofanatic_link.php?file='.$link.'";
movie=getUrl(url);
titlu=movie;
cancelIdle();
playItemUrl(movie,10);
</script>
</onClick>
</item>
';
}
}
?>
</channel>
</rss>
| 1073s | trunk/adult/php/pornofanatic.php | PHP | gpl3 | 6,375 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="50"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="50"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<!--<image offsetXPC=5 offsetYPC=2 widthPC=20 heightPC=16>
<script>channelImage;</script>
</image>-->
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
<script>channelImage;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "title");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<script>
channelImage = "/usr/local/etc/www/cgi-bin/scripts/adult/image/hardsextube.gif";
</script>
<channel>
<title>hardsextube.com</title>
<menu>main menu</menu>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$html = file_get_contents("http://www.hardsextube.com/categories/");
$img = "image/movies.png";
//$html = str_between($html,'<div class="catfloat"','</table>');
$videos = explode('href="', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t3 = explode(">",$video);
$t4 = explode("<",$t3[1]);
$title = trim($t4[0]);
if ((strpos($video,"?search=") !== false) && ($title <> "") && (strpos($video,"%B9") === false)) {
$link = str_replace(" ","%20",$title);
$link=$host."/scripts/adult/php/hardsextube.php?query=1,".trim(strtolower($link));
echo '
<item>
<title>'.$title.'</title>
<link>'.$link.'</link>
</item>';
}
}
?>
</channel>
</rss>
| 1073s | trunk/adult/php/hardsextube_main.php | PHP | gpl3 | 5,435 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
//http://88.208.24.199/key=HguE3Mr6VdY,end=1323796582/data=1314962759/buffer=450K/speed=83200/reftag=392380/4/xh/101778_Anja_Laval_and_Tyra_Misoux_lesbians_in_the_office_M22.flv
//http://88.208.24.199/key=npZZy9gmjSc,end=1323796582/data=1314962759/speed=83200/101778_Anja_Laval_and_Tyra_Misoux_lesbians_in_the_office_M22.flv
$link = $_GET["file"];
$html = file_get_contents($link);
$link = str_between($html, "file': '", "'");
$link="http://88.208.24.199/key=".$link;
print $link;
?>
| 1073s | trunk/adult/php/xhamster_link.php | PHP | gpl3 | 764 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = str_between($html, "flashvars.videoUrl = '", "'");
if ($link <> "") {
print $link;
}
if($link=="") {
$link = str_between($html, "flashvars.video_url = '", "'");
$link = urldecode($link);
print $link;
}
if ($link == "") {
$link=str_between($html,'video_url=','&');
$link = urldecode($link);
print $link;
}
?>
| 1073s | trunk/adult/php/extremetube_link.php | PHP | gpl3 | 657 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents("http://www.tjoob.com/emb.php?id=".$link);
$h1 = str_between($html,"config.stream{","}");
$url = trim(str_between($h1,"URL:",";"));
$filekey = trim(str_between($h1,"fileKey:",";"));
$h2 = str_between($html,"config.content{","}");
$video = trim(str_between($h2,"video:",";"));
$link = $url.$filekey.$video;
print $link;
?>
| 1073s | trunk/adult/php/tjoob_link.php | PHP | gpl3 | 680 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = urldecode(str_between($html, 'file:"', '"'));
if ($link=="") {
$link=str_between($html,'"settings=','"');
$html = file_get_contents($link);
$link = str_between($html,"defaultVideo:",";");
}
print $link;
?>
| 1073s | trunk/adult/php/myjizztube_link.php | PHP | gpl3 | 580 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
storagePath_playlist = storagePath + "playlist.dat";
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Press 2 for download, 3 for download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "14"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>youporn.com</title>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
$search = str_replace(" ","%20",$search);
}
$html = file_get_contents($search."?page=".$page);
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Previous Page</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('li class="videoBox"', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1=explode('href="',$video);
$t2 = explode('"', $t1[1]);
$link = "http://www.youporn.com".$t2[0];
$t3=explode(">",$t1[2]);
$t4=explode("<",$t3[1]);
$title=$t4[0];
$link = $host."/scripts/adult/php/youporn_link.php?file=".$link;
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$data = trim(str_between($video,'"duration">','<'));
$data = preg_replace("/(<\/?)(\w+)([^>]*>)/e","",$data);
$data = "Duration: ".$data;
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Next Page</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/youporn.php | PHP | gpl3 | 8,119 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = str_between($html, 'encodeURIComponentSub("', '"');
$html = file_get_contents($link);
$link1 = str_between($html, "<url>", "</url>");
$link1=str_replace("&","&",$link1);
print $link1;
?>
| 1073s | trunk/adult/php/spankwire_link.php | PHP | gpl3 | 536 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<channel>
<title>drtuber</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
$html = file_get_contents($search."&page=".$page);
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<a class="vid_link"', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('href="', $video);
$t2 = explode('"', $t1[1]);
$link = "http://www.drtuber.com".$t2[0];
///http://www.drtuber.com/media/player/config.php?vkey=22fb550c941db690b7d2
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('title="', $video);
$t2 = explode('"', $t1[1]);
$title = htmlspecialchars_decode($t2[0]);
$link = $host.'/scripts/adult/php/drtuber_link.php?file='.$link;
$data = "Durata: ".trim(str_between($video,'<span class="vi_right">',"<"));
echo '
<item>
<title>'.$title.'</title>
<link>'.$link.'</link>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/drtuber.php | PHP | gpl3 | 6,391 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = str_between($html, 'flvpathValue: "', '"');
$link = str_replace("_@?_nva","&nva",$link);
$link = str_replace("_@?_hash","&hash",$link);
print $link;
?>
| 1073s | trunk/adult/php/hardsextube_link.php | PHP | gpl3 | 507 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>www.pornrabbit.com</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
if($page) {
$html = file_get_contents($search.$page.".html");
} else {
$page = 1;
$html = file_get_contents("http://www.pornrabbit.com/");
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="video">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="', $video);
$t2 = explode('"', $t1[1]);
$link = "http://www.pornrabbit.com".$t2[0];
$link = $host."/scripts/adult/php/pornrabbit_link.php?file=".$link;
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('<h3>', $video);
$t2 = explode('<', $t1[1]);
$title = $t2[0];
$data = str_between($video,'"runtime">',"</span>");
$data = preg_replace("/(<\/?)(\w+)([^>]*>)/e","",$data);
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/pornrabbit.php | PHP | gpl3 | 8,109 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = str_between($html, "source src='", "'");
print $link;
?>
| 1073s | trunk/adult/php/redtube_link.php | PHP | gpl3 | 402 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = str_between($html, 'flashvars.config = escape("', '"');
$html = file_get_contents($link);
$link1 = str_between($html, "<videoLink>", "</videoLink>");
$link1=str_replace("&","&",$link1);
print $link1;
?>
| 1073s | trunk/adult/php/empflix_link.php | PHP | gpl3 | 552 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>www.tjoob.com</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
$page_1 = 16*($page - 1);
if($page) {
if($search) {
$html = file_get_contents($search.$page_1."/");
} else {
$html = file_get_contents($search.$page_1."/");
}
} else {
$page = 1;
if($search) {
$html = file_get_contents("http://www.tube8.com/search.html?q=".$search);
} else {
$html = file_get_contents("http://www.tjoob.com/videos/all/date-0/");
}
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="vids">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('href="', $video);
$t2 = explode('"', $t1[2]);
$link = str_between($t2[0],"/vids/","/");
$link = $host."/scripts/adult/php/tjoob_link.php?file=".$link;
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('title="', $video);
$t2 = explode('"', $t1[2]);
$title = $t2[0];
$data = "Durata: ".str_between($video,'<strong>',"<");
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".mp4";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/tjoob.php | PHP | gpl3 | 8,300 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>flytube</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
$html = file_get_contents($search.$page.".html");
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="vidbox">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('a href="', $video);
$t2 = explode('"', $t1[1]);
$link = "http://www.flytube.com".$t2[0];
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('alt="', $video);
$t2 = explode('"', $t1[1]);
$title = htmlspecialchars_decode($t2[0]);
$link = $host.'/scripts/adult/php/flytube_link.php?file='.$link;
$data = "Durata: ".str_between($video,'<div class="box-left">',"<");
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/flytube.php | PHP | gpl3 | 7,968 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = str_between($html, "config:'", "'");
$html = file_get_contents($link);
$link1 = str_between($html, "<file>", "</file>");
$link1=str_replace("&","&",$link1);
print $link1;
?>
| 1073s | trunk/adult/php/alotporn_link.php | PHP | gpl3 | 523 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
storagePath_playlist = storagePath + "playlist.dat";
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>Extremetube</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
if($page) {
if($search) {
$html = file_get_contents($search.$page);
} else {
$html = file_get_contents($search.$page);
}
} else {
$page = 1;
if($search) {
$html = file_get_contents($search);
} else {
$html = file_get_contents($search);
}
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$v_id = str_between($html, '<ul class="video-tag-list">', '</ul>');
$v_id = $html;
$videos = explode('<li id="obj', $v_id);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="', $video);
$t2 = explode('"', $t1[1]);
$link = $t2[0];
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode(' title="', $video);
$t2 = explode('"', $t1[1]);
$title = $t2[0];
$pos1 = stripos($link, 'source=');
if ($pos1 === false) {
$link = $host."/scripts/adult/php/extremetube_link.php?file=".$link;
$data = "Durata: ".str_between($video,'"absolute duration">','<');
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/extremetube.php | PHP | gpl3 | 8,484 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="50"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="50"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<!--<image offsetXPC=5 offsetYPC=2 widthPC=20 heightPC=16>
<script>channelImage;</script>
</image>-->
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
<script>channelImage;</script>
</image>
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "title");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<script>
channelImage = "/usr/local/etc/www/cgi-bin/scripts/adult/image/xhamster.jpg";
</script>
<channel>
<title>xhamster.com</title>
<menu>main menu</menu>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link=$host."/scripts/adult/php/xhamster.php?query=1,http://xhamster.com/new/";
echo '
<item>
<title>New</title>
<link>'.$link.'</link>
</item>';
$html = file_get_contents("http://xhamster.com/channels.php");
$html = str_between($html,'<table id="channels"','</table>');
$videos = explode('href="', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1=explode('"',$video);
$link="http://xhamster.com".$t1[0];
//http://xhamster.com/channels/new-upskirts-1.html
$link=substr($link, 0, -6);
$title=str_between($video,'font-weight:bold;" align="center">','</div>');
$link=$host."/scripts/adult/php/xhamster.php?query=1,".$link;
echo '
<item>
<title>'.$title.'</title>
<link>'.$link.'</link>
</item>';
}
?>
</channel>
</rss>
| 1073s | trunk/adult/php/xhamster_main.php | PHP | gpl3 | 5,565 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>myjizztube</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
$html = file_get_contents($search.$page.".html");
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="content">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="', $video);
$t2 = explode('"', $t1[1]);
$link=$t2[0];
if (strpos($link,'http') === false) {
$link = "http://www.myjizztube.com".$t2[0];
}
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('href="', $video);
$t2 = explode('>', $t1[2]);
$t3 = explode('<',$t2[1]);
$title = $t3[0];
if ($title=="") {
$t1=explode('class="title blue"',$video);
$t2=explode('>',$t1[1]);
$t3=explode('<',$t2[1]);
$title=$t3[0];
}
$pos = strpos($link, 'myjizztube');
if ($pos !== false) {
$link = $host."/scripts/adult/php/myjizztube_link.php?file=".$link;
$data = "Durata: ".str_between($video,'<span class="blue">',"<");
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/myjizztube.php | PHP | gpl3 | 8,268 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
$link = $_GET["file"];
$html = file_get_contents($link);
$t1=explode('video_url=',$html);
$t2=explode('&',$t1[1]);
$link = urldecode($t2[0]);
print $link;
?>
| 1073s | trunk/adult/php/keezmovies_link.php | PHP | gpl3 | 206 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = urldecode(str_between($html, 's1.addParam("flashvars","file=', '&'));
print $link;
?>
| 1073s | trunk/adult/php/snizzshare_link.php | PHP | gpl3 | 440 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>TnaFlix</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
if($page) {
if($search) {
$html = file_get_contents($search.$page);
} else {
$html = file_get_contents($search.$page);
}
} else {
$page = 1;
if($search) {
$html = file_get_contents($search.$page);
} else {
$html = file_get_contents($search.$page);
}
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('onmouseover="movieStart', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="', $video);
$t2 = explode('"', $t1[1]);
$link = $host."/scripts/adult/php/tna_link.php?file=http://www.tnaflix.com".$t2[0];
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode(' title="', $video);
$t2 = explode('"', $t1[1]);
$title = $t2[0];
$t1 = explode('<span',$video);
$t2 = explode(">",$t1[1]);
$t3 = explode("<",$t2[1]);
$data = "Durata: ".$t3[0];
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/tna.php | PHP | gpl3 | 8,240 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = urldecode(str_between($html, '<span class="download"><a href="', '"'));
print $link;
?>
| 1073s | trunk/adult/php/pornrabbit_link.php | PHP | gpl3 | 442 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$link = str_replace(' ','%20',$link);
$link = str_replace('[','%5B',$link);
$link = str_replace(']','%5D',$link);
$title = "Link";
$html = file_get_contents($link);
$link = urldecode(str_between($html, "s1.addParam('flashvars','file=", "&"));
print $link;
?>
| 1073s | trunk/adult/php/pornvisit_link.php | PHP | gpl3 | 563 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<channel>
<title>www.eporner.com</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
$page1=$page-1;
$html = file_get_contents($search.$page1."/");
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="moviebox"', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="', $video);
$t2 = explode('"', $t1[1]);
$link = "http://www.eporner.com".$t2[0];
$link = $host."/scripts/adult/php/eporner_link.php?file=".$link;
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('title="', $video);
$t2 = explode('>', $t1[2]);
$t3 = explode('<',$t2[1]);
$title = $t3[0];
$data = str_between($video,'<div class="mitime" >',"</div>");
$data = preg_replace("/(<\/?)(\w+)([^>]*>)/e","",$data);
echo '
<item>
<title>'.$title.'</title>
<link>'.$link.'</link>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/eporner.php | PHP | gpl3 | 6,395 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
storagePath_playlist = storagePath + "playlist.dat";
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Press 2 for download, 3 for download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "14"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>spankwire.com</title>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
$search = str_replace(" ","%20",$search);
}
$html = file_get_contents($search."?Page=".$page);
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Previous Page</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="vid-thumb">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1=explode('href="',$video);
$t2 = explode('"', $t1[1]);
$link = "http://www.spankwire.com".$t2[0];
$t3=explode(">",$t1[2]);
$t4=explode("<",$t3[1]);
$title=$t4[0];
$link = $host."/scripts/adult/php/spankwire_link.php?file=".$link;
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$data = trim(str_between($video,'<span class="views float-right" style="padding-right: 5px; text-align: right;"><strong>','</strong>'));
$data = preg_replace("/(<\/?)(\w+)([^>]*>)/e","",$data);
$data = "Duration: ".$data;
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Next Page</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/spankwire.php | PHP | gpl3 | 8,213 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="50"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="50"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<!--<image offsetXPC=5 offsetYPC=2 widthPC=20 heightPC=16>
<script>channelImage;</script>
</image>-->
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
<script>channelImage;</script>
</image>
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "title");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<script>
channelImage = "/usr/local/etc/www/cgi-bin/scripts/adult/image/redtube.png";
</script>
<channel>
<title>redtube.com</title>
<menu>main menu</menu>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link=$host."/scripts/adult/php/redtube.php?query=1,http://www.redtube.com/";
echo '
<item>
<title>New</title>
<link>'.$link.'</link>
</item>';
$html = file_get_contents("http://www.redtube.com/channels");
//$html = str_between($html,'<ul class="smallChannels">','</ul>');
$videos = explode('<div class="video">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t=explode('href="',$video);
$t1=explode('"',$t[1]);
$link="http://www.redtube.com".$t1[0];
$title=str_between($video,'title="','"');
$link=$host."/scripts/adult/php/redtube.php?query=1,".$link;
echo '
<item>
<title>'.$title.'</title>
<link>'.$link.'</link>
</item>';
}
?>
</channel>
</rss>
| 1073s | trunk/adult/php/redtube_main.php | PHP | gpl3 | 5,493 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if( userInput == "two" || userInput == "2")
{
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + getItemInfo(getFocusItemIndex(),"download") + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>pornmehorny.com</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
if($page) {
if($search) {
$html = file_get_contents($search."&page=".$page);
} else {
$html = file_get_contents($search."&page=".$page);
}
} else {
$page = 1;
if($search) {
$html = file_get_contents($search."&page=1");
} else {
$html = file_get_contents($search."&page=1");
}
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="video_box">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="/video/', $video);
$t2 = explode('/', $t1[1]);
$link = 'http://www.pornmehorny.com/media/videos/flv/'.$t2[0].'.flv';
$t1 = explode(' src="', $video);
$t2 = explode('"', $t1[1]);
$image = 'http://www.pornmehorny.com'.$t2[0];
$t1 = explode(' title="', $video);
$t2 = explode('"', $t1[1]);
$title = $t2[0];
$data = "Durata: ".trim(str_between($video,'<div class="box_left">',"<"));
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".mp4";
echo'
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
movie="'.$link.'";
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/pornmehorny.php | PHP | gpl3 | 8,135 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>www.pornvisit.com</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
$pos1 = stripos($search, '?');
if ($pos1 === false) {
$link = $search.$page;
}
else {
$link = $search.$page.".php";
}
$html = file_get_contents($link);
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="movie">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="', $video);
$t2 = explode('"', $t1[1]);
$link = "http://www.pornvisit.com".$t2[0];
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = "http://www.pornvisit.com".$t2[0];
$t1 = explode('title="', $video);
$t2 = explode('"', $t1[1]);
$title = $t2[0];
$link = $host.'/scripts/adult/php/pornvisit_link.php?file='.$link;
$data = "Durata: ".trim(str_between($video,'<div class="right">',"<"));
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/pornvisit.php | PHP | gpl3 | 8,093 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="50"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="50"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<!--<image offsetXPC=5 offsetYPC=2 widthPC=20 heightPC=16>
<script>channelImage;</script>
</image>-->
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
<script>channelImage;</script>
</image>
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "title");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<script>
channelImage = "/usr/local/etc/www/cgi-bin/scripts/adult/image/spankwire.gif";
</script>
<channel>
<title>spankwire.com</title>
<menu>main menu</menu>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link=$host."/scripts/adult/php/spankwire.php?query=1,http://www.spankwire.com/home2/Straight/Upcoming/VotesLeft/Rating";
echo '
<item>
<title>New</title>
<link>'.$link.'</link>
</item>';
$html = file_get_contents("http://www.spankwire.com/categories/Straight");
//$html = str_between($html,'<ul class="smallChannels">','</ul>');
$videos = explode('<div class="category-thumb">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t=explode('href="',$video);
$t1=explode('"',$t[1]);
$link="http://www.spankwire.com".$t1[0];
$t2=explode(">",$t[2]);
$t3=explode("<",$t2[1]);
$title=$t3[0];
$link=$host."/scripts/adult/php/spankwire.php?query=1,".$link;
echo '
<item>
<title>'.$title.'</title>
<link>'.$link.'</link>
</item>';
}
?>
</channel>
</rss>
| 1073s | trunk/adult/php/spankwire_main.php | PHP | gpl3 | 5,597 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
//http://www.youporn.com/oldStreamURL/57272
$link = "http://www.youporn.com".str_between($html, "encodeURIComponent('", "'");
$html = file_get_contents($link);
$link1 = str_between($html, "<location>", "</location>");
$link1=str_replace("&","&",$link1);
print $link1;
?>
| 1073s | trunk/adult/php/youporn_link.php | PHP | gpl3 | 612 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
$link = $_GET["file"];
$html = file_get_contents($link);
$t1 = explode('"video_url_encoded":"', $html);
$t2 = explode('"', $t1[1]);
$link = urldecode($t2[0]);
if ($link=="") {
$t1=explode('var videourl="',$html);
$t2=explode('"',$t1[1]);
$link=$t2[0];
}
print $link;
?>
| 1073s | trunk/adult/php/.svn/text-base/tube8_link.php.svn-base | PHP | gpl3 | 324 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
storagePath_playlist = storagePath + "playlist.dat";
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Press 2 for download, 3 for download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "14"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>alotporn.com</title>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
$search = str_replace(" ","%20",$search);
}
if ($page > 1) {
$html = file_get_contents($search."recent/".$page."/");
} else {
$html = file_get_contents($search."recent/");
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Previous Page</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('div id="video', $html);
//http://alotporn.com/amateur/recent/2/
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1=explode('href="',$video);
$t2 = explode('"', $t1[1]);
$link = "http://alotporn.com".$t2[0];
$t3=explode('title="',$video);
$t4=explode('"',$t3[1]);
$title=$t4[0];
$link = $host."/scripts/adult/php/alotporn_link.php?file=".$link;
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$data = trim(str_between($video,'<span class="duration">','</span>'));
$data = preg_replace("/(<\/?)(\w+)([^>]*>)/e","",$data);
$data = "Duration: ".$data;
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Next Page</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/alotporn.php.svn-base | PHP | gpl3 | 8,252 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
storagePath_playlist = storagePath + "playlist.dat";
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "14"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>xhamster.com</title>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
$search = str_replace(" ","%20",$search);
}
$html = file_get_contents($search.$page.".html");
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$html=str_between($html,'<div class="moduleFeatured">','<div class="pager">');
$videos = explode('href="', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t2 = explode('"', $video);
$link = "http://xhamster.com".$t2[0];
$link = $host."/scripts/adult/php/xhamster_link.php?file=".$link;
$t1 = explode("src='", $video);
$t2 = explode("'", $t1[1]);
$image = $t2[0];
$title=str_between($video,"<u>","</u>");
$data = trim(str_between($video,'Runtime:',"<"));
$data = "Durata: ".$data;
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/xhamster.php.svn-base | PHP | gpl3 | 8,071 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>flytube</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
$html = file_get_contents($search.$page.".html");
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="vidbox">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('a href="', $video);
$t2 = explode('"', $t1[1]);
$link = "http://www.flytube.com".$t2[0];
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('alt="', $video);
$t2 = explode('"', $t1[1]);
$title = htmlspecialchars_decode($t2[0]);
$link = $host.'/scripts/adult/php/flytube_link.php?file='.$link;
$data = "Durata: ".str_between($video,'<div class="box-left">',"<");
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/flytube.php.svn-base | PHP | gpl3 | 7,968 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = str_between($html, 's1.addVariable("file","', '"');
$link = "http://pornomovies.com".$link;
$html = file_get_contents($link);
$link = str_between($html, '<location>', '<');
print $link;
?>
| 1073s | trunk/adult/php/.svn/text-base/pornomovies_link.php.svn-base | PHP | gpl3 | 543 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = str_between($html, "so.addVariable('file', '", "'");
echo $link;
?>
| 1073s | trunk/adult/php/.svn/text-base/sexbot_link.php.svn-base | PHP | gpl3 | 422 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if( userInput == "two" || userInput == "2")
{
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + getItemInfo(getFocusItemIndex(),"download") + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>pornmehorny.com</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
if($page) {
if($search) {
$html = file_get_contents($search."&page=".$page);
} else {
$html = file_get_contents($search."&page=".$page);
}
} else {
$page = 1;
if($search) {
$html = file_get_contents($search."&page=1");
} else {
$html = file_get_contents($search."&page=1");
}
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="video_box">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="/video/', $video);
$t2 = explode('/', $t1[1]);
$link = 'http://www.pornmehorny.com/media/videos/flv/'.$t2[0].'.flv';
$t1 = explode(' src="', $video);
$t2 = explode('"', $t1[1]);
$image = 'http://www.pornmehorny.com'.$t2[0];
$t1 = explode(' title="', $video);
$t2 = explode('"', $t1[1]);
$title = $t2[0];
$data = "Durata: ".trim(str_between($video,'<div class="box_left">',"<"));
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".mp4";
echo'
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
movie="'.$link.'";
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/pornmehorny.php.svn-base | PHP | gpl3 | 8,135 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
storagePath_playlist = storagePath + "playlist.dat";
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>Extremetube</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
if($page) {
if($search) {
$html = file_get_contents($search.$page);
} else {
$html = file_get_contents($search.$page);
}
} else {
$page = 1;
if($search) {
$html = file_get_contents($search);
} else {
$html = file_get_contents($search);
}
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$v_id = str_between($html, '<ul class="video-tag-list">', '</ul>');
$v_id = $html;
$videos = explode('<li id="obj', $v_id);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="', $video);
$t2 = explode('"', $t1[1]);
$link = $t2[0];
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode(' title="', $video);
$t2 = explode('"', $t1[1]);
$title = $t2[0];
$pos1 = stripos($link, 'source=');
if ($pos1 === false) {
$link = $host."/scripts/adult/php/extremetube_link.php?file=".$link;
$data = "Durata: ".str_between($video,'"absolute duration">','<');
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/extremetube.php.svn-base | PHP | gpl3 | 8,484 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
storagePath_playlist = storagePath + "playlist.dat";
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>KeezMovies.com</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
if($page) {
if($search) {
$html = file_get_contents($search."/?page=".$page."");
} else {
$html = file_get_contents($search."/?page=".$page."");
}
} else {
$page = 1;
if($search) {
$html = file_get_contents("http://www.keezmovies.com/search.html?q=".$search);
} else {
$html = file_get_contents("http://www.keezmovies.com/");
}
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('class="videoblock', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="', $video);
$t2 = explode('"', $t1[1]);
$link =$t2[0];
$pos = strpos($link, 'http');
if ($pos === false) {
$link ='http://www.keezmovies.com'.$t2[0];
}
$link = $host."/scripts/adult/php/keezmovies_link.php?file=".$link;
$t1 = explode(' src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode(' title="', $video);
$t2 = explode('"', $t1[1]);
$title = $t2[0];
$data = "Durata: ".str_between($video,'"duration">',"<");
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/keezmovies.php.svn-base | PHP | gpl3 | 8,435 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<channel>
<title>drtuber</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
$html = file_get_contents($search."&page=".$page);
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<a class="vid_link"', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('href="', $video);
$t2 = explode('"', $t1[1]);
$link = "http://www.drtuber.com".$t2[0];
///http://www.drtuber.com/media/player/config.php?vkey=22fb550c941db690b7d2
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('title="', $video);
$t2 = explode('"', $t1[1]);
$title = htmlspecialchars_decode($t2[0]);
$link = $host.'/scripts/adult/php/drtuber_link.php?file='.$link;
$data = "Durata: ".trim(str_between($video,'<span class="vi_right">',"<"));
echo '
<item>
<title>'.$title.'</title>
<link>'.$link.'</link>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/drtuber.php.svn-base | PHP | gpl3 | 6,391 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>"; ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<mediaDisplay name="threePartsView"
itemBackgroundColor="0:0:0"
backgroundColor="0:0:0"
sideLeftWidthPC="0"
itemImageXPC="5"
itemXPC="20"
itemYPC="20"
itemWidthPC="65"
capWidthPC="70"
unFocusFontColor="101:101:101"
focusFontColor="255:255:255"
popupXPC = "40"
popupYPC = "55"
popupWidthPC = "22.3"
popupHeightPC = "5.5"
popupFontSize = "13"
popupBorderColor="28:35:51"
popupForegroundColor="255:255:255"
popupBackgroundColor="28:35:51"
idleImageWidthPC="10"
idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<backgroundDisplay>
<image offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
image/mele/backgd.jpg
</image>
</backgroundDisplay>
<image offsetXPC=0 offsetYPC=2.8 widthPC=100 heightPC=15.6>
image/mele/rss_title.jpg
</image>
<text offsetXPC=40 offsetYPC=8 widthPC=35 heightPC=10 fontSize=20 backgroundColor=-1:-1:-1 foregroundColor=255:255:255>
Link
</text>
</mediaDisplay>
<channel>
<title>drtuber</title>
<menu>main menu</menu>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$link = str_replace(' ','%20',$link);
$link = str_replace('[','%5B',$link);
$link = str_replace(']','%5D',$link);
$title = "Link";
//('config', '
$html = file_get_contents($link);
$link = urldecode("http://www.drtuber.com".str_between("('config', '","'"));
//$link = "http://www.drtuber.com/media/player/config.php?vkey=".str_between($html,"vkey=","'");
$html = file_get_contents($link);
$link = str_between($html, '<file>', '</file>');
echo '<item>';
echo '<title>'.$title.'</title>';
echo '<link>'.$link.'</link>';
echo '<enclosure type="video/flv" url="'.$link.'"/>';
echo '</item>';
?>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/drtuber_link.php.svn-base | PHP | gpl3 | 2,491 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>print(titlu); titlu;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=25 widthPC=30 heightPC=30>
image/adult.png
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
img = getItemInfo(idx,"image");
annotation = getItemInfo(idx, "annotation");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
titlu="";
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
ret="true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<channel>
<title>PornTV</title>
<menu>main menu</menu>
<!-- Adult -->
<item>
<title>Redlight HD</title>
<onClick>playItemUrl("http://127.0.0.1/cgi-bin/translate?stream,Rtmp-options:-W%20http://tvsector.com/mediaplayer/player.swf%20-y%20z990101.stream%20-p%20http://tvsector.com/,rtmp://s7.webport.tv/live/z990101.stream",10);</onClick>
</item>
<item>
<title>HustlerTV HD</title>
<onClick>playItemUrl("http://127.0.0.1/cgi-bin/translate?stream,Rtmp-options:-W%20http://tvsector.com/mediaplayer/player.swf%20-y%20z990102.stream%20-p%20http://tvsector.com/,rtmp://s7.webport.tv/live/z990102.stream",10);</onClick>
</item>
<item>
<title>Penthouse HD</title>
<onClick>playItemUrl("http://127.0.0.1/cgi-bin/translate?stream,Rtmp-options:-W%20http://tvsector.com/mediaplayer/player.swf%20-y%20z990103.stream%20-p%20http://tvsector.com/,rtmp://s7.webport.tv/live/z990103.stream",10);</onClick>
</item>
<item>
<title>Penthouse 2 HD</title>
<onClick>playItemUrl("http://127.0.0.1/cgi-bin/translate?stream,Rtmp-options:-W%20http://tvsector.com/mediaplayer/player.swf%20-y%20z990104.stream%20-p%20http://tvsector.com/,rtmp://s7.webport.tv/live/z990104.stream",10);</onClick>
</item>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$html = file_get_contents("http://www.pornofanatic.com/index.php");
$videos = explode('porntv.php', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('"', $video);
$link = urlencode("http://www.pornofanatic.com/porntv.php".$t1[0]);
$t2 = explode(">",$video);
$t3 = explode("<",$t2[1]);
$title=$t3[0];
if (strpos($title,"Adult TV") !==false) {
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$host.'/scripts/adult/php/pornofanatic_link.php?file='.$link.'";
movie=getUrl(url);
titlu=movie;
cancelIdle();
playItemUrl(movie,10);
</script>
</onClick>
</item>
';
}
}
?>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/pornofanatic.php.svn-base | PHP | gpl3 | 6,375 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>www.sexbot.com</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
$html = file_get_contents($search.$page);
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="video-item">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('href="', $video);
$t2 = explode('"', $t1[2]);
$link = $t2[0];
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('title="', $video);
$t2 = explode('"', $t1[1]);
$title = htmlspecialchars_decode($t2[0]);
$link = $host."/scripts/adult/php/sexbot_link.php?file=".$link;
$data = "Durata: ".str_between($video,'<div class="video-item-info">',"<");
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/sexbot.php.svn-base | PHP | gpl3 | 7,952 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="50"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="50"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<!--<image offsetXPC=5 offsetYPC=2 widthPC=20 heightPC=16>
<script>channelImage;</script>
</image>-->
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
<script>channelImage;</script>
</image>
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "title");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<script>
channelImage = "/usr/local/etc/www/cgi-bin/scripts/adult/image/redtube.png";
</script>
<channel>
<title>redtube.com</title>
<menu>main menu</menu>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link=$host."/scripts/adult/php/redtube.php?query=1,http://www.redtube.com/";
echo '
<item>
<title>New</title>
<link>'.$link.'</link>
</item>';
$html = file_get_contents("http://www.redtube.com/channels");
//$html = str_between($html,'<ul class="smallChannels">','</ul>');
$videos = explode('<div class="video">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t=explode('href="',$video);
$t1=explode('"',$t[1]);
$link="http://www.redtube.com".$t1[0];
$title=str_between($video,'title="','"');
$link=$host."/scripts/adult/php/redtube.php?query=1,".$link;
echo '
<item>
<title>'.$title.'</title>
<link>'.$link.'</link>
</item>';
}
?>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/redtube_main.php.svn-base | PHP | gpl3 | 5,493 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>www.moviesand.com</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
if($page) {
$html = file_get_contents($search.$page.".html");
} else {
$page = 1;
$html = file_get_contents("http://www.moviesand.com/");
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="clip-container"', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="', $video);
$t2 = explode('"', $t1[1]);
$link = "http://www.moviesand.com".$t2[0];
$link = $host."/scripts/adult/php/moviesand_link.php?file=".$link;
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('alt="', $video);
$t2 = explode('"', $t1[1]);
$title = $t2[0];
$data = "Durata: ".str_between($video,'"clip-time">',"<");
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/moviesand.php.svn-base | PHP | gpl3 | 8,060 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
storagePath_playlist = storagePath + "playlist.dat";
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Press 2 for download, 3 for download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "14"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>spankwire.com</title>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
$search = str_replace(" ","%20",$search);
}
$html = file_get_contents($search."?Page=".$page);
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Previous Page</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="vid-thumb">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1=explode('href="',$video);
$t2 = explode('"', $t1[1]);
$link = "http://www.spankwire.com".$t2[0];
$t3=explode(">",$t1[2]);
$t4=explode("<",$t3[1]);
$title=$t4[0];
$link = $host."/scripts/adult/php/spankwire_link.php?file=".$link;
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$data = trim(str_between($video,'<span class="views float-right" style="padding-right: 5px; text-align: right;"><strong>','</strong>'));
$data = preg_replace("/(<\/?)(\w+)([^>]*>)/e","",$data);
$data = "Duration: ".$data;
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Next Page</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/spankwire.php.svn-base | PHP | gpl3 | 8,213 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
storagePath_playlist = storagePath + "playlist.dat";
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "14"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>hardsextube.com</title>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
$search = str_replace(" ","%20",$search);
}
$page1=$page-1;
$html = file_get_contents("http://www.hardsextube.com/?p=Search[".$search."]/Submission_time/:".$page1);
//http://www.hardsextube.com/?p=Search[Amateur]/Submission_time/:0
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
//$videos = explode("<div id=", $html);
$videos = explode('<li class="normal',$html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode("href='", $video);
$t2 = explode("'", $t1[1]);
$link = $t2[0];
$link = $host."/scripts/adult/php/hardsextube_link.php?file=".$link;
$t1 = explode("src='", $video);
$t2 = explode("'", $t1[1]);
$image = $t2[0];
$t1=explode("title='",$video);
$t2=explode("'",$t1[1]);
$title=$t2[0];
$title = preg_replace("/(<\/?)(\w+)([^>]*>)/e","",$title);
if ($title=="") {
$title = str_between($video,"<b>","</b>");
$title = preg_replace("/(<\/?)(\w+)([^>]*>)/e","",$title);
}
$data = trim(str_between($video,'"duration_text">',"<"));
if ($data <> "") {
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/hardsextube.php.svn-base | PHP | gpl3 | 8,416 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = urldecode(str_between($html, 'flashvars="file=', '&'));
print $link;
?>
| 1073s | trunk/adult/php/.svn/text-base/timtube_link.php.svn-base | PHP | gpl3 | 426 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>www.tjoob.com</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
$page_1 = 16*($page - 1);
if($page) {
if($search) {
$html = file_get_contents($search.$page_1."/");
} else {
$html = file_get_contents($search.$page_1."/");
}
} else {
$page = 1;
if($search) {
$html = file_get_contents("http://www.tube8.com/search.html?q=".$search);
} else {
$html = file_get_contents("http://www.tjoob.com/videos/all/date-0/");
}
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="vids">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('href="', $video);
$t2 = explode('"', $t1[2]);
$link = str_between($t2[0],"/vids/","/");
$link = $host."/scripts/adult/php/tjoob_link.php?file=".$link;
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('title="', $video);
$t2 = explode('"', $t1[2]);
$title = $t2[0];
$data = "Durata: ".str_between($video,'<strong>',"<");
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".mp4";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/tjoob.php.svn-base | PHP | gpl3 | 8,300 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
//http://88.208.24.199/key=HguE3Mr6VdY,end=1323796582/data=1314962759/buffer=450K/speed=83200/reftag=392380/4/xh/101778_Anja_Laval_and_Tyra_Misoux_lesbians_in_the_office_M22.flv
//http://88.208.24.199/key=npZZy9gmjSc,end=1323796582/data=1314962759/speed=83200/101778_Anja_Laval_and_Tyra_Misoux_lesbians_in_the_office_M22.flv
$link = $_GET["file"];
$html = file_get_contents($link);
$link = str_between($html, "file': '", "'");
$link="http://88.208.24.199/key=".$link;
print $link;
?>
| 1073s | trunk/adult/php/.svn/text-base/xhamster_link.php.svn-base | PHP | gpl3 | 764 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
storagePath_playlist = storagePath + "playlist.dat";
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "14"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>redtube.com</title>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
$search = str_replace(" ","%20",$search);
}
$html = file_get_contents($search."?page=".$page);
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div class="video">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1=explode('href="',$video);
$t2 = explode('"', $t1[1]);
$link = "http://www.redtube.com".$t2[0];
$link = $host."/scripts/adult/php/redtube_link.php?file=".$link;
$t1 = explode("src='", $video);
$t2 = explode("'", $t1[1]);
$image = $t2[0];
$title=str_between($video,'title="','"');
$data = trim(str_between($video,'<span class="d">',"<"));
$data = "Durata: ".$data;
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/redtube.php.svn-base | PHP | gpl3 | 8,050 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
storagePath_playlist = storagePath + "playlist.dat";
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Press 2 for download, 3 for download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "14"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>youporn.com</title>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
$search = str_replace(" ","%20",$search);
}
$html = file_get_contents($search."?page=".$page);
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Previous Page</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('li class="videoBox"', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1=explode('href="',$video);
$t2 = explode('"', $t1[1]);
$link = "http://www.youporn.com".$t2[0];
$t3=explode(">",$t1[2]);
$t4=explode("<",$t3[1]);
$title=$t4[0];
$link = $host."/scripts/adult/php/youporn_link.php?file=".$link;
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$data = trim(str_between($video,'"duration">','<'));
$data = preg_replace("/(<\/?)(\w+)([^>]*>)/e","",$data);
$data = "Duration: ".$data;
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Next Page</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/youporn.php.svn-base | PHP | gpl3 | 8,119 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
$host = "http://127.0.0.1/cgi-bin";
?>
<rss version="2.0">
<onEnter>
startitem = "middle";
setRefreshTime(1);
</onEnter>
<onRefresh>
setRefreshTime(-1);
itemCount = getPageInfo("itemCount");
</onRefresh>
<mediaDisplay name="threePartsView"
sideLeftWidthPC="0"
sideRightWidthPC="0"
headerImageWidthPC="0"
selectMenuOnRight="no"
autoSelectMenu="no"
autoSelectItem="no"
itemImageHeightPC="0"
itemImageWidthPC="0"
itemXPC="8"
itemYPC="25"
itemWidthPC="45"
itemHeightPC="8"
capXPC="8"
capYPC="25"
capWidthPC="45"
capHeightPC="64"
itemBackgroundColor="0:0:0"
itemPerPage="8"
itemGap="0"
bottomYPC="90"
backgroundColor="0:0:0"
showHeader="no"
showDefaultInfo="no"
imageFocus=""
sliding="no" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
>
<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
<script>getPageInfo("pageTitle");</script>
</text>
<text align="left" offsetXPC="6" offsetYPC="15" widthPC="100" heightPC="4" fontSize="16" backgroundColor="10:105:150" foregroundColor="100:200:255">
Apasati 2 pentru download, 3 pentru download manager
</text>
<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
<script>sprintf("%s / ", focus-(-1))+itemCount;</script>
</text>
<text align="center" redraw="yes"
lines="10" fontSize=17
offsetXPC=55 offsetYPC=55 widthPC=40 heightPC=42
backgroundColor=0:0:0 foregroundColor=200:200:200>
<script>print(annotation); annotation;</script>
</text>
<image redraw="yes" offsetXPC=60 offsetYPC=22.5 widthPC=30 heightPC=25>
<script>print(img); img;</script>
</image>
<idleImage> image/POPUP_LOADING_01.png </idleImage>
<idleImage> image/POPUP_LOADING_02.png </idleImage>
<idleImage> image/POPUP_LOADING_03.png </idleImage>
<idleImage> image/POPUP_LOADING_04.png </idleImage>
<idleImage> image/POPUP_LOADING_05.png </idleImage>
<idleImage> image/POPUP_LOADING_06.png </idleImage>
<idleImage> image/POPUP_LOADING_07.png </idleImage>
<idleImage> image/POPUP_LOADING_08.png </idleImage>
<itemDisplay>
<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx)
{
location = getItemInfo(idx, "location");
annotation = getItemInfo(idx, "annotation");
img = getItemInfo(idx,"image");
}
getItemInfo(idx, "title");
</script>
<fontSize>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "16"; else "14";
</script>
</fontSize>
<backgroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "10:80:120"; else "-1:-1:-1";
</script>
</backgroundColor>
<foregroundColor>
<script>
idx = getQueryItemIndex();
focus = getFocusItemIndex();
if(focus==idx) "255:255:255"; else "140:140:140";
</script>
</foregroundColor>
</text>
</itemDisplay>
<onUserInput>
<script>
ret = "false";
userInput = currentUserInput();
if (userInput == "pagedown" || userInput == "pageup")
{
idx = Integer(getFocusItemIndex());
if (userInput == "pagedown")
{
idx -= -8;
if(idx >= itemCount)
idx = itemCount-1;
}
else
{
idx -= 8;
if(idx < 0)
idx = 0;
}
print("new idx: "+idx);
setFocusItemIndex(idx);
setItemFocus(0);
redrawDisplay();
"true";
}
if (userInput == "two" || userInput == "2")
{
showIdle();
url=getItemInfo(getFocusItemIndex(),"download");
movie=getUrl(url);
cancelIdle();
topUrl = "http://127.0.0.1/cgi-bin/scripts/util/download.cgi?link=" + movie + ";name=" + getItemInfo(getFocusItemIndex(),"name");
dlok = loadXMLFile(topUrl);
"true";
}
if (userInput == "three" || userInput == "3")
{
jumpToLink("destination");
"true";
}
ret;
</script>
</onUserInput>
</mediaDisplay>
<item_template>
<mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
<idleImage>image/POPUP_LOADING_01.png</idleImage>
<idleImage>image/POPUP_LOADING_02.png</idleImage>
<idleImage>image/POPUP_LOADING_03.png</idleImage>
<idleImage>image/POPUP_LOADING_04.png</idleImage>
<idleImage>image/POPUP_LOADING_05.png</idleImage>
<idleImage>image/POPUP_LOADING_06.png</idleImage>
<idleImage>image/POPUP_LOADING_07.png</idleImage>
<idleImage>image/POPUP_LOADING_08.png</idleImage>
</mediaDisplay>
</item_template>
<destination>
<link>http://127.0.0.1/cgi-bin/scripts/util/level.php
</link>
</destination>
<channel>
<title>www.snizzshare.com</title>
<menu>main menu</menu>
<?php
$query = $_GET["query"];
if($query) {
$queryArr = explode(',', $query);
$page = $queryArr[0];
$search = $queryArr[1];
}
$pos1 = stripos($search, 'channels');
if ($pos1 === false) {
$html = file_get_contents($search."?confirm_dob=1");
}
else {
$html = file_get_contents($search.$page.".html?confirm_dob=1");
}
if($page > 1) { ?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page-1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Previous Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina anterioara</annotation>
<image>image/left.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
<?php } ?>
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$videos = explode('<div id="miniatura">', $html);
unset($videos[0]);
$videos = array_values($videos);
foreach($videos as $video) {
$t1 = explode('<a href="', $video);
$t2 = explode('"', $t1[1]);
$link = "http://www.snizzshare.com".$t2[0];
$link = $host."/scripts/adult/php/snizzshare_link.php?file=".$link;
$t1 = explode('src="', $video);
$t2 = explode('"', $t1[1]);
$image = $t2[0];
$t1 = explode('title="', $video);
$t2 = explode('"', $t1[1]);
$title = $t2[0];
$data = $title;
$name = preg_replace('/[^A-Za-z0-9_]/','_',$title).".flv";
echo '
<item>
<title>'.$title.'</title>
<onClick>
<script>
showIdle();
url="'.$link.'";
movie=getUrl(url);
cancelIdle();
storagePath = getStoragePath("tmp");
storagePath_stream = storagePath + "stream.dat";
streamArray = null;
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, "");
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, movie);
streamArray = pushBackStringArray(streamArray, video/x-flv);
streamArray = pushBackStringArray(streamArray, "'.$title.'");
streamArray = pushBackStringArray(streamArray, "1");
writeStringToFile(storagePath_stream, streamArray);
doModalRss("rss_file:///usr/local/etc/www/cgi-bin/scripts/util/videoRenderer.rss");
</script>
</onClick>
<download>'.$link.'</download>
<name>'.$name.'</name>
<image>'.$image.'</image>
<annotation>'.$data.'</annotation>
<media:thumbnail url="'.$image.'" />
<mediaDisplay name="threePartsView"/>
</item>
';
}
?>
<item>
<?php
$sThisFile = 'http://127.0.0.1'.$_SERVER['SCRIPT_NAME'];
$url = $sThisFile."?query=".($page+1).",";
if($search) {
$url = $url.$search;
}
?>
<title>Next Page</title>
<link><?php echo $url;?></link>
<annotation>Pagina urmatoare</annotation>
<image>image/right.jpg</image>
<mediaDisplay name="threePartsView"/>
</item>
</channel>
</rss>
| 1073s | trunk/adult/php/.svn/text-base/snizzshare.php.svn-base | PHP | gpl3 | 8,048 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = str_between($html, "config:'", "'");
$html = file_get_contents($link);
$link1 = str_between($html, "<file>", "</file>");
$link1=str_replace("&","&",$link1);
print $link1;
?>
| 1073s | trunk/adult/php/.svn/text-base/alotporn_link.php.svn-base | PHP | gpl3 | 523 |
#!/usr/local/bin/Resource/www/cgi-bin/php
<?php
function str_between($string, $start, $end){
$string = " ".$string; $ini = strpos($string,$start);
if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$link = $_GET["file"];
$html = file_get_contents($link);
$link = urldecode(str_between($html, 'file:"', '"'));
if ($link=="") {
$link=str_between($html,'"settings=','"');
$html = file_get_contents($link);
$link = str_between($html,"defaultVideo:",";");
}
print $link;
?>
| 1073s | trunk/adult/php/.svn/text-base/myjizztube_link.php.svn-base | PHP | gpl3 | 580 |