You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
4.5 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:widget="http://www.netvibes.com/ns/">
<head>
<title>shop</title>
<link rel="icon" type="image/x-icon" href="http://www.shop.com/favicon.ico" />
<meta name="author" content="shop"/>
<meta name="website" content="http://www.shop.com" />
<meta name="version" content="0.2" />
<meta name="keyword" content="shop <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>̵<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ѿ<EFBFBD><D1BF><EFBFBD>" />
<meta name="screenshot" content="http://widget.maifou.net/widget/images/screenshot.jpg" />
<meta name="thumbnail" content="http://widget.maifou.net/widget/images/thumbnail.jpg" />
<meta name="debugMode" content="false" />
<meta name="description" content="<22><>shopOPһ<50><D2BB><EFBFBD><EFBFBD>Ʒչʾ<D5B9><CABE>widget.ͨ<><CDA8><EFBFBD><EFBFBD><EFBFBD>widget,<2C><>ֻҪ<D6BB><D2AA>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C>Ϳ<EFBFBD><CDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɵ<EFBFBD><C9B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Blog<6F><67>չʾ<D5B9><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7>!(ע:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>չʾ10<31><30><EFBFBD><EFBFBD>Ʒ)" />
<widget:preferences>
<preference type="text" name="domain" label="<22><>ַ" />
<preference type="text" name="title" label="<22><><EFBFBD><EFBFBD>" />
<preference type="text" name="number" label="<22><>ʾ<EFBFBD><CABE>" />
</widget:preferences>
<style type="text/css">
<!--
dl,dt,dd { margin:0; padding:0; }
img { border:0; }
#goods_list { font-size:12px; border:1px solid #eaeaea; }
#goods_list dl { overflow:hidden; height:80px; padding:5px; border-bottom:1px dotted #f1f1f1; }
#goods_list dt { float:left; margin-right:5px; }
#goods_list dt img { width:80px; height:80px; }
#goods_list dd { color:#595959; padding-top:4px; }
#goods_list dd.name a { font-weight:bold; text-decoration:none; color:#96B0AF; }
#goods_list dd.name a:hover { text-decoration:underline; color:#595959; }
#goods_list .price { font-size:12px; font-style:italic; color:#f50; }
#goods_list .desc { color:#999; height:30px; }
#goods_list .more { text-align:right; padding:0 15px 0; }
#goods_list .more a { text-decoration:underline; color:#595959; }
}
-->
</style>
<script type="text/javascript">
<!--
widget.onLoad = function ()
{
widget_request();
}
widget.onRefresh = function()
{
widget_request();
}
function widget_request()
{
var request_url = "/widget/blog_sohu.php";
var domain = widget.getValue("domain");
var title = widget.getValue("title");
var num = widget.getValue("number");
domain = domain.replace("http://", '');
domain = 'http://' + domain;
if (!title)
{
title = "<22>ҵ<EFBFBD>С<EFBFBD><D0A1>";
}
if (domain)
{
widget.setTitle(title);
request_url = domain + request_url + '?num=' + num;
UWA.Data.getJson(request_url, show_goods)
}
}
function show_goods(obj)
{
var div = UWA.$element(widget.body.getElementsByTagName("div")[0]);
div.addClassName("main-div");
div.empty();
var goods = obj.goods;
if (goods.length > 0)
{
for (var i = 0; i < goods.length; i++)
{
var goods_link = obj.domain + 'goods.php?id=' + goods[i].goods_id;
var content = '<dl>';
content += '<dt><a href="' + goods_link + '" target="_blank"><img src="' + obj.domain + goods[i].goods_thumb + '" alt="' + goods[i].goods_name + '" /></a></dt>';
content += '<dd class="name"><3E><>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>:&nbsp;&nbsp;<a href="' + goods_link + '">' + goods[i].goods_name + '</a></dd>';
content += '<dd><3E><>Ʒ<EFBFBD>۸<EFBFBD>:&nbsp;&nbsp;<span class="price">' + goods[i].shop_price + '</span></dd>';
if (goods[i].promote_price > 0)
{
content += '<dd><3E><><EFBFBD><EFBFBD><EFBFBD>۸<EFBFBD>:&nbsp;&nbsp;<span class="price">' + goods[i].shop_price + '</span></dd>';
}
if (goods[i].goods_brief)
{
content += '<dd class="desc"><3E><>Ʒ<EFBFBD><C6B7><EFBFBD>:&nbsp;&nbsp;' + goods[i].goods_brief + '</dd>';
}
content += '</dl>';
div.addContent(content);
}
content = '<p class="more"><a href="' + obj.domain + '">&gt;&gt;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ</a></p>';
div.addContent(content);
}
}
-->
</script>
</head>
<body>
<div id="goods_list">
<EFBFBD><EFBFBD><EFBFBD>"<22><><EFBFBD><EFBFBD>",<2C><>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><>http://)<29><><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>,<2C>Ϳ<EFBFBD><CDBF><EFBFBD>չʾ<D5B9><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7>!<21><><EFBFBD><EFBFBD><EFBFBD>ʾ10<31><30><EFBFBD><EFBFBD>Ʒ.<br />
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><a href="http://www.maifou.net" target="_blank">http://www.maifou.net</a><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!
</div>
</body>
</html>