Friday, October 23, 2009
How do you use ICT?
2. Last two years I was using ICT for social development.
3. After Last two years i was using ICT for education.
I am consoling my feel to use ICT for business for now, because the most of my fortune is focus on ICT 4B service sector.
Today you are talking about ICT for social development , it means that you are keeping to promote your reputation to reach the best business in the future.
How about you?
ChanHan,
Wednesday, October 14, 2009
Payment methods, Gateways
- Cash On Delivery payment method
- Accept Purchase Order
- Accept Check / Money Order
- Accept all major credit and debit cards
- Store can be set to authorize only, or auth-capture credit card mode. You can then capture at shipment if desired
- Real-time or offline credit card processing
- Manual gateway (just collect order & payment information for offline processing)
- 2Checkout
- Authorize.NET
- CDGcommerce (Quantum Payment Gateway)
- eWay (Australia)
- Google Checkout
- Moneybookers
- PayPal Standard
- PayPal Website Payments Pro (Direct and Express)
- PayPal PayFlow Pro
- PSI Gate
- Worldpay
- 2c2p
Thursday, October 8, 2009
You always make me down on your act...

Tuesday, October 6, 2009
ASP.NET/C# Upload & Resize Image
//********Begin Resize image area********
int intWidth = 0;
int intHeight = 0;
string UlFileName = null;
string NewFileName = null;
intWidth = 100;
//*** Fix Width ***//
//intHeight = 0 '*** If = 0 Auto Re-Cal Size ***//
intHeight = 120;
UlFileName = "images/photos/2009/10/" + rdApplication[22].ToString();
//*** Save Images ***//
//this.fiUpload.SaveAs(Server.MapPath(UlFileName));
NewFileName = "images/photos/2009/10/Thumbnail_" + rdApplication[22].ToString();
System.Drawing.Image objGraphic = System.Drawing.Image.FromFile(Server.MapPath(UlFileName));
Bitmap objBitmap = default(Bitmap);
//*** Calculate Height ***//
if (intHeight > 0)
{
objBitmap = new Bitmap(objGraphic, intWidth, intHeight);
}
else
{
if (objGraphic.Width > intWidth)
{
double ratio = objGraphic.Height / objGraphic.Width;
intHeight = (int)ratio * (int)intWidth;
objBitmap = new Bitmap(objGraphic, intWidth, intHeight);
}
else
{
objBitmap = new Bitmap(objGraphic);
}
}
//*** Save As ***//
objBitmap.Save(Server.MapPath(NewFileName.ToString()), objGraphic.RawFormat);
//*** Close ***//
objGraphic.Dispose();
//*** View Images ***//
//this.imgPicture.Visible = true;
// this.imgPicture.ImageUrl = NewFileName;
//********End Resize image area********
REF: http://www.thaicreate.com/asp.net/c-sharp-asp.net-upload-resize-image.html
Monday, October 5, 2009
DAP - Breaking news in Cambodia is trying Twitter and Facebook
Follow it at http://twitter.com/dapnews
The breaking news in Cambodia
Sunday, October 4, 2009
Barcamp Phnom Penh 2 finished
Thanks,
Thursday, October 1, 2009
The day after tomorrow....tHE BiG BarCamp Phnom Penh2
Nearly 1000 people come to that event.
If you want to see detail please go to http://barcampphnompenh.org/
By: ChanHan HY
Saturday, September 26, 2009
Friday, September 18, 2009
Pchum ben, Cambdoia traditional

The big pchum ben days is 18th , 19th, 20th, all people have 3 holidays to went back to their homeland to join Cambodia traditional is called Pchum ben.
Saturday, September 12, 2009
Thursday, September 10, 2009
Tuesday, September 8, 2009
All 999999999999999999999999...
for example:
9 glasses of beers in 9 seconds on 09/09/09
Go to spark at 9pm 9 mins 9 sec :)
Everythings are 9 on tomorrow.
:)))))
KAMPUCHEA THMEY AIMS LAUNCH THEIR WEBSITE ON 090909
If you want to read breaking news of Kampuchea Thmey Daily, please go to:
By: Hy ChanHan
Friday, September 4, 2009
Germany's Music at CJCC
Iam the one of that event's fan too, i joined it with no seat, was listening by sitting and standing on the floor :(
After the first round was over, some participants went back their home so there were some seat available for me.
Any way it was very romantic and very sweet , My feel mostly fall in it :).
Wednesday, September 2, 2009
CSS3 Preview

