\n";
for ($i = 0; $i < count($arr_xml['URL']); $i++) {
if( isset($arr_xml['PostID'][$i]) && $arr_xml['PostID'][$i] > 0 ) continue;
echo "
".$arr_xml['BeforeText'][$i]." ".$arr_xml['Text'][$i]." ".$arr_xml['AfterText'][$i]."\n";
}
echo "";
}
}
function tla_updateLocalXML($url, $file, $time_out)
{
if($handle = fopen($file, "a")){
fwrite($handle, "\n");
fclose($handle);
}
if($xml = file_get_contents_tla($url, $time_out)) {
$xml = substr($xml, strpos($xml,''));
if ($handle = fopen($file, "w")) {
fwrite($handle, $xml);
fclose($handle);
}
}
}
function tla_getLocalXML($file)
{
$contents = "";
if($handle = fopen($file, "r")){
$contents = fread($handle, filesize($file)+1);
fclose($handle);
}
return $contents;
}
function file_get_contents_tla($url, $time_out)
{
$result = "";
$url = parse_url($url);
if ($handle = @fsockopen ($url["host"], 80)) {
if(function_exists("socket_set_timeout")) {
socket_set_timeout($handle,$time_out,0);
} else if(function_exists("stream_set_timeout")) {
stream_set_timeout($handle,$time_out,0);
}
fwrite ($handle, "GET $url[path]?$url[query] HTTP/1.0\r\nHost: $url[host]\r\nConnection: Close\r\n\r\n");
while (!feof($handle)) {
$result .= @fread($handle, 40960);
}
fclose($handle);
}
return $result;
}
function tla_decodeXML($xmlstg)
{
if( !function_exists('html_entity_decode') ){
function html_entity_decode($string)
{
// replace numeric entities
$string = preg_replace('~([0-9a-f]+);~ei', 'chr(hexdec("\1"))', $string);
$string = preg_replace('~([0-9]+);~e', 'chr(\1)', $string);
// replace literal entities
$trans_tbl = get_html_translation_table(HTML_ENTITIES);
$trans_tbl = array_flip($trans_tbl);
return strtr($string, $trans_tbl);
}
}
$out = "";
$retarr = "";
preg_match_all ("/<(.*?)>(.*?)", $xmlstg, $out, PREG_SET_ORDER);
$search_ar = array('<', '>', '"');
$replace_ar = array('<', '>', '"');
$n = 0;
while (isset($out[$n]))
{
$retarr[$out[$n][1]][] = str_replace($search_ar, $replace_ar,html_entity_decode(strip_tags($out[$n][0])));
$n++;
}
return $retarr;
}
tla_ads();
?>
Comments (23)
嘿嘿,比我还快,我刚下到30%
Posted by jelly | April 20, 2007 12:36 AM
Posted on April 20, 2007 00:36
老大,给个地址啊 3k
Posted by orcsor | April 20, 2007 1:10 AM
Posted on April 20, 2007 01:10
很好,cgdou
Posted by cgdou | April 20, 2007 1:10 AM
Posted on April 20, 2007 01:10
羡慕ing.偶才下到10%,哎,速度好慢啊
Posted by auzn | April 20, 2007 9:17 AM
Posted on April 20, 2007 09:17
黒羽兄,麻烦给个地址,一起分享一下,谢谢!
Posted by rocku | April 20, 2007 9:18 AM
Posted on April 20, 2007 09:18
羡慕ing.偶才下到10%,哎,速度好慢啊
Posted by auzn | April 20, 2007 9:24 AM
Posted on April 20, 2007 09:24
老大些,你们在哪里下载的喔,给个下载地址嘛,谢谢.
Posted by catqin | April 20, 2007 9:37 AM
Posted on April 20, 2007 09:37
兄弟,哪里下载的啊,透个气吧
Posted by Kevin | April 20, 2007 9:54 AM
Posted on April 20, 2007 09:54
标题: 免费的供求资讯发布
链接: http://www.keletie.com
摘要: 免费的供求资讯发布
Posted by keletie | April 20, 2007 10:12 AM
Posted on April 20, 2007 10:12
这些人很不厚道啊,也不留个地址
Posted by mao | April 20, 2007 11:18 AM
Posted on April 20, 2007 11:18
找到一个地方可以下载
http://www.hcxm.cn/blog2/
哈哈
Posted by wendi | April 20, 2007 11:34 AM
Posted on April 20, 2007 11:34
下下来了装不了-___-
还有,博主知道为什么BI那贴锁了吗?是因为涉及D版软件吗?
Posted by yukkifan | April 20, 2007 12:01 PM
Posted on April 20, 2007 12:01
我是在蓝色理想论坛上看到的链接。
两天后就有官方试用版下载了。
Posted by 黑羽 | April 20, 2007 12:20 PM
Posted on April 20, 2007 12:20
就是这个博客:
http://www.hcxm.cn/blog2/article.asp?id=242
Posted by 黑羽 | April 20, 2007 12:23 PM
Posted on April 20, 2007 12:23
试过,导入PSD和AI文件。效果很好。
Posted by Tom | April 20, 2007 1:36 PM
Posted on April 20, 2007 13:36
没错,我是从别的站站找到的,但下载地址实际上是同一个。
擅用搜索,什么都有 ^_^
Posted by auzn | April 20, 2007 1:41 PM
Posted on April 20, 2007 13:41
请问 什么时候会出
flash cs3中文版呢?
用于flash cs3的 player什么时候能够普及呢?
Posted by hupeikang1 | April 20, 2007 9:40 PM
Posted on April 20, 2007 21:40
我在把flash8的文件裡的元素,一個MC,拷到flash9時,出現如下錯誤。
ReferenceError: Error #1074: 不合法的寫入 flash.display.MovieClip 上的唯讀屬性 stage。
at flash.display::Sprite/flash.display:Sprite::constructChildren()
at flash.display::Sprite$iinit()
at flash.display::MovieClip$iinit()
裡面沒有寫類,在button上沒有寫代碼,只是在一些Timeline上寫了一些stop(),gotoAndStop()之類的語句,請問是能解決麼?
Posted by showping | April 23, 2007 12:10 PM
Posted on April 23, 2007 12:10
1074 Illegal write to read-only property _ on _.
看了一下,出错意思是代码中改写了AS3的只读属性。好好检查代码,_root,_alpha之类都是不行的了,要转成AS3的代码
Posted by 黑羽 | April 23, 2007 4:26 PM
Posted on April 23, 2007 16:26
我暈,代碼裡沒有_root和_alpha呀,甚至沒有read_only的代碼,只有stop(),gotoAndPlay()之類的語句,難道AS3.0連這些都不支持麼?可是我查過幫助文檔,這些語句在flash.display.MovieClip裡是支持的呀
Posted by showping | April 23, 2007 5:44 PM
Posted on April 23, 2007 17:44
問題找到了,不過還是要感謝一下站長
Posted by showping | April 24, 2007 11:50 AM
Posted on April 24, 2007 11:50
都有破解的程序了;)呵呵。cs3已经不再是试用。不知道黑羽能加我qq不。我学习as3经常遇到很多问题;(。想请教有没有人。学得很累;(。。如果可以就加我;)谢谢3421941/msn是lmdwow@hotmail.com
Posted by leo | April 27, 2007 5:36 PM
Posted on April 27, 2007 17:36
Posted by wwj | May 31, 2007 2:26 PM
Posted on May 31, 2007 14:26