ecshop中can't json.parse 单引号to JSON这个错误怎么解决

解决echsop兼容jquery(transport.js的冲突)的问题 | 水清影明admin_logs.xml
ad_position.xml
article.xml
articlecat.xml
attribute.xml
bonus_type.xml
category.xml
comment_manage.xml
database.xml
friend_link.xml
goods_batch.xml
goods_booking.xml
goods_type.xml
group_buy.xml
integrate.xml
mail_template.xml
payment.xml
plugins.xml
privilege.xml
shipping.xml
shipping_area.xml
shophelp.xml
shopinfo.xml
snatch.xml
tag_manage.xml
template.xml
user_account.xml
user_msg.xml
user_rank.xml
column.swf
column3d.swf
MSColumn3D.swf
MSLine.swf
ScrollColumn2D.swf
ajax_loader.gif
area_link.gif
arrow_left.gif
arrow_right.gif
bg_repx.gif
book_open.gif
btn_close.gif
btn_drop.gif
btn_maximize.gif
btn_minimize.gif
button_bg.gif
color_selecter.gif
confirm.gif
ecshop_logo.gif
filecheck.gif
icon_account.gif
icon_add.gif
icon_copy.gif
icon_docs.gif
icon_drop.gif
icon_edit.gif
icon_js.gif
icon_output.gif
icon_priv.gif
icon_search.gif
icon_send_bonus.gif
icon_title.gif
icon_trash.gif
icon_view.gif
information.gif
loader.gif
login_line.gif
menu_arrow.gif
menu_minus.gif
menu_plus.gif
notice.gif
online.swf
online.wav
picflag.gif
picnoflag.gif
sort_asc.gif
sort_desc.gif
stepnum.gif
top_loader.gif
warning.gif
warning_small.gif
general.css
about_us.htm
account_info.htm
account_list.htm
admin_logs.htm
adsense.htm
ads_info.htm
ads_js.htm
ads_list.htm
ad_position_info.htm
ad_position_list.htm
affiliate.htm
affiliate_ck_list.htm
affiliate_list.htm
agency_info.htm
agency_list.htm
area_list.htm
articlecat_info.htm
articlecat_list.htm
article_info.htm
article_list.htm
attention_list.htm
attribute_info.htm
attribute_list.htm
auction_info.htm
auction_list.htm
auction_log.htm
back_info.htm
back_list.htm
batch_card_confirm.htm
batch_card_info.htm
bonus_by_goods.htm
bonus_by_print.htm
bonus_by_user.htm
bonus_list.htm
bonus_type.htm
bonus_type_info.htm
booking_info.htm
booking_list.htm
brand_info.htm
brand_list.htm
brand_search.htm
calculator.htm
captcha_manage.htm
card_info.htm
card_list.htm
category_info.htm
category_list.htm
category_move.htm
cc_list.htm
comment_info.htm
comment_list.htm
convert_main.htm
cron_edit.htm
cron_list.htm
db_backup.htm
db_restore.htm
delivery_info.htm
delivery_list.htm
dodolink_list.htm
ebao_list.htm
ebao_select.htm
email_list.htm
exchange_goods_info.htm
exchange_goods_list.htm
favourable_info.htm
favourable_list.htm
filecheck.htm
file_priv.html
flashplay_add.htm
flashplay_ccustom_edit.htm
flashplay_custom.htm
flashplay_custom_add.htm
flashplay_list.htm
flashplay_tab.htm
flow_stats.htm
gen_goods_script.htm
get_pwd.htm
goods_auto.htm
goods_batch_add.htm
goods_batch_confirm.htm
goods_batch_edit.htm
goods_batch_select.htm
goods_export.htm
goods_info.htm
goods_list.htm
goods_search.htm
goods_show_image.htm
goods_trash.htm
goods_type.htm
goods_type_info.htm
group_buy_info.htm
group_buy_list.htm
guest_stats.htm
integrates_check.htm
integrates_list.htm
integrates_modify.htm
integrates_points.htm
integrates_setup.htm
integrates_sync.htm
integrates_uc_import.htm
integrate_sync.htm
language_list.htm
license.htm
link_info.htm
link_list.htm
magazine_list.htm
magazine_list_add.htm
mail_template.htm
merge_order.htm
message.htm
message_info.htm
message_list.htm
message_view.htm
msg_add.htm
msg_info.htm
msg_list.htm
navigator.htm
navigator_add.htm
optimize.htm
order_delivery_info.htm
order_goods_info.htm
order_info.htm
order_list.htm
order_operate.htm
order_operate_info.htm
order_query.htm
order_refund.htm
order_stats.htm
order_step.htm
order_surplus_list.htm
order_templates.htm
package_info.htm
package_list.htm
pack_info.htm
pack_list.htm
pagefooter.htm
pageheader.htm
payment_edit.htm
payment_list.htm
picture_batch.htm
plugins.htm
print_index.htm
privilege_allot.htm
privilege_info.htm
privilege_list.htm
product_info.htm
reg_fields.htm
reg_field_info.htm
repay_info.htm
replenish_info.htm
replenish_list.htm
report_pv.htm
role_info.htm
role_list.htm
sale_general.htm
sale_list.htm
sale_order.htm
searchengine_stats.htm
search_log_list.htm
setting_first.htm
setting_second.htm
setting_third.htm
shipping_area_info.htm
shipping_area_list.htm
shipping_config.htm
shipping_list.htm
shipping_template.htm
shophelp_article_list.htm
shophelp_cat_list.htm
shophelp_info.htm
shopinfo_info.htm
shopinfo_list.htm
shop_config.htm
shop_config_form.htm
shop_config_mail_settings.htm
sitemap.htm
sms_charge_history.htm
sms_charge_history_query_ui.htm
sms_charge_ui.htm
sms_my_info.htm
sms_pages.htm
sms_register_ui.htm
sms_send_history.htm
sms_send_history_query_ui.htm
sms_send_ui.htm
snatch_info.htm
snatch_list.htm
snatch_view.htm
sql_dump_msg.htm
suppliers_info.htm
suppliers_list.htm
tag_edit.htm
tag_manage.htm
templates_backup.htm
templates_list.htm
template_library.htm
template_setup.htm
topic_edit.htm
topic_list.htm
users_list.htm
users_order.htm
user_account_check.htm
user_account_info.htm
user_account_list.htm
user_account_manage.htm
user_address_list.htm
user_info.htm
user_rank.htm
user_rank_info.htm
view_sendlist.htm
virtual_card_change.htm
visit_sold.htm
vote_info.htm
vote_list.htm
vote_option.htm
wholesale_batch_info.htm
wholesale_info.htm
wholesale_list.htm
ecshopfiles.md5
patch_num.bak
afficheimg
angsif.jpg
xuorxj.jpg
7558386.gif
8008371.gif
2211542.gif
7480223.gif
3141518.gif
5346754.gif
3233840.gif
2927496.gif
9999917.gif
2322759.gif
5218947.gif
0224531.gif
4184628.gif
9278498.gif
6716553.gif
0634065.gif
7572427.gif
8047486.gif
8195732.gif
0856940.gif
7015368.gif
3160654.gif
4622792.gif
7877983.gif
4648756.gif
1383580.gif
captcha_bg1.gif
captcha_bg1.jpg
captcha_bg2.gif
captcha_bg2.jpg
captcha_bg3.gif
captcha_bg3.jpg
captcha_bg4.gif
captcha_bg4.jpg
captcha_bg5.gif
captcha_bg5.jpg
7457261.jpg
feedbackimg
bcastr.swf
cycle_image.xml
preview.jpg
dynfocus.swf
preview.jpg
pinkfocus.swf
preview.jpg
preview.jpg
redfocus.swf
bcastr.swf
ecshop_slagon.jpg
pic-view.swf
1825791.jpg
xsnodr.sql
affiliate.html
cycle_image.xml
goods_script.html
order_print.html
quotation_print.html
virtual_goods_list.csv
10_G_1.jpg
10_P_0.jpg
12_G_9.jpg
12_P_0.jpg
12_P_6.jpg
12_P_1.jpg
13_G_3.jpg
13_P_0.jpg
13_P_9.jpg
14_G_2.jpg
14_P_9.jpg
14_P_1.jpg
14_P_4.jpg
15_G_8.jpg
15_P_6.jpg
16_G_2.jpg
16_P_8.jpg
17_G_7.jpg
17_P_4.jpg
19_G_1.jpg
19_P_0.jpg
19_P_0.jpg
19_P_7.jpg
20_G_3.jpg
20_P_2.gif
20_P_2.jpg
21_G_3.jpg
21_P_9.jpg
22_G_8.jpg
22_P_1.jpg
23_G_5.jpg
23_P_1.jpg
24_G_4.jpg
24_P_0.jpg
25_G_4.jpg
25_P_8.jpg
26_G_3.jpg
26_P_5.jpg
27_G_1.jpg
27_P_8.jpg
28_G_3.jpg
28_P_9.jpg
29_G_6.jpg
29_P_6.jpg
30_G_4.jpg
30_P_4.jpg
31_G_2.jpg
31_P_3.jpg
32_G_8.jpg
32_P_1.jpg
source_img
10_G_2.jpg
10_P_8.jpg
12_G_8.jpg
12_P_3.jpg
12_P_5.jpg
12_P_9.jpg
13_G_2.jpg
13_P_8.jpg
13_P_9.jpg
14_G_5.jpg
14_P_7.jpg
14_P_2.jpg
14_P_3.jpg
15_G_1.jpg
15_P_2.jpg
16_G_2.jpg
16_P_9.jpg
17_G_4.jpg
17_P_9.jpg
19_G_9.jpg
19_P_5.jpg
19_P_7.jpg
19_P_8.jpg
20_G_2.jpg
20_P_9.gif
20_P_6.jpg
21_G_1.jpg
21_P_9.jpg
22_G_0.jpg
22_P_6.jpg
23_G_6.jpg
23_P_2.jpg
24_G_7.jpg
24_P_4.jpg
25_G_0.jpg
25_P_2.jpg
26_G_3.jpg
26_P_1.jpg
27_G_9.jpg
27_P_6.jpg
28_G_5.jpg
28_P_0.jpg
29_G_4.jpg
29_P_0.jpg
30_G_7.jpg
30_P_5.jpg
31_G_9.jpg
31_P_2.jpg
32_G_7.jpg
32_P_3.jpg
10_thumb_G_3.jpg
10_thumb_P_9.jpg
12_thumb_G_0.jpg
12_thumb_P_5.jpg
12_thumb_P_5.jpg
12_thumb_P_3.jpg
13_thumb_G_7.jpg
13_thumb_P_0.jpg
13_thumb_P_3.jpg
14_thumb_G_6.jpg
14_thumb_P_8.jpg
14_thumb_P_4.jpg
14_thumb_P_5.jpg
15_thumb_G_0.jpg
15_thumb_P_1.jpg
16_thumb_G_3.jpg
16_thumb_P_5.jpg
17_thumb_G_7.jpg
17_thumb_P_7.jpg
19_thumb_G_8.jpg
19_thumb_P_9.jpg
19_thumb_P_7.jpg
19_thumb_P_6.jpg
1_thumb_G_0.jpg
1_thumb_P_9.jpg
1_thumb_P_6.jpg
1_thumb_P_5.jpg
1_thumb_P_0.jpg
1_thumb_P_9.jpg
20_thumb_G_8.jpg
20_thumb_P_6.jpg
21_thumb_G_0.jpg
21_thumb_P_5.jpg
22_thumb_G_3.jpg
22_thumb_P_5.jpg
23_thumb_G_9.jpg
23_thumb_P_0.jpg
24_thumb_G_9.jpg
24_thumb_P_4.jpg
25_thumb_G_5.jpg
25_thumb_P_0.jpg
26_thumb_G_3.jpg
26_thumb_P_1.jpg
27_thumb_G_8.jpg
27_thumb_P_5.jpg
28_thumb_G_6.jpg
28_thumb_P_7.jpg
29_thumb_G_9.jpg
29_thumb_P_6.jpg
30_thumb_G_0.jpg
30_thumb_P_6.jpg
31_thumb_G_6.jpg
31_thumb_P_4.jpg
32_thumb_G_6.jpg
32_thumb_P_7.jpg
3_thumb_G_9.jpg
3_thumb_P_0.jpg
4_thumb_G_7.jpg
4_thumb_P_9.jpg
5_thumb_G_6.jpg
5_thumb_P_6.jpg
7_thumb_G_2.jpg
7_thumb_P_9.jpg
8_thumb_G_8.jpg
8_thumb_P_4.jpg
8_thumb_P_0.jpg
8_thumb_P_6.jpg
8_thumb_P_7.jpg
9_thumb_G_5.jpg
9_thumb_P_7.jpg
afficheimg
angsif.jpg
xuorxj.jpg
7558386.gif
8008371.gif
2211542.gif
7480223.gif
3141518.gif
5346754.gif
3233840.gif
2927496.gif
9999917.gif
2322759.gif
5218947.gif
0224531.gif
4184628.gif
9278498.gif
6716553.gif
0634065.gif
7572427.gif
8047486.gif
8195732.gif
0856940.gif
7015368.gif
3160654.gif
4622792.gif
7877983.gif
4648756.gif
1383580.gif
7457261.jpg
loading.gif
loading2.gif
1825791.jpg
general.css
faq_en_us_utf-8.htm
faq_zh_cn_gbk.htm
faq_zh_cn_utf-8.htm
faq_zh_tw_utf-8.htm
notice.htm
10_G_1.jpg
10_P_0.jpg
12_G_9.jpg
12_P_0.jpg
12_P_6.jpg
12_P_1.jpg
13_G_3.jpg
13_P_0.jpg
13_P_9.jpg
14_G_2.jpg
14_P_9.jpg
14_P_1.jpg
14_P_4.jpg
15_G_8.jpg
15_P_6.jpg
16_G_2.jpg
16_P_8.jpg
17_G_7.jpg
17_P_4.jpg
19_G_1.jpg
19_P_0.jpg
19_P_0.jpg
19_P_7.jpg
20_G_3.jpg
20_P_2.gif
20_P_2.jpg
21_G_3.jpg
21_P_9.jpg
22_G_8.jpg
22_P_1.jpg
23_G_5.jpg
23_P_1.jpg
24_G_4.jpg
24_P_0.jpg
25_G_4.jpg
25_P_8.jpg
26_G_3.jpg
26_P_5.jpg
27_G_1.jpg
27_P_8.jpg
28_G_3.jpg
28_P_9.jpg
29_G_6.jpg
29_P_6.jpg
30_G_4.jpg
30_P_4.jpg
31_G_2.jpg
31_P_3.jpg
32_G_8.jpg
32_P_1.jpg
source_img
10_G_2.jpg
10_P_8.jpg
12_G_8.jpg
12_P_3.jpg
12_P_5.jpg
12_P_9.jpg
13_G_2.jpg
13_P_8.jpg
13_P_9.jpg
14_G_5.jpg
14_P_7.jpg
14_P_2.jpg
14_P_3.jpg
15_G_1.jpg
15_P_2.jpg
16_G_2.jpg
16_P_9.jpg
17_G_4.jpg
17_P_9.jpg
19_G_9.jpg
19_P_5.jpg
19_P_7.jpg
19_P_8.jpg
20_G_2.jpg
20_P_9.gif
20_P_6.jpg
21_G_1.jpg
21_P_9.jpg
22_G_0.jpg
22_P_6.jpg
23_G_6.jpg
23_P_2.jpg
24_G_7.jpg
24_P_4.jpg
25_G_0.jpg
25_P_2.jpg
26_G_3.jpg
26_P_1.jpg
27_G_9.jpg
27_P_6.jpg
28_G_5.jpg
28_P_0.jpg
29_G_4.jpg
29_P_0.jpg
30_G_7.jpg
30_P_5.jpg
31_G_9.jpg
31_P_2.jpg
32_G_7.jpg
32_P_3.jpg
10_thumb_G_3.jpg
10_thumb_P_9.jpg
12_thumb_G_0.jpg
12_thumb_P_5.jpg
12_thumb_P_5.jpg
12_thumb_P_3.jpg
13_thumb_G_7.jpg
13_thumb_P_0.jpg
13_thumb_P_3.jpg
14_thumb_G_6.jpg
14_thumb_P_8.jpg
14_thumb_P_4.jpg
14_thumb_P_5.jpg
15_thumb_G_0.jpg
15_thumb_P_1.jpg
16_thumb_G_3.jpg
16_thumb_P_5.jpg
17_thumb_G_7.jpg
17_thumb_P_7.jpg
19_thumb_G_8.jpg
19_thumb_P_9.jpg
19_thumb_P_7.jpg
19_thumb_P_6.jpg
1_thumb_G_0.jpg
1_thumb_P_9.jpg
1_thumb_P_6.jpg
1_thumb_P_5.jpg
1_thumb_P_0.jpg
1_thumb_P_9.jpg
20_thumb_G_8.jpg
20_thumb_P_6.jpg
21_thumb_G_0.jpg
21_thumb_P_5.jpg
22_thumb_G_3.jpg
22_thumb_P_5.jpg
23_thumb_G_9.jpg
23_thumb_P_0.jpg
24_thumb_G_9.jpg
24_thumb_P_4.jpg
25_thumb_G_5.jpg
25_thumb_P_0.jpg
26_thumb_G_3.jpg
26_thumb_P_1.jpg
27_thumb_G_8.jpg
27_thumb_P_5.jpg
28_thumb_G_6.jpg
28_thumb_P_7.jpg
29_thumb_G_9.jpg
29_thumb_P_6.jpg
30_thumb_G_0.jpg
30_thumb_P_6.jpg
31_thumb_G_6.jpg
31_thumb_P_4.jpg
32_thumb_G_6.jpg
32_thumb_P_7.jpg
3_thumb_G_9.jpg
3_thumb_P_0.jpg
4_thumb_G_7.jpg
4_thumb_P_9.jpg
5_thumb_G_6.jpg
5_thumb_P_6.jpg
7_thumb_G_2.jpg
7_thumb_P_9.jpg
8_thumb_G_8.jpg
8_thumb_P_4.jpg
8_thumb_P_0.jpg
8_thumb_P_6.jpg
8_thumb_P_7.jpg
9_thumb_G_5.jpg
9_thumb_P_7.jpg
dly_ems.jpg
dly_sf_express.jpg
dly_sto_express.jpg
dly_yto.jpg
dly_zto.jpg
no_picture.gif
tenpay.gif
tenpayc2c.jpg
wap_logo.png
big5-gb.table
gb-big5.table
ipdata.dat
disablehandles.htc
showtableborders.htc
block_address.png
block_blockquote.png
block_div.png
block_h1.png
block_h2.png
block_h3.png
block_h4.png
block_h5.png
block_h6.png
block_p.png
block_pre.png
fck_anchor.gif
fck_flashlogo.gif
fck_hiddenfield.gif
fck_pagebreak.gif
fck_plugin.gif
fck_editorarea.css
fck_internal.css
fck_showtableborders_gecko.css
locked.gif
unlocked.gif
fck_dialog_common.css
spellchecker_net.gif
logo_fckeditor.gif
logo_fredck.gif
fck_docprops
fck_document_preview.html
fck_flash_preview.html
fck_image_preview.html
fck_select
fck_spellerpages
spellerpages
server-scripts
spellchecker.cfm
spellchecker.pl
blank.html
controls.html
spellchecker.html
spellerStyle.css
fck_template
template1.gif
template2.gif
template3.gif
fck_UpFileBtn
fck_about.html
fck_anchor.html
fck_button.html
fck_checkbox.html
fck_colorselector.html
fck_docprops.html
fck_flash.html
fck_form.html
fck_hiddenfield.html
fck_image.html
fck_link.html
fck_listprop.html
fck_paste.html
fck_radiobutton.html
fck_replace.html
fck_select.html
fck_smiley.html
fck_source.html
fck_specialchar.html
fck_spellerpages.html
fck_table.html
fck_tablecell.html
fck_template.html
fck_textarea.html
fck_textfield.html
fck_UpFileBtn.html
fck_dtd_test.html
filemanager
default.icon.gif
default.icon.gif
ButtonArrow.gif
Folder.gif
Folder32.gif
FolderOpened.gif
FolderOpened32.gif
FolderUp.gif
spacer.gif
browser.css
browser.html
frmactualfolder.html
frmcreatefolder.html
frmfolders.html
frmresourceslist.html
frmresourcetype.html
frmupload.html
connectors
angel_smile.gif
angry_smile.gif
broken_heart.gif
confused_smile.gif
cry_smile.gif
devil_smile.gif
embaressed_smile.gif
envelope.gif
lightbulb.gif
omg_smile.gif
regular_smile.gif
sad_smile.gif
shades_smile.gif
teeth_smile.gif
thumbs_down.gif
thumbs_up.gif
tounge_smile.gif
whatchutalkingabout_smile.gif
wink_smile.gif
anchor.gif
arrow_ltr.gif
arrow_rtl.gif
spacer.gif
dialog.sides.gif
dialog.sides.png
dialog.sides.rtl.png
sprites.gif
sprites.png
toolbar.arrowright.gif
toolbar.buttonarrow.gif
toolbar.collapse.gif
toolbar.end.gif
toolbar.expand.gif
toolbar.separator.gif
toolbar.start.gif
fck_dialog.css
fck_editor.css
fck_strip.gif
fckdebug.html
fckdialog.html
fckeditor.html
fckeditor.original.html
fckeditor.cfc
fckpackager.xml
fckstyles.xml
fcktemplates.xml
license.txt
integrates
cls_ecshop.php.bak
data_en_us.sql
data_zh_cn.sql
data_zh_tw.sql
structure.sql
structure.sql.bak
install-bg.gif
install-step1-en_us.gif
install-step1-zh_cn.gif
install-step1-zh_tw.gif
install-step2-en_us.gif
install-step2-zh_cn.gif
install-step2-zh_tw.gif
install-step3-en_us.gif
install-step3-zh_cn.gif
install-step3-zh_tw.gif
install-step4-zh_cn.gif
loading.gif
loading2.gif
Step-step1-en_us.gif
Step-step1-zh_cn.gif
Step-step1-zh_tw.gif
Step-step2-en_us.gif
Step-step2-zh_cn.gif
Step-step2-zh_tw.gif
Step-step3-en_us.gif
Step-step3-zh_cn.gif
Step-step3-zh_tw.gif
general.css
license_en_us.htm
license_zh_cn.htm
license_zh_tw.htm
notice.htm
active-bg.gif
calendar.css
dark-bg.gif
hover-bg.gif
menuarrow.gif
normal-bg.gif
rowhover-bg.gif
status-bg.gif
title-bg.gif
article.html
article_list.html
brands.html
category.html
cat_all.html
comment.html
goods.html
goods_img.html
goods_list.html
index.html
login.html
order.html
order_done.html
order_list.html
search.html
user_passport.html
help.lbi.php
query_caches
static_caches
bnt_log.gif
bnt_reg.gif
box_2Bg.gif
foucsBg.gif
h3title.gif
helpTitbg.gif
itemH2Bg.gif
salesBg.gif
salesGoodBg.gif
salesTitBg.gif
searchBg.gif
topNavBg.gif
topNavR.gif
bnt_log.gif
bnt_reg.gif
box_2Bg.gif
foucsBg.gif
h3title.gif
helpTitbg.gif
itemH2Bg.gif
salesBg.gif
salesGoodBg.gif
salesTitBg.gif
searchBg.gif
topNavBg.gif
topNavR.gif
bnt_log.gif
bnt_reg.gif
box_2Bg.gif
foucsBg.gif
h3title.gif
helpTitbg.gif
itemH2Bg.gif
salesBg.gif
salesGoodBg.gif
salesTitBg.gif
searchBg.gif
topNavBg.gif
topNavR.gif
bnt_buy.gif
bnt_buy_1.gif
bnt_cat.gif
bnt_coll.gif
bnt_colles.gif
bnt_go.gif
bnt_home.gif
bnt_log.gif
bnt_recommend.gif
bnt_reg.gif
bnt_search.gif
bnt_sign.gif
bnt_subOrder.gif
bnt_top.gif
bnt_ur_log.gif
bnt_ur_reg.gif
box_2Bg.gif
brandBg.gif
checkout.gif
commentsBnt.gif
compareBg.gif
compareSub.gif
continue.gif
display_mode_grid.gif
display_mode_grid_act.gif
display_mode_list.gif
display_mode_list_act.gif
display_mode_text.gif
display_mode_text_act.gif
footerLine.gif
foucsBg.gif
goods_id_ASC.gif
goods_id_default.gif
goods_id_DESC.gif
h3title.gif
helpTitBg.gif
helpTitbg1.gif
inputbg.gif
itemH2Bg.gif
last_update_ASC.gif
last_update_default.gif
last_update_DESC.gif
lineBg.gif
linklogo.gif
menuBg.gif
moreBrands.gif
page01.gif
page02.gif
page03.gif
page04.gif
salesBg.gif
salesGoodBg.gif
salesTitBg.gif
screenshot.png
screenshot_coffee.png
screenshot_green.png
screenshot_pink.png
searchBg.gif
shop_price_ASC.gif
shop_price_default.gif
shop_price_DESC.gif
stars0.gif
stars1.gif
stars2.gif
stars3.gif
stars4.gif
stars5.gif
topNavBg.gif
topNavR.gif
top_10.gif
typecoffee_0.gif
typecoffee_1.gif
typegreen_0.gif
typegreen_1.gif
typepink_0.gif
typepink_1.gif
type_0.gif
type_1.gif
ur_bg1.gif
xml_rss2.gif
ad_position.lbi
article_category_tree.lbi
auction.lbi
bought_goods.lbi
bought_notes.lbi
bought_note_guide.lbi
brands.lbi
brand_goods.lbi
categorys.lbi
category_tree.lbi
cat_articles.lbi
cat_goods.lbi
comments.lbi
comments_list.lbi
consignee.lbi
email_list.lbi
exchange_hot.lbi
exchange_list.lbi
filter_attr.lbi
goods_article.lbi
goods_attrlinked.lbi
goods_fittings.lbi
goods_gallery.lbi
goods_list.lbi
goods_related.lbi
goods_tags.lbi
group_buy.lbi
history.lbi
index_ad.lbi
invoice_query.lbi
member.lbi
member_info.lbi
message_list.lbi
myship.lbi
new_articles.lbi
online.lbi
order_query.lbi
order_total.lbi
page_footer.lbi
page_header.lbi
price_grade.lbi
promotion_info.lbi
recommend_best.lbi
recommend_hot.lbi
recommend_new.lbi
recommend_promotion.lbi
relatetag.lbi
snatch.lbi
snatch_price.lbi
ur_here.lbi
user_menu.lbi
vote_list.lbi
activity.dwt
article.dwt
article_cat.dwt
article_pro.dwt
auction.dwt
auction_list.dwt
brand_list.dwt
catalog.dwt
category.dwt
compare.dwt
exchange_goods.dwt
exchange_list.dwt
gallery.dwt
group_buy_goods.dwt
group_buy_list.dwt
message.dwt
message_board.dwt
myship.dwt
package.dwt
pick_out.dwt
quotation.dwt
receive.dwt
respond.dwt
search.dwt
snatch.dwt
style_coffee.css
style_green.css
style_pink.css
tag_cloud.dwt
user_clips.dwt
user_passport.dwt
user_transaction.dwt
wholesale_list.dwt
default_old
activity_intro.gif
add_bonus.gif
add_cart.gif
affiliate_detail.gif
affiliate_rules.gif
all_brand.gif
all_cat.gif
all_tags.gif
arrow_black.gif
arrow_catalog.gif
arrow_compare.gif
arrow_orange.gif
articles_list.gif
article_category.gif
article_goods.gif
auction.gif
best_products.gif
bid_log.gif
blue_arrow.gif
booking.gif
brands.gif
btn_go.gif
btn_login.gif
buy_button.gif
buy_button1.gif
cart_bg.gif
cart_goods.gif
category.gif
cat_arrow.gif
cat_bg.jpg
cell_title_bg.gif
checkout.gif
circle.gif
collect.gif
comments.gif
comment_bottom.gif
consignee.gif
consignee_add.gif
consignee_drop.gif
consignee_edit.gif
consignee_use.gif
content-bg.gif
content-bg2.gif
content-bg3.gif
content-bg4.gif
continue.gif
detail.gif
display_mode_grid.gif
display_mode_grid_act.gif
display_mode_list.gif
display_mode_list_act.gif
display_mode_text.gif
display_mode_text_act.gif
ecshop.gif
exchange.gif
fitting.gif
footer_bg.gif
forget.gif
gallery.gif
goods_article.gif
goods_list.gif
green_arrow.gif
grey_arrow.gif
group_buy.gif
group_buy_desc.gif
history.gif
hot_products.gif
icon_search.gif
invoice_query.gif
line_through.gif
login_bg.gif
login_bg.jpg
login_right.gif
member.gif
memeber_login.gif
memeber_login.jpg
merge_order.gif
modify.gif
msg_delete.gif
msg_reply.gif
msg_title.gif
my_bonus.gif
my_collection.gif
my_comment.gif
my_consignee.gif
my_favorite.gif
my_feedback.gif
my_next.gif
my_order.gif
my_price.gif
my_recommend.gif
my_tags.gif
news_arrow.gif
news_bg.gif
news_bg_1.gif
new_article.gif
new_products.gif
notice.gif
no_picture.gif
order_others.gif
order_query.gif
order_status.gif
order_submit.gif
order_total.gif
package.gif
page_left.gif
page_right.gif
payment.gif
pay_online.gif
pick_out.gif
price_grade.gif
price_ladder.gif
profile.gif
promotion.gif
properties.gif
rank_1.gif
rank_10.gif
rank_2.gif
rank_3.gif
rank_4.gif
rank_5.gif
rank_6.gif
rank_7.gif
rank_8.gif
rank_9.gif
recommend_btn.gif
recommend_code.gif
register.gif
related.gif
screenshot.png
search_advanced.gif
search_result.gif
shipping.gif
sign_in.gif
slogan_right.gif
slogan_right.jpg
snatch_bid.gif
snatch_goods.gif
snatch_list.gif
snatch_price.gif
stars0.gif
stars1.gif
stars2.gif
stars3.gif
stars4.gif
stars5.gif
subscription.gif
tab_back.gif
tab_front.gif
tab_title.gif
top_10.gif
top_11.gif
top_12.gif
top_13.gif
top_14.gif
top_15.gif
top_16.gif
top_17.gif
top_18.gif
top_19.gif
top_20.gif
track_packages.gif
user_surplus.gif
warning.gif
watermark.gif
watermark_best.png
watermark_best_small.png
watermark_hot.png
watermark_hot_small.png
watermark_new.png
watermark_new_small.png
watermark_promote.png
watermark_promote_small.png
wholesale_cart.gif
wholesale_list.gif
xml_rss2.gif
your_picking.gif
ad_position.lbi
article_category_tree.lbi
auction.lbi
bought_goods.lbi
brands.lbi
brand_goods.lbi
categorys.lbi
category_tree.lbi
cat_articles.lbi
cat_goods.lbi
comments.lbi
comments_list.lbi
consignee.lbi
email_list.lbi
filter_attr.lbi
goods_article.lbi
goods_attrlinked.lbi
goods_fittings.lbi
goods_gallery.lbi
goods_list.lbi
goods_related.lbi
goods_tags.lbi
group_buy.lbi
history.lbi
invoice_query.lbi
member.lbi
member_info.lbi
message_list.lbi
myship.lbi
new_articles.lbi
online.lbi
order_query.lbi
order_total.lbi
page_footer.lbi
page_header.lbi
price_grade.lbi
promotion_info.lbi
recommend_best.lbi
recommend_hot.lbi
recommend_new.lbi
recommend_promotion.lbi
relatetag.lbi
search_form.lbi
snatch.lbi
snatch_price.lbi
ur_here.lbi
user_menu.lbi
vote_list.lbi
activity.dwt
article.dwt
article_cat.dwt
article_pro.dwt
auction.dwt
auction_list.dwt
catalog.dwt
category.dwt
compare.dwt
gallery.dwt
group_buy_goods.dwt
group_buy_list.dwt
message.dwt
message_board.dwt
myship.dwt
pick_out.dwt
quotation.dwt
receive.dwt
respond.dwt
search.dwt
snatch.dwt
tag_cloud.dwt
user_clips.dwt
user_passport.dwt
user_transaction.dwt
wholesale_list.dwt
biao10.gif
biao11.gif
biao12.gif
biao13.gif
biao14.gif
biao15.gif
biao16.gif
biao17.gif
biao18.gif
bnt_buy.gif
bnt_buy_1.gif
bnt_cat.gif
bnt_cat1.gif
bnt_coll.gif
bnt_colles.gif
bnt_go.gif
bnt_home.gif
bnt_log.gif
bnt_reg.gif
bnt_search.gif
bnt_sign.gif
bnt_subOrder.gif
bnt_subOrder.psd
bnt_ur_log.gif
bnt_ur_reg.gif
box_2Bg.gif
brandBg.gif
brands.gif
brands_r.gif
btn_fold.gif
btn_unfold.gif
buy_box.gif
category_all.gif
category_tit.gif
cat_tit_bg.gif
cat_tit_l.gif
checkout.gif
commentsBnt.gif
compareBg.gif
compareSub.gif
continue.gif
display_mode_grid.gif
display_mode_grid_act.gif
display_mode_list.gif
display_mode_list_act.gif
display_mode_text.gif
display_mode_text_act.gif
footerLine.gif
foucsBg.gif
goods_id_ASC.gif
goods_id_default.gif
goods_id_DESC.gif
goods_mode.gif
h3title.gif
header_bg.gif
helpTitBg.gif
helpTitbg1.gif
help_bg.gif
help_center_t.gif
hot_box_l.gif
icon_star.jpg
ico_baidu.gif
ico_douban.gif
ico_kaixin.gif
ico_qq.gif
ico_qqshuqian.gif
ico_renren.gif
ico_sina.gif
ico_yahoo.gif
index_cat_bgb.png
index_cat_bgc.gif
index_cat_bgc.png
inputbg.gif
itemH2Bg.gif
jiamen.gif
jiesuan.gif
kefu_box.gif
last_update_ASC.gif
last_update_default.gif
last_update_DESC.gif
leftad1.jpg
leftad2.jpg
leftad3.jpg
lineBg.gif
line_1.gif
linklogo.gif
login_bg.gif
menuBg.gif
meun_a_bg.gif
meun_on.gif
moreBrands.gif
nav_bg.gif
new_articl_bg.gif
page01.gif
page02.gif
page03.gif
page04.gif
picr_1.gif
price_bg.gif
quick_bg.gif
regist.gif
remai_bg.gif
salesBg.gif
sale_tit.gif
screenshot.png
searchBg.gif
search_bg.gif
search_box_l.gif
search_box_m.gif
search_box_r.gif
search_r.gif
service.gif
shopex5.gif
shop_price_ASC.gif
shop_price_default.gif
shop_price_DESC.gif
shoucang.gif
shoucang2.gif
stars0.gif
stars1.gif
stars2.gif
stars3.gif
stars4.gif
stars5.gif
step_1.gif
step_2.gif
step_3.gif
step_4.gif
tab1_a.gif
tab1_b.gif
tab_bg.gif
tijiao.gif
tit3_bg.gif
topNavBg.gif
topNavR.gif
top_10.gif
tuijian.gif
ur_bg1.gif
ur_here.gif
user_tit1.gif
user_tit2.gif
user_tit3.gif
user_tit_bg.gif
watermark_best.gif
watermark_best_small.gif
watermark_hot.gif
watermark_hot_small.gif
watermark_new.gif
watermark_new_small.gif
watermark_promote.gif
watermark_promote_small.gif
xiazai.gif
xml_rss2.gif
youhui.gif
yuajiaol.png
yuajiaor.png
zoom_2.gif
mzp-packed-me.js重名
ad_position.lbi
article_category_tree.lbi
auction.lbi
bought_goods.lbi
bought_notes.lbi
bought_note_guide.lbi
brands.lbi
brand_goods.lbi
categorys.lbi
category_tree.lbi
category_tree2.lbi
category_tree3.lbi
category_tree_index.lbi
cat_articles.lbi
cat_goods.lbi
cat_goods2.lbi
comments.lbi
comments_list.lbi
consignee.lbi
email_list.lbi
exchange_hot.lbi
exchange_list.lbi
fenxiang.lbi
filter_attr.lbi
goods_article.lbi
goods_attrlinked.lbi
goods_fittings.lbi
goods_gallery.lbi
goods_list.lbi
goods_related.lbi
goods_tags.lbi
group_buy.lbi
gundong.lbi
history.lbi
index_ad.lbi
index_ad2.lbi
index_comm.lbi
invoice_query.lbi
left_ad.lbi
left_help.lbi
left_hot.lbi
member.lbi
member_info.lbi
message_list.lbi
myship.lbi
new_articles.lbi
online.lbi
order_done.lbi
order_query.lbi
order_total.lbi
page_footer.lbi
page_header.lbi
page_header_index.lbi
price_grade.lbi
promotion_info.lbi
recommend_best.lbi
recommend_hot.lbi
recommend_hot2.lbi
recommend_new.lbi
recommend_promotion.lbi
relatetag.lbi
remai_box.lbi
snatch.lbi
snatch_price.lbi
tag_bx.lbi
tag_ps.lbi
tag_zf.lbi
ur_here.lbi
user_menu.lbi
vote_list.lbi
youhui.lbi
youqin.lbi
activity.dwt
article.dwt
article_cat.dwt
article_pro.dwt
auction.dwt
auction_list.dwt
brand_list.dwt
catalog.dwt
category.dwt
category_top.dwt
compare.dwt
exchange_goods.dwt
exchange_list.dwt
gallery.dwt
goods_mode.dwt
group_buy_goods.dwt
group_buy_list.dwt
index2.dwt
message.dwt
message_board.dwt
myship.dwt
package.dwt
pick_out.dwt
quotation.dwt
receive.dwt
respond.dwt
search.dwt
snatch.dwt
tag_cloud.dwt
user_clips.dwt
user_passport.dwt
user_transaction.dwt
wholesale_list.dwt
article.wml
article_list.wml
brands.wml
category.wml
comment.wml
goods_img.wml
goods_list.wml
order_list.wml
screenshot.jpg
thumbnail.jpg
blog_sohu.xhtml
animated_favicon.gif
favicon.ico
htaccess.txt
robots.txt
suggest.css
transport.js
* @description
鐢ㄤ簬鏀?寔AJAX鐨勪紶杈撶被銆?
ECShop R&D Team ( / )
* @license
Licensed under the Academic Free License 2.1 http://www.opensource.org/licenses/afl-2.1.php
* @version
var Transport =
* 瀛樺偍鏈??璞℃墍鍦ㄧ殑鏂囦欢鍚嶃EUR?
filename : &transport.js&,
* 瀛樺偍鏄?惁杩涘叆璋冭瘯妯″紡鐨勫紑鍏筹紝鎵撳嵃璋冭瘯娑堟伅鐨勬柟寮忥紝鎹㈣?绗︼紝璋冭瘯鐢ㄧ殑瀹瑰櫒鐨処D銆?
* @private
debugging :
isDebugging : 0,
debuggingMode : 0,
linefeed : &&,
containerId : 0
* 璁剧疆璋冭瘯妯″紡浠ュ強鎵撳嵃璋冭瘯娑堟伅鏂瑰紡鐨勬柟娉曘EUR?
鏄?惁鎵撳紑璋冭瘯妯″紡
0锛氬叧闂?紝1锛氭墦寮EUR
鎵撳嵃璋冭瘯娑堟伅鐨勬柟寮?
0锛歛lert锛?锛歩nnerHTML
debug : function (isDebugging, debuggingMode)
this.debugging =
&isDebugging& : isDebugging,
&debuggingMode& : debuggingMode,
&linefeed& : debuggingMode ? &&br /&& : &\n&,
&containerId& : &dubugging-container& + new Date().getTime()
* 浼犺緭瀹屾瘯鍚庤嚜鍔ㄨ皟鐢ㄧ殑鏂规硶锛屼紭鍏堢骇姣旂敤鎴蜂粠run()鏂规硶涓?紶鍏ョ殑鍥炶皟鍑芥暟楂樸EUR?
onComplete : function ()
* 浼犺緭杩囩▼涓?嚜鍔ㄨ皟鐢ㄧ殑鏂规硶銆?
onRunning : function ()
* 璋冪敤姝ゆ柟娉曞彂閫丠TTP璇锋眰銆?
璇锋眰鐨刄RL鍦板潃
鍙戦EUR佸弬鏁?
{Function}
鍥炶皟鍑芥暟
ransferMode
璇锋眰鐨勬柟寮忥紝鏈?GET&鍜?POST&涓ょ?
responseType
鍝嶅簲绫诲瀷锛屾湁&JSON&銆?XML&鍜?TEXT&涓夌?
鏄?惁寮傛?璇锋眰鐨勬柟寮?
鏄?惁瀹夐潤妯″紡璇锋眰
run : function (url, params, callback, transferMode, responseType, asyn, quiet)
/* 澶勭悊鐢ㄦ埛鍦ㄨ皟鐢ㄨ?鏂规硶鏃惰緭鍏ョ殑鍙傛暟 */
params = this.parseParams(params);
transferMode = typeof(transferMode) === &string&
&& transferMode.toUpperCase() === &GET&
if (transferMode === &GET&)
var d = new Date();
url += params ? (url.indexOf(&?&) === - 1 ? &?& : &&&) + params : &&;
url = encodeURI(url) + (url.indexOf(&?&) === - 1 ? &?& : &&&) + d.getTime() + d.getMilliseconds();
responseType = typeof(responseType) === &string& && ((responseType = responseType.toUpperCase()) === &JSON& || responseType === &XML&) ? responseType : &TEXT&;
asyn = asyn === false ? false :
/* 澶勭悊HTTP璇锋眰鍜屽搷搴?*/
var xhr = this.createXMLHttpRequest();
var self =
if (typeof(self.onRunning) === &function& && !quiet)
self.onRunning();
xhr.open(transferMode, url, asyn);
if (transferMode === &POST&)
xhr.setRequestHeader(&Content-Type&, &application/x-www-form-urlencoded&);
xhr.onreadystatechange = function ()
if (xhr.readyState == 4)
switch ( xhr.status )
case 200: // OK!
* If the request was to create a new resource
* (such as post an item to the database)
* You could instead return a status code of '201 Created'
if (typeof(self.onComplete) === &function&)
self.onComplete();
if (typeof(callback) === &function&)
callback.call(self, self.parseResult(responseType, xhr), xhr.responseText);
case 304: // Not Modified
* This would be used when your Ajax widget is
* checking for updated content,
* such as the Twitter interface.
case 400: // Bad Request
* A bit like a safety net for requests by your JS interface
* that aren't supported on the server.
* &Your browser made a request that the server cannot understand&
alert(&XmlHttpRequest status: [400] Bad Request&);
case 404: // Not Found
alert(&XmlHttpRequest status: [404] \nThe requested URL &+url+& was not found on this server.&);
case 409: // Conflict
* Perhaps your JavaScript request attempted to
* update a Database record
* but failed due to a conflict
* (eg: a field that must be unique)
case 503: // Service Unavailable
* A resource that this request relies upon
* is currently unavailable
* (eg: a file is locked by another process)
alert(&XmlHttpRequest status: [503] Service Unavailable&);
alert(&XmlHttpRequest status: [& + xhr.status + &] Unknow status.&);
if (xhr != null) xhr.send(params);
if (typeof(self.onRunning) === &function&)
self.onRunning();
xhr.send(params);
var result = self.parseResult(responseType, xhr);
if (typeof(self.onComplete) === &function&)
self.onComplete();
if (typeof(callback) === &function&)
callback.call(self, result, xhr.responseText);
catch (ex)
if (typeof(self.onComplete) === &function&)
self.onComplete();
alert(this.filename + &/run() error:& + ex.description);
* 濡傛灉寮EUR鍚?簡璋冭瘯妯″紡锛岃?鏂规硶浼氭墦鍗板嚭鐩稿簲鐨勪俊鎭?EUR?
* @private
璋冭瘯淇℃伅
淇℃伅绫诲瀷
displayDebuggingInfo : function (info, type)
if ( ! this.debugging.debuggingMode)
alert(info);
var id = this.debugging.containerId;
if ( ! document.getElementById(id))
div = document.createElement(&DIV&);
div.style.position = &absolute&;
div.style.width = &98%&;
div.style.border = &1px solid #f00&;
div.style.backgroundColor = &#eef&;
var pageYOffset = document.body.scrollTop
|| window.pageYOffset
div.style.top = document.body.clientHeight * 0.6
+ pageYOffset
document.body.appendChild(div);
div.innerHTML = &&div&&/div&&
+ &&hr style='height:1border:1'&&
+ &&div&&/div&&;
var subDivs = div.getElementsByTagName(&DIV&);
if (type === &param&)
subDivs[0].innerHTML =
subDivs[1].innerHTML =
* 鍒涘缓XMLHttpRequest瀵硅薄鐨勬柟娉曘EUR?
* @private
杩斿洖涓EUR涓猉MLHttpRequest瀵硅薄
createXMLHttpRequest : function ()
if (window.ActiveXObject)
var versions = ['Microsoft.XMLHTTP', 'MSXML6.XMLHTTP', 'MSXML5.XMLHTTP', 'MSXML4.XMLHTTP', 'MSXML3.XMLHTTP', 'MSXML2.XMLHTTP', 'MSXML.XMLHTTP'];
for (var i = 0; i & versions. i ++ )
xhr = new ActiveXObject(versions[i]);
catch (ex)
xhr = new XMLHttpRequest();
* 褰撲紶杈撹繃绋嬪彂鐢熼敊璇?椂灏嗚皟鐢ㄦ?鏂规硶銆?
* @private
XMLHttpRequest瀵硅薄
HTTP璇锋眰鐨勫湴鍧EUR
onXMLHttpRequestError : function (xhr, url)
throw &URL: & + url + &\n&
&readyState: & + xhr.readyState + &\n&
+ &state: & + xhr.status + &\n&
+ &headers: & + xhr.getAllResponseHeaders();
* 瀵瑰皢瑕佸彂閫佺殑鍙傛暟杩涜?鏍煎紡鍖栥EUR?
* @private
* @params {mix}
灏嗚?鍙戦EUR佺殑鍙傛暟
* @return 杩斿洖鍚堟硶鐨勫弬鏁?
* @type string
parseParams : function (params)
var legalParams = &&;
params = params ? params : &&;
if (typeof(params) === &string&)
legalParams =
else if (typeof(params) === &object&)
legalParams = &JSON=& + params.toJSONString();
catch (ex)
alert(&Can't stringify JSON!&);
alert(&Invalid parameters!&);
if (this.debugging.isDebugging)
var lf = this.debugging.linefeed,
info = &[Original Parameters]& + lf + params + lf + lf
+ &[Parsed Parameters]& + lf + legalP
this.displayDebuggingInfo(info, &param&);
return legalP
* 瀵硅繑鍥炵殑HTTP鍝嶅簲缁撴灉杩涜?杩囨护銆?
HTTP鍝嶅簲缁撴灉
杩斿洖杩囨护鍚庣殑缁撴灉
* @type string
preFilter : function (result)
return result.replace(/\xEF\xBB\xBF/g, &&);
* 瀵硅繑鍥炵殑缁撴灉杩涜?鏍煎紡鍖栥EUR?
* @private
* @return 杩斿洖鐗瑰畾鏍煎紡鐨勬暟鎹?粨鏋?
* @type mix
parseResult : function (responseType, xhr)
var result =
switch (responseType)
case &JSON& :
result = this.preFilter(xhr.responseText);
result = result.parseJSON();
catch (ex)
throw this.filename + &/parseResult() error: can't parse to JSON.\n\n& + xhr.responseT
case &XML& :
result = xhr.responseXML;
case &TEXT& :
result = this.preFilter(xhr.responseText);
throw this.filename + &/parseResult() error: unknown response type:& + responseT
if (this.debugging.isDebugging)
var lf = this.debugging.linefeed,
info = &[Response Result of & + responseType + & Format]& + lf
if (responseType === &JSON&)
info = &[Response Result of TEXT Format]& + lf
+ xhr.responseText + lf + lf
this.displayDebuggingInfo(info, &result&);
/* 瀹氫箟涓や釜鍒?悕 */
var Ajax = T
Ajax.call = Transport.
Public Domain
This file adds these methods to JavaScript:
array.toJSONString()
boolean.toJSONString()
date.toJSONString()
number.toJSONString()
object.toJSONString()
string.toJSONString()
These methods produce a JSON text from a JavaScript value.
It must not contain any cyclical references. Illegal values
will be excluded.
The default conversion for dates is to an ISO string. You can
add a toJSONString method to any date object to get a different
representation.
string.parseJSON(filter)
This method parses a JSON text to produce an object or
array. It can throw a SyntaxError exception.
The optional filter parameter is a function which can filter and
transform the results. It receives each of the keys and values, and
its return value is used instead of the original value. If it
returns what it received, then structure is not modified. If it
returns undefined then the member is deleted.
// Parse the text. If a key contains the string 'date' then
// convert the value to a date.
myData = text.parseJSON(function (key, value) {
return key.indexOf('date') &= 0 ? new Date(value) :
It is expected that these methods will formally become part of the
JavaScript Programming Language in the Fourth Edition of the
ECMAScript standard in 2008.
// Augment the basic prototypes if they have not already been augmented.
if ( ! Object.prototype.toJSONString) {
Array.prototype.toJSONString = function () {
var a = ['['], // The array holding the text fragments.
// A boolean indicating that a comma is required.
// Loop counter.
l = this.length,
// The value to be stringified.
function p(s) {
// p accumulates text fragments in an array. It inserts a comma before all
// except the first fragment.
a.push(',');
a.push(s);
// For each value in this array...
for (i = 0; i & i ++) {
v = this[i];
switch (typeof v) {
// Values without a JSON representation are ignored.
case 'undefined':
case 'function':
case 'unknown':
// Serialize a JavaScript object value. Ignore objects thats lack the
// toJSONString method. Due to a specification error in ECMAScript,
// typeof null is 'object', so watch out for that case.
case 'object':
if (typeof v.toJSONString === 'function') {
p(v.toJSONString());
p(&null&);
// Otherwise, serialize the value.
p(v.toJSONString());
// Join all of the fragments together and return.
a.push(']');
return a.join('');
Boolean.prototype.toJSONString = function () {
return String(this);
Date.prototype.toJSONString = function () {
// Ultimately, this method will be equivalent to the date.toISOString method.
function f(n) {
// Format integers to have at least two digits.
return n & 10 ? '0' + n :
return '&' + this.getFullYear() + '-' +
f(this.getMonth() + 1) + '-' +
f(this.getDate()) + 'T' +
f(this.getHours()) + ':' +
f(this.getMinutes()) + ':' +
f(this.getSeconds()) + '&';
Number.prototype.toJSONString = function () {
// JSON numbers must be finite. Encode non-finite numbers as null.
return isFinite(this) ? String(this) : &null&;
Object.prototype.toJSONString = function () {
var a = ['{'],
// The array holding the text fragments.
// A boolean indicating that a comma is required.
// The current key.
// The current value.
function p(s) {
// p accumulates text fragment pairs in an array. It inserts a comma before all
// except the first fragment pair.
a.push(',');
a.push(k.toJSONString(), ':', s);
// Iterate through all of the keys in the object, ignoring the proto chain.
for (k in this) {
if (this.hasOwnProperty(k)) {
v = this[k];
switch (typeof v) {
// Values without a JSON representation are ignored.
case 'undefined':
case 'function':
case 'unknown':
// Serialize a JavaScript object value. Ignore objects that lack the
// toJSONString method. Due to a specification error in ECMAScript,
// typeof null is 'object', so watch out for that case.
case 'object':
if (this !== window)
if (typeof v.toJSONString === 'function') {
p(v.toJSONString());
p(&null&);
p(v.toJSONString());
// Join all of the fragments together and return.
a.push('}');
return a.join('');
(function (s) {
// Augment String.prototype. We do this in an immediate anonymous function to
// avoid defining global variables.
// m is a table of character substitutions.
'\b': '\\b',
'\t': '\\t',
'\n': '\\n',
'\f': '\\f',
'\r': '\\r',
'&' : '\\&',
'\\': '\\\\'
s.parseJSON = function (filter) {
// Parsing happens in three stages. In the first stage, we run the text against
// a regular expression which looks for non-JSON characters. We are especially
// concerned with '()' and 'new' because they can cause invocation, and '='
// because it can cause mutation. But just to be safe, we will reject all
// unexpected characters.
if (/^(&(\\.|[^&\\\n\r])*?&|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/.
test(this)) {
// In the second stage we use the eval function to compile the text into a
// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
// in JavaScript: it can begin a block or an object literal. We wrap the text
// in parens to eliminate the ambiguity.
var j = eval('(' + this + ')');
// In the optional third stage, we recursively walk the new structure, passing
// each name/value pair to a filter function for possible transformation.
if (typeof filter === 'function') {
function walk(k, v) {
if (v && typeof v === 'object') {
for (var i in v) {
if (v.hasOwnProperty(i)) {
v[i] = walk(i, v[i]);
return filter(k, v);
j = walk('', j);
} catch (e) {
// Fall through if the regexp test fails.
throw new SyntaxError(&parseJSON&);
s.toJSONString = function () {
// If the string contains no control characters, no quote characters, and no
// backslash characters, then we can simply slap some quotes around it.
// Otherwise we must also replace the offending characters with safe
// sequences.
// add by weberliu @
var _self = this.replace(&&&, &%26&);
if (/[&\\\x00-\x1f]/.test(this)) {
return '&' + _self.replace(/([\x00-\x1f\\&])/g, function(a, b) {
var c = m[b];
c = b.charCodeAt();
return '\\u00' +
Math.floor(c / 16).toString(16) +
(c % 16).toString(16);
}) + '&';
return '&' + _self + '&';
})(String.prototype);
Ajax.onRunning
Ajax.onComplete = hideL
* 鏄剧ず杞藉叆淇℃伅
function showLoader()
document.getElementsByTagName('body').item(0).style.cursor = &wait&;
if (top.frames['header-frame'] && top.frames['header-frame'].document.getElementById(&load-div&))
top.frames['header-frame'].document.getElementById(&load-div&).style.display = &block&;
var obj = document.getElementById('loader');
if ( ! obj && typeof(process_request) != 'undefined')
obj = document.createElement(&DIV&);
obj.id = &loader&;
obj.innerHTML = process_
document.body.appendChild(obj);
* 闅愯棌杞藉叆淇℃伅
function hideLoader()
document.getElementsByTagName('body').item(0).style.cursor = &auto&;
if (top.frames['header-frame'] && top.frames['header-frame'].document.getElementById(&load-div&))
setTimeout(function(){top.frames['header-frame'].document.getElementById(&load-div&).style.display = &none&}, 10);
var obj = document.getElementById(&loader&);
obj.style.display = 'none';
document.body.removeChild(obj);
catch (ex)
Copyright(C)
OKBASE.NET All Rights Reserved 好库网 版权所有

我要回帖

更多关于 json.parse 的文章

 

随机推荐