2013年6月23日星期日

做了个噩梦

现在回想起昨晚或凌晨的梦,还真有点后怕。莫名其妙做了噩梦,梦见自己跟村里邻居吵架,邻居开了我一枪,然后我耳朵里就剩下我的声音,之后我不但没死,还拳打脚踢徒手把邻居大死了。然后我就开始很害怕我即将接受牢狱之灾,失去自由,失去生命,与亲人分离。

接着警察来了,也没有进门,我跟哥哥去开大门,然后有人拿了单子让我签单就走了。之后的画面就是想如何逃跑,往哪个城市跑。然后一直对自己说我怎么可能干这种事,这是梦吧?一定是在做梦?一直努力的问家里我这是在做梦吧?然而家里的回答都是否定的。

在我很绝望的时候,竟然醒来了。

非常可怕的梦

------------------------------------------------ Original from:杜岚虾米 做了个噩梦

2013年6月20日星期四

互联网很强大

通过这次寻人,真正感受到互联网真的很强大!应验了有人说的这个世界只要通过几个人就能把你跟另一个人联系起来。这次帮大姨寻找马来西亚的伯父,真的中间就经过三,四个人的帮助就联系上了。首先是互联网的方便(墙内的互联网不算),其实是大马人热情及热心帮助,再者就是要找的人在当地也有点知名度。因此不到3天就联系上了,真的很幸运,很开心。

总结一下整个寻人过程。手头有的资料就是英文姓名,地址。

第一步:.google map 上找到了大概的地理位置。知道要找的城市中文名峇株巴辖。之后通过查找伯父地址附近的商家,找到附近的一家酒店电话,打过去联系客服说明来电缘由。客服态度还是很好的,答应帮忙找,虽然找的概率很小,但是还是很暖人心了,至少让我对大马 人有了很好的印象,让我有勇气继续找可能的电话打下去。

第二步:根据城市名,找到一些当地华人商会,会馆联系方式。打了福建会馆,遗憾的是福建会馆说没有这个人。后来FB上给潮州会馆留言,在他们答应帮忙试看看的情况下,把相关信息给了他们。

第三步:同时在当地著名论坛爆米花论坛留言找人信息。很快就有人帮忙联系了同金辖会馆,并确定有这个人,并提供了准确地址,及其儿子的信息。

第四步:把金同夏会馆提供的额外信息,发给潮州会馆。晚上FB就有了回复,说找到了,会把我的信息转给相关人联系我。

第五步:第二天就有人联系了我。很是开心。

这样,大姨失去联系多年的海外亲戚就重新联系上了。

接下来就是做做马来西亚旅行的功课了。

 

 

------------------------------------------------ Original from:杜岚虾米 互联网很强大

2013年6月8日星期六

早起的感觉真好

很久没有呼吸到早晨的空气了。为了赶7点的动车回家,不得不承认当闹钟响起时,真有千百个不愿意,必须鼓起十足的决心才能使自己从床上脱离干净。

起床那一刹那真心痛苦。但是当过了几分钟后,自己身体唤醒大脑后,那种感脚犹如电脑重启一样,思路清晰,反映敏捷,真心希望自己永远保持在这种状态中。

城市是多面的,我们认识的城市大都是白天的一面。当每天面对拥挤不堪的城市,对它早已麻木时,没想到清晨的城市还能给人惊喜。稀少的车辆,寥寥无几的行人,整个城市一下安静宽敞了许多。

------------------------------------------------ Original from:杜岚虾米 早起的感觉真好

2013年5月25日星期六

香格里拉民俗风情五日游

Day01: 从香格里拉接机后, 入住酒店。