Now CSS3 have released a lot of new modules to make us to develop a website easily.
Go to: http://www.css3.info/preview/
Enjoy with this new term!!!
By: Hy ChanHan
Tuesday, September 1, 2009
Social Media is Changing the Way of Business
With tools like Twitter, Facebook, YouTube, Digg, even century old business practices are becoming non-existent. Investors are losing focus on industry trade shows and franchise publications for new information, and are beginning to turn more to their social networks and blogs. This is also coming in a time where marketing budgets are beginning to be cut. Social networks allow for a company to have a never ending reach to their clientele.
A recent study by the Aberdeen Group stated that companies in 2009 plan on increasing their social media marketing budget by 63 percent. 93 percent of American’s expect companies to have a social media presence and are using social media to participate in conversation to engage with brands as well as reviewing and referring others within their social media networks.
Even large corporations are beginning to experiment with viral marketing tactics. Burger King began a social marketing experiment with Facebook in early 2009. They started a promotion where if you drop 10 Facebook friends, you will receive a free Whopper. Burger King created the application that actually notified the friends that were dropped and in the end, the Whopper sandwich “proved to be stronger than 223,906 friendships.” You can view the statistics at www.WhopperSacrifice.com. Jeff Benjamin, the award-winning creator of Burger King’s online viral campaign, has started a growing trend for online marketing. He has shown that people can effectively market your product for free if you give them the inspiration and tools. However, some brands are perfect for viral marketing while some other brands need to stick with customary ways of online marketing.
Twitter has become the most talked about word on the internet. However, most businesses don’t understand why or how twitter may be important. Twitter can be utilized in various ways, but you have to understand the core concept of twitter. Twitter is a micro-blogging and essentially two-way form of communication that is open to the public. It’s a constant stream of communication from you to your consumer and also on a personal level. Twitter can also be a great market research tool for your company and your entire industry. A lot of companies are beginning to do a lot of innovative marketing tactics that bring 100s of thousands of visitors to their site. Church’s Chicken tempted followers on twitter by giving away one dollar to every person that began to follow them. Almost every major company in the United States has a twitter page to follow updates.
Here’s a random sample of companies using Twitter as part of their social media marketing efforts:
- Amazon
- Dell
- Woot
- MTV Music Video Awards
- Mac Rumors
- ESPN
- Carnival Cruise lines
- Intel Software
- CNN
- Delta Airlines
Source: http://libertybelltelecom.com/blog/2009/07/03/social-media-is-changing-the-way-of-business/
Monday, August 31, 2009
How to add a sidebar-top region in Genesis
An example of when you might want to do this would be to display a fixed height banner or contextual ads. Its not good for content that will change in height as it could overflow the div—while the fixed height limitation could be overcome, this tutorial is meant for beginners and is a simple strait forward explanation of how to add new regions in Drupal and how to position the new sidebar-top region using
CSS.
Overview
1. Add a new region to your subthemes .info file.
2. Print the new region in page.tpl.php.
3. Add CSS to position the new region correctly.
For the purposes of this tutorial I am using the genesis-2c layout, which places both sidebars on the right. You will need to make adjustments if you have altered the default width of the sidebars (default is 240px).
1. Add a new region
Open up your subthemes .info file and add the new region. You can call it whatever you want and in the example below I have called it sidebar_top
Note: after you have saved the info file you need to clear the theme registry so the new region will show up on the blocks page. By far the easiest way to do this is by using the Admin Menu module, which has a link to do this included under the Drupal links (the Drupalicon on the left). Otherwise go to Performance settings and clear cache data.
;----------// Regions
; You can define new regions here.
regions[leaderboard] = Leaderboard
regions[header] = Header Blocks
regions[secondary_content] = Secondary Content
regions[content_top] = Content top
regions[content] = Main Content
regions[content_bottom] = Content bottom
regions[tertiary_content] = Tertiary Content
regions[sidebar_top] = Sidebar Top ; Our new region
regions[left] = Sidebar Left
regions[right] = Sidebar Right
regions[footer] = Footer
2. Print the new region
Now in page.tpl.php we need to print the new region. The easy way is to just copy/paste one of the existing sidebars and change the variable name and add a new id, or just copy and paste the new sidebar_top code in the snippet shown below. Note that I have used id="sidebar-top".
Place the new region above the other sidebars. It should look like the following code snippet:
if ($sidebar_top): ?>
print $sidebar_top; ?>
endif; ?>
if ($left): ?>
print $left; ?>
endif; ?>
if ($right): ?>
print $right; ?>
endif; ?>
3. Add CSS to position everything
So now we have to position the new sidebar-top region so it displays correctly.
1. First we float it left.
2. Then we need to give it some negative margin-left to pull it into position.
3. We need to set a height on it.
4. Finally we need to add margin-top to the other sidebars so they don’t overlap the new sidebar top.
The margin top for the left and right sidebars needs to be more than the height of sidebar-top. For those of you who know Zen and how it positions the primary navigation, this is pretty much the same sort of idea.
Heres the CSS - the screenshots below show the CSS and regions using Firebug. Place the CSS in page.css with the other sidebar styles. You will notice I have added 20px to the margin-top value so there is a horizontal gutter.
#sidebar-top {
background: #EEE; /* background color for dev only */
float:left;
height:240px; /* set a height on the new region */
margin-left:-500px; /* use negative margin to pull the sidebar-top into position */
width:480px; /* set a width equal to left + right sidebar widths */
}
#sidebar-left,
#sidebar-right {
margin-top: 260px; /* use margin top to push the left and right sidebars down */
}
Saturday, August 29, 2009
Web3.0 is comming...
Web 3.0 based applications are expected to be a virtual reality location where consumers can try anything. An example would be the Second Life, where more than 1 million players, including offline merchants participate. I can’t wait to try out my new shirt.



