/*/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/*/
/*/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/*/
/*/ Viet Affiliates v1.0.291202					/*/
/*/ Copyright (C) 2002 Deathly Smile				/*/
/*/ If you have any comments about Viet Affiliates,		/*/
/*/		please send email to dsmile@softhome.net	/*/
/*/ If you use this scripts for any purposes,			/*/
/*/please keep the line "Powered by VietPHP" in your html.  	/*/
/*/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/*/
/*/ For more free PHP scripts,					/*/
/*/                visit Viet Affiliates's Homepage at		/*/
/*/				http://www.vietphp.com	/*/
/*/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/*/
/*/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/*/
/*/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/*/
/*/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/*/

* v1.0.291202 cho ban nhung kha nang gi ?
+ Bat ky ai cung co the lien ket voi website cua ban va de dang upload button vault voi dinh dang 88x31, .gif hoac .jpg, voi do lon duoc ban qui dinh.
+ Templates : Viet Affiliates su dung templates, vi the ban co the de dang thay doi cach the hien cac button vault hay nhu'ng Viet Aff vao website ma ko lam hong bo cuc cua site.
+ Control Panel : su dung bang dieu khien rieng, ban co the de dang thay doi hoac xoa thong tin cac websites da lien ket voi minh.

* Ta?i ma~ nguon o dau ?
+ De co duoc nhung ba?n moi nhat cua Viet Affiliates, ban dung quen ghe tham trang chu VietPHP nhe !

* Yeu cau doi voi host:
+ PHP & MySQL

* Huong dan cai dat Viet Affiliates:
+ Unzip noi dung cua VAFIILIATES (thu muc con va cac files) vao cung 1 cap voi file php se hien links
+ Mo file _config_vaff.php va dien day du, chinh xac cac thong tin ve Database cung nhu admin va 1 so cau hinh khac.
+ CHMOD 777 cho thu muc affiliates, chua button vault.
+ Chay install.php tai o Address tren trinh duyet cua ban.
+ Neu file install.php ko cai dat DB cho ban (ko he thay thong bao cai dat thanh cong), ban co the su dung file sql di kem de tu cai dat bang phpMyAdmin /sql/vaffiliates.sql
+ Lam theo cac buoc tiep theo de hoan thien qua trinh cai dat Viet Affiliates.

Buoc 1. Mo? file PHP nao ban muon su dung Viet Affiliates.
Buoc 2. Them doan ma sau vao trong code, co the them ngay sau dau <?
-----------------------------------------
require "vaffiliates.php";
-----------------------------------------
Buoc 3. Tim den phan HTML ban muon hien cac site lien ket va che`n doan ma~ sau vao giua 2 the? <HEAD></HEAD> (xem file index.htm neu chua hieu ro)
----------------------------------------------------------------------------------
<SCRIPT LANGUAGE="JavaScript">
function BeAff() {
props=window.open('vaffiliates.php?dowot=viewallaff', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=600, height=350, left = 100, top = 80');
}
</script>
----------------------------------------------------------------------------------
Buoc 4. Tiep theo, che`n doan ma~ duoi vao vi tri ban muon hien danh sach sites lien ket trong HTML.
----------------------------------------------------------------------------------
<? echo $showlinks ?><br><a href="javascript:BeAff()" title="And be affiliated with $sitename">View all Affiliates</a>
----------------------------------------------------------------------------------
	Neu ban cung su dung templates cho site cua minh, chi can dung doan ma duoi.
----------------------------------------------------------------------------------
$showlinks<br><a href="javascript:BeAff()" title="And be affiliated with $sitename">View all Affiliates</a>
----------------------------------------------------------------------------------

Vay la qua trinh cai dat da hoan tat !!

* Nhung dieu quan trong ban can chu y:
+ Sau khi cai dat xong Viet Affiliates, ban phai xoa ngay file install.php .
+ Khong nen thay doi ten file .PHP neu ban ko biet sua doi ma nguon PHP.
. vaffiliates.php la file chinh xu ly du lieu.
. vaffiliates_cp.php la file dieu khien, giup ban sua hoac xoa cac site lien ket.

Cam on ban da su dung Viet Affiliates !
Deathly Smile

/*/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/*/
  More free PHP scripts can be found at http://www.vietphp.com
/*/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/*/