Day02:开车前往孜尼(体验真实的藏族生活,民风民俗,品尝藏族饮食习惯比如:糌粑,跳藏族锅庄。糌粑是藏族 牧民 传统主食 之一。“糌粑”是炒面 的藏语译音,它是藏族 人民天天必吃的主食 ,在藏族同胞家作客,主人一定会给你双手端来喷香的奶茶 和青稞 炒面,金黄的酥油 和奶黄的“曲拉 ”(干酪素)、糖叠叠层层摆满桌。

Da03: 返回香格里拉开车前往奔子栏从中甸开车2个小时,便到了奔子栏。这两个小时的路程,海拔直降一千多米,旅者常常脱去厚重的外衣,尽情享受温暖的空气、绿油油的田野和一杯冰啤酒。金沙江右岸和陡峭的白茫雪山间这片狭长的土地上,貌不惊人的奔子栏地处滇西北入藏或四川地要地,曾经是茶马古道上的重镇;这里的锅庄更是闻名藏区。奔子栏方圆所到之处,都是卧虎藏龙的所在: 岗觉村杜鹃木打造的漆器;尼西特有的黑陶;我们会在路上细细欣赏,并亲手尝试绘制一个传统的木碗。入住松赞奔子栏

Day04: 开车前往塔城(游览纳西村子,傈僳村寨,滇金丝猴自然保护区)入住 松赞塔城

Da:05 行程结束
------------------------------------------------ Original from:杜岚虾米 香格里拉民俗风情五日游

The Best Time to Visit Shangri-la and Travel Tips

Which month is the best to visit Shangri-la and what precautionary measures need to be taken before making trip to Shangri-la?

1.January to April:
Shangri-la or ZhongDian (old name) belongs to the Tibetan plateau, with average altitude of 3100meters above sea level. It is also parts of Himalayan range. Hence it’s hiding under the coldness for almost five months in a year. The best season to visit our birth place Shangri-la is between midst of May to the October, It’s getting cold at the end of October.

2.May:
If you are the flower lover, the May is no doubt the best season to marry beauty of flowers, a lot of wild flowers blossoming surrounding on the mountains indiscriminately. Among which the rhododendrons dominates most of the mountains. We usually take our clients to the different small mountains around the town. It takes about 3 to 4 hours riding bicycle. Especially the Napa lake area, just take an half an hour hiking up to the mountain; you will feel that you are in the ocean of flowers. Grass turns into green. This type of the beauty really gives you a sense of relief and happiness. And you will automatically feel that the nature has so much power to put us in a idealized world. One of the most popular medical herbs also grows everywhere.

We receive less rain fall during the May and sun shine at most of the time. Since it’s situated on the top of Tibetan plateau, it’s somehow little bit windy. Besides the ultraviolet ray is so strong here, it often burn your beautiful face..
Hence:
A)  Two warm jackets will be helpful for you during the course of visiting Shangri-la.
B) The sun lotion is extremely important for protection of your lovely face and hands.
C) A pair of sunglasses will be much better.
D) A camera so that you could get some nice shots of rhododendrons and other wild flowers.
 E) Take a package of Honjing Tian, for altitude sickness, or we will provide them to you..
F) A pair of proper trekking shoes.

3.June,July and August:
Although the raining season has already started, yet the entire Shangri-la looks much greener. This is the also season for local Tibetan and other ethnic group to collect the popular medical fungus called –caterpillar fungus(冬虫夏草), A lot of  people go up to the mountain to collect them, and will bring them back to the town, start doing their business, you can have a very close look at the popular medicine. It’s also the season for mushroom; these two are the main income source of Tibetan people over here.

Since monsoon has already on its way, it’s raining frequently, of course it’s depends upon your luck, whether you could have a better weather or not. The best information for you is that , it will be nice for you to check the weather forecast before making your trip to Shangri-la during these months.

Some precautions that you could take before you are here, so that it will make your trip more memorable.
a.Get yourself a nice and warm rainproof coat.
b.A flash light or torch.
c.A pair of sunglasses
d.A pair of gloves.
f.Pill for loss motion, since food over here are pretty strong, besides change in climate makes abdomen uncomfortable sometimes.
g.A pack of or a bottle of sun lotion.
h.One or two pair of  warm trousers
i.Trekking shoes

