You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
614 B
16 lines
614 B
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="novelchapter.aspx.cs" Inherits="_novelchapter" EnableViewState="false" %>
|
|
|
|
<%@ Register Src="pagetop.ascx" TagName="pagetop" TagPrefix="uc1" %>
|
|
<%@ Register Src="pagebelow.ascx" TagName="pagebelow" TagPrefix="uc2" %>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<script runat=server>
|
|
public string
|
|
ThunderEncode(string code) {
|
|
code="AA"+code+"ZZ";
|
|
string encode = "";
|
|
byte[] bytes = Encoding.GetEncoding(54936).GetBytes(code);
|
|
try
|
|
{
|
|
encode = Convert.ToBase64String(bytes);
|