-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest2.html
167 lines (164 loc) · 4.07 KB
/
test2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<script type='text/javascript'>
//<![CDATA[
function html2entities(){
var re=/[د ج ح خ ه ع غ ف ق ث ص ض ط ك م ن ت ذ ا ل أ إ ب ي س ش ظ ز و ة ى لا ر ؤ ء ئ d g 7 5 h 3 8 f q th S D T k m n t z a a a e l b y a s 4 Z z w h la r 2 2 2]/g
arguments[0].value=arguments[0].value.replace(re, function(m){return replacechar(m)}
}
function replacechar(match){
if (match=="د")
return "d"
else if (match=="ج")
return "g"
else if (match=="ح")
return "7"
else if (match=="خ")
return "5"
else if (match=="ه")
return "h"
else if (match=="ع")
return "3"
else if (match=="غ")
return "8"
else if (match=="ف")
return "f"
else if (match=="ق")
return "q"
else if (match=="ث")
return "th"
else if (match=="ص")
return "S"
else if (match=="ض")
return "D"
else if (match=="ط")
return "T"
else if (match=="ك")
return "k"
else if (match=="م")
return "m"
else if (match=="ن")
return "n"
else if (match=="ت")
return "t"
else if (match=="ذ")
return "z"
else if (match=="ا")
return "a"
else if (match=="أ")
return "a"
else if (match=="إ")
return "e"
else if (match=="ل")
return "l"
else if (match=="ب")
return "b"
else if (match=="ي")
return "y"
else if (match=="ى")
return "y"
else if (match=="س")
return "s"
else if (match=="ش")
return "sh"
else if (match=="ظ")
return "Z"
else if (match=="ز")
return "z"
else if (match=="و")
return "w"
else if (match=="ة")
return "h"
else if (match=="لا")
return "la"
else if (match=="ر")
return "r"
else if (match=="ؤ")
return "2"
else if (match=="ء")
return "2"
else if (match=="ئ")
return "2"
else if (match=="d")
return "د"
else if (match=="g")
return "ج"
else if (match=="7")
return "ح"
else if (match=="5")
return "خ"
else if (match=="h")
return "ه"
else if (match=="3")
return "ع"
else if (match=="8")
return "غ"
else if (match=="f")
return "ف"
else if (match=="q")
return "ق"
else if (match=="th")
return "ث"
else if (match=="S")
return "ص"
else if (match=="s")
return "ص"
else if (match=="D")
return "ض"
else if (match=="d")
return "ض"
else if (match=="T")
return "ط"
else if (match=="t")
return "ط"
else if (match=="k")
return "ك"
else if (match=="m")
return "م"
else if (match=="n")
return "ن"
else if (match=="t")
return "ت"
else if (match=="a")
return "ا"
else if (match=="A")
return "ا"
else if (match=="l")
return "ل"
else if (match=="b")
return "ب"
else if (match=="y")
return "ى"
else if (match=="s")
return "س"
else if (match=="S")
return "س"
else if (match=="sh")
return "ش"
else if (match=="Z")
return "ظ"
else if (match=="z")
return "ز"
else if (match=="w")
return "و"
else if (match=="la")
return "لا"
else if (match=="r")
return "ر"
else if (match=="2")
return "ؤ"
else if (match=="2")
return "ء"
else if (match=="2")
return "ئ"
else if (match==" ")
return " "
}
//]]>
</script>
<body>
<form>
<p><font color="#6B828E" size="1" face="Arial, Helvetica, sans-serif"> </font></p>
<font color="#6B828E" size="1" face="Arial, Helvetica, sans-serif"><textarea name="data1" style="width: 100%; height: 300px;font-family: Tahoma, arial;font-size: 16px;border-color:#0088cc;overflow:hidden; background-image:url(http://3.bp.blogspot.com/-WlFkyrCrofA/WO-ozaN8xMI/AAAAAAAABYE/jG6KTkxazhwZmNXIEoAs3tNhoIg3g7MCgCK4B/s1600/tarekom.com.jpg); background-repeat:no-repeat; padding:10px;"></textarea>
</font>
<p align=""><font color="#6B828E" size="1" face="Arial, Helvetica, sans-serif">
<input name="button" style="background:#4d90fe;padding: 5px 30px;border-right: 5px solid #0088cc;border-top: 0;border-left: 0;border-bottom: 0;float: right;color: #fff;font-family: Tahoma, arial;font-size: 16px;font-weight: bold;" type="button" class="abt2" onClick="html2entities(this.form.data1)" onMouseOver="this.className='abt2 abt2hov'" onMouseOut="this.className='abt2'" value="ترجمة">
<input onMouseOver="this.className='abt3 abt3hov'" style="background:#4d90fe;padding: 5px 25px;border-left: 5px solid #0088cc;border-top: 0;border-right: 0;border-bottom: 0;color: #fff;font-family: Tahoma, arial;font-size: 16px;font-weight: bold;" onMouseOut="this.className='abt3'" class="abt3" name="Clear" value=" مسح " type="reset">