4.September and October:
this is the highest season in Shangri-la, thousands of tourists followed into these areas. The cost everything will somehow goes up. Like hotel, car, serve service etc. The entire place starts turning into yellow.  The good thing that you may experience is that you can go to the village around the town, and getting harvest with villagers.

Some necessary precaution can be taken before making your trip to Shangri-la during these seasons:
a.Make a call to the respective agency to book the flight tickets or hotel in advance.
b.The sun lotion
c.A proper camera.
d.Warm jackets(at least 2)
e.Warms jackets.( a least 2)
f.Flash light.
g.Trekking shoes

5.Nov to December:
The coldness starts engulfing entire Shangri-la, and starts snowing, everything will be stagnated till the beginning of April.

6.What else makes your trip memorable and enjoyable?
 If you are having hypertension or high blood pressure, you need to go to the doctor and get medical confirmation weather you are alright to go high altitude place like Tibet, and Shangri-la, because a lot of people with high blood pressure used to undergo serious trouble here in Shangri-la and other parts of Tibetan regions. Yes, some people take the precautionary measure under their high concern. Hence even if you are having some extend high blood pressure, she or he makes the trip far better than what they expected. For instance”

a.Take a jogging in your home country or town at least 10 days in advance before coming to Shangri-la or other parts of Tibet.
b.Stop taking oily food.
c.30minutes do exercise early in the morning and evening may make you stronger traveler.
d.Cycling will be the best exercise for a proper circulation of your blood pressure.
e.Stop getting yourself into intoxication or smoking etc.
f.Taking a yoga or meditation course also nice for having peaceful mental status.
g.Stop taking all kinds of soft drinks.
h.Increase green vegetable into your daily meal.
---------------------------------------------------------------
Author: Amoytrip---Free China Travel Guide--The Best Time to Visit Shangri-la and Travel Tips
Free Inquiry: ryan@amoytrip.com

zen cart 自定义侧边栏模块

创建一个php文件,添加以下内容到文件里:

<div style=”center”>
<h3><!– 这里是显示的标题,如果不需要可以删除该行。 –></h3>
<div class=”sideBoxContent centeredContent”>
<!– 这里放置要显示的内容(HTML代码) –>
</div>
</div>

保存,上传到/includes/modules/sideboxes/目录下。

后台“Tools”–>“Layout Boxes Controller”设置,开启该模块。

有了自定义模块,就可以随便加自己喜欢的内容了,不然视频,flash等。

------------------------------------------------ Original from:杜岚虾米 zen cart 自定义侧边栏模块

2013年5月14日星期二

zen cart call for price 价格面议如何把商品信息加到contact us=?UTF-8?B?6aG16Z2i?=

经过不断的google,参考了zen cart 中文论坛 关于“价格面议”的文章,及 ask a question 模块 终于把 商品相关信息成功的添加到 contact  us 页面,并且提交后,收到的咨询邮件也有商品信息,方面卖家回复客人相关问题。

4个需要更改的文件,改之前最好先备份

1./includes/languages/您的模板/english.php (或者是 /includes/languages/english.php)

增加一个定义  define(‘PROD_NAME’, ‘Product  Name: ‘);

2./includes/functions/funcitons_general.php

修改 case ($button_check->fields['product_is_call'] == ’1′):
$return_button = ‘’ . TEXT_CALL_FOR_PRICE . ‘’;
break;

为:case ($button_check->fields['product_is_call'] == ’1′):
$return_button = ‘’ . TEXT_CALL_FOR_PRICE . ‘’;
break;

这样点击call for price 按钮跳转到 contact us 页面时,你会看到 url多了 产品的id。 有了id 后面才能判断这个产品详细信息。

接下来就是编辑contact us的相关文件了。

文件3:E:butihair.comincludesmodulespagescontact_usheader_php.php

