Welcome Guest [Log In] [Register]
Welcome to NguyenDucDung's Forum. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Mod bói tình iu !; Chúc zui :D
Topic Started: Sep 1 2005, 10:28 AM (317 Views)
TinhDoi_DienLoan
Member Avatar
Xman
Moderator
các bạn chèn trong phần System Settings và chọn IPDynamic Lite Set-up
và Show Affiliates box?





QUOTE
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERAđếnR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Ediđếnr.Document">
<title>New Page 1</title>
<!-- Begin Boi-Tinh_Duyen Table -->
<table width="100%" cellSpacing=0 cellPadding=0 border=0> <tr> <td><img src="styles/tqa/minđếnpleft.gif"></td> <td align="center" class="minđếnpbg">Bói tình duyên</td> <td><img src="styles/tqa/minđếnpright.gif"></td> </tr> </table> <table class="mediumbg" border=0 width="100%" cellpadding="<?=$tpadding?>" cellspacing="<?=$tspacing?>"> <tr> <td><span class="small"><form name=loveform> <p align="center"> <input onfocus="if (this.value = 'User Name') this.value = '';" value="Họ tên của bạn" name="name1" type="text" size="20"> </p> <p align="center"> <input onfocus="if (this.value = 'User Name') this.value = '';" value="Họ tên người yêu bạn" name="name2" type="text" size="20"></p> <p align="center"> <input value="" name="output" type="text" size="6">

<input value="Kết quả" name="calculate" type="butđếnn" value="calculate" onclick="calc()"> </p> </form> <script LANGUAGE="JavaScript">
<!-- Begin
function calc() {
first = document.loveform.name1.value.đếnUpperCase();
firstlength = document.loveform.name1.value.length;
second = document.loveform.name2.value.đếnUpperCase();
secondlength = document.loveform.name2.value.length;
var LoveCount=0;
for (Count=0; Count < firstlength; Count++) {
letter1=first.substring(Count,Count+1);
if (letter1=='L') LoveCount+=2;
if (letter1=='O') LoveCount+=2;
if (letter1=='V') LoveCount+=2;
if (letter1=='E') LoveCount+=2;
if (letter1=='Y') LoveCount+=3;
if (letter1=='O') LoveCount+=1;
if (letter1=='U') LoveCount+=3;
}
for (Count=0; Count < secondlength; Count++) {
letter2=second.substring(Count,Count+1);
if (letter2=='L') LoveCount+=2;
if (letter2=='O') LoveCount+=2;
if (letter2=='V') LoveCount+=2;
if (letter2=='E') LoveCount+=2;
if (letter2=='Y') LoveCount+=3;
if (letter2=='O') LoveCount+=1;
if (letter2=='U') LoveCount+=3;
}
amount=0;
if (LoveCount> 0) amount= 5-((firstlength+secondlength)/2)
if (LoveCount> 2) amount= 10-((firstlength+secondlength)/2)
if (LoveCount> 4) amount= 20-((firstlength+secondlength)/2)
if (LoveCount> 6) amount= 30-((firstlength+secondlength)/2)
if (LoveCount> 8) amount= 40-((firstlength+secondlength)/2)
if (LoveCount>10) amount= 50-((firstlength+secondlength)/2)
if (LoveCount>12) amount= 60-((firstlength+secondlength)/2)
if (LoveCount>14) amount= 70-((firstlength+secondlength)/2)
if (LoveCount>16) amount= 80-((firstlength+secondlength)/2)
if (LoveCount>18) amount= 90-((firstlength+secondlength)/2)
if (LoveCount>20) amount=100-((firstlength+secondlength)/2)
if (LoveCount>22) amount=100%-((firstlength+secondlength)/2)
if (firstlength==0 || secondlength==0) amount= "sai";
if (amount < 0) amount= 0;
if (amount >99) amount=99;
document.loveform.output.value=amount+" %";
}
// End -->
</script>
Tình là gì mà làm đời đau khổ
Đời là gì mà phải có tình
Offline Profile Quote Post Goto Top
 
« Previous Topic · Thiết kế Website · Next Topic »
Add Reply