HTML <SPAN class = "wp_keywordlink"> code </span> converted to ASP code
convert HTML code to ASP code
function htmlphp () {
var input = document. htphp. input. value;
output = "response. write/"";
for (var c = 0; C If (input. charat (c) = "/N" | input. charat (c) = "/R") {
output + = "/" & vbcrlf ";
If (C! = Input. length-1) Output + = "/n response. write/"";
C ++;
}< br> else {
If (input. charat (c) = "/"); ") {
output + = "///"";
}< br> else {
If (input. charat (c) = "//") {
output + = "//";
}
Else {
Output + = input. charat (C );
If (C = input. Length-1) Output + = "/" & vbcrlf ";
}
}
}
}
Info2 = "/n response. Write/"/"/N" +
"/%/> ";
Document. htphp. Output. value = output + info2;
}
</SCRIPT>
<Tbody>
<Tr>
<TD>
<P align = center>
<Table bordercolor = blue cellspacing = 0 cellpadding = 0 width = "100%"
Border = 0> <tbody>
<Tr>
<TD>
& Lt; table width = "100%"
Border = 0 cellpadding = 0 cellspacing = 0 bgcolor = "# f7f7f7">
<Tbody>
<Tr>
<TD align = middle>
<Center>
<Form name = htphp>
<Table cellspacing = 2 cellpadding = 2 width = "100%" border = 0>
<Tbody>
<Tr>
<TD align = middle> paste HTML code in the upper box </TD> </tr> </tbody> </table>
<Tbody>
<Tr>
<TD align = middle> <textarea name = input rows = 15 wrap = Virtual Cols = 68> </textarea>
</TD> </tr>
<Tr>
<TD align = middle> <br> <font class = content> the & nbsp; ASP
Code </font> </TD> </tr>
<Tr>
<TD align = middle> <textarea name = output rows = 15 wrap = Virtual Cols = 68> </textarea>
</TD> </tr>
<Tr>
<TD align = middle> <input class = button onclick = htmlphp () type = button value = conversion>
<Input class = button onclick = javascript: This. Form. Output. Focus (); this. Form. Output. Select (); type = button value = select all name = button wszystko>
<Input class = button onclick = reset (input. Output) type = button value = clear>
<Input onclick+'output.select({{document.exe ccommand ("copy") 'Type = button value = copy>
</TD> </tr> </form> </center> </TD> </tr>
<Tr> </tbody> </table> </TD> </tr> </tbody> </table>
</TD> </tr> </tbody> </table> </div>
</Body>
</Html>