3个地方更改

1.找到$zco_notifier->notify(‘NOTIFY_HEADER_START_CONTACT_US’);  在这句下面添加以下代码:

$valid_product = false;
if (isset($_GET['products_id'])) {
$product_info_query = “select pd.products_name, p.products_image, p.products_model
from ” . TABLE_PRODUCTS . ” p, ” . TABLE_PRODUCTS_DESCRIPTION . ” pd
where p.products_status = ’1′
and p.products_id = ‘” . (int)$_GET['products_id'] . “‘
and p.products_id = pd.products_id
and pd.language_id = ‘” . (int)$_SESSION['languages_id'] . “‘”;

$product_info = $db->Execute($product_info_query);

if ($product_info->RecordCount() > 0) {
$valid_product = true;
}
}

这些代码就是判断产品id,调用产品的相关信息显示在contact us页面上。

2.继续这个页面查找 // Prepare Text-only portion of message

添加

PROD_NAME . “t” . $product_info->fields['products_name'] . “n” .
zen_href_link(FILENAME_PRODUCT_INFO, ‘products_id=’ . $_GET['products_id']) .
“nn” .

3.继续查找 $html_msg['EMAIL_MESSAGE_HTML'] = strip_tags($_POST['enquiry']);

更改为:$html_msg['EMAIL_MESSAGE_HTML'] = ‘<b>Product: </b>’ . $product_info->fields['products_name'] . ‘<br />’ . strip_tags($_POST['enquiry']);

(这些代码就是把产品信息显示在发送的邮件里)

文件4:E:butihair.comincludestemplatestemplate_default(或你的模板)templatestpl_contact_us_default.php

添加下面代码:

<?php echo ‘’ . zen_image(DIR_WS_IMAGES . $product_info->fields['products_image'], $product_info->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT) . ‘’; ?>

这段代码就是产品的相关信息模块,你可以自己选择看加在contact us页面的哪个地方

如果有有ulimate seo url 的要取消对contact us 页面url的重写.不然会没办法判断。

 

 

 

------------------------------------------------ Original from:杜岚虾米 zen cart call for price 价格面议如何把商品信息加到contact us页面

2013年5月10日星期五

zen cart 首页幻灯片显示,隐藏更改

下载的模板很多都带有自己图片的幻灯片,很多情况我们都需要换成自己的,或不显示。

后台–tool–define pages editors,,找到 define_main_page,修改相关图片名称,如果不显示就去掉相关代码

或者, configuration–define pages status, define main page status, 把 link,text 设置成 off

------------------------------------------------ Original from:杜岚虾米 zen cart 首页幻灯片显示,隐藏更改

2013年4月5日星期五

zen cart avonlee_contempo=?UTF-8?B?5qih5p2/5a+86Iiq5qCP5pu05pS55paH5Lu2?=

includes/templates/avonlee_contempo/common/

includes/languages/english/avonlee_contempo/

------------------------------------------------ Original from:杜岚虾米 zen cart avonlee_contempo模板导航栏更改文件

2013年2月19日星期二

回杭州

春节假期结束了,正在回杭州的动车上。离别总是不舍的。每次回厦门后总有懒得动的赶脚。继续迷茫……

------------------------------------------------ Original from:杜岚虾米 回杭州

2013年2月14日星期四

跟不上时代步伐

永远跟不是时代的步伐。初中的时候,当其他同学可以开太子摩托车走村串巷时,家里还在为是否买辆新自行车而纠结。

如今骑太子的已换成开豪车,我连当年的脚踏车都木有。

------------------------------------------------ Original from:杜岚虾米 跟不上时代步伐

2013年2月10日星期日

nothing impossible

年初一给大学同学拜年得知两个不可能在一起的同学登记了。很替他们高兴,恭喜俩好朋友,祝早生贵子!

------------------------------------------------ Original from:杜岚虾米 nothing